diff --git a/bench/accuracy/README.md b/bench/accuracy/README.md new file mode 100644 index 00000000..e76cb9e7 --- /dev/null +++ b/bench/accuracy/README.md @@ -0,0 +1,103 @@ +# Spider2 and BIRD execution accuracy + +This experiment measures the real `ContextConcierge → agent_loop → ExplorerPort` +path. It is **not** a Codex MCP end-to-end measurement, Oracle dialect score, +long-term-memory evaluation, or proof of the semantic layer's causal benefit. +Each case starts with an isolated memory/store. There is no answer-key retrieval, +model fallback, multi-sample oracle selection, or user simulator. + +## Protocol fixed before inference + +- Spider **2.0-Lite SQLite**, all 135 local tasks, upstream + `cafb867313aab4e674652054198f383cf4018943`. This is not Spider 1.0 or the full + Spider2 cloud-database benchmark. The official execution-result grader is reused. +- BIRD **Mini-Dev SQLite 500**, annotations at + `5b256b5a9c17478f06ed6912612e9a14d17065c8` (2026-10-25 corrections). + This is not BIRD's hidden test set or its full development set. +- Fixed seed 20261126: 20 development questions per benchmark, then 115/480 + evaluation questions. Selection is before inference and is not based on + difficulty or success. These are question-level splits, not unseen-database + splits; public data may also have appeared in foundation-model training. +- Development examples may guide general changes and model selection. Evaluation + examples must not be used for tuning. Never add their gold SQL to any model + input. Report development and evaluation separately, including every attempt. +- Pass@1: one agent trajectory per question, up to 16 model calls including + auxiliary tools, 8192 output tokens/call, high reasoning effort, 180 seconds + per API call, 900 seconds/agent loop, 30 seconds/SQL, 100,000 result rows. Final runs allow one logged retry for timeout/connection/rate-limit failures + using identical input; retries count toward the 16-call budget. Successful + responses and SQL mistakes are never retried for answer selection. No excluded failed predictions or last-tool fallback. +- SQL queries execute in read-only SQLite connections with a query deadline. + A final answer must contain one SELECT/WITH SQL block. Clarification and missing + final SQL count as incorrect on these noninteractive benchmarks. +- Preserve question/DB/grader/gold hashes, product revision, runner/provider + hashes, generated SQL, full transcripts, API usage, errors and elapsed time. + Raw databases, credentials and provider error messages are never committed. +- BIRD inference manifest is an explicit allowlist of question/evidence fields; + `SQL` is rejected. Gold is loaded only by `score`. The pinned upstream + `calculate_ex` function is extracted unchanged and applied to SQLite row tuples: + set equality, including its official disregard for row order and duplicates. + No CSV string conversion or custom rounding is used for BIRD scoring. +- A broken gold/database pairing fails scoring. A missing record prevents final + publication. A failed model/SQL prediction remains in the planned denominator. + +## Data provenance and attribution + +BIRD DBs were extracted without running the image's entrypoint from +`3036197201/bird-mini-dev-sqlite@sha256:f5e2746e284fdf4bc5d7a168a42d951bdf3d429d6db91b9928308e8261d0b75e`, +path `/bird/mini_dev/dev_databases`. All 11 DB SHA prefixes match the current +per-database Harbor tags. The California DB was also extracted from the current +Harbor image and its full hash matched. All 500 reference SQL queries executed +and returned nonempty results; this is a dataset health check, not model accuracy. + +- [Spider2](https://github.com/xlang-ai/Spider2) +- [BIRD annotations and dataset card](https://huggingface.co/datasets/birdsql/bird_mini_dev/tree/5b256b5a9c17478f06ed6912612e9a14d17065c8) +- [BIRD official EX comparator](https://github.com/bird-bench/mini_dev/blob/1c49a375e76c471e218564da3f4617513d33e371/evaluation/evaluation_ex.py) + +BIRD annotations and the derived `bird-manifest.json` retain the source dataset's +[CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/) license and attribution to the BIRD authors (Li et al., NeurIPS 2024, +*Can LLM Already Serve as A Database Interface? A BIG Bench for Large-Scale +Database Grounded Text-to-SQLs*). The manifest removes gold SQL, renames fields, +and adds fixed development/evaluation IDs. The official comparator source stays +external and is verified by hash. The Spider runner/provider were reused from +Lang2SQL's existing benchmark commit `24cff8cb1126fc017d1c68389b76213858e3a2e6`. + +The Spider2 upstream MIT notice is retained in `SPIDER2-LICENSE.txt`. + +The reused Spider manifest retains a historical `baseline_commit` field. Current +product identity is `settings.json.product_commit` / `frozen-final.json`, not that +legacy data-manifest annotation. The executed runner revision is `0260422`. +After measurement, unused legacy CLI entrypoints were removed; retained primitive +ASTs and the SQL instruction are identical (see `results/primitives-equivalence.json`). +As-executed bytes are retained in `results/source-final/`. + +## Reproduce + +Install `uv sync --extra benchmark`. Set a credential file with the key name in +`models.json`; never commit that file. Set the paths below to your local copies. +Run from the repository root. Use a fresh output directory for every attempt. + +```sh +export PYTHONPATH=src:. +export LITELLM_LOCAL_MODEL_COST_MAP=True +# SPIDER, SPIDER_DB, BIRD_DB, QUESTIONS, EVALUATOR, CREDENTIALS, RUN are local paths. +uv run python -m bench.accuracy.evaluate run \ + --root "$SPIDER" --db-dir "$SPIDER_DB" \ + --manifest bench/accuracy/spider2-manifest.json \ + --profiles bench/accuracy/models.json --env-file "$CREDENTIALS" \ + --product-commit 4e1b48a --split development --output "$RUN" +uv run python -m bench.accuracy.evaluate score \ + --root "$SPIDER" --db-dir "$SPIDER_DB" --output "$RUN" + +# BIRD uses the same run command with its manifest and DB directory; score: +uv run python -m bench.accuracy.evaluate score --db-dir "$BIRD_DB" \ + --questions "$QUESTIONS" --evaluator "$EVALUATOR" --output "$RUN" +``` + +Each benchmark uses concurrency 4. Spider and BIRD final runs overlap in wall +time (up to 8 requests total); latency is not reported as a model-speed benchmark. + +Change `--split` to `holdout` only after selecting and freezing the final +configuration. Changing the model, prompt, budget or source creates a new +experiment; historical scores under different configurations are not paired +improvement measurements. `--split all` is for a new explicitly reported full +public-dev run, not a way to hide development-set selection. diff --git a/bench/accuracy/RESULTS.md b/bench/accuracy/RESULTS.md new file mode 100644 index 00000000..ed8923f9 --- /dev/null +++ b/bench/accuracy/RESULTS.md @@ -0,0 +1,98 @@ +# Spider2 / BIRD accuracy — 2026-11-26 + +**99% was not reached.** These are measured execution-result accuracies, not a +claim that arbitrary business questions can be answered with 99% reliability. + +## Primary: questions withheld from this development process + +| Benchmark | Correct / total | EX | 95% Wilson interval | Failed predictions | API error attempts | +|---|---:|---:|---:|---:|---:| +| Spider 2.0-Lite SQLite | 71/115 | 61.74% | 52.61–70.11% | 11 | 0 | +| BIRD Mini-Dev SQLite | 416/480 | 86.67% | 83.33–89.42% | 4 | 0 | + +The model/configuration was selected before scoring these 115/480 questions. +No fixes were made from their answers or scores. The Wilson intervals assume +independent Bernoulli questions; they do not establish production/Oracle accuracy +or eliminate public-benchmark training contamination. This is a question-level +split, not a previously unseen-database split. + +## Full public SQLite subsets (include the 20 development questions) + +| Benchmark | Correct / total | EX | 95% Wilson interval | Failed predictions | API error attempts | +|---|---:|---:|---:|---:|---:| +| Spider 2.0-Lite SQLite | 81/135 | 60.00% | 51.57–67.88% | 12 | 0 | +| BIRD Mini-Dev SQLite | 434/500 | 86.80% | 83.55–89.49% | 4 | 0 | + +All 135/500 planned questions have exactly one final-config trajectory. The full +results combine the disjoint development/evaluation partitions; no best answer +was selected from the development trials. Full-subset figures include questions +used to guide prompt/model selection and must not be described as held-out test +scores. They are not official leaderboard submissions. + +## What ran + +- GPT-6.2 Sol (`openai/gpt-6.2-sol`, returned model ID `gpt-6.2-sol`), high reasoning, + 8,192 output tokens/call. Actual `ContextConcierge → agent_loop → ExplorerPort`. +- Up to 16 API attempts including auxiliary tools and transport retries per + trajectory, API timeout 180s, agent-loop timeout 900s, each SQL timeout 30s, + result limit 100,000 rows. Final SQL export is outside the agent-loop timer. +- At most one logged retry for timeout/connection/rate-limit failure, identical + input, counted in the budget. Successful answers/SQL mistakes are not retried + for selection. Concurrency 4 per benchmark; benchmark runs overlap. +- Product source `4e1b48a`, runner/provider hashes in each settings file and + [frozen configuration](frozen-final.json). Runtime versions in + [runtime.json](results/runtime.json). Every question has isolated memory. +- Official Spider2 execution-result evaluator and unmodified, hash-pinned BIRD + `calculate_ex`. Clarification, API/SQL failure and missing final SQL remain + incorrect in the denominator. Missing records would block publication. +- [Protocol and dataset versions](README.md). Spider 2.0-Lite SQLite is not + Spider 1.0 or the full Spider2 cloud benchmark; BIRD Mini-Dev 500 is not the + full BIRD dev/hidden test set. + +## Development record (all trials retained) + +| Run | Model profile | Correct / total | EX | +|---|---|---:|---:| +| spider-development-v1 | gpt62-sol | 12/20 | 60.00% | +| bird-development-v1 | gpt62-sol | 17/20 | 85.00% | +| spider-development-v2 | gpt62-sol | 8/20 | 40.00% | +| bird-development-v2 | gpt62-sol | 18/20 | 90.00% | +| spider-development-astra | gpt62-astra | 8/20 | 40.00% | +| bird-development-astra | gpt62-astra | 15/20 | 75.00% | + +The initial run used product `e7f0b064`. The treatment added general output-grain, +projection, join direction, filtering and numeric-type checks to the system +prompt. The second development phase suffered API timeouts; those failures were +not removed or replaced. It motivated logged transport retry support and the +final per-benchmark concurrency setting. The development results do not establish +a consistent accuracy gain from the prompt changes. No causal memory/semantic +layer benefit is claimed, and historical GPT-4.1 scores under other budgets are +not treated as a matched before/after comparison. + +The held-out Spider evaluation had 11 failed predictions, including 8 trajectories +that invoked `ask_user`. The clarification safeguard was kept; these are still +incorrect under the noninteractive benchmark metric. + +## Evidence and limits + +[Machine-readable final report](results/final-report.json), per-run manifests, +settings, official scores, final SQL and compact records are in `results/`. +Full local transcripts/CSVs are retained and their SHA-256 hashes are published. +The ordinary harness file-ingestion tool remains present; this is input separation, +not OS-level sandboxing. Actual file-tool attempts were audited and no successful +filesystem reads occurred; `OKF_BUNDLE_DIR` was absent. See `results/file-input-audit.json`. +Source snapshots preserve initial and final as-executed bytes. After measurement, +unused copied legacy CLI entrypoints were removed; all retained execution/grading +function ASTs and the final SQL instruction are unchanged (see +`results/primitives-equivalence.json`). Executed runner revision: `0260422`. The public data +license/attribution is retained; DB files and credentials are not committed. + +This measures the Lang2SQL harness on SQLite. It does **not** measure the Codex +MCP client, Oracle SQL dialect, multi-user authorization, memory retention, or +the improvement from supplying company-specific definitions. The Oracle demo +remains separate evidence for its concrete scenario. + +Locked-environment tests: 222 passed, 1 optional integration skipped. Benchmark +Ruff, diff whitespace and credential-pattern checks passed. See +[implementation verification](VERIFICATION.md). PR: +https://github.com/CausalInferenceLab/Lang2SQL/pull/320 diff --git a/bench/accuracy/SPIDER2-LICENSE.txt b/bench/accuracy/SPIDER2-LICENSE.txt new file mode 100644 index 00000000..819d7378 --- /dev/null +++ b/bench/accuracy/SPIDER2-LICENSE.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 bird_sql + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/bench/accuracy/VERIFICATION.md b/bench/accuracy/VERIFICATION.md new file mode 100644 index 00000000..b69d4711 --- /dev/null +++ b/bench/accuracy/VERIFICATION.md @@ -0,0 +1,31 @@ +# Implementation verification + +Reused `bench.spider2.evaluate` (read-only connections, final SQL extraction, +CSV export, atomic records and official Spider grader), `MeasuredLLM` (existing +Lang2SQL message/tool codecs), and the real `ContextConcierge` / `agent_loop`. +Python source delta before evidence snapshots: +882 lines, of which 418 are +adapted existing runner/provider code, 307 are runner integration/product prompt, +and 157 are integrity tests. JSON manifests and archived source snapshots are +provenance artifacts, not new product logic. + +| Principle | Result | Evidence | +|---|---|---| +| Reuse first | O | Existing Spider execution and grading path reused; BIRD adds input adapter and pinned official comparator. | +| Fix evidenced causes | O | Development outputs showed extra projection/filter/type errors; only six prompt lines changed. Logged API timeouts motivated bounded transport retries. | +| Logging | O | Case-specific transcripts, SQL, state, API attempts, error classes, usage and time persist; raw record/CSV hashes accompany published summaries. | +| Error handling | O | Recoverable transport errors log warning; exhausted/nontransport errors raise into a recorded failed case. Failed cases remain in denominator. Provider messages are intentionally redacted to avoid credential leakage. | +| Configuration injection | O | Credential file read at CLI input boundary; key/profile injected into provider. No new production env variables. | +| No issue IDs in code comments | O | New code comments describe constraints, not ticket numbers. | +| Real exit codes | O | Locked environment: 222 passed, 1 skipped. Benchmark Ruff and diff whitespace checks pass. Existing system_prompt BLE001 is outside changed prompt text and explicitly excluded for that file. No CODE MAP script exists in this checkout. | +| Authorization | O | Implementation, tests and PR within user request; no merge or issue creation. | +| Explain request path | O | README identifies actual harness path and explicitly distinguishes it from Codex MCP, Oracle dialect and memory-effect claims. | +| One async logic path | O | One provider call/retry implementation; API calls and retry delay async; existing DB adapter uses worker threads. BIRD scoring is a standalone synchronous CLI. | +| Tunable values | O | Limits use CLI/profile configuration; exact settings frozen and archived. No deployment/env changes required for benchmark-only configuration. | + +The integrity tests exercise fixed/disjoint splits, gold-field rejection, +read-only SQL, row budgets, official comparator hash/semantics, failed cases in +the denominator, missing-record failure, and logged/bounded transport retries. +The skipped test requires an optional external integration; no fake model output +is included in benchmark accuracy. + +After measurement, unused copied legacy CLI entrypoints were removed. All eight retained execution/grading function ASTs and the final SQL instruction are unchanged; see `results/primitives-equivalence.json`. As-executed source bytes are archived under `results/source-final/`. diff --git a/bench/accuracy/bird-manifest.json b/bench/accuracy/bird-manifest.json new file mode 100644 index 00000000..e82fa054 --- /dev/null +++ b/bench/accuracy/bird-manifest.json @@ -0,0 +1,3527 @@ +{ + "benchmark": "BIRD Mini-Dev SQLite 500 (2026-10-25)", + "upstream_commit": "5b256b5a9c17478f06ed6912612e9a14d17065c8", + "question_file_sha256": "926af2a0d1b47e5d0d15a7aa8a34d4721007f4550a881555b6a89496b54a2606", + "evaluator_sha256": "da1bbcd4530be83692d7c650c814ea9704bb710d0c953eb75d02ccb38233cf89", + "cases": [ + { + "instance_id": "bird000", + "db": "california_schools", + "question": "Among schools with a school-level SAT excellence rate above 0.3, what is the highest ages-5-17 free-meal eligibility rate?", + "evidence": "SAT excellence rate is the share of test takers scoring at least 1500." + }, + { + "instance_id": "bird001", + "db": "california_schools", + "question": "For locally funded schools whose K-12 minus ages-5-17 enrollment difference exceeds the average such difference among locally funded schools, list each school's directory-listed name and DOC type.", + "evidence": "" + }, + { + "instance_id": "bird002", + "db": "california_schools", + "question": "For the five schools with ownership code 66 and the largest K-12 free-or-reduced-price meal counts, give each school's K-12 eligible meal rate rounded to six decimal places.", + "evidence": "" + }, + { + "instance_id": "bird003", + "db": "california_schools", + "question": "What is the ratio of merged Unified School District schools in Orange County to merged Elementary School District schools?", + "evidence": "" + }, + { + "instance_id": "bird004", + "db": "california_schools", + "question": "What are the mailing street address and name of the school with the seventh-highest recorded average mathematics score?", + "evidence": "" + }, + { + "instance_id": "bird005", + "db": "california_schools", + "question": "How many non-charter schools in Los Angeles County have a K-12 free-meal percentage below 0.18%?", + "evidence": "" + }, + { + "instance_id": "bird006", + "db": "california_schools", + "question": "Which schools served a grade span of Kindergarten to 9th grade in the county of Los Angeles and what is its Percent (%) Eligible FRPM (Ages 5-17)?", + "evidence": "FRPM eligibility percentage is free-or-reduced-price meal recipients divided by same-age-band enrollment, times 100." + }, + { + "instance_id": "bird007", + "db": "california_schools", + "question": "What is the Percent (%) Eligible Free (K-12) in the school administered by an administrator whose first name is Alusine. List the district code of the school.", + "evidence": "K-12 free-meal eligibility percentage is K-12 free-meal recipients divided by K-12 enrollment, times 100." + }, + { + "instance_id": "bird008", + "db": "california_schools", + "question": "List the distinct available administrator email addresses for public intermediate/middle schools in San Bernardino city and county, in a unified school district, opened during 2009 or 2010.", + "evidence": "" + }, + { + "instance_id": "bird009", + "db": "california_schools", + "question": "I'm comparing three high schools in Alameda County and want to focus on the one with the biggest student body. The schools have these CDS codes: 1751010130583, 1612910137588, and 1611760134270. Which of these three schools has the highest enrollment of students aged 5-17? Please give me the 5-digit NCES school identification number for that school. If two or more of them tie for the highest enrollment, give me the NCES identification number of each tied school.", + "evidence": "NCES school identification number: the 5-digit school-level NCES identifier. Enrollment (Ages 5-17): the number of students aged 5 through 17 enrolled at the school." + }, + { + "instance_id": "bird010", + "db": "california_schools", + "question": "I'm profiling the High Tech High charter network in San Diego. For charter number 756, what is the average number of SAT test takers per school across all of its schools with a San Diego mailing city? Count every school regardless of operational status, and treat a school with no SAT record as having zero test takers. Round the average to two decimals.", + "evidence": "Charter number 756 is the state-issued charter number." + }, + { + "instance_id": "bird011", + "db": "california_schools", + "question": "Following up on the SAT participation review: among the currently operating high schools in the district with NCES identification number 0613360 that had no SAT test takers, which one begins serving students at the earliest grade? Please give me each such school's name and grade span served. Note that a high school must actually enroll students through grade 12-offering grade 12 without enrollment doesn't count. A school with no SAT record counts as having zero SAT test takers and should be included; only exclude schools with a positive number of SAT test takers. Compare starting grades as school grades-preschool comes before kindergarten, which comes before grade 1-and use the lowest grade the school actually serves, not just what it offers. If several schools tie at the earliest grade, list them all alphabetically by school name.", + "evidence": "NCES identification number 0613360 is the school district identification number assigned by the National Center for Education Statistics." + }, + { + "instance_id": "bird012", + "db": "california_schools", + "question": "I'm profiling schools run directly by the California State Board of Education. Which of those schools has the highest average SAT reading score? If several tie for the highest, give me all of them. For each school, I need its name and its full mailing street address - the complete address, not an abbreviated one. Only include schools the State Board runs directly, and the score must be the school's own result, not a district-wide figure.", + "evidence": "State Board of Education: the state authority that directly runs and oversees certain California schools." + }, + { + "instance_id": "bird013", + "db": "california_schools", + "question": "I'm trying to verify where a school I was told about is located. It's a high school in Alameda County with Breakfast Provision 2 status, serving grades 9 through 12, and its identification number is 1611920113902. What city is this school in?", + "evidence": "The identification number is the school's CDS code; Educational Instruction Level Code 'HS' identifies a high school; grades 9 through 12 means lowest grade 9 and highest grade 12; Breakfast Provision 2 is a National School Lunch Program provision status." + }, + { + "instance_id": "bird014", + "db": "california_schools", + "question": "I'm reviewing NSLP Provision 2 schools. Can you give me the name and city of every high school (educational instruction level code HS) whose meal-program status is exactly Provision 2 and whose lowest grade served is above ninth grade? One row per school, ordered by school name. Note: only the status named Provision 2 counts-the breakfast and lunch variants are separate statuses and shouldn't be included.", + "evidence": "" + }, + { + "instance_id": "bird015", + "db": "california_schools", + "question": "I'm profiling California's statewide benefit charter networks. Among the schools run by a statewide benefit charter network, which single school had the highest number of SAT test takers who scored 1500 or above? Please give me that school's name and its phone number. If several schools tie for the highest count, list every tied school with its phone number.", + "evidence": "Statewide benefit charter: a charter school network authorized directly by the California State Board of Education to operate schools throughout the state; charter schools authorized by a school district or county office of education are not statewide benefit charters." + }, + { + "instance_id": "bird016", + "db": "california_schools", + "question": "I'm looking at a directly-funded charter high school in California with CDS code 1611190130609. Could you tell me its average SAT math score and how many students took the SAT there? Just that one school's figures. If the school with that CDS code turns out not to be directly funded, then there's no answer.", + "evidence": "CDS code: the identification number the California Department of Education assigns to a county, district, or school. Directly-funded charter school: a charter school that receives its funding directly from the state rather than through its district." + }, + { + "instance_id": "bird017", + "db": "california_schools", + "question": "I'm looking at SAT participation in Contra Costa County. How many schools in the county had more SAT test takers than the school with CDS code 7618040730051? That school is itself a Contra Costa County school, so I just want the count of schools strictly ahead of it by number of SAT test takers, based on the SAT results snapshot in the data. A single number is all I need.", + "evidence": "CDS code: the County-District-School identifier that the California Department of Education assigns to each school and district in the state." + }, + { + "instance_id": "bird018", + "db": "california_schools", + "question": "I'm comparing schools in San Francisco. How many public schools with a San Francisco mailing city had an average total SAT score of at least 1500? Please count only schools whose district type is 'Unified School District', 'High School District', 'Elementary School District', or 'County Office of Education (COE)' - exclude any other district type. I just need the single count of qualifying schools.", + "evidence": "A school's total SAT score is the sum of its average reading, average math, and average writing scores; a school's mailing city is the city in its mailing address." + }, + { + "instance_id": "bird019", + "db": "california_schools", + "question": "What is the lowest grade level at which any school in our district begins serving students? If several schools tie at the lowest grade, just report that single grade level for the whole district. Our district is NCES district ID 0632640.", + "evidence": "'P' stands for preschool." + }, + { + "instance_id": "bird020", + "db": "california_schools", + "question": "I'm reviewing administrator coverage across Amador and Madera counties, and I want to see which administrator first names actually cover the most schools. For the two administrator first names whose holders run the most schools across the two counties (ranking names by the number of schools their holders run, with the alphabetically earlier name ranking higher if two names run equally many schools), please give me one row per public school district in those two counties and per those two first names, showing the district name, the first name, and the number of schools in that district run by an administrator with that first name - including every public school district, even ones where that's zero. Every administrator listed for a school counts, not just the first-listed one. A public school district means a unified school district, an elementary school district, a high school district, or a county office of education, and only Amador and Madera counties are in scope.", + "evidence": "" + }, + { + "instance_id": "bird021", + "db": "california_schools", + "question": "For the 2014-2015 academic year, what was the average number of enrolled students aged 5 to 17 eligible for free or reduced price meals per Youth Authority school? Count every Youth Authority school regardless of its status (active, closed, or merged), and treat a Youth Authority school with no meal-program record as zero. Please give me just that one number, rounded to two decimal places.", + "evidence": "A Youth Authority school is a school the state directory classifies as a Youth Authority Facility." + }, + { + "instance_id": "bird022", + "db": "california_schools", + "question": "I have a school's CDS code from a separate list of Alameda County schools on Breakfast Provision 2, and I need to confirm which school it is. For the school with CDS code 1612590136051, please give me the school name and the educational instruction level name. This CDS code identifies exactly one school, so return only that school.", + "evidence": "Breakfast Provision 2: the NSLP provision status category the school participates in. CDS code 1612590136051: the school identifier being asked about." + }, + { + "instance_id": "bird023", + "db": "california_schools", + "question": "I'm looking at the schools that the State Board of Education directly runs or charters. Which individual school among them had the most students score at least 1500 on the SAT? Please give me that school's name and its administrator's email address. If two schools tie on that count, list both.", + "evidence": "Schools run or chartered by the State Board of Education are identified by their district ownership type." + }, + { + "instance_id": "bird024", + "db": "california_schools", + "question": "We're relocating to far Northern California and want to know how far north California's middle schools reach. A middle school means a school serving the middle grades, the level between elementary school and high school — count it as a middle school if either its school type or its school name marks it as serving the middle grades, so a junior high school whose name says 'Middle' counts. Include both open and closed schools. Please tell me which middle school is located furthest north in California, along with its school type (the value of the field named 'School Type'), its school name, and its latitude in degrees. If several middle schools tie for the highest latitude, list all of them.", + "evidence": "middle school: a school serving the middle grades, the level between elementary school and high school" + }, + { + "instance_id": "bird025", + "db": "california_schools", + "question": "I'm working on a story about campuses Los Angeles County opened during 2007 and the SAT participation they drew. What was the average number of SAT test takers per school across Los Angeles County schools that opened during 2007 and are run by a school district? Please give me that single number, rounded to two decimals. A few things to keep in mind: a county office of education counts as the school district for the schools it runs; \"opened during 2007\" means the opening date falls in calendar year 2007; and a school with no SAT record counts as zero test takers.", + "evidence": "SAT test takers: the number of test takers recorded for the school." + }, + { + "instance_id": "bird026", + "db": "california_schools", + "question": "I'm reviewing charter school funding models and want to compare the directly funded and locally funded charters that are currently in operation. For each of the two funding categories, please give me: (1) the number of charter schools currently in operation, counting only schools the directory lists as active (open), not closed or merged; (2) total 2014-2015 K-12 enrollment; (3) the average percentage of students eligible for free or reduced-price meals, on a 0-100 scale, rounded to two decimals; and (4) the average combined SAT score (reading + math + writing) across schools that have reported scores, rounded to two decimals. Note that schools without SAT results should still count in the school count, enrollment total, and meal-eligibility average. Please give me these figures grouped by funding category.", + "evidence": "Directly funded and locally funded are the two charter funding categories. Free or reduced-price meal eligibility is measured by the K-12 eligible percentage. Combined SAT score is the sum of the average reading, math and writing scores." + }, + { + "instance_id": "bird027", + "db": "california_schools", + "question": "Among California's state special schools, which one begins enrolling students at the latest grade level? Please give me: the school's name, the earliest grade level covered by its K-12 enrollment, its K-12 enrollment, and how many SAT test takers it had. In the grade-level codes, P means pre-kindergarten and K means kindergarten, and grades progress from pre-kindergarten to kindergarten to grades 1 through 12 — so a school starting at grade 1 starts later than one starting at kindergarten. If a state special school has no SAT record, still consider it a candidate and report it as having 0 SAT test takers. If two schools start at the same grade level, prefer the one with the larger K-12 enrollment; if still tied, the one whose name comes first alphabetically. The data is for the 2014-2015 school year.", + "evidence": "A state special school is a school operated by the state of California that serves students with special needs, such as the schools for the deaf or the blind." + }, + { + "instance_id": "bird028", + "db": "california_schools", + "question": "I'm putting together a brief on SAT participation among California's larger public schools. How many individual named school sites in the state with a K-12 enrollment over 500 and a highest grade served of 8 or below had no SAT test takers? I just need the school_count, a single whole number. Please count a school as an individual school site with a name - district and county offices of education are not schools. Include every qualifying school site statewide even if it shows no SAT results at all; such a site simply had no test takers. By highest grade served I mean the top grade level the school serves, as a grade number from 1 through 12.", + "evidence": "" + }, + { + "instance_id": "bird029", + "db": "california_schools", + "question": "I'm studying charter schools run by county offices of education. Using the K-12 school meal program records, for the charter schools these county offices operate, broken down by charter funding type (directly funded and locally funded only), I'd like to know: how many are currently operating, their total K-12 enrollment, and their total number of FRPM-eligible K-12 students. A school counts as currently operating only if its status is Active. Please give me one row per funding type, with directly funded first.", + "evidence": "FRPM means free or reduced price meal eligibility." + }, + { + "instance_id": "bird030", + "db": "california_schools", + "question": "I'm documenting now-closed California schools whose students performed best on the SAT writing section, and I need the runner-up. Among schools whose status is Closed (not Active, Merged or Pending), and which have an average SAT writing score, can you tell me which school had the second-highest average SAT writing score? By second-highest I mean the best score strictly below the highest – if several schools share that score, please list them all. For each school, give me its name, its own district and county, and its average SAT writing score.", + "evidence": "SAT writing score: the average writing score of the school's SAT test takers." + }, + { + "instance_id": "bird031", + "db": "california_schools", + "question": "I'm a parent looking at high schools in California, and I want to know how often a school that's still open has no seniors taking the SAT at all. How many currently open public high schools in California had zero students take the SAT? By 'currently open' I mean the school's status is Active, not closed or merged. By 'high school' I mean a school whose educational instruction level is High School. Please count a school that has no SAT record at all as having zero test takers. I just want that one number.", + "evidence": "SAT test takers: the number of test takers recorded for the school in the SAT scores data." + }, + { + "instance_id": "bird032", + "db": "california_schools", + "question": "I'm planning a targeted meal-support pilot and want to compare one school against similar schools in our county. The county I mean is the one where Fremont High (CDS code 1612590125716) is located - please identify the county by that CDS code, not by the school name. For that county, please look at all K-12 schools with more than 500 free meals and fewer than 700 FRPM meals, and give me back: the county name; the number of schools; the average free-meal percentage and the average FRPM percentage, both on a 0-100 scale with each school's own percentage rounded to 2 decimals before averaging; the number of charter schools and the number of non-charter schools (charter vs. non-charter per the charter indicator in the frpm data); and the average SAT score, where a school's SAT score is the sum of its three SAT section averages, counted only for schools that actually have SAT records, with no SAT record meaning the school is simply excluded from that average. Please round the reported averages to 2 decimals.", + "evidence": "Free meal percentage = free meal count (K-12) / enrollment (K-12) * 100; FRPM percentage = FRPM count (K-12) / enrollment (K-12) * 100; charter school = charter indicator 1, non-charter = charter indicator 0." + }, + { + "instance_id": "bird033", + "db": "california_schools", + "question": "I'm studying the 1980 growth of public schooling in San Diego County. What was the average number of schools per month that opened in San Diego County in 1980 under a school district's jurisdiction? I need just that single number. Please average over all 12 months of 1980 (months with no openings count as zero), and give me the exact average without rounding.", + "evidence": "A school district is a local education agency that runs K-12 public schools; it is an elementary school district, a high school district, or a unified school district." + }, + { + "instance_id": "bird034", + "db": "california_schools", + "question": "Among California schools whose students have an average SAT Math score above 400, what percentage offer virtual instruction, either exclusively or in part? Please give me a single percentage value rounded to one decimal place.", + "evidence": "In the school directory, the exclusive-virtual category is coded 'F' and the partial-virtual category is coded 'P'." + }, + { + "instance_id": "bird035", + "db": "california_schools", + "question": "A parent is asking about a school and could only give me the CDS code 1612590137943. Can you look up that school and give me its name, county, district, and city; its K-12 enrollment; the number of K-12 students eligible for free or reduced price meals and the percentage eligible (report the percentage exactly as it appears, without rounding); and the SAT results - number of test takers, average reading score, average math score, average writing score, and the number of test takers whose total score is at least 1500?", + "evidence": "CDS code: the state's County-District-School identification code assigned to each school; FRPM: the Free or Reduced Price Meal program, where the FRPM count is the number of students eligible." + }, + { + "instance_id": "bird036", + "db": "california_schools", + "question": "I'm putting together a profile of Alameda County high schools, focusing on economic disadvantage among schools that serve up through 12th grade. Among those schools, can you tell me which one has the highest free meal rate? For each school you identify, give me one line with: the school name, its free meal rate to 4 decimal places, whether it is a charter school (Yes/No/Unknown), the grades it serves, and its SAT performance level (Below Average, Average, Above Average, or No SAT Data). Please use the school's grade span of enrollment from the school directory (the GSserved field of the schools table) both to decide whether it serves up through 12th grade and for the grades-it-serves column-do not use the free-meal program record's Low Grade/High Grade for either. If several schools tie for the highest free meal rate, list every one of them.", + "evidence": "Free meal rate = Free Meal Count (K-12) / Enrollment (K-12). SAT performance level is based on the SAT total (Reading + Math + Writing): Below Average if below 1200, Average if 1200 to 1500, Above Average if above 1500, and 'No SAT Data' if no SAT scores are available." + }, + { + "instance_id": "bird037", + "db": "california_schools", + "question": "Could you pull a full profile for the school with CDS code 7618040113118? I need its name, phone number, website, average SAT reading, math and writing scores, whether it is a charter school, its K-12 enrollment for the 2014-2015 academic year, and the percentage of its students eligible for free or reduced price meals on a 0-100 scale rounded to two decimal places. Alongside that, please find the highest average SAT math score achieved by any active school with at least 10 SAT test takers – if several schools tie for the highest, just give me that single score – and how far below that highest score this school's math score falls.", + "evidence": "CDS code is the California Department of Education's school identifier; a charter school is one with charter status recorded as 1." + }, + { + "instance_id": "bird038", + "db": "california_schools", + "question": "I'm mapping where exclusively virtual schools are concentrated. For the five counties with the most exclusively virtual schools - if several counties tie with the fifth-highest count, include all of them - please give me for each county: the county name, how many exclusively virtual schools it has, and the name of the exclusively virtual school in that county with the highest average SAT reading score. If several schools tie for the highest average reading score in a county, list each of them. If none of the county's exclusively virtual schools has a reported reading average, show 'None' as the school name.", + "evidence": "An exclusively virtual school is one whose Virtual field holds the code 'F'." + }, + { + "instance_id": "bird039", + "db": "california_schools", + "question": "I'm comparing online-only schooling options. I'd like to know, for Santa Barbara County and for the county that contains the school with CDS code 1100170109835 (which identifies one school), how many exclusive-virtual schools are in each county. Please give me each county's name with its number of exclusive-virtual schools, listing the county with the larger number first, or alphabetically by county name if they tie.", + "evidence": "A school counts as exclusive-virtual only if its virtual-instruction category is coded 'F'." + }, + { + "instance_id": "bird040", + "db": "california_schools", + "question": "I'm studying how concentrated economic need relates to SAT outcomes in California public schools. Among regular, non-charter schools with more than 100 K-12 students, I'd like two extremes plus one benchmark school: the school with the largest count of FRPM-eligible students, the school with the smallest FRPM share (the proportion of its K-12 enrollment that is FRPM-eligible – smallest by that share, not the raw count), and the school with CDS code 4615150435602 from my notes. If a school answers more than one part, report it once per part, and label each row with which part it answers ('largest FRPM-eligible count', 'smallest FRPM share', or 'the CDS code from my notes', in that order). Include ties. For each school, please give: school name, county, city, full mailing address as four columns (mailing street, mailing city, mailing state, mailing ZIP), website, K-12 enrollment, FRPM-eligible student count, FRPM share, average total SAT score (reading + math + writing) among its SAT takers, percentage of its SAT takers scoring 1500 or more, opening date, and status ('closed' if a closing date is recorded, otherwise 'open'). Nothing else, please.", + "evidence": "CDS code: the California Department of Education's identification code for a school; the benchmark school in my notes is identified by CDS code 4615150435602." + }, + { + "instance_id": "bird041", + "db": "california_schools", + "question": "I'm auditing FRPM enrollment reporting and need to contact some elementary and middle schools. Please list the name and street address of every named school whose K-12 enrollment exceeds its enrollment of students aged 5-17 by more than 30 students, and whose highest grade of enrollment is grade 8 or below. Kindergarten counts as grade 8 or below. Give me one row per school; any order is fine.", + "evidence": "K-12 enrollment is enrollment counted for kindergarten through grade 12. Enrollment of ages 5-17 is enrollment counted for students aged 5 through 17. Highest grade of enrollment is the highest grade level the school enrolls students in (e.g., grade 8 for a school serving kindergarten through grade 8)." + }, + { + "instance_id": "bird042", + "db": "california_schools", + "question": "I'm auditing high-school-level campuses that draw enrollments beyond their surrounding school-age population. Can you give me a list of schools where the K-12 enrollment exceeds the ages-5-17 enrollment by more than 30, limited to schools whose lowest served grade is grade 9 or a later grade (a school's lowest served grade being the low end of the grade range reported in the same enrollment record as its K-12 and ages-5-17 counts)? For each school, I just need the school name and street address. Please order the results by the school's CDS code, smallest first.", + "evidence": "CDS code: a school's identifier in the California schools data." + }, + { + "instance_id": "bird043", + "db": "california_schools", + "question": "I'm researching where high SAT performance coexists with concentrated poverty, to help target college-access support by county. For the 2014-15 academic year, for each county, how many schools had both a K-12 free-meal eligibility rate above 0.1 and at least one SAT taker scoring 1500 or higher on the school's own SAT record? Please list only counties that have at least one such school, with the county name and the number of its qualifying schools, sorted from most such schools to fewest, and alphabetically by county name when counties tie.", + "evidence": "K-12 free-meal eligibility rate: the share of a school's K-12 enrollment that is eligible for free meals (free meal count divided by K-12 enrollment)." + }, + { + "instance_id": "bird044", + "db": "california_schools", + "question": "I have a school on file with CDS code 1611430131177. Find the school in the same county as that school whose own SAT record shows the most students scoring at least 1500 (not a district-wide roll-up). If two schools tie on that count, use the one with the smaller CDS code. Send me that school's administrator's first and last name.", + "evidence": "CDS code: the County-District-School identifier assigned to each school; scoring at least 1500: a test taker whose combined SAT score is 1500 or higher." + }, + { + "instance_id": "bird045", + "db": "california_schools", + "question": "I'm working on a story about the largest schools in the state with the worst SAT excellence rates. Among schools where at least 700 students took the SAT, can you find the school with the lowest SAT excellence rate? If several schools tie for the lowest rate, go with the one with the smallest school code. I just need that school's street, city, ZIP code and state so I can visit and request an interview.", + "evidence": "The SAT excellence rate is the share of SAT test takers scoring at least 1500. A school code is a number." + }, + { + "instance_id": "bird046", + "db": "california_schools", + "question": "I'm planning reviews of Provision 2 meal programs under the NSLP and want to see which cities concentrate magnet schools under that provision. For each city that has at least one, can you give me the number of the city's magnet schools that run a Provision 2 meal program? Use the city where the school is located, not its mailing city. Also, if a school's NSLP entry lists multiple provision types, don't count it as running Provision 2.", + "evidence": "NSLP is the National School Lunch Program. Provision 2 is a federal provision under the NSLP that lets a school serve meals at no charge to all students regardless of family income." + }, + { + "instance_id": "bird047", + "db": "california_schools", + "question": "I'm preparing a mailing campaign and need a list of public high schools in Los Angeles County that have more than 500 free or reduced-price meal recipients ages 5-17. By public high schools I mean every public high-school category in the meal program report - regular high schools, continuation high schools, and high schools in single-school districts - not just regular ones; middle and junior high schools don't count. For each school, please give me the school name exactly as listed in the school directory, plus the campus (physical) street address - not a mailing or post-office address - along with the city, state and ZIP code, each as a separate field. Schools sharing a name are separate schools, so one row per school. Please sort the list by school name.", + "evidence": "'Free or reduced-price meal recipients ages 5-17' refers to the count reported in the meal program report for students ages 5-17 receiving free or reduced-price meals." + }, + { + "instance_id": "bird048", + "db": "california_schools", + "question": "I'd like to compare SAT participation across counties in California that run magnet schools under Provision 2 of the National School Lunch Program. For every county with at least one Provision 2 magnet school, can you give me the county name and the total number of SAT test takers from those schools? Please include every such county even if the total is 0, and list them in any order.", + "evidence": "Provision 2 school: a school whose NSLP Provision Status is Provision 2. Magnet school: a school identified as a magnet school or providing a magnet program." + }, + { + "instance_id": "bird049", + "db": "card_games", + "question": "List the IDs of borderless card printings for which Card Kingdom lacks a regular-version listing or a foil-version listing.", + "evidence": "" + }, + { + "instance_id": "bird050", + "db": "card_games", + "question": "Which distinct combinations of card name, artist, and promotional-printing flag occur among the printings tied for the most rulings?", + "evidence": "" + }, + { + "instance_id": "bird051", + "db": "card_games", + "question": "What percentage of all card printings have a Simplified Chinese translation? Round to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird052", + "db": "card_games", + "question": "What rules text is printed on Benalish Knight? Return the distinct text as one line.", + "evidence": "" + }, + { + "instance_id": "bird053", + "db": "card_games", + "question": "Among all Story Spotlight card printings, what percentage have a French translation? Round to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird054", + "db": "card_games", + "question": "What are the cards belong to duel deck a? List the ID.", + "evidence": "" + }, + { + "instance_id": "bird055", + "db": "card_games", + "question": "How many distinct white-bordered card printings are banned in at least one play format?", + "evidence": "" + }, + { + "instance_id": "bird056", + "db": "card_games", + "question": "How many distinct card printings with no recorded power value or a variable power expression have at least one ruling mentioning 'triggered ability'?", + "evidence": "An asterisk anywhere in a power expression denotes variable power." + }, + { + "instance_id": "bird057", + "db": "card_games", + "question": "What percentage of cards with format commander and legal status do not have a content warning?", + "evidence": "" + }, + { + "instance_id": "bird058", + "db": "card_games", + "question": "Among card printings with no recorded power value or a variable power expression, what percentage have a French translation? Round to two decimals.", + "evidence": "An asterisk anywhere in a power expression denotes variable power." + }, + { + "instance_id": "bird059", + "db": "card_games", + "question": "Among the sets in the block \"Ice Age\", how many of them have an Italian translation?", + "evidence": "" + }, + { + "instance_id": "bird060", + "db": "card_games", + "question": "What percentage of Coldsnap card printings have both a Card Kingdom regular-product ID and foil-product ID recorded?", + "evidence": "" + }, + { + "instance_id": "bird061", + "db": "card_games", + "question": "Which play format has the most banned card-printing records? Give that format and the distinct names of its banned cards.", + "evidence": "" + }, + { + "instance_id": "bird062", + "db": "card_games", + "question": "I collect promotional printings and play Brawl. How many different creature cards that have a promotional printing can serve as a Brawl commander? I just want a single number back.", + "evidence": "A promotional printing is a printing of a card made as a promotion, as opposed to a regular set printing. Brawl is a Magic: The Gathering format; the deck's commander is the card that leads it, and only certain cards are legal as a Brawl commander." + }, + { + "instance_id": "bird063", + "db": "card_games", + "question": "I'm cataloguing how the frame styles on Tarmogoyf's printings evolved over time. What is the number of years between the oldest and the newest frame style used on the printings of Tarmogoyf? The span in years is the newer year minus the older year.", + "evidence": "Frame style version means the year a card's frame style dates from." + }, + { + "instance_id": "bird064", + "db": "card_games", + "question": "How many black-border cards with power 10 or greater are available on Magic: The Gathering Online? I just want a single number.", + "evidence": "Black-border cards are the tournament-legal Magic cards, excluding the joke silver-bordered sets. Power is the first number in the lower-right corner of a creature card." + }, + { + "instance_id": "bird065", + "db": "card_games", + "question": "I have the count of sets with fewer than five translations of their name — now I need the gap in cards to size the translation budget. Can you give me the total number of cards contained in those sets? A few things to keep in mind: 'fewer than five' is strict, so a set with exactly five translations doesn't count. All sets count regardless of type or release (core set, expansion, promotional, online-only, etc.). If two languages have the identical translated name string for a set, that's one translation, not two. And a set's card count should be its full size, including promotional and related supplemental printings.", + "evidence": "A 'translation of a set's name' means the localized name of the set in another language, e.g. its French or Simplified Chinese name." + }, + { + "instance_id": "bird066", + "db": "card_games", + "question": "I'm preparing a multilingual catalog and want to gauge how much localizable content exists per kind of set. For every set type, I need the number of sets of that type that have an officially translated name, and the total number of cards in those sets. Please include every set type in the results, even ones where no set has an officially translated name (show zero for both values in that case), and sort the results alphabetically by set type.", + "evidence": "Set type: the expansion type of a set, such as core, expansion or promo. Officially translated name: the set's name rendered in another language, such as Italian or Chinese Traditional." + }, + { + "instance_id": "bird067", + "db": "card_games", + "question": "How many rulings were issued for Mishra's Factory on the latest date any ruling for it exists? By \"latest date\" I mean the most recent calendar date on which any ruling for the card exists, and by Mishra's Factory I mean the card by that name across all of its printings. I only want that count.", + "evidence": "ruling: an official rules statement issued for a card on a given date" + }, + { + "instance_id": "bird068", + "db": "card_games", + "question": "Which artist has illustrated the most different creature cards, and how many different creature cards is that? I'd like each artist's name along with their count of different creature cards. If two artists are tied for the most, list both.", + "evidence": "A creature card is a card whose card types include Creature." + }, + { + "instance_id": "bird069", + "db": "card_games", + "question": "I'm putting together a showcase of zero-mana-cost cards. What is the newest frame version used by any card with a converted mana cost of 0? Please give me that frame version value, and the number of cards in the database that use that frame version. The count should cover all cards in the database, not just the zero-cost ones. If several frame versions tie as the newest, give me each of them with its own count.", + "evidence": "Frame version: the edition of the card frame style a printing uses." + }, + { + "instance_id": "bird070", + "db": "card_games", + "question": "I'm tracking printings of Tarmogoyf. Of all its printings, which frame version is the newest? Please give me the year that identifies that latest frame version, and the percentage of the card's printings that use it, rounded to two decimal places. The percentage should be over all printings of the card.", + "evidence": "A printing is an occurrence of the card in a set; a frame version is the version of the card frame style of a printing." + }, + { + "instance_id": "bird071", + "db": "card_games", + "question": "I'm building an artifact-heavy Commander deck and want to know the size of the pool of zero-cost cards available to me. How many different cards have a printed mana cost of {0} and are legal in Commander? A card is legal in Commander if its Commander legality entry is marked Legal.", + "evidence": "Printed mana cost of 0 means the cost shown on the card is {0}. Commander is a format of play in which any card marked Legal for that format is playable." + }, + { + "instance_id": "bird072", + "db": "card_games", + "question": "I'm brewing and looking for cards that combine two keyword abilities. How many cards in the collection have both Flying and Cycling? Note that each printing counts as its own card, and a card only counts if it has both keywords.", + "evidence": "Flying and Cycling are keyword abilities in Magic: The Gathering." + }, + { + "instance_id": "bird073", + "db": "card_games", + "question": "I'm comparing how mana-cheap Magic: The Gathering sets have become over time. For two sets — the set where Abyssal Horror was first printed, and the most recently released set in the database — I want one row per set with the set name and the percentage of that set's cards that have a mana cost whose converted mana cost is 3 or less, rounded to two decimal places. By \"first printed\", I mean the set with the earliest release date among the sets Abyssal Horror appears in; if several share that earliest date, use the one whose set code comes first alphabetically. For the most recent set, use the latest release date among all sets; if several share that date, again take the one whose set code comes first alphabetically. By \"converted mana cost\" I mean the card's mana value, and a card counts as having a mana cost only if a mana cost is printed on it.", + "evidence": "Converted mana cost means the card's mana value; a card has a mana cost when a mana cost is printed on the card." + }, + { + "instance_id": "bird074", + "db": "card_games", + "question": "How many different cards have ever been printed as a release promotion? I just need a single number, covering all printings across the game's entire history with no time restriction. Note that a prerelease printing is a different promotion type and shouldn't be counted as a release promotion.", + "evidence": "A release promotion is a promotional printing whose promotion type is 'release'." + }, + { + "instance_id": "bird075", + "db": "card_games", + "question": "I'm cataloguing the Abzan clan's cards and need this: among the cards with the Abzan watermark, which one comes last in its set's numbering - i.e. has the highest collector number? Please give me the card's name, its collector number, and how many foreign-language printings exist for that card. If several Abzan-watermarked cards tie for the highest collector number, list every one of them, each with its own count of foreign-language printings. Count each foreign-language edition record of the card as one printing.", + "evidence": "Abzan watermark: the clan mark printed on the card. Collector number: the number of the card within the set it was printed in. Foreign-language printing: the foreign-language edition record of a card." + }, + { + "instance_id": "bird076", + "db": "card_games", + "question": "I'm profiling the weak end of the white-bordered printings. How many white-bordered cards have a power less than 3? I just need that single count - only white-bordered cards are in scope, and please don't include anything else in the answer.", + "evidence": "Power is a card's combat strength. A card whose power is shown as * has no known power." + }, + { + "instance_id": "bird077", + "db": "card_games", + "question": "I'm putting together a showcase of instant-speed cards from Magic: The Gathering. Which cards in the Dark Ascension set have the Flash keyword and, among those, the highest converted mana cost? Please list just the card names, one row per card, alphabetically by name, and include every card that ties on that highest cost.", + "evidence": "Dark Ascension is the Magic: The Gathering set named 'Dark Ascension'. Flash is the keyword that lets a card be cast any time you could cast an instant. Converted mana cost is the total amount of mana a card costs to cast." + }, + { + "instance_id": "bird078", + "db": "card_games", + "question": "I'm preparing localized set icon assets and need to know the foreign-language name coverage of every Magic: The Gathering set released in 2020. For each set released in 2020 (meaning its release date falls within the calendar year 2020), please give me the set's name, its keyrune code, and the number of languages in which the set has an official translated name. Nothing else.", + "evidence": "keyrune code: the code for the set's image icon; official translated name: the set's name rendered in a foreign language by the game's publisher." + }, + { + "instance_id": "bird079", + "db": "card_games", + "question": "I'm sizing a catalogue page of 2017 sets that were localized for international markets. How many cards were there in total across the Magic: The Gathering sets released in 2017 (between January 1 and December 31, 2017) that have a name in a language other than English? A set counts as localized if its name has a foreign-language translation. Include every card in each qualifying set, counting promotional and related supplemental printings as part of the set. I just need the single total across all qualifying sets, not per-set numbers.", + "evidence": "A foreign-language translation is a set's name rendered in a language other than English (e.g. Chinese Simplified, German, Spanish)." + }, + { + "instance_id": "bird080", + "db": "card_games", + "question": "I've already looked at the heavy hitters in duel deck B (the 'b' deck). Now I want to check the light end: how many cards in duel deck B are not available in foil and have attack power below 3? Note that 'below 3' means strictly below 3 — a power of exactly 3 doesn't count.", + "evidence": "" + }, + { + "instance_id": "bird081", + "db": "card_games", + "question": "I'm writing a spotlight piece on card artists, and I need to know: among black-bordered cards that are obtainable on Magic Arena and have a printed power of 10 or greater, which artist illustrated the most of them? Please give me the artist's name and the number of those cards they illustrated. A card counts even if it's also available outside Arena, as long as it can be obtained on Arena. If several artists tie for the most, list every one of them along with that count.", + "evidence": "Black border means the card's border color is black; power is the combat strength printed on a creature card, and '10 or greater' means the printed power reads as a number that is at least 10 (10, 11, 12, and so on)." + }, + { + "instance_id": "bird082", + "db": "card_games", + "question": "I'm going through my paper collection before sharing it publicly, and I want to check something about the cards Wizards of the Coast has flagged. How many different cards are there that carry a sensitive content warning, are available in paper form, and have never been available on Magic Online (MTGO)? I just need that one count.", + "evidence": "MTGO means Magic: The Gathering Online, the official online version of the game. A sensitive content warning means Wizards of the Coast has marked the card for having sensitive content." + }, + { + "instance_id": "bird083", + "db": "card_games", + "question": "Hi! I'm preparing a licensing brief for our Japanese partner about Magic: The Gathering localization coverage. Could you pull a report of every expansion type (core, expansion, promo, etc.), showing for each one how many sets of that type carry a Japanese name entry? A Japanese name entry means the set's name-translations include a Japanese-language entry giving the set's name in Japanese. Please include every expansion type in the report even if none of its sets have such an entry (show 0 for those), and sort the results alphabetically by expansion type. Nothing else needed - just the expansion type and the count.", + "evidence": "Japanese name entry: an entry in the set's name-translations whose language is Japanese and which gives the set's name in Japanese." + }, + { + "instance_id": "bird084", + "db": "card_games", + "question": "I'm cataloguing Arena-exclusive illustrated art of big creatures. How many artists have illustrated at least one black-bordered card that is available on Arena but never on Magic Online and has a fixed printed power of at least 5? I want just the number of artists, nothing else. Count across all printings in the collection with no time restriction. Note that a card whose power varies is not a fixed number, so it shouldn't count as power 5 or more.", + "evidence": "Arena and Magic Online are online platforms; a card's availability lists every platform it can be played on: 'arena' is Arena and 'mtgo' is Magic Online. Power is the attack strength printed on a creature card. Black-bordered refers to the standard card border color black." + }, + { + "instance_id": "bird085", + "db": "card_games", + "question": "I collect trading cards, and one of my favorites is Ancestor's Chosen. Of all the sets that include this card, look at the one released most recently - if several sets share that latest release date, consider them together. How many creature cards in that set (or sets) have power greater than toughness? I just want that single count, nothing else.", + "evidence": "Power is the attack strength printed on a creature card; toughness is the defense strength printed on a creature card." + }, + { + "instance_id": "bird086", + "db": "card_games", + "question": "Among the Commander-leadable cards that the Card Kingdom catalog lists for both a foil printing and a regular non-foil printing – cards listed for only one of the two printings don't count – I want the single most recent card frame year (the latest calendar year among the frame versions), and the count of cards in that group whose frame version is that year. Please return just that one row: the frame year and its card count.", + "evidence": "A card 'may lead a Commander deck' if it can be the deck's commander – the one card that leads the deck and sets its color identity – not merely be included among the deck's other cards." + }, + { + "instance_id": "bird087", + "db": "card_games", + "question": "I'm compiling the official rulings archive for the Magic: The Gathering card Fireball. How many official rulings have ever been issued for Fireball? I need the total across all time, with no date restriction.", + "evidence": "A ruling is an official clarification issued by Wizards of the Coast about how a card works." + }, + { + "instance_id": "bird088", + "db": "card_games", + "question": "Which card whose original type is 'Creature - Elf' has received the most rulings, and how many rulings has it received? I want the card name and the number of rulings. A card and all of its printings/reprints count as one and the same card. If several cards tie for the most rulings, list every one of them.", + "evidence": "A ruling is an official rules clarification issued for a card, on the date it was issued." + }, + { + "instance_id": "bird089", + "db": "card_games", + "question": "I'm reviewing the very first cards in the database and want to compare how widely accepted white cards are versus black cards across play formats. For each card color that appears among the cards with ID 1 through 20, please tell me the card color and the number of play formats in which cards of that color are legal. A card only counts as legal in a format if its legality status for that format is 'Legal' - banned or restricted doesn't count.", + "evidence": "Formats of play: the game formats a card is permitted in, such as commander or vintage." + }, + { + "instance_id": "bird090", + "db": "card_games", + "question": "I'm tracking John Avon's artwork. Among his cards that exist as powerful foils, what is the most recent frame year, and how many of those cards carry it? If several years are tied for most recent, give each year with its own count. Match John Avon on the illustrator's name.", + "evidence": "powerful foil: a card whose Card Kingdom identifiers are both present – the regular identifier and the foil identifier." + }, + { + "instance_id": "bird091", + "db": "card_games", + "question": "I play paper Magic and I'm building a pauper deck. How many printings of cards illustrated by Erica Yang are legal in the pauper format and exist as paper (physically printed) cards? I want just a single count of printings, with each printing counted separately.", + "evidence": "Pauper is a Magic: The Gathering format where only common-rarity cards are legal; a printing is a specific physical or digital release of a card in a set; 'legal in pauper' means the card's pauper legality status is Legal; 'paper' means a physical printed card." + }, + { + "instance_id": "bird092", + "db": "card_games", + "question": "I keep a Card Kingdom catalogue and want to list the creature cards that Card Kingdom stocks in both foil and non-foil printings. A card counts as stocked in both printings when both its Card Kingdom Foil id and its Card Kingdom id are present. Please give me one row per card, with each card's Card Kingdom Foil id and Card Kingdom id, and nothing else. I only need the three cards with the lowest Card Kingdom Foil ids in alphabetical order, with ties broken by the Card Kingdom id.", + "evidence": "Card Kingdom Foil id: the retailer's identifier for the foil printing; Card Kingdom id: the retailer's identifier for the non-foil printing." + }, + { + "instance_id": "bird093", + "db": "card_games", + "question": "Among the cards carrying the boros watermark that were printed in a foreign language, which card type is the most common, and how many of those cards have that type? If several types tie for the most, list all of them with their counts.", + "evidence": "\"Boros watermark\" refers to the guild watermark appearing on cards of the Boros guild; \"printed in a foreign language\" means the card was printed in any language other than English." + }, + { + "instance_id": "bird094", + "db": "card_games", + "question": "Among the Magic: The Gathering cards whose watermark is one of the ten Ravnica guild symbols (Azorius, Boros, Dimir, Golgari, Gruul, Izzet, Orzhov, Rakdos, Selesnya, Simic), which guild has the most cards that were printed in another language, and how many of that guild's cards is that? If several guilds tie for the most, give me each tied guild along with the number.", + "evidence": "A Ravnica guild is the guild a card's watermark belongs to; a card 'printed in another language' is a card that exists in a language edition other than English." + }, + { + "instance_id": "bird095", + "db": "card_games", + "question": "I'm cataloguing the guild cards. Among the cards that carry the Azorius watermark and were printed in at least one foreign language, how many cards are there of each card type? For each card type, please give me the card type exactly as printed, including any supertypes and subtypes, along with the number of cards of that type. List every card type that qualifies, sorted from the largest count to the smallest, and alphabetically by card type when counts are equal.", + "evidence": "" + }, + { + "instance_id": "bird096", + "db": "card_games", + "question": "I'm cataloguing modern-frame printings. How many different cards that have a text box were printed with a frame version of 2015 or a later year? I just need that single count.", + "evidence": "Frame version: the version of the card frame style, given as the year the frame style was introduced." + }, + { + "instance_id": "bird097", + "db": "card_games", + "question": "I'm putting together a showcase of promotional cards and need a list of card names. I want the names of the cards that have a promotional printing and have multiple faces on the same card, but only those printed in the most recent card frame version. A card's frame version is the year its frame style was introduced, so the most recent frame version is the one with the latest year - and it should be the newest frame style overall, not just among promotional multi-faced cards. Please list each card's name once.", + "evidence": "A promotional printing is a printing of a card that was given out for promotional purposes. A card with multiple faces has multiple faces printed on the same card." + }, + { + "instance_id": "bird098", + "db": "card_games", + "question": "I'm putting together a retrospective of promotional cards. Can you get me the card name of every promotional card that has multiple faces printed on it (like split, transform, or adventure cards) and was originally released in 2019? By \"originally released\" I mean the card's own first-release date, not the release date of the set its promotional printing belongs to, and \"in 2019\" means January 1 through December 31, 2019. If a card has more than one promotional printing from that year, list it just once. I only want the card names, nothing else.", + "evidence": "" + }, + { + "instance_id": "bird099", + "db": "card_games", + "question": "I'm researching printings of the Magic: The Gathering card Tarmogoyf. I want to identify every reprint of Tarmogoyf that was published in a card frame style that was already at least 10 full years old when the set came out. Please give me the set name and release date of every set that qualifies, not just one. Two rules: the frame version is the year that frame style dates from (the frame style itself, not any frame artwork effects), and 'at least 10 full years' is inclusive, measured between the frame version's year and the set's release year.", + "evidence": "Frame version: the year the card frame style of a printing dates from." + }, + { + "instance_id": "bird100", + "db": "card_games", + "question": "I'm cataloguing European releases of Counterspell. How many of its printings were released with both a French and an Italian localization? I just need the count as a single number.", + "evidence": "A printing is one release of the card identified by its set and its card number in that set; 'Counterspell' is the English card name as catalogued." + }, + { + "instance_id": "bird101", + "db": "card_games", + "question": "I'm putting together a localization report. Find the sets that belong to the same expansion type as \"From the Vault: Lore\" – include that set itself if it qualifies. Among those, which sets never received a name in any foreign language? For each one, give me the set's name and its release date. List each qualifying set once, from the earliest release date to the latest. Don't include anything else.", + "evidence": "Expansion type means the category a set belongs to, such as core, expansion or masters." + }, + { + "instance_id": "bird102", + "db": "card_games", + "question": "Which set contains the Aven Mindcensor printing that uses the newest card frame? I want the set's name and its release date. Count every printing, including promotional and online-only ones. If several printings share the newest frame, use the most recently released one; if the release dates tie too, list each such set once. Please give me the set name, not its code.", + "evidence": "Frame version: the frame style used for a printing; frame styles are identified by the year that style was introduced." + }, + { + "instance_id": "bird103", + "db": "card_games", + "question": "I'm auditing which recent products were never localized for Spanish-speaking markets. Can you find every set released in calendar year 2020 that has no Spanish name? For each of those, I just need the set code and the set's release date.", + "evidence": "By \"Spanish name\" I mean the Spanish-language version of a set's name." + }, + { + "instance_id": "bird104", + "db": "card_games", + "question": "I'm cataloguing special-release printings illustrated by Rob Alexander. What is the total converted mana cost across all cards illustrated by Rob Alexander whose original release falls in 2013? Please give me just that total as a single number. By 'released in 2013' I mean the calendar year from 1 January through 31 December 2013, and a card's original release is the original release date recorded on the card itself—cards with no original release date recorded are out of scope. Each card printing counts separately in the total.", + "evidence": "Converted mana cost: the total numeric mana value of a card, e.g. a card costing {4}{W}{W} has a converted mana cost of 6." + }, + { + "instance_id": "bird105", + "db": "card_games", + "question": "We're planning translation work for upcoming set releases and want to know how extensively a recent release year was localized. What was the average number of languages in which sets released in 2016 had their names translated? By 'released in 2016' I mean the release date falls within calendar year 2016. Every set released in 2016 counts toward the average, including any whose names were translated into no language at all (those count as zero). A language counts for a set when the set's name is rendered in that language. Please give me just that one number, rounded to two decimals.", + "evidence": "Set name translation: the set's name rendered in another language." + }, + { + "instance_id": "bird106", + "db": "card_games", + "question": "For the blocks named exactly \"Masques\" and \"Mirage\", how widely were their sets localized? For each of these two blocks, give me one row with the block's name, how many of its sets have an official translated name, and the total number of cards in the base sets of those sets combined. Base set size means the number of cards in the set's base set, not counting supplementary cards. Nothing else, please.", + "evidence": "" + }, + { + "instance_id": "bird107", + "db": "card_games", + "question": "I'm assembling a Japanese-language boros deck and want to check which cards need careful rules review. For every card that has a boros watermark and a Japanese printing, please give me: the Japanese card name, the English card type, and the total number of official rulings recorded for that card. A card is identified by its Japanese name together with its English card type - printings that share both count as one card, and if either differs they should be listed as separate cards. The ruling total should add up all ruling entries across every printing of that card, and if a card has no rulings, list it with a total of 0.", + "evidence": "Boros watermark means the watermark is marked 'boros' on the card; a Japanese printing is the foreign data entry in Japanese; rulings are the official rules clarifications recorded for a card." + }, + { + "instance_id": "bird108", + "db": "card_games", + "question": "I'm putting together a localization coverage report. Among the languages into which the card sets themselves were translated (i.e., have a set translation), which language has the fewest printings whose flavor text was translated into that language? Please give me the language name and the number of such printings. If several languages tie for the fewest, list all of them, ordered alphabetically by language name.", + "evidence": "Set translation: a card set's official release in another language." + }, + { + "instance_id": "bird109", + "db": "card_games", + "question": "I'm building a French-language cube and want some big finishers for it. How many different creature cards with power 10 or greater have at least one printing in a set whose name has a French translation? Please return just that single number. Note: a set qualifies based on its name having a French translation, no matter when it was released or what type of set it is, and a card counts if any of its printings comes from such a set.", + "evidence": "French translation: the set's name as given in French." + }, + { + "instance_id": "bird110", + "db": "card_games", + "question": "I'm researching the Commander banned list. Can you tell me the average mana value of the creature cards that are banned in at least one play format, considering only cards ranked in EDHRec's top 1000 most popular (ranks 1 through 1000, where rank 1 is the most popular)? Give me the average as a single number rounded to one decimal place. Keep in mind that a card printed in several sets is still just one card with one EDHRec rank and one mana value.", + "evidence": "EDHRec rank: a card's popularity rank on EDHRec, from 1 (most popular) to 1000." + }, + { + "instance_id": "bird111", + "db": "card_games", + "question": "For a stats segment on creature power creep, I want to size the middle-to-big power band: how many card printings have a power greater than 3 and at most 10? Note that 3 itself is out (strictly greater than 3), but 10 itself counts (at most 10). Just the total number of printings, please.", + "evidence": "A printing is one printed appearance of a card in a set – the same card name appearing in different sets counts as several printings." + }, + { + "instance_id": "bird112", + "db": "card_games", + "question": "I want a single number: how many card printings originally released in 2014 belong to a set that carries a Magic: The Gathering Online code. A set counts as MTGO-available only if its MTGO code is present for that set. By 2014 I mean the calendar year 2014 of the printing's original release date. Count each printing separately, even if the same card name appears in more than one set.", + "evidence": "Magic: The Gathering Online (MTGO) is the official digital edition of the game; a set's MTGO code identifies that set within MTGO." + }, + { + "instance_id": "bird113", + "db": "card_games", + "question": "I'm looking at Magic: The Gathering's localization coverage. Which foreign printing language has the fewest card printings overall, and how many printings does it have? Please count only languages in which Magic sets were officially printed—exclude one-off promotional gimmick languages. If several languages tie for the fewest, list each of them with the count.", + "evidence": "A printing language is a language in which Magic: The Gathering sets were officially released." + }, + { + "instance_id": "bird114", + "db": "card_games", + "question": "I'm auditing how thoroughly the Coldsnap expansion was localized into Italian. How many printings in the Coldsnap set have Italian rules text? I just need that single count.", + "evidence": "By 'printing' I mean an individual card entry of a set, and by 'Italian rules text' I mean the Italian-language rules wording recorded for that printing. Coldsnap means the set named Coldsnap." + }, + { + "instance_id": "bird115", + "db": "card_games", + "question": "Among the Commander-type expansion sets released in calendar year 2020 (1 January 2020 to 31 December 2020), I need the one with the highest total card count, so we can plan translation work. Please send me the set's id from the sets listing, its name, and the number of official languages it was released in. The total card count should include promotional and related supplemental products, but exclude Alchemy modifications. If two sets tie for the highest total card count, list each of them, ordered by set id ascending.", + "evidence": "Commander: a multiplayer expansion type of the game. Alchemy modifications: online-only variant versions of cards." + }, + { + "instance_id": "bird116", + "db": "card_games", + "question": "I'm researching Magic: The Gathering's basic land card Swamp. How many foreign languages has it been printed in over its entire history? Count all printings across every set and year.", + "evidence": "Swamp is the name of a Magic: The Gathering card." + }, + { + "instance_id": "bird117", + "db": "card_games", + "question": "I'm putting together a black artifact flavor-showcase section for a trade binder. How many mono-black Artifact cards have a foreign-language printing that shows flavor text in that language? By mono-black I mean black is the card's only colour, and by Artifact cards I include artifacts combined with another card type, like an Artifact Creature. I'm counting cards, not printings – a card is the same card regardless of set, print run, or language. Just give me one number.", + "evidence": "In Magic colour notation, B denotes black, and a card is mono-black when black is its only colour." + }, + { + "instance_id": "bird118", + "db": "codebase_community", + "question": "What is the display name of the user who last edited the post \"Examples for teaching: Correlation does not mean causation\"?", + "evidence": "" + }, + { + "instance_id": "bird119", + "db": "codebase_community", + "question": "Which users made exactly one history entry on at least one post with at least 1,000 views? Return their distinct user IDs.", + "evidence": "" + }, + { + "instance_id": "bird120", + "db": "codebase_community", + "question": "What is the difference in percentage points between the 2010 and 2011 shares of all Student badges, taking the 2010 share minus the 2011 share?", + "evidence": "" + }, + { + "instance_id": "bird121", + "db": "codebase_community", + "question": "What percentage of posts authored by Community use the R-language tag? Round to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird122", + "db": "codebase_community", + "question": "Which post created in 2010 had the most favorites? Return its post ID and its owner's display name.", + "evidence": "" + }, + { + "instance_id": "bird123", + "db": "codebase_community", + "question": "Give the view count of the post titled 'Computer game datasets' and the display name of its last editor.", + "evidence": "" + }, + { + "instance_id": "bird124", + "db": "codebase_community", + "question": "Give the text and author's display name for the latest ten comments on the post titled 'Analysing wind data with R', newest comment first.", + "evidence": "" + }, + { + "instance_id": "bird125", + "db": "codebase_community", + "question": "Among all posts by the user with the highest reputation, what percentage have a score above 50? Round to two decimal places.", + "evidence": "" + }, + { + "instance_id": "bird126", + "db": "codebase_community", + "question": "Among comments attached to existing posts with exactly one comment record in the data, how many have a score of zero?", + "evidence": "" + }, + { + "instance_id": "bird127", + "db": "codebase_community", + "question": "I'd like to gauge the standing of our United Kingdom contributor community on the site. Can you give me the combined reputation of the users based in the United Kingdom who have posted on the site, as a single total? Please write the country by its full name, \"United Kingdom\", and don't substitute abbreviations. I just need the one number, not a per-user list.", + "evidence": "Reputation is the score the site assigns each user. A user who has posted owns at least one item in the site's post collection." + }, + { + "instance_id": "bird128", + "db": "codebase_community", + "question": "I want to profile the users who drop links in comment threads. What is the average age of the users who posted a comment containing a website link? Please round it to two decimal places. That single value is all I need back.", + "evidence": "A comment counts as containing a website if its content contains 'http://'." + }, + { + "instance_id": "bird129", + "db": "codebase_community", + "question": "I'm profiling how seasoned our Organizer badge holders in Germany are. Among the users who earned the Organizer badge and are based in Germany, how many had already earned 5 badges before they got the Organizer badge? Just the count, please. Note: \"before\" means strictly earlier - badges earned at the same moment as the Organizer badge don't count toward the 5, and the Organizer badge itself doesn't count as one of the 5.", + "evidence": "Organizer badge: the badge whose name is Organizer." + }, + { + "instance_id": "bird130", + "db": "codebase_community", + "question": "I'm putting together a report for the site owners on where people who started posting during 2010 were located, with a focus on India. Could you tell me how many of the users whose first post was created in 2010 are located in India? By 2010 I mean the calendar year 2010, and by India I mean the country itself, not any place whose name merely contains the word.", + "evidence": "A user's first post is the earliest-created post among the posts that user owns." + }, + { + "instance_id": "bird131", + "db": "codebase_community", + "question": "I'm profiling the authors behind poorly received R posts to see if they tend to be low-reputation members. Can you give me the average reputation of the users who own posts tagged with the R tag that have a score below 20? Just the single number, rounded to the nearest whole number.", + "evidence": "'r' is the tag used on this site for the R programming language for statistical computing." + }, + { + "instance_id": "bird132", + "db": "codebase_community", + "question": "I'm putting together the yearly activity report with a Germany-focused breakdown of who did the editing, covering posts created in calendar year 2012. For the 2012 posts whose last editor is a user based in Germany, I need the total score; and for all other posts created in 2012, I need their total score as well. Also, how many Germany-based users were the last editor of at least one 2012 post, and what their combined reputation is, as shown on their profiles. A user based in Germany is one whose profile location is in Germany.", + "evidence": "A post's last editor is the user who made its most recent edit." + }, + { + "instance_id": "bird133", + "db": "codebase_community", + "question": "I'm reviewing R-language activity on the site. I'd like to gauge the standing of the community members behind the highly-rated R posts: what is the combined reputation of the users who own a post with a score of exactly 10 that carries the R programming language tag? Please return just that single number. Note that by R I mean the R programming language tag specifically, not any other tag or value that just happens to contain the letter r.", + "evidence": "" + }, + { + "instance_id": "bird134", + "db": "codebase_community", + "question": "I'd like to gauge the standing of the community members behind the R posts on one day. Could you tell me the combined reputation of the users who own the posts tagged R that were last active on 2014-08-27? I just need that one number, covering the whole calendar day 2014-08-27.", + "evidence": "R: the R language for statistical computing." + }, + { + "instance_id": "bird135", + "db": "codebase_community", + "question": "What is the total score of the questions tagged 'r' that link to the question titled \"A Probability distribution value exceeding 1 is OK?\"? I only need the total score of those linking questions.", + "evidence": "'r' here means the R programming language for statistical computing, not the letter on its own." + }, + { + "instance_id": "bird136", + "db": "codebase_community", + "question": "I'm profiling users by where they say they live. Among the users located in Germany, who has the second most badges of all time? By second most I mean the highest badge total strictly below the top holder's total. If several users tie at that total, include all of them. Please give me each such user's display name and their badge total, ordered by display name.", + "evidence": "Badges: the badges a user has obtained, one badge award per record." + }, + { + "instance_id": "bird137", + "db": "codebase_community", + "question": "I'm planning regional outreach and want to know which California-based account draws the most profile attention. Among users whose stated location shows they are based in California, give me the user id, display name, profile view count, and reputation of the user or users with the most profile views. If several such users tie for the most profile views, list every one of them with those same four values.", + "evidence": "CA is the two-letter state code for California." + }, + { + "instance_id": "bird138", + "db": "codebase_community", + "question": "We're profiling our most respected members by where they live, focusing on York, England (the English city itself; a location listed as just \"York\" counts). Who is the most influential user based there – the one with the highest reputation – and what is their age? If several users tie for the highest reputation, give me the age of each of them. Please return only the age, exactly as it stands for each user, even when an age isn't reported.", + "evidence": "" + }, + { + "instance_id": "bird139", + "db": "codebase_community", + "question": "I'm preparing a report on international participation. How many users located in India had earned a Yearling badge before 2014? 'Before 2014' should mean before 1 January 2014. I just need the single count, nothing else.", + "evidence": "'Yearling' is a badge a member earns for a year of activity on the site." + }, + { + "instance_id": "bird140", + "db": "codebase_community", + "question": "I'm putting together a summary of how active badge-holders present themselves on the site. How many different display names appear among the adult users who obtained the Supporter badge? By adult I mean age 19 to 65 inclusive, and please cover all time. I just need that one number.", + "evidence": "NaN stands for a user who never set a display name." + }, + { + "instance_id": "bird141", + "db": "codebase_community", + "question": "Among all posts whose title contains the phrase 'principal component scores', which one has the most related posts linked to it? For each such post, give me the post title and the number of related posts. If several posts tie for the most, list every one of them with their counts. The count should cover related posts across the site's entire history.", + "evidence": "A related post is another post that the community's link records connect to a given post." + }, + { + "instance_id": "bird142", + "db": "codebase_community", + "question": "I'm auditing accounts on the stats forum. What is the id of the youngest user account whose display name is Michael? If two or more such accounts tie as the youngest, give me the smallest id.", + "evidence": "" + }, + { + "instance_id": "bird143", + "db": "codebase_community", + "question": "I'm trying to gauge how many users the bounty feature drew back when it first ran. How many users offered a bounty of 30 or more on some post between 1 January 2010 (inclusive) and 1 January 2011 (exclusive), going by the date the bounty was recorded? By the user who offered a bounty, I mean the post's owner - the owner account where one is recorded, otherwise the owner name on the post. I just need that one count.", + "evidence": "A bounty is a reputation reward a user attaches to a post, recorded as an amount." + }, + { + "instance_id": "bird144", + "db": "codebase_community", + "question": "What was the average reputation of users located in India who created a post in 2010? Please give me a single number rounded to two decimal places. Note: 'in 2010' means the calendar year 2010 based on the post's creation date, and any type of post counts. A user counts as located in India only if their location is actually India - a place that merely contains the word India (like the US state Indiana) doesn't count.", + "evidence": "" + }, + { + "instance_id": "bird145", + "db": "codebase_community", + "question": "I'm profiling our most active contributors of 2012. Among the users who created more than ten posts in 2012 (judged by each post's creation date), what is their average number of up-votes cast and their average age? Please give me a single row with both averages, each rounded to two decimal places.", + "evidence": "Up-vote: a vote a user cast in favor of a post." + }, + { + "instance_id": "bird146", + "db": "codebase_community", + "question": "For each month of 2010, how many posts that have no more than two answers received a link during that month? A month with none counts as zero. Give me the average across all twelve months of 2010, rounded to two decimals.", + "evidence": "A link is a recorded connection that associates one post with another post of the site." + }, + { + "instance_id": "bird147", + "db": "codebase_community", + "question": "I'm reviewing our 2010 content. What percentage of posts created in 2010 that have a score above 5 were NOT made by high-reputation users? By high-reputation I mean a user with a reputation of at least 1000. Please give me just the single percentage value, rounded to two decimal places. Use the post's creation date to determine that it's from calendar year 2010.", + "evidence": "high-reputation: reputation of at least 1000" + }, + { + "instance_id": "bird148", + "db": "codebase_community", + "question": "I'm reviewing the history of the question 'Why square the difference instead of taking the absolute value in standard deviation?'. For that post, who left the most edit comments, and how many did they leave? Please give me each editor's display name along with their number of edit comments on that post. If several editors are tied for the most, list each of them with their count. Also, please count every revision as its own event, even when successive revisions carry the same note.", + "evidence": "An edit comment is the note an editor records together with a revision of a post, not a comment posted under the post." + }, + { + "instance_id": "bird149", + "db": "debit_card_specializing", + "question": "For each of the SME, LAM, and KAM segments, identify the CZK customer with the lowest total recorded consumption in 2013, breaking a tie by smaller customer ID. What are the differences between those customers' 2013 totals in SME minus LAM, LAM minus KAM, and KAM minus SME order? Round each to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird150", + "db": "debit_card_specializing", + "question": "Among EUR-paying customers in the SME, LAM, and KAM segments, which segments had the highest and lowest percentage increase in total consumption from 2012 to 2013? Return each extreme segment and its increase percentage, rounded to two decimal places; include ties.", + "evidence": "" + }, + { + "instance_id": "bird151", + "db": "debit_card_specializing", + "question": "For the customer who paid 634.8 on 2012-08-25, what is the relative change in annual consumption from 2012 to 2013, calculated as (2013 total - 2012 total) / 2012 total and rounded to four decimal places?", + "evidence": "" + }, + { + "instance_id": "bird152", + "db": "debit_card_specializing", + "question": "How many customers who pay in EUR and had gas consumption in 2012 also had gas consumption in 2013? I just need a single number: the count of such customers. By 2012 and 2013 I mean those calendar years, and gas consumption in any month of the year counts.", + "evidence": "" + }, + { + "instance_id": "bird153", + "db": "debit_card_specializing", + "question": "I'm reviewing our 2012 performance and want to see which client segments hold our small-scale customers. For each client segment, can you tell me how many customers had total consumption below 30,000 over the whole of 2012? Please count only customers who used their cards at some point during 2012, and treat 30,000 as a strict limit - someone at exactly 30,000 doesn't count. I just need the client segment and the number of such customers per segment.", + "evidence": "Consumption means the amount spent through a customer's fuel cards." + }, + { + "instance_id": "bird154", + "db": "debit_card_specializing", + "question": "I'm reviewing 2013 uptake and want to know the genuinely active cardholder base in each client segment. For each client segment, how many of that segment's customers consumed any fuel at all during the calendar year 2013? I just need the client segment and the number of customers who consumed fuel in 2013, nothing else.", + "evidence": "A customer's consumption for a month is the amount of fuel recorded against them for that month; by 'consumed any fuel in 2013' I mean they had fuel recorded against them in at least one month of 2013." + }, + { + "instance_id": "bird155", + "db": "debit_card_specializing", + "question": "I want to gauge how spread out our high-value fuelling activity in the Czech Republic was over the recorded window. How many whole minutes elapsed from the first to the last fuel transaction at gas stations in the Czech Republic with a price over 1000? Please round down to whole minutes.", + "evidence": "Czech Republic means the gas station is in the CZE country." + }, + { + "instance_id": "bird156", + "db": "debit_card_specializing", + "question": "I'm preparing a loyalty review of our steadily active customers in 2013. For each currency, I'd like to know how many customers bought fuel in every month from January through November 2013, with both January and November included. Please give me the currency and that customer count. If several currencies tie, list them all – no ranking needed.", + "evidence": "Consumption means the total fuel a customer purchased in a month on their fuel card; a customer counts for a month if they had any consumption that month." + }, + { + "instance_id": "bird157", + "db": "debit_card_specializing", + "question": "I'm putting together currency-specific pricing proposals and need a sense of typical quarterly fuel consumption. Among customers who have fuel consumption recorded in the second quarter of 2013 (April, May and June 2013), what is the average amount of fuel consumed over the whole quarter by an EUR-paying customer, and the same average for a CZK-paying customer? Please round both averages to two decimal places. By EUR-paying / CZK-paying I mean a customer whose account currency is EUR / CZK.", + "evidence": "EUR-paying / CZK-paying: a customer whose account currency is EUR / CZK" + }, + { + "instance_id": "bird158", + "db": "debit_card_specializing", + "question": "I want to see how much our busiest month grew from 2012 to 2013. What was the difference between our peak monthly total consumption in 2013 and our peak monthly total consumption in 2012, in consumption units, rounded to the nearest whole number? By total consumption in a calendar month I mean the consumption of the whole customer base that month, and the peak of a year is the calendar month with the highest total consumption in that year.", + "evidence": "" + }, + { + "instance_id": "bird159", + "db": "debit_card_specializing", + "question": "I'm reviewing customer 15621's fuel spending on the fleet card in 2013. What was their average fuel consumption per month, counting only the months in which they actually purchased fuel? Give me the single average value rounded to two decimal places.", + "evidence": "" + }, + { + "instance_id": "bird160", + "db": "debit_card_specializing", + "question": "I want to compare how much a typical Czech-koruna-billed client spent versus a euro-billed client during 2012, to see whether the two currency segments behave differently. Please give me the difference between the average 2012 consumption of a CZK-paying customer and the average 2012 consumption of an EUR-paying customer, with the EUR average subtracted from the CZK average. Only include customers who had consumption in 2012 in each average, and the period is calendar year 2012. Just send me that one number, rounded to the nearest whole unit.", + "evidence": "Consumption means the monthly consumption amount recorded per customer." + }, + { + "instance_id": "bird161", + "db": "debit_card_specializing", + "question": "I'm sizing a premium offer for our heaviest corporate fuel buyers ahead of renewals. How many KAM-segment customers paying in CZK had total fuel consumption above 1 million (1,000,000) in calendar year 2013? I just need that number of customers.", + "evidence": "KAM is one of our client segments." + }, + { + "instance_id": "bird162", + "db": "debit_card_specializing", + "question": "For my February 2013 activity report: how many SME customers actually purchased gas in February 2013? Please give me just a single whole number - the count of SME customers who consumed gas during the calendar month of February 2013 (Feb 1-28, 2013).", + "evidence": "By \"gas\" I mean gasoline (motor fuel) purchases, not natural gas." + }, + { + "instance_id": "bird163", + "db": "european_football_2", + "question": "Which away teams are tied for the most away wins in the Scottish Premier League 2009/2010 season?", + "evidence": "" + }, + { + "instance_id": "bird164", + "db": "european_football_2", + "question": "List the long name of teams with above-average build-up play passing in 2012.", + "evidence": "" + }, + { + "instance_id": "bird165", + "db": "european_football_2", + "question": "List the ten players taller than 180 cm with the highest mean recorded heading accuracy, highest first. Break mean ties by player API ID.", + "evidence": "" + }, + { + "instance_id": "bird166", + "db": "european_football_2", + "question": "List the name of leagues in which the average goals by the home team is higher than the away team in the 2009/2010 season.", + "evidence": "" + }, + { + "instance_id": "bird167", + "db": "european_football_2", + "question": "Between the tallest and shortest players, who has the higher average finishing attribute across his recorded assessments? Give the player's name.", + "evidence": "" + }, + { + "instance_id": "bird168", + "db": "european_football_2", + "question": "What is Abdou Diallo's mean recorded ball-control score minus Aaron Appindangoye's mean recorded ball-control score?", + "evidence": "" + }, + { + "instance_id": "bird169", + "db": "european_football_2", + "question": "By what percentage is Ariel Borysiuk's overall rating in his latest attribute record higher than Paulin Puel's latest overall rating? Round to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird170", + "db": "european_football_2", + "question": "On what date did Kevin Constant first record his highest crossing score?", + "evidence": "" + }, + { + "instance_id": "bird171", + "db": "european_football_2", + "question": "Among players shorter than 180 cm, what percentage have at least one recorded overall rating above 70? Round to two decimal places.", + "evidence": "" + }, + { + "instance_id": "bird172", + "db": "european_football_2", + "question": "What is the average height, in centimetres, of the players taller than 180 cm who have appeared in the home team's number-3 lineup slot? This should cover the whole recorded match history with no season or date restriction. 'Taller than 180' means strictly taller than 180 cm. Please round the final average to two decimal places and return just that single value.", + "evidence": "Number-3 lineup slot: each match records a home team's starting eleven as eleven ordered player slots; the number-3 slot is the home team's third slot." + }, + { + "instance_id": "bird173", + "db": "european_football_2", + "question": "I'm sizing up how defensive-minded the young generation is. Among players born after 1990 (i.e., born in 1991 or later) who have a defensive work rate rating, what share are rated high? A player counts as rated high if they've been rated high at any point in their career. Give me that share as a percentage rounded to two decimal places - nothing else.", + "evidence": "Defensive work rate: a player's rating for defensive effort, on a low / medium / high scale." + }, + { + "instance_id": "bird174", + "db": "european_football_2", + "question": "I've shortlisted the players whose overall rating as of 31 December 2010 was above 80 - strictly above 80, that is. How many matches did these players play on average during the 2010/2011 season? Please give me just that single average, rounded to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird175", + "db": "european_football_2", + "question": "What is the average height in centimeters of players whose current defensive work rate grade is not medium? Use each player's most recent rating record to determine their current grade, and round the result to two decimal places. I just need that single number.", + "evidence": "Defensive work rate grades run low, medium and high." + }, + { + "instance_id": "bird176", + "db": "european_football_2", + "question": "I'm preparing a report on team playing styles. First, consider only teams whose chance creation passing class was Risky at any point in the recorded history. Among those, I want the short names that are carried by more than one club. For each such short name, please give me: the short name, the number of clubs that carry it, and the average chance creation passing risk of those clubs that was in force on 19 September 2014, rounded to one decimal place. Sort the results by that average, highest first; if two averages are the same, order them alphabetically by short name.", + "evidence": "A team's chance creation passing class is 'Risky' when chanceCreationPassingClass = 'Risky'; its chance creation passing risk is the chanceCreationPassing value in force on the date in question." + }, + { + "instance_id": "bird177", + "db": "european_football_2", + "question": "I want to gauge how tall the current medium-defensive-work players from the 1990-1995 birth cohort are. Please find the average height, in centimetres, of players born from 1990 through 1995 inclusive whose defensive work rating is medium, and round the average to two decimals. A player's rating is the grade on their most recent record that carries a grade.", + "evidence": "The defensive work rating grades are low, medium and high." + }, + { + "instance_id": "bird178", + "db": "european_football_2", + "question": "What is the average weight of all left-footed players? Round the average to one decimal place.", + "evidence": "Left-footed means the player's preferred foot when attacking is the left one." + }, + { + "instance_id": "bird179", + "db": "european_football_2", + "question": "I'm putting together a participation report for the 2015/2016 season. For every player whose name starts with Adam and who weighs more than 170, I need the number of matches he played during that season. Please return, one row per qualifying player, the player's name and his number of matches played in the 2015/2016 season, and nothing else. The season I mean is the one labeled '2015/2016'.", + "evidence": "Played a match means being named in that match's lineup, for either the home or the away team." + }, + { + "instance_id": "bird180", + "db": "european_football_2", + "question": "What was the build-up play dribbling class for the team from England with short name POR on 10 September 2015? I just need that single class value for that team on that calendar day.", + "evidence": "" + }, + { + "instance_id": "bird181", + "db": "european_football_2", + "question": "I'm looking at whether a fast attacking build-up actually converts into big results. Which clubs, playing at home, have won a match by at least 3 goals while their build-up play speed was rated fast at the time? For each such club, give me the club name, short name, and how many of those home wins it has - one row per club. Please treat clubs as separate even if two clubs share the same short name, and if several clubs tie on the number of wins, list all of them. The speed rating that counts is the club's most recent rating dated on or before the match's own date.", + "evidence": "A club wins by at least 3 goals when its goal count minus the opponent's goal count is 3 or more; 'fast' means the club's build-up play speed class at that time is Fast." + }, + { + "instance_id": "bird182", + "db": "european_football_2", + "question": "I'm writing a piece about players who've suffered heavy away defeats. For each season, I'd like to know how many different players were in the away team's lineup for a match that the away side lost by five or more goals. Please give me one row per season that had at least one such match, showing the season label (like 2012/2013) and the number of different players, ordered by season label.", + "evidence": "" + }, + { + "instance_id": "bird183", + "db": "european_football_2", + "question": "I want to find out which European league country had the largest group of exceptionally heavy players appear in its matches. For each country, I'm interested in players weighing 210 pounds or more who took part in matches played in that country's league - count players from both teams in each match. Please tell me which country had the most such players and how many there were. If several countries tie for the most, list them all, ordered alphabetically by country name. I just need the country name and the number of qualifying players - nothing more.", + "evidence": "" + }, + { + "instance_id": "bird184", + "db": "european_football_2", + "question": "I'm studying squad physical profiles in Serie A. For the 2008/2009 season and the 2015/2016 season of the Italian league, I'd like to know how many players appeared in matches that season (i.e. were listed in a match's lineup, including players who appeared in both seasons), and the average height of those players in centimeters, rounded to two decimals. One row per season with the season label, the count of players, and their average height.", + "evidence": "A player appeared in a match if he is listed in that match's lineup (eleven home and eleven away players). Italian league = the league of the country Italy." + }, + { + "instance_id": "bird185", + "db": "european_football_2", + "question": "I'm putting together a report on current player abilities. How many players are over 180 cm tall and have a volley score above 70 on their most recent rating record? Judge each player by their current rating only, not their career history. For each player, use the rating record with the latest date; if a player has several rating records on that same latest date, count them only based on the single record with the highest id on that date.", + "evidence": "By volley I mean a player's ability to strike the ball while it is in the air, and a rating record is a dated assessment of a player's attributes." + }, + { + "instance_id": "bird186", + "db": "european_football_2", + "question": "I'm reviewing home-match outcomes by lineup slot and want one number: across the whole player population, what is the average of the total home-team goals scored in the matches where a player appeared as the home team's third listed player? In other words, for each player, take all matches where they were the home team's third listed player and add up the home team's goals in those matches; give me the average of those totals over all players, rounded to two decimal places.", + "evidence": "The home team's third listed player means the player recorded third in the home team's lineup for a match." + }, + { + "instance_id": "bird187", + "db": "european_football_2", + "question": "I'm studying where small, low-weight players are concentrated across European leagues. Which country's league matches featured the fewest players weighing at most 160 pounds? If several countries tie for the fewest, give me every tied country's name. Include all seasons in the database, and count the players who took part in those matches.", + "evidence": "Players are associated with a country through the matches they played in that country's league; all 22 players of a match, the 11 of the home team and the 11 of the away team, took part in it." + }, + { + "instance_id": "bird188", + "db": "european_football_2", + "question": "As of 1 January 2015, how many players preferred their left foot and had an attacking work rate below high (i.e. low or medium)? I just need the count of those players.", + "evidence": "Attacking work rate is a rating on the scale low, medium, high; below high means low or medium. The player's preferred foot and work rate are the ones that held on 1 January 2015." + }, + { + "instance_id": "bird189", + "db": "european_football_2", + "question": "What percentage of left-footed players currently has a low attacking work rate? Use each player's most recent attribute record. Only count left-footed players whose current record includes an attacking work rate rating - those without one should be left out of the share. Give me a single percentage, rounded to one decimal place.", + "evidence": "Attacking work rate: how much effort a player puts into attacking plays, rated low, medium or high." + }, + { + "instance_id": "bird190", + "db": "european_football_2", + "question": "I want to see which of the young Aaron-named players actually got playing time in 2015/2016. For every player born after 1990 whose name begins with 'Aaron', can you give me his name and the number of matches he played in during the 2015/2016 season (the season labelled 2015/2016)? A player counts as having played in a match if he's recorded in either team's starting line-up for that match. One row per player, sorted alphabetically by player name.", + "evidence": "" + }, + { + "instance_id": "bird191", + "db": "european_football_2", + "question": "How many players had a jumping score of 80 or higher in the player fitness assessments made between 22 February 2007 and 30 August 2007, with both of those dates included in the period? For clarity, the jumping score is the player's jumping assessment on a 1-100 scale.", + "evidence": "jumping score: the player's jumping assessment on a 1-100 scale" + }, + { + "instance_id": "bird192", + "db": "european_football_2", + "question": "What was KSV Cercle Brugge's build-up-play speed class at the time of their last match of the 2012/2013 season? The last match of the season is the latest-dated match the team played in that season, and the snapshot in effect at a moment is the latest one dated on or before that moment. I just want that single build-up-play speed class, nothing else.", + "evidence": "Build-up-play speed class: a team's speed class for how quickly attacks are put together." + }, + { + "instance_id": "bird193", + "db": "european_football_2", + "question": "I'm profiling how exceptional Landon Donovan was in the mid-2013 player ratings. By what percentage was his overall rating on 12 July 2013 higher than the average overall rating across all players on that same calendar date, considering every player with the overall rating they carried on that date (not only those updated that day), among players rated low, medium or high for defensive work rate? Return one value only: that percentage, rounded to two decimals (e.g. 12.34 meaning 12.34% higher).", + "evidence": "Defensive work rate: a player's intensity of work in defense, rated low, medium or high. Overall rating: the overall score given to a player in the ratings." + }, + { + "instance_id": "bird194", + "db": "financial", + "question": "Among female clients living in the district with the lowest average salary, give the account IDs of the oldest client and the difference between the highest and lowest district-average salaries.", + "evidence": "" + }, + { + "instance_id": "bird195", + "db": "financial", + "question": "In which district did the female client born on 1976-01-29 open her account?", + "evidence": "" + }, + { + "instance_id": "bird196", + "db": "financial", + "question": "Among south Bohemia districts, in the one with the largest population, what percentage of resident clients are male? Round to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird197", + "db": "financial", + "question": "For the account associated with the loan dated 1993-07-05, what was the percentage increase in its recorded balance from 1993-03-22 to 1998-12-27?", + "evidence": "" + }, + { + "instance_id": "bird198", + "db": "financial", + "question": "For accounts opened from 1995 through 2000 in East Bohemia districts, list each account ID and its statement-issuance frequency.", + "evidence": "" + }, + { + "instance_id": "bird199", + "db": "financial", + "question": "For branch districts of accounts with loans still running in debt and recorded unemployment rates in both 1995 and 1996, list each district and the percentage change in its unemployment rate from 1995 to 1996, rounded to two decimal places.", + "evidence": "Loan status 'D' denotes a running contract with the client in debt." + }, + { + "instance_id": "bird200", + "db": "financial", + "question": "For each account-disposition type other than OWNER found in districts with average salary above 8000 and at most 9000, give the type and the number of distinct associated accounts.", + "evidence": "" + }, + { + "instance_id": "bird201", + "db": "financial", + "question": "For loans dated in 1996 and 1997 across accounts owned by male clients, what was the percentage growth in total loan amount from 1996 to 1997?", + "evidence": "" + }, + { + "instance_id": "bird202", + "db": "financial", + "question": "How often does account 3 receive statements, and what is the recorded payment-purpose code for its scheduled payments totaling 3,539?", + "evidence": "" + }, + { + "instance_id": "bird203", + "db": "financial", + "question": "We're reviewing our first month of operations. Looking at the districts where we opened at least one account during that first month, which district had the largest population, and how many inhabitants does it have? If several districts tie for the largest population, list all of them with their populations.", + "evidence": "The bank's first month of operation is the calendar month in which its earliest account was opened." + }, + { + "instance_id": "bird204", + "db": "financial", + "question": "As part of a data-quality review for a segment report, I need to know how much of the recorded transaction activity for one of our segments has no payment purpose noted. How many transactions are there, over the whole recorded history, on the accounts held by male customers born between 1974 and 1976 (birth years 1974, 1975 and 1976), for which no payment purpose is noted? Please give me just that single number.", + "evidence": "Payment purpose: the stated reason or note recorded for a transaction." + }, + { + "instance_id": "bird205", + "db": "financial", + "question": "Among the bank's five most populous districts (the five with the largest numbers of inhabitants), which carries the heaviest active-lending burden relative to the account base it serves? For each of those five districts, please give me the district name and the average active loan per account, rounded to the nearest whole koruna. An active loan is a running loan contract with status 'C' (repaid OK so far) or status 'D' (client in debt). The average should be taken over every account held in the district, not just accounts with loans, and accounts and their loans count toward the district of the branch that holds the account, not the client's district. If several districts tie for the highest average, list them all.", + "evidence": "" + }, + { + "instance_id": "bird206", + "db": "financial", + "question": "For our 1995 year-end loan review: which of the bank's regions has the largest total approved amount among loans that were still being repaid on 31 December 1995, and what is that total? Only count loans approved on or before that day whose repayment term still covers that day; loans approved after it don't count yet. A loan's term includes both its approval day and its last day. If several regions tie for the largest total, list every tied region with the total. Just give me the region name and the single total figure.", + "evidence": "A loan is repaid over a term that starts on its approval day and lasts the number of months recorded for the loan; the loan is being repaid on every day of its term. Status 'C' means a running contract, OK so far; status 'D' means a running contract, client in debt. The regions are the bank's district regions." + }, + { + "instance_id": "bird207", + "db": "financial", + "question": "I'd like to know how many customer accounts based in North Bohemia as of the end of 1995 have had at least one transaction with partner bank AB at some point in their history. Please give me just that count as a single integer.", + "evidence": "'End of 1995' means the state on 31 December 1995, and the AB transaction may date from any time, before or after that date; 'AB' is the code identifying the partner bank of the transaction." + }, + { + "instance_id": "bird208", + "db": "financial", + "question": "I'm profiling our East Bohemia branch districts that serve younger clients for a youth-product campaign. A district counts as serving a client when the client holds an account at a branch located in that district - it's the branch location that matters, not the client's home district. For the East Bohemia districts that serve at least one client born in the 1980s (birth years 1980 through 1989), please give me: the average of those districts' average salaries, rounded to two decimal places, and the number of such districts.", + "evidence": "East Bohemia refers to the districts in the East Bohemia region of the Czech Republic." + }, + { + "instance_id": "bird209", + "db": "financial", + "question": "I'm planning a card-offer mailing and want to gauge how affluent the home districts of certain clients are. Please give me one number: the average, over the districts where these clients live, of each district's average salary, rounded to two decimal places. The clients are account owners in central Bohemia who hold no credit card for their account. Two things to keep in mind: a client's district is the one recorded with the client, not the district of the account's branch; and a client counts as holding a card for an account if a card is linked to any disposition of that account, not just their own.", + "evidence": "OWNER is the disposition type marking an account's owner; DISPONENT marks other account users." + }, + { + "instance_id": "bird210", + "db": "financial", + "question": "I'm preparing for a client review and want to gauge how indebted our older customers' accounts are, including accounts that never took any loans. Could you give me the average number of loans per account among accounts whose owner was born before 1950? By 'born before 1950' I mean a birth date earlier than 1 January 1950, and all loans should count regardless of when they were approved. Please give me the average rounded to two decimal places, and nothing else.", + "evidence": "The owner of an account is the client with the OWNER disposition; a DISPONENT is a co-holder who does not own it. A loan is a credit granted on the account, recorded with the date it was approved." + }, + { + "instance_id": "bird211", + "db": "financial", + "question": "I'm putting together a periodic report on large payments made by a specific customer cohort, split by what the payment was for. Among payments over $4000 (strictly more than $4000) made from the accounts of male customers born between 1974 and 1976, I need two figures: how many were household payments, and how many were made for a purpose other than household payment. A few rules to keep in mind: born between 1974 and 1976 means the birth year is 1974, 1975 or 1976; a customer's accounts are the ones they hold a disposition on; payments are the individual transactions executed on the account, not standing payment orders; a payment counts as other-purpose only if it has a recorded purpose different from household payment, and a payment with no purpose recorded counts in neither bucket.", + "evidence": "SIPO stands for household payment." + }, + { + "instance_id": "bird212", + "db": "financial", + "question": "I want to find out whether our borrowing households from larger population centres transact differently from local ones. For every account at the Prachatice branch that has taken at least one loan, please give me: the account number, the account opening date, the total amount ever borrowed, how many outside bank counterparties the account has transacted with over its entire history, the owner's home district, the population of that district, and a rank of these borrowing households by home-district population from largest to smallest. Note that a counterparty means a particular bank account at another institution, identified by that account number, not by the bank code, and only transfers to or from another bank count — handling cash at our own branch does not involve a counterparty. A household's home district is the district its owner client is registered in, which is not necessarily Prachatice. For the ranking: largest population first, ties share the same rank and the next rank after a tie is skipped, and among households whose home districts have the same population, list the smaller account number first.", + "evidence": "An outside bank counterparty is a bank account at another institution that money was sent to or received from on a transfer transaction. District population is the number of inhabitants of the district." + }, + { + "instance_id": "bird213", + "db": "financial", + "question": "I'm profiling our gold-card customers for a regional campaign, split by gender. For women first, then men, look at gold-card holders whose card's account has an average balance over 1,000. Among the branch districts holding those accounts, keep only the districts with over 100,000 inhabitants. For each gender, tell me: the number of those districts; which of them has the most inhabitants, with its inhabitants figure - if two districts tie, list both, one row per district; the average salary across those districts, rounded to two decimals; and the average ratio of urban inhabitants across those districts, rounded to two decimals. Nothing else. Please note: 'over' means strictly greater than, and an account's average balance is the mean of its balances after each transaction.", + "evidence": "A gold card is a card of type 'gold', and its holder is the client linked to its account as type 'OWNER'. The district of an account is the district of the branch that holds it; a district's inhabitants, salary and urban-inhabitant ratio are the district's own figures." + }, + { + "instance_id": "bird214", + "db": "financial", + "question": "I'm preparing a partner-bank negotiation and want to focus on our big-city clients. Please tell me, for 1998 (1 January through 31 December 1998), where the money went from gold credit card clients' accounts held at branches in large districts. Specifically: for accounts whose owner has a gold credit card, and whose branch is located in a district with at least 250,000 inhabitants, look at their outgoing payments (debit transactions, type VYDAJ). I need a ranking of the recipient bank and counter-account pairs by the total amount paid. If two pairs tie for the largest total, list both. For each pair, give me: the recipient bank code, the recipient counter-account number, the number of outgoing payments, and the total amount paid.", + "evidence": "Gold credit card means card type 'gold'; account owner means disposition type 'OWNER'; the counter-account is the partner account at another bank to which a payment is sent; the district is the one where the account's branch is located." + }, + { + "instance_id": "bird215", + "db": "financial", + "question": "I'm reviewing what the money leaving our Pisek district branch's accounts is actually used for. What percentage of the total amount of outgoing payments that state a payment purpose went to household bill payments (SIPO)? Please give me a single percentage value, rounded to two decimals. Note this should be based only on payments that state a purpose, not all outgoing payments, and should consider the full transaction history.", + "evidence": "VYDAJ marks a transaction where money leaves the account. SIPO is the code for household bill payments. A payment states its purpose through its transaction characterization." + }, + { + "instance_id": "bird216", + "db": "financial", + "question": "I'm planning a regional campaign for female customers who hold a credit card and a loan, and I need a demographic profile per region. For each region, please give me: the region, the average district salary of the districts where these female clients live, and the average 1996 district unemployment rate of those same districts – both averages rounded to 2 decimal places. I also want the name of the most populous district among those districts in each region, so I know where to focus local advertising. A few rules: count only female clients who own the account (disposition type OWNER) and who have at least one credit card and at least one loan on that account. 'Most populous' means the district with the largest number of inhabitants; if two tie, take the one whose name comes first alphabetically. One row per region, and include every region that has at least one such client – nothing else.", + "evidence": "Disposition type OWNER means the client owns the account. Unemployment rate in 1996 is the district's unemployment rate for 1996; average salary is the district's average salary." + }, + { + "instance_id": "bird217", + "db": "financial", + "question": "I'm reviewing our presence in central Bohemia. Please tell me: the names of the three most populous districts of central Bohemia (largest by inhabitants), the number of crimes committed in 1996 in each of them, the average 1996 crime count across those three districts, the average 1996 crime count across all districts in the country, and the difference between the three-district average and the overall average (three-district average minus overall average). Rank districts by inhabitants, breaking ties by district name alphabetically (ignoring accents). Round all averages and the difference to 2 decimal places. The overall average should cover every district in the country, whether or not it has any accounts.", + "evidence": "Central Bohemia is the region of the Czech Republic surrounding Prague." + }, + { + "instance_id": "bird218", + "db": "financial", + "question": "For planning region-targeted card offers, I need to look at the smallest markets behind each credit card type. For each credit card type (gold, classic and junior), which home district of the clients holding that type has the fewest inhabitants, and how many inhabitants does that district have? Please include all three card types, and if several districts tie for the fewest inhabitants, list them all.", + "evidence": "By \"home district\" I mean the district a client lives in, and a district's inhabitants are its number of inhabitants." + }, + { + "instance_id": "bird219", + "db": "financial", + "question": "I'm reviewing how our branches performed in 1996, and I'd like a picture of the money standing in accounts opened during that year, across the region that Litomerice belongs to (the region as given in the district table's region field).\n\nFor each district in that region where at least one account was opened in 1996 (openings counted by account creation date within the calendar year 1996), please give me:\n- the district name,\n- the number of accounts opened in 1996,\n- the average end-of-1996 balance of those accounts,\nwith rows ordered by district name.\n\nAlso give me:\n- the region-wide average end-of-1996 balance, taken across all those accounts (not as the mean of the district averages),\n- the district with the highest average end-of-1996 balance; if two districts tie, name the one that comes first alphabetically.\n\nBy end-of-1996 balance I mean the balance after the account's last transaction dated on or before 1996-12-31; transactions dated 1997 or later don't count, and if several transactions fall on that last date, the one with the highest transaction id is the one that matters. Please round all averages to two decimals.", + "evidence": "Balance means the balance after a transaction." + }, + { + "instance_id": "bird220", + "db": "financial", + "question": "I want to check whether our biggest short-term loans cluster in populous branch districts and how well-off those areas are. Looking at 24-month loans on accounts with weekly statement issuance, take the ten largest loans ranked by approved amount from highest to lowest — if two loans have the same amount, the one with the smaller loan id ranks first, and ranking continues consecutively after a tie. The district of a loan is the district where the branch managing the loan account is located. Among the districts those ten loans come from, I need: the district with the most inhabitants (if two districts tie on inhabitants, the one with the smaller district id counts as more populous), that district's number of inhabitants, and the average salary across those districts rounded to two decimals.", + "evidence": "Weekly statement issuance means account issuance frequency 'POPLATEK TYDNE'. A district's inhabitants are its number of inhabitants, and its average salary is its average yearly salary." + }, + { + "instance_id": "bird221", + "db": "financial", + "question": "For every district with at least 100,000 inhabitants that has withdrawal transactions, can you show me the district name, region, population, total amount withdrawn in the district, withdrawals per inhabitant (rounded to 2 decimals), the district's rank by withdrawals per inhabitant (highest first), and the average standing-order debit per account held in the district (rounded to 2 decimals)? I want to compare withdrawal pressure and the standing-order burden side by side across our major districts. Please rank all qualifying districts, not just the top few, using competition ranking so tied districts share a rank and the next rank is skipped (e.g. 1, 1, 3). The whole transaction history on record is in scope. For the average standing-order debit per account, every account held in the district counts, including ones with no standing orders – those simply bring no debits.", + "evidence": "Withdrawal transactions are those recorded with type = 'VYDAJ'; a standing order is a recurring payment order that debits the account." + }, + { + "instance_id": "bird222", + "db": "financial", + "question": "I'm preparing a client review for client 3541. For each account this client can access, I need one row with: the account id, the date the account was opened, its frequency, the name and region of the district where the account is held, whether that district is the client's home district (Yes/No), that district's average salary, the loan repayment status (none if there's no loan), the loan amount (0 if no loan), the number of transactions over the account's whole recorded history, total income, total expense, net balance, the number of clients whose home district lies in that region, the name of the most populous district in that region, that district's number of inhabitants, and the account district's population rank within its region. Order the rows by number of transactions, most first, with ties broken by ascending account id. The client's home district is the district recorded for the client, and population means number of inhabitants. For ranks, the most populous district is rank 1; districts with equal population share a rank and the next rank skips.", + "evidence": "PRIJEM = incoming transaction; VYDAJ = outgoing transaction; net balance = total income - total expense" + }, + { + "instance_id": "bird223", + "db": "financial", + "question": "I'm doing a lending review by account-opening year for my region. For accounts opened in the central Bohemia region from 1 January 1996 onward, broken down by the calendar year of the account creation date (as a text string like '1996', not an integer), I need: the number of accounts opened that year in the region, the total amount lent on those accounts, and the average across the districts of the amount lent per account opened in that district, rounded to two decimals. An account with no loan counts as having lent nothing.", + "evidence": "Central Bohemia is the region value recorded for districts in the region data; the amount lent on an account is the total of the loans granted on that account." + }, + { + "instance_id": "bird224", + "db": "financial", + "question": "For a regional risk review, I need to look at our largest 24-month loans. Please find the ten loans with the largest approved amount among loans with a 24-month duration on accounts that have weekly statement issuance. For each of these ten loans, give me: the district of the branch servicing the account, the approved amount, the approval date, and the account balance at the end of the day the loan was approved. Two rules: if two loans have the same approved amount, the one approved earlier counts as larger; and if several transactions share that last day, the one with the higher transaction id counts as the later one. List the results from the largest approved amount down.", + "evidence": "Weekly statement issuance means statement frequency is 'POPLATEK TYDNE'; loan duration is stated in months." + }, + { + "instance_id": "bird225", + "db": "financial", + "question": "I'm putting together a review of our first credit card wave and need a profile of every client who was issued a credit card in 1994 (issue date falling in calendar year 1994). For each such client, please include: client id, gender, birth date, card type, age at card issue (the card's issue year minus the client's birth year), number of loans on their account, total amount borrowed, borrower classification, district name, district average salary, and their age rank within gender. Use these classifications: Young borrower if there's at least one loan on the account and age at card issue is under 30; Mature borrower if there's at least one loan and age at card issue is 30 or more; otherwise Non-borrower. The age rank within gender should be a standard competition rank - equal ages share a rank and the next rank is skipped (e.g. 1, 1, 3). Order the rows by client id.", + "evidence": "" + }, + { + "instance_id": "bird226", + "db": "financial", + "question": "I'm reviewing branches in the north Moravia region ahead of a client meeting. For each branch there, how many transactions dated on or before 14 October 1998 have no characterization recorded? A branch is the district the account belongs to, and the count should cover all of the branch's accounts' transactions. Please list only the top three branches by this count, with the branch name and its count, ranked first to third. If any branches tie on the count, order them alphabetically by branch name and keep three rows after that ordering.", + "evidence": "A transaction with no characterization recorded means the bank did not tag it with any characterization." + }, + { + "instance_id": "bird227", + "db": "financial", + "question": "The loan of 98832 approved on January 3rd, 1996 has one applicant account. For that account, list every counterparty it had paid before January 3rd, 1996. A counterparty means a specific account number at a specific bank, so give me one row per bank code and account number combination. For each counterparty I need the bank code, the account number, the number of outgoing payments made to them, and the total amount paid to them. Count only outgoing payments (VYDAJ, i.e. debits) made before January 3rd, 1996, and sort the counterparties by total amount paid, largest first.", + "evidence": "VYDAJ denotes an outgoing payment (debit); PRIJEM denotes an incoming payment (credit)." + }, + { + "instance_id": "bird228", + "db": "financial", + "question": "For the year-end review of my branch at location 1: how many accounts that were on the branch's books as of 31 December 1995 hold an active loan contract? I want a single integer, nothing else. An account counts only if it belonged to the branch on that date, and only contracts that are still active by their repayment status count - statuses A and B are finished contracts and shouldn't be included.", + "evidence": "Loan status C means an active contract in good standing; loan status D means an active contract with the client in debt. Both are active contracts." + }, + { + "instance_id": "bird229", + "db": "financial", + "question": "I'm closing the 1998 books for client 2823's account and need to reconcile the interest. What was the net interest on that account for calendar year 1998 (1 January through 31 December 1998) – interest credited minus penalty interest charged, with penalty interest entering as negative – as a single exact amount in CZK, not rounded? Please include everything credited or charged over the year; the client's account is one account, regardless of the disposition it carries.", + "evidence": "'UROK' is the bank's code for interest credited to an account; penalty (sanction) interest charged to an account uses the bank's sanction-interest code, which is built on the same interest code." + }, + { + "instance_id": "bird230", + "db": "financial", + "question": "I need to profile our three largest loans held by female clients. Please report for each of these loans: the client id, loan amount, duration in months, total payments, interest paid, loan status, the district and region of the branch where the loan's account is held, the account's transaction count and total deposits, an income category, the number of loans the bank has granted in that region, the average of the average salaries of that region's districts, and the client's completed age on 2026-10-09. A few notes: the three largest loans are the three highest approved loan amounts, and if amounts tie, include all tied loans. Total payments is the monthly payment times the duration, and interest paid is total payments minus the approved amount; round money figures to two decimals. The income category is High Income if total deposits exceed twice the loan amount, Medium Income if they exceed the loan amount, and Low Income otherwise. Loans in a region counts every loan the bank has granted in that region for all clients, not only female clients. The region's average salary is the average of the average salaries of the districts in that region, rounded to two decimals. For the age, use the completed age on 2026-10-09, subtracting one if the birthday hasn't occurred by that date.", + "evidence": "Female means client gender = 'F'. Deposits are transactions recorded as PRIJEM (credits to the account). District average salary is the district's average salary figure." + }, + { + "instance_id": "bird231", + "db": "financial", + "question": "I need to find out where our pre-1997 long-term mortgage exposure is concentrated geographically. Long-term means a loan duration of more than 24 months, and \"opened before 1997\" should exclude anything opened during 1997. Please tell me: for each region, which districts have at least one such account, and give me the region whose qualifying districts have the largest combined number of inhabitants. Along with the region's name, I want the number of those districts in it, their combined population, and the total number of those accounts in the region. If two regions tie on combined population, pick the one whose name comes first alphabetically.", + "evidence": "" + }, + { + "instance_id": "bird232", + "db": "financial", + "question": "I'm putting together a market-coverage report on how our 1997 rollout of monthly-statement accounts reached large urban districts. For districts with at least 100,000 inhabitants that had at least one monthly-statement account opened during calendar year 1997, please give me: the total number of monthly-statement accounts opened in those districts during 1997, how many districts are involved, and the average salary across these qualifying districts rounded to two decimals.", + "evidence": "Monthly statement issuance means the account's statement frequency is 'POPLATEK MESICNE'." + }, + { + "instance_id": "bird233", + "db": "financial", + "question": "I'd like to review the breadth of each gold-card account's external payment network. For every account that has a gold credit card, could you list: the account id, the district name and region of the branch, the total amount received, the total amount withdrawn, the number of loans taken, and the number of accounts at other banks that money was transferred to or received from? Then rank the accounts by that number of external counterparties. A few things to keep in mind: if accounts tie on the number, they share a rank and the next rank is not skipped; accounts with no external counterparty transfers should still be included and count as zero; and the totals and counts should cover the full recorded period.", + "evidence": "An external counterparty account is an account at another bank that money was transferred to or received from. Amount received refers to credit transactions, which carry transaction type PRIJEM. Amount withdrawn refers to debit transactions, which carry transaction type VYDAJ." + }, + { + "instance_id": "bird234", + "db": "financial", + "question": "I'm preparing our branch's annual customer review. For every account held at the Tabor branch as of 31 December 1996, I need a one-row profile per account, ordered among tied ranks by ascending account id, showing: the account id; the date the account was opened; the owner's gender and their age at 31 December 1996 in whole completed years; the number of credit cards issued to the account by 31 December 1996 (0 if none); the number of loans approved to the account by 31 December 1996 (0 if none); a loan standing label; the number of transactions on the account during 1997; the total money into the account during 1997; the total money out of the account during 1997; the peak balance reached on the account during 1997 (0 if none); and the account's rank by 1997 peak balance, highest first, with ties sharing a rank and the next rank skipped (e.g. 1, 1, 3). All 'as of' figures are taken at 31 December 1996; activity figures cover the calendar year 1997. A card or loan counts as held if it was issued or approved on or before 31 December 1996. The loan standing label is: 'no loan' if the account had no loans approved by 31 December 1996; otherwise 'defaulted' if any of its loans has repayment status B; otherwise 'repaying' if any has status C or D; otherwise 'paid off'. Money in is the sum of credit transaction amounts; money out is the sum of debit and cash-withdrawal transaction amounts. The account owner is the person with the 'OWNER' disposition on the account; other dispositions are just additional users. Nothing beyond these fields, please.", + "evidence": "Loan repayment status codes: A means the contract finished and was paid off, B means the loan was not repaid (default), C means the loan is running and being repaid, D means the loan is running and the client is in debt on it. Transaction types: a credit transaction brings money into the account, a debit transaction takes money out, and a cash withdrawal takes money out in cash." + }, + { + "instance_id": "bird235", + "db": "financial", + "question": "I'd like a district-by-district picture of where our classic-card-holding account owners send money outside the bank. For every district, give me: the district name, the number of clients who own an account and hold a classic credit card, the number of external accounts at other banks those clients paid through outgoing payments, and the total amount of those outgoing payments. A district means the district of the branch where the owned account is held — not the client's home district — and each client and every outgoing payment from the account they own counts toward that account's branch district. Include every district, even ones with no such clients or no such outgoing payments (show zeros). Use the whole recorded payment history. Order by total amount paid from highest to lowest, and alphabetically by district name when totals tie. Don't round the totals.", + "evidence": "An account owner is the client recorded as 'OWNER' on the account. An outgoing payment is a transaction recorded with type 'VYDAJ' (money paid out of the account). An external account is an account held at another bank to which the account holder sends money; the receiving bank together with the receiving account number identifies it." + }, + { + "instance_id": "bird236", + "db": "financial", + "question": "I'm planning services for our older female customers. For the clients who are female and were born before 1930, please look at the branches that hold their accounts, and then the districts those branches are located in. What is the average salary of those districts? Round the result to 2 decimal places. Note: born before 1930 means calendar birth dates before 1 January 1930.", + "evidence": "Average salary refers to the district attribute describing average salary." + }, + { + "instance_id": "bird237", + "db": "financial", + "question": "I'm preparing a campaign for senior female clients and want a sense of the economic profile of their home districts. Could you tell me the average of the average salaries of the districts where our female clients born before 1950 live? Please give me just that single figure, rounded to two decimal places.", + "evidence": "Average salary means the average yearly salary recorded for a district, in CZK." + }, + { + "instance_id": "bird238", + "db": "financial", + "question": "I want to know whether our small, healthy loans are concentrated in richer or poorer districts before we decide where to grow the small-loan business. Please give me one number: the average district salary, rounded to two decimals, across the districts where the accounts holding these loans are located. The cohort is loans with an approved amount below 100,000 that are still running without issues.", + "evidence": "Loan status C means the contract is running with no problems so far. District average salary is the average salary recorded for a district." + }, + { + "instance_id": "bird239", + "db": "financial", + "question": "I'm studying how client age relates to branch location. For each of two client cohorts, I want the cohort label and the average salary across the districts where the branches holding that cohort's accounts are located, rounded to the nearest whole number. A client's cohort is based on birth date: born 1980 or later is the young cohort, born 1919 or earlier is the old cohort. Note the district of an account is the district of its branch, not the client's home district. Give me one row per cohort, young cohort first. Nothing else.", + "evidence": "" + }, + { + "instance_id": "bird240", + "db": "formula_1", + "question": "By what percentage was Paul di Resta's fastest-lap speed in race 853 higher than in race 854? Use the speed in race 854 as the baseline and round to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird241", + "db": "formula_1", + "question": "What percentage of Lewis Hamilton's recorded race entries from 2010 onward were not victories? Round to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird242", + "db": "formula_1", + "question": "Which driver won the most recorded races? Give their first name, last name, nationality, and highest recorded driver-standings points total.", + "evidence": "" + }, + { + "instance_id": "bird243", + "db": "formula_1", + "question": "In the 1988 Australian Grand Prix, by what percentage was the winner's elapsed time shorter than the last full-distance finisher's? Use the last finisher's time as denominator and round to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird244", + "db": "formula_1", + "question": "What percentage of Japanese-driver race entries from 2007 through 2009 matched their race winner's recorded lap count? Round to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird245", + "db": "formula_1", + "question": "For each year before 1975 with recorded winner times, what was the mean race winner elapsed time in seconds? Round the exact mean to two decimal places; if it is exactly halfway, round away from zero. Order by year.", + "evidence": "" + }, + { + "instance_id": "bird246", + "db": "formula_1", + "question": "From 2000 through 2005, what percentage of race results were by drivers born before 1985 who completed more than 50 laps?", + "evidence": "" + }, + { + "instance_id": "bird247", + "db": "formula_1", + "question": "Which constructor scored most points from Monaco Grand Prix between 1980 and 2010? List the score, name and nationality of this team.", + "evidence": "" + }, + { + "instance_id": "bird248", + "db": "formula_1", + "question": "Who recorded the fastest Q3 qualifying time at Marina Bay Street Circuit in 2008? Give the driver's first and last name.", + "evidence": "" + }, + { + "instance_id": "bird249", + "db": "formula_1", + "question": "Which 20 drivers recorded the shortest single lap times in Formula 1 races? Give their full names, shortest lap first.", + "evidence": "" + }, + { + "instance_id": "bird250", + "db": "formula_1", + "question": "For each Formula 1 circuit in Italy with recorded laps, give the circuit name and its fastest recorded lap time in minutes:seconds.milliseconds format.", + "evidence": "" + }, + { + "instance_id": "bird251", + "db": "formula_1", + "question": "I'm comparing pit stop activity at the newer Grand Prix weekends. Among the 2017 races that were not hosted in 2000, what was the average number of pit stops per race? Please take the average of all of those races and round it to two decimal places.", + "evidence": "Hosted in 2000 means the race was on the 2000 race calendar." + }, + { + "instance_id": "bird252", + "db": "formula_1", + "question": "I'm writing a retrospective on German F1 drivers born between 1971 and 1985, and I'd like to quantify how often each of them reached the final part of qualifying. For every German driver born in 1971 through 1985 inclusive, over their entire career (every race on record), please give me their forename, surname, Wikipedia page link, date of birth, and the number of Q3 times they set. Sort the list from most Q3 times to fewest, and where two drivers have the same number, put the older one (by date of birth) first.", + "evidence": "Q3 is the third and final part of the qualifying session that sets the starting grid; a driver's Q3 time is the lap time recorded for them in that part." + }, + { + "instance_id": "bird253", + "db": "formula_1", + "question": "I'm writing a retrospective on the 1995 Japanese Grand Prix and want to highlight how far off the pace the slowest qualifier was. Could you tell me who set the slowest time in the first qualifying session (Q1) of that race? For that driver (or drivers, if two share the same slowest time, please list them all), I'd like their short reference name, nationality, birthday, and their Q1 time. To be clear, I mean the race named 'Japanese Grand Prix' in the 1995 season. Nothing else needed.", + "evidence": "By 'reference name' I mean the short driver code like 'hamilton'; by 'Q1' I mean the first of the three qualifying sessions; by 'birthday' I mean the driver's date of birth." + }, + { + "instance_id": "bird254", + "db": "formula_1", + "question": "For qualifying at the 1995 Japanese Grand Prix, I need the nationality of the driver who set the slowest time in Q1. If two drivers tie for the slowest Q1 time, give me each of their nationalities. I only want the nationality value(s), nothing else.", + "evidence": "" + }, + { + "instance_id": "bird255", + "db": "formula_1", + "question": "Who set the fastest time in Q1 at the 1995 Japanese Grand Prix, and what was that time? Please give me the driver's forename and surname, and the Q1 time. By '1995 Japanese Grand Prix' I mean the race of the 1995 season named 'Japanese Grand Prix'. If two drivers tied for the fastest Q1 time, list them all.", + "evidence": "Q1: the time a driver set in the first qualifying session." + }, + { + "instance_id": "bird256", + "db": "formula_1", + "question": "For the 2010 Formula 1 season, how many drivers did Lucas di Grassi qualify ahead of? I want a single number: the count of drivers he out-qualified over the whole season. By 'qualify ahead of' I mean recording a better qualifying position than that driver in the same race, with a lower position number being better. The 2010 season means the races held in the year 2010.", + "evidence": "qualifying position: the starting slot a driver earns in the qualifying session before a race" + }, + { + "instance_id": "bird257", + "db": "formula_1", + "question": "I'm writing a recap of the 2017 Italian Grand Prix and want to credit the country of the quickest driver in the second qualifying session. Can you give me the nationality of the driver who set the fastest Q2 lap time in qualifying for the 2017 edition of the Italian Grand Prix? If two or more drivers tied for the fastest Q2 lap time, give me the nationality of each of them. I just need that nationality (or nationalities, in case of a tie), and nothing else.", + "evidence": "Q2: the second of the knockout qualifying sessions of a Grand Prix weekend." + }, + { + "instance_id": "bird258", + "db": "formula_1", + "question": "I'm writing an article about the Italian Grand Prix and want to know which first names recur among the drivers who finished second in that race. For every forename carried by two or more runners-up of the Italian Grand Prix across all its editions in the data, please give me one row with the forename and the number of runners-up who carried it. Order the rows from the most runners-up to the fewest, and alphabetically by forename when two forenames are tied. Leave out any forename held by only one runner-up.", + "evidence": "A runner-up is the driver who finished second in an edition of the Italian Grand Prix." + }, + { + "instance_id": "bird259", + "db": "formula_1", + "question": "Who won the 2017 Azerbaijan Grand Prix? I'd like the winner's forename and surname, the local clock time (hours:minutes:seconds.milliseconds) at the circuit at which he crossed the finish line, and the url of his information page, so I can compare the moment the race ended with the TV coverage.", + "evidence": "A driver's race time is the duration from the start of the race to the moment he crosses the finish line." + }, + { + "instance_id": "bird260", + "db": "formula_1", + "question": "For the 2017 Italian Grand Prix, I'd like to identify the drivers who completed the second qualifying session (Q2) but were knocked out and did not reach Q3. Please list every such driver - no ranking, cutoff or tie-break, just all of them - showing each driver's reference name, nationality and birthday, and nothing else.", + "evidence": "Formula 1 qualifying is run in three timed sessions, Q1, Q2 and Q3; completing a session means the driver recorded a lap time in that session, and only drivers who complete a session move on to the next. The reference name is the driver's short identifier." + }, + { + "instance_id": "bird261", + "db": "formula_1", + "question": "For the 2017 Italian Grand Prix qualifying, what is the nationality of the driver with the second fastest Q2 time? Only drivers who took part in Q2 count, and by second fastest I mean the second smallest Q2 time. If several drivers share that time, list each of their nationalities.", + "evidence": "Q2 is the second qualifying session of a Grand Prix weekend, after Q1." + }, + { + "instance_id": "bird262", + "db": "formula_1", + "question": "For qualifying at the 2017 Italian Grand Prix, how many drivers set a time in the second qualifying session (Q2) faster than 1:40.000? I just need the count of drivers as a single number.", + "evidence": "" + }, + { + "instance_id": "bird263", + "db": "formula_1", + "question": "I'm reviewing the longest service pauses in races across the sport's whole history. Which racetrack saw the longest single pit stop ever? Please give me the racetrack name, location, country, the season year of that race, and the pit stop length. Consider all seasons in the data, and if several pit stops tie for the longest, give me one row for each of them.", + "evidence": "pit stop: a recorded pit-stop entry in a race; pit stop length: how long that pit stop lasted" + }, + { + "instance_id": "bird264", + "db": "formula_1", + "question": "I'm researching the generation of drivers born in the 1980s and want to know how much final-session qualifying that generation actually did as a whole cohort. How many Q3 lap times did a driver born between 1981 and 1991 set on average? Count every driver born in that period in the average, including any who never set a Q3 lap time. Please give me the average rounded to two decimal places.", + "evidence": "Q3: the third and final qualifying session of a race weekend, whose times decide the top starting grid positions." + }, + { + "instance_id": "bird265", + "db": "formula_1", + "question": "I'm profiling drivers whose first name alone doesn't identify them. Across all races in the dataset throughout Formula 1 history, how many qualifying 1 times slower than two minutes were set by drivers who share their first name with at least one other driver and who have no code? I want just that single count.", + "evidence": "A driver's code is their three-letter abbreviation (e.g. 'HAM'); having no code means no such abbreviation is on record for them. The qualifying 1 time is the time a driver set in the first qualifying session of a race, one per race they took part in." + }, + { + "instance_id": "bird266", + "db": "formula_1", + "question": "I'm checking how much of the championship points for drivers named Robert came from races covered by the lap-by-lap timing archive. For every driver whose forename is Robert, I need their reference name and the total points they scored in races where lap-by-lap timing data exists for that driver in that race. The totals should cover all seasons and races on record.", + "evidence": "The reference name is the driver's short identifier, and points are championship points recorded for that driver's race result." + }, + { + "instance_id": "bird267", + "db": "formula_1", + "question": "For every edition of the French Grand Prix from the 1990 season through the most recent edition, I'd like to know which drivers set a fastest lap of the race slower than 90 seconds. For each such driver, give me the date of the edition, the driver's forename and surname, and their fastest lap time of that race in m:ss.mmm form. If several drivers in an edition clear that 90-second mark, list one row per driver. If an edition has no driver over 90 seconds, still show the edition with its date, but no driver or lap time. Please order the rows from the earliest edition date to the latest, and within an edition by driver surname alphabetically - if two drivers share the same fastest-lap time, order them by forename alphabetically.", + "evidence": "A driver's fastest lap in an edition means the shortest time they took to complete any single lap of that race, measured from the start of that lap; the 90-second threshold applies to that fastest lap, not to an average." + }, + { + "instance_id": "bird268", + "db": "formula_1", + "question": "I'm putting together a trivia fact about Italian drivers in Formula 1. Who holds the fastest lap time set in Q3 - the third and final part of qualifying - by an Italian driver, across the sport's entire history? Please give me the driver's forename, surname, and the fastest Q3 lap time exactly as it appears in the data. Only consider drivers who have a Q3 lap time recorded for some race, and if several Italian drivers share the exact same fastest Q3 time, list all of them.", + "evidence": "Q3 is the third and final part of qualifying." + }, + { + "instance_id": "bird269", + "db": "formula_1", + "question": "I'm writing a piece on the new generation of British Formula 1 talent. Among British F1 drivers born after 1980, who set the fastest Q3 qualifying time, what was that time, and at which race and in which year was it set? Please give me the driver's full name, the race name, the race year, and the Q3 time. By 'born after 1980' I mean the year of birth is later than 1980. If two qualifying results tie for the fastest Q3 time, I'd like a row for each.", + "evidence": "Q3 is the final part of the qualifying session that decides the front of the starting grid." + }, + { + "instance_id": "bird270", + "db": "formula_1", + "question": "We're writing a piece on F1's younger generation and want a number for it: how many drivers born in 1976 or later (born from 1 January 1976 onwards) have ever set the second-fastest lap of a race at any point in the history covered by the data? I just need the single count of such drivers.", + "evidence": "By second-fastest lap of a race I mean the driver's own fastest lap in that race was the second quickest among all drivers in that race." + }, + { + "instance_id": "bird271", + "db": "formula_1", + "question": "Who set the fastest time in Q3 (the final qualifying session) at the 2017 Italian Grand Prix? Please give me the driver's reference name (the short identifier like 'hamilton') as the result. If two drivers set the same fastest Q3 time, give me both of their reference names.", + "evidence": "Q3: the final qualifying session of a Grand Prix weekend" + }, + { + "instance_id": "bird272", + "db": "formula_1", + "question": "Can you rank the Italian Formula 1 constructors by career points and give me the three highest-placed ones? For each, I'd like the constructor name, their career points, and their introduction website. Career points means the total of the points the constructor finished each season with (a season being one calendar year of racing). Constructors with no points still count, ranked with 0. If there are ties, they share a rank and the next rank is skipped (so 1, 1, 3), and I'd like every constructor within the top three ranks returned.", + "evidence": "" + }, + { + "instance_id": "bird273", + "db": "formula_1", + "question": "I'm writing a piece about how the same common forenames recur across Formula 1 history. Could you tell me how many different drivers named Peter have ever won a Formula 1 race, and the same for drivers named John? Please give me one count per forename, so I can compare the two — if they turn out to be equal, just report both counts side by side. Nothing else needed.", + "evidence": "A race win means the driver finished first in that race." + }, + { + "instance_id": "bird274", + "db": "formula_1", + "question": "I'm working on a story about qualifying records. Across all races, which driver set the fastest time in Q3 (the final part of qualifying)? I'd like the nationality of that driver - and if more than one driver shares the fastest Q3 time, please give me every such driver's nationality. I don't need anything else, just the nationality or nationalities.", + "evidence": "Q3: the third and final part of the qualifying session." + }, + { + "instance_id": "bird275", + "db": "formula_1", + "question": "I'm putting together a historical note on constructor nationalities in Formula 1. For each constructor nationality, how many constructors from that nationality have recorded the fastest lap of a race? Please include every nationality in the result, with a count of 0 for nationalities where no constructor has done so. Count a constructor only when it is officially credited with the quickest single lap time in a race's recorded result - don't compute lap times yourself.", + "evidence": "Fastest lap: the constructor officially credited with the quickest single lap time in a race's recorded result." + }, + { + "instance_id": "bird276", + "db": "formula_1", + "question": "I'm studying how pit stop activity changed across the refuelling-rule change for Australia's F1 drivers. For each season from 2002 through 2013, can you give me the total number of pit stops made at the races of that season where, after the race, at least one Australian driver was placed better than 20th in the driver standings? I'd like the season year and the total pit stop count for each season. The pit stop total should cover every driver who pitted at those races, not just the Australian drivers.", + "evidence": "Better than 20th in the driver standings means a position of 1 through 19 after that race. A pit stop is any recorded pit stop made by any driver at the race." + }, + { + "instance_id": "bird277", + "db": "formula_1", + "question": "For the 1995 season (races held in the calendar year 1995), how many drivers set a Q1 lap time of more than two minutes - i.e., strictly longer than 2:00.000? I just need the number of drivers.", + "evidence": "Q1: the first of the qualifying sessions; a Q1 time is the lap time a driver set in that session." + }, + { + "instance_id": "bird278", + "db": "formula_1", + "question": "For my monthly recap I need the fastest pit stop made during any F1 race held in September 2016. Please tell me the driver's full name, the pit stop time, the name of the race where it happened, the circuit name, and the circuit location. If two or more pit stops share the fastest time, list each of them with its own driver, race, circuit name and circuit location.", + "evidence": "By pit stop time I mean the elapsed time of a pit stop, from the car arriving at its pit to rejoining the race." + }, + { + "instance_id": "bird279", + "db": "formula_1", + "question": "I'm profiling the oldest driver ever to win a Formula 1 race. Please identify the winning driver with the earliest date of birth - if two winning drivers share that birth date, use the one whose full name (forename then surname) comes first alphabetically. For that driver, return his full name (forename then surname), his nationality, the name and date of the first race he won (the earliest date; if two of his wins share that date, the one whose race name comes first alphabetically), and the total number of races he started over his entire career. A win means finishing in position 1 in a race. The career covers every race in the database, from 1950 through 2017. Return a single row.", + "evidence": "Grand Prix: any race event in the database, whatever its name is; some race names do not contain the words 'Grand Prix'." + }, + { + "instance_id": "bird280", + "db": "formula_1", + "question": "Across the history of the Canadian Grand Prix, how many runnings of the race have had at least one car retire with an accident? Please note that a crash in which the driver was killed is recorded as its own status and should not count as an accident here. I just need the single number of runnings, nothing else.", + "evidence": "accident: a car's race ends because of a crash" + }, + { + "instance_id": "bird281", + "db": "formula_1", + "question": "For the 2017 Italian Grand Prix, which driver set the second-fastest time in the second qualifying session (Q2), and which constructor did he drive for that weekend? By second-fastest I mean the driver whose Q2 time comes next after the quickest one, counting every driver who took part in that session. If two drivers tie on Q2 time, the one who started the race higher up the grid counts as the faster of the two. Please give me the driver's forename, the driver's surname, and the constructor name.", + "evidence": "Q2: the second of the weekend's qualifying sessions; its times are measured to the thousandth of a second." + }, + { + "instance_id": "bird282", + "db": "formula_1", + "question": "I'm writing a season review piece and need the outright quickest Q2 time of the 2017 Formula One season – the fastest single Q2 time set at any race that year. Please give me the surname of the driver who set it and the name of the race where it was set. If two drivers share that fastest Q2 time, list every one of them along with the race names.", + "evidence": "Q2: the second of the three qualifying sessions of a Grand Prix weekend." + }, + { + "instance_id": "bird283", + "db": "formula_1", + "question": "I'm writing a race report and need to name the pole-sitter by their permanent race number. Who set the fastest Q3 qualifying time at the 2017 Italian Grand Prix (the race named 'Italian Grand Prix' in the 2017 season)? Please give me just that driver's permanent number. If two or more drivers share that fastest time, give me the numbers of all of them and nothing else.", + "evidence": "Q3 is the final part of qualifying, whose times decide the top starting positions; the fastest Q3 time earns pole position." + }, + { + "instance_id": "bird284", + "db": "formula_1", + "question": "For the 2017 Italian Grand Prix, who set the fastest lap time in Q3 (the final qualifying session), and what was that time? Give me the driver code along with the fastest Q3 time. If two or more drivers tie for the fastest Q3 time, list every tied driver.", + "evidence": "Q3: the third and final qualifying session; a driver's Q3 time is the lap time that driver set in that session" + }, + { + "instance_id": "bird285", + "db": "formula_1", + "question": "I'm writing a report on the 2017 Italian Grand Prix (the one held in the 2017 season). Could you tell me the nationality of the driver who set the fastest time in Q3, the final part of qualifying? If several drivers share the same fastest Q3 time, please give each of their nationalities.", + "evidence": "Q3 is the third and final part of the qualifying session." + }, + { + "instance_id": "bird286", + "db": "formula_1", + "question": "Which Chinese Grand Prix edition from the 2000s (2000–2009 seasons) had the earliest scheduled local start time? Give me the season year of that edition and the runner-up's time gap to the winner (the runner-up being the driver classified second at the finish). If several editions share the earliest scheduled local start time, use the most recent one.", + "evidence": "Scheduled local start time: the time of day the race was scheduled to start, local to the circuit." + }, + { + "instance_id": "bird287", + "db": "formula_1", + "question": "I'm writing a qualifying report. Can you give me the driver codes of all drivers who set a time in the third qualifying session at the 2017 Italian Grand Prix? One row per driver who set such a time, and please list the codes in alphabetical order. Nothing else needed.", + "evidence": "The third qualifying session is the final segment of the race weekend's qualifying, in which only the fastest drivers take part." + }, + { + "instance_id": "bird288", + "db": "formula_1", + "question": "I'm writing about how the Canadian Grand Prix moved to early-evening starts. Could you find the editions of the Canadian Grand Prix from 2007 through 2017 (both years included) that began at 17:00 local time or earlier - a race that began exactly at 17:00 counts. For each one, give me the race year, the winner's forename, the winner's surname, and the winner's finish time. The winner is the single driver classified first at the finish. Nothing else, please.", + "evidence": "An edition is one running of the Canadian Grand Prix in a given year; local start time is the clock time of day, local to the circuit, at which the race began, on the 24-hour clock." + }, + { + "instance_id": "bird289", + "db": "formula_1", + "question": "I'm writing a retrospective on the 2017 Italian Grand Prix at Monza. For the Q3 session of that race's qualifying, can you give me the permanent career race number and surname of every driver whose Q3 lap time was strictly faster than 1 minute 38.000 seconds? I want all drivers under that mark, not just the fastest, and no particular order. Note that by permanent career race number I mean the number a driver carries throughout his career, not a one-off entry number for that weekend.", + "evidence": "Q3 is the third and final qualifying session; a driver only has a Q3 time if he actually took part in that session." + }, + { + "instance_id": "bird290", + "db": "formula_1", + "question": "Across all seasons in the database, which circuit's Grand Prix started earliest in the day, and which started latest? I'd like the circuit reference name of the earliest one, the circuit reference name of the latest one, and the gap between those two start times in seconds. Include every season, and if several circuits share the earliest start time, list them all - same for the latest.", + "evidence": "By \"start time of the day\" I mean the local clock time at the venue at which the race started." + }, + { + "instance_id": "bird291", + "db": "formula_1", + "question": "I'm looking into fastest race laps recorded by drivers born in the 1980s. Can you tell me which three drivers born between 1980 and 1990 reached the highest single fastest-lap speed at any point in their career? I'd like their first and last names, ranked from the highest career-high speed down, and if two drivers are tied on that speed, list the one born earlier first, and then the one whose last name comes first alphabetically. Please give me just the three names, nothing else.", + "evidence": "Fastest lap speed: the average speed, in km/h, that a driver recorded on their single fastest lap of a race. A driver's career-high speed is based on that one lap, not an average across their laps." + }, + { + "instance_id": "bird292", + "db": "formula_1", + "question": "For the 2017 Italian Grand Prix, I need the list of drivers who were eliminated after the first qualifying session. Give me one row per eliminated driver with their reference name, ordered by their first-segment time from slowest to fastest. If two eliminated drivers have the same first-segment time, list the one with the lower driverId first.", + "evidence": "Eliminated after the first qualifying session means the driver took part in qualifying but did not go out in the second qualifying session." + }, + { + "instance_id": "bird293", + "db": "formula_1", + "question": "For my retrospective on the 1962 British Grand Prix – the race named 'British Grand Prix' in the 1962 season – how many drivers withdrew from that race? I just need a single whole number.", + "evidence": "A driver who withdrew from a race is recorded with the status 'Withdrew'." + }, + { + "instance_id": "bird294", + "db": "formula_1", + "question": "For the 1957 British Grand Prix, what percentage of the drivers who took part in the race were classified finishers, rounded to two decimals? By classified finisher I mean a driver whose race record shows them finishing the race, whether on the lead lap or one or more laps behind the winner. I just need the one percentage figure.", + "evidence": "classified finisher: a driver whose race record shows them finishing the race, whether on the lead lap or one or more laps behind the winner" + }, + { + "instance_id": "bird295", + "db": "student_club", + "question": "What was Elijah Allen's mean total expense per event for expenses dated in September or October? Round to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird296", + "db": "student_club", + "question": "What is the total amount spent on Student Club events in 2019 minus the total spent on events in 2020?", + "evidence": "" + }, + { + "instance_id": "bird297", + "db": "student_club", + "question": "What note was recorded for the fundraising proceeds received on September 14, 2019?", + "evidence": "" + }, + { + "instance_id": "bird298", + "db": "student_club", + "question": "What is the ratio of the Advertisement budget for the Yearly Kickoff meeting to that for the October Meeting?", + "evidence": "" + }, + { + "instance_id": "bird299", + "db": "student_club", + "question": "Which closed events are tied for the highest ratio of total spending to total budget amount?", + "evidence": "" + }, + { + "instance_id": "bird300", + "db": "student_club", + "question": "List the name of students that have attended more than 7 events.", + "evidence": "" + }, + { + "instance_id": "bird301", + "db": "student_club", + "question": "Which members incurred at least one expense above the overall average expense cost? Give each member's first name, last name, and phone number as separate fields.", + "evidence": "" + }, + { + "instance_id": "bird302", + "db": "student_club", + "question": "I'm putting together a review of last fall's activities and want to see how the Women's Soccer game compared to a typical event that semester. Please give me one row with: the number of students who attended the Women's Soccer event, the average number of students who attended events held in fall 2019 rounded to one decimal place, and a verdict of 'more', 'fewer' or 'equal' comparing the Women's Soccer head count to that average. Fall 2019 means events from 1 September 2019 through 30 November 2019 inclusive, and every event that semester counts toward the average even if nobody attended it. The verdict should compare the Women's Soccer head count to the rounded average: above it is 'more', below is 'fewer', exactly equal is 'equal'.", + "evidence": "Women's Soccer is an event name; attendance at an event is the number of members who attended it." + }, + { + "instance_id": "bird303", + "db": "student_club", + "question": "I'm reviewing our roster against the catalog and want to see how much of the College of Humanities and Social Sciences' coverage our members actually hold, department by department. For each department in that college, give me: the department's name, the majors it offers, the majors held by at least one of our members, and the average members per major it offers, rounded to two decimals. Membership is as currently listed in the member records, and count a department as belonging to the college when any of its majors sits in the college.", + "evidence": "College of Humanities and Social Sciences: one of the colleges that houses departments offering majors." + }, + { + "instance_id": "bird304", + "db": "student_club", + "question": "I'm putting together our yearly report and need a breakdown of our 2019 events by event type. For each type of event we held in 2019, please give me: the event type, how many members attended that type's events during 2019, and the total amount budgeted for that type's events in dollars. A few notes: 2019 means the calendar year; the budgeted amount is the planned amount, not what was actually spent. If nothing was budgeted for a type's events, or no member attended them, just show zero. Please list one row per event type, in alphabetical order by event type.", + "evidence": "" + }, + { + "instance_id": "bird305", + "db": "student_club", + "question": "I'm putting together a financial overview for the college that houses the Electrical and Computer Engineering Department. For each department of that college, can you tell me the total dues the club actually received from that department's enrolled members who took part in the club's events, in dollars? Please include every department of the college, showing zero if we received no such dues from it. Just the department name and the total dues per department.", + "evidence": "'Dues' is the income source label for membership dues a member pays to the club; 'Member' is the club position of an enrolled member, as opposed to officer or inactive positions." + }, + { + "instance_id": "bird306", + "db": "student_club", + "question": "For the mid-year budget review: I need to see, for each member who had to spend more than fifty dollars on an expense, how much room was still left in the budget lines those purchases were charged against. Please give me, per member, their first name, last name, and the total amount left across those budget lines in dollars rounded to two decimals. Order the results from the largest total down to the smallest; if two members have the same total, list them alphabetically by last name and then first name. The totals should cover all expenses on record, and if a budget line ended up overdrawn, its negative remaining amount should count toward the total.", + "evidence": "Spending more than fifty dollars on an expense means the expense's dollar cost is over 50. The amount left in a budget line is the amount budgeted for that line minus the amount spent against it." + }, + { + "instance_id": "bird307", + "db": "student_club", + "question": "I'm putting together our year-end budget summary. How much did we collect in membership dues, in total dollars, from the students who attended the Football game? Membership dues are the payments recorded under the source 'Dues'.", + "evidence": "membership dues: payments recorded under the source 'Dues'" + }, + { + "instance_id": "bird308", + "db": "student_club", + "question": "How many majors offered by the college that offers Tyler Hewitt's major currently have no enrolled members in the club? Count every major that college offers, by major name.", + "evidence": "Enrolled members are the people recorded in the club's membership list." + }, + { + "instance_id": "bird309", + "db": "student_club", + "question": "For our end-of-year report, I need one figure: the average number of members who attended each event that carried a budget line for advertising, covering every such event across the club's records regardless of when it took place. Please give it as a single number rounded to two decimal places.", + "evidence": "A budget line for advertising means a budget entry whose category is advertising." + }, + { + "instance_id": "bird310", + "db": "student_club", + "question": "For every budget review event the club has held, can you give me the event name, its location, and the number of members who attended? I need this for the year-end report.", + "evidence": "'Budget' is the club's event type for its budget review events, such as the Fall Budget Review and the Spring Budget Review." + }, + { + "instance_id": "bird311", + "db": "student_club", + "question": "I'm planning study-partner pairings around our biggest social-attendance event. Can you tell me which academic majors were most represented among the members who attended the football game? For each major, give me the major name and the number of attendees in that major. If several majors tie for the highest attendee count, list all of them, ordered alphabetically by major name.", + "evidence": "Football game: the event named 'Football game'" + }, + { + "instance_id": "bird312", + "db": "student_club", + "question": "I want to gauge how much of the university's range of academic programs our club is failing to reach. Out of every major offered by the university - including majors where we have no members - what percentage have no club member studying them? Please give me just that single percentage, between 0 and 100, rounded to two decimal places.", + "evidence": "Major: an academic program offered by the university, as listed in the club's records of majors." + }, + { + "instance_id": "bird313", + "db": "student_club", + "question": "Our officer team wants to settle a debate about whether we pull more weight than the rest of the club, so we need the attendance numbers before the next meeting. Could you tell us two things: the average number of events attended per officer, and the average number of events attended per other student, each rounded to two decimal places? To be clear on who counts where: officers are the members holding the position of President, Vice President, Secretary, or Treasurer, and everyone else in the club counts as an other student. Each average should cover every member of its group, and include every event in the club's records - there's no date cutoff.", + "evidence": "" + }, + { + "instance_id": "bird314", + "db": "student_club", + "question": "I'm finalizing the semester wrap-up report and need one number: how many different kinds of things the club bought for events that went over budget this semester. A few things to keep in mind: an event counts as over budget if, in at least one of its budgeted categories, we spent more than we budgeted for that category - the budgeted amount minus what was actually spent came out below zero. Also, a single purchase can cover several kinds of things at once, and the purchase description lists what it bought, so make sure each kind is counted. The answer should cover the whole semester shown in the records, and I just need the single integer count, nothing else.", + "evidence": "went over budget: a budgeted category of the event ended with more spent than was budgeted for it, i.e. the amount budgeted minus the amount spent is below zero; kind of thing: a type of item bought, like water, pizza or posters" + }, + { + "instance_id": "bird315", + "db": "student_club", + "question": "For every event in our records that had at least one attendee, I need the amount spent per attendee on bottled drinking water, in dollars and cents rounded to two decimals. Give me one row per event with the event name and that amount; if an attended event had no water purchases, show 0.00, and if two events share a name, list them separately. Include all events regardless of status, across the club's entire history. A purchase that included water along with other items counts fully toward water.", + "evidence": "water: bottled drinking water bought for attendees" + }, + { + "instance_id": "bird316", + "db": "student_club", + "question": "For my report on the club's academic makeup, could you tell me how many members on the club roster major in a department of the College of Humanities and Social Sciences, and how many members do not? The two counts together should cover every member on the roster, with each member counted in exactly one of the two groups. A member counts as majoring in the college only if the department offering their major belongs to the College of Humanities and Social Sciences.", + "evidence": "The College of Humanities and Social Sciences is a college made up of certain departments; membership in the college is determined by which department offers a member's major." + }, + { + "instance_id": "bird317", + "db": "student_club", + "question": "For our snack budget planning: among the events that spent money on chips, which event has the highest budget amount? By budget amount I mean a single budget line, not a total across lines - compare events by their largest single budgeted line. If several events tie on that largest line, list all of their names. Please just give me the event name(s).", + "evidence": "" + }, + { + "instance_id": "bird318", + "db": "student_club", + "question": "What is the date of the Vice President's most recent expense on record, and what is the total cost of all expenses incurred on that date? Consider all expenses on record with no earlier cut-off, and give the total exactly as it appears in the records, without rounding.", + "evidence": "Vice President is a position of the Student Club." + }, + { + "instance_id": "bird319", + "db": "student_club", + "question": "I'm reviewing member engagement for our club's events in MU 215. Can you give me, for each event category of events held at MU 215, the number of club members who attended those events? Please count events regardless of their status (planning, open, or closed), and make sure every category that had events at MU 215 shows up, even if none of its events had any attendees.", + "evidence": "MU 215: the room name as the event location." + }, + { + "instance_id": "bird320", + "db": "student_club", + "question": "I'm putting together a recruitment report for the colleges and want to know which parts of the university our club's membership actually draws from. For every person on the roster-regardless of their position in the club-look at their major, and the college that houses the department offering that major. Which college or colleges do the most majors on our roster come from, and how many majors is that? If there's a tie at the top, give me every college tied at that count. Please list the colleges in alphabetical order by college name, and return just each college's name and its number of majors.", + "evidence": "Major: a field of study offered by a department housed in a college." + }, + { + "instance_id": "bird321", + "db": "student_club", + "question": "I want to review what the money actually went on for the well-funded events, by venue. For events that had a budget line of more than forty dollars, how many different things were bought for them at each location? Please give me, for each location, the location of the event and the number of different things bought for such events at that location, and nothing else. Note that a budget line of more than forty dollars means a single budgeted amount strictly over 40 dollars, and all qualifying events held at a location should be pooled together.", + "evidence": "" + }, + { + "instance_id": "bird322", + "db": "student_club", + "question": "I'm reconciling what we budgeted for September events against what we actually spent. Can you give me the total amount budgeted for the September 2019 events that served pizza? By September 2019 I mean events dated September 1 through September 30, 2019. An event counts as having served pizza if pizza was among the expenses booked to it. Please include every budget line for those events, whatever the category - not just the food lines. All I need back is the single dollar figure for that total.", + "evidence": "A pizza expense means an expense whose description is Pizza." + }, + { + "instance_id": "bird323", + "db": "student_club", + "question": "Hi - I need one overall figure for the budget next year: what's the average total amount we've actually spent per event, counting all budget categories, across every event we've ever recorded? Please give me the average in dollars, rounded to two decimal places, with no date restriction.", + "evidence": "" + }, + { + "instance_id": "bird324", + "db": "student_club", + "question": "Among our closed events that stayed within budget (total spending not exceeding total budget), which one had the most purchases? Please give me just that event's name. Consider every closed event that didn't go over budget, including events with no purchases at all. If two events tie for the most purchases, report only the one with the alphabetically first event ID.", + "evidence": "A purchase is a single item recorded on an expense record; one expense record may list several items. Total budget is the sum of budgeted amounts across all budget lines of the event; total spending is the sum of spent amounts across all budget lines of the event." + }, + { + "instance_id": "bird325", + "db": "student_club", + "question": "For our year-end review, I want to know which event formats bring in the most people. Looking at our whole club year (every event from September 2019 through May 2020), which event type was attended by the most members, and how many members attended that type's events? If several event types tie for the most, list every one of them. Just give me the event type and the number of members for it - nothing else.", + "evidence": "By \"attended\" I mean a member coming to an event; event type is the kind of event, e.g. Meeting, Social, Game, Election, Community Service." + }, + { + "instance_id": "bird326", + "db": "student_club", + "question": "I'm putting together next semester's purchasing plan and want to know which food and drink item the club buys most often. Among purchases made under the food budget only, which single item appears on the most purchase records, and how many purchase records mention it? If two items are tied, go with the one whose name comes first alphabetically. Please give me just the item's name and that record count.", + "evidence": "A purchase record is an entry in the club's expense records for money spent on a purchase." + }, + { + "instance_id": "bird327", + "db": "student_club", + "question": "I'm wrapping up the October Meeting and need the final numbers broken down by what we actually bought, not just by budget category. For every item bought with approved money for the October Meeting, can you give me: the item's name, the budget category of the purchase that included the item, and the total cost in dollars of the approved October Meeting purchases that included the item? Only expenses marked as approved count - an expense without an approval mark doesn't. If an item was included in approved purchases recorded under more than one budget category, give me one row per category. Costs should be plain sums in US dollars with no rounding, and please sort the list by category and then by item name.", + "evidence": "An item is a single thing bought with club money, such as water, pizza or posters. A purchase is an expense recorded for the event." + }, + { + "instance_id": "bird328", + "db": "student_club", + "question": "For every event in the club's records, can you give me the event name, event date, total amount budgeted for the event, and the number of members who attended it? Please sort the list by event name, then by event date, both in ascending order.", + "evidence": "" + }, + { + "instance_id": "bird329", + "db": "student_club", + "question": "I'm preparing the year-end audit of club spending. For each item Sacha Harrison bought with club money, I need the item name and how many times she bought it. Can you give me that list?", + "evidence": "By \"item\" I mean an individual thing named in a record of what money was spent for." + }, + { + "instance_id": "bird330", + "db": "student_club", + "question": "I'm putting together the end-of-term spending review. Who bought the most different kinds of items in October or November 2019? Please give me that member's full name, how many different kinds of items they bought in those two months, and their total spending in dollars over the same period. If two members tie for the most kinds, list every tied member with their kind count and spending.", + "evidence": "An item is one of the individual things a purchase covered, such as a pizza or a bottle of water." + }, + { + "instance_id": "bird331", + "db": "student_club", + "question": "For our department report, I need to know how many different fields of study our club members from the Political Science Department represent. Only count members of the Political Science Department - members from other departments don't count. Just give me the number of different majors studied by those members.", + "evidence": "A major is a field of study offered by a department." + }, + { + "instance_id": "bird332", + "db": "superhero", + "question": "Among Marvel Comics superheroes with a known eye colour, rank the eye colours by number of superheroes. Give each colour, its hero count, and its rank, most common first; break display-order ties alphabetically.", + "evidence": "" + }, + { + "instance_id": "bird333", + "db": "superhero", + "question": "List the superheroes from Marvel Comics who have the super power of 'Super Strength'.", + "evidence": "" + }, + { + "instance_id": "bird334", + "db": "superhero", + "question": "What percentage of all superheroes have Neutral alignment, and how many of those Neutral superheroes were published by Marvel Comics? Round the percentage to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird335", + "db": "superhero", + "question": "Between Marvel Comics and DC Comics, which publisher has more superheroes, and by how many?", + "evidence": "" + }, + { + "instance_id": "bird336", + "db": "superhero", + "question": "Among superheroes from 170 through 190 cm tall whose recorded eye-colour category is unknown, list their names.", + "evidence": "" + }, + { + "instance_id": "bird337", + "db": "superhero", + "question": "Among all superheroes with recorded height from 150 through 180 cm, what percentage were published by Marvel Comics? Round to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird338", + "db": "superhero", + "question": "What known full names belong to superheroes tied for the highest strength attribute value?", + "evidence": "" + }, + { + "instance_id": "bird339", + "db": "superhero", + "question": "List superheroes whose known eye, hair and skin colours are all the same, along with any recorded publisher name.", + "evidence": "" + }, + { + "instance_id": "bird340", + "db": "superhero", + "question": "Among all female superheroes, what percentage have blue skin? Round to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird341", + "db": "superhero", + "question": "Among all female superheroes, what percentage were published by Marvel Comics? Round to two decimal places.", + "evidence": "" + }, + { + "instance_id": "bird342", + "db": "superhero", + "question": "Which publisher has more superheroes, DC Comics or Marvel Comics, and by how many? Return Tie if their counts are equal.", + "evidence": "" + }, + { + "instance_id": "bird343", + "db": "superhero", + "question": "I'm comparing Marvel and DC rosters and want to quantify how tall Marvel's roster is for characters whose abilities DC cannot match. What is the average height, in centimetres, of Marvel Comics characters who have at least one power that no DC Comics character has? Only characters with a measured height count.", + "evidence": "A \"power\" is any single ability listed for a character in the database." + }, + { + "instance_id": "bird344", + "db": "superhero", + "question": "For a segment on strength heroes, I want to know how many superpowers are held only by heroes who have Super Strength. A power counts as held only if at least one hero who has Super Strength holds it, and Super Strength itself should be included if it meets that condition. Just give me the count.", + "evidence": "Super Strength is a super power name." + }, + { + "instance_id": "bird345", + "db": "superhero", + "question": "I'm setting a typical weight for a green-skinned creature class. Can you tell me the average weight in kg of the heroes with green skin? Count only heroes whose weight is known, and give me one number rounded to one decimal place.", + "evidence": "Green skin means the hero's skin colour is green." + }, + { + "instance_id": "bird346", + "db": "superhero", + "question": "I'm writing an article about heroes who fall outside the classic good-versus-evil divide. How many superheroes in the database have an alignment that is neither good nor bad? Please give me just that count. Note that this should cover all superheroes in the database.", + "evidence": "good: a superhero whose alignment is Good; bad: a superhero whose alignment is Bad; alignment: the moral category assigned to a superhero" + }, + { + "instance_id": "bird347", + "db": "superhero", + "question": "I'm building a fact box on Marvel heroes' civilian identities. Among Marvel Comics superheroes whose full name (their civilian identity, like 'Richard Milhouse Jones') is known, which superpower is the most common, and how many of those heroes have it? If several superpowers tie for most common, list all of them with their counts. Just give me the superpower name(s) and the counts.", + "evidence": "" + }, + { + "instance_id": "bird348", + "db": "superhero", + "question": "I want to profile the cohort of heroes whose Intelligence score matches Abomination's Intelligence score. What is their average measured weight in kg? Please round the average to two decimals.", + "evidence": "Intelligence is one of the six attribute scores a hero has (Intelligence, Strength, Speed, Durability, Power, Combat)" + }, + { + "instance_id": "bird349", + "db": "superhero", + "question": "I'm putting together a trivia page profiling blue-haired heroes by their abilities. For each gender, male and female, how many blue-haired superheroes have at least ten listed powers? I need the count for both groups, and by 'at least ten' I mean ten or more.", + "evidence": "Listed powers: the superpowers recorded for a hero." + }, + { + "instance_id": "bird350", + "db": "superhero", + "question": "I'm putting together a comparison of the heaviest brick-strength characters. What is the average weight, in kilograms, of all superheroes whose Strength score equals the Hulk's? I just need a single integer rounded to the nearest kilogram. Include every superhero in the database, no restrictions on publisher or alignment. If a hero's weight is unknown, leave them out and average only over the heroes whose weight has actually been measured.", + "evidence": "Strength is one of the six measured hero attributes, each scored on a 1-100 scale; the Hulk is the superhero named 'Hulk'; weight is the superhero's weight in kilograms." + }, + { + "instance_id": "bird351", + "db": "superhero", + "question": "For my 'giants of the genre' feature, I want to headline how varied the abilities of the tallest heroes are. How many different superpowers appear among the ten tallest superheroes? Rank heroes by height and take the top ten; if several heroes tie at the tenth-tallest height, include all of them. A hero counts among the ten tallest even if no powers are on file for them. Please give me just that single number.", + "evidence": "superpower = an ability such as Agility or Accelerated Healing, as named in the superpower list" + }, + { + "instance_id": "bird352", + "db": "superhero", + "question": "How many characters published by A-Bomb's publisher have no race listed? I just need a single count. (By A-Bomb's publisher, I mean the publisher that publishes the character A-Bomb.)", + "evidence": "race: the character's race or group, e.g. Human, Alien, Mutant" + }, + { + "instance_id": "bird353", + "db": "superhero", + "question": "Hey, following up on my count of the God / Eternal heroes – among those who are male, what's the average number of superpowers per hero? Just give me the average rounded to two decimal places.", + "evidence": "A superpower is any power linked to a hero." + }, + { + "instance_id": "bird354", + "db": "superhero", + "question": "For my cryokinesis page, I want to know how broad the power portfolios are around ice-powered heroes. Consider all heroes who share at least one superpower with a cryokinesis holder - including the cryokinesis holders themselves, since they share cryokinesis with each other. What is the average number of superpowers these heroes have, rounded to one decimal place? Please send back just that single number.", + "evidence": "Cryokinesis is the superpower to generate and control ice." + }, + { + "instance_id": "bird355", + "db": "superhero", + "question": "What is the average weight in kilograms of the DC Comics heroes whose eye colour is also shared by at least one Marvel Comics hero? Leave out any heroes whose weight is unknown, round the result to the nearest kilogram, and treat 'No Colour' as an eye colour like any other when matching between publishers. I just want that single number.", + "evidence": "" + }, + { + "instance_id": "bird356", + "db": "superhero", + "question": "I'm researching heroes like A-Bomb. What is the average height in centimetres of the superheroes in A-Bomb's group? Please give me just that single number, rounded to one decimal place. Note that A-Bomb itself belongs to its group and should be included, and only heroes whose height is actually on record should count toward the average-anyone without a recorded height should be left out rather than counted as some height.", + "evidence": "In this request, \"group\" refers to race." + }, + { + "instance_id": "bird357", + "db": "superhero", + "question": "What is the average weight, in kg, of the heroes who belong to races in which no hero is female? Heroes whose weight is not recorded should not count toward the average. I just need that single value.", + "evidence": "female: the hero's gender is female" + }, + { + "instance_id": "bird358", + "db": "superhero", + "question": "I'm writing a piece about which real publishing companies have put out very tall heroes. How many publishers in the database have released at least one hero taller than 200 cm? Note that taller than 200 cm means strictly more than 200 cm, and it counts if even one of their heroes is that tall. I just need the number of publishers, nothing else.", + "evidence": "A hero's publisher being 'released' means the publisher the hero is attributed to in the database." + }, + { + "instance_id": "bird359", + "db": "superhero", + "question": "For a licensing survey of non-DC heroic characters, I need a single total count of superheroes whose alignment is Good and who are not published by DC Comics. Just that one number, please.", + "evidence": "Good means the hero's alignment is Good; DC Comics means the publisher named DC Comics." + }, + { + "instance_id": "bird360", + "db": "superhero", + "question": "I'm comparing superhero body weights to typical human weights for an article. What is the average weight in kilograms of superheroes published by DC Comics, rounded to one decimal place, and how many DC Comics superheroes is that average based on? Only superheroes with a known weight should count toward the average, so the count should be the number of superheroes it's based on. DC Comics means the publisher named DC Comics.", + "evidence": "" + }, + { + "instance_id": "bird361", + "db": "superhero", + "question": "How many heroes published by Blackwulf's publisher have an eye colour that at least one hero from a different publisher also has? By \"that publisher's heroes\" I mean all of its heroes, not just Blackwulf. A different publisher means any other publisher, and heroes with no publisher listed shouldn't count as coming from a different publisher. I just want that single count back.", + "evidence": "Eye colour: the colour of a hero's eyes as catalogued for that hero." + }, + { + "instance_id": "bird362", + "db": "superhero", + "question": "Which race is the most common among the superheroes published by the same publisher as the superhero whose full name is Charles Chandler? I'd like, for that publisher's superheroes only, the name of the most common race and the count of that publisher's superheroes of that race. Ignore any superhero with no race recorded. If several races tie for most common, list every tied race with its count.", + "evidence": "Race: the superhero's species or type, e.g. Human, Mutant, Alien." + }, + { + "instance_id": "bird363", + "db": "superhero", + "question": "What is the average weight in kg of the Female heroes in the database? Round it to two decimal places, and skip any heroes whose weight is unknown. I just need that single number.", + "evidence": "kg: kilograms" + }, + { + "instance_id": "bird364", + "db": "superhero", + "question": "I'm writing a power-profile feature on heroes with super speed or death touch. Can you give me one number: the average intelligence score of the superheroes who have either of those powers? Round it to one decimal place, and only count the heroes who actually have an intelligence score in the database.", + "evidence": "\"Super speed\" and \"death touch\" are superpower names as used in the database; \"intelligence\" is the hero attribute by that name." + }, + { + "instance_id": "bird365", + "db": "superhero", + "question": "I'm comparing how power-rich male and female heroes are. For all male heroes and all female heroes that have a documented real full name, what is the average number of superpowers per hero for each gender? Please compute each average over the entire hero population of that gender, not just the heroes that happen to have power records. Give me both averages, each rounded to two decimal places, and nothing else.", + "evidence": "Full name: the hero's real, full personal name (first name plus last name, and optionally middle names); single names such as mononyms or aliases are not a full name." + }, + { + "instance_id": "bird366", + "db": "superhero", + "question": "I'm putting together a physical profile of the green-skinned villain corner of the universe for a fan wiki page. Could you tell me the average height in centimetres and the average weight in kilograms of the green-skinned villains? Please average only over the characters whose measurement is actually on record - a character with no recorded height or weight shouldn't drag the average down - and round each average to two decimals. I just need those two numbers.", + "evidence": "By 'villain' I mean a character whose alignment is Bad, and by 'green-skinned' I mean a character whose skin colour is Green. Height in centimetres and weight in kilograms are the character's height_cm and weight_kg as commonly understood physical measurements." + }, + { + "instance_id": "bird367", + "db": "superhero", + "question": "I'm profiling publisher rosters and now want to look at the physical build of George Lucas's heroes. What is the average height of the heroes he created, in centimetres, and their average weight, in kilograms? Please round each average to one decimal place, and only include heroes whose height (for the height average) or weight (for the weight average) is actually known.", + "evidence": "" + }, + { + "instance_id": "bird368", + "db": "superhero", + "question": "I'd like to know how tall the heroes are who share at least one superpower with 3-D Man. Can you give me the average height in centimetres of those heroes, rounded to one decimal place? Please leave 3-D Man himself out of it, and don't count heroes whose height isn't known.", + "evidence": "" + }, + { + "instance_id": "bird369", + "db": "superhero", + "question": "I'm writing an article about green-skinned flying villains and need a body-statistics fact. What is the average weight, in kilograms, of all green-skinned villains who can fly? By villain I mean a character whose moral affiliation is Bad. Please include only characters whose weight was actually measured-any character whose weight was never measured should be left out of the average. Give me just the single number, rounded to the nearest kilogram.", + "evidence": "Flight: the power to fly." + }, + { + "instance_id": "bird370", + "db": "superhero", + "question": "I'm doing a physical-profile breakdown of the George Lucas catalogue. For the heroes published by George Lucas that have at least one superpower in the database, what is their average weight in kilograms, counting only the heroes whose weight is recorded? Please give me just that one number, rounded to two decimal places.", + "evidence": "George Lucas refers to the publisher name." + }, + { + "instance_id": "bird371", + "db": "superhero", + "question": "For the article I'm writing on heroic female characters, I'd like a physique stat for the trivia box: what is the average weight in kilograms of female superheroes whose alignment is good? Only count superheroes whose weight is known. Please round the result to two decimal places.", + "evidence": "Alignment: the superhero's moral category, e.g. good, bad, neutral." + }, + { + "instance_id": "bird372", + "db": "superhero", + "question": "I'm picking powers for a lightweight male hero archetype. How many different superpowers are held by at least one male superhero who weighs under 70 kilograms? Heroes whose weight isn't recorded shouldn't count as weighing under 70.", + "evidence": "" + }, + { + "instance_id": "bird373", + "db": "superhero", + "question": "I'm putting together a trivia fact box on tiny heroes. Could you tell me the hair colour of the shortest human superhero? Please treat heroes with no recorded height as unmeasured rather than as being the shortest. I just need the colour, nothing else.", + "evidence": "" + }, + { + "instance_id": "bird374", + "db": "superhero", + "question": "I want to know about the lightest superhero whose weight has actually been recorded. Among all heroes sharing that lightest weight, give me the largest number of superpowers any of them has. If such a hero has no powers, that counts as 0. Please return just that one number.", + "evidence": "A superpower is one power a hero has, identified by its name." + }, + { + "instance_id": "bird375", + "db": "superhero", + "question": "I'm auditing identity info on our hero profile pages. How many neutral-alignment heroes have a known full name? Just give me the count.", + "evidence": "By \"full name\" I mean the hero's real-world identity name, not the superhero/costume name." + }, + { + "instance_id": "bird376", + "db": "superhero", + "question": "I'm building a profile page crediting the fastest characters. Among all superheroes that share the top Speed attribute value (everyone tied at the highest Speed value counts), can you list the ones whose real name is known? For each, I need the superhero name and the full name — the civilian identity behind the mask — and nothing else. Please leave out anyone whose real name isn't identifiable.", + "evidence": "" + }, + { + "instance_id": "bird377", + "db": "superhero", + "question": "I'm looking at how designers pair hair and eye colours. For every eye colour that appears on at least one brown-haired hero, how many heroes have that eye colour while their hair is NOT brown? Just give me each eye colour and that count, listing the eye colour with the highest count first. If two eye colours have the same count, the one whose name comes first alphabetically should come first.", + "evidence": "By a brown-haired hero I mean a hero whose hair colour is Brown." + }, + { + "instance_id": "bird378", + "db": "superhero", + "question": "I'm preparing a report on Marvel's roster and want to gauge how heroic their catalogued heroes are. Among Marvel Comics superheroes whose civilian full name is documented, what percentage are good? Please give me just that single percentage, rounded to two decimal places. Note: the percentage should be taken over all Marvel Comics superheroes with a known full name - those whose moral alignment is unknown still count toward the total, just not as good.", + "evidence": "Good refers to alignment = 'Good'. A full name means the hero's real-world civilian identity, i.e. an actual person's name such as 'Charles Chandler' or 'Richard Milhouse Jones'." + }, + { + "instance_id": "bird379", + "db": "superhero", + "question": "What percentage of Marvel Comics superheroes with a recorded superpower are classified as good? Round the percentage to two decimal places, and give me just that single value.", + "evidence": "Good means alignment 'Good'; superpower refers to a hero's recorded power." + }, + { + "instance_id": "bird380", + "db": "superhero", + "question": "I'm comparing the builds of heroes whose power sets overlap with 3-D Man's. What is the average weight in kg of the heroes other than 3-D Man that share at least one superpower with him? Please round it to two decimal places, leave out any heroes whose weight isn't recorded, and return just that single number.", + "evidence": "" + }, + { + "instance_id": "bird381", + "db": "superhero", + "question": "Among superheroes whose weight is not recorded, how many more have the 'No Colour' eye category than have blue eyes? I want a single whole number: the count of 'No Colour' eyes minus the count of blue eyes in that group - it can be negative if blue is more common. Please give me just that one number, with no other results or breakdowns.", + "evidence": "'No Colour' is an eye category meaning the hero's eye colour is unspecified." + }, + { + "instance_id": "bird382", + "db": "thrombosis_prediction", + "question": "Among distinct patients with at least one uric-acid result above the sex-specific upper limit, what is the ratio of male to female patients?", + "evidence": "For this task, the uric-acid upper limit is 8.0 for males and 6.5 for females." + }, + { + "instance_id": "bird383", + "db": "thrombosis_prediction", + "question": "Across laboratory records with PLT > 400 for female patients whose patient profile lists an SLE diagnosis, what is the average ALB value rounded to four decimal places?", + "evidence": "" + }, + { + "instance_id": "bird384", + "db": "thrombosis_prediction", + "question": "How many distinct patients with a triglyceride result of at least 200 were older than 50 on 2026-10-09?", + "evidence": "" + }, + { + "instance_id": "bird385", + "db": "thrombosis_prediction", + "question": "List patient IDs, sex, and completed age on 2026-10-09 for patients with at least one laboratory record showing glucose at least 180 and total cholesterol below 250.", + "evidence": "" + }, + { + "instance_id": "bird386", + "db": "thrombosis_prediction", + "question": "List the IDs and completed ages on 2026-10-09 of patients with at least two laboratory results having hematocrit of 52 or higher.", + "evidence": "" + }, + { + "instance_id": "bird387", + "db": "thrombosis_prediction", + "question": "Among patients older than 55 on 2026-10-09 who have at least one abnormal PT result, what percentage are female? Round to two decimals.", + "evidence": "For this task, PT of at least 14 is abnormal." + }, + { + "instance_id": "bird388", + "db": "thrombosis_prediction", + "question": "How many distinct patients have at least one positive CRP laboratory result and no recorded patient description?", + "evidence": "Plus-marked CRP results indicate positivity." + }, + { + "instance_id": "bird389", + "db": "thrombosis_prediction", + "question": "How many distinct female patients have a normal anti-Scl-70 result and no recorded non-null symptom on any examination?", + "evidence": "Normal anti-Scl-70 is recorded as 'negative' or '0'." + }, + { + "instance_id": "bird390", + "db": "thrombosis_prediction", + "question": "Among patients in the thrombosis registry born between 1930 and 1940 inclusive who had laboratory tests, what percentage were inpatients? Please give me just the percentage rounded to two decimal places.", + "evidence": "An inpatient is a patient who was admitted to the hospital; an outpatient is a patient who was followed at the outpatient clinic." + }, + { + "instance_id": "bird391", + "db": "thrombosis_prediction", + "question": "Among the lab tests with the strongest anti-ribonuclear protein result (i.e., the highest result value), find the highest total bilirubin level and give me that test's total bilirubin level, the date of the lab test, the patient's ID, sex, and birthday. If several of those tests share the highest total bilirubin level, list each of them, one row per test.", + "evidence": "Anti-ribonuclear protein refers to the anti-RNP antibody lab test; total bilirubin refers to the total serum bilirubin lab test (a liver marker)." + }, + { + "instance_id": "bird392", + "db": "thrombosis_prediction", + "question": "I'm describing our young-patient group and want to show how unusual a raised RNP antibody is in these patients. Could you tell me how many patients in the thrombosis cohort born after 1 January 1960 never had a raised RNP antibody result? A few points: the group should cover every patient born after that date, including patients with no laboratory results at all - they count as never having had a raised result. \"Raised\" means a result strictly above 10, so a result of exactly 10 doesn't count, and a result of \"negative\" (no antibody detected) is never raised. Please return just one row with a single integer: the number of these patients.", + "evidence": "RNP: anti-ribonuclear protein antibody; a result of \"negative\" means no antibody was detected. A raised RNP result is a laboratory result strictly above 10." + }, + { + "instance_id": "bird393", + "db": "thrombosis_prediction", + "question": "Among patients followed at the outpatient clinic who ever had an abnormal anti-SSA result, which one showed the highest anti-RNP titer? Please give me the patient's ID and the anti-RNP titer value. This should cover the hospital's full records across all years, and if several patients tie for the highest anti-RNP titer, list every one of them.", + "evidence": "Abnormal anti-SSA means any SSA result other than negative or 0. \"Followed at the outpatient clinic\" is the admission status marked with a minus sign. Anti-RNP titer is the strength of the anti-ribonuclear protein result." + }, + { + "instance_id": "bird394", + "db": "thrombosis_prediction", + "question": "I'm studying antibody and platelet profiles in mixed connective tissue disease (MCTD). Can you tell me how many patients diagnosed with MCTD alone - meaning MCTD is their only recorded diagnosis - have had at least one platelet reading within the normal range and at least one anti-RNP antibody level above 5 (strictly greater than 5)? I just need the patient count.", + "evidence": "A platelet level within the normal range means from 100 to 400, both ends included; below 100 or above 400 is outside the normal range." + }, + { + "instance_id": "bird395", + "db": "thrombosis_prediction", + "question": "As part of the data-completeness review, I'd like to know how much laboratory follow-up our never-examined patients actually have, split by sex. Could you give me, for each sex (F and M), the average number of laboratory test dates recorded for the patients of that sex who have no examination record at all? Please cover the whole registry, all years, and round the averages to two decimal places. Nothing else needed beyond the two averages.", + "evidence": "F denotes a female patient and M denotes a male patient. A laboratory test date is a date on which laboratory tests were recorded for a patient." + }, + { + "instance_id": "bird396", + "db": "thrombosis_prediction", + "question": "I'm reviewing autoimmune antibody profiles in our thrombosis registry. Among the female patients who were admitted to the hospital as inpatients, I need to find the laboratory test record with the highest anti-DNA antibody level, for a case review. Please give me the patient ID, the laboratory test date of that record, and the anti-DNA antibody level reported in it - nothing else. Order the results by patient ID, and if several lab test records share the highest level, list each of them.", + "evidence": "Anti-DNA antibody level means the anti-DNA test result recorded in the laboratory tests." + }, + { + "instance_id": "bird397", + "db": "thrombosis_prediction", + "question": "Among patients who have ever had an anti-ribonuclear protein (anti-RNP) antibody result above 16 on any laboratory reading, whenever it was taken, how many were admitted to the hospital and how many were followed at the outpatient clinic? Please give one row per care setting, using '+' for admitted to the hospital and '-' for followed at the outpatient clinic, showing the number of such patients in each setting.", + "evidence": "" + }, + { + "instance_id": "bird398", + "db": "thrombosis_prediction", + "question": "Among the thrombosis registry patients followed at the outpatient clinic, how many have a non-normal hematocrit and an anti-ribonuclear protein measurement above 16? I need a single count. A patient counts if they have at least one hematocrit reading outside the normal range, regardless of test date, and at least one anti-ribonuclear protein reading above 16, regardless of test date. Include every patient in the registry, not only those with a recorded thrombosis event.", + "evidence": "Hematocrit is normal when the value lies strictly between 29 and 52; outside that range it is abnormal. A negative anti-ribonuclear protein result means none was detected." + }, + { + "instance_id": "bird399", + "db": "thrombosis_prediction", + "question": "For the patients followed at our thrombosis unit's outpatient clinic, what is the highest anti-ribonuclear protein value on record? I just need that single highest value for my review.", + "evidence": "Anti-ribonuclear protein (anti-RNP) is a blood antibody test result recorded for patients." + }, + { + "instance_id": "bird400", + "db": "thrombosis_prediction", + "question": "I'm studying patients who carry exactly the rheumatoid arthritis and Sjögren's syndrome overlap. Please look at each patient's own record and find those whose record names exactly rheumatoid arthritis and Sjögren's syndrome, in either order, and no other disease – a disease recorded only as suspected does not count as a diagnosis. For those patients, considering their whole recorded laboratory history regardless of date, I need two numbers: how many have had at least one laboratory result showing a normal platelet level, and how many have never had a laboratory result showing a normal platelet level – count a patient with no laboratory results at all as never having had a normal platelet result.", + "evidence": "Rheumatoid arthritis is recorded as the code RA and Sjögren's syndrome as the code SJS. A normal platelet level means a platelet count above 100 and below 400." + }, + { + "instance_id": "bird401", + "db": "thrombosis_prediction", + "question": "I'm writing a report section on abnormal total protein in female SLE patients and need one summary figure. Among the laboratory records of female patients diagnosed with systemic lupus erythematosus at an examination visit, where total protein is above the normal bound of 8.5, what is the average deviation of total protein from that bound across all qualifying records, rounded to three decimal places? A few points: an examination visit counts as an SLE diagnosis when systemic lupus erythematosus is among the diseases that visit's diagnosis lists, whether it's the only one or appears alongside others; the normal bound is 8.5, and a record counts as above the bound only when its TP is greater than 8.5; a record's deviation is its TP minus 8.5; and the average should cover all qualifying laboratory records across all dates.", + "evidence": "SLE: systemic lupus erythematosus." + }, + { + "instance_id": "bird402", + "db": "thrombosis_prediction", + "question": "What percentage of patients in the registry with a diagnosis of psoriatic arthritis were born in 1960 or later? Please give a single percentage rounded to one decimal place.", + "evidence": "Psoriatic arthritis is a rheumatologic diagnosis recorded for patients in the registry." + }, + { + "instance_id": "bird403", + "db": "thrombosis_prediction", + "question": "I'm putting together a demographic summary of our low-albumin patients. Could you tell me how many patients with an albumin measurement below 3.5 are female and how many are male? I'd like one row per sex group showing the sex (F or M) and the number of patients in that group.", + "evidence": "F stands for female and M stands for male." + }, + { + "instance_id": "bird404", + "db": "thrombosis_prediction", + "question": "I'm preparing a department audit on how often anti-ribonuclear protein testing comes back clearly elevated among the women in the thrombosis cohort. Among the women in the cohort, what percentage of those with an available anti-ribonuclear protein test result had a clearly elevated result? Please give me the percentage rounded to two decimal places on the 0-100 scale. Note: elevated means a titer strictly above 1:64. Patients never tested for anti-ribonuclear protein should be excluded from both the numerator and the denominator, while a negative reading counts as an available result and is never elevated.", + "evidence": "Anti-ribonuclear protein is a serology test reported as a titer reading; a negative reading is a result of zero titer." + }, + { + "instance_id": "bird405", + "db": "thrombosis_prediction", + "question": "What was the average age of the register's patients in 1999, considering all patients who ever had marked or worse proteinuria on a lab test? Age in 1999 means 1999 minus the patient's year of birth. Marked or worse proteinuria means grade 3 or 4 on the original scale, or 300, 1000 or above on the scale used since 1987; traces and grades 1 and 2 don't count. I just need the one average number, in years.", + "evidence": "U-PRO = proteinuria result of a laboratory test; TR = traces of proteinuria." + }, + { + "instance_id": "bird406", + "db": "thrombosis_prediction", + "question": "I'm looking at patients whose anti-ribonuclear protein antibody measurement came out higher than 32. Of those patients, how many were women and how many were men? Note that 'higher than 32' means strictly above 32, not equal to it, and a patient qualifies if any of their laboratory measurements exceeded 32.", + "evidence": "A woman means a patient recorded as F, and a man means a patient recorded as M." + }, + { + "instance_id": "bird407", + "db": "thrombosis_prediction", + "question": "I'm studying how early in life a patient in the thrombosis cohort can show a high anti-ribonuclear protein (RNP) reading. Please tell me the youngest age, in whole years, at which a patient had a laboratory test showing an anti-RNP result of at least 64. Age in whole years means the year of the test minus the year of birth. If several patients or tests share that youngest age, report that age once. I just need that single youngest age value, nothing else.", + "evidence": "Anti-ribonuclear protein (RNP): an antibody measured in the laboratory panel, reported as a titer number or as negative." + }, + { + "instance_id": "bird408", + "db": "thrombosis_prediction", + "question": "For the patients in the registry with a diagnosis of psoriatic arthritis, I'd like to know: (1) the total number of laboratory tests recorded for these patients, counting tests from all dates, and (2) how many of these patients have no laboratory tests recorded at all (i.e., patients with no laboratory record count as having no laboratory tests).", + "evidence": "Psoriatic arthritis: a rheumatic disease diagnosis." + }, + { + "instance_id": "bird409", + "db": "thrombosis_prediction", + "question": "For our annual report, I need the count of patients in the thrombosis cohort who showed thrombosis at any examination performed between 01/01/1997 and 12/31/1997, inclusive. Please give me just that number of patients.", + "evidence": "Thrombosis refers to the formation of blood clots, recorded at each examination as a graded finding." + }, + { + "instance_id": "bird410", + "db": "thrombosis_prediction", + "question": "I'm putting together a monitoring checklist for SLE patients. Among the thrombotic episodes recorded for patients diagnosed with SLE, which single symptom appears most frequently? I just need the symptom name back. Please count all recorded episodes with no date restriction. If two symptoms are equally frequent, give the one that comes first alphabetically. Note that a patient counts as having SLE only if their own diagnosis record names SLE among their diseases.", + "evidence": "SLE: systemic lupus erythematosus, an autoimmune disease. Thrombotic episode: an episode in which the patient experienced thrombosis." + }, + { + "instance_id": "bird411", + "db": "thrombosis_prediction", + "question": "In our autoimmune disease cohort, what percentage of thrombosis patients were diagnosed with SLE at the examination visit? I need the percentage on a 0-100 scale, rounded to two decimal places. Please use the diagnosis recorded at the examination visit, not the diagnosis on the patient's overall file. This is for a write-up on which diagnoses accompany thrombotic events in this cohort.", + "evidence": "SLE: systemic lupus erythematosus, an autoimmune disease; thrombosis: formation of a blood clot within a blood vessel" + }, + { + "instance_id": "bird412", + "db": "thrombosis_prediction", + "question": "For the thrombosis cohort, I need to describe how long admitted patients typically wait from their first hospital visit until their first examination. Please give me the average delay in days across admitted patients, based on each patient's own first visit and first examination, rounded to the nearest whole number. A patient counts as admitted whenever her admission entry carries a plus sign, regardless of anything else in that entry.", + "evidence": "" + }, + { + "instance_id": "bird413", + "db": "thrombosis_prediction", + "question": "For a demographics summary of our 1994 laboratory cohort: how many female patients and how many male patients had a normal AST glutamic oxaloacetic transaminase (GOT) index on laboratory tests done during the calendar year 1994? Please give me the patient count for each sex (F and M) and nothing else. The calendar year 1994 means laboratory test dates from 1994-01-01 through 1994-12-31.", + "evidence": "AST glutamic oxaloacetic transaminase (GOT) index within normal range means a value below 60." + }, + { + "instance_id": "bird414", + "db": "thrombosis_prediction", + "question": "I'm reviewing thrombosis ward patients and need a chart-review list. Can you give me, for every patient who had a single lab visit where the panel showed both an LDH result strictly between 600 and 800 and urine protein of 300 mg/dL or more, the patient ID and their completed age in years as of 2026-10-09? If any one visit's panel shows both findings, that patient qualifies. Please note that a proteinuria result reported as \"at least\" a level counts at that stated level (e.g., \"at least 300\" counts as 300 mg/dL or more), and a plain number is in mg/dL. Nothing else needed, just patient ID and completed age.", + "evidence": "Proteinuria result codes: '-' means negative, 'TR' means trace." + }, + { + "instance_id": "bird415", + "db": "thrombosis_prediction", + "question": "For the RA patients whose urea nitrogen was within the normal index, how many more women are there than men? Please give me a single integer: the count of women minus the count of men. Women means sex F and men means sex M, and the difference may be negative.", + "evidence": "Within the UN normal index means UN < 30; RA means a Diagnosis of RA." + }, + { + "instance_id": "bird416", + "db": "thrombosis_prediction", + "question": "I'm reviewing renal function in the thrombosis cohort and want to compare how often creatinine runs out of the normal range between men and women. For each sex (M and F), please give me: the number of patients of that sex with at least one creatinine result out of the normal range, the total number of patients of that sex, and the share those patients represent of that sex's total as a percentage rounded to one decimal place. Rules: out of the normal range means a creatinine result of 1.5 or higher; the total per sex counts every patient of that sex on file whether or not any lab result exists for them.", + "evidence": "Creatinine out of the normal range: a CRE value of 1.5 or higher. Male is SEX = 'M'; female is SEX = 'F'." + }, + { + "instance_id": "bird417", + "db": "thrombosis_prediction", + "question": "In this cohort, I want to compare the most extreme total cholesterol (T-CHO) readings between patients admitted to the hospital and those followed at the outpatient clinic. Please give me, for each of the two groups, the single highest T-CHO reading, along with the admission status ('+' admitted, '-' outpatient) and the patient ID whose reading is the group's highest. List the admitted group's row first, then the outpatient group's. If several patients tie at a group's highest reading, list each of them.", + "evidence": "T-CHO: total cholesterol. '+': the patient was admitted to the hospital. '-': the patient was followed at the outpatient clinic." + }, + { + "instance_id": "bird418", + "db": "thrombosis_prediction", + "question": "Among patients whose first visit to the hospital was in 1991, which patients mounted the strongest anti-ribonuclear protein (RNP) response? Please give me the patient ID and anti-RNP level for every patient tied at the highest recorded level. Only consider patients for whom a level was actually recorded.", + "evidence": "anti-ribonuclear protein (RNP): an antibody titer; a higher titer means a higher level." + }, + { + "instance_id": "bird419", + "db": "thrombosis_prediction", + "question": "I'm reviewing the 1991 lab records of the thrombosis cohort, checking whether heavy proteinuria went hand in hand with lower hematocrit that year, as a sign of anemia in kidney involvement. Among the laboratory tests done in 1991 that reported proteinuria of at least 300 mg/dL, what was the average hematocrit value? Please note: proteinuria levels are measured in mg/dL; a proteinuria result reported only as a lower bound that the reading reached or exceeded still counts as being at least that level; a trace result is below 30 mg/dL; and tests without a hematocrit reading should be left out of the average.", + "evidence": "" + }, + { + "instance_id": "bird420", + "db": "thrombosis_prediction", + "question": "I'm putting together a care-setting summary of severe SLE cases for the rheumatology department. Among patients diagnosed with SLE, considering only those whose only diagnosis is SLE and who had abnormally high proteinuria, how many were admitted to the hospital and how many were followed at the outpatient clinic? Please count each patient based on their full history at the hospital.", + "evidence": "Abnormally high proteinuria means a proteinuria level of 30 or higher." + }, + { + "instance_id": "bird421", + "db": "thrombosis_prediction", + "question": "How many patients in our thrombosis ward are followed at the outpatient clinic (rather than admitted) with a normal Rheumatoid Factor and no positive measure of degree of coagulation? Please give me a single number. For context: a normal Rheumatoid Factor is '-' or '+-', a positive measure of degree of coagulation is '+' on any of the coagulation measures (KCT, RVVT, LAC), and an outpatient-clinic patient is one with Admission = '-'. If a patient has no recorded coagulation measure, count them as having no positive measure.", + "evidence": "" + }, + { + "instance_id": "bird422", + "db": "thrombosis_prediction", + "question": "I'm reviewing our cohort and need to identify patients whose most recent laboratory sample on file was collected after 1 January 1997 (strictly later than that date) and whose most recent anti-Scl-70 result on file was normal. Please return only the patient IDs for these patients.", + "evidence": "anti-Scl-70: anti-topoisomerase I antibody, an autoantibody measured in the laboratory. A normal anti-Scl-70 result is a result of 'negative' or 0." + }, + { + "instance_id": "bird423", + "db": "thrombosis_prediction", + "question": "I'd like to know how many patients on record have both an abnormal anti-SSA antibody result and a positive proteinuria finding at some point in their record. Abnormal anti-SSA means any recorded test result other than negative or zero. Proteinuria counts as positive if any urine test on file returned a result other than negative or none. The two findings don't need to come from the same visit – I'm looking across each patient's entire record. Please just give me the number of such patients.", + "evidence": "anti-SSA: anti-SSA antibody laboratory test; proteinuria: protein found in the urine" + }, + { + "instance_id": "bird424", + "db": "thrombosis_prediction", + "question": "For a study of laboratory test patterns, I need to size a cohort. How many female patients have at least one anti-DNA antibody level below 8 (the upper bound of the normal range)? Any laboratory visit of the patient qualifies; there is no time scope. I just need that single count back.", + "evidence": "anti-DNA level: the anti-DNA antibody concentration measured in the laboratory tests" + }, + { + "instance_id": "bird425", + "db": "thrombosis_prediction", + "question": "For patients admitted to the hospital, how many never had an alkaliphosphatase level above the normal ceiling in their lab results? I just need that single count.", + "evidence": "A patient is admitted when their status is anything other than the outpatient-clinic code; the outpatient-clinic code is '-' and admitted is '+'. A normal alkaliphosphatase level is below 300; a level of 300 or more is above the normal ceiling." + }, + { + "instance_id": "bird426", + "db": "thrombosis_prediction", + "question": "Among patients in the thrombosis prediction database whose creatinine level is normal (below 1.5), what is the highest anti-RNP antibody level recorded? Please return just that single number; if several measurements tie for the highest, the tied value is the answer.", + "evidence": "Anti-RNP antibody = anti-ribonuclear protein antibody, measured by the laboratory panel." + }, + { + "instance_id": "bird427", + "db": "thrombosis_prediction", + "question": "I'd like to see how severe anemia is distributed across the sexes in the registry. Please give me, for each sex, the number of patients of that sex who ever showed severe anemia on any lab test, with the rows labeled 'female' and 'male'.", + "evidence": "Severe anemia means a hemoglobin value below 7.0 g/dL on a lab test." + }, + { + "instance_id": "bird428", + "db": "thrombosis_prediction", + "question": "Among the laboratory tests whose AST glutamic oxaloacetic transaminase (GOT) index was above the normal range (60 or higher), I want to find the test with the highest anti-ribonuclear protein reading. Please give me the patient's identification, the date of the laboratory test, and the anti-ribonuclear protein reading for that test. If several tests tie for the highest anti-ribonuclear protein reading, list every one of them. The date should be the date the laboratory test was performed.", + "evidence": "AST glutamic oxaloacetic transaminase (GOT) index: a liver enzyme measurement; values of 60 or higher are considered above the normal range." + }, + { + "instance_id": "bird429", + "db": "thrombosis_prediction", + "question": "I'm screening our thrombosis cohort for a study and need an eligibility count. How many patients born after 1980-01-01 had at least one abnormal fibrinogen result or at least one severe proteinuria result? A fibrinogen result is abnormal if it's below 150 or above 450; the normal range 150-450 is inclusive. Severe proteinuria means 300 mg/dl or more on the urinalysis scale, i.e., dipstick 3+ or 4+; trace, 1+ and 2+ are not severe. I just need the single count, nothing else.", + "evidence": "Urinalysis protein scale: '-' and '0' mean no protein, 'TR' means trace, grades '1','2','3','4' mean 1+ to 4+, where 3+ is about 300 mg/dl and 4+ about 1000 mg/dl or more; a plain number is a reading in mg/dl, and a '>=' prefix means 'or more'." + }, + { + "instance_id": "bird430", + "db": "thrombosis_prediction", + "question": "In the thrombosis and autoimmune-disease cohort, I want to compare how often lactate dehydrogenase stays in the normal range between patients admitted to the hospital and patients followed at the outpatient clinic. Please give me one row per patient group showing the number of lactate dehydrogenase measurements within the normal range recorded for that group, with the admitted group's row first. Label the rows 'admitted to the hospital' for the Admission = '+' group and 'followed at the outpatient clinic' for the Admission = '-' group. Every laboratory measurement recorded for those patients across the whole study period counts. Nothing else is needed.", + "evidence": "The normal range for lactate dehydrogenase means a value below 500." + }, + { + "instance_id": "bird431", + "db": "thrombosis_prediction", + "question": "For patients whose sex is not recorded in the registry, I need two counts for the annual quality report: how many have at least one laboratory result on file, and of those, how many have at least one laboratory result showing elevated total bilirubin. The report covers all dates.", + "evidence": "A patient's sex is not recorded when the registry holds no sex entry for that patient. Total bilirubin of 2.0 or higher counts as elevated." + }, + { + "instance_id": "bird432", + "db": "thrombosis_prediction", + "question": "For an audit, I need the number of admitted female patients born between 1945 and 1989 (inclusive) who have an ANA examination where the observed pattern is exactly P, with no other pattern alongside it. Please return just that single count.", + "evidence": "ANA pattern: the pattern observed in the ANA examination, e.g. 'P' or 'P,S'; the admission mark starting with a plus indicates the patient was admitted." + }, + { + "instance_id": "bird433", + "db": "thrombosis_prediction", + "question": "I'm screening outpatient clinic patients with anemia for rheumatologic autoimmunity. Among patients who were followed as outpatients (rather than admitted to the hospital) and who ever had a hemoglobin value below 10 on any lab test, who showed the strongest anti-ribonuclear protein antibody response? Please return, for every patient whose anti-ribonuclear protein antibody level reached the highest point ever recorded on their lab tests (list all of them if several share that highest level): the patient ID, the patient's sex, and that highest-ever recorded anti-ribonuclear protein antibody level. Nothing else.", + "evidence": "Anti-ribonuclear protein refers to the antibody measured in the laboratory tests (anti-RNP)." + }, + { + "instance_id": "bird434", + "db": "thrombosis_prediction", + "question": "Among the patients in the thrombosis prediction data, how many have a first laboratory record showing both a normal glutamic oxaloacetic transaminase (GOT) level and an elevated anti-ribonuclear protein (RNP) concentration? By normal GOT I mean a value below 60, and by elevated RNP I mean a value above 10. By first laboratory record I mean the one with the earliest laboratory test date for that patient. I need just a single count of these patients.", + "evidence": "GOT stands for glutamic oxaloacetic transaminase (also known as aspartate aminotransferase, AST); RNP stands for anti-ribonuclear protein." + }, + { + "instance_id": "bird435", + "db": "thrombosis_prediction", + "question": "I'm reviewing the current kidney involvement status of the thrombosis prediction cohort. For every patient who has had a proteinuria test, I need their patient identifier, sex, the date of their most recent proteinuria test, and the proteinuria level measured on that test. \"Most recent\" means the latest proteinuria test by test date.", + "evidence": "A proteinuria test is a test that measures the level of protein in the urine; the proteinuria level is the result value it reports." + }, + { + "instance_id": "bird436", + "db": "thrombosis_prediction", + "question": "I'm screening the thrombosis cohort for a follow-up panel. Can you give me the patient ids of outpatients (patients followed at the outpatient clinic rather than admitted) whose creatinine phosphokinase is in the normal range (below 250) but whose anti-ribonuclear protein antibody level is above 4 (strictly greater than 4)? Please note that an anti-ribonuclear protein result reported as negative means no antibody was detected. I just need the patient ids, nothing else.", + "evidence": "" + }, + { + "instance_id": "bird437", + "db": "thrombosis_prediction", + "question": "I'd like to know how many patients in the cohort have a positive anti-ribonuclear protein (RNP) result but no thrombosis. A positive RNP result means the anti-ribonuclear protein level is above 0, and no thrombosis means the thrombosis degree is 0. Please return just the number of such patients.", + "evidence": "" + }, + { + "instance_id": "bird438", + "db": "thrombosis_prediction", + "question": "I'm reviewing patients with an elevated anti-ribonuclear protein result. Among patients who ever had an anti-ribonuclear protein result of 16 or higher, I want to follow up the three whose liver enzymes stayed in the normal range. The normal range for GPT is below 60. For each patient, take their highest GPT value among their laboratory tests that fall in the normal range. Rank patients from that highest value down; if two patients share the same value, the one with the smaller patient ID comes first. Please return exactly three patients, one row per patient, with only each patient's Birthday.", + "evidence": "GPT stands for glutamic pyruvic transaminase, a liver enzyme; anti-ribonuclear protein is an autoantibody measured in laboratory tests." + }, + { + "instance_id": "bird439", + "db": "thrombosis_prediction", + "question": "I'm trying to size a subgroup in the thrombosis cohort: how many female patients had a normal prothrombin time (below 14 seconds) along with an elevated anti-ribonuclear protein level (16 or higher)? Please use the prothrombin time and anti-ribonuclear protein level from the same laboratory record for each patient. I just need the count of such female patients.", + "evidence": "Normal prothrombin time: below 14 seconds. Elevated anti-ribonuclear protein: a measured level of 16 or higher." + }, + { + "instance_id": "bird440", + "db": "thrombosis_prediction", + "question": "Among inpatients (admission marked '+'), find the laboratory anti-DNA antibody test with the highest recorded level, and report the patient's age in completed years at that test date and the patient's diagnosis. If several tests share the highest level, use the one with the earliest test date.", + "evidence": "An inpatient is a patient admitted to the hospital: the Admission record is marked '+' (a '-' marks an outpatient followed at the clinic). Age in completed years means the age at the last birthday reached on or before the test date. The anti-DNA antibody level is a laboratory reading reported alongside the other antibody tests." + }, + { + "instance_id": "bird441", + "db": "thrombosis_prediction", + "question": "I need to find lupus patients with liver lab abnormalities. Can you give me the ID and sex of every patient who has at least one total bilirubin (T-BIL) result at or above the upper normal limit of 1.2 mg/dL, and who has a confirmed diagnosis of systemic lupus erythematosus (SLE)? SLE counts if it's among the patient's confirmed diagnoses, even when other diseases are diagnosed or suspected alongside it, but a suspected SLE alone doesn't count. The diagnosis should be the patient's overall diagnosis, not something noted at a single examination. Please order results by sex, then patient ID, and return only the ID and sex.", + "evidence": "T-BIL: total bilirubin; SLE: systemic lupus erythematosus; susp.: suspected, not a confirmed diagnosis" + }, + { + "instance_id": "bird442", + "db": "thrombosis_prediction", + "question": "I'm reviewing how often older female patients show elevated anti-RNP antibody results, split by whether they were admitted to the hospital or followed at the outpatient clinic. For female patients aged at least 50 as of 2026-10-09, please give me a two-row breakdown by care setting (admitted to the hospital vs. followed at the outpatient clinic), showing for each setting how many patients had at least one anti-RNP laboratory result of at least 4, and how many had no such result. A patient's admission marker of '+' counts as admitted to the hospital and '-' counts as followed at the outpatient clinic; patients with any other admission marker are out of scope. Order the two rows alphabetically by care setting.", + "evidence": "anti-RNP: anti-ribonuclear protein antibody, measured in laboratory results; admission marker: the patient's recorded admission sign." + }, + { + "instance_id": "bird443", + "db": "thrombosis_prediction", + "question": "I'm putting together a cohort summary and need one number: how many patients followed at the outpatient clinic (admission marker '-') have a most recent IgG lab result of 2000 or higher? By most recent, I mean the IgG measurement with the greatest laboratory date for that patient - since a patient has at most one lab record per date, there should be no ambiguity.", + "evidence": "" + }, + { + "instance_id": "bird444", + "db": "thrombosis_prediction", + "question": "Among all patients diagnosed with systemic lupus erythematosus, I want to find the patient whose anti-DNA test result was the strongest ever recorded for that disease. Please report the patient's identifier, the patient's diagnosis, and that patient's highest anti-DNA test result, using the number exactly as the test wrote it. If several patients tie for the highest anti-DNA result, list every tied patient.", + "evidence": "Systemic lupus erythematosus (SLE) is an autoimmune disease; anti-DNA is an antibody test reported as a number." + }, + { + "instance_id": "bird445", + "db": "thrombosis_prediction", + "question": "For our thrombosis study cohort, I'd like to know how often patients have a normal IgG status at their most recent check, broken down by care setting. Please give me, for patients admitted to the hospital and for patients followed at the outpatient clinic, the percentage of that setting's patients whose most recent IgG measurement was normal. The percentage should be out of every patient in that setting, so patients who never had an IgG measurement count toward the denominator but not the numerator. Please round to one decimal place, and label the two results exactly as 'admitted to the hospital' and 'followed at the outpatient clinic'.", + "evidence": "An IgG measurement is considered normal when it is above 900 and below 2000." + }, + { + "instance_id": "bird446", + "db": "thrombosis_prediction", + "question": "In the thrombosis prediction cohort, I'd like to know whether the female predominance I saw for strongly positive anti-RNP results across follow-up also holds at patients' current status. Please give me a single integer: the number of female patients whose most recent visit shows a strongly positive anti-RNP result, minus the number of male patients whose most recent visit shows such a result. Use only the result at each patient's most recent visit, not earlier visits. A strongly positive anti-RNP result means a level of 32 or higher.", + "evidence": "anti-ribonuclear protein (RNP): an autoantibody measured in the laboratory work-up; visit: a date on which the patient's laboratory tests were performed" + }, + { + "instance_id": "bird447", + "db": "thrombosis_prediction", + "question": "In the thrombosis prediction cohort, I want to gauge how often the most recent anti-ribonuclear protein measurement among female patients was markedly elevated while CPK stayed low at that same measurement. Please give me a single integer: the number of female patients whose most recent anti-ribonuclear protein titer was above 64 and whose CPK from that same laboratory record was below 250. Above 64 means strictly greater than 64, and below 250 means strictly less than 250.", + "evidence": "Anti-ribonuclear protein is an autoantibody measured as a titer in the blood; a negative result means the antibody was not detected." + }, + { + "instance_id": "bird448", + "db": "thrombosis_prediction", + "question": "I'm preparing a capacity report for the lupus service. Among the patients whose profile lists a confirmed SLE diagnosis (not just suspected), I need: (1) how many were admitted to the hospital as inpatients, (2) how many were followed at the outpatient clinic, and (3) what percentage of the confirmed-SLE patients who were in one of these two care settings were inpatients. Please round the percentage to two decimals.", + "evidence": "SLE means systemic lupus erythematosus. A disease name followed by 'susp' (e.g., 'SLE susp') means only suspected, not confirmed, and does not count." + }, + { + "instance_id": "bird449", + "db": "thrombosis_prediction", + "question": "I'm putting together a renal-involvement review. Could you pull the demographics of patients who show both marked tissue damage and clinically significant proteinuria? Specifically, I need the patient ID, sex, and birthday of every patient who has at least one LDH result of 500 or higher and at least one urinary protein result of 100 mg/dL or more. A few details: an LDH of exactly 500 counts, and a urinary protein of exactly 100 mg/dL counts. The qualifying LDH and the qualifying urinary protein don't have to come from the same lab visit. Please give me one row per patient, ordered by patient ID, and nothing beyond those three fields.", + "evidence": "Urinary protein is reported in mg/dL; a dipstick grade may carry the equivalent concentration in mg/dL in parentheses, e.g. '+2(100)' is 100 mg/dL. A result written as '>=' followed by a value means at least that many mg/dL, e.g. '>=300' is 300 mg/dL or more. 'TR' means a trace and '-' means none detected; any other marker is not a quantified mg/dL concentration. An LDH of 500 or higher is outside the normal range." + }, + { + "instance_id": "bird450", + "db": "thrombosis_prediction", + "question": "Some registered patients have unknown thrombosis status because no examination has ever been recorded under their patient number. How many of these patients are women and how many are men? Please give me one row per sex with the sex of the patients and the number of such patients of that sex, and nothing else.", + "evidence": "F is the code for female and M is the code for male in the patient profile." + }, + { + "instance_id": "bird451", + "db": "thrombosis_prediction", + "question": "I need the number of female patients whose first visit to the hospital fell in 1998 (1 January 1998 through 31 December 1998) and who were admitted to the hospital. Only count patients whose sex is recorded as female; if there is no sex entry, don't count them.", + "evidence": "An admission mark beginning with a plus sign means the patient was admitted to the hospital; a minus sign means the patient was followed at the outpatient clinic." + }, + { + "instance_id": "bird452", + "db": "thrombosis_prediction", + "question": "I'm reviewing confirmed SLE cases for a study of neurologic involvement. Among patients whose examination lists SLE among the diagnosed diseases and who have a symptom recorded at such an examination, I need the case detail of the youngest such patient. Please send me the symptom recorded at that qualifying examination and that patient's overall diagnosis (their overall diagnosis, not the diagnosis written at the examination). If two patients share the same birth date, use the one with the smaller patient ID; and if that patient has more than one qualifying examination, use the most recent one.", + "evidence": "SLE is systemic lupus erythematosus. A disease name followed by 'susp' means the disease was only suspected, not diagnosed." + }, + { + "instance_id": "bird453", + "db": "thrombosis_prediction", + "question": "I'm auditing inpatient intake during the February 1998 admission wave. Among patients first seen at the hospital in the second half of February 1998 (visit date from 15 to 28 February 1998), find the oldest inpatient at first presentation and give me that patient's diagnosis only. If two patients tie in age, use the one with the smaller patient ID.", + "evidence": "'Inpatient' means the patient was admitted to the hospital rather than followed at the outpatient clinic, regardless of whether the record notes extra detail about the admission." + }, + { + "instance_id": "bird454", + "db": "thrombosis_prediction", + "question": "I'm summarizing anti-cardiolipin IgM levels for lupus patients. What was the average anti-cardiolipin IgM concentration across examinations performed between 1993-10-01 and 1993-10-31 (both days inclusive) in which systemic lupus erythematosus (SLE) was diagnosed? Please round the average to 1 decimal place.", + "evidence": "SLE = systemic lupus erythematosus" + }, + { + "instance_id": "bird455", + "db": "thrombosis_prediction", + "question": "How many patients in the thrombosis prediction cohort have a diagnosis of psoriatic arthritis? The count should cover every patient ever recorded in the registry, with no restriction to a time period or follow-up status. I just need that single number.", + "evidence": "Psoriatic arthritis: a chronic inflammatory joint and skin disease belonging to the rheumatic diagnoses." + }, + { + "instance_id": "bird456", + "db": "thrombosis_prediction", + "question": "I need to size a comparison group for my study of liver-enzyme abnormalities. How many patients in the registry have never had an ALT result above the normal range? Please give me the count broken down by sex: the number of male patients and the number of female patients. Every patient in the registry counts, including patients with no laboratory results at all, since they have never had an abnormal result. The report should cover exactly the two sexes, male and female.", + "evidence": "ALT is measured by the GPT laboratory value; a GPT result of 60 or higher exceeds the normal range." + }, + { + "instance_id": "bird457", + "db": "thrombosis_prediction", + "question": "For patients with at least one red-blood-cell result below 3.5 (RBC), I need a breakdown by care setting: how many patients were admitted to the hospital (+) versus followed at the outpatient clinic (-), and the average completed age of each group on 2026-10-09, rounded to one decimal place. Age means completed years on 2026-10-09.", + "evidence": "Red-blood-cell result below 3.5 (RBC); admission status + marks a patient admitted to the hospital, - marks a patient followed at the outpatient clinic." + }, + { + "instance_id": "bird458", + "db": "thrombosis_prediction", + "question": "Among the patients who have laboratory test records on file, how many are female and how many are male? Please give me one line for the female patients and one line for the male patients, each showing the sex and the number of patients of that sex.", + "evidence": "" + }, + { + "instance_id": "bird459", + "db": "thrombosis_prediction", + "question": "I'm studying antiphospholipid antibodies in Sjögren's syndrome (SJS). Could you tell me the average anti-cardiolipin IgM concentration among SJS patients, rounded to two decimal places? To clarify: use only patients with an established SJS diagnosis recorded at the patient level (a diagnosis marked 'susp', such as 'SJS susp', is only a suspicion and those patients should not be included). Include every examination recorded for these patients regardless of date. A recorded anti-cardiolipin IgM value of 0 means the antibody was not detected at that examination, so treat it as no measurement and leave it out of the average - count only examinations where a concentration was detected.", + "evidence": "SJS is the abbreviation used for Sjögren's syndrome; a diagnosis marked 'susp' (e.g. 'SJS susp') is only a suspicion of the disease, not an established diagnosis." + }, + { + "instance_id": "bird460", + "db": "thrombosis_prediction", + "question": "How many female patients have a Sjögren's syndrome diagnosis recorded in a medical examination? Please count across the full examination history with no date restriction, and note that suspected cases don't count—only an actual SjS diagnosis should be included. I just need that single number.", + "evidence": "SjS is the standard medical abbreviation for Sjögren's syndrome, and the diagnosis is recorded under that abbreviation." + }, + { + "instance_id": "bird461", + "db": "thrombosis_prediction", + "question": "How many patients who were never admitted to the hospital (outpatient follow-up only) had at least one normal anti-ribonuclear protein (RNP) result? A normal RNP result means the test found no anti-ribonuclear protein antibody: a negative result, or a measured value of zero. I just need a single number.", + "evidence": "anti-ribonuclear protein (RNP): an antibody test" + }, + { + "instance_id": "bird462", + "db": "thrombosis_prediction", + "question": "I'd like to know, among patients who have at least one normal anti-SM laboratory result (recorded as 'negative' or '0') and whose examinations show no thrombosis, how many have ever had significant proteinuria on any laboratory record. Significant proteinuria means 30 mg/dl or more; '-' and 'TR' count as no proteinuria. I only need the number of such patients.", + "evidence": "anti-SM: normal is recorded as 'negative' or '0'; proteinuria is measured semi-quantitatively as '-', 'TR', or the approximate daily urinary protein excretion in mg/dl" + }, + { + "instance_id": "bird463", + "db": "thrombosis_prediction", + "question": "Which patients followed at the outpatient clinic have both an abnormal red blood cell count and a positive anti-ribonuclear protein antibody result? Please return the patient IDs. Note: the two findings don't need to be from the same laboratory visit - a patient qualifies if at least one lab test shows an abnormal RBC and at least one, possibly different, lab test shows a positive anti-ribonuclear protein antibody. Here, a positive anti-ribonuclear protein antibody means a titer above zero, an abnormal RBC means RBC <= 3.5 or RBC >= 6.0, and outpatient follow-up means Admission = '-'.", + "evidence": "" + }, + { + "instance_id": "bird464", + "db": "thrombosis_prediction", + "question": "In our autoimmune-cohort registry, I'm profiling young patients with strongly positive anti-RNP findings. What is the average age, in years, of the patients who were younger than 70 as of 2026-10-09 and who have at least one anti-RNP result of 64 or higher? Please give the average as a single number to one decimal place.", + "evidence": "anti-ribonuclear protein (anti-RNP) result: the reading recorded for a patient's anti-RNP test in the laboratory record" + }, + { + "instance_id": "bird465", + "db": "thrombosis_prediction", + "question": "I'd like a single number: how many female patients in the thrombosis prediction data have a laboratory record showing a normal white blood cell count, an abnormal fibrinogen level, and an anti-ribonuclear protein (RNP) reading above 15, considering all recorded laboratory dates?", + "evidence": "A normal white blood cell count means strictly between 3.5 and 9.0; an abnormal fibrinogen level means at most 150 or at least 450." + }, + { + "instance_id": "bird466", + "db": "thrombosis_prediction", + "question": "As part of our clinical audit I'm profiling patients born between 1936 and 1956 inclusive who never had a creatinine phosphokinase (CPK) result above the normal range. A CPK of 250 or higher counts as above the normal range, and patients with no CPK results on record count as never having exceeded it. For that group, please give me the women's percentage of the group's men and women, rounded to one decimal place.", + "evidence": "Creatinine phosphokinase (CPK) of 250 or higher is above the normal range." + }, + { + "instance_id": "bird467", + "db": "thrombosis_prediction", + "question": "I'm preparing a case series on early renal involvement and need to size my cohort. How many patients were under age 50 on the day of a laboratory test performed between 1 January 1981 and 31 December 1986 inclusive, had a platelet count from 100 through 400 at that test, and showed proteinuria at that test? Age means completed years on the day of the test, so under 50 is strictly below 50. The platelet range is inclusive. I just need the number of patients satisfying all conditions.", + "evidence": "A patient showed proteinuria at a test when that test's dipstick reading reports protein: a dash or zero means no protein was found, a number is the amount of protein found, TR stands for trace protein, and a reading written in percent signs is the dipstick saturated, the strongest reading." + }, + { + "instance_id": "bird468", + "db": "toxicology", + "question": "Among molecules containing at least one single bond, what is the average number of oxygen atoms per molecule? Include molecules with no oxygen and round to four decimal places.", + "evidence": "The '-' bond-type symbol denotes a single bond." + }, + { + "instance_id": "bird469", + "db": "toxicology", + "question": "Among carcinogenic molecules with at least one single bond, what is the average number of single bonds per molecule?", + "evidence": "In this dataset, '+' denotes a carcinogenic molecule and '-' denotes a single bond." + }, + { + "instance_id": "bird470", + "db": "toxicology", + "question": "Which elements have the fewest atom occurrences across non-carcinogenic molecules? Include all elements tied for the minimum.", + "evidence": "A '-' carcinogenicity label means non-carcinogenic." + }, + { + "instance_id": "bird471", + "db": "toxicology", + "question": "How many distinct iodine atoms and distinct sulfur atoms, respectively, participate in at least one single bond?", + "evidence": "The '-' bond-type symbol denotes a single bond." + }, + { + "instance_id": "bird472", + "db": "toxicology", + "question": "Among carcinogenic molecules, what percentage contain no fluorine atoms? Round to two decimal places.", + "evidence": "A '+' carcinogenicity label means carcinogenic." + }, + { + "instance_id": "bird473", + "db": "toxicology", + "question": "What is the most common bond type in molecule TR010, and is that molecule carcinogenic? Return the bond type and YES or NO.", + "evidence": "In this dataset, a molecule labeled '+' is carcinogenic; a molecule labeled '-' is not." + }, + { + "instance_id": "bird474", + "db": "toxicology", + "question": "What are the bonds that have phosphorus and nitrogen as their atom elements?", + "evidence": "" + }, + { + "instance_id": "bird475", + "db": "toxicology", + "question": "List the distinct elements of atoms that do not participate in any bond.", + "evidence": "" + }, + { + "instance_id": "bird476", + "db": "toxicology", + "question": "How many atoms occur in molecules that have at least one triple bond and at least one phosphorus or bromine atom?", + "evidence": "The '#' bond-type symbol denotes a triple bond." + }, + { + "instance_id": "bird477", + "db": "toxicology", + "question": "Among all atoms in molecules containing at least one single bond, what percentage are chlorine atoms? Round to four decimal places.", + "evidence": "The '-' bond-type symbol denotes a single bond." + }, + { + "instance_id": "bird478", + "db": "toxicology", + "question": "What fraction of all atoms in molecule TR006 are hydrogen? Give the fraction and the molecule's recorded carcinogenicity label.", + "evidence": "" + }, + { + "instance_id": "bird479", + "db": "toxicology", + "question": "I want to know whether molecular saturation is associated with carcinogenicity in our compound library. Please report, for molecules in which every bond is a single bond: the number of carcinogenic molecules minus the number of non-carcinogenic molecules. And for all other molecules: the same difference (carcinogenic count minus non-carcinogenic count). Rules: label '+' means the molecule is carcinogenic; label '-' means non-carcinogenic; bond type '-' denotes a single bond; each molecule belongs to exactly one of the two groups.", + "evidence": "In the labels, '+' indicates a carcinogenic molecule and '-' indicates a non-carcinogenic molecule; for bond types, '-' indicates a single bond." + }, + { + "instance_id": "bird480", + "db": "toxicology", + "question": "In our toxicology library, how many carbon-carbon pairs joined by a double bond are there in total across the carcinogenic compounds? I want a single number for the whole library.", + "evidence": "A compound is carcinogenic when its label is '+' and non-carcinogenic when its label is '-'. In the bond notation, '-' is a single bond, '=' is a double bond, and '#' is a triple bond." + }, + { + "instance_id": "bird481", + "db": "toxicology", + "question": "Among the molecules labeled '+' (carcinogenic), which chemical element is the most common among the atoms that take part in at least one bond? Also give the percentage of all atoms in those '+' molecules that this element accounts for, rounded to two decimal places. Count the percentage over every atom of the '+' molecules, whether or not it takes part in a bond. If several elements tie for most common, report each of them.", + "evidence": "" + }, + { + "instance_id": "bird482", + "db": "toxicology", + "question": "For the molecule containing atom TR041_10, I'd like to know the molecule id, whether it's carcinogenic (YES or NO), and the number of multiple bonds in that molecule. Please use the rule that a molecule labeled '+' is carcinogenic (YES) and one labeled '-' is not (NO).", + "evidence": "" + }, + { + "instance_id": "bird483", + "db": "toxicology", + "question": "For the carcinogenic molecules in the toxicology database, how many carbon-carbon bonds are there of each bond type (single, double, and triple)? Please give me the bond type and the corresponding count.", + "evidence": "A molecule labelled '+' is carcinogenic. Bond types are recorded as follows: a single bond as '-', a double bond as '=', and a triple bond as '#'. A carbon-carbon bond is a bond whose two bonded atoms are both carbon." + }, + { + "instance_id": "bird484", + "db": "toxicology", + "question": "I want to know how widely chlorine atoms bond to other atoms across the toxicology database. Please give me a single number: the count of atoms that bond with chlorine atoms. Nothing else.", + "evidence": "Chlorine means the element recorded under the code cl." + }, + { + "instance_id": "bird485", + "db": "toxicology", + "question": "I'm studying the immediate chemical environment of sulfur atoms in carcinogenic molecules. Please tell me, as a single number, how many atoms are directly bonded to a sulfur atom in carcinogenic molecules. A molecule labeled '+' is carcinogenic; a molecule labeled '-' is not.", + "evidence": "Sulfur refers to the element 's'. A direct bond is a bond between two atoms." + }, + { + "instance_id": "bird486", + "db": "toxicology", + "question": "I'm compiling bond records of unusual carcinogenic molecules for a structural alert review. Please find the bonds that belong to carcinogenic molecules (labelled '+') that contain an element recorded for no other molecule in the dataset. Note that this search covers the whole dataset, so an element counts as belonging to no other molecule when no molecule other than the one at hand records it. For each such bond, return only the bond id and molecule id.", + "evidence": "A '+' label means carcinogenic." + }, + { + "instance_id": "bird487", + "db": "toxicology", + "question": "I'm building a control group of nitrogen-containing structures for a carcinogenicity review. How many molecules in the database contain at least one nitrogen atom, where none of those nitrogen atoms takes part in a double bond or a triple bond? A nitrogen held only by single bonds is fine; any nitrogen in a double or triple bond disqualifies the molecule. Molecules with no nitrogen at all don't count. I just need the single number of such molecules.", + "evidence": "Nitrogen refers to the element code 'n'; '=' denotes a double bond; '#' denotes a triple bond; '-' denotes a single bond." + }, + { + "instance_id": "bird488", + "db": "toxicology", + "question": "In the toxicology database, how many atoms are bonded to chlorine atoms, taken across all molecules? I want a single number. By chlorine I mean the element 'cl'.", + "evidence": "cl: chlorine" + }, + { + "instance_id": "bird489", + "db": "toxicology", + "question": "For a report on structural features of carcinogenic compounds, I'm looking at compounds that form a triple bond. Among those, what percent are labeled carcinogenic and what percent are labeled non-carcinogenic, each rounded to two decimal places? The two percents should sum to 100, apart from rounding.", + "evidence": "Label '+' means carcinogenic; label '-' means non-carcinogenic." + }, + { + "instance_id": "bird490", + "db": "toxicology", + "question": "I'm characterizing how strongly rare chemical elements are integrated into the molecular skeleton of carcinogenic compounds. For every carcinogenic molecule that contains at least one atom of an element that appears in no other molecule in the database, I want the number of bonds its atoms of that element take part in. Please judge an element's rarity over every molecule in the database, carcinogenic or not. Return the molecule_id and that bond count for each qualifying molecule, one row per molecule, sorted by molecule_id.", + "evidence": "'+' is the label of a carcinogenic molecule, '-' of a non-carcinogenic one; a bond is a link between two atoms of a molecule." + }, + { + "instance_id": "bird491", + "db": "toxicology", + "question": "I'd like a ranked inventory of every molecule in the toxicology database that contains at least one carbon atom. For each qualifying molecule, give me its molecule id, carcinogenicity label, number of atoms, number of bonds, number of carbon atoms, number of chlorine atoms, number of carbon-touching bonds, and number of multiple bonds - one row per molecule, including molecules where some of these counts are zero. Rank the rows from the most carbon-touching bonds to the fewest; break ties by larger total atom count, then by molecule id ascending. Give consecutive rank positions 1, 2, 3, ... with no gaps after ties.", + "evidence": "A carbon-touching bond is a bond with a carbon atom at one of its ends; a bond between two carbon atoms counts as one bond. A multiple bond is a double or triple bond. The carcinogenicity label '+' means carcinogenic, '-' means not carcinogenic." + }, + { + "instance_id": "bird492", + "db": "toxicology", + "question": "I'm studying the hydrogen bonding pattern of the molecule that contains the yttrium atom. How many bonds in that molecule have a hydrogen atom at one end? Just give me the single overall count, please.", + "evidence": "An yttrium atom has element symbol Y; a hydrogen atom has element symbol H." + }, + { + "instance_id": "bird493", + "db": "toxicology", + "question": "As part of a connectivity review, I'd like to know how heavily atoms are connected in molecule TR397: what is the average number of bonds an atom of TR397 has? Please give me just that one number, rounded to two decimal places.", + "evidence": "" + }, + { + "instance_id": "bird494", + "db": "toxicology", + "question": "I'm studying bond patterns in compounds that are not carcinogenic. For each element, how many double or triple bonds join a carbon atom to an atom of that element, across all non-carcinogenic molecules? Give me one row per element with the element and its count of such bonds—nothing else.", + "evidence": "A molecule labeled '-' is not carcinogenic; a molecule labeled '+' is carcinogenic." + }, + { + "instance_id": "bird495", + "db": "toxicology", + "question": "For molecule TR377, I'd like a profile of its bond composition, covering single and double bonds only. For each bond kind, please give me: the bond kind symbol, the number of bonds of that kind in the molecule, and the number of element pairs that bond kind joins. Also include the molecule's carcinogenicity label. List the bond kinds from most frequent to least; if two kinds are equally frequent, list them alphabetically by symbol.", + "evidence": "A single bond is shown as the symbol '-' and a double bond as '='; a molecule label '+' means carcinogenic and '-' means not carcinogenic." + }, + { + "instance_id": "bird496", + "db": "toxicology", + "question": "I'm screening for molecules to flag for follow-up. Can you give me the molecule_id of the first three molecules, in alphabetical order, that are non-carcinogenic, contain at least one metal atom, and have single bonds between their atoms? Please return only the molecule ids.", + "evidence": "A molecule label of '-' means the molecule is non-carcinogenic. A bond type of '-' means a single bond between two atoms. The metals are sodium (na), potassium (k), calcium (ca), copper (cu), zinc (zn), tin (sn), lead (pb), magnesium (mg) and lithium (li)." + }, + { + "instance_id": "bird497", + "db": "toxicology", + "question": "I'm profiling the compound library and want to size the fully saturated portion of each element's atom population - atoms attached only by single bonds behave differently from unsaturated sites. For each element symbol in the database, how many atoms are connected only by single bonds and never part of any multiple bond? Please give me one row per element symbol with the element symbol and the number of such atoms, sorted alphabetically by element symbol. This should cover all compounds in the database. Note that an atom with no bonds at all doesn't count as being connected by single bonds, so exclude those.", + "evidence": "A single bond is a bond between two atoms sharing exactly one electron pair, denoted by the bond-type symbol '-'. A multiple bond is a double or triple bond, i.e. a bond between two atoms sharing more than one electron pair." + }, + { + "instance_id": "bird498", + "db": "toxicology", + "question": "In the toxicology compound database, which elements take part in a triple bond, and how widely are they distributed across the tested compounds? For each such element, give me its element symbol and the number of molecules that contain that element. Order the results from the most widespread element to the least; where two elements have equal counts, list them alphabetically by element symbol.", + "evidence": "The '#' bond-type symbol denotes a triple bond." + }, + { + "instance_id": "bird499", + "db": "toxicology", + "question": "For molecule TR397, I want to see which elements form the bonding skeleton. For each element present among its atoms, how many atoms of that element take part in at least one bond? Please report two things per row: the element symbol (e.g. c, h, o) and the number of that element's atoms in TR397 that take part in a bond. One row per element, ordered alphabetically by element symbol. Only atoms belonging to TR397 should count.", + "evidence": "Takes part in a bond: the atom is one of the two atoms a bond joins." + } + ], + "db_sha256": { + "california_schools": "c0903eec662e63068fd1d14403d3d6c1d473287fc10c4356333ea58f878db983", + "card_games": "c98bdb57fe7474da798b407785544b9af0daaad5d61fd21e2a73309493bc1227", + "codebase_community": "92101be6d2a9f6adceea59d38f6d1c556087f9eea1432432a21268cb1348036d", + "debit_card_specializing": "b3d149ad05746dbbe5116e229e17e18f09c39db43cf117d9ef3441753608b691", + "european_football_2": "f72f5c9b990371417288a67b27a02e601ef904d45525c2c9f7931fb01001c536", + "financial": "d15d89cdb068a202b6f2b99342af44dffc1d52545b39ceaf62efdc0ba570101e", + "formula_1": "79770caf966707e35516fa566e24b40ae515c74ec1ec4631235245645b87b24d", + "student_club": "eb89bcfe97eefa386a27904ec5aa15159811a7eac894ec659a36e48fa9f76b77", + "superhero": "75e94a2c3236ee3bb2c01fb97a1c4b4c1c269bcefd4eab1d04be323d2d0825b1", + "thrombosis_prediction": "87583183c3dc472fba04de702965560a9d7c0a548836613f242317e0eeb83f00", + "toxicology": "4df4094208e0799d5e5f0e2b5bc5c415cf87b1208ebaf8f4c14c7af445b682c5" + }, + "suite": "bird", + "development_ids": [ + "bird058", + "bird024", + "bird451", + "bird229", + "bird146", + "bird389", + "bird152", + "bird353", + "bird064", + "bird087", + "bird260", + "bird449", + "bird249", + "bird470", + "bird379", + "bird179", + "bird036", + "bird429", + "bird459", + "bird423" + ], + "holdout_ids": [ + "bird023", + "bird238", + "bird358", + "bird324", + "bird155", + "bird267", + "bird110", + "bird192", + "bird226", + "bird365", + "bird128", + "bird381", + "bird305", + "bird408", + "bird001", + "bird413", + "bird120", + "bird432", + "bird160", + "bird027", + "bird199", + "bird095", + "bird407", + "bird091", + "bird489", + "bird209", + "bird194", + "bird313", + "bird015", + "bird051", + "bird270", + "bird130", + "bird427", + "bird167", + "bird360", + "bird061", + "bird450", + "bird097", + "bird032", + "bird341", + "bird006", + "bird156", + "bird471", + "bird119", + "bird369", + "bird256", + "bird057", + "bird222", + "bird361", + "bird205", + "bird356", + "bird279", + "bird412", + "bird488", + "bird496", + "bird295", + "bird404", + "bird390", + "bird417", + "bird440", + "bird211", + "bird487", + "bird005", + "bird299", + "bird397", + "bird346", + "bird315", + "bird484", + "bird472", + "bird162", + "bird428", + "bird254", + "bird349", + "bird017", + "bird446", + "bird232", + "bird236", + "bird071", + "bird063", + "bird244", + "bird062", + "bird157", + "bird480", + "bird185", + "bird248", + "bird463", + "bird035", + "bird345", + "bird088", + "bird072", + "bird443", + "bird135", + "bird474", + "bird275", + "bird495", + "bird148", + "bird444", + "bird331", + "bird060", + "bird431", + "bird416", + "bird117", + "bird410", + "bird079", + "bird326", + "bird105", + "bird436", + "bird383", + "bird139", + "bird350", + "bird182", + "bird485", + "bird132", + "bird245", + "bird424", + "bird292", + "bird098", + "bird030", + "bird329", + "bird430", + "bird191", + "bird455", + "bird434", + "bird348", + "bird026", + "bird011", + "bird089", + "bird212", + "bird103", + "bird083", + "bird008", + "bird074", + "bird050", + "bird106", + "bird259", + "bird376", + "bird067", + "bird193", + "bird055", + "bird044", + "bird264", + "bird198", + "bird003", + "bird075", + "bird380", + "bird033", + "bird025", + "bird301", + "bird196", + "bird114", + "bird077", + "bird303", + "bird204", + "bird366", + "bird240", + "bird123", + "bird195", + "bird333", + "bird158", + "bird112", + "bird469", + "bird493", + "bird368", + "bird306", + "bird462", + "bird490", + "bird285", + "bird246", + "bird373", + "bird273", + "bird289", + "bird276", + "bird168", + "bird342", + "bird492", + "bird387", + "bird337", + "bird189", + "bird184", + "bird401", + "bird352", + "bird200", + "bird280", + "bird002", + "bird048", + "bird186", + "bird174", + "bird498", + "bird141", + "bird239", + "bird039", + "bird216", + "bird022", + "bird332", + "bird294", + "bird045", + "bird169", + "bird172", + "bird040", + "bird242", + "bird107", + "bird250", + "bird382", + "bird491", + "bird347", + "bird076", + "bird497", + "bird116", + "bird374", + "bird262", + "bird453", + "bird171", + "bird043", + "bird217", + "bird178", + "bird257", + "bird386", + "bird396", + "bird181", + "bird439", + "bird419", + "bird415", + "bird111", + "bird164", + "bird414", + "bird406", + "bird296", + "bird101", + "bird409", + "bird251", + "bird118", + "bird268", + "bird086", + "bird010", + "bird056", + "bird127", + "bird210", + "bird122", + "bird161", + "bird367", + "bird218", + "bird457", + "bird144", + "bird372", + "bird286", + "bird370", + "bird154", + "bird124", + "bird084", + "bird177", + "bird099", + "bird143", + "bird435", + "bird402", + "bird336", + "bird479", + "bird125", + "bird290", + "bird335", + "bird094", + "bird300", + "bird482", + "bird466", + "bird214", + "bird281", + "bird392", + "bird082", + "bird233", + "bird013", + "bird478", + "bird153", + "bird420", + "bird477", + "bird096", + "bird258", + "bird247", + "bird494", + "bird351", + "bird344", + "bird081", + "bird241", + "bird473", + "bird355", + "bird049", + "bird384", + "bird037", + "bird145", + "bird377", + "bird224", + "bird481", + "bird009", + "bird159", + "bird411", + "bird421", + "bird458", + "bird448", + "bird029", + "bird137", + "bird163", + "bird134", + "bird225", + "bird468", + "bird034", + "bird080", + "bird271", + "bird100", + "bird263", + "bird325", + "bird398", + "bird093", + "bird452", + "bird066", + "bird031", + "bird287", + "bird007", + "bird235", + "bird312", + "bird340", + "bird362", + "bird028", + "bird019", + "bird298", + "bird138", + "bird418", + "bird359", + "bird046", + "bird113", + "bird230", + "bird073", + "bird202", + "bird070", + "bird433", + "bird265", + "bird322", + "bird021", + "bird314", + "bird311", + "bird394", + "bird004", + "bird391", + "bird140", + "bird425", + "bird321", + "bird282", + "bird221", + "bird183", + "bird228", + "bird078", + "bird467", + "bird012", + "bird147", + "bird197", + "bird109", + "bird266", + "bird316", + "bird283", + "bird378", + "bird483", + "bird441", + "bird085", + "bird310", + "bird475", + "bird297", + "bird261", + "bird388", + "bird339", + "bird170", + "bird447", + "bird129", + "bird486", + "bird136", + "bird052", + "bird375", + "bird288", + "bird456", + "bird165", + "bird476", + "bird219", + "bird338", + "bird499", + "bird059", + "bird255", + "bird464", + "bird302", + "bird357", + "bird142", + "bird393", + "bird328", + "bird215", + "bird042", + "bird284", + "bird277", + "bird102", + "bird272", + "bird020", + "bird307", + "bird330", + "bird304", + "bird442", + "bird253", + "bird000", + "bird454", + "bird363", + "bird223", + "bird047", + "bird220", + "bird231", + "bird400", + "bird465", + "bird385", + "bird309", + "bird206", + "bird445", + "bird461", + "bird317", + "bird237", + "bird399", + "bird422", + "bird460", + "bird175", + "bird318", + "bird108", + "bird069", + "bird068", + "bird092", + "bird173", + "bird234", + "bird090", + "bird014", + "bird151", + "bird213", + "bird018", + "bird133", + "bird187", + "bird269", + "bird131", + "bird203", + "bird308", + "bird180", + "bird054", + "bird405", + "bird395", + "bird364", + "bird121", + "bird371", + "bird293", + "bird038", + "bird426", + "bird252", + "bird104", + "bird190", + "bird188", + "bird354", + "bird201", + "bird207", + "bird437", + "bird291", + "bird334", + "bird274", + "bird065", + "bird403", + "bird278", + "bird126", + "bird176", + "bird208", + "bird053", + "bird150", + "bird320", + "bird323", + "bird115", + "bird327", + "bird166", + "bird149", + "bird438", + "bird041", + "bird343", + "bird319", + "bird016", + "bird227", + "bird243" + ], + "split_seed": 20261126 +} diff --git a/bench/accuracy/evaluate.py b/bench/accuracy/evaluate.py new file mode 100644 index 00000000..532c3baa --- /dev/null +++ b/bench/accuracy/evaluate.py @@ -0,0 +1,301 @@ +"""Pinned Spider2/BIRD execution accuracy over the real Lang2SQL harness. + +Gold SQL is loaded only by score; inference uses an allowlisted input manifest. +The existing Spider runner owns provider calls, read-only execution and records. +""" + +from __future__ import annotations + +import argparse +import ast +import asyncio +import json +import logging +import os +import random +import subprocess +import time +from pathlib import Path + +from bench.spider2.evaluate import ( + digest, + read_connection, + run_case, + validate_manifest, + write_json, +) +from bench.spider2.evaluate import ( + score as score_spider, +) + +logger = logging.getLogger(__name__) +BIRD_REVISION = "5b256b5a9c17478f06ed6912612e9a14d17065c8" +BIRD_QUESTIONS_SHA = "926af2a0d1b47e5d0d15a7aa8a34d4721007f4550a881555b6a89496b54a2606" +SEED = 20261126 +INPUT_KEYS = { + "instance_id", + "db", + "question", + "evidence", + "external_knowledge", + "document_sha256", +} + + +def split_manifest(manifest, pilot_size): + """Freeze development IDs before model generation or inspection of errors.""" + ids = sorted(c["instance_id"] for c in manifest["cases"]) + random.Random(SEED).shuffle(ids) + manifest["development_ids"] = ids[:pilot_size] + manifest["holdout_ids"] = ids[pilot_size:] + manifest["split_seed"] = SEED + return manifest + + +def prepare(args): + if args.benchmark == "spider2": + manifest = json.loads(Path("bench/spider2/manifest-sqlite135.json").read_text()) + validate_manifest(manifest, args.root, args.db_dir) + else: + if digest(args.questions) != BIRD_QUESTIONS_SHA: + raise ValueError("BIRD annotations differ from pinned release") + rows = [json.loads(line) for line in args.questions.read_text().splitlines()] + # Do not retain gold SQL or any other annotation in inference input. + cases = [ + { + "instance_id": f"bird{r['question_id']:03d}", + "db": r["db_id"], + "question": r["question"], + "evidence": r["evidence"], + } + for r in rows + ] + manifest = { + "benchmark": "BIRD Mini-Dev SQLite 500 (2026-10-25)", + "upstream_commit": BIRD_REVISION, + "question_file_sha256": digest(args.questions), + "evaluator_sha256": digest(args.evaluator), + "cases": cases, + "db_sha256": { + db: digest(args.db_dir / (db + ".sqlite")) + for db in sorted({c["db"] for c in cases}) + }, + } + manifest["suite"] = args.benchmark + write_json(args.output, split_manifest(manifest, args.pilot_size)) + + +def validate_inputs(manifest, db_dir): + ids = [c["instance_id"] for c in manifest["cases"]] + if not ids or len(ids) != len(set(ids)): + raise ValueError("Empty or duplicate cases") + for case in manifest["cases"]: + if set(case) - INPUT_KEYS: + raise ValueError("Unexpected inference fields; gold must never be supplied") + for db, sha in manifest["db_sha256"].items(): + if digest(db_dir / (db + ".sqlite")) != sha: + raise ValueError("Database changed: " + db) + + +async def run(args): + from dotenv import dotenv_values + + manifest = json.loads(args.manifest.read_text()) + validate_inputs(manifest, args.db_dir) + if manifest["suite"] == "spider2": + validate_manifest(manifest, args.root, args.db_dir) + if args.split != "all": + selected = set(manifest[args.split + "_ids"]) + manifest["cases"] = [ + c for c in manifest["cases"] if c["instance_id"] in selected + ] + # A fixed product revision is required; benchmark source is hashed separately. + await asyncio.to_thread( + subprocess.run, + ["git", "diff", "--exit-code", args.product_commit, "--", "src"], + check=True, + ) + if args.output.exists(): + raise ValueError("Output exists; never overwrite or cherry-pick attempts") + profiles = json.loads(args.profiles.read_text()) + env = {**os.environ, **(dotenv_values(args.env_file) if args.env_file else {})} + if not profiles or any(not env.get(p["api_key_env"]) for p in profiles): + raise ValueError("All requested profiles need credentials before starting") + args.output.mkdir(parents=True) + settings = { + "profiles": profiles, + "split": args.split, + "product_commit": args.product_commit, + "manifest_sha256": digest(args.manifest), + "sources": {str(p): digest(p) for p in Path("bench").rglob("*.py")}, + "limits": { + k: getattr(args, k) + for k in ( + "max_calls", + "call_timeout", + "case_timeout", + "sql_timeout", + "max_rows", + "concurrency", + ) + }, + } + write_json(args.output / "manifest.json", manifest) + write_json(args.output / "settings.json", settings) + for profile in profiles: + directory = args.output / profile["name"] + for sub in ("sql", "csv", "records"): + (directory / sub).mkdir(parents=True) + semaphore = asyncio.Semaphore(args.concurrency) + + async def bounded( + case, semaphore=semaphore, directory=directory, profile=profile + ): + async with semaphore: + await run_case( + case, + args.root, + args.db_dir, + directory, + profile, + env[profile["api_key_env"]], + args, + ) + + started = time.monotonic() + await asyncio.gather(*(bounded(case) for case in manifest["cases"])) + write_json( + directory / "status.json", + {"status": "completed", "wall_seconds": time.monotonic() - started}, + ) + + +def load_bird_comparator(path, expected_sha): + """Execute only the pinned upstream pure calculate_ex function, unchanged.""" + if digest(path) != expected_sha: + raise ValueError("BIRD evaluator changed") + module = ast.parse(path.read_text()) + functions = [ + n + for n in module.body + if isinstance(n, ast.FunctionDef) and n.name == "calculate_ex" + ] + if len(functions) != 1: + raise ValueError("Missing official calculate_ex") + namespace = {} + exec( # noqa: S102 — only the hash-pinned upstream comparator + compile(ast.Module(body=functions, type_ignores=[]), str(path), "exec"), + namespace, + ) + return namespace["calculate_ex"] + + +def query_rows(db, sql, timeout, max_rows): + conn = read_connection(db, time.monotonic() + timeout) + try: + rows = conn.execute(sql).fetchmany(max_rows + 1) + if len(rows) > max_rows: + raise ValueError("Row budget exceeded") + return rows + finally: + conn.close() + + +def score(args): + manifest = json.loads((args.output / "manifest.json").read_text()) + validate_inputs(manifest, args.db_dir) + if manifest["suite"] == "spider2": + return score_spider(args.root, args.output) + if digest(args.questions) != manifest["question_file_sha256"]: + raise ValueError("Gold annotations changed") + comparator = load_bird_comparator(args.evaluator, manifest["evaluator_sha256"]) + gold = { + f"bird{r['question_id']:03d}": r + for r in map(json.loads, args.questions.read_text().splitlines()) + } + settings = json.loads((args.output / "settings.json").read_text()) + summaries = [] + for profile in settings["profiles"]: + directory = args.output / profile["name"] + if json.loads((directory / "status.json").read_text())["status"] != "completed": + raise ValueError("Cannot publish partial-run accuracy") + results = [] + for case in manifest["cases"]: + ident = case["instance_id"] + record = json.loads((directory / "records" / (ident + ".json")).read_text()) + db = args.db_dir / (case["db"] + ".sqlite") + # A broken gold/database pairing invalidates scoring, never drops a case. + reference = query_rows( + db, gold[ident]["SQL"], args.sql_timeout, args.max_rows + ) + result = {"instance_id": ident, "score": 0, "status": record["status"]} + if record["status"] == "predicted": + try: + predicted = query_rows( + db, record["sql"], args.sql_timeout, args.max_rows + ) + result["score"] = comparator(predicted, reference) + except Exception as exc: # noqa: BLE001 — prediction errors remain in denominator + result["error_type"] = type(exc).__name__ + logger.warning( + "Scoring prediction failed id=%s error=%s", + ident, + type(exc).__name__, + ) + results.append(result) + write_json(directory / "scores.json", results) + summary = { + "profile": profile["name"], + "correct": sum(r["score"] for r in results), + "total": len(results), + "accuracy": sum(r["score"] for r in results) / len(results), + } + summaries.append(summary) + write_json(args.output / "summary.json", summaries) + print(json.dumps(summaries, indent=2)) + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("command", choices=["prepare", "run", "score"]) + parser.add_argument("--benchmark", choices=["spider2", "bird"]) + for name in ( + "root", + "db-dir", + "output", + "manifest", + "profiles", + "env-file", + "questions", + "evaluator", + ): + parser.add_argument("--" + name, type=Path) + parser.add_argument( + "--split", choices=["development", "holdout", "all"], default="development" + ) + parser.add_argument( + "--product-commit", default="e7f0b0644883b6e3fa760e706fd396cc6730e846" + ) + parser.add_argument("--pilot-size", type=int, default=20) + parser.add_argument("--max-calls", type=int, default=16) + parser.add_argument("--call-timeout", type=float, default=180) + parser.add_argument("--case-timeout", type=float, default=900) + parser.add_argument("--sql-timeout", type=float, default=30) + parser.add_argument("--max-rows", type=int, default=100000) + parser.add_argument("--concurrency", type=int, default=4) + args = parser.parse_args() + if args.root: + args.root = args.root.resolve() + if args.output: + args.output = args.output.resolve() + logging.basicConfig(level=logging.INFO) + if args.command == "run": + asyncio.run(run(args)) + elif args.command == "prepare": + prepare(args) + else: + score(args) + + +if __name__ == "__main__": + main() diff --git a/bench/accuracy/frozen-final.json b/bench/accuracy/frozen-final.json new file mode 100644 index 00000000..4c2bb076 --- /dev/null +++ b/bench/accuracy/frozen-final.json @@ -0,0 +1,21 @@ +{ + "product_commit": "4e1b48a3baa9f8c42b3b61d256b3366b37e66b86", + "model": "openai/gpt-6.2-sol", + "reasoning_effort": "high", + "max_output_tokens": 8192, + "max_calls_including_retries": 16, + "transport_retries": 1, + "concurrency": 4, + "call_timeout": 180, + "case_timeout": 900, + "sql_timeout": 30, + "max_rows": 100000, + "sources": { + "bench/accuracy/evaluate.py": "fb63626cf53df8545262ed75284adf2d78d64cbda5f80543661c4a6c2f51bac7", + "bench/spider2/evaluate.py": "e69628766439b40d4a524d9a23890b9399dd4357f4550fac5ae72f74c2bc91f7", + "bench/spider2/providers.py": "56dec4b5de751acb31a686a2ec6a279be9a8be32dc7939d20487ec428d130aef", + "bench/accuracy/models.json": "53b3188240ea638e367d0dcb4192b2bc412be8e6d6d279f741ceacc8b1965c02", + "src/lang2sql/harness/system_prompt.py": "1ae2f007f93f4546489a9248d6511c23c4fbe21e7c522d3d6a4c8b5e1077595b" + }, + "selection": "Selected on development cases only; inference settings frozen before holdout scoring." +} diff --git a/bench/accuracy/models-astra.json b/bench/accuracy/models-astra.json new file mode 100644 index 00000000..8df389ff --- /dev/null +++ b/bench/accuracy/models-astra.json @@ -0,0 +1 @@ +[{"name":"gpt62-astra", "model":"openai/gpt-6.2-astra", "api_key_env":"OPEN_AI_KEY", "max_output_tokens":8192, "reasoning_effort":"high"}] diff --git a/bench/accuracy/models.json b/bench/accuracy/models.json new file mode 100644 index 00000000..32b13449 --- /dev/null +++ b/bench/accuracy/models.json @@ -0,0 +1,11 @@ +[ + { + "name": "gpt62-sol", + "model": "openai/gpt-6.2-sol", + "api_key_env": "OPEN_AI_KEY", + "max_output_tokens": 8192, + "reasoning_effort": "high", + "transport_retries": 1, + "retry_delay_seconds": 1 + } +] diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/records.jsonl b/bench/accuracy/results/bird-all-final/gpt62-sol/records.jsonl new file mode 100644 index 00000000..78753df9 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/records.jsonl @@ -0,0 +1,500 @@ +{"instance_id": "bird000", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT MAX(f.\"Percent (%) Eligible Free (Ages 5-17)\") AS highest_free_meal_eligibility_rate\nFROM frpm AS f\nJOIN satscores AS s ON s.cds = f.CDSCode\nWHERE s.rtype = 'S'\n AND 1.0 * s.NumGE1500 / NULLIF(s.NumTstTakr, 0) > 0.3;\n```", "rows": 1, "sql": "SELECT MAX(f.\"Percent (%) Eligible Free (Ages 5-17)\") AS highest_free_meal_eligibility_rate\nFROM frpm AS f\nJOIN satscores AS s ON s.cds = f.CDSCode\nWHERE s.rtype = 'S'\n AND 1.0 * s.NumGE1500 / NULLIF(s.NumTstTakr, 0) > 0.3;", "seconds": 16.750126542057842, "calls": [{"seconds": 3.3440056670224294, "usage": {"completion_tokens": 53, "prompt_tokens": 1638, "total_tokens": 1691, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1099, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1099, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1099, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.4660275420174, "usage": {"completion_tokens": 231, "prompt_tokens": 2063, "total_tokens": 2294, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 94, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 425, "cached_tokens": 1099, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 425, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 425, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2761254590004683, "usage": {"completion_tokens": 105, "prompt_tokens": 2504, "total_tokens": 2609, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 441, "cached_tokens": 1524, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 441, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 441, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1584755410440266, "usage": {"completion_tokens": 94, "prompt_tokens": 2734, "total_tokens": 2828, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 230, "cached_tokens": 1965, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 230, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 230, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d58aafb51e06940e4b818a5555e7d65d80e05bea55f61184979bf115bcdd9c9c", "csv_sha256": "04eeecf773a33896240b15b015edc1cc20201d58022c1692b12293c15a50b93f"} +{"instance_id": "bird001", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH local_enrollment AS (\n SELECT CDSCode,\n \"Enrollment (K-12)\" - \"Enrollment (Ages 5-17)\" AS enrollment_difference\n FROM frpm\n WHERE \"Charter Funding Type\" = 'Locally funded'\n)\nSELECT s.School, s.DOCType\nFROM local_enrollment AS e\nJOIN schools AS s ON s.CDSCode = e.CDSCode\nWHERE e.enrollment_difference > (\n SELECT AVG(enrollment_difference)\n FROM local_enrollment\n);\n```", "rows": 49, "sql": "WITH local_enrollment AS (\n SELECT CDSCode,\n \"Enrollment (K-12)\" - \"Enrollment (Ages 5-17)\" AS enrollment_difference\n FROM frpm\n WHERE \"Charter Funding Type\" = 'Locally funded'\n)\nSELECT s.School, s.DOCType\nFROM local_enrollment AS e\nJOIN schools AS s ON s.CDSCode = e.CDSCode\nWHERE e.enrollment_difference > (\n SELECT AVG(enrollment_difference)\n FROM local_enrollment\n);", "seconds": 19.861656166962348, "calls": [{"seconds": 2.7988307089544833, "usage": {"completion_tokens": 51, "prompt_tokens": 1623, "total_tokens": 1674, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1084, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1084, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1084, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6198153330478817, "usage": {"completion_tokens": 142, "prompt_tokens": 2278, "total_tokens": 2420, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 655, "cached_tokens": 1084, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 655, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 655, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.324735875008628, "usage": {"completion_tokens": 150, "prompt_tokens": 2658, "total_tokens": 2808, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 45, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 380, "cached_tokens": 1739, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 380, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 380, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.09472129191272, "usage": {"completion_tokens": 168, "prompt_tokens": 2987, "total_tokens": 3155, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 34, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 329, "cached_tokens": 2119, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 329, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 329, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5172207499854267, "usage": {"completion_tokens": 115, "prompt_tokens": 3806, "total_tokens": 3921, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 819, "cached_tokens": 2448, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 819, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 819, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "4638d2e07c8f3d8c466ee4beb30e6a04724af8e4dca6aa23e611e73d30f521b4", "csv_sha256": "b8c4adee323bae81936062dfdc117dfcfe7587858b45759aa42acc073a143a3f"} +{"instance_id": "bird002", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT s.\"School\",\n ROUND(f.\"Percent (%) Eligible FRPM (K-12)\", 6) AS \"K-12 eligible meal rate\"\nFROM schools AS s\nJOIN frpm AS f ON f.\"CDSCode\" = s.\"CDSCode\"\nWHERE s.\"SOC\" = '66'\nORDER BY f.\"FRPM Count (K-12)\" DESC NULLS LAST, s.\"CDSCode\"\nLIMIT 5;\n```", "rows": 5, "sql": "SELECT s.\"School\",\n ROUND(f.\"Percent (%) Eligible FRPM (K-12)\", 6) AS \"K-12 eligible meal rate\"\nFROM schools AS s\nJOIN frpm AS f ON f.\"CDSCode\" = s.\"CDSCode\"\nWHERE s.\"SOC\" = '66'\nORDER BY f.\"FRPM Count (K-12)\" DESC NULLS LAST, s.\"CDSCode\"\nLIMIT 5;", "seconds": 26.05086566694081, "calls": [{"seconds": 3.1714053750038147, "usage": {"completion_tokens": 65, "prompt_tokens": 1625, "total_tokens": 1690, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1086, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1086, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1086, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.167033125064336, "usage": {"completion_tokens": 99, "prompt_tokens": 2322, "total_tokens": 2421, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 82, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 697, "cached_tokens": 1086, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 697, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 697, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.035728625021875, "usage": {"completion_tokens": 338, "prompt_tokens": 2445, "total_tokens": 2783, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 223, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 123, "cached_tokens": 1783, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 123, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 123, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.973937000031583, "usage": {"completion_tokens": 167, "prompt_tokens": 2953, "total_tokens": 3120, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 101, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 508, "cached_tokens": 1906, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 508, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 508, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.196449792012572, "usage": {"completion_tokens": 130, "prompt_tokens": 3205, "total_tokens": 3335, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 29, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 252, "cached_tokens": 2414, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 252, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 252, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5298155b3db3d8e86e15de8ae0beda942dd5463fd7d0f5a9f3921cee8123c42e", "csv_sha256": "3e1f34500c88d5331fd137417e894137fb67b544a5a553838d83783fc12932be"} +{"instance_id": "bird003", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT 1.0 * COUNT(CASE WHEN DOCType = 'Unified School District' THEN 1 END)\n / NULLIF(COUNT(CASE WHEN DOCType = 'Elementary School District' THEN 1 END), 0) AS ratio\nFROM schools\nWHERE County = 'Orange'\n AND StatusType = 'Merged';\n```", "rows": 1, "sql": "SELECT 1.0 * COUNT(CASE WHEN DOCType = 'Unified School District' THEN 1 END)\n / NULLIF(COUNT(CASE WHEN DOCType = 'Elementary School District' THEN 1 END), 0) AS ratio\nFROM schools\nWHERE County = 'Orange'\n AND StatusType = 'Merged';", "seconds": 33.81665587506723, "calls": [{"seconds": 7.526668917038478, "usage": {"completion_tokens": 49, "prompt_tokens": 1607, "total_tokens": 1656, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1068, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1068, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1068, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.787402749992907, "usage": {"completion_tokens": 231, "prompt_tokens": 2013, "total_tokens": 2244, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 154, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 406, "cached_tokens": 1068, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 406, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 406, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 15.836643834016286, "usage": {"completion_tokens": 739, "prompt_tokens": 3002, "total_tokens": 3741, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 650, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 989, "cached_tokens": 1474, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 989, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 989, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1641661659814417, "usage": {"completion_tokens": 76, "prompt_tokens": 3842, "total_tokens": 3918, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 840, "cached_tokens": 2463, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 840, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 840, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a6e6dabe72e8010024d0bbe5548f96d1cc432b8a150d950af5f53c76a9d348f4", "csv_sha256": "9a5db1d00cdd1d45925830f2d67e0672266a64d3be78a1b8785e4f163f2a5a7c"} +{"instance_id": "bird004", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT sc.MailStreet, sc.School\nFROM satscores AS s\nJOIN schools AS sc ON sc.CDSCode = s.cds\nWHERE s.rtype = 'S'\n AND s.AvgScrMath IS NOT NULL\nORDER BY s.AvgScrMath DESC, s.cds\nLIMIT 1 OFFSET 6;\n```", "rows": 1, "sql": "SELECT sc.MailStreet, sc.School\nFROM satscores AS s\nJOIN schools AS sc ON sc.CDSCode = s.cds\nWHERE s.rtype = 'S'\n AND s.AvgScrMath IS NOT NULL\nORDER BY s.AvgScrMath DESC, s.cds\nLIMIT 1 OFFSET 6;", "seconds": 14.491847667028196, "calls": [{"seconds": 2.8381420410005376, "usage": {"completion_tokens": 52, "prompt_tokens": 1608, "total_tokens": 1660, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1069, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1069, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1069, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.669213999994099, "usage": {"completion_tokens": 112, "prompt_tokens": 2084, "total_tokens": 2196, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 23, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 476, "cached_tokens": 1069, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 476, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 476, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.666413375060074, "usage": {"completion_tokens": 158, "prompt_tokens": 2629, "total_tokens": 2787, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 70, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 545, "cached_tokens": 1545, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 545, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 545, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2969907090300694, "usage": {"completion_tokens": 76, "prompt_tokens": 2888, "total_tokens": 2964, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 259, "cached_tokens": 2090, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 259, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 259, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f98da7af96989c19a8335727e76d6c845f85cfde4ced56fe60bf15c9cc1414a9", "csv_sha256": "87d09b834665a5944116ceba6b12b7fe258a9dbfca9ad95a43face358b270522"} +{"instance_id": "bird005", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT CDSCode) AS school_count\nFROM frpm\nWHERE \"County Name\" = 'Los Angeles'\n AND \"Charter School (Y/N)\" = 0\n AND \"Percent (%) Eligible Free (K-12)\" < 0.0018;\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT CDSCode) AS school_count\nFROM frpm\nWHERE \"County Name\" = 'Los Angeles'\n AND \"Charter School (Y/N)\" = 0\n AND \"Percent (%) Eligible Free (K-12)\" < 0.0018;", "seconds": 14.669303083908744, "calls": [{"seconds": 2.172425542026758, "usage": {"completion_tokens": 51, "prompt_tokens": 1613, "total_tokens": 1664, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1074, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1074, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1074, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.176200375077315, "usage": {"completion_tokens": 244, "prompt_tokens": 2268, "total_tokens": 2512, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 61, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 655, "cached_tokens": 1074, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 655, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 655, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6564158339751884, "usage": {"completion_tokens": 79, "prompt_tokens": 2844, "total_tokens": 2923, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 576, "cached_tokens": 1729, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 576, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 576, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.642622416955419, "usage": {"completion_tokens": 67, "prompt_tokens": 3009, "total_tokens": 3076, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 165, "cached_tokens": 2305, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 165, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 165, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2e6fce02a1a35913fc5ba239d8b93c75738becb0c75a18c8d0eeaef0f8c4ed05", "csv_sha256": "4f90ed716396ff6c067372ef24c56732e0fd9447591f411bb96ad11c5370e365"} +{"instance_id": "bird006", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT s.\"School\",\n 100.0 * f.\"FRPM Count (Ages 5-17)\" / NULLIF(f.\"Enrollment (Ages 5-17)\", 0)\n AS \"Percent (%) Eligible FRPM (Ages 5-17)\"\nFROM \"schools\" AS s\nLEFT JOIN \"frpm\" AS f ON f.\"CDSCode\" = s.\"CDSCode\"\nWHERE s.\"County\" = 'Los Angeles'\n AND s.\"GSserved\" = 'K-9';\n```", "rows": 2, "sql": "SELECT s.\"School\",\n 100.0 * f.\"FRPM Count (Ages 5-17)\" / NULLIF(f.\"Enrollment (Ages 5-17)\", 0)\n AS \"Percent (%) Eligible FRPM (Ages 5-17)\"\nFROM \"schools\" AS s\nLEFT JOIN \"frpm\" AS f ON f.\"CDSCode\" = s.\"CDSCode\"\nWHERE s.\"County\" = 'Los Angeles'\n AND s.\"GSserved\" = 'K-9';", "seconds": 18.718067625071853, "calls": [{"seconds": 2.709037541062571, "usage": {"completion_tokens": 51, "prompt_tokens": 1650, "total_tokens": 1701, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1111, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1111, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1111, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6720155410002917, "usage": {"completion_tokens": 112, "prompt_tokens": 2305, "total_tokens": 2417, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 655, "cached_tokens": 1111, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 655, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 655, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.984577666036785, "usage": {"completion_tokens": 194, "prompt_tokens": 2594, "total_tokens": 2788, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 74, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 289, "cached_tokens": 1766, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 289, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 289, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8416639999486506, "usage": {"completion_tokens": 134, "prompt_tokens": 2987, "total_tokens": 3121, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 393, "cached_tokens": 2055, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 393, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 393, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.480350458994508, "usage": {"completion_tokens": 117, "prompt_tokens": 3295, "total_tokens": 3412, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 308, "cached_tokens": 2448, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 308, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 308, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "05792eb71218468d2f4285e75622476a6c6a9650a0aa38f43a1c5438fd73245e", "csv_sha256": "d77890600bf2de2d7b9664fc346a70bacc78690a7d18287568d0a1536f02aa1b"} +{"instance_id": "bird007", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n 100.0 * f.\"Free Meal Count (K-12)\" / NULLIF(f.\"Enrollment (K-12)\", 0) AS \"Percent (%) Eligible Free (K-12)\",\n f.\"District Code\"\nFROM frpm AS f\nJOIN schools AS s ON s.CDSCode = f.CDSCode\nWHERE 'Alusine' IN (s.AdmFName1, s.AdmFName2, s.AdmFName3);\n```", "rows": 1, "sql": "SELECT\n 100.0 * f.\"Free Meal Count (K-12)\" / NULLIF(f.\"Enrollment (K-12)\", 0) AS \"Percent (%) Eligible Free (K-12)\",\n f.\"District Code\"\nFROM frpm AS f\nJOIN schools AS s ON s.CDSCode = f.CDSCode\nWHERE 'Alusine' IN (s.AdmFName1, s.AdmFName2, s.AdmFName3);", "seconds": 9.908662291010842, "calls": [{"seconds": 2.356411874992773, "usage": {"completion_tokens": 51, "prompt_tokens": 1653, "total_tokens": 1704, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1114, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1114, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1114, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5676811250159517, "usage": {"completion_tokens": 122, "prompt_tokens": 2308, "total_tokens": 2430, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 655, "cached_tokens": 1114, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 655, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 655, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.962114250054583, "usage": {"completion_tokens": 140, "prompt_tokens": 2578, "total_tokens": 2718, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 31, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 270, "cached_tokens": 1769, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 270, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 270, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e96346e90bc75ffed13c0f5fe4699a510fb5b1a31f590b0177f1011b885795b6", "csv_sha256": "806f1760dd4ff2d5ef69449716826d1e85454095565b7af5c5b45155e09c5c6f"} +{"instance_id": "bird008", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH matching_schools AS (\n SELECT AdmEmail1, AdmEmail2, AdmEmail3\n FROM schools\n WHERE County = 'San Bernardino'\n AND City = 'San Bernardino'\n AND DOCType = 'Unified School District'\n AND SOCType = 'Intermediate/Middle Schools (Public)'\n AND OpenDate >= '2009-01-01'\n AND OpenDate < '2011-01-01'\n), emails AS (\n SELECT TRIM(AdmEmail1) AS email FROM matching_schools\n UNION\n SELECT TRIM(AdmEmail2) FROM matching_schools\n UNION\n SELECT TRIM(AdmEmail3) FROM matching_schools\n)\nSELECT email\nFROM emails\nWHERE email IS NOT NULL AND email <> ''\nORDER BY email;\n```", "rows": 2, "sql": "WITH matching_schools AS (\n SELECT AdmEmail1, AdmEmail2, AdmEmail3\n FROM schools\n WHERE County = 'San Bernardino'\n AND City = 'San Bernardino'\n AND DOCType = 'Unified School District'\n AND SOCType = 'Intermediate/Middle Schools (Public)'\n AND OpenDate >= '2009-01-01'\n AND OpenDate < '2011-01-01'\n), emails AS (\n SELECT TRIM(AdmEmail1) AS email FROM matching_schools\n UNION\n SELECT TRIM(AdmEmail2) FROM matching_schools\n UNION\n SELECT TRIM(AdmEmail3) FROM matching_schools\n)\nSELECT email\nFROM emails\nWHERE email IS NOT NULL AND email <> ''\nORDER BY email;", "seconds": 17.217511874972843, "calls": [{"seconds": 2.6046792920678854, "usage": {"completion_tokens": 19, "prompt_tokens": 1623, "total_tokens": 1642, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1084, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1084, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1084, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.66511337494012, "usage": {"completion_tokens": 163, "prompt_tokens": 1971, "total_tokens": 2134, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 84, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 348, "cached_tokens": 1084, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 348, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 348, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.5431160419248044, "usage": {"completion_tokens": 196, "prompt_tokens": 2288, "total_tokens": 2484, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 317, "cached_tokens": 1432, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 317, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 317, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.375160707975738, "usage": {"completion_tokens": 175, "prompt_tokens": 2695, "total_tokens": 2870, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 407, "cached_tokens": 1749, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 407, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 407, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8b0cbfca84344a345a75c9673e81bced2a0f308b1158405f281dde0f43002383", "csv_sha256": "7c833c2479617501f627181086d30e9677b73de736536f14a82ce7fff4d555ce"} +{"instance_id": "bird009", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH candidates AS (\n SELECT s.NCESSchool, f.\"Enrollment (Ages 5-17)\" AS enrollment\n FROM schools AS s\n JOIN frpm AS f ON f.CDSCode = s.CDSCode\n WHERE s.CDSCode IN ('01751010130583', '01612910137588', '01611760134270')\n)\nSELECT NCESSchool\nFROM candidates\nWHERE enrollment = (SELECT MAX(enrollment) FROM candidates);\n```", "rows": 1, "sql": "WITH candidates AS (\n SELECT s.NCESSchool, f.\"Enrollment (Ages 5-17)\" AS enrollment\n FROM schools AS s\n JOIN frpm AS f ON f.CDSCode = s.CDSCode\n WHERE s.CDSCode IN ('01751010130583', '01612910137588', '01611760134270')\n)\nSELECT NCESSchool\nFROM candidates\nWHERE enrollment = (SELECT MAX(enrollment) FROM candidates);", "seconds": 15.125256249913946, "calls": [{"seconds": 2.5331275410717353, "usage": {"completion_tokens": 51, "prompt_tokens": 1738, "total_tokens": 1789, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1199, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1199, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1199, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.122559207957238, "usage": {"completion_tokens": 176, "prompt_tokens": 2393, "total_tokens": 2569, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 55, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 655, "cached_tokens": 1199, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 655, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 655, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.8654160420410335, "usage": {"completion_tokens": 184, "prompt_tokens": 2796, "total_tokens": 2980, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 63, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 403, "cached_tokens": 1854, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 403, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 403, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.590995333972387, "usage": {"completion_tokens": 105, "prompt_tokens": 3106, "total_tokens": 3211, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 310, "cached_tokens": 2257, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 310, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 310, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5ae082db8f70f068a8c1112c87b8c00beac5db59dc5f9207758933e83140d78d", "csv_sha256": "0eebe7bb878b686b7e974b17a6a0007b6fb0bbdc97bba64654e558ac9735e2d6"} +{"instance_id": "bird010", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(COALESCE(t.NumTstTakr, 0)), 2) AS avg_sat_test_takers_per_school\nFROM schools AS s\nLEFT JOIN satscores AS t ON t.cds = s.CDSCode\nWHERE s.CharterNum = '0756'\n AND s.MailCity = 'San Diego';\n```", "rows": 1, "sql": "SELECT ROUND(AVG(COALESCE(t.NumTstTakr, 0)), 2) AS avg_sat_test_takers_per_school\nFROM schools AS s\nLEFT JOIN satscores AS t ON t.cds = s.CDSCode\nWHERE s.CharterNum = '0756'\n AND s.MailCity = 'San Diego';", "seconds": 18.53366191603709, "calls": [{"seconds": 2.223022583988495, "usage": {"completion_tokens": 19, "prompt_tokens": 1675, "total_tokens": 1694, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1136, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1136, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1136, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.1814314579823986, "usage": {"completion_tokens": 21, "prompt_tokens": 2023, "total_tokens": 2044, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 348, "cached_tokens": 1136, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 348, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 348, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.477625125087798, "usage": {"completion_tokens": 238, "prompt_tokens": 2141, "total_tokens": 2379, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 120, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 118, "cached_tokens": 1484, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 118, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 118, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.053345583961345, "usage": {"completion_tokens": 118, "prompt_tokens": 2652, "total_tokens": 2770, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 27, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 511, "cached_tokens": 1602, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 511, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 511, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5803235420025885, "usage": {"completion_tokens": 79, "prompt_tokens": 2875, "total_tokens": 2954, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 223, "cached_tokens": 2113, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 223, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 223, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "37ffda09bd7847e9ec42532384cf42a42e3e713e4dc6cb438a6fa5b30bd29b76", "csv_sha256": "61ef7d9f0c0caa1d8cfb45d402aa7d2b94658c39bfa8ca892829d097cde5aaee"} +{"instance_id": "bird011", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH eligible AS (\n SELECT s.School AS school_name,\n TRIM(s.GSserved) AS grade_span_served\n FROM schools AS s\n WHERE s.NCESDist = '0613360'\n AND s.StatusType = 'Active'\n AND s.School IS NOT NULL\n AND (TRIM(s.GSserved) = '12' OR TRIM(s.GSserved) LIKE '%-12')\n AND NOT EXISTS (\n SELECT 1\n FROM satscores AS sat\n WHERE sat.cds = s.CDSCode\n AND sat.NumTstTakr > 0\n )\n), starting_grades AS (\n SELECT school_name,\n grade_span_served,\n CASE\n WHEN INSTR(grade_span_served, '-') = 0 THEN grade_span_served\n ELSE TRIM(SUBSTR(grade_span_served, 1, INSTR(grade_span_served, '-') - 1))\n END AS start_grade\n FROM eligible\n), ranked_grades AS (\n SELECT school_name,\n grade_span_served,\n CASE\n WHEN UPPER(start_grade) IN ('P', 'PK', 'PS', 'PRE', 'PRESCHOOL') THEN -2\n WHEN UPPER(start_grade) = 'TK' THEN -1\n WHEN UPPER(start_grade) = 'K' THEN 0\n ELSE CAST(start_grade AS INTEGER)\n END AS grade_order\n FROM starting_grades\n)\nSELECT school_name, grade_span_served\nFROM ranked_grades\nWHERE grade_order = (SELECT MIN(grade_order) FROM ranked_grades)\nORDER BY school_name COLLATE NOCASE;\n```", "rows": 1, "sql": "WITH eligible AS (\n SELECT s.School AS school_name,\n TRIM(s.GSserved) AS grade_span_served\n FROM schools AS s\n WHERE s.NCESDist = '0613360'\n AND s.StatusType = 'Active'\n AND s.School IS NOT NULL\n AND (TRIM(s.GSserved) = '12' OR TRIM(s.GSserved) LIKE '%-12')\n AND NOT EXISTS (\n SELECT 1\n FROM satscores AS sat\n WHERE sat.cds = s.CDSCode\n AND sat.NumTstTakr > 0\n )\n), starting_grades AS (\n SELECT school_name,\n grade_span_served,\n CASE\n WHEN INSTR(grade_span_served, '-') = 0 THEN grade_span_served\n ELSE TRIM(SUBSTR(grade_span_served, 1, INSTR(grade_span_served, '-') - 1))\n END AS start_grade\n FROM eligible\n), ranked_grades AS (\n SELECT school_name,\n grade_span_served,\n CASE\n WHEN UPPER(start_grade) IN ('P', 'PK', 'PS', 'PRE', 'PRESCHOOL') THEN -2\n WHEN UPPER(start_grade) = 'TK' THEN -1\n WHEN UPPER(start_grade) = 'K' THEN 0\n ELSE CAST(start_grade AS INTEGER)\n END AS grade_order\n FROM starting_grades\n)\nSELECT school_name, grade_span_served\nFROM ranked_grades\nWHERE grade_order = (SELECT MIN(grade_order) FROM ranked_grades)\nORDER BY school_name COLLATE NOCASE;", "seconds": 29.789677332970314, "calls": [{"seconds": 2.977161542046815, "usage": {"completion_tokens": 68, "prompt_tokens": 1777, "total_tokens": 1845, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1238, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1238, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1238, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.780934415990487, "usage": {"completion_tokens": 194, "prompt_tokens": 2544, "total_tokens": 2738, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 29, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 767, "cached_tokens": 1238, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 767, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 767, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.29294974997174, "usage": {"completion_tokens": 137, "prompt_tokens": 3400, "total_tokens": 3537, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 17, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 856, "cached_tokens": 2005, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 856, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 856, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.605227749911137, "usage": {"completion_tokens": 591, "prompt_tokens": 3735, "total_tokens": 4326, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 208, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 335, "cached_tokens": 2861, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 335, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 335, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.105868917074986, "usage": {"completion_tokens": 358, "prompt_tokens": 4714, "total_tokens": 5072, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 979, "cached_tokens": 3196, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 979, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 979, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "58bc5b217926ad0da671bcb5617f23225eeceaa9fb458629bd6c81c5d7bda676", "csv_sha256": "83959f1fb8356ab1fc244ed77e41033f62fc538ce16c9b47342da3d1289a73f2"} +{"instance_id": "bird012", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH eligible AS (\n SELECT s.School, s.MailStreet, a.AvgScrRead\n FROM schools AS s\n JOIN satscores AS a ON a.cds = s.CDSCode\n WHERE s.DOCType = 'State Board of Education'\n AND a.rtype = 'S'\n)\nSELECT School, MailStreet\nFROM eligible\nWHERE AvgScrRead = (SELECT MAX(AvgScrRead) FROM eligible);\n```", "rows": 1, "sql": "WITH eligible AS (\n SELECT s.School, s.MailStreet, a.AvgScrRead\n FROM schools AS s\n JOIN satscores AS a ON a.cds = s.CDSCode\n WHERE s.DOCType = 'State Board of Education'\n AND a.rtype = 'S'\n)\nSELECT School, MailStreet\nFROM eligible\nWHERE AvgScrRead = (SELECT MAX(AvgScrRead) FROM eligible);", "seconds": 21.99151212500874, "calls": [{"seconds": 2.8463583750417456, "usage": {"completion_tokens": 66, "prompt_tokens": 1695, "total_tokens": 1761, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1156, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1156, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1156, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2208704999648035, "usage": {"completion_tokens": 58, "prompt_tokens": 2213, "total_tokens": 2271, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 14, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 518, "cached_tokens": 1156, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 518, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 518, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.054030666011386, "usage": {"completion_tokens": 197, "prompt_tokens": 2461, "total_tokens": 2658, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 106, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 248, "cached_tokens": 1674, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 248, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 248, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.381142333033495, "usage": {"completion_tokens": 264, "prompt_tokens": 2795, "total_tokens": 3059, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 151, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 334, "cached_tokens": 1922, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 334, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 334, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4635814579669386, "usage": {"completion_tokens": 98, "prompt_tokens": 3191, "total_tokens": 3289, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 396, "cached_tokens": 2256, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 396, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 396, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6f6f83696ae58102685c7539d914e389b675dfd47d2a3151a079ae80c6712f4d", "csv_sha256": "a4287f7bdc2c5d06028e4db34a23f4e4600cb9eb49866a89123e888ef0a78b04"} +{"instance_id": "bird013", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT s.City\nFROM schools AS s\nWHERE s.CDSCode = '01611920113902'\n AND s.County = 'Alameda'\n AND s.EILCode = 'HS'\n AND EXISTS (\n SELECT 1\n FROM frpm AS f\n WHERE f.CDSCode = s.CDSCode\n AND f.\"NSLP Provision Status\" = 'Breakfast Provision 2'\n AND f.\"Low Grade\" = '9'\n AND f.\"High Grade\" = '12'\n );\n```", "rows": 1, "sql": "SELECT s.City\nFROM schools AS s\nWHERE s.CDSCode = '01611920113902'\n AND s.County = 'Alameda'\n AND s.EILCode = 'HS'\n AND EXISTS (\n SELECT 1\n FROM frpm AS f\n WHERE f.CDSCode = s.CDSCode\n AND f.\"NSLP Provision Status\" = 'Breakfast Provision 2'\n AND f.\"Low Grade\" = '9'\n AND f.\"High Grade\" = '12'\n );", "seconds": 16.82082854199689, "calls": [{"seconds": 2.6085967909311876, "usage": {"completion_tokens": 51, "prompt_tokens": 1697, "total_tokens": 1748, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1158, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1158, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1158, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8591511249542236, "usage": {"completion_tokens": 134, "prompt_tokens": 2352, "total_tokens": 2486, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 655, "cached_tokens": 1158, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 655, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 655, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.641913375002332, "usage": {"completion_tokens": 103, "prompt_tokens": 2617, "total_tokens": 2720, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 265, "cached_tokens": 1813, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 265, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 265, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4894932080060244, "usage": {"completion_tokens": 134, "prompt_tokens": 2899, "total_tokens": 3033, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 282, "cached_tokens": 2078, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 282, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 282, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2107853749766946, "usage": {"completion_tokens": 118, "prompt_tokens": 3170, "total_tokens": 3288, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 271, "cached_tokens": 2360, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 271, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 271, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "428ffe53e31fbfdf6ef04b9c94c05be2c57885fc88cda92f33f5cd918c065245", "csv_sha256": "16cf20c03a76e3db56e9f1c6255276fba74b1e19c9a6eb4f7dd8d642bc07daea"} +{"instance_id": "bird014", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT s.School AS school_name, s.City AS city\nFROM schools AS s\nJOIN frpm AS f ON f.CDSCode = s.CDSCode\nWHERE s.EILCode = 'HS'\n AND f.\"NSLP Provision Status\" = 'Provision 2'\n AND CAST(f.\"Low Grade\" AS INTEGER) > 9\nORDER BY s.School;\n```", "rows": 2, "sql": "SELECT s.School AS school_name, s.City AS city\nFROM schools AS s\nJOIN frpm AS f ON f.CDSCode = s.CDSCode\nWHERE s.EILCode = 'HS'\n AND f.\"NSLP Provision Status\" = 'Provision 2'\n AND CAST(f.\"Low Grade\" AS INTEGER) > 9\nORDER BY s.School;", "seconds": 17.17200679203961, "calls": [{"seconds": 3.101948583032936, "usage": {"completion_tokens": 51, "prompt_tokens": 1668, "total_tokens": 1719, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1129, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1129, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1129, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.1064144159900025, "usage": {"completion_tokens": 242, "prompt_tokens": 2323, "total_tokens": 2565, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 26, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 655, "cached_tokens": 1129, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 655, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 655, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.71959870797582, "usage": {"completion_tokens": 181, "prompt_tokens": 2996, "total_tokens": 3177, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 81, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 673, "cached_tokens": 1784, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 673, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 673, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2239259170601144, "usage": {"completion_tokens": 96, "prompt_tokens": 3305, "total_tokens": 3401, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 7, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 309, "cached_tokens": 2457, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 309, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 309, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7152f59e1474e08b783b2e795cf2eb03aa0eecb3a080f79bb7aa42e6bdfb3876", "csv_sha256": "d3eb6ec095ff7549849b2274b2062ad84178ebd58ecb81011c16806341dbd03c"} +{"instance_id": "bird015", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH eligible AS (\n SELECT s.School, s.Phone, a.NumGE1500\n FROM schools AS s\n JOIN satscores AS a ON a.cds = s.CDSCode\n WHERE s.DOCType = 'Statewide Benefit Charter'\n AND a.rtype = 'S'\n)\nSELECT School, Phone\nFROM eligible\nWHERE NumGE1500 = (SELECT MAX(NumGE1500) FROM eligible);\n```", "rows": 1, "sql": "WITH eligible AS (\n SELECT s.School, s.Phone, a.NumGE1500\n FROM schools AS s\n JOIN satscores AS a ON a.cds = s.CDSCode\n WHERE s.DOCType = 'Statewide Benefit Charter'\n AND a.rtype = 'S'\n)\nSELECT School, Phone\nFROM eligible\nWHERE NumGE1500 = (SELECT MAX(NumGE1500) FROM eligible);", "seconds": 20.409417666029185, "calls": [{"seconds": 3.2425374160520732, "usage": {"completion_tokens": 52, "prompt_tokens": 1704, "total_tokens": 1756, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1165, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1165, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1165, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9106621670071036, "usage": {"completion_tokens": 50, "prompt_tokens": 2180, "total_tokens": 2230, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 476, "cached_tokens": 1165, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 476, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 476, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4964362090686336, "usage": {"completion_tokens": 85, "prompt_tokens": 2535, "total_tokens": 2620, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 355, "cached_tokens": 1641, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 355, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 355, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.130644834018312, "usage": {"completion_tokens": 142, "prompt_tokens": 3354, "total_tokens": 3496, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 819, "cached_tokens": 1996, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 819, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 819, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.236033249995671, "usage": {"completion_tokens": 111, "prompt_tokens": 4036, "total_tokens": 4147, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 682, "cached_tokens": 2815, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 682, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 682, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.356571707990952, "usage": {"completion_tokens": 98, "prompt_tokens": 4280, "total_tokens": 4378, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 244, "cached_tokens": 3497, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 244, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 244, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1f8b907d7b4982be7c8255f6fe4a0965e34066852ef76b758b7b4a831bfb02b1", "csv_sha256": "fe70ed7f1e16ba99f269b353ebe0c409dc4f6298d10c136fcdab8921b6b01cf8"} +{"instance_id": "bird016", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT sat.AvgScrMath, sat.NumTstTakr\nFROM satscores AS sat\nJOIN schools AS s ON s.CDSCode = sat.cds\nWHERE s.CDSCode = '01611190130609'\n AND s.Charter = 1\n AND s.FundingType = 'Directly funded';\n```", "rows": 1, "sql": "SELECT sat.AvgScrMath, sat.NumTstTakr\nFROM satscores AS sat\nJOIN schools AS s ON s.CDSCode = sat.cds\nWHERE s.CDSCode = '01611190130609'\n AND s.Charter = 1\n AND s.FundingType = 'Directly funded';", "seconds": 23.950770832947455, "calls": [{"seconds": 2.6829361660638824, "usage": {"completion_tokens": 68, "prompt_tokens": 1701, "total_tokens": 1769, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1162, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1162, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1162, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.779271709034219, "usage": {"completion_tokens": 222, "prompt_tokens": 2468, "total_tokens": 2690, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 89, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 767, "cached_tokens": 1162, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 767, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 767, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0208529999945313, "usage": {"completion_tokens": 68, "prompt_tokens": 2825, "total_tokens": 2893, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 357, "cached_tokens": 1929, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 357, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 357, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.1875294169876724, "usage": {"completion_tokens": 192, "prompt_tokens": 3056, "total_tokens": 3248, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 96, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 231, "cached_tokens": 2286, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 231, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 231, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.011821125051938, "usage": {"completion_tokens": 120, "prompt_tokens": 3433, "total_tokens": 3553, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 32, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 377, "cached_tokens": 2517, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 377, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 377, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.237059374921955, "usage": {"completion_tokens": 76, "prompt_tokens": 3660, "total_tokens": 3736, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 227, "cached_tokens": 2894, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 227, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 227, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "de5c92fffc53a688b9dc8fe691cd129f610bd35344527e0f9bd03dc37aaa3b4a", "csv_sha256": "8ddeff496c80e984e62de5a4504165ee8c367d3bc6e48bef792f5bf904b6a226"} +{"instance_id": "bird017", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS school_count\nFROM satscores AS s\nWHERE s.rtype = 'S'\n AND s.cname = 'Contra Costa'\n AND s.NumTstTakr > (\n SELECT t.NumTstTakr\n FROM satscores AS t\n WHERE t.cds = '07618040730051' AND t.rtype = 'S'\n );\n```", "rows": 1, "sql": "SELECT COUNT(*) AS school_count\nFROM satscores AS s\nWHERE s.rtype = 'S'\n AND s.cname = 'Contra Costa'\n AND s.NumTstTakr > (\n SELECT t.NumTstTakr\n FROM satscores AS t\n WHERE t.cds = '07618040730051' AND t.rtype = 'S'\n );", "seconds": 16.53856833302416, "calls": [{"seconds": 2.2691163750132546, "usage": {"completion_tokens": 52, "prompt_tokens": 1701, "total_tokens": 1753, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1162, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1162, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1162, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.847330042044632, "usage": {"completion_tokens": 97, "prompt_tokens": 2177, "total_tokens": 2274, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 476, "cached_tokens": 1162, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 476, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 476, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1391079999739304, "usage": {"completion_tokens": 65, "prompt_tokens": 2426, "total_tokens": 2491, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 17, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 249, "cached_tokens": 1638, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 249, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 249, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.760469499975443, "usage": {"completion_tokens": 101, "prompt_tokens": 2584, "total_tokens": 2685, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 158, "cached_tokens": 1887, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 158, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 158, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5064093749970198, "usage": {"completion_tokens": 88, "prompt_tokens": 2792, "total_tokens": 2880, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 208, "cached_tokens": 2045, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 208, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 208, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5191a6d2827f9834fdf25746f3d83856649cf92307a2a5dbdb007902f01718b0", "csv_sha256": "4f90ed716396ff6c067372ef24c56732e0fd9447591f411bb96ad11c5370e365"} +{"instance_id": "bird018", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT sc.CDSCode) AS qualifying_school_count\nFROM schools AS sc\nJOIN satscores AS sat ON sat.cds = sc.CDSCode\nWHERE sc.MailCity = 'San Francisco'\n AND sc.DOCType IN (\n 'Unified School District',\n 'High School District',\n 'Elementary School District',\n 'County Office of Education (COE)'\n )\n AND sat.rtype = 'S'\n AND sat.AvgScrRead + sat.AvgScrMath + sat.AvgScrWrite >= 1500;\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT sc.CDSCode) AS qualifying_school_count\nFROM schools AS sc\nJOIN satscores AS sat ON sat.cds = sc.CDSCode\nWHERE sc.MailCity = 'San Francisco'\n AND sc.DOCType IN (\n 'Unified School District',\n 'High School District',\n 'Elementary School District',\n 'County Office of Education (COE)'\n )\n AND sat.rtype = 'S'\n AND sat.AvgScrRead + sat.AvgScrMath + sat.AvgScrWrite >= 1500;", "seconds": 18.96998866694048, "calls": [{"seconds": 5.944958291947842, "usage": {"completion_tokens": 52, "prompt_tokens": 1704, "total_tokens": 1756, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1165, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1165, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1165, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.511932875029743, "usage": {"completion_tokens": 140, "prompt_tokens": 2180, "total_tokens": 2320, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 51, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 476, "cached_tokens": 1165, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 476, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 476, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.773044166970067, "usage": {"completion_tokens": 177, "prompt_tokens": 2513, "total_tokens": 2690, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 30, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 333, "cached_tokens": 1641, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 333, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 333, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7166055829729885, "usage": {"completion_tokens": 123, "prompt_tokens": 2834, "total_tokens": 2957, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 321, "cached_tokens": 1974, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 321, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 321, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e8b2acc1a84d2f540ebf106274a92bbba24731efd8fad610f41bcd24d9e994b3", "csv_sha256": "ee9d0a5ec33e4260bede17adc8dbc39ec8c68553bc8f9fd0daac0739c121b23f"} +{"instance_id": "bird019", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH starting_grades AS (\n SELECT TRIM(SUBSTR(GSserved, 1, INSTR(GSserved || '-', '-') - 1)) AS grade_level\n FROM schools\n WHERE NCESDist = '0632640'\n), ranked_grades AS (\n SELECT grade_level,\n CASE\n WHEN grade_level = 'P' THEN -2\n WHEN grade_level = 'TK' THEN -1\n WHEN grade_level = 'K' THEN 0\n WHEN grade_level <> '' AND grade_level NOT GLOB '*[^0-9]*'\n THEN CAST(grade_level AS INTEGER)\n END AS grade_order\n FROM starting_grades\n)\nSELECT grade_level\nFROM ranked_grades\nWHERE grade_order IS NOT NULL\nORDER BY grade_order\nLIMIT 1;\n```", "rows": 1, "sql": "WITH starting_grades AS (\n SELECT TRIM(SUBSTR(GSserved, 1, INSTR(GSserved || '-', '-') - 1)) AS grade_level\n FROM schools\n WHERE NCESDist = '0632640'\n), ranked_grades AS (\n SELECT grade_level,\n CASE\n WHEN grade_level = 'P' THEN -2\n WHEN grade_level = 'TK' THEN -1\n WHEN grade_level = 'K' THEN 0\n WHEN grade_level <> '' AND grade_level NOT GLOB '*[^0-9]*'\n THEN CAST(grade_level AS INTEGER)\n END AS grade_order\n FROM starting_grades\n)\nSELECT grade_level\nFROM ranked_grades\nWHERE grade_order IS NOT NULL\nORDER BY grade_order\nLIMIT 1;", "seconds": 17.63236600009259, "calls": [{"seconds": 2.026611583074555, "usage": {"completion_tokens": 19, "prompt_tokens": 1647, "total_tokens": 1666, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1108, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1108, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1108, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.5300343330018222, "usage": {"completion_tokens": 42, "prompt_tokens": 1995, "total_tokens": 2037, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 348, "cached_tokens": 1108, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 348, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 348, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.822515832958743, "usage": {"completion_tokens": 363, "prompt_tokens": 2112, "total_tokens": 2475, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 171, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 117, "cached_tokens": 1456, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 117, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 117, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.229871208895929, "usage": {"completion_tokens": 175, "prompt_tokens": 2664, "total_tokens": 2839, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 552, "cached_tokens": 1573, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 552, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 552, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1778da6ec374ca88b619e118cc6813350c2789eb6faf80a0840b6aae5bc34d09", "csv_sha256": "01e9f78615508de577518492cd5f99ee55f38250458fb6f2065e1178545c0858"} +{"instance_id": "bird020", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH county_records AS (\n SELECT CDSCode AS cds_code,\n substr(CDSCode, 1, 7) AS district_code,\n District AS district_name,\n DOC,\n School,\n AdmFName1,\n AdmFName2,\n AdmFName3\n FROM schools\n WHERE County IN ('Amador', 'Madera')\n),\npublic_districts AS (\n SELECT DISTINCT district_code, district_name\n FROM county_records\n WHERE substr(cds_code, -7) = '0000000'\n AND DOC IN ('00', '52', '54', '56')\n),\nschool_records AS (\n SELECT cds_code, district_code, AdmFName1, AdmFName2, AdmFName3\n FROM county_records\n WHERE substr(cds_code, -7) <> '0000000'\n AND NULLIF(trim(School), '') IS NOT NULL\n),\nschool_admin_names AS (\n SELECT cds_code, district_code, NULLIF(trim(AdmFName1), '') AS first_name\n FROM school_records\n UNION\n SELECT cds_code, district_code, NULLIF(trim(AdmFName2), '')\n FROM school_records\n UNION\n SELECT cds_code, district_code, NULLIF(trim(AdmFName3), '')\n FROM school_records\n),\ntop_names AS (\n SELECT first_name, COUNT(*) AS total_schools\n FROM school_admin_names\n WHERE first_name IS NOT NULL\n GROUP BY first_name\n ORDER BY total_schools DESC, first_name ASC\n LIMIT 2\n)\nSELECT d.district_name,\n t.first_name,\n COUNT(a.cds_code) AS school_count\nFROM public_districts AS d\nCROSS JOIN top_names AS t\nLEFT JOIN school_admin_names AS a\n ON a.district_code = d.district_code\n AND a.first_name = t.first_name\nGROUP BY d.district_code, d.district_name, t.first_name, t.total_schools\nORDER BY d.district_name, d.district_code, t.total_schools DESC, t.first_name;\n```", "rows": 50, "sql": "WITH county_records AS (\n SELECT CDSCode AS cds_code,\n substr(CDSCode, 1, 7) AS district_code,\n District AS district_name,\n DOC,\n School,\n AdmFName1,\n AdmFName2,\n AdmFName3\n FROM schools\n WHERE County IN ('Amador', 'Madera')\n),\npublic_districts AS (\n SELECT DISTINCT district_code, district_name\n FROM county_records\n WHERE substr(cds_code, -7) = '0000000'\n AND DOC IN ('00', '52', '54', '56')\n),\nschool_records AS (\n SELECT cds_code, district_code, AdmFName1, AdmFName2, AdmFName3\n FROM county_records\n WHERE substr(cds_code, -7) <> '0000000'\n AND NULLIF(trim(School), '') IS NOT NULL\n),\nschool_admin_names AS (\n SELECT cds_code, district_code, NULLIF(trim(AdmFName1), '') AS first_name\n FROM school_records\n UNION\n SELECT cds_code, district_code, NULLIF(trim(AdmFName2), '')\n FROM school_records\n UNION\n SELECT cds_code, district_code, NULLIF(trim(AdmFName3), '')\n FROM school_records\n),\ntop_names AS (\n SELECT first_name, COUNT(*) AS total_schools\n FROM school_admin_names\n WHERE first_name IS NOT NULL\n GROUP BY first_name\n ORDER BY total_schools DESC, first_name ASC\n LIMIT 2\n)\nSELECT d.district_name,\n t.first_name,\n COUNT(a.cds_code) AS school_count\nFROM public_districts AS d\nCROSS JOIN top_names AS t\nLEFT JOIN school_admin_names AS a\n ON a.district_code = d.district_code\n AND a.first_name = t.first_name\nGROUP BY d.district_code, d.district_name, t.first_name, t.total_schools\nORDER BY d.district_name, d.district_code, t.total_schools DESC, t.first_name;", "seconds": 32.739585791016, "calls": [{"seconds": 2.2931071660714224, "usage": {"completion_tokens": 19, "prompt_tokens": 1770, "total_tokens": 1789, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1231, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1231, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1231, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.709100459003821, "usage": {"completion_tokens": 125, "prompt_tokens": 2118, "total_tokens": 2243, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 348, "cached_tokens": 1231, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 348, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 348, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.554387583048083, "usage": {"completion_tokens": 190, "prompt_tokens": 3134, "total_tokens": 3324, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 102, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1016, "cached_tokens": 1579, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1016, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1016, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 13.355319541995414, "usage": {"completion_tokens": 797, "prompt_tokens": 3636, "total_tokens": 4433, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 305, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 502, "cached_tokens": 2595, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 502, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 502, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.78827200003434, "usage": {"completion_tokens": 474, "prompt_tokens": 5489, "total_tokens": 5963, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 19, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1853, "cached_tokens": 3097, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1853, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1853, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "225f2a6ebc817189f10c264b01d06c4f8ef92bf3e6b5f1f7d10b5fb548d14e09", "csv_sha256": "158003b06169d3426bff7e2d5b6b18a6d244dad98d24480869f5f24d55020e9e"} +{"instance_id": "bird021", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(COALESCE(f.\"FRPM Count (Ages 5-17)\", 0)), 2) AS average_eligible_students\nFROM schools AS s\nLEFT JOIN frpm AS f\n ON f.CDSCode = s.CDSCode\n AND f.\"Academic Year\" = '2014-2015'\nWHERE s.SOCType = 'Youth Authority Facilities';\n```", "rows": 1, "sql": "SELECT ROUND(AVG(COALESCE(f.\"FRPM Count (Ages 5-17)\", 0)), 2) AS average_eligible_students\nFROM schools AS s\nLEFT JOIN frpm AS f\n ON f.CDSCode = s.CDSCode\n AND f.\"Academic Year\" = '2014-2015'\nWHERE s.SOCType = 'Youth Authority Facilities';", "seconds": 13.643755084020086, "calls": [{"seconds": 2.9025647500529885, "usage": {"completion_tokens": 51, "prompt_tokens": 1691, "total_tokens": 1742, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1152, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1152, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1152, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9121352080255747, "usage": {"completion_tokens": 145, "prompt_tokens": 2346, "total_tokens": 2491, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 655, "cached_tokens": 1152, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 655, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 655, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8879106250824407, "usage": {"completion_tokens": 101, "prompt_tokens": 2704, "total_tokens": 2805, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 358, "cached_tokens": 1807, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 358, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 358, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.913563625072129, "usage": {"completion_tokens": 90, "prompt_tokens": 2918, "total_tokens": 3008, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 214, "cached_tokens": 2165, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 214, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 214, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5506ec4af4cba9404cb5d7222d3c2caa1c31b77471e5fca86f374314fb680580", "csv_sha256": "d08763f0d6f0745d0470d4b457a1cea60dca20787c31fdaeab88c6b15cabba65"} +{"instance_id": "bird022", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT School, EILName\nFROM schools\nWHERE CDSCode = '01612590136051';\n```", "rows": 1, "sql": "SELECT School, EILName\nFROM schools\nWHERE CDSCode = '01612590136051';", "seconds": 11.494232292054221, "calls": [{"seconds": 2.00031933397986, "usage": {"completion_tokens": 19, "prompt_tokens": 1693, "total_tokens": 1712, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1154, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1154, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1154, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.477816208032891, "usage": {"completion_tokens": 38, "prompt_tokens": 2041, "total_tokens": 2079, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 348, "cached_tokens": 1154, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 348, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 348, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.10328862501774, "usage": {"completion_tokens": 91, "prompt_tokens": 2121, "total_tokens": 2212, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 51, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 80, "cached_tokens": 1502, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 80, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 80, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8935699159046635, "usage": {"completion_tokens": 29, "prompt_tokens": 2271, "total_tokens": 2300, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 150, "cached_tokens": 1582, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 150, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 150, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "84d9b4b3d386e5efe061d1455fe703c2215b1900c894997b5b9d2317bf025dfe", "csv_sha256": "2bcb34ceb3d2988fadac4a2e19121284e9929ad9531a45b038e29b4d5f87475e"} +{"instance_id": "bird023", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH eligible_schools AS (\n SELECT s.School, s.AdmEmail1, sat.NumGE1500\n FROM schools AS s\n JOIN satscores AS sat ON sat.cds = s.CDSCode\n WHERE s.DOCType = 'State Board of Education'\n AND sat.rtype = 'S'\n)\nSELECT School, AdmEmail1\nFROM eligible_schools\nWHERE NumGE1500 = (SELECT MAX(NumGE1500) FROM eligible_schools);\n```", "rows": 1, "sql": "WITH eligible_schools AS (\n SELECT s.School, s.AdmEmail1, sat.NumGE1500\n FROM schools AS s\n JOIN satscores AS sat ON sat.cds = s.CDSCode\n WHERE s.DOCType = 'State Board of Education'\n AND sat.rtype = 'S'\n)\nSELECT School, AdmEmail1\nFROM eligible_schools\nWHERE NumGE1500 = (SELECT MAX(NumGE1500) FROM eligible_schools);", "seconds": 18.113065875018947, "calls": [{"seconds": 2.461124832974747, "usage": {"completion_tokens": 52, "prompt_tokens": 1670, "total_tokens": 1722, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1131, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1131, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1131, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.563750999979675, "usage": {"completion_tokens": 27, "prompt_tokens": 2146, "total_tokens": 2173, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 476, "cached_tokens": 1131, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 476, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 476, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.622679207939655, "usage": {"completion_tokens": 159, "prompt_tokens": 2272, "total_tokens": 2431, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 59, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 126, "cached_tokens": 1607, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 126, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 126, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.43266249995213, "usage": {"completion_tokens": 125, "prompt_tokens": 2593, "total_tokens": 2718, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 321, "cached_tokens": 1733, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 321, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 321, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9948725410504267, "usage": {"completion_tokens": 112, "prompt_tokens": 2871, "total_tokens": 2983, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 2054, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ca7062a5743603c504d440fe6c29f149934ab701c403c7bc6cd530a23041cfb8", "csv_sha256": "31b2bc3af34bd5dd6becb8f1a3a2d3aee85e0f79774bb0db33378904df8dbf7f"} +{"instance_id": "bird024", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH middle_schools AS (\n SELECT SOCType, School, Latitude\n FROM schools\n WHERE State = 'CA'\n AND (SOCType LIKE '%Middle%' OR School LIKE '%Middle%')\n)\nSELECT SOCType AS \"School Type\", School AS \"School Name\", Latitude\nFROM middle_schools\nWHERE Latitude = (SELECT MAX(Latitude) FROM middle_schools);\n```", "rows": 1, "sql": "WITH middle_schools AS (\n SELECT SOCType, School, Latitude\n FROM schools\n WHERE State = 'CA'\n AND (SOCType LIKE '%Middle%' OR School LIKE '%Middle%')\n)\nSELECT SOCType AS \"School Type\", School AS \"School Name\", Latitude\nFROM middle_schools\nWHERE Latitude = (SELECT MAX(Latitude) FROM middle_schools);", "seconds": 26.025434459093958, "calls": [{"seconds": 2.577099458896555, "usage": {"completion_tokens": 19, "prompt_tokens": 1747, "total_tokens": 1766, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1208, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1208, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1208, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.718561250017956, "usage": {"completion_tokens": 194, "prompt_tokens": 2095, "total_tokens": 2289, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 145, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 348, "cached_tokens": 1208, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 348, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 348, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4193710000254214, "usage": {"completion_tokens": 94, "prompt_tokens": 3254, "total_tokens": 3348, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1159, "cached_tokens": 1556, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1159, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1159, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.64408795896452, "usage": {"completion_tokens": 333, "prompt_tokens": 4025, "total_tokens": 4358, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 227, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 771, "cached_tokens": 2715, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 771, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 771, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.270012625027448, "usage": {"completion_tokens": 90, "prompt_tokens": 4492, "total_tokens": 4582, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 467, "cached_tokens": 3486, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 467, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 467, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "c3ddfe8d9f6310859123c604562c7a101efe3e69a98c4448a418581afb2d2fd9", "csv_sha256": "8493c6fbd072aa1095e127f8a11e9a7b785f970565f61849ef597393cb65bc07"} +{"instance_id": "bird025", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(COALESCE(sat.NumTstTakr, 0)), 2) AS avg_sat_test_takers\nFROM schools AS s\nLEFT JOIN satscores AS sat\n ON sat.cds = s.CDSCode AND sat.rtype = 'S'\nWHERE s.County = 'Los Angeles'\n AND s.OpenDate >= '2007-01-01'\n AND s.OpenDate < '2008-01-01'\n AND s.School IS NOT NULL\n AND s.DOCType IN (\n 'County Office of Education (COE)',\n 'Elementary School District',\n 'High School District',\n 'Unified School District'\n );\n```", "rows": 1, "sql": "SELECT ROUND(AVG(COALESCE(sat.NumTstTakr, 0)), 2) AS avg_sat_test_takers\nFROM schools AS s\nLEFT JOIN satscores AS sat\n ON sat.cds = s.CDSCode AND sat.rtype = 'S'\nWHERE s.County = 'Los Angeles'\n AND s.OpenDate >= '2007-01-01'\n AND s.OpenDate < '2008-01-01'\n AND s.School IS NOT NULL\n AND s.DOCType IN (\n 'County Office of Education (COE)',\n 'Elementary School District',\n 'High School District',\n 'Unified School District'\n );", "seconds": 22.8630016669631, "calls": [{"seconds": 2.4179100840119645, "usage": {"completion_tokens": 52, "prompt_tokens": 1729, "total_tokens": 1781, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1190, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1190, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1190, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.351394791970961, "usage": {"completion_tokens": 215, "prompt_tokens": 2205, "total_tokens": 2420, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 92, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 476, "cached_tokens": 1190, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 476, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 476, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9602545419475064, "usage": {"completion_tokens": 149, "prompt_tokens": 2631, "total_tokens": 2780, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 426, "cached_tokens": 1666, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 426, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 426, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.824569417047314, "usage": {"completion_tokens": 253, "prompt_tokens": 3067, "total_tokens": 3320, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 79, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 436, "cached_tokens": 2092, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 436, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 436, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.27349295897875, "usage": {"completion_tokens": 151, "prompt_tokens": 3495, "total_tokens": 3646, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 428, "cached_tokens": 2528, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 428, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 428, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "4b2a7339565b8424b41f55b9033c3a72ccfa5fe7b9ae0e9904aa4fb5fc24dcc1", "csv_sha256": "b181e3f4167c8e7a0f6ea62140174ed30fad014730aac759961f4c270ae46840"} +{"instance_id": "bird026", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n s.FundingType AS funding_category,\n COUNT(*) AS active_charter_school_count,\n SUM(f.\"Enrollment (K-12)\") AS total_k12_enrollment_2014_2015,\n ROUND(100.0 * AVG(f.\"Percent (%) Eligible FRPM (K-12)\"), 2) AS avg_k12_frpm_eligible_pct,\n ROUND(AVG(a.AvgScrRead + a.AvgScrMath + a.AvgScrWrite), 2) AS avg_combined_sat_score\nFROM schools AS s\nLEFT JOIN frpm AS f\n ON f.CDSCode = s.CDSCode\n AND f.\"Academic Year\" = '2014-2015'\nLEFT JOIN satscores AS a\n ON a.cds = s.CDSCode\n AND a.rtype = 'S'\nWHERE s.StatusType = 'Active'\n AND s.Charter = 1\n AND s.FundingType IN ('Directly funded', 'Locally funded')\nGROUP BY s.FundingType\nORDER BY s.FundingType;\n```", "rows": 2, "sql": "SELECT\n s.FundingType AS funding_category,\n COUNT(*) AS active_charter_school_count,\n SUM(f.\"Enrollment (K-12)\") AS total_k12_enrollment_2014_2015,\n ROUND(100.0 * AVG(f.\"Percent (%) Eligible FRPM (K-12)\"), 2) AS avg_k12_frpm_eligible_pct,\n ROUND(AVG(a.AvgScrRead + a.AvgScrMath + a.AvgScrWrite), 2) AS avg_combined_sat_score\nFROM schools AS s\nLEFT JOIN frpm AS f\n ON f.CDSCode = s.CDSCode\n AND f.\"Academic Year\" = '2014-2015'\nLEFT JOIN satscores AS a\n ON a.cds = s.CDSCode\n AND a.rtype = 'S'\nWHERE s.StatusType = 'Active'\n AND s.Charter = 1\n AND s.FundingType IN ('Directly funded', 'Locally funded')\nGROUP BY s.FundingType\nORDER BY s.FundingType;", "seconds": 22.030734917032532, "calls": [{"seconds": 2.4544081250205636, "usage": {"completion_tokens": 68, "prompt_tokens": 1806, "total_tokens": 1874, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1267, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1267, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1267, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.655105832964182, "usage": {"completion_tokens": 328, "prompt_tokens": 2573, "total_tokens": 2901, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 40, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 767, "cached_tokens": 1267, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 767, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 767, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.726529916981235, "usage": {"completion_tokens": 317, "prompt_tokens": 3509, "total_tokens": 3826, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 64, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 936, "cached_tokens": 2034, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 936, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 936, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.157555290963501, "usage": {"completion_tokens": 232, "prompt_tokens": 4165, "total_tokens": 4397, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 656, "cached_tokens": 2970, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 656, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 656, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b74f7b66a1114e1b34b8acfae64dd8b5f4ccedbdc4d23dbf866ac3679f39d94d", "csv_sha256": "6e115db70600b024ac8a35e1f443da12d3aca936e3800b5ad9fcf9868e0d7d6d"} +{"instance_id": "bird027", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n f.\"School Name\" AS school_name,\n f.\"Low Grade\" AS earliest_grade_level,\n f.\"Enrollment (K-12)\" AS k12_enrollment,\n COALESCE(s.NumTstTakr, 0) AS sat_test_takers\nFROM frpm AS f\nLEFT JOIN satscores AS s\n ON s.cds = f.CDSCode AND s.rtype = 'S'\nWHERE f.\"Academic Year\" = '2014-2015'\n AND f.\"School Type\" = 'State Special Schools'\nORDER BY\n CASE f.\"Low Grade\"\n WHEN 'P' THEN -1\n WHEN 'K' THEN 0\n ELSE CAST(f.\"Low Grade\" AS INTEGER)\n END DESC,\n f.\"Enrollment (K-12)\" DESC,\n f.\"School Name\" COLLATE NOCASE ASC\nLIMIT 1;\n```", "rows": 1, "sql": "SELECT\n f.\"School Name\" AS school_name,\n f.\"Low Grade\" AS earliest_grade_level,\n f.\"Enrollment (K-12)\" AS k12_enrollment,\n COALESCE(s.NumTstTakr, 0) AS sat_test_takers\nFROM frpm AS f\nLEFT JOIN satscores AS s\n ON s.cds = f.CDSCode AND s.rtype = 'S'\nWHERE f.\"Academic Year\" = '2014-2015'\n AND f.\"School Type\" = 'State Special Schools'\nORDER BY\n CASE f.\"Low Grade\"\n WHEN 'P' THEN -1\n WHEN 'K' THEN 0\n ELSE CAST(f.\"Low Grade\" AS INTEGER)\n END DESC,\n f.\"Enrollment (K-12)\" DESC,\n f.\"School Name\" COLLATE NOCASE ASC\nLIMIT 1;", "seconds": 24.527219541021623, "calls": [{"seconds": 2.8064454580890015, "usage": {"completion_tokens": 68, "prompt_tokens": 1800, "total_tokens": 1868, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1261, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1261, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1261, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.075713917030953, "usage": {"completion_tokens": 254, "prompt_tokens": 2567, "total_tokens": 2821, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 25, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 767, "cached_tokens": 1261, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 767, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 767, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.1397061250172555, "usage": {"completion_tokens": 153, "prompt_tokens": 3182, "total_tokens": 3335, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 615, "cached_tokens": 2028, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 615, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 615, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.024597374955192, "usage": {"completion_tokens": 274, "prompt_tokens": 3669, "total_tokens": 3943, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 57, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 487, "cached_tokens": 2643, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 487, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 487, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.444615458953194, "usage": {"completion_tokens": 194, "prompt_tokens": 4187, "total_tokens": 4381, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 518, "cached_tokens": 3130, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 518, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 518, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2afb475e442ef0f5df5f9de6c617a40d452e6bd8ca50bfc0de9a3af903ca916b", "csv_sha256": "0a9545f38b0db9a13fc9f4053af490eb7be024b8e0d2979d1fcd703511d5f059"} +{"instance_id": "bird028", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT f.CDSCode) AS school_count\nFROM frpm AS f\nWHERE f.\"Enrollment (K-12)\" > 500\n AND TRIM(f.\"High Grade\") IN ('1', '2', '3', '4', '5', '6', '7', '8')\n AND NULLIF(TRIM(f.\"School Name\"), '') IS NOT NULL\n AND f.\"School Code\" <> '0000000'\n AND NOT EXISTS (\n SELECT 1\n FROM satscores AS s\n WHERE s.cds = f.CDSCode\n AND s.rtype = 'S'\n AND s.NumTstTakr > 0\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT f.CDSCode) AS school_count\nFROM frpm AS f\nWHERE f.\"Enrollment (K-12)\" > 500\n AND TRIM(f.\"High Grade\") IN ('1', '2', '3', '4', '5', '6', '7', '8')\n AND NULLIF(TRIM(f.\"School Name\"), '') IS NOT NULL\n AND f.\"School Code\" <> '0000000'\n AND NOT EXISTS (\n SELECT 1\n FROM satscores AS s\n WHERE s.cds = f.CDSCode\n AND s.rtype = 'S'\n AND s.NumTstTakr > 0\n );", "seconds": 39.6776807080023, "calls": [{"seconds": 3.230252332985401, "usage": {"completion_tokens": 82, "prompt_tokens": 1723, "total_tokens": 1805, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1184, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1184, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1184, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.577424416900612, "usage": {"completion_tokens": 164, "prompt_tokens": 2532, "total_tokens": 2696, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 24, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 809, "cached_tokens": 1184, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 809, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 809, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.623283458990045, "usage": {"completion_tokens": 371, "prompt_tokens": 3455, "total_tokens": 3826, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 923, "cached_tokens": 1993, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 923, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 923, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.982846040977165, "usage": {"completion_tokens": 277, "prompt_tokens": 4400, "total_tokens": 4677, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 88, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 945, "cached_tokens": 2916, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 945, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 945, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.005103749921545, "usage": {"completion_tokens": 348, "prompt_tokens": 4970, "total_tokens": 5318, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 165, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 570, "cached_tokens": 3861, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 570, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 570, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.955367540940642, "usage": {"completion_tokens": 196, "prompt_tokens": 5570, "total_tokens": 5766, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 23, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 600, "cached_tokens": 4431, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 600, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 600, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.239994541974738, "usage": {"completion_tokens": 155, "prompt_tokens": 5941, "total_tokens": 6096, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 371, "cached_tokens": 5031, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 371, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 371, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "66d69f2024b1435f24083bd9cfaea467a3fdac6ac04ffc9b368624cf7043d066", "csv_sha256": "4e46321f5c82687196bab7a993970d44652020b7dced1b455b56031baf931840"} +{"instance_id": "bird029", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n f.\"Charter Funding Type\" AS charter_funding_type,\n COUNT(*) AS active_school_count,\n SUM(f.\"Enrollment (K-12)\") AS total_k12_enrollment,\n SUM(f.\"FRPM Count (K-12)\") AS total_k12_frpm_eligible\nFROM frpm AS f\nJOIN schools AS s ON s.CDSCode = f.CDSCode\nWHERE f.\"District Type\" = 'County Office of Education (COE)'\n AND f.\"Charter School (Y/N)\" = 1\n AND f.\"Charter Funding Type\" IN ('Directly funded', 'Locally funded')\n AND s.StatusType = 'Active'\nGROUP BY f.\"Charter Funding Type\"\nORDER BY CASE f.\"Charter Funding Type\" WHEN 'Directly funded' THEN 1 ELSE 2 END;\n```", "rows": 2, "sql": "SELECT\n f.\"Charter Funding Type\" AS charter_funding_type,\n COUNT(*) AS active_school_count,\n SUM(f.\"Enrollment (K-12)\") AS total_k12_enrollment,\n SUM(f.\"FRPM Count (K-12)\") AS total_k12_frpm_eligible\nFROM frpm AS f\nJOIN schools AS s ON s.CDSCode = f.CDSCode\nWHERE f.\"District Type\" = 'County Office of Education (COE)'\n AND f.\"Charter School (Y/N)\" = 1\n AND f.\"Charter Funding Type\" IN ('Directly funded', 'Locally funded')\n AND s.StatusType = 'Active'\nGROUP BY f.\"Charter Funding Type\"\nORDER BY CASE f.\"Charter Funding Type\" WHEN 'Directly funded' THEN 1 ELSE 2 END;", "seconds": 19.858967292006128, "calls": [{"seconds": 2.1746980829630047, "usage": {"completion_tokens": 51, "prompt_tokens": 1705, "total_tokens": 1756, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1166, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1166, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1166, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.540291375014931, "usage": {"completion_tokens": 303, "prompt_tokens": 2360, "total_tokens": 2663, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 65, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 655, "cached_tokens": 1166, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 655, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 655, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.718212333042175, "usage": {"completion_tokens": 329, "prompt_tokens": 3221, "total_tokens": 3550, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 122, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 861, "cached_tokens": 1821, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 861, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 861, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.38573866605293, "usage": {"completion_tokens": 184, "prompt_tokens": 3816, "total_tokens": 4000, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 595, "cached_tokens": 2682, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 595, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 595, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "39bde034d843466a9c65b7355ade7507fd915801be2a285fa9b3faf96f57edeb", "csv_sha256": "04ed383ded21be29ae2684234830ebe139f7a769198636ce4113cb0487c9c062"} +{"instance_id": "bird030", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH ranked_schools AS (\n SELECT s.School AS school_name,\n s.District AS district,\n s.County AS county,\n sa.AvgScrWrite AS average_sat_writing_score,\n DENSE_RANK() OVER (ORDER BY sa.AvgScrWrite DESC) AS score_rank\n FROM schools AS s\n JOIN satscores AS sa ON sa.cds = s.CDSCode\n WHERE s.StatusType = 'Closed'\n AND sa.rtype = 'S'\n AND sa.AvgScrWrite IS NOT NULL\n)\nSELECT school_name, district, county, average_sat_writing_score\nFROM ranked_schools\nWHERE score_rank = 2\nORDER BY school_name, district, county;\n```", "rows": 1, "sql": "WITH ranked_schools AS (\n SELECT s.School AS school_name,\n s.District AS district,\n s.County AS county,\n sa.AvgScrWrite AS average_sat_writing_score,\n DENSE_RANK() OVER (ORDER BY sa.AvgScrWrite DESC) AS score_rank\n FROM schools AS s\n JOIN satscores AS sa ON sa.cds = s.CDSCode\n WHERE s.StatusType = 'Closed'\n AND sa.rtype = 'S'\n AND sa.AvgScrWrite IS NOT NULL\n)\nSELECT school_name, district, county, average_sat_writing_score\nFROM ranked_schools\nWHERE score_rank = 2\nORDER BY school_name, district, county;", "seconds": 19.6906072080601, "calls": [{"seconds": 2.305913749965839, "usage": {"completion_tokens": 52, "prompt_tokens": 1719, "total_tokens": 1771, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1180, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1180, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1180, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.768798124976456, "usage": {"completion_tokens": 189, "prompt_tokens": 2195, "total_tokens": 2384, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 71, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 476, "cached_tokens": 1180, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 476, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 476, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.4818811659934, "usage": {"completion_tokens": 221, "prompt_tokens": 2580, "total_tokens": 2801, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 42, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 385, "cached_tokens": 1656, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 385, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 385, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.108358124969527, "usage": {"completion_tokens": 242, "prompt_tokens": 3010, "total_tokens": 3252, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 80, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 430, "cached_tokens": 2041, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 430, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 430, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9123076c4b3ef389172bcf622b0529bfcffbef65dbb1c6fef233c74f331b8057", "csv_sha256": "14ed278f6ad9bf9bb20cd200ba00bd3aed18f3b1049bf7a200367b38a09605ea"} +{"instance_id": "bird031", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT s.CDSCode) AS school_count\nFROM schools AS s\nWHERE s.StatusType = 'Active'\n AND s.EILName = 'High School'\n AND NOT EXISTS (\n SELECT 1\n FROM satscores AS sat\n WHERE sat.cds = s.CDSCode\n AND sat.NumTstTakr <> 0\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT s.CDSCode) AS school_count\nFROM schools AS s\nWHERE s.StatusType = 'Active'\n AND s.EILName = 'High School'\n AND NOT EXISTS (\n SELECT 1\n FROM satscores AS sat\n WHERE sat.cds = s.CDSCode\n AND sat.NumTstTakr <> 0\n );", "seconds": 12.542625125031918, "calls": [{"seconds": 2.151763124973513, "usage": {"completion_tokens": 52, "prompt_tokens": 1719, "total_tokens": 1771, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1180, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1180, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1180, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.347361958003603, "usage": {"completion_tokens": 273, "prompt_tokens": 2195, "total_tokens": 2468, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 171, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 476, "cached_tokens": 1180, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 476, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 476, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0225620409473777, "usage": {"completion_tokens": 88, "prompt_tokens": 2575, "total_tokens": 2663, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 380, "cached_tokens": 1656, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 380, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 380, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f7cfd456ed5492be1874103cbb6cc609d79da7d2e59ceedf7f81ccf8ce8dc22e", "csv_sha256": "6a751a63874d7233840c7e4dbbef424e8bd3e557da87b905e12a27d897a7678b"} +{"instance_id": "bird032", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH target_county AS (\n SELECT DISTINCT County\n FROM schools\n WHERE CDSCode = '01612590125716'\n)\nSELECT\n c.County AS county_name,\n COUNT(f.CDSCode) AS school_count,\n ROUND(AVG(ROUND(100.0 * f.\"Free Meal Count (K-12)\" / f.\"Enrollment (K-12)\", 2)), 2) AS avg_free_meal_percentage,\n ROUND(AVG(ROUND(100.0 * f.\"FRPM Count (K-12)\" / f.\"Enrollment (K-12)\", 2)), 2) AS avg_frpm_percentage,\n COUNT(CASE WHEN f.\"Charter School (Y/N)\" = 1 THEN 1 END) AS charter_school_count,\n COUNT(CASE WHEN f.\"Charter School (Y/N)\" = 0 THEN 1 END) AS non_charter_school_count,\n ROUND(AVG(s.AvgScrRead + s.AvgScrMath + s.AvgScrWrite), 2) AS avg_sat_score\nFROM target_county AS c\nLEFT JOIN frpm AS f\n ON f.\"County Name\" = c.County\n AND f.\"Free Meal Count (K-12)\" > 500\n AND f.\"FRPM Count (K-12)\" < 700\nLEFT JOIN satscores AS s ON s.cds = f.CDSCode\nGROUP BY c.County;\n```", "rows": 1, "sql": "WITH target_county AS (\n SELECT DISTINCT County\n FROM schools\n WHERE CDSCode = '01612590125716'\n)\nSELECT\n c.County AS county_name,\n COUNT(f.CDSCode) AS school_count,\n ROUND(AVG(ROUND(100.0 * f.\"Free Meal Count (K-12)\" / f.\"Enrollment (K-12)\", 2)), 2) AS avg_free_meal_percentage,\n ROUND(AVG(ROUND(100.0 * f.\"FRPM Count (K-12)\" / f.\"Enrollment (K-12)\", 2)), 2) AS avg_frpm_percentage,\n COUNT(CASE WHEN f.\"Charter School (Y/N)\" = 1 THEN 1 END) AS charter_school_count,\n COUNT(CASE WHEN f.\"Charter School (Y/N)\" = 0 THEN 1 END) AS non_charter_school_count,\n ROUND(AVG(s.AvgScrRead + s.AvgScrMath + s.AvgScrWrite), 2) AS avg_sat_score\nFROM target_county AS c\nLEFT JOIN frpm AS f\n ON f.\"County Name\" = c.County\n AND f.\"Free Meal Count (K-12)\" > 500\n AND f.\"FRPM Count (K-12)\" < 700\nLEFT JOIN satscores AS s ON s.cds = f.CDSCode\nGROUP BY c.County;", "seconds": 25.205826957942918, "calls": [{"seconds": 2.6563622909598053, "usage": {"completion_tokens": 84, "prompt_tokens": 1875, "total_tokens": 1959, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 14, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1336, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1336, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1336, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.787496707984246, "usage": {"completion_tokens": 319, "prompt_tokens": 2658, "total_tokens": 2977, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 102, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 783, "cached_tokens": 1336, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 783, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 783, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.993835165980272, "usage": {"completion_tokens": 468, "prompt_tokens": 3239, "total_tokens": 3707, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 132, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 581, "cached_tokens": 2119, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 581, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 581, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.7532622090075165, "usage": {"completion_tokens": 308, "prompt_tokens": 4100, "total_tokens": 4408, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 861, "cached_tokens": 2700, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 861, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 861, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "37f96620c459309e76a30f6da577c8a140477fb7dbf5ca3ef0bc726ee23fdb9f", "csv_sha256": "f9433a842c5d9b1a6cd9edb5f4353f1c2d714ffb73bd40691c810dd5dc1bf61e"} +{"instance_id": "bird033", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) / 12.0 AS average_schools_per_month\nFROM schools\nWHERE County = 'San Diego'\n AND DOC IN ('52', '54', '56')\n AND School IS NOT NULL\n AND OpenDate >= '1980-01-01'\n AND OpenDate < '1981-01-01';\n```", "rows": 1, "sql": "SELECT COUNT(*) / 12.0 AS average_schools_per_month\nFROM schools\nWHERE County = 'San Diego'\n AND DOC IN ('52', '54', '56')\n AND School IS NOT NULL\n AND OpenDate >= '1980-01-01'\n AND OpenDate < '1981-01-01';", "seconds": 26.342743874993175, "calls": [{"seconds": 2.0267173330066726, "usage": {"completion_tokens": 19, "prompt_tokens": 1702, "total_tokens": 1721, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1163, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1163, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1163, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.348360207979567, "usage": {"completion_tokens": 227, "prompt_tokens": 2050, "total_tokens": 2277, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 69, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 348, "cached_tokens": 1163, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 348, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 348, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.04808675008826, "usage": {"completion_tokens": 385, "prompt_tokens": 2672, "total_tokens": 3057, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 302, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 622, "cached_tokens": 1511, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 622, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 622, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.762326332973316, "usage": {"completion_tokens": 222, "prompt_tokens": 3281, "total_tokens": 3503, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 127, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 609, "cached_tokens": 2133, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 609, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 609, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1357665830291808, "usage": {"completion_tokens": 80, "prompt_tokens": 3612, "total_tokens": 3692, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 331, "cached_tokens": 2742, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 331, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 331, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e1aa40ce490ddad59eaf71033d2bc700a042aaf5668e89e66beeeabfee9aa032", "csv_sha256": "262be1efa842b7e88c1e063e48f414595f4db15cd3449f1b7605f8794854c7ba"} +{"instance_id": "bird034", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(100.0 * COUNT(CASE WHEN s.Virtual IN ('F', 'P') THEN 1 END) / COUNT(*), 1) AS virtual_percentage\nFROM schools AS s\nJOIN satscores AS t ON t.cds = s.CDSCode\nWHERE s.State = 'CA'\n AND t.rtype = 'S'\n AND t.AvgScrMath > 400;\n```", "rows": 1, "sql": "SELECT ROUND(100.0 * COUNT(CASE WHEN s.Virtual IN ('F', 'P') THEN 1 END) / COUNT(*), 1) AS virtual_percentage\nFROM schools AS s\nJOIN satscores AS t ON t.cds = s.CDSCode\nWHERE s.State = 'CA'\n AND t.rtype = 'S'\n AND t.AvgScrMath > 400;", "seconds": 16.225520416977815, "calls": [{"seconds": 2.255637541995384, "usage": {"completion_tokens": 52, "prompt_tokens": 1657, "total_tokens": 1709, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1118, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1118, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1118, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.798231333959848, "usage": {"completion_tokens": 192, "prompt_tokens": 2133, "total_tokens": 2325, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 84, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 476, "cached_tokens": 1118, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 476, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 476, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.7656331670004874, "usage": {"completion_tokens": 169, "prompt_tokens": 2488, "total_tokens": 2657, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 65, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 355, "cached_tokens": 1594, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 355, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 355, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3901122090173885, "usage": {"completion_tokens": 91, "prompt_tokens": 2769, "total_tokens": 2860, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 281, "cached_tokens": 1949, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 281, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 281, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "23e720fc82fc69b01ac206d843f2c408d8dff6f225b172793a283b5100200b42", "csv_sha256": "ef2af6fc57ee70b82fc0d5b41d8dad7f1f36715ebd38d362fba000a59d93d464"} +{"instance_id": "bird035", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n s.School,\n s.County,\n s.District,\n s.City,\n f.\"Enrollment (K-12)\",\n f.\"FRPM Count (K-12)\",\n f.\"Percent (%) Eligible FRPM (K-12)\",\n sat.NumTstTakr,\n sat.AvgScrRead,\n sat.AvgScrMath,\n sat.AvgScrWrite,\n sat.NumGE1500\nFROM schools AS s\nLEFT JOIN frpm AS f ON f.CDSCode = s.CDSCode\nLEFT JOIN satscores AS sat ON sat.cds = s.CDSCode\nWHERE s.CDSCode = '01612590137943';\n```", "rows": 1, "sql": "SELECT\n s.School,\n s.County,\n s.District,\n s.City,\n f.\"Enrollment (K-12)\",\n f.\"FRPM Count (K-12)\",\n f.\"Percent (%) Eligible FRPM (K-12)\",\n sat.NumTstTakr,\n sat.AvgScrRead,\n sat.AvgScrMath,\n sat.AvgScrWrite,\n sat.NumGE1500\nFROM schools AS s\nLEFT JOIN frpm AS f ON f.CDSCode = s.CDSCode\nLEFT JOIN satscores AS sat ON sat.cds = s.CDSCode\nWHERE s.CDSCode = '01612590137943';", "seconds": 18.569470040965825, "calls": [{"seconds": 2.453004875103943, "usage": {"completion_tokens": 68, "prompt_tokens": 1749, "total_tokens": 1817, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1210, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1210, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1210, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.157963000005111, "usage": {"completion_tokens": 282, "prompt_tokens": 2516, "total_tokens": 2798, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 128, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 767, "cached_tokens": 1210, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 767, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 767, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.522512750001624, "usage": {"completion_tokens": 175, "prompt_tokens": 2998, "total_tokens": 3173, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 482, "cached_tokens": 1977, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 482, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 482, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.424875125056133, "usage": {"completion_tokens": 149, "prompt_tokens": 3463, "total_tokens": 3612, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 465, "cached_tokens": 2459, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 465, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 465, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "402265b711afe222a17c52dcecad10f9a104ea1f6c840ef52f4de2a40ad1082a", "csv_sha256": "687f2b8af29e52ae2b26724ee5b690d2523e488cfaf768940b95c1a02dc82298"} +{"instance_id": "bird036", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH meal_rates AS (\n SELECT s.CDSCode,\n s.School AS school_name,\n s.Charter AS charter,\n s.GSserved AS grades_served,\n 1.0 * f.\"Free Meal Count (K-12)\" /\n NULLIF(f.\"Enrollment (K-12)\", 0) AS free_meal_rate\n FROM schools AS s\n JOIN frpm AS f ON f.CDSCode = s.CDSCode\n WHERE s.County = 'Alameda'\n AND (TRIM(s.GSserved) = '12' OR TRIM(s.GSserved) LIKE '%-12')\n), top_schools AS (\n SELECT CDSCode, school_name, charter, grades_served, free_meal_rate\n FROM meal_rates\n WHERE free_meal_rate = (SELECT MAX(free_meal_rate) FROM meal_rates)\n), results AS (\n SELECT m.school_name, m.free_meal_rate, m.charter, m.grades_served,\n t.AvgScrRead + t.AvgScrMath + t.AvgScrWrite AS sat_total\n FROM top_schools AS m\n LEFT JOIN satscores AS t ON t.cds = m.CDSCode\n)\nSELECT school_name,\n ROUND(free_meal_rate, 4) AS free_meal_rate,\n CASE charter WHEN 1 THEN 'Yes' WHEN 0 THEN 'No' ELSE 'Unknown' END AS charter_school,\n grades_served,\n CASE\n WHEN sat_total IS NULL THEN 'No SAT Data'\n WHEN sat_total < 1200 THEN 'Below Average'\n WHEN sat_total <= 1500 THEN 'Average'\n ELSE 'Above Average'\n END AS sat_performance_level\nFROM results\nORDER BY school_name;\n```", "rows": 1, "sql": "WITH meal_rates AS (\n SELECT s.CDSCode,\n s.School AS school_name,\n s.Charter AS charter,\n s.GSserved AS grades_served,\n 1.0 * f.\"Free Meal Count (K-12)\" /\n NULLIF(f.\"Enrollment (K-12)\", 0) AS free_meal_rate\n FROM schools AS s\n JOIN frpm AS f ON f.CDSCode = s.CDSCode\n WHERE s.County = 'Alameda'\n AND (TRIM(s.GSserved) = '12' OR TRIM(s.GSserved) LIKE '%-12')\n), top_schools AS (\n SELECT CDSCode, school_name, charter, grades_served, free_meal_rate\n FROM meal_rates\n WHERE free_meal_rate = (SELECT MAX(free_meal_rate) FROM meal_rates)\n), results AS (\n SELECT m.school_name, m.free_meal_rate, m.charter, m.grades_served,\n t.AvgScrRead + t.AvgScrMath + t.AvgScrWrite AS sat_total\n FROM top_schools AS m\n LEFT JOIN satscores AS t ON t.cds = m.CDSCode\n)\nSELECT school_name,\n ROUND(free_meal_rate, 4) AS free_meal_rate,\n CASE charter WHEN 1 THEN 'Yes' WHEN 0 THEN 'No' ELSE 'Unknown' END AS charter_school,\n grades_served,\n CASE\n WHEN sat_total IS NULL THEN 'No SAT Data'\n WHEN sat_total < 1200 THEN 'Below Average'\n WHEN sat_total <= 1500 THEN 'Average'\n ELSE 'Above Average'\n END AS sat_performance_level\nFROM results\nORDER BY school_name;", "seconds": 37.223560625105165, "calls": [{"seconds": 2.9164613330503926, "usage": {"completion_tokens": 68, "prompt_tokens": 1848, "total_tokens": 1916, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1309, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1309, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1309, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3815285420278087, "usage": {"completion_tokens": 107, "prompt_tokens": 2615, "total_tokens": 2722, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 767, "cached_tokens": 1309, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 767, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 767, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.232009667088278, "usage": {"completion_tokens": 341, "prompt_tokens": 3374, "total_tokens": 3715, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 100, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 759, "cached_tokens": 2076, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 759, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 759, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.150191416963935, "usage": {"completion_tokens": 271, "prompt_tokens": 4607, "total_tokens": 4878, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 90, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1233, "cached_tokens": 2835, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1233, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1233, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.620653667021543, "usage": {"completion_tokens": 415, "prompt_tokens": 5088, "total_tokens": 5503, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 481, "cached_tokens": 4068, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 481, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 481, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.524854082963429, "usage": {"completion_tokens": 382, "prompt_tokens": 5949, "total_tokens": 6331, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 861, "cached_tokens": 4549, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 861, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 861, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1301c5826c083f64c7cf6a778f154beaccd3fe76aad74004dba20394bbbed55e", "csv_sha256": "129d20d69850525faf184fd9a747bdeb4bbadd3e80585593d38373a7577f64a0"} +{"instance_id": "bird037", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH math_benchmark AS (\n SELECT MAX(a.AvgScrMath) AS highest_avg_sat_math\n FROM satscores AS a\n JOIN schools AS s ON s.CDSCode = a.cds\n WHERE s.StatusType = 'Active'\n AND a.rtype = 'S'\n AND a.NumTstTakr >= 10\n)\nSELECT s.School AS school_name,\n s.Phone AS phone_number,\n s.Website AS website,\n a.AvgScrRead AS avg_sat_reading,\n a.AvgScrMath AS avg_sat_math,\n a.AvgScrWrite AS avg_sat_writing,\n (s.Charter = 1) AS is_charter,\n f.\"Enrollment (K-12)\" AS k12_enrollment_2014_2015,\n ROUND(100.0 * f.\"Percent (%) Eligible FRPM (K-12)\", 2) AS pct_eligible_frpm_k12,\n b.highest_avg_sat_math,\n b.highest_avg_sat_math - a.AvgScrMath AS sat_math_points_below_highest\nFROM schools AS s\nLEFT JOIN satscores AS a ON a.cds = s.CDSCode AND a.rtype = 'S'\nLEFT JOIN frpm AS f ON f.CDSCode = s.CDSCode AND f.\"Academic Year\" = '2014-2015'\nCROSS JOIN math_benchmark AS b\nWHERE s.CDSCode = '07618040113118';\n```", "rows": 1, "sql": "WITH math_benchmark AS (\n SELECT MAX(a.AvgScrMath) AS highest_avg_sat_math\n FROM satscores AS a\n JOIN schools AS s ON s.CDSCode = a.cds\n WHERE s.StatusType = 'Active'\n AND a.rtype = 'S'\n AND a.NumTstTakr >= 10\n)\nSELECT s.School AS school_name,\n s.Phone AS phone_number,\n s.Website AS website,\n a.AvgScrRead AS avg_sat_reading,\n a.AvgScrMath AS avg_sat_math,\n a.AvgScrWrite AS avg_sat_writing,\n (s.Charter = 1) AS is_charter,\n f.\"Enrollment (K-12)\" AS k12_enrollment_2014_2015,\n ROUND(100.0 * f.\"Percent (%) Eligible FRPM (K-12)\", 2) AS pct_eligible_frpm_k12,\n b.highest_avg_sat_math,\n b.highest_avg_sat_math - a.AvgScrMath AS sat_math_points_below_highest\nFROM schools AS s\nLEFT JOIN satscores AS a ON a.cds = s.CDSCode AND a.rtype = 'S'\nLEFT JOIN frpm AS f ON f.CDSCode = s.CDSCode AND f.\"Academic Year\" = '2014-2015'\nCROSS JOIN math_benchmark AS b\nWHERE s.CDSCode = '07618040113118';", "seconds": 27.01450258307159, "calls": [{"seconds": 2.436983000021428, "usage": {"completion_tokens": 68, "prompt_tokens": 1759, "total_tokens": 1827, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1220, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1220, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1220, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.693139750044793, "usage": {"completion_tokens": 299, "prompt_tokens": 2526, "total_tokens": 2825, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 48, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 767, "cached_tokens": 1220, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 767, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 767, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.4813272500177845, "usage": {"completion_tokens": 182, "prompt_tokens": 3167, "total_tokens": 3349, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 641, "cached_tokens": 1987, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 641, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 641, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.173417374957353, "usage": {"completion_tokens": 416, "prompt_tokens": 3630, "total_tokens": 4046, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 72, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 463, "cached_tokens": 2628, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 463, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 463, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.192679374944419, "usage": {"completion_tokens": 315, "prompt_tokens": 4503, "total_tokens": 4818, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 873, "cached_tokens": 3091, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 873, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 873, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "392aa05239e5a2a4a4ca35d795120b383988ff6da4bfbc6ddff77e0865e482d0", "csv_sha256": "892ca827e25957992fb9268d3c03284dca3d692c4a041d8a728d640e32bdb6a8"} +{"instance_id": "bird038", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH virtual_schools AS (\n SELECT CDSCode, County, School\n FROM schools\n WHERE Virtual = 'F'\n), county_counts AS (\n SELECT County,\n COUNT(*) AS school_count,\n RANK() OVER (ORDER BY COUNT(*) DESC) AS county_rank\n FROM virtual_schools\n GROUP BY County\n), ranked_reading AS (\n SELECT v.CDSCode, v.County, v.School,\n RANK() OVER (\n PARTITION BY v.County\n ORDER BY t.AvgScrRead DESC\n ) AS reading_rank\n FROM virtual_schools AS v\n JOIN satscores AS t ON t.cds = v.CDSCode\n WHERE t.AvgScrRead IS NOT NULL\n)\nSELECT c.County AS county_name,\n c.school_count AS exclusively_virtual_school_count,\n CASE WHEN r.CDSCode IS NULL THEN 'None' ELSE r.School END AS school_name\nFROM county_counts AS c\nLEFT JOIN ranked_reading AS r\n ON r.County = c.County AND r.reading_rank = 1\nWHERE c.county_rank <= 5\nORDER BY c.school_count DESC, c.County, school_name;\n```", "rows": 5, "sql": "WITH virtual_schools AS (\n SELECT CDSCode, County, School\n FROM schools\n WHERE Virtual = 'F'\n), county_counts AS (\n SELECT County,\n COUNT(*) AS school_count,\n RANK() OVER (ORDER BY COUNT(*) DESC) AS county_rank\n FROM virtual_schools\n GROUP BY County\n), ranked_reading AS (\n SELECT v.CDSCode, v.County, v.School,\n RANK() OVER (\n PARTITION BY v.County\n ORDER BY t.AvgScrRead DESC\n ) AS reading_rank\n FROM virtual_schools AS v\n JOIN satscores AS t ON t.cds = v.CDSCode\n WHERE t.AvgScrRead IS NOT NULL\n)\nSELECT c.County AS county_name,\n c.school_count AS exclusively_virtual_school_count,\n CASE WHEN r.CDSCode IS NULL THEN 'None' ELSE r.School END AS school_name\nFROM county_counts AS c\nLEFT JOIN ranked_reading AS r\n ON r.County = c.County AND r.reading_rank = 1\nWHERE c.county_rank <= 5\nORDER BY c.school_count DESC, c.County, school_name;", "seconds": 22.782488707918674, "calls": [{"seconds": 2.2370431249728426, "usage": {"completion_tokens": 52, "prompt_tokens": 1723, "total_tokens": 1775, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1184, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1184, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1184, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.579263500054367, "usage": {"completion_tokens": 196, "prompt_tokens": 2199, "total_tokens": 2395, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 85, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 476, "cached_tokens": 1184, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 476, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 476, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.745267583057284, "usage": {"completion_tokens": 479, "prompt_tokens": 2560, "total_tokens": 3039, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 205, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 361, "cached_tokens": 1660, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 361, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 361, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.1980934999883175, "usage": {"completion_tokens": 262, "prompt_tokens": 3372, "total_tokens": 3634, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 812, "cached_tokens": 2021, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 812, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 812, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d98cc6af118290ad5b151409c364c00828e5808d121d2acea8481e9906d3e13f", "csv_sha256": "7df623dff2780bab7c0c5c030000130975a45b992774283dd76c964241754f38"} +{"instance_id": "bird039", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH target_counties (county) AS (\n SELECT 'Santa Barbara'\n UNION\n SELECT County\n FROM schools\n WHERE CDSCode = '01100170109835'\n)\nSELECT t.county AS county,\n COUNT(DISTINCT s.CDSCode) AS exclusive_virtual_schools\nFROM target_counties AS t\nLEFT JOIN schools AS s\n ON s.County = t.county AND s.Virtual = 'F'\nGROUP BY t.county\nORDER BY exclusive_virtual_schools DESC, county ASC;\n```", "rows": 2, "sql": "WITH target_counties (county) AS (\n SELECT 'Santa Barbara'\n UNION\n SELECT County\n FROM schools\n WHERE CDSCode = '01100170109835'\n)\nSELECT t.county AS county,\n COUNT(DISTINCT s.CDSCode) AS exclusive_virtual_schools\nFROM target_counties AS t\nLEFT JOIN schools AS s\n ON s.County = t.county AND s.Virtual = 'F'\nGROUP BY t.county\nORDER BY exclusive_virtual_schools DESC, county ASC;", "seconds": 24.468479957897216, "calls": [{"seconds": 2.093514832900837, "usage": {"completion_tokens": 19, "prompt_tokens": 1695, "total_tokens": 1714, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1156, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1156, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1156, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.243284500087611, "usage": {"completion_tokens": 195, "prompt_tokens": 2043, "total_tokens": 2238, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 60, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 348, "cached_tokens": 1156, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 348, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 348, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.552171375020407, "usage": {"completion_tokens": 134, "prompt_tokens": 2386, "total_tokens": 2520, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 49, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 343, "cached_tokens": 1504, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 343, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 343, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.094444749993272, "usage": {"completion_tokens": 141, "prompt_tokens": 2813, "total_tokens": 2954, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 95, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 427, "cached_tokens": 1847, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 427, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 427, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9135402920655906, "usage": {"completion_tokens": 133, "prompt_tokens": 3028, "total_tokens": 3161, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 215, "cached_tokens": 2274, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 215, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 215, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5356026670197025, "usage": {"completion_tokens": 118, "prompt_tokens": 3315, "total_tokens": 3433, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 287, "cached_tokens": 2489, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 287, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 287, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6dfa74f12b0f0fa73361f54648ab554fb8052e05ec1cbcadd8824d3f3fe44167", "csv_sha256": "b3841cd4b32839f24d07cccda47bc724f2ea27947c042be95665fc95f196e05c"} +{"instance_id": "bird040", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH eligible AS (\n SELECT f.CDSCode,\n f.\"Enrollment (K-12)\" AS enrollment,\n f.\"FRPM Count (K-12)\" AS frpm_count,\n 1.0 * f.\"FRPM Count (K-12)\" / f.\"Enrollment (K-12)\" AS frpm_share\n FROM frpm AS f\n WHERE f.\"Educational Option Type\" = 'Traditional'\n AND f.\"Charter School (Y/N)\" = 0\n AND f.\"Enrollment (K-12)\" > 100\n), extremes AS (\n SELECT MAX(frpm_count) AS max_count, MIN(frpm_share) AS min_share\n FROM eligible\n), selected AS (\n SELECT 1 AS part_order, 'largest FRPM-eligible count' AS part, e.*\n FROM eligible AS e CROSS JOIN extremes AS x\n WHERE e.frpm_count = x.max_count\n UNION ALL\n SELECT 2, 'smallest FRPM share', e.*\n FROM eligible AS e CROSS JOIN extremes AS x\n WHERE e.frpm_share = x.min_share\n UNION ALL\n SELECT 3, 'the CDS code from my notes', e.*\n FROM eligible AS e\n WHERE e.CDSCode = '04615150435602'\n)\nSELECT p.part,\n s.School AS school_name,\n s.County AS county,\n s.City AS city,\n s.MailStreet AS mailing_street,\n s.MailCity AS mailing_city,\n s.MailState AS mailing_state,\n s.MailZip AS mailing_zip,\n s.Website AS website,\n p.enrollment AS k12_enrollment,\n p.frpm_count AS frpm_eligible_count,\n p.frpm_share,\n a.AvgScrRead + a.AvgScrMath + a.AvgScrWrite AS avg_total_sat_score,\n 100.0 * a.NumGE1500 / NULLIF(a.NumTstTakr, 0) AS pct_sat_takers_scoring_1500_or_more,\n s.OpenDate AS opening_date,\n CASE WHEN NULLIF(s.ClosedDate, '') IS NOT NULL THEN 'closed' ELSE 'open' END AS status\nFROM selected AS p\nJOIN schools AS s ON s.CDSCode = p.CDSCode\nLEFT JOIN satscores AS a ON a.cds = p.CDSCode AND a.rtype = 'S'\nORDER BY p.part_order, s.School, p.CDSCode;\n```", "rows": 3, "sql": "WITH eligible AS (\n SELECT f.CDSCode,\n f.\"Enrollment (K-12)\" AS enrollment,\n f.\"FRPM Count (K-12)\" AS frpm_count,\n 1.0 * f.\"FRPM Count (K-12)\" / f.\"Enrollment (K-12)\" AS frpm_share\n FROM frpm AS f\n WHERE f.\"Educational Option Type\" = 'Traditional'\n AND f.\"Charter School (Y/N)\" = 0\n AND f.\"Enrollment (K-12)\" > 100\n), extremes AS (\n SELECT MAX(frpm_count) AS max_count, MIN(frpm_share) AS min_share\n FROM eligible\n), selected AS (\n SELECT 1 AS part_order, 'largest FRPM-eligible count' AS part, e.*\n FROM eligible AS e CROSS JOIN extremes AS x\n WHERE e.frpm_count = x.max_count\n UNION ALL\n SELECT 2, 'smallest FRPM share', e.*\n FROM eligible AS e CROSS JOIN extremes AS x\n WHERE e.frpm_share = x.min_share\n UNION ALL\n SELECT 3, 'the CDS code from my notes', e.*\n FROM eligible AS e\n WHERE e.CDSCode = '04615150435602'\n)\nSELECT p.part,\n s.School AS school_name,\n s.County AS county,\n s.City AS city,\n s.MailStreet AS mailing_street,\n s.MailCity AS mailing_city,\n s.MailState AS mailing_state,\n s.MailZip AS mailing_zip,\n s.Website AS website,\n p.enrollment AS k12_enrollment,\n p.frpm_count AS frpm_eligible_count,\n p.frpm_share,\n a.AvgScrRead + a.AvgScrMath + a.AvgScrWrite AS avg_total_sat_score,\n 100.0 * a.NumGE1500 / NULLIF(a.NumTstTakr, 0) AS pct_sat_takers_scoring_1500_or_more,\n s.OpenDate AS opening_date,\n CASE WHEN NULLIF(s.ClosedDate, '') IS NOT NULL THEN 'closed' ELSE 'open' END AS status\nFROM selected AS p\nJOIN schools AS s ON s.CDSCode = p.CDSCode\nLEFT JOIN satscores AS a ON a.cds = p.CDSCode AND a.rtype = 'S'\nORDER BY p.part_order, s.School, p.CDSCode;", "seconds": 35.113046457991004, "calls": [{"seconds": 2.729127874947153, "usage": {"completion_tokens": 82, "prompt_tokens": 1890, "total_tokens": 1972, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1351, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1351, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1351, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.478256833041087, "usage": {"completion_tokens": 378, "prompt_tokens": 2699, "total_tokens": 3077, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 50, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 809, "cached_tokens": 1351, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 809, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 809, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 13.196100209024735, "usage": {"completion_tokens": 728, "prompt_tokens": 3875, "total_tokens": 4603, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 151, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1176, "cached_tokens": 2160, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1176, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1176, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.655054708011448, "usage": {"completion_tokens": 711, "prompt_tokens": 5471, "total_tokens": 6182, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 183, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1596, "cached_tokens": 3336, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1596, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1596, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "cb98418864a7a5338d116a6638fd4715863fb6e282c48002aca4d69b6df60ecd", "csv_sha256": "34e87bf1b2b23c1b60ab377f81db0bc8eed74b10d8dc71ea3b3ea343d7044807"} +{"instance_id": "bird041", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT s.School AS school_name,\n s.Street AS street_address\nFROM frpm AS f\nJOIN schools AS s ON s.CDSCode = f.CDSCode\nWHERE NULLIF(TRIM(s.School), '') IS NOT NULL\n AND f.\"Enrollment (K-12)\" - f.\"Enrollment (Ages 5-17)\" > 30\n AND f.\"High Grade\" IN ('K', '1', '2', '3', '4', '5', '6', '7', '8');\n```", "rows": 121, "sql": "SELECT s.School AS school_name,\n s.Street AS street_address\nFROM frpm AS f\nJOIN schools AS s ON s.CDSCode = f.CDSCode\nWHERE NULLIF(TRIM(s.School), '') IS NOT NULL\n AND f.\"Enrollment (K-12)\" - f.\"Enrollment (Ages 5-17)\" > 30\n AND f.\"High Grade\" IN ('K', '1', '2', '3', '4', '5', '6', '7', '8');", "seconds": 21.066813624929637, "calls": [{"seconds": 2.4814286249456927, "usage": {"completion_tokens": 51, "prompt_tokens": 1739, "total_tokens": 1790, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1200, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1200, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1200, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.07731674995739, "usage": {"completion_tokens": 264, "prompt_tokens": 2394, "total_tokens": 2658, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 655, "cached_tokens": 1200, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 655, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 655, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.857933667022735, "usage": {"completion_tokens": 158, "prompt_tokens": 3092, "total_tokens": 3250, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 698, "cached_tokens": 1855, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 698, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 698, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.133169166976586, "usage": {"completion_tokens": 191, "prompt_tokens": 3684, "total_tokens": 3875, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 59, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 592, "cached_tokens": 2553, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 592, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 592, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4803813750622794, "usage": {"completion_tokens": 120, "prompt_tokens": 4605, "total_tokens": 4725, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 921, "cached_tokens": 3145, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 921, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 921, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ae1b46211f5609462c21e6a0444502e3f8267957537dcaff7442d0dd6348fd46", "csv_sha256": "308d17d0cc7e3869b7d1f48f90a326d947a8de6ebc69967f84a8ed14fe425e11"} +{"instance_id": "bird042", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT s.School, s.Street\nFROM schools AS s\nJOIN frpm AS f ON f.CDSCode = s.CDSCode\nWHERE f.\"Low Grade\" IN ('9', '10', '11', '12')\n AND f.\"Enrollment (K-12)\" - f.\"Enrollment (Ages 5-17)\" > 30\nORDER BY s.CDSCode ASC;\n```", "rows": 929, "sql": "SELECT s.School, s.Street\nFROM schools AS s\nJOIN frpm AS f ON f.CDSCode = s.CDSCode\nWHERE f.\"Low Grade\" IN ('9', '10', '11', '12')\n AND f.\"Enrollment (K-12)\" - f.\"Enrollment (Ages 5-17)\" > 30\nORDER BY s.CDSCode ASC;", "seconds": 14.593964250059798, "calls": [{"seconds": 2.525857124943286, "usage": {"completion_tokens": 51, "prompt_tokens": 1724, "total_tokens": 1775, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1185, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1185, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1185, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.233148333034478, "usage": {"completion_tokens": 143, "prompt_tokens": 2379, "total_tokens": 2522, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 655, "cached_tokens": 1185, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 655, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 655, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4931388329714537, "usage": {"completion_tokens": 108, "prompt_tokens": 2856, "total_tokens": 2964, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 477, "cached_tokens": 1840, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 477, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 477, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.308455749996938, "usage": {"completion_tokens": 163, "prompt_tokens": 3127, "total_tokens": 3290, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 70, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 271, "cached_tokens": 2317, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 271, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 271, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "04babbd97b73ae2fa3d6c50571cb87ae929be8b6cda8bc08c4a0f54c593ded0e", "csv_sha256": "d240e67a6bc4bb23b9d59f29d3fc4b8e3936e2cfd0c261b3c06763f43ea49916"} +{"instance_id": "bird043", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT f.\"County Name\" AS county_name,\n COUNT(DISTINCT f.CDSCode) AS qualifying_schools\nFROM frpm AS f\nWHERE f.\"Academic Year\" = '2014-2015'\n AND CAST(f.\"Free Meal Count (K-12)\" AS REAL) / NULLIF(f.\"Enrollment (K-12)\", 0) > 0.1\n AND EXISTS (\n SELECT 1\n FROM satscores AS s\n WHERE s.cds = f.CDSCode\n AND s.rtype = 'S'\n AND CAST(s.NumGE1500 AS INTEGER) >= 1\n )\nGROUP BY f.\"County Name\"\nORDER BY qualifying_schools DESC, county_name ASC;\n```", "rows": 56, "sql": "SELECT f.\"County Name\" AS county_name,\n COUNT(DISTINCT f.CDSCode) AS qualifying_schools\nFROM frpm AS f\nWHERE f.\"Academic Year\" = '2014-2015'\n AND CAST(f.\"Free Meal Count (K-12)\" AS REAL) / NULLIF(f.\"Enrollment (K-12)\", 0) > 0.1\n AND EXISTS (\n SELECT 1\n FROM satscores AS s\n WHERE s.cds = f.CDSCode\n AND s.rtype = 'S'\n AND CAST(s.NumGE1500 AS INTEGER) >= 1\n )\nGROUP BY f.\"County Name\"\nORDER BY qualifying_schools DESC, county_name ASC;", "seconds": 14.404913624981418, "calls": [{"seconds": 2.852688042097725, "usage": {"completion_tokens": 68, "prompt_tokens": 1743, "total_tokens": 1811, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1204, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1204, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1204, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2547052080044523, "usage": {"completion_tokens": 89, "prompt_tokens": 2510, "total_tokens": 2599, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 767, "cached_tokens": 1204, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 767, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 767, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.093021625070833, "usage": {"completion_tokens": 180, "prompt_tokens": 2757, "total_tokens": 2937, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 247, "cached_tokens": 1971, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 247, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 247, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.177554750000127, "usage": {"completion_tokens": 162, "prompt_tokens": 3441, "total_tokens": 3603, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 684, "cached_tokens": 2218, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 684, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 684, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8480941d4ab62f8bd5f8ee18b42b9204cc36669fdbc2ef4750b31eef61178e0c", "csv_sha256": "536620b02d41e5420af610795ee1570f95613a03702a58dc10a56935dd956e13"} +{"instance_id": "bird044", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT s.AdmFName1, s.AdmLName1\nFROM schools AS ref\nJOIN schools AS s ON s.County = ref.County\nJOIN satscores AS sat ON sat.cds = s.CDSCode\nWHERE ref.CDSCode = '01611430131177'\n AND sat.rtype = 'S'\n AND sat.NumGE1500 IS NOT NULL\nORDER BY sat.NumGE1500 DESC, s.CDSCode ASC\nLIMIT 1;\n```", "rows": 1, "sql": "SELECT s.AdmFName1, s.AdmLName1\nFROM schools AS ref\nJOIN schools AS s ON s.County = ref.County\nJOIN satscores AS sat ON sat.cds = s.CDSCode\nWHERE ref.CDSCode = '01611430131177'\n AND sat.rtype = 'S'\n AND sat.NumGE1500 IS NOT NULL\nORDER BY sat.NumGE1500 DESC, s.CDSCode ASC\nLIMIT 1;", "seconds": 24.020457125036046, "calls": [{"seconds": 2.3497013329761103, "usage": {"completion_tokens": 52, "prompt_tokens": 1705, "total_tokens": 1757, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1166, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1166, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1166, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.361693041981198, "usage": {"completion_tokens": 249, "prompt_tokens": 2181, "total_tokens": 2430, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 128, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 476, "cached_tokens": 1166, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 476, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 476, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.574645832995884, "usage": {"completion_tokens": 107, "prompt_tokens": 2547, "total_tokens": 2654, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 366, "cached_tokens": 1642, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 366, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 366, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.816309541929513, "usage": {"completion_tokens": 114, "prompt_tokens": 2764, "total_tokens": 2878, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 217, "cached_tokens": 2008, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 217, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 217, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.0829391250154, "usage": {"completion_tokens": 151, "prompt_tokens": 3042, "total_tokens": 3193, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 30, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 2225, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.80222491605673, "usage": {"completion_tokens": 108, "prompt_tokens": 3329, "total_tokens": 3437, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 287, "cached_tokens": 2503, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 287, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 287, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8ce23872ab557571d4bc47317169331376ec7897d73e923e482359e39eeae651", "csv_sha256": "bba0bcba0ccfa30ea42c4f8776fbc38b9db34eccefa66f21aafe66c6bc44135d"} +{"instance_id": "bird045", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT a.Street, a.City, a.Zip, a.State\nFROM satscores AS s\nJOIN schools AS a ON a.CDSCode = s.cds\nLEFT JOIN frpm AS f ON f.CDSCode = s.cds\nWHERE s.rtype = 'S'\n AND s.NumTstTakr >= 700\n AND s.NumGE1500 IS NOT NULL\nORDER BY CAST(s.NumGE1500 AS REAL) / s.NumTstTakr ASC,\n CAST(f.\"School Code\" AS INTEGER) ASC NULLS LAST\nLIMIT 1;\n```", "rows": 1, "sql": "SELECT a.Street, a.City, a.Zip, a.State\nFROM satscores AS s\nJOIN schools AS a ON a.CDSCode = s.cds\nLEFT JOIN frpm AS f ON f.CDSCode = s.cds\nWHERE s.rtype = 'S'\n AND s.NumTstTakr >= 700\n AND s.NumGE1500 IS NOT NULL\nORDER BY CAST(s.NumGE1500 AS REAL) / s.NumTstTakr ASC,\n CAST(f.\"School Code\" AS INTEGER) ASC NULLS LAST\nLIMIT 1;", "seconds": 21.39063250005711, "calls": [{"seconds": 2.4825283749960363, "usage": {"completion_tokens": 52, "prompt_tokens": 1701, "total_tokens": 1753, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1162, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1162, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1162, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.376798207988031, "usage": {"completion_tokens": 20, "prompt_tokens": 2177, "total_tokens": 2197, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 476, "cached_tokens": 1162, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 476, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 476, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.647405958967283, "usage": {"completion_tokens": 275, "prompt_tokens": 2474, "total_tokens": 2749, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 40, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 297, "cached_tokens": 1638, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 297, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 297, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.036224750103429, "usage": {"completion_tokens": 258, "prompt_tokens": 3074, "total_tokens": 3332, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 118, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 600, "cached_tokens": 1935, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 600, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 600, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8222087080357596, "usage": {"completion_tokens": 128, "prompt_tokens": 3501, "total_tokens": 3629, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 427, "cached_tokens": 2535, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 427, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 427, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "affa3592c79bc8df7fcbef93e5eb7e8bcde0d270bfaf811eb0c1fa19450a92aa", "csv_sha256": "c12a727e46b668f3a48e61aa2bbcd86cc1bf045a03efd32dc67daf47696ddfb8"} +{"instance_id": "bird046", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT s.City AS city, COUNT(DISTINCT s.CDSCode) AS magnet_school_count\nFROM schools AS s\nJOIN frpm AS f ON f.CDSCode = s.CDSCode\nWHERE s.Magnet = 1\n AND f.\"NSLP Provision Status\" = 'Provision 2'\nGROUP BY s.City\nORDER BY magnet_school_count DESC, city;\n```", "rows": 31, "sql": "SELECT s.City AS city, COUNT(DISTINCT s.CDSCode) AS magnet_school_count\nFROM schools AS s\nJOIN frpm AS f ON f.CDSCode = s.CDSCode\nWHERE s.Magnet = 1\n AND f.\"NSLP Provision Status\" = 'Provision 2'\nGROUP BY s.City\nORDER BY magnet_school_count DESC, city;", "seconds": 24.15553212503437, "calls": [{"seconds": 2.063504458987154, "usage": {"completion_tokens": 19, "prompt_tokens": 1719, "total_tokens": 1738, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1180, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1180, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1180, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.1958636669442058, "usage": {"completion_tokens": 20, "prompt_tokens": 2067, "total_tokens": 2087, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 348, "cached_tokens": 1180, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 348, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 348, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6655023749917746, "usage": {"completion_tokens": 121, "prompt_tokens": 2364, "total_tokens": 2485, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 297, "cached_tokens": 1528, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 297, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 297, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.831956584006548, "usage": {"completion_tokens": 210, "prompt_tokens": 2797, "total_tokens": 3007, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 98, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 433, "cached_tokens": 1825, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 433, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 433, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.088027374935336, "usage": {"completion_tokens": 293, "prompt_tokens": 3203, "total_tokens": 3496, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 195, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 406, "cached_tokens": 2258, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 406, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 406, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.263688499922864, "usage": {"completion_tokens": 86, "prompt_tokens": 3800, "total_tokens": 3886, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 597, "cached_tokens": 2664, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 597, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 597, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "56699e224f7b2fbc324d4333b2cac5c43bdb6b1c04a2271ca4f5d8cd24c47ced", "csv_sha256": "64326cfa3b11e3edbc70c6c034fa002240ccdc2609466a089d7be44a8ca33a16"} +{"instance_id": "bird047", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT s.School AS school_name,\n s.Street AS street_address,\n s.City AS city,\n s.State AS state,\n s.Zip AS zip_code\nFROM frpm AS f\nJOIN schools AS s ON s.CDSCode = f.CDSCode\nWHERE f.\"County Name\" = 'Los Angeles'\n AND f.\"School Type\" IN (\n 'High Schools (Public)',\n 'Continuation High Schools',\n 'High Schools In 1 School Dist. (Public)'\n )\n AND f.\"FRPM Count (Ages 5-17)\" > 500\nORDER BY s.School, s.CDSCode;\n```", "rows": 182, "sql": "SELECT s.School AS school_name,\n s.Street AS street_address,\n s.City AS city,\n s.State AS state,\n s.Zip AS zip_code\nFROM frpm AS f\nJOIN schools AS s ON s.CDSCode = f.CDSCode\nWHERE f.\"County Name\" = 'Los Angeles'\n AND f.\"School Type\" IN (\n 'High Schools (Public)',\n 'Continuation High Schools',\n 'High Schools In 1 School Dist. (Public)'\n )\n AND f.\"FRPM Count (Ages 5-17)\" > 500\nORDER BY s.School, s.CDSCode;", "seconds": 52.20276045810897, "calls": [{"seconds": 2.299326749984175, "usage": {"completion_tokens": 51, "prompt_tokens": 1782, "total_tokens": 1833, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1243, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1243, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1243, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1233652499504387, "usage": {"completion_tokens": 77, "prompt_tokens": 2437, "total_tokens": 2514, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 655, "cached_tokens": 1243, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 655, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 655, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.850126334000379, "usage": {"completion_tokens": 203, "prompt_tokens": 2907, "total_tokens": 3110, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 470, "cached_tokens": 1898, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 470, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 470, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.328455500071868, "usage": {"completion_tokens": 185, "prompt_tokens": 3384, "total_tokens": 3569, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 17, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 477, "cached_tokens": 2368, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 477, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 477, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 37.55008324992377, "usage": {"completion_tokens": 142, "prompt_tokens": 5030, "total_tokens": 5172, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1646, "cached_tokens": 2845, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1646, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1646, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9e9fa2d811944bd59c617c8d7f2465cf7e0539bfb3113393a9ece672a3109252", "csv_sha256": "31b728eeb03549a69a0aeef1d4f78d1a0f669551f5c1e0c9a90a691f70e20703"} +{"instance_id": "bird048", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT s.County AS county_name,\n COALESCE(SUM(t.NumTstTakr), 0) AS total_sat_test_takers\nFROM schools AS s\nJOIN frpm AS f ON f.CDSCode = s.CDSCode\nLEFT JOIN satscores AS t ON t.cds = s.CDSCode AND t.rtype = 'S'\nWHERE f.\"NSLP Provision Status\" = 'Provision 2'\n AND s.Magnet = 1\nGROUP BY s.County;\n```", "rows": 7, "sql": "SELECT s.County AS county_name,\n COALESCE(SUM(t.NumTstTakr), 0) AS total_sat_test_takers\nFROM schools AS s\nJOIN frpm AS f ON f.CDSCode = s.CDSCode\nLEFT JOIN satscores AS t ON t.cds = s.CDSCode AND t.rtype = 'S'\nWHERE f.\"NSLP Provision Status\" = 'Provision 2'\n AND s.Magnet = 1\nGROUP BY s.County;", "seconds": 14.572407959029078, "calls": [{"seconds": 2.5258395000128075, "usage": {"completion_tokens": 68, "prompt_tokens": 1702, "total_tokens": 1770, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1163, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1163, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1163, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.707308541983366, "usage": {"completion_tokens": 125, "prompt_tokens": 2469, "total_tokens": 2594, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 767, "cached_tokens": 1163, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 767, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 767, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.982476457953453, "usage": {"completion_tokens": 171, "prompt_tokens": 2909, "total_tokens": 3080, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 45, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 440, "cached_tokens": 1930, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 440, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 440, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3162178749917075, "usage": {"completion_tokens": 112, "prompt_tokens": 3261, "total_tokens": 3373, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 352, "cached_tokens": 2370, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 352, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 352, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "dc66e964caeaef3dd396aadebdf9a3b92a5798fcf30157732a389247e68488bf", "csv_sha256": "7b2a69dd8804d26d95c0fb5fea78cc88f3a2f5ad497e1883445cdfbf1600da4a"} +{"instance_id": "bird049", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT id\nFROM cards\nWHERE borderColor = 'borderless'\n AND (cardKingdomId IS NULL OR cardKingdomFoilId IS NULL);\n```", "rows": 72, "sql": "SELECT id\nFROM cards\nWHERE borderColor = 'borderless'\n AND (cardKingdomId IS NULL OR cardKingdomFoilId IS NULL);", "seconds": 13.683674708008766, "calls": [{"seconds": 2.259525709087029, "usage": {"completion_tokens": 19, "prompt_tokens": 1620, "total_tokens": 1639, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1072, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1072, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1072, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.722519792034291, "usage": {"completion_tokens": 152, "prompt_tokens": 2166, "total_tokens": 2318, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 56, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1072, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.6549869580194354, "usage": {"completion_tokens": 51, "prompt_tokens": 2523, "total_tokens": 2574, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 357, "cached_tokens": 1618, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 357, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 357, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.758827375015244, "usage": {"completion_tokens": 41, "prompt_tokens": 2787, "total_tokens": 2828, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 264, "cached_tokens": 1975, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 264, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 264, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "203f858b51035a96baaf73fa49e17ab821bd57be1bf75ab6cd326237c174b28f", "csv_sha256": "304b105389e9a64f654c85075aef132a814afa322933d23e5b40c4761d3d730b"} +{"instance_id": "bird050", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH ruling_counts AS (\n SELECT c.uuid, COUNT(r.uuid) AS ruling_count\n FROM cards AS c\n LEFT JOIN rulings AS r ON r.uuid = c.uuid\n GROUP BY c.uuid\n)\nSELECT DISTINCT c.name, c.artist, c.isPromo\nFROM cards AS c\nJOIN ruling_counts AS rc ON rc.uuid = c.uuid\nWHERE rc.ruling_count = (SELECT MAX(ruling_count) FROM ruling_counts)\nORDER BY c.name, c.artist, c.isPromo;\n```", "rows": 2, "sql": "WITH ruling_counts AS (\n SELECT c.uuid, COUNT(r.uuid) AS ruling_count\n FROM cards AS c\n LEFT JOIN rulings AS r ON r.uuid = c.uuid\n GROUP BY c.uuid\n)\nSELECT DISTINCT c.name, c.artist, c.isPromo\nFROM cards AS c\nJOIN ruling_counts AS rc ON rc.uuid = c.uuid\nWHERE rc.ruling_count = (SELECT MAX(ruling_count) FROM ruling_counts)\nORDER BY c.name, c.artist, c.isPromo;", "seconds": 15.229144708951935, "calls": [{"seconds": 2.944930791039951, "usage": {"completion_tokens": 52, "prompt_tokens": 1622, "total_tokens": 1674, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1074, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1074, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1074, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.642086499952711, "usage": {"completion_tokens": 143, "prompt_tokens": 2238, "total_tokens": 2381, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 51, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 616, "cached_tokens": 1074, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 616, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 616, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6186018330045044, "usage": {"completion_tokens": 123, "prompt_tokens": 2515, "total_tokens": 2638, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 277, "cached_tokens": 1690, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 277, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 277, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.611795208067633, "usage": {"completion_tokens": 111, "prompt_tokens": 2798, "total_tokens": 2909, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 283, "cached_tokens": 1967, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 283, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 283, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1659783473c83dea80649646c61c96dfadb83106fe512c6aa9e9d137ecb4d608", "csv_sha256": "a869bf2c7fba8d2748dca27e39d2747b332387026f4b22d402f19bac26f9448b"} +{"instance_id": "bird051", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(\n 100.0 * COUNT(CASE WHEN c.uuid IN (\n SELECT fd.uuid\n FROM foreign_data AS fd\n WHERE fd.language = 'Chinese Simplified'\n ) THEN 1 END) / COUNT(*),\n 2\n) AS percentage\nFROM cards AS c;\n```", "rows": 1, "sql": "SELECT ROUND(\n 100.0 * COUNT(CASE WHEN c.uuid IN (\n SELECT fd.uuid\n FROM foreign_data AS fd\n WHERE fd.language = 'Chinese Simplified'\n ) THEN 1 END) / COUNT(*),\n 2\n) AS percentage\nFROM cards AS c;", "seconds": 14.19585370796267, "calls": [{"seconds": 2.7663672079797834, "usage": {"completion_tokens": 65, "prompt_tokens": 1615, "total_tokens": 1680, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1067, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1067, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1067, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.619586208020337, "usage": {"completion_tokens": 47, "prompt_tokens": 2294, "total_tokens": 2341, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 679, "cached_tokens": 1067, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 679, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 679, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.400450375047512, "usage": {"completion_tokens": 161, "prompt_tokens": 2572, "total_tokens": 2733, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 74, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1746, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9528156250016764, "usage": {"completion_tokens": 71, "prompt_tokens": 2824, "total_tokens": 2895, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 252, "cached_tokens": 2024, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 252, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 252, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "64767aefb80fec8fd58292470bfb9d7e5ef1d6c97ba46feaf88bd716d96f0dde", "csv_sha256": "b61e2c45ed51f08f403812666e44f79b90240f4b810ffbc4fee51a0de15a58c5"} +{"instance_id": "bird052", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT DISTINCT text FROM cards WHERE name = 'Benalish Knight';\n```", "rows": 1, "sql": "SELECT DISTINCT text FROM cards WHERE name = 'Benalish Knight';", "seconds": 18.931582083925605, "calls": [{"seconds": 1.9616225409554318, "usage": {"completion_tokens": 19, "prompt_tokens": 1615, "total_tokens": 1634, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1067, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1067, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1067, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.346595000009984, "usage": {"completion_tokens": 67, "prompt_tokens": 2161, "total_tokens": 2228, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 31, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1067, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.17894512496423, "usage": {"completion_tokens": 296, "prompt_tokens": 2411, "total_tokens": 2707, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 263, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 250, "cached_tokens": 1613, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 250, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 250, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.285316916066222, "usage": {"completion_tokens": 142, "prompt_tokens": 2774, "total_tokens": 2916, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 118, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 363, "cached_tokens": 1863, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 363, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 363, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a1bfed33c75fe21891e9f549beb7a64b8b346bcacf501f454b5129f6c26ed62e", "csv_sha256": "da53e67987801afd23d1c4b4c74d7c1e51b7e6020ea549fc2c4bf02fd6a06290"} +{"instance_id": "bird053", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(100.0 * AVG(EXISTS (\n SELECT 1\n FROM foreign_data AS f\n WHERE f.uuid = c.uuid\n AND f.language = 'French'\n)), 2) AS french_translation_percentage\nFROM cards AS c\nWHERE c.isStorySpotlight = 1;\n```", "rows": 1, "sql": "SELECT ROUND(100.0 * AVG(EXISTS (\n SELECT 1\n FROM foreign_data AS f\n WHERE f.uuid = c.uuid\n AND f.language = 'French'\n)), 2) AS french_translation_percentage\nFROM cards AS c\nWHERE c.isStorySpotlight = 1;", "seconds": 17.17101716599427, "calls": [{"seconds": 2.8415826249402016, "usage": {"completion_tokens": 51, "prompt_tokens": 1616, "total_tokens": 1667, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1068, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1068, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1068, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.786159708048217, "usage": {"completion_tokens": 164, "prompt_tokens": 2253, "total_tokens": 2417, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 72, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 637, "cached_tokens": 1068, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 637, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 637, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.116761540994048, "usage": {"completion_tokens": 82, "prompt_tokens": 2548, "total_tokens": 2630, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 295, "cached_tokens": 1705, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 295, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 295, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.046485250000842, "usage": {"completion_tokens": 71, "prompt_tokens": 2724, "total_tokens": 2795, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 176, "cached_tokens": 2000, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 176, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 176, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6083bfe6b2134b2cd3238b1622f8290982e9653ccee61b6f6227a92264d127e7", "csv_sha256": "93c4ec993deb996564635f34298f3b8277ab03e293f81270887a935f04076f68"} +{"instance_id": "bird054", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT id\nFROM cards\nWHERE duelDeck = 'a';\n```", "rows": 804, "sql": "SELECT id\nFROM cards\nWHERE duelDeck = 'a';", "seconds": 6.784164958051406, "calls": [{"seconds": 2.3296340410597622, "usage": {"completion_tokens": 19, "prompt_tokens": 1610, "total_tokens": 1629, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1062, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1062, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1062, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.2868722080020234, "usage": {"completion_tokens": 30, "prompt_tokens": 2156, "total_tokens": 2186, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1062, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.0850077499635518, "usage": {"completion_tokens": 21, "prompt_tokens": 2379, "total_tokens": 2400, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 223, "cached_tokens": 1608, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 223, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 223, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d40089c9d32c6307cc2c6c13873403eed77361a300f60c1d40790a573037c265", "csv_sha256": "ff4c0d9744171a378e1ab1801412b9a48dd6876b654f454bc4dc8c5ec03f55aa"} +{"instance_id": "bird055", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT c.uuid) AS banned_white_bordered_printings\nFROM cards AS c\nWHERE c.borderColor = 'white'\n AND c.uuid IN (\n SELECT l.uuid\n FROM legalities AS l\n WHERE l.status = 'Banned'\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT c.uuid) AS banned_white_bordered_printings\nFROM cards AS c\nWHERE c.borderColor = 'white'\n AND c.uuid IN (\n SELECT l.uuid\n FROM legalities AS l\n WHERE l.status = 'Banned'\n );", "seconds": 45.410689874901436, "calls": [{"seconds": 3.0898990830173716, "usage": {"completion_tokens": 80, "prompt_tokens": 1613, "total_tokens": 1693, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1065, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1065, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1065, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.4012462919345126, "usage": {"completion_tokens": 192, "prompt_tokens": 2451, "total_tokens": 2643, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 106, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 838, "cached_tokens": 1065, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 838, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 838, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.987479874980636, "usage": {"completion_tokens": 116, "prompt_tokens": 2759, "total_tokens": 2875, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 36, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 308, "cached_tokens": 1903, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 308, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 308, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8350653330562636, "usage": {"completion_tokens": 66, "prompt_tokens": 2965, "total_tokens": 3031, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 206, "cached_tokens": 2211, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 206, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 206, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ad134e2e3b2a4cd131f65f830e300da0d09d6a733f303fb3a4577cf341b64d56", "csv_sha256": "ecb1bdaf43b7fbebbb09d5b5b80a29baa6e57f5c9e0319e66519b9f8cc208f5e"} +{"instance_id": "bird056", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT c.uuid) AS printing_count\nFROM cards AS c\nJOIN (\n SELECT DISTINCT uuid\n FROM rulings\n WHERE text LIKE '%triggered ability%'\n) AS r ON r.uuid = c.uuid\nWHERE c.power IS NULL OR c.power LIKE '%*%';\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT c.uuid) AS printing_count\nFROM cards AS c\nJOIN (\n SELECT DISTINCT uuid\n FROM rulings\n WHERE text LIKE '%triggered ability%'\n) AS r ON r.uuid = c.uuid\nWHERE c.power IS NULL OR c.power LIKE '%*%';", "seconds": 46.68907229194883, "calls": [{"seconds": 2.3907456250162795, "usage": {"completion_tokens": 52, "prompt_tokens": 1640, "total_tokens": 1692, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1092, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1092, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1092, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.3209880830254406, "usage": {"completion_tokens": 21, "prompt_tokens": 2256, "total_tokens": 2277, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 616, "cached_tokens": 1092, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 616, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 616, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.713551041088067, "usage": {"completion_tokens": 127, "prompt_tokens": 2316, "total_tokens": 2443, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 36, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 60, "cached_tokens": 1708, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 60, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 60, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.995121542015113, "usage": {"completion_tokens": 85, "prompt_tokens": 2562, "total_tokens": 2647, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 246, "cached_tokens": 1768, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 246, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 246, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1539806249784306, "usage": {"completion_tokens": 69, "prompt_tokens": 2734, "total_tokens": 2803, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 172, "cached_tokens": 2014, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 172, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 172, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b660c722d8a5c606d3d0158c1472c0952faeddaf8efeb75ce78ac87bc574f9f4", "csv_sha256": "496c0011f3ababe1a1c86141add6ce294b89fb4354c1ed3f4a5b98fd019c0bf6"} +{"instance_id": "bird057", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH commander_legal AS (\n SELECT DISTINCT uuid\n FROM legalities\n WHERE format = 'commander' AND status = 'Legal'\n)\nSELECT 100.0 * AVG(CASE WHEN c.hasContentWarning = 0 THEN 1.0 ELSE 0.0 END)\n AS percentage_without_content_warning\nFROM cards AS c\nJOIN commander_legal AS l ON l.uuid = c.uuid;\n```", "rows": 1, "sql": "WITH commander_legal AS (\n SELECT DISTINCT uuid\n FROM legalities\n WHERE format = 'commander' AND status = 'Legal'\n)\nSELECT 100.0 * AVG(CASE WHEN c.hasContentWarning = 0 THEN 1.0 ELSE 0.0 END)\n AS percentage_without_content_warning\nFROM cards AS c\nJOIN commander_legal AS l ON l.uuid = c.uuid;", "seconds": 46.828713083057664, "calls": [{"seconds": 2.4614501249743626, "usage": {"completion_tokens": 51, "prompt_tokens": 1613, "total_tokens": 1664, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1065, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1065, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1065, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.215659916982986, "usage": {"completion_tokens": 167, "prompt_tokens": 2227, "total_tokens": 2394, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 56, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 614, "cached_tokens": 1065, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 614, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 614, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.297239499981515, "usage": {"completion_tokens": 55, "prompt_tokens": 2537, "total_tokens": 2592, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 310, "cached_tokens": 1679, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 310, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 310, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4285808749264106, "usage": {"completion_tokens": 106, "prompt_tokens": 2659, "total_tokens": 2765, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 122, "cached_tokens": 1989, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 122, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 122, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.167208791943267, "usage": {"completion_tokens": 93, "prompt_tokens": 2881, "total_tokens": 2974, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 222, "cached_tokens": 2111, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 222, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 222, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "bff8670454d28e00570770b5c933cb13484edcff322a15b8ef5a59785954a13f", "csv_sha256": "22168d43063fa0da2a6c4f48053efa817f8ddcc7703fe2c31a0dac3cfc0c5497"} +{"instance_id": "bird058", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH french_printings AS (\n SELECT DISTINCT uuid\n FROM foreign_data\n WHERE language = 'French'\n)\nSELECT ROUND(100.0 * COUNT(f.uuid) / NULLIF(COUNT(*), 0), 2) AS french_translation_percentage\nFROM cards AS c\nLEFT JOIN french_printings AS f ON f.uuid = c.uuid\nWHERE c.power IS NULL OR INSTR(c.power, '*') > 0;\n```", "rows": 1, "sql": "WITH french_printings AS (\n SELECT DISTINCT uuid\n FROM foreign_data\n WHERE language = 'French'\n)\nSELECT ROUND(100.0 * COUNT(f.uuid) / NULLIF(COUNT(*), 0), 2) AS french_translation_percentage\nFROM cards AS c\nLEFT JOIN french_printings AS f ON f.uuid = c.uuid\nWHERE c.power IS NULL OR INSTR(c.power, '*') > 0;", "seconds": 48.47157070890535, "calls": [{"seconds": 2.7323828749358654, "usage": {"completion_tokens": 51, "prompt_tokens": 1639, "total_tokens": 1690, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1091, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1091, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1091, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8634590409928933, "usage": {"completion_tokens": 129, "prompt_tokens": 2276, "total_tokens": 2405, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 637, "cached_tokens": 1091, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 637, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 637, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.821973916958086, "usage": {"completion_tokens": 111, "prompt_tokens": 2582, "total_tokens": 2693, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 306, "cached_tokens": 1728, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 306, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 306, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2330272919498384, "usage": {"completion_tokens": 108, "prompt_tokens": 2835, "total_tokens": 2943, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 253, "cached_tokens": 2034, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 253, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 253, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1755506669869646, "usage": {"completion_tokens": 97, "prompt_tokens": 3063, "total_tokens": 3160, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 228, "cached_tokens": 2287, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 228, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 228, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7b14ebb0e2e0ec52e0302014e8ed06120669c10b034e84aa6a61d6db915dabf0", "csv_sha256": "748bcdf87ef92a7fe3ccea153d86167000064cb901f2e1338f747721a5c9ec46"} +{"instance_id": "bird059", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS set_count\nFROM sets AS s\nWHERE s.block = 'Ice Age'\n AND EXISTS (\n SELECT 1\n FROM set_translations AS st\n WHERE st.setCode = s.code\n AND st.language = 'Italian'\n );\n```", "rows": 1, "sql": "SELECT COUNT(*) AS set_count\nFROM sets AS s\nWHERE s.block = 'Ice Age'\n AND EXISTS (\n SELECT 1\n FROM set_translations AS st\n WHERE st.setCode = s.code\n AND st.language = 'Italian'\n );", "seconds": 8.440463625011034, "calls": [{"seconds": 2.5210492919432, "usage": {"completion_tokens": 52, "prompt_tokens": 1615, "total_tokens": 1667, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1067, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1067, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1067, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.062264083069749, "usage": {"completion_tokens": 76, "prompt_tokens": 1874, "total_tokens": 1950, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 259, "cached_tokens": 1067, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 259, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 259, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8458541659638286, "usage": {"completion_tokens": 64, "prompt_tokens": 2033, "total_tokens": 2097, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 159, "cached_tokens": 1326, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 159, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 159, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e3006701fe27b70d9251f68c3b10549ed933224bcc94c5482b01b9073819415d", "csv_sha256": "02838770dd1eab89754c7b8c6e81e38bf8203dfb37575a356d3c2702f87e3f1f"} +{"instance_id": "bird060", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT 100.0 * AVG(CASE\n WHEN NULLIF(TRIM(c.cardKingdomId), '') IS NOT NULL\n AND NULLIF(TRIM(c.cardKingdomFoilId), '') IS NOT NULL\n THEN 1 ELSE 0\n END) AS percentage\nFROM cards AS c\nWHERE EXISTS (\n SELECT 1\n FROM sets AS s\n WHERE s.code = c.setCode\n AND s.name = 'Coldsnap'\n);\n```", "rows": 1, "sql": "SELECT 100.0 * AVG(CASE\n WHEN NULLIF(TRIM(c.cardKingdomId), '') IS NOT NULL\n AND NULLIF(TRIM(c.cardKingdomFoilId), '') IS NOT NULL\n THEN 1 ELSE 0\n END) AS percentage\nFROM cards AS c\nWHERE EXISTS (\n SELECT 1\n FROM sets AS s\n WHERE s.code = c.setCode\n AND s.name = 'Coldsnap'\n);", "seconds": 11.30571029195562, "calls": [{"seconds": 2.7261384590528905, "usage": {"completion_tokens": 50, "prompt_tokens": 1619, "total_tokens": 1669, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1071, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1071, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1071, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.156568583101034, "usage": {"completion_tokens": 213, "prompt_tokens": 2363, "total_tokens": 2576, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 93, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 744, "cached_tokens": 1071, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 744, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 744, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3185263329651207, "usage": {"completion_tokens": 107, "prompt_tokens": 2703, "total_tokens": 2810, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 340, "cached_tokens": 1815, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 340, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 340, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "c862a007ccdf26fb32905643823d53580648163051a4e021c34bb34ece376d72", "csv_sha256": "feca70d1d15c20abdf8214fa14d927c5792f63f5ab41ab8d8ab5a4475733a5d6"} +{"instance_id": "bird061", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH banned_printings AS (\n SELECT l.format, c.name AS card_name\n FROM legalities AS l\n JOIN cards AS c ON c.uuid = l.uuid\n WHERE l.status = 'Banned'\n), format_counts AS (\n SELECT format, COUNT(*) AS banned_printing_count\n FROM banned_printings\n GROUP BY format\n)\nSELECT DISTINCT b.format, b.card_name\nFROM banned_printings AS b\nJOIN format_counts AS f ON f.format = b.format\nWHERE f.banned_printing_count = (SELECT MAX(banned_printing_count) FROM format_counts)\nORDER BY b.format, b.card_name;\n```", "rows": 102, "sql": "WITH banned_printings AS (\n SELECT l.format, c.name AS card_name\n FROM legalities AS l\n JOIN cards AS c ON c.uuid = l.uuid\n WHERE l.status = 'Banned'\n), format_counts AS (\n SELECT format, COUNT(*) AS banned_printing_count\n FROM banned_printings\n GROUP BY format\n)\nSELECT DISTINCT b.format, b.card_name\nFROM banned_printings AS b\nJOIN format_counts AS f ON f.format = b.format\nWHERE f.banned_printing_count = (SELECT MAX(banned_printing_count) FROM format_counts)\nORDER BY b.format, b.card_name;", "seconds": 19.711184624931775, "calls": [{"seconds": 2.81458725000266, "usage": {"completion_tokens": 65, "prompt_tokens": 1620, "total_tokens": 1685, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1072, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1072, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1072, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.917373709031381, "usage": {"completion_tokens": 256, "prompt_tokens": 2276, "total_tokens": 2532, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 62, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 656, "cached_tokens": 1072, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 656, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 656, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.519565499969758, "usage": {"completion_tokens": 281, "prompt_tokens": 3318, "total_tokens": 3599, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 125, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1042, "cached_tokens": 1728, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1042, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1042, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8392146250698715, "usage": {"completion_tokens": 140, "prompt_tokens": 4083, "total_tokens": 4223, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 765, "cached_tokens": 2770, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 765, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 765, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "bd691978894600014e027d7f12c7cbc77db0f6f527773d1f8404b19b515d2200", "csv_sha256": "a3e0938c85cd6a20b22a29c7883271da3fb7769bb78d2c08bf827d1c679a52b6"} +{"instance_id": "bird062", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT c.name) AS card_count\nFROM cards AS c\nJOIN legalities AS l ON l.uuid = c.uuid\nWHERE l.format = 'brawl'\n AND l.status = 'Legal'\n AND c.leadershipSkills LIKE '%''brawl'': True%'\n AND instr(',' || c.types || ',', ',Creature,') > 0\n AND EXISTS (\n SELECT 1\n FROM cards AS p\n WHERE p.name = c.name AND p.isPromo = 1\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT c.name) AS card_count\nFROM cards AS c\nJOIN legalities AS l ON l.uuid = c.uuid\nWHERE l.format = 'brawl'\n AND l.status = 'Legal'\n AND c.leadershipSkills LIKE '%''brawl'': True%'\n AND instr(',' || c.types || ',', ',Creature,') > 0\n AND EXISTS (\n SELECT 1\n FROM cards AS p\n WHERE p.name = c.name AND p.isPromo = 1\n );", "seconds": 41.262143666041084, "calls": [{"seconds": 2.5990337919211015, "usage": {"completion_tokens": 80, "prompt_tokens": 1691, "total_tokens": 1771, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1143, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1143, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1143, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.491357084014453, "usage": {"completion_tokens": 106, "prompt_tokens": 2529, "total_tokens": 2635, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 838, "cached_tokens": 1143, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 838, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 838, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.914509708061814, "usage": {"completion_tokens": 386, "prompt_tokens": 3097, "total_tokens": 3483, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 62, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 568, "cached_tokens": 1981, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 568, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 568, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.098048583022319, "usage": {"completion_tokens": 259, "prompt_tokens": 3856, "total_tokens": 4115, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 82, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 759, "cached_tokens": 2549, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 759, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 759, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.446429542033002, "usage": {"completion_tokens": 220, "prompt_tokens": 4881, "total_tokens": 5101, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 86, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1025, "cached_tokens": 3308, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1025, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1025, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.888082958990708, "usage": {"completion_tokens": 118, "prompt_tokens": 5238, "total_tokens": 5356, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 357, "cached_tokens": 4333, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 357, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 357, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e731c0afd81b67c41aa3c0a2b7efa9d46a1f989190384d3fd52ed5a8d7d0faf1", "csv_sha256": "60ce1a60ccbc0ae77360e1d29ba06f36e989161d02d1b6ea8ca6182363a75aeb"} +{"instance_id": "bird063", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT MAX(CAST(frameVersion AS INTEGER)) - MIN(CAST(frameVersion AS INTEGER)) AS span_in_years\nFROM cards\nWHERE name = 'Tarmogoyf'\n AND frameVersion GLOB '[0-9][0-9][0-9][0-9]';\n```", "rows": 1, "sql": "SELECT MAX(CAST(frameVersion AS INTEGER)) - MIN(CAST(frameVersion AS INTEGER)) AS span_in_years\nFROM cards\nWHERE name = 'Tarmogoyf'\n AND frameVersion GLOB '[0-9][0-9][0-9][0-9]';", "seconds": 11.104232875048183, "calls": [{"seconds": 1.9155707909958437, "usage": {"completion_tokens": 19, "prompt_tokens": 1673, "total_tokens": 1692, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1125, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1125, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1125, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.42848766699899, "usage": {"completion_tokens": 38, "prompt_tokens": 2219, "total_tokens": 2257, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1125, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.731790874968283, "usage": {"completion_tokens": 116, "prompt_tokens": 2311, "total_tokens": 2427, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 35, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 92, "cached_tokens": 1671, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 92, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 92, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8969364169752225, "usage": {"completion_tokens": 69, "prompt_tokens": 2516, "total_tokens": 2585, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 205, "cached_tokens": 1763, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 205, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 205, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "741a2e6447f7b992aee19f0cfdfc4e8620ae54af4c18e470cbc571349eddadb1", "csv_sha256": "e21e317d4a1f5dff2956e392926ae4b81e12beefd33cbd30e8f24452f4a78639"} +{"instance_id": "bird064", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS card_count\nFROM cards\nWHERE borderColor = 'black'\n AND instr(',' || availability || ',', ',mtgo,') > 0\n AND CAST(power AS INTEGER) >= 10;\n```", "rows": 1, "sql": "SELECT COUNT(*) AS card_count\nFROM cards\nWHERE borderColor = 'black'\n AND instr(',' || availability || ',', ',mtgo,') > 0\n AND CAST(power AS INTEGER) >= 10;", "seconds": 21.94444091594778, "calls": [{"seconds": 2.760411415947601, "usage": {"completion_tokens": 66, "prompt_tokens": 1660, "total_tokens": 1726, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1112, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1112, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1112, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.539075416978449, "usage": {"completion_tokens": 193, "prompt_tokens": 2456, "total_tokens": 2649, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 114, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 796, "cached_tokens": 1112, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 796, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 796, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.521288875024766, "usage": {"completion_tokens": 275, "prompt_tokens": 3005, "total_tokens": 3280, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 213, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 549, "cached_tokens": 1908, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 549, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 549, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6717076670611277, "usage": {"completion_tokens": 75, "prompt_tokens": 3346, "total_tokens": 3421, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 20, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 341, "cached_tokens": 2457, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 341, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 341, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5dbd62e4d6a6c8752a2811dd4331393b97c242875fd8bf6843a0f0108a6269e6", "csv_sha256": "e82d2d591302dd3d76309f030c09d49f8f849efb387104ae1960e27f9a70b727"} +{"instance_id": "bird065", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH translation_counts AS (\n SELECT setCode, COUNT(DISTINCT translation COLLATE BINARY) AS translation_count\n FROM set_translations\n GROUP BY setCode\n)\nSELECT SUM(s.totalSetSize) AS total_cards\nFROM sets AS s\nLEFT JOIN translation_counts AS t ON t.setCode = s.code\nWHERE COALESCE(t.translation_count, 0) < 5;\n```", "rows": 1, "sql": "WITH translation_counts AS (\n SELECT setCode, COUNT(DISTINCT translation COLLATE BINARY) AS translation_count\n FROM set_translations\n GROUP BY setCode\n)\nSELECT SUM(s.totalSetSize) AS total_cards\nFROM sets AS s\nLEFT JOIN translation_counts AS t ON t.setCode = s.code\nWHERE COALESCE(t.translation_count, 0) < 5;", "seconds": 10.79451491695363, "calls": [{"seconds": 2.4349495839560404, "usage": {"completion_tokens": 52, "prompt_tokens": 1761, "total_tokens": 1813, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1213, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1213, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1213, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.322218540939502, "usage": {"completion_tokens": 171, "prompt_tokens": 2020, "total_tokens": 2191, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 68, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 259, "cached_tokens": 1213, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 259, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 259, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.015063124941662, "usage": {"completion_tokens": 90, "prompt_tokens": 2301, "total_tokens": 2391, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 281, "cached_tokens": 1472, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 281, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 281, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "928daddf5e2a4d70f7395891a1ceb5b3eebe51cebbed2874605f78594e278a07", "csv_sha256": "9b99d448e0fcf4da4c3e8468972e2442295d2ac27de1bac11508d8179aaa5b03"} +{"instance_id": "bird066", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH set_status AS (\n SELECT s.type AS set_type,\n s.totalSetSize AS card_count,\n EXISTS (\n SELECT 1\n FROM set_translations AS st\n WHERE st.setCode = s.code\n AND TRIM(st.translation) <> ''\n ) AS has_translation\n FROM sets AS s\n)\nSELECT set_type,\n COUNT(CASE WHEN has_translation THEN 1 END) AS translated_set_count,\n CASE WHEN COUNT(CASE WHEN has_translation THEN 1 END) = 0 THEN 0\n ELSE SUM(CASE WHEN has_translation THEN card_count END)\n END AS total_cards\nFROM set_status\nGROUP BY set_type\nORDER BY set_type;\n```", "rows": 20, "sql": "WITH set_status AS (\n SELECT s.type AS set_type,\n s.totalSetSize AS card_count,\n EXISTS (\n SELECT 1\n FROM set_translations AS st\n WHERE st.setCode = s.code\n AND TRIM(st.translation) <> ''\n ) AS has_translation\n FROM sets AS s\n)\nSELECT set_type,\n COUNT(CASE WHEN has_translation THEN 1 END) AS translated_set_count,\n CASE WHEN COUNT(CASE WHEN has_translation THEN 1 END) = 0 THEN 0\n ELSE SUM(CASE WHEN has_translation THEN card_count END)\n END AS total_cards\nFROM set_status\nGROUP BY set_type\nORDER BY set_type;", "seconds": 11.770612667081878, "calls": [{"seconds": 2.2793621249729767, "usage": {"completion_tokens": 52, "prompt_tokens": 1729, "total_tokens": 1781, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1181, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1181, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1181, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.546185165992938, "usage": {"completion_tokens": 256, "prompt_tokens": 1988, "total_tokens": 2244, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 83, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 259, "cached_tokens": 1181, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 259, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 259, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8255783329950646, "usage": {"completion_tokens": 152, "prompt_tokens": 2612, "total_tokens": 2764, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 624, "cached_tokens": 1440, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 624, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 624, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "faa1c60d4ea079c17fd46b9f7b2eaec43b2983c09cbe29b061831757a597f8cf", "csv_sha256": "5b951c6896d556b708e84c25024e221a6d1f1dfaf8af69434a5f6de90416c831"} +{"instance_id": "bird067", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH factory_rulings AS (\n SELECT DATE(r.date) AS ruling_date, r.text AS ruling_text\n FROM rulings AS r\n WHERE EXISTS (\n SELECT 1\n FROM cards AS c\n WHERE c.uuid = r.uuid\n AND c.name = 'Mishra''s Factory'\n )\n)\nSELECT COUNT(DISTINCT ruling_text) AS ruling_count\nFROM factory_rulings\nWHERE ruling_date = (SELECT MAX(ruling_date) FROM factory_rulings);\n```", "rows": 1, "sql": "WITH factory_rulings AS (\n SELECT DATE(r.date) AS ruling_date, r.text AS ruling_text\n FROM rulings AS r\n WHERE EXISTS (\n SELECT 1\n FROM cards AS c\n WHERE c.uuid = r.uuid\n AND c.name = 'Mishra''s Factory'\n )\n)\nSELECT COUNT(DISTINCT ruling_text) AS ruling_count\nFROM factory_rulings\nWHERE ruling_date = (SELECT MAX(ruling_date) FROM factory_rulings);", "seconds": 12.99045041599311, "calls": [{"seconds": 2.2869134159991518, "usage": {"completion_tokens": 52, "prompt_tokens": 1684, "total_tokens": 1736, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1136, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1136, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1136, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4788529169745743, "usage": {"completion_tokens": 124, "prompt_tokens": 2300, "total_tokens": 2424, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 20, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 616, "cached_tokens": 1136, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 616, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 616, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2996305000269786, "usage": {"completion_tokens": 127, "prompt_tokens": 2829, "total_tokens": 2956, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 529, "cached_tokens": 1752, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 529, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 529, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5574584999121726, "usage": {"completion_tokens": 112, "prompt_tokens": 3088, "total_tokens": 3200, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 259, "cached_tokens": 2281, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 259, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 259, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7169577b155546fc6c3dff755c094d48385fe3a9914cb1c99ad921fba9b935bc", "csv_sha256": "fae45a2f622195d7c553eee771902e9eacf64d54a81691a9db5c0ee7127e8b3d"} +{"instance_id": "bird068", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH artist_counts AS (\n SELECT artist, COUNT(DISTINCT name) AS creature_card_count\n FROM cards\n WHERE ',' || types || ',' LIKE '%,Creature,%'\n AND artist IS NOT NULL\n GROUP BY artist\n)\nSELECT artist, creature_card_count\nFROM artist_counts\nWHERE creature_card_count = (SELECT MAX(creature_card_count) FROM artist_counts)\nORDER BY artist;\n```", "rows": 1, "sql": "WITH artist_counts AS (\n SELECT artist, COUNT(DISTINCT name) AS creature_card_count\n FROM cards\n WHERE ',' || types || ',' LIKE '%,Creature,%'\n AND artist IS NOT NULL\n GROUP BY artist\n)\nSELECT artist, creature_card_count\nFROM artist_counts\nWHERE creature_card_count = (SELECT MAX(creature_card_count) FROM artist_counts)\nORDER BY artist;", "seconds": 13.551278667058796, "calls": [{"seconds": 2.0749759579775855, "usage": {"completion_tokens": 19, "prompt_tokens": 1658, "total_tokens": 1677, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1110, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1110, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1110, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.70219262491446, "usage": {"completion_tokens": 45, "prompt_tokens": 2204, "total_tokens": 2249, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1110, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.078556583030149, "usage": {"completion_tokens": 198, "prompt_tokens": 2354, "total_tokens": 2552, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 93, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 150, "cached_tokens": 1656, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 150, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 150, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5841920420061797, "usage": {"completion_tokens": 90, "prompt_tokens": 2670, "total_tokens": 2760, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 316, "cached_tokens": 1806, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 316, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 316, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "3e4f6c8017fb515fb0c2f4ba5aaae9c9484b3f5e72e13da5690c1c830049199e", "csv_sha256": "23390c742855a81802d5a9be95e7479f9627db145fd6e1017bcf6900e18c23c3"} +{"instance_id": "bird069", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT frameVersion, COUNT(*) AS card_count\nFROM cards\nWHERE frameVersion = (\n SELECT MAX(frameVersion)\n FROM cards\n WHERE convertedManaCost = 0\n)\nGROUP BY frameVersion;\n```", "rows": 1, "sql": "SELECT frameVersion, COUNT(*) AS card_count\nFROM cards\nWHERE frameVersion = (\n SELECT MAX(frameVersion)\n FROM cards\n WHERE convertedManaCost = 0\n)\nGROUP BY frameVersion;", "seconds": 15.105044167023152, "calls": [{"seconds": 2.0600722499657422, "usage": {"completion_tokens": 19, "prompt_tokens": 1703, "total_tokens": 1722, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1155, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1155, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1155, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.5894747079582885, "usage": {"completion_tokens": 60, "prompt_tokens": 2249, "total_tokens": 2309, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1155, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.318830791977234, "usage": {"completion_tokens": 297, "prompt_tokens": 2439, "total_tokens": 2736, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 232, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 190, "cached_tokens": 1701, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 190, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 190, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.025638082996011, "usage": {"completion_tokens": 51, "prompt_tokens": 2814, "total_tokens": 2865, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 375, "cached_tokens": 1891, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 375, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 375, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7a9a03c6015c66f4d4a28dd136234f4c5e1ef62f59aef3a6fa25fbe4622b7bba", "csv_sha256": "f9fed755ca3315d228db8d836ce1ee0a037597807b03796289740118f32406e9"} +{"instance_id": "bird070", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH frame_counts AS (\n SELECT frameVersion,\n COUNT(*) AS printing_count,\n SUM(COUNT(*)) OVER () AS total_printings\n FROM cards\n WHERE name = 'Tarmogoyf'\n GROUP BY frameVersion\n)\nSELECT CAST(frameVersion AS INTEGER) AS frame_year,\n ROUND(100.0 * printing_count / total_printings, 2) AS percentage\nFROM frame_counts\nWHERE frameVersion GLOB '[0-9][0-9][0-9][0-9]'\nORDER BY frame_year DESC\nLIMIT 1;\n```", "rows": 1, "sql": "WITH frame_counts AS (\n SELECT frameVersion,\n COUNT(*) AS printing_count,\n SUM(COUNT(*)) OVER () AS total_printings\n FROM cards\n WHERE name = 'Tarmogoyf'\n GROUP BY frameVersion\n)\nSELECT CAST(frameVersion AS INTEGER) AS frame_year,\n ROUND(100.0 * printing_count / total_printings, 2) AS percentage\nFROM frame_counts\nWHERE frameVersion GLOB '[0-9][0-9][0-9][0-9]'\nORDER BY frame_year DESC\nLIMIT 1;", "seconds": 23.008978792000562, "calls": [{"seconds": 1.8762178749311715, "usage": {"completion_tokens": 19, "prompt_tokens": 1694, "total_tokens": 1713, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1146, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1146, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1146, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.165058000013232, "usage": {"completion_tokens": 145, "prompt_tokens": 2240, "total_tokens": 2385, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 88, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1146, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.00183833297342, "usage": {"completion_tokens": 371, "prompt_tokens": 2516, "total_tokens": 2887, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 225, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 276, "cached_tokens": 1692, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 276, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 276, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.8864782500313595, "usage": {"completion_tokens": 127, "prompt_tokens": 3039, "total_tokens": 3166, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 523, "cached_tokens": 1968, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 523, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 523, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "228461e146b90c9828df881a9732d5e8b36c54ff12464980845ffd9a5ec9aace", "csv_sha256": "8f946425846cf8755d2c3188cdbb8b287f70200e53345aa656b6befaa2bc353c"} +{"instance_id": "bird071", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT c.name) AS card_count\nFROM cards AS c\nJOIN legalities AS l ON l.uuid = c.uuid\nWHERE c.manaCost = '{0}'\n AND l.format = 'commander'\n AND l.status = 'Legal';\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT c.name) AS card_count\nFROM cards AS c\nJOIN legalities AS l ON l.uuid = c.uuid\nWHERE c.manaCost = '{0}'\n AND l.format = 'commander'\n AND l.status = 'Legal';", "seconds": 8.191145249991678, "calls": [{"seconds": 2.4981802499387413, "usage": {"completion_tokens": 51, "prompt_tokens": 1693, "total_tokens": 1744, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1145, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1145, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1145, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.800430125091225, "usage": {"completion_tokens": 75, "prompt_tokens": 2307, "total_tokens": 2382, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 614, "cached_tokens": 1145, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 614, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 614, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.6789387080352753, "usage": {"completion_tokens": 63, "prompt_tokens": 2464, "total_tokens": 2527, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 157, "cached_tokens": 1759, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 157, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 157, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "47141c8c7f6be394859e17d5d4d375a63a6341b1b24b3f3836d1485e695ab62b", "csv_sha256": "cfd50205aa60e831e82cbcf058a18b74c4fa6ffe7d7999148dbef8976b1078fe"} +{"instance_id": "bird072", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS card_count\nFROM cards\nWHERE instr(',' || keywords || ',', ',Flying,') > 0\n AND instr(',' || keywords || ',', ',Cycling,') > 0;\n```", "rows": 1, "sql": "SELECT COUNT(*) AS card_count\nFROM cards\nWHERE instr(',' || keywords || ',', ',Flying,') > 0\n AND instr(',' || keywords || ',', ',Cycling,') > 0;", "seconds": 10.26296345796436, "calls": [{"seconds": 2.088542041950859, "usage": {"completion_tokens": 19, "prompt_tokens": 1657, "total_tokens": 1676, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1109, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1109, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1109, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.550906250020489, "usage": {"completion_tokens": 44, "prompt_tokens": 2203, "total_tokens": 2247, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1109, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.857834875001572, "usage": {"completion_tokens": 59, "prompt_tokens": 2344, "total_tokens": 2403, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 141, "cached_tokens": 1655, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 141, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 141, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.642544124973938, "usage": {"completion_tokens": 50, "prompt_tokens": 2472, "total_tokens": 2522, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 128, "cached_tokens": 1796, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 128, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 128, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "887b0d8d0752cf94bfeb8f83490c94f376b417e4adad277b085d4de37624da72", "csv_sha256": "33a4c0408c0cde53bd7ffc2a4534ac0bfe0289c3d8c64df265a119ccf54361a5"} +{"instance_id": "bird073", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH first_printing AS (\n SELECT s.code, s.name, s.releaseDate\n FROM sets AS s\n WHERE s.releaseDate IS NOT NULL\n AND EXISTS (\n SELECT 1\n FROM cards AS c\n WHERE c.setCode = s.code\n AND c.name = 'Abyssal Horror'\n )\n ORDER BY s.releaseDate ASC, s.code ASC\n LIMIT 1\n),\nlatest_set AS (\n SELECT s.code, s.name, s.releaseDate\n FROM sets AS s\n WHERE s.releaseDate IS NOT NULL\n ORDER BY s.releaseDate DESC, s.code ASC\n LIMIT 1\n),\nselected_sets AS (\n SELECT code, name, releaseDate FROM first_printing\n UNION\n SELECT code, name, releaseDate FROM latest_set\n)\nSELECT s.name AS set_name,\n ROUND(\n 100.0 * COUNT(CASE\n WHEN TRIM(c.manaCost) <> '' AND c.convertedManaCost <= 3 THEN 1\n END) / NULLIF(COUNT(c.setCode), 0),\n 2\n ) AS percentage\nFROM selected_sets AS s\nLEFT JOIN cards AS c ON c.setCode = s.code\nGROUP BY s.code, s.name, s.releaseDate\nORDER BY s.releaseDate, s.code;\n```", "rows": 2, "sql": "WITH first_printing AS (\n SELECT s.code, s.name, s.releaseDate\n FROM sets AS s\n WHERE s.releaseDate IS NOT NULL\n AND EXISTS (\n SELECT 1\n FROM cards AS c\n WHERE c.setCode = s.code\n AND c.name = 'Abyssal Horror'\n )\n ORDER BY s.releaseDate ASC, s.code ASC\n LIMIT 1\n),\nlatest_set AS (\n SELECT s.code, s.name, s.releaseDate\n FROM sets AS s\n WHERE s.releaseDate IS NOT NULL\n ORDER BY s.releaseDate DESC, s.code ASC\n LIMIT 1\n),\nselected_sets AS (\n SELECT code, name, releaseDate FROM first_printing\n UNION\n SELECT code, name, releaseDate FROM latest_set\n)\nSELECT s.name AS set_name,\n ROUND(\n 100.0 * COUNT(CASE\n WHEN TRIM(c.manaCost) <> '' AND c.convertedManaCost <= 3 THEN 1\n END) / NULLIF(COUNT(c.setCode), 0),\n 2\n ) AS percentage\nFROM selected_sets AS s\nLEFT JOIN cards AS c ON c.setCode = s.code\nGROUP BY s.code, s.name, s.releaseDate\nORDER BY s.releaseDate, s.code;", "seconds": 34.44143225008156, "calls": [{"seconds": 2.595458082971163, "usage": {"completion_tokens": 50, "prompt_tokens": 1814, "total_tokens": 1864, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1266, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1266, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1266, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.56197899999097, "usage": {"completion_tokens": 475, "prompt_tokens": 2558, "total_tokens": 3033, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 167, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 744, "cached_tokens": 1266, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 744, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 744, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.48221570905298, "usage": {"completion_tokens": 287, "prompt_tokens": 3359, "total_tokens": 3646, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 801, "cached_tokens": 2010, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 801, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 801, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7111b352773c5d751c694f0d80a010d238640ce62722de61bf03e1f0fdd855a5", "csv_sha256": "82633bdb8f4dbf83007de88dbeca92bd7ad0ebbf458f2a7792aa1522e15411fe"} +{"instance_id": "bird074", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT name) AS release_promo_card_count\nFROM cards\nWHERE isPromo = 1\n AND instr(',' || promoTypes || ',', ',release,') > 0;\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT name) AS release_promo_card_count\nFROM cards\nWHERE isPromo = 1\n AND instr(',' || promoTypes || ',', ',release,') > 0;", "seconds": 15.718285082955845, "calls": [{"seconds": 2.0111868330277503, "usage": {"completion_tokens": 19, "prompt_tokens": 1668, "total_tokens": 1687, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1120, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1120, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1120, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.629111540969461, "usage": {"completion_tokens": 52, "prompt_tokens": 2214, "total_tokens": 2266, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1120, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.033079624990933, "usage": {"completion_tokens": 194, "prompt_tokens": 2470, "total_tokens": 2664, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 120, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 256, "cached_tokens": 1666, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 256, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 256, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.031482834019698, "usage": {"completion_tokens": 57, "prompt_tokens": 2772, "total_tokens": 2829, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 302, "cached_tokens": 1922, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 302, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 302, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8745323750190437, "usage": {"completion_tokens": 49, "prompt_tokens": 2900, "total_tokens": 2949, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 128, "cached_tokens": 2224, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 128, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 128, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "80fbae23accb888137f8815e95202816a2030eb96db553c833a2603f3f49b3bf", "csv_sha256": "a0d1c62bc4e595e1e40f278509408bbe089a747ed977dba6d5d3d0ff3cd96d74"} +{"instance_id": "bird075", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH abzan_cards AS (\n SELECT c.uuid, c.name, c.number,\n RANK() OVER (ORDER BY CAST(c.number AS INTEGER) DESC) AS collector_rank\n FROM cards AS c\n WHERE c.watermark = 'abzan' COLLATE NOCASE\n)\nSELECT a.name,\n a.number AS collector_number,\n (SELECT COUNT(*) FROM foreign_data AS f WHERE f.uuid = a.uuid) AS foreign_language_printings\nFROM abzan_cards AS a\nWHERE a.collector_rank = 1\nORDER BY a.name;\n```", "rows": 1, "sql": "WITH abzan_cards AS (\n SELECT c.uuid, c.name, c.number,\n RANK() OVER (ORDER BY CAST(c.number AS INTEGER) DESC) AS collector_rank\n FROM cards AS c\n WHERE c.watermark = 'abzan' COLLATE NOCASE\n)\nSELECT a.name,\n a.number AS collector_number,\n (SELECT COUNT(*) FROM foreign_data AS f WHERE f.uuid = a.uuid) AS foreign_language_printings\nFROM abzan_cards AS a\nWHERE a.collector_rank = 1\nORDER BY a.name;", "seconds": 19.70194304198958, "calls": [{"seconds": 2.3085158329922706, "usage": {"completion_tokens": 51, "prompt_tokens": 1750, "total_tokens": 1801, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1202, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1202, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1202, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.0288708340376616, "usage": {"completion_tokens": 168, "prompt_tokens": 2387, "total_tokens": 2555, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 83, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 637, "cached_tokens": 1202, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 637, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 637, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.6193487090058625, "usage": {"completion_tokens": 271, "prompt_tokens": 2877, "total_tokens": 3148, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 133, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 490, "cached_tokens": 1839, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 490, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 490, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.596111499937251, "usage": {"completion_tokens": 122, "prompt_tokens": 3310, "total_tokens": 3432, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 433, "cached_tokens": 2329, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 433, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 433, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "cd3800b40239b9a6f14f7599e1ec10e36e68e3f1816da3b334f73a7457cf5b05", "csv_sha256": "f5b90a9492770690e1019fc8c12ea60e1b7d843b46b85f2f61c618d74f474dc8"} +{"instance_id": "bird076", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS card_count\nFROM cards\nWHERE borderColor = 'white'\n AND power NOT LIKE '%*%'\n AND CAST(power AS REAL) < 3;\n```", "rows": 1, "sql": "SELECT COUNT(*) AS card_count\nFROM cards\nWHERE borderColor = 'white'\n AND power NOT LIKE '%*%'\n AND CAST(power AS REAL) < 3;", "seconds": 17.407104041078128, "calls": [{"seconds": 2.08036079199519, "usage": {"completion_tokens": 19, "prompt_tokens": 1671, "total_tokens": 1690, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1123, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1123, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1123, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0600000420818105, "usage": {"completion_tokens": 68, "prompt_tokens": 2217, "total_tokens": 2285, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 31, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1123, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.308353833970614, "usage": {"completion_tokens": 360, "prompt_tokens": 2357, "total_tokens": 2717, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 302, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 140, "cached_tokens": 1669, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 140, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 140, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.881849625031464, "usage": {"completion_tokens": 44, "prompt_tokens": 2781, "total_tokens": 2825, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 424, "cached_tokens": 1809, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 424, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 424, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "46f822cd7bb595252d51eaf0611f065645da91e7ee46f0261334041edbea6edf", "csv_sha256": "b002e31d115902f8d948cc4a93234c8a56d3e2b5808ef5dba3d3468c7f1f7b39"} +{"instance_id": "bird077", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH flash_cards AS (\n SELECT c.name, c.convertedManaCost\n FROM cards AS c\n JOIN sets AS s ON s.code = c.setCode\n WHERE s.name = 'Dark Ascension'\n AND instr(',' || c.keywords || ',', ',Flash,') > 0\n)\nSELECT DISTINCT name\nFROM flash_cards\nWHERE convertedManaCost = (SELECT MAX(convertedManaCost) FROM flash_cards)\nORDER BY name;\n```", "rows": 3, "sql": "WITH flash_cards AS (\n SELECT c.name, c.convertedManaCost\n FROM cards AS c\n JOIN sets AS s ON s.code = c.setCode\n WHERE s.name = 'Dark Ascension'\n AND instr(',' || c.keywords || ',', ',Flash,') > 0\n)\nSELECT DISTINCT name\nFROM flash_cards\nWHERE convertedManaCost = (SELECT MAX(convertedManaCost) FROM flash_cards)\nORDER BY name;", "seconds": 12.079331124899909, "calls": [{"seconds": 2.310860582976602, "usage": {"completion_tokens": 50, "prompt_tokens": 1715, "total_tokens": 1765, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1167, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1167, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1167, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9927861660253257, "usage": {"completion_tokens": 72, "prompt_tokens": 2459, "total_tokens": 2531, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 744, "cached_tokens": 1167, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 744, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 744, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1789859159616753, "usage": {"completion_tokens": 114, "prompt_tokens": 2925, "total_tokens": 3039, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 466, "cached_tokens": 1911, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 466, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 466, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.455560000031255, "usage": {"completion_tokens": 101, "prompt_tokens": 3174, "total_tokens": 3275, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 249, "cached_tokens": 2377, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 249, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 249, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9d42000fe58f13c94bb2712817b5ba69dcedff51faf8a094f44ccc97fd84c977", "csv_sha256": "25ad07c37960a81c63501194ffeedb483a0246596d8c0e9d8d9e48da8d080532"} +{"instance_id": "bird078", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n s.name,\n s.keyruneCode,\n (\n SELECT COUNT(DISTINCT st.language)\n FROM set_translations AS st\n WHERE st.setCode = s.code\n AND NULLIF(TRIM(st.translation), '') IS NOT NULL\n ) AS language_count\nFROM sets AS s\nWHERE s.releaseDate >= '2020-01-01'\n AND s.releaseDate < '2021-01-01'\nORDER BY s.releaseDate, s.name, s.code;\n```", "rows": 34, "sql": "SELECT\n s.name,\n s.keyruneCode,\n (\n SELECT COUNT(DISTINCT st.language)\n FROM set_translations AS st\n WHERE st.setCode = s.code\n AND NULLIF(TRIM(st.translation), '') IS NOT NULL\n ) AS language_count\nFROM sets AS s\nWHERE s.releaseDate >= '2020-01-01'\n AND s.releaseDate < '2021-01-01'\nORDER BY s.releaseDate, s.name, s.code;", "seconds": 14.017660540994257, "calls": [{"seconds": 2.32140137499664, "usage": {"completion_tokens": 52, "prompt_tokens": 1714, "total_tokens": 1766, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1166, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1166, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1166, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.928732709027827, "usage": {"completion_tokens": 159, "prompt_tokens": 1973, "total_tokens": 2132, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 44, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 259, "cached_tokens": 1166, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 259, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 259, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.014437082922086, "usage": {"completion_tokens": 128, "prompt_tokens": 2385, "total_tokens": 2513, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 412, "cached_tokens": 1425, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 412, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 412, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7321977079845965, "usage": {"completion_tokens": 113, "prompt_tokens": 3062, "total_tokens": 3175, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 677, "cached_tokens": 1837, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 677, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 677, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8a3e699a01b3269ec38e92594fad636c7da0867d1f013226d8bcb5fd232ff256", "csv_sha256": "2c7d6b16fac9cb78c67dc6209b5192cc02b96e7e9e86e4c7c49fa883c65e1230"} +{"instance_id": "bird079", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT SUM(s.totalSetSize) AS total_cards\nFROM sets AS s\nWHERE s.releaseDate >= '2017-01-01'\n AND s.releaseDate < '2018-01-01'\n AND EXISTS (\n SELECT 1\n FROM set_translations AS t\n WHERE t.setCode = s.code\n AND TRIM(t.language) <> ''\n AND TRIM(t.language) COLLATE NOCASE <> 'English'\n AND TRIM(t.translation) <> ''\n );\n```", "rows": 1, "sql": "SELECT SUM(s.totalSetSize) AS total_cards\nFROM sets AS s\nWHERE s.releaseDate >= '2017-01-01'\n AND s.releaseDate < '2018-01-01'\n AND EXISTS (\n SELECT 1\n FROM set_translations AS t\n WHERE t.setCode = s.code\n AND TRIM(t.language) <> ''\n AND TRIM(t.language) COLLATE NOCASE <> 'English'\n AND TRIM(t.translation) <> ''\n );", "seconds": 25.126754082972184, "calls": [{"seconds": 3.3628711249912158, "usage": {"completion_tokens": 67, "prompt_tokens": 1740, "total_tokens": 1807, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1192, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1192, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1192, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.857675042003393, "usage": {"completion_tokens": 266, "prompt_tokens": 2539, "total_tokens": 2805, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 123, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 799, "cached_tokens": 1192, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 799, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 799, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.283761958009563, "usage": {"completion_tokens": 263, "prompt_tokens": 4067, "total_tokens": 4330, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 132, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1528, "cached_tokens": 1991, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1528, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1528, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.103082666057162, "usage": {"completion_tokens": 351, "prompt_tokens": 4461, "total_tokens": 4812, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 237, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 394, "cached_tokens": 3519, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 394, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 394, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1d4460399ec641eb647527e522d8a58c6582b7f91edad9d707a8b450927f894b", "csv_sha256": "de3922cb88d49a0b17b6c43e143c7f40b827b3f3811b284fd13e05457cb2d62c"} +{"instance_id": "bird080", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS card_count\nFROM cards\nWHERE duelDeck = 'b'\n AND hasFoil = 0\n AND power = CAST(CAST(power AS INTEGER) AS TEXT)\n AND CAST(power AS INTEGER) < 3;\n```", "rows": 1, "sql": "SELECT COUNT(*) AS card_count\nFROM cards\nWHERE duelDeck = 'b'\n AND hasFoil = 0\n AND power = CAST(CAST(power AS INTEGER) AS TEXT)\n AND CAST(power AS INTEGER) < 3;", "seconds": 13.789198582991958, "calls": [{"seconds": 2.0102047079708427, "usage": {"completion_tokens": 19, "prompt_tokens": 1665, "total_tokens": 1684, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1117, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1117, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1117, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1832537499722093, "usage": {"completion_tokens": 69, "prompt_tokens": 2211, "total_tokens": 2280, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 20, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1117, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.053270958014764, "usage": {"completion_tokens": 169, "prompt_tokens": 2410, "total_tokens": 2579, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 98, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 199, "cached_tokens": 1663, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 199, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 199, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4739373750053346, "usage": {"completion_tokens": 59, "prompt_tokens": 2657, "total_tokens": 2716, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 247, "cached_tokens": 1862, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 247, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 247, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a545b11bc554ea49f04c0f393c897ea927fe000e561ec2b7595af8eb74cd2e81", "csv_sha256": "df955849972331f0da32a0390f30e5d2df7c60c696b0091d15ae149b0c53d5af"} +{"instance_id": "bird081", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH artist_counts AS (\n SELECT artist, COUNT(*) AS card_count\n FROM cards\n WHERE borderColor = 'black'\n AND instr(',' || availability || ',', ',arena,') > 0\n AND trim(power) NOT GLOB '*[^0-9]*'\n AND CAST(trim(power) AS INTEGER) >= 10\n GROUP BY artist\n)\nSELECT artist, card_count\nFROM artist_counts\nWHERE card_count = (SELECT MAX(card_count) FROM artist_counts)\nORDER BY artist;\n```", "rows": 3, "sql": "WITH artist_counts AS (\n SELECT artist, COUNT(*) AS card_count\n FROM cards\n WHERE borderColor = 'black'\n AND instr(',' || availability || ',', ',arena,') > 0\n AND trim(power) NOT GLOB '*[^0-9]*'\n AND CAST(trim(power) AS INTEGER) >= 10\n GROUP BY artist\n)\nSELECT artist, card_count\nFROM artist_counts\nWHERE card_count = (SELECT MAX(card_count) FROM artist_counts)\nORDER BY artist;", "seconds": 18.656341332942247, "calls": [{"seconds": 3.2084666249575093, "usage": {"completion_tokens": 19, "prompt_tokens": 1754, "total_tokens": 1773, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1206, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1206, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1206, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.829977542045526, "usage": {"completion_tokens": 53, "prompt_tokens": 2300, "total_tokens": 2353, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1206, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.987787374993786, "usage": {"completion_tokens": 75, "prompt_tokens": 2455, "total_tokens": 2530, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 155, "cached_tokens": 1752, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 155, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 155, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.9774597499053925, "usage": {"completion_tokens": 247, "prompt_tokens": 3218, "total_tokens": 3465, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 118, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 763, "cached_tokens": 1907, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 763, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 763, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4774541669758037, "usage": {"completion_tokens": 113, "prompt_tokens": 3622, "total_tokens": 3735, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 404, "cached_tokens": 2670, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 404, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 404, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "93314346ac9d5a0d48c349933559d1913614b497de01c0d22eae92ad69fab8c7", "csv_sha256": "1a230de0d744f4b7f4fc64d1b878f3bb68db60deb7bc211d96d7a24c7da13f6e"} +{"instance_id": "bird082", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT c.name) AS card_count\nFROM cards AS c\nWHERE c.hasContentWarning = 1\n AND instr(',' || c.availability || ',', ',paper,') > 0\n AND NOT EXISTS (\n SELECT 1\n FROM cards AS m\n WHERE m.name = c.name\n AND instr(',' || m.availability || ',', ',mtgo,') > 0\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT c.name) AS card_count\nFROM cards AS c\nWHERE c.hasContentWarning = 1\n AND instr(',' || c.availability || ',', ',paper,') > 0\n AND NOT EXISTS (\n SELECT 1\n FROM cards AS m\n WHERE m.name = c.name\n AND instr(',' || m.availability || ',', ',mtgo,') > 0\n );", "seconds": 14.312723000068218, "calls": [{"seconds": 2.5057426660787314, "usage": {"completion_tokens": 19, "prompt_tokens": 1700, "total_tokens": 1719, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1152, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1152, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1152, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9378907079808414, "usage": {"completion_tokens": 68, "prompt_tokens": 2246, "total_tokens": 2314, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1152, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.804028291953728, "usage": {"completion_tokens": 144, "prompt_tokens": 3469, "total_tokens": 3613, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 35, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1223, "cached_tokens": 1698, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1223, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1223, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.375997625058517, "usage": {"completion_tokens": 97, "prompt_tokens": 3729, "total_tokens": 3826, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 260, "cached_tokens": 2921, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 260, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 260, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "45e4d9c34e4722c30220d8340888c25d73ef11409586f1681a973dec5406eb0a", "csv_sha256": "b2daa6972a128f8b5a9ea07f6511b78e95d8e1cc73603c8137c2761ca5c52849"} +{"instance_id": "bird083", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n s.type AS expansion_type,\n COUNT(CASE WHEN EXISTS (\n SELECT 1\n FROM set_translations AS st\n WHERE st.setCode = s.code\n AND st.language = 'Japanese'\n AND TRIM(st.translation) <> ''\n ) THEN 1 END) AS japanese_name_count\nFROM sets AS s\nGROUP BY s.type\nORDER BY s.type;\n```", "rows": 20, "sql": "SELECT\n s.type AS expansion_type,\n COUNT(CASE WHEN EXISTS (\n SELECT 1\n FROM set_translations AS st\n WHERE st.setCode = s.code\n AND st.language = 'Japanese'\n AND TRIM(st.translation) <> ''\n ) THEN 1 END) AS japanese_name_count\nFROM sets AS s\nGROUP BY s.type\nORDER BY s.type;", "seconds": 14.408546375110745, "calls": [{"seconds": 2.314287459012121, "usage": {"completion_tokens": 52, "prompt_tokens": 1751, "total_tokens": 1803, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1203, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1203, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1203, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.683083416079171, "usage": {"completion_tokens": 79, "prompt_tokens": 2010, "total_tokens": 2089, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 49, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 259, "cached_tokens": 1203, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 259, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 259, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.663672249997035, "usage": {"completion_tokens": 144, "prompt_tokens": 2151, "total_tokens": 2295, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 38, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 141, "cached_tokens": 1462, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 141, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 141, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6894185839919373, "usage": {"completion_tokens": 90, "prompt_tokens": 2532, "total_tokens": 2622, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 381, "cached_tokens": 1603, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 381, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 381, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7f17aecfd2823f2ab61f2743b6ea0857a70113c440450bb6c5bf31a5f2bea94b", "csv_sha256": "59dd0840a9d28f049d9aa75dfd5e496cb94111100b745976f1cec260c8f59586"} +{"instance_id": "bird084", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT artist) AS artist_count\nFROM cards\nWHERE borderColor = 'black'\n AND instr(',' || availability || ',', ',arena,') > 0\n AND instr(',' || availability || ',', ',mtgo,') = 0\n AND power <> ''\n AND power NOT GLOB '*[^0-9]*'\n AND CAST(power AS INTEGER) >= 5;\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT artist) AS artist_count\nFROM cards\nWHERE borderColor = 'black'\n AND instr(',' || availability || ',', ',arena,') > 0\n AND instr(',' || availability || ',', ',mtgo,') = 0\n AND power <> ''\n AND power NOT GLOB '*[^0-9]*'\n AND CAST(power AS INTEGER) >= 5;", "seconds": 23.038296665996313, "calls": [{"seconds": 1.964834333048202, "usage": {"completion_tokens": 19, "prompt_tokens": 1749, "total_tokens": 1768, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1201, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1201, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1201, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.390558124985546, "usage": {"completion_tokens": 33, "prompt_tokens": 2295, "total_tokens": 2328, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1201, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.789011959102936, "usage": {"completion_tokens": 214, "prompt_tokens": 2444, "total_tokens": 2658, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 151, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 149, "cached_tokens": 1747, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 149, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 149, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.34979683405254, "usage": {"completion_tokens": 190, "prompt_tokens": 2752, "total_tokens": 2942, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 84, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 308, "cached_tokens": 1896, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 308, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 308, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.01433812500909, "usage": {"completion_tokens": 159, "prompt_tokens": 3209, "total_tokens": 3368, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 53, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 457, "cached_tokens": 2204, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 457, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 457, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.282254208927043, "usage": {"completion_tokens": 91, "prompt_tokens": 3478, "total_tokens": 3569, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 269, "cached_tokens": 2661, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 269, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 269, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7e86d8bfcf17bfd9ab354abd27fe33c185313ca58e7e5c7072a0a9535a2eb3a0", "csv_sha256": "b4c90087e38c10cef7ef162be3a03acce48232b71e9c9e922039e44c09102163"} +{"instance_id": "bird085", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH chosen_sets AS (\n SELECT s.code, s.releaseDate\n FROM sets AS s\n WHERE EXISTS (\n SELECT 1\n FROM cards AS a\n WHERE a.setCode = s.code\n AND a.name = 'Ancestor''s Chosen'\n )\n)\nSELECT COUNT(*) AS creature_count\nFROM cards AS c\nWHERE c.setCode IN (\n SELECT code\n FROM chosen_sets\n WHERE releaseDate = (SELECT MAX(releaseDate) FROM chosen_sets)\n)\n AND (',' || REPLACE(c.types, ' ', '') || ',') LIKE '%,Creature,%'\n AND c.power = CAST(CAST(c.power AS INTEGER) AS TEXT)\n AND c.toughness = CAST(CAST(c.toughness AS INTEGER) AS TEXT)\n AND CAST(c.power AS INTEGER) > CAST(c.toughness AS INTEGER);\n```", "rows": 1, "sql": "WITH chosen_sets AS (\n SELECT s.code, s.releaseDate\n FROM sets AS s\n WHERE EXISTS (\n SELECT 1\n FROM cards AS a\n WHERE a.setCode = s.code\n AND a.name = 'Ancestor''s Chosen'\n )\n)\nSELECT COUNT(*) AS creature_count\nFROM cards AS c\nWHERE c.setCode IN (\n SELECT code\n FROM chosen_sets\n WHERE releaseDate = (SELECT MAX(releaseDate) FROM chosen_sets)\n)\n AND (',' || REPLACE(c.types, ' ', '') || ',') LIKE '%,Creature,%'\n AND c.power = CAST(CAST(c.power AS INTEGER) AS TEXT)\n AND c.toughness = CAST(CAST(c.toughness AS INTEGER) AS TEXT)\n AND CAST(c.power AS INTEGER) > CAST(c.toughness AS INTEGER);", "seconds": 74.35689541592728, "calls": [{"seconds": 2.1400189170381054, "usage": {"completion_tokens": 50, "prompt_tokens": 1696, "total_tokens": 1746, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1148, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1148, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1148, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.109761959058233, "usage": {"completion_tokens": 154, "prompt_tokens": 2440, "total_tokens": 2594, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 744, "cached_tokens": 1148, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 744, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 744, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.599195582908578, "usage": {"completion_tokens": 140, "prompt_tokens": 3212, "total_tokens": 3352, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 88, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 772, "cached_tokens": 1892, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 772, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 772, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.819693750003353, "usage": {"completion_tokens": 402, "prompt_tokens": 3407, "total_tokens": 3809, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 193, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 195, "cached_tokens": 2664, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 195, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 195, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.522533500101417, "usage": {"completion_tokens": 186, "prompt_tokens": 4015, "total_tokens": 4201, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 608, "cached_tokens": 2859, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 608, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 608, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "c066c3eb560e92dfd3c65aa52923062e02784e29761409005aeaeadefcec3658", "csv_sha256": "64fe2a2129fa928b93e24a9318ce94a4df4dca2408c4f32ef8f5cd0d6afa887b"} +{"instance_id": "bird086", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT frameVersion AS frame_year, COUNT(*) AS card_count\nFROM cards\nWHERE cardKingdomId IS NOT NULL\n AND cardKingdomFoilId IS NOT NULL\n AND leadershipSkills LIKE '%''commander'': True%'\n AND frameVersion GLOB '[0-9][0-9][0-9][0-9]'\nGROUP BY frameVersion\nORDER BY frame_year DESC\nLIMIT 1;\n```", "rows": 1, "sql": "SELECT frameVersion AS frame_year, COUNT(*) AS card_count\nFROM cards\nWHERE cardKingdomId IS NOT NULL\n AND cardKingdomFoilId IS NOT NULL\n AND leadershipSkills LIKE '%''commander'': True%'\n AND frameVersion GLOB '[0-9][0-9][0-9][0-9]'\nGROUP BY frameVersion\nORDER BY frame_year DESC\nLIMIT 1;", "seconds": 52.23423450009432, "calls": [{"seconds": 6.094600500073284, "usage": {"completion_tokens": 65, "prompt_tokens": 1730, "total_tokens": 1795, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1182, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1182, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1182, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.250553125049919, "usage": {"completion_tokens": 134, "prompt_tokens": 2386, "total_tokens": 2520, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 57, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 656, "cached_tokens": 1182, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 656, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 656, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.913866499904543, "usage": {"completion_tokens": 292, "prompt_tokens": 2975, "total_tokens": 3267, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 116, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 589, "cached_tokens": 1838, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 589, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 589, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.615288125001825, "usage": {"completion_tokens": 410, "prompt_tokens": 3526, "total_tokens": 3936, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 299, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 551, "cached_tokens": 2427, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 551, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 551, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.550245124963112, "usage": {"completion_tokens": 116, "prompt_tokens": 4056, "total_tokens": 4172, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 18, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 530, "cached_tokens": 2978, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 530, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 530, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1393390edf4de21ab9769bdb1a7617f5f1ba157e2afae06854975510cb49b736", "csv_sha256": "2fb5b03fd8493a067eac36aa380fa7fad76da43390fa0ae35c1b6996b098eee7"} +{"instance_id": "bird087", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS total_rulings\nFROM (\n SELECT DISTINCT r.date, r.text\n FROM rulings AS r\n JOIN cards AS c ON c.uuid = r.uuid\n WHERE c.name = 'Fireball'\n) AS unique_rulings;\n```", "rows": 1, "sql": "SELECT COUNT(*) AS total_rulings\nFROM (\n SELECT DISTINCT r.date, r.text\n FROM rulings AS r\n JOIN cards AS c ON c.uuid = r.uuid\n WHERE c.name = 'Fireball'\n) AS unique_rulings;", "seconds": 12.910433209035546, "calls": [{"seconds": 2.8155683330260217, "usage": {"completion_tokens": 52, "prompt_tokens": 1661, "total_tokens": 1713, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1113, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1113, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1113, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1043499999213964, "usage": {"completion_tokens": 69, "prompt_tokens": 2277, "total_tokens": 2346, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 616, "cached_tokens": 1113, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 616, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 616, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9157230420969427, "usage": {"completion_tokens": 74, "prompt_tokens": 2674, "total_tokens": 2748, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 397, "cached_tokens": 1729, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 397, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 397, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8769358749268577, "usage": {"completion_tokens": 101, "prompt_tokens": 2832, "total_tokens": 2933, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 36, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 158, "cached_tokens": 2126, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 158, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 158, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "45d6c308362ef9c57bbc00d14a9efee2668295a111e394f4b76d7bbf86af3cb3", "csv_sha256": "1f5322be3c4231c55b9478d170e9987e94b345fe37503e5b70874536b601a38f"} +{"instance_id": "bird088", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH elf_cards AS (\n SELECT DISTINCT name\n FROM cards\n WHERE originalType = 'Creature - Elf'\n), distinct_rulings AS (\n SELECT DISTINCT e.name, r.date, r.text\n FROM elf_cards AS e\n JOIN cards AS c ON c.name = e.name\n JOIN rulings AS r ON r.uuid = c.uuid\n), ruling_counts AS (\n SELECT e.name, COUNT(r.name) AS ruling_count\n FROM elf_cards AS e\n LEFT JOIN distinct_rulings AS r ON r.name = e.name\n GROUP BY e.name\n)\nSELECT name, ruling_count\nFROM ruling_counts\nWHERE ruling_count = (SELECT MAX(ruling_count) FROM ruling_counts)\nORDER BY name;\n```", "rows": 1, "sql": "WITH elf_cards AS (\n SELECT DISTINCT name\n FROM cards\n WHERE originalType = 'Creature - Elf'\n), distinct_rulings AS (\n SELECT DISTINCT e.name, r.date, r.text\n FROM elf_cards AS e\n JOIN cards AS c ON c.name = e.name\n JOIN rulings AS r ON r.uuid = c.uuid\n), ruling_counts AS (\n SELECT e.name, COUNT(r.name) AS ruling_count\n FROM elf_cards AS e\n LEFT JOIN distinct_rulings AS r ON r.name = e.name\n GROUP BY e.name\n)\nSELECT name, ruling_count\nFROM ruling_counts\nWHERE ruling_count = (SELECT MAX(ruling_count) FROM ruling_counts)\nORDER BY name;", "seconds": 24.194553458015434, "calls": [{"seconds": 2.2678125000093132, "usage": {"completion_tokens": 52, "prompt_tokens": 1692, "total_tokens": 1744, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1144, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1144, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1144, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.777531125000678, "usage": {"completion_tokens": 174, "prompt_tokens": 2308, "total_tokens": 2482, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 24, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 616, "cached_tokens": 1144, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 616, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 616, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.116470625041984, "usage": {"completion_tokens": 144, "prompt_tokens": 3277, "total_tokens": 3421, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 14, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 969, "cached_tokens": 1760, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 969, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 969, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.224315125029534, "usage": {"completion_tokens": 333, "prompt_tokens": 3716, "total_tokens": 4049, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 156, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 439, "cached_tokens": 2729, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 439, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 439, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.159241916029714, "usage": {"completion_tokens": 160, "prompt_tokens": 4239, "total_tokens": 4399, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 523, "cached_tokens": 3168, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 523, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 523, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "076156ea5b3babf0be5636b34dae962a84c78cfd1a0c96be3adbec0dde9ac9a2", "csv_sha256": "d8460a6d2dc285c5aeb2d72cd41fa00ba931d5299b3218864923f3a45b2fd725"} +{"instance_id": "bird089", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT c.colors AS card_color,\n COUNT(DISTINCT l.format) AS legal_format_count\nFROM cards AS c\nLEFT JOIN legalities AS l\n ON l.uuid = c.uuid AND l.status = 'Legal'\nWHERE c.id BETWEEN 1 AND 20\nGROUP BY c.colors\nORDER BY c.colors;\n```", "rows": 2, "sql": "SELECT c.colors AS card_color,\n COUNT(DISTINCT l.format) AS legal_format_count\nFROM cards AS c\nLEFT JOIN legalities AS l\n ON l.uuid = c.uuid AND l.status = 'Legal'\nWHERE c.id BETWEEN 1 AND 20\nGROUP BY c.colors\nORDER BY c.colors;", "seconds": 14.816955875023268, "calls": [{"seconds": 2.6580811250023544, "usage": {"completion_tokens": 51, "prompt_tokens": 1710, "total_tokens": 1761, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1162, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1162, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1162, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9472005419665948, "usage": {"completion_tokens": 139, "prompt_tokens": 2324, "total_tokens": 2463, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 38, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 614, "cached_tokens": 1162, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 614, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 614, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7055934999370947, "usage": {"completion_tokens": 85, "prompt_tokens": 3288, "total_tokens": 3373, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 964, "cached_tokens": 1776, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 964, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 964, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.02878812502604, "usage": {"completion_tokens": 74, "prompt_tokens": 3480, "total_tokens": 3554, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 192, "cached_tokens": 2740, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 192, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 192, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6aca317c3500b593a43e3e55c73511c59c8504dce8074df5f69ef00e5d96a5ed", "csv_sha256": "c4d7dd727b51f7de4784f2a30fe658653b253e5b5cd7f0452eec0a9e9fd209bc"} +{"instance_id": "bird090", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH frame_counts AS (\n SELECT CAST(frameVersion AS INTEGER) AS frame_year,\n COUNT(*) AS card_count\n FROM cards\n WHERE artist = 'John Avon'\n AND NULLIF(TRIM(cardKingdomId), '') IS NOT NULL\n AND NULLIF(TRIM(cardKingdomFoilId), '') IS NOT NULL\n AND frameVersion GLOB '[0-9][0-9][0-9][0-9]'\n GROUP BY CAST(frameVersion AS INTEGER)\n)\nSELECT frame_year, card_count\nFROM frame_counts\nWHERE frame_year = (SELECT MAX(frame_year) FROM frame_counts);\n```", "rows": 1, "sql": "WITH frame_counts AS (\n SELECT CAST(frameVersion AS INTEGER) AS frame_year,\n COUNT(*) AS card_count\n FROM cards\n WHERE artist = 'John Avon'\n AND NULLIF(TRIM(cardKingdomId), '') IS NOT NULL\n AND NULLIF(TRIM(cardKingdomFoilId), '') IS NOT NULL\n AND frameVersion GLOB '[0-9][0-9][0-9][0-9]'\n GROUP BY CAST(frameVersion AS INTEGER)\n)\nSELECT frame_year, card_count\nFROM frame_counts\nWHERE frame_year = (SELECT MAX(frame_year) FROM frame_counts);", "seconds": 21.316258249920793, "calls": [{"seconds": 1.9057107089320198, "usage": {"completion_tokens": 19, "prompt_tokens": 1682, "total_tokens": 1701, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1134, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1134, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1134, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.957482666010037, "usage": {"completion_tokens": 261, "prompt_tokens": 2228, "total_tokens": 2489, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 160, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1134, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.610801375005394, "usage": {"completion_tokens": 321, "prompt_tokens": 2643, "total_tokens": 2964, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 167, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 415, "cached_tokens": 1680, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 415, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 415, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7603757079923525, "usage": {"completion_tokens": 136, "prompt_tokens": 3128, "total_tokens": 3264, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 2095, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5bb47177445dc8ef91f89d43efea7cb038cdb99c03741e8d891745d66b30eba2", "csv_sha256": "973de61b10d20758f20ff7bfb4f4327083258c526958cfce868dbb8058bc55dd"} +{"instance_id": "bird091", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS printing_count\nFROM cards AS c\nWHERE c.artist = 'Erica Yang'\n AND INSTR(',' || c.availability || ',', ',paper,') > 0\n AND EXISTS (\n SELECT 1\n FROM legalities AS l\n WHERE l.uuid = c.uuid\n AND l.format = 'pauper'\n AND l.status = 'Legal'\n );\n```", "rows": 1, "sql": "SELECT COUNT(*) AS printing_count\nFROM cards AS c\nWHERE c.artist = 'Erica Yang'\n AND INSTR(',' || c.availability || ',', ',paper,') > 0\n AND EXISTS (\n SELECT 1\n FROM legalities AS l\n WHERE l.uuid = c.uuid\n AND l.format = 'pauper'\n AND l.status = 'Legal'\n );", "seconds": 20.86867783300113, "calls": [{"seconds": 2.274040166987106, "usage": {"completion_tokens": 51, "prompt_tokens": 1717, "total_tokens": 1768, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1169, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1169, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1169, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0692907500779256, "usage": {"completion_tokens": 90, "prompt_tokens": 2331, "total_tokens": 2421, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 614, "cached_tokens": 1169, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 614, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 614, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.942299459013157, "usage": {"completion_tokens": 205, "prompt_tokens": 2635, "total_tokens": 2840, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 81, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 304, "cached_tokens": 1783, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 304, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 304, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.062525291927159, "usage": {"completion_tokens": 141, "prompt_tokens": 3008, "total_tokens": 3149, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 35, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 373, "cached_tokens": 2087, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 373, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 373, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1386811669217423, "usage": {"completion_tokens": 91, "prompt_tokens": 3259, "total_tokens": 3350, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 251, "cached_tokens": 2460, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 251, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 251, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d5d6f08582e822941b379db1d7da277a7be6fa1f95e3199e929305ba33aa1d99", "csv_sha256": "403279e88895371b85b15cd37efa38d11a8f4c4a81a9df749b56ff2d240b7209"} +{"instance_id": "bird092", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT cardKingdomFoilId, cardKingdomId\nFROM cards\nWHERE (',' || types || ',') LIKE '%,Creature,%'\n AND cardKingdomFoilId IS NOT NULL\n AND cardKingdomId IS NOT NULL\nORDER BY cardKingdomFoilId ASC, cardKingdomId ASC\nLIMIT 3;\n```", "rows": 3, "sql": "SELECT cardKingdomFoilId, cardKingdomId\nFROM cards\nWHERE (',' || types || ',') LIKE '%,Creature,%'\n AND cardKingdomFoilId IS NOT NULL\n AND cardKingdomId IS NOT NULL\nORDER BY cardKingdomFoilId ASC, cardKingdomId ASC\nLIMIT 3;", "seconds": 17.491878833970986, "calls": [{"seconds": 1.8708600000245497, "usage": {"completion_tokens": 19, "prompt_tokens": 1735, "total_tokens": 1754, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1187, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1187, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1187, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.013092958019115, "usage": {"completion_tokens": 310, "prompt_tokens": 2281, "total_tokens": 2591, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 218, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1187, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.2207387500675395, "usage": {"completion_tokens": 158, "prompt_tokens": 2940, "total_tokens": 3098, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 62, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 659, "cached_tokens": 1733, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 659, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 659, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2871184169780463, "usage": {"completion_tokens": 80, "prompt_tokens": 3223, "total_tokens": 3303, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 283, "cached_tokens": 2392, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 283, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 283, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f1a6d3139b1bf3dde52e65aa8dd3bffd129147ae1e825db105d775a0d9d970ad", "csv_sha256": "8b0622b07c11e8a42be5b7c2bf6248606a62de611eb9cc576efa9528369e5281"} +{"instance_id": "bird093", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH type_counts AS (\n SELECT c.types AS card_type, COUNT(*) AS card_count\n FROM cards AS c\n WHERE c.watermark = 'boros'\n AND EXISTS (\n SELECT 1\n FROM foreign_data AS f\n WHERE f.uuid = c.uuid\n AND f.language COLLATE NOCASE <> 'English'\n )\n GROUP BY c.types\n)\nSELECT card_type, card_count\nFROM type_counts\nWHERE card_count = (SELECT MAX(card_count) FROM type_counts)\nORDER BY card_type;\n```", "rows": 1, "sql": "WITH type_counts AS (\n SELECT c.types AS card_type, COUNT(*) AS card_count\n FROM cards AS c\n WHERE c.watermark = 'boros'\n AND EXISTS (\n SELECT 1\n FROM foreign_data AS f\n WHERE f.uuid = c.uuid\n AND f.language COLLATE NOCASE <> 'English'\n )\n GROUP BY c.types\n)\nSELECT card_type, card_count\nFROM type_counts\nWHERE card_count = (SELECT MAX(card_count) FROM type_counts)\nORDER BY card_type;", "seconds": 35.84026800002903, "calls": [{"seconds": 2.3140165000222623, "usage": {"completion_tokens": 51, "prompt_tokens": 1687, "total_tokens": 1738, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1139, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1139, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1139, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.845044584013522, "usage": {"completion_tokens": 226, "prompt_tokens": 2324, "total_tokens": 2550, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 102, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 637, "cached_tokens": 1139, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 637, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 637, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.040607082890347, "usage": {"completion_tokens": 232, "prompt_tokens": 2765, "total_tokens": 2997, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 95, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 441, "cached_tokens": 1776, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 441, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 441, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5537817920558155, "usage": {"completion_tokens": 118, "prompt_tokens": 3142, "total_tokens": 3260, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 377, "cached_tokens": 2217, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 377, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 377, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e557d6cdbc40eff6f96b2cbc79a5794a05327c0344265a82d2ea3678531cce37", "csv_sha256": "447dc32e5bf636101affb8d2cea2a2e2762bd4cb599f9ead3a2a47187f4fe577"} +{"instance_id": "bird094", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH guild_counts AS (\n SELECT LOWER(c.watermark) AS guild,\n COUNT(DISTINCT c.uuid) AS card_count\n FROM cards AS c\n WHERE LOWER(c.watermark) IN (\n 'azorius', 'boros', 'dimir', 'golgari', 'gruul',\n 'izzet', 'orzhov', 'rakdos', 'selesnya', 'simic'\n )\n AND c.uuid IN (\n SELECT f.uuid\n FROM foreign_data AS f\n WHERE LOWER(f.language) <> 'english'\n )\n GROUP BY LOWER(c.watermark)\n)\nSELECT UPPER(SUBSTR(guild, 1, 1)) || SUBSTR(guild, 2) AS guild,\n card_count\nFROM guild_counts\nWHERE card_count = (SELECT MAX(card_count) FROM guild_counts)\nORDER BY guild;\n```", "rows": 1, "sql": "WITH guild_counts AS (\n SELECT LOWER(c.watermark) AS guild,\n COUNT(DISTINCT c.uuid) AS card_count\n FROM cards AS c\n WHERE LOWER(c.watermark) IN (\n 'azorius', 'boros', 'dimir', 'golgari', 'gruul',\n 'izzet', 'orzhov', 'rakdos', 'selesnya', 'simic'\n )\n AND c.uuid IN (\n SELECT f.uuid\n FROM foreign_data AS f\n WHERE LOWER(f.language) <> 'english'\n )\n GROUP BY LOWER(c.watermark)\n)\nSELECT UPPER(SUBSTR(guild, 1, 1)) || SUBSTR(guild, 2) AS guild,\n card_count\nFROM guild_counts\nWHERE card_count = (SELECT MAX(card_count) FROM guild_counts)\nORDER BY guild;", "seconds": 48.4543462919537, "calls": [{"seconds": 2.372001791954972, "usage": {"completion_tokens": 51, "prompt_tokens": 1733, "total_tokens": 1784, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1185, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1185, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1185, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.762770291999914, "usage": {"completion_tokens": 220, "prompt_tokens": 2370, "total_tokens": 2590, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 637, "cached_tokens": 1185, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 637, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 637, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.823142083012499, "usage": {"completion_tokens": 298, "prompt_tokens": 2829, "total_tokens": 3127, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 82, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 459, "cached_tokens": 1822, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 459, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 459, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.236507500056177, "usage": {"completion_tokens": 225, "prompt_tokens": 3344, "total_tokens": 3569, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 34, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 515, "cached_tokens": 2281, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 515, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 515, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8eab7b9d7e3a19e07318bdd0eb65cb443025895dbe992497066671654feb5ed3", "csv_sha256": "53ebdab2b5b56a20fa557968c0a0c381d951b937273339513615a594fc426e67"} +{"instance_id": "bird095", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT c.type AS card_type, COUNT(*) AS card_count\nFROM cards AS c\nWHERE c.watermark = 'azorius'\n AND EXISTS (\n SELECT 1\n FROM foreign_data AS f\n WHERE f.uuid = c.uuid\n )\nGROUP BY c.type\nORDER BY card_count DESC, card_type ASC;\n```", "rows": 26, "sql": "SELECT c.type AS card_type, COUNT(*) AS card_count\nFROM cards AS c\nWHERE c.watermark = 'azorius'\n AND EXISTS (\n SELECT 1\n FROM foreign_data AS f\n WHERE f.uuid = c.uuid\n )\nGROUP BY c.type\nORDER BY card_count DESC, card_type ASC;", "seconds": 31.81821904203389, "calls": [{"seconds": 2.5453765830025077, "usage": {"completion_tokens": 65, "prompt_tokens": 1693, "total_tokens": 1758, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1145, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1145, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1145, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.007019417011179, "usage": {"completion_tokens": 142, "prompt_tokens": 2372, "total_tokens": 2514, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 58, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 679, "cached_tokens": 1145, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 679, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 679, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.974177916068584, "usage": {"completion_tokens": 316, "prompt_tokens": 3694, "total_tokens": 4010, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 241, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1322, "cached_tokens": 1824, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1322, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1322, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9512844589771703, "usage": {"completion_tokens": 109, "prompt_tokens": 4299, "total_tokens": 4408, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 31, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 605, "cached_tokens": 3146, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 605, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 605, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "543fe4a9d76240b189fc5323696abe2c48688468e841f4fd848b3a63271b14be", "csv_sha256": "b7371f2409743835fe452f2dc2a0fc2784e1552456b20d7aacf7a6fd0947cbe2"} +{"instance_id": "bird096", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT name) AS card_count\nFROM cards\nWHERE isTextless = 0\n AND CAST(frameVersion AS INTEGER) >= 2015;\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT name) AS card_count\nFROM cards\nWHERE isTextless = 0\n AND CAST(frameVersion AS INTEGER) >= 2015;", "seconds": 9.433537749922834, "calls": [{"seconds": 2.10945908294525, "usage": {"completion_tokens": 19, "prompt_tokens": 1660, "total_tokens": 1679, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1112, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1112, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1112, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.576349791022949, "usage": {"completion_tokens": 147, "prompt_tokens": 2206, "total_tokens": 2353, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 93, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1112, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.632730041979812, "usage": {"completion_tokens": 43, "prompt_tokens": 2416, "total_tokens": 2459, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 210, "cached_tokens": 1658, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 210, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 210, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7be95944559b0ab14f5caeb3b6c8c04a64d5b73b988dc69bd5c15c83af645cb3", "csv_sha256": "89abc532c3d8b27696f7b01f27c342fb44845bc0a0e1039bd63ea7671b6472d6"} +{"instance_id": "bird097", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT DISTINCT name\nFROM cards\nWHERE isPromo = 1\n AND otherFaceIds IS NOT NULL\n AND CAST(frameVersion AS INTEGER) = (\n SELECT MAX(CAST(frameVersion AS INTEGER))\n FROM cards\n )\nORDER BY name;\n```", "rows": 127, "sql": "SELECT DISTINCT name\nFROM cards\nWHERE isPromo = 1\n AND otherFaceIds IS NOT NULL\n AND CAST(frameVersion AS INTEGER) = (\n SELECT MAX(CAST(frameVersion AS INTEGER))\n FROM cards\n )\nORDER BY name;", "seconds": 20.040675958036445, "calls": [{"seconds": 2.109808999928646, "usage": {"completion_tokens": 19, "prompt_tokens": 1734, "total_tokens": 1753, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1186, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1186, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1186, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.187545333988965, "usage": {"completion_tokens": 202, "prompt_tokens": 2280, "total_tokens": 2482, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 123, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1186, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.721862000063993, "usage": {"completion_tokens": 147, "prompt_tokens": 2626, "total_tokens": 2773, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 50, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 346, "cached_tokens": 1732, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 346, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 346, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.845278624910861, "usage": {"completion_tokens": 162, "prompt_tokens": 3019, "total_tokens": 3181, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 81, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 393, "cached_tokens": 2078, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 393, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 393, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9890760000562295, "usage": {"completion_tokens": 61, "prompt_tokens": 3324, "total_tokens": 3385, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 305, "cached_tokens": 2471, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 305, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 305, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9090251aa8735f06512ed48728368b7d49b5dcdd44a1b44906c2ad3027607f24", "csv_sha256": "e9814b119286047e45027ec4cc4bb7c8fed6b99a47bcd2eae645f08d39b06ad6"} +{"instance_id": "bird098", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT DISTINCT name\nFROM cards\nWHERE isPromo = 1\n AND otherFaceIds IS NOT NULL\n AND SUBSTR(originalReleaseDate, 1, 4) = '2019'\nORDER BY name;\n```", "rows": 31, "sql": "SELECT DISTINCT name\nFROM cards\nWHERE isPromo = 1\n AND otherFaceIds IS NOT NULL\n AND SUBSTR(originalReleaseDate, 1, 4) = '2019'\nORDER BY name;", "seconds": 19.67956216703169, "calls": [{"seconds": 1.8851411669747904, "usage": {"completion_tokens": 19, "prompt_tokens": 1719, "total_tokens": 1738, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1171, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1171, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1171, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.686289040953852, "usage": {"completion_tokens": 232, "prompt_tokens": 2265, "total_tokens": 2497, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 84, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1171, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.435276083997451, "usage": {"completion_tokens": 153, "prompt_tokens": 2751, "total_tokens": 2904, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 49, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 486, "cached_tokens": 1717, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 486, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 486, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.849581791087985, "usage": {"completion_tokens": 149, "prompt_tokens": 3089, "total_tokens": 3238, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 83, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 338, "cached_tokens": 2203, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 338, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 338, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.6627242090180516, "usage": {"completion_tokens": 54, "prompt_tokens": 3589, "total_tokens": 3643, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 500, "cached_tokens": 2541, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 500, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 500, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "07bf817917ffb323f0555df6e1a6dfb8c6e40e33c2ad3e86b82e0fd917ad0f90", "csv_sha256": "d138818b5ca13c770b8238f1ce999dc6e0879ccd9f62cb6defeae1b3c16ec46a"} +{"instance_id": "bird099", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT DISTINCT s.name AS set_name, s.releaseDate AS release_date\nFROM cards AS c\nJOIN sets AS s ON s.code = c.setCode\nWHERE c.name = 'Tarmogoyf'\n AND c.isReprint = 1\n AND c.frameVersion GLOB '[0-9][0-9][0-9][0-9]'\n AND CAST(strftime('%Y', s.releaseDate) AS INTEGER)\n - CAST(c.frameVersion AS INTEGER) >= 10\nORDER BY release_date, set_name;\n```", "rows": 1, "sql": "SELECT DISTINCT s.name AS set_name, s.releaseDate AS release_date\nFROM cards AS c\nJOIN sets AS s ON s.code = c.setCode\nWHERE c.name = 'Tarmogoyf'\n AND c.isReprint = 1\n AND c.frameVersion GLOB '[0-9][0-9][0-9][0-9]'\n AND CAST(strftime('%Y', s.releaseDate) AS INTEGER)\n - CAST(c.frameVersion AS INTEGER) >= 10\nORDER BY release_date, set_name;", "seconds": 12.524245749926195, "calls": [{"seconds": 2.2946290000109, "usage": {"completion_tokens": 50, "prompt_tokens": 1740, "total_tokens": 1790, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1192, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1192, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1192, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.300081916968338, "usage": {"completion_tokens": 87, "prompt_tokens": 2484, "total_tokens": 2571, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 744, "cached_tokens": 1192, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 744, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 744, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3939656669972464, "usage": {"completion_tokens": 132, "prompt_tokens": 2816, "total_tokens": 2948, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 332, "cached_tokens": 1936, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 332, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 332, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3923872500890866, "usage": {"completion_tokens": 121, "prompt_tokens": 3101, "total_tokens": 3222, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 285, "cached_tokens": 2268, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 285, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 285, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "71603f07bebd661faef9f70633fd3a567aa0e14ec85cf59fb10fc2d3ecfcdb80", "csv_sha256": "56454fbb992388041d08ffe2f2e96b13f0256ac7277ecf61026a2f993f55e4f9"} +{"instance_id": "bird100", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS printing_count\nFROM (\n SELECT c.setCode, c.number\n FROM cards AS c\n JOIN foreign_data AS f ON f.uuid = c.uuid\n WHERE c.name = 'Counterspell'\n AND f.language IN ('French', 'Italian')\n GROUP BY c.setCode, c.number\n HAVING COUNT(DISTINCT f.language) = 2\n) AS localized_printings;\n```", "rows": 1, "sql": "SELECT COUNT(*) AS printing_count\nFROM (\n SELECT c.setCode, c.number\n FROM cards AS c\n JOIN foreign_data AS f ON f.uuid = c.uuid\n WHERE c.name = 'Counterspell'\n AND f.language IN ('French', 'Italian')\n GROUP BY c.setCode, c.number\n HAVING COUNT(DISTINCT f.language) = 2\n) AS localized_printings;", "seconds": 10.487491584033705, "calls": [{"seconds": 2.809828041936271, "usage": {"completion_tokens": 66, "prompt_tokens": 1669, "total_tokens": 1735, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1121, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1121, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1121, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.2774214170640334, "usage": {"completion_tokens": 155, "prompt_tokens": 2488, "total_tokens": 2643, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 45, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 819, "cached_tokens": 1121, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 819, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 819, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2388345409417525, "usage": {"completion_tokens": 95, "prompt_tokens": 2757, "total_tokens": 2852, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 269, "cached_tokens": 1940, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 269, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 269, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d1febe35d2db71b65521e74bf885109d5fdd4361d2eea4f4cdadcd1060e09027", "csv_sha256": "a825c7487ab71595d133d6e2e5c9b54250b1b2d2715626dcb5dd4e326322f6a7"} +{"instance_id": "bird101", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT s.name, s.releaseDate\nFROM sets AS s\nWHERE s.type IN (\n SELECT ref.type\n FROM sets AS ref\n WHERE ref.name = 'From the Vault: Lore'\n)\nAND NOT EXISTS (\n SELECT 1\n FROM set_translations AS st\n WHERE st.setCode = s.code\n AND TRIM(st.translation) <> ''\n)\nORDER BY s.releaseDate ASC, s.name ASC;\n```", "rows": 3, "sql": "SELECT s.name, s.releaseDate\nFROM sets AS s\nWHERE s.type IN (\n SELECT ref.type\n FROM sets AS ref\n WHERE ref.name = 'From the Vault: Lore'\n)\nAND NOT EXISTS (\n SELECT 1\n FROM set_translations AS st\n WHERE st.setCode = s.code\n AND TRIM(st.translation) <> ''\n)\nORDER BY s.releaseDate ASC, s.name ASC;", "seconds": 10.139054875005968, "calls": [{"seconds": 2.3482101670233533, "usage": {"completion_tokens": 52, "prompt_tokens": 1701, "total_tokens": 1753, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1153, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1153, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1153, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.772450332995504, "usage": {"completion_tokens": 130, "prompt_tokens": 1960, "total_tokens": 2090, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 15, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 259, "cached_tokens": 1153, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 259, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 259, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.005403125076555, "usage": {"completion_tokens": 122, "prompt_tokens": 2249, "total_tokens": 2371, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 23, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 289, "cached_tokens": 1412, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 289, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 289, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "eb17c802129674dea68475b1f48b692a738a1d181d8a407a3bf7258750b8cf9e", "csv_sha256": "d520be4555a397f5d9bcd20a17d5207b72eb5ef930a416f70924645a48f6cad3"} +{"instance_id": "bird102", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH ranked_printings AS (\n SELECT s.name AS set_name,\n s.releaseDate AS release_date,\n DENSE_RANK() OVER (\n ORDER BY CASE c.frameVersion\n WHEN 'future' THEN 2007\n ELSE CAST(c.frameVersion AS INTEGER)\n END DESC,\n s.releaseDate DESC\n ) AS printing_rank\n FROM cards AS c\n JOIN sets AS s ON s.code = c.setCode\n WHERE c.name = 'Aven Mindcensor'\n)\nSELECT DISTINCT set_name, release_date\nFROM ranked_printings\nWHERE printing_rank = 1\nORDER BY set_name;\n```", "rows": 1, "sql": "WITH ranked_printings AS (\n SELECT s.name AS set_name,\n s.releaseDate AS release_date,\n DENSE_RANK() OVER (\n ORDER BY CASE c.frameVersion\n WHEN 'future' THEN 2007\n ELSE CAST(c.frameVersion AS INTEGER)\n END DESC,\n s.releaseDate DESC\n ) AS printing_rank\n FROM cards AS c\n JOIN sets AS s ON s.code = c.setCode\n WHERE c.name = 'Aven Mindcensor'\n)\nSELECT DISTINCT set_name, release_date\nFROM ranked_printings\nWHERE printing_rank = 1\nORDER BY set_name;", "seconds": 19.188902833033353, "calls": [{"seconds": 2.236538374912925, "usage": {"completion_tokens": 50, "prompt_tokens": 1702, "total_tokens": 1752, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1154, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1154, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1154, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.043263958999887, "usage": {"completion_tokens": 177, "prompt_tokens": 2446, "total_tokens": 2623, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 88, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 744, "cached_tokens": 1154, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 744, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 744, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.928596333018504, "usage": {"completion_tokens": 358, "prompt_tokens": 2922, "total_tokens": 3280, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 202, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 476, "cached_tokens": 1898, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 476, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 476, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8406738750636578, "usage": {"completion_tokens": 138, "prompt_tokens": 3455, "total_tokens": 3593, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 533, "cached_tokens": 2374, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 533, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 533, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5af942d5bd5b5f53dc27e4ea3b9b8b1f8919c41df1b68f8670b605ab76496e46", "csv_sha256": "5fb715b23fcf50c24d1b40dfc7809228f41004b5adda592ce1b318a0811b594f"} +{"instance_id": "bird103", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT s.code, s.releaseDate\nFROM sets AS s\nWHERE s.releaseDate >= '2020-01-01'\n AND s.releaseDate < '2021-01-01'\n AND NOT EXISTS (\n SELECT 1\n FROM set_translations AS st\n WHERE st.setCode = s.code\n AND st.language = 'Spanish'\n AND NULLIF(TRIM(st.translation), '') IS NOT NULL\n )\nORDER BY s.releaseDate, s.code;\n```", "rows": 34, "sql": "SELECT s.code, s.releaseDate\nFROM sets AS s\nWHERE s.releaseDate >= '2020-01-01'\n AND s.releaseDate < '2021-01-01'\n AND NOT EXISTS (\n SELECT 1\n FROM set_translations AS st\n WHERE st.setCode = s.code\n AND st.language = 'Spanish'\n AND NULLIF(TRIM(st.translation), '') IS NOT NULL\n )\nORDER BY s.releaseDate, s.code;", "seconds": 11.731335083022714, "calls": [{"seconds": 2.3971834160620347, "usage": {"completion_tokens": 52, "prompt_tokens": 1666, "total_tokens": 1718, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1118, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1118, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1118, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9664875420276076, "usage": {"completion_tokens": 53, "prompt_tokens": 1925, "total_tokens": 1978, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 259, "cached_tokens": 1118, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 259, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 259, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3125495419371873, "usage": {"completion_tokens": 123, "prompt_tokens": 2136, "total_tokens": 2259, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 211, "cached_tokens": 1377, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 211, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 211, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0170150420162827, "usage": {"completion_tokens": 108, "prompt_tokens": 2765, "total_tokens": 2873, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 629, "cached_tokens": 1588, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 629, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 629, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "492814045d38461e2f84b555555cf89e098b4fedfad035641e84e0d90a36c775", "csv_sha256": "090bd82b341d10cc2fbc31d8bf44f03319394e580992de6568a02b330b274324"} +{"instance_id": "bird104", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT SUM(convertedManaCost) AS total_converted_mana_cost\nFROM cards\nWHERE artist = 'Rob Alexander'\n AND originalReleaseDate >= '2013-01-01'\n AND originalReleaseDate < '2014-01-01';\n```", "rows": 1, "sql": "SELECT SUM(convertedManaCost) AS total_converted_mana_cost\nFROM cards\nWHERE artist = 'Rob Alexander'\n AND originalReleaseDate >= '2013-01-01'\n AND originalReleaseDate < '2014-01-01';", "seconds": 9.366673083044589, "calls": [{"seconds": 2.0810714160325006, "usage": {"completion_tokens": 19, "prompt_tokens": 1744, "total_tokens": 1763, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1196, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1196, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1196, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.212962166056968, "usage": {"completion_tokens": 123, "prompt_tokens": 2290, "total_tokens": 2413, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 49, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1196, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9452042499324307, "usage": {"completion_tokens": 61, "prompt_tokens": 2499, "total_tokens": 2560, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 209, "cached_tokens": 1742, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 209, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 209, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2d00a489cf984079d0e63714a78b06e45841b50e240bc07fcd2aadca0b9c8e36", "csv_sha256": "62b82ae42be7a401c0938486a2d5200d32337ecf7f42a7488398e0795ba27725"} +{"instance_id": "bird105", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH language_counts AS (\n SELECT s.id, COUNT(DISTINCT t.language) AS language_count\n FROM sets AS s\n LEFT JOIN set_translations AS t\n ON t.setCode = s.code\n AND TRIM(t.translation) <> ''\n WHERE s.releaseDate >= '2016-01-01'\n AND s.releaseDate < '2017-01-01'\n GROUP BY s.id\n)\nSELECT ROUND(AVG(language_count), 2) AS average_languages\nFROM language_counts;\n```", "rows": 1, "sql": "WITH language_counts AS (\n SELECT s.id, COUNT(DISTINCT t.language) AS language_count\n FROM sets AS s\n LEFT JOIN set_translations AS t\n ON t.setCode = s.code\n AND TRIM(t.translation) <> ''\n WHERE s.releaseDate >= '2016-01-01'\n AND s.releaseDate < '2017-01-01'\n GROUP BY s.id\n)\nSELECT ROUND(AVG(language_count), 2) AS average_languages\nFROM language_counts;", "seconds": 13.285522416932508, "calls": [{"seconds": 2.301093458896503, "usage": {"completion_tokens": 52, "prompt_tokens": 1734, "total_tokens": 1786, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1186, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1186, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1186, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.686985917040147, "usage": {"completion_tokens": 260, "prompt_tokens": 1993, "total_tokens": 2253, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 128, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 259, "cached_tokens": 1186, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 259, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 259, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.275621708948165, "usage": {"completion_tokens": 149, "prompt_tokens": 2389, "total_tokens": 2538, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 32, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 396, "cached_tokens": 1445, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 396, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 396, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a575423b579b0c68f848d5104d3e444915821b211560828c6486d368da541b5d", "csv_sha256": "05dd13c7c75b0f0ffe9967ab1b251ad974d876af6d4eb2b5b2c05817728bbe52"} +{"instance_id": "bird106", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH block_sets AS (\n SELECT s.block, s.baseSetSize,\n EXISTS (\n SELECT 1\n FROM set_translations AS st\n WHERE st.setCode = s.code\n AND st.translation <> ''\n ) AS has_translation\n FROM sets AS s\n WHERE s.block COLLATE BINARY IN ('Masques', 'Mirage')\n)\nSELECT block,\n COUNT(*) FILTER (WHERE has_translation) AS translated_set_count,\n SUM(baseSetSize) FILTER (WHERE has_translation) AS total_base_set_cards\nFROM block_sets\nGROUP BY block\nORDER BY block;\n```", "rows": 2, "sql": "WITH block_sets AS (\n SELECT s.block, s.baseSetSize,\n EXISTS (\n SELECT 1\n FROM set_translations AS st\n WHERE st.setCode = s.code\n AND st.translation <> ''\n ) AS has_translation\n FROM sets AS s\n WHERE s.block COLLATE BINARY IN ('Masques', 'Mirage')\n)\nSELECT block,\n COUNT(*) FILTER (WHERE has_translation) AS translated_set_count,\n SUM(baseSetSize) FILTER (WHERE has_translation) AS total_base_set_cards\nFROM block_sets\nGROUP BY block\nORDER BY block;", "seconds": 29.79609495808836, "calls": [{"seconds": 1.9921515840105712, "usage": {"completion_tokens": 15, "prompt_tokens": 1685, "total_tokens": 1700, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1137, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1137, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1137, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.898205874953419, "usage": {"completion_tokens": 66, "prompt_tokens": 1736, "total_tokens": 1802, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 51, "cached_tokens": 1137, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 51, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 51, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.318533124984242, "usage": {"completion_tokens": 437, "prompt_tokens": 2037, "total_tokens": 2474, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 302, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 301, "cached_tokens": 1188, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 301, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 301, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.925479457946494, "usage": {"completion_tokens": 473, "prompt_tokens": 2797, "total_tokens": 3270, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 321, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 760, "cached_tokens": 1489, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 760, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 760, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.633193166926503, "usage": {"completion_tokens": 158, "prompt_tokens": 3448, "total_tokens": 3606, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 25, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 651, "cached_tokens": 2249, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 651, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 651, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "781c60bbfc528f1c61c2a98611fe05409fc90d00e7289949cb163e393396e580", "csv_sha256": "ec4e000afb775a93bf8e5f3a81321a7ba0eadef19e75323c5cdfc3c37333356f"} +{"instance_id": "bird107", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH japanese_printings AS (\n SELECT f.name AS japanese_name,\n c.type AS english_card_type,\n c.uuid,\n MAX(CASE WHEN c.watermark = 'boros' THEN 1 ELSE 0 END) AS has_boros_watermark\n FROM cards AS c\n JOIN foreign_data AS f ON f.uuid = c.uuid\n WHERE f.language = 'Japanese'\n GROUP BY f.name, c.type, c.uuid\n)\nSELECT p.japanese_name,\n p.english_card_type,\n COUNT(r.id) AS total_rulings\nFROM japanese_printings AS p\nLEFT JOIN rulings AS r ON r.uuid = p.uuid\nGROUP BY p.japanese_name, p.english_card_type\nHAVING MAX(p.has_boros_watermark) = 1\nORDER BY p.japanese_name, p.english_card_type;\n```", "rows": 96, "sql": "WITH japanese_printings AS (\n SELECT f.name AS japanese_name,\n c.type AS english_card_type,\n c.uuid,\n MAX(CASE WHEN c.watermark = 'boros' THEN 1 ELSE 0 END) AS has_boros_watermark\n FROM cards AS c\n JOIN foreign_data AS f ON f.uuid = c.uuid\n WHERE f.language = 'Japanese'\n GROUP BY f.name, c.type, c.uuid\n)\nSELECT p.japanese_name,\n p.english_card_type,\n COUNT(r.id) AS total_rulings\nFROM japanese_printings AS p\nLEFT JOIN rulings AS r ON r.uuid = p.uuid\nGROUP BY p.japanese_name, p.english_card_type\nHAVING MAX(p.has_boros_watermark) = 1\nORDER BY p.japanese_name, p.english_card_type;", "seconds": 24.040129499975592, "calls": [{"seconds": 3.2216730419313535, "usage": {"completion_tokens": 68, "prompt_tokens": 1771, "total_tokens": 1839, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1223, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1223, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1223, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.576035792008042, "usage": {"completion_tokens": 282, "prompt_tokens": 2462, "total_tokens": 2744, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 93, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 691, "cached_tokens": 1223, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 691, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 691, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.198172542033717, "usage": {"completion_tokens": 481, "prompt_tokens": 2974, "total_tokens": 3455, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 272, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 512, "cached_tokens": 1914, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 512, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 512, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.423744500032626, "usage": {"completion_tokens": 186, "prompt_tokens": 4445, "total_tokens": 4631, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1471, "cached_tokens": 2426, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1471, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1471, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b84154bfb1ab66ef73a335c02f938cd99381a1197cd8d1e56e8260161afe4f57", "csv_sha256": "fb903f6f960a8bb03cab38e04cccb6baa85ef06130f7c5f51975abd8b104302b"} +{"instance_id": "bird108", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH set_languages AS (\n SELECT DISTINCT language\n FROM set_translations\n WHERE language IS NOT NULL\n AND TRIM(translation) <> ''\n), printing_counts AS (\n SELECT sl.language, COUNT(DISTINCT fd.uuid) AS printing_count\n FROM set_languages AS sl\n LEFT JOIN foreign_data AS fd\n ON fd.language = sl.language\n AND TRIM(fd.flavorText) <> ''\n GROUP BY sl.language\n)\nSELECT language, printing_count\nFROM printing_counts\nWHERE printing_count = (SELECT MIN(printing_count) FROM printing_counts)\nORDER BY language;\n```", "rows": 1, "sql": "WITH set_languages AS (\n SELECT DISTINCT language\n FROM set_translations\n WHERE language IS NOT NULL\n AND TRIM(translation) <> ''\n), printing_counts AS (\n SELECT sl.language, COUNT(DISTINCT fd.uuid) AS printing_count\n FROM set_languages AS sl\n LEFT JOIN foreign_data AS fd\n ON fd.language = sl.language\n AND TRIM(fd.flavorText) <> ''\n GROUP BY sl.language\n)\nSELECT language, printing_count\nFROM printing_counts\nWHERE printing_count = (SELECT MIN(printing_count) FROM printing_counts)\nORDER BY language;", "seconds": 24.034307374968193, "calls": [{"seconds": 2.058070124941878, "usage": {"completion_tokens": 15, "prompt_tokens": 1693, "total_tokens": 1708, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1145, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1145, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1145, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.054345249896869, "usage": {"completion_tokens": 83, "prompt_tokens": 1744, "total_tokens": 1827, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 51, "cached_tokens": 1145, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 51, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 51, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.170330790919252, "usage": {"completion_tokens": 273, "prompt_tokens": 2618, "total_tokens": 2891, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 52, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 874, "cached_tokens": 1196, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 874, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 874, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.403234625002369, "usage": {"completion_tokens": 322, "prompt_tokens": 3518, "total_tokens": 3840, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 172, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 900, "cached_tokens": 2070, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 900, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 900, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.216705583035946, "usage": {"completion_tokens": 131, "prompt_tokens": 3999, "total_tokens": 4130, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 481, "cached_tokens": 2970, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 481, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 481, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "63b8e1448d93fd44545aba977478f44a9e2545c067b56212b8d34ef7c20425bd", "csv_sha256": "d8fec2d3f3f7bbe0064ae3b245524eff6cf97382fb68969cd97254f830da77ea"} +{"instance_id": "bird109", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT c.name) AS creature_count\nFROM cards AS c\nWHERE (',' || c.types || ',') LIKE '%,Creature,%'\n AND CAST(c.power AS INTEGER) >= 10\n AND EXISTS (\n SELECT 1\n FROM set_translations AS st\n WHERE st.setCode = c.setCode\n AND st.language = 'French'\n AND NULLIF(TRIM(st.translation), '') IS NOT NULL\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT c.name) AS creature_count\nFROM cards AS c\nWHERE (',' || c.types || ',') LIKE '%,Creature,%'\n AND CAST(c.power AS INTEGER) >= 10\n AND EXISTS (\n SELECT 1\n FROM set_translations AS st\n WHERE st.setCode = c.setCode\n AND st.language = 'French'\n AND NULLIF(TRIM(st.translation), '') IS NOT NULL\n );", "seconds": 19.47408104094211, "calls": [{"seconds": 2.6773474169895053, "usage": {"completion_tokens": 67, "prompt_tokens": 1704, "total_tokens": 1771, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1156, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1156, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1156, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.914971624966711, "usage": {"completion_tokens": 112, "prompt_tokens": 2503, "total_tokens": 2615, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 799, "cached_tokens": 1156, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 799, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 799, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9632352920016274, "usage": {"completion_tokens": 142, "prompt_tokens": 2882, "total_tokens": 3024, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 379, "cached_tokens": 1955, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 379, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 379, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.3435751660726964, "usage": {"completion_tokens": 181, "prompt_tokens": 3929, "total_tokens": 4110, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 64, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1047, "cached_tokens": 2334, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1047, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1047, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3939048749161884, "usage": {"completion_tokens": 103, "prompt_tokens": 4233, "total_tokens": 4336, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 304, "cached_tokens": 3381, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 304, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 304, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "dc58070d0f3096c99af323b20faed9198f3b4480662a6b1c8385431b9068301d", "csv_sha256": "be91e061e99a5c93ef5a05f17d786b821adda92c2f0409e212ee5932a948e52b"} +{"instance_id": "bird110", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH eligible_creatures AS (\n SELECT DISTINCT c.name, c.convertedManaCost AS mana_value\n FROM cards AS c\n WHERE c.edhrecRank BETWEEN 1 AND 1000\n AND (',' || REPLACE(c.types, ' ', '') || ',') LIKE '%,Creature,%'\n AND EXISTS (\n SELECT 1\n FROM legalities AS l\n WHERE l.uuid = c.uuid\n AND l.status = 'Banned' COLLATE NOCASE\n )\n)\nSELECT ROUND(AVG(mana_value), 1) AS average_mana_value\nFROM eligible_creatures;\n```", "rows": 1, "sql": "WITH eligible_creatures AS (\n SELECT DISTINCT c.name, c.convertedManaCost AS mana_value\n FROM cards AS c\n WHERE c.edhrecRank BETWEEN 1 AND 1000\n AND (',' || REPLACE(c.types, ' ', '') || ',') LIKE '%,Creature,%'\n AND EXISTS (\n SELECT 1\n FROM legalities AS l\n WHERE l.uuid = c.uuid\n AND l.status = 'Banned' COLLATE NOCASE\n )\n)\nSELECT ROUND(AVG(mana_value), 1) AS average_mana_value\nFROM eligible_creatures;", "seconds": 63.83958687505219, "calls": [{"seconds": 2.4953304999507964, "usage": {"completion_tokens": 51, "prompt_tokens": 1730, "total_tokens": 1781, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1182, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1182, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1182, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.73010670801159, "usage": {"completion_tokens": 155, "prompt_tokens": 2344, "total_tokens": 2499, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 614, "cached_tokens": 1182, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 614, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 614, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.531532375025563, "usage": {"completion_tokens": 226, "prompt_tokens": 3051, "total_tokens": 3277, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 74, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 707, "cached_tokens": 1796, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 707, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 707, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.443704417091794, "usage": {"completion_tokens": 135, "prompt_tokens": 3435, "total_tokens": 3570, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 384, "cached_tokens": 2503, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 384, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 384, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "28378da0c06d9c79e0cf31a9f0821579b534aa7b0e93771c80dd3ce88f83897a", "csv_sha256": "1ffed290ffd16c936baac06c444825888d8e07fbbaceaa752ad933fbdef6411d"} +{"instance_id": "bird111", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS total_printings\nFROM (\n SELECT DISTINCT setCode, number, name\n FROM cards\n WHERE CAST(power AS REAL) > 3\n AND CAST(power AS REAL) <= 10\n) AS matching_printings;\n```", "rows": 1, "sql": "SELECT COUNT(*) AS total_printings\nFROM (\n SELECT DISTINCT setCode, number, name\n FROM cards\n WHERE CAST(power AS REAL) > 3\n AND CAST(power AS REAL) <= 10\n) AS matching_printings;", "seconds": 22.93999312503729, "calls": [{"seconds": 1.9804234579205513, "usage": {"completion_tokens": 19, "prompt_tokens": 1701, "total_tokens": 1720, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1153, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1153, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1153, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.676696500042453, "usage": {"completion_tokens": 164, "prompt_tokens": 2247, "total_tokens": 2411, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 121, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1153, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.612586333998479, "usage": {"completion_tokens": 104, "prompt_tokens": 2620, "total_tokens": 2724, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 34, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 373, "cached_tokens": 1699, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 373, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 373, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.702804000000469, "usage": {"completion_tokens": 334, "prompt_tokens": 3029, "total_tokens": 3363, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 263, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 409, "cached_tokens": 2072, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 409, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 409, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.774112124927342, "usage": {"completion_tokens": 182, "prompt_tokens": 3444, "total_tokens": 3626, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 120, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 415, "cached_tokens": 2481, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 415, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 415, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "4a67c09a3341672d59588c98c8b8cd8d5e71be96fdb5c755e0712204e008cc15", "csv_sha256": "fd6505a7887fb116318f3fa06ae52cbbfe28ae9fe49b74a61d7db878c1993cc5"} +{"instance_id": "bird112", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS printing_count\nFROM cards AS c\nWHERE c.originalReleaseDate >= '2014-01-01'\n AND c.originalReleaseDate < '2015-01-01'\n AND EXISTS (\n SELECT 1\n FROM sets AS s\n WHERE s.code = c.setCode\n AND s.mtgoCode IS NOT NULL\n AND TRIM(s.mtgoCode) <> ''\n );\n```", "rows": 1, "sql": "SELECT COUNT(*) AS printing_count\nFROM cards AS c\nWHERE c.originalReleaseDate >= '2014-01-01'\n AND c.originalReleaseDate < '2015-01-01'\n AND EXISTS (\n SELECT 1\n FROM sets AS s\n WHERE s.code = c.setCode\n AND s.mtgoCode IS NOT NULL\n AND TRIM(s.mtgoCode) <> ''\n );", "seconds": 9.733165999990888, "calls": [{"seconds": 2.364500416908413, "usage": {"completion_tokens": 50, "prompt_tokens": 1720, "total_tokens": 1770, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1172, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1172, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1172, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.982849333086051, "usage": {"completion_tokens": 142, "prompt_tokens": 2464, "total_tokens": 2606, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 30, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 744, "cached_tokens": 1172, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 744, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 744, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.286195042077452, "usage": {"completion_tokens": 96, "prompt_tokens": 2721, "total_tokens": 2817, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 257, "cached_tokens": 1916, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 257, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 257, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "41ce8f69c80957604ed2712fcfa16220c270a24d21b581b516831fd6ca930b12", "csv_sha256": "2b478197203aa19c9f5b110081e9bbf3866cb4c74abbeb18b0f2d059dd2d9b5f"} +{"instance_id": "bird113", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH printing_counts AS (\n SELECT f.language, COUNT(*) AS printing_count\n FROM foreign_data AS f\n WHERE f.language <> 'English'\n AND EXISTS (\n SELECT 1\n FROM set_translations AS st\n WHERE st.language = f.language\n )\n GROUP BY f.language\n)\nSELECT language, printing_count\nFROM printing_counts\nWHERE printing_count = (SELECT MIN(printing_count) FROM printing_counts)\nORDER BY language;\n```", "rows": 1, "sql": "WITH printing_counts AS (\n SELECT f.language, COUNT(*) AS printing_count\n FROM foreign_data AS f\n WHERE f.language <> 'English'\n AND EXISTS (\n SELECT 1\n FROM set_translations AS st\n WHERE st.language = f.language\n )\n GROUP BY f.language\n)\nSELECT language, printing_count\nFROM printing_counts\nWHERE printing_count = (SELECT MIN(printing_count) FROM printing_counts)\nORDER BY language;", "seconds": 18.882939749979414, "calls": [{"seconds": 2.2472291250014678, "usage": {"completion_tokens": 15, "prompt_tokens": 1687, "total_tokens": 1702, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1139, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1139, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1139, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.953526792000048, "usage": {"completion_tokens": 83, "prompt_tokens": 1738, "total_tokens": 1821, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 51, "cached_tokens": 1139, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 51, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 51, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.154809333966114, "usage": {"completion_tokens": 159, "prompt_tokens": 2612, "total_tokens": 2771, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 874, "cached_tokens": 1190, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 874, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 874, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.386392999906093, "usage": {"completion_tokens": 118, "prompt_tokens": 3222, "total_tokens": 3340, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 610, "cached_tokens": 2064, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 610, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 610, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.668089417042211, "usage": {"completion_tokens": 239, "prompt_tokens": 3470, "total_tokens": 3709, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 135, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 248, "cached_tokens": 2674, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 248, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 248, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "48557fc19d6dcaa8cd707b4930b57d1701401c058c0cbdbba15312303255a5c3", "csv_sha256": "d5c6c73d54dbb02ba085fd1f4b12d886af5ca3f476f9e4d6fa1340072d76ea4b"} +{"instance_id": "bird114", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS printing_count\nFROM cards AS c\nWHERE EXISTS (\n SELECT 1\n FROM sets AS s\n WHERE s.code = c.setCode\n AND s.name = 'Coldsnap'\n)\nAND EXISTS (\n SELECT 1\n FROM foreign_data AS f\n WHERE f.uuid = c.uuid\n AND f.language = 'Italian'\n AND TRIM(f.text) <> ''\n);\n```", "rows": 1, "sql": "SELECT COUNT(*) AS printing_count\nFROM cards AS c\nWHERE EXISTS (\n SELECT 1\n FROM sets AS s\n WHERE s.code = c.setCode\n AND s.name = 'Coldsnap'\n)\nAND EXISTS (\n SELECT 1\n FROM foreign_data AS f\n WHERE f.uuid = c.uuid\n AND f.language = 'Italian'\n AND TRIM(f.text) <> ''\n);", "seconds": 11.687861916027032, "calls": [{"seconds": 2.5365683750715107, "usage": {"completion_tokens": 66, "prompt_tokens": 1680, "total_tokens": 1746, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1132, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1132, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1132, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2113273330032825, "usage": {"completion_tokens": 111, "prompt_tokens": 2499, "total_tokens": 2610, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 819, "cached_tokens": 1132, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 819, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 819, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9001899999566376, "usage": {"completion_tokens": 95, "prompt_tokens": 2724, "total_tokens": 2819, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 225, "cached_tokens": 1951, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 225, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 225, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2c677bfb1b3c5aeb83769570e4faf9c48fc61b3262fe4e0fb3e0fcc1f1f050ac", "csv_sha256": "2acc23426e88e7a41c164c353c179012650ff6f90bd3c5afc5bb07d7414466f3"} +{"instance_id": "bird115", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH eligible_sets AS (\n SELECT id, code, name, totalSetSize, isForeignOnly\n FROM sets\n WHERE type = 'commander'\n AND releaseDate >= '2020-01-01'\n AND releaseDate < '2021-01-01'\n), top_sets AS (\n SELECT id, code, name, isForeignOnly\n FROM eligible_sets\n WHERE totalSetSize = (SELECT MAX(totalSetSize) FROM eligible_sets)\n), release_languages AS (\n SELECT code, 'English' AS language\n FROM top_sets\n WHERE isForeignOnly = 0\n UNION\n SELECT c.setCode, fd.language\n FROM top_sets AS s\n JOIN cards AS c ON c.setCode = s.code\n JOIN foreign_data AS fd ON fd.uuid = c.uuid\n)\nSELECT s.id, s.name, COUNT(l.language) AS language_count\nFROM top_sets AS s\nLEFT JOIN release_languages AS l ON l.code = s.code\nGROUP BY s.id, s.name\nORDER BY s.id ASC;\n```", "rows": 1, "sql": "WITH eligible_sets AS (\n SELECT id, code, name, totalSetSize, isForeignOnly\n FROM sets\n WHERE type = 'commander'\n AND releaseDate >= '2020-01-01'\n AND releaseDate < '2021-01-01'\n), top_sets AS (\n SELECT id, code, name, isForeignOnly\n FROM eligible_sets\n WHERE totalSetSize = (SELECT MAX(totalSetSize) FROM eligible_sets)\n), release_languages AS (\n SELECT code, 'English' AS language\n FROM top_sets\n WHERE isForeignOnly = 0\n UNION\n SELECT c.setCode, fd.language\n FROM top_sets AS s\n JOIN cards AS c ON c.setCode = s.code\n JOIN foreign_data AS fd ON fd.uuid = c.uuid\n)\nSELECT s.id, s.name, COUNT(l.language) AS language_count\nFROM top_sets AS s\nLEFT JOIN release_languages AS l ON l.code = s.code\nGROUP BY s.id, s.name\nORDER BY s.id ASC;", "seconds": 60.1662475829944, "calls": [{"seconds": 2.613796917023137, "usage": {"completion_tokens": 19, "prompt_tokens": 1732, "total_tokens": 1751, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1184, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1184, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1184, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.5894872080534697, "usage": {"completion_tokens": 52, "prompt_tokens": 1920, "total_tokens": 1972, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 188, "cached_tokens": 1184, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 188, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 188, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 1.905636208015494, "usage": {"completion_tokens": 18, "prompt_tokens": 2537, "total_tokens": 2555, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 617, "cached_tokens": 1372, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 617, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 617, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.587908458081074, "usage": {"completion_tokens": 276, "prompt_tokens": 2585, "total_tokens": 2861, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 129, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1989, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.7472688750131056, "usage": {"completion_tokens": 20, "prompt_tokens": 3103, "total_tokens": 3123, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 518, "cached_tokens": 2037, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 518, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 518, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.346505374996923, "usage": {"completion_tokens": 135, "prompt_tokens": 3184, "total_tokens": 3319, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 54, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 81, "cached_tokens": 2555, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 81, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 81, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.723012375063263, "usage": {"completion_tokens": 248, "prompt_tokens": 3544, "total_tokens": 3792, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 162, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 360, "cached_tokens": 2636, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 360, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 360, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 17.627184959012084, "usage": {"completion_tokens": 747, "prompt_tokens": 4142, "total_tokens": 4889, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 516, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 598, "cached_tokens": 2996, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 598, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 598, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.527479583048262, "usage": {"completion_tokens": 460, "prompt_tokens": 5136, "total_tokens": 5596, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 212, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 994, "cached_tokens": 3594, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 994, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 994, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.832092707976699, "usage": {"completion_tokens": 229, "prompt_tokens": 5860, "total_tokens": 6089, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 724, "cached_tokens": 4588, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 724, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 724, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0f8ed2c052689f6d1efc559512ecb3652b8fc19ae92575ea13a4c5f7e8853c4a", "csv_sha256": "f03cc610afb0396c87680d39e78aeedd2395def9a98aa4fc9f8dfdb0d42972e8"} +{"instance_id": "bird116", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT f.language) AS foreign_language_count\nFROM cards AS c\nJOIN foreign_data AS f ON f.uuid = c.uuid\nWHERE c.name = 'Swamp';\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT f.language) AS foreign_language_count\nFROM cards AS c\nJOIN foreign_data AS f ON f.uuid = c.uuid\nWHERE c.name = 'Swamp';", "seconds": 7.60456620901823, "calls": [{"seconds": 2.139665624941699, "usage": {"completion_tokens": 51, "prompt_tokens": 1650, "total_tokens": 1701, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1102, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1102, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1102, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.7348001670325175, "usage": {"completion_tokens": 55, "prompt_tokens": 2287, "total_tokens": 2342, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 637, "cached_tokens": 1102, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 637, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 637, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.4457119579892606, "usage": {"completion_tokens": 46, "prompt_tokens": 2408, "total_tokens": 2454, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 121, "cached_tokens": 1739, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 121, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 121, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2bb1b01c5ab708be6d9b6dd4a87d490b1d9c10b0d07708a2fabc1e256ca4973c", "csv_sha256": "125eaae2b1e5e14795b0be417c72293e19077ac7784ef26128d07a40cd1c12fb"} +{"instance_id": "bird117", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT c.scryfallOracleId) AS card_count\nFROM cards AS c\nWHERE c.colors = 'B'\n AND instr(',' || c.types || ',', ',Artifact,') > 0\n AND EXISTS (\n SELECT 1\n FROM foreign_data AS f\n WHERE f.uuid = c.uuid\n AND f.language <> 'English'\n AND TRIM(f.flavorText) <> ''\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT c.scryfallOracleId) AS card_count\nFROM cards AS c\nWHERE c.colors = 'B'\n AND instr(',' || c.types || ',', ',Artifact,') > 0\n AND EXISTS (\n SELECT 1\n FROM foreign_data AS f\n WHERE f.uuid = c.uuid\n AND f.language <> 'English'\n AND TRIM(f.flavorText) <> ''\n );", "seconds": 20.085001458064653, "calls": [{"seconds": 2.4281184579012915, "usage": {"completion_tokens": 51, "prompt_tokens": 1717, "total_tokens": 1768, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1169, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1169, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1169, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.792754083056934, "usage": {"completion_tokens": 58, "prompt_tokens": 2354, "total_tokens": 2412, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 637, "cached_tokens": 1169, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 637, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 637, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.545710957958363, "usage": {"completion_tokens": 161, "prompt_tokens": 3516, "total_tokens": 3677, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 29, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1162, "cached_tokens": 1806, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1162, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1162, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.787702417001128, "usage": {"completion_tokens": 112, "prompt_tokens": 4019, "total_tokens": 4131, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 503, "cached_tokens": 2968, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 503, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 503, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5166109999408945, "usage": {"completion_tokens": 98, "prompt_tokens": 4248, "total_tokens": 4346, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 229, "cached_tokens": 3471, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 229, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 229, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9363cfe8d6658740c31730bb94175ff281275631229a832f1aac5954f6b8c991", "csv_sha256": "0a2bf20b79c76e37bc4e792fa6ff1cc2c5678b6502ff66764f9b8a1a9530e7b1"} +{"instance_id": "bird118", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT u.DisplayName\nFROM posts AS p\nJOIN users AS u ON u.Id = p.LastEditorUserId\nWHERE p.Title = 'Examples for teaching: Correlation does not mean causation';\n```", "rows": 1, "sql": "SELECT u.DisplayName\nFROM posts AS p\nJOIN users AS u ON u.Id = p.LastEditorUserId\nWHERE p.Title = 'Examples for teaching: Correlation does not mean causation';", "seconds": 7.9269711669767275, "calls": [{"seconds": 2.5309352909680456, "usage": {"completion_tokens": 50, "prompt_tokens": 1625, "total_tokens": 1675, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1075, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1075, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1075, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.7640241250628605, "usage": {"completion_tokens": 58, "prompt_tokens": 1929, "total_tokens": 1987, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 304, "cached_tokens": 1075, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 304, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 304, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.418224624940194, "usage": {"completion_tokens": 49, "prompt_tokens": 2057, "total_tokens": 2106, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 128, "cached_tokens": 1379, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 128, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 128, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "df89e9f747c1b92e1881dd07a229a2d6c2d85d1096bdb89d41cbac75bd42c124", "csv_sha256": "f3748e70fa131070505aea6de6af284ab601bb04893977f2616c907864f7fb66"} +{"instance_id": "bird119", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT DISTINCT UserId\nFROM (\n SELECT ph.UserId, ph.PostId\n FROM postHistory AS ph\n JOIN posts AS p ON p.Id = ph.PostId\n WHERE p.ViewCount >= 1000\n AND ph.UserId IS NOT NULL\n GROUP BY ph.UserId, ph.PostId\n HAVING COUNT(*) = 1\n) AS qualifying_user_posts;\n```", "rows": 270, "sql": "SELECT DISTINCT UserId\nFROM (\n SELECT ph.UserId, ph.PostId\n FROM postHistory AS ph\n JOIN posts AS p ON p.Id = ph.PostId\n WHERE p.ViewCount >= 1000\n AND ph.UserId IS NOT NULL\n GROUP BY ph.UserId, ph.PostId\n HAVING COUNT(*) = 1\n) AS qualifying_user_posts;", "seconds": 12.244670541025698, "calls": [{"seconds": 2.776741832960397, "usage": {"completion_tokens": 66, "prompt_tokens": 1625, "total_tokens": 1691, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1075, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1075, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1075, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.078252624953166, "usage": {"completion_tokens": 167, "prompt_tokens": 2016, "total_tokens": 2183, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 61, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 391, "cached_tokens": 1075, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 391, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 391, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3868016250198707, "usage": {"completion_tokens": 90, "prompt_tokens": 2310, "total_tokens": 2400, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 294, "cached_tokens": 1466, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 294, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 294, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8ee6b2b7ecbd328dedd06fc453ab9e481f5f4c6cb95162ff2186c9c79fb86d26", "csv_sha256": "2a29debb3e7aebf647592a5d11be936818542e2a5fd871a6ffb53c09acc88ca4"} +{"instance_id": "bird120", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT 100.0 * (\n COUNT(CASE WHEN strftime('%Y', Date) = '2010' THEN 1 END)\n - COUNT(CASE WHEN strftime('%Y', Date) = '2011' THEN 1 END)\n) / NULLIF(COUNT(*), 0) AS difference_percentage_points\nFROM badges\nWHERE Name = 'Student';\n```", "rows": 1, "sql": "SELECT 100.0 * (\n COUNT(CASE WHEN strftime('%Y', Date) = '2010' THEN 1 END)\n - COUNT(CASE WHEN strftime('%Y', Date) = '2011' THEN 1 END)\n) / NULLIF(COUNT(*), 0) AS difference_percentage_points\nFROM badges\nWHERE Name = 'Student';", "seconds": 10.221681165974587, "calls": [{"seconds": 2.364016209030524, "usage": {"completion_tokens": 20, "prompt_tokens": 1633, "total_tokens": 1653, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1083, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1083, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1083, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.599469249951653, "usage": {"completion_tokens": 132, "prompt_tokens": 1693, "total_tokens": 1825, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 33, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 60, "cached_tokens": 1083, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 60, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 60, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2186724999919534, "usage": {"completion_tokens": 85, "prompt_tokens": 1937, "total_tokens": 2022, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 244, "cached_tokens": 1143, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 244, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 244, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0ddfccbc0ed613ace846c2b0d2fed70a58fe3019f9c0431ce0dadf1b8331fd17", "csv_sha256": "87e2245e7ae5f7e7552984222fb88504525d6cfc72cdefc18f9bad57d7cb4dad"} +{"instance_id": "bird121", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(100.0 * AVG(CASE WHEN INSTR(p.Tags, '') > 0 THEN 1 ELSE 0 END), 2) AS percentage\nFROM posts AS p\nJOIN users AS u ON u.Id = p.OwnerUserId\nWHERE u.DisplayName = 'Community';\n```", "rows": 1, "sql": "SELECT ROUND(100.0 * AVG(CASE WHEN INSTR(p.Tags, '') > 0 THEN 1 ELSE 0 END), 2) AS percentage\nFROM posts AS p\nJOIN users AS u ON u.Id = p.OwnerUserId\nWHERE u.DisplayName = 'Community';", "seconds": 22.240115875029005, "calls": [{"seconds": 2.707986459019594, "usage": {"completion_tokens": 65, "prompt_tokens": 1616, "total_tokens": 1681, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1066, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1066, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1066, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.972674416960217, "usage": {"completion_tokens": 18, "prompt_tokens": 1981, "total_tokens": 1999, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 365, "cached_tokens": 1066, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 365, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 365, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6506862500682473, "usage": {"completion_tokens": 124, "prompt_tokens": 2029, "total_tokens": 2153, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1431, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.967944083036855, "usage": {"completion_tokens": 193, "prompt_tokens": 2325, "total_tokens": 2518, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 75, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 296, "cached_tokens": 1479, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 296, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 296, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.554384791990742, "usage": {"completion_tokens": 105, "prompt_tokens": 2763, "total_tokens": 2868, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 23, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 438, "cached_tokens": 1775, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 438, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 438, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0965920829912648, "usage": {"completion_tokens": 71, "prompt_tokens": 2959, "total_tokens": 3030, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 196, "cached_tokens": 2213, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 196, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 196, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7a9525d925ba3ba978ab2668b98bfc164979e5093a3979cf2c266994f121ddc7", "csv_sha256": "0e636d6d0d9c2b62450abfc80c7b750456f1d45a499d890f44836579626b8cd6"} +{"instance_id": "bird122", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT p.Id AS PostId, u.DisplayName AS OwnerDisplayName\nFROM posts AS p\nLEFT JOIN users AS u ON u.Id = p.OwnerUserId\nWHERE p.CreaionDate >= '2010-01-01'\n AND p.CreaionDate < '2011-01-01'\nORDER BY p.FavoriteCount DESC, p.Id ASC\nLIMIT 1;\n```", "rows": 1, "sql": "SELECT p.Id AS PostId, u.DisplayName AS OwnerDisplayName\nFROM posts AS p\nLEFT JOIN users AS u ON u.Id = p.OwnerUserId\nWHERE p.CreaionDate >= '2010-01-01'\n AND p.CreaionDate < '2011-01-01'\nORDER BY p.FavoriteCount DESC, p.Id ASC\nLIMIT 1;", "seconds": 13.348624915932305, "calls": [{"seconds": 2.2446699159918353, "usage": {"completion_tokens": 19, "prompt_tokens": 1620, "total_tokens": 1639, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1070, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1070, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1070, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.23970091692172, "usage": {"completion_tokens": 19, "prompt_tokens": 1795, "total_tokens": 1814, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 175, "cached_tokens": 1070, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 175, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 175, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.646953249932267, "usage": {"completion_tokens": 206, "prompt_tokens": 1914, "total_tokens": 2120, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 104, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 119, "cached_tokens": 1245, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 119, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 119, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.162665707990527, "usage": {"completion_tokens": 89, "prompt_tokens": 2236, "total_tokens": 2325, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 322, "cached_tokens": 1364, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 322, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 322, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "416e0c10eb01e80b09c42a28e0f6d85c3fa5ed4927b65af874be64f6e2d5625d", "csv_sha256": "3e4c6dabe965d0eef4b6648b1fb45f0037db536912841a8066a9c779ff14bb3f"} +{"instance_id": "bird123", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT p.ViewCount,\n COALESCE(u.DisplayName, p.LastEditorDisplayName) AS LastEditorDisplayName\nFROM posts AS p\nLEFT JOIN users AS u ON u.Id = p.LastEditorUserId\nWHERE p.Title = 'Computer game datasets';\n```", "rows": 1, "sql": "SELECT p.ViewCount,\n COALESCE(u.DisplayName, p.LastEditorDisplayName) AS LastEditorDisplayName\nFROM posts AS p\nLEFT JOIN users AS u ON u.Id = p.LastEditorUserId\nWHERE p.Title = 'Computer game datasets';", "seconds": 10.680278333020397, "calls": [{"seconds": 2.434579125023447, "usage": {"completion_tokens": 50, "prompt_tokens": 1620, "total_tokens": 1670, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1070, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1070, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1070, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.712743749958463, "usage": {"completion_tokens": 150, "prompt_tokens": 1924, "total_tokens": 2074, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 76, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 304, "cached_tokens": 1070, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 304, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 304, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4846049998886883, "usage": {"completion_tokens": 62, "prompt_tokens": 2166, "total_tokens": 2228, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 242, "cached_tokens": 1374, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 242, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 242, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9e6b0e6304f0b81bbc552605d37490ba5cc4f17fb5787a63f89d514d0c718da7", "csv_sha256": "fc9908fd3bf792f0032a2c4b82a0e86fd40e76014548dbd4cb4c7ef51f641527"} +{"instance_id": "bird124", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT c.Text, COALESCE(u.DisplayName, c.UserDisplayName) AS DisplayName\nFROM posts AS p\nJOIN comments AS c ON c.PostId = p.Id\nLEFT JOIN users AS u ON u.Id = c.UserId\nWHERE p.Title = 'Analysing wind data with R'\nORDER BY c.CreationDate DESC, c.Id DESC\nLIMIT 10;\n```", "rows": 10, "sql": "SELECT c.Text, COALESCE(u.DisplayName, c.UserDisplayName) AS DisplayName\nFROM posts AS p\nJOIN comments AS c ON c.PostId = p.Id\nLEFT JOIN users AS u ON u.Id = c.UserId\nWHERE p.Title = 'Analysing wind data with R'\nORDER BY c.CreationDate DESC, c.Id DESC\nLIMIT 10;", "seconds": 11.117440500063822, "calls": [{"seconds": 2.802080749999732, "usage": {"completion_tokens": 65, "prompt_tokens": 1627, "total_tokens": 1692, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1077, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1077, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1077, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9199222499737516, "usage": {"completion_tokens": 139, "prompt_tokens": 2002, "total_tokens": 2141, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 35, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 375, "cached_tokens": 1077, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 375, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 375, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.054942499962635, "usage": {"completion_tokens": 88, "prompt_tokens": 2681, "total_tokens": 2769, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 679, "cached_tokens": 1452, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 679, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 679, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2f5f0c89dda656be42be6ab47de6244b81e27c8fcf9c0910b82dec993806c545", "csv_sha256": "f9c611994935fde67e08a1d30872546c32de1f0395694dcea120c7f6077591be"} +{"instance_id": "bird125", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(100.0 * AVG(CASE WHEN p.Score > 50 THEN 1 ELSE 0 END), 2) AS percentage\nFROM posts AS p\nWHERE p.OwnerUserId = (\n SELECT u.Id\n FROM users AS u\n ORDER BY u.Reputation DESC, u.Id\n LIMIT 1\n);\n```", "rows": 1, "sql": "SELECT ROUND(100.0 * AVG(CASE WHEN p.Score > 50 THEN 1 ELSE 0 END), 2) AS percentage\nFROM posts AS p\nWHERE p.OwnerUserId = (\n SELECT u.Id\n FROM users AS u\n ORDER BY u.Reputation DESC, u.Id\n LIMIT 1\n);", "seconds": 13.002612166921608, "calls": [{"seconds": 2.615606166073121, "usage": {"completion_tokens": 50, "prompt_tokens": 1624, "total_tokens": 1674, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1074, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1074, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1074, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.222500417032279, "usage": {"completion_tokens": 259, "prompt_tokens": 1928, "total_tokens": 2187, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 169, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 304, "cached_tokens": 1074, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 304, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 304, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.061832250095904, "usage": {"completion_tokens": 78, "prompt_tokens": 2285, "total_tokens": 2363, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 357, "cached_tokens": 1378, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 357, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 357, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e19d44e3a0b4b24d1f574e2bea6f10a61595725b2c4a30e26a039fb771010d28", "csv_sha256": "3e86ffc3d5b517f71d9d172b6d92c20af964b41b0d9fc294ce142d7bd1c3d7f0"} +{"instance_id": "bird126", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS zero_score_comment_count\nFROM (\n SELECT PostId\n FROM comments\n GROUP BY PostId\n HAVING COUNT(*) = 1 AND MAX(Score) = 0\n) AS single_comment\nWHERE EXISTS (\n SELECT 1\n FROM posts AS p\n WHERE p.Id = single_comment.PostId\n);\n```", "rows": 1, "sql": "SELECT COUNT(*) AS zero_score_comment_count\nFROM (\n SELECT PostId\n FROM comments\n GROUP BY PostId\n HAVING COUNT(*) = 1 AND MAX(Score) = 0\n) AS single_comment\nWHERE EXISTS (\n SELECT 1\n FROM posts AS p\n WHERE p.Id = single_comment.PostId\n);", "seconds": 9.948201749939471, "calls": [{"seconds": 2.7000321249943227, "usage": {"completion_tokens": 50, "prompt_tokens": 1621, "total_tokens": 1671, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1071, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1071, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1071, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.018554167007096, "usage": {"completion_tokens": 134, "prompt_tokens": 1883, "total_tokens": 2017, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 40, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 262, "cached_tokens": 1071, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 262, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 262, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1341546250041574, "usage": {"completion_tokens": 81, "prompt_tokens": 2120, "total_tokens": 2201, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 237, "cached_tokens": 1333, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 237, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 237, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "3ccc17bf5605518016b7807da6da13d7c70cd265cc33058b5ff51b64dab9e8a8", "csv_sha256": "c2b5a989aa5ec03b1b3f7dd5359462be4ea5654ccfe0e691ba6cf6cad859223a"} +{"instance_id": "bird127", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "failed", "answer": "```sql\nSELECT SUM(u.Reputation) AS total_reputation\nFROM users AS u\nWHERE u.Location LIKE '%United Kingdom%'\n AND EXISTS (\n SELECT 1\n FROM posts AS p\n WHERE p.OwnerUserId = u.Id\n );\n```", "error_type": "OperationalError", "seconds": 63.43719358299859, "calls": [{"seconds": 2.8648029590258375, "usage": {"completion_tokens": 50, "prompt_tokens": 1704, "total_tokens": 1754, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1154, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1154, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1154, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.38207799999509, "usage": {"completion_tokens": 113, "prompt_tokens": 2008, "total_tokens": 2121, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 40, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 304, "cached_tokens": 1154, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 304, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 304, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.233079249970615, "usage": {"completion_tokens": 59, "prompt_tokens": 2201, "total_tokens": 2260, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 193, "cached_tokens": 1458, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 193, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 193, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "4d86553a45f36040964fd640b35acf499b27aa56f23a78d7305f7128b27ae575"} +{"instance_id": "bird128", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(u.Age), 2) AS average_age\nFROM users AS u\nWHERE u.Id IN (\n SELECT c.UserId\n FROM comments AS c\n WHERE INSTR(c.Text, 'http://') > 0\n);\n```", "rows": 1, "sql": "SELECT ROUND(AVG(u.Age), 2) AS average_age\nFROM users AS u\nWHERE u.Id IN (\n SELECT c.UserId\n FROM comments AS c\n WHERE INSTR(c.Text, 'http://') > 0\n);", "seconds": 44.6143340410199, "calls": [{"seconds": 2.6186139170313254, "usage": {"completion_tokens": 50, "prompt_tokens": 1664, "total_tokens": 1714, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1114, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1114, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1114, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.665783500066027, "usage": {"completion_tokens": 153, "prompt_tokens": 1870, "total_tokens": 2023, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 74, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 206, "cached_tokens": 1114, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 206, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 206, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.344946999917738, "usage": {"completion_tokens": 71, "prompt_tokens": 2134, "total_tokens": 2205, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 264, "cached_tokens": 1320, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 264, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 264, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.856174583081156, "usage": {"completion_tokens": 61, "prompt_tokens": 2287, "total_tokens": 2348, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 153, "cached_tokens": 1584, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 153, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 153, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "271d1b6659da94b6f0bdab780539f6dc7cbda17a89b5871c6c5faf244e167662", "csv_sha256": "a77007b6a090f0fe7a3494ceb98d1270adebd9f84b1891460af9271b1766dc0a"} +{"instance_id": "bird129", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH organizer_awards AS (\n SELECT b.UserId, MIN(b.Date) AS organizer_date\n FROM badges AS b\n JOIN users AS u ON u.Id = b.UserId\n WHERE b.Name = 'Organizer'\n AND u.Location LIKE '%Germany%'\n GROUP BY b.UserId\n)\nSELECT COUNT(*) AS user_count\nFROM organizer_awards AS o\nWHERE (\n SELECT COUNT(*)\n FROM badges AS b\n WHERE b.UserId = o.UserId\n AND b.Date < o.organizer_date\n) = 5;\n```", "rows": 1, "sql": "WITH organizer_awards AS (\n SELECT b.UserId, MIN(b.Date) AS organizer_date\n FROM badges AS b\n JOIN users AS u ON u.Id = b.UserId\n WHERE b.Name = 'Organizer'\n AND u.Location LIKE '%Germany%'\n GROUP BY b.UserId\n)\nSELECT COUNT(*) AS user_count\nFROM organizer_awards AS o\nWHERE (\n SELECT COUNT(*)\n FROM badges AS b\n WHERE b.UserId = o.UserId\n AND b.Date < o.organizer_date\n) = 5;", "seconds": 20.528947124956176, "calls": [{"seconds": 2.8059997080126777, "usage": {"completion_tokens": 65, "prompt_tokens": 1699, "total_tokens": 1764, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1149, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1149, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1149, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.8813278750749305, "usage": {"completion_tokens": 275, "prompt_tokens": 1930, "total_tokens": 2205, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 180, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 231, "cached_tokens": 1149, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 231, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 231, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.023417541990057, "usage": {"completion_tokens": 231, "prompt_tokens": 2498, "total_tokens": 2729, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 90, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 568, "cached_tokens": 1380, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 568, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 568, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.703391958959401, "usage": {"completion_tokens": 132, "prompt_tokens": 2871, "total_tokens": 3003, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 7, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 373, "cached_tokens": 1948, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 373, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 373, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "53837d52783f9256fd6c38072b849ca8b043d85de3871552d1fb61418463435d", "csv_sha256": "49e18d4faced427cd7e067654c2c599c850da4872039ab988dd89f6792066aa8"} +{"instance_id": "bird130", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH first_posts AS (\n SELECT OwnerUserId, MIN(CreaionDate) AS first_post_at\n FROM posts\n GROUP BY OwnerUserId\n)\nSELECT COUNT(DISTINCT u.Id) AS user_count\nFROM first_posts AS f\nJOIN users AS u ON u.Id = f.OwnerUserId\nWHERE f.first_post_at >= '2010-01-01'\n AND f.first_post_at < '2011-01-01'\n AND (\n LOWER(TRIM(u.Location)) = 'india'\n OR REPLACE(LOWER(TRIM(u.Location)), ', ', ',') LIKE '%,india'\n );\n```", "rows": 1, "sql": "WITH first_posts AS (\n SELECT OwnerUserId, MIN(CreaionDate) AS first_post_at\n FROM posts\n GROUP BY OwnerUserId\n)\nSELECT COUNT(DISTINCT u.Id) AS user_count\nFROM first_posts AS f\nJOIN users AS u ON u.Id = f.OwnerUserId\nWHERE f.first_post_at >= '2010-01-01'\n AND f.first_post_at < '2011-01-01'\n AND (\n LOWER(TRIM(u.Location)) = 'india'\n OR REPLACE(LOWER(TRIM(u.Location)), ', ', ',') LIKE '%,india'\n );", "seconds": 35.15963729203213, "calls": [{"seconds": 2.5757625000551343, "usage": {"completion_tokens": 50, "prompt_tokens": 1701, "total_tokens": 1751, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1151, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1151, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1151, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.465706999995746, "usage": {"completion_tokens": 176, "prompt_tokens": 2005, "total_tokens": 2181, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 49, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 304, "cached_tokens": 1151, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 304, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 304, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.420709124999121, "usage": {"completion_tokens": 222, "prompt_tokens": 2354, "total_tokens": 2576, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 93, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 349, "cached_tokens": 1455, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 349, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 349, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.091153000015765, "usage": {"completion_tokens": 217, "prompt_tokens": 3104, "total_tokens": 3321, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 56, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 750, "cached_tokens": 1804, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 750, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 750, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.247267375001684, "usage": {"completion_tokens": 599, "prompt_tokens": 4457, "total_tokens": 5056, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 442, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1353, "cached_tokens": 2554, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1353, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1353, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9342087919358164, "usage": {"completion_tokens": 139, "prompt_tokens": 5214, "total_tokens": 5353, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 757, "cached_tokens": 3907, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 757, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 757, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e2b3537e5a8a8287d1b2b7f964107e042f62916fd8a81b7fce38ec367ea5c7a2", "csv_sha256": "a2a719e270f6f454970b1ffb93815451e1b6ad2982d8907b8d1a378234707f3d"} +{"instance_id": "bird131", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH qualifying_owners AS (\n SELECT DISTINCT OwnerUserId\n FROM posts\n WHERE Score < 20\n AND INSTR(Tags, '') > 0\n)\nSELECT CAST(ROUND(AVG(u.Reputation)) AS INTEGER) AS average_reputation\nFROM qualifying_owners AS q\nJOIN users AS u ON u.Id = q.OwnerUserId;\n```", "rows": 1, "sql": "WITH qualifying_owners AS (\n SELECT DISTINCT OwnerUserId\n FROM posts\n WHERE Score < 20\n AND INSTR(Tags, '') > 0\n)\nSELECT CAST(ROUND(AVG(u.Reputation)) AS INTEGER) AS average_reputation\nFROM qualifying_owners AS q\nJOIN users AS u ON u.Id = q.OwnerUserId;", "seconds": 47.30399570800364, "calls": [{"seconds": 2.671977624995634, "usage": {"completion_tokens": 65, "prompt_tokens": 1679, "total_tokens": 1744, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1129, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1129, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1129, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.137943000067025, "usage": {"completion_tokens": 93, "prompt_tokens": 2044, "total_tokens": 2137, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 54, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 365, "cached_tokens": 1129, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 365, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 365, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2821462500141934, "usage": {"completion_tokens": 89, "prompt_tokens": 2235, "total_tokens": 2324, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 191, "cached_tokens": 1494, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 191, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 191, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.715438958024606, "usage": {"completion_tokens": 97, "prompt_tokens": 2447, "total_tokens": 2544, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 212, "cached_tokens": 1685, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 212, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 212, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3758520409464836, "usage": {"completion_tokens": 86, "prompt_tokens": 2650, "total_tokens": 2736, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 203, "cached_tokens": 1897, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 203, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 203, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "c62870a66d65b113e0e9c3a7c3c5dbdc753525363b2e36cee14613469c40aaab", "csv_sha256": "64bfacc299ad87a567a287695dbcae74504f469f7a16e66347e1e7a4fd1fb198"} +{"instance_id": "bird132", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH posts_2012 AS (\n SELECT LastEditorUserId, Score\n FROM posts\n WHERE CreaionDate >= '2012-01-01'\n AND CreaionDate < '2013-01-01'\n),\ngerman_editors AS (\n SELECT u.Id, u.Reputation\n FROM users AS u\n JOIN (SELECT DISTINCT LastEditorUserId FROM posts_2012) AS e\n ON e.LastEditorUserId = u.Id\n WHERE LOWER(TRIM(u.Location)) = 'germany'\n OR LOWER(TRIM(u.Location)) LIKE '%, germany'\n OR LOWER(TRIM(u.Location)) = 'munich'\n)\nSELECT\n SUM(p.Score) FILTER (WHERE g.Id IS NOT NULL) AS germany_edited_total_score,\n SUM(p.Score) FILTER (WHERE g.Id IS NULL) AS other_posts_total_score,\n (SELECT COUNT(*) FROM german_editors) AS german_editor_count,\n (SELECT SUM(Reputation) FROM german_editors) AS german_editors_total_reputation\nFROM posts_2012 AS p\nLEFT JOIN german_editors AS g ON g.Id = p.LastEditorUserId;\n```", "rows": 1, "sql": "WITH posts_2012 AS (\n SELECT LastEditorUserId, Score\n FROM posts\n WHERE CreaionDate >= '2012-01-01'\n AND CreaionDate < '2013-01-01'\n),\ngerman_editors AS (\n SELECT u.Id, u.Reputation\n FROM users AS u\n JOIN (SELECT DISTINCT LastEditorUserId FROM posts_2012) AS e\n ON e.LastEditorUserId = u.Id\n WHERE LOWER(TRIM(u.Location)) = 'germany'\n OR LOWER(TRIM(u.Location)) LIKE '%, germany'\n OR LOWER(TRIM(u.Location)) = 'munich'\n)\nSELECT\n SUM(p.Score) FILTER (WHERE g.Id IS NOT NULL) AS germany_edited_total_score,\n SUM(p.Score) FILTER (WHERE g.Id IS NULL) AS other_posts_total_score,\n (SELECT COUNT(*) FROM german_editors) AS german_editor_count,\n (SELECT SUM(Reputation) FROM german_editors) AS german_editors_total_reputation\nFROM posts_2012 AS p\nLEFT JOIN german_editors AS g ON g.Id = p.LastEditorUserId;", "seconds": 47.702027083025314, "calls": [{"seconds": 2.5969514579046518, "usage": {"completion_tokens": 64, "prompt_tokens": 1733, "total_tokens": 1797, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1183, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1183, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1183, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.076753749977797, "usage": {"completion_tokens": 172, "prompt_tokens": 2079, "total_tokens": 2251, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 63, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 346, "cached_tokens": 1183, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 346, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 346, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.654759416007437, "usage": {"completion_tokens": 116, "prompt_tokens": 2755, "total_tokens": 2871, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 676, "cached_tokens": 1529, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 676, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 676, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.565965957939625, "usage": {"completion_tokens": 543, "prompt_tokens": 4392, "total_tokens": 4935, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 310, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1637, "cached_tokens": 2205, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1637, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1637, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 16.215298249968328, "usage": {"completion_tokens": 777, "prompt_tokens": 5490, "total_tokens": 6267, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 506, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1098, "cached_tokens": 3842, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1098, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1098, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.920556292054243, "usage": {"completion_tokens": 363, "prompt_tokens": 6573, "total_tokens": 6936, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 110, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1083, "cached_tokens": 4940, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1083, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1083, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "4ddcc9dcdf9f8805323d24f94de5cdb0da7e181b6f3b3b049af00a476f47b1a2", "csv_sha256": "e8a998cf0474399855c88c4cd34f8b3750a70b7ce282884dfcb6864c8463235c"} +{"instance_id": "bird133", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT SUM(u.Reputation) AS combined_reputation\nFROM users AS u\nJOIN (\n SELECT DISTINCT p.OwnerUserId\n FROM posts AS p\n WHERE p.Score = 10\n AND instr(p.Tags, '') > 0\n) AS owners ON owners.OwnerUserId = u.Id;\n```", "rows": 1, "sql": "SELECT SUM(u.Reputation) AS combined_reputation\nFROM users AS u\nJOIN (\n SELECT DISTINCT p.OwnerUserId\n FROM posts AS p\n WHERE p.Score = 10\n AND instr(p.Tags, '') > 0\n) AS owners ON owners.OwnerUserId = u.Id;", "seconds": 44.52590770809911, "calls": [{"seconds": 2.73865554202348, "usage": {"completion_tokens": 65, "prompt_tokens": 1686, "total_tokens": 1751, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1136, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1136, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1136, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.129999208962545, "usage": {"completion_tokens": 65, "prompt_tokens": 2051, "total_tokens": 2116, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 365, "cached_tokens": 1136, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 365, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 365, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.888387625105679, "usage": {"completion_tokens": 81, "prompt_tokens": 2199, "total_tokens": 2280, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 148, "cached_tokens": 1501, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 148, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 148, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9770281669916585, "usage": {"completion_tokens": 84, "prompt_tokens": 2395, "total_tokens": 2479, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 196, "cached_tokens": 1649, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 196, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 196, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.690971083007753, "usage": {"completion_tokens": 74, "prompt_tokens": 2574, "total_tokens": 2648, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 179, "cached_tokens": 1845, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 179, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 179, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "434686f1baac0511cf15d2faed7088d3fdd4c9ccc6f2589e013a15c380f94225", "csv_sha256": "da76e27796131ba1899c52f1987a726025cf708acbc14cdd4cbaf4f826fc798c"} +{"instance_id": "bird134", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT SUM(u.Reputation) AS combined_reputation\nFROM (\n SELECT DISTINCT p.OwnerUserId\n FROM posts AS p\n WHERE p.LasActivityDate >= '2014-08-27'\n AND p.LasActivityDate < '2014-08-28'\n AND p.Tags LIKE '%%'\n) AS owners\nJOIN users AS u ON u.Id = owners.OwnerUserId;\n```", "rows": 1, "sql": "SELECT SUM(u.Reputation) AS combined_reputation\nFROM (\n SELECT DISTINCT p.OwnerUserId\n FROM posts AS p\n WHERE p.LasActivityDate >= '2014-08-27'\n AND p.LasActivityDate < '2014-08-28'\n AND p.Tags LIKE '%%'\n) AS owners\nJOIN users AS u ON u.Id = owners.OwnerUserId;", "seconds": 46.90688441705424, "calls": [{"seconds": 2.4446890420513228, "usage": {"completion_tokens": 65, "prompt_tokens": 1678, "total_tokens": 1743, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1128, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1128, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1128, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.821299458038993, "usage": {"completion_tokens": 250, "prompt_tokens": 2043, "total_tokens": 2293, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 144, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 365, "cached_tokens": 1128, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 365, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 365, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7335725830635056, "usage": {"completion_tokens": 107, "prompt_tokens": 2428, "total_tokens": 2535, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 385, "cached_tokens": 1493, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 385, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 385, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8250012079952285, "usage": {"completion_tokens": 94, "prompt_tokens": 2650, "total_tokens": 2744, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 222, "cached_tokens": 1878, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 222, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 222, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "624a21b97e1235ecac574bac4ecdad7e0161f6075c3bfc320119b4d51da12922", "csv_sha256": "d001f3bcbc36a7f313e1337b37f389c6f957e875d17920fef2b54e8a0287a688"} +{"instance_id": "bird135", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT SUM(q.Score) AS total_score\nFROM posts AS q\nWHERE q.PostTypeId = 1\n AND q.Tags LIKE '%%'\n AND EXISTS (\n SELECT 1\n FROM postLinks AS l\n JOIN posts AS target ON target.Id = l.RelatedPostId\n WHERE l.PostId = q.Id\n AND target.PostTypeId = 1\n AND target.Title = 'A Probability distribution value exceeding 1 is OK?'\n );\n```", "rows": 1, "sql": "SELECT SUM(q.Score) AS total_score\nFROM posts AS q\nWHERE q.PostTypeId = 1\n AND q.Tags LIKE '%%'\n AND EXISTS (\n SELECT 1\n FROM postLinks AS l\n JOIN posts AS target ON target.Id = l.RelatedPostId\n WHERE l.PostId = q.Id\n AND target.PostTypeId = 1\n AND target.Title = 'A Probability distribution value exceeding 1 is OK?'\n );", "seconds": 18.010331874946132, "calls": [{"seconds": 2.5712749159429222, "usage": {"completion_tokens": 66, "prompt_tokens": 1662, "total_tokens": 1728, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1112, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1112, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1112, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.810654041939415, "usage": {"completion_tokens": 122, "prompt_tokens": 1978, "total_tokens": 2100, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 14, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 316, "cached_tokens": 1112, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 316, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 316, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.519961333018728, "usage": {"completion_tokens": 201, "prompt_tokens": 2891, "total_tokens": 3092, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 77, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 913, "cached_tokens": 1428, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 913, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 913, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7025055409176275, "usage": {"completion_tokens": 110, "prompt_tokens": 3221, "total_tokens": 3331, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 330, "cached_tokens": 2341, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 330, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 330, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8e69ef7e4c8791111b5bb0208b37cc6c1e46cbcb78c7a9baf9641e4fa7b6e44c", "csv_sha256": "e45b08ca5bd5c83ee8be5ce401eb1b4fc86620747908c5da7b06fcaba0f04513"} +{"instance_id": "bird136", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH badge_totals AS (\n SELECT u.Id, u.DisplayName, COUNT(b.Id) AS badge_total\n FROM users AS u\n LEFT JOIN badges AS b ON b.UserId = u.Id\n WHERE LOWER(u.Location) LIKE '%germany%'\n GROUP BY u.Id, u.DisplayName\n), ranked_users AS (\n SELECT DisplayName, badge_total,\n DENSE_RANK() OVER (ORDER BY badge_total DESC) AS badge_rank\n FROM badge_totals\n)\nSELECT DisplayName, badge_total\nFROM ranked_users\nWHERE badge_rank = 2\nORDER BY DisplayName;\n```", "rows": 1, "sql": "WITH badge_totals AS (\n SELECT u.Id, u.DisplayName, COUNT(b.Id) AS badge_total\n FROM users AS u\n LEFT JOIN badges AS b ON b.UserId = u.Id\n WHERE LOWER(u.Location) LIKE '%germany%'\n GROUP BY u.Id, u.DisplayName\n), ranked_users AS (\n SELECT DisplayName, badge_total,\n DENSE_RANK() OVER (ORDER BY badge_total DESC) AS badge_rank\n FROM badge_totals\n)\nSELECT DisplayName, badge_total\nFROM ranked_users\nWHERE badge_rank = 2\nORDER BY DisplayName;", "seconds": 13.873728249920532, "calls": [{"seconds": 3.0630573329981416, "usage": {"completion_tokens": 65, "prompt_tokens": 1693, "total_tokens": 1758, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1143, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1143, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1143, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.627263000002131, "usage": {"completion_tokens": 295, "prompt_tokens": 1924, "total_tokens": 2219, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 145, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 231, "cached_tokens": 1143, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 231, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 231, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.101920415996574, "usage": {"completion_tokens": 156, "prompt_tokens": 2381, "total_tokens": 2537, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 21, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 457, "cached_tokens": 1374, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 457, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 457, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "75cb290cb68fc75bf79cb4d8c36121f17ca728505efec8a684e6f6137d8b6e07", "csv_sha256": "938395a17f48bfd5aa22c86ad6cdf17641e3419c907fe0c545e1a1208fc4950a"} +{"instance_id": "bird137", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH california_users AS (\n SELECT Id, DisplayName, Views, Reputation\n FROM users\n WHERE (' ' || LOWER(Location) || ' ') GLOB '*[^a-z]california[^a-z]*'\n OR (' ' || LOWER(Location) || ' ') GLOB '*[^a-z]ca[^a-z]*'\n)\nSELECT Id, DisplayName, Views, Reputation\nFROM california_users\nWHERE Views = (SELECT MAX(Views) FROM california_users)\nORDER BY Id;\n```", "rows": 1, "sql": "WITH california_users AS (\n SELECT Id, DisplayName, Views, Reputation\n FROM users\n WHERE (' ' || LOWER(Location) || ' ') GLOB '*[^a-z]california[^a-z]*'\n OR (' ' || LOWER(Location) || ' ') GLOB '*[^a-z]ca[^a-z]*'\n)\nSELECT Id, DisplayName, Views, Reputation\nFROM california_users\nWHERE Views = (SELECT MAX(Views) FROM california_users)\nORDER BY Id;", "seconds": 24.07215995795559, "calls": [{"seconds": 2.1880777499172837, "usage": {"completion_tokens": 19, "prompt_tokens": 1690, "total_tokens": 1709, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1140, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1140, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1140, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.887551166000776, "usage": {"completion_tokens": 232, "prompt_tokens": 1809, "total_tokens": 2041, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 153, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 119, "cached_tokens": 1140, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 119, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 119, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3075991660589352, "usage": {"completion_tokens": 70, "prompt_tokens": 2539, "total_tokens": 2609, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 33, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 730, "cached_tokens": 1259, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 730, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 730, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.060234292061068, "usage": {"completion_tokens": 340, "prompt_tokens": 3002, "total_tokens": 3342, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 215, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 463, "cached_tokens": 1989, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 463, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 463, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5601995839970186, "usage": {"completion_tokens": 109, "prompt_tokens": 3493, "total_tokens": 3602, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 491, "cached_tokens": 2452, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 491, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 491, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "df15eda40650477fdad9b89a4cada0852e577afeea28b21719515393bb78dc93", "csv_sha256": "cba3906c03cd97cbd0c5af247eef971e7264a6bfda315609c960df375b3fa146"} +{"instance_id": "bird138", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH york_users AS (\n SELECT Age, Reputation\n FROM users\n WHERE lower(trim(Location)) IN (\n 'york', 'york, england', 'york, united kingdom', 'york, uk',\n 'york, england, united kingdom', 'york, england, uk'\n )\n)\nSELECT Age\nFROM york_users\nWHERE Reputation = (SELECT MAX(Reputation) FROM york_users);\n```", "rows": 1, "sql": "WITH york_users AS (\n SELECT Age, Reputation\n FROM users\n WHERE lower(trim(Location)) IN (\n 'york', 'york, england', 'york, united kingdom', 'york, uk',\n 'york, england, united kingdom', 'york, england, uk'\n )\n)\nSELECT Age\nFROM york_users\nWHERE Reputation = (SELECT MAX(Reputation) FROM york_users);", "seconds": 15.887440708000213, "calls": [{"seconds": 2.0435717080254108, "usage": {"completion_tokens": 19, "prompt_tokens": 1691, "total_tokens": 1710, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1141, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1141, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1141, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9643538339296356, "usage": {"completion_tokens": 54, "prompt_tokens": 1810, "total_tokens": 1864, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 119, "cached_tokens": 1141, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 119, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 119, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.138107208069414, "usage": {"completion_tokens": 266, "prompt_tokens": 2079, "total_tokens": 2345, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 151, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 269, "cached_tokens": 1260, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 269, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 269, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.70115962496493, "usage": {"completion_tokens": 96, "prompt_tokens": 2459, "total_tokens": 2555, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 380, "cached_tokens": 1529, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 380, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 380, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d5765a5af5c23d6096d6356eb5c3d87e8c82ebd016e7e6bf96f01db0fb7d2d59", "csv_sha256": "b1dc4988962f28e92f5445754e15c78ee115a3456c9a7b6b9f05ca34b0cd2e92"} +{"instance_id": "bird139", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT u.Id) AS user_count\nFROM users AS u\nJOIN badges AS b ON b.UserId = u.Id\nWHERE u.Location LIKE '%India%'\n AND b.Name = 'Yearling'\n AND b.Date < '2014-01-01';\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT u.Id) AS user_count\nFROM users AS u\nJOIN badges AS b ON b.UserId = u.Id\nWHERE u.Location LIKE '%India%'\n AND b.Name = 'Yearling'\n AND b.Date < '2014-01-01';", "seconds": 11.662960250047036, "calls": [{"seconds": 2.386563792009838, "usage": {"completion_tokens": 51, "prompt_tokens": 1672, "total_tokens": 1723, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1122, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1122, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1122, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.342596750007942, "usage": {"completion_tokens": 231, "prompt_tokens": 1861, "total_tokens": 2092, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 151, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 189, "cached_tokens": 1122, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 189, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 189, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9009541670093313, "usage": {"completion_tokens": 66, "prompt_tokens": 2177, "total_tokens": 2243, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 316, "cached_tokens": 1311, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 316, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 316, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "293c00ef21433ced2cbd4078adf514f4e02af762716bba8f3792680ea844cd3a", "csv_sha256": "95b5c4ebea3e5fbfd4c0988aed9b870d0481c8e151034f888cc2f253126c472c"} +{"instance_id": "bird140", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT NULLIF(u.DisplayName, 'NaN')) AS distinct_display_names\nFROM users AS u\nWHERE u.Age BETWEEN 19 AND 65\n AND EXISTS (\n SELECT 1\n FROM badges AS b\n WHERE b.UserId = u.Id AND b.Name = 'Supporter'\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT NULLIF(u.DisplayName, 'NaN')) AS distinct_display_names\nFROM users AS u\nWHERE u.Age BETWEEN 19 AND 65\n AND EXISTS (\n SELECT 1\n FROM badges AS b\n WHERE b.UserId = u.Id AND b.Name = 'Supporter'\n );", "seconds": 32.150352749973536, "calls": [{"seconds": 2.744718541041948, "usage": {"completion_tokens": 51, "prompt_tokens": 1674, "total_tokens": 1725, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1124, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1124, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1124, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.3710927499923855, "usage": {"completion_tokens": 203, "prompt_tokens": 1863, "total_tokens": 2066, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 113, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 189, "cached_tokens": 1124, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 189, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 189, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0964522910071537, "usage": {"completion_tokens": 77, "prompt_tokens": 2164, "total_tokens": 2241, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 301, "cached_tokens": 1313, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 301, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 301, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "72e9f1ba1714f3e8909a3a247c618ef065c263afc2e85d6e6bd9f1abcc7c42b6", "csv_sha256": "f92daf42fc49c0131f0b9ff7170842ac5dba673e39a0227f14af145776660937"} +{"instance_id": "bird141", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH matching_posts AS (\n SELECT Id, Title\n FROM posts\n WHERE LOWER(Title) LIKE '%principal component scores%'\n), linked_posts AS (\n SELECT p.Id AS post_id, l.RelatedPostId AS linked_post_id\n FROM matching_posts AS p\n JOIN postLinks AS l ON l.PostId = p.Id\n UNION ALL\n SELECT p.Id AS post_id, l.PostId AS linked_post_id\n FROM matching_posts AS p\n JOIN postLinks AS l ON l.RelatedPostId = p.Id\n), related_counts AS (\n SELECT p.Title, COUNT(DISTINCT l.linked_post_id) AS related_post_count\n FROM matching_posts AS p\n LEFT JOIN linked_posts AS l\n ON l.post_id = p.Id AND l.linked_post_id <> p.Id\n GROUP BY p.Id, p.Title\n)\nSELECT Title, related_post_count\nFROM related_counts\nWHERE related_post_count = (SELECT MAX(related_post_count) FROM related_counts)\nORDER BY Title;\n```", "rows": 1, "sql": "WITH matching_posts AS (\n SELECT Id, Title\n FROM posts\n WHERE LOWER(Title) LIKE '%principal component scores%'\n), linked_posts AS (\n SELECT p.Id AS post_id, l.RelatedPostId AS linked_post_id\n FROM matching_posts AS p\n JOIN postLinks AS l ON l.PostId = p.Id\n UNION ALL\n SELECT p.Id AS post_id, l.PostId AS linked_post_id\n FROM matching_posts AS p\n JOIN postLinks AS l ON l.RelatedPostId = p.Id\n), related_counts AS (\n SELECT p.Title, COUNT(DISTINCT l.linked_post_id) AS related_post_count\n FROM matching_posts AS p\n LEFT JOIN linked_posts AS l\n ON l.post_id = p.Id AND l.linked_post_id <> p.Id\n GROUP BY p.Id, p.Title\n)\nSELECT Title, related_post_count\nFROM related_counts\nWHERE related_post_count = (SELECT MAX(related_post_count) FROM related_counts)\nORDER BY Title;", "seconds": 19.61550025001634, "calls": [{"seconds": 2.5443806670373306, "usage": {"completion_tokens": 51, "prompt_tokens": 1690, "total_tokens": 1741, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1140, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1140, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1140, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.276938832947053, "usage": {"completion_tokens": 719, "prompt_tokens": 1945, "total_tokens": 2664, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 479, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1140, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.648096750024706, "usage": {"completion_tokens": 222, "prompt_tokens": 2918, "total_tokens": 3140, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 973, "cached_tokens": 1395, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 973, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 973, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "c8bf07a026f215cf2f7c738923eb38d9742122ee21a180a0147ed12dab0f4e5c", "csv_sha256": "f2aeead82e3c4c5ccf7d6c2850ee40c0aa5d8d35c11a855154e585d97c47219b"} +{"instance_id": "bird142", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "failed", "answer": "By “youngest,” do you mean the user with the lowest recorded age or the most recently created account?", "error_type": "ValueError", "seconds": 19.125174458953552, "calls": [{"seconds": 2.158718208083883, "usage": {"completion_tokens": 19, "prompt_tokens": 1638, "total_tokens": 1657, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1088, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1088, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1088, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.238506332971156, "usage": {"completion_tokens": 356, "prompt_tokens": 1757, "total_tokens": 2113, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 306, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 119, "cached_tokens": 1088, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 119, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 119, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.718235250096768, "usage": {"completion_tokens": 391, "prompt_tokens": 2167, "total_tokens": 2558, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 363, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 410, "cached_tokens": 1207, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 410, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 410, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "66dff20a8603161bfd6e3d50d5a105e14bb1b9240d6f82e878d38af88d4150e4"} +{"instance_id": "bird143", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT p.OwnerUserId)\n + COUNT(DISTINCT CASE WHEN p.OwnerUserId IS NULL THEN p.OwnerDisplayName END) AS user_count\nFROM votes AS v\nJOIN posts AS p ON p.Id = v.PostId\nWHERE v.BountyAmount >= 30\n AND v.CreationDate >= '2010-01-01'\n AND v.CreationDate < '2011-01-01';\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT p.OwnerUserId)\n + COUNT(DISTINCT CASE WHEN p.OwnerUserId IS NULL THEN p.OwnerDisplayName END) AS user_count\nFROM votes AS v\nJOIN posts AS p ON p.Id = v.PostId\nWHERE v.BountyAmount >= 30\n AND v.CreationDate >= '2010-01-01'\n AND v.CreationDate < '2011-01-01';", "seconds": 17.344783375039697, "calls": [{"seconds": 3.412598542054184, "usage": {"completion_tokens": 50, "prompt_tokens": 1718, "total_tokens": 1768, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1168, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1168, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1168, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.622862334013917, "usage": {"completion_tokens": 479, "prompt_tokens": 1976, "total_tokens": 2455, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 365, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 258, "cached_tokens": 1168, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 258, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 258, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.2918625000165775, "usage": {"completion_tokens": 101, "prompt_tokens": 2575, "total_tokens": 2676, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 599, "cached_tokens": 1426, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 599, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 599, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "3c56b6f1bdbeafc47bb43880575cf0461e5366590251b0372dc5dba2dcf23969", "csv_sha256": "1276d4ee9c59835709dc4990955e09cc8583f064194b85bfd46146c903edb162"} +{"instance_id": "bird144", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH posters AS (\n SELECT DISTINCT OwnerUserId\n FROM posts\n WHERE CreaionDate >= '2010-01-01'\n AND CreaionDate < '2011-01-01'\n)\nSELECT ROUND(AVG(u.Reputation), 2) AS average_reputation\nFROM posters AS p\nJOIN users AS u ON u.Id = p.OwnerUserId\nWHERE LOWER(TRIM(u.Location)) = 'india'\n OR LOWER(TRIM(u.Location)) LIKE '%, india';\n```", "rows": 1, "sql": "WITH posters AS (\n SELECT DISTINCT OwnerUserId\n FROM posts\n WHERE CreaionDate >= '2010-01-01'\n AND CreaionDate < '2011-01-01'\n)\nSELECT ROUND(AVG(u.Reputation), 2) AS average_reputation\nFROM posters AS p\nJOIN users AS u ON u.Id = p.OwnerUserId\nWHERE LOWER(TRIM(u.Location)) = 'india'\n OR LOWER(TRIM(u.Location)) LIKE '%, india';", "seconds": 58.35925020801369, "calls": [{"seconds": 2.758827665937133, "usage": {"completion_tokens": 64, "prompt_tokens": 1692, "total_tokens": 1756, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1142, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1142, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1142, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5260993329575285, "usage": {"completion_tokens": 129, "prompt_tokens": 2038, "total_tokens": 2167, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 346, "cached_tokens": 1142, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 346, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 346, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2819261249387637, "usage": {"completion_tokens": 132, "prompt_tokens": 2323, "total_tokens": 2455, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 285, "cached_tokens": 1488, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 285, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 285, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0085697919130325, "usage": {"completion_tokens": 98, "prompt_tokens": 2956, "total_tokens": 3054, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 633, "cached_tokens": 1773, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 633, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 633, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.465078457957134, "usage": {"completion_tokens": 393, "prompt_tokens": 3378, "total_tokens": 3771, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 422, "cached_tokens": 2406, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 422, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 422, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.375046958914027, "usage": {"completion_tokens": 184, "prompt_tokens": 5033, "total_tokens": 5217, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 55, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1655, "cached_tokens": 2828, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1655, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1655, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6952162500238046, "usage": {"completion_tokens": 112, "prompt_tokens": 5352, "total_tokens": 5464, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 319, "cached_tokens": 4483, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 319, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 319, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8a3c3ee3ff7ca6948e23bb9be28fcbd67380675343e53c706fee930695ba536a", "csv_sha256": "61451a2cebb10f41a7cf87e8297c5c7745536cd65280064eb54bcfda25514ac2"} +{"instance_id": "bird145", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH active_users AS (\n SELECT OwnerUserId\n FROM posts\n WHERE CreaionDate >= '2012-01-01'\n AND CreaionDate < '2013-01-01'\n GROUP BY OwnerUserId\n HAVING COUNT(*) > 10\n)\nSELECT ROUND(AVG(u.UpVotes), 2) AS average_upvotes_cast,\n ROUND(AVG(u.Age), 2) AS average_age\nFROM active_users AS a\nJOIN users AS u ON u.Id = a.OwnerUserId;\n```", "rows": 1, "sql": "WITH active_users AS (\n SELECT OwnerUserId\n FROM posts\n WHERE CreaionDate >= '2012-01-01'\n AND CreaionDate < '2013-01-01'\n GROUP BY OwnerUserId\n HAVING COUNT(*) > 10\n)\nSELECT ROUND(AVG(u.UpVotes), 2) AS average_upvotes_cast,\n ROUND(AVG(u.Age), 2) AS average_age\nFROM active_users AS a\nJOIN users AS u ON u.Id = a.OwnerUserId;", "seconds": 12.344069582992233, "calls": [{"seconds": 3.073956207954325, "usage": {"completion_tokens": 65, "prompt_tokens": 1683, "total_tokens": 1748, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1133, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1133, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1133, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.025277582928538, "usage": {"completion_tokens": 202, "prompt_tokens": 2054, "total_tokens": 2256, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 65, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 371, "cached_tokens": 1133, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 371, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 371, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.131836584070697, "usage": {"completion_tokens": 121, "prompt_tokens": 2410, "total_tokens": 2531, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 356, "cached_tokens": 1504, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 356, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 356, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "876364d637ce2f82dee3bc1805d2098a9099386ce047e49ce8ac86c1f3903714", "csv_sha256": "096de3d05752f7b80ce617b25325e9c27ab110450bf24be1f99f5aad6488bf87"} +{"instance_id": "bird146", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE months(month_start) AS (\n SELECT '2010-01-01'\n UNION ALL\n SELECT date(month_start, '+1 month')\n FROM months\n WHERE month_start < '2010-12-01'\n), monthly_counts AS (\n SELECT date(pl.CreationDate, 'start of month') AS month_start,\n COUNT(DISTINCT p.Id) AS post_count\n FROM postLinks AS pl\n JOIN posts AS p ON p.Id = pl.RelatedPostId\n WHERE pl.CreationDate >= '2010-01-01'\n AND pl.CreationDate < '2011-01-01'\n AND p.AnswerCount <= 2\n GROUP BY date(pl.CreationDate, 'start of month')\n)\nSELECT ROUND(AVG(COALESCE(mc.post_count, 0)), 2) AS average_monthly_posts\nFROM months AS m\nLEFT JOIN monthly_counts AS mc ON mc.month_start = m.month_start;\n```", "rows": 1, "sql": "WITH RECURSIVE months(month_start) AS (\n SELECT '2010-01-01'\n UNION ALL\n SELECT date(month_start, '+1 month')\n FROM months\n WHERE month_start < '2010-12-01'\n), monthly_counts AS (\n SELECT date(pl.CreationDate, 'start of month') AS month_start,\n COUNT(DISTINCT p.Id) AS post_count\n FROM postLinks AS pl\n JOIN posts AS p ON p.Id = pl.RelatedPostId\n WHERE pl.CreationDate >= '2010-01-01'\n AND pl.CreationDate < '2011-01-01'\n AND p.AnswerCount <= 2\n GROUP BY date(pl.CreationDate, 'start of month')\n)\nSELECT ROUND(AVG(COALESCE(mc.post_count, 0)), 2) AS average_monthly_posts\nFROM months AS m\nLEFT JOIN monthly_counts AS mc ON mc.month_start = m.month_start;", "seconds": 15.368074583006091, "calls": [{"seconds": 2.7645314999390393, "usage": {"completion_tokens": 51, "prompt_tokens": 1670, "total_tokens": 1721, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1120, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1120, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1120, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.435442040907219, "usage": {"completion_tokens": 319, "prompt_tokens": 1925, "total_tokens": 2244, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 77, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1120, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.158208457985893, "usage": {"completion_tokens": 238, "prompt_tokens": 2486, "total_tokens": 2724, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 17, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 561, "cached_tokens": 1375, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 561, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 561, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "bda0c6930be32d4d0252faa17ce323e914166b6cd4d3af2f8445a2d4a97a0866", "csv_sha256": "0b9cbd80d9686d8952b98ea1f0098ac223b901ba64e1e3f45578301f53676e3e"} +{"instance_id": "bird147", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(100.0 * AVG(CASE WHEN NOT EXISTS (\n SELECT 1\n FROM users AS u\n WHERE u.Id = p.OwnerUserId\n AND u.Reputation >= 1000\n) THEN 1 ELSE 0 END), 2) AS percentage\nFROM posts AS p\nWHERE p.CreaionDate >= '2010-01-01'\n AND p.CreaionDate < '2011-01-01'\n AND p.Score > 5;\n```", "rows": 1, "sql": "SELECT ROUND(100.0 * AVG(CASE WHEN NOT EXISTS (\n SELECT 1\n FROM users AS u\n WHERE u.Id = p.OwnerUserId\n AND u.Reputation >= 1000\n) THEN 1 ELSE 0 END), 2) AS percentage\nFROM posts AS p\nWHERE p.CreaionDate >= '2010-01-01'\n AND p.CreaionDate < '2011-01-01'\n AND p.Score > 5;", "seconds": 11.296268000034615, "calls": [{"seconds": 2.3903455840190873, "usage": {"completion_tokens": 50, "prompt_tokens": 1697, "total_tokens": 1747, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1147, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1147, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1147, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.479929291992448, "usage": {"completion_tokens": 244, "prompt_tokens": 2001, "total_tokens": 2245, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 118, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 304, "cached_tokens": 1147, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 304, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 304, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3183261250378564, "usage": {"completion_tokens": 112, "prompt_tokens": 2377, "total_tokens": 2489, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 376, "cached_tokens": 1451, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 376, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 376, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "efcb90fe7a50c7a5b7f8b96985bb9ff54b2cbe59c3c439cfc7ceee409087377b", "csv_sha256": "c2b8d45442af1ba96813f1c39353175c2d93aae722648e513b498f9abd4c685d"} +{"instance_id": "bird148", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH editor_counts AS (\n SELECT u.DisplayName AS display_name,\n COUNT(*) AS edit_comment_count\n FROM posts AS p\n JOIN postHistory AS h ON h.PostId = p.Id\n JOIN users AS u ON u.Id = h.UserId\n WHERE p.Title = 'Why square the difference instead of taking the absolute value in standard deviation?'\n AND NULLIF(TRIM(h.Comment), '') IS NOT NULL\n GROUP BY u.Id, u.DisplayName\n)\nSELECT display_name, edit_comment_count\nFROM editor_counts\nWHERE edit_comment_count = (SELECT MAX(edit_comment_count) FROM editor_counts)\nORDER BY display_name;\n```", "rows": 1, "sql": "WITH editor_counts AS (\n SELECT u.DisplayName AS display_name,\n COUNT(*) AS edit_comment_count\n FROM posts AS p\n JOIN postHistory AS h ON h.PostId = p.Id\n JOIN users AS u ON u.Id = h.UserId\n WHERE p.Title = 'Why square the difference instead of taking the absolute value in standard deviation?'\n AND NULLIF(TRIM(h.Comment), '') IS NOT NULL\n GROUP BY u.Id, u.DisplayName\n)\nSELECT display_name, edit_comment_count\nFROM editor_counts\nWHERE edit_comment_count = (SELECT MAX(edit_comment_count) FROM editor_counts)\nORDER BY display_name;", "seconds": 25.790306792012416, "calls": [{"seconds": 2.619722625007853, "usage": {"completion_tokens": 66, "prompt_tokens": 1724, "total_tokens": 1790, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1174, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1174, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1174, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.444775916985236, "usage": {"completion_tokens": 261, "prompt_tokens": 2115, "total_tokens": 2376, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 136, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 391, "cached_tokens": 1174, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 391, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 391, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.875888249953277, "usage": {"completion_tokens": 536, "prompt_tokens": 3034, "total_tokens": 3570, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 378, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 919, "cached_tokens": 1565, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 919, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 919, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.969579666038044, "usage": {"completion_tokens": 205, "prompt_tokens": 3741, "total_tokens": 3946, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 61, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 707, "cached_tokens": 2484, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 707, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 707, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9b1a0d9eaa99d99949c15ee83cfc48b05614c9faaf00d0a70de9045095db5a26", "csv_sha256": "e7f536982f6cba120d378ae78488a89f926f0874c5387ba46bce86043fb3076d"} +{"instance_id": "bird149", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH customer_totals AS (\n SELECT c.Segment, c.CustomerID, SUM(y.Consumption) AS total_consumption\n FROM customers AS c\n JOIN yearmonth AS y ON y.CustomerID = c.CustomerID\n WHERE c.Currency = 'CZK'\n AND c.Segment IN ('SME', 'LAM', 'KAM')\n AND substr(y.Date, 1, 4) = '2013'\n GROUP BY c.Segment, c.CustomerID\n), ranked AS (\n SELECT Segment, total_consumption,\n ROW_NUMBER() OVER (\n PARTITION BY Segment\n ORDER BY total_consumption ASC NULLS LAST, CustomerID ASC\n ) AS segment_rank\n FROM customer_totals\n), lowest_totals AS (\n SELECT MAX(CASE WHEN Segment = 'SME' THEN total_consumption END) AS sme,\n MAX(CASE WHEN Segment = 'LAM' THEN total_consumption END) AS lam,\n MAX(CASE WHEN Segment = 'KAM' THEN total_consumption END) AS kam\n FROM ranked\n WHERE segment_rank = 1\n)\nSELECT ROUND(sme - lam, 2) AS sme_minus_lam,\n ROUND(lam - kam, 2) AS lam_minus_kam,\n ROUND(kam - sme, 2) AS kam_minus_sme\nFROM lowest_totals;\n```", "rows": 1, "sql": "WITH customer_totals AS (\n SELECT c.Segment, c.CustomerID, SUM(y.Consumption) AS total_consumption\n FROM customers AS c\n JOIN yearmonth AS y ON y.CustomerID = c.CustomerID\n WHERE c.Currency = 'CZK'\n AND c.Segment IN ('SME', 'LAM', 'KAM')\n AND substr(y.Date, 1, 4) = '2013'\n GROUP BY c.Segment, c.CustomerID\n), ranked AS (\n SELECT Segment, total_consumption,\n ROW_NUMBER() OVER (\n PARTITION BY Segment\n ORDER BY total_consumption ASC NULLS LAST, CustomerID ASC\n ) AS segment_rank\n FROM customer_totals\n), lowest_totals AS (\n SELECT MAX(CASE WHEN Segment = 'SME' THEN total_consumption END) AS sme,\n MAX(CASE WHEN Segment = 'LAM' THEN total_consumption END) AS lam,\n MAX(CASE WHEN Segment = 'KAM' THEN total_consumption END) AS kam\n FROM ranked\n WHERE segment_rank = 1\n)\nSELECT ROUND(sme - lam, 2) AS sme_minus_lam,\n ROUND(lam - kam, 2) AS lam_minus_kam,\n ROUND(kam - sme, 2) AS kam_minus_sme\nFROM lowest_totals;", "seconds": 26.455582124996, "calls": [{"seconds": 2.772087875055149, "usage": {"completion_tokens": 69, "prompt_tokens": 1669, "total_tokens": 1738, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1123, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1123, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1123, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.32118674996309, "usage": {"completion_tokens": 18, "prompt_tokens": 1872, "total_tokens": 1890, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 203, "cached_tokens": 1123, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 203, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 203, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.346182874985971, "usage": {"completion_tokens": 190, "prompt_tokens": 1920, "total_tokens": 2110, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 92, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1326, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.240629542036913, "usage": {"completion_tokens": 442, "prompt_tokens": 2254, "total_tokens": 2696, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 125, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 334, "cached_tokens": 1374, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 334, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 334, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.432709249900654, "usage": {"completion_tokens": 292, "prompt_tokens": 3040, "total_tokens": 3332, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 786, "cached_tokens": 1708, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 786, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 786, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7de13a0fd9cda7cce8f556f7f6a091768c49ded5b3cb6067cdf2e36bcfb6b437", "csv_sha256": "3a9346b4d6e3a860e3763a6cbcf0feae5953d6698491fad955b9a7ff5f4639b8"} +{"instance_id": "bird150", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH annual_totals AS (\n SELECT c.Segment,\n SUM(CASE WHEN y.Date >= '201201' AND y.Date < '201301' THEN y.Consumption END) AS total_2012,\n SUM(CASE WHEN y.Date >= '201301' AND y.Date < '201401' THEN y.Consumption END) AS total_2013\n FROM customers AS c\n JOIN yearmonth AS y ON y.CustomerID = c.CustomerID\n WHERE c.Currency = 'EUR'\n AND c.Segment IN ('SME', 'LAM', 'KAM')\n AND y.Date >= '201201' AND y.Date < '201401'\n GROUP BY c.Segment\n), increases AS (\n SELECT Segment,\n 100.0 * (total_2013 - total_2012) / NULLIF(total_2012, 0) AS increase_pct\n FROM annual_totals\n), extremes AS (\n SELECT MIN(increase_pct) AS lowest, MAX(increase_pct) AS highest\n FROM increases\n)\nSELECT i.Segment, ROUND(i.increase_pct, 2) AS increase_percentage\nFROM increases AS i\nCROSS JOIN extremes AS e\nWHERE i.increase_pct IN (e.lowest, e.highest)\nORDER BY i.increase_pct DESC, i.Segment;\n```", "rows": 2, "sql": "WITH annual_totals AS (\n SELECT c.Segment,\n SUM(CASE WHEN y.Date >= '201201' AND y.Date < '201301' THEN y.Consumption END) AS total_2012,\n SUM(CASE WHEN y.Date >= '201301' AND y.Date < '201401' THEN y.Consumption END) AS total_2013\n FROM customers AS c\n JOIN yearmonth AS y ON y.CustomerID = c.CustomerID\n WHERE c.Currency = 'EUR'\n AND c.Segment IN ('SME', 'LAM', 'KAM')\n AND y.Date >= '201201' AND y.Date < '201401'\n GROUP BY c.Segment\n), increases AS (\n SELECT Segment,\n 100.0 * (total_2013 - total_2012) / NULLIF(total_2012, 0) AS increase_pct\n FROM annual_totals\n), extremes AS (\n SELECT MIN(increase_pct) AS lowest, MAX(increase_pct) AS highest\n FROM increases\n)\nSELECT i.Segment, ROUND(i.increase_pct, 2) AS increase_percentage\nFROM increases AS i\nCROSS JOIN extremes AS e\nWHERE i.increase_pct IN (e.lowest, e.highest)\nORDER BY i.increase_pct DESC, i.Segment;", "seconds": 21.652367708971724, "calls": [{"seconds": 3.023685042047873, "usage": {"completion_tokens": 83, "prompt_tokens": 1649, "total_tokens": 1732, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1103, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1103, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1103, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.483135416987352, "usage": {"completion_tokens": 28, "prompt_tokens": 1894, "total_tokens": 1922, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 245, "cached_tokens": 1103, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 245, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 245, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.827272249967791, "usage": {"completion_tokens": 148, "prompt_tokens": 2024, "total_tokens": 2172, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 108, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 130, "cached_tokens": 1348, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 130, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 130, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.644509207922965, "usage": {"completion_tokens": 305, "prompt_tokens": 2231, "total_tokens": 2536, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 207, "cached_tokens": 1478, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 207, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 207, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.563947290997021, "usage": {"completion_tokens": 299, "prompt_tokens": 2856, "total_tokens": 3155, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 13, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 625, "cached_tokens": 1685, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 625, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 625, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "4ca0f5ad724e6e56833b6e3b04c1c76b77f813d767d37ca77efafbd48ca66cea", "csv_sha256": "2783e9eb30aebb5014112dac8df732f303c8e8f198046072400153e4705062af"} +{"instance_id": "bird151", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH annual_totals AS (\n SELECT\n SUM(CASE WHEN substr(ym.Date, 1, 4) = '2012' THEN ym.Consumption END) AS total_2012,\n SUM(CASE WHEN substr(ym.Date, 1, 4) = '2013' THEN ym.Consumption END) AS total_2013\n FROM yearmonth AS ym\n WHERE ym.CustomerID IN (\n SELECT t.CustomerID\n FROM transactions_1k AS t\n WHERE t.Date = '2012-08-25' AND t.Price = 634.8\n )\n AND substr(ym.Date, 1, 4) IN ('2012', '2013')\n)\nSELECT ROUND((total_2013 - total_2012) / NULLIF(total_2012, 0), 4) AS relative_change\nFROM annual_totals;\n```", "rows": 1, "sql": "WITH annual_totals AS (\n SELECT\n SUM(CASE WHEN substr(ym.Date, 1, 4) = '2012' THEN ym.Consumption END) AS total_2012,\n SUM(CASE WHEN substr(ym.Date, 1, 4) = '2013' THEN ym.Consumption END) AS total_2013\n FROM yearmonth AS ym\n WHERE ym.CustomerID IN (\n SELECT t.CustomerID\n FROM transactions_1k AS t\n WHERE t.Date = '2012-08-25' AND t.Price = 634.8\n )\n AND substr(ym.Date, 1, 4) IN ('2012', '2013')\n)\nSELECT ROUND((total_2013 - total_2012) / NULLIF(total_2012, 0), 4) AS relative_change\nFROM annual_totals;", "seconds": 15.818585874978453, "calls": [{"seconds": 2.7873974579852074, "usage": {"completion_tokens": 83, "prompt_tokens": 1653, "total_tokens": 1736, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1107, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1107, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1107, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2169391670031473, "usage": {"completion_tokens": 89, "prompt_tokens": 1898, "total_tokens": 1987, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 245, "cached_tokens": 1107, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 245, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 245, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.399785374989733, "usage": {"completion_tokens": 245, "prompt_tokens": 2306, "total_tokens": 2551, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 31, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 408, "cached_tokens": 1352, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 408, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 408, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.305030875024386, "usage": {"completion_tokens": 195, "prompt_tokens": 2768, "total_tokens": 2963, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 462, "cached_tokens": 1760, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 462, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 462, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "12b8cb195c7c8e6d50dad529cb5f995ad0100ba270657fa4a2afe991448832f0", "csv_sha256": "e0e77653cacf863517954a0fe926454aed438dc02fc7e67ac5ea46ebfb4dfaa1"} +{"instance_id": "bird152", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT c.CustomerID) AS customer_count\nFROM customers AS c\nWHERE c.Currency = 'EUR'\n AND EXISTS (\n SELECT 1\n FROM yearmonth AS y\n WHERE y.CustomerID = c.CustomerID\n AND y.Date >= '201201' AND y.Date < '201301'\n )\n AND EXISTS (\n SELECT 1\n FROM yearmonth AS y\n WHERE y.CustomerID = c.CustomerID\n AND y.Date >= '201301' AND y.Date < '201401'\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT c.CustomerID) AS customer_count\nFROM customers AS c\nWHERE c.Currency = 'EUR'\n AND EXISTS (\n SELECT 1\n FROM yearmonth AS y\n WHERE y.CustomerID = c.CustomerID\n AND y.Date >= '201201' AND y.Date < '201301'\n )\n AND EXISTS (\n SELECT 1\n FROM yearmonth AS y\n WHERE y.CustomerID = c.CustomerID\n AND y.Date >= '201301' AND y.Date < '201401'\n );", "seconds": 21.61427525000181, "calls": [{"seconds": 2.8654426659923047, "usage": {"completion_tokens": 83, "prompt_tokens": 1656, "total_tokens": 1739, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1110, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1110, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1110, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.788179541006684, "usage": {"completion_tokens": 124, "prompt_tokens": 1901, "total_tokens": 2025, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 95, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 245, "cached_tokens": 1110, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 245, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 245, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.8750111249974, "usage": {"completion_tokens": 184, "prompt_tokens": 2158, "total_tokens": 2342, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 43, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 257, "cached_tokens": 1355, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 257, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 257, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6879957920173183, "usage": {"completion_tokens": 123, "prompt_tokens": 2485, "total_tokens": 2608, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 327, "cached_tokens": 1612, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 327, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 327, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6f97783c31ef233c8257b178e53e74b84795b5c55de0c10bf7c14833e0571ef3", "csv_sha256": "5bb421dc69888e2542611104b9c5d6ecf989b6c2894ec3ed088b156eb2d4d0fc"} +{"instance_id": "bird153", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH qualifying_customers AS (\n SELECT CustomerID\n FROM yearmonth\n WHERE Date >= '201201' AND Date < '201301'\n GROUP BY CustomerID\n HAVING SUM(Consumption) < 30000\n)\nSELECT c.Segment, COUNT(q.CustomerID) AS CustomerCount\nFROM customers AS c\nLEFT JOIN qualifying_customers AS q ON q.CustomerID = c.CustomerID\nGROUP BY c.Segment\nORDER BY c.Segment;\n```", "rows": 3, "sql": "WITH qualifying_customers AS (\n SELECT CustomerID\n FROM yearmonth\n WHERE Date >= '201201' AND Date < '201301'\n GROUP BY CustomerID\n HAVING SUM(Consumption) < 30000\n)\nSELECT c.Segment, COUNT(q.CustomerID) AS CustomerCount\nFROM customers AS c\nLEFT JOIN qualifying_customers AS q ON q.CustomerID = c.CustomerID\nGROUP BY c.Segment\nORDER BY c.Segment;", "seconds": 21.673779833014123, "calls": [{"seconds": 2.6279688749928027, "usage": {"completion_tokens": 69, "prompt_tokens": 1709, "total_tokens": 1778, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1163, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1163, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1163, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.435294834082015, "usage": {"completion_tokens": 85, "prompt_tokens": 1912, "total_tokens": 1997, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 203, "cached_tokens": 1163, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 203, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 203, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.858004749985412, "usage": {"completion_tokens": 297, "prompt_tokens": 2251, "total_tokens": 2548, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 142, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 339, "cached_tokens": 1366, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 339, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 339, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.252330957911909, "usage": {"completion_tokens": 193, "prompt_tokens": 2760, "total_tokens": 2953, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 74, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 509, "cached_tokens": 1705, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 509, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 509, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3164933329680935, "usage": {"completion_tokens": 105, "prompt_tokens": 3099, "total_tokens": 3204, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 339, "cached_tokens": 2214, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 339, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 339, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "64aff80eac627a723550943f008d8ac6a672cb06cd62e76cfd448c202d55d8b0", "csv_sha256": "ad2e0517bf6bfd5538dacfc82c8c26e9f8190c0328cf97a32e015c29bb44218d"} +{"instance_id": "bird154", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT c.Segment AS client_segment,\n COUNT(DISTINCT ym.CustomerID) AS customers_who_consumed_fuel\nFROM customers AS c\nLEFT JOIN yearmonth AS ym\n ON ym.CustomerID = c.CustomerID\n AND ym.Date >= '201301'\n AND ym.Date < '201401'\n AND ym.Consumption IS NOT NULL\nGROUP BY c.Segment;\n```", "rows": 3, "sql": "SELECT c.Segment AS client_segment,\n COUNT(DISTINCT ym.CustomerID) AS customers_who_consumed_fuel\nFROM customers AS c\nLEFT JOIN yearmonth AS ym\n ON ym.CustomerID = c.CustomerID\n AND ym.Date >= '201301'\n AND ym.Date < '201401'\n AND ym.Consumption IS NOT NULL\nGROUP BY c.Segment;", "seconds": 16.450495500001125, "calls": [{"seconds": 2.17725720803719, "usage": {"completion_tokens": 15, "prompt_tokens": 1713, "total_tokens": 1728, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1167, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1167, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1167, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9095696249278262, "usage": {"completion_tokens": 84, "prompt_tokens": 1761, "total_tokens": 1845, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1167, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.994956166949123, "usage": {"completion_tokens": 87, "prompt_tokens": 2005, "total_tokens": 2092, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 244, "cached_tokens": 1215, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 244, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 244, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.8869410830084234, "usage": {"completion_tokens": 175, "prompt_tokens": 2557, "total_tokens": 2732, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 75, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 552, "cached_tokens": 1459, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 552, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 552, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.143865874968469, "usage": {"completion_tokens": 86, "prompt_tokens": 2865, "total_tokens": 2951, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 308, "cached_tokens": 2011, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 308, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 308, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "bcb593ed7ce83b83d1a6a12ac8fc2fb8b36b20198d5cd73cbf7da20c778a6155", "csv_sha256": "19be59f1e474e87c157c75e6a329f5050fceba4b032500014c11f7826ae42c0f"} +{"instance_id": "bird155", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH qualifying_transactions AS (\n SELECT unixepoch(t.Date || ' ' || t.Time) AS transaction_time\n FROM transactions_1k AS t\n JOIN gasstations AS g ON g.GasStationID = t.GasStationID\n WHERE g.Country = 'CZE'\n AND t.Price > 1000\n)\nSELECT (MAX(transaction_time) - MIN(transaction_time)) / 60 AS elapsed_minutes\nFROM qualifying_transactions;\n```", "rows": 1, "sql": "WITH qualifying_transactions AS (\n SELECT unixepoch(t.Date || ' ' || t.Time) AS transaction_time\n FROM transactions_1k AS t\n JOIN gasstations AS g ON g.GasStationID = t.GasStationID\n WHERE g.Country = 'CZE'\n AND t.Price > 1000\n)\nSELECT (MAX(transaction_time) - MIN(transaction_time)) / 60 AS elapsed_minutes\nFROM qualifying_transactions;", "seconds": 20.82770000002347, "calls": [{"seconds": 2.637601332971826, "usage": {"completion_tokens": 83, "prompt_tokens": 1670, "total_tokens": 1753, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1124, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1124, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1124, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.78571483399719, "usage": {"completion_tokens": 187, "prompt_tokens": 1915, "total_tokens": 2102, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 66, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 245, "cached_tokens": 1124, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 245, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 245, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.251349375001155, "usage": {"completion_tokens": 298, "prompt_tokens": 2822, "total_tokens": 3120, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 185, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 907, "cached_tokens": 1369, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 907, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 907, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.137853709049523, "usage": {"completion_tokens": 213, "prompt_tokens": 3239, "total_tokens": 3452, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 112, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 417, "cached_tokens": 2276, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 417, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 417, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8d0361a180deb7e01ac0add2bbc3fb0f412e5017e78c5c352d0443e13841422a", "csv_sha256": "6d3d125689e72546c74bef1c298bc6f6daad97fe4169a1634932437fcc2d1f65"} +{"instance_id": "bird156", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH active_customers AS (\n SELECT CustomerID\n FROM yearmonth\n WHERE Date BETWEEN '201301' AND '201311'\n GROUP BY CustomerID\n HAVING COUNT(DISTINCT Date) = 11\n)\nSELECT c.Currency, COUNT(DISTINCT a.CustomerID) AS customer_count\nFROM customers AS c\nLEFT JOIN active_customers AS a ON a.CustomerID = c.CustomerID\nGROUP BY c.Currency;\n```", "rows": 2, "sql": "WITH active_customers AS (\n SELECT CustomerID\n FROM yearmonth\n WHERE Date BETWEEN '201301' AND '201311'\n GROUP BY CustomerID\n HAVING COUNT(DISTINCT Date) = 11\n)\nSELECT c.Currency, COUNT(DISTINCT a.CustomerID) AS customer_count\nFROM customers AS c\nLEFT JOIN active_customers AS a ON a.CustomerID = c.CustomerID\nGROUP BY c.Currency;", "seconds": 24.854216208099388, "calls": [{"seconds": 1.833460499998182, "usage": {"completion_tokens": 15, "prompt_tokens": 1697, "total_tokens": 1712, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1151, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1151, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1151, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.7480212080990896, "usage": {"completion_tokens": 98, "prompt_tokens": 1745, "total_tokens": 1843, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1151, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5851912499638274, "usage": {"completion_tokens": 109, "prompt_tokens": 2031, "total_tokens": 2140, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 286, "cached_tokens": 1199, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 286, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 286, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.882440791931003, "usage": {"completion_tokens": 286, "prompt_tokens": 2893, "total_tokens": 3179, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 130, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 862, "cached_tokens": 1485, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 862, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 862, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.307611084077507, "usage": {"completion_tokens": 230, "prompt_tokens": 3409, "total_tokens": 3639, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 117, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 516, "cached_tokens": 2347, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 516, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 516, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.209541583084501, "usage": {"completion_tokens": 119, "prompt_tokens": 3770, "total_tokens": 3889, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 18, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 361, "cached_tokens": 2863, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 361, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 361, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0771e73a1911506508bc70dcb32b9ecd37806d2372ecf4bb77ad437378aba6ea", "csv_sha256": "b95e0ccb580653c33c73a42ec1f29b0ea092a9d01d9ac2725a27522ff6d04a9b"} +{"instance_id": "bird157", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH quarterly_consumption AS (\n SELECT CustomerID, SUM(Consumption) AS total_consumption\n FROM yearmonth\n WHERE Date IN ('201304', '201305', '201306')\n AND Consumption IS NOT NULL\n GROUP BY CustomerID\n)\nSELECT c.Currency,\n ROUND(AVG(q.total_consumption), 2) AS average_quarterly_consumption\nFROM quarterly_consumption AS q\nJOIN customers AS c ON c.CustomerID = q.CustomerID\nWHERE c.Currency IN ('EUR', 'CZK')\nGROUP BY c.Currency\nORDER BY c.Currency;\n```", "rows": 2, "sql": "WITH quarterly_consumption AS (\n SELECT CustomerID, SUM(Consumption) AS total_consumption\n FROM yearmonth\n WHERE Date IN ('201304', '201305', '201306')\n AND Consumption IS NOT NULL\n GROUP BY CustomerID\n)\nSELECT c.Currency,\n ROUND(AVG(q.total_consumption), 2) AS average_quarterly_consumption\nFROM quarterly_consumption AS q\nJOIN customers AS c ON c.CustomerID = q.CustomerID\nWHERE c.Currency IN ('EUR', 'CZK')\nGROUP BY c.Currency\nORDER BY c.Currency;", "seconds": 20.455647374968976, "calls": [{"seconds": 3.356175541994162, "usage": {"completion_tokens": 98, "prompt_tokens": 1716, "total_tokens": 1814, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1170, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1170, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1170, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8557292090263218, "usage": {"completion_tokens": 43, "prompt_tokens": 2002, "total_tokens": 2045, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 286, "cached_tokens": 1170, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 286, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 286, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.306768291979097, "usage": {"completion_tokens": 278, "prompt_tokens": 2120, "total_tokens": 2398, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 101, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 118, "cached_tokens": 1456, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 118, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 118, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.0725450000027195, "usage": {"completion_tokens": 144, "prompt_tokens": 2616, "total_tokens": 2760, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 496, "cached_tokens": 1574, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 496, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 496, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7458957500057295, "usage": {"completion_tokens": 128, "prompt_tokens": 2930, "total_tokens": 3058, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 314, "cached_tokens": 2070, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 314, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 314, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "632eeddcda50c04f553bdd67cca396cc6df0bcbf6ddacaf2a4b5645e15fa674c", "csv_sha256": "524e93b54bfcfd0f7203455f61fb0fa3dcc10cffda1976e84aab27ae071a7d66"} +{"instance_id": "bird158", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH monthly_totals AS (\n SELECT \"Date\" AS calendar_month, SUM(Consumption) AS total_consumption\n FROM yearmonth\n WHERE \"Date\" >= '201201' AND \"Date\" < '201401'\n GROUP BY \"Date\"\n)\nSELECT ROUND(\n MAX(CASE WHEN SUBSTR(calendar_month, 1, 4) = '2013' THEN total_consumption END)\n - MAX(CASE WHEN SUBSTR(calendar_month, 1, 4) = '2012' THEN total_consumption END),\n 0\n) AS peak_consumption_difference\nFROM monthly_totals;\n```", "rows": 1, "sql": "WITH monthly_totals AS (\n SELECT \"Date\" AS calendar_month, SUM(Consumption) AS total_consumption\n FROM yearmonth\n WHERE \"Date\" >= '201201' AND \"Date\" < '201401'\n GROUP BY \"Date\"\n)\nSELECT ROUND(\n MAX(CASE WHEN SUBSTR(calendar_month, 1, 4) = '2013' THEN total_consumption END)\n - MAX(CASE WHEN SUBSTR(calendar_month, 1, 4) = '2012' THEN total_consumption END),\n 0\n) AS peak_consumption_difference\nFROM monthly_totals;", "seconds": 15.443340415949933, "calls": [{"seconds": 2.6435831669950858, "usage": {"completion_tokens": 83, "prompt_tokens": 1687, "total_tokens": 1770, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1141, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1141, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1141, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.7517531670164317, "usage": {"completion_tokens": 35, "prompt_tokens": 1932, "total_tokens": 1967, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 245, "cached_tokens": 1141, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 245, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 245, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.033127665985376, "usage": {"completion_tokens": 246, "prompt_tokens": 2035, "total_tokens": 2281, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 90, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 103, "cached_tokens": 1386, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 103, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 103, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8288477919995785, "usage": {"completion_tokens": 137, "prompt_tokens": 2443, "total_tokens": 2580, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 408, "cached_tokens": 1489, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 408, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 408, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e04b09986d651c2897ef665bd93ee97d66c69f35b6bcf51129c04a0d1a3c7030", "csv_sha256": "3c37e2251e2ce0cec92cce2f9da4ce5e7d94c5381a4d588f41a213cb661d1aad"} +{"instance_id": "bird159", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(Consumption), 2) AS average_monthly_fuel_consumption\nFROM yearmonth\nWHERE CustomerID = 15621\n AND Date >= '201301'\n AND Date < '201401'\n AND Consumption > 0;\n```", "rows": 1, "sql": "SELECT ROUND(AVG(Consumption), 2) AS average_monthly_fuel_consumption\nFROM yearmonth\nWHERE CustomerID = 15621\n AND Date >= '201301'\n AND Date < '201401'\n AND Consumption > 0;", "seconds": 17.46989562502131, "calls": [{"seconds": 2.0568753329571337, "usage": {"completion_tokens": 15, "prompt_tokens": 1644, "total_tokens": 1659, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1098, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1098, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1098, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.912916791974567, "usage": {"completion_tokens": 98, "prompt_tokens": 1692, "total_tokens": 1790, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1098, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.765337500022724, "usage": {"completion_tokens": 115, "prompt_tokens": 1978, "total_tokens": 2093, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 68, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 286, "cached_tokens": 1146, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 286, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 286, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.606970624998212, "usage": {"completion_tokens": 130, "prompt_tokens": 2266, "total_tokens": 2396, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 55, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 288, "cached_tokens": 1432, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 288, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 288, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0887675000121817, "usage": {"completion_tokens": 62, "prompt_tokens": 2484, "total_tokens": 2546, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 218, "cached_tokens": 1720, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 218, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 218, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ffd038194e95687fa93af90b2f73f3e4a3d0afb54d2eb2440327c54356e83258", "csv_sha256": "65488542f4058e24208f811993be18b4a54a269869d5d8587af0aaf0b2ab7501"} +{"instance_id": "bird160", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH customer_totals AS (\n SELECT c.CustomerID, c.Currency, SUM(y.Consumption) AS total_consumption\n FROM customers AS c\n JOIN yearmonth AS y ON y.CustomerID = c.CustomerID\n WHERE y.\"Date\" >= '201201' AND y.\"Date\" < '201301'\n AND c.Currency IN ('CZK', 'EUR')\n GROUP BY c.CustomerID, c.Currency\n)\nSELECT CAST(ROUND(\n AVG(CASE WHEN Currency = 'CZK' THEN total_consumption END)\n - AVG(CASE WHEN Currency = 'EUR' THEN total_consumption END)\n) AS INTEGER) AS consumption_difference\nFROM customer_totals;\n```", "rows": 1, "sql": "WITH customer_totals AS (\n SELECT c.CustomerID, c.Currency, SUM(y.Consumption) AS total_consumption\n FROM customers AS c\n JOIN yearmonth AS y ON y.CustomerID = c.CustomerID\n WHERE y.\"Date\" >= '201201' AND y.\"Date\" < '201301'\n AND c.Currency IN ('CZK', 'EUR')\n GROUP BY c.CustomerID, c.Currency\n)\nSELECT CAST(ROUND(\n AVG(CASE WHEN Currency = 'CZK' THEN total_consumption END)\n - AVG(CASE WHEN Currency = 'EUR' THEN total_consumption END)\n) AS INTEGER) AS consumption_difference\nFROM customer_totals;", "seconds": 17.82505125005264, "calls": [{"seconds": 2.941118333954364, "usage": {"completion_tokens": 51, "prompt_tokens": 1726, "total_tokens": 1777, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1180, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1180, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1180, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.936389500042424, "usage": {"completion_tokens": 158, "prompt_tokens": 1844, "total_tokens": 2002, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 61, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 118, "cached_tokens": 1180, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 118, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 118, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.779197208001278, "usage": {"completion_tokens": 247, "prompt_tokens": 2148, "total_tokens": 2395, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 78, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 304, "cached_tokens": 1298, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 304, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 304, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9710915409959853, "usage": {"completion_tokens": 150, "prompt_tokens": 2566, "total_tokens": 2716, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 418, "cached_tokens": 1602, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 418, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 418, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2b03c5d0cdd6cda2ad6f502490f9a9bfd56d7ee3f2a632aeda8e1901347366d1", "csv_sha256": "a7ac2bba30bf54c2090390d9fbff4967350f6b7f83ebd74ebfdfac726d1f095b"} +{"instance_id": "bird161", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS customer_count\nFROM (\n SELECT c.CustomerID\n FROM customers AS c\n JOIN yearmonth AS ym ON ym.CustomerID = c.CustomerID\n WHERE c.Segment = 'KAM'\n AND c.Currency = 'CZK'\n AND ym.Date >= '201301'\n AND ym.Date < '201401'\n GROUP BY c.CustomerID\n HAVING SUM(ym.Consumption) > 1000000\n) AS qualifying_customers;\n```", "rows": 1, "sql": "SELECT COUNT(*) AS customer_count\nFROM (\n SELECT c.CustomerID\n FROM customers AS c\n JOIN yearmonth AS ym ON ym.CustomerID = c.CustomerID\n WHERE c.Segment = 'KAM'\n AND c.Currency = 'CZK'\n AND ym.Date >= '201301'\n AND ym.Date < '201401'\n GROUP BY c.CustomerID\n HAVING SUM(ym.Consumption) > 1000000\n) AS qualifying_customers;", "seconds": 16.110448457999155, "calls": [{"seconds": 3.0676238749874756, "usage": {"completion_tokens": 98, "prompt_tokens": 1665, "total_tokens": 1763, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1119, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1119, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1119, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.7982822499470785, "usage": {"completion_tokens": 172, "prompt_tokens": 1951, "total_tokens": 2123, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 102, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 286, "cached_tokens": 1119, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 286, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 286, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.741112457937561, "usage": {"completion_tokens": 150, "prompt_tokens": 2215, "total_tokens": 2365, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 25, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 264, "cached_tokens": 1405, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 264, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 264, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4219464589841664, "usage": {"completion_tokens": 109, "prompt_tokens": 2493, "total_tokens": 2602, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1669, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2a6d73509e4ef8f09d9fcc414deb2fba8512b84abd8593a80ba85463a1703a1c", "csv_sha256": "c47dd5c256b8c298fed607e7e331dbe573389dbd9ce05bc15a0289feaaf4373c"} +{"instance_id": "bird162", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT c.CustomerID) AS sme_customer_count\nFROM customers AS c\nJOIN yearmonth AS ym ON ym.CustomerID = c.CustomerID\nWHERE c.Segment = 'SME'\n AND ym.Date = '201302'\n AND ym.Consumption > 0;\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT c.CustomerID) AS sme_customer_count\nFROM customers AS c\nJOIN yearmonth AS ym ON ym.CustomerID = c.CustomerID\nWHERE c.Segment = 'SME'\n AND ym.Date = '201302'\n AND ym.Consumption > 0;", "seconds": 20.54484133294318, "calls": [{"seconds": 2.7690492919646204, "usage": {"completion_tokens": 47, "prompt_tokens": 1674, "total_tokens": 1721, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1128, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1128, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1128, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.010292708990164, "usage": {"completion_tokens": 84, "prompt_tokens": 1782, "total_tokens": 1866, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 108, "cached_tokens": 1128, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 108, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 108, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.139857291942462, "usage": {"completion_tokens": 255, "prompt_tokens": 2026, "total_tokens": 2281, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 65, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 244, "cached_tokens": 1236, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 244, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 244, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.435473708086647, "usage": {"completion_tokens": 138, "prompt_tokens": 3409, "total_tokens": 3547, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 57, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1383, "cached_tokens": 1480, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1383, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1383, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.0379839590750635, "usage": {"completion_tokens": 103, "prompt_tokens": 3637, "total_tokens": 3740, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 33, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 228, "cached_tokens": 2863, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 228, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 228, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ebab331dd0d8cb0af8a022e6803dad9ff64c159b0b44e3c1a903d58e5e9a16e9", "csv_sha256": "2ee8e08bac2c1db27ea63897513b45eabf394cf3f5e7881067fea3f31c9a0ed5"} +{"instance_id": "bird163", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH away_win_counts AS (\n SELECT m.away_team_api_id,\n SUM(CASE WHEN m.away_team_goal > m.home_team_goal THEN 1 ELSE 0 END) AS away_wins\n FROM \"Match\" AS m\n JOIN League AS l ON l.id = m.league_id\n WHERE l.name = 'Scotland Premier League'\n AND m.season = '2009/2010'\n GROUP BY m.away_team_api_id\n)\nSELECT t.team_long_name\nFROM away_win_counts AS a\nJOIN Team AS t ON t.team_api_id = a.away_team_api_id\nWHERE a.away_wins = (SELECT MAX(away_wins) FROM away_win_counts)\nORDER BY t.team_long_name;\n```", "rows": 2, "sql": "WITH away_win_counts AS (\n SELECT m.away_team_api_id,\n SUM(CASE WHEN m.away_team_goal > m.home_team_goal THEN 1 ELSE 0 END) AS away_wins\n FROM \"Match\" AS m\n JOIN League AS l ON l.id = m.league_id\n WHERE l.name = 'Scotland Premier League'\n AND m.season = '2009/2010'\n GROUP BY m.away_team_api_id\n)\nSELECT t.team_long_name\nFROM away_win_counts AS a\nJOIN Team AS t ON t.team_api_id = a.away_team_api_id\nWHERE a.away_wins = (SELECT MAX(away_wins) FROM away_win_counts)\nORDER BY t.team_long_name;", "seconds": 19.326308457995765, "calls": [{"seconds": 3.3537474590120837, "usage": {"completion_tokens": 79, "prompt_tokens": 1620, "total_tokens": 1699, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1071, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1071, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1071, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.851985499961302, "usage": {"completion_tokens": 111, "prompt_tokens": 2640, "total_tokens": 2751, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 78, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1020, "cached_tokens": 1071, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1020, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1020, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.3193308329209685, "usage": {"completion_tokens": 254, "prompt_tokens": 2799, "total_tokens": 3053, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 72, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 159, "cached_tokens": 2091, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 159, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 159, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.185615416034125, "usage": {"completion_tokens": 165, "prompt_tokens": 3243, "total_tokens": 3408, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 444, "cached_tokens": 2250, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 444, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 444, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "3766972c59461a28d57addf862a9bafc984a73960f6068e255289a0bbdbf0877", "csv_sha256": "ad11e8a37e66ff04cc75fbcd5684c6100ff1845305a6cb6d0d0f93b023d51c53"} +{"instance_id": "bird164", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH passing_2012 AS (\n SELECT team_api_id, buildUpPlayPassing\n FROM Team_Attributes\n WHERE date >= '2012-01-01' AND date < '2013-01-01'\n)\nSELECT t.team_long_name\nFROM Team AS t\nJOIN passing_2012 AS p ON p.team_api_id = t.team_api_id\nWHERE p.buildUpPlayPassing > (SELECT AVG(buildUpPlayPassing) FROM passing_2012)\nORDER BY t.team_long_name;\n```", "rows": 129, "sql": "WITH passing_2012 AS (\n SELECT team_api_id, buildUpPlayPassing\n FROM Team_Attributes\n WHERE date >= '2012-01-01' AND date < '2013-01-01'\n)\nSELECT t.team_long_name\nFROM Team AS t\nJOIN passing_2012 AS p ON p.team_api_id = t.team_api_id\nWHERE p.buildUpPlayPassing > (SELECT AVG(buildUpPlayPassing) FROM passing_2012)\nORDER BY t.team_long_name;", "seconds": 14.830701207974926, "calls": [{"seconds": 2.9152926249662414, "usage": {"completion_tokens": 52, "prompt_tokens": 1615, "total_tokens": 1667, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1066, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1066, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1066, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.888737582950853, "usage": {"completion_tokens": 97, "prompt_tokens": 1933, "total_tokens": 2030, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 33, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 318, "cached_tokens": 1066, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 318, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 318, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.174712665961124, "usage": {"completion_tokens": 126, "prompt_tokens": 2111, "total_tokens": 2237, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 178, "cached_tokens": 1384, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 178, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 178, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.824245124938898, "usage": {"completion_tokens": 129, "prompt_tokens": 2609, "total_tokens": 2738, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 14, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 498, "cached_tokens": 1562, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 498, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 498, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "60f9e953f150d763fd5f9032c9f73fca98d9f6de051b80eae61b5cf1a800653d", "csv_sha256": "2c448b74dc6e1eb92bdceb01d4622b7660aad6e5b262fbdf1b887811408ecd95"} +{"instance_id": "bird165", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n p.player_api_id,\n p.player_name,\n AVG(a.heading_accuracy) AS mean_heading_accuracy\nFROM Player AS p\nJOIN Player_Attributes AS a\n ON a.player_api_id = p.player_api_id\nWHERE p.height > 180\n AND a.heading_accuracy IS NOT NULL\nGROUP BY p.player_api_id, p.player_name\nORDER BY mean_heading_accuracy DESC, p.player_api_id ASC\nLIMIT 10;\n```", "rows": 10, "sql": "SELECT\n p.player_api_id,\n p.player_name,\n AVG(a.heading_accuracy) AS mean_heading_accuracy\nFROM Player AS p\nJOIN Player_Attributes AS a\n ON a.player_api_id = p.player_api_id\nWHERE p.height > 180\n AND a.heading_accuracy IS NOT NULL\nGROUP BY p.player_api_id, p.player_name\nORDER BY mean_heading_accuracy DESC, p.player_api_id ASC\nLIMIT 10;", "seconds": 17.717371250037104, "calls": [{"seconds": 2.52226362505462, "usage": {"completion_tokens": 52, "prompt_tokens": 1625, "total_tokens": 1677, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1076, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1076, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1076, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.204902000026777, "usage": {"completion_tokens": 354, "prompt_tokens": 2008, "total_tokens": 2362, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 241, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 383, "cached_tokens": 1076, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 383, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 383, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.816402124939486, "usage": {"completion_tokens": 284, "prompt_tokens": 2641, "total_tokens": 2925, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 182, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 633, "cached_tokens": 1459, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 633, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 633, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "442d9d32f36bbed8da9453d40cc402dc19a8f8fcc10a82ff5398ed5175b2443d", "csv_sha256": "e544103d322f22ab5056aca3e700e0686c2ca2543637acd687a08dc23438e3c2"} +{"instance_id": "bird166", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT l.name\nFROM League AS l\nJOIN \"Match\" AS m ON m.league_id = l.id\nWHERE m.season = '2009/2010'\nGROUP BY l.id, l.name\nHAVING AVG(m.home_team_goal) > AVG(m.away_team_goal)\nORDER BY l.name;\n```", "rows": 11, "sql": "SELECT l.name\nFROM League AS l\nJOIN \"Match\" AS m ON m.league_id = l.id\nWHERE m.season = '2009/2010'\nGROUP BY l.id, l.name\nHAVING AVG(m.home_team_goal) > AVG(m.away_team_goal)\nORDER BY l.name;", "seconds": 9.748861417057924, "calls": [{"seconds": 3.050254667061381, "usage": {"completion_tokens": 50, "prompt_tokens": 1627, "total_tokens": 1677, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1078, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1078, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1078, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.357445750036277, "usage": {"completion_tokens": 84, "prompt_tokens": 2542, "total_tokens": 2626, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 915, "cached_tokens": 1078, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 915, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 915, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.7632178750354797, "usage": {"completion_tokens": 73, "prompt_tokens": 2778, "total_tokens": 2851, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 236, "cached_tokens": 1993, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 236, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 236, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d66805d65c3fece8c969684edd646aa7004ed3219e4517de27f90ebb3cdf2e68", "csv_sha256": "e9f31c9e4446ed9697d044a8d05852966015b054d803c2e50ab8ef83f457d03f"} +{"instance_id": "bird167", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH height_bounds AS (\n SELECT MIN(height) AS shortest_height, MAX(height) AS tallest_height\n FROM Player\n), extreme_player_averages AS (\n SELECT p.player_api_id, p.player_name, AVG(pa.finishing) AS avg_finishing\n FROM Player AS p\n JOIN Player_Attributes AS pa ON pa.player_api_id = p.player_api_id\n CROSS JOIN height_bounds AS h\n WHERE p.height IN (h.shortest_height, h.tallest_height)\n GROUP BY p.player_api_id, p.player_name\n)\nSELECT player_name\nFROM extreme_player_averages\nWHERE avg_finishing = (SELECT MAX(avg_finishing) FROM extreme_player_averages);\n```", "rows": 1, "sql": "WITH height_bounds AS (\n SELECT MIN(height) AS shortest_height, MAX(height) AS tallest_height\n FROM Player\n), extreme_player_averages AS (\n SELECT p.player_api_id, p.player_name, AVG(pa.finishing) AS avg_finishing\n FROM Player AS p\n JOIN Player_Attributes AS pa ON pa.player_api_id = p.player_api_id\n CROSS JOIN height_bounds AS h\n WHERE p.height IN (h.shortest_height, h.tallest_height)\n GROUP BY p.player_api_id, p.player_name\n)\nSELECT player_name\nFROM extreme_player_averages\nWHERE avg_finishing = (SELECT MAX(avg_finishing) FROM extreme_player_averages);", "seconds": 14.5897477499675, "calls": [{"seconds": 2.3573197920341045, "usage": {"completion_tokens": 52, "prompt_tokens": 1621, "total_tokens": 1673, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1072, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1072, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1072, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.181701541994698, "usage": {"completion_tokens": 309, "prompt_tokens": 2004, "total_tokens": 2313, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 140, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 383, "cached_tokens": 1072, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 383, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 383, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9566644170554355, "usage": {"completion_tokens": 154, "prompt_tokens": 2487, "total_tokens": 2641, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 483, "cached_tokens": 1455, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 483, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 483, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "82652b07ce43b59cc1f323bfef5b484a72f1ae12511ef610388179b4d0bab990", "csv_sha256": "1be0a18dbb37a50f7fcb471a68ed719ecbc40ff0bfcebac2a63f5bc2a3652c8c"} +{"instance_id": "bird168", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n AVG(CASE WHEN p.player_name = 'Abdou Diallo' THEN pa.ball_control END)\n - AVG(CASE WHEN p.player_name = 'Aaron Appindangoye' THEN pa.ball_control END)\n AS mean_ball_control_difference\nFROM Player AS p\nJOIN Player_Attributes AS pa ON pa.player_api_id = p.player_api_id\nWHERE p.player_name IN ('Abdou Diallo', 'Aaron Appindangoye');\n```", "rows": 1, "sql": "SELECT\n AVG(CASE WHEN p.player_name = 'Abdou Diallo' THEN pa.ball_control END)\n - AVG(CASE WHEN p.player_name = 'Aaron Appindangoye' THEN pa.ball_control END)\n AS mean_ball_control_difference\nFROM Player AS p\nJOIN Player_Attributes AS pa ON pa.player_api_id = p.player_api_id\nWHERE p.player_name IN ('Abdou Diallo', 'Aaron Appindangoye');", "seconds": 9.93738579202909, "calls": [{"seconds": 2.219272374990396, "usage": {"completion_tokens": 52, "prompt_tokens": 1622, "total_tokens": 1674, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1073, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1073, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1073, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.096754334052093, "usage": {"completion_tokens": 144, "prompt_tokens": 2005, "total_tokens": 2149, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 30, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 383, "cached_tokens": 1073, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 383, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 383, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.536851542070508, "usage": {"completion_tokens": 101, "prompt_tokens": 2278, "total_tokens": 2379, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 273, "cached_tokens": 1456, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 273, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 273, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "4510e21957540f00700e51bbcda0e5ff39f8b86d764da3cee4f128c097a46524", "csv_sha256": "10b9a764eef45813521b8e0f2c94b14357b7a0da858ad316046c36dec502dbae"} +{"instance_id": "bird169", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH ranked_ratings AS (\n SELECT p.player_name,\n pa.overall_rating,\n ROW_NUMBER() OVER (\n PARTITION BY p.player_name\n ORDER BY pa.date DESC, pa.id DESC\n ) AS rn\n FROM Player AS p\n JOIN Player_Attributes AS pa ON pa.player_api_id = p.player_api_id\n WHERE p.player_name IN ('Ariel Borysiuk', 'Paulin Puel')\n)\nSELECT ROUND(100.0 * (a.overall_rating - b.overall_rating) / b.overall_rating, 2) AS percentage_higher\nFROM ranked_ratings AS a\nCROSS JOIN ranked_ratings AS b\nWHERE a.player_name = 'Ariel Borysiuk' AND a.rn = 1\n AND b.player_name = 'Paulin Puel' AND b.rn = 1;\n```", "rows": 1, "sql": "WITH ranked_ratings AS (\n SELECT p.player_name,\n pa.overall_rating,\n ROW_NUMBER() OVER (\n PARTITION BY p.player_name\n ORDER BY pa.date DESC, pa.id DESC\n ) AS rn\n FROM Player AS p\n JOIN Player_Attributes AS pa ON pa.player_api_id = p.player_api_id\n WHERE p.player_name IN ('Ariel Borysiuk', 'Paulin Puel')\n)\nSELECT ROUND(100.0 * (a.overall_rating - b.overall_rating) / b.overall_rating, 2) AS percentage_higher\nFROM ranked_ratings AS a\nCROSS JOIN ranked_ratings AS b\nWHERE a.player_name = 'Ariel Borysiuk' AND a.rn = 1\n AND b.player_name = 'Paulin Puel' AND b.rn = 1;", "seconds": 12.160573915927671, "calls": [{"seconds": 2.3200107919983566, "usage": {"completion_tokens": 52, "prompt_tokens": 1630, "total_tokens": 1682, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1081, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1081, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1081, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.3937867500353605, "usage": {"completion_tokens": 256, "prompt_tokens": 2013, "total_tokens": 2269, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 48, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 383, "cached_tokens": 1081, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 383, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 383, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.36015370907262, "usage": {"completion_tokens": 190, "prompt_tokens": 2481, "total_tokens": 2671, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 468, "cached_tokens": 1464, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 468, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 468, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ff8637fc16afb5985c884f51d09e7c6b454b1428756a13fd8911012b98ea340c", "csv_sha256": "8f242be9a4545e7820e80d4d17f1b4fdebc4fa8613ef6809e0fd69ee8c64ea3b"} +{"instance_id": "bird170", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH crossing_records AS (\n SELECT pa.date AS recorded_at, pa.crossing\n FROM Player AS p\n JOIN Player_Attributes AS pa ON pa.player_api_id = p.player_api_id\n WHERE p.player_name = 'Kevin Constant'\n)\nSELECT DATE(MIN(recorded_at)) AS first_highest_crossing_date\nFROM crossing_records\nWHERE crossing = (SELECT MAX(crossing) FROM crossing_records);\n```", "rows": 1, "sql": "WITH crossing_records AS (\n SELECT pa.date AS recorded_at, pa.crossing\n FROM Player AS p\n JOIN Player_Attributes AS pa ON pa.player_api_id = p.player_api_id\n WHERE p.player_name = 'Kevin Constant'\n)\nSELECT DATE(MIN(recorded_at)) AS first_highest_crossing_date\nFROM crossing_records\nWHERE crossing = (SELECT MAX(crossing) FROM crossing_records);", "seconds": 11.501650165999308, "calls": [{"seconds": 2.278210207936354, "usage": {"completion_tokens": 52, "prompt_tokens": 1610, "total_tokens": 1662, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1061, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1061, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1061, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.665280790999532, "usage": {"completion_tokens": 187, "prompt_tokens": 1993, "total_tokens": 2180, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 79, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 383, "cached_tokens": 1061, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 383, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 383, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3866989170201123, "usage": {"completion_tokens": 94, "prompt_tokens": 2302, "total_tokens": 2396, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 309, "cached_tokens": 1444, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 309, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 309, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f5fa23f1290c45f86a15fe3e169a4df027b134dd76077ba5d0e7c5b7903198e7", "csv_sha256": "d22e5d6d24390515e56604623cd057ec8d13a32d8fb13f62eb9f9574491361d9"} +{"instance_id": "bird171", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH qualifying_players AS (\n SELECT DISTINCT player_api_id\n FROM Player_Attributes\n WHERE overall_rating > 70\n)\nSELECT ROUND(\n 100.0 * COUNT(q.player_api_id) / NULLIF(COUNT(*), 0),\n 2\n) AS percentage\nFROM Player AS p\nLEFT JOIN qualifying_players AS q ON q.player_api_id = p.player_api_id\nWHERE p.height < 180;\n```", "rows": 1, "sql": "WITH qualifying_players AS (\n SELECT DISTINCT player_api_id\n FROM Player_Attributes\n WHERE overall_rating > 70\n)\nSELECT ROUND(\n 100.0 * COUNT(q.player_api_id) / NULLIF(COUNT(*), 0),\n 2\n) AS percentage\nFROM Player AS p\nLEFT JOIN qualifying_players AS q ON q.player_api_id = p.player_api_id\nWHERE p.height < 180;", "seconds": 42.40031345898751, "calls": [{"seconds": 2.590975790983066, "usage": {"completion_tokens": 52, "prompt_tokens": 1624, "total_tokens": 1676, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1075, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1075, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1075, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.363289083004929, "usage": {"completion_tokens": 108, "prompt_tokens": 2007, "total_tokens": 2115, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 383, "cached_tokens": 1075, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 383, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 383, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.343397415941581, "usage": {"completion_tokens": 110, "prompt_tokens": 2254, "total_tokens": 2364, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 247, "cached_tokens": 1458, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 247, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 247, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0474853749619797, "usage": {"completion_tokens": 97, "prompt_tokens": 2481, "total_tokens": 2578, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 227, "cached_tokens": 1705, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 227, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 227, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0bf57220de0ab7ec52e8ec0a0b960639ef754f0555e4a9804850b8ec4f1c22b4", "csv_sha256": "47d6beaba5c25e3ed50a6db4b8d2637d33a45d2bfe81edf15d56c48b888d515a"} +{"instance_id": "bird172", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(p.height), 2) AS average_height_cm\nFROM Player AS p\nWHERE p.height > 180\n AND p.player_api_id IN (SELECT m.home_player_3 FROM \"Match\" AS m);\n```", "rows": 1, "sql": "SELECT ROUND(AVG(p.height), 2) AS average_height_cm\nFROM Player AS p\nWHERE p.height > 180\n AND p.player_api_id IN (SELECT m.home_player_3 FROM \"Match\" AS m);", "seconds": 42.76749291701708, "calls": [{"seconds": 2.643327667028643, "usage": {"completion_tokens": 50, "prompt_tokens": 1710, "total_tokens": 1760, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1161, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1161, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1161, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.262701250030659, "usage": {"completion_tokens": 89, "prompt_tokens": 2651, "total_tokens": 2740, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 11, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 941, "cached_tokens": 1161, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 941, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 941, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3659170840401202, "usage": {"completion_tokens": 69, "prompt_tokens": 2850, "total_tokens": 2919, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 199, "cached_tokens": 2102, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 199, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 199, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.96885329100769, "usage": {"completion_tokens": 56, "prompt_tokens": 2996, "total_tokens": 3052, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 146, "cached_tokens": 2301, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 146, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 146, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ddedb1335b26772316f8857f046a614c571547460e93f97d8320fd7f6891b307", "csv_sha256": "c4601b1c96ea8ffcc8cbcfc2690bfeef1acd91ef549163f2907f723df4d98a9b"} +{"instance_id": "bird173", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(\n 100.0 * COUNT(DISTINCT CASE\n WHEN LOWER(TRIM(pa.defensive_work_rate)) = 'high' THEN p.player_api_id\n END) / NULLIF(COUNT(DISTINCT p.player_api_id), 0),\n 2\n) AS high_defensive_work_rate_percentage\nFROM Player AS p\nJOIN Player_Attributes AS pa ON pa.player_api_id = p.player_api_id\nWHERE p.birthday >= '1991-01-01'\n AND LOWER(TRIM(pa.defensive_work_rate)) IN ('low', 'medium', 'high');\n```", "rows": 1, "sql": "SELECT ROUND(\n 100.0 * COUNT(DISTINCT CASE\n WHEN LOWER(TRIM(pa.defensive_work_rate)) = 'high' THEN p.player_api_id\n END) / NULLIF(COUNT(DISTINCT p.player_api_id), 0),\n 2\n) AS high_defensive_work_rate_percentage\nFROM Player AS p\nJOIN Player_Attributes AS pa ON pa.player_api_id = p.player_api_id\nWHERE p.birthday >= '1991-01-01'\n AND LOWER(TRIM(pa.defensive_work_rate)) IN ('low', 'medium', 'high');", "seconds": 12.189759374945424, "calls": [{"seconds": 2.6296684589469805, "usage": {"completion_tokens": 52, "prompt_tokens": 1700, "total_tokens": 1752, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1151, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1151, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1151, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.641830165986903, "usage": {"completion_tokens": 194, "prompt_tokens": 2083, "total_tokens": 2277, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 47, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 383, "cached_tokens": 1151, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 383, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 383, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.743959957966581, "usage": {"completion_tokens": 132, "prompt_tokens": 2434, "total_tokens": 2566, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 351, "cached_tokens": 1534, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 351, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 351, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9d645f3721353032b1a42a02b2181eb7d80d986b481f63c0db2c76cd4fb08653", "csv_sha256": "36b82c6f1e3381d814bec1718ccdb33b18c7e2a5f534386f08d082a574d6b113"} +{"instance_id": "bird174", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH ranked_ratings AS (\n SELECT player_api_id, overall_rating,\n ROW_NUMBER() OVER (\n PARTITION BY player_api_id\n ORDER BY date DESC, id DESC\n ) AS rn\n FROM Player_Attributes\n WHERE date < '2011-01-01'\n), match_counts AS (\n SELECT r.player_api_id, COUNT(DISTINCT m.match_api_id) AS matches_played\n FROM ranked_ratings AS r\n LEFT JOIN Match AS m\n ON m.season = '2010/2011'\n AND r.player_api_id IN (\n m.home_player_1, m.home_player_2, m.home_player_3,\n m.home_player_4, m.home_player_5, m.home_player_6,\n m.home_player_7, m.home_player_8, m.home_player_9,\n m.home_player_10, m.home_player_11,\n m.away_player_1, m.away_player_2, m.away_player_3,\n m.away_player_4, m.away_player_5, m.away_player_6,\n m.away_player_7, m.away_player_8, m.away_player_9,\n m.away_player_10, m.away_player_11\n )\n WHERE r.rn = 1 AND r.overall_rating > 80\n GROUP BY r.player_api_id\n)\nSELECT ROUND(AVG(matches_played), 2) AS average_matches\nFROM match_counts;\n```", "rows": 1, "sql": "WITH ranked_ratings AS (\n SELECT player_api_id, overall_rating,\n ROW_NUMBER() OVER (\n PARTITION BY player_api_id\n ORDER BY date DESC, id DESC\n ) AS rn\n FROM Player_Attributes\n WHERE date < '2011-01-01'\n), match_counts AS (\n SELECT r.player_api_id, COUNT(DISTINCT m.match_api_id) AS matches_played\n FROM ranked_ratings AS r\n LEFT JOIN Match AS m\n ON m.season = '2010/2011'\n AND r.player_api_id IN (\n m.home_player_1, m.home_player_2, m.home_player_3,\n m.home_player_4, m.home_player_5, m.home_player_6,\n m.home_player_7, m.home_player_8, m.home_player_9,\n m.home_player_10, m.home_player_11,\n m.away_player_1, m.away_player_2, m.away_player_3,\n m.away_player_4, m.away_player_5, m.away_player_6,\n m.away_player_7, m.away_player_8, m.away_player_9,\n m.away_player_10, m.away_player_11\n )\n WHERE r.rn = 1 AND r.overall_rating > 80\n GROUP BY r.player_api_id\n)\nSELECT ROUND(AVG(matches_played), 2) AS average_matches\nFROM match_counts;", "seconds": 27.618047624942847, "calls": [{"seconds": 2.804087375057861, "usage": {"completion_tokens": 67, "prompt_tokens": 1657, "total_tokens": 1724, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1108, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1108, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1108, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 14.139908040990122, "usage": {"completion_tokens": 700, "prompt_tokens": 2889, "total_tokens": 3589, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 343, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1232, "cached_tokens": 1108, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1232, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1232, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.293946375022642, "usage": {"completion_tokens": 349, "prompt_tokens": 3939, "total_tokens": 4288, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 18, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1050, "cached_tokens": 2340, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1050, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1050, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "81c22239c83b2bd7950b65136be54ec46ca5d305820ffd1e79033f920eb835dc", "csv_sha256": "a786fa8d26c1be127554ff0be232e2feb260641173adf4f635794a0d34902707"} +{"instance_id": "bird175", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH ranked_ratings AS (\n SELECT player_api_id,\n defensive_work_rate,\n ROW_NUMBER() OVER (\n PARTITION BY player_api_id\n ORDER BY date DESC, id DESC\n ) AS rn\n FROM Player_Attributes\n)\nSELECT ROUND(AVG(p.height), 2) AS average_height_cm\nFROM Player AS p\nJOIN ranked_ratings AS r ON r.player_api_id = p.player_api_id\nWHERE r.rn = 1\n AND r.defensive_work_rate IN ('low', 'high');\n```", "rows": 1, "sql": "WITH ranked_ratings AS (\n SELECT player_api_id,\n defensive_work_rate,\n ROW_NUMBER() OVER (\n PARTITION BY player_api_id\n ORDER BY date DESC, id DESC\n ) AS rn\n FROM Player_Attributes\n)\nSELECT ROUND(AVG(p.height), 2) AS average_height_cm\nFROM Player AS p\nJOIN ranked_ratings AS r ON r.player_api_id = p.player_api_id\nWHERE r.rn = 1\n AND r.defensive_work_rate IN ('low', 'high');", "seconds": 10.403921874938533, "calls": [{"seconds": 2.4277903340989724, "usage": {"completion_tokens": 52, "prompt_tokens": 1661, "total_tokens": 1713, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1112, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1112, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1112, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.084852332947776, "usage": {"completion_tokens": 170, "prompt_tokens": 2044, "total_tokens": 2214, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 35, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 383, "cached_tokens": 1112, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 383, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 383, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6290906670037657, "usage": {"completion_tokens": 119, "prompt_tokens": 2355, "total_tokens": 2474, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 311, "cached_tokens": 1495, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 311, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 311, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f3de7e1055f565ab3c9bf272dd7b542c5eb93124d4026823706ef7f54802698b", "csv_sha256": "97c9d5bba9b8b0ac6cf84cdfd4ee4c10835dabfa174f42bd579600cff5cf2cee"} +{"instance_id": "bird176", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH eligible_clubs AS (\n SELECT t.team_api_id, t.team_short_name\n FROM Team AS t\n WHERE EXISTS (\n SELECT 1\n FROM Team_Attributes AS a\n WHERE a.team_api_id = t.team_api_id\n AND a.chanceCreationPassingClass = 'Risky'\n )\n), ranked_attributes AS (\n SELECT team_api_id, chanceCreationPassing,\n ROW_NUMBER() OVER (\n PARTITION BY team_api_id\n ORDER BY date DESC, id DESC\n ) AS rn\n FROM Team_Attributes\n WHERE date < '2014-09-20'\n)\nSELECT c.team_short_name AS short_name,\n COUNT(*) AS club_count,\n ROUND(AVG(a.chanceCreationPassing), 1) AS avg_passing_risk\nFROM eligible_clubs AS c\nLEFT JOIN ranked_attributes AS a\n ON a.team_api_id = c.team_api_id AND a.rn = 1\nGROUP BY c.team_short_name\nHAVING COUNT(*) > 1\nORDER BY avg_passing_risk DESC, short_name ASC;\n```", "rows": 6, "sql": "WITH eligible_clubs AS (\n SELECT t.team_api_id, t.team_short_name\n FROM Team AS t\n WHERE EXISTS (\n SELECT 1\n FROM Team_Attributes AS a\n WHERE a.team_api_id = t.team_api_id\n AND a.chanceCreationPassingClass = 'Risky'\n )\n), ranked_attributes AS (\n SELECT team_api_id, chanceCreationPassing,\n ROW_NUMBER() OVER (\n PARTITION BY team_api_id\n ORDER BY date DESC, id DESC\n ) AS rn\n FROM Team_Attributes\n WHERE date < '2014-09-20'\n)\nSELECT c.team_short_name AS short_name,\n COUNT(*) AS club_count,\n ROUND(AVG(a.chanceCreationPassing), 1) AS avg_passing_risk\nFROM eligible_clubs AS c\nLEFT JOIN ranked_attributes AS a\n ON a.team_api_id = c.team_api_id AND a.rn = 1\nGROUP BY c.team_short_name\nHAVING COUNT(*) > 1\nORDER BY avg_passing_risk DESC, short_name ASC;", "seconds": 14.869190583005548, "calls": [{"seconds": 2.263955625006929, "usage": {"completion_tokens": 52, "prompt_tokens": 1763, "total_tokens": 1815, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1214, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1214, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1214, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.70942712505348, "usage": {"completion_tokens": 368, "prompt_tokens": 2081, "total_tokens": 2449, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 110, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 318, "cached_tokens": 1214, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 318, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 318, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.859842041041702, "usage": {"completion_tokens": 245, "prompt_tokens": 2775, "total_tokens": 3020, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 8, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 694, "cached_tokens": 1532, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 694, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 694, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a828034c8eb9ac2c36dd02c4d9931678e079c98529a102394e4284ff8d188dfb", "csv_sha256": "648954d26363443ca365d8647b224dda6a475158b5f82f6019490fb7a6152c31"} +{"instance_id": "bird177", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH ranked_grades AS (\n SELECT\n player_api_id,\n LOWER(TRIM(defensive_work_rate)) AS defensive_grade,\n ROW_NUMBER() OVER (\n PARTITION BY player_api_id\n ORDER BY date DESC, id DESC\n ) AS rn\n FROM Player_Attributes\n WHERE LOWER(TRIM(defensive_work_rate)) IN ('low', 'medium', 'high')\n)\nSELECT ROUND(AVG(p.height), 2) AS average_height_cm\nFROM Player AS p\nJOIN ranked_grades AS g ON g.player_api_id = p.player_api_id\nWHERE p.birthday >= '1990-01-01'\n AND p.birthday < '1996-01-01'\n AND g.rn = 1\n AND g.defensive_grade = 'medium';\n```", "rows": 1, "sql": "WITH ranked_grades AS (\n SELECT\n player_api_id,\n LOWER(TRIM(defensive_work_rate)) AS defensive_grade,\n ROW_NUMBER() OVER (\n PARTITION BY player_api_id\n ORDER BY date DESC, id DESC\n ) AS rn\n FROM Player_Attributes\n WHERE LOWER(TRIM(defensive_work_rate)) IN ('low', 'medium', 'high')\n)\nSELECT ROUND(AVG(p.height), 2) AS average_height_cm\nFROM Player AS p\nJOIN ranked_grades AS g ON g.player_api_id = p.player_api_id\nWHERE p.birthday >= '1990-01-01'\n AND p.birthday < '1996-01-01'\n AND g.rn = 1\n AND g.defensive_grade = 'medium';", "seconds": 13.059524292009883, "calls": [{"seconds": 2.3700646249344572, "usage": {"completion_tokens": 52, "prompt_tokens": 1691, "total_tokens": 1743, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1142, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1142, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1142, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.325182208092883, "usage": {"completion_tokens": 281, "prompt_tokens": 2074, "total_tokens": 2355, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 88, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 383, "cached_tokens": 1142, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 383, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 383, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.120816875016317, "usage": {"completion_tokens": 173, "prompt_tokens": 2550, "total_tokens": 2723, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 476, "cached_tokens": 1525, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 476, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 476, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f436c4193d01e75fabbf739302a47cd484e233cc77a7c179c1b9f5770a607df8", "csv_sha256": "27618a3424426caff32edaba66681d07762e64b84658dda5ca815a199705ee24"} +{"instance_id": "bird178", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(p.weight), 1) AS average_weight\nFROM Player AS p\nWHERE p.player_api_id IN (\n SELECT pa.player_api_id\n FROM Player_Attributes AS pa\n WHERE pa.preferred_foot = 'left'\n);\n```", "rows": 1, "sql": "SELECT ROUND(AVG(p.weight), 1) AS average_weight\nFROM Player AS p\nWHERE p.player_api_id IN (\n SELECT pa.player_api_id\n FROM Player_Attributes AS pa\n WHERE pa.preferred_foot = 'left'\n);", "seconds": 42.05287400004454, "calls": [{"seconds": 2.6325275000417605, "usage": {"completion_tokens": 52, "prompt_tokens": 1636, "total_tokens": 1688, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1087, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1087, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1087, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3712141659343615, "usage": {"completion_tokens": 110, "prompt_tokens": 2019, "total_tokens": 2129, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 30, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 383, "cached_tokens": 1087, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 383, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 383, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1631088339490816, "usage": {"completion_tokens": 72, "prompt_tokens": 2240, "total_tokens": 2312, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 221, "cached_tokens": 1470, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 221, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 221, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8359850420383736, "usage": {"completion_tokens": 61, "prompt_tokens": 2394, "total_tokens": 2455, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 154, "cached_tokens": 1691, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 154, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 154, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "38d79db66e09bc2aa104784c8c2ba9ab146376c3a5f67f52ef9839939f054c5c", "csv_sha256": "80c07897f2e2c49a0216a5ad125de9697001bfd67c6087a8455e6dc69f19e037"} +{"instance_id": "bird179", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT p.player_name, COUNT(m.id) AS matches_played\nFROM Player AS p\nLEFT JOIN \"Match\" AS m\n ON m.season = '2015/2016'\n AND p.player_api_id IN (\n m.home_player_1, m.home_player_2, m.home_player_3,\n m.home_player_4, m.home_player_5, m.home_player_6,\n m.home_player_7, m.home_player_8, m.home_player_9,\n m.home_player_10, m.home_player_11,\n m.away_player_1, m.away_player_2, m.away_player_3,\n m.away_player_4, m.away_player_5, m.away_player_6,\n m.away_player_7, m.away_player_8, m.away_player_9,\n m.away_player_10, m.away_player_11\n )\nWHERE p.player_name LIKE 'Adam%'\n AND p.weight > 170\nGROUP BY p.id, p.player_name\nORDER BY p.player_name, p.id;\n```", "rows": 24, "sql": "SELECT p.player_name, COUNT(m.id) AS matches_played\nFROM Player AS p\nLEFT JOIN \"Match\" AS m\n ON m.season = '2015/2016'\n AND p.player_api_id IN (\n m.home_player_1, m.home_player_2, m.home_player_3,\n m.home_player_4, m.home_player_5, m.home_player_6,\n m.home_player_7, m.home_player_8, m.home_player_9,\n m.home_player_10, m.home_player_11,\n m.away_player_1, m.away_player_2, m.away_player_3,\n m.away_player_4, m.away_player_5, m.away_player_6,\n m.away_player_7, m.away_player_8, m.away_player_9,\n m.away_player_10, m.away_player_11\n )\nWHERE p.player_name LIKE 'Adam%'\n AND p.weight > 170\nGROUP BY p.id, p.player_name\nORDER BY p.player_name, p.id;", "seconds": 15.426776750013232, "calls": [{"seconds": 2.5727605830179527, "usage": {"completion_tokens": 50, "prompt_tokens": 1713, "total_tokens": 1763, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1164, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1164, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1164, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.322917542071082, "usage": {"completion_tokens": 315, "prompt_tokens": 2654, "total_tokens": 2969, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 50, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 941, "cached_tokens": 1164, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 941, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 941, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.985220083035529, "usage": {"completion_tokens": 241, "prompt_tokens": 3412, "total_tokens": 3653, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 758, "cached_tokens": 2105, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 758, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 758, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5448d630c3d6254620c12da6a47febaf40eace3ecc91d7051799d25201091e5b", "csv_sha256": "6cf8ade1f6e7b61fa1e21f01340ca07c7f26ce318e555330de7cc606709e6b83"} +{"instance_id": "bird180", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT DISTINCT ta.buildUpPlayDribblingClass\nFROM Team_Attributes AS ta\nJOIN Team AS t ON t.team_api_id = ta.team_api_id\nWHERE t.team_short_name = 'POR'\n AND date(ta.date) = '2015-09-10'\n AND EXISTS (\n SELECT 1\n FROM Match AS m\n JOIN Country AS c ON c.id = m.country_id\n WHERE c.name = 'England'\n AND t.team_api_id IN (m.home_team_api_id, m.away_team_api_id)\n );\n```", "rows": 1, "sql": "SELECT DISTINCT ta.buildUpPlayDribblingClass\nFROM Team_Attributes AS ta\nJOIN Team AS t ON t.team_api_id = ta.team_api_id\nWHERE t.team_short_name = 'POR'\n AND date(ta.date) = '2015-09-10'\n AND EXISTS (\n SELECT 1\n FROM Match AS m\n JOIN Country AS c ON c.id = m.country_id\n WHERE c.name = 'England'\n AND t.team_api_id IN (m.home_team_api_id, m.away_team_api_id)\n );", "seconds": 11.097349166986533, "calls": [{"seconds": 3.3847713340073824, "usage": {"completion_tokens": 97, "prompt_tokens": 1639, "total_tokens": 1736, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1090, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1090, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1090, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.733816625084728, "usage": {"completion_tokens": 139, "prompt_tokens": 2888, "total_tokens": 3027, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1249, "cached_tokens": 1090, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1249, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1249, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4174978339578956, "usage": {"completion_tokens": 125, "prompt_tokens": 3176, "total_tokens": 3301, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 288, "cached_tokens": 2339, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 288, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 288, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "4ef4e33cc94d9973041a204d11162db3f9b359108b08b5587cf6698faff65b0d", "csv_sha256": "d029182cb260c87279a064b6159b209ddb21801834545ae6613518c667e05042"} +{"instance_id": "bird181", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n t.team_long_name AS club_name,\n t.team_short_name AS short_name,\n COUNT(*) AS home_wins\nFROM \"Match\" AS m\nJOIN Team AS t ON t.team_api_id = m.home_team_api_id\nWHERE m.home_team_goal - m.away_team_goal >= 3\n AND (\n SELECT ta.buildUpPlaySpeedClass\n FROM Team_Attributes AS ta\n WHERE ta.team_api_id = m.home_team_api_id\n AND ta.date <= m.date\n ORDER BY ta.date DESC, ta.id DESC\n LIMIT 1\n ) = 'Fast'\nGROUP BY t.team_api_id, t.team_long_name, t.team_short_name\nORDER BY home_wins DESC, club_name, short_name, t.team_api_id;\n```", "rows": 65, "sql": "SELECT\n t.team_long_name AS club_name,\n t.team_short_name AS short_name,\n COUNT(*) AS home_wins\nFROM \"Match\" AS m\nJOIN Team AS t ON t.team_api_id = m.home_team_api_id\nWHERE m.home_team_goal - m.away_team_goal >= 3\n AND (\n SELECT ta.buildUpPlaySpeedClass\n FROM Team_Attributes AS ta\n WHERE ta.team_api_id = m.home_team_api_id\n AND ta.date <= m.date\n ORDER BY ta.date DESC, ta.id DESC\n LIMIT 1\n ) = 'Fast'\nGROUP BY t.team_api_id, t.team_long_name, t.team_short_name\nORDER BY home_wins DESC, club_name, short_name, t.team_api_id;", "seconds": 18.955089958035387, "calls": [{"seconds": 2.8385190829867497, "usage": {"completion_tokens": 67, "prompt_tokens": 1771, "total_tokens": 1838, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1222, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1222, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1222, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.655537125072442, "usage": {"completion_tokens": 269, "prompt_tokens": 2938, "total_tokens": 3207, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 76, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1167, "cached_tokens": 1222, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1167, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1167, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.015056999982335, "usage": {"completion_tokens": 211, "prompt_tokens": 3437, "total_tokens": 3648, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 25, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 499, "cached_tokens": 2389, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 499, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 499, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.157821291941218, "usage": {"completion_tokens": 172, "prompt_tokens": 4352, "total_tokens": 4524, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 915, "cached_tokens": 2888, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 915, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 915, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a8bb0707702644e3b5b56a14c39e5f263a21abf3486f2aaa5dfcf1196526bb1a", "csv_sha256": "d834da5b110b66aa45a80b00e9268574611cd68278ae615111c86b15856020e2"} +{"instance_id": "bird182", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH heavy_away_defeats AS (\n SELECT season, away_player_1, away_player_2, away_player_3,\n away_player_4, away_player_5, away_player_6, away_player_7,\n away_player_8, away_player_9, away_player_10, away_player_11\n FROM \"Match\"\n WHERE home_team_goal - away_team_goal >= 5\n), away_lineup (season, player_id) AS (\n SELECT season, away_player_1 FROM heavy_away_defeats\n UNION ALL SELECT season, away_player_2 FROM heavy_away_defeats\n UNION ALL SELECT season, away_player_3 FROM heavy_away_defeats\n UNION ALL SELECT season, away_player_4 FROM heavy_away_defeats\n UNION ALL SELECT season, away_player_5 FROM heavy_away_defeats\n UNION ALL SELECT season, away_player_6 FROM heavy_away_defeats\n UNION ALL SELECT season, away_player_7 FROM heavy_away_defeats\n UNION ALL SELECT season, away_player_8 FROM heavy_away_defeats\n UNION ALL SELECT season, away_player_9 FROM heavy_away_defeats\n UNION ALL SELECT season, away_player_10 FROM heavy_away_defeats\n UNION ALL SELECT season, away_player_11 FROM heavy_away_defeats\n)\nSELECT season, COUNT(DISTINCT player_id) AS player_count\nFROM away_lineup\nGROUP BY season\nORDER BY season;\n```", "rows": 8, "sql": "WITH heavy_away_defeats AS (\n SELECT season, away_player_1, away_player_2, away_player_3,\n away_player_4, away_player_5, away_player_6, away_player_7,\n away_player_8, away_player_9, away_player_10, away_player_11\n FROM \"Match\"\n WHERE home_team_goal - away_team_goal >= 5\n), away_lineup (season, player_id) AS (\n SELECT season, away_player_1 FROM heavy_away_defeats\n UNION ALL SELECT season, away_player_2 FROM heavy_away_defeats\n UNION ALL SELECT season, away_player_3 FROM heavy_away_defeats\n UNION ALL SELECT season, away_player_4 FROM heavy_away_defeats\n UNION ALL SELECT season, away_player_5 FROM heavy_away_defeats\n UNION ALL SELECT season, away_player_6 FROM heavy_away_defeats\n UNION ALL SELECT season, away_player_7 FROM heavy_away_defeats\n UNION ALL SELECT season, away_player_8 FROM heavy_away_defeats\n UNION ALL SELECT season, away_player_9 FROM heavy_away_defeats\n UNION ALL SELECT season, away_player_10 FROM heavy_away_defeats\n UNION ALL SELECT season, away_player_11 FROM heavy_away_defeats\n)\nSELECT season, COUNT(DISTINCT player_id) AS player_count\nFROM away_lineup\nGROUP BY season\nORDER BY season;", "seconds": 16.2685974589549, "calls": [{"seconds": 3.285128541989252, "usage": {"completion_tokens": 19, "prompt_tokens": 1681, "total_tokens": 1700, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1132, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1132, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1132, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.5018519590375945, "usage": {"completion_tokens": 378, "prompt_tokens": 2536, "total_tokens": 2914, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 29, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 855, "cached_tokens": 1132, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 855, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 855, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.773854625062086, "usage": {"completion_tokens": 332, "prompt_tokens": 3339, "total_tokens": 3671, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 803, "cached_tokens": 1987, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 803, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 803, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5238311ec8a172b3e0e3f7edc4626d57377b02c4cf17e7ed196e9108ef08eb55", "csv_sha256": "5851f2a7f1fe5d3cdd6600bc330452a6dfe126b41c2409fc0b4360afbf3cc672"} +{"instance_id": "bird183", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH country_counts AS (\n SELECT c.name AS country_name,\n COUNT(DISTINCT p.player_api_id) AS player_count\n FROM Country AS c\n LEFT JOIN League AS l ON l.country_id = c.id\n LEFT JOIN \"Match\" AS m ON m.league_id = l.id\n LEFT JOIN Player AS p\n ON p.weight >= 210\n AND p.player_api_id IN (\n m.home_player_1, m.home_player_2, m.home_player_3,\n m.home_player_4, m.home_player_5, m.home_player_6,\n m.home_player_7, m.home_player_8, m.home_player_9,\n m.home_player_10, m.home_player_11,\n m.away_player_1, m.away_player_2, m.away_player_3,\n m.away_player_4, m.away_player_5, m.away_player_6,\n m.away_player_7, m.away_player_8, m.away_player_9,\n m.away_player_10, m.away_player_11\n )\n GROUP BY c.id, c.name\n)\nSELECT country_name, player_count\nFROM country_counts\nWHERE player_count = (SELECT MAX(player_count) FROM country_counts)\nORDER BY country_name;\n```", "rows": 1, "sql": "WITH country_counts AS (\n SELECT c.name AS country_name,\n COUNT(DISTINCT p.player_api_id) AS player_count\n FROM Country AS c\n LEFT JOIN League AS l ON l.country_id = c.id\n LEFT JOIN \"Match\" AS m ON m.league_id = l.id\n LEFT JOIN Player AS p\n ON p.weight >= 210\n AND p.player_api_id IN (\n m.home_player_1, m.home_player_2, m.home_player_3,\n m.home_player_4, m.home_player_5, m.home_player_6,\n m.home_player_7, m.home_player_8, m.home_player_9,\n m.home_player_10, m.home_player_11,\n m.away_player_1, m.away_player_2, m.away_player_3,\n m.away_player_4, m.away_player_5, m.away_player_6,\n m.away_player_7, m.away_player_8, m.away_player_9,\n m.away_player_10, m.away_player_11\n )\n GROUP BY c.id, c.name\n)\nSELECT country_name, player_count\nFROM country_counts\nWHERE player_count = (SELECT MAX(player_count) FROM country_counts)\nORDER BY country_name;", "seconds": 27.845314332982525, "calls": [{"seconds": 2.9195116669870913, "usage": {"completion_tokens": 80, "prompt_tokens": 1704, "total_tokens": 1784, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1155, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1155, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1155, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 15.241545708035119, "usage": {"completion_tokens": 748, "prompt_tokens": 2727, "total_tokens": 3475, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 435, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1023, "cached_tokens": 1155, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1023, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1023, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.66989120899234, "usage": {"completion_tokens": 288, "prompt_tokens": 3790, "total_tokens": 4078, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1063, "cached_tokens": 2178, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1063, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1063, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8d74997af63df7a7c757c160ca39dc05c0c8754d1bef74543e4efcda65e38d27", "csv_sha256": "402df0c53d59834153618a1c22d911e66754fa5fee54369ba6583e8bdeec4a53"} +{"instance_id": "bird184", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH italian_matches AS (\n SELECT m.*\n FROM \"Match\" AS m\n JOIN League AS l ON l.id = m.league_id\n JOIN Country AS c ON c.id = l.country_id\n WHERE c.name = 'Italy'\n AND m.season IN ('2008/2009', '2015/2016')\n), season_players AS (\n SELECT season, home_player_1 AS player_api_id FROM italian_matches\n UNION SELECT season, home_player_2 FROM italian_matches\n UNION SELECT season, home_player_3 FROM italian_matches\n UNION SELECT season, home_player_4 FROM italian_matches\n UNION SELECT season, home_player_5 FROM italian_matches\n UNION SELECT season, home_player_6 FROM italian_matches\n UNION SELECT season, home_player_7 FROM italian_matches\n UNION SELECT season, home_player_8 FROM italian_matches\n UNION SELECT season, home_player_9 FROM italian_matches\n UNION SELECT season, home_player_10 FROM italian_matches\n UNION SELECT season, home_player_11 FROM italian_matches\n UNION SELECT season, away_player_1 FROM italian_matches\n UNION SELECT season, away_player_2 FROM italian_matches\n UNION SELECT season, away_player_3 FROM italian_matches\n UNION SELECT season, away_player_4 FROM italian_matches\n UNION SELECT season, away_player_5 FROM italian_matches\n UNION SELECT season, away_player_6 FROM italian_matches\n UNION SELECT season, away_player_7 FROM italian_matches\n UNION SELECT season, away_player_8 FROM italian_matches\n UNION SELECT season, away_player_9 FROM italian_matches\n UNION SELECT season, away_player_10 FROM italian_matches\n UNION SELECT season, away_player_11 FROM italian_matches\n)\nSELECT sp.season,\n COUNT(sp.player_api_id) AS player_count,\n ROUND(AVG(p.height), 2) AS average_height_cm\nFROM season_players AS sp\nLEFT JOIN Player AS p ON p.player_api_id = sp.player_api_id\nGROUP BY sp.season\nORDER BY sp.season;\n```", "rows": 2, "sql": "WITH italian_matches AS (\n SELECT m.*\n FROM \"Match\" AS m\n JOIN League AS l ON l.id = m.league_id\n JOIN Country AS c ON c.id = l.country_id\n WHERE c.name = 'Italy'\n AND m.season IN ('2008/2009', '2015/2016')\n), season_players AS (\n SELECT season, home_player_1 AS player_api_id FROM italian_matches\n UNION SELECT season, home_player_2 FROM italian_matches\n UNION SELECT season, home_player_3 FROM italian_matches\n UNION SELECT season, home_player_4 FROM italian_matches\n UNION SELECT season, home_player_5 FROM italian_matches\n UNION SELECT season, home_player_6 FROM italian_matches\n UNION SELECT season, home_player_7 FROM italian_matches\n UNION SELECT season, home_player_8 FROM italian_matches\n UNION SELECT season, home_player_9 FROM italian_matches\n UNION SELECT season, home_player_10 FROM italian_matches\n UNION SELECT season, home_player_11 FROM italian_matches\n UNION SELECT season, away_player_1 FROM italian_matches\n UNION SELECT season, away_player_2 FROM italian_matches\n UNION SELECT season, away_player_3 FROM italian_matches\n UNION SELECT season, away_player_4 FROM italian_matches\n UNION SELECT season, away_player_5 FROM italian_matches\n UNION SELECT season, away_player_6 FROM italian_matches\n UNION SELECT season, away_player_7 FROM italian_matches\n UNION SELECT season, away_player_8 FROM italian_matches\n UNION SELECT season, away_player_9 FROM italian_matches\n UNION SELECT season, away_player_10 FROM italian_matches\n UNION SELECT season, away_player_11 FROM italian_matches\n)\nSELECT sp.season,\n COUNT(sp.player_api_id) AS player_count,\n ROUND(AVG(p.height), 2) AS average_height_cm\nFROM season_players AS sp\nLEFT JOIN Player AS p ON p.player_api_id = sp.player_api_id\nGROUP BY sp.season\nORDER BY sp.season;", "seconds": 21.82138912496157, "calls": [{"seconds": 2.600126832956448, "usage": {"completion_tokens": 80, "prompt_tokens": 1733, "total_tokens": 1813, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1184, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1184, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1184, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.623015249962918, "usage": {"completion_tokens": 589, "prompt_tokens": 2756, "total_tokens": 3345, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 128, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1023, "cached_tokens": 1184, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1023, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1023, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.683544084080495, "usage": {"completion_tokens": 488, "prompt_tokens": 3840, "total_tokens": 4328, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 46, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1084, "cached_tokens": 2207, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1084, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1084, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "db68a93c611b97707328e03ddad7e9a79adb676cd804f5aaa832780c4e405b04", "csv_sha256": "c79710e72e9a536cba3d99ff7a771c4ed5c09196c8489be591a40609de69524a"} +{"instance_id": "bird185", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH ranked_ratings AS (\n SELECT player_api_id,\n volleys,\n ROW_NUMBER() OVER (\n PARTITION BY player_api_id\n ORDER BY date DESC, id DESC\n ) AS rating_rank\n FROM Player_Attributes\n)\nSELECT COUNT(DISTINCT p.player_api_id) AS player_count\nFROM Player AS p\nJOIN ranked_ratings AS r ON r.player_api_id = p.player_api_id\nWHERE r.rating_rank = 1\n AND p.height > 180\n AND r.volleys > 70;\n```", "rows": 1, "sql": "WITH ranked_ratings AS (\n SELECT player_api_id,\n volleys,\n ROW_NUMBER() OVER (\n PARTITION BY player_api_id\n ORDER BY date DESC, id DESC\n ) AS rating_rank\n FROM Player_Attributes\n)\nSELECT COUNT(DISTINCT p.player_api_id) AS player_count\nFROM Player AS p\nJOIN ranked_ratings AS r ON r.player_api_id = p.player_api_id\nWHERE r.rating_rank = 1\n AND p.height > 180\n AND r.volleys > 70;", "seconds": 9.574271042016335, "calls": [{"seconds": 2.1798482920276, "usage": {"completion_tokens": 52, "prompt_tokens": 1722, "total_tokens": 1774, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1173, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1173, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1173, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8006715410156175, "usage": {"completion_tokens": 136, "prompt_tokens": 2105, "total_tokens": 2241, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 383, "cached_tokens": 1173, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 383, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 383, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3635165409650654, "usage": {"completion_tokens": 122, "prompt_tokens": 2382, "total_tokens": 2504, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 277, "cached_tokens": 1556, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 277, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 277, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "fc44f53bf1da9ffbb66f5296c76cb112f38938a12f37eeee0297da1d9c1b4d17", "csv_sha256": "7f73541b98810a90f55e9d962e7f401a76326086c08751bae85839ce7af1772e"} +{"instance_id": "bird186", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH goals_by_player AS (\n SELECT home_player_3 AS player_api_id,\n SUM(home_team_goal) AS total_home_goals\n FROM \"Match\"\n GROUP BY home_player_3\n)\nSELECT ROUND(AVG(COALESCE(g.total_home_goals, 0)), 2) AS average_total_home_goals\nFROM Player AS p\nLEFT JOIN goals_by_player AS g ON g.player_api_id = p.player_api_id;\n```", "rows": 1, "sql": "WITH goals_by_player AS (\n SELECT home_player_3 AS player_api_id,\n SUM(home_team_goal) AS total_home_goals\n FROM \"Match\"\n GROUP BY home_player_3\n)\nSELECT ROUND(AVG(COALESCE(g.total_home_goals, 0)), 2) AS average_total_home_goals\nFROM Player AS p\nLEFT JOIN goals_by_player AS g ON g.player_api_id = p.player_api_id;", "seconds": 10.607961917063221, "calls": [{"seconds": 2.7391302089672536, "usage": {"completion_tokens": 50, "prompt_tokens": 1714, "total_tokens": 1764, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1165, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1165, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1165, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.152685291017406, "usage": {"completion_tokens": 158, "prompt_tokens": 2655, "total_tokens": 2813, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 42, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 941, "cached_tokens": 1165, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 941, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 941, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.667459125048481, "usage": {"completion_tokens": 101, "prompt_tokens": 2938, "total_tokens": 3039, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 283, "cached_tokens": 2106, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 283, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 283, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "309132ee177d79118a26956561586f9ba177c8d248451cc1ecb2ce7c9b843b02", "csv_sha256": "2f97b043d72c9f6fdc55183ea4ccc8c0361d3c5ccd09c95176f2607a41bca6c9"} +{"instance_id": "bird187", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH match_players(country_id, player_api_id) AS (\n SELECT country_id, home_player_1 FROM \"Match\"\n UNION ALL SELECT country_id, home_player_2 FROM \"Match\"\n UNION ALL SELECT country_id, home_player_3 FROM \"Match\"\n UNION ALL SELECT country_id, home_player_4 FROM \"Match\"\n UNION ALL SELECT country_id, home_player_5 FROM \"Match\"\n UNION ALL SELECT country_id, home_player_6 FROM \"Match\"\n UNION ALL SELECT country_id, home_player_7 FROM \"Match\"\n UNION ALL SELECT country_id, home_player_8 FROM \"Match\"\n UNION ALL SELECT country_id, home_player_9 FROM \"Match\"\n UNION ALL SELECT country_id, home_player_10 FROM \"Match\"\n UNION ALL SELECT country_id, home_player_11 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_1 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_2 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_3 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_4 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_5 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_6 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_7 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_8 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_9 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_10 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_11 FROM \"Match\"\n), country_counts AS (\n SELECT c.name AS country_name, COUNT(DISTINCT p.player_api_id) AS player_count\n FROM Country AS c\n JOIN match_players AS mp ON mp.country_id = c.id\n LEFT JOIN Player AS p ON p.player_api_id = mp.player_api_id AND p.weight <= 160\n GROUP BY c.id, c.name\n)\nSELECT country_name\nFROM country_counts\nWHERE player_count = (SELECT MIN(player_count) FROM country_counts)\nORDER BY country_name;\n```", "rows": 1, "sql": "WITH match_players(country_id, player_api_id) AS (\n SELECT country_id, home_player_1 FROM \"Match\"\n UNION ALL SELECT country_id, home_player_2 FROM \"Match\"\n UNION ALL SELECT country_id, home_player_3 FROM \"Match\"\n UNION ALL SELECT country_id, home_player_4 FROM \"Match\"\n UNION ALL SELECT country_id, home_player_5 FROM \"Match\"\n UNION ALL SELECT country_id, home_player_6 FROM \"Match\"\n UNION ALL SELECT country_id, home_player_7 FROM \"Match\"\n UNION ALL SELECT country_id, home_player_8 FROM \"Match\"\n UNION ALL SELECT country_id, home_player_9 FROM \"Match\"\n UNION ALL SELECT country_id, home_player_10 FROM \"Match\"\n UNION ALL SELECT country_id, home_player_11 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_1 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_2 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_3 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_4 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_5 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_6 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_7 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_8 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_9 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_10 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_11 FROM \"Match\"\n), country_counts AS (\n SELECT c.name AS country_name, COUNT(DISTINCT p.player_api_id) AS player_count\n FROM Country AS c\n JOIN match_players AS mp ON mp.country_id = c.id\n LEFT JOIN Player AS p ON p.player_api_id = mp.player_api_id AND p.weight <= 160\n GROUP BY c.id, c.name\n)\nSELECT country_name\nFROM country_counts\nWHERE player_count = (SELECT MIN(player_count) FROM country_counts)\nORDER BY country_name;", "seconds": 25.737808792036958, "calls": [{"seconds": 3.3501975419931114, "usage": {"completion_tokens": 80, "prompt_tokens": 1710, "total_tokens": 1790, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1161, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1161, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1161, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 13.711752082919702, "usage": {"completion_tokens": 747, "prompt_tokens": 2733, "total_tokens": 3480, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 256, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1023, "cached_tokens": 1161, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1023, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1023, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.513193999999203, "usage": {"completion_tokens": 454, "prompt_tokens": 3954, "total_tokens": 4408, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1221, "cached_tokens": 2184, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1221, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1221, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f98794f58448d9902978e0a1441c95103d47a0f338e8805881954c9fa8a94b29", "csv_sha256": "d3f34d062993bb014d1b17dcef5a3ddaa814111be2cb504040bc81dbb3314247"} +{"instance_id": "bird188", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH ranked_attributes AS (\n SELECT preferred_foot,\n attacking_work_rate,\n ROW_NUMBER() OVER (\n PARTITION BY player_api_id\n ORDER BY date DESC, id DESC\n ) AS rn\n FROM Player_Attributes\n WHERE date < '2015-01-02'\n)\nSELECT COUNT(*) AS player_count\nFROM ranked_attributes\nWHERE rn = 1\n AND preferred_foot = 'left'\n AND attacking_work_rate IN ('low', 'medium');\n```", "rows": 1, "sql": "WITH ranked_attributes AS (\n SELECT preferred_foot,\n attacking_work_rate,\n ROW_NUMBER() OVER (\n PARTITION BY player_api_id\n ORDER BY date DESC, id DESC\n ) AS rn\n FROM Player_Attributes\n WHERE date < '2015-01-02'\n)\nSELECT COUNT(*) AS player_count\nFROM ranked_attributes\nWHERE rn = 1\n AND preferred_foot = 'left'\n AND attacking_work_rate IN ('low', 'medium');", "seconds": 12.169421458966099, "calls": [{"seconds": 2.870743167004548, "usage": {"completion_tokens": 52, "prompt_tokens": 1685, "total_tokens": 1737, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1136, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1136, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1136, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.073830583016388, "usage": {"completion_tokens": 199, "prompt_tokens": 2068, "total_tokens": 2267, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 72, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 383, "cached_tokens": 1136, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 383, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 383, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.016697417013347, "usage": {"completion_tokens": 109, "prompt_tokens": 2396, "total_tokens": 2505, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 328, "cached_tokens": 1519, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 328, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 328, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "c932511be1cee84e53495f3d8723ec7c3a9b2f5f6f0e065901969433c8e8bb42", "csv_sha256": "4fded291da8653969835589f68af0a3dc43c9a838e04fbb95adc45f4424e6740"} +{"instance_id": "bird189", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH latest AS (\n SELECT preferred_foot,\n attacking_work_rate,\n ROW_NUMBER() OVER (\n PARTITION BY player_api_id\n ORDER BY date DESC, id DESC\n ) AS rn\n FROM Player_Attributes\n)\nSELECT ROUND(100.0 * COUNT(CASE WHEN attacking_work_rate = 'low' THEN 1 END)\n / NULLIF(COUNT(*), 0), 1) AS percentage\nFROM latest\nWHERE rn = 1\n AND preferred_foot = 'left'\n AND attacking_work_rate IN ('low', 'medium', 'high');\n```", "rows": 1, "sql": "WITH latest AS (\n SELECT preferred_foot,\n attacking_work_rate,\n ROW_NUMBER() OVER (\n PARTITION BY player_api_id\n ORDER BY date DESC, id DESC\n ) AS rn\n FROM Player_Attributes\n)\nSELECT ROUND(100.0 * COUNT(CASE WHEN attacking_work_rate = 'low' THEN 1 END)\n / NULLIF(COUNT(*), 0), 1) AS percentage\nFROM latest\nWHERE rn = 1\n AND preferred_foot = 'left'\n AND attacking_work_rate IN ('low', 'medium', 'high');", "seconds": 16.8535187500529, "calls": [{"seconds": 2.30873533396516, "usage": {"completion_tokens": 52, "prompt_tokens": 1685, "total_tokens": 1737, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1136, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1136, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1136, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.43977062497288, "usage": {"completion_tokens": 148, "prompt_tokens": 2068, "total_tokens": 2216, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 49, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 383, "cached_tokens": 1136, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 383, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 383, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.9923702500527725, "usage": {"completion_tokens": 220, "prompt_tokens": 2365, "total_tokens": 2585, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 71, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 297, "cached_tokens": 1519, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 297, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 297, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.76271599996835, "usage": {"completion_tokens": 131, "prompt_tokens": 2736, "total_tokens": 2867, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 371, "cached_tokens": 1816, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 371, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 371, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "043895caf881e9d163f32d34425b1fa8f5e0013e7c63185adc64f48b60d7696e", "csv_sha256": "03d14bf2edc503d2e1b4e8a9a0fe5540792f68d1ffcf40cba082aee839942b2c"} +{"instance_id": "bird190", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT p.player_name, COUNT(m.id) AS matches_played\nFROM Player AS p\nLEFT JOIN \"Match\" AS m\n ON m.season = '2015/2016'\n AND p.player_api_id IN (\n m.home_player_1, m.home_player_2, m.home_player_3, m.home_player_4,\n m.home_player_5, m.home_player_6, m.home_player_7, m.home_player_8,\n m.home_player_9, m.home_player_10, m.home_player_11,\n m.away_player_1, m.away_player_2, m.away_player_3, m.away_player_4,\n m.away_player_5, m.away_player_6, m.away_player_7, m.away_player_8,\n m.away_player_9, m.away_player_10, m.away_player_11\n )\nWHERE p.birthday >= '1991-01-01'\n AND p.player_name LIKE 'Aaron%'\nGROUP BY p.id, p.player_name\nORDER BY p.player_name;\n```", "rows": 6, "sql": "SELECT p.player_name, COUNT(m.id) AS matches_played\nFROM Player AS p\nLEFT JOIN \"Match\" AS m\n ON m.season = '2015/2016'\n AND p.player_api_id IN (\n m.home_player_1, m.home_player_2, m.home_player_3, m.home_player_4,\n m.home_player_5, m.home_player_6, m.home_player_7, m.home_player_8,\n m.home_player_9, m.home_player_10, m.home_player_11,\n m.away_player_1, m.away_player_2, m.away_player_3, m.away_player_4,\n m.away_player_5, m.away_player_6, m.away_player_7, m.away_player_8,\n m.away_player_9, m.away_player_10, m.away_player_11\n )\nWHERE p.birthday >= '1991-01-01'\n AND p.player_name LIKE 'Aaron%'\nGROUP BY p.id, p.player_name\nORDER BY p.player_name;", "seconds": 15.611667959019542, "calls": [{"seconds": 2.3036477920832112, "usage": {"completion_tokens": 50, "prompt_tokens": 1704, "total_tokens": 1754, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1155, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1155, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1155, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.165464541991241, "usage": {"completion_tokens": 373, "prompt_tokens": 2645, "total_tokens": 3018, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 108, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 941, "cached_tokens": 1155, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 941, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 941, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.5550785419764, "usage": {"completion_tokens": 242, "prompt_tokens": 3329, "total_tokens": 3571, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 684, "cached_tokens": 2096, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 684, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 684, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0b59708e9e870e3b1c57a0175b9a951f02f99be13837ba6d1446be51598e2e41", "csv_sha256": "6deca7449ed41972d26cee9edccd7115e80331e91556363b4de8d3e5e0636a30"} +{"instance_id": "bird191", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT player_api_id) AS player_count\nFROM Player_Attributes\nWHERE jumping >= 80\n AND DATE(date) BETWEEN '2007-02-22' AND '2007-08-30';\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT player_api_id) AS player_count\nFROM Player_Attributes\nWHERE jumping >= 80\n AND DATE(date) BETWEEN '2007-02-22' AND '2007-08-30';", "seconds": 9.861642749980092, "calls": [{"seconds": 2.4251845000544563, "usage": {"completion_tokens": 21, "prompt_tokens": 1679, "total_tokens": 1700, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1130, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1130, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1130, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.617126500001177, "usage": {"completion_tokens": 149, "prompt_tokens": 1976, "total_tokens": 2125, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 83, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 297, "cached_tokens": 1130, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 297, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 297, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.7649157090345398, "usage": {"completion_tokens": 55, "prompt_tokens": 2199, "total_tokens": 2254, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 223, "cached_tokens": 1427, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 223, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 223, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "88e8d931c24fefa971c8243c33c2cdf750540edde935d4ee3c81dfad3484ab38", "csv_sha256": "560e89ad59e9ebf9910c32a25785a6f800321b1b9d9cd3904973226bef92820e"} +{"instance_id": "bird192", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH last_match AS (\n SELECT t.team_api_id, MAX(m.date) AS match_date\n FROM Team AS t\n JOIN \"Match\" AS m\n ON t.team_api_id IN (m.home_team_api_id, m.away_team_api_id)\n WHERE t.team_long_name = 'KSV Cercle Brugge'\n AND m.season = '2012/2013'\n GROUP BY t.team_api_id\n)\nSELECT a.buildUpPlaySpeedClass\nFROM last_match AS lm\nJOIN Team_Attributes AS a\n ON a.team_api_id = lm.team_api_id\n AND a.date <= lm.match_date\nORDER BY a.date DESC, a.id DESC\nLIMIT 1;\n```", "rows": 1, "sql": "WITH last_match AS (\n SELECT t.team_api_id, MAX(m.date) AS match_date\n FROM Team AS t\n JOIN \"Match\" AS m\n ON t.team_api_id IN (m.home_team_api_id, m.away_team_api_id)\n WHERE t.team_long_name = 'KSV Cercle Brugge'\n AND m.season = '2012/2013'\n GROUP BY t.team_api_id\n)\nSELECT a.buildUpPlaySpeedClass\nFROM last_match AS lm\nJOIN Team_Attributes AS a\n ON a.team_api_id = lm.team_api_id\n AND a.date <= lm.match_date\nORDER BY a.date DESC, a.id DESC\nLIMIT 1;", "seconds": 11.404309499892406, "calls": [{"seconds": 2.9934810829581693, "usage": {"completion_tokens": 67, "prompt_tokens": 1702, "total_tokens": 1769, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1153, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1153, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1153, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9698426249669865, "usage": {"completion_tokens": 169, "prompt_tokens": 2869, "total_tokens": 3038, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1167, "cached_tokens": 1153, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1167, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1167, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.375246834009886, "usage": {"completion_tokens": 155, "prompt_tokens": 3211, "total_tokens": 3366, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 342, "cached_tokens": 2320, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 342, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 342, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "30ae08ba2174a760887c8b44be277a5ec7fc016f3f94379914c3092957d03d37", "csv_sha256": "6ba3cacd5161461d19cd62a911aac74843ee3d840a8546dfbb348230dc26d745"} +{"instance_id": "bird193", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH ranked_ratings AS (\n SELECT player_api_id, overall_rating, defensive_work_rate,\n ROW_NUMBER() OVER (\n PARTITION BY player_api_id\n ORDER BY date DESC, id DESC\n ) AS rn\n FROM Player_Attributes\n WHERE date < '2013-07-13'\n)\nSELECT ROUND(\n 100.0 * (MAX(CASE WHEN p.player_name = 'Landon Donovan' THEN r.overall_rating END)\n - AVG(r.overall_rating)) / AVG(r.overall_rating),\n 2\n ) AS percentage_higher\nFROM ranked_ratings AS r\nJOIN Player AS p ON p.player_api_id = r.player_api_id\nWHERE r.rn = 1\n AND LOWER(TRIM(r.defensive_work_rate)) IN ('low', 'medium', 'high');\n```", "rows": 1, "sql": "WITH ranked_ratings AS (\n SELECT player_api_id, overall_rating, defensive_work_rate,\n ROW_NUMBER() OVER (\n PARTITION BY player_api_id\n ORDER BY date DESC, id DESC\n ) AS rn\n FROM Player_Attributes\n WHERE date < '2013-07-13'\n)\nSELECT ROUND(\n 100.0 * (MAX(CASE WHEN p.player_name = 'Landon Donovan' THEN r.overall_rating END)\n - AVG(r.overall_rating)) / AVG(r.overall_rating),\n 2\n ) AS percentage_higher\nFROM ranked_ratings AS r\nJOIN Player AS p ON p.player_api_id = r.player_api_id\nWHERE r.rn = 1\n AND LOWER(TRIM(r.defensive_work_rate)) IN ('low', 'medium', 'high');", "seconds": 13.864922582986765, "calls": [{"seconds": 2.2390682089608163, "usage": {"completion_tokens": 52, "prompt_tokens": 1742, "total_tokens": 1794, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1193, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1193, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1193, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.987667582929134, "usage": {"completion_tokens": 291, "prompt_tokens": 2125, "total_tokens": 2416, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 90, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 383, "cached_tokens": 1193, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 383, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 383, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.438982082996517, "usage": {"completion_tokens": 181, "prompt_tokens": 2619, "total_tokens": 2800, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 494, "cached_tokens": 1576, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 494, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 494, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ef47fe15eda39b3bc7dd61386228b998545d81458d44fba9e36c4de76db70581", "csv_sha256": "f7c061b73fa3abbbadc8a6598b0c989487ad701b92ae49f8fdf8fcb031c15318"} +{"instance_id": "bird194", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH salary_bounds AS (\n SELECT MIN(A11) AS lowest_salary, MAX(A11) AS highest_salary\n FROM district\n), eligible_clients AS (\n SELECT c.client_id, c.birth_date\n FROM client AS c\n JOIN district AS d ON d.district_id = c.district_id\n CROSS JOIN salary_bounds AS s\n WHERE c.gender = 'F' AND d.A11 = s.lowest_salary\n)\nSELECT DISTINCT p.account_id,\n s.highest_salary - s.lowest_salary AS salary_difference\nFROM eligible_clients AS c\nJOIN disp AS p ON p.client_id = c.client_id\nCROSS JOIN salary_bounds AS s\nWHERE c.birth_date = (SELECT MIN(birth_date) FROM eligible_clients)\nORDER BY p.account_id;\n```", "rows": 1, "sql": "WITH salary_bounds AS (\n SELECT MIN(A11) AS lowest_salary, MAX(A11) AS highest_salary\n FROM district\n), eligible_clients AS (\n SELECT c.client_id, c.birth_date\n FROM client AS c\n JOIN district AS d ON d.district_id = c.district_id\n CROSS JOIN salary_bounds AS s\n WHERE c.gender = 'F' AND d.A11 = s.lowest_salary\n)\nSELECT DISTINCT p.account_id,\n s.highest_salary - s.lowest_salary AS salary_difference\nFROM eligible_clients AS c\nJOIN disp AS p ON p.client_id = c.client_id\nCROSS JOIN salary_bounds AS s\nWHERE c.birth_date = (SELECT MIN(birth_date) FROM eligible_clients)\nORDER BY p.account_id;", "seconds": 21.454695124994032, "calls": [{"seconds": 3.176759500056505, "usage": {"completion_tokens": 94, "prompt_tokens": 1628, "total_tokens": 1722, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1081, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1081, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1081, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8694521250436082, "usage": {"completion_tokens": 19, "prompt_tokens": 2020, "total_tokens": 2039, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 392, "cached_tokens": 1081, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 392, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 392, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.4836693750694394, "usage": {"completion_tokens": 15, "prompt_tokens": 2178, "total_tokens": 2193, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 158, "cached_tokens": 1473, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 158, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 158, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.279634958016686, "usage": {"completion_tokens": 19, "prompt_tokens": 2230, "total_tokens": 2249, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 52, "cached_tokens": 1631, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 52, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 52, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.091239542001858, "usage": {"completion_tokens": 267, "prompt_tokens": 2281, "total_tokens": 2548, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 83, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 51, "cached_tokens": 1683, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 51, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 51, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.520240292069502, "usage": {"completion_tokens": 196, "prompt_tokens": 2745, "total_tokens": 2941, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 26, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 464, "cached_tokens": 1734, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 464, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 464, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "11d1cfbc7b61e2ebd3b880df9369c96ef6add3c0a870f410a1566f72cea6b0e4", "csv_sha256": "45bf04af62538a0ae68a85761e0ee9e96a5453a37e2f7175881fbae1f14d4bf9"} +{"instance_id": "bird195", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT d.A2 AS district\nFROM client AS c\nJOIN disp AS p ON p.client_id = c.client_id\nJOIN account AS a ON a.account_id = p.account_id\nJOIN district AS d ON d.district_id = a.district_id\nWHERE c.gender = 'F'\n AND c.birth_date = '1976-01-29'\n AND p.type = 'OWNER';\n```", "rows": 1, "sql": "SELECT d.A2 AS district\nFROM client AS c\nJOIN disp AS p ON p.client_id = c.client_id\nJOIN account AS a ON a.account_id = p.account_id\nJOIN district AS d ON d.district_id = a.district_id\nWHERE c.gender = 'F'\n AND c.birth_date = '1976-01-29'\n AND p.type = 'OWNER';", "seconds": 10.95089470804669, "calls": [{"seconds": 2.696855999995023, "usage": {"completion_tokens": 80, "prompt_tokens": 1615, "total_tokens": 1695, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1068, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1068, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1068, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.231877624988556, "usage": {"completion_tokens": 134, "prompt_tokens": 1965, "total_tokens": 2099, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 31, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 350, "cached_tokens": 1068, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 350, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 350, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.0043166250688955, "usage": {"completion_tokens": 90, "prompt_tokens": 2209, "total_tokens": 2299, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 244, "cached_tokens": 1418, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 244, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 244, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "3b853edcffd11bc3a7fcb396518c286e2698369cacfbee95d8c694593d695fc9", "csv_sha256": "bb7ed1a36df0f950c7a5d27add08dadd71b407e9122c3dbe312bd3c99dde135e"} +{"instance_id": "bird196", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH largest_district AS (\n SELECT district_id\n FROM district\n WHERE A3 = 'south Bohemia'\n ORDER BY CAST(A4 AS INTEGER) DESC, district_id\n LIMIT 1\n)\nSELECT ROUND(\n 100.0 * COUNT(CASE WHEN c.gender = 'M' THEN 1 END) / NULLIF(COUNT(*), 0),\n 2\n) AS male_percentage\nFROM client AS c\nJOIN largest_district AS d ON c.district_id = d.district_id;\n```", "rows": 1, "sql": "WITH largest_district AS (\n SELECT district_id\n FROM district\n WHERE A3 = 'south Bohemia'\n ORDER BY CAST(A4 AS INTEGER) DESC, district_id\n LIMIT 1\n)\nSELECT ROUND(\n 100.0 * COUNT(CASE WHEN c.gender = 'M' THEN 1 END) / NULLIF(COUNT(*), 0),\n 2\n) AS male_percentage\nFROM client AS c\nJOIN largest_district AS d ON c.district_id = d.district_id;", "seconds": 18.241024249931797, "calls": [{"seconds": 2.9347216669702902, "usage": {"completion_tokens": 64, "prompt_tokens": 1623, "total_tokens": 1687, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1076, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1076, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1076, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.368067667004652, "usage": {"completion_tokens": 194, "prompt_tokens": 1898, "total_tokens": 2092, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 71, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 275, "cached_tokens": 1076, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 275, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 275, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.357469792012125, "usage": {"completion_tokens": 127, "prompt_tokens": 2354, "total_tokens": 2481, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 456, "cached_tokens": 1351, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 456, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 456, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.5593529579928145, "usage": {"completion_tokens": 158, "prompt_tokens": 2617, "total_tokens": 2775, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 37, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 263, "cached_tokens": 1807, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 263, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 263, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "faf8c563cde8ddc2ee61c6229fb61b8846fe8bf4de61474d462164b83f1b93c2", "csv_sha256": "cd4174738b8bbd96cb844a75e68eb54e73bf649b422ab299e1cb043fcab9920d"} +{"instance_id": "bird197", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT 100.0 * (ending.balance - starting.balance) / NULLIF(starting.balance, 0) AS percentage_increase\nFROM trans AS starting\nJOIN trans AS ending ON ending.account_id = starting.account_id\nWHERE starting.date = '1993-03-22'\n AND ending.date = '1998-12-27'\n AND EXISTS (\n SELECT 1\n FROM loan AS l\n WHERE l.account_id = starting.account_id\n AND l.date = '1993-07-05'\n );\n```", "rows": 1, "sql": "SELECT 100.0 * (ending.balance - starting.balance) / NULLIF(starting.balance, 0) AS percentage_increase\nFROM trans AS starting\nJOIN trans AS ending ON ending.account_id = starting.account_id\nWHERE starting.date = '1993-03-22'\n AND ending.date = '1998-12-27'\n AND EXISTS (\n SELECT 1\n FROM loan AS l\n WHERE l.account_id = starting.account_id\n AND l.date = '1993-07-05'\n );", "seconds": 13.856288959039375, "calls": [{"seconds": 2.6658084999071434, "usage": {"completion_tokens": 65, "prompt_tokens": 1637, "total_tokens": 1702, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1090, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1090, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1090, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.356097750016488, "usage": {"completion_tokens": 101, "prompt_tokens": 1889, "total_tokens": 1990, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 252, "cached_tokens": 1090, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 252, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 252, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8619261250132695, "usage": {"completion_tokens": 132, "prompt_tokens": 2146, "total_tokens": 2278, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 257, "cached_tokens": 1342, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 257, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 257, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3471917080460116, "usage": {"completion_tokens": 119, "prompt_tokens": 2423, "total_tokens": 2542, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 277, "cached_tokens": 1599, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 277, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 277, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "081bf556e58ee006aff3c4ff23b323f510d74137ef62ed9485e17769cd62e33a", "csv_sha256": "517172990e4b6b18b739d218649591535b01aaa8d4854b0733940a7fdb1ba739"} +{"instance_id": "bird198", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT a.account_id, a.frequency\nFROM account AS a\nJOIN district AS d ON d.district_id = a.district_id\nWHERE d.A3 = 'east Bohemia'\n AND a.date >= '1995-01-01'\n AND a.date < '2001-01-01';\n```", "rows": 364, "sql": "SELECT a.account_id, a.frequency\nFROM account AS a\nJOIN district AS d ON d.district_id = a.district_id\nWHERE d.A3 = 'east Bohemia'\n AND a.date >= '1995-01-01'\n AND a.date < '2001-01-01';", "seconds": 16.617143125040457, "calls": [{"seconds": 2.563211999949999, "usage": {"completion_tokens": 50, "prompt_tokens": 1625, "total_tokens": 1675, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1078, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1078, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1078, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 1.9930540000787005, "usage": {"completion_tokens": 18, "prompt_tokens": 1857, "total_tokens": 1875, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 232, "cached_tokens": 1078, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 232, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 232, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.089133417000994, "usage": {"completion_tokens": 71, "prompt_tokens": 1905, "total_tokens": 1976, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1310, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.52535487501882, "usage": {"completion_tokens": 88, "prompt_tokens": 2385, "total_tokens": 2473, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 480, "cached_tokens": 1358, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 480, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 480, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.425370375043713, "usage": {"completion_tokens": 172, "prompt_tokens": 2668, "total_tokens": 2840, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 97, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 283, "cached_tokens": 1838, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 283, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 283, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0e7967724b02d2f6a9f7693af1e435002f2c7d9b13d368722d20360bcc753397", "csv_sha256": "d0236ef1be4cdf42a2ab18348bb79a6a0c76fd3440f82b2e5f24bd8e60a29236"} +{"instance_id": "bird199", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT d.A2 AS district,\n ROUND(100.0 * (d.A13 - d.A12) / d.A12, 2) AS unemployment_pct_change\nFROM district AS d\nWHERE d.A12 IS NOT NULL\n AND d.A13 IS NOT NULL\n AND EXISTS (\n SELECT 1\n FROM account AS a\n JOIN loan AS l ON l.account_id = a.account_id\n WHERE a.district_id = d.district_id\n AND l.status = 'D'\n );\n```", "rows": 29, "sql": "SELECT d.A2 AS district,\n ROUND(100.0 * (d.A13 - d.A12) / d.A12, 2) AS unemployment_pct_change\nFROM district AS d\nWHERE d.A12 IS NOT NULL\n AND d.A13 IS NOT NULL\n AND EXISTS (\n SELECT 1\n FROM account AS a\n JOIN loan AS l ON l.account_id = a.account_id\n WHERE a.district_id = d.district_id\n AND l.status = 'D'\n );", "seconds": 11.568166209035553, "calls": [{"seconds": 2.680734417052008, "usage": {"completion_tokens": 65, "prompt_tokens": 1665, "total_tokens": 1730, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1118, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1118, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1118, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.615412584040314, "usage": {"completion_tokens": 176, "prompt_tokens": 1976, "total_tokens": 2152, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 45, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 311, "cached_tokens": 1118, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 311, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 311, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.253684374969453, "usage": {"completion_tokens": 117, "prompt_tokens": 2576, "total_tokens": 2693, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 600, "cached_tokens": 1429, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 600, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 600, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0a9487feca043cac934486c3105595be1790c0820f767e204d3baf3c5577a3c8", "csv_sha256": "5346f17bf538ae350dfc666114b72f5ad14cae0096890ab0d4e8cb84591f8772"} +{"instance_id": "bird200", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT d.type,\n COUNT(DISTINCT a.account_id) AS distinct_account_count\nFROM disp AS d\nJOIN account AS a ON a.account_id = d.account_id\nJOIN district AS r ON r.district_id = a.district_id\nWHERE d.type <> 'OWNER'\n AND r.A11 > 8000\n AND r.A11 <= 9000\nGROUP BY d.type;\n```", "rows": 1, "sql": "SELECT d.type,\n COUNT(DISTINCT a.account_id) AS distinct_account_count\nFROM disp AS d\nJOIN account AS a ON a.account_id = d.account_id\nJOIN district AS r ON r.district_id = a.district_id\nWHERE d.type <> 'OWNER'\n AND r.A11 > 8000\n AND r.A11 <= 9000\nGROUP BY d.type;", "seconds": 14.651105249999091, "calls": [{"seconds": 2.8843951660674065, "usage": {"completion_tokens": 65, "prompt_tokens": 1632, "total_tokens": 1697, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1085, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1085, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1085, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.0260968329384923, "usage": {"completion_tokens": 18, "prompt_tokens": 1923, "total_tokens": 1941, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 291, "cached_tokens": 1085, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 291, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 291, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.400090166949667, "usage": {"completion_tokens": 202, "prompt_tokens": 1971, "total_tokens": 2173, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 98, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1376, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3195110409287736, "usage": {"completion_tokens": 91, "prompt_tokens": 2293, "total_tokens": 2384, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 322, "cached_tokens": 1424, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 322, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 322, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "35c24e4fe9d4eef8d2fb23f1d2a5bee460d631cd99e0124cdfb324f3b7dabe21", "csv_sha256": "eec8a08ff38f55c1f9afe37b8923ffafdc7f353a05aa069ae2108adc14c66552"} +{"instance_id": "bird201", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH yearly_totals AS (\n SELECT\n SUM(CASE WHEN l.date < '1997-01-01' THEN l.amount END) AS total_1996,\n SUM(CASE WHEN l.date >= '1997-01-01' THEN l.amount END) AS total_1997\n FROM loan AS l\n WHERE l.date >= '1996-01-01'\n AND l.date < '1998-01-01'\n AND EXISTS (\n SELECT 1\n FROM disp AS d\n JOIN client AS c ON c.client_id = d.client_id\n WHERE d.account_id = l.account_id\n AND d.type = 'OWNER'\n AND c.gender = 'M'\n )\n)\nSELECT 100.0 * (total_1997 - total_1996) / NULLIF(total_1996, 0) AS percentage_growth\nFROM yearly_totals;\n```", "rows": 1, "sql": "WITH yearly_totals AS (\n SELECT\n SUM(CASE WHEN l.date < '1997-01-01' THEN l.amount END) AS total_1996,\n SUM(CASE WHEN l.date >= '1997-01-01' THEN l.amount END) AS total_1997\n FROM loan AS l\n WHERE l.date >= '1996-01-01'\n AND l.date < '1998-01-01'\n AND EXISTS (\n SELECT 1\n FROM disp AS d\n JOIN client AS c ON c.client_id = d.client_id\n WHERE d.account_id = l.account_id\n AND d.type = 'OWNER'\n AND c.gender = 'M'\n )\n)\nSELECT 100.0 * (total_1997 - total_1996) / NULLIF(total_1996, 0) AS percentage_growth\nFROM yearly_totals;", "seconds": 13.893302374985069, "calls": [{"seconds": 2.7376015830086544, "usage": {"completion_tokens": 80, "prompt_tokens": 1631, "total_tokens": 1711, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1084, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1084, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1084, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.620980874984525, "usage": {"completion_tokens": 284, "prompt_tokens": 1908, "total_tokens": 2192, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 65, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 277, "cached_tokens": 1084, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 277, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 277, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.449260583030991, "usage": {"completion_tokens": 198, "prompt_tokens": 2415, "total_tokens": 2613, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 507, "cached_tokens": 1361, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 507, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 507, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d6478478e12a3cf5c50d92d31ef278e2e849c46c2031ef2d2800c7f146821d46", "csv_sha256": "3adc8b6244dd8f64f77f0bf7f17b6c81cfea1c859cb8cfe368a3c1e8224f3a49"} +{"instance_id": "bird202", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT a.frequency AS statement_frequency,\n o.k_symbol AS payment_purpose_code\nFROM account AS a\nJOIN \"order\" AS o ON o.account_id = a.account_id\nWHERE a.account_id = 3\n AND o.amount = 3539;\n```", "rows": 1, "sql": "SELECT a.frequency AS statement_frequency,\n o.k_symbol AS payment_purpose_code\nFROM account AS a\nJOIN \"order\" AS o ON o.account_id = a.account_id\nWHERE a.account_id = 3\n AND o.amount = 3539;", "seconds": 13.157663540914655, "calls": [{"seconds": 2.5293725000228733, "usage": {"completion_tokens": 50, "prompt_tokens": 1622, "total_tokens": 1672, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1075, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1075, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1075, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.210900332895108, "usage": {"completion_tokens": 239, "prompt_tokens": 1777, "total_tokens": 2016, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 167, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 155, "cached_tokens": 1075, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 155, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 155, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.397309000021778, "usage": {"completion_tokens": 62, "prompt_tokens": 2114, "total_tokens": 2176, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 337, "cached_tokens": 1230, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 337, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 337, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0aea0071140ed300c13aaa09feb842252558a4736ea50e3b9e52a2d31d09cefe", "csv_sha256": "8a96f8bb97e114d5c1283c0751fa20ddc46f6eb24e337708a7e9ee3ea5b0f5ca"} +{"instance_id": "bird203", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH first_month AS (\n SELECT DATE(MIN(date), 'start of month') AS month_start\n FROM account\n), eligible_districts AS (\n SELECT DISTINCT a.district_id\n FROM account AS a\n CROSS JOIN first_month AS f\n WHERE a.date >= f.month_start\n AND a.date < DATE(f.month_start, '+1 month')\n), populations AS (\n SELECT d.A2 AS district_name, CAST(d.A4 AS INTEGER) AS population\n FROM eligible_districts AS e\n JOIN district AS d ON d.district_id = e.district_id\n)\nSELECT district_name, population\nFROM populations\nWHERE population = (SELECT MAX(population) FROM populations)\nORDER BY district_name;\n```", "rows": 1, "sql": "WITH first_month AS (\n SELECT DATE(MIN(date), 'start of month') AS month_start\n FROM account\n), eligible_districts AS (\n SELECT DISTINCT a.district_id\n FROM account AS a\n CROSS JOIN first_month AS f\n WHERE a.date >= f.month_start\n AND a.date < DATE(f.month_start, '+1 month')\n), populations AS (\n SELECT d.A2 AS district_name, CAST(d.A4 AS INTEGER) AS population\n FROM eligible_districts AS e\n JOIN district AS d ON d.district_id = e.district_id\n)\nSELECT district_name, population\nFROM populations\nWHERE population = (SELECT MAX(population) FROM populations)\nORDER BY district_name;", "seconds": 14.882038290961646, "calls": [{"seconds": 2.328457250026986, "usage": {"completion_tokens": 50, "prompt_tokens": 1674, "total_tokens": 1724, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1127, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1127, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1127, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.151984125026502, "usage": {"completion_tokens": 172, "prompt_tokens": 1906, "total_tokens": 2078, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 232, "cached_tokens": 1127, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 232, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 232, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.476625040988438, "usage": {"completion_tokens": 197, "prompt_tokens": 2263, "total_tokens": 2460, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 19, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 357, "cached_tokens": 1359, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 357, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 357, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.901577917044051, "usage": {"completion_tokens": 160, "prompt_tokens": 2651, "total_tokens": 2811, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 388, "cached_tokens": 1716, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 388, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 388, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "22299673aaaf6cfe29a8c4a226154a1e9aa836835a8690d05e762a863bf7f7bf", "csv_sha256": "bbdbab08f284b1ef00e45c7d943801a966fd17cc1211a653e73e8dd93c69f6a1"} +{"instance_id": "bird204", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS transaction_count\nFROM trans AS t\nWHERE (t.k_symbol IS NULL OR TRIM(t.k_symbol) = '')\n AND t.account_id IN (\n SELECT d.account_id\n FROM disp AS d\n JOIN client AS c ON c.client_id = d.client_id\n WHERE d.type = 'OWNER'\n AND c.gender = 'M'\n AND c.birth_date >= '1974-01-01'\n AND c.birth_date < '1977-01-01'\n );\n```", "rows": 1, "sql": "SELECT COUNT(*) AS transaction_count\nFROM trans AS t\nWHERE (t.k_symbol IS NULL OR TRIM(t.k_symbol) = '')\n AND t.account_id IN (\n SELECT d.account_id\n FROM disp AS d\n JOIN client AS c ON c.client_id = d.client_id\n WHERE d.type = 'OWNER'\n AND c.gender = 'M'\n AND c.birth_date >= '1974-01-01'\n AND c.birth_date < '1977-01-01'\n );", "seconds": 51.72341154201422, "calls": [{"seconds": 3.1887287499848753, "usage": {"completion_tokens": 94, "prompt_tokens": 1705, "total_tokens": 1799, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1158, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1158, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1158, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.300547291059047, "usage": {"completion_tokens": 89, "prompt_tokens": 2038, "total_tokens": 2127, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 333, "cached_tokens": 1158, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 333, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 333, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.263210374978371, "usage": {"completion_tokens": 288, "prompt_tokens": 2293, "total_tokens": 2581, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 152, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1491, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5836408329196274, "usage": {"completion_tokens": 131, "prompt_tokens": 2743, "total_tokens": 2874, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 450, "cached_tokens": 1746, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 450, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 450, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.099371124990284, "usage": {"completion_tokens": 134, "prompt_tokens": 3009, "total_tokens": 3143, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 17, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 266, "cached_tokens": 2196, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 266, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 266, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "29513d4e10b766c9c93554a91f57efca46fc3da7f31a90c943c0a32700ff96ed", "csv_sha256": "8cb30e8a7e37ba3bf344cd4664c7a100525fb1248f1513e46c68baff7630a02e"} +{"instance_id": "bird205", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH top_districts AS (\n SELECT district_id, A2 AS district_name\n FROM district\n ORDER BY CAST(A4 AS INTEGER) DESC, district_id\n LIMIT 5\n), active_loans_by_account AS (\n SELECT account_id, SUM(amount) AS active_loan_amount\n FROM loan\n WHERE status IN ('C', 'D')\n GROUP BY account_id\n), district_averages AS (\n SELECT d.district_id, d.district_name,\n AVG(CASE WHEN a.account_id IS NOT NULL\n THEN COALESCE(l.active_loan_amount, 0) END) AS avg_active_loan\n FROM top_districts AS d\n LEFT JOIN account AS a ON a.district_id = d.district_id\n LEFT JOIN active_loans_by_account AS l ON l.account_id = a.account_id\n GROUP BY d.district_id, d.district_name\n)\nSELECT district_name,\n CAST(ROUND(avg_active_loan, 0) AS INTEGER) AS avg_active_loan_per_account\nFROM district_averages\nORDER BY avg_active_loan DESC, district_name, district_id;\n```", "rows": 5, "sql": "WITH top_districts AS (\n SELECT district_id, A2 AS district_name\n FROM district\n ORDER BY CAST(A4 AS INTEGER) DESC, district_id\n LIMIT 5\n), active_loans_by_account AS (\n SELECT account_id, SUM(amount) AS active_loan_amount\n FROM loan\n WHERE status IN ('C', 'D')\n GROUP BY account_id\n), district_averages AS (\n SELECT d.district_id, d.district_name,\n AVG(CASE WHEN a.account_id IS NOT NULL\n THEN COALESCE(l.active_loan_amount, 0) END) AS avg_active_loan\n FROM top_districts AS d\n LEFT JOIN account AS a ON a.district_id = d.district_id\n LEFT JOIN active_loans_by_account AS l ON l.account_id = a.account_id\n GROUP BY d.district_id, d.district_name\n)\nSELECT district_name,\n CAST(ROUND(avg_active_loan, 0) AS INTEGER) AS avg_active_loan_per_account\nFROM district_averages\nORDER BY avg_active_loan DESC, district_name, district_id;", "seconds": 22.0749063330004, "calls": [{"seconds": 2.533059582929127, "usage": {"completion_tokens": 65, "prompt_tokens": 1743, "total_tokens": 1808, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1196, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1196, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1196, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 14.48980329092592, "usage": {"completion_tokens": 547, "prompt_tokens": 2054, "total_tokens": 2601, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 278, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 311, "cached_tokens": 1196, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 311, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 311, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.03486775001511, "usage": {"completion_tokens": 250, "prompt_tokens": 2924, "total_tokens": 3174, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 870, "cached_tokens": 1507, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 870, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 870, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7f6468e398f6499899036cdcdeb882fc858e9550c89cdc8512e3619008dc5466", "csv_sha256": "724a53f86787b452090e868326813e2dee378227f840081fca49c1b8461b646c"} +{"instance_id": "bird206", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH regional_totals AS (\n SELECT d.A3 AS region, SUM(l.amount) AS total_approved_amount\n FROM loan AS l\n JOIN account AS a ON a.account_id = l.account_id\n JOIN district AS d ON d.district_id = a.district_id\n WHERE DATE(l.date) <= '1995-12-31'\n AND DATE(l.date, '+' || l.duration || ' months') >= '1995-12-31'\n GROUP BY d.A3\n)\nSELECT region, total_approved_amount\nFROM regional_totals\nWHERE total_approved_amount = (SELECT MAX(total_approved_amount) FROM regional_totals)\nORDER BY region;\n```", "rows": 1, "sql": "WITH regional_totals AS (\n SELECT d.A3 AS region, SUM(l.amount) AS total_approved_amount\n FROM loan AS l\n JOIN account AS a ON a.account_id = l.account_id\n JOIN district AS d ON d.district_id = a.district_id\n WHERE DATE(l.date) <= '1995-12-31'\n AND DATE(l.date, '+' || l.duration || ' months') >= '1995-12-31'\n GROUP BY d.A3\n)\nSELECT region, total_approved_amount\nFROM regional_totals\nWHERE total_approved_amount = (SELECT MAX(total_approved_amount) FROM regional_totals)\nORDER BY region;", "seconds": 15.576665750006214, "calls": [{"seconds": 2.9324997910298407, "usage": {"completion_tokens": 65, "prompt_tokens": 1784, "total_tokens": 1849, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1237, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1237, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1237, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.7282684170641005, "usage": {"completion_tokens": 64, "prompt_tokens": 2095, "total_tokens": 2159, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 311, "cached_tokens": 1237, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 311, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 311, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.649696915992536, "usage": {"completion_tokens": 250, "prompt_tokens": 2334, "total_tokens": 2584, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 84, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 239, "cached_tokens": 1548, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 239, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 239, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.2486585000297055, "usage": {"completion_tokens": 150, "prompt_tokens": 2765, "total_tokens": 2915, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 431, "cached_tokens": 1787, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 431, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 431, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8c2d7600be12d96b09bc8d4eed20ff8343929a8cca4c3592ea5c101fe992feae", "csv_sha256": "932fa232c9f309d3d9fee92dc46fc894f3dc7893a9992efd67f4d50d1652d0f1"} +{"instance_id": "bird207", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS account_count\nFROM account AS a\nJOIN district AS d ON d.district_id = a.district_id\nWHERE d.A3 = 'north Bohemia'\n AND a.date <= '1995-12-31'\n AND a.account_id IN (\n SELECT t.account_id\n FROM trans AS t\n WHERE t.bank = 'AB'\n );\n```", "rows": 1, "sql": "SELECT COUNT(*) AS account_count\nFROM account AS a\nJOIN district AS d ON d.district_id = a.district_id\nWHERE d.A3 = 'north Bohemia'\n AND a.date <= '1995-12-31'\n AND a.account_id IN (\n SELECT t.account_id\n FROM trans AS t\n WHERE t.bank = 'AB'\n );", "seconds": 47.93544133298565, "calls": [{"seconds": 2.7349423749838024, "usage": {"completion_tokens": 65, "prompt_tokens": 1697, "total_tokens": 1762, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1150, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1150, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1150, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.871579416911118, "usage": {"completion_tokens": 153, "prompt_tokens": 2022, "total_tokens": 2175, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 67, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 325, "cached_tokens": 1150, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 325, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 325, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4234632500447333, "usage": {"completion_tokens": 107, "prompt_tokens": 2294, "total_tokens": 2401, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 272, "cached_tokens": 1475, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 272, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 272, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5533001250587404, "usage": {"completion_tokens": 101, "prompt_tokens": 2539, "total_tokens": 2640, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 245, "cached_tokens": 1747, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 245, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 245, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2700009589316323, "usage": {"completion_tokens": 88, "prompt_tokens": 2747, "total_tokens": 2835, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 208, "cached_tokens": 1992, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 208, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 208, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "652b739e6610b5840430465671fc6ba8ce6f13edb1937b15d127e1abb70dfd8c", "csv_sha256": "5fe44d851cdadf9313d4300dca6fe5f9ea70e36f395645256c83397cd35a8f99"} +{"instance_id": "bird208", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(d.A11), 2) AS average_salary,\n COUNT(*) AS district_count\nFROM district AS d\nWHERE d.A3 = 'east Bohemia'\n AND EXISTS (\n SELECT 1\n FROM account AS a\n JOIN disp AS p ON p.account_id = a.account_id\n JOIN client AS c ON c.client_id = p.client_id\n WHERE a.district_id = d.district_id\n AND c.birth_date >= '1980-01-01'\n AND c.birth_date < '1990-01-01'\n );\n```", "rows": 1, "sql": "SELECT ROUND(AVG(d.A11), 2) AS average_salary,\n COUNT(*) AS district_count\nFROM district AS d\nWHERE d.A3 = 'east Bohemia'\n AND EXISTS (\n SELECT 1\n FROM account AS a\n JOIN disp AS p ON p.account_id = a.account_id\n JOIN client AS c ON c.client_id = p.client_id\n WHERE a.district_id = d.district_id\n AND c.birth_date >= '1980-01-01'\n AND c.birth_date < '1990-01-01'\n );", "seconds": 19.511439249967225, "calls": [{"seconds": 3.096001541009173, "usage": {"completion_tokens": 80, "prompt_tokens": 1729, "total_tokens": 1809, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1182, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1182, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1182, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.991384332999587, "usage": {"completion_tokens": 84, "prompt_tokens": 2079, "total_tokens": 2163, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 350, "cached_tokens": 1182, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 350, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 350, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9986115000210702, "usage": {"completion_tokens": 129, "prompt_tokens": 2866, "total_tokens": 2995, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 57, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 787, "cached_tokens": 1532, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 787, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 787, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.417990083107725, "usage": {"completion_tokens": 222, "prompt_tokens": 3078, "total_tokens": 3300, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 75, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 212, "cached_tokens": 2319, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 212, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 212, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9822474580723792, "usage": {"completion_tokens": 131, "prompt_tokens": 3461, "total_tokens": 3592, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 383, "cached_tokens": 2531, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 383, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 383, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9bfed8a74d34013e1cee86b071951c5de7ee88cea4c1b2d8c7286f46194ea70b", "csv_sha256": "37e55ba363ac1ae88bee2940f1a7a4daacf1b9371c45c2849f72c867d2025d2c"} +{"instance_id": "bird209", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(d.A11), 2) AS average_salary\nFROM district AS d\nWHERE d.A3 = 'central Bohemia'\n AND EXISTS (\n SELECT 1\n FROM client AS c\n JOIN disp AS owner ON owner.client_id = c.client_id\n WHERE c.district_id = d.district_id\n AND owner.type = 'OWNER'\n AND NOT EXISTS (\n SELECT 1\n FROM disp AS account_disp\n JOIN card AS cc ON cc.disp_id = account_disp.disp_id\n WHERE account_disp.account_id = owner.account_id\n )\n );\n```", "rows": 1, "sql": "SELECT ROUND(AVG(d.A11), 2) AS average_salary\nFROM district AS d\nWHERE d.A3 = 'central Bohemia'\n AND EXISTS (\n SELECT 1\n FROM client AS c\n JOIN disp AS owner ON owner.client_id = c.client_id\n WHERE c.district_id = d.district_id\n AND owner.type = 'OWNER'\n AND NOT EXISTS (\n SELECT 1\n FROM disp AS account_disp\n JOIN card AS cc ON cc.disp_id = account_disp.disp_id\n WHERE account_disp.account_id = owner.account_id\n )\n );", "seconds": 17.52397929201834, "calls": [{"seconds": 3.3094819999532774, "usage": {"completion_tokens": 95, "prompt_tokens": 1742, "total_tokens": 1837, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1195, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1195, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1195, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 1.8943929160013795, "usage": {"completion_tokens": 18, "prompt_tokens": 2150, "total_tokens": 2168, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 408, "cached_tokens": 1195, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 408, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 408, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5742340839933604, "usage": {"completion_tokens": 83, "prompt_tokens": 2198, "total_tokens": 2281, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 35, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1603, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.256453458103351, "usage": {"completion_tokens": 152, "prompt_tokens": 2528, "total_tokens": 2680, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 330, "cached_tokens": 1651, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 330, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 330, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.200822124956176, "usage": {"completion_tokens": 137, "prompt_tokens": 2839, "total_tokens": 2976, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 311, "cached_tokens": 1981, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 311, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 311, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2dd0a7c6b400eb8f2cbebb6878de21e9900070c33617da307f1233eab540e8c8", "csv_sha256": "0b7befc447a749561d0dd9a7fd8b2438bc4f57494f9acb40d72d355f21cb62be"} +{"instance_id": "bird210", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH loans_per_account AS (\n SELECT a.account_id, COUNT(l.loan_id) AS loan_count\n FROM account AS a\n LEFT JOIN loan AS l ON l.account_id = a.account_id\n WHERE EXISTS (\n SELECT 1\n FROM disp AS d\n JOIN client AS c ON c.client_id = d.client_id\n WHERE d.account_id = a.account_id\n AND d.type = 'OWNER'\n AND c.birth_date < '1950-01-01'\n )\n GROUP BY a.account_id\n)\nSELECT ROUND(AVG(loan_count), 2) AS average_loans_per_account\nFROM loans_per_account;\n```", "rows": 1, "sql": "WITH loans_per_account AS (\n SELECT a.account_id, COUNT(l.loan_id) AS loan_count\n FROM account AS a\n LEFT JOIN loan AS l ON l.account_id = a.account_id\n WHERE EXISTS (\n SELECT 1\n FROM disp AS d\n JOIN client AS c ON c.client_id = d.client_id\n WHERE d.account_id = a.account_id\n AND d.type = 'OWNER'\n AND c.birth_date < '1950-01-01'\n )\n GROUP BY a.account_id\n)\nSELECT ROUND(AVG(loan_count), 2) AS average_loans_per_account\nFROM loans_per_account;", "seconds": 11.431426457944326, "calls": [{"seconds": 2.9481003750115633, "usage": {"completion_tokens": 80, "prompt_tokens": 1741, "total_tokens": 1821, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1194, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1194, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1194, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.848894959082827, "usage": {"completion_tokens": 160, "prompt_tokens": 2018, "total_tokens": 2178, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 277, "cached_tokens": 1194, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 277, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 277, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.093861332978122, "usage": {"completion_tokens": 144, "prompt_tokens": 2346, "total_tokens": 2490, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 328, "cached_tokens": 1471, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 328, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 328, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "88f0c17e3299750d13d2d92f4c0bb0ee689dc12c47f0962af65790c9d18fe9fb", "csv_sha256": "aefeb2abfa3bea02dbedb8660096e3bff39fa5d9e5eec78f3ac54f9053bffd59"} +{"instance_id": "bird211", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n COUNT(CASE WHEN TRIM(t.k_symbol) = 'SIPO' THEN 1 END) AS household_payments,\n COUNT(CASE WHEN NULLIF(TRIM(t.k_symbol), '') <> 'SIPO' THEN 1 END) AS other_purpose_payments\nFROM trans AS t\nWHERE t.amount > 4000\n AND t.type = 'VYDAJ'\n AND EXISTS (\n SELECT 1\n FROM disp AS d\n JOIN client AS c ON c.client_id = d.client_id\n WHERE d.account_id = t.account_id\n AND c.gender = 'M'\n AND c.birth_date >= '1974-01-01'\n AND c.birth_date < '1977-01-01'\n );\n```", "rows": 1, "sql": "SELECT\n COUNT(CASE WHEN TRIM(t.k_symbol) = 'SIPO' THEN 1 END) AS household_payments,\n COUNT(CASE WHEN NULLIF(TRIM(t.k_symbol), '') <> 'SIPO' THEN 1 END) AS other_purpose_payments\nFROM trans AS t\nWHERE t.amount > 4000\n AND t.type = 'VYDAJ'\n AND EXISTS (\n SELECT 1\n FROM disp AS d\n JOIN client AS c ON c.client_id = d.client_id\n WHERE d.account_id = t.account_id\n AND c.gender = 'M'\n AND c.birth_date >= '1974-01-01'\n AND c.birth_date < '1977-01-01'\n );", "seconds": 54.01773224992212, "calls": [{"seconds": 3.233372583054006, "usage": {"completion_tokens": 80, "prompt_tokens": 1777, "total_tokens": 1857, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1230, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1230, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1230, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.705485790967941, "usage": {"completion_tokens": 300, "prompt_tokens": 2068, "total_tokens": 2368, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 154, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 291, "cached_tokens": 1230, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 291, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 291, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.199103582999669, "usage": {"completion_tokens": 385, "prompt_tokens": 2774, "total_tokens": 3159, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 200, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 706, "cached_tokens": 1521, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 706, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 706, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.506180875003338, "usage": {"completion_tokens": 184, "prompt_tokens": 3360, "total_tokens": 3544, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 14, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 586, "cached_tokens": 2227, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 586, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 586, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "05747d50c9c53537829c7dc9259b05bc9fdfa347c5c941974e5f92b72a16797a", "csv_sha256": "d5abcf7aaa8612f792e65c1a2c92bb9f2b68a97afeb52f96b777799efc280672"} +{"instance_id": "bird212", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH loan_totals AS (\n SELECT account_id, SUM(amount) AS total_amount_borrowed\n FROM loan\n GROUP BY account_id\n),\nprachatice_borrowers AS (\n SELECT a.account_id, a.date AS account_opening_date, l.total_amount_borrowed\n FROM account AS a\n JOIN district AS branch ON branch.district_id = a.district_id\n JOIN loan_totals AS l ON l.account_id = a.account_id\n WHERE branch.A2 = 'Prachatice'\n),\ncounterparty_counts AS (\n SELECT t.account_id, COUNT(DISTINCT t.\"account\") AS outside_counterparty_count\n FROM trans AS t\n JOIN prachatice_borrowers AS b ON b.account_id = t.account_id\n WHERE t.operation IN ('PREVOD NA UCET', 'PREVOD Z UCTU')\n GROUP BY t.account_id\n)\nSELECT\n b.account_id AS account_number,\n b.account_opening_date,\n b.total_amount_borrowed,\n COALESCE(cp.outside_counterparty_count, 0) AS outside_counterparty_count,\n home.A2 AS home_district,\n CAST(home.A4 AS INTEGER) AS home_district_population,\n RANK() OVER (ORDER BY CAST(home.A4 AS INTEGER) DESC) AS population_rank\nFROM prachatice_borrowers AS b\nJOIN disp AS d ON d.account_id = b.account_id AND d.type = 'OWNER'\nJOIN client AS c ON c.client_id = d.client_id\nJOIN district AS home ON home.district_id = c.district_id\nLEFT JOIN counterparty_counts AS cp ON cp.account_id = b.account_id\nORDER BY home_district_population DESC, account_number ASC;\n```", "rows": 14, "sql": "WITH loan_totals AS (\n SELECT account_id, SUM(amount) AS total_amount_borrowed\n FROM loan\n GROUP BY account_id\n),\nprachatice_borrowers AS (\n SELECT a.account_id, a.date AS account_opening_date, l.total_amount_borrowed\n FROM account AS a\n JOIN district AS branch ON branch.district_id = a.district_id\n JOIN loan_totals AS l ON l.account_id = a.account_id\n WHERE branch.A2 = 'Prachatice'\n),\ncounterparty_counts AS (\n SELECT t.account_id, COUNT(DISTINCT t.\"account\") AS outside_counterparty_count\n FROM trans AS t\n JOIN prachatice_borrowers AS b ON b.account_id = t.account_id\n WHERE t.operation IN ('PREVOD NA UCET', 'PREVOD Z UCTU')\n GROUP BY t.account_id\n)\nSELECT\n b.account_id AS account_number,\n b.account_opening_date,\n b.total_amount_borrowed,\n COALESCE(cp.outside_counterparty_count, 0) AS outside_counterparty_count,\n home.A2 AS home_district,\n CAST(home.A4 AS INTEGER) AS home_district_population,\n RANK() OVER (ORDER BY CAST(home.A4 AS INTEGER) DESC) AS population_rank\nFROM prachatice_borrowers AS b\nJOIN disp AS d ON d.account_id = b.account_id AND d.type = 'OWNER'\nJOIN client AS c ON c.client_id = d.client_id\nJOIN district AS home ON home.district_id = c.district_id\nLEFT JOIN counterparty_counts AS cp ON cp.account_id = b.account_id\nORDER BY home_district_population DESC, account_number ASC;", "seconds": 35.738270582980476, "calls": [{"seconds": 3.311305125011131, "usage": {"completion_tokens": 110, "prompt_tokens": 1848, "total_tokens": 1958, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1301, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1301, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1301, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.0471576250856742, "usage": {"completion_tokens": 18, "prompt_tokens": 2370, "total_tokens": 2388, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 522, "cached_tokens": 1301, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 522, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 522, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.736867416999303, "usage": {"completion_tokens": 218, "prompt_tokens": 2418, "total_tokens": 2636, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 90, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1823, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.734051415929571, "usage": {"completion_tokens": 222, "prompt_tokens": 2927, "total_tokens": 3149, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 140, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 509, "cached_tokens": 1871, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 509, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 509, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.228405250003561, "usage": {"completion_tokens": 509, "prompt_tokens": 3445, "total_tokens": 3954, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 108, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 518, "cached_tokens": 2380, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 518, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 518, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.883784292032942, "usage": {"completion_tokens": 389, "prompt_tokens": 4789, "total_tokens": 5178, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 14, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1344, "cached_tokens": 2898, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1344, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1344, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8a6c5476b8fd1c45c795f7b3f4b23c489252ba06603855a5cec628db0a6c55ee", "csv_sha256": "e7c90a33a3df5282dfaccd09a620f3a214459e6d8ed0cbc64d8f7d129cfc0cd3"} +{"instance_id": "bird213", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH genders(gender, sort_order) AS (\n VALUES ('F', 1), ('M', 2)\n), qualifying_accounts AS (\n SELECT account_id\n FROM trans\n GROUP BY account_id\n HAVING AVG(balance) > 1000\n), gold_card_accounts AS (\n SELECT DISTINCT card_disp.account_id\n FROM card AS c\n JOIN disp AS card_disp ON card_disp.disp_id = c.disp_id\n WHERE c.type = 'gold'\n), qualifying_districts AS (\n SELECT DISTINCT\n cl.gender,\n d.district_id,\n d.A2 AS district_name,\n CAST(d.A4 AS INTEGER) AS inhabitants,\n d.A11 AS salary,\n d.A10 AS urban_ratio\n FROM gold_card_accounts AS gc\n JOIN qualifying_accounts AS qa ON qa.account_id = gc.account_id\n JOIN account AS a ON a.account_id = gc.account_id\n JOIN disp AS owner ON owner.account_id = a.account_id AND owner.type = 'OWNER'\n JOIN client AS cl ON cl.client_id = owner.client_id\n JOIN district AS d ON d.district_id = a.district_id\n WHERE CAST(d.A4 AS INTEGER) > 100000\n), ranked_districts AS (\n SELECT\n gender,\n district_id,\n district_name,\n inhabitants,\n RANK() OVER (PARTITION BY gender ORDER BY inhabitants DESC) AS population_rank,\n COUNT(*) OVER (PARTITION BY gender) AS district_count,\n ROUND(AVG(salary) OVER (PARTITION BY gender), 2) AS average_salary,\n ROUND(AVG(urban_ratio) OVER (PARTITION BY gender), 2) AS average_urban_ratio\n FROM qualifying_districts\n)\nSELECT\n g.gender,\n COALESCE(r.district_count, 0) AS district_count,\n r.district_name,\n r.inhabitants,\n r.average_salary,\n r.average_urban_ratio\nFROM genders AS g\nLEFT JOIN ranked_districts AS r ON r.gender = g.gender AND r.population_rank = 1\nORDER BY g.sort_order, r.district_name, r.district_id;\n```", "rows": 2, "sql": "WITH genders(gender, sort_order) AS (\n VALUES ('F', 1), ('M', 2)\n), qualifying_accounts AS (\n SELECT account_id\n FROM trans\n GROUP BY account_id\n HAVING AVG(balance) > 1000\n), gold_card_accounts AS (\n SELECT DISTINCT card_disp.account_id\n FROM card AS c\n JOIN disp AS card_disp ON card_disp.disp_id = c.disp_id\n WHERE c.type = 'gold'\n), qualifying_districts AS (\n SELECT DISTINCT\n cl.gender,\n d.district_id,\n d.A2 AS district_name,\n CAST(d.A4 AS INTEGER) AS inhabitants,\n d.A11 AS salary,\n d.A10 AS urban_ratio\n FROM gold_card_accounts AS gc\n JOIN qualifying_accounts AS qa ON qa.account_id = gc.account_id\n JOIN account AS a ON a.account_id = gc.account_id\n JOIN disp AS owner ON owner.account_id = a.account_id AND owner.type = 'OWNER'\n JOIN client AS cl ON cl.client_id = owner.client_id\n JOIN district AS d ON d.district_id = a.district_id\n WHERE CAST(d.A4 AS INTEGER) > 100000\n), ranked_districts AS (\n SELECT\n gender,\n district_id,\n district_name,\n inhabitants,\n RANK() OVER (PARTITION BY gender ORDER BY inhabitants DESC) AS population_rank,\n COUNT(*) OVER (PARTITION BY gender) AS district_count,\n ROUND(AVG(salary) OVER (PARTITION BY gender), 2) AS average_salary,\n ROUND(AVG(urban_ratio) OVER (PARTITION BY gender), 2) AS average_urban_ratio\n FROM qualifying_districts\n)\nSELECT\n g.gender,\n COALESCE(r.district_count, 0) AS district_count,\n r.district_name,\n r.inhabitants,\n r.average_salary,\n r.average_urban_ratio\nFROM genders AS g\nLEFT JOIN ranked_districts AS r ON r.gender = g.gender AND r.population_rank = 1\nORDER BY g.sort_order, r.district_name, r.district_id;", "seconds": 29.23369029199239, "calls": [{"seconds": 3.34528050001245, "usage": {"completion_tokens": 110, "prompt_tokens": 1817, "total_tokens": 1927, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1270, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1270, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1270, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.922437333036214, "usage": {"completion_tokens": 127, "prompt_tokens": 2318, "total_tokens": 2445, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 33, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 501, "cached_tokens": 1270, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 501, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 501, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 14.097590708057396, "usage": {"completion_tokens": 763, "prompt_tokens": 2768, "total_tokens": 3531, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 262, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 450, "cached_tokens": 1771, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 450, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 450, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.602648957981728, "usage": {"completion_tokens": 464, "prompt_tokens": 4089, "total_tokens": 4553, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1321, "cached_tokens": 2221, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1321, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1321, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "cb9daea79a249ca3e64cd6645a8eb6b87d8cdb295d4965defd09f36d086afac7", "csv_sha256": "f48c5cbc40aafb1812d48961f9b204516629bea2e45e66ae2ad2741141fcd2cf"} +{"instance_id": "bird214", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n t.bank AS recipient_bank_code,\n t.account AS recipient_counter_account,\n COUNT(*) AS outgoing_payment_count,\n SUM(t.amount) AS total_amount_paid\nFROM trans AS t\nJOIN account AS a ON a.account_id = t.account_id\nJOIN district AS d ON d.district_id = a.district_id\nWHERE t.type = 'VYDAJ'\n AND t.date >= '1998-01-01'\n AND t.date < '1999-01-01'\n AND CAST(d.A4 AS INTEGER) >= 250000\n AND t.bank IS NOT NULL\n AND t.account IS NOT NULL\n AND EXISTS (\n SELECT 1\n FROM disp AS dp\n JOIN card AS c ON c.disp_id = dp.disp_id\n WHERE dp.account_id = a.account_id\n AND dp.type = 'OWNER'\n AND c.type = 'gold'\n )\nGROUP BY t.bank, t.account\nORDER BY total_amount_paid DESC, recipient_bank_code, recipient_counter_account;\n```", "rows": 11, "sql": "SELECT\n t.bank AS recipient_bank_code,\n t.account AS recipient_counter_account,\n COUNT(*) AS outgoing_payment_count,\n SUM(t.amount) AS total_amount_paid\nFROM trans AS t\nJOIN account AS a ON a.account_id = t.account_id\nJOIN district AS d ON d.district_id = a.district_id\nWHERE t.type = 'VYDAJ'\n AND t.date >= '1998-01-01'\n AND t.date < '1999-01-01'\n AND CAST(d.A4 AS INTEGER) >= 250000\n AND t.bank IS NOT NULL\n AND t.account IS NOT NULL\n AND EXISTS (\n SELECT 1\n FROM disp AS dp\n JOIN card AS c ON c.disp_id = dp.disp_id\n WHERE dp.account_id = a.account_id\n AND dp.type = 'OWNER'\n AND c.type = 'gold'\n )\nGROUP BY t.bank, t.account\nORDER BY total_amount_paid DESC, recipient_bank_code, recipient_counter_account;", "seconds": 25.477904542000033, "calls": [{"seconds": 3.5323247499763966, "usage": {"completion_tokens": 95, "prompt_tokens": 1804, "total_tokens": 1899, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1257, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1257, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1257, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.254558625048958, "usage": {"completion_tokens": 291, "prompt_tokens": 2246, "total_tokens": 2537, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 149, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 442, "cached_tokens": 1257, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 442, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 442, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.206120416056365, "usage": {"completion_tokens": 274, "prompt_tokens": 2955, "total_tokens": 3229, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 23, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 709, "cached_tokens": 1699, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 709, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 709, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.580834167078137, "usage": {"completion_tokens": 258, "prompt_tokens": 3643, "total_tokens": 3901, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 31, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 688, "cached_tokens": 2408, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 688, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 688, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "cf8a802ea1d6e5dabcdd9e50685abb0c568e10ad53483b120b25b6e2855bf030", "csv_sha256": "c39dac75cfe3db8bc482d1e69f9cd598d58911afe946c10858d33fe98d23de9f"} +{"instance_id": "bird215", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(\n 100.0 * SUM(CASE WHEN t.k_symbol = 'SIPO' THEN t.amount ELSE 0 END)\n / NULLIF(SUM(t.amount), 0),\n 2\n) AS sipo_percentage\nFROM trans AS t\nJOIN account AS a ON a.account_id = t.account_id\nJOIN district AS d ON d.district_id = a.district_id\nWHERE d.A2 = 'Pisek'\n AND t.type = 'VYDAJ'\n AND TRIM(t.k_symbol) <> '';\n```", "rows": 1, "sql": "SELECT ROUND(\n 100.0 * SUM(CASE WHEN t.k_symbol = 'SIPO' THEN t.amount ELSE 0 END)\n / NULLIF(SUM(t.amount), 0),\n 2\n) AS sipo_percentage\nFROM trans AS t\nJOIN account AS a ON a.account_id = t.account_id\nJOIN district AS d ON d.district_id = a.district_id\nWHERE d.A2 = 'Pisek'\n AND t.type = 'VYDAJ'\n AND TRIM(t.k_symbol) <> '';", "seconds": 13.399894000031054, "calls": [{"seconds": 2.425223167054355, "usage": {"completion_tokens": 65, "prompt_tokens": 1712, "total_tokens": 1777, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1165, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1165, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1165, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.733072041068226, "usage": {"completion_tokens": 103, "prompt_tokens": 2037, "total_tokens": 2140, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 325, "cached_tokens": 1165, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 325, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 325, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.722378292004578, "usage": {"completion_tokens": 137, "prompt_tokens": 2341, "total_tokens": 2478, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 304, "cached_tokens": 1490, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 304, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 304, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.279167208005674, "usage": {"completion_tokens": 122, "prompt_tokens": 2622, "total_tokens": 2744, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 281, "cached_tokens": 1794, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 281, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 281, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "552c2d3c5ea7d1fabf2cfd50f6e93fa34ec361b8f4c67c7e21bd53e1dddf5321", "csv_sha256": "e8851011e86dd03d1ea4691c935f19516cdaab6c7b64846d5babae3af5d3b851"} +{"instance_id": "bird216", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH qualifying_districts AS (\n SELECT DISTINCT c.district_id\n FROM client AS c\n JOIN disp AS d ON d.client_id = c.client_id\n WHERE c.gender = 'F'\n AND d.type = 'OWNER'\n AND EXISTS (SELECT 1 FROM card AS ca WHERE ca.disp_id = d.disp_id)\n AND EXISTS (SELECT 1 FROM loan AS l WHERE l.account_id = d.account_id)\n), regional_profiles AS (\n SELECT dt.A3 AS region,\n ROUND(AVG(dt.A11) OVER (PARTITION BY dt.A3), 2) AS average_district_salary,\n ROUND(AVG(dt.A13) OVER (PARTITION BY dt.A3), 2) AS average_district_unemployment_1996,\n dt.A2 AS most_populous_district,\n ROW_NUMBER() OVER (\n PARTITION BY dt.A3\n ORDER BY CAST(dt.A4 AS INTEGER) DESC, dt.A2 ASC\n ) AS population_rank\n FROM qualifying_districts AS qd\n JOIN district AS dt ON dt.district_id = qd.district_id\n)\nSELECT region, average_district_salary, average_district_unemployment_1996, most_populous_district\nFROM regional_profiles\nWHERE population_rank = 1\nORDER BY region;\n```", "rows": 8, "sql": "WITH qualifying_districts AS (\n SELECT DISTINCT c.district_id\n FROM client AS c\n JOIN disp AS d ON d.client_id = c.client_id\n WHERE c.gender = 'F'\n AND d.type = 'OWNER'\n AND EXISTS (SELECT 1 FROM card AS ca WHERE ca.disp_id = d.disp_id)\n AND EXISTS (SELECT 1 FROM loan AS l WHERE l.account_id = d.account_id)\n), regional_profiles AS (\n SELECT dt.A3 AS region,\n ROUND(AVG(dt.A11) OVER (PARTITION BY dt.A3), 2) AS average_district_salary,\n ROUND(AVG(dt.A13) OVER (PARTITION BY dt.A3), 2) AS average_district_unemployment_1996,\n dt.A2 AS most_populous_district,\n ROW_NUMBER() OVER (\n PARTITION BY dt.A3\n ORDER BY CAST(dt.A4 AS INTEGER) DESC, dt.A2 ASC\n ) AS population_rank\n FROM qualifying_districts AS qd\n JOIN district AS dt ON dt.district_id = qd.district_id\n)\nSELECT region, average_district_salary, average_district_unemployment_1996, most_populous_district\nFROM regional_profiles\nWHERE population_rank = 1\nORDER BY region;", "seconds": 18.215218249941245, "calls": [{"seconds": 3.475857791956514, "usage": {"completion_tokens": 110, "prompt_tokens": 1818, "total_tokens": 1928, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1271, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1271, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1271, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.192234584013931, "usage": {"completion_tokens": 456, "prompt_tokens": 2305, "total_tokens": 2761, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 149, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 487, "cached_tokens": 1271, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 487, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 487, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.365387666970491, "usage": {"completion_tokens": 284, "prompt_tokens": 3251, "total_tokens": 3535, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 946, "cached_tokens": 1758, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 946, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 946, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2e5228087f291618bb35e03c04a20a08e54deda1e6411b02d73d83824182f0e0", "csv_sha256": "97b0fd1dc0b04a637451c373781e7e8e92a0926f0bbfb47bb50c26bb9a0067c1"} +{"instance_id": "bird217", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE\naccent_map(lower_chars, upper_chars, plain_chars) AS (\n VALUES ('áčďéěíňóřšťúůýž', 'ÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ', 'acdeeinorstuuyz')\n),\ncentral_names(district_name, inhabitants, crimes_1996, sort_name, n) AS (\n SELECT A2, CAST(A4 AS INTEGER), A16, lower(A2), 0\n FROM district\n WHERE A3 = 'central Bohemia'\n UNION ALL\n SELECT district_name, inhabitants, crimes_1996,\n replace(\n replace(sort_name, substr(lower_chars, n + 1, 1), substr(plain_chars, n + 1, 1)),\n substr(upper_chars, n + 1, 1), substr(plain_chars, n + 1, 1)\n ),\n n + 1\n FROM central_names CROSS JOIN accent_map\n WHERE n < length(plain_chars)\n),\ntop_three AS (\n SELECT district_name, inhabitants, crimes_1996, sort_name\n FROM central_names CROSS JOIN accent_map\n WHERE n = length(plain_chars)\n ORDER BY inhabitants DESC, sort_name ASC\n LIMIT 3\n),\naverages AS (\n SELECT (SELECT AVG(crimes_1996) FROM top_three) AS top_three_avg,\n AVG(A16) AS overall_avg\n FROM district\n)\nSELECT district_name,\n crimes_1996,\n ROUND(top_three_avg, 2) AS top_three_avg_1996,\n ROUND(overall_avg, 2) AS overall_avg_1996,\n ROUND(top_three_avg - overall_avg, 2) AS difference_1996\nFROM top_three CROSS JOIN averages\nORDER BY inhabitants DESC, sort_name ASC;\n```", "rows": 3, "sql": "WITH RECURSIVE\naccent_map(lower_chars, upper_chars, plain_chars) AS (\n VALUES ('áčďéěíňóřšťúůýž', 'ÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ', 'acdeeinorstuuyz')\n),\ncentral_names(district_name, inhabitants, crimes_1996, sort_name, n) AS (\n SELECT A2, CAST(A4 AS INTEGER), A16, lower(A2), 0\n FROM district\n WHERE A3 = 'central Bohemia'\n UNION ALL\n SELECT district_name, inhabitants, crimes_1996,\n replace(\n replace(sort_name, substr(lower_chars, n + 1, 1), substr(plain_chars, n + 1, 1)),\n substr(upper_chars, n + 1, 1), substr(plain_chars, n + 1, 1)\n ),\n n + 1\n FROM central_names CROSS JOIN accent_map\n WHERE n < length(plain_chars)\n),\ntop_three AS (\n SELECT district_name, inhabitants, crimes_1996, sort_name\n FROM central_names CROSS JOIN accent_map\n WHERE n = length(plain_chars)\n ORDER BY inhabitants DESC, sort_name ASC\n LIMIT 3\n),\naverages AS (\n SELECT (SELECT AVG(crimes_1996) FROM top_three) AS top_three_avg,\n AVG(A16) AS overall_avg\n FROM district\n)\nSELECT district_name,\n crimes_1996,\n ROUND(top_three_avg, 2) AS top_three_avg_1996,\n ROUND(overall_avg, 2) AS overall_avg_1996,\n ROUND(top_three_avg - overall_avg, 2) AS difference_1996\nFROM top_three CROSS JOIN averages\nORDER BY inhabitants DESC, sort_name ASC;", "seconds": 40.54775274998974, "calls": [{"seconds": 2.213268249994144, "usage": {"completion_tokens": 19, "prompt_tokens": 1755, "total_tokens": 1774, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1208, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1208, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1208, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.383903000038117, "usage": {"completion_tokens": 234, "prompt_tokens": 1913, "total_tokens": 2147, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 187, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 158, "cached_tokens": 1208, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 158, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 158, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 22.435719666071236, "usage": {"completion_tokens": 1104, "prompt_tokens": 3292, "total_tokens": 4396, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 666, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1379, "cached_tokens": 1366, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1379, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1379, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.498845166992396, "usage": {"completion_tokens": 444, "prompt_tokens": 4922, "total_tokens": 5366, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 38, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1630, "cached_tokens": 2745, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1630, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1630, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "71b79e5c43fbed1276e8a2b0bc6aa9bfbd5e004bee44a261a3fc9daa6fe8b581", "csv_sha256": "c1779a1aa5c2daa04748fc8b8184773e26af30631aa6cea9a1535ab760e63cf9"} +{"instance_id": "bird218", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH card_districts AS (\n SELECT DISTINCT\n c.type AS card_type,\n d.district_id,\n d.A2 AS home_district,\n CAST(d.A4 AS INTEGER) AS inhabitants\n FROM card AS c\n JOIN disp AS p ON p.disp_id = c.disp_id\n JOIN client AS cl ON cl.client_id = p.client_id\n JOIN district AS d ON d.district_id = cl.district_id\n WHERE c.type IN ('gold', 'classic', 'junior')\n), ranked AS (\n SELECT card_type, home_district, inhabitants,\n DENSE_RANK() OVER (PARTITION BY card_type ORDER BY inhabitants) AS population_rank\n FROM card_districts\n)\nSELECT card_type, home_district, inhabitants\nFROM ranked\nWHERE population_rank = 1\nORDER BY card_type, home_district;\n```", "rows": 3, "sql": "WITH card_districts AS (\n SELECT DISTINCT\n c.type AS card_type,\n d.district_id,\n d.A2 AS home_district,\n CAST(d.A4 AS INTEGER) AS inhabitants\n FROM card AS c\n JOIN disp AS p ON p.disp_id = c.disp_id\n JOIN client AS cl ON cl.client_id = p.client_id\n JOIN district AS d ON d.district_id = cl.district_id\n WHERE c.type IN ('gold', 'classic', 'junior')\n), ranked AS (\n SELECT card_type, home_district, inhabitants,\n DENSE_RANK() OVER (PARTITION BY card_type ORDER BY inhabitants) AS population_rank\n FROM card_districts\n)\nSELECT card_type, home_district, inhabitants\nFROM ranked\nWHERE population_rank = 1\nORDER BY card_type, home_district;", "seconds": 15.892076916992664, "calls": [{"seconds": 2.7621387090766802, "usage": {"completion_tokens": 80, "prompt_tokens": 1704, "total_tokens": 1784, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1157, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1157, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1157, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.638477250002325, "usage": {"completion_tokens": 361, "prompt_tokens": 2054, "total_tokens": 2415, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 149, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 350, "cached_tokens": 1157, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 350, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 350, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.469598624971695, "usage": {"completion_tokens": 192, "prompt_tokens": 2665, "total_tokens": 2857, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 611, "cached_tokens": 1507, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 611, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 611, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "949db5a9aaaac2e27efc65303e1f5612fb6a143ea3f815012c989bc1d0c613d9", "csv_sha256": "82a1283ab38d6be70604dac69a218d28dabf17644aa99fc5e7e710709f44ab67"} +{"instance_id": "bird219", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH opened_accounts AS (\n SELECT a.account_id, d.district_id, d.A2 AS district_name\n FROM account AS a\n JOIN district AS d ON d.district_id = a.district_id\n WHERE d.A3 IN (SELECT A3 FROM district WHERE A2 = 'Litomerice')\n AND a.date >= '1996-01-01'\n AND a.date < '1997-01-01'\n), ranked_balances AS (\n SELECT a.district_id, a.district_name, t.balance,\n ROW_NUMBER() OVER (\n PARTITION BY a.account_id\n ORDER BY t.date DESC, t.trans_id DESC\n ) AS rn\n FROM opened_accounts AS a\n LEFT JOIN trans AS t\n ON t.account_id = a.account_id AND t.date < '1997-01-01'\n), year_end_balances AS (\n SELECT district_id, district_name, balance\n FROM ranked_balances\n WHERE rn = 1\n), district_stats AS (\n SELECT district_name, COUNT(*) AS accounts_opened_1996,\n AVG(balance) AS avg_balance\n FROM year_end_balances\n GROUP BY district_id, district_name\n)\nSELECT district_name, accounts_opened_1996,\n ROUND(avg_balance, 2) AS district_avg_end_of_1996_balance,\n (SELECT ROUND(AVG(balance), 2) FROM year_end_balances)\n AS region_avg_end_of_1996_balance,\n (SELECT district_name\n FROM district_stats\n WHERE avg_balance IS NOT NULL\n ORDER BY avg_balance DESC, district_name ASC\n LIMIT 1) AS highest_average_district\nFROM district_stats\nORDER BY district_name ASC;\n```", "rows": 10, "sql": "WITH opened_accounts AS (\n SELECT a.account_id, d.district_id, d.A2 AS district_name\n FROM account AS a\n JOIN district AS d ON d.district_id = a.district_id\n WHERE d.A3 IN (SELECT A3 FROM district WHERE A2 = 'Litomerice')\n AND a.date >= '1996-01-01'\n AND a.date < '1997-01-01'\n), ranked_balances AS (\n SELECT a.district_id, a.district_name, t.balance,\n ROW_NUMBER() OVER (\n PARTITION BY a.account_id\n ORDER BY t.date DESC, t.trans_id DESC\n ) AS rn\n FROM opened_accounts AS a\n LEFT JOIN trans AS t\n ON t.account_id = a.account_id AND t.date < '1997-01-01'\n), year_end_balances AS (\n SELECT district_id, district_name, balance\n FROM ranked_balances\n WHERE rn = 1\n), district_stats AS (\n SELECT district_name, COUNT(*) AS accounts_opened_1996,\n AVG(balance) AS avg_balance\n FROM year_end_balances\n GROUP BY district_id, district_name\n)\nSELECT district_name, accounts_opened_1996,\n ROUND(avg_balance, 2) AS district_avg_end_of_1996_balance,\n (SELECT ROUND(AVG(balance), 2) FROM year_end_balances)\n AS region_avg_end_of_1996_balance,\n (SELECT district_name\n FROM district_stats\n WHERE avg_balance IS NOT NULL\n ORDER BY avg_balance DESC, district_name ASC\n LIMIT 1) AS highest_average_district\nFROM district_stats\nORDER BY district_name ASC;", "seconds": 22.98969912494067, "calls": [{"seconds": 2.457613500067964, "usage": {"completion_tokens": 65, "prompt_tokens": 1858, "total_tokens": 1923, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1311, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1311, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1311, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.20062625000719, "usage": {"completion_tokens": 97, "prompt_tokens": 2183, "total_tokens": 2280, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 325, "cached_tokens": 1311, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 325, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 325, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.340178000042215, "usage": {"completion_tokens": 552, "prompt_tokens": 2472, "total_tokens": 3024, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 154, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 289, "cached_tokens": 1636, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 289, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 289, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.528874082956463, "usage": {"completion_tokens": 370, "prompt_tokens": 3684, "total_tokens": 4054, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1212, "cached_tokens": 1925, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1212, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1212, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "899beaa50e9a313c1f586b3c56d3526314b2df1cf1630aed8c530c0dea6bb8d6", "csv_sha256": "bc0c0a6a2a52d0fed4752f60692f88f2f1f12d2f0a20d54b2ad4e98ade1ab6d5"} +{"instance_id": "bird220", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH top_loans AS (\n SELECT a.district_id\n FROM loan AS l\n JOIN account AS a ON a.account_id = l.account_id\n WHERE l.duration = 24\n AND a.frequency = 'POPLATEK TYDNE'\n ORDER BY l.amount DESC, l.loan_id ASC\n LIMIT 10\n), top_districts AS (\n SELECT DISTINCT district_id\n FROM top_loans\n)\nSELECT d.A2 AS district_name,\n CAST(d.A4 AS INTEGER) AS inhabitants,\n ROUND(AVG(d.A11) OVER (), 2) AS avg_yearly_salary\nFROM top_districts AS td\nJOIN district AS d ON d.district_id = td.district_id\nORDER BY inhabitants DESC, d.district_id ASC\nLIMIT 1;\n```", "rows": 1, "sql": "WITH top_loans AS (\n SELECT a.district_id\n FROM loan AS l\n JOIN account AS a ON a.account_id = l.account_id\n WHERE l.duration = 24\n AND a.frequency = 'POPLATEK TYDNE'\n ORDER BY l.amount DESC, l.loan_id ASC\n LIMIT 10\n), top_districts AS (\n SELECT DISTINCT district_id\n FROM top_loans\n)\nSELECT d.A2 AS district_name,\n CAST(d.A4 AS INTEGER) AS inhabitants,\n ROUND(AVG(d.A11) OVER (), 2) AS avg_yearly_salary\nFROM top_districts AS td\nJOIN district AS d ON d.district_id = td.district_id\nORDER BY inhabitants DESC, d.district_id ASC\nLIMIT 1;", "seconds": 19.32738195802085, "calls": [{"seconds": 2.5137367909774184, "usage": {"completion_tokens": 65, "prompt_tokens": 1787, "total_tokens": 1852, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1240, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1240, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1240, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.2514049171004444, "usage": {"completion_tokens": 18, "prompt_tokens": 2098, "total_tokens": 2116, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 311, "cached_tokens": 1240, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 311, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 311, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.250458583934233, "usage": {"completion_tokens": 563, "prompt_tokens": 2146, "total_tokens": 2709, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 370, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1551, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.288820791989565, "usage": {"completion_tokens": 176, "prompt_tokens": 2922, "total_tokens": 3098, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 776, "cached_tokens": 1599, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 776, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 776, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1f0d45bc5ce415a4a4342d637fd80a4ce8eed7e3883d3988b7a380747e1fc81a", "csv_sha256": "1464383c732d61e052462690b0612f81c395ca2c7e56f081dd30ac0930afd9de"} +{"instance_id": "bird221", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH withdrawals_by_district AS (\n SELECT a.district_id, SUM(t.amount) AS total_withdrawn\n FROM account AS a\n JOIN trans AS t ON t.account_id = a.account_id\n WHERE t.type = 'VYDAJ'\n GROUP BY a.district_id\n),\nstanding_orders_by_account AS (\n SELECT account_id, SUM(amount) AS total_debit\n FROM \"order\"\n GROUP BY account_id\n),\nstanding_order_average_by_district AS (\n SELECT a.district_id,\n AVG(COALESCE(s.total_debit, 0.0)) AS average_debit_per_account\n FROM account AS a\n LEFT JOIN standing_orders_by_account AS s ON s.account_id = a.account_id\n GROUP BY a.district_id\n),\ndistrict_metrics AS (\n SELECT d.A2 AS district_name,\n d.A3 AS region,\n CAST(d.A4 AS INTEGER) AS population,\n w.total_withdrawn,\n 1.0 * w.total_withdrawn / CAST(d.A4 AS INTEGER) AS withdrawals_per_inhabitant,\n s.average_debit_per_account\n FROM district AS d\n JOIN withdrawals_by_district AS w ON w.district_id = d.district_id\n JOIN standing_order_average_by_district AS s ON s.district_id = d.district_id\n WHERE CAST(d.A4 AS INTEGER) >= 100000\n)\nSELECT district_name,\n region,\n population,\n total_withdrawn,\n ROUND(withdrawals_per_inhabitant, 2) AS withdrawals_per_inhabitant,\n RANK() OVER (ORDER BY withdrawals_per_inhabitant DESC) AS withdrawal_rank,\n ROUND(average_debit_per_account, 2) AS avg_standing_order_debit_per_account\nFROM district_metrics\nORDER BY withdrawal_rank, district_name;\n```", "rows": 46, "sql": "WITH withdrawals_by_district AS (\n SELECT a.district_id, SUM(t.amount) AS total_withdrawn\n FROM account AS a\n JOIN trans AS t ON t.account_id = a.account_id\n WHERE t.type = 'VYDAJ'\n GROUP BY a.district_id\n),\nstanding_orders_by_account AS (\n SELECT account_id, SUM(amount) AS total_debit\n FROM \"order\"\n GROUP BY account_id\n),\nstanding_order_average_by_district AS (\n SELECT a.district_id,\n AVG(COALESCE(s.total_debit, 0.0)) AS average_debit_per_account\n FROM account AS a\n LEFT JOIN standing_orders_by_account AS s ON s.account_id = a.account_id\n GROUP BY a.district_id\n),\ndistrict_metrics AS (\n SELECT d.A2 AS district_name,\n d.A3 AS region,\n CAST(d.A4 AS INTEGER) AS population,\n w.total_withdrawn,\n 1.0 * w.total_withdrawn / CAST(d.A4 AS INTEGER) AS withdrawals_per_inhabitant,\n s.average_debit_per_account\n FROM district AS d\n JOIN withdrawals_by_district AS w ON w.district_id = d.district_id\n JOIN standing_order_average_by_district AS s ON s.district_id = d.district_id\n WHERE CAST(d.A4 AS INTEGER) >= 100000\n)\nSELECT district_name,\n region,\n population,\n total_withdrawn,\n ROUND(withdrawals_per_inhabitant, 2) AS withdrawals_per_inhabitant,\n RANK() OVER (ORDER BY withdrawals_per_inhabitant DESC) AS withdrawal_rank,\n ROUND(average_debit_per_account, 2) AS avg_standing_order_debit_per_account\nFROM district_metrics\nORDER BY withdrawal_rank, district_name;", "seconds": 25.99346974992659, "calls": [{"seconds": 2.9012948750751093, "usage": {"completion_tokens": 80, "prompt_tokens": 1805, "total_tokens": 1885, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1258, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1258, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1258, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 16.03858650010079, "usage": {"completion_tokens": 815, "prompt_tokens": 2205, "total_tokens": 3020, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 383, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 400, "cached_tokens": 1258, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 400, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 400, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.658714958000928, "usage": {"completion_tokens": 396, "prompt_tokens": 4947, "total_tokens": 5343, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 2742, "cached_tokens": 1658, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 2742, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 2742, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "957465fbeb63ca1ccf08c026513780a5f3706797fd8d28ecf7d8e8e3755b2494", "csv_sha256": "f34835d9f937a6e2020b3da82ae35406dff7b2c737e5cdaef3630b82d82a8940"} +{"instance_id": "bird222", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH accessible_account_ids AS (\n SELECT DISTINCT account_id\n FROM disp\n WHERE client_id = 3541\n),\ntransaction_totals AS (\n SELECT account_id,\n COUNT(*) AS transaction_count,\n SUM(CASE WHEN type = 'PRIJEM' THEN amount ELSE 0 END) AS total_income,\n SUM(CASE WHEN type = 'VYDAJ' THEN amount ELSE 0 END) AS total_expense\n FROM trans\n WHERE account_id IN (SELECT account_id FROM accessible_account_ids)\n GROUP BY account_id\n),\nregional_client_counts AS (\n SELECT d.A3 AS region, COUNT(*) AS regional_client_count\n FROM client AS c\n JOIN district AS d ON d.district_id = c.district_id\n GROUP BY d.A3\n),\ndistrict_populations AS (\n SELECT district_id, A2 AS district_name, A3 AS region,\n A11 AS average_salary, CAST(A4 AS INTEGER) AS inhabitants\n FROM district\n),\nranked_districts AS (\n SELECT d.*,\n RANK() OVER (PARTITION BY region ORDER BY inhabitants DESC) AS population_rank,\n ROW_NUMBER() OVER (\n PARTITION BY region ORDER BY inhabitants DESC, district_id ASC\n ) AS regional_district_number\n FROM district_populations AS d\n)\nSELECT a.account_id,\n a.date AS opened_date,\n a.frequency,\n d.district_name,\n d.region,\n CASE WHEN a.district_id = c.district_id THEN 'Yes' ELSE 'No' END AS is_home_district,\n d.average_salary,\n COALESCE(l.status, 'none') AS loan_repayment_status,\n COALESCE(l.amount, 0) AS loan_amount,\n COALESCE(t.transaction_count, 0) AS transaction_count,\n COALESCE(t.total_income, 0) AS total_income,\n COALESCE(t.total_expense, 0) AS total_expense,\n COALESCE(t.total_income, 0) - COALESCE(t.total_expense, 0) AS net_balance,\n COALESCE(rc.regional_client_count, 0) AS regional_client_count,\n m.district_name AS most_populous_district,\n m.inhabitants AS most_populous_district_inhabitants,\n d.population_rank AS district_population_rank\nFROM accessible_account_ids AS ids\nJOIN account AS a ON a.account_id = ids.account_id\nJOIN client AS c ON c.client_id = 3541\nJOIN ranked_districts AS d ON d.district_id = a.district_id\nJOIN ranked_districts AS m ON m.region = d.region AND m.regional_district_number = 1\nLEFT JOIN loan AS l ON l.account_id = a.account_id\nLEFT JOIN transaction_totals AS t ON t.account_id = a.account_id\nLEFT JOIN regional_client_counts AS rc ON rc.region = d.region\nORDER BY transaction_count DESC, a.account_id ASC;\n```", "rows": 1, "sql": "WITH accessible_account_ids AS (\n SELECT DISTINCT account_id\n FROM disp\n WHERE client_id = 3541\n),\ntransaction_totals AS (\n SELECT account_id,\n COUNT(*) AS transaction_count,\n SUM(CASE WHEN type = 'PRIJEM' THEN amount ELSE 0 END) AS total_income,\n SUM(CASE WHEN type = 'VYDAJ' THEN amount ELSE 0 END) AS total_expense\n FROM trans\n WHERE account_id IN (SELECT account_id FROM accessible_account_ids)\n GROUP BY account_id\n),\nregional_client_counts AS (\n SELECT d.A3 AS region, COUNT(*) AS regional_client_count\n FROM client AS c\n JOIN district AS d ON d.district_id = c.district_id\n GROUP BY d.A3\n),\ndistrict_populations AS (\n SELECT district_id, A2 AS district_name, A3 AS region,\n A11 AS average_salary, CAST(A4 AS INTEGER) AS inhabitants\n FROM district\n),\nranked_districts AS (\n SELECT d.*,\n RANK() OVER (PARTITION BY region ORDER BY inhabitants DESC) AS population_rank,\n ROW_NUMBER() OVER (\n PARTITION BY region ORDER BY inhabitants DESC, district_id ASC\n ) AS regional_district_number\n FROM district_populations AS d\n)\nSELECT a.account_id,\n a.date AS opened_date,\n a.frequency,\n d.district_name,\n d.region,\n CASE WHEN a.district_id = c.district_id THEN 'Yes' ELSE 'No' END AS is_home_district,\n d.average_salary,\n COALESCE(l.status, 'none') AS loan_repayment_status,\n COALESCE(l.amount, 0) AS loan_amount,\n COALESCE(t.transaction_count, 0) AS transaction_count,\n COALESCE(t.total_income, 0) AS total_income,\n COALESCE(t.total_expense, 0) AS total_expense,\n COALESCE(t.total_income, 0) - COALESCE(t.total_expense, 0) AS net_balance,\n COALESCE(rc.regional_client_count, 0) AS regional_client_count,\n m.district_name AS most_populous_district,\n m.inhabitants AS most_populous_district_inhabitants,\n d.population_rank AS district_population_rank\nFROM accessible_account_ids AS ids\nJOIN account AS a ON a.account_id = ids.account_id\nJOIN client AS c ON c.client_id = 3541\nJOIN ranked_districts AS d ON d.district_id = a.district_id\nJOIN ranked_districts AS m ON m.region = d.region AND m.regional_district_number = 1\nLEFT JOIN loan AS l ON l.account_id = a.account_id\nLEFT JOIN transaction_totals AS t ON t.account_id = a.account_id\nLEFT JOIN regional_client_counts AS rc ON rc.region = d.region\nORDER BY transaction_count DESC, a.account_id ASC;", "seconds": 80.95647070801351, "calls": [{"seconds": 3.2890043751103804, "usage": {"completion_tokens": 110, "prompt_tokens": 1839, "total_tokens": 1949, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1292, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1292, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1292, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.893063833937049, "usage": {"completion_tokens": 333, "prompt_tokens": 2361, "total_tokens": 2694, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 209, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 522, "cached_tokens": 1292, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 522, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 522, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.228469292051159, "usage": {"completion_tokens": 164, "prompt_tokens": 2952, "total_tokens": 3116, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 144, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 591, "cached_tokens": 1814, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 591, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 591, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.860862500034273, "usage": {"completion_tokens": 786, "prompt_tokens": 3146, "total_tokens": 3932, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 58, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 194, "cached_tokens": 2405, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 194, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 194, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.796852834057063, "usage": {"completion_tokens": 738, "prompt_tokens": 4652, "total_tokens": 5390, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 59, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1506, "cached_tokens": 2599, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1506, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1506, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.514408542076126, "usage": {"completion_tokens": 630, "prompt_tokens": 6201, "total_tokens": 6831, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1549, "cached_tokens": 4105, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1549, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1549, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a07dce45ea6729180e84e27b257d1b6f405866bd5ce566c440573bb6a740c2ee", "csv_sha256": "63cd798731fd188549b0b024609d540c08a07e1ac42528993f06aaf7eec27023"} +{"instance_id": "bird223", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH loans_by_account AS (\n SELECT account_id, SUM(amount) AS amount_lent\n FROM loan\n GROUP BY account_id\n), district_year AS (\n SELECT\n STRFTIME('%Y', a.date) AS opening_year,\n a.district_id,\n COUNT(*) AS accounts_opened,\n SUM(COALESCE(l.amount_lent, 0)) AS amount_lent\n FROM account AS a\n JOIN district AS d ON d.district_id = a.district_id\n LEFT JOIN loans_by_account AS l ON l.account_id = a.account_id\n WHERE d.A3 = 'central Bohemia'\n AND a.date >= '1996-01-01'\n GROUP BY STRFTIME('%Y', a.date), a.district_id\n)\nSELECT\n opening_year,\n SUM(accounts_opened) AS accounts_opened,\n SUM(amount_lent) AS total_amount_lent,\n ROUND(AVG(CAST(amount_lent AS REAL) / accounts_opened), 2)\n AS avg_district_amount_lent_per_account\nFROM district_year\nGROUP BY opening_year\nORDER BY opening_year;\n```", "rows": 2, "sql": "WITH loans_by_account AS (\n SELECT account_id, SUM(amount) AS amount_lent\n FROM loan\n GROUP BY account_id\n), district_year AS (\n SELECT\n STRFTIME('%Y', a.date) AS opening_year,\n a.district_id,\n COUNT(*) AS accounts_opened,\n SUM(COALESCE(l.amount_lent, 0)) AS amount_lent\n FROM account AS a\n JOIN district AS d ON d.district_id = a.district_id\n LEFT JOIN loans_by_account AS l ON l.account_id = a.account_id\n WHERE d.A3 = 'central Bohemia'\n AND a.date >= '1996-01-01'\n GROUP BY STRFTIME('%Y', a.date), a.district_id\n)\nSELECT\n opening_year,\n SUM(accounts_opened) AS accounts_opened,\n SUM(amount_lent) AS total_amount_lent,\n ROUND(AVG(CAST(amount_lent AS REAL) / accounts_opened), 2)\n AS avg_district_amount_lent_per_account\nFROM district_year\nGROUP BY opening_year\nORDER BY opening_year;", "seconds": 20.21198949997779, "calls": [{"seconds": 2.7085616249823943, "usage": {"completion_tokens": 65, "prompt_tokens": 1744, "total_tokens": 1809, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1197, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1197, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1197, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.693545624963008, "usage": {"completion_tokens": 136, "prompt_tokens": 2055, "total_tokens": 2191, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 53, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 311, "cached_tokens": 1197, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 311, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 311, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.583582084043883, "usage": {"completion_tokens": 354, "prompt_tokens": 2477, "total_tokens": 2831, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 83, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 422, "cached_tokens": 1508, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 422, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 422, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.201142832986079, "usage": {"completion_tokens": 248, "prompt_tokens": 3154, "total_tokens": 3402, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 677, "cached_tokens": 1930, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 677, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 677, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e42c0adc91cef38a07af4df80962f793bc59e74dc6cfcecefb1a499791e844ab", "csv_sha256": "416baf4351a5a30e3fb077064f2b6daffcbd384f6e51224ec7a65ab736698caa"} +{"instance_id": "bird224", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n d.A2 AS district,\n l.amount AS approved_amount,\n l.date AS approval_date,\n (\n SELECT t.balance\n FROM trans AS t\n WHERE t.account_id = l.account_id\n AND t.date <= l.date\n ORDER BY t.date DESC, t.trans_id DESC\n LIMIT 1\n ) AS end_of_day_balance\nFROM loan AS l\nJOIN account AS a ON a.account_id = l.account_id\nJOIN district AS d ON d.district_id = a.district_id\nWHERE l.duration = 24\n AND a.frequency = 'POPLATEK TYDNE'\nORDER BY l.amount DESC, l.date ASC, l.loan_id ASC\nLIMIT 10;\n```", "rows": 10, "sql": "SELECT\n d.A2 AS district,\n l.amount AS approved_amount,\n l.date AS approval_date,\n (\n SELECT t.balance\n FROM trans AS t\n WHERE t.account_id = l.account_id\n AND t.date <= l.date\n ORDER BY t.date DESC, t.trans_id DESC\n LIMIT 1\n ) AS end_of_day_balance\nFROM loan AS l\nJOIN account AS a ON a.account_id = l.account_id\nJOIN district AS d ON d.district_id = a.district_id\nWHERE l.duration = 24\n AND a.frequency = 'POPLATEK TYDNE'\nORDER BY l.amount DESC, l.date ASC, l.loan_id ASC\nLIMIT 10;", "seconds": 13.257890083012171, "calls": [{"seconds": 3.1178044580155984, "usage": {"completion_tokens": 80, "prompt_tokens": 1760, "total_tokens": 1840, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1213, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1213, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1213, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.080356999998912, "usage": {"completion_tokens": 241, "prompt_tokens": 2164, "total_tokens": 2405, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 65, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 404, "cached_tokens": 1213, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 404, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 404, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.034873416996561, "usage": {"completion_tokens": 160, "prompt_tokens": 2791, "total_tokens": 2951, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 627, "cached_tokens": 1617, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 627, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 627, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b353f558e54329b22d0216af9a259c379e2b8e2fa9764f6e5e267a5636a3ea06", "csv_sha256": "c6ba7d606981f19f048bb83ea3fdb12d0868c585195cc7ee7f40d7838c52f482"} +{"instance_id": "bird225", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH cardholders AS (\n SELECT\n cl.client_id,\n cl.gender,\n cl.birth_date,\n ca.type AS card_type,\n CAST(strftime('%Y', ca.issued) AS INTEGER)\n - CAST(strftime('%Y', cl.birth_date) AS INTEGER) AS age_at_issue,\n dp.account_id,\n cl.district_id\n FROM card AS ca\n JOIN disp AS dp ON dp.disp_id = ca.disp_id\n JOIN client AS cl ON cl.client_id = dp.client_id\n WHERE ca.issued >= '1994-01-01' AND ca.issued < '1995-01-01'\n), account_loans AS (\n SELECT account_id, COUNT(*) AS loan_count, SUM(amount) AS total_amount_borrowed\n FROM loan\n GROUP BY account_id\n)\nSELECT\n ch.client_id,\n ch.gender,\n ch.birth_date,\n ch.card_type,\n ch.age_at_issue,\n COALESCE(al.loan_count, 0) AS loan_count,\n COALESCE(al.total_amount_borrowed, 0) AS total_amount_borrowed,\n CASE\n WHEN al.loan_count > 0 AND ch.age_at_issue < 30 THEN 'Young borrower'\n WHEN al.loan_count > 0 AND ch.age_at_issue >= 30 THEN 'Mature borrower'\n ELSE 'Non-borrower'\n END AS borrower_classification,\n d.A2 AS district_name,\n d.A11 AS district_average_salary,\n RANK() OVER (PARTITION BY ch.gender ORDER BY ch.age_at_issue DESC) AS age_rank_within_gender\nFROM cardholders AS ch\nLEFT JOIN account_loans AS al ON al.account_id = ch.account_id\nLEFT JOIN district AS d ON d.district_id = ch.district_id\nORDER BY ch.client_id;\n```", "rows": 21, "sql": "WITH cardholders AS (\n SELECT\n cl.client_id,\n cl.gender,\n cl.birth_date,\n ca.type AS card_type,\n CAST(strftime('%Y', ca.issued) AS INTEGER)\n - CAST(strftime('%Y', cl.birth_date) AS INTEGER) AS age_at_issue,\n dp.account_id,\n cl.district_id\n FROM card AS ca\n JOIN disp AS dp ON dp.disp_id = ca.disp_id\n JOIN client AS cl ON cl.client_id = dp.client_id\n WHERE ca.issued >= '1994-01-01' AND ca.issued < '1995-01-01'\n), account_loans AS (\n SELECT account_id, COUNT(*) AS loan_count, SUM(amount) AS total_amount_borrowed\n FROM loan\n GROUP BY account_id\n)\nSELECT\n ch.client_id,\n ch.gender,\n ch.birth_date,\n ch.card_type,\n ch.age_at_issue,\n COALESCE(al.loan_count, 0) AS loan_count,\n COALESCE(al.total_amount_borrowed, 0) AS total_amount_borrowed,\n CASE\n WHEN al.loan_count > 0 AND ch.age_at_issue < 30 THEN 'Young borrower'\n WHEN al.loan_count > 0 AND ch.age_at_issue >= 30 THEN 'Mature borrower'\n ELSE 'Non-borrower'\n END AS borrower_classification,\n d.A2 AS district_name,\n d.A11 AS district_average_salary,\n RANK() OVER (PARTITION BY ch.gender ORDER BY ch.age_at_issue DESC) AS age_rank_within_gender\nFROM cardholders AS ch\nLEFT JOIN account_loans AS al ON al.account_id = ch.account_id\nLEFT JOIN district AS d ON d.district_id = ch.district_id\nORDER BY ch.client_id;", "seconds": 39.43188004102558, "calls": [{"seconds": 3.773952499963343, "usage": {"completion_tokens": 110, "prompt_tokens": 1790, "total_tokens": 1900, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1243, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1243, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1243, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.116603291942738, "usage": {"completion_tokens": 18, "prompt_tokens": 2277, "total_tokens": 2295, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 487, "cached_tokens": 1243, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 487, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 487, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.984841624973342, "usage": {"completion_tokens": 364, "prompt_tokens": 2325, "total_tokens": 2689, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 278, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1730, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.732852709013969, "usage": {"completion_tokens": 237, "prompt_tokens": 2863, "total_tokens": 3100, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 141, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 538, "cached_tokens": 1778, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 538, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 538, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.474041541921906, "usage": {"completion_tokens": 494, "prompt_tokens": 3223, "total_tokens": 3717, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 61, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 360, "cached_tokens": 2316, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 360, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 360, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.321350208949298, "usage": {"completion_tokens": 418, "prompt_tokens": 5020, "total_tokens": 5438, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 22, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1797, "cached_tokens": 2676, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1797, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1797, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "21b3ef6d4742b8f57c724a96c4963ad42da978446c4e090ba280f52b26446106", "csv_sha256": "c577a2da27ac8c6d27c3ac8cbfe5916d2aaedd61c6b1c19b352cf746ce07b34b"} +{"instance_id": "bird226", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT d.A2 AS branch_name, COUNT(t.trans_id) AS transaction_count\nFROM district AS d\nLEFT JOIN account AS a ON a.district_id = d.district_id\nLEFT JOIN trans AS t ON t.account_id = a.account_id\n AND t.date <= '1998-10-14'\n AND t.k_symbol IS NULL\nWHERE d.A3 = 'north Moravia'\nGROUP BY d.district_id, d.A2\nORDER BY transaction_count DESC, branch_name ASC\nLIMIT 3;\n```", "rows": 3, "sql": "SELECT d.A2 AS branch_name, COUNT(t.trans_id) AS transaction_count\nFROM district AS d\nLEFT JOIN account AS a ON a.district_id = d.district_id\nLEFT JOIN trans AS t ON t.account_id = a.account_id\n AND t.date <= '1998-10-14'\n AND t.k_symbol IS NULL\nWHERE d.A3 = 'north Moravia'\nGROUP BY d.district_id, d.A2\nORDER BY transaction_count DESC, branch_name ASC\nLIMIT 3;", "seconds": 20.4248915000353, "calls": [{"seconds": 2.5963147500297055, "usage": {"completion_tokens": 65, "prompt_tokens": 1725, "total_tokens": 1790, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1178, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1178, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1178, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.036843499983661, "usage": {"completion_tokens": 73, "prompt_tokens": 2050, "total_tokens": 2123, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 325, "cached_tokens": 1178, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 325, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 325, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.48505770904012, "usage": {"completion_tokens": 172, "prompt_tokens": 2512, "total_tokens": 2684, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 108, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 462, "cached_tokens": 1503, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 462, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 462, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.543795041972771, "usage": {"completion_tokens": 172, "prompt_tokens": 2899, "total_tokens": 3071, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 44, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 387, "cached_tokens": 1965, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 387, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 387, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9154281250666827, "usage": {"completion_tokens": 116, "prompt_tokens": 3229, "total_tokens": 3345, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 330, "cached_tokens": 2352, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 330, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 330, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "3f5627b7e3dbfef2994d3b5c19bc869e7f32439ebb903925c98492326820ede2", "csv_sha256": "05c7df42fe514e69cdd8218ec19c6539592fd5aa91a37008fdb4bdbe55d351cf"} +{"instance_id": "bird227", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n t.bank AS bank_code,\n t.account AS account_number,\n COUNT(*) AS outgoing_payment_count,\n SUM(t.amount) AS total_amount_paid\nFROM trans AS t\nWHERE t.type = 'VYDAJ'\n AND t.date < '1996-01-03'\n AND t.bank IS NOT NULL\n AND t.account IS NOT NULL\n AND EXISTS (\n SELECT 1\n FROM loan AS l\n WHERE l.account_id = t.account_id\n AND l.amount = 98832\n AND l.date = '1996-01-03'\n )\nGROUP BY t.bank, t.account\nORDER BY total_amount_paid DESC;\n```", "rows": 3, "sql": "SELECT\n t.bank AS bank_code,\n t.account AS account_number,\n COUNT(*) AS outgoing_payment_count,\n SUM(t.amount) AS total_amount_paid\nFROM trans AS t\nWHERE t.type = 'VYDAJ'\n AND t.date < '1996-01-03'\n AND t.bank IS NOT NULL\n AND t.account IS NOT NULL\n AND EXISTS (\n SELECT 1\n FROM loan AS l\n WHERE l.account_id = t.account_id\n AND l.amount = 98832\n AND l.date = '1996-01-03'\n )\nGROUP BY t.bank, t.account\nORDER BY total_amount_paid DESC;", "seconds": 18.695050374954008, "calls": [{"seconds": 2.4418128749821335, "usage": {"completion_tokens": 65, "prompt_tokens": 1760, "total_tokens": 1825, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1213, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1213, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1213, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.840736582991667, "usage": {"completion_tokens": 209, "prompt_tokens": 2012, "total_tokens": 2221, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 39, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 252, "cached_tokens": 1213, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 252, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 252, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.203030250035226, "usage": {"completion_tokens": 150, "prompt_tokens": 2447, "total_tokens": 2597, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 435, "cached_tokens": 1465, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 435, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 435, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5f48d3f7f7f3a1c93380f93f7c01c43f1084343efd8d62509fdaafc1770889ab", "csv_sha256": "f45c1885d0c9d01f3daaa9e55315443c3f6c89afb85f76f0f754f17d3859fe44"} +{"instance_id": "bird228", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT a.account_id)\nFROM account AS a\nWHERE a.district_id = 1\n AND a.date < '1996-01-01'\n AND EXISTS (\n SELECT 1\n FROM loan AS l\n WHERE l.account_id = a.account_id\n AND l.status IN ('C', 'D')\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT a.account_id)\nFROM account AS a\nWHERE a.district_id = 1\n AND a.date < '1996-01-01'\n AND EXISTS (\n SELECT 1\n FROM loan AS l\n WHERE l.account_id = a.account_id\n AND l.status IN ('C', 'D')\n );", "seconds": 13.478838374954648, "calls": [{"seconds": 2.9625697499141097, "usage": {"completion_tokens": 79, "prompt_tokens": 1713, "total_tokens": 1792, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1166, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1166, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1166, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9902693750336766, "usage": {"completion_tokens": 134, "prompt_tokens": 2066, "total_tokens": 2200, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 90, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 353, "cached_tokens": 1166, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 353, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 353, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3217375830281526, "usage": {"completion_tokens": 96, "prompt_tokens": 2291, "total_tokens": 2387, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 225, "cached_tokens": 1519, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 225, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 225, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.186296375002712, "usage": {"completion_tokens": 82, "prompt_tokens": 2493, "total_tokens": 2575, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 202, "cached_tokens": 1744, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 202, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 202, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5a0d855c476f91a33e87d7eddcd8a8fadc32e811a1756f1c20109832c567e57c", "csv_sha256": "1bec487891f96a98ce081a88d033457188bd40b7a5dd06945ff6efe37eae618a"} +{"instance_id": "bird229", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT SUM(CASE t.k_symbol\n WHEN 'UROK' THEN t.amount\n WHEN 'SANKC. UROK' THEN -t.amount\n END) AS net_interest_czk\nFROM trans AS t\nWHERE t.date >= '1998-01-01'\n AND t.date < '1999-01-01'\n AND t.k_symbol IN ('UROK', 'SANKC. UROK')\n AND EXISTS (\n SELECT 1\n FROM disp AS d\n WHERE d.client_id = 2823\n AND d.account_id = t.account_id\n );\n```", "rows": 1, "sql": "SELECT SUM(CASE t.k_symbol\n WHEN 'UROK' THEN t.amount\n WHEN 'SANKC. UROK' THEN -t.amount\n END) AS net_interest_czk\nFROM trans AS t\nWHERE t.date >= '1998-01-01'\n AND t.date < '1999-01-01'\n AND t.k_symbol IN ('UROK', 'SANKC. UROK')\n AND EXISTS (\n SELECT 1\n FROM disp AS d\n WHERE d.client_id = 2823\n AND d.account_id = t.account_id\n );", "seconds": 25.2116707500536, "calls": [{"seconds": 2.772236290969886, "usage": {"completion_tokens": 80, "prompt_tokens": 1739, "total_tokens": 1819, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1192, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1192, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1192, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7065194580936804, "usage": {"completion_tokens": 115, "prompt_tokens": 2030, "total_tokens": 2145, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 27, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 291, "cached_tokens": 1192, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 291, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 291, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9906697920523584, "usage": {"completion_tokens": 109, "prompt_tokens": 2270, "total_tokens": 2379, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 240, "cached_tokens": 1483, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 240, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 240, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9667314579710364, "usage": {"completion_tokens": 153, "prompt_tokens": 2574, "total_tokens": 2727, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 304, "cached_tokens": 1723, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 304, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 304, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7231575419427827, "usage": {"completion_tokens": 139, "prompt_tokens": 2888, "total_tokens": 3027, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 314, "cached_tokens": 2027, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 314, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 314, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b7d953ead8a46a4e25e4023684c2495abe5558d494ea60f5d09e403c76c25c61", "csv_sha256": "b2e5422c4abeec42e360d1971657e50505834904a367131d2b6bc48980540cca"} +{"instance_id": "bird230", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH ranked_loans AS (\n SELECT l.loan_id, l.account_id, c.client_id, c.birth_date,\n l.amount, l.duration, l.payments, l.status,\n DENSE_RANK() OVER (ORDER BY l.amount DESC) AS amount_rank\n FROM loan AS l\n JOIN disp AS dp ON dp.account_id = l.account_id AND dp.type = 'OWNER'\n JOIN client AS c ON c.client_id = dp.client_id\n WHERE c.gender = 'F'\n), selected_loans AS (\n SELECT * FROM ranked_loans WHERE amount_rank <= 3\n), account_activity AS (\n SELECT t.account_id,\n COUNT(*) AS transaction_count,\n SUM(CASE WHEN t.type = 'PRIJEM' THEN t.amount ELSE 0 END) AS total_deposits\n FROM trans AS t\n WHERE t.account_id IN (SELECT account_id FROM selected_loans)\n GROUP BY t.account_id\n), regional_loan_counts AS (\n SELECT d.A3 AS region, COUNT(*) AS region_loan_count\n FROM loan AS l\n JOIN account AS a ON a.account_id = l.account_id\n JOIN district AS d ON d.district_id = a.district_id\n GROUP BY d.A3\n), regional_salaries AS (\n SELECT A3 AS region, ROUND(AVG(A11), 2) AS region_average_salary\n FROM district\n GROUP BY A3\n)\nSELECT s.client_id,\n ROUND(s.amount, 2) AS loan_amount,\n s.duration AS duration_months,\n ROUND(s.payments * s.duration, 2) AS total_payments,\n ROUND(s.payments * s.duration - s.amount, 2) AS interest_paid,\n s.status AS loan_status,\n d.A2 AS branch_district,\n d.A3 AS branch_region,\n COALESCE(aa.transaction_count, 0) AS transaction_count,\n ROUND(COALESCE(aa.total_deposits, 0), 2) AS total_deposits,\n CASE\n WHEN COALESCE(aa.total_deposits, 0) > 2 * s.amount THEN 'High Income'\n WHEN COALESCE(aa.total_deposits, 0) > s.amount THEN 'Medium Income'\n ELSE 'Low Income'\n END AS income_category,\n rlc.region_loan_count,\n rs.region_average_salary,\n CAST(strftime('%Y', '2026-10-09') AS INTEGER)\n - CAST(strftime('%Y', s.birth_date) AS INTEGER)\n - (strftime('%m-%d', s.birth_date) > strftime('%m-%d', '2026-10-09')) AS completed_age\nFROM selected_loans AS s\nJOIN account AS a ON a.account_id = s.account_id\nJOIN district AS d ON d.district_id = a.district_id\nLEFT JOIN account_activity AS aa ON aa.account_id = s.account_id\nJOIN regional_loan_counts AS rlc ON rlc.region = d.A3\nJOIN regional_salaries AS rs ON rs.region = d.A3\nORDER BY s.amount DESC, s.loan_id, s.client_id;\n```", "rows": 3, "sql": "WITH ranked_loans AS (\n SELECT l.loan_id, l.account_id, c.client_id, c.birth_date,\n l.amount, l.duration, l.payments, l.status,\n DENSE_RANK() OVER (ORDER BY l.amount DESC) AS amount_rank\n FROM loan AS l\n JOIN disp AS dp ON dp.account_id = l.account_id AND dp.type = 'OWNER'\n JOIN client AS c ON c.client_id = dp.client_id\n WHERE c.gender = 'F'\n), selected_loans AS (\n SELECT * FROM ranked_loans WHERE amount_rank <= 3\n), account_activity AS (\n SELECT t.account_id,\n COUNT(*) AS transaction_count,\n SUM(CASE WHEN t.type = 'PRIJEM' THEN t.amount ELSE 0 END) AS total_deposits\n FROM trans AS t\n WHERE t.account_id IN (SELECT account_id FROM selected_loans)\n GROUP BY t.account_id\n), regional_loan_counts AS (\n SELECT d.A3 AS region, COUNT(*) AS region_loan_count\n FROM loan AS l\n JOIN account AS a ON a.account_id = l.account_id\n JOIN district AS d ON d.district_id = a.district_id\n GROUP BY d.A3\n), regional_salaries AS (\n SELECT A3 AS region, ROUND(AVG(A11), 2) AS region_average_salary\n FROM district\n GROUP BY A3\n)\nSELECT s.client_id,\n ROUND(s.amount, 2) AS loan_amount,\n s.duration AS duration_months,\n ROUND(s.payments * s.duration, 2) AS total_payments,\n ROUND(s.payments * s.duration - s.amount, 2) AS interest_paid,\n s.status AS loan_status,\n d.A2 AS branch_district,\n d.A3 AS branch_region,\n COALESCE(aa.transaction_count, 0) AS transaction_count,\n ROUND(COALESCE(aa.total_deposits, 0), 2) AS total_deposits,\n CASE\n WHEN COALESCE(aa.total_deposits, 0) > 2 * s.amount THEN 'High Income'\n WHEN COALESCE(aa.total_deposits, 0) > s.amount THEN 'Medium Income'\n ELSE 'Low Income'\n END AS income_category,\n rlc.region_loan_count,\n rs.region_average_salary,\n CAST(strftime('%Y', '2026-10-09') AS INTEGER)\n - CAST(strftime('%Y', s.birth_date) AS INTEGER)\n - (strftime('%m-%d', s.birth_date) > strftime('%m-%d', '2026-10-09')) AS completed_age\nFROM selected_loans AS s\nJOIN account AS a ON a.account_id = s.account_id\nJOIN district AS d ON d.district_id = a.district_id\nLEFT JOIN account_activity AS aa ON aa.account_id = s.account_id\nJOIN regional_loan_counts AS rlc ON rlc.region = d.A3\nJOIN regional_salaries AS rs ON rs.region = d.A3\nORDER BY s.amount DESC, s.loan_id, s.client_id;", "seconds": 36.17722854099702, "calls": [{"seconds": 3.0086445420747623, "usage": {"completion_tokens": 110, "prompt_tokens": 1899, "total_tokens": 2009, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1352, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1352, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1352, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.611783750005998, "usage": {"completion_tokens": 348, "prompt_tokens": 2421, "total_tokens": 2769, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 147, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 522, "cached_tokens": 1352, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 522, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 522, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 14.41262616601307, "usage": {"completion_tokens": 867, "prompt_tokens": 3074, "total_tokens": 3941, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 149, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 653, "cached_tokens": 1874, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 653, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 653, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.942785750026815, "usage": {"completion_tokens": 747, "prompt_tokens": 4876, "total_tokens": 5623, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 69, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1802, "cached_tokens": 2527, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1802, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1802, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1c886871d2ff67a1c2e85d9cb74c6a6e25ee2669c795e750de64cf77c5de7e21", "csv_sha256": "fa91ab34a428d6bb949c6a273479ae3646c1aab0acae22963a4ec2a8f8d7db3a"} +{"instance_id": "bird231", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "failed", "answer": "❓ Awaiting user: Should every loan longer than 24 months count as a mortgage, or is there a separate mortgage subset? If there is, how is it identified in the database?", "error_type": "ValueError", "seconds": 43.24014162493404, "calls": [{"seconds": 3.15447954100091, "usage": {"completion_tokens": 79, "prompt_tokens": 1727, "total_tokens": 1806, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1180, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1180, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1180, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.903877750039101, "usage": {"completion_tokens": 137, "prompt_tokens": 2080, "total_tokens": 2217, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 120, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 353, "cached_tokens": 1180, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 353, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 353, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 18.49720374995377, "usage": {"completion_tokens": 905, "prompt_tokens": 2254, "total_tokens": 3159, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 729, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 174, "cached_tokens": 1533, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 174, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 174, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.530335457995534, "usage": {"completion_tokens": 136, "prompt_tokens": 3177, "total_tokens": 3313, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 115, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 923, "cached_tokens": 1707, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 923, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 923, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.146075833006762, "usage": {"completion_tokens": 449, "prompt_tokens": 3335, "total_tokens": 3784, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 397, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 158, "cached_tokens": 2630, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 158, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 158, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6951877c7fea769540aff9c897c4fcc96b837fb14405b8bbc494da752b45e390"} +{"instance_id": "bird232", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH monthly_accounts_by_district AS (\n SELECT district_id, COUNT(*) AS account_count\n FROM account\n WHERE frequency = 'POPLATEK MESICNE'\n AND date >= '1997-01-01'\n AND date < '1998-01-01'\n GROUP BY district_id\n)\nSELECT COALESCE(SUM(m.account_count), 0) AS total_monthly_statement_accounts,\n COUNT(*) AS qualifying_district_count,\n ROUND(AVG(d.A11), 2) AS average_salary\nFROM monthly_accounts_by_district AS m\nJOIN district AS d ON d.district_id = m.district_id\nWHERE CAST(d.A4 AS INTEGER) >= 100000;\n```", "rows": 1, "sql": "WITH monthly_accounts_by_district AS (\n SELECT district_id, COUNT(*) AS account_count\n FROM account\n WHERE frequency = 'POPLATEK MESICNE'\n AND date >= '1997-01-01'\n AND date < '1998-01-01'\n GROUP BY district_id\n)\nSELECT COALESCE(SUM(m.account_count), 0) AS total_monthly_statement_accounts,\n COUNT(*) AS qualifying_district_count,\n ROUND(AVG(d.A11), 2) AS average_salary\nFROM monthly_accounts_by_district AS m\nJOIN district AS d ON d.district_id = m.district_id\nWHERE CAST(d.A4 AS INTEGER) >= 100000;", "seconds": 20.471224582986906, "calls": [{"seconds": 2.525232082931325, "usage": {"completion_tokens": 50, "prompt_tokens": 1710, "total_tokens": 1760, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1163, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1163, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1163, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 1.8765813339268789, "usage": {"completion_tokens": 18, "prompt_tokens": 1942, "total_tokens": 1960, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 232, "cached_tokens": 1163, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 232, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 232, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.299106833059341, "usage": {"completion_tokens": 114, "prompt_tokens": 1990, "total_tokens": 2104, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 38, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1395, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.511271875002421, "usage": {"completion_tokens": 288, "prompt_tokens": 2497, "total_tokens": 2785, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 114, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 507, "cached_tokens": 1443, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 507, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 507, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.239145250059664, "usage": {"completion_tokens": 156, "prompt_tokens": 2984, "total_tokens": 3140, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 487, "cached_tokens": 1950, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 487, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 487, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6ab13f35ecd429c4af529db98772e4841f6fb3e78a1aa1665f466b8e9834cf18", "csv_sha256": "9987575e0513c8c98456d420c1e60bc47ceb35f73f5b3eed604c0d6aff68c2fc"} +{"instance_id": "bird233", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH gold_accounts AS (\n SELECT DISTINCT d.account_id\n FROM card AS c\n JOIN disp AS d ON d.disp_id = c.disp_id\n WHERE c.type = 'gold'\n), transaction_totals AS (\n SELECT t.account_id,\n SUM(CASE WHEN t.type = 'PRIJEM' THEN t.amount ELSE 0 END) AS total_received,\n SUM(CASE WHEN t.type = 'VYDAJ' THEN t.amount ELSE 0 END) AS total_withdrawn\n FROM trans AS t\n JOIN gold_accounts AS g ON g.account_id = t.account_id\n GROUP BY t.account_id\n), loan_counts AS (\n SELECT l.account_id, COUNT(*) AS loan_count\n FROM loan AS l\n JOIN gold_accounts AS g ON g.account_id = l.account_id\n GROUP BY l.account_id\n), external_counterparties AS (\n SELECT DISTINCT t.account_id, t.bank, t.\"account\" AS counterparty_account\n FROM trans AS t\n JOIN gold_accounts AS g ON g.account_id = t.account_id\n WHERE t.operation IN ('PREVOD NA UCET', 'PREVOD Z UCTU')\n AND NULLIF(TRIM(t.bank), '') IS NOT NULL\n AND t.\"account\" IS NOT NULL\n), counterparty_counts AS (\n SELECT account_id, COUNT(*) AS external_counterparty_count\n FROM external_counterparties\n GROUP BY account_id\n)\nSELECT g.account_id,\n di.A2 AS district_name,\n di.A3 AS region,\n COALESCE(tt.total_received, 0) AS total_received,\n COALESCE(tt.total_withdrawn, 0) AS total_withdrawn,\n COALESCE(lc.loan_count, 0) AS loan_count,\n COALESCE(cc.external_counterparty_count, 0) AS external_counterparty_count,\n DENSE_RANK() OVER (\n ORDER BY COALESCE(cc.external_counterparty_count, 0) DESC\n ) AS counterparty_rank\nFROM gold_accounts AS g\nJOIN account AS a ON a.account_id = g.account_id\nJOIN district AS di ON di.district_id = a.district_id\nLEFT JOIN transaction_totals AS tt ON tt.account_id = g.account_id\nLEFT JOIN loan_counts AS lc ON lc.account_id = g.account_id\nLEFT JOIN counterparty_counts AS cc ON cc.account_id = g.account_id\nORDER BY counterparty_rank, g.account_id;\n```", "rows": 88, "sql": "WITH gold_accounts AS (\n SELECT DISTINCT d.account_id\n FROM card AS c\n JOIN disp AS d ON d.disp_id = c.disp_id\n WHERE c.type = 'gold'\n), transaction_totals AS (\n SELECT t.account_id,\n SUM(CASE WHEN t.type = 'PRIJEM' THEN t.amount ELSE 0 END) AS total_received,\n SUM(CASE WHEN t.type = 'VYDAJ' THEN t.amount ELSE 0 END) AS total_withdrawn\n FROM trans AS t\n JOIN gold_accounts AS g ON g.account_id = t.account_id\n GROUP BY t.account_id\n), loan_counts AS (\n SELECT l.account_id, COUNT(*) AS loan_count\n FROM loan AS l\n JOIN gold_accounts AS g ON g.account_id = l.account_id\n GROUP BY l.account_id\n), external_counterparties AS (\n SELECT DISTINCT t.account_id, t.bank, t.\"account\" AS counterparty_account\n FROM trans AS t\n JOIN gold_accounts AS g ON g.account_id = t.account_id\n WHERE t.operation IN ('PREVOD NA UCET', 'PREVOD Z UCTU')\n AND NULLIF(TRIM(t.bank), '') IS NOT NULL\n AND t.\"account\" IS NOT NULL\n), counterparty_counts AS (\n SELECT account_id, COUNT(*) AS external_counterparty_count\n FROM external_counterparties\n GROUP BY account_id\n)\nSELECT g.account_id,\n di.A2 AS district_name,\n di.A3 AS region,\n COALESCE(tt.total_received, 0) AS total_received,\n COALESCE(tt.total_withdrawn, 0) AS total_withdrawn,\n COALESCE(lc.loan_count, 0) AS loan_count,\n COALESCE(cc.external_counterparty_count, 0) AS external_counterparty_count,\n DENSE_RANK() OVER (\n ORDER BY COALESCE(cc.external_counterparty_count, 0) DESC\n ) AS counterparty_rank\nFROM gold_accounts AS g\nJOIN account AS a ON a.account_id = g.account_id\nJOIN district AS di ON di.district_id = a.district_id\nLEFT JOIN transaction_totals AS tt ON tt.account_id = g.account_id\nLEFT JOIN loan_counts AS lc ON lc.account_id = g.account_id\nLEFT JOIN counterparty_counts AS cc ON cc.account_id = g.account_id\nORDER BY counterparty_rank, g.account_id;", "seconds": 31.346162916976027, "calls": [{"seconds": 5.798860415932722, "usage": {"completion_tokens": 110, "prompt_tokens": 1793, "total_tokens": 1903, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1246, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1246, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1246, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.960600208025426, "usage": {"completion_tokens": 298, "prompt_tokens": 2314, "total_tokens": 2612, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 101, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 521, "cached_tokens": 1246, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 521, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 521, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.224797707982361, "usage": {"completion_tokens": 594, "prompt_tokens": 3103, "total_tokens": 3697, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 38, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 789, "cached_tokens": 1767, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 789, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 789, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.628650167025626, "usage": {"completion_tokens": 526, "prompt_tokens": 5784, "total_tokens": 6310, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 2681, "cached_tokens": 2556, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 2681, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 2681, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "84351b77a0334a6a891435aa5139e1bfe35013b9a2149b9becc1352bbbff367a", "csv_sha256": "080d22cfbcacfec47a55ccb9be71a2d6f48c40b6f4b5d657ebd5469e91c5ec31"} +{"instance_id": "bird234", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH branch_accounts AS (\n SELECT a.account_id, a.date AS opened_date\n FROM account AS a\n JOIN district AS d ON d.district_id = a.district_id\n WHERE d.A2 = 'Tabor'\n AND a.date < '1997-01-01'\n), card_counts AS (\n SELECT dp.account_id, COUNT(*) AS credit_card_count\n FROM branch_accounts AS a\n JOIN disp AS dp ON dp.account_id = a.account_id\n JOIN card AS ca ON ca.disp_id = dp.disp_id\n WHERE ca.issued < '1997-01-01'\n GROUP BY dp.account_id\n), loan_summary AS (\n SELECT l.account_id,\n COUNT(*) AS loan_count,\n MAX(CASE WHEN l.status = 'B' THEN 1 ELSE 0 END) AS has_default,\n MAX(CASE WHEN l.status IN ('C', 'D') THEN 1 ELSE 0 END) AS has_repaying\n FROM branch_accounts AS a\n JOIN loan AS l ON l.account_id = a.account_id\n WHERE l.date < '1997-01-01'\n GROUP BY l.account_id\n), activity AS (\n SELECT t.account_id,\n COUNT(*) AS transaction_count_1997,\n SUM(CASE WHEN t.type = 'PRIJEM' THEN t.amount ELSE 0 END) AS money_in_1997,\n SUM(CASE WHEN t.type IN ('VYDAJ', 'VYBER') THEN t.amount ELSE 0 END) AS money_out_1997,\n MAX(t.balance) AS peak_balance_1997\n FROM branch_accounts AS a\n JOIN trans AS t ON t.account_id = a.account_id\n WHERE t.date >= '1997-01-01' AND t.date < '1998-01-01'\n GROUP BY t.account_id\n)\nSELECT a.account_id,\n a.opened_date,\n c.gender AS owner_gender,\n 1996 - CAST(strftime('%Y', c.birth_date) AS INTEGER) AS owner_age,\n COALESCE(cc.credit_card_count, 0) AS credit_card_count,\n COALESCE(ls.loan_count, 0) AS loan_count,\n CASE\n WHEN ls.loan_count IS NULL THEN 'no loan'\n WHEN ls.has_default = 1 THEN 'defaulted'\n WHEN ls.has_repaying = 1 THEN 'repaying'\n ELSE 'paid off'\n END AS loan_standing,\n COALESCE(t.transaction_count_1997, 0) AS transaction_count_1997,\n COALESCE(t.money_in_1997, 0) AS money_in_1997,\n COALESCE(t.money_out_1997, 0) AS money_out_1997,\n COALESCE(t.peak_balance_1997, 0) AS peak_balance_1997,\n RANK() OVER (ORDER BY COALESCE(t.peak_balance_1997, 0) DESC) AS peak_balance_rank\nFROM branch_accounts AS a\nJOIN disp AS owner ON owner.account_id = a.account_id AND owner.type = 'OWNER'\nJOIN client AS c ON c.client_id = owner.client_id\nLEFT JOIN card_counts AS cc ON cc.account_id = a.account_id\nLEFT JOIN loan_summary AS ls ON ls.account_id = a.account_id\nLEFT JOIN activity AS t ON t.account_id = a.account_id\nORDER BY peak_balance_rank, a.account_id;\n```", "rows": 37, "sql": "WITH branch_accounts AS (\n SELECT a.account_id, a.date AS opened_date\n FROM account AS a\n JOIN district AS d ON d.district_id = a.district_id\n WHERE d.A2 = 'Tabor'\n AND a.date < '1997-01-01'\n), card_counts AS (\n SELECT dp.account_id, COUNT(*) AS credit_card_count\n FROM branch_accounts AS a\n JOIN disp AS dp ON dp.account_id = a.account_id\n JOIN card AS ca ON ca.disp_id = dp.disp_id\n WHERE ca.issued < '1997-01-01'\n GROUP BY dp.account_id\n), loan_summary AS (\n SELECT l.account_id,\n COUNT(*) AS loan_count,\n MAX(CASE WHEN l.status = 'B' THEN 1 ELSE 0 END) AS has_default,\n MAX(CASE WHEN l.status IN ('C', 'D') THEN 1 ELSE 0 END) AS has_repaying\n FROM branch_accounts AS a\n JOIN loan AS l ON l.account_id = a.account_id\n WHERE l.date < '1997-01-01'\n GROUP BY l.account_id\n), activity AS (\n SELECT t.account_id,\n COUNT(*) AS transaction_count_1997,\n SUM(CASE WHEN t.type = 'PRIJEM' THEN t.amount ELSE 0 END) AS money_in_1997,\n SUM(CASE WHEN t.type IN ('VYDAJ', 'VYBER') THEN t.amount ELSE 0 END) AS money_out_1997,\n MAX(t.balance) AS peak_balance_1997\n FROM branch_accounts AS a\n JOIN trans AS t ON t.account_id = a.account_id\n WHERE t.date >= '1997-01-01' AND t.date < '1998-01-01'\n GROUP BY t.account_id\n)\nSELECT a.account_id,\n a.opened_date,\n c.gender AS owner_gender,\n 1996 - CAST(strftime('%Y', c.birth_date) AS INTEGER) AS owner_age,\n COALESCE(cc.credit_card_count, 0) AS credit_card_count,\n COALESCE(ls.loan_count, 0) AS loan_count,\n CASE\n WHEN ls.loan_count IS NULL THEN 'no loan'\n WHEN ls.has_default = 1 THEN 'defaulted'\n WHEN ls.has_repaying = 1 THEN 'repaying'\n ELSE 'paid off'\n END AS loan_standing,\n COALESCE(t.transaction_count_1997, 0) AS transaction_count_1997,\n COALESCE(t.money_in_1997, 0) AS money_in_1997,\n COALESCE(t.money_out_1997, 0) AS money_out_1997,\n COALESCE(t.peak_balance_1997, 0) AS peak_balance_1997,\n RANK() OVER (ORDER BY COALESCE(t.peak_balance_1997, 0) DESC) AS peak_balance_rank\nFROM branch_accounts AS a\nJOIN disp AS owner ON owner.account_id = a.account_id AND owner.type = 'OWNER'\nJOIN client AS c ON c.client_id = owner.client_id\nLEFT JOIN card_counts AS cc ON cc.account_id = a.account_id\nLEFT JOIN loan_summary AS ls ON ls.account_id = a.account_id\nLEFT JOIN activity AS t ON t.account_id = a.account_id\nORDER BY peak_balance_rank, a.account_id;", "seconds": 46.33057870797347, "calls": [{"seconds": 2.2102355409879237, "usage": {"completion_tokens": 15, "prompt_tokens": 2053, "total_tokens": 2068, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1506, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1506, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1506, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4772356669418514, "usage": {"completion_tokens": 125, "prompt_tokens": 2105, "total_tokens": 2230, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 52, "cached_tokens": 1506, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 52, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 52, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.335523874964565, "usage": {"completion_tokens": 181, "prompt_tokens": 2685, "total_tokens": 2866, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 580, "cached_tokens": 1558, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 580, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 580, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.59217283304315, "usage": {"completion_tokens": 700, "prompt_tokens": 3217, "total_tokens": 3917, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 319, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 532, "cached_tokens": 2138, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 532, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 532, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.35437075002119, "usage": {"completion_tokens": 862, "prompt_tokens": 4350, "total_tokens": 5212, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 80, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1133, "cached_tokens": 2670, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1133, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1133, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.659101707977243, "usage": {"completion_tokens": 738, "prompt_tokens": 7616, "total_tokens": 8354, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 3266, "cached_tokens": 3803, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 3266, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 3266, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ddc3449884c68f1491b6fedb06dc37190d215a987a4800fea5fe0cd9cf07c11c", "csv_sha256": "ea05a5f8588e5ebf6b8fc0dd88b50b4825113503f173f7e272211c6265f16042"} +{"instance_id": "bird235", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH classic_owners AS (\n SELECT DISTINCT a.district_id, a.account_id, d.client_id\n FROM disp AS d\n JOIN account AS a ON a.account_id = d.account_id\n WHERE d.type = 'OWNER'\n AND EXISTS (\n SELECT 1\n FROM card AS c\n WHERE c.disp_id = d.disp_id AND c.type = 'classic'\n )\n), owner_counts AS (\n SELECT district_id, COUNT(DISTINCT client_id) AS client_count\n FROM classic_owners\n GROUP BY district_id\n), classic_accounts AS (\n SELECT DISTINCT district_id, account_id\n FROM classic_owners\n), payments_by_destination AS (\n SELECT a.district_id, t.bank, t.\"account\", SUM(t.amount) AS amount_paid\n FROM classic_accounts AS a\n JOIN trans AS t ON t.account_id = a.account_id\n WHERE t.type = 'VYDAJ'\n AND t.bank IS NOT NULL\n AND t.\"account\" IS NOT NULL\n GROUP BY a.district_id, t.bank, t.\"account\"\n), payment_totals AS (\n SELECT district_id, COUNT(*) AS external_account_count,\n SUM(amount_paid) AS total_amount_paid\n FROM payments_by_destination\n GROUP BY district_id\n)\nSELECT d.A2 AS district_name,\n COALESCE(o.client_count, 0) AS client_count,\n COALESCE(p.external_account_count, 0) AS external_account_count,\n COALESCE(p.total_amount_paid, 0) AS total_amount_paid\nFROM district AS d\nLEFT JOIN owner_counts AS o ON o.district_id = d.district_id\nLEFT JOIN payment_totals AS p ON p.district_id = d.district_id\nORDER BY total_amount_paid DESC, district_name ASC;\n```", "rows": 77, "sql": "WITH classic_owners AS (\n SELECT DISTINCT a.district_id, a.account_id, d.client_id\n FROM disp AS d\n JOIN account AS a ON a.account_id = d.account_id\n WHERE d.type = 'OWNER'\n AND EXISTS (\n SELECT 1\n FROM card AS c\n WHERE c.disp_id = d.disp_id AND c.type = 'classic'\n )\n), owner_counts AS (\n SELECT district_id, COUNT(DISTINCT client_id) AS client_count\n FROM classic_owners\n GROUP BY district_id\n), classic_accounts AS (\n SELECT DISTINCT district_id, account_id\n FROM classic_owners\n), payments_by_destination AS (\n SELECT a.district_id, t.bank, t.\"account\", SUM(t.amount) AS amount_paid\n FROM classic_accounts AS a\n JOIN trans AS t ON t.account_id = a.account_id\n WHERE t.type = 'VYDAJ'\n AND t.bank IS NOT NULL\n AND t.\"account\" IS NOT NULL\n GROUP BY a.district_id, t.bank, t.\"account\"\n), payment_totals AS (\n SELECT district_id, COUNT(*) AS external_account_count,\n SUM(amount_paid) AS total_amount_paid\n FROM payments_by_destination\n GROUP BY district_id\n)\nSELECT d.A2 AS district_name,\n COALESCE(o.client_count, 0) AS client_count,\n COALESCE(p.external_account_count, 0) AS external_account_count,\n COALESCE(p.total_amount_paid, 0) AS total_amount_paid\nFROM district AS d\nLEFT JOIN owner_counts AS o ON o.district_id = d.district_id\nLEFT JOIN payment_totals AS p ON p.district_id = d.district_id\nORDER BY total_amount_paid DESC, district_name ASC;", "seconds": 36.51024583296385, "calls": [{"seconds": 3.480211792048067, "usage": {"completion_tokens": 124, "prompt_tokens": 1832, "total_tokens": 1956, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1285, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1285, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1285, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.337799583096057, "usage": {"completion_tokens": 345, "prompt_tokens": 2375, "total_tokens": 2720, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 189, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 543, "cached_tokens": 1285, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 543, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 543, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 16.000414832960814, "usage": {"completion_tokens": 936, "prompt_tokens": 2958, "total_tokens": 3894, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 516, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 583, "cached_tokens": 1828, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 583, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 583, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.253134332946502, "usage": {"completion_tokens": 410, "prompt_tokens": 5098, "total_tokens": 5508, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 20, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 2140, "cached_tokens": 2411, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 2140, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 2140, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d720a768a904199c8c9238f0097d7678330cde8767a3ab65b19a63a906d32179", "csv_sha256": "8f0285f9e7f59b5d72bc3925a800e71bb89e4c424ad0fc0e632b90f9eadba599"} +{"instance_id": "bird236", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(d.A11), 2) AS average_salary\nFROM district AS d\nWHERE EXISTS (\n SELECT 1\n FROM account AS a\n JOIN disp AS dp ON dp.account_id = a.account_id\n JOIN client AS c ON c.client_id = dp.client_id\n WHERE a.district_id = d.district_id\n AND c.gender = 'F'\n AND DATE(c.birth_date) < '1930-01-01'\n);\n```", "rows": 1, "sql": "SELECT ROUND(AVG(d.A11), 2) AS average_salary\nFROM district AS d\nWHERE EXISTS (\n SELECT 1\n FROM account AS a\n JOIN disp AS dp ON dp.account_id = a.account_id\n JOIN client AS c ON c.client_id = dp.client_id\n WHERE a.district_id = d.district_id\n AND c.gender = 'F'\n AND DATE(c.birth_date) < '1930-01-01'\n);", "seconds": 16.46095725009218, "calls": [{"seconds": 2.590960416942835, "usage": {"completion_tokens": 80, "prompt_tokens": 1690, "total_tokens": 1770, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1143, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1143, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1143, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.63919604208786, "usage": {"completion_tokens": 113, "prompt_tokens": 2040, "total_tokens": 2153, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 93, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 350, "cached_tokens": 1143, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 350, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 350, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.932318042032421, "usage": {"completion_tokens": 214, "prompt_tokens": 2183, "total_tokens": 2397, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 93, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 143, "cached_tokens": 1493, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 143, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 143, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.269274416961707, "usage": {"completion_tokens": 107, "prompt_tokens": 2526, "total_tokens": 2633, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 343, "cached_tokens": 1636, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 343, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 343, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9915c2df1038b84d856cf2b7b3eaac287c722781e87daed7b4ce59e510ba2f7d", "csv_sha256": "0429761234926f1b2e293099ee0aa8c79649372e02934de9f77428d05b2134c5"} +{"instance_id": "bird237", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(d.A11), 2) AS average_district_salary\nFROM district AS d\nWHERE EXISTS (\n SELECT 1\n FROM client AS c\n WHERE c.district_id = d.district_id\n AND c.gender = 'F'\n AND c.birth_date < '1950-01-01'\n);\n```", "rows": 1, "sql": "SELECT ROUND(AVG(d.A11), 2) AS average_district_salary\nFROM district AS d\nWHERE EXISTS (\n SELECT 1\n FROM client AS c\n WHERE c.district_id = d.district_id\n AND c.gender = 'F'\n AND c.birth_date < '1950-01-01'\n);", "seconds": 20.708876333083026, "calls": [{"seconds": 2.5591233749873936, "usage": {"completion_tokens": 50, "prompt_tokens": 1674, "total_tokens": 1724, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1127, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1127, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1127, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.595079249935225, "usage": {"completion_tokens": 152, "prompt_tokens": 1907, "total_tokens": 2059, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 101, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 233, "cached_tokens": 1127, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 233, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 233, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.815693874959834, "usage": {"completion_tokens": 105, "prompt_tokens": 2158, "total_tokens": 2263, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 84, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 251, "cached_tokens": 1360, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 251, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 251, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.08968558406923, "usage": {"completion_tokens": 112, "prompt_tokens": 2285, "total_tokens": 2397, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 19, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 127, "cached_tokens": 1611, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 127, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 127, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.630846417043358, "usage": {"completion_tokens": 79, "prompt_tokens": 2500, "total_tokens": 2579, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 215, "cached_tokens": 1738, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 215, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 215, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6dd6b1ee3ba5bdee7ce41f0d46c265d4ceda464fceea0ed51e73aa21f126b15f", "csv_sha256": "456be9da72b04a8ebf6d0b2d6a296eb466c8e95881d09f6640bf91ba55b5cfd2"} +{"instance_id": "bird238", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(d.A11), 2) AS average_district_salary\nFROM district AS d\nWHERE EXISTS (\n SELECT 1\n FROM account AS a\n JOIN loan AS l ON l.account_id = a.account_id\n WHERE a.district_id = d.district_id\n AND l.amount < 100000\n AND l.status = 'C'\n);\n```", "rows": 1, "sql": "SELECT ROUND(AVG(d.A11), 2) AS average_district_salary\nFROM district AS d\nWHERE EXISTS (\n SELECT 1\n FROM account AS a\n JOIN loan AS l ON l.account_id = a.account_id\n WHERE a.district_id = d.district_id\n AND l.amount < 100000\n AND l.status = 'C'\n);", "seconds": 12.75138666597195, "calls": [{"seconds": 2.4804025419289246, "usage": {"completion_tokens": 65, "prompt_tokens": 1702, "total_tokens": 1767, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1155, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1155, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1155, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9621731659863144, "usage": {"completion_tokens": 49, "prompt_tokens": 2013, "total_tokens": 2062, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 29, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 311, "cached_tokens": 1155, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 311, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 311, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4962673750706017, "usage": {"completion_tokens": 99, "prompt_tokens": 2092, "total_tokens": 2191, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 79, "cached_tokens": 1466, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 79, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 79, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7900757499737665, "usage": {"completion_tokens": 88, "prompt_tokens": 2303, "total_tokens": 2391, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 211, "cached_tokens": 1545, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 211, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 211, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5012bd0834b354b10e6a0fdbb388ff41290ac55036f7339dfc6615b3bc420d46", "csv_sha256": "4ac8a4d96aecac3adb02924da8b6f78dd1ff7a31bd89e4b5ff9b09e18bf32532"} +{"instance_id": "bird239", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH cohorts(cohort, sort_order, start_date, end_date) AS (\n VALUES ('young', 1, '1980-01-01', NULL),\n ('old', 2, NULL, '1920-01-01')\n), cohort_districts AS (\n SELECT DISTINCT c.cohort, a.district_id\n FROM cohorts AS c\n JOIN client AS cl\n ON (c.start_date IS NULL OR cl.birth_date >= c.start_date)\n AND (c.end_date IS NULL OR cl.birth_date < c.end_date)\n JOIN disp AS di ON di.client_id = cl.client_id\n JOIN account AS a ON a.account_id = di.account_id\n)\nSELECT c.cohort, CAST(ROUND(AVG(d.A11)) AS INTEGER) AS average_salary\nFROM cohorts AS c\nLEFT JOIN cohort_districts AS cd ON cd.cohort = c.cohort\nLEFT JOIN district AS d ON d.district_id = cd.district_id\nGROUP BY c.cohort, c.sort_order\nORDER BY c.sort_order;\n```", "rows": 2, "sql": "WITH cohorts(cohort, sort_order, start_date, end_date) AS (\n VALUES ('young', 1, '1980-01-01', NULL),\n ('old', 2, NULL, '1920-01-01')\n), cohort_districts AS (\n SELECT DISTINCT c.cohort, a.district_id\n FROM cohorts AS c\n JOIN client AS cl\n ON (c.start_date IS NULL OR cl.birth_date >= c.start_date)\n AND (c.end_date IS NULL OR cl.birth_date < c.end_date)\n JOIN disp AS di ON di.client_id = cl.client_id\n JOIN account AS a ON a.account_id = di.account_id\n)\nSELECT c.cohort, CAST(ROUND(AVG(d.A11)) AS INTEGER) AS average_salary\nFROM cohorts AS c\nLEFT JOIN cohort_districts AS cd ON cd.cohort = c.cohort\nLEFT JOIN district AS d ON d.district_id = cd.district_id\nGROUP BY c.cohort, c.sort_order\nORDER BY c.sort_order;", "seconds": 24.39350129093509, "calls": [{"seconds": 2.6492462910246104, "usage": {"completion_tokens": 80, "prompt_tokens": 1706, "total_tokens": 1786, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1159, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1159, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1159, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.134262040955946, "usage": {"completion_tokens": 18, "prompt_tokens": 2056, "total_tokens": 2074, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 350, "cached_tokens": 1159, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 350, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 350, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.6000298749422655, "usage": {"completion_tokens": 168, "prompt_tokens": 2104, "total_tokens": 2272, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 93, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1509, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.99584354099352, "usage": {"completion_tokens": 469, "prompt_tokens": 2393, "total_tokens": 2862, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 215, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 289, "cached_tokens": 1557, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 289, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 289, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.993103165994398, "usage": {"completion_tokens": 250, "prompt_tokens": 3130, "total_tokens": 3380, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 14, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 737, "cached_tokens": 1846, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 737, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 737, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0fadbadfceb49bc3f399519100384f704f042bdc90100ab75f7ed1149d227e44", "csv_sha256": "b3ba1861baf5edc79a17f456851ce7ec68c6c04c2f6b78b3a1adbc0210ff827c"} +{"instance_id": "bird240", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH speeds AS (\n SELECT\n MAX(CASE WHEN r.raceId = 853 THEN CAST(r.fastestLapSpeed AS REAL) END) AS speed_853,\n MAX(CASE WHEN r.raceId = 854 THEN CAST(r.fastestLapSpeed AS REAL) END) AS speed_854\n FROM results AS r\n JOIN drivers AS d ON d.driverId = r.driverId\n WHERE d.forename = 'Paul'\n AND d.surname = 'di Resta'\n AND r.raceId IN (853, 854)\n)\nSELECT ROUND(100.0 * (speed_853 - speed_854) / speed_854, 2) AS percentage_higher\nFROM speeds;\n```", "rows": 1, "sql": "WITH speeds AS (\n SELECT\n MAX(CASE WHEN r.raceId = 853 THEN CAST(r.fastestLapSpeed AS REAL) END) AS speed_853,\n MAX(CASE WHEN r.raceId = 854 THEN CAST(r.fastestLapSpeed AS REAL) END) AS speed_854\n FROM results AS r\n JOIN drivers AS d ON d.driverId = r.driverId\n WHERE d.forename = 'Paul'\n AND d.surname = 'di Resta'\n AND r.raceId IN (853, 854)\n)\nSELECT ROUND(100.0 * (speed_853 - speed_854) / speed_854, 2) AS percentage_higher\nFROM speeds;", "seconds": 11.893800458055921, "calls": [{"seconds": 2.437349457992241, "usage": {"completion_tokens": 50, "prompt_tokens": 1653, "total_tokens": 1703, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1088, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1088, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1088, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.510066167102195, "usage": {"completion_tokens": 221, "prompt_tokens": 1907, "total_tokens": 2128, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 45, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 254, "cached_tokens": 1088, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 254, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 254, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.91331633401569, "usage": {"completion_tokens": 159, "prompt_tokens": 2309, "total_tokens": 2468, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 402, "cached_tokens": 1342, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 402, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 402, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2fcf84e491581a4d3e707caacb8b1ed0108e3a1f3ac1a24f69f3ac65340f7747", "csv_sha256": "614aee262a3140ef1392a1d9f318d8721e4f43a7bf01981b0d15aa7019f33a68"} +{"instance_id": "bird241", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(100.0 * (COUNT(*) - COUNT(CASE WHEN re.position = 1 THEN 1 END)) / COUNT(*), 2) AS non_victory_percentage\nFROM results AS re\nJOIN drivers AS d ON d.driverId = re.driverId\nJOIN races AS ra ON ra.raceId = re.raceId\nWHERE d.forename = 'Lewis'\n AND d.surname = 'Hamilton'\n AND ra.year >= 2010;\n```", "rows": 1, "sql": "SELECT ROUND(100.0 * (COUNT(*) - COUNT(CASE WHEN re.position = 1 THEN 1 END)) / COUNT(*), 2) AS non_victory_percentage\nFROM results AS re\nJOIN drivers AS d ON d.driverId = re.driverId\nJOIN races AS ra ON ra.raceId = re.raceId\nWHERE d.forename = 'Lewis'\n AND d.surname = 'Hamilton'\n AND ra.year >= 2010;", "seconds": 10.779178791912273, "calls": [{"seconds": 3.201864833943546, "usage": {"completion_tokens": 80, "prompt_tokens": 1636, "total_tokens": 1716, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1071, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1071, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1071, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9366625839611515, "usage": {"completion_tokens": 142, "prompt_tokens": 2014, "total_tokens": 2156, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 23, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 378, "cached_tokens": 1071, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 378, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 378, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.615438082953915, "usage": {"completion_tokens": 120, "prompt_tokens": 2286, "total_tokens": 2406, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 12, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 272, "cached_tokens": 1449, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 272, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 272, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1dc899b697398025e54b0c586b1bfa523be8156bc455456da1640156854f5562", "csv_sha256": "906cdadc57c26af5b54852f087714b509b3cdc55e6c59d4a6cfcb62a9c908190"} +{"instance_id": "bird242", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH race_wins AS (\n SELECT driverId, COUNT(DISTINCT raceId) AS win_count\n FROM results\n WHERE position = 1\n GROUP BY driverId\n)\nSELECT d.forename AS first_name,\n d.surname AS last_name,\n d.nationality,\n (SELECT MAX(ds.points)\n FROM driverStandings AS ds\n WHERE ds.driverId = d.driverId) AS highest_standings_points\nFROM race_wins AS w\nJOIN drivers AS d ON d.driverId = w.driverId\nWHERE w.win_count = (SELECT MAX(win_count) FROM race_wins);\n```", "rows": 1, "sql": "WITH race_wins AS (\n SELECT driverId, COUNT(DISTINCT raceId) AS win_count\n FROM results\n WHERE position = 1\n GROUP BY driverId\n)\nSELECT d.forename AS first_name,\n d.surname AS last_name,\n d.nationality,\n (SELECT MAX(ds.points)\n FROM driverStandings AS ds\n WHERE ds.driverId = d.driverId) AS highest_standings_points\nFROM race_wins AS w\nJOIN drivers AS d ON d.driverId = w.driverId\nWHERE w.win_count = (SELECT MAX(win_count) FROM race_wins);", "seconds": 12.495346958050504, "calls": [{"seconds": 3.068167958059348, "usage": {"completion_tokens": 83, "prompt_tokens": 1641, "total_tokens": 1724, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1076, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1076, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1076, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.1727338338969275, "usage": {"completion_tokens": 216, "prompt_tokens": 2058, "total_tokens": 2274, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 61, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 417, "cached_tokens": 1076, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 417, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 417, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.224647208000533, "usage": {"completion_tokens": 138, "prompt_tokens": 2457, "total_tokens": 2595, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 399, "cached_tokens": 1493, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 399, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 399, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "c7610f77c3492f5b3cb03e2fe48797fb8a42f5c505afba08cb5307a7b3000620", "csv_sha256": "72132e11c0daba39c30f1cd16712f539c8a63ea59efb8d6f007fd3e9ab493f58"} +{"instance_id": "bird243", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH race_results AS (\n SELECT res.position, res.laps, res.milliseconds, res.statusId\n FROM races AS r\n JOIN results AS res ON res.raceId = r.raceId\n WHERE r.year = 1988 AND r.name = 'Australian Grand Prix'\n), winner AS (\n SELECT laps, milliseconds\n FROM race_results\n WHERE position = 1\n), last_finisher AS (\n SELECT rr.milliseconds\n FROM race_results AS rr\n JOIN winner AS w ON rr.laps = w.laps\n JOIN status AS s ON s.statusId = rr.statusId\n WHERE s.status = 'Finished'\n ORDER BY rr.position DESC\n LIMIT 1\n)\nSELECT ROUND(100.0 * (lf.milliseconds - w.milliseconds) / lf.milliseconds, 2) AS percentage_shorter\nFROM winner AS w\nCROSS JOIN last_finisher AS lf;\n```", "rows": 1, "sql": "WITH race_results AS (\n SELECT res.position, res.laps, res.milliseconds, res.statusId\n FROM races AS r\n JOIN results AS res ON res.raceId = r.raceId\n WHERE r.year = 1988 AND r.name = 'Australian Grand Prix'\n), winner AS (\n SELECT laps, milliseconds\n FROM race_results\n WHERE position = 1\n), last_finisher AS (\n SELECT rr.milliseconds\n FROM race_results AS rr\n JOIN winner AS w ON rr.laps = w.laps\n JOIN status AS s ON s.statusId = rr.statusId\n WHERE s.status = 'Finished'\n ORDER BY rr.position DESC\n LIMIT 1\n)\nSELECT ROUND(100.0 * (lf.milliseconds - w.milliseconds) / lf.milliseconds, 2) AS percentage_shorter\nFROM winner AS w\nCROSS JOIN last_finisher AS lf;", "seconds": 15.685206457972527, "calls": [{"seconds": 2.6599192910362035, "usage": {"completion_tokens": 66, "prompt_tokens": 1656, "total_tokens": 1722, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1091, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1091, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1091, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0311453338945284, "usage": {"completion_tokens": 91, "prompt_tokens": 1949, "total_tokens": 2040, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 293, "cached_tokens": 1091, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 293, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 293, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.498940041987225, "usage": {"completion_tokens": 260, "prompt_tokens": 2656, "total_tokens": 2916, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 41, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 707, "cached_tokens": 1384, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 707, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 707, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.455718209035695, "usage": {"completion_tokens": 214, "prompt_tokens": 3140, "total_tokens": 3354, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 10, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 484, "cached_tokens": 2091, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 484, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 484, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d76fa5e93eb161561a9d003563bcec8c305d6bc3e3d11fec5933dc30dbc48898", "csv_sha256": "973e37f1824d3ed5793f2ea6327ae42ab6de54384789e76b565a734c8d9c0d69"} +{"instance_id": "bird244", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(100.0 * AVG(CASE WHEN EXISTS (\n SELECT 1\n FROM results AS winner\n WHERE winner.raceId = entry.raceId\n AND winner.position = 1\n AND winner.laps = entry.laps\n) THEN 1.0 ELSE 0.0 END), 2) AS percentage\nFROM results AS entry\nJOIN drivers AS driver ON driver.driverId = entry.driverId\nJOIN races AS race ON race.raceId = entry.raceId\nWHERE driver.nationality = 'Japanese'\n AND race.year BETWEEN 2007 AND 2009;\n```", "rows": 1, "sql": "SELECT ROUND(100.0 * AVG(CASE WHEN EXISTS (\n SELECT 1\n FROM results AS winner\n WHERE winner.raceId = entry.raceId\n AND winner.position = 1\n AND winner.laps = entry.laps\n) THEN 1.0 ELSE 0.0 END), 2) AS percentage\nFROM results AS entry\nJOIN drivers AS driver ON driver.driverId = entry.driverId\nJOIN races AS race ON race.raceId = entry.raceId\nWHERE driver.nationality = 'Japanese'\n AND race.year BETWEEN 2007 AND 2009;", "seconds": 11.883803333039396, "calls": [{"seconds": 2.580754208029248, "usage": {"completion_tokens": 66, "prompt_tokens": 1642, "total_tokens": 1708, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1077, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1077, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1077, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.65028641698882, "usage": {"completion_tokens": 241, "prompt_tokens": 1978, "total_tokens": 2219, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 92, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 336, "cached_tokens": 1077, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 336, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 336, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.576914916979149, "usage": {"completion_tokens": 136, "prompt_tokens": 2375, "total_tokens": 2511, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 397, "cached_tokens": 1413, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 397, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 397, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8af8ca7f84b8350ff377abfce5eb772b604adaf590d11292881d07d3010e8911", "csv_sha256": "8d445dca6c1f11aa35195c9ec68208dbcaf784808a44e96739efd9952e7edb5c"} +{"instance_id": "bird245", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH winner_times AS (\n SELECT r.year, r.raceId, MIN(res.milliseconds) AS elapsed_ms\n FROM races AS r\n JOIN results AS res ON res.raceId = r.raceId\n WHERE r.year < 1975\n AND res.position = 1\n AND res.milliseconds IS NOT NULL\n GROUP BY r.year, r.raceId\n)\nSELECT year,\n ((SUM(elapsed_ms) + 5 * COUNT(*)) / (10 * COUNT(*))) / 100.0\n AS mean_winner_elapsed_seconds\nFROM winner_times\nGROUP BY year\nORDER BY year;\n```", "rows": 25, "sql": "WITH winner_times AS (\n SELECT r.year, r.raceId, MIN(res.milliseconds) AS elapsed_ms\n FROM races AS r\n JOIN results AS res ON res.raceId = r.raceId\n WHERE r.year < 1975\n AND res.position = 1\n AND res.milliseconds IS NOT NULL\n GROUP BY r.year, r.raceId\n)\nSELECT year,\n ((SUM(elapsed_ms) + 5 * COUNT(*)) / (10 * COUNT(*))) / 100.0\n AS mean_winner_elapsed_seconds\nFROM winner_times\nGROUP BY year\nORDER BY year;", "seconds": 33.81230712507386, "calls": [{"seconds": 2.508469916996546, "usage": {"completion_tokens": 65, "prompt_tokens": 1660, "total_tokens": 1725, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1095, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1095, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1095, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.075394665938802, "usage": {"completion_tokens": 163, "prompt_tokens": 1954, "total_tokens": 2117, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 32, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 294, "cached_tokens": 1095, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 294, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 294, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.1039046249352396, "usage": {"completion_tokens": 321, "prompt_tokens": 3139, "total_tokens": 3460, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 108, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1185, "cached_tokens": 1389, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1185, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1185, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.130101833958179, "usage": {"completion_tokens": 215, "prompt_tokens": 3670, "total_tokens": 3885, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 97, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 531, "cached_tokens": 2574, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 531, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 531, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8525228339713067, "usage": {"completion_tokens": 121, "prompt_tokens": 4067, "total_tokens": 4188, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 397, "cached_tokens": 3105, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 397, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 397, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.0368912919657305, "usage": {"completion_tokens": 233, "prompt_tokens": 4471, "total_tokens": 4704, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 77, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 404, "cached_tokens": 3502, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 404, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 404, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.0687244170112535, "usage": {"completion_tokens": 172, "prompt_tokens": 5095, "total_tokens": 5267, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 28, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 624, "cached_tokens": 3906, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 624, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 624, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "740cebd6fe495d96b24adb010b678a85bcc5ec91fca7031e73c7d823c2d0835a", "csv_sha256": "6375651b04fa26c45aeb7ba7fe207f8b8688f0901010c9f239c6453dc18752fb"} +{"instance_id": "bird246", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT 100.0 * COUNT(CASE WHEN d.dob < '1985-01-01' AND re.laps > 50 THEN 1 END)\n / NULLIF(COUNT(*), 0) AS percentage\nFROM results AS re\nJOIN races AS ra ON ra.raceId = re.raceId\nLEFT JOIN drivers AS d ON d.driverId = re.driverId\nWHERE ra.year BETWEEN 2000 AND 2005;\n```", "rows": 1, "sql": "SELECT 100.0 * COUNT(CASE WHEN d.dob < '1985-01-01' AND re.laps > 50 THEN 1 END)\n / NULLIF(COUNT(*), 0) AS percentage\nFROM results AS re\nJOIN races AS ra ON ra.raceId = re.raceId\nLEFT JOIN drivers AS d ON d.driverId = re.driverId\nWHERE ra.year BETWEEN 2000 AND 2005;", "seconds": 10.461250166990794, "calls": [{"seconds": 2.811471125110984, "usage": {"completion_tokens": 66, "prompt_tokens": 1643, "total_tokens": 1709, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1078, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1078, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1078, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.079991542035714, "usage": {"completion_tokens": 174, "prompt_tokens": 1979, "total_tokens": 2153, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 60, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 336, "cached_tokens": 1078, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 336, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 336, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.547405792050995, "usage": {"completion_tokens": 102, "prompt_tokens": 2279, "total_tokens": 2381, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 300, "cached_tokens": 1414, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 300, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 300, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8e0a890df92cec69639a45a33291a65910ee31d1b4e655588ab22c184cb3a75d", "csv_sha256": "db14abf9c70d8c13b10d9ad99998e673fce8f11e906f56c74a955be186ff082e"} +{"instance_id": "bird247", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH constructor_scores AS (\n SELECT cr.constructorId, SUM(cr.points) AS score\n FROM constructorResults AS cr\n JOIN races AS r ON r.raceId = cr.raceId\n WHERE r.name = 'Monaco Grand Prix'\n AND r.year BETWEEN 1980 AND 2010\n GROUP BY cr.constructorId\n)\nSELECT cs.score, c.name, c.nationality\nFROM constructor_scores AS cs\nJOIN constructors AS c ON c.constructorId = cs.constructorId\nWHERE cs.score = (SELECT MAX(score) FROM constructor_scores);\n```", "rows": 1, "sql": "WITH constructor_scores AS (\n SELECT cr.constructorId, SUM(cr.points) AS score\n FROM constructorResults AS cr\n JOIN races AS r ON r.raceId = cr.raceId\n WHERE r.name = 'Monaco Grand Prix'\n AND r.year BETWEEN 1980 AND 2010\n GROUP BY cr.constructorId\n)\nSELECT cs.score, c.name, c.nationality\nFROM constructor_scores AS cs\nJOIN constructors AS c ON c.constructorId = cs.constructorId\nWHERE cs.score = (SELECT MAX(score) FROM constructor_scores);", "seconds": 10.76481570804026, "calls": [{"seconds": 2.6415822909912094, "usage": {"completion_tokens": 68, "prompt_tokens": 1642, "total_tokens": 1710, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1077, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1077, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1077, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.505545708001591, "usage": {"completion_tokens": 163, "prompt_tokens": 1872, "total_tokens": 2035, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 24, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 230, "cached_tokens": 1077, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 230, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 230, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.601563125033863, "usage": {"completion_tokens": 125, "prompt_tokens": 2193, "total_tokens": 2318, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 321, "cached_tokens": 1307, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 321, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 321, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9eb2f42757a111befe326afacd0001d42abc835d6d2b50e43697ac9dea7fc812", "csv_sha256": "06eb77ca015ba12fbe74f9c8bfc064307a5178e68a9a97e82f372db204522602"} +{"instance_id": "bird248", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH q3_times AS (\n SELECT q.driverId,\n 60 * CAST(substr(q.q3, 1, instr(q.q3, ':') - 1) AS INTEGER)\n + CAST(substr(q.q3, instr(q.q3, ':') + 1) AS REAL) AS seconds\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n JOIN circuits AS c ON c.circuitId = r.circuitId\n WHERE r.year = 2008\n AND c.name = 'Marina Bay Street Circuit'\n AND instr(q.q3, ':') > 0\n)\nSELECT d.forename, d.surname\nFROM q3_times AS t\nJOIN drivers AS d ON d.driverId = t.driverId\nWHERE t.seconds = (SELECT MIN(seconds) FROM q3_times);\n```", "rows": 1, "sql": "WITH q3_times AS (\n SELECT q.driverId,\n 60 * CAST(substr(q.q3, 1, instr(q.q3, ':') - 1) AS INTEGER)\n + CAST(substr(q.q3, instr(q.q3, ':') + 1) AS REAL) AS seconds\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n JOIN circuits AS c ON c.circuitId = r.circuitId\n WHERE r.year = 2008\n AND c.name = 'Marina Bay Street Circuit'\n AND instr(q.q3, ':') > 0\n)\nSELECT d.forename, d.surname\nFROM q3_times AS t\nJOIN drivers AS d ON d.driverId = t.driverId\nWHERE t.seconds = (SELECT MIN(seconds) FROM q3_times);", "seconds": 14.393066875054501, "calls": [{"seconds": 4.5271963339764625, "usage": {"completion_tokens": 83, "prompt_tokens": 1639, "total_tokens": 1722, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1074, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1074, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1074, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.537189957918599, "usage": {"completion_tokens": 280, "prompt_tokens": 2000, "total_tokens": 2280, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 76, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 361, "cached_tokens": 1074, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 361, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 361, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.306145541951992, "usage": {"completion_tokens": 188, "prompt_tokens": 2494, "total_tokens": 2682, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 494, "cached_tokens": 1435, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 494, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 494, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6b38fbd8ee5865d217ee5a42669a6eeb2415dc8d3609db20b364787b73e05908", "csv_sha256": "1a64a7a38f118891547f1d24d81c6a02bf086986e8e1a6519eaf48c9515f3bfb"} +{"instance_id": "bird249", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT d.forename || ' ' || d.surname AS full_name\nFROM drivers AS d\nJOIN lapTimes AS lt ON lt.driverId = d.driverId\nWHERE lt.milliseconds IS NOT NULL\nGROUP BY d.driverId, d.forename, d.surname\nORDER BY MIN(lt.milliseconds) ASC, d.driverId ASC\nLIMIT 20;\n```", "rows": 20, "sql": "SELECT d.forename || ' ' || d.surname AS full_name\nFROM drivers AS d\nJOIN lapTimes AS lt ON lt.driverId = d.driverId\nWHERE lt.milliseconds IS NOT NULL\nGROUP BY d.driverId, d.forename, d.surname\nORDER BY MIN(lt.milliseconds) ASC, d.driverId ASC\nLIMIT 20;", "seconds": 10.437430209014565, "calls": [{"seconds": 2.6745686669601128, "usage": {"completion_tokens": 51, "prompt_tokens": 1638, "total_tokens": 1689, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1073, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1073, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1073, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.165990249952301, "usage": {"completion_tokens": 142, "prompt_tokens": 1812, "total_tokens": 1954, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 48, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 174, "cached_tokens": 1073, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 174, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 174, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2723527499474585, "usage": {"completion_tokens": 83, "prompt_tokens": 2153, "total_tokens": 2236, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 341, "cached_tokens": 1247, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 341, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 341, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9b7b9dd5f7a46555c01dac9e2c74bdd3e923f81089728f4af237c60a142df6f5", "csv_sha256": "bb91c60dd6f1d037a05b19508387cc055a6cc7a0f3a519f11e3780064baaa63d"} +{"instance_id": "bird250", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH fastest_laps AS (\n SELECT c.circuitId, c.name, MIN(l.milliseconds) AS lap_ms\n FROM circuits AS c\n JOIN races AS r ON r.circuitId = c.circuitId\n JOIN lapTimes AS l ON l.raceId = r.raceId\n WHERE c.country = 'Italy'\n AND l.milliseconds IS NOT NULL\n GROUP BY c.circuitId, c.name\n)\nSELECT name AS circuit_name,\n printf('%d:%02d.%03d', lap_ms / 60000, (lap_ms / 1000) % 60, lap_ms % 1000) AS fastest_lap_time\nFROM fastest_laps\nORDER BY circuit_name;\n```", "rows": 2, "sql": "WITH fastest_laps AS (\n SELECT c.circuitId, c.name, MIN(l.milliseconds) AS lap_ms\n FROM circuits AS c\n JOIN races AS r ON r.circuitId = c.circuitId\n JOIN lapTimes AS l ON l.raceId = r.raceId\n WHERE c.country = 'Italy'\n AND l.milliseconds IS NOT NULL\n GROUP BY c.circuitId, c.name\n)\nSELECT name AS circuit_name,\n printf('%d:%02d.%03d', lap_ms / 60000, (lap_ms / 1000) % 60, lap_ms % 1000) AS fastest_lap_time\nFROM fastest_laps\nORDER BY circuit_name;", "seconds": 11.886507209041156, "calls": [{"seconds": 2.75833808304742, "usage": {"completion_tokens": 68, "prompt_tokens": 1643, "total_tokens": 1711, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1078, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1078, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1078, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.959613792016171, "usage": {"completion_tokens": 209, "prompt_tokens": 1898, "total_tokens": 2107, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 34, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1078, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9847300419351086, "usage": {"completion_tokens": 160, "prompt_tokens": 2324, "total_tokens": 2484, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 426, "cached_tokens": 1333, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 426, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 426, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9c3142a0e8cb46106dac063aec0f4b80883d2e1aa352e0680412c735876d0291", "csv_sha256": "7f0508325330ed4b9aaee999ac361fcc3d1537859839c36d616d5936c8d88f95"} +{"instance_id": "bird251", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH pit_stops_per_race AS (\n SELECT r.raceId, COUNT(p.raceId) AS pit_stop_count\n FROM races AS r\n LEFT JOIN pitStops AS p ON p.raceId = r.raceId\n WHERE r.year = 2017\n AND NOT EXISTS (\n SELECT 1\n FROM races AS r2000\n WHERE r2000.year = 2000\n AND r2000.name = r.name\n )\n GROUP BY r.raceId\n)\nSELECT ROUND(AVG(pit_stop_count), 2) AS average_pit_stops_per_race\nFROM pit_stops_per_race;\n```", "rows": 1, "sql": "WITH pit_stops_per_race AS (\n SELECT r.raceId, COUNT(p.raceId) AS pit_stop_count\n FROM races AS r\n LEFT JOIN pitStops AS p ON p.raceId = r.raceId\n WHERE r.year = 2017\n AND NOT EXISTS (\n SELECT 1\n FROM races AS r2000\n WHERE r2000.year = 2000\n AND r2000.name = r.name\n )\n GROUP BY r.raceId\n)\nSELECT ROUND(AVG(pit_stop_count), 2) AS average_pit_stops_per_race\nFROM pit_stops_per_race;", "seconds": 10.224555708002299, "calls": [{"seconds": 2.254471124964766, "usage": {"completion_tokens": 52, "prompt_tokens": 1689, "total_tokens": 1741, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1124, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1124, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1124, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9983035000041127, "usage": {"completion_tokens": 185, "prompt_tokens": 1870, "total_tokens": 2055, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 21, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 181, "cached_tokens": 1124, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 181, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 181, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.955693625030108, "usage": {"completion_tokens": 148, "prompt_tokens": 2230, "total_tokens": 2378, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 360, "cached_tokens": 1305, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 360, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 360, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0b250af798ae0b0aef62369f8985a23fee5dde26a3314a280e31b91de6a81cfe", "csv_sha256": "96c7f607461bf0f285b01f5f74318172703de076ce8ce3309ca136a977bfd3db"} +{"instance_id": "bird252", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT d.forename,\n d.surname,\n d.url,\n d.dob,\n COUNT(NULLIF(TRIM(q.q3), '')) AS q3_count\nFROM drivers AS d\nLEFT JOIN qualifying AS q ON q.driverId = d.driverId\nWHERE d.nationality = 'German'\n AND d.dob >= '1971-01-01'\n AND d.dob < '1986-01-01'\nGROUP BY d.driverId, d.forename, d.surname, d.url, d.dob\nORDER BY q3_count DESC, d.dob ASC;\n```", "rows": 7, "sql": "SELECT d.forename,\n d.surname,\n d.url,\n d.dob,\n COUNT(NULLIF(TRIM(q.q3), '')) AS q3_count\nFROM drivers AS d\nLEFT JOIN qualifying AS q ON q.driverId = d.driverId\nWHERE d.nationality = 'German'\n AND d.dob >= '1971-01-01'\n AND d.dob < '1986-01-01'\nGROUP BY d.driverId, d.forename, d.surname, d.url, d.dob\nORDER BY q3_count DESC, d.dob ASC;", "seconds": 16.067919375025667, "calls": [{"seconds": 2.6051456250716, "usage": {"completion_tokens": 51, "prompt_tokens": 1772, "total_tokens": 1823, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1207, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1207, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1207, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.319885874981992, "usage": {"completion_tokens": 130, "prompt_tokens": 1968, "total_tokens": 2098, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 196, "cached_tokens": 1207, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 196, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 196, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.998704458936118, "usage": {"completion_tokens": 224, "prompt_tokens": 2257, "total_tokens": 2481, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 79, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 289, "cached_tokens": 1403, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 289, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 289, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.119932665955275, "usage": {"completion_tokens": 162, "prompt_tokens": 2857, "total_tokens": 3019, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 27, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 600, "cached_tokens": 1692, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 600, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 600, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ad360b1cb3170af3d47840bb51ae90f213c9b67f8012191a5e843fdbe75fd231", "csv_sha256": "38ed6a7a94d6c21695df28b479c5d9d2b22c0b8c92b49091f889bbb48d7dceb9"} +{"instance_id": "bird253", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH q1_times AS (\n SELECT q.driverId, q.q1,\n 60 * CAST(SUBSTR(q.q1, 1, INSTR(q.q1, ':') - 1) AS INTEGER)\n + CAST(SUBSTR(q.q1, INSTR(q.q1, ':') + 1) AS REAL) AS elapsed_seconds\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n WHERE r.year = 1995\n AND r.name = 'Japanese Grand Prix'\n AND INSTR(q.q1, ':') > 0\n)\nSELECT d.driverRef, d.nationality, d.dob, t.q1\nFROM q1_times AS t\nJOIN drivers AS d ON d.driverId = t.driverId\nWHERE t.elapsed_seconds = (SELECT MAX(elapsed_seconds) FROM q1_times);\n```", "rows": 1, "sql": "WITH q1_times AS (\n SELECT q.driverId, q.q1,\n 60 * CAST(SUBSTR(q.q1, 1, INSTR(q.q1, ':') - 1) AS INTEGER)\n + CAST(SUBSTR(q.q1, INSTR(q.q1, ':') + 1) AS REAL) AS elapsed_seconds\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n WHERE r.year = 1995\n AND r.name = 'Japanese Grand Prix'\n AND INSTR(q.q1, ':') > 0\n)\nSELECT d.driverRef, d.nationality, d.dob, t.q1\nFROM q1_times AS t\nJOIN drivers AS d ON d.driverId = t.driverId\nWHERE t.elapsed_seconds = (SELECT MAX(elapsed_seconds) FROM q1_times);", "seconds": 14.212114250054583, "calls": [{"seconds": 2.6478110420284793, "usage": {"completion_tokens": 67, "prompt_tokens": 1774, "total_tokens": 1841, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1209, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1209, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1209, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.974207999999635, "usage": {"completion_tokens": 300, "prompt_tokens": 2052, "total_tokens": 2352, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 90, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1209, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.573386540985666, "usage": {"completion_tokens": 194, "prompt_tokens": 2597, "total_tokens": 2791, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 545, "cached_tokens": 1487, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 545, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 545, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a5cc30fb94551813a8d6abe34f093e656e5c579db89701b4eb04b6b68cea63d9", "csv_sha256": "8551079cdd0e81924c875914350c50f4448f48df94f659037237d97991595d68"} +{"instance_id": "bird254", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH q1_times AS (\n SELECT q.driverId,\n 60000 * CAST(substr(q.q1, 1, instr(q.q1, ':') - 1) AS INTEGER)\n + CAST(replace(substr(q.q1, instr(q.q1, ':') + 1), '.', '') AS INTEGER) AS q1_ms\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n WHERE r.year = 1995\n AND r.name = 'Japanese Grand Prix'\n AND q.q1 GLOB '[0-9]*:[0-9][0-9].[0-9][0-9][0-9]'\n)\nSELECT d.nationality\nFROM q1_times AS t\nJOIN drivers AS d ON d.driverId = t.driverId\nWHERE t.q1_ms = (SELECT MAX(q1_ms) FROM q1_times);\n```", "rows": 1, "sql": "WITH q1_times AS (\n SELECT q.driverId,\n 60000 * CAST(substr(q.q1, 1, instr(q.q1, ':') - 1) AS INTEGER)\n + CAST(replace(substr(q.q1, instr(q.q1, ':') + 1), '.', '') AS INTEGER) AS q1_ms\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n WHERE r.year = 1995\n AND r.name = 'Japanese Grand Prix'\n AND q.q1 GLOB '[0-9]*:[0-9][0-9].[0-9][0-9][0-9]'\n)\nSELECT d.nationality\nFROM q1_times AS t\nJOIN drivers AS d ON d.driverId = t.driverId\nWHERE t.q1_ms = (SELECT MAX(q1_ms) FROM q1_times);", "seconds": 18.25958629208617, "calls": [{"seconds": 2.702509875060059, "usage": {"completion_tokens": 67, "prompt_tokens": 1672, "total_tokens": 1739, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1107, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1107, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1107, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.207529040984809, "usage": {"completion_tokens": 144, "prompt_tokens": 1950, "total_tokens": 2094, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 82, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1107, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.853114958968945, "usage": {"completion_tokens": 275, "prompt_tokens": 2306, "total_tokens": 2581, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 59, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 356, "cached_tokens": 1385, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 356, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 356, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.470606917049736, "usage": {"completion_tokens": 198, "prompt_tokens": 2798, "total_tokens": 2996, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 492, "cached_tokens": 1741, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 492, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 492, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ee3301c4bacd9000c2e5981bdc934037050a6c79771eec380074830c7511f001", "csv_sha256": "135f917111645dd9fe0082bee9877a5e7781ad86223a35cbfa4b0b9d320daec7"} +{"instance_id": "bird255", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH q1_times AS (\n SELECT q.driverId, q.q1,\n ROUND(1000 * (\n CASE WHEN INSTR(q.q1, ':') > 0 THEN\n 60 * CAST(SUBSTR(q.q1, 1, INSTR(q.q1, ':') - 1) AS INTEGER)\n + CAST(SUBSTR(q.q1, INSTR(q.q1, ':') + 1) AS REAL)\n ELSE CAST(q.q1 AS REAL)\n END\n )) AS q1_ms\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n WHERE r.year = 1995\n AND r.name = 'Japanese Grand Prix'\n AND q.q1 GLOB '[0-9]*'\n)\nSELECT d.forename, d.surname, t.q1\nFROM q1_times AS t\nJOIN drivers AS d ON d.driverId = t.driverId\nWHERE t.q1_ms = (SELECT MIN(q1_ms) FROM q1_times);\n```", "rows": 1, "sql": "WITH q1_times AS (\n SELECT q.driverId, q.q1,\n ROUND(1000 * (\n CASE WHEN INSTR(q.q1, ':') > 0 THEN\n 60 * CAST(SUBSTR(q.q1, 1, INSTR(q.q1, ':') - 1) AS INTEGER)\n + CAST(SUBSTR(q.q1, INSTR(q.q1, ':') + 1) AS REAL)\n ELSE CAST(q.q1 AS REAL)\n END\n )) AS q1_ms\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n WHERE r.year = 1995\n AND r.name = 'Japanese Grand Prix'\n AND q.q1 GLOB '[0-9]*'\n)\nSELECT d.forename, d.surname, t.q1\nFROM q1_times AS t\nJOIN drivers AS d ON d.driverId = t.driverId\nWHERE t.q1_ms = (SELECT MIN(q1_ms) FROM q1_times);", "seconds": 19.061857666936703, "calls": [{"seconds": 2.40204954193905, "usage": {"completion_tokens": 67, "prompt_tokens": 1709, "total_tokens": 1776, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1144, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1144, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1144, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.757891749963164, "usage": {"completion_tokens": 519, "prompt_tokens": 1987, "total_tokens": 2506, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 272, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1144, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.876395625062287, "usage": {"completion_tokens": 249, "prompt_tokens": 2770, "total_tokens": 3019, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 20, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 783, "cached_tokens": 1422, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 783, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 783, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "c5ccce0ac5d8b29ed9b2e6429bd9d958bf8fb9ded5a8087b4f86144aec8bec4c", "csv_sha256": "102fb6e061ec9a3e87c35edb82c36d698dd863b8d15da3531e91581a906b1119"} +{"instance_id": "bird256", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT opponent.driverId) AS drivers_outqualified\nFROM qualifying AS lucas\nJOIN drivers AS d ON d.driverId = lucas.driverId\nJOIN races AS r ON r.raceId = lucas.raceId\nJOIN qualifying AS opponent\n ON opponent.raceId = lucas.raceId\n AND opponent.driverId <> lucas.driverId\n AND opponent.position > lucas.position\nWHERE d.forename = 'Lucas' COLLATE NOCASE\n AND d.surname = 'di Grassi' COLLATE NOCASE\n AND r.date >= '2010-01-01'\n AND r.date < '2011-01-01';\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT opponent.driverId) AS drivers_outqualified\nFROM qualifying AS lucas\nJOIN drivers AS d ON d.driverId = lucas.driverId\nJOIN races AS r ON r.raceId = lucas.raceId\nJOIN qualifying AS opponent\n ON opponent.raceId = lucas.raceId\n AND opponent.driverId <> lucas.driverId\n AND opponent.position > lucas.position\nWHERE d.forename = 'Lucas' COLLATE NOCASE\n AND d.surname = 'di Grassi' COLLATE NOCASE\n AND r.date >= '2010-01-01'\n AND r.date < '2011-01-01';", "seconds": 11.608085624990053, "calls": [{"seconds": 3.006298499996774, "usage": {"completion_tokens": 67, "prompt_tokens": 1721, "total_tokens": 1788, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1156, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1156, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1156, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.839413332985714, "usage": {"completion_tokens": 238, "prompt_tokens": 1999, "total_tokens": 2237, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 77, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1156, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7421884160721675, "usage": {"completion_tokens": 149, "prompt_tokens": 2406, "total_tokens": 2555, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 407, "cached_tokens": 1434, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 407, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 407, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0b441c79d271bc6b079286f3a5b9e2afcd87d8040986b7066a1d2ffc3b42c5e0", "csv_sha256": "1e0ab5786938f36fcb8aaf9d165168f00584f3501db9c2184d3c666e33c12018"} +{"instance_id": "bird257", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH q2_times AS (\n SELECT q.driverId, q.q2\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n WHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND q.q2 NOT IN ('', '\\N')\n)\nSELECT d.nationality\nFROM q2_times AS t\nJOIN drivers AS d ON d.driverId = t.driverId\nWHERE t.q2 = (SELECT MIN(q2) FROM q2_times);\n```", "rows": 1, "sql": "WITH q2_times AS (\n SELECT q.driverId, q.q2\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n WHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND q.q2 NOT IN ('', '\\N')\n)\nSELECT d.nationality\nFROM q2_times AS t\nJOIN drivers AS d ON d.driverId = t.driverId\nWHERE t.q2 = (SELECT MIN(q2) FROM q2_times);", "seconds": 11.11497795896139, "calls": [{"seconds": 2.3769655419746414, "usage": {"completion_tokens": 67, "prompt_tokens": 1735, "total_tokens": 1802, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1170, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1170, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1170, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.2506669589784, "usage": {"completion_tokens": 228, "prompt_tokens": 2013, "total_tokens": 2241, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 92, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1170, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.472057666978799, "usage": {"completion_tokens": 120, "prompt_tokens": 2380, "total_tokens": 2500, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 367, "cached_tokens": 1448, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 367, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 367, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f077178855b1d03efb2d48fef7eb7bbeb31ccb8d724994a2a770195c272eb025", "csv_sha256": "135f917111645dd9fe0082bee9877a5e7781ad86223a35cbfa4b0b9d320daec7"} +{"instance_id": "bird258", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT d.forename, COUNT(DISTINCT d.driverId) AS runner_up_count\nFROM races AS r\nJOIN results AS res ON res.raceId = r.raceId\nJOIN drivers AS d ON d.driverId = res.driverId\nWHERE r.name = 'Italian Grand Prix'\n AND res.position = 2\nGROUP BY d.forename\nHAVING COUNT(DISTINCT d.driverId) >= 2\nORDER BY runner_up_count DESC, d.forename ASC;\n```", "rows": 2, "sql": "SELECT d.forename, COUNT(DISTINCT d.driverId) AS runner_up_count\nFROM races AS r\nJOIN results AS res ON res.raceId = r.raceId\nJOIN drivers AS d ON d.driverId = res.driverId\nWHERE r.name = 'Italian Grand Prix'\n AND res.position = 2\nGROUP BY d.forename\nHAVING COUNT(DISTINCT d.driverId) >= 2\nORDER BY runner_up_count DESC, d.forename ASC;", "seconds": 10.568131292006, "calls": [{"seconds": 2.7050234579946846, "usage": {"completion_tokens": 66, "prompt_tokens": 1743, "total_tokens": 1809, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1178, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1178, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1178, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.429028000100516, "usage": {"completion_tokens": 163, "prompt_tokens": 2079, "total_tokens": 2242, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 43, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 336, "cached_tokens": 1178, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 336, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 336, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4167993750888854, "usage": {"completion_tokens": 108, "prompt_tokens": 2383, "total_tokens": 2491, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 304, "cached_tokens": 1514, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 304, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 304, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e4d8aea3b1414a9bfbf29233a927d0de40c33308ce5b6cc7e043b4e1370ee7c3", "csv_sha256": "59bda813e0b254e27693419964df3501322adbc07ab33904365a6bbc852dfbf7"} +{"instance_id": "bird259", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT d.forename,\n d.surname,\n strftime('%H:%M:%f', r.date || ' ' || r.time,\n '+4 hours', '+' || (res.milliseconds / 1000.0) || ' seconds') AS local_finish_time,\n d.url\nFROM races AS r\nJOIN results AS res ON res.raceId = r.raceId\nJOIN drivers AS d ON d.driverId = res.driverId\nWHERE r.year = 2017\n AND r.name = 'Azerbaijan Grand Prix'\n AND res.position = 1;\n```", "rows": 1, "sql": "SELECT d.forename,\n d.surname,\n strftime('%H:%M:%f', r.date || ' ' || r.time,\n '+4 hours', '+' || (res.milliseconds / 1000.0) || ' seconds') AS local_finish_time,\n d.url\nFROM races AS r\nJOIN results AS res ON res.raceId = r.raceId\nJOIN drivers AS d ON d.driverId = res.driverId\nWHERE r.year = 2017\n AND r.name = 'Azerbaijan Grand Prix'\n AND res.position = 1;", "seconds": 20.99872354103718, "calls": [{"seconds": 2.948155041085556, "usage": {"completion_tokens": 82, "prompt_tokens": 1705, "total_tokens": 1787, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1140, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1140, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1140, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.1312648330349475, "usage": {"completion_tokens": 222, "prompt_tokens": 2124, "total_tokens": 2346, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 91, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 419, "cached_tokens": 1140, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 419, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 419, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.880861332989298, "usage": {"completion_tokens": 368, "prompt_tokens": 2570, "total_tokens": 2938, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 222, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 446, "cached_tokens": 1559, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 446, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 446, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.009960833005607, "usage": {"completion_tokens": 130, "prompt_tokens": 3128, "total_tokens": 3258, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 558, "cached_tokens": 2005, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 558, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 558, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f3dd575b2f5276e97e87cfe3471bd08e7315368559c9acc545db380ddebbdb14", "csv_sha256": "047b671903b357c99425d820abdd158cf26067eac363d5aad72a9561d3ec6d61"} +{"instance_id": "bird260", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT d.driverRef, d.nationality, d.dob\nFROM qualifying AS q\nJOIN races AS r ON r.raceId = q.raceId\nJOIN drivers AS d ON d.driverId = q.driverId\nWHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND NULLIF(TRIM(q.q2), '') IS NOT NULL\n AND NULLIF(TRIM(q.q3), '') IS NULL;\n```", "rows": 5, "sql": "SELECT d.driverRef, d.nationality, d.dob\nFROM qualifying AS q\nJOIN races AS r ON r.raceId = q.raceId\nJOIN drivers AS d ON d.driverId = q.driverId\nWHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND NULLIF(TRIM(q.q2), '') IS NOT NULL\n AND NULLIF(TRIM(q.q3), '') IS NULL;", "seconds": 13.65360600000713, "calls": [{"seconds": 2.938547582947649, "usage": {"completion_tokens": 67, "prompt_tokens": 1742, "total_tokens": 1809, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1177, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1177, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1177, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.749567750026472, "usage": {"completion_tokens": 63, "prompt_tokens": 2020, "total_tokens": 2083, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1177, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.125266709015705, "usage": {"completion_tokens": 150, "prompt_tokens": 2330, "total_tokens": 2480, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 36, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 310, "cached_tokens": 1455, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 310, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 310, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.819039582973346, "usage": {"completion_tokens": 102, "prompt_tokens": 2675, "total_tokens": 2777, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 345, "cached_tokens": 1765, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 345, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 345, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b9752427028f8b56cce1077731c4c2dbc121e10052b79117d30605b309468e97", "csv_sha256": "6630424757809e61c2f25f997a93f87f85afbf229e84c44e593aa67de1daa8ee"} +{"instance_id": "bird261", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH q2_times AS (\n SELECT q.driverId,\n 60 * CAST(substr(q.q2, 1, instr(q.q2, ':') - 1) AS INTEGER)\n + CAST(substr(q.q2, instr(q.q2, ':') + 1) AS REAL) AS q2_seconds\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n WHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND instr(q.q2, ':') > 0\n), ranked AS (\n SELECT driverId, DENSE_RANK() OVER (ORDER BY q2_seconds) AS time_rank\n FROM q2_times\n)\nSELECT d.nationality\nFROM ranked AS q\nJOIN drivers AS d ON d.driverId = q.driverId\nWHERE q.time_rank = 2;\n```", "rows": 1, "sql": "WITH q2_times AS (\n SELECT q.driverId,\n 60 * CAST(substr(q.q2, 1, instr(q.q2, ':') - 1) AS INTEGER)\n + CAST(substr(q.q2, instr(q.q2, ':') + 1) AS REAL) AS q2_seconds\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n WHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND instr(q.q2, ':') > 0\n), ranked AS (\n SELECT driverId, DENSE_RANK() OVER (ORDER BY q2_seconds) AS time_rank\n FROM q2_times\n)\nSELECT d.nationality\nFROM ranked AS q\nJOIN drivers AS d ON d.driverId = q.driverId\nWHERE q.time_rank = 2;", "seconds": 13.531327834003605, "calls": [{"seconds": 2.4072029169183224, "usage": {"completion_tokens": 67, "prompt_tokens": 1696, "total_tokens": 1763, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1131, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1131, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1131, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.753193291951902, "usage": {"completion_tokens": 320, "prompt_tokens": 1974, "total_tokens": 2294, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 110, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1131, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.3533892090199515, "usage": {"completion_tokens": 193, "prompt_tokens": 2507, "total_tokens": 2700, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 533, "cached_tokens": 1409, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 533, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 533, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5fdba89d1dcc62978023438412fda05bf4fb08216324ae79093eb97a47d20c71", "csv_sha256": "2115b3c4f6e3e177f7492dd6d3cca98799acccd811932e90b963c09ce317be72"} +{"instance_id": "bird262", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT q.driverId) AS driver_count\nFROM qualifying AS q\nJOIN races AS r ON r.raceId = q.raceId\nWHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND INSTR(q.q2, ':') > 0\n AND 60 * CAST(SUBSTR(q.q2, 1, INSTR(q.q2, ':') - 1) AS INTEGER)\n + CAST(SUBSTR(q.q2, INSTR(q.q2, ':') + 1) AS REAL) < 100;\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT q.driverId) AS driver_count\nFROM qualifying AS q\nJOIN races AS r ON r.raceId = q.raceId\nWHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND INSTR(q.q2, ':') > 0\n AND 60 * CAST(SUBSTR(q.q2, 1, INSTR(q.q2, ':') - 1) AS INTEGER)\n + CAST(SUBSTR(q.q2, INSTR(q.q2, ':') + 1) AS REAL) < 100;", "seconds": 11.777648041956127, "calls": [{"seconds": 2.4549867920577526, "usage": {"completion_tokens": 52, "prompt_tokens": 1660, "total_tokens": 1712, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1095, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1095, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1095, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.674160750000738, "usage": {"completion_tokens": 224, "prompt_tokens": 1854, "total_tokens": 2078, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 78, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 194, "cached_tokens": 1095, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 194, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 194, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.633311334066093, "usage": {"completion_tokens": 133, "prompt_tokens": 2230, "total_tokens": 2363, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 376, "cached_tokens": 1289, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 376, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 376, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "765b075cf44fd0724bf079ea7847d3657af2d636bbbd5a218b80f97c1d8d8c1d", "csv_sha256": "08eca44e05be26ae5ca783ef75884f18d0b6b70b479609172e0d55fb0959203e"} +{"instance_id": "bird263", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT c.name AS racetrack_name,\n c.location,\n c.country,\n r.year AS season_year,\n p.duration AS pit_stop_length\nFROM pitStops AS p\nJOIN races AS r ON r.raceId = p.raceId\nJOIN circuits AS c ON c.circuitId = r.circuitId\nWHERE p.milliseconds = (SELECT MAX(milliseconds) FROM pitStops);\n```", "rows": 1, "sql": "SELECT c.name AS racetrack_name,\n c.location,\n c.country,\n r.year AS season_year,\n p.duration AS pit_stop_length\nFROM pitStops AS p\nJOIN races AS r ON r.raceId = p.raceId\nJOIN circuits AS c ON c.circuitId = r.circuitId\nWHERE p.milliseconds = (SELECT MAX(milliseconds) FROM pitStops);", "seconds": 12.701553000020795, "calls": [{"seconds": 2.7836722920183092, "usage": {"completion_tokens": 68, "prompt_tokens": 1717, "total_tokens": 1785, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1152, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1152, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1152, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.72118162503466, "usage": {"completion_tokens": 285, "prompt_tokens": 1981, "total_tokens": 2266, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 181, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 264, "cached_tokens": 1152, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 264, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 264, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.176049083005637, "usage": {"completion_tokens": 89, "prompt_tokens": 2415, "total_tokens": 2504, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 434, "cached_tokens": 1416, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 434, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 434, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "cba98ffa1abf28087231f7000162294128688affdefe0d84f29d81a08ed21aa5", "csv_sha256": "2f7c9db5f773e9a9fcec2ac10ea71092ad57f5da8d73f62c3bce5f2c368699fb"} +{"instance_id": "bird264", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH driver_q3_counts AS (\n SELECT d.driverId, COUNT(NULLIF(TRIM(q.q3), '')) AS q3_count\n FROM drivers AS d\n LEFT JOIN qualifying AS q ON q.driverId = d.driverId\n WHERE d.dob >= '1981-01-01' AND d.dob < '1992-01-01'\n GROUP BY d.driverId\n)\nSELECT ROUND(AVG(q3_count), 2) AS average_q3_lap_times\nFROM driver_q3_counts;\n```", "rows": 1, "sql": "WITH driver_q3_counts AS (\n SELECT d.driverId, COUNT(NULLIF(TRIM(q.q3), '')) AS q3_count\n FROM drivers AS d\n LEFT JOIN qualifying AS q ON q.driverId = d.driverId\n WHERE d.dob >= '1981-01-01' AND d.dob < '1992-01-01'\n GROUP BY d.driverId\n)\nSELECT ROUND(AVG(q3_count), 2) AS average_q3_lap_times\nFROM driver_q3_counts;", "seconds": 15.278256042045541, "calls": [{"seconds": 2.306963417096995, "usage": {"completion_tokens": 51, "prompt_tokens": 1726, "total_tokens": 1777, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1161, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1161, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1161, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.731949333916418, "usage": {"completion_tokens": 144, "prompt_tokens": 1922, "total_tokens": 2066, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 64, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 196, "cached_tokens": 1161, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 196, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 196, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.728250749991275, "usage": {"completion_tokens": 180, "prompt_tokens": 2159, "total_tokens": 2339, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 48, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 237, "cached_tokens": 1357, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 237, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 237, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4884605000261217, "usage": {"completion_tokens": 118, "prompt_tokens": 2482, "total_tokens": 2600, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 323, "cached_tokens": 1594, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 323, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 323, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f6626ae2508a8a3cf1a595cd33c3a6acecfae64666eda6f9a069b4c63af1ef8f", "csv_sha256": "7bd4d6ff6f0f2bf1713dcb0fd42f672d0e2b77f4e5d779f9fc6e9e13d1b67be0"} +{"instance_id": "bird265", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS qualifying_count\nFROM qualifying AS q\nJOIN drivers AS d ON d.driverId = q.driverId\nWHERE d.code IS NULL\n AND EXISTS (\n SELECT 1\n FROM drivers AS other\n WHERE other.forename = d.forename\n AND other.driverId <> d.driverId\n )\n AND INSTR(q.q1, ':') > 0\n AND 60 * CAST(SUBSTR(q.q1, 1, INSTR(q.q1, ':') - 1) AS INTEGER)\n + CAST(SUBSTR(q.q1, INSTR(q.q1, ':') + 1) AS REAL) > 120;\n```", "rows": 1, "sql": "SELECT COUNT(*) AS qualifying_count\nFROM qualifying AS q\nJOIN drivers AS d ON d.driverId = q.driverId\nWHERE d.code IS NULL\n AND EXISTS (\n SELECT 1\n FROM drivers AS other\n WHERE other.forename = d.forename\n AND other.driverId <> d.driverId\n )\n AND INSTR(q.q1, ':') > 0\n AND 60 * CAST(SUBSTR(q.q1, 1, INSTR(q.q1, ':') - 1) AS INTEGER)\n + CAST(SUBSTR(q.q1, INSTR(q.q1, ':') + 1) AS REAL) > 120;", "seconds": 14.189187000039965, "calls": [{"seconds": 2.071184083004482, "usage": {"completion_tokens": 51, "prompt_tokens": 1734, "total_tokens": 1785, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1169, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1169, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1169, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.229932124959305, "usage": {"completion_tokens": 185, "prompt_tokens": 1930, "total_tokens": 2115, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 61, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 196, "cached_tokens": 1169, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 196, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 196, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9905936249997467, "usage": {"completion_tokens": 163, "prompt_tokens": 2287, "total_tokens": 2450, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 357, "cached_tokens": 1365, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 357, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 357, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.874991709017195, "usage": {"completion_tokens": 150, "prompt_tokens": 2620, "total_tokens": 2770, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 333, "cached_tokens": 1722, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 333, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 333, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ebe5a6557a8efba3df2c9dad5794fe21ffd4d96ff2f0359f62488d168c59f83b", "csv_sha256": "c463a0ad93c17455c1a5452dd2a71dd1e2be196b8848cb0e88393bd36197f6a5"} +{"instance_id": "bird266", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n d.driverRef,\n COALESCE(SUM(r.points), 0.0) AS total_points\nFROM drivers AS d\nLEFT JOIN results AS r\n ON r.driverId = d.driverId\n AND EXISTS (\n SELECT 1\n FROM lapTimes AS lt\n WHERE lt.driverId = r.driverId\n AND lt.raceId = r.raceId\n )\nWHERE d.forename = 'Robert'\nGROUP BY d.driverId, d.driverRef;\n```", "rows": 5, "sql": "SELECT\n d.driverRef,\n COALESCE(SUM(r.points), 0.0) AS total_points\nFROM drivers AS d\nLEFT JOIN results AS r\n ON r.driverId = d.driverId\n AND EXISTS (\n SELECT 1\n FROM lapTimes AS lt\n WHERE lt.driverId = r.driverId\n AND lt.raceId = r.raceId\n )\nWHERE d.forename = 'Robert'\nGROUP BY d.driverId, d.driverRef;", "seconds": 10.883257458917797, "calls": [{"seconds": 2.8234525829320773, "usage": {"completion_tokens": 66, "prompt_tokens": 1711, "total_tokens": 1777, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1146, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1146, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1146, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.470114458934404, "usage": {"completion_tokens": 174, "prompt_tokens": 2033, "total_tokens": 2207, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 46, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 322, "cached_tokens": 1146, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 322, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 322, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5495359589112923, "usage": {"completion_tokens": 112, "prompt_tokens": 2383, "total_tokens": 2495, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 350, "cached_tokens": 1468, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 350, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 350, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "198f0de11b4baa59660518a0b290493cb92a907ebf319b6dd2ad4e5827a225c3", "csv_sha256": "c5837498655186a452780bd5002725cbd724a2abbd34fdb7abe0371f4b7beb13"} +{"instance_id": "bird267", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH french_editions AS (\n SELECT raceId, date\n FROM races\n WHERE name = 'French Grand Prix'\n AND year >= 1990\n),\nqualifying_laps AS (\n SELECT lt.raceId, lt.driverId, MIN(lt.milliseconds) AS fastest_ms\n FROM lapTimes AS lt\n JOIN french_editions AS e ON e.raceId = lt.raceId\n GROUP BY lt.raceId, lt.driverId\n HAVING MIN(lt.milliseconds) > 90000\n)\nSELECT e.date,\n d.forename,\n d.surname,\n CASE WHEN q.fastest_ms IS NOT NULL THEN\n printf('%d:%02d.%03d',\n q.fastest_ms / 60000,\n (q.fastest_ms / 1000) % 60,\n q.fastest_ms % 1000)\n END AS fastest_lap_time\nFROM french_editions AS e\nLEFT JOIN qualifying_laps AS q ON q.raceId = e.raceId\nLEFT JOIN drivers AS d ON d.driverId = q.driverId\nORDER BY e.date, d.surname, d.forename;\n```", "rows": 20, "sql": "WITH french_editions AS (\n SELECT raceId, date\n FROM races\n WHERE name = 'French Grand Prix'\n AND year >= 1990\n),\nqualifying_laps AS (\n SELECT lt.raceId, lt.driverId, MIN(lt.milliseconds) AS fastest_ms\n FROM lapTimes AS lt\n JOIN french_editions AS e ON e.raceId = lt.raceId\n GROUP BY lt.raceId, lt.driverId\n HAVING MIN(lt.milliseconds) > 90000\n)\nSELECT e.date,\n d.forename,\n d.surname,\n CASE WHEN q.fastest_ms IS NOT NULL THEN\n printf('%d:%02d.%03d',\n q.fastest_ms / 60000,\n (q.fastest_ms / 1000) % 60,\n q.fastest_ms % 1000)\n END AS fastest_lap_time\nFROM french_editions AS e\nLEFT JOIN qualifying_laps AS q ON q.raceId = e.raceId\nLEFT JOIN drivers AS d ON d.driverId = q.driverId\nORDER BY e.date, d.surname, d.forename;", "seconds": 25.848624791949987, "calls": [{"seconds": 2.7148149580461904, "usage": {"completion_tokens": 82, "prompt_tokens": 1824, "total_tokens": 1906, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1259, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1259, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1259, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.22257391596213, "usage": {"completion_tokens": 535, "prompt_tokens": 2228, "total_tokens": 2763, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 270, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 404, "cached_tokens": 1259, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 404, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 404, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.121120207943022, "usage": {"completion_tokens": 109, "prompt_tokens": 3315, "total_tokens": 3424, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 51, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1087, "cached_tokens": 1663, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1087, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1087, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.69259025005158, "usage": {"completion_tokens": 472, "prompt_tokens": 3516, "total_tokens": 3988, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 216, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 201, "cached_tokens": 2750, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 201, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 201, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "94126993efd518567e78ac74591f09cbc39743ca4c34ad093186d54ccde58b9d", "csv_sha256": "351be1390076022ebfc2f679e8e5b3f7ac4aad5fa0ed2c9d40d6402b80969e80"} +{"instance_id": "bird268", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH timed_laps AS (\n SELECT d.driverId, d.forename, d.surname, q.q3,\n 60000 * CAST(SUBSTR(q.q3, 1, INSTR(q.q3, ':') - 1) AS INTEGER)\n + ROUND(1000 * CAST(SUBSTR(q.q3, INSTR(q.q3, ':') + 1) AS REAL)) AS lap_ms\n FROM qualifying AS q\n JOIN drivers AS d ON d.driverId = q.driverId\n WHERE d.nationality = 'Italian'\n AND INSTR(q.q3, ':') > 0\n)\nSELECT forename, surname, q3\nFROM timed_laps\nWHERE lap_ms = (SELECT MIN(lap_ms) FROM timed_laps)\nGROUP BY driverId, forename, surname, q3\nORDER BY surname, forename;\n```", "rows": 1, "sql": "WITH timed_laps AS (\n SELECT d.driverId, d.forename, d.surname, q.q3,\n 60000 * CAST(SUBSTR(q.q3, 1, INSTR(q.q3, ':') - 1) AS INTEGER)\n + ROUND(1000 * CAST(SUBSTR(q.q3, INSTR(q.q3, ':') + 1) AS REAL)) AS lap_ms\n FROM qualifying AS q\n JOIN drivers AS d ON d.driverId = q.driverId\n WHERE d.nationality = 'Italian'\n AND INSTR(q.q3, ':') > 0\n)\nSELECT forename, surname, q3\nFROM timed_laps\nWHERE lap_ms = (SELECT MIN(lap_ms) FROM timed_laps)\nGROUP BY driverId, forename, surname, q3\nORDER BY surname, forename;", "seconds": 18.71134895796422, "calls": [{"seconds": 2.1425853749969974, "usage": {"completion_tokens": 51, "prompt_tokens": 1732, "total_tokens": 1783, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1167, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1167, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1167, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.037267458043061, "usage": {"completion_tokens": 165, "prompt_tokens": 1928, "total_tokens": 2093, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 88, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 196, "cached_tokens": 1167, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 196, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 196, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.187944959034212, "usage": {"completion_tokens": 354, "prompt_tokens": 2331, "total_tokens": 2685, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 145, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 403, "cached_tokens": 1363, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 403, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 403, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.318304541986436, "usage": {"completion_tokens": 192, "prompt_tokens": 2916, "total_tokens": 3108, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 585, "cached_tokens": 1766, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 585, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 585, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5e554ff61918e86b31d1ea4abcfc888b04aeaa08b50856a75f6487f18e83b406", "csv_sha256": "baf7d7c6dd72114499cc41c15c01f3dd0a59d8b659713ffe34cd90f47c597ddd"} +{"instance_id": "bird269", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH q3_results AS (\n SELECT d.forename || ' ' || d.surname AS driver_full_name,\n r.name AS race_name,\n r.year AS race_year,\n q.q3 AS q3_time,\n 60 * CAST(substr(q.q3, 1, instr(q.q3, ':') - 1) AS INTEGER)\n + CAST(substr(q.q3, instr(q.q3, ':') + 1) AS REAL) AS q3_seconds\n FROM qualifying AS q\n JOIN drivers AS d ON d.driverId = q.driverId\n JOIN races AS r ON r.raceId = q.raceId\n WHERE d.nationality = 'British'\n AND CAST(strftime('%Y', d.dob) AS INTEGER) > 1980\n AND instr(q.q3, ':') > 0\n)\nSELECT driver_full_name, race_name, race_year, q3_time\nFROM q3_results\nWHERE q3_seconds = (SELECT MIN(q3_seconds) FROM q3_results);\n```", "rows": 1, "sql": "WITH q3_results AS (\n SELECT d.forename || ' ' || d.surname AS driver_full_name,\n r.name AS race_name,\n r.year AS race_year,\n q.q3 AS q3_time,\n 60 * CAST(substr(q.q3, 1, instr(q.q3, ':') - 1) AS INTEGER)\n + CAST(substr(q.q3, instr(q.q3, ':') + 1) AS REAL) AS q3_seconds\n FROM qualifying AS q\n JOIN drivers AS d ON d.driverId = q.driverId\n JOIN races AS r ON r.raceId = q.raceId\n WHERE d.nationality = 'British'\n AND CAST(strftime('%Y', d.dob) AS INTEGER) > 1980\n AND instr(q.q3, ':') > 0\n)\nSELECT driver_full_name, race_name, race_year, q3_time\nFROM q3_results\nWHERE q3_seconds = (SELECT MIN(q3_seconds) FROM q3_results);", "seconds": 19.33597783301957, "calls": [{"seconds": 2.6272942080395296, "usage": {"completion_tokens": 67, "prompt_tokens": 1750, "total_tokens": 1817, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1185, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1185, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1185, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.149242458050139, "usage": {"completion_tokens": 201, "prompt_tokens": 2028, "total_tokens": 2229, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 67, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1185, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.782649500062689, "usage": {"completion_tokens": 340, "prompt_tokens": 2403, "total_tokens": 2743, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 96, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 375, "cached_tokens": 1463, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 375, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 375, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.753329416969791, "usage": {"completion_tokens": 225, "prompt_tokens": 3020, "total_tokens": 3245, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 617, "cached_tokens": 1838, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 617, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 617, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d8490b46b0bbe3eb8aa8c197488e1fc751457792c84033d4993ded99b73fe0db", "csv_sha256": "2e25410419ff569230fc59143ac06e4583445e0a4de1c162d3babc8d1be48ab6"} +{"instance_id": "bird270", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH driver_best_laps AS (\n SELECT raceId, driverId, MIN(milliseconds) AS best_lap_ms\n FROM lapTimes\n WHERE milliseconds IS NOT NULL\n GROUP BY raceId, driverId\n), ranked_laps AS (\n SELECT raceId, driverId,\n RANK() OVER (PARTITION BY raceId ORDER BY best_lap_ms) AS lap_rank\n FROM driver_best_laps\n)\nSELECT COUNT(DISTINCT r.driverId) AS driver_count\nFROM ranked_laps AS r\nJOIN drivers AS d ON d.driverId = r.driverId\nWHERE r.lap_rank = 2\n AND d.dob >= '1976-01-01';\n```", "rows": 1, "sql": "WITH driver_best_laps AS (\n SELECT raceId, driverId, MIN(milliseconds) AS best_lap_ms\n FROM lapTimes\n WHERE milliseconds IS NOT NULL\n GROUP BY raceId, driverId\n), ranked_laps AS (\n SELECT raceId, driverId,\n RANK() OVER (PARTITION BY raceId ORDER BY best_lap_ms) AS lap_rank\n FROM driver_best_laps\n)\nSELECT COUNT(DISTINCT r.driverId) AS driver_count\nFROM ranked_laps AS r\nJOIN drivers AS d ON d.driverId = r.driverId\nWHERE r.lap_rank = 2\n AND d.dob >= '1976-01-01';", "seconds": 27.76697045902256, "calls": [{"seconds": 2.6492564589716494, "usage": {"completion_tokens": 66, "prompt_tokens": 1716, "total_tokens": 1782, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1151, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1151, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1151, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.150070916977711, "usage": {"completion_tokens": 350, "prompt_tokens": 2038, "total_tokens": 2388, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 139, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 322, "cached_tokens": 1151, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 322, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 322, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.033025708049536, "usage": {"completion_tokens": 406, "prompt_tokens": 2656, "total_tokens": 3062, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 73, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 618, "cached_tokens": 1473, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 618, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 618, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.682284208014607, "usage": {"completion_tokens": 210, "prompt_tokens": 3430, "total_tokens": 3640, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 42, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 774, "cached_tokens": 2091, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 774, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 774, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9303060830570757, "usage": {"completion_tokens": 153, "prompt_tokens": 3812, "total_tokens": 3965, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 382, "cached_tokens": 2865, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 382, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 382, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6f1a7ab4fa3f32e047cc82638f2f05b1f5fb5da3360cd2f55c951e9e28321daf", "csv_sha256": "509a6ca175ccf15d984fb58f43e81fc937db03cb43d4fec2fb500a934f147944"} +{"instance_id": "bird271", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH q3_times AS (\n SELECT d.driverRef,\n 60 * CAST(SUBSTR(q.q3, 1, INSTR(q.q3, ':') - 1) AS INTEGER)\n + CAST(SUBSTR(q.q3, INSTR(q.q3, ':') + 1) AS REAL) AS elapsed_seconds\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n JOIN drivers AS d ON d.driverId = q.driverId\n WHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND INSTR(q.q3, ':') > 0\n)\nSELECT driverRef\nFROM q3_times\nWHERE elapsed_seconds = (SELECT MIN(elapsed_seconds) FROM q3_times)\nORDER BY driverRef;\n```", "rows": 1, "sql": "WITH q3_times AS (\n SELECT d.driverRef,\n 60 * CAST(SUBSTR(q.q3, 1, INSTR(q.q3, ':') - 1) AS INTEGER)\n + CAST(SUBSTR(q.q3, INSTR(q.q3, ':') + 1) AS REAL) AS elapsed_seconds\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n JOIN drivers AS d ON d.driverId = q.driverId\n WHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND INSTR(q.q3, ':') > 0\n)\nSELECT driverRef\nFROM q3_times\nWHERE elapsed_seconds = (SELECT MIN(elapsed_seconds) FROM q3_times)\nORDER BY driverRef;", "seconds": 11.856495082960464, "calls": [{"seconds": 2.486855374998413, "usage": {"completion_tokens": 67, "prompt_tokens": 1693, "total_tokens": 1760, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1128, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1128, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1128, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.891134083038196, "usage": {"completion_tokens": 255, "prompt_tokens": 1971, "total_tokens": 2226, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 59, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1128, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.463669624994509, "usage": {"completion_tokens": 179, "prompt_tokens": 2426, "total_tokens": 2605, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 455, "cached_tokens": 1406, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 455, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 455, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d96dd983499fd9b0bf160356634df2443fdd02f52c878410a67499a8d6a45856", "csv_sha256": "5edc91bca333cc37297932e0eea3d0fb6bf673ea24907773cd4b1adaafb723ec"} +{"instance_id": "bird272", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH italian_constructors AS (\n SELECT constructorId, name, url\n FROM constructors\n WHERE nationality = 'Italian'\n), season_standings AS (\n SELECT cs.constructorId,\n cs.points,\n ROW_NUMBER() OVER (\n PARTITION BY cs.constructorId, r.year\n ORDER BY r.round DESC, r.raceId DESC\n ) AS season_row\n FROM constructorStandings AS cs\n JOIN races AS r ON r.raceId = cs.raceId\n JOIN italian_constructors AS c ON c.constructorId = cs.constructorId\n), career_totals AS (\n SELECT c.constructorId,\n c.name,\n c.url,\n COALESCE(SUM(s.points), 0.0) AS career_points\n FROM italian_constructors AS c\n LEFT JOIN season_standings AS s\n ON s.constructorId = c.constructorId AND s.season_row = 1\n GROUP BY c.constructorId, c.name, c.url\n), ranked AS (\n SELECT name,\n career_points,\n url,\n RANK() OVER (ORDER BY career_points DESC) AS career_rank\n FROM career_totals\n)\nSELECT name AS constructor_name,\n career_points,\n url AS introduction_website\nFROM ranked\nWHERE career_rank <= 3\nORDER BY career_rank, constructor_name;\n```", "rows": 3, "sql": "WITH italian_constructors AS (\n SELECT constructorId, name, url\n FROM constructors\n WHERE nationality = 'Italian'\n), season_standings AS (\n SELECT cs.constructorId,\n cs.points,\n ROW_NUMBER() OVER (\n PARTITION BY cs.constructorId, r.year\n ORDER BY r.round DESC, r.raceId DESC\n ) AS season_row\n FROM constructorStandings AS cs\n JOIN races AS r ON r.raceId = cs.raceId\n JOIN italian_constructors AS c ON c.constructorId = cs.constructorId\n), career_totals AS (\n SELECT c.constructorId,\n c.name,\n c.url,\n COALESCE(SUM(s.points), 0.0) AS career_points\n FROM italian_constructors AS c\n LEFT JOIN season_standings AS s\n ON s.constructorId = c.constructorId AND s.season_row = 1\n GROUP BY c.constructorId, c.name, c.url\n), ranked AS (\n SELECT name,\n career_points,\n url,\n RANK() OVER (ORDER BY career_points DESC) AS career_rank\n FROM career_totals\n)\nSELECT name AS constructor_name,\n career_points,\n url AS introduction_website\nFROM ranked\nWHERE career_rank <= 3\nORDER BY career_rank, constructor_name;", "seconds": 17.44363249989692, "calls": [{"seconds": 2.9391547919949517, "usage": {"completion_tokens": 85, "prompt_tokens": 1727, "total_tokens": 1812, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1162, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1162, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1162, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.509822207968682, "usage": {"completion_tokens": 478, "prompt_tokens": 2019, "total_tokens": 2497, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 163, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 292, "cached_tokens": 1162, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 292, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 292, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.977583000087179, "usage": {"completion_tokens": 287, "prompt_tokens": 2882, "total_tokens": 3169, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 863, "cached_tokens": 1454, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 863, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 863, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ebcdd6778b67df29793a18848653fedc3782190ad8d1faf461f94a1420db7bab", "csv_sha256": "bca62b4731fa5fa3e2fa6da984bbf3af4741b7125ada5e609fffd5875f095319"} +{"instance_id": "bird273", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n COUNT(DISTINCT CASE WHEN d.forename = 'Peter' THEN d.driverId END) AS Peter,\n COUNT(DISTINCT CASE WHEN d.forename = 'John' THEN d.driverId END) AS John\nFROM drivers AS d\nJOIN results AS r ON r.driverId = d.driverId\nWHERE d.forename IN ('Peter', 'John')\n AND r.position = 1;\n```", "rows": 1, "sql": "SELECT\n COUNT(DISTINCT CASE WHEN d.forename = 'Peter' THEN d.driverId END) AS Peter,\n COUNT(DISTINCT CASE WHEN d.forename = 'John' THEN d.driverId END) AS John\nFROM drivers AS d\nJOIN results AS r ON r.driverId = d.driverId\nWHERE d.forename IN ('Peter', 'John')\n AND r.position = 1;", "seconds": 11.923847084050067, "calls": [{"seconds": 2.1042872079415247, "usage": {"completion_tokens": 50, "prompt_tokens": 1710, "total_tokens": 1760, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1145, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1145, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1145, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.464551499928348, "usage": {"completion_tokens": 268, "prompt_tokens": 1964, "total_tokens": 2232, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 161, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 254, "cached_tokens": 1145, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 254, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 254, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.339980958029628, "usage": {"completion_tokens": 93, "prompt_tokens": 2350, "total_tokens": 2443, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 386, "cached_tokens": 1399, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 386, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 386, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "93539bd4bbe10ca32f303fe58a35a59a02d42b5e4db37da6a7364afeedad36a3", "csv_sha256": "815606f1f53d26107557d8fdb223a985d557d5c56712c72d428d649c9f0fbbbb"} +{"instance_id": "bird274", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT d.nationality\nFROM drivers AS d\nWHERE d.driverId IN (\n SELECT q.driverId\n FROM qualifying AS q\n WHERE q.q3 = (\n SELECT MIN(NULLIF(q3, ''))\n FROM qualifying\n )\n);\n```", "rows": 1, "sql": "SELECT d.nationality\nFROM drivers AS d\nWHERE d.driverId IN (\n SELECT q.driverId\n FROM qualifying AS q\n WHERE q.q3 = (\n SELECT MIN(NULLIF(q3, ''))\n FROM qualifying\n )\n);", "seconds": 13.96426179097034, "calls": [{"seconds": 2.618974708020687, "usage": {"completion_tokens": 51, "prompt_tokens": 1701, "total_tokens": 1752, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1136, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1136, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1136, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.6308350830804557, "usage": {"completion_tokens": 69, "prompt_tokens": 1897, "total_tokens": 1966, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 196, "cached_tokens": 1136, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 196, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 196, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.798083000001498, "usage": {"completion_tokens": 213, "prompt_tokens": 2110, "total_tokens": 2323, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 135, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 213, "cached_tokens": 1332, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 213, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 213, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.899788666050881, "usage": {"completion_tokens": 61, "prompt_tokens": 2404, "total_tokens": 2465, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 294, "cached_tokens": 1545, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 294, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 294, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "61619886d6fb35d172690d3e47e03e72d8be9e6ff7429c5faf3052abd00afe7f", "csv_sha256": "2115b3c4f6e3e177f7492dd6d3cca98799acccd811932e90b963c09ce317be72"} +{"instance_id": "bird275", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH fastest_lap_constructors AS (\n SELECT DISTINCT constructorId\n FROM results\n WHERE rank = 1\n)\nSELECT\n c.nationality,\n COUNT(DISTINCT f.constructorId) AS constructor_count\nFROM constructors AS c\nLEFT JOIN fastest_lap_constructors AS f\n ON f.constructorId = c.constructorId\nGROUP BY c.nationality\nORDER BY c.nationality;\n```", "rows": 24, "sql": "WITH fastest_lap_constructors AS (\n SELECT DISTINCT constructorId\n FROM results\n WHERE rank = 1\n)\nSELECT\n c.nationality,\n COUNT(DISTINCT f.constructorId) AS constructor_count\nFROM constructors AS c\nLEFT JOIN fastest_lap_constructors AS f\n ON f.constructorId = c.constructorId\nGROUP BY c.nationality\nORDER BY c.nationality;", "seconds": 10.032039333018474, "calls": [{"seconds": 2.7423785000573844, "usage": {"completion_tokens": 51, "prompt_tokens": 1725, "total_tokens": 1776, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1160, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1160, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1160, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.046903457958251, "usage": {"completion_tokens": 130, "prompt_tokens": 1958, "total_tokens": 2088, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 22, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 233, "cached_tokens": 1160, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 233, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 233, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.227848874987103, "usage": {"completion_tokens": 94, "prompt_tokens": 2337, "total_tokens": 2431, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 379, "cached_tokens": 1393, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 379, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 379, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "cb1c00b65ab831be8d5c0d8a0bfa240837e5814e5baf192ec36e41d9d4a895b5", "csv_sha256": "857507302cde87b795383f3210eb51a0e4afb05b526318c97fe3b26ae83b1cbc"} +{"instance_id": "bird276", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT s.year AS season_year,\n COUNT(ps.raceId) AS total_pit_stops\nFROM seasons AS s\nLEFT JOIN races AS r\n ON r.year = s.year\n AND EXISTS (\n SELECT 1\n FROM driverStandings AS ds\n JOIN drivers AS d ON d.driverId = ds.driverId\n WHERE ds.raceId = r.raceId\n AND d.nationality = 'Australian'\n AND ds.position BETWEEN 1 AND 19\n )\nLEFT JOIN pitStops AS ps ON ps.raceId = r.raceId\nWHERE s.year BETWEEN 2002 AND 2013\nGROUP BY s.year\nORDER BY s.year;\n```", "rows": 12, "sql": "SELECT s.year AS season_year,\n COUNT(ps.raceId) AS total_pit_stops\nFROM seasons AS s\nLEFT JOIN races AS r\n ON r.year = s.year\n AND EXISTS (\n SELECT 1\n FROM driverStandings AS ds\n JOIN drivers AS d ON d.driverId = ds.driverId\n WHERE ds.raceId = r.raceId\n AND d.nationality = 'Australian'\n AND ds.position BETWEEN 1 AND 19\n )\nLEFT JOIN pitStops AS ps ON ps.raceId = r.raceId\nWHERE s.year BETWEEN 2002 AND 2013\nGROUP BY s.year\nORDER BY s.year;", "seconds": 12.627098666969687, "calls": [{"seconds": 3.2409882920328528, "usage": {"completion_tokens": 100, "prompt_tokens": 1763, "total_tokens": 1863, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1198, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1198, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1198, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.293107333010994, "usage": {"completion_tokens": 240, "prompt_tokens": 2153, "total_tokens": 2393, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 73, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 390, "cached_tokens": 1198, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 390, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 390, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.986733124940656, "usage": {"completion_tokens": 151, "prompt_tokens": 2642, "total_tokens": 2793, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 489, "cached_tokens": 1588, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 489, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 489, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f43a9e1d97ff59d269dc656c06b1adbd73ef2eb030d1d646bf4515024e5e227f", "csv_sha256": "b1c861122ac2919bf82c8394c80ebf688793c0dad119a65825b9bb57c2e5ea0e"} +{"instance_id": "bird277", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT q.driverId) AS driver_count\nFROM qualifying AS q\nJOIN races AS r ON r.raceId = q.raceId\nWHERE r.date >= '1995-01-01'\n AND r.date < '1996-01-01'\n AND INSTR(q.q1, ':') > 0\n AND 60 * CAST(SUBSTR(q.q1, 1, INSTR(q.q1, ':') - 1) AS INTEGER)\n + CAST(SUBSTR(q.q1, INSTR(q.q1, ':') + 1) AS REAL) > 120;\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT q.driverId) AS driver_count\nFROM qualifying AS q\nJOIN races AS r ON r.raceId = q.raceId\nWHERE r.date >= '1995-01-01'\n AND r.date < '1996-01-01'\n AND INSTR(q.q1, ':') > 0\n AND 60 * CAST(SUBSTR(q.q1, 1, INSTR(q.q1, ':') - 1) AS INTEGER)\n + CAST(SUBSTR(q.q1, INSTR(q.q1, ':') + 1) AS REAL) > 120;", "seconds": 15.546498958021402, "calls": [{"seconds": 2.3744395000394434, "usage": {"completion_tokens": 67, "prompt_tokens": 1696, "total_tokens": 1763, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1131, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1131, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1131, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.286043124971911, "usage": {"completion_tokens": 175, "prompt_tokens": 1974, "total_tokens": 2149, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 96, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1131, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.94204441702459, "usage": {"completion_tokens": 152, "prompt_tokens": 2402, "total_tokens": 2554, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 428, "cached_tokens": 1409, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 428, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 428, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9249182919738814, "usage": {"completion_tokens": 140, "prompt_tokens": 2713, "total_tokens": 2853, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 311, "cached_tokens": 1837, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 311, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 311, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "475983d1a2bc8524045057a37e66375666ffcb1a0bfce3de70e71823830313a7", "csv_sha256": "624189edf0ae82c8cf041dde5f5479ac51528a6e02e33698f6b95c08b5a9beb3"} +{"instance_id": "bird278", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH september_stops AS (\n SELECT p.driverId, p.raceId, p.duration, p.milliseconds\n FROM pitStops AS p\n JOIN races AS r ON r.raceId = p.raceId\n WHERE r.date >= '2016-09-01' AND r.date < '2016-10-01'\n)\nSELECT d.forename || ' ' || d.surname AS driver_full_name,\n s.duration AS pit_stop_time,\n r.name AS race_name,\n c.name AS circuit_name,\n c.location AS circuit_location\nFROM september_stops AS s\nJOIN drivers AS d ON d.driverId = s.driverId\nJOIN races AS r ON r.raceId = s.raceId\nJOIN circuits AS c ON c.circuitId = r.circuitId\nWHERE s.milliseconds = (SELECT MIN(milliseconds) FROM september_stops);\n```", "rows": 2, "sql": "WITH september_stops AS (\n SELECT p.driverId, p.raceId, p.duration, p.milliseconds\n FROM pitStops AS p\n JOIN races AS r ON r.raceId = p.raceId\n WHERE r.date >= '2016-09-01' AND r.date < '2016-10-01'\n)\nSELECT d.forename || ' ' || d.surname AS driver_full_name,\n s.duration AS pit_stop_time,\n r.name AS race_name,\n c.name AS circuit_name,\n c.location AS circuit_location\nFROM september_stops AS s\nJOIN drivers AS d ON d.driverId = s.driverId\nJOIN races AS r ON r.raceId = s.raceId\nJOIN circuits AS c ON c.circuitId = r.circuitId\nWHERE s.milliseconds = (SELECT MIN(milliseconds) FROM september_stops);", "seconds": 13.790128624998033, "calls": [{"seconds": 2.780885834014043, "usage": {"completion_tokens": 83, "prompt_tokens": 1726, "total_tokens": 1809, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1161, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1161, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1161, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.1963103340240195, "usage": {"completion_tokens": 284, "prompt_tokens": 2074, "total_tokens": 2358, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 75, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 348, "cached_tokens": 1161, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 348, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 348, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.793244583066553, "usage": {"completion_tokens": 211, "prompt_tokens": 2638, "total_tokens": 2849, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 18, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 564, "cached_tokens": 1509, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 564, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 564, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a1afcaa3186bc488cb0667ff6e9550619145f6e012d4abb98b698557c35cbb52", "csv_sha256": "f0fadf3b8c6f763ad766b4f140c07164bd8ef24c51ed0205fd151fb623279e27"} +{"instance_id": "bird279", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH first_win AS (\n SELECT d.driverId,\n d.forename || ' ' || d.surname AS full_name,\n d.nationality,\n r.name AS first_win_name,\n r.date AS first_win_date\n FROM drivers AS d\n JOIN results AS res ON res.driverId = d.driverId\n JOIN races AS r ON r.raceId = res.raceId\n WHERE res.position = 1\n AND d.dob IS NOT NULL\n AND r.year BETWEEN 1950 AND 2017\n ORDER BY d.dob, full_name, d.driverId, r.date, r.name, r.raceId\n LIMIT 1\n)\nSELECT w.full_name,\n w.nationality,\n w.first_win_name,\n w.first_win_date,\n (\n SELECT COUNT(DISTINCT res.raceId)\n FROM results AS res\n JOIN races AS r ON r.raceId = res.raceId\n WHERE res.driverId = w.driverId\n AND r.year BETWEEN 1950 AND 2017\n AND NOT EXISTS (\n SELECT 1\n FROM status AS s\n WHERE s.statusId = res.statusId\n AND s.status IN ('Did not start', 'Withdrew', 'Did not qualify',\n 'Did not prequalify', '107% Rule')\n )\n ) AS total_races_started\nFROM first_win AS w;\n```", "rows": 1, "sql": "WITH first_win AS (\n SELECT d.driverId,\n d.forename || ' ' || d.surname AS full_name,\n d.nationality,\n r.name AS first_win_name,\n r.date AS first_win_date\n FROM drivers AS d\n JOIN results AS res ON res.driverId = d.driverId\n JOIN races AS r ON r.raceId = res.raceId\n WHERE res.position = 1\n AND d.dob IS NOT NULL\n AND r.year BETWEEN 1950 AND 2017\n ORDER BY d.dob, full_name, d.driverId, r.date, r.name, r.raceId\n LIMIT 1\n)\nSELECT w.full_name,\n w.nationality,\n w.first_win_name,\n w.first_win_date,\n (\n SELECT COUNT(DISTINCT res.raceId)\n FROM results AS res\n JOIN races AS r ON r.raceId = res.raceId\n WHERE res.driverId = w.driverId\n AND r.year BETWEEN 1950 AND 2017\n AND NOT EXISTS (\n SELECT 1\n FROM status AS s\n WHERE s.statusId = res.statusId\n AND s.status IN ('Did not start', 'Withdrew', 'Did not qualify',\n 'Did not prequalify', '107% Rule')\n )\n ) AS total_races_started\nFROM first_win AS w;", "seconds": 53.18050504196435, "calls": [{"seconds": 2.963372709113173, "usage": {"completion_tokens": 95, "prompt_tokens": 1795, "total_tokens": 1890, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1230, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1230, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1230, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.351263249991462, "usage": {"completion_tokens": 241, "prompt_tokens": 2214, "total_tokens": 2455, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 206, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 419, "cached_tokens": 1230, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 419, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 419, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.014252624940127, "usage": {"completion_tokens": 100, "prompt_tokens": 2764, "total_tokens": 2864, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 32, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 550, "cached_tokens": 1649, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 550, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 550, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.063743500038981, "usage": {"completion_tokens": 109, "prompt_tokens": 2982, "total_tokens": 3091, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 60, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 218, "cached_tokens": 2199, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 218, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 218, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.616006958996877, "usage": {"completion_tokens": 427, "prompt_tokens": 3410, "total_tokens": 3837, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 160, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 428, "cached_tokens": 2417, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 428, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 428, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 17.60131237504538, "usage": {"completion_tokens": 832, "prompt_tokens": 4444, "total_tokens": 5276, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 493, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1034, "cached_tokens": 2845, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1034, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1034, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.225665834033862, "usage": {"completion_tokens": 389, "prompt_tokens": 5648, "total_tokens": 6037, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 78, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1204, "cached_tokens": 3879, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1204, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1204, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6d9bfae488650b86a914c10560b7ed83fe08b99de7ad8990647a0945e8a66479", "csv_sha256": "f6d3f17f72c1a59a5b57ba1810329ed82215da0ead2772748fe86059e8d2baa7"} +{"instance_id": "bird280", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT r.raceId) AS runnings\nFROM races AS r\nJOIN results AS res ON res.raceId = r.raceId\nJOIN status AS s ON s.statusId = res.statusId\nWHERE r.name = 'Canadian Grand Prix'\n AND s.status = 'Accident';\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT r.raceId) AS runnings\nFROM races AS r\nJOIN results AS res ON res.raceId = r.raceId\nJOIN status AS s ON s.statusId = res.statusId\nWHERE r.name = 'Canadian Grand Prix'\n AND s.status = 'Accident';", "seconds": 8.259035915951245, "calls": [{"seconds": 2.5973838749341667, "usage": {"completion_tokens": 66, "prompt_tokens": 1696, "total_tokens": 1762, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1131, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1131, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1131, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8412738750921562, "usage": {"completion_tokens": 83, "prompt_tokens": 1989, "total_tokens": 2072, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 293, "cached_tokens": 1131, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 293, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 293, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.797221333021298, "usage": {"completion_tokens": 73, "prompt_tokens": 2165, "total_tokens": 2238, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 176, "cached_tokens": 1424, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 176, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 176, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "55dfa546e809f9ab91c17ea0e38f7490d2bdaec31f952c4db5e68902e43f21c7", "csv_sha256": "cb5cf313cdfbf2c85605f90bdba1981fdd0e9cdd4e3e663c9a20699189a237fe"} +{"instance_id": "bird281", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT d.forename, d.surname, c.name AS constructor_name\nFROM qualifying AS q\nJOIN races AS r ON r.raceId = q.raceId\nJOIN drivers AS d ON d.driverId = q.driverId\nJOIN constructors AS c ON c.constructorId = q.constructorId\nLEFT JOIN results AS res ON res.raceId = q.raceId AND res.driverId = q.driverId\nWHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND INSTR(q.q2, ':') > 0\nORDER BY\n 60000 * CAST(SUBSTR(q.q2, 1, INSTR(q.q2, ':') - 1) AS INTEGER)\n + CAST(REPLACE(SUBSTR(q.q2, INSTR(q.q2, ':') + 1), '.', '') AS INTEGER),\n CASE WHEN res.grid > 0 THEN 0 ELSE 1 END,\n res.grid\nLIMIT 1 OFFSET 1;\n```", "rows": 1, "sql": "SELECT d.forename, d.surname, c.name AS constructor_name\nFROM qualifying AS q\nJOIN races AS r ON r.raceId = q.raceId\nJOIN drivers AS d ON d.driverId = q.driverId\nJOIN constructors AS c ON c.constructorId = q.constructorId\nLEFT JOIN results AS res ON res.raceId = q.raceId AND res.driverId = q.driverId\nWHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND INSTR(q.q2, ':') > 0\nORDER BY\n 60000 * CAST(SUBSTR(q.q2, 1, INSTR(q.q2, ':') - 1) AS INTEGER)\n + CAST(REPLACE(SUBSTR(q.q2, INSTR(q.q2, ':') + 1), '.', '') AS INTEGER),\n CASE WHEN res.grid > 0 THEN 0 ELSE 1 END,\n res.grid\nLIMIT 1 OFFSET 1;", "seconds": 14.59530329098925, "calls": [{"seconds": 3.109500874998048, "usage": {"completion_tokens": 98, "prompt_tokens": 1750, "total_tokens": 1848, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1185, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1185, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1185, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.761670082923956, "usage": {"completion_tokens": 364, "prompt_tokens": 2239, "total_tokens": 2603, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 133, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 489, "cached_tokens": 1185, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 489, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 489, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.694004791905172, "usage": {"completion_tokens": 215, "prompt_tokens": 2849, "total_tokens": 3064, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 610, "cached_tokens": 1674, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 610, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 610, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ff72f20988713c8a4d37088d66f2f70151c124485ad725130e1d3702816eb368", "csv_sha256": "73e44b4c180a32dd86c85d4049c0297ffc1d9bffcfc0d46a8be23e1648a29934"} +{"instance_id": "bird282", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH season_q2 AS (\n SELECT q.driverId,\n r.name AS race_name,\n 60 * CAST(SUBSTR(q.q2, 1, INSTR(q.q2, ':') - 1) AS INTEGER)\n + CAST(SUBSTR(q.q2, INSTR(q.q2, ':') + 1) AS REAL) AS q2_seconds\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n WHERE r.year = 2017\n AND INSTR(q.q2, ':') > 0\n)\nSELECT d.surname, s.race_name\nFROM season_q2 AS s\nJOIN drivers AS d ON d.driverId = s.driverId\nWHERE s.q2_seconds = (SELECT MIN(q2_seconds) FROM season_q2)\nORDER BY d.surname, s.race_name;\n```", "rows": 1, "sql": "WITH season_q2 AS (\n SELECT q.driverId,\n r.name AS race_name,\n 60 * CAST(SUBSTR(q.q2, 1, INSTR(q.q2, ':') - 1) AS INTEGER)\n + CAST(SUBSTR(q.q2, INSTR(q.q2, ':') + 1) AS REAL) AS q2_seconds\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n WHERE r.year = 2017\n AND INSTR(q.q2, ':') > 0\n)\nSELECT d.surname, s.race_name\nFROM season_q2 AS s\nJOIN drivers AS d ON d.driverId = s.driverId\nWHERE s.q2_seconds = (SELECT MIN(q2_seconds) FROM season_q2)\nORDER BY d.surname, s.race_name;", "seconds": 14.04797141707968, "calls": [{"seconds": 2.565290040918626, "usage": {"completion_tokens": 67, "prompt_tokens": 1712, "total_tokens": 1779, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1147, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1147, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1147, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.94632158393506, "usage": {"completion_tokens": 327, "prompt_tokens": 1990, "total_tokens": 2317, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 118, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1147, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.521305209025741, "usage": {"completion_tokens": 192, "prompt_tokens": 2538, "total_tokens": 2730, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 548, "cached_tokens": 1425, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 548, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 548, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7d97bff792b682372e89af3d2c96c4396079d619cdd8aaa6ac503aeca9319908", "csv_sha256": "5a8e23486a024aef2e9c211f0e0424e986847d3cbddc92079731bdb503fc38fa"} +{"instance_id": "bird283", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH q3_times AS (\n SELECT q.driverId,\n 60000 * CAST(SUBSTR(q.q3, 1, INSTR(q.q3, ':') - 1) AS INTEGER)\n + CAST(REPLACE(SUBSTR(q.q3, INSTR(q.q3, ':') + 1), '.', '') AS INTEGER) AS time_ms\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n WHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND q.q3 GLOB '[0-9]*:[0-5][0-9].[0-9][0-9][0-9]'\n)\nSELECT d.number\nFROM q3_times AS t\nJOIN drivers AS d ON d.driverId = t.driverId\nWHERE t.time_ms = (SELECT MIN(time_ms) FROM q3_times)\nORDER BY d.number;\n```", "rows": 1, "sql": "WITH q3_times AS (\n SELECT q.driverId,\n 60000 * CAST(SUBSTR(q.q3, 1, INSTR(q.q3, ':') - 1) AS INTEGER)\n + CAST(REPLACE(SUBSTR(q.q3, INSTR(q.q3, ':') + 1), '.', '') AS INTEGER) AS time_ms\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n WHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND q.q3 GLOB '[0-9]*:[0-5][0-9].[0-9][0-9][0-9]'\n)\nSELECT d.number\nFROM q3_times AS t\nJOIN drivers AS d ON d.driverId = t.driverId\nWHERE t.time_ms = (SELECT MIN(time_ms) FROM q3_times)\nORDER BY d.number;", "seconds": 16.250242166919634, "calls": [{"seconds": 2.333611416979693, "usage": {"completion_tokens": 67, "prompt_tokens": 1725, "total_tokens": 1792, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1160, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1160, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1160, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.25950716692023, "usage": {"completion_tokens": 437, "prompt_tokens": 2003, "total_tokens": 2440, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 214, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1160, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.6383521660463884, "usage": {"completion_tokens": 204, "prompt_tokens": 2662, "total_tokens": 2866, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 659, "cached_tokens": 1438, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 659, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 659, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "46dc6dad4d2510a1baba56087729293adccce2d66107e1e5e1be49512c95de64", "csv_sha256": "bcde7e695601bff747cf7c4baaa2b5857479d7740b7f56503538f45cfc70793e"} +{"instance_id": "bird284", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH ranked_q3 AS (\n SELECT d.code AS driver_code,\n q.q3 AS fastest_q3_time,\n RANK() OVER (\n ORDER BY 60 * CAST(substr(q.q3, 1, instr(q.q3, ':') - 1) AS INTEGER)\n + CAST(substr(q.q3, instr(q.q3, ':') + 1) AS REAL)\n ) AS time_rank\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n JOIN drivers AS d ON d.driverId = q.driverId\n WHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND instr(q.q3, ':') > 0\n)\nSELECT driver_code, fastest_q3_time\nFROM ranked_q3\nWHERE time_rank = 1\nORDER BY driver_code;\n```", "rows": 1, "sql": "WITH ranked_q3 AS (\n SELECT d.code AS driver_code,\n q.q3 AS fastest_q3_time,\n RANK() OVER (\n ORDER BY 60 * CAST(substr(q.q3, 1, instr(q.q3, ':') - 1) AS INTEGER)\n + CAST(substr(q.q3, instr(q.q3, ':') + 1) AS REAL)\n ) AS time_rank\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n JOIN drivers AS d ON d.driverId = q.driverId\n WHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND instr(q.q3, ':') > 0\n)\nSELECT driver_code, fastest_q3_time\nFROM ranked_q3\nWHERE time_rank = 1\nORDER BY driver_code;", "seconds": 17.100189917022362, "calls": [{"seconds": 3.1392701249569654, "usage": {"completion_tokens": 67, "prompt_tokens": 1704, "total_tokens": 1771, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1139, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1139, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1139, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8256944590248168, "usage": {"completion_tokens": 129, "prompt_tokens": 1982, "total_tokens": 2111, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 53, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1139, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.884088833001442, "usage": {"completion_tokens": 282, "prompt_tokens": 2327, "total_tokens": 2609, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 73, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 345, "cached_tokens": 1417, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 345, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 345, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.225087417056784, "usage": {"completion_tokens": 190, "prompt_tokens": 2832, "total_tokens": 3022, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 505, "cached_tokens": 1762, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 505, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 505, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7d4d02c0c2f306a1a14fa38f999edadd9db3446f00c947edcc65e5ee384d150e", "csv_sha256": "04df589f11eb50703ab44d3811b09d6959591b00adc6356e2f6952475831d654"} +{"instance_id": "bird285", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH q3_times AS (\n SELECT q.driverId,\n 60 * CAST(SUBSTR(q.q3, 1, INSTR(q.q3, ':') - 1) AS INTEGER)\n + CAST(SUBSTR(q.q3, INSTR(q.q3, ':') + 1) AS REAL) AS seconds\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n WHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND INSTR(q.q3, ':') > 0\n)\nSELECT d.nationality\nFROM q3_times AS t\nJOIN drivers AS d ON d.driverId = t.driverId\nWHERE t.seconds = (SELECT MIN(seconds) FROM q3_times);\n```", "rows": 1, "sql": "WITH q3_times AS (\n SELECT q.driverId,\n 60 * CAST(SUBSTR(q.q3, 1, INSTR(q.q3, ':') - 1) AS INTEGER)\n + CAST(SUBSTR(q.q3, INSTR(q.q3, ':') + 1) AS REAL) AS seconds\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n WHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND INSTR(q.q3, ':') > 0\n)\nSELECT d.nationality\nFROM q3_times AS t\nJOIN drivers AS d ON d.driverId = t.driverId\nWHERE t.seconds = (SELECT MIN(seconds) FROM q3_times);", "seconds": 15.496672000037506, "calls": [{"seconds": 2.920230916934088, "usage": {"completion_tokens": 67, "prompt_tokens": 1696, "total_tokens": 1763, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1131, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1131, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1131, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.430115875089541, "usage": {"completion_tokens": 349, "prompt_tokens": 1974, "total_tokens": 2323, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 159, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1131, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.128012332948856, "usage": {"completion_tokens": 174, "prompt_tokens": 2516, "total_tokens": 2690, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 542, "cached_tokens": 1409, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 542, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 542, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1338bad6d7ab2dd89fed528cdcb7f334eb7c7fd0cb1cac15027c0ff783bb1a5e", "csv_sha256": "135f917111645dd9fe0082bee9877a5e7781ad86223a35cbfa4b0b9d320daec7"} +{"instance_id": "bird286", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH earliest_edition AS (\n SELECT raceId, year\n FROM races\n WHERE name = 'Chinese Grand Prix'\n AND year BETWEEN 2000 AND 2009\n AND TIME(time) IS NOT NULL\n ORDER BY TIME(time) ASC, year DESC\n LIMIT 1\n)\nSELECT e.year AS season_year, r.time AS runner_up_time_gap\nFROM earliest_edition AS e\nJOIN results AS r ON r.raceId = e.raceId\nWHERE r.position = 2;\n```", "rows": 1, "sql": "WITH earliest_edition AS (\n SELECT raceId, year\n FROM races\n WHERE name = 'Chinese Grand Prix'\n AND year BETWEEN 2000 AND 2009\n AND TIME(time) IS NOT NULL\n ORDER BY TIME(time) ASC, year DESC\n LIMIT 1\n)\nSELECT e.year AS season_year, r.time AS runner_up_time_gap\nFROM earliest_edition AS e\nJOIN results AS r ON r.raceId = e.raceId\nWHERE r.position = 2;", "seconds": 28.41805600002408, "calls": [{"seconds": 2.713976874947548, "usage": {"completion_tokens": 67, "prompt_tokens": 1713, "total_tokens": 1780, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1148, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1148, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1148, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6934759999858215, "usage": {"completion_tokens": 129, "prompt_tokens": 2048, "total_tokens": 2177, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 335, "cached_tokens": 1148, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 335, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 335, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.134905416052788, "usage": {"completion_tokens": 344, "prompt_tokens": 2895, "total_tokens": 3239, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 321, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 847, "cached_tokens": 1483, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 847, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 847, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.23940954101272, "usage": {"completion_tokens": 336, "prompt_tokens": 3261, "total_tokens": 3597, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 206, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 366, "cached_tokens": 2330, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 366, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 366, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5972601249814034, "usage": {"completion_tokens": 116, "prompt_tokens": 3745, "total_tokens": 3861, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 484, "cached_tokens": 2696, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 484, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 484, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2925c8d044a090c15e8925de21a67e4bdda9873d4d2d0a7381dbdbabf8358520", "csv_sha256": "e67401effe38fa762b525cc3ea6e2a63eecbf99716034b32512f79a6b4ed4c28"} +{"instance_id": "bird287", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT d.code\nFROM drivers AS d\nWHERE EXISTS (\n SELECT 1\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n WHERE q.driverId = d.driverId\n AND r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND TRIM(q.q3) NOT IN ('', '\\N')\n)\nORDER BY d.code;\n```", "rows": 10, "sql": "SELECT d.code\nFROM drivers AS d\nWHERE EXISTS (\n SELECT 1\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n WHERE q.driverId = d.driverId\n AND r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND TRIM(q.q3) NOT IN ('', '\\N')\n)\nORDER BY d.code;", "seconds": 10.560084832948633, "calls": [{"seconds": 2.3971993749728426, "usage": {"completion_tokens": 67, "prompt_tokens": 1698, "total_tokens": 1765, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1133, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1133, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1133, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.577014875016175, "usage": {"completion_tokens": 180, "prompt_tokens": 1976, "total_tokens": 2156, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 67, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1133, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.343377250013873, "usage": {"completion_tokens": 97, "prompt_tokens": 2293, "total_tokens": 2390, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 317, "cached_tokens": 1411, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 317, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 317, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2488ac0644866c576c87ee8d212b8a8e9a23ae40e39286fa5c3825221551a3c2", "csv_sha256": "0fbbdbf470c2196e0892ce548a9e43e9d108a4e571dbfdfc96e600b5bc6cf8ed"} +{"instance_id": "bird288", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT r.year, d.forename, d.surname, res.time AS finish_time\nFROM races AS r\nJOIN results AS res ON res.raceId = r.raceId\nJOIN drivers AS d ON d.driverId = res.driverId\nWHERE r.name = 'Canadian Grand Prix'\n AND r.year BETWEEN 2007 AND 2017\n AND time(r.time) <= '17:00:00'\n AND res.position = 1\nORDER BY r.year;\n```", "rows": 4, "sql": "SELECT r.year, d.forename, d.surname, res.time AS finish_time\nFROM races AS r\nJOIN results AS res ON res.raceId = r.raceId\nJOIN drivers AS d ON d.driverId = res.driverId\nWHERE r.name = 'Canadian Grand Prix'\n AND r.year BETWEEN 2007 AND 2017\n AND time(r.time) <= '17:00:00'\n AND res.position = 1\nORDER BY r.year;", "seconds": 20.538381749996915, "calls": [{"seconds": 2.779658791027032, "usage": {"completion_tokens": 82, "prompt_tokens": 1767, "total_tokens": 1849, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1202, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1202, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1202, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.164884208003059, "usage": {"completion_tokens": 115, "prompt_tokens": 2186, "total_tokens": 2301, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 419, "cached_tokens": 1202, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 419, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 419, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.76224424992688, "usage": {"completion_tokens": 163, "prompt_tokens": 2860, "total_tokens": 3023, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 146, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 674, "cached_tokens": 1621, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 674, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 674, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.43446658400353, "usage": {"completion_tokens": 214, "prompt_tokens": 3082, "total_tokens": 3296, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 94, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 222, "cached_tokens": 2295, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 222, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 222, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.357890542014502, "usage": {"completion_tokens": 108, "prompt_tokens": 3500, "total_tokens": 3608, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 418, "cached_tokens": 2517, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 418, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 418, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "3ea7958cdc0c84b45defbe94db7d7a08260a1b4485b0e17fb01feacf392d973f", "csv_sha256": "db44d519101b98c1127fbb43b373b2711a4b9688ea255797ba5d7355aa988eb2"} +{"instance_id": "bird289", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT d.number, d.surname\nFROM qualifying AS q\nJOIN drivers AS d ON d.driverId = q.driverId\nJOIN races AS r ON r.raceId = q.raceId\nJOIN circuits AS c ON c.circuitId = r.circuitId\nWHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND c.circuitRef = 'monza'\n AND INSTR(q.q3, ':') > 0\n AND 60 * CAST(SUBSTR(q.q3, 1, INSTR(q.q3, ':') - 1) AS INTEGER)\n + CAST(SUBSTR(q.q3, INSTR(q.q3, ':') + 1) AS REAL) < 98.000;\n```", "rows": 7, "sql": "SELECT d.number, d.surname\nFROM qualifying AS q\nJOIN drivers AS d ON d.driverId = q.driverId\nJOIN races AS r ON r.raceId = q.raceId\nJOIN circuits AS c ON c.circuitId = r.circuitId\nWHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND c.circuitRef = 'monza'\n AND INSTR(q.q3, ':') > 0\n AND 60 * CAST(SUBSTR(q.q3, 1, INSTR(q.q3, ':') - 1) AS INTEGER)\n + CAST(SUBSTR(q.q3, INSTR(q.q3, ':') + 1) AS REAL) < 98.000;", "seconds": 16.757050750078633, "calls": [{"seconds": 2.657203375012614, "usage": {"completion_tokens": 83, "prompt_tokens": 1749, "total_tokens": 1832, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1184, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1184, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1184, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.186862167087384, "usage": {"completion_tokens": 337, "prompt_tokens": 2110, "total_tokens": 2447, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 154, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 361, "cached_tokens": 1184, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 361, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 361, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.8897472500102594, "usage": {"completion_tokens": 301, "prompt_tokens": 2672, "total_tokens": 2973, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 130, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 562, "cached_tokens": 1545, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 562, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 562, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8393dcf5227cec7372c106c6e4c198e02408a01d3ec6f02f20784cc5524e04b0", "csv_sha256": "0c0e2b5f81419acf1d3bcf16c9bc30abecae507ca701a67e7b2f328ded604b4c"} +{"instance_id": "bird290", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH local_starts AS (\n SELECT c.circuitRef,\n time(r.time, printf('%+d minutes', CASE\n -- These archive entries already use venue-local time.\n WHEN r.year <= 2006\n OR (c.circuitRef = 'yas_marina' AND r.date = '2017-11-26') THEN 0\n -- UTC offsets on the recorded race dates.\n WHEN c.circuitRef = 'americas' THEN\n CASE WHEN r.date < date(r.year || '-11-01', 'weekday 0')\n THEN -300 ELSE -360 END\n WHEN c.circuitRef = 'rodriguez' THEN -360\n WHEN c.circuitRef IN ('indianapolis', 'villeneuve') THEN -240\n WHEN c.circuitRef = 'interlagos' THEN -120\n WHEN c.circuitRef = 'silverstone' THEN 60\n WHEN c.circuitRef IN ('bahrain', 'istanbul') THEN 180\n WHEN c.circuitRef IN ('BAK', 'yas_marina') THEN 240\n WHEN c.circuitRef = 'sochi' THEN CASE WHEN r.year = 2014 THEN 240 ELSE 180 END\n WHEN c.circuitRef = 'buddh' THEN 330\n WHEN c.circuitRef IN ('marina_bay', 'sepang', 'shanghai') THEN 480\n WHEN c.circuitRef IN ('fuji', 'suzuka', 'yeongam') THEN 540\n WHEN c.circuitRef IN ('catalunya', 'hockenheimring', 'hungaroring',\n 'magny_cours', 'monaco', 'monza', 'nurburgring',\n 'red_bull_ring', 'spa', 'valencia') THEN 120\n END)) AS local_start\n FROM races AS r\n JOIN circuits AS c ON c.circuitId = r.circuitId\n WHERE r.time IS NOT NULL\n), extrema AS (\n SELECT MIN(local_start) AS earliest, MAX(local_start) AS latest\n FROM local_starts\n)\nSELECT (SELECT group_concat(circuitRef, ', ')\n FROM (SELECT DISTINCT circuitRef FROM local_starts\n WHERE local_start = e.earliest ORDER BY circuitRef)) AS earliest_circuit_refs,\n (SELECT group_concat(circuitRef, ', ')\n FROM (SELECT DISTINCT circuitRef FROM local_starts\n WHERE local_start = e.latest ORDER BY circuitRef)) AS latest_circuit_refs,\n CAST(strftime('%s', e.latest) AS INTEGER)\n - CAST(strftime('%s', e.earliest) AS INTEGER) AS gap_seconds\nFROM extrema AS e;\n```", "rows": 1, "sql": "WITH local_starts AS (\n SELECT c.circuitRef,\n time(r.time, printf('%+d minutes', CASE\n -- These archive entries already use venue-local time.\n WHEN r.year <= 2006\n OR (c.circuitRef = 'yas_marina' AND r.date = '2017-11-26') THEN 0\n -- UTC offsets on the recorded race dates.\n WHEN c.circuitRef = 'americas' THEN\n CASE WHEN r.date < date(r.year || '-11-01', 'weekday 0')\n THEN -300 ELSE -360 END\n WHEN c.circuitRef = 'rodriguez' THEN -360\n WHEN c.circuitRef IN ('indianapolis', 'villeneuve') THEN -240\n WHEN c.circuitRef = 'interlagos' THEN -120\n WHEN c.circuitRef = 'silverstone' THEN 60\n WHEN c.circuitRef IN ('bahrain', 'istanbul') THEN 180\n WHEN c.circuitRef IN ('BAK', 'yas_marina') THEN 240\n WHEN c.circuitRef = 'sochi' THEN CASE WHEN r.year = 2014 THEN 240 ELSE 180 END\n WHEN c.circuitRef = 'buddh' THEN 330\n WHEN c.circuitRef IN ('marina_bay', 'sepang', 'shanghai') THEN 480\n WHEN c.circuitRef IN ('fuji', 'suzuka', 'yeongam') THEN 540\n WHEN c.circuitRef IN ('catalunya', 'hockenheimring', 'hungaroring',\n 'magny_cours', 'monaco', 'monza', 'nurburgring',\n 'red_bull_ring', 'spa', 'valencia') THEN 120\n END)) AS local_start\n FROM races AS r\n JOIN circuits AS c ON c.circuitId = r.circuitId\n WHERE r.time IS NOT NULL\n), extrema AS (\n SELECT MIN(local_start) AS earliest, MAX(local_start) AS latest\n FROM local_starts\n)\nSELECT (SELECT group_concat(circuitRef, ', ')\n FROM (SELECT DISTINCT circuitRef FROM local_starts\n WHERE local_start = e.earliest ORDER BY circuitRef)) AS earliest_circuit_refs,\n (SELECT group_concat(circuitRef, ', ')\n FROM (SELECT DISTINCT circuitRef FROM local_starts\n WHERE local_start = e.latest ORDER BY circuitRef)) AS latest_circuit_refs,\n CAST(strftime('%s', e.latest) AS INTEGER)\n - CAST(strftime('%s', e.earliest) AS INTEGER) AS gap_seconds\nFROM extrema AS e;", "seconds": 84.46250670903828, "calls": [{"seconds": 2.847979334066622, "usage": {"completion_tokens": 68, "prompt_tokens": 1717, "total_tokens": 1785, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1152, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1152, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1152, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.1469404590316117, "usage": {"completion_tokens": 18, "prompt_tokens": 1948, "total_tokens": 1966, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 231, "cached_tokens": 1152, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 231, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 231, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.4537402499699965, "usage": {"completion_tokens": 132, "prompt_tokens": 1996, "total_tokens": 2128, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 58, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1383, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5881711669499055, "usage": {"completion_tokens": 92, "prompt_tokens": 2272, "total_tokens": 2364, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 276, "cached_tokens": 1431, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 276, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 276, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.646436291048303, "usage": {"completion_tokens": 127, "prompt_tokens": 3368, "total_tokens": 3495, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 70, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1096, "cached_tokens": 1707, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1096, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1096, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.32443779206369, "usage": {"completion_tokens": 283, "prompt_tokens": 4450, "total_tokens": 4733, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 156, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1082, "cached_tokens": 2803, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1082, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1082, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 15.028781207976863, "usage": {"completion_tokens": 625, "prompt_tokens": 5652, "total_tokens": 6277, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 516, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1202, "cached_tokens": 3885, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1202, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1202, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.685143999988213, "usage": {"completion_tokens": 414, "prompt_tokens": 7082, "total_tokens": 7496, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 325, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1430, "cached_tokens": 5087, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1430, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1430, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 21.55672350001987, "usage": {"completion_tokens": 1099, "prompt_tokens": 7615, "total_tokens": 8714, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 484, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 533, "cached_tokens": 6517, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 533, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 533, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.1314855000237, "usage": {"completion_tokens": 623, "prompt_tokens": 9346, "total_tokens": 9969, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 35, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1731, "cached_tokens": 7050, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1731, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1731, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0f1cf3a846dd089b6b794edfad48f0b7ad427d2ca76981ce3cd88e12beebcba9", "csv_sha256": "9b14f2b1e93e017170a6a0c9ca9c364b7d4937c612e24f2227d723036f605008"} +{"instance_id": "bird291", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT d.forename, d.surname\nFROM drivers AS d\nJOIN results AS r ON r.driverId = d.driverId\nWHERE d.dob >= '1980-01-01'\n AND d.dob < '1990-01-01'\n AND TRIM(r.fastestLapSpeed) NOT IN ('', '\\N')\nGROUP BY d.driverId, d.forename, d.surname, d.dob\nORDER BY MAX(CAST(r.fastestLapSpeed AS REAL)) DESC,\n d.dob ASC,\n d.surname ASC\nLIMIT 3;\n```", "rows": 3, "sql": "SELECT d.forename, d.surname\nFROM drivers AS d\nJOIN results AS r ON r.driverId = d.driverId\nWHERE d.dob >= '1980-01-01'\n AND d.dob < '1990-01-01'\n AND TRIM(r.fastestLapSpeed) NOT IN ('', '\\N')\nGROUP BY d.driverId, d.forename, d.surname, d.dob\nORDER BY MAX(CAST(r.fastestLapSpeed AS REAL)) DESC,\n d.dob ASC,\n d.surname ASC\nLIMIT 3;", "seconds": 12.000773000065237, "calls": [{"seconds": 2.2496811660239473, "usage": {"completion_tokens": 50, "prompt_tokens": 1767, "total_tokens": 1817, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1202, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1202, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1202, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.759470458026044, "usage": {"completion_tokens": 231, "prompt_tokens": 2021, "total_tokens": 2252, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 86, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 254, "cached_tokens": 1202, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 254, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 254, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.959889416000806, "usage": {"completion_tokens": 128, "prompt_tokens": 2413, "total_tokens": 2541, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 392, "cached_tokens": 1456, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 392, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 392, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b602c01e7c63492960d8511e89e38af83b6a9d00727b830983130f10a8af554a", "csv_sha256": "e2c86ff572c42d787aef2bf77810b6fd1ff4c081f03eea73c820b31fcfb9dc68"} +{"instance_id": "bird292", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT d.driverRef\nFROM qualifying AS q\nJOIN races AS r ON r.raceId = q.raceId\nJOIN drivers AS d ON d.driverId = q.driverId\nWHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND (q.q2 IS NULL OR TRIM(q.q2) = '')\nORDER BY CAST(SUBSTR(q.q1, 1, INSTR(q.q1, ':') - 1) AS INTEGER) DESC,\n CAST(SUBSTR(q.q1, INSTR(q.q1, ':') + 1) AS REAL) DESC,\n q.driverId ASC;\n```", "rows": 5, "sql": "SELECT d.driverRef\nFROM qualifying AS q\nJOIN races AS r ON r.raceId = q.raceId\nJOIN drivers AS d ON d.driverId = q.driverId\nWHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND (q.q2 IS NULL OR TRIM(q.q2) = '')\nORDER BY CAST(SUBSTR(q.q1, 1, INSTR(q.q1, ':') - 1) AS INTEGER) DESC,\n CAST(SUBSTR(q.q1, INSTR(q.q1, ':') + 1) AS REAL) DESC,\n q.driverId ASC;", "seconds": 19.553200750029646, "calls": [{"seconds": 2.66744683298748, "usage": {"completion_tokens": 67, "prompt_tokens": 1714, "total_tokens": 1781, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1149, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1149, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1149, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0382205829955637, "usage": {"completion_tokens": 75, "prompt_tokens": 1992, "total_tokens": 2067, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1149, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.625060958904214, "usage": {"completion_tokens": 414, "prompt_tokens": 2518, "total_tokens": 2932, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 255, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 526, "cached_tokens": 1427, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 526, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 526, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.193824041052721, "usage": {"completion_tokens": 143, "prompt_tokens": 3116, "total_tokens": 3259, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 598, "cached_tokens": 1953, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 598, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 598, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7158ced49f67b61b78a444bb56ba97821023601e4fe18165fc705c0350c367e9", "csv_sha256": "8eb914d73ea88d0010c8dac478aac3e0bd3508b4e3c9ef7174e2810bb3982826"} +{"instance_id": "bird293", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT res.driverId)\nFROM results AS res\nJOIN races AS r ON r.raceId = res.raceId\nJOIN status AS s ON s.statusId = res.statusId\nWHERE r.year = 1962\n AND r.name = 'British Grand Prix'\n AND s.status = 'Withdrew';\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT res.driverId)\nFROM results AS res\nJOIN races AS r ON r.raceId = res.raceId\nJOIN status AS s ON s.statusId = res.statusId\nWHERE r.year = 1962\n AND r.name = 'British Grand Prix'\n AND s.status = 'Withdrew';", "seconds": 8.131024000002071, "calls": [{"seconds": 2.3623523339629173, "usage": {"completion_tokens": 66, "prompt_tokens": 1677, "total_tokens": 1743, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1112, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1112, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1112, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.845199750037864, "usage": {"completion_tokens": 89, "prompt_tokens": 1970, "total_tokens": 2059, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 293, "cached_tokens": 1112, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 293, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 293, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.898564500035718, "usage": {"completion_tokens": 78, "prompt_tokens": 2161, "total_tokens": 2239, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 191, "cached_tokens": 1405, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 191, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 191, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "81cb2e91e7d030919ffaf7d22085e431ee17dcf56de1df39fee3df380b3fc733", "csv_sha256": "f5a48a1a9b2733668866135b4908fb99a9d60273c4cb4aefafced128de2f8872"} +{"instance_id": "bird294", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(\n 100.0 * COUNT(DISTINCT CASE\n WHEN s.status = 'Finished' OR s.status LIKE '+% Lap%' THEN re.driverId\n END) / COUNT(DISTINCT re.driverId),\n 2\n) AS classified_finisher_percentage\nFROM races AS r\nJOIN results AS re ON re.raceId = r.raceId\nJOIN status AS s ON s.statusId = re.statusId\nWHERE r.year = 1957\n AND r.name = 'British Grand Prix'\n AND re.positionText <> 'W';\n```", "rows": 1, "sql": "SELECT ROUND(\n 100.0 * COUNT(DISTINCT CASE\n WHEN s.status = 'Finished' OR s.status LIKE '+% Lap%' THEN re.driverId\n END) / COUNT(DISTINCT re.driverId),\n 2\n) AS classified_finisher_percentage\nFROM races AS r\nJOIN results AS re ON re.raceId = r.raceId\nJOIN status AS s ON s.statusId = re.statusId\nWHERE r.year = 1957\n AND r.name = 'British Grand Prix'\n AND re.positionText <> 'W';", "seconds": 16.14090912498068, "calls": [{"seconds": 2.601652374956757, "usage": {"completion_tokens": 66, "prompt_tokens": 1715, "total_tokens": 1781, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1150, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1150, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1150, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0511524160392582, "usage": {"completion_tokens": 87, "prompt_tokens": 2008, "total_tokens": 2095, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 293, "cached_tokens": 1150, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 293, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 293, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.931151124997996, "usage": {"completion_tokens": 291, "prompt_tokens": 2492, "total_tokens": 2783, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 157, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 484, "cached_tokens": 1443, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 484, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 484, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.515958833973855, "usage": {"completion_tokens": 127, "prompt_tokens": 2928, "total_tokens": 3055, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 436, "cached_tokens": 1927, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 436, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 436, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0fc58ec763e213ac6e0048fd35b948881e6feac4c22705c5a84579815983c5c5", "csv_sha256": "15349e29aca5c010a39b5d6c9f1788f563e3610e198cd2d39d463193f2a5348a"} +{"instance_id": "bird295", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH event_totals AS (\n SELECT v.event_id, SUM(e.cost) AS total_expense\n FROM expense AS e\n JOIN member AS m ON m.member_id = e.link_to_member\n JOIN budget AS b ON b.budget_id = e.link_to_budget\n JOIN event AS v ON v.event_id = b.link_to_event\n WHERE m.first_name = 'Elijah'\n AND m.last_name = 'Allen'\n AND strftime('%m', e.expense_date) IN ('09', '10')\n GROUP BY v.event_id\n)\nSELECT ROUND(AVG(total_expense), 2) AS mean_total_expense_per_event\nFROM event_totals;\n```", "rows": 1, "sql": "WITH event_totals AS (\n SELECT v.event_id, SUM(e.cost) AS total_expense\n FROM expense AS e\n JOIN member AS m ON m.member_id = e.link_to_member\n JOIN budget AS b ON b.budget_id = e.link_to_budget\n JOIN event AS v ON v.event_id = b.link_to_event\n WHERE m.first_name = 'Elijah'\n AND m.last_name = 'Allen'\n AND strftime('%m', e.expense_date) IN ('09', '10')\n GROUP BY v.event_id\n)\nSELECT ROUND(AVG(total_expense), 2) AS mean_total_expense_per_event\nFROM event_totals;", "seconds": 18.52683641691692, "calls": [{"seconds": 2.7614639160456136, "usage": {"completion_tokens": 79, "prompt_tokens": 1619, "total_tokens": 1698, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1071, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1071, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1071, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.732949124998413, "usage": {"completion_tokens": 50, "prompt_tokens": 1900, "total_tokens": 1950, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 281, "cached_tokens": 1071, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 281, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 281, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.995934125036001, "usage": {"completion_tokens": 136, "prompt_tokens": 2031, "total_tokens": 2167, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 24, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 131, "cached_tokens": 1352, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 131, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 131, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.90797083301004, "usage": {"completion_tokens": 220, "prompt_tokens": 2817, "total_tokens": 3037, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 52, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 786, "cached_tokens": 1483, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 786, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 786, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.0920505420072, "usage": {"completion_tokens": 151, "prompt_tokens": 3213, "total_tokens": 3364, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 396, "cached_tokens": 2269, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 396, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 396, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a3d68fe74145032911b854d47a12415b6a7f0e18beceea7a8ad15a84c430505b", "csv_sha256": "fbbf79e63ee702f115d99159323e49f58c4d792dbc2ee829e5465975c79f9010"} +{"instance_id": "bird296", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT SUM(b.spent) FILTER (WHERE e.event_date < '2020-01-01')\n - SUM(b.spent) FILTER (WHERE e.event_date >= '2020-01-01') AS spending_difference\nFROM event AS e\nJOIN budget AS b ON b.link_to_event = e.event_id\nWHERE e.event_date >= '2019-01-01'\n AND e.event_date < '2021-01-01';\n```", "rows": 1, "sql": "SELECT SUM(b.spent) FILTER (WHERE e.event_date < '2020-01-01')\n - SUM(b.spent) FILTER (WHERE e.event_date >= '2020-01-01') AS spending_difference\nFROM event AS e\nJOIN budget AS b ON b.link_to_event = e.event_id\nWHERE e.event_date >= '2019-01-01'\n AND e.event_date < '2021-01-01';", "seconds": 16.98286741692573, "calls": [{"seconds": 2.836980125051923, "usage": {"completion_tokens": 79, "prompt_tokens": 1621, "total_tokens": 1700, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1073, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1073, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1073, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.672360124997795, "usage": {"completion_tokens": 133, "prompt_tokens": 1888, "total_tokens": 2021, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 67, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 267, "cached_tokens": 1073, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 267, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 267, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.231093334034085, "usage": {"completion_tokens": 227, "prompt_tokens": 2316, "total_tokens": 2543, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 112, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 428, "cached_tokens": 1340, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 428, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 428, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2198926670243964, "usage": {"completion_tokens": 101, "prompt_tokens": 2667, "total_tokens": 2768, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 351, "cached_tokens": 1768, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 351, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 351, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "c3d9150153aea660c5bdadc314cc5e659b19b581269a6db8530ac35b17d4ae07", "csv_sha256": "d64cc717d4d3e2286e11f8c8bce4f3848e39e380df9f68d043ba0cefcebe383a"} +{"instance_id": "bird297", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT notes\nFROM income\nWHERE date(date_received) = '2019-09-14'\n AND source LIKE '%fundrais%';\n```", "rows": 1, "sql": "SELECT notes\nFROM income\nWHERE date(date_received) = '2019-09-14'\n AND source LIKE '%fundrais%';", "seconds": 7.803787292097695, "calls": [{"seconds": 2.244319290970452, "usage": {"completion_tokens": 19, "prompt_tokens": 1614, "total_tokens": 1633, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1066, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1066, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1066, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.669575082953088, "usage": {"completion_tokens": 47, "prompt_tokens": 1682, "total_tokens": 1729, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 68, "cached_tokens": 1066, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 68, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 68, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.874651624937542, "usage": {"completion_tokens": 57, "prompt_tokens": 1791, "total_tokens": 1848, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 18, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 109, "cached_tokens": 1134, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 109, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 109, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5add2623a61453a221e05202176b3ffb55966bbb0d7142743d15c677f4fcc8bf", "csv_sha256": "81f8a68d1147028dc8c52c2630134c95301d174db1283af011d2b29b4f7f471c"} +{"instance_id": "bird298", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT 1.0 * SUM(CASE WHEN e.event_name = 'Yearly Kickoff' THEN b.amount END)\n / NULLIF(SUM(CASE WHEN e.event_name = 'October Meeting' THEN b.amount END), 0) AS advertisement_budget_ratio\nFROM budget AS b\nJOIN event AS e ON e.event_id = b.link_to_event\nWHERE b.category = 'Advertisement'\n AND e.event_name IN ('Yearly Kickoff', 'October Meeting');\n```", "rows": 1, "sql": "SELECT 1.0 * SUM(CASE WHEN e.event_name = 'Yearly Kickoff' THEN b.amount END)\n / NULLIF(SUM(CASE WHEN e.event_name = 'October Meeting' THEN b.amount END), 0) AS advertisement_budget_ratio\nFROM budget AS b\nJOIN event AS e ON e.event_id = b.link_to_event\nWHERE b.category = 'Advertisement'\n AND e.event_name IN ('Yearly Kickoff', 'October Meeting');", "seconds": 12.170659124967642, "calls": [{"seconds": 2.7600420000962913, "usage": {"completion_tokens": 50, "prompt_tokens": 1618, "total_tokens": 1668, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1070, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1070, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1070, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.794748874963261, "usage": {"completion_tokens": 88, "prompt_tokens": 1773, "total_tokens": 1861, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 155, "cached_tokens": 1070, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 155, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 155, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2037160829640925, "usage": {"completion_tokens": 116, "prompt_tokens": 1994, "total_tokens": 2110, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 221, "cached_tokens": 1225, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 221, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 221, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3968167499406263, "usage": {"completion_tokens": 105, "prompt_tokens": 2242, "total_tokens": 2347, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 248, "cached_tokens": 1446, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 248, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 248, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d0d831678ac1080b26d1e2d2764d7edb9a8d10d511cdc0d590520743f4542d45", "csv_sha256": "fcb62319bc4432c3556386a1c6744faab7cf340b5a645589f5b9f544af478483"} +{"instance_id": "bird299", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH event_ratios AS (\n SELECT e.event_name,\n 1.0 * SUM(b.spent) / NULLIF(SUM(b.amount), 0) AS spending_ratio\n FROM event AS e\n JOIN budget AS b ON b.link_to_event = e.event_id\n WHERE e.status = 'Closed'\n GROUP BY e.event_id, e.event_name\n)\nSELECT event_name\nFROM event_ratios\nWHERE spending_ratio = (SELECT MAX(spending_ratio) FROM event_ratios)\nORDER BY event_name;\n```", "rows": 3, "sql": "WITH event_ratios AS (\n SELECT e.event_name,\n 1.0 * SUM(b.spent) / NULLIF(SUM(b.amount), 0) AS spending_ratio\n FROM event AS e\n JOIN budget AS b ON b.link_to_event = e.event_id\n WHERE e.status = 'Closed'\n GROUP BY e.event_id, e.event_name\n)\nSELECT event_name\nFROM event_ratios\nWHERE spending_ratio = (SELECT MAX(spending_ratio) FROM event_ratios)\nORDER BY event_name;", "seconds": 16.870136041077785, "calls": [{"seconds": 2.734297083108686, "usage": {"completion_tokens": 79, "prompt_tokens": 1613, "total_tokens": 1692, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1065, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1065, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1065, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.863939457922243, "usage": {"completion_tokens": 158, "prompt_tokens": 1880, "total_tokens": 2038, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 26, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 267, "cached_tokens": 1065, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 267, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 267, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.643053208012134, "usage": {"completion_tokens": 230, "prompt_tokens": 2231, "total_tokens": 2461, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 97, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 351, "cached_tokens": 1332, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 351, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 351, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6049584159627557, "usage": {"completion_tokens": 117, "prompt_tokens": 2613, "total_tokens": 2730, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 382, "cached_tokens": 1683, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 382, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 382, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9c0a0849aeaab6f7ce5eade63c7186fcb01594eea7e25dcc617bba2adb52d57b", "csv_sha256": "89e62612688e604a8a957775c6c326476a97abe9f2c2299f294c87c4d5b0da78"} +{"instance_id": "bird300", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT m.first_name, m.last_name\nFROM member AS m\nJOIN attendance AS a ON a.link_to_member = m.member_id\nJOIN event AS e ON e.event_id = a.link_to_event\nGROUP BY m.member_id, m.first_name, m.last_name\nHAVING COUNT(DISTINCT e.event_id) > 7;\n```", "rows": 29, "sql": "SELECT m.first_name, m.last_name\nFROM member AS m\nJOIN attendance AS a ON a.link_to_member = m.member_id\nJOIN event AS e ON e.event_id = a.link_to_event\nGROUP BY m.member_id, m.first_name, m.last_name\nHAVING COUNT(DISTINCT e.event_id) > 7;", "seconds": 11.844863458070904, "calls": [{"seconds": 2.017725791898556, "usage": {"completion_tokens": 15, "prompt_tokens": 1610, "total_tokens": 1625, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1062, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1062, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1062, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.5764396670274436, "usage": {"completion_tokens": 65, "prompt_tokens": 1663, "total_tokens": 1728, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 53, "cached_tokens": 1062, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 53, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 53, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.111696874955669, "usage": {"completion_tokens": 153, "prompt_tokens": 1874, "total_tokens": 2027, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 64, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 211, "cached_tokens": 1115, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 211, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 211, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.114708708017133, "usage": {"completion_tokens": 78, "prompt_tokens": 2290, "total_tokens": 2368, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 416, "cached_tokens": 1326, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 416, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 416, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "dcc565b84acd57a7c6291ca75703ae1a80c8a2069d39c5a2e24048ae16dc7021", "csv_sha256": "f82f66eb8f8600540e54a07009c0c4b58b0f3b3215feb5c1b4461181d5abff85"} +{"instance_id": "bird301", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT m.first_name, m.last_name, m.phone\nFROM member AS m\nWHERE EXISTS (\n SELECT 1\n FROM expense AS e\n WHERE e.link_to_member = m.member_id\n AND e.cost > (SELECT AVG(cost) FROM expense)\n);\n```", "rows": 3, "sql": "SELECT m.first_name, m.last_name, m.phone\nFROM member AS m\nWHERE EXISTS (\n SELECT 1\n FROM expense AS e\n WHERE e.link_to_member = m.member_id\n AND e.cost > (SELECT AVG(cost) FROM expense)\n);", "seconds": 8.52884195803199, "calls": [{"seconds": 2.8728692079894245, "usage": {"completion_tokens": 50, "prompt_tokens": 1627, "total_tokens": 1677, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1079, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1079, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1079, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.906287959078327, "usage": {"completion_tokens": 75, "prompt_tokens": 1800, "total_tokens": 1875, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 173, "cached_tokens": 1079, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 173, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 173, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.7359749160241336, "usage": {"completion_tokens": 64, "prompt_tokens": 2004, "total_tokens": 2068, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 204, "cached_tokens": 1252, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 204, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 204, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2392a3a12ad240cfe795b782b38f107aa33a351a0239b9931c47a2731dfdb272", "csv_sha256": "534b2260369b957002d195a35ea5ba4f506e8b91bc9268dba782312a45b50ea1"} +{"instance_id": "bird302", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH fall_event_counts AS (\n SELECT e.event_id,\n e.event_name,\n COUNT(DISTINCT a.link_to_member) AS student_count\n FROM event AS e\n LEFT JOIN attendance AS a ON a.link_to_event = e.event_id\n WHERE e.event_date >= '2019-09-01'\n AND e.event_date < '2019-12-01'\n GROUP BY e.event_id, e.event_name\n), comparison AS (\n SELECT MAX(CASE WHEN event_name = 'Women''s Soccer' THEN student_count END) AS womens_soccer_attendance,\n ROUND(AVG(student_count), 1) AS fall_2019_average_attendance\n FROM fall_event_counts\n)\nSELECT womens_soccer_attendance,\n fall_2019_average_attendance,\n CASE\n WHEN womens_soccer_attendance > fall_2019_average_attendance THEN 'more'\n WHEN womens_soccer_attendance < fall_2019_average_attendance THEN 'fewer'\n WHEN womens_soccer_attendance = fall_2019_average_attendance THEN 'equal'\n END AS verdict\nFROM comparison;\n```", "rows": 1, "sql": "WITH fall_event_counts AS (\n SELECT e.event_id,\n e.event_name,\n COUNT(DISTINCT a.link_to_member) AS student_count\n FROM event AS e\n LEFT JOIN attendance AS a ON a.link_to_event = e.event_id\n WHERE e.event_date >= '2019-09-01'\n AND e.event_date < '2019-12-01'\n GROUP BY e.event_id, e.event_name\n), comparison AS (\n SELECT MAX(CASE WHEN event_name = 'Women''s Soccer' THEN student_count END) AS womens_soccer_attendance,\n ROUND(AVG(student_count), 1) AS fall_2019_average_attendance\n FROM fall_event_counts\n)\nSELECT womens_soccer_attendance,\n fall_2019_average_attendance,\n CASE\n WHEN womens_soccer_attendance > fall_2019_average_attendance THEN 'more'\n WHEN womens_soccer_attendance < fall_2019_average_attendance THEN 'fewer'\n WHEN womens_soccer_attendance = fall_2019_average_attendance THEN 'equal'\n END AS verdict\nFROM comparison;", "seconds": 23.746212249970995, "calls": [{"seconds": 3.149635915993713, "usage": {"completion_tokens": 65, "prompt_tokens": 1779, "total_tokens": 1844, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1231, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1231, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1231, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.795702958013862, "usage": {"completion_tokens": 126, "prompt_tokens": 1990, "total_tokens": 2116, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 69, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 211, "cached_tokens": 1231, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 211, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 211, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.074481999967247, "usage": {"completion_tokens": 134, "prompt_tokens": 2623, "total_tokens": 2757, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 633, "cached_tokens": 1442, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 633, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 633, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.593439333024435, "usage": {"completion_tokens": 307, "prompt_tokens": 2944, "total_tokens": 3251, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 41, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 321, "cached_tokens": 2075, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 321, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 321, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.113419250003062, "usage": {"completion_tokens": 242, "prompt_tokens": 3537, "total_tokens": 3779, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 593, "cached_tokens": 2396, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 593, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 593, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "61326caa8835a1c4cd0d537465ce4963202de1e6f3dc925184f7ffc2ebe3c1df", "csv_sha256": "3858c1b5728ee7eece5107a8203ebef10df49a2b89a0e511ce6b930ed3c66fbf"} +{"instance_id": "bird303", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH college_departments AS (\n SELECT DISTINCT department\n FROM major\n WHERE college = 'College of Humanities and Social Sciences'\n), member_counts AS (\n SELECT link_to_major, COUNT(*) AS member_count\n FROM member\n GROUP BY link_to_major\n), department_majors AS (\n SELECT m.department, m.major_name, COALESCE(mc.member_count, 0) AS member_count\n FROM major AS m\n JOIN college_departments AS d ON d.department = m.department\n LEFT JOIN member_counts AS mc ON mc.link_to_major = m.major_id\n ORDER BY m.department, m.major_name, m.major_id\n)\nSELECT department,\n GROUP_CONCAT(major_name, ', ') AS majors_offered,\n GROUP_CONCAT(major_name, ', ') FILTER (WHERE member_count > 0) AS majors_held_by_members,\n ROUND(AVG(member_count), 2) AS avg_members_per_major\nFROM department_majors\nGROUP BY department\nORDER BY department;\n```", "rows": 11, "sql": "WITH college_departments AS (\n SELECT DISTINCT department\n FROM major\n WHERE college = 'College of Humanities and Social Sciences'\n), member_counts AS (\n SELECT link_to_major, COUNT(*) AS member_count\n FROM member\n GROUP BY link_to_major\n), department_majors AS (\n SELECT m.department, m.major_name, COALESCE(mc.member_count, 0) AS member_count\n FROM major AS m\n JOIN college_departments AS d ON d.department = m.department\n LEFT JOIN member_counts AS mc ON mc.link_to_major = m.major_id\n ORDER BY m.department, m.major_name, m.major_id\n)\nSELECT department,\n GROUP_CONCAT(major_name, ', ') AS majors_offered,\n GROUP_CONCAT(major_name, ', ') FILTER (WHERE member_count > 0) AS majors_held_by_members,\n ROUND(AVG(member_count), 2) AS avg_members_per_major\nFROM department_majors\nGROUP BY department\nORDER BY department;", "seconds": 37.09778591594659, "calls": [{"seconds": 2.4628856669878587, "usage": {"completion_tokens": 50, "prompt_tokens": 1723, "total_tokens": 1773, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1175, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1175, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1175, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.223817707970738, "usage": {"completion_tokens": 198, "prompt_tokens": 1876, "total_tokens": 2074, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 105, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 153, "cached_tokens": 1175, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 153, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 153, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.09701666701585, "usage": {"completion_tokens": 390, "prompt_tokens": 2332, "total_tokens": 2722, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 152, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 456, "cached_tokens": 1328, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 456, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 456, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 21.294482917059213, "usage": {"completion_tokens": 219, "prompt_tokens": 3188, "total_tokens": 3407, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 856, "cached_tokens": 1784, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 856, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 856, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b7efc1e6528667825d8bc147012e01d1ad50ceb353d813cfea83fb294f7b7d78", "csv_sha256": "a713fa1578eae3ef846b0a968b8fa21b8e70f6f70332e503c35a946812eedc9e"} +{"instance_id": "bird304", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH events_2019 AS (\n SELECT event_id, type AS event_type\n FROM event\n WHERE event_date >= '2019-01-01'\n AND event_date < '2020-01-01'\n),\nattendance_by_type AS (\n SELECT e.event_type, COUNT(DISTINCT a.link_to_member) AS members_attended\n FROM events_2019 AS e\n JOIN attendance AS a ON a.link_to_event = e.event_id\n GROUP BY e.event_type\n),\nbudget_by_type AS (\n SELECT e.event_type, COALESCE(SUM(b.amount), 0) AS budgeted_dollars\n FROM events_2019 AS e\n LEFT JOIN budget AS b ON b.link_to_event = e.event_id\n GROUP BY e.event_type\n)\nSELECT b.event_type,\n COALESCE(a.members_attended, 0) AS members_attended,\n b.budgeted_dollars\nFROM budget_by_type AS b\nLEFT JOIN attendance_by_type AS a ON a.event_type IS b.event_type\nORDER BY b.event_type;\n```", "rows": 8, "sql": "WITH events_2019 AS (\n SELECT event_id, type AS event_type\n FROM event\n WHERE event_date >= '2019-01-01'\n AND event_date < '2020-01-01'\n),\nattendance_by_type AS (\n SELECT e.event_type, COUNT(DISTINCT a.link_to_member) AS members_attended\n FROM events_2019 AS e\n JOIN attendance AS a ON a.link_to_event = e.event_id\n GROUP BY e.event_type\n),\nbudget_by_type AS (\n SELECT e.event_type, COALESCE(SUM(b.amount), 0) AS budgeted_dollars\n FROM events_2019 AS e\n LEFT JOIN budget AS b ON b.link_to_event = e.event_id\n GROUP BY e.event_type\n)\nSELECT b.event_type,\n COALESCE(a.members_attended, 0) AS members_attended,\n b.budgeted_dollars\nFROM budget_by_type AS b\nLEFT JOIN attendance_by_type AS a ON a.event_type IS b.event_type\nORDER BY b.event_type;", "seconds": 28.8286275829887, "calls": [{"seconds": 2.875484791933559, "usage": {"completion_tokens": 94, "prompt_tokens": 1726, "total_tokens": 1820, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1178, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1178, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1178, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.277535790926777, "usage": {"completion_tokens": 270, "prompt_tokens": 2046, "total_tokens": 2316, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 93, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 320, "cached_tokens": 1178, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 320, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 320, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.9190072499914095, "usage": {"completion_tokens": 199, "prompt_tokens": 2703, "total_tokens": 2902, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 81, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 657, "cached_tokens": 1498, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 657, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 657, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.827732792007737, "usage": {"completion_tokens": 420, "prompt_tokens": 3836, "total_tokens": 4256, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 164, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1133, "cached_tokens": 2155, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1133, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1133, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.899508584057912, "usage": {"completion_tokens": 233, "prompt_tokens": 4586, "total_tokens": 4819, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 750, "cached_tokens": 3288, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 750, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 750, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0fce4d790caca475e1a83c5dfae82725465b95db1d5e076495159bbeae3a3ed0", "csv_sha256": "5f96d29d2af150561f3256dc0a3e3d06bb892f48f2628eadb662e4e7f45a7312"} +{"instance_id": "bird305", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT mj.department, COALESCE(SUM(i.amount), 0) AS total_dues\nFROM major AS mj\nLEFT JOIN member AS m\n ON m.link_to_major = mj.major_id\n AND m.position = 'Member'\n AND EXISTS (\n SELECT 1\n FROM attendance AS a\n JOIN event AS e ON e.event_id = a.link_to_event\n WHERE a.link_to_member = m.member_id\n )\nLEFT JOIN income AS i\n ON i.link_to_member = m.member_id\n AND i.source = 'Dues'\nWHERE mj.college IN (\n SELECT college\n FROM major\n WHERE department = 'Electrical and Computer Engineering Department'\n)\nGROUP BY mj.department\nORDER BY mj.department;\n```", "rows": 4, "sql": "SELECT mj.department, COALESCE(SUM(i.amount), 0) AS total_dues\nFROM major AS mj\nLEFT JOIN member AS m\n ON m.link_to_major = mj.major_id\n AND m.position = 'Member'\n AND EXISTS (\n SELECT 1\n FROM attendance AS a\n JOIN event AS e ON e.event_id = a.link_to_event\n WHERE a.link_to_member = m.member_id\n )\nLEFT JOIN income AS i\n ON i.link_to_member = m.member_id\n AND i.source = 'Dues'\nWHERE mj.college IN (\n SELECT college\n FROM major\n WHERE department = 'Electrical and Computer Engineering Department'\n)\nGROUP BY mj.department\nORDER BY mj.department;", "seconds": 23.97415187500883, "calls": [{"seconds": 3.0169631669996306, "usage": {"completion_tokens": 95, "prompt_tokens": 1722, "total_tokens": 1817, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1174, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1174, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1174, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.458046125015244, "usage": {"completion_tokens": 193, "prompt_tokens": 2045, "total_tokens": 2238, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 147, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 323, "cached_tokens": 1174, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 323, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 323, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.5739534170134, "usage": {"completion_tokens": 446, "prompt_tokens": 2298, "total_tokens": 2744, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 268, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 253, "cached_tokens": 1497, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 253, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 253, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8975487499265, "usage": {"completion_tokens": 159, "prompt_tokens": 2960, "total_tokens": 3119, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 662, "cached_tokens": 1750, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 662, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 662, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "55a27833ce7c9e9aab5ba83a90b2547cc3806080b6a3292e1f5cbbc2be0a7060", "csv_sha256": "4d2845c2694fa416e04318a4e85a59da2d99e7f355568eabd60934d0500e5343"} +{"instance_id": "bird306", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH qualifying_member_budgets AS (\n SELECT DISTINCT link_to_member, link_to_budget\n FROM expense\n WHERE cost > 50\n)\nSELECT m.first_name,\n m.last_name,\n ROUND(SUM(b.amount - b.spent), 2) AS total_amount_left\nFROM qualifying_member_budgets AS q\nJOIN member AS m ON m.member_id = q.link_to_member\nJOIN budget AS b ON b.budget_id = q.link_to_budget\nGROUP BY m.member_id, m.first_name, m.last_name\nORDER BY total_amount_left DESC, m.last_name ASC, m.first_name ASC;\n```", "rows": 3, "sql": "WITH qualifying_member_budgets AS (\n SELECT DISTINCT link_to_member, link_to_budget\n FROM expense\n WHERE cost > 50\n)\nSELECT m.first_name,\n m.last_name,\n ROUND(SUM(b.amount - b.spent), 2) AS total_amount_left\nFROM qualifying_member_budgets AS q\nJOIN member AS m ON m.member_id = q.link_to_member\nJOIN budget AS b ON b.budget_id = q.link_to_budget\nGROUP BY m.member_id, m.first_name, m.last_name\nORDER BY total_amount_left DESC, m.last_name ASC, m.first_name ASC;", "seconds": 11.436456708004698, "calls": [{"seconds": 2.433775792014785, "usage": {"completion_tokens": 65, "prompt_tokens": 1777, "total_tokens": 1842, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1229, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1229, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1229, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.151748958043754, "usage": {"completion_tokens": 219, "prompt_tokens": 2017, "total_tokens": 2236, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 67, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 240, "cached_tokens": 1229, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 240, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 240, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.828683333005756, "usage": {"completion_tokens": 137, "prompt_tokens": 2431, "total_tokens": 2568, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 414, "cached_tokens": 1469, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 414, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 414, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d8e015a97cd42468d4cc6be7694cad16ce233561dbc71e109b2a7449c9285c56", "csv_sha256": "8578792dca788bb0a1af583ea2d3542409fecee7cf62c2d8344f579584113a6b"} +{"instance_id": "bird307", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT SUM(i.amount) AS total_dues_dollars\nFROM income AS i\nWHERE i.source = 'Dues'\n AND EXISTS (\n SELECT 1\n FROM attendance AS a\n JOIN event AS e ON e.event_id = a.link_to_event\n WHERE a.link_to_member = i.link_to_member\n AND e.event_name = 'Football game'\n );\n```", "rows": 1, "sql": "SELECT SUM(i.amount) AS total_dues_dollars\nFROM income AS i\nWHERE i.source = 'Dues'\n AND EXISTS (\n SELECT 1\n FROM attendance AS a\n JOIN event AS e ON e.event_id = a.link_to_event\n WHERE a.link_to_member = i.link_to_member\n AND e.event_name = 'Football game'\n );", "seconds": 14.859211707953364, "calls": [{"seconds": 3.34389762498904, "usage": {"completion_tokens": 80, "prompt_tokens": 1656, "total_tokens": 1736, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1108, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1108, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1108, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.758721624966711, "usage": {"completion_tokens": 116, "prompt_tokens": 1929, "total_tokens": 2045, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 75, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 273, "cached_tokens": 1108, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 273, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 273, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.473019874887541, "usage": {"completion_tokens": 130, "prompt_tokens": 2156, "total_tokens": 2286, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 29, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 227, "cached_tokens": 1381, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 227, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 227, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.261723250034265, "usage": {"completion_tokens": 87, "prompt_tokens": 2396, "total_tokens": 2483, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 240, "cached_tokens": 1608, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 240, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 240, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e0d48ac8333108e1a84f03c9fc1b9fb061f924486a55515087afa78d94da8b7c", "csv_sha256": "6fb728767667e5a627673da75f5ef4dec8fda8dc997fdcdd000425ff0cba4df1"} +{"instance_id": "bird308", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH tyler_college AS (\n SELECT mj.college\n FROM member AS m\n JOIN major AS mj ON mj.major_id = m.link_to_major\n WHERE m.first_name = 'Tyler' AND m.last_name = 'Hewitt'\n), majors_without_members AS (\n SELECT mj.major_name\n FROM major AS mj\n LEFT JOIN member AS m ON m.link_to_major = mj.major_id\n WHERE mj.college IN (SELECT college FROM tyler_college)\n GROUP BY mj.major_name\n HAVING COUNT(m.link_to_major) = 0\n)\nSELECT COUNT(*) AS majors_without_enrolled_members\nFROM majors_without_members;\n```", "rows": 1, "sql": "WITH tyler_college AS (\n SELECT mj.college\n FROM member AS m\n JOIN major AS mj ON mj.major_id = m.link_to_major\n WHERE m.first_name = 'Tyler' AND m.last_name = 'Hewitt'\n), majors_without_members AS (\n SELECT mj.major_name\n FROM major AS mj\n LEFT JOIN member AS m ON m.link_to_major = mj.major_id\n WHERE mj.college IN (SELECT college FROM tyler_college)\n GROUP BY mj.major_name\n HAVING COUNT(m.link_to_major) = 0\n)\nSELECT COUNT(*) AS majors_without_enrolled_members\nFROM majors_without_members;", "seconds": 18.329511292045936, "calls": [{"seconds": 2.62458229099866, "usage": {"completion_tokens": 50, "prompt_tokens": 1648, "total_tokens": 1698, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1100, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1100, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1100, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.210818500025198, "usage": {"completion_tokens": 373, "prompt_tokens": 1801, "total_tokens": 2174, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 210, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 153, "cached_tokens": 1100, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 153, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 153, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.475555083947256, "usage": {"completion_tokens": 147, "prompt_tokens": 2344, "total_tokens": 2491, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 543, "cached_tokens": 1253, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 543, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 543, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "aa9ccba4bf79cd9532b575b5989298cf57f60a787655244e1e33a9b80e75bf81", "csv_sha256": "2c37f3c444a633bf0c13ee15e29dc13c363c91eae1d11d92e658c7b8a22299e4"} +{"instance_id": "bird309", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH event_attendance AS (\n SELECT e.event_id, COUNT(DISTINCT a.link_to_member) AS member_count\n FROM event AS e\n LEFT JOIN attendance AS a ON a.link_to_event = e.event_id\n WHERE EXISTS (\n SELECT 1\n FROM budget AS b\n WHERE b.link_to_event = e.event_id\n AND b.category = 'Advertisement'\n )\n GROUP BY e.event_id\n)\nSELECT ROUND(AVG(member_count), 2) AS average_members_attended\nFROM event_attendance;\n```", "rows": 1, "sql": "WITH event_attendance AS (\n SELECT e.event_id, COUNT(DISTINCT a.link_to_member) AS member_count\n FROM event AS e\n LEFT JOIN attendance AS a ON a.link_to_event = e.event_id\n WHERE EXISTS (\n SELECT 1\n FROM budget AS b\n WHERE b.link_to_event = e.event_id\n AND b.category = 'Advertisement'\n )\n GROUP BY e.event_id\n)\nSELECT ROUND(AVG(member_count), 2) AS average_members_attended\nFROM event_attendance;", "seconds": 17.78610100003425, "calls": [{"seconds": 2.7705352080520242, "usage": {"completion_tokens": 80, "prompt_tokens": 1672, "total_tokens": 1752, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1124, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1124, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1124, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.19741129106842, "usage": {"completion_tokens": 182, "prompt_tokens": 1950, "total_tokens": 2132, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 40, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1124, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8479951249901205, "usage": {"completion_tokens": 42, "prompt_tokens": 2279, "total_tokens": 2321, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 329, "cached_tokens": 1402, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 329, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 329, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.673313207924366, "usage": {"completion_tokens": 135, "prompt_tokens": 2422, "total_tokens": 2557, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 143, "cached_tokens": 1731, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 143, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 143, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2642942080274224, "usage": {"completion_tokens": 120, "prompt_tokens": 2700, "total_tokens": 2820, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1874, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f98d8c45b91f8344f604d1e9a58a49e61eec655773f21ccdf6cd26954b3b081f", "csv_sha256": "45e8c28cadb550c5428dd1dedcf1a5630d162abfb7abe593d67bdb01d38ccbf8"} +{"instance_id": "bird310", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n e.event_name,\n e.location,\n COUNT(DISTINCT a.link_to_member) AS members_attended\nFROM event AS e\nLEFT JOIN attendance AS a ON a.link_to_event = e.event_id\nWHERE e.type = 'Budget'\nGROUP BY e.event_id, e.event_name, e.location;\n```", "rows": 2, "sql": "SELECT\n e.event_name,\n e.location,\n COUNT(DISTINCT a.link_to_member) AS members_attended\nFROM event AS e\nLEFT JOIN attendance AS a ON a.link_to_event = e.event_id\nWHERE e.type = 'Budget'\nGROUP BY e.event_id, e.event_name, e.location;", "seconds": 23.745521540986374, "calls": [{"seconds": 2.4363322500139475, "usage": {"completion_tokens": 65, "prompt_tokens": 1665, "total_tokens": 1730, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1117, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1117, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1117, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.38401741697453, "usage": {"completion_tokens": 128, "prompt_tokens": 1876, "total_tokens": 2004, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 29, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 211, "cached_tokens": 1117, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 211, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 211, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.376202000072226, "usage": {"completion_tokens": 185, "prompt_tokens": 2207, "total_tokens": 2392, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 115, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 331, "cached_tokens": 1328, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 331, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 331, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.348963874974288, "usage": {"completion_tokens": 261, "prompt_tokens": 2503, "total_tokens": 2764, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 179, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 296, "cached_tokens": 1659, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 296, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 296, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1722805419703946, "usage": {"completion_tokens": 74, "prompt_tokens": 2887, "total_tokens": 2961, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 384, "cached_tokens": 1955, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 384, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 384, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "119a9cb958506e34023f64d313cccd9723ae0b9db418dbe7aef90793da7fbd9b", "csv_sha256": "28395d1fa52bba24fc724151df55d6434f37455c52733e58221fda5236e6b6bf"} +{"instance_id": "bird311", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH major_counts AS (\n SELECT mj.major_name, COUNT(DISTINCT m.member_id) AS attendee_count\n FROM attendance AS a\n JOIN event AS e ON e.event_id = a.link_to_event\n JOIN member AS m ON m.member_id = a.link_to_member\n JOIN major AS mj ON mj.major_id = m.link_to_major\n WHERE e.event_name = 'Football game'\n GROUP BY mj.major_id, mj.major_name\n)\nSELECT major_name, attendee_count\nFROM major_counts\nWHERE attendee_count = (SELECT MAX(attendee_count) FROM major_counts)\nORDER BY major_name ASC;\n```", "rows": 3, "sql": "WITH major_counts AS (\n SELECT mj.major_name, COUNT(DISTINCT m.member_id) AS attendee_count\n FROM attendance AS a\n JOIN event AS e ON e.event_id = a.link_to_event\n JOIN member AS m ON m.member_id = a.link_to_member\n JOIN major AS mj ON mj.major_id = m.link_to_major\n WHERE e.event_name = 'Football game'\n GROUP BY mj.major_id, mj.major_name\n)\nSELECT major_name, attendee_count\nFROM major_counts\nWHERE attendee_count = (SELECT MAX(attendee_count) FROM major_counts)\nORDER BY major_name ASC;", "seconds": 12.33007554197684, "calls": [{"seconds": 3.3675267919898033, "usage": {"completion_tokens": 80, "prompt_tokens": 1684, "total_tokens": 1764, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1136, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1136, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1136, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.217312499997206, "usage": {"completion_tokens": 203, "prompt_tokens": 1945, "total_tokens": 2148, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 52, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 261, "cached_tokens": 1136, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 261, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 261, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7195248750504106, "usage": {"completion_tokens": 136, "prompt_tokens": 2327, "total_tokens": 2463, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 382, "cached_tokens": 1397, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 382, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 382, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "93e6ec5042d3dd45926639a44f20a920911ca1c7de4be8efed0b05f1f3cec455", "csv_sha256": "67ec8847a7b28e440bca903ca464d9c03f97740dc8432b9bae2ae6a31fcc716b"} +{"instance_id": "bird312", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(100.0 * COUNT(CASE WHEN NOT EXISTS (\n SELECT 1\n FROM member AS m\n WHERE m.link_to_major = a.major_id\n) THEN 1 END) / COUNT(*), 2) AS percentage\nFROM major AS a;\n```", "rows": 1, "sql": "SELECT ROUND(100.0 * COUNT(CASE WHEN NOT EXISTS (\n SELECT 1\n FROM member AS m\n WHERE m.link_to_major = a.major_id\n) THEN 1 END) / COUNT(*), 2) AS percentage\nFROM major AS a;", "seconds": 8.897573916008696, "calls": [{"seconds": 2.605401167063974, "usage": {"completion_tokens": 50, "prompt_tokens": 1688, "total_tokens": 1738, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1140, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1140, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1140, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4812320839846507, "usage": {"completion_tokens": 75, "prompt_tokens": 1841, "total_tokens": 1916, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 153, "cached_tokens": 1140, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 153, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 153, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.7978577080648392, "usage": {"completion_tokens": 65, "prompt_tokens": 2001, "total_tokens": 2066, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 160, "cached_tokens": 1293, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 160, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 160, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ff76de1c5ae86c3851dc864482c69948de7976281a9025702e2871c11cf67792", "csv_sha256": "dfe33b64f40eae6a0afb3bb2f54f2dcec84e739307fe9dbe3a52720eb30dbcdc"} +{"instance_id": "bird313", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH member_attendance AS (\n SELECT\n m.member_id,\n CASE WHEN m.position IN ('President', 'Vice President', 'Secretary', 'Treasurer')\n THEN 1 ELSE 0 END AS is_officer,\n COUNT(DISTINCT e.event_id) AS events_attended\n FROM member AS m\n LEFT JOIN attendance AS a ON a.link_to_member = m.member_id\n LEFT JOIN event AS e ON e.event_id = a.link_to_event\n GROUP BY m.member_id, m.position\n)\nSELECT\n ROUND(AVG(CASE WHEN is_officer = 1 THEN events_attended END), 2) AS avg_events_per_officer,\n ROUND(AVG(CASE WHEN is_officer = 0 THEN events_attended END), 2) AS avg_events_per_other_student\nFROM member_attendance;\n```", "rows": 1, "sql": "WITH member_attendance AS (\n SELECT\n m.member_id,\n CASE WHEN m.position IN ('President', 'Vice President', 'Secretary', 'Treasurer')\n THEN 1 ELSE 0 END AS is_officer,\n COUNT(DISTINCT e.event_id) AS events_attended\n FROM member AS m\n LEFT JOIN attendance AS a ON a.link_to_member = m.member_id\n LEFT JOIN event AS e ON e.event_id = a.link_to_event\n GROUP BY m.member_id, m.position\n)\nSELECT\n ROUND(AVG(CASE WHEN is_officer = 1 THEN events_attended END), 2) AS avg_events_per_officer,\n ROUND(AVG(CASE WHEN is_officer = 0 THEN events_attended END), 2) AS avg_events_per_other_student\nFROM member_attendance;", "seconds": 13.33177737495862, "calls": [{"seconds": 2.7919619580497965, "usage": {"completion_tokens": 65, "prompt_tokens": 1725, "total_tokens": 1790, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1177, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1177, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1177, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.182066292036325, "usage": {"completion_tokens": 259, "prompt_tokens": 1936, "total_tokens": 2195, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 58, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 211, "cached_tokens": 1177, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 211, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 211, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.341447917046025, "usage": {"completion_tokens": 183, "prompt_tokens": 2415, "total_tokens": 2598, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 479, "cached_tokens": 1388, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 479, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 479, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1a94771d8d0963cc76bfbf64c2c2a421113135dc5ea3f1dee3922cc1311799e8", "csv_sha256": "b618b0f5ccf460de558c574a478f3065c275e0600e5511e24de95e09509bf16c"} +{"instance_id": "bird314", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE over_budget_events AS (\n SELECT DISTINCT link_to_event\n FROM budget\n WHERE amount - spent < 0\n), purchase_items(rest, item) AS (\n SELECT x.expense_description || ',', NULL\n FROM over_budget_events AS e\n JOIN budget AS b ON b.link_to_event = e.link_to_event\n JOIN expense AS x ON x.link_to_budget = b.budget_id\n WHERE x.expense_description IS NOT NULL\n\n UNION ALL\n\n SELECT substr(rest, instr(rest, ',') + 1),\n lower(trim(substr(rest, 1, instr(rest, ',') - 1)))\n FROM purchase_items\n WHERE rest <> ''\n)\nSELECT COUNT(DISTINCT item) AS item_kind_count\nFROM purchase_items\nWHERE item <> '';\n```", "rows": 1, "sql": "WITH RECURSIVE over_budget_events AS (\n SELECT DISTINCT link_to_event\n FROM budget\n WHERE amount - spent < 0\n), purchase_items(rest, item) AS (\n SELECT x.expense_description || ',', NULL\n FROM over_budget_events AS e\n JOIN budget AS b ON b.link_to_event = e.link_to_event\n JOIN expense AS x ON x.link_to_budget = b.budget_id\n WHERE x.expense_description IS NOT NULL\n\n UNION ALL\n\n SELECT substr(rest, instr(rest, ',') + 1),\n lower(trim(substr(rest, 1, instr(rest, ',') - 1)))\n FROM purchase_items\n WHERE rest <> ''\n)\nSELECT COUNT(DISTINCT item) AS item_kind_count\nFROM purchase_items\nWHERE item <> '';", "seconds": 27.65422883303836, "calls": [{"seconds": 2.9899730409961194, "usage": {"completion_tokens": 65, "prompt_tokens": 1791, "total_tokens": 1856, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1243, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1243, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1243, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.399876749957912, "usage": {"completion_tokens": 112, "prompt_tokens": 2016, "total_tokens": 2128, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 225, "cached_tokens": 1243, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 225, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 225, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.2450178330764174, "usage": {"completion_tokens": 263, "prompt_tokens": 2893, "total_tokens": 3156, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 93, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 877, "cached_tokens": 1468, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 877, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 877, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.500645124935545, "usage": {"completion_tokens": 112, "prompt_tokens": 3473, "total_tokens": 3585, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 580, "cached_tokens": 2345, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 580, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 580, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.567158499965444, "usage": {"completion_tokens": 216, "prompt_tokens": 3971, "total_tokens": 4187, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 20, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 498, "cached_tokens": 2925, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 498, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 498, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.919467917061411, "usage": {"completion_tokens": 174, "prompt_tokens": 4381, "total_tokens": 4555, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 410, "cached_tokens": 3423, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 410, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 410, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "97687b1268bffa545b8e54c68c9ea79ea5b8e3c8c76b955a90dab1c79f28bad5", "csv_sha256": "04ff1a87d00e141f1f1ee9de1f27f7253369d4cc098309f46dbeb44b051c3447"} +{"instance_id": "bird315", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH attendee_counts AS (\n SELECT link_to_event AS event_id,\n COUNT(DISTINCT link_to_member) AS attendee_count\n FROM attendance\n GROUP BY link_to_event\n HAVING COUNT(DISTINCT link_to_member) > 0\n), water_spending AS (\n SELECT b.link_to_event AS event_id,\n SUM(x.cost) AS water_cost\n FROM expense AS x\n JOIN budget AS b ON b.budget_id = x.link_to_budget\n WHERE LOWER(x.expense_description) LIKE '%water%'\n GROUP BY b.link_to_event\n)\nSELECT e.event_name,\n ROUND(1.0 * COALESCE(w.water_cost, 0.00) / a.attendee_count, 2) AS water_cost_per_attendee\nFROM event AS e\nJOIN attendee_counts AS a ON a.event_id = e.event_id\nLEFT JOIN water_spending AS w ON w.event_id = e.event_id\nORDER BY e.event_name, e.event_id;\n```", "rows": 17, "sql": "WITH attendee_counts AS (\n SELECT link_to_event AS event_id,\n COUNT(DISTINCT link_to_member) AS attendee_count\n FROM attendance\n GROUP BY link_to_event\n HAVING COUNT(DISTINCT link_to_member) > 0\n), water_spending AS (\n SELECT b.link_to_event AS event_id,\n SUM(x.cost) AS water_cost\n FROM expense AS x\n JOIN budget AS b ON b.budget_id = x.link_to_budget\n WHERE LOWER(x.expense_description) LIKE '%water%'\n GROUP BY b.link_to_event\n)\nSELECT e.event_name,\n ROUND(1.0 * COALESCE(w.water_cost, 0.00) / a.attendee_count, 2) AS water_cost_per_attendee\nFROM event AS e\nJOIN attendee_counts AS a ON a.event_id = e.event_id\nLEFT JOIN water_spending AS w ON w.event_id = e.event_id\nORDER BY e.event_name, e.event_id;", "seconds": 29.52820979093667, "calls": [{"seconds": 3.03164033300709, "usage": {"completion_tokens": 79, "prompt_tokens": 1712, "total_tokens": 1791, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1164, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1164, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1164, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.346400292008184, "usage": {"completion_tokens": 50, "prompt_tokens": 1954, "total_tokens": 2004, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 242, "cached_tokens": 1164, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 242, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 242, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0329290840309113, "usage": {"completion_tokens": 76, "prompt_tokens": 2124, "total_tokens": 2200, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 170, "cached_tokens": 1406, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 170, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 170, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.289129916927777, "usage": {"completion_tokens": 197, "prompt_tokens": 2408, "total_tokens": 2605, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 284, "cached_tokens": 1576, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 284, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 284, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.42451699997764, "usage": {"completion_tokens": 438, "prompt_tokens": 2856, "total_tokens": 3294, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 205, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 448, "cached_tokens": 1860, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 448, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 448, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.38028608309105, "usage": {"completion_tokens": 334, "prompt_tokens": 3676, "total_tokens": 4010, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 118, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 820, "cached_tokens": 2308, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 820, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 820, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "766bd5783511d71c5e0b5e1a02578fccba1455223645332353e012ca7ce48f93", "csv_sha256": "6d05f7a42c4543701ece49e3f903cd21d818275987b4a3f6a2a56070ffdd7529"} +{"instance_id": "bird316", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH college_departments AS (\n SELECT DISTINCT department\n FROM major\n WHERE college = 'College of Humanities and Social Sciences'\n), roster AS (\n SELECT EXISTS (\n SELECT 1\n FROM major AS j\n JOIN college_departments AS d ON d.department = j.department\n WHERE j.major_id = m.link_to_major\n ) AS in_college\n FROM member AS m\n)\nSELECT COUNT(CASE WHEN in_college = 1 THEN 1 END) AS members_in_college,\n COUNT(CASE WHEN in_college = 0 THEN 1 END) AS members_not_in_college\nFROM roster;\n```", "rows": 1, "sql": "WITH college_departments AS (\n SELECT DISTINCT department\n FROM major\n WHERE college = 'College of Humanities and Social Sciences'\n), roster AS (\n SELECT EXISTS (\n SELECT 1\n FROM major AS j\n JOIN college_departments AS d ON d.department = j.department\n WHERE j.major_id = m.link_to_major\n ) AS in_college\n FROM member AS m\n)\nSELECT COUNT(CASE WHEN in_college = 1 THEN 1 END) AS members_in_college,\n COUNT(CASE WHEN in_college = 0 THEN 1 END) AS members_not_in_college\nFROM roster;", "seconds": 21.4015669580549, "calls": [{"seconds": 3.1865887079620734, "usage": {"completion_tokens": 69, "prompt_tokens": 1722, "total_tokens": 1791, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1174, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1174, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1174, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9221903750440106, "usage": {"completion_tokens": 64, "prompt_tokens": 1914, "total_tokens": 1978, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 29, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 192, "cached_tokens": 1174, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 192, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 192, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.700618957984261, "usage": {"completion_tokens": 140, "prompt_tokens": 2565, "total_tokens": 2705, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 651, "cached_tokens": 1366, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 651, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 651, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.41479474992957, "usage": {"completion_tokens": 232, "prompt_tokens": 2904, "total_tokens": 3136, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 74, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 339, "cached_tokens": 2017, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 339, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 339, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.157106416998431, "usage": {"completion_tokens": 141, "prompt_tokens": 3309, "total_tokens": 3450, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 405, "cached_tokens": 2356, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 405, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 405, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "444413bda62db1734e3ed3e4ccdeac20e8e1f36491aecfa5a3d05c154b9092b0", "csv_sha256": "06d118ecf9a4c6d6b246057e7ba4139a61cf8183a66b36c2eb2378b67fabaa04"} +{"instance_id": "bird317", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH chip_events AS (\n SELECT DISTINCT b.link_to_event AS event_id\n FROM expense AS x\n JOIN budget AS b ON b.budget_id = x.link_to_budget\n WHERE LOWER(x.expense_description) LIKE '%chips%'\n AND x.cost > 0\n), event_maxima AS (\n SELECT e.event_id, e.event_name, MAX(b.amount) AS largest_line\n FROM event AS e\n JOIN chip_events AS c ON c.event_id = e.event_id\n JOIN budget AS b ON b.link_to_event = e.event_id\n GROUP BY e.event_id, e.event_name\n)\nSELECT event_name\nFROM event_maxima\nWHERE largest_line = (SELECT MAX(largest_line) FROM event_maxima)\nORDER BY event_name;\n```", "rows": 1, "sql": "WITH chip_events AS (\n SELECT DISTINCT b.link_to_event AS event_id\n FROM expense AS x\n JOIN budget AS b ON b.budget_id = x.link_to_budget\n WHERE LOWER(x.expense_description) LIKE '%chips%'\n AND x.cost > 0\n), event_maxima AS (\n SELECT e.event_id, e.event_name, MAX(b.amount) AS largest_line\n FROM event AS e\n JOIN chip_events AS c ON c.event_id = e.event_id\n JOIN budget AS b ON b.link_to_event = e.event_id\n GROUP BY e.event_id, e.event_name\n)\nSELECT event_name\nFROM event_maxima\nWHERE largest_line = (SELECT MAX(largest_line) FROM event_maxima)\nORDER BY event_name;", "seconds": 21.62124058394693, "calls": [{"seconds": 3.0340316670481116, "usage": {"completion_tokens": 65, "prompt_tokens": 1669, "total_tokens": 1734, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1121, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1121, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1121, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.93926187499892, "usage": {"completion_tokens": 197, "prompt_tokens": 1894, "total_tokens": 2091, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 95, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 225, "cached_tokens": 1121, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 225, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 225, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.040376249933615, "usage": {"completion_tokens": 309, "prompt_tokens": 2580, "total_tokens": 2889, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 124, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 686, "cached_tokens": 1346, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 686, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 686, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.582727458095178, "usage": {"completion_tokens": 203, "prompt_tokens": 3077, "total_tokens": 3280, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 33, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 497, "cached_tokens": 2032, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 497, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 497, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ac64a006b822b2d4e7e5f8dd7d536d2351a49aa9fbc4647451c130869bc4724a", "csv_sha256": "1782bc551ae7cc980fb643cfd743a86cf70a0a0f5538df24f56c4bbbb90f27bd"} +{"instance_id": "bird318", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH latest_vp_expense AS (\n SELECT MAX(e.expense_date) AS expense_date\n FROM expense AS e\n JOIN member AS m ON m.member_id = e.link_to_member\n WHERE m.position = 'Vice President'\n)\nSELECT e.expense_date, SUM(e.cost) AS total_cost\nFROM expense AS e\nJOIN latest_vp_expense AS v ON e.expense_date = v.expense_date\nGROUP BY e.expense_date;\n```", "rows": 1, "sql": "WITH latest_vp_expense AS (\n SELECT MAX(e.expense_date) AS expense_date\n FROM expense AS e\n JOIN member AS m ON m.member_id = e.link_to_member\n WHERE m.position = 'Vice President'\n)\nSELECT e.expense_date, SUM(e.cost) AS total_cost\nFROM expense AS e\nJOIN latest_vp_expense AS v ON e.expense_date = v.expense_date\nGROUP BY e.expense_date;", "seconds": 10.799888916080818, "calls": [{"seconds": 2.7244487499119714, "usage": {"completion_tokens": 50, "prompt_tokens": 1665, "total_tokens": 1715, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1117, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1117, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1117, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.488027457962744, "usage": {"completion_tokens": 163, "prompt_tokens": 1838, "total_tokens": 2001, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 45, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 173, "cached_tokens": 1117, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 173, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 173, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5729499170556664, "usage": {"completion_tokens": 104, "prompt_tokens": 2143, "total_tokens": 2247, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 305, "cached_tokens": 1290, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 305, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 305, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "115a71a4487579d0ebb52eaf2e9e2fed0a443f79d4a881c7451f2d7b5bc07898", "csv_sha256": "ee5668e4dd668b975735b762b1b448cc2ff1371019ade9adc5902b6597aabf18"} +{"instance_id": "bird319", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT e.type AS event_category,\n COUNT(DISTINCT m.member_id) AS member_count\nFROM event AS e\nLEFT JOIN attendance AS a ON a.link_to_event = e.event_id\nLEFT JOIN member AS m ON m.member_id = a.link_to_member\nWHERE e.location = 'MU 215'\nGROUP BY e.type\nORDER BY e.type;\n```", "rows": 3, "sql": "SELECT e.type AS event_category,\n COUNT(DISTINCT m.member_id) AS member_count\nFROM event AS e\nLEFT JOIN attendance AS a ON a.link_to_event = e.event_id\nLEFT JOIN member AS m ON m.member_id = a.link_to_member\nWHERE e.location = 'MU 215'\nGROUP BY e.type\nORDER BY e.type;", "seconds": 13.79837470909115, "calls": [{"seconds": 2.164274915936403, "usage": {"completion_tokens": 15, "prompt_tokens": 1693, "total_tokens": 1708, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1145, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1145, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1145, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1110965829575434, "usage": {"completion_tokens": 79, "prompt_tokens": 1746, "total_tokens": 1825, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 53, "cached_tokens": 1145, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 53, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 53, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.517159332986921, "usage": {"completion_tokens": 252, "prompt_tokens": 1999, "total_tokens": 2251, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 157, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 253, "cached_tokens": 1198, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 253, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 253, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9901121660368517, "usage": {"completion_tokens": 82, "prompt_tokens": 2371, "total_tokens": 2453, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 372, "cached_tokens": 1451, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 372, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 372, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "75600f4ecdec568c46aa2029df6cf4a5b58c9d42847d08c74b85b40a53b29238", "csv_sha256": "65b70c021669b29a73d5eb71fa8835d2fd74d16b00db2d6bf971beeacfbf41b6"} +{"instance_id": "bird320", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH college_counts AS (\n SELECT ma.college, COUNT(*) AS number_of_majors\n FROM member AS m\n JOIN major AS ma ON ma.major_id = m.link_to_major\n GROUP BY ma.college\n)\nSELECT college, number_of_majors\nFROM college_counts\nWHERE number_of_majors = (SELECT MAX(number_of_majors) FROM college_counts)\nORDER BY college;\n```", "rows": 1, "sql": "WITH college_counts AS (\n SELECT ma.college, COUNT(*) AS number_of_majors\n FROM member AS m\n JOIN major AS ma ON ma.major_id = m.link_to_major\n GROUP BY ma.college\n)\nSELECT college, number_of_majors\nFROM college_counts\nWHERE number_of_majors = (SELECT MAX(number_of_majors) FROM college_counts)\nORDER BY college;", "seconds": 12.38252983300481, "calls": [{"seconds": 2.9600253750104457, "usage": {"completion_tokens": 50, "prompt_tokens": 1733, "total_tokens": 1783, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1185, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1185, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1185, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.279156333999708, "usage": {"completion_tokens": 252, "prompt_tokens": 1886, "total_tokens": 2138, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 144, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 153, "cached_tokens": 1185, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 153, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 153, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.129359915968962, "usage": {"completion_tokens": 94, "prompt_tokens": 2266, "total_tokens": 2360, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 380, "cached_tokens": 1338, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 380, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 380, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b95900f35209bb098f7aeb41a33c038322cebd221a3847021478dac5b0812708", "csv_sha256": "995331364e6bac1a2365de8bdc0a04b7341836b9706bf6efcdf33af71509362c"} +{"instance_id": "bird321", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT e.location,\n COUNT(DISTINCT x.expense_description) AS distinct_things_bought\nFROM event AS e\nLEFT JOIN budget AS b ON b.link_to_event = e.event_id\nLEFT JOIN expense AS x ON x.link_to_budget = b.budget_id\nWHERE EXISTS (\n SELECT 1\n FROM budget AS qualifying_budget\n WHERE qualifying_budget.link_to_event = e.event_id\n AND qualifying_budget.amount > 40\n)\nGROUP BY e.location;\n```", "rows": 2, "sql": "SELECT e.location,\n COUNT(DISTINCT x.expense_description) AS distinct_things_bought\nFROM event AS e\nLEFT JOIN budget AS b ON b.link_to_event = e.event_id\nLEFT JOIN expense AS x ON x.link_to_budget = b.budget_id\nWHERE EXISTS (\n SELECT 1\n FROM budget AS qualifying_budget\n WHERE qualifying_budget.link_to_event = e.event_id\n AND qualifying_budget.amount > 40\n)\nGROUP BY e.location;", "seconds": 14.21952791698277, "calls": [{"seconds": 2.9129687499953434, "usage": {"completion_tokens": 65, "prompt_tokens": 1706, "total_tokens": 1771, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1158, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1158, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1158, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.790016875020228, "usage": {"completion_tokens": 247, "prompt_tokens": 1931, "total_tokens": 2178, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 126, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 225, "cached_tokens": 1158, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 225, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 225, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.501922417082824, "usage": {"completion_tokens": 161, "prompt_tokens": 2322, "total_tokens": 2483, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 52, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 391, "cached_tokens": 1383, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 391, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 391, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8884ae47c13e275c31abdc067cd98a2094729368ba1dee36a50eb2ee15597d53", "csv_sha256": "a408168b20184d257a747926b6d1893b509a4e5fd050253bf8e58fcea65d0e21"} +{"instance_id": "bird322", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT SUM(b.amount) AS total_budgeted\nFROM event AS e\nJOIN budget AS b ON b.link_to_event = e.event_id\nWHERE e.event_date >= '2019-09-01'\n AND e.event_date < '2019-10-01'\n AND EXISTS (\n SELECT 1\n FROM budget AS pizza_budget\n JOIN expense AS x ON x.link_to_budget = pizza_budget.budget_id\n WHERE pizza_budget.link_to_event = e.event_id\n AND x.expense_description = 'Pizza'\n );\n```", "rows": 1, "sql": "SELECT SUM(b.amount) AS total_budgeted\nFROM event AS e\nJOIN budget AS b ON b.link_to_event = e.event_id\nWHERE e.event_date >= '2019-09-01'\n AND e.event_date < '2019-10-01'\n AND EXISTS (\n SELECT 1\n FROM budget AS pizza_budget\n JOIN expense AS x ON x.link_to_budget = pizza_budget.budget_id\n WHERE pizza_budget.link_to_event = e.event_id\n AND x.expense_description = 'Pizza'\n );", "seconds": 16.111892667016946, "calls": [{"seconds": 2.4571713330224156, "usage": {"completion_tokens": 65, "prompt_tokens": 1718, "total_tokens": 1783, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1170, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1170, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1170, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.942560499999672, "usage": {"completion_tokens": 204, "prompt_tokens": 1943, "total_tokens": 2147, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 70, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 225, "cached_tokens": 1170, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 225, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 225, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7045762499328703, "usage": {"completion_tokens": 134, "prompt_tokens": 2475, "total_tokens": 2609, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 532, "cached_tokens": 1395, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 532, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 532, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9898825410054997, "usage": {"completion_tokens": 121, "prompt_tokens": 2750, "total_tokens": 2871, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 275, "cached_tokens": 1927, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 275, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 275, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0ad2468b7ae8c4458c2757c411ee768481e86ffbb76772a46087bf1e60074bae", "csv_sha256": "d56acd8862ae99ac930e012eafadfa5266d2e64aebd9720d97e58b6e48ce7c47"} +{"instance_id": "bird323", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH event_totals AS (\n SELECT e.event_id, COALESCE(SUM(b.spent), 0.0) AS total_spent\n FROM event AS e\n LEFT JOIN budget AS b ON b.link_to_event = e.event_id\n GROUP BY e.event_id\n)\nSELECT ROUND(AVG(total_spent), 2) AS average_spent_per_event_dollars\nFROM event_totals;\n```", "rows": 1, "sql": "WITH event_totals AS (\n SELECT e.event_id, COALESCE(SUM(b.spent), 0.0) AS total_spent\n FROM event AS e\n LEFT JOIN budget AS b ON b.link_to_event = e.event_id\n GROUP BY e.event_id\n)\nSELECT ROUND(AVG(total_spent), 2) AS average_spent_per_event_dollars\nFROM event_totals;", "seconds": 15.110901874955744, "calls": [{"seconds": 2.673780041979626, "usage": {"completion_tokens": 79, "prompt_tokens": 1651, "total_tokens": 1730, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1103, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1103, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1103, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.455327874980867, "usage": {"completion_tokens": 179, "prompt_tokens": 1918, "total_tokens": 2097, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 34, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 267, "cached_tokens": 1103, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 267, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 267, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.0380845830077305, "usage": {"completion_tokens": 132, "prompt_tokens": 2290, "total_tokens": 2422, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 25, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 372, "cached_tokens": 1370, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 372, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 372, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.922410333994776, "usage": {"completion_tokens": 118, "prompt_tokens": 2542, "total_tokens": 2660, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 22, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 252, "cached_tokens": 1742, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 252, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 252, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "3658faed9114c4d4a14e23a7745f29a78db41eab3bfb0b69a1e6bc74539e7fdf", "csv_sha256": "5cc7d850fc9b272727a719c29e016701221ea77299fc1a0b4bae76c4ad53ab4c"} +{"instance_id": "bird324", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH budget_totals AS (\n SELECT link_to_event AS event_id,\n SUM(amount) AS total_budget,\n SUM(spent) AS total_spent\n FROM budget\n GROUP BY link_to_event\n), purchase_totals AS (\n SELECT b.link_to_event AS event_id,\n SUM(CASE\n WHEN NULLIF(TRIM(x.expense_description), '') IS NULL THEN 0\n ELSE 1 + LENGTH(x.expense_description)\n - LENGTH(REPLACE(x.expense_description, ',', ''))\n END) AS purchase_count\n FROM expense AS x\n JOIN budget AS b ON b.budget_id = x.link_to_budget\n GROUP BY b.link_to_event\n)\nSELECT e.event_name\nFROM event AS e\nLEFT JOIN budget_totals AS bt ON bt.event_id = e.event_id\nLEFT JOIN purchase_totals AS pt ON pt.event_id = e.event_id\nWHERE e.status = 'Closed'\n AND COALESCE(bt.total_spent, 0) <= COALESCE(bt.total_budget, 0)\nORDER BY COALESCE(pt.purchase_count, 0) DESC, e.event_id ASC\nLIMIT 1;\n```", "rows": 1, "sql": "WITH budget_totals AS (\n SELECT link_to_event AS event_id,\n SUM(amount) AS total_budget,\n SUM(spent) AS total_spent\n FROM budget\n GROUP BY link_to_event\n), purchase_totals AS (\n SELECT b.link_to_event AS event_id,\n SUM(CASE\n WHEN NULLIF(TRIM(x.expense_description), '') IS NULL THEN 0\n ELSE 1 + LENGTH(x.expense_description)\n - LENGTH(REPLACE(x.expense_description, ',', ''))\n END) AS purchase_count\n FROM expense AS x\n JOIN budget AS b ON b.budget_id = x.link_to_budget\n GROUP BY b.link_to_event\n)\nSELECT e.event_name\nFROM event AS e\nLEFT JOIN budget_totals AS bt ON bt.event_id = e.event_id\nLEFT JOIN purchase_totals AS pt ON pt.event_id = e.event_id\nWHERE e.status = 'Closed'\n AND COALESCE(bt.total_spent, 0) <= COALESCE(bt.total_budget, 0)\nORDER BY COALESCE(pt.purchase_count, 0) DESC, e.event_id ASC\nLIMIT 1;", "seconds": 24.7001266250154, "calls": [{"seconds": 2.4347190000116825, "usage": {"completion_tokens": 65, "prompt_tokens": 1724, "total_tokens": 1789, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1176, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1176, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1176, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9138152920641005, "usage": {"completion_tokens": 131, "prompt_tokens": 1949, "total_tokens": 2080, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 24, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 225, "cached_tokens": 1176, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 225, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 225, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.087339667021297, "usage": {"completion_tokens": 219, "prompt_tokens": 3444, "total_tokens": 3663, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1495, "cached_tokens": 1401, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1495, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1495, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.148319041938521, "usage": {"completion_tokens": 384, "prompt_tokens": 4023, "total_tokens": 4407, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 113, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 579, "cached_tokens": 2896, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 579, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 579, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.086589041049592, "usage": {"completion_tokens": 249, "prompt_tokens": 4674, "total_tokens": 4923, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 651, "cached_tokens": 3475, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 651, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 651, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "273a8be38b3ab37c23369d6034f36b93a6d8fe2749b73aff2673815455bd9480", "csv_sha256": "911cc58a3d1237f36c907af371ace3457249d4995533bff735df43c997fd912c"} +{"instance_id": "bird325", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH members_by_type AS (\n SELECT e.type AS event_type,\n COUNT(DISTINCT a.link_to_member) AS member_count\n FROM event AS e\n LEFT JOIN attendance AS a ON a.link_to_event = e.event_id\n WHERE e.event_date >= '2019-09-01'\n AND e.event_date < '2020-06-01'\n GROUP BY e.type\n)\nSELECT event_type, member_count\nFROM members_by_type\nWHERE member_count = (SELECT MAX(member_count) FROM members_by_type)\nORDER BY event_type;\n```", "rows": 2, "sql": "WITH members_by_type AS (\n SELECT e.type AS event_type,\n COUNT(DISTINCT a.link_to_member) AS member_count\n FROM event AS e\n LEFT JOIN attendance AS a ON a.link_to_event = e.event_id\n WHERE e.event_date >= '2019-09-01'\n AND e.event_date < '2020-06-01'\n GROUP BY e.type\n)\nSELECT event_type, member_count\nFROM members_by_type\nWHERE member_count = (SELECT MAX(member_count) FROM members_by_type)\nORDER BY event_type;", "seconds": 21.32120775000658, "calls": [{"seconds": 2.9828392498893663, "usage": {"completion_tokens": 79, "prompt_tokens": 1727, "total_tokens": 1806, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1179, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1179, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1179, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.412518957979046, "usage": {"completion_tokens": 320, "prompt_tokens": 1980, "total_tokens": 2300, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 235, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 253, "cached_tokens": 1179, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 253, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 253, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.1490392909618095, "usage": {"completion_tokens": 248, "prompt_tokens": 2701, "total_tokens": 2949, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 106, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 721, "cached_tokens": 1432, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 721, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 721, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.747893459047191, "usage": {"completion_tokens": 125, "prompt_tokens": 3106, "total_tokens": 3231, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 405, "cached_tokens": 2153, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 405, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 405, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "502681d351054730bc5ee33f40701bb12ec7f1bcde89345252277216a09635da", "csv_sha256": "4ce16ab0abd18f862b44c3d0e1bf0812498e6c04715eb9e2af636585ea6bb9ce"} +{"instance_id": "bird326", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE items(expense_id, item, rest) AS (\n SELECT e.expense_id, '', REPLACE(e.expense_description, 'Bakery - ', '') || ','\n FROM expense AS e\n WHERE EXISTS (\n SELECT 1\n FROM budget AS b\n WHERE b.budget_id = e.link_to_budget\n AND b.category = 'Food'\n )\n UNION ALL\n SELECT expense_id,\n TRIM(SUBSTR(rest, 1, INSTR(rest, ',') - 1)),\n SUBSTR(rest, INSTR(rest, ',') + 1)\n FROM items\n WHERE rest <> ''\n)\nSELECT MIN(item) AS item_name, COUNT(DISTINCT expense_id) AS record_count\nFROM items\nWHERE item <> '' AND item COLLATE NOCASE <> 'supplies'\nGROUP BY item COLLATE NOCASE\nORDER BY record_count DESC, item_name COLLATE NOCASE ASC\nLIMIT 1;\n```", "rows": 1, "sql": "WITH RECURSIVE items(expense_id, item, rest) AS (\n SELECT e.expense_id, '', REPLACE(e.expense_description, 'Bakery - ', '') || ','\n FROM expense AS e\n WHERE EXISTS (\n SELECT 1\n FROM budget AS b\n WHERE b.budget_id = e.link_to_budget\n AND b.category = 'Food'\n )\n UNION ALL\n SELECT expense_id,\n TRIM(SUBSTR(rest, 1, INSTR(rest, ',') - 1)),\n SUBSTR(rest, INSTR(rest, ',') + 1)\n FROM items\n WHERE rest <> ''\n)\nSELECT MIN(item) AS item_name, COUNT(DISTINCT expense_id) AS record_count\nFROM items\nWHERE item <> '' AND item COLLATE NOCASE <> 'supplies'\nGROUP BY item COLLATE NOCASE\nORDER BY record_count DESC, item_name COLLATE NOCASE ASC\nLIMIT 1;", "seconds": 26.487171749933623, "calls": [{"seconds": 2.4794081249274313, "usage": {"completion_tokens": 50, "prompt_tokens": 1698, "total_tokens": 1748, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1150, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1150, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1150, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.3853829170111567, "usage": {"completion_tokens": 34, "prompt_tokens": 1857, "total_tokens": 1891, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 159, "cached_tokens": 1150, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 159, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 159, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.780924457940273, "usage": {"completion_tokens": 75, "prompt_tokens": 1965, "total_tokens": 2040, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 108, "cached_tokens": 1309, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 108, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 108, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.278813124983571, "usage": {"completion_tokens": 360, "prompt_tokens": 2175, "total_tokens": 2535, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 287, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 210, "cached_tokens": 1417, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 210, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 210, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.885815499932505, "usage": {"completion_tokens": 284, "prompt_tokens": 2628, "total_tokens": 2912, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 50, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 453, "cached_tokens": 1627, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 453, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 453, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.65675987501163, "usage": {"completion_tokens": 219, "prompt_tokens": 3144, "total_tokens": 3363, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 8, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 516, "cached_tokens": 2080, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 516, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 516, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2c5a7638bc54720c6a09fe0d9808186774827fb335ede86e187dc8a4dbb34be3", "csv_sha256": "9d12d16d515424e3b5d2ce4c4fa91aec237417f56ec940c84df0f7b8d687a8f5"} +{"instance_id": "bird327", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE purchase_items(expense_id, category, cost, item_name, rest) AS (\n SELECT ex.expense_id, b.category, ex.cost, '', ex.expense_description || ','\n FROM expense AS ex\n JOIN budget AS b ON b.budget_id = ex.link_to_budget\n JOIN event AS ev ON ev.event_id = b.link_to_event\n WHERE ev.event_name = 'October Meeting'\n AND ex.approved = 'true'\n\n UNION ALL\n\n SELECT expense_id, category, cost,\n TRIM(SUBSTR(rest, 1, INSTR(rest, ',') - 1)),\n SUBSTR(rest, INSTR(rest, ',') + 1)\n FROM purchase_items\n WHERE rest <> ''\n), distinct_purchase_items AS (\n SELECT DISTINCT expense_id, category, cost, item_name\n FROM purchase_items\n WHERE item_name <> ''\n)\nSELECT item_name, category, SUM(cost) AS total_cost\nFROM distinct_purchase_items\nGROUP BY category, item_name\nORDER BY category, item_name;\n```", "rows": 5, "sql": "WITH RECURSIVE purchase_items(expense_id, category, cost, item_name, rest) AS (\n SELECT ex.expense_id, b.category, ex.cost, '', ex.expense_description || ','\n FROM expense AS ex\n JOIN budget AS b ON b.budget_id = ex.link_to_budget\n JOIN event AS ev ON ev.event_id = b.link_to_event\n WHERE ev.event_name = 'October Meeting'\n AND ex.approved = 'true'\n\n UNION ALL\n\n SELECT expense_id, category, cost,\n TRIM(SUBSTR(rest, 1, INSTR(rest, ',') - 1)),\n SUBSTR(rest, INSTR(rest, ',') + 1)\n FROM purchase_items\n WHERE rest <> ''\n), distinct_purchase_items AS (\n SELECT DISTINCT expense_id, category, cost, item_name\n FROM purchase_items\n WHERE item_name <> ''\n)\nSELECT item_name, category, SUM(cost) AS total_cost\nFROM distinct_purchase_items\nGROUP BY category, item_name\nORDER BY category, item_name;", "seconds": 23.87625312502496, "calls": [{"seconds": 1.9023302920395508, "usage": {"completion_tokens": 15, "prompt_tokens": 1766, "total_tokens": 1781, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1218, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1218, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1218, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.87683125003241, "usage": {"completion_tokens": 79, "prompt_tokens": 1819, "total_tokens": 1898, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 53, "cached_tokens": 1218, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 53, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 53, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7347654580371454, "usage": {"completion_tokens": 121, "prompt_tokens": 2086, "total_tokens": 2207, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 14, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 267, "cached_tokens": 1271, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 267, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 267, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.08188416599296, "usage": {"completion_tokens": 395, "prompt_tokens": 2497, "total_tokens": 2892, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 139, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 411, "cached_tokens": 1538, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 411, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 411, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.253994790953584, "usage": {"completion_tokens": 274, "prompt_tokens": 3193, "total_tokens": 3467, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 43, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 696, "cached_tokens": 1949, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 696, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 696, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "00ae1c25c57e8e03a6b8fb6d43835c43d3749fc939e150240e020b7098941625", "csv_sha256": "d1f95dbcc92920c0cdee24135d644aa66f3a472768b590395233f86373622252"} +{"instance_id": "bird328", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n e.event_name,\n e.event_date,\n (\n SELECT SUM(b.amount)\n FROM budget AS b\n WHERE b.link_to_event = e.event_id\n ) AS total_budgeted,\n (\n SELECT COUNT(DISTINCT a.link_to_member)\n FROM attendance AS a\n WHERE a.link_to_event = e.event_id\n ) AS member_attendance_count\nFROM event AS e\nORDER BY e.event_name ASC, e.event_date ASC;\n```", "rows": 42, "sql": "SELECT\n e.event_name,\n e.event_date,\n (\n SELECT SUM(b.amount)\n FROM budget AS b\n WHERE b.link_to_event = e.event_id\n ) AS total_budgeted,\n (\n SELECT COUNT(DISTINCT a.link_to_member)\n FROM attendance AS a\n WHERE a.link_to_event = e.event_id\n ) AS member_attendance_count\nFROM event AS e\nORDER BY e.event_name ASC, e.event_date ASC;", "seconds": 20.547088583931327, "calls": [{"seconds": 3.0963228748878464, "usage": {"completion_tokens": 94, "prompt_tokens": 1651, "total_tokens": 1745, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1103, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1103, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1103, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.651814542012289, "usage": {"completion_tokens": 304, "prompt_tokens": 1971, "total_tokens": 2275, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 146, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 320, "cached_tokens": 1103, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 320, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 320, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.7720133329275995, "usage": {"completion_tokens": 246, "prompt_tokens": 2477, "total_tokens": 2723, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 121, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 506, "cached_tokens": 1423, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 506, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 506, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.008992250077426, "usage": {"completion_tokens": 107, "prompt_tokens": 3848, "total_tokens": 3955, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1371, "cached_tokens": 1929, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1371, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1371, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8ab0f8f1ccab84e6975867f890775917427b39abfc8ea52b4548ade0fcebf396", "csv_sha256": "cc1a2e07c96a4c7e2cee81d72ece56eabe0e952adad9b41aa87f06bbb914847d"} +{"instance_id": "bird329", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE expense_items(expense_id, item_name, remaining) AS (\n SELECT e.expense_id, '',\n CASE WHEN e.expense_description LIKE 'Bakery - %'\n THEN substr(e.expense_description, length('Bakery - ') + 1)\n ELSE e.expense_description\n END || ','\n FROM expense AS e\n JOIN member AS m ON m.member_id = e.link_to_member\n WHERE m.first_name = 'Sacha' AND m.last_name = 'Harrison'\n\n UNION ALL\n\n SELECT expense_id,\n trim(substr(remaining, 1, instr(remaining, ',') - 1)),\n substr(remaining, instr(remaining, ',') + 1)\n FROM expense_items\n WHERE remaining <> ''\n)\nSELECT item_name, COUNT(DISTINCT expense_id) AS purchase_count\nFROM expense_items\nWHERE item_name <> ''\nGROUP BY item_name\nORDER BY item_name COLLATE NOCASE;\n```", "rows": 10, "sql": "WITH RECURSIVE expense_items(expense_id, item_name, remaining) AS (\n SELECT e.expense_id, '',\n CASE WHEN e.expense_description LIKE 'Bakery - %'\n THEN substr(e.expense_description, length('Bakery - ') + 1)\n ELSE e.expense_description\n END || ','\n FROM expense AS e\n JOIN member AS m ON m.member_id = e.link_to_member\n WHERE m.first_name = 'Sacha' AND m.last_name = 'Harrison'\n\n UNION ALL\n\n SELECT expense_id,\n trim(substr(remaining, 1, instr(remaining, ',') - 1)),\n substr(remaining, instr(remaining, ',') + 1)\n FROM expense_items\n WHERE remaining <> ''\n)\nSELECT item_name, COUNT(DISTINCT expense_id) AS purchase_count\nFROM expense_items\nWHERE item_name <> ''\nGROUP BY item_name\nORDER BY item_name COLLATE NOCASE;", "seconds": 20.3286592499353, "calls": [{"seconds": 2.94637970905751, "usage": {"completion_tokens": 50, "prompt_tokens": 1661, "total_tokens": 1711, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1113, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1113, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1113, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0636893330374733, "usage": {"completion_tokens": 61, "prompt_tokens": 1834, "total_tokens": 1895, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 173, "cached_tokens": 1113, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 173, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 173, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.591077541932464, "usage": {"completion_tokens": 432, "prompt_tokens": 2011, "total_tokens": 2443, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 193, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 177, "cached_tokens": 1286, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 177, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 177, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.71123366698157, "usage": {"completion_tokens": 210, "prompt_tokens": 2733, "total_tokens": 2943, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 722, "cached_tokens": 1463, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 722, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 722, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "29c38b6247596c26b1497617d4d21597c45c8e7d172aa93baca671eba369fe7a", "csv_sha256": "ffb5b608fa336dbc0bb11f5bd6d8d13c4a06d072b317bcf76585837a2408b20b"} +{"instance_id": "bird330", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE\nperiod_expenses AS (\n SELECT link_to_member AS member_id, expense_description, cost\n FROM expense\n WHERE expense_date >= '2019-10-01'\n AND expense_date < '2019-12-01'\n),\nitem_parts(member_id, item, rest) AS (\n SELECT member_id, NULL, expense_description || ','\n FROM period_expenses\n UNION ALL\n SELECT member_id,\n SUBSTR(rest, 1, INSTR(rest, ',') - 1),\n SUBSTR(rest, INSTR(rest, ',') + 1)\n FROM item_parts\n WHERE rest <> ''\n),\nitem_counts AS (\n SELECT member_id, COUNT(DISTINCT NULLIF(LOWER(TRIM(item)), '')) AS kind_count\n FROM item_parts\n GROUP BY member_id\n),\nspending AS (\n SELECT member_id, ROUND(SUM(cost), 2) AS total_spending_dollars\n FROM period_expenses\n GROUP BY member_id\n),\nranked AS (\n SELECT m.first_name || ' ' || m.last_name AS full_name,\n i.kind_count,\n s.total_spending_dollars,\n RANK() OVER (ORDER BY i.kind_count DESC) AS kind_rank\n FROM member AS m\n JOIN item_counts AS i ON i.member_id = m.member_id\n JOIN spending AS s ON s.member_id = m.member_id\n)\nSELECT full_name, kind_count, total_spending_dollars\nFROM ranked\nWHERE kind_rank = 1\nORDER BY full_name;\n```", "rows": 1, "sql": "WITH RECURSIVE\nperiod_expenses AS (\n SELECT link_to_member AS member_id, expense_description, cost\n FROM expense\n WHERE expense_date >= '2019-10-01'\n AND expense_date < '2019-12-01'\n),\nitem_parts(member_id, item, rest) AS (\n SELECT member_id, NULL, expense_description || ','\n FROM period_expenses\n UNION ALL\n SELECT member_id,\n SUBSTR(rest, 1, INSTR(rest, ',') - 1),\n SUBSTR(rest, INSTR(rest, ',') + 1)\n FROM item_parts\n WHERE rest <> ''\n),\nitem_counts AS (\n SELECT member_id, COUNT(DISTINCT NULLIF(LOWER(TRIM(item)), '')) AS kind_count\n FROM item_parts\n GROUP BY member_id\n),\nspending AS (\n SELECT member_id, ROUND(SUM(cost), 2) AS total_spending_dollars\n FROM period_expenses\n GROUP BY member_id\n),\nranked AS (\n SELECT m.first_name || ' ' || m.last_name AS full_name,\n i.kind_count,\n s.total_spending_dollars,\n RANK() OVER (ORDER BY i.kind_count DESC) AS kind_rank\n FROM member AS m\n JOIN item_counts AS i ON i.member_id = m.member_id\n JOIN spending AS s ON s.member_id = m.member_id\n)\nSELECT full_name, kind_count, total_spending_dollars\nFROM ranked\nWHERE kind_rank = 1\nORDER BY full_name;", "seconds": 36.58722149999812, "calls": [{"seconds": 2.3009915000293404, "usage": {"completion_tokens": 50, "prompt_tokens": 1701, "total_tokens": 1751, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1153, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1153, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1153, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 1.9167558340122923, "usage": {"completion_tokens": 15, "prompt_tokens": 1874, "total_tokens": 1889, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 173, "cached_tokens": 1153, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 173, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 173, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1533199169207364, "usage": {"completion_tokens": 82, "prompt_tokens": 1927, "total_tokens": 2009, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 42, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 53, "cached_tokens": 1326, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 53, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 53, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.736335458001122, "usage": {"completion_tokens": 60, "prompt_tokens": 2901, "total_tokens": 2961, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 974, "cached_tokens": 1379, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 974, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 974, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.387822833028622, "usage": {"completion_tokens": 371, "prompt_tokens": 3089, "total_tokens": 3460, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 326, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 188, "cached_tokens": 2353, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 188, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 188, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.819010749924928, "usage": {"completion_tokens": 505, "prompt_tokens": 3508, "total_tokens": 4013, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 131, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 419, "cached_tokens": 2541, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 419, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 419, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.248644959065132, "usage": {"completion_tokens": 351, "prompt_tokens": 4392, "total_tokens": 4743, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 12, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 884, "cached_tokens": 2960, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 884, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 884, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d553804e27b3360f23d8cdf1e5b21690e8d1b7ee2ef53620a289968f982d9cdb", "csv_sha256": "e184bb98d3920e303d214f1139cce410a1aac7e6e610af344d089dd0e311ad2d"} +{"instance_id": "bird331", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT j.major_id) AS major_count\nFROM member AS m\nJOIN major AS j ON j.major_id = m.link_to_major\nWHERE j.department = 'Political Science Department';\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT j.major_id) AS major_count\nFROM member AS m\nJOIN major AS j ON j.major_id = m.link_to_major\nWHERE j.department = 'Political Science Department';", "seconds": 14.016324708936736, "calls": [{"seconds": 2.345535583095625, "usage": {"completion_tokens": 50, "prompt_tokens": 1666, "total_tokens": 1716, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1118, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1118, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1118, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7145079580368474, "usage": {"completion_tokens": 73, "prompt_tokens": 1819, "total_tokens": 1892, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 40, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 153, "cached_tokens": 1118, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 153, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 153, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.098653582972474, "usage": {"completion_tokens": 185, "prompt_tokens": 1933, "total_tokens": 2118, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 125, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 114, "cached_tokens": 1271, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 114, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 114, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8394241660134867, "usage": {"completion_tokens": 49, "prompt_tokens": 2186, "total_tokens": 2235, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 253, "cached_tokens": 1385, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 253, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 253, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b9ddb3afdbe1eff892f21db588567af876b5493d9daa33573b03f96c3009c312", "csv_sha256": "fc5c04d7a80cd2febe36b91d0a261ba3f58fd1f0a26bd804b6e31cbed8ede948"} +{"instance_id": "bird332", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH eye_colour_counts AS (\n SELECT c.colour AS eye_colour, COUNT(*) AS hero_count\n FROM superhero AS s\n JOIN publisher AS p ON p.id = s.publisher_id\n JOIN colour AS c ON c.id = s.eye_colour_id\n WHERE p.publisher_name = 'Marvel Comics'\n AND c.colour <> 'No Colour'\n GROUP BY c.colour\n)\nSELECT eye_colour, hero_count,\n RANK() OVER (ORDER BY hero_count DESC) AS rank\nFROM eye_colour_counts\nORDER BY hero_count DESC, eye_colour ASC;\n```", "rows": 18, "sql": "WITH eye_colour_counts AS (\n SELECT c.colour AS eye_colour, COUNT(*) AS hero_count\n FROM superhero AS s\n JOIN publisher AS p ON p.id = s.publisher_id\n JOIN colour AS c ON c.id = s.eye_colour_id\n WHERE p.publisher_name = 'Marvel Comics'\n AND c.colour <> 'No Colour'\n GROUP BY c.colour\n)\nSELECT eye_colour, hero_count,\n RANK() OVER (ORDER BY hero_count DESC) AS rank\nFROM eye_colour_counts\nORDER BY hero_count DESC, eye_colour ASC;", "seconds": 14.564248292008415, "calls": [{"seconds": 2.8909717079950497, "usage": {"completion_tokens": 66, "prompt_tokens": 1644, "total_tokens": 1710, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1090, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1090, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1090, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8243593339575455, "usage": {"completion_tokens": 53, "prompt_tokens": 1854, "total_tokens": 1907, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 210, "cached_tokens": 1090, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 210, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 210, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.882356500020251, "usage": {"completion_tokens": 206, "prompt_tokens": 2380, "total_tokens": 2586, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 63, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 526, "cached_tokens": 1300, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 526, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 526, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.945290458970703, "usage": {"completion_tokens": 127, "prompt_tokens": 2893, "total_tokens": 3020, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 513, "cached_tokens": 1826, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 513, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 513, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f6da7f78afc19bdc54eda946f5a86cd2eaf857f3b5bd95bd31c380a561878818", "csv_sha256": "b05416dcaf345d506a70b3581b56f9235c9fafe4611c94a5278917d4c1b2c1af"} +{"instance_id": "bird333", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT h.superhero_name\nFROM superhero AS h\nJOIN publisher AS p ON p.id = h.publisher_id\nWHERE p.publisher_name = 'Marvel Comics'\n AND EXISTS (\n SELECT 1\n FROM hero_power AS hp\n JOIN superpower AS sp ON sp.id = hp.power_id\n WHERE hp.hero_id = h.id\n AND sp.power_name = 'Super Strength'\n );\n```", "rows": 201, "sql": "SELECT h.superhero_name\nFROM superhero AS h\nJOIN publisher AS p ON p.id = h.publisher_id\nWHERE p.publisher_name = 'Marvel Comics'\n AND EXISTS (\n SELECT 1\n FROM hero_power AS hp\n JOIN superpower AS sp ON sp.id = hp.power_id\n WHERE hp.hero_id = h.id\n AND sp.power_name = 'Super Strength'\n );", "seconds": 11.147109708050266, "calls": [{"seconds": 2.754668042063713, "usage": {"completion_tokens": 83, "prompt_tokens": 1618, "total_tokens": 1701, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1064, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1064, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1064, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.846987457945943, "usage": {"completion_tokens": 165, "prompt_tokens": 1873, "total_tokens": 2038, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 60, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1064, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.428819999913685, "usage": {"completion_tokens": 111, "prompt_tokens": 2313, "total_tokens": 2424, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 18, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 440, "cached_tokens": 1319, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 440, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 440, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "cb41986dc4fa183293ffc20d70a9104c5536d4961a3518dbe53f3aabf7401f41", "csv_sha256": "44a8c9992a613feafaea2c1a424e2d308c046a3259348d69639a0154b16d511f"} +{"instance_id": "bird334", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n ROUND(\n 100.0 * COUNT(CASE WHEN a.alignment = 'Neutral' COLLATE NOCASE THEN 1 END)\n / NULLIF(COUNT(*), 0),\n 2\n ) AS neutral_percentage,\n COUNT(CASE\n WHEN a.alignment = 'Neutral' COLLATE NOCASE\n AND p.publisher_name = 'Marvel Comics' COLLATE NOCASE\n THEN 1\n END) AS neutral_marvel_count\nFROM superhero AS s\nLEFT JOIN alignment AS a ON a.id = s.alignment_id\nLEFT JOIN publisher AS p ON p.id = s.publisher_id;\n```", "rows": 1, "sql": "SELECT\n ROUND(\n 100.0 * COUNT(CASE WHEN a.alignment = 'Neutral' COLLATE NOCASE THEN 1 END)\n / NULLIF(COUNT(*), 0),\n 2\n ) AS neutral_percentage,\n COUNT(CASE\n WHEN a.alignment = 'Neutral' COLLATE NOCASE\n AND p.publisher_name = 'Marvel Comics' COLLATE NOCASE\n THEN 1\n END) AS neutral_marvel_count\nFROM superhero AS s\nLEFT JOIN alignment AS a ON a.id = s.alignment_id\nLEFT JOIN publisher AS p ON p.id = s.publisher_id;", "seconds": 11.443429457955062, "calls": [{"seconds": 2.6928560419473797, "usage": {"completion_tokens": 66, "prompt_tokens": 1631, "total_tokens": 1697, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1077, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1077, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1077, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.124298166949302, "usage": {"completion_tokens": 212, "prompt_tokens": 1841, "total_tokens": 2053, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 74, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 210, "cached_tokens": 1077, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 210, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 210, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6137174590257928, "usage": {"completion_tokens": 140, "prompt_tokens": 2210, "total_tokens": 2350, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 369, "cached_tokens": 1287, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 369, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 369, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ae4944ac1677337e8f1e6ca56913cda04d2249a1332a31825dd3790377ac5d27", "csv_sha256": "a9435ab7303555ca64365f4987bf41b10be5283c6c780a8c6d5a56d820a7a9a2"} +{"instance_id": "bird335", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH publisher_counts AS (\n SELECT p.publisher_name, COUNT(s.id) AS superhero_count\n FROM publisher AS p\n LEFT JOIN superhero AS s ON s.publisher_id = p.id\n WHERE p.publisher_name IN ('Marvel Comics', 'DC Comics')\n GROUP BY p.publisher_name\n), comparison AS (\n SELECT publisher_name, superhero_count,\n MAX(superhero_count) OVER () AS highest_count,\n MIN(superhero_count) OVER () AS lowest_count\n FROM publisher_counts\n)\nSELECT publisher_name, highest_count - lowest_count AS difference\nFROM comparison\nWHERE superhero_count = highest_count;\n```", "rows": 1, "sql": "WITH publisher_counts AS (\n SELECT p.publisher_name, COUNT(s.id) AS superhero_count\n FROM publisher AS p\n LEFT JOIN superhero AS s ON s.publisher_id = p.id\n WHERE p.publisher_name IN ('Marvel Comics', 'DC Comics')\n GROUP BY p.publisher_name\n), comparison AS (\n SELECT publisher_name, superhero_count,\n MAX(superhero_count) OVER () AS highest_count,\n MIN(superhero_count) OVER () AS lowest_count\n FROM publisher_counts\n)\nSELECT publisher_name, highest_count - lowest_count AS difference\nFROM comparison\nWHERE superhero_count = highest_count;", "seconds": 11.662853291956708, "calls": [{"seconds": 2.787714874953963, "usage": {"completion_tokens": 51, "prompt_tokens": 1620, "total_tokens": 1671, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1066, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1066, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1066, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.69354620797094, "usage": {"completion_tokens": 205, "prompt_tokens": 1790, "total_tokens": 1995, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 55, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 170, "cached_tokens": 1066, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 170, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 170, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.171572708990425, "usage": {"completion_tokens": 132, "prompt_tokens": 2154, "total_tokens": 2286, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 364, "cached_tokens": 1236, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 364, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 364, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "43a4220c33684af55f61f63e2efcd2acc59742393da3e958e20eb5a6e393dc3a", "csv_sha256": "ada6d8b4bc0294454b3082cd408ecbb4b88fa820e9da3b709f8a6290cdac1ae4"} +{"instance_id": "bird336", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT s.superhero_name\nFROM superhero AS s\nJOIN colour AS c ON c.id = s.eye_colour_id\nWHERE s.height_cm BETWEEN 170 AND 190\n AND c.colour = 'No Colour';\n```", "rows": 15, "sql": "SELECT s.superhero_name\nFROM superhero AS s\nJOIN colour AS c ON c.id = s.eye_colour_id\nWHERE s.height_cm BETWEEN 170 AND 190\n AND c.colour = 'No Colour';", "seconds": 12.840770624927245, "calls": [{"seconds": 2.5435973750427365, "usage": {"completion_tokens": 51, "prompt_tokens": 1625, "total_tokens": 1676, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1071, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1071, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1071, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.211320500005968, "usage": {"completion_tokens": 27, "prompt_tokens": 1794, "total_tokens": 1821, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 169, "cached_tokens": 1071, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 169, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 169, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.215834499918856, "usage": {"completion_tokens": 110, "prompt_tokens": 2028, "total_tokens": 2138, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 46, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 234, "cached_tokens": 1240, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 234, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 234, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8555395000148565, "usage": {"completion_tokens": 75, "prompt_tokens": 2264, "total_tokens": 2339, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 20, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 236, "cached_tokens": 1474, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 236, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 236, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "05ea275b94c133a6222da050be7d3039f3a6d9e5cc819f713f46bf81d2d398cf", "csv_sha256": "df95fc0453f2b1ae281e79ded1dd51fcb2475fd8e99aacb29278081e9e6e90d7"} +{"instance_id": "bird337", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(100.0 * AVG(CASE WHEN EXISTS (\n SELECT 1\n FROM publisher AS p\n WHERE p.id = s.publisher_id\n AND p.publisher_name = 'Marvel Comics'\n) THEN 1 ELSE 0 END), 2) AS marvel_percentage\nFROM superhero AS s\nWHERE s.height_cm BETWEEN 150 AND 180;\n```", "rows": 1, "sql": "SELECT ROUND(100.0 * AVG(CASE WHEN EXISTS (\n SELECT 1\n FROM publisher AS p\n WHERE p.id = s.publisher_id\n AND p.publisher_name = 'Marvel Comics'\n) THEN 1 ELSE 0 END), 2) AS marvel_percentage\nFROM superhero AS s\nWHERE s.height_cm BETWEEN 150 AND 180;", "seconds": 9.834306542063132, "calls": [{"seconds": 2.3827477500308305, "usage": {"completion_tokens": 51, "prompt_tokens": 1629, "total_tokens": 1680, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1075, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1075, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1075, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.370343083050102, "usage": {"completion_tokens": 138, "prompt_tokens": 1799, "total_tokens": 1937, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 42, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 170, "cached_tokens": 1075, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 170, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 170, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.061416666954756, "usage": {"completion_tokens": 83, "prompt_tokens": 2042, "total_tokens": 2125, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 243, "cached_tokens": 1245, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 243, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 243, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2a885d2dc53620d95ebd8be36058959845c567625d4cd43e898eb35a9e6aad57", "csv_sha256": "1b923f111762e3277968e26e47e0983dcc409dad26578dc6ad1405efe5e4b69a"} +{"instance_id": "bird338", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH strength_scores AS (\n SELECT ha.hero_id, ha.attribute_value\n FROM hero_attribute AS ha\n JOIN attribute AS a ON a.id = ha.attribute_id\n WHERE a.attribute_name = 'Strength'\n)\nSELECT DISTINCT s.full_name\nFROM superhero AS s\nJOIN strength_scores AS ss ON ss.hero_id = s.id\nWHERE ss.attribute_value = (SELECT MAX(attribute_value) FROM strength_scores)\n AND TRIM(s.full_name) NOT IN ('', '-')\nORDER BY s.full_name;\n```", "rows": 35, "sql": "WITH strength_scores AS (\n SELECT ha.hero_id, ha.attribute_value\n FROM hero_attribute AS ha\n JOIN attribute AS a ON a.id = ha.attribute_id\n WHERE a.attribute_name = 'Strength'\n)\nSELECT DISTINCT s.full_name\nFROM superhero AS s\nJOIN strength_scores AS ss ON ss.hero_id = s.id\nWHERE ss.attribute_value = (SELECT MAX(attribute_value) FROM strength_scores)\n AND TRIM(s.full_name) NOT IN ('', '-')\nORDER BY s.full_name;", "seconds": 15.184103165986016, "calls": [{"seconds": 2.8048041670117527, "usage": {"completion_tokens": 67, "prompt_tokens": 1617, "total_tokens": 1684, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1063, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1063, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1063, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.1407132499152794, "usage": {"completion_tokens": 179, "prompt_tokens": 1835, "total_tokens": 2014, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 55, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 218, "cached_tokens": 1063, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 218, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 218, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.471713832928799, "usage": {"completion_tokens": 126, "prompt_tokens": 2417, "total_tokens": 2543, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 582, "cached_tokens": 1281, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 582, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 582, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.742938374984078, "usage": {"completion_tokens": 112, "prompt_tokens": 2833, "total_tokens": 2945, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 416, "cached_tokens": 1863, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 416, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 416, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "259bcdf809f70884c114fdca4f9cef5e62359557d6465c93c54c216f690fc297", "csv_sha256": "07cef3e43f6bb543038e124bbff7c0fdfe966f641b25cf170d2e505bcfea8fd6"} +{"instance_id": "bird339", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT s.superhero_name, p.publisher_name\nFROM superhero AS s\nJOIN colour AS c ON c.id = s.eye_colour_id\nLEFT JOIN publisher AS p ON p.id = s.publisher_id\nWHERE s.eye_colour_id = s.hair_colour_id\n AND s.eye_colour_id = s.skin_colour_id\n AND c.colour <> 'No Colour'\nORDER BY s.superhero_name, p.publisher_name;\n```", "rows": 4, "sql": "SELECT s.superhero_name, p.publisher_name\nFROM superhero AS s\nJOIN colour AS c ON c.id = s.eye_colour_id\nLEFT JOIN publisher AS p ON p.id = s.publisher_id\nWHERE s.eye_colour_id = s.hair_colour_id\n AND s.eye_colour_id = s.skin_colour_id\n AND c.colour <> 'No Colour'\nORDER BY s.superhero_name, p.publisher_name;", "seconds": 14.787135040969588, "calls": [{"seconds": 2.710470833000727, "usage": {"completion_tokens": 66, "prompt_tokens": 1624, "total_tokens": 1690, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1070, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1070, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1070, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.366957459016703, "usage": {"completion_tokens": 30, "prompt_tokens": 1834, "total_tokens": 1864, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 210, "cached_tokens": 1070, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 210, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 210, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.328320791944861, "usage": {"completion_tokens": 235, "prompt_tokens": 2070, "total_tokens": 2305, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 130, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 236, "cached_tokens": 1280, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 236, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 236, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3579139999346808, "usage": {"completion_tokens": 94, "prompt_tokens": 2447, "total_tokens": 2541, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 377, "cached_tokens": 1516, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 377, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 377, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6b88df446e257fa829efd2366c924f7d651681537f34c4a8c3765408b7d0b517", "csv_sha256": "3138d117c0480e650a0d8d2ff22de48752ededa894f76cd750600c415f30dca7"} +{"instance_id": "bird340", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(100.0 * COUNT(CASE WHEN c.colour = 'Blue' THEN 1 END) / COUNT(*), 2) AS percentage\nFROM superhero AS s\nJOIN gender AS g ON g.id = s.gender_id\nLEFT JOIN colour AS c ON c.id = s.skin_colour_id\nWHERE g.gender = 'Female';\n```", "rows": 1, "sql": "SELECT ROUND(100.0 * COUNT(CASE WHEN c.colour = 'Blue' THEN 1 END) / COUNT(*), 2) AS percentage\nFROM superhero AS s\nJOIN gender AS g ON g.id = s.gender_id\nLEFT JOIN colour AS c ON c.id = s.skin_colour_id\nWHERE g.gender = 'Female';", "seconds": 9.100744958035648, "calls": [{"seconds": 2.9341832919744775, "usage": {"completion_tokens": 66, "prompt_tokens": 1618, "total_tokens": 1684, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1064, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1064, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1064, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1525093750096858, "usage": {"completion_tokens": 88, "prompt_tokens": 1827, "total_tokens": 1915, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 209, "cached_tokens": 1064, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 209, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 209, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0001606250880286, "usage": {"completion_tokens": 79, "prompt_tokens": 2014, "total_tokens": 2093, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 187, "cached_tokens": 1273, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 187, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 187, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "3cb8f216851f3b76dd5866f1a3ca62039490424a8f64df57e680c6846f106d64", "csv_sha256": "91868e694cc118fd113d217e233dd296b815556cc4362b76846ceea62b4dca34"} +{"instance_id": "bird341", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(100.0 * COUNT(CASE WHEN p.publisher_name = 'Marvel Comics' THEN 1 END) / NULLIF(COUNT(*), 0), 2) AS percentage\nFROM superhero AS s\nJOIN gender AS g ON g.id = s.gender_id\nLEFT JOIN publisher AS p ON p.id = s.publisher_id\nWHERE g.gender = 'Female';\n```", "rows": 1, "sql": "SELECT ROUND(100.0 * COUNT(CASE WHEN p.publisher_name = 'Marvel Comics' THEN 1 END) / NULLIF(COUNT(*), 0), 2) AS percentage\nFROM superhero AS s\nJOIN gender AS g ON g.id = s.gender_id\nLEFT JOIN publisher AS p ON p.id = s.publisher_id\nWHERE g.gender = 'Female';", "seconds": 10.01906749990303, "calls": [{"seconds": 2.6326665829401463, "usage": {"completion_tokens": 66, "prompt_tokens": 1621, "total_tokens": 1687, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1067, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1067, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1067, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.10262237500865, "usage": {"completion_tokens": 146, "prompt_tokens": 1831, "total_tokens": 1977, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 50, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 210, "cached_tokens": 1067, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 210, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 210, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.26863687497098, "usage": {"completion_tokens": 85, "prompt_tokens": 2082, "total_tokens": 2167, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 251, "cached_tokens": 1277, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 251, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 251, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "c2eada099d40ed0899aea175387c0eba3c777d1a1d686e53b04efad7481200bc", "csv_sha256": "0e80ff6b510abb88f34baf2e11666a780ab6ee2ef1e106f042bf7c1c3b651c0d"} +{"instance_id": "bird342", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH publisher_counts AS (\n SELECT COUNT(CASE WHEN p.publisher_name = 'DC Comics' THEN 1 END) AS dc_count,\n COUNT(CASE WHEN p.publisher_name = 'Marvel Comics' THEN 1 END) AS marvel_count\n FROM superhero AS s\n JOIN publisher AS p ON p.id = s.publisher_id\n WHERE p.publisher_name IN ('DC Comics', 'Marvel Comics')\n)\nSELECT CASE\n WHEN dc_count > marvel_count THEN 'DC Comics'\n WHEN marvel_count > dc_count THEN 'Marvel Comics'\n ELSE 'Tie'\n END AS publisher,\n ABS(dc_count - marvel_count) AS count_difference\nFROM publisher_counts;\n```", "rows": 1, "sql": "WITH publisher_counts AS (\n SELECT COUNT(CASE WHEN p.publisher_name = 'DC Comics' THEN 1 END) AS dc_count,\n COUNT(CASE WHEN p.publisher_name = 'Marvel Comics' THEN 1 END) AS marvel_count\n FROM superhero AS s\n JOIN publisher AS p ON p.id = s.publisher_id\n WHERE p.publisher_name IN ('DC Comics', 'Marvel Comics')\n)\nSELECT CASE\n WHEN dc_count > marvel_count THEN 'DC Comics'\n WHEN marvel_count > dc_count THEN 'Marvel Comics'\n ELSE 'Tie'\n END AS publisher,\n ABS(dc_count - marvel_count) AS count_difference\nFROM publisher_counts;", "seconds": 11.653786583105102, "calls": [{"seconds": 2.447733165929094, "usage": {"completion_tokens": 51, "prompt_tokens": 1627, "total_tokens": 1678, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1073, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1073, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1073, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.184633249999024, "usage": {"completion_tokens": 197, "prompt_tokens": 1797, "total_tokens": 1994, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 32, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 170, "cached_tokens": 1073, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 170, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 170, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.007420583046041, "usage": {"completion_tokens": 145, "prompt_tokens": 2166, "total_tokens": 2311, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 369, "cached_tokens": 1243, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 369, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 369, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5b2e422215d18a3a14d78b3592372b4fdd58f5074029283e306183fedc6bb4f2", "csv_sha256": "e1c1fa4bb50379c812d66c9c819a14f795ed5501485b2245733fa5585a43a069"} +{"instance_id": "bird343", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT AVG(m.height_cm) AS average_height_cm\nFROM superhero AS m\nJOIN publisher AS mp ON mp.id = m.publisher_id\nWHERE mp.publisher_name = 'Marvel Comics'\n AND m.height_cm > 0\n AND EXISTS (\n SELECT 1\n FROM hero_power AS mhp\n JOIN superpower AS sp ON sp.id = mhp.power_id\n WHERE mhp.hero_id = m.id\n AND NOT EXISTS (\n SELECT 1\n FROM hero_power AS dhp\n JOIN superhero AS d ON d.id = dhp.hero_id\n JOIN publisher AS dp ON dp.id = d.publisher_id\n WHERE dp.publisher_name = 'DC Comics'\n AND dhp.power_id = sp.id\n )\n );\n```", "rows": 1, "sql": "SELECT AVG(m.height_cm) AS average_height_cm\nFROM superhero AS m\nJOIN publisher AS mp ON mp.id = m.publisher_id\nWHERE mp.publisher_name = 'Marvel Comics'\n AND m.height_cm > 0\n AND EXISTS (\n SELECT 1\n FROM hero_power AS mhp\n JOIN superpower AS sp ON sp.id = mhp.power_id\n WHERE mhp.hero_id = m.id\n AND NOT EXISTS (\n SELECT 1\n FROM hero_power AS dhp\n JOIN superhero AS d ON d.id = dhp.hero_id\n JOIN publisher AS dp ON dp.id = d.publisher_id\n WHERE dp.publisher_name = 'DC Comics'\n AND dhp.power_id = sp.id\n )\n );", "seconds": 16.767677917028777, "calls": [{"seconds": 2.5962148329708725, "usage": {"completion_tokens": 83, "prompt_tokens": 1682, "total_tokens": 1765, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1128, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1128, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1128, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.166161625063978, "usage": {"completion_tokens": 127, "prompt_tokens": 1937, "total_tokens": 2064, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 34, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1128, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.783868459053338, "usage": {"completion_tokens": 246, "prompt_tokens": 2204, "total_tokens": 2450, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 64, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 267, "cached_tokens": 1383, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 267, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 267, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.048883083974943, "usage": {"completion_tokens": 165, "prompt_tokens": 2641, "total_tokens": 2806, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 437, "cached_tokens": 1650, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 437, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 437, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a0ed1172d07ed780f249df8bbe51127c2cf282c07009f1af0615a1238dd3e9f4", "csv_sha256": "e39a11c647a6dea02459dfe5a427e9fb3610933b6c8e79fe1df8d5675747c9f8"} +{"instance_id": "bird344", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH hero_powers AS (\n SELECT h.id AS hero_id, hp.power_id\n FROM superhero AS h\n JOIN hero_power AS hp ON hp.hero_id = h.id\n), strength_heroes AS (\n SELECT DISTINCT hp.hero_id\n FROM hero_powers AS hp\n JOIN superpower AS p ON p.id = hp.power_id\n WHERE p.power_name = 'Super Strength'\n)\nSELECT COUNT(*) AS power_count\nFROM superpower AS p\nWHERE EXISTS (\n SELECT 1\n FROM hero_powers AS hp\n JOIN strength_heroes AS sh ON sh.hero_id = hp.hero_id\n WHERE hp.power_id = p.id\n)\nAND NOT EXISTS (\n SELECT 1\n FROM hero_powers AS hp\n LEFT JOIN strength_heroes AS sh ON sh.hero_id = hp.hero_id\n WHERE hp.power_id = p.id AND sh.hero_id IS NULL\n);\n```", "rows": 1, "sql": "WITH hero_powers AS (\n SELECT h.id AS hero_id, hp.power_id\n FROM superhero AS h\n JOIN hero_power AS hp ON hp.hero_id = h.id\n), strength_heroes AS (\n SELECT DISTINCT hp.hero_id\n FROM hero_powers AS hp\n JOIN superpower AS p ON p.id = hp.power_id\n WHERE p.power_name = 'Super Strength'\n)\nSELECT COUNT(*) AS power_count\nFROM superpower AS p\nWHERE EXISTS (\n SELECT 1\n FROM hero_powers AS hp\n JOIN strength_heroes AS sh ON sh.hero_id = hp.hero_id\n WHERE hp.power_id = p.id\n)\nAND NOT EXISTS (\n SELECT 1\n FROM hero_powers AS hp\n LEFT JOIN strength_heroes AS sh ON sh.hero_id = hp.hero_id\n WHERE hp.power_id = p.id AND sh.hero_id IS NULL\n);", "seconds": 15.728111208067276, "calls": [{"seconds": 2.7146113750059158, "usage": {"completion_tokens": 68, "prompt_tokens": 1676, "total_tokens": 1744, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1122, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1122, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1122, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.057545791962184, "usage": {"completion_tokens": 332, "prompt_tokens": 1890, "total_tokens": 2222, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 117, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 214, "cached_tokens": 1122, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 214, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 214, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.920433250023052, "usage": {"completion_tokens": 197, "prompt_tokens": 2438, "total_tokens": 2635, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 548, "cached_tokens": 1336, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 548, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 548, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "532da3478c79700a4100b35bf75652281653d961cf9f3ca786932917fd7f0dac", "csv_sha256": "83125621e2d192f7b59622ed3e39bf4f7e264fa3f6864249d5890bc630307222"} +{"instance_id": "bird345", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(s.weight_kg), 1) AS average_weight_kg\nFROM superhero AS s\nJOIN colour AS c ON c.id = s.skin_colour_id\nWHERE LOWER(c.colour) = 'green'\n AND s.weight_kg > 0;\n```", "rows": 1, "sql": "SELECT ROUND(AVG(s.weight_kg), 1) AS average_weight_kg\nFROM superhero AS s\nJOIN colour AS c ON c.id = s.skin_colour_id\nWHERE LOWER(c.colour) = 'green'\n AND s.weight_kg > 0;", "seconds": 16.30041087488644, "calls": [{"seconds": 2.177117457962595, "usage": {"completion_tokens": 51, "prompt_tokens": 1665, "total_tokens": 1716, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1111, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1111, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1111, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.7848102919524536, "usage": {"completion_tokens": 72, "prompt_tokens": 1834, "total_tokens": 1906, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 169, "cached_tokens": 1111, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 169, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 169, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.329417041037232, "usage": {"completion_tokens": 181, "prompt_tokens": 2067, "total_tokens": 2248, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 94, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 233, "cached_tokens": 1280, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 233, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 233, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.211442791041918, "usage": {"completion_tokens": 74, "prompt_tokens": 2408, "total_tokens": 2482, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 341, "cached_tokens": 1513, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 341, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 341, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.7762884999392554, "usage": {"completion_tokens": 64, "prompt_tokens": 2570, "total_tokens": 2634, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 162, "cached_tokens": 1854, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 162, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 162, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d90d1467210cf3525cc5a3ef92035e31017f5f469c5c059bc9a0ee596bf1bd45", "csv_sha256": "190d6238747d91c5b7807711e9c4a6c5f37872189abaffe8445722182b115b62"} +{"instance_id": "bird346", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS superhero_count\nFROM superhero AS s\nJOIN alignment AS a ON a.id = s.alignment_id\nWHERE a.alignment NOT IN ('Good', 'Bad');\n```", "rows": 1, "sql": "SELECT COUNT(*) AS superhero_count\nFROM superhero AS s\nJOIN alignment AS a ON a.id = s.alignment_id\nWHERE a.alignment NOT IN ('Good', 'Bad');", "seconds": 12.517100375029258, "calls": [{"seconds": 2.2959116250276566, "usage": {"completion_tokens": 51, "prompt_tokens": 1686, "total_tokens": 1737, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1132, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1132, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1132, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.6084789159940556, "usage": {"completion_tokens": 63, "prompt_tokens": 1855, "total_tokens": 1918, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 169, "cached_tokens": 1132, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 169, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 169, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.876428374904208, "usage": {"completion_tokens": 150, "prompt_tokens": 2026, "total_tokens": 2176, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 94, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 171, "cached_tokens": 1301, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 171, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 171, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.7200111669953912, "usage": {"completion_tokens": 45, "prompt_tokens": 2241, "total_tokens": 2286, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 215, "cached_tokens": 1472, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 215, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 215, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e73a81b67eacadc557a34c5da0e1a10e5be07b86004b8f878c2643afabe076c5", "csv_sha256": "a77fc7119853a0fd69b663fbd419753ce976912653c3b2150d2591d84f3ad95c"} +{"instance_id": "bird347", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH power_counts AS (\n SELECT sp.power_name, COUNT(DISTINCT h.id) AS hero_count\n FROM superhero AS h\n JOIN publisher AS p ON p.id = h.publisher_id\n JOIN hero_power AS hp ON hp.hero_id = h.id\n JOIN superpower AS sp ON sp.id = hp.power_id\n WHERE p.publisher_name = 'Marvel Comics'\n AND h.full_name IS NOT NULL\n AND TRIM(h.full_name) NOT IN ('', '-')\n GROUP BY sp.id, sp.power_name\n)\nSELECT power_name, hero_count\nFROM power_counts\nWHERE hero_count = (SELECT MAX(hero_count) FROM power_counts)\nORDER BY power_name;\n```", "rows": 1, "sql": "WITH power_counts AS (\n SELECT sp.power_name, COUNT(DISTINCT h.id) AS hero_count\n FROM superhero AS h\n JOIN publisher AS p ON p.id = h.publisher_id\n JOIN hero_power AS hp ON hp.hero_id = h.id\n JOIN superpower AS sp ON sp.id = hp.power_id\n WHERE p.publisher_name = 'Marvel Comics'\n AND h.full_name IS NOT NULL\n AND TRIM(h.full_name) NOT IN ('', '-')\n GROUP BY sp.id, sp.power_name\n)\nSELECT power_name, hero_count\nFROM power_counts\nWHERE hero_count = (SELECT MAX(hero_count) FROM power_counts)\nORDER BY power_name;", "seconds": 21.937923457939178, "calls": [{"seconds": 2.305319542065263, "usage": {"completion_tokens": 15, "prompt_tokens": 1683, "total_tokens": 1698, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1129, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1129, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1129, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.6964201669907197, "usage": {"completion_tokens": 83, "prompt_tokens": 1744, "total_tokens": 1827, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 61, "cached_tokens": 1129, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 61, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 61, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.408062999951653, "usage": {"completion_tokens": 18, "prompt_tokens": 1999, "total_tokens": 2017, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1190, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.335192250087857, "usage": {"completion_tokens": 200, "prompt_tokens": 2047, "total_tokens": 2247, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 35, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1445, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.329343207995407, "usage": {"completion_tokens": 215, "prompt_tokens": 2452, "total_tokens": 2667, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 48, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 405, "cached_tokens": 1493, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 405, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 405, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8402302499162033, "usage": {"completion_tokens": 151, "prompt_tokens": 2846, "total_tokens": 2997, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 394, "cached_tokens": 1898, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 394, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 394, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d6d1a0497368a777afcba8b70d40e08c6c275213cb9db2e1a010f4715eeb24d3", "csv_sha256": "906e6089ed5b29194f74233a678d5ca5a9bc0d63ad392cc3486d73c63149d762"} +{"instance_id": "bird348", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH intelligence_scores AS (\n SELECT ha.hero_id, ha.attribute_value\n FROM hero_attribute AS ha\n JOIN attribute AS a ON a.id = ha.attribute_id\n WHERE a.attribute_name = 'Intelligence'\n), abomination_scores AS (\n SELECT i.attribute_value\n FROM intelligence_scores AS i\n JOIN superhero AS s ON s.id = i.hero_id\n WHERE s.superhero_name = 'Abomination'\n)\nSELECT ROUND(AVG(s.weight_kg), 2) AS average_weight_kg\nFROM superhero AS s\nWHERE s.weight_kg > 0\n AND s.id IN (\n SELECT i.hero_id\n FROM intelligence_scores AS i\n WHERE i.attribute_value IN (SELECT attribute_value FROM abomination_scores)\n );\n```", "rows": 1, "sql": "WITH intelligence_scores AS (\n SELECT ha.hero_id, ha.attribute_value\n FROM hero_attribute AS ha\n JOIN attribute AS a ON a.id = ha.attribute_id\n WHERE a.attribute_name = 'Intelligence'\n), abomination_scores AS (\n SELECT i.attribute_value\n FROM intelligence_scores AS i\n JOIN superhero AS s ON s.id = i.hero_id\n WHERE s.superhero_name = 'Abomination'\n)\nSELECT ROUND(AVG(s.weight_kg), 2) AS average_weight_kg\nFROM superhero AS s\nWHERE s.weight_kg > 0\n AND s.id IN (\n SELECT i.hero_id\n FROM intelligence_scores AS i\n WHERE i.attribute_value IN (SELECT attribute_value FROM abomination_scores)\n );", "seconds": 16.711610749945976, "calls": [{"seconds": 3.084960083011538, "usage": {"completion_tokens": 67, "prompt_tokens": 1668, "total_tokens": 1735, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1114, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1114, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1114, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.509210916934535, "usage": {"completion_tokens": 93, "prompt_tokens": 1886, "total_tokens": 1979, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 35, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 218, "cached_tokens": 1114, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 218, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 218, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.5125251250574365, "usage": {"completion_tokens": 229, "prompt_tokens": 2055, "total_tokens": 2284, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 46, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 169, "cached_tokens": 1332, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 169, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 169, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.58592962496914, "usage": {"completion_tokens": 187, "prompt_tokens": 2472, "total_tokens": 2659, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 20, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 417, "cached_tokens": 1501, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 417, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 417, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "656b55528ad435e1a27122115bfb9a649f478e56611292b9288600766d594a6d", "csv_sha256": "f0f21c071f5353e060ef23d2b9df98fa6338ddef85f4735e89cb659f616c1eb1"} +{"instance_id": "bird349", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH qualified_heroes AS (\n SELECT h.id, h.gender_id\n FROM superhero AS h\n JOIN colour AS c ON c.id = h.hair_colour_id\n JOIN hero_power AS hp ON hp.hero_id = h.id\n WHERE LOWER(c.colour) = 'blue'\n GROUP BY h.id, h.gender_id\n HAVING COUNT(DISTINCT hp.power_id) >= 10\n)\nSELECT g.gender, COUNT(q.id) AS superhero_count\nFROM gender AS g\nLEFT JOIN qualified_heroes AS q ON q.gender_id = g.id\nWHERE LOWER(g.gender) IN ('male', 'female')\nGROUP BY g.gender\nORDER BY g.gender;\n```", "rows": 2, "sql": "WITH qualified_heroes AS (\n SELECT h.id, h.gender_id\n FROM superhero AS h\n JOIN colour AS c ON c.id = h.hair_colour_id\n JOIN hero_power AS hp ON hp.hero_id = h.id\n WHERE LOWER(c.colour) = 'blue'\n GROUP BY h.id, h.gender_id\n HAVING COUNT(DISTINCT hp.power_id) >= 10\n)\nSELECT g.gender, COUNT(q.id) AS superhero_count\nFROM gender AS g\nLEFT JOIN qualified_heroes AS q ON q.gender_id = g.id\nWHERE LOWER(g.gender) IN ('male', 'female')\nGROUP BY g.gender\nORDER BY g.gender;", "seconds": 14.488592999987304, "calls": [{"seconds": 3.115929500083439, "usage": {"completion_tokens": 98, "prompt_tokens": 1672, "total_tokens": 1770, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1118, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1118, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1118, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.598580209072679, "usage": {"completion_tokens": 315, "prompt_tokens": 1966, "total_tokens": 2281, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 150, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 294, "cached_tokens": 1118, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 294, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 294, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7562608330044895, "usage": {"completion_tokens": 149, "prompt_tokens": 2461, "total_tokens": 2610, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 495, "cached_tokens": 1412, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 495, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 495, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7839d033db465698dac8e206974d10d30fae81f3b3002795ffe41b83f38c8b18", "csv_sha256": "19c59d8c205908cc37e45d1604b53ebd4b53d420ffb191756ed517045ea532c5"} +{"instance_id": "bird350", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH hulk_strength AS (\n SELECT ha.attribute_value\n FROM superhero AS h\n JOIN hero_attribute AS ha ON ha.hero_id = h.id\n JOIN attribute AS a ON a.id = ha.attribute_id\n WHERE h.superhero_name = 'Hulk'\n AND a.attribute_name = 'Strength'\n)\nSELECT CAST(ROUND(AVG(s.weight_kg)) AS INTEGER) AS average_weight_kg\nFROM superhero AS s\nWHERE s.weight_kg > 0\n AND EXISTS (\n SELECT 1\n FROM hero_attribute AS ha\n JOIN attribute AS a ON a.id = ha.attribute_id\n WHERE ha.hero_id = s.id\n AND a.attribute_name = 'Strength'\n AND ha.attribute_value IN (SELECT attribute_value FROM hulk_strength)\n );\n```", "rows": 1, "sql": "WITH hulk_strength AS (\n SELECT ha.attribute_value\n FROM superhero AS h\n JOIN hero_attribute AS ha ON ha.hero_id = h.id\n JOIN attribute AS a ON a.id = ha.attribute_id\n WHERE h.superhero_name = 'Hulk'\n AND a.attribute_name = 'Strength'\n)\nSELECT CAST(ROUND(AVG(s.weight_kg)) AS INTEGER) AS average_weight_kg\nFROM superhero AS s\nWHERE s.weight_kg > 0\n AND EXISTS (\n SELECT 1\n FROM hero_attribute AS ha\n JOIN attribute AS a ON a.id = ha.attribute_id\n WHERE ha.hero_id = s.id\n AND a.attribute_name = 'Strength'\n AND ha.attribute_value IN (SELECT attribute_value FROM hulk_strength)\n );", "seconds": 28.20032587496098, "calls": [{"seconds": 2.70772795798257, "usage": {"completion_tokens": 67, "prompt_tokens": 1728, "total_tokens": 1795, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1174, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1174, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1174, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8583374590380117, "usage": {"completion_tokens": 81, "prompt_tokens": 1946, "total_tokens": 2027, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 26, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 218, "cached_tokens": 1174, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 218, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 218, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.503687874996103, "usage": {"completion_tokens": 310, "prompt_tokens": 2104, "total_tokens": 2414, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 120, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 158, "cached_tokens": 1392, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 158, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 158, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.645409333053976, "usage": {"completion_tokens": 276, "prompt_tokens": 2609, "total_tokens": 2885, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 121, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 505, "cached_tokens": 1550, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 505, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 505, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.34511479199864, "usage": {"completion_tokens": 249, "prompt_tokens": 3237, "total_tokens": 3486, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 75, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 628, "cached_tokens": 2055, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 628, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 628, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1e5e9b6a6e18971ac25f0f00267e19da301e75f3b14e2c8ba1f6ab74dfe89c65", "csv_sha256": "828117bf5c1b50a98b811b70091df2755621b5753c08f6d449b20d9a8381cc02"} +{"instance_id": "bird351", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH ranked_heroes AS (\n SELECT id, RANK() OVER (ORDER BY height_cm DESC) AS height_rank\n FROM superhero\n)\nSELECT COUNT(DISTINCT sp.power_name) AS distinct_superpower_count\nFROM ranked_heroes AS rh\nLEFT JOIN hero_power AS hp ON hp.hero_id = rh.id\nLEFT JOIN superpower AS sp ON sp.id = hp.power_id\nWHERE rh.height_rank <= 10;\n```", "rows": 1, "sql": "WITH ranked_heroes AS (\n SELECT id, RANK() OVER (ORDER BY height_cm DESC) AS height_rank\n FROM superhero\n)\nSELECT COUNT(DISTINCT sp.power_name) AS distinct_superpower_count\nFROM ranked_heroes AS rh\nLEFT JOIN hero_power AS hp ON hp.hero_id = rh.id\nLEFT JOIN superpower AS sp ON sp.id = hp.power_id\nWHERE rh.height_rank <= 10;", "seconds": 10.833910125074908, "calls": [{"seconds": 3.123604000080377, "usage": {"completion_tokens": 68, "prompt_tokens": 1717, "total_tokens": 1785, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1163, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1163, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1163, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.251332874991931, "usage": {"completion_tokens": 165, "prompt_tokens": 1931, "total_tokens": 2096, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 56, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 214, "cached_tokens": 1163, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 214, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 214, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.441946499980986, "usage": {"completion_tokens": 96, "prompt_tokens": 2213, "total_tokens": 2309, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 282, "cached_tokens": 1377, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 282, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 282, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ebc947e175dcd570cc4ebbc266161c6f8fdc88624db610f901e1d8f5970969aa", "csv_sha256": "b79a783a400bfe92aa672cf248a087c34295c89e89f5790a50444cce8f1c593e"} +{"instance_id": "bird352", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS character_count\nFROM superhero AS s\nLEFT JOIN race AS r ON r.id = s.race_id\nWHERE s.publisher_id IN (\n SELECT publisher_id\n FROM superhero\n WHERE superhero_name = 'A-Bomb'\n)\nAND (r.race IS NULL OR r.race = '-');\n```", "rows": 1, "sql": "SELECT COUNT(*) AS character_count\nFROM superhero AS s\nLEFT JOIN race AS r ON r.id = s.race_id\nWHERE s.publisher_id IN (\n SELECT publisher_id\n FROM superhero\n WHERE superhero_name = 'A-Bomb'\n)\nAND (r.race IS NULL OR r.race = '-');", "seconds": 16.985918499995023, "calls": [{"seconds": 2.5456030000932515, "usage": {"completion_tokens": 66, "prompt_tokens": 1667, "total_tokens": 1733, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1113, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1113, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1113, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.729217041051015, "usage": {"completion_tokens": 158, "prompt_tokens": 1877, "total_tokens": 2035, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 60, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 210, "cached_tokens": 1113, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 210, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 210, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.342498583020642, "usage": {"completion_tokens": 118, "prompt_tokens": 2259, "total_tokens": 2377, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 30, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 382, "cached_tokens": 1323, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 382, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 382, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.346279708086513, "usage": {"completion_tokens": 148, "prompt_tokens": 2470, "total_tokens": 2618, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 72, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 211, "cached_tokens": 1705, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 211, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 211, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "cc7ee4c890842c8a18b5d20046cc344ad839e291b6e5f89528a990693e2ca6e5", "csv_sha256": "596bc7b2d0a404872e9fce4b7f03adede9234157795a6cfe8b7f8bc19fa8e625"} +{"instance_id": "bird353", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH powers_per_hero AS (\n SELECT h.id, COUNT(DISTINCT hp.power_id) AS power_count\n FROM superhero AS h\n JOIN race AS r ON r.id = h.race_id\n JOIN gender AS g ON g.id = h.gender_id\n LEFT JOIN hero_power AS hp ON hp.hero_id = h.id\n WHERE r.race = 'God / Eternal' AND g.gender = 'Male'\n GROUP BY h.id\n)\nSELECT ROUND(AVG(power_count), 2) AS average_superpowers\nFROM powers_per_hero;\n```", "rows": 1, "sql": "WITH powers_per_hero AS (\n SELECT h.id, COUNT(DISTINCT hp.power_id) AS power_count\n FROM superhero AS h\n JOIN race AS r ON r.id = h.race_id\n JOIN gender AS g ON g.id = h.gender_id\n LEFT JOIN hero_power AS hp ON hp.hero_id = h.id\n WHERE r.race = 'God / Eternal' AND g.gender = 'Male'\n GROUP BY h.id\n)\nSELECT ROUND(AVG(power_count), 2) AS average_superpowers\nFROM powers_per_hero;", "seconds": 12.032370833097957, "calls": [{"seconds": 3.186340000014752, "usage": {"completion_tokens": 98, "prompt_tokens": 1658, "total_tokens": 1756, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1104, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1104, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1104, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.947438666946255, "usage": {"completion_tokens": 191, "prompt_tokens": 1952, "total_tokens": 2143, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 51, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 294, "cached_tokens": 1104, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 294, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 294, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8840672080405056, "usage": {"completion_tokens": 126, "prompt_tokens": 2291, "total_tokens": 2417, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 339, "cached_tokens": 1398, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 339, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 339, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a7d572db3e8b82fc30b9bb21098503db90fe07746edee98b2da138cef9dcbf84", "csv_sha256": "a9b8b2ca4cda426fd6ee3d316cc856357c9034ed8c0e5cc38b8a2d38241be16e"} +{"instance_id": "bird354", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH cryokinesis_holder_powers AS (\n SELECT DISTINCT hp.power_id\n FROM hero_power AS hp\n WHERE hp.hero_id IN (\n SELECT ch.hero_id\n FROM hero_power AS ch\n JOIN superpower AS sp ON sp.id = ch.power_id\n WHERE sp.power_name = 'Cryokinesis'\n )\n), matching_heroes AS (\n SELECT DISTINCT hp.hero_id\n FROM hero_power AS hp\n JOIN cryokinesis_holder_powers AS cp ON cp.power_id = hp.power_id\n), hero_power_counts AS (\n SELECT hp.hero_id, COUNT(DISTINCT hp.power_id) AS power_count\n FROM matching_heroes AS mh\n JOIN superhero AS h ON h.id = mh.hero_id\n JOIN hero_power AS hp ON hp.hero_id = h.id\n GROUP BY hp.hero_id\n)\nSELECT ROUND(AVG(power_count), 1) AS average_superpowers\nFROM hero_power_counts;\n```", "rows": 1, "sql": "WITH cryokinesis_holder_powers AS (\n SELECT DISTINCT hp.power_id\n FROM hero_power AS hp\n WHERE hp.hero_id IN (\n SELECT ch.hero_id\n FROM hero_power AS ch\n JOIN superpower AS sp ON sp.id = ch.power_id\n WHERE sp.power_name = 'Cryokinesis'\n )\n), matching_heroes AS (\n SELECT DISTINCT hp.hero_id\n FROM hero_power AS hp\n JOIN cryokinesis_holder_powers AS cp ON cp.power_id = hp.power_id\n), hero_power_counts AS (\n SELECT hp.hero_id, COUNT(DISTINCT hp.power_id) AS power_count\n FROM matching_heroes AS mh\n JOIN superhero AS h ON h.id = mh.hero_id\n JOIN hero_power AS hp ON hp.hero_id = h.id\n GROUP BY hp.hero_id\n)\nSELECT ROUND(AVG(power_count), 1) AS average_superpowers\nFROM hero_power_counts;", "seconds": 13.223358624964021, "calls": [{"seconds": 2.7998481249669567, "usage": {"completion_tokens": 68, "prompt_tokens": 1702, "total_tokens": 1770, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1148, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1148, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1148, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.012740875012241, "usage": {"completion_tokens": 272, "prompt_tokens": 1916, "total_tokens": 2188, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 49, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 214, "cached_tokens": 1148, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 214, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 214, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.391038459027186, "usage": {"completion_tokens": 204, "prompt_tokens": 2414, "total_tokens": 2618, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 498, "cached_tokens": 1362, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 498, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 498, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1b515713f5287d01bf3a7f240f642100aaa5022c98799204f8d8956462c26b99", "csv_sha256": "ce74df5e4004d78f837b5ecdcb1612ac35a572b5d0b147955cb5f809b3e0634e"} +{"instance_id": "bird355", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT CAST(ROUND(AVG(dc.weight_kg)) AS INTEGER) AS average_weight_kg\nFROM superhero AS dc\nJOIN publisher AS dp ON dp.id = dc.publisher_id\nWHERE dp.publisher_name = 'DC Comics'\n AND dc.weight_kg IS NOT NULL\n AND EXISTS (\n SELECT 1\n FROM superhero AS marvel\n JOIN publisher AS mp ON mp.id = marvel.publisher_id\n WHERE mp.publisher_name = 'Marvel Comics'\n AND marvel.eye_colour_id = dc.eye_colour_id\n );\n```", "rows": 1, "sql": "SELECT CAST(ROUND(AVG(dc.weight_kg)) AS INTEGER) AS average_weight_kg\nFROM superhero AS dc\nJOIN publisher AS dp ON dp.id = dc.publisher_id\nWHERE dp.publisher_name = 'DC Comics'\n AND dc.weight_kg IS NOT NULL\n AND EXISTS (\n SELECT 1\n FROM superhero AS marvel\n JOIN publisher AS mp ON mp.id = marvel.publisher_id\n WHERE mp.publisher_name = 'Marvel Comics'\n AND marvel.eye_colour_id = dc.eye_colour_id\n );", "seconds": 25.167347500100732, "calls": [{"seconds": 2.671120959101245, "usage": {"completion_tokens": 66, "prompt_tokens": 1670, "total_tokens": 1736, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1116, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1116, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1116, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.287005249992944, "usage": {"completion_tokens": 205, "prompt_tokens": 1880, "total_tokens": 2085, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 74, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 210, "cached_tokens": 1116, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 210, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 210, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.111354500055313, "usage": {"completion_tokens": 18, "prompt_tokens": 2284, "total_tokens": 2302, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 404, "cached_tokens": 1326, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 404, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 404, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.277142332983203, "usage": {"completion_tokens": 425, "prompt_tokens": 2332, "total_tokens": 2757, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 295, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1730, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.8050171250943094, "usage": {"completion_tokens": 153, "prompt_tokens": 2894, "total_tokens": 3047, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 35, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 562, "cached_tokens": 1778, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 562, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 562, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "93b9692459ea09424557906bdbb8eacf7fe45730b6d0c487373d100e1fc461ee", "csv_sha256": "d310dd9c2601f4733a00e796b5c889103e64f354a9d15d271a3ef9fa8bbd07e9"} +{"instance_id": "bird356", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(s.height_cm), 1) AS average_height_cm\nFROM superhero AS s\nWHERE s.race_id IN (\n SELECT race_id\n FROM superhero\n WHERE superhero_name = 'A-Bomb'\n)\nAND s.height_cm > 0;\n```", "rows": 1, "sql": "SELECT ROUND(AVG(s.height_cm), 1) AS average_height_cm\nFROM superhero AS s\nWHERE s.race_id IN (\n SELECT race_id\n FROM superhero\n WHERE superhero_name = 'A-Bomb'\n)\nAND s.height_cm > 0;", "seconds": 29.429014875087887, "calls": [{"seconds": 2.6242267910856754, "usage": {"completion_tokens": 51, "prompt_tokens": 1703, "total_tokens": 1754, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1149, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1149, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1149, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.5806549170520157, "usage": {"completion_tokens": 37, "prompt_tokens": 1872, "total_tokens": 1909, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 169, "cached_tokens": 1149, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 169, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 169, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.7876537500414997, "usage": {"completion_tokens": 56, "prompt_tokens": 1975, "total_tokens": 2031, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 103, "cached_tokens": 1318, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 103, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 103, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.922576333046891, "usage": {"completion_tokens": 249, "prompt_tokens": 2240, "total_tokens": 2489, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 171, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 265, "cached_tokens": 1421, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 265, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 265, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.200967791955918, "usage": {"completion_tokens": 177, "prompt_tokens": 2575, "total_tokens": 2752, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 85, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 335, "cached_tokens": 1686, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 335, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 335, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.29205412499141, "usage": {"completion_tokens": 281, "prompt_tokens": 3000, "total_tokens": 3281, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 215, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 425, "cached_tokens": 2021, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 425, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 425, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2ee266eb464af7d21d94c991138b85b42e9ebe9af8ee1bcae3d7783a2716c552", "csv_sha256": "4753fee020acba0a759add2389261be2b619e8630d270b20ac1d183b2077d885"} +{"instance_id": "bird357", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT AVG(h.weight_kg) AS average_weight_kg\nFROM superhero AS h\nJOIN race AS r ON r.id = h.race_id\nWHERE h.weight_kg IS NOT NULL\n AND NOT EXISTS (\n SELECT 1\n FROM superhero AS f\n JOIN gender AS g ON g.id = f.gender_id\n WHERE f.race_id = r.id\n AND g.gender = 'Female'\n );\n```", "rows": 1, "sql": "SELECT AVG(h.weight_kg) AS average_weight_kg\nFROM superhero AS h\nJOIN race AS r ON r.id = h.race_id\nWHERE h.weight_kg IS NOT NULL\n AND NOT EXISTS (\n SELECT 1\n FROM superhero AS f\n JOIN gender AS g ON g.id = f.gender_id\n WHERE f.race_id = r.id\n AND g.gender = 'Female'\n );", "seconds": 18.760552124935202, "calls": [{"seconds": 2.756744333077222, "usage": {"completion_tokens": 66, "prompt_tokens": 1658, "total_tokens": 1724, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1104, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1104, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1104, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.053276999969967, "usage": {"completion_tokens": 214, "prompt_tokens": 1867, "total_tokens": 2081, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 60, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 209, "cached_tokens": 1104, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 209, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 209, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.566858166013844, "usage": {"completion_tokens": 271, "prompt_tokens": 2288, "total_tokens": 2559, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 161, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 421, "cached_tokens": 1313, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 421, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 421, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.355318750021979, "usage": {"completion_tokens": 97, "prompt_tokens": 2680, "total_tokens": 2777, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 392, "cached_tokens": 1734, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 392, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 392, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "376608751b78f3f8c9a8b46e63e8e1aa6319f55abe843a1c496f2ea9bd2965dd", "csv_sha256": "d56cb2ee3f5565a0b80f94a17895439d0f43f59e3eb7389674c62402bb9ed594"} +{"instance_id": "bird358", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "failed", "answer": "❓ Awaiting user: Should I count every named publisher in the database, including individuals like George Lucas and J. R. R. Tolkien, or only publishing companies? If only companies, should Microsoft count?", "error_type": "ValueError", "seconds": 29.41266287502367, "calls": [{"seconds": 2.324015291989781, "usage": {"completion_tokens": 51, "prompt_tokens": 1699, "total_tokens": 1750, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1145, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1145, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1145, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.641616874956526, "usage": {"completion_tokens": 277, "prompt_tokens": 1869, "total_tokens": 2146, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 219, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 170, "cached_tokens": 1145, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 170, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 170, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.614040291984566, "usage": {"completion_tokens": 309, "prompt_tokens": 2257, "total_tokens": 2566, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 231, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 388, "cached_tokens": 1315, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 388, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 388, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.8189662920776755, "usage": {"completion_tokens": 273, "prompt_tokens": 2649, "total_tokens": 2922, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 217, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 392, "cached_tokens": 1703, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 392, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 392, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f0de6fcb8615cf98ea07416c5fde185189bdddefe38933332d2de75c273f406a"} +{"instance_id": "bird359", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS total_count\nFROM superhero AS s\nJOIN alignment AS a ON a.id = s.alignment_id\nJOIN publisher AS p ON p.id = s.publisher_id\nWHERE a.alignment = 'Good'\n AND p.publisher_name <> 'DC Comics';\n```", "rows": 1, "sql": "SELECT COUNT(*) AS total_count\nFROM superhero AS s\nJOIN alignment AS a ON a.id = s.alignment_id\nJOIN publisher AS p ON p.id = s.publisher_id\nWHERE a.alignment = 'Good'\n AND p.publisher_name <> 'DC Comics';", "seconds": 9.972227458958514, "calls": [{"seconds": 2.4891659170389175, "usage": {"completion_tokens": 66, "prompt_tokens": 1663, "total_tokens": 1729, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1109, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1109, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1109, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.729886166984215, "usage": {"completion_tokens": 193, "prompt_tokens": 1873, "total_tokens": 2066, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 118, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 210, "cached_tokens": 1109, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 210, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 210, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.7421249580802396, "usage": {"completion_tokens": 63, "prompt_tokens": 2148, "total_tokens": 2211, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 275, "cached_tokens": 1319, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 275, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 275, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1d7d3e7b24fd4b8e104bba67f5c47a57f08a787fe4ee31f1bbe1000197cd3caf", "csv_sha256": "57da75e149485f9f07e4de873c1475da0e44c39d4fa666d3f585bf4a9cfbb96f"} +{"instance_id": "bird360", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(s.weight_kg), 1) AS average_weight_kg,\n COUNT(s.weight_kg) AS superhero_count\nFROM superhero AS s\nJOIN publisher AS p ON p.id = s.publisher_id\nWHERE p.publisher_name = 'DC Comics';\n```", "rows": 1, "sql": "SELECT ROUND(AVG(s.weight_kg), 1) AS average_weight_kg,\n COUNT(s.weight_kg) AS superhero_count\nFROM superhero AS s\nJOIN publisher AS p ON p.id = s.publisher_id\nWHERE p.publisher_name = 'DC Comics';", "seconds": 22.726108709000982, "calls": [{"seconds": 2.346525750006549, "usage": {"completion_tokens": 51, "prompt_tokens": 1681, "total_tokens": 1732, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1127, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1127, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1127, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.010586709016934, "usage": {"completion_tokens": 18, "prompt_tokens": 1851, "total_tokens": 1869, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 170, "cached_tokens": 1127, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 170, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 170, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.885240833973512, "usage": {"completion_tokens": 326, "prompt_tokens": 1899, "total_tokens": 2225, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 200, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1297, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.7884052080335096, "usage": {"completion_tokens": 191, "prompt_tokens": 2385, "total_tokens": 2576, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 116, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 486, "cached_tokens": 1345, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 486, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 486, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.6780707080615684, "usage": {"completion_tokens": 63, "prompt_tokens": 2670, "total_tokens": 2733, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 285, "cached_tokens": 1831, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 285, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 285, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "81c2d64407a1e6c7c2b5e316b5066ea68c9b390b07f1dd64d7686d4423fa366d", "csv_sha256": "13e7199a37ae2764e6d9c56597da3a711bdcb65fc2b7587559ebe879c248157e"} +{"instance_id": "bird361", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS hero_count\nFROM superhero AS h\nWHERE h.publisher_id IN (\n SELECT b.publisher_id\n FROM superhero AS b\n WHERE b.superhero_name = 'Blackwulf'\n)\nAND EXISTS (\n SELECT 1\n FROM superhero AS other\n JOIN publisher AS p ON p.id = other.publisher_id\n WHERE other.publisher_id <> h.publisher_id\n AND NULLIF(TRIM(p.publisher_name), '') IS NOT NULL\n AND other.eye_colour_id = h.eye_colour_id\n);\n```", "rows": 1, "sql": "SELECT COUNT(*) AS hero_count\nFROM superhero AS h\nWHERE h.publisher_id IN (\n SELECT b.publisher_id\n FROM superhero AS b\n WHERE b.superhero_name = 'Blackwulf'\n)\nAND EXISTS (\n SELECT 1\n FROM superhero AS other\n JOIN publisher AS p ON p.id = other.publisher_id\n WHERE other.publisher_id <> h.publisher_id\n AND NULLIF(TRIM(p.publisher_name), '') IS NOT NULL\n AND other.eye_colour_id = h.eye_colour_id\n);", "seconds": 15.990382500109263, "calls": [{"seconds": 2.447207957971841, "usage": {"completion_tokens": 66, "prompt_tokens": 1700, "total_tokens": 1766, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1146, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1146, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1146, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.5453022920992225, "usage": {"completion_tokens": 137, "prompt_tokens": 1910, "total_tokens": 2047, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 64, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 210, "cached_tokens": 1146, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 210, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 210, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.421743709011935, "usage": {"completion_tokens": 230, "prompt_tokens": 2539, "total_tokens": 2769, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 99, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 629, "cached_tokens": 1356, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 629, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 629, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5604839589213952, "usage": {"completion_tokens": 116, "prompt_tokens": 2904, "total_tokens": 3020, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 365, "cached_tokens": 1985, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 365, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 365, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1897ba9150963e87d7cad9750b61841185b83ec51c60dd281549f78868ecada4", "csv_sha256": "405e0c8fec20f4e38254a488078a071b4c60b481511d9f57af965cbf276e44b8"} +{"instance_id": "bird362", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH race_counts AS (\n SELECT r.race, COUNT(*) AS superhero_count\n FROM superhero AS s\n JOIN race AS r ON r.id = s.race_id\n WHERE s.publisher_id IN (\n SELECT publisher_id\n FROM superhero\n WHERE full_name = 'Charles Chandler'\n )\n AND TRIM(r.race) NOT IN ('', '-')\n GROUP BY r.race\n)\nSELECT race, superhero_count\nFROM race_counts\nWHERE superhero_count = (SELECT MAX(superhero_count) FROM race_counts)\nORDER BY race;\n```", "rows": 1, "sql": "WITH race_counts AS (\n SELECT r.race, COUNT(*) AS superhero_count\n FROM superhero AS s\n JOIN race AS r ON r.id = s.race_id\n WHERE s.publisher_id IN (\n SELECT publisher_id\n FROM superhero\n WHERE full_name = 'Charles Chandler'\n )\n AND TRIM(r.race) NOT IN ('', '-')\n GROUP BY r.race\n)\nSELECT race, superhero_count\nFROM race_counts\nWHERE superhero_count = (SELECT MAX(superhero_count) FROM race_counts)\nORDER BY race;", "seconds": 19.984075207961723, "calls": [{"seconds": 2.975687916041352, "usage": {"completion_tokens": 66, "prompt_tokens": 1702, "total_tokens": 1768, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1148, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1148, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1148, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.3519481249386445, "usage": {"completion_tokens": 108, "prompt_tokens": 1912, "total_tokens": 2020, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 44, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 210, "cached_tokens": 1148, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 210, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 210, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.640874375007115, "usage": {"completion_tokens": 185, "prompt_tokens": 2096, "total_tokens": 2281, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 43, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 184, "cached_tokens": 1358, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 184, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 184, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.997288417071104, "usage": {"completion_tokens": 123, "prompt_tokens": 2430, "total_tokens": 2553, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 334, "cached_tokens": 1542, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 334, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 334, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "21d83c92241edeacbb3b38421a489144a794d8224b37954c5a3f8b7b8b246326", "csv_sha256": "124712c5ec63767c562c7c4813133ab6c3a63d8b9d69123a11c1d976c0f15f87"} +{"instance_id": "bird363", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(s.weight_kg), 2) AS average_weight_kg\nFROM superhero AS s\nJOIN gender AS g ON g.id = s.gender_id\nWHERE g.gender = 'Female'\n AND s.weight_kg IS NOT NULL;\n```", "rows": 1, "sql": "SELECT ROUND(AVG(s.weight_kg), 2) AS average_weight_kg\nFROM superhero AS s\nJOIN gender AS g ON g.id = s.gender_id\nWHERE g.gender = 'Female'\n AND s.weight_kg IS NOT NULL;", "seconds": 16.89536133292131, "calls": [{"seconds": 2.5675248749321327, "usage": {"completion_tokens": 51, "prompt_tokens": 1648, "total_tokens": 1699, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1094, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1094, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1094, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.5765429579187185, "usage": {"completion_tokens": 60, "prompt_tokens": 1817, "total_tokens": 1877, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 169, "cached_tokens": 1094, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 169, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 169, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2935341249685735, "usage": {"completion_tokens": 66, "prompt_tokens": 1965, "total_tokens": 2031, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 46, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 148, "cached_tokens": 1263, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 148, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 148, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.589430541964248, "usage": {"completion_tokens": 177, "prompt_tokens": 2061, "total_tokens": 2238, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 105, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 96, "cached_tokens": 1411, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 96, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 96, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.850336041999981, "usage": {"completion_tokens": 60, "prompt_tokens": 2321, "total_tokens": 2381, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 260, "cached_tokens": 1507, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 260, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 260, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f56a004bbaf072fbc9ad91f59bad84c4f043387774d95948471e0128b279b743", "csv_sha256": "1e64065d989f4254264e0f217355550cdce16125bc7fd2689d96a4b65099796b"} +{"instance_id": "bird364", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(ha.attribute_value), 1) AS average_intelligence\nFROM superhero AS h\nJOIN hero_attribute AS ha ON ha.hero_id = h.id\nJOIN attribute AS a ON a.id = ha.attribute_id\nWHERE LOWER(a.attribute_name) = 'intelligence'\n AND ha.attribute_value IS NOT NULL\n AND EXISTS (\n SELECT 1\n FROM hero_power AS hp\n JOIN superpower AS sp ON sp.id = hp.power_id\n WHERE hp.hero_id = h.id\n AND LOWER(sp.power_name) IN ('super speed', 'death touch')\n );\n```", "rows": 1, "sql": "SELECT ROUND(AVG(ha.attribute_value), 1) AS average_intelligence\nFROM superhero AS h\nJOIN hero_attribute AS ha ON ha.hero_id = h.id\nJOIN attribute AS a ON a.id = ha.attribute_id\nWHERE LOWER(a.attribute_name) = 'intelligence'\n AND ha.attribute_value IS NOT NULL\n AND EXISTS (\n SELECT 1\n FROM hero_power AS hp\n JOIN superpower AS sp ON sp.id = hp.power_id\n WHERE hp.hero_id = h.id\n AND LOWER(sp.power_name) IN ('super speed', 'death touch')\n );", "seconds": 12.94828595907893, "calls": [{"seconds": 3.1288833329454064, "usage": {"completion_tokens": 99, "prompt_tokens": 1695, "total_tokens": 1794, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1141, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1141, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1141, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.569320832961239, "usage": {"completion_tokens": 219, "prompt_tokens": 1998, "total_tokens": 2217, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 72, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 303, "cached_tokens": 1141, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 303, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 303, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7896987920394167, "usage": {"completion_tokens": 132, "prompt_tokens": 2371, "total_tokens": 2503, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 373, "cached_tokens": 1444, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 373, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 373, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "12e395549aa15c56cbffcbbeb0bab0f704b0c4b5b751d3adede15b1bb088ecda", "csv_sha256": "ebf8d2ab726dcfd99bc96f7196ca01799bc3af38a35c41fe4f62af648bf056ea"} +{"instance_id": "bird365", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH power_counts AS (\n SELECT hero_id, COUNT(DISTINCT power_id) AS power_count\n FROM hero_power\n GROUP BY hero_id\n)\nSELECT g.gender,\n ROUND(AVG(COALESCE(p.power_count, 0)), 2) AS average_superpowers\nFROM superhero AS h\nJOIN gender AS g ON g.id = h.gender_id\nLEFT JOIN power_counts AS p ON p.hero_id = h.id\nWHERE g.gender IN ('Male', 'Female')\n AND INSTR(TRIM(h.full_name), ' ') > 0\nGROUP BY g.gender;\n```", "rows": 2, "sql": "WITH power_counts AS (\n SELECT hero_id, COUNT(DISTINCT power_id) AS power_count\n FROM hero_power\n GROUP BY hero_id\n)\nSELECT g.gender,\n ROUND(AVG(COALESCE(p.power_count, 0)), 2) AS average_superpowers\nFROM superhero AS h\nJOIN gender AS g ON g.id = h.gender_id\nLEFT JOIN power_counts AS p ON p.hero_id = h.id\nWHERE g.gender IN ('Male', 'Female')\n AND INSTR(TRIM(h.full_name), ' ') > 0\nGROUP BY g.gender;", "seconds": 77.54696149996016, "calls": [{"seconds": 2.8353475419571623, "usage": {"completion_tokens": 83, "prompt_tokens": 1724, "total_tokens": 1807, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1170, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1170, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1170, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0348518749233335, "usage": {"completion_tokens": 67, "prompt_tokens": 1978, "total_tokens": 2045, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 254, "cached_tokens": 1170, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 254, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 254, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.0539582499768585, "usage": {"completion_tokens": 114, "prompt_tokens": 2501, "total_tokens": 2615, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 523, "cached_tokens": 1424, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 523, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 523, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.742004874977283, "usage": {"completion_tokens": 307, "prompt_tokens": 3004, "total_tokens": 3311, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 19, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 503, "cached_tokens": 1947, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 503, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 503, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.270866332924925, "usage": {"completion_tokens": 357, "prompt_tokens": 4307, "total_tokens": 4664, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 72, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1303, "cached_tokens": 2450, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1303, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1303, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.763359416043386, "usage": {"completion_tokens": 162, "prompt_tokens": 8464, "total_tokens": 8626, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 20, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 4157, "cached_tokens": 3753, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 4157, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 4157, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 26.973484374932013, "usage": {"completion_tokens": 1079, "prompt_tokens": 8815, "total_tokens": 9894, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 937, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 351, "cached_tokens": 7910, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 351, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 351, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 16.35048154206015, "usage": {"completion_tokens": 682, "prompt_tokens": 10204, "total_tokens": 10886, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 536, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1389, "cached_tokens": 8261, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1389, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1389, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.47900974994991, "usage": {"completion_tokens": 165, "prompt_tokens": 11052, "total_tokens": 11217, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 33, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 848, "cached_tokens": 9650, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 848, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 848, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "04d508e9055ce36eb33a3f0ac424cc81a18f708d209be7ead1bfc70abd1cccdf", "csv_sha256": "216200869ae8758c94a2967bc50ef8a42e21bdf2ae3435d74d3dedff314caa68"} +{"instance_id": "bird366", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(NULLIF(s.height_cm, 0)), 2) AS average_height_cm,\n ROUND(AVG(NULLIF(s.weight_kg, 0)), 2) AS average_weight_kg\nFROM superhero AS s\nJOIN alignment AS a ON a.id = s.alignment_id\nJOIN colour AS c ON c.id = s.skin_colour_id\nWHERE a.alignment = 'Bad' COLLATE NOCASE\n AND c.colour = 'Green' COLLATE NOCASE;\n```", "rows": 1, "sql": "SELECT ROUND(AVG(NULLIF(s.height_cm, 0)), 2) AS average_height_cm,\n ROUND(AVG(NULLIF(s.weight_kg, 0)), 2) AS average_weight_kg\nFROM superhero AS s\nJOIN alignment AS a ON a.id = s.alignment_id\nJOIN colour AS c ON c.id = s.skin_colour_id\nWHERE a.alignment = 'Bad' COLLATE NOCASE\n AND c.colour = 'Green' COLLATE NOCASE;", "seconds": 15.787176000070758, "calls": [{"seconds": 2.4945664999540895, "usage": {"completion_tokens": 66, "prompt_tokens": 1748, "total_tokens": 1814, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1194, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1194, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1194, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.633353165932931, "usage": {"completion_tokens": 162, "prompt_tokens": 1957, "total_tokens": 2119, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 57, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 209, "cached_tokens": 1194, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 209, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 209, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.254614834091626, "usage": {"completion_tokens": 188, "prompt_tokens": 2289, "total_tokens": 2477, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 67, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 332, "cached_tokens": 1403, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 332, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 332, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.387953166035004, "usage": {"completion_tokens": 110, "prompt_tokens": 2621, "total_tokens": 2731, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 332, "cached_tokens": 1735, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 332, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 332, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "c5fc20ba7bd5c2078015beeeeb73f96999e2c034f6cd5d01308649e7096cba7c", "csv_sha256": "5820263311ec88dc5929be3844fbe10e28f7edc724aa9d53edd3c4c5a50294dd"} +{"instance_id": "bird367", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n ROUND(AVG(CASE WHEN s.height_cm > 0 THEN s.height_cm END), 1) AS average_height_cm,\n ROUND(AVG(CASE WHEN s.weight_kg > 0 THEN s.weight_kg END), 1) AS average_weight_kg\nFROM superhero AS s\nJOIN publisher AS p ON p.id = s.publisher_id\nWHERE p.publisher_name = 'George Lucas';\n```", "rows": 1, "sql": "SELECT\n ROUND(AVG(CASE WHEN s.height_cm > 0 THEN s.height_cm END), 1) AS average_height_cm,\n ROUND(AVG(CASE WHEN s.weight_kg > 0 THEN s.weight_kg END), 1) AS average_weight_kg\nFROM superhero AS s\nJOIN publisher AS p ON p.id = s.publisher_id\nWHERE p.publisher_name = 'George Lucas';", "seconds": 14.604019041988067, "calls": [{"seconds": 2.904782791971229, "usage": {"completion_tokens": 65, "prompt_tokens": 1678, "total_tokens": 1743, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1124, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1124, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1124, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.829718666966073, "usage": {"completion_tokens": 70, "prompt_tokens": 1890, "total_tokens": 1960, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 212, "cached_tokens": 1124, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 212, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 212, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.229956083931029, "usage": {"completion_tokens": 137, "prompt_tokens": 2274, "total_tokens": 2411, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 32, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 384, "cached_tokens": 1336, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 384, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 384, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.623862833017483, "usage": {"completion_tokens": 130, "prompt_tokens": 2538, "total_tokens": 2668, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 35, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 264, "cached_tokens": 1720, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 264, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 264, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "833c37f8aab1c75521638be42abfc5d90e4c6f5783426fe4bedaef4ba37ce4cb", "csv_sha256": "34436baaa78fb322f333dc26171796f13d61df80ceaf672a77c2c93e94c744b2"} +{"instance_id": "bird368", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(h.height_cm), 1) AS average_height_cm\nFROM superhero AS h\nWHERE h.height_cm > 0\n AND EXISTS (\n SELECT 1\n FROM hero_power AS hp\n JOIN hero_power AS target_hp ON target_hp.power_id = hp.power_id\n JOIN superhero AS target ON target.id = target_hp.hero_id\n WHERE hp.hero_id = h.id\n AND target.superhero_name = '3-D Man'\n AND h.id <> target.id\n );\n```", "rows": 1, "sql": "SELECT ROUND(AVG(h.height_cm), 1) AS average_height_cm\nFROM superhero AS h\nWHERE h.height_cm > 0\n AND EXISTS (\n SELECT 1\n FROM hero_power AS hp\n JOIN hero_power AS target_hp ON target_hp.power_id = hp.power_id\n JOIN superhero AS target ON target.id = target_hp.hero_id\n WHERE hp.hero_id = h.id\n AND target.superhero_name = '3-D Man'\n AND h.id <> target.id\n );", "seconds": 18.700405874988064, "calls": [{"seconds": 2.4411924169398844, "usage": {"completion_tokens": 68, "prompt_tokens": 1664, "total_tokens": 1732, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1110, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1110, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1110, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.0661899170372635, "usage": {"completion_tokens": 119, "prompt_tokens": 1878, "total_tokens": 1997, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 49, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 214, "cached_tokens": 1110, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 214, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 214, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.666150541044772, "usage": {"completion_tokens": 239, "prompt_tokens": 2175, "total_tokens": 2414, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 111, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 297, "cached_tokens": 1324, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 297, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 297, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.4276065829908475, "usage": {"completion_tokens": 177, "prompt_tokens": 2551, "total_tokens": 2728, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 60, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 376, "cached_tokens": 1621, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 376, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 376, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9ef1c21162f4801f173daf322c2192600d4df0a201b61343532bfd873842aa0c", "csv_sha256": "8777fd7effd0612ff1d4a91aaf5f1065ecefdaeaac404399515ee136a2a2244b"} +{"instance_id": "bird369", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT CAST(ROUND(AVG(s.weight_kg)) AS INTEGER) AS average_weight_kg\nFROM superhero AS s\nJOIN alignment AS a ON a.id = s.alignment_id\nJOIN colour AS c ON c.id = s.skin_colour_id\nWHERE a.alignment = 'Bad' COLLATE NOCASE\n AND c.colour = 'Green' COLLATE NOCASE\n AND s.weight_kg > 0\n AND EXISTS (\n SELECT 1\n FROM hero_power AS hp\n JOIN superpower AS p ON p.id = hp.power_id\n WHERE hp.hero_id = s.id\n AND p.power_name = 'Flight' COLLATE NOCASE\n )\n```", "rows": 1, "sql": "SELECT CAST(ROUND(AVG(s.weight_kg)) AS INTEGER) AS average_weight_kg\nFROM superhero AS s\nJOIN alignment AS a ON a.id = s.alignment_id\nJOIN colour AS c ON c.id = s.skin_colour_id\nWHERE a.alignment = 'Bad' COLLATE NOCASE\n AND c.colour = 'Green' COLLATE NOCASE\n AND s.weight_kg > 0\n AND EXISTS (\n SELECT 1\n FROM hero_power AS hp\n JOIN superpower AS p ON p.id = hp.power_id\n WHERE hp.hero_id = s.id\n AND p.power_name = 'Flight' COLLATE NOCASE\n )", "seconds": 18.843893166049384, "calls": [{"seconds": 3.330362083041109, "usage": {"completion_tokens": 112, "prompt_tokens": 1699, "total_tokens": 1811, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1145, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1145, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1145, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.179858583025634, "usage": {"completion_tokens": 186, "prompt_tokens": 2035, "total_tokens": 2221, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 50, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 336, "cached_tokens": 1145, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 336, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 336, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.265071750036441, "usage": {"completion_tokens": 240, "prompt_tokens": 2384, "total_tokens": 2624, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 77, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 349, "cached_tokens": 1481, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 349, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 349, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9185092919506133, "usage": {"completion_tokens": 151, "prompt_tokens": 2796, "total_tokens": 2947, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 412, "cached_tokens": 1830, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 412, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 412, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f563d290518dc72f52fca1d24928b9d0d30733c36f5eba0bae8fc8a2829e417b", "csv_sha256": "377da4ddb52200122f6b045733a2936319f8cf3488859ae9fa35ab1fe8919f96"} +{"instance_id": "bird370", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(h.weight_kg), 2) AS average_weight_kg\nFROM superhero AS h\nJOIN publisher AS p ON p.id = h.publisher_id\nWHERE p.publisher_name = 'George Lucas'\n AND h.weight_kg IS NOT NULL\n AND EXISTS (\n SELECT 1\n FROM hero_power AS hp\n JOIN superpower AS sp ON sp.id = hp.power_id\n WHERE hp.hero_id = h.id\n );\n```", "rows": 1, "sql": "SELECT ROUND(AVG(h.weight_kg), 2) AS average_weight_kg\nFROM superhero AS h\nJOIN publisher AS p ON p.id = h.publisher_id\nWHERE p.publisher_name = 'George Lucas'\n AND h.weight_kg IS NOT NULL\n AND EXISTS (\n SELECT 1\n FROM hero_power AS hp\n JOIN superpower AS sp ON sp.id = hp.power_id\n WHERE hp.hero_id = h.id\n );", "seconds": 9.368248124956153, "calls": [{"seconds": 2.620601583039388, "usage": {"completion_tokens": 83, "prompt_tokens": 1675, "total_tokens": 1758, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1121, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1121, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1121, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.416451375000179, "usage": {"completion_tokens": 114, "prompt_tokens": 1930, "total_tokens": 2044, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1121, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2568835410056636, "usage": {"completion_tokens": 103, "prompt_tokens": 2170, "total_tokens": 2273, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 240, "cached_tokens": 1376, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 240, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 240, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e9e3d03d1e44ab1bfc7a1ef5120110de09c9a49663e39bedc7a4a13fd872d53f", "csv_sha256": "b9e7cdf3b0baa4d5073078dca1bc6d65325ae85c89c4e4ac8b6fb0a1dab58157"} +{"instance_id": "bird371", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(s.weight_kg), 2) AS average_weight_kg\nFROM superhero AS s\nJOIN gender AS g ON g.id = s.gender_id\nJOIN alignment AS a ON a.id = s.alignment_id\nWHERE g.gender = 'Female'\n AND a.alignment = 'Good'\n AND s.weight_kg IS NOT NULL;\n```", "rows": 1, "sql": "SELECT ROUND(AVG(s.weight_kg), 2) AS average_weight_kg\nFROM superhero AS s\nJOIN gender AS g ON g.id = s.gender_id\nJOIN alignment AS a ON a.id = s.alignment_id\nWHERE g.gender = 'Female'\n AND a.alignment = 'Good'\n AND s.weight_kg IS NOT NULL;", "seconds": 19.207942457986064, "calls": [{"seconds": 2.6375823330599815, "usage": {"completion_tokens": 66, "prompt_tokens": 1675, "total_tokens": 1741, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1121, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1121, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1121, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.182536749984138, "usage": {"completion_tokens": 178, "prompt_tokens": 1884, "total_tokens": 2062, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 55, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 209, "cached_tokens": 1121, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 209, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 209, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.191124250064604, "usage": {"completion_tokens": 264, "prompt_tokens": 2358, "total_tokens": 2622, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 169, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 474, "cached_tokens": 1330, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 474, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 474, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1770384169649333, "usage": {"completion_tokens": 82, "prompt_tokens": 2727, "total_tokens": 2809, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 369, "cached_tokens": 1804, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 369, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 369, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "c1706f0463cc57e6ab442f4467371da385ec2a426fea04d2700a8a369506553d", "csv_sha256": "8e30bd461bb27236756fad41482f3deaebda86869acc53156df42adb41605e8f"} +{"instance_id": "bird372", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT p.id) AS superpower_count\nFROM superhero AS s\nJOIN gender AS g ON g.id = s.gender_id\nJOIN hero_power AS hp ON hp.hero_id = s.id\nJOIN superpower AS p ON p.id = hp.power_id\nWHERE g.gender = 'Male'\n AND s.weight_kg > 0\n AND s.weight_kg < 70;\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT p.id) AS superpower_count\nFROM superhero AS s\nJOIN gender AS g ON g.id = s.gender_id\nJOIN hero_power AS hp ON hp.hero_id = s.id\nJOIN superpower AS p ON p.id = hp.power_id\nWHERE g.gender = 'Male'\n AND s.weight_kg > 0\n AND s.weight_kg < 70;", "seconds": 38.714529582997784, "calls": [{"seconds": 2.670327208004892, "usage": {"completion_tokens": 83, "prompt_tokens": 1646, "total_tokens": 1729, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1092, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1092, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1092, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.159986624959856, "usage": {"completion_tokens": 168, "prompt_tokens": 1900, "total_tokens": 2068, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 81, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 254, "cached_tokens": 1092, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 254, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 254, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.431163416942582, "usage": {"completion_tokens": 310, "prompt_tokens": 2176, "total_tokens": 2486, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 193, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 276, "cached_tokens": 1346, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 276, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 276, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 14.593421208090149, "usage": {"completion_tokens": 608, "prompt_tokens": 3204, "total_tokens": 3812, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 505, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1028, "cached_tokens": 1622, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1028, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1028, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.835715582943521, "usage": {"completion_tokens": 282, "prompt_tokens": 3923, "total_tokens": 4205, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 189, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 719, "cached_tokens": 2650, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 719, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 719, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b111312ff21c0a4a0fa57e8a0c9f71e882dc44e3eec39347a58687ab2b0db825", "csv_sha256": "ac302db87cb989e125c9b9f5df6b7eb2bad93a832b6a3421556281b8e1ada91f"} +{"instance_id": "bird373", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT c.colour\nFROM superhero AS s\nJOIN race AS r ON r.id = s.race_id\nLEFT JOIN colour AS c ON c.id = s.hair_colour_id\nWHERE r.race = 'Human'\n AND s.height_cm > 0\nORDER BY s.height_cm, s.id\nLIMIT 1;\n```", "rows": 1, "sql": "SELECT c.colour\nFROM superhero AS s\nJOIN race AS r ON r.id = s.race_id\nLEFT JOIN colour AS c ON c.id = s.hair_colour_id\nWHERE r.race = 'Human'\n AND s.height_cm > 0\nORDER BY s.height_cm, s.id\nLIMIT 1;", "seconds": 15.346713625011034, "calls": [{"seconds": 2.261125707998872, "usage": {"completion_tokens": 20, "prompt_tokens": 1653, "total_tokens": 1673, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1099, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1099, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1099, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8659384170314297, "usage": {"completion_tokens": 50, "prompt_tokens": 1766, "total_tokens": 1816, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 113, "cached_tokens": 1099, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 113, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 113, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0738632089924067, "usage": {"completion_tokens": 64, "prompt_tokens": 1868, "total_tokens": 1932, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 102, "cached_tokens": 1212, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 102, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 102, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.988864624989219, "usage": {"completion_tokens": 133, "prompt_tokens": 2044, "total_tokens": 2177, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 45, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 176, "cached_tokens": 1314, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 176, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 176, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.132130749989301, "usage": {"completion_tokens": 76, "prompt_tokens": 2267, "total_tokens": 2343, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 223, "cached_tokens": 1490, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 223, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 223, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9ce18953a4d5995885d13d8e870d2b8f27ca74a4a5b7e1368aa3f47924e1270e", "csv_sha256": "c9dad7ebb2b1ed87c2cf163707cb4ea5910df4fd30c82c921c42a9b2917af164"} +{"instance_id": "bird374", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH lightest_weight AS (\n SELECT MIN(NULLIF(weight_kg, 0)) AS weight_kg\n FROM superhero\n), hero_power_counts AS (\n SELECT h.id, COUNT(DISTINCT p.power_name) AS power_count\n FROM superhero AS h\n JOIN lightest_weight AS w ON h.weight_kg = w.weight_kg\n LEFT JOIN hero_power AS hp ON hp.hero_id = h.id\n LEFT JOIN superpower AS p ON p.id = hp.power_id\n GROUP BY h.id\n)\nSELECT MAX(power_count) AS max_power_count\nFROM hero_power_counts;\n```", "rows": 1, "sql": "WITH lightest_weight AS (\n SELECT MIN(NULLIF(weight_kg, 0)) AS weight_kg\n FROM superhero\n), hero_power_counts AS (\n SELECT h.id, COUNT(DISTINCT p.power_name) AS power_count\n FROM superhero AS h\n JOIN lightest_weight AS w ON h.weight_kg = w.weight_kg\n LEFT JOIN hero_power AS hp ON hp.hero_id = h.id\n LEFT JOIN superpower AS p ON p.id = hp.power_id\n GROUP BY h.id\n)\nSELECT MAX(power_count) AS max_power_count\nFROM hero_power_counts;", "seconds": 35.12595129199326, "calls": [{"seconds": 2.4509618330048397, "usage": {"completion_tokens": 68, "prompt_tokens": 1680, "total_tokens": 1748, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1126, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1126, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1126, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.547234834055416, "usage": {"completion_tokens": 107, "prompt_tokens": 1894, "total_tokens": 2001, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 63, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 214, "cached_tokens": 1126, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 214, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 214, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.680572040961124, "usage": {"completion_tokens": 192, "prompt_tokens": 2113, "total_tokens": 2305, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 148, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 219, "cached_tokens": 1340, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 219, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 219, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.040677124983631, "usage": {"completion_tokens": 195, "prompt_tokens": 2557, "total_tokens": 2752, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 114, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 444, "cached_tokens": 1559, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 444, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 444, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8574952910421416, "usage": {"completion_tokens": 63, "prompt_tokens": 2875, "total_tokens": 2938, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 19, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 318, "cached_tokens": 2003, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 318, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 318, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.811241666902788, "usage": {"completion_tokens": 238, "prompt_tokens": 3145, "total_tokens": 3383, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 90, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 270, "cached_tokens": 2321, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 270, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 270, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6666945409961045, "usage": {"completion_tokens": 134, "prompt_tokens": 3537, "total_tokens": 3671, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 392, "cached_tokens": 2591, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 392, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 392, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "46d7be3297bfcb4f0bdf5cd35f594b0d9a518a329530799a9755990145a5cb81", "csv_sha256": "efb91dc80d8b0e7df325714e4cb04347502394f5b60b067eeab5d04baf9c2eb0"} +{"instance_id": "bird375", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS hero_count\nFROM superhero AS s\nJOIN alignment AS a ON a.id = s.alignment_id\nWHERE a.alignment = 'Neutral'\n AND TRIM(s.full_name) NOT IN ('', '-');\n```", "rows": 1, "sql": "SELECT COUNT(*) AS hero_count\nFROM superhero AS s\nJOIN alignment AS a ON a.id = s.alignment_id\nWHERE a.alignment = 'Neutral'\n AND TRIM(s.full_name) NOT IN ('', '-');", "seconds": 15.663231124985032, "calls": [{"seconds": 2.520408209064044, "usage": {"completion_tokens": 51, "prompt_tokens": 1657, "total_tokens": 1708, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1103, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1103, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1103, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.723292874987237, "usage": {"completion_tokens": 122, "prompt_tokens": 1826, "total_tokens": 1948, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 169, "cached_tokens": 1103, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 169, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 169, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4381417500553653, "usage": {"completion_tokens": 95, "prompt_tokens": 2139, "total_tokens": 2234, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 41, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 313, "cached_tokens": 1272, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 313, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 313, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1449546669609845, "usage": {"completion_tokens": 65, "prompt_tokens": 2373, "total_tokens": 2438, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 234, "cached_tokens": 1585, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 234, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 234, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8168761249398813, "usage": {"completion_tokens": 55, "prompt_tokens": 2512, "total_tokens": 2567, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 139, "cached_tokens": 1819, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 139, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 139, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5c4c3e0b5d2ecd0ebc60750a55c4e363f2941d339ba0cc9c7477bd6718f33fe0", "csv_sha256": "1c82b92589f1782314f8813f492e4846b2f69f1dd6482e161b1412441ce432d1"} +{"instance_id": "bird376", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH speed AS (\n SELECT ha.hero_id, ha.attribute_value\n FROM hero_attribute AS ha\n JOIN attribute AS a ON a.id = ha.attribute_id\n WHERE a.attribute_name = 'Speed'\n)\nSELECT s.superhero_name, s.full_name\nFROM superhero AS s\nWHERE TRIM(s.full_name) NOT IN ('', '-')\n AND EXISTS (\n SELECT 1\n FROM speed AS sp\n WHERE sp.hero_id = s.id\n AND sp.attribute_value = (SELECT MAX(attribute_value) FROM speed)\n )\nORDER BY s.superhero_name, s.full_name;\n```", "rows": 29, "sql": "WITH speed AS (\n SELECT ha.hero_id, ha.attribute_value\n FROM hero_attribute AS ha\n JOIN attribute AS a ON a.id = ha.attribute_id\n WHERE a.attribute_name = 'Speed'\n)\nSELECT s.superhero_name, s.full_name\nFROM superhero AS s\nWHERE TRIM(s.full_name) NOT IN ('', '-')\n AND EXISTS (\n SELECT 1\n FROM speed AS sp\n WHERE sp.hero_id = s.id\n AND sp.attribute_value = (SELECT MAX(attribute_value) FROM speed)\n )\nORDER BY s.superhero_name, s.full_name;", "seconds": 17.50471337500494, "calls": [{"seconds": 2.3445379169424996, "usage": {"completion_tokens": 67, "prompt_tokens": 1678, "total_tokens": 1745, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1124, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1124, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1124, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.8849262919975445, "usage": {"completion_tokens": 170, "prompt_tokens": 1896, "total_tokens": 2066, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 36, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 218, "cached_tokens": 1124, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 218, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 218, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.468952541006729, "usage": {"completion_tokens": 245, "prompt_tokens": 2508, "total_tokens": 2753, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 94, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 612, "cached_tokens": 1342, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 612, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 612, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6895193749805912, "usage": {"completion_tokens": 132, "prompt_tokens": 3160, "total_tokens": 3292, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 652, "cached_tokens": 1954, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 652, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 652, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "96a33317b514fc7013a3a132c8f8accaae1eada0bf333fb63caf596f24d6ddf7", "csv_sha256": "68b1237168271407dd31344d3e4078046b7e4d251e6061f023a61101814931dd"} +{"instance_id": "bird377", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT eye.colour AS eye_colour,\n COUNT(CASE WHEN hair.colour <> 'Brown' THEN 1 END) AS hero_count\nFROM superhero AS h\nJOIN colour AS eye ON eye.id = h.eye_colour_id\nLEFT JOIN colour AS hair ON hair.id = h.hair_colour_id\nGROUP BY eye.colour\nHAVING COUNT(CASE WHEN hair.colour = 'Brown' THEN 1 END) > 0\nORDER BY hero_count DESC, eye_colour ASC;\n```", "rows": 12, "sql": "SELECT eye.colour AS eye_colour,\n COUNT(CASE WHEN hair.colour <> 'Brown' THEN 1 END) AS hero_count\nFROM superhero AS h\nJOIN colour AS eye ON eye.id = h.eye_colour_id\nLEFT JOIN colour AS hair ON hair.id = h.hair_colour_id\nGROUP BY eye.colour\nHAVING COUNT(CASE WHEN hair.colour = 'Brown' THEN 1 END) > 0\nORDER BY hero_count DESC, eye_colour ASC;", "seconds": 11.146633750060573, "calls": [{"seconds": 2.407167832949199, "usage": {"completion_tokens": 51, "prompt_tokens": 1701, "total_tokens": 1752, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1147, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1147, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1147, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.9091088330606, "usage": {"completion_tokens": 172, "prompt_tokens": 1870, "total_tokens": 2042, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 52, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 169, "cached_tokens": 1147, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 169, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 169, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.815723165986128, "usage": {"completion_tokens": 108, "prompt_tokens": 2236, "total_tokens": 2344, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 366, "cached_tokens": 1316, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 366, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 366, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "c13367f180112f10b12fc69c08d9a0a36dc3abf099c22de0e3a7fe3c3b808b11", "csv_sha256": "dcc22a03e9c65d17dfddcff0207392055470b5552cbd24a74f25251e191e9c43"} +{"instance_id": "bird378", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(100.0 * COUNT(CASE WHEN a.alignment = 'Good' THEN 1 END) / COUNT(*), 2) AS good_percentage\nFROM superhero AS s\nJOIN publisher AS p ON p.id = s.publisher_id\nLEFT JOIN alignment AS a ON a.id = s.alignment_id\nWHERE p.publisher_name = 'Marvel Comics'\n AND INSTR(TRIM(s.full_name), ' ') > 0\n AND TRIM(s.full_name) NOT IN ('Howard (Last name unrevealed)', 'Weapon XI');\n```", "rows": 1, "sql": "SELECT ROUND(100.0 * COUNT(CASE WHEN a.alignment = 'Good' THEN 1 END) / COUNT(*), 2) AS good_percentage\nFROM superhero AS s\nJOIN publisher AS p ON p.id = s.publisher_id\nLEFT JOIN alignment AS a ON a.id = s.alignment_id\nWHERE p.publisher_name = 'Marvel Comics'\n AND INSTR(TRIM(s.full_name), ' ') > 0\n AND TRIM(s.full_name) NOT IN ('Howard (Last name unrevealed)', 'Weapon XI');", "seconds": 62.03098766703624, "calls": [{"seconds": 2.7657436250010505, "usage": {"completion_tokens": 66, "prompt_tokens": 1731, "total_tokens": 1797, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1177, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1177, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1177, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.400876959087327, "usage": {"completion_tokens": 106, "prompt_tokens": 1941, "total_tokens": 2047, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 21, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 210, "cached_tokens": 1177, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 210, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 210, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7687353750225157, "usage": {"completion_tokens": 90, "prompt_tokens": 2518, "total_tokens": 2608, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 577, "cached_tokens": 1387, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 577, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 577, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.912933749961667, "usage": {"completion_tokens": 265, "prompt_tokens": 2732, "total_tokens": 2997, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 214, "cached_tokens": 1964, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 214, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 214, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.511554874945432, "usage": {"completion_tokens": 325, "prompt_tokens": 3989, "total_tokens": 4314, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 36, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1257, "cached_tokens": 2178, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1257, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1257, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 13.75946174992714, "usage": {"completion_tokens": 558, "prompt_tokens": 6488, "total_tokens": 7046, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 419, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 2499, "cached_tokens": 3435, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 2499, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 2499, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.956178875057958, "usage": {"completion_tokens": 243, "prompt_tokens": 7292, "total_tokens": 7535, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 117, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 804, "cached_tokens": 5934, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 804, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 804, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 13.732853541034274, "usage": {"completion_tokens": 509, "prompt_tokens": 7723, "total_tokens": 8232, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 376, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 431, "cached_tokens": 6738, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 431, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 431, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.183057041023858, "usage": {"completion_tokens": 142, "prompt_tokens": 8374, "total_tokens": 8516, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 19, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 651, "cached_tokens": 7169, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 651, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 651, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "86b42abb4efeded1892a3b5d5e9961f023017bb97d13f306adedb015324b4188", "csv_sha256": "e51668ad5925ac0d3a0a9d0439610a8a660407decf70f4b61f9e4f05f46b5a7b"} +{"instance_id": "bird379", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(100.0 * COUNT(CASE WHEN a.alignment = 'Good' THEN 1 END) / COUNT(*), 2) AS percentage\nFROM superhero AS h\nJOIN publisher AS p ON p.id = h.publisher_id\nLEFT JOIN alignment AS a ON a.id = h.alignment_id\nWHERE p.publisher_name = 'Marvel Comics'\n AND EXISTS (\n SELECT 1\n FROM hero_power AS hp\n JOIN superpower AS sp ON sp.id = hp.power_id\n WHERE hp.hero_id = h.id\n );\n```", "rows": 1, "sql": "SELECT ROUND(100.0 * COUNT(CASE WHEN a.alignment = 'Good' THEN 1 END) / COUNT(*), 2) AS percentage\nFROM superhero AS h\nJOIN publisher AS p ON p.id = h.publisher_id\nLEFT JOIN alignment AS a ON a.id = h.alignment_id\nWHERE p.publisher_name = 'Marvel Comics'\n AND EXISTS (\n SELECT 1\n FROM hero_power AS hp\n JOIN superpower AS sp ON sp.id = hp.power_id\n WHERE hp.hero_id = h.id\n );", "seconds": 10.606470665894449, "calls": [{"seconds": 3.3363865410210565, "usage": {"completion_tokens": 98, "prompt_tokens": 1654, "total_tokens": 1752, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1100, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1100, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1100, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.616694958996959, "usage": {"completion_tokens": 133, "prompt_tokens": 1949, "total_tokens": 2082, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 295, "cached_tokens": 1100, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 295, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 295, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.548689625109546, "usage": {"completion_tokens": 122, "prompt_tokens": 2224, "total_tokens": 2346, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 275, "cached_tokens": 1395, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 275, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 275, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f6b798f9ef5fc051a3974a0211fd04168ac46e546918dddc63291b6bb1148d05", "csv_sha256": "3249bc7730fd3ae8a5d8db08ed33cb4cfd287d1b8b22a5180ddffb295caf42b2"} +{"instance_id": "bird380", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(h.weight_kg), 2) AS average_weight_kg\nFROM superhero AS h\nWHERE h.weight_kg > 0\n AND EXISTS (\n SELECT 1\n FROM superhero AS target\n JOIN hero_power AS tp ON tp.hero_id = target.id\n JOIN hero_power AS hp ON hp.power_id = tp.power_id\n WHERE target.superhero_name = '3-D Man'\n AND hp.hero_id = h.id\n AND h.id <> target.id\n );\n```", "rows": 1, "sql": "SELECT ROUND(AVG(h.weight_kg), 2) AS average_weight_kg\nFROM superhero AS h\nWHERE h.weight_kg > 0\n AND EXISTS (\n SELECT 1\n FROM superhero AS target\n JOIN hero_power AS tp ON tp.hero_id = target.id\n JOIN hero_power AS hp ON hp.power_id = tp.power_id\n WHERE target.superhero_name = '3-D Man'\n AND hp.hero_id = h.id\n AND h.id <> target.id\n );", "seconds": 25.616855500033125, "calls": [{"seconds": 2.716974582988769, "usage": {"completion_tokens": 68, "prompt_tokens": 1669, "total_tokens": 1737, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1115, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1115, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1115, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.942251875065267, "usage": {"completion_tokens": 127, "prompt_tokens": 1883, "total_tokens": 2010, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 25, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 214, "cached_tokens": 1115, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 214, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 214, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.4955507080303505, "usage": {"completion_tokens": 160, "prompt_tokens": 2159, "total_tokens": 2319, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 110, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 276, "cached_tokens": 1329, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 276, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 276, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.4990862080594525, "usage": {"completion_tokens": 245, "prompt_tokens": 2608, "total_tokens": 2853, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 117, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 449, "cached_tokens": 1605, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 449, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 449, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.856184583040886, "usage": {"completion_tokens": 182, "prompt_tokens": 2992, "total_tokens": 3174, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 65, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 384, "cached_tokens": 2054, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 384, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 384, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "abb1c04e9f5a91b429c53ab295b2a85151b58ac1adb25cf3b52e063a48ef1c5e", "csv_sha256": "e2f6df79a893661f432f3adb310b39115fc338d5a0fbece7c5d6b1d6233acd64"} +{"instance_id": "bird381", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(CASE WHEN c.colour = 'No Colour' THEN 1 END)\n - COUNT(CASE WHEN c.colour = 'Blue' THEN 1 END) AS eye_count_difference\nFROM superhero AS s\nJOIN colour AS c ON c.id = s.eye_colour_id\nWHERE s.weight_kg IS NULL;\n```", "rows": 1, "sql": "SELECT COUNT(CASE WHEN c.colour = 'No Colour' THEN 1 END)\n - COUNT(CASE WHEN c.colour = 'Blue' THEN 1 END) AS eye_count_difference\nFROM superhero AS s\nJOIN colour AS c ON c.id = s.eye_colour_id\nWHERE s.weight_kg IS NULL;", "seconds": 13.807725957944058, "calls": [{"seconds": 2.455399249913171, "usage": {"completion_tokens": 51, "prompt_tokens": 1698, "total_tokens": 1749, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1144, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1144, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1144, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.022209040937014, "usage": {"completion_tokens": 89, "prompt_tokens": 1867, "total_tokens": 1956, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 169, "cached_tokens": 1144, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 169, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 169, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.0143843330442905, "usage": {"completion_tokens": 163, "prompt_tokens": 2208, "total_tokens": 2371, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 76, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 341, "cached_tokens": 1313, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 341, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 341, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.300455917022191, "usage": {"completion_tokens": 75, "prompt_tokens": 2466, "total_tokens": 2541, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 258, "cached_tokens": 1654, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 258, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 258, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6e7d69a707d96e7039e2eb5df963e3f5837b258f8fe47d0eb7bb3cb408e856e9", "csv_sha256": "87f57255f3ef410057717d5c3953c2ea6808098fb56725f671a84f1e5b89b93a"} +{"instance_id": "bird382", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n 1.0 * COUNT(DISTINCT CASE WHEN p.SEX = 'M' AND l.UA > 8.0 THEN p.ID END)\n / NULLIF(COUNT(DISTINCT CASE WHEN p.SEX = 'F' AND l.UA > 6.5 THEN p.ID END), 0)\n AS male_to_female_ratio\nFROM Patient AS p\nJOIN Laboratory AS l ON l.ID = p.ID;\n```", "rows": 1, "sql": "SELECT\n 1.0 * COUNT(DISTINCT CASE WHEN p.SEX = 'M' AND l.UA > 8.0 THEN p.ID END)\n / NULLIF(COUNT(DISTINCT CASE WHEN p.SEX = 'F' AND l.UA > 6.5 THEN p.ID END), 0)\n AS male_to_female_ratio\nFROM Patient AS p\nJOIN Laboratory AS l ON l.ID = p.ID;", "seconds": 12.973463083966635, "calls": [{"seconds": 2.8732603329699486, "usage": {"completion_tokens": 51, "prompt_tokens": 1645, "total_tokens": 1696, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1107, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1107, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1107, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.6279919580556452, "usage": {"completion_tokens": 42, "prompt_tokens": 2019, "total_tokens": 2061, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1107, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.080178332980722, "usage": {"completion_tokens": 134, "prompt_tokens": 2146, "total_tokens": 2280, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 19, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 127, "cached_tokens": 1481, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 127, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 127, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.354806958930567, "usage": {"completion_tokens": 102, "prompt_tokens": 2406, "total_tokens": 2508, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 260, "cached_tokens": 1608, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 260, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 260, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6f05397bad01ecf9f826290fa746970762ee188b19d36ab2d21e1ca0b6ba9315", "csv_sha256": "a19518d4d45a46fcf94699840a0c44f20dc27638515767ee5d603231b6c5ea3f"} +{"instance_id": "bird383", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(l.ALB), 4) AS average_alb\nFROM Laboratory AS l\nJOIN Patient AS p ON p.ID = l.ID\nWHERE l.PLT > 400\n AND p.SEX = 'F'\n AND p.Diagnosis LIKE '%SLE%';\n```", "rows": 1, "sql": "SELECT ROUND(AVG(l.ALB), 4) AS average_alb\nFROM Laboratory AS l\nJOIN Patient AS p ON p.ID = l.ID\nWHERE l.PLT > 400\n AND p.SEX = 'F'\n AND p.Diagnosis LIKE '%SLE%';", "seconds": 17.66702895797789, "calls": [{"seconds": 2.200964041054249, "usage": {"completion_tokens": 51, "prompt_tokens": 1620, "total_tokens": 1671, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1082, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1082, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1082, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5603162499610335, "usage": {"completion_tokens": 89, "prompt_tokens": 1994, "total_tokens": 2083, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 37, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1082, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.461955707985908, "usage": {"completion_tokens": 129, "prompt_tokens": 2649, "total_tokens": 2778, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 51, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 655, "cached_tokens": 1456, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 655, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 655, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.060603708028793, "usage": {"completion_tokens": 102, "prompt_tokens": 2878, "total_tokens": 2980, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 21, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 229, "cached_tokens": 2111, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 229, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 229, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.359015207970515, "usage": {"completion_tokens": 69, "prompt_tokens": 3070, "total_tokens": 3139, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 192, "cached_tokens": 2340, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 192, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 192, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "28ab51a7a1f712aa145c6905a28e1bf7961e181cbf2028f73c3f5733dd9caee0", "csv_sha256": "8f90369883648d71cd249918a0a25fe35fa0b7d44d58215efef4aad3a9fb6b64"} +{"instance_id": "bird384", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nJOIN Laboratory AS l ON l.ID = p.ID\nWHERE l.TG >= 200\n AND date(p.Birthday) <= date('2026-10-09', '-51 years');\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nJOIN Laboratory AS l ON l.ID = p.ID\nWHERE l.TG >= 200\n AND date(p.Birthday) <= date('2026-10-09', '-51 years');", "seconds": 14.108738458016887, "calls": [{"seconds": 2.607292291941121, "usage": {"completion_tokens": 67, "prompt_tokens": 1614, "total_tokens": 1681, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1076, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1076, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1076, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.893448375049047, "usage": {"completion_tokens": 259, "prompt_tokens": 2099, "total_tokens": 2358, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 183, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1076, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.583752332953736, "usage": {"completion_tokens": 88, "prompt_tokens": 2442, "total_tokens": 2530, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 21, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 343, "cached_tokens": 1561, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 343, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 343, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a0d6f6d87618734cdd52ce83c00ed1bebc3d6fd7cac68a916c206dee730cd576", "csv_sha256": "a14d6911e0f7aab0e31dddc4f5371185e748de650539d0d4360bdaf77f5d244e"} +{"instance_id": "bird385", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT p.ID AS patient_id,\n p.SEX AS sex,\n CAST(strftime('%Y', '2026-10-09') AS INTEGER)\n - CAST(strftime('%Y', p.Birthday) AS INTEGER)\n - (strftime('%m-%d', p.Birthday) > strftime('%m-%d', '2026-10-09')) AS completed_age\nFROM Patient AS p\nWHERE EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.GLU >= 180\n AND l.\"T-CHO\" < 250\n)\nORDER BY p.ID;\n```", "rows": 13, "sql": "SELECT p.ID AS patient_id,\n p.SEX AS sex,\n CAST(strftime('%Y', '2026-10-09') AS INTEGER)\n - CAST(strftime('%Y', p.Birthday) AS INTEGER)\n - (strftime('%m-%d', p.Birthday) > strftime('%m-%d', '2026-10-09')) AS completed_age\nFROM Patient AS p\nWHERE EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.GLU >= 180\n AND l.\"T-CHO\" < 250\n)\nORDER BY p.ID;", "seconds": 16.177215124946088, "calls": [{"seconds": 2.6678957919357345, "usage": {"completion_tokens": 65, "prompt_tokens": 1624, "total_tokens": 1689, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1086, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1086, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1086, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.22718970803544, "usage": {"completion_tokens": 365, "prompt_tokens": 2040, "total_tokens": 2405, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 202, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 416, "cached_tokens": 1086, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 416, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 416, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.262111500022002, "usage": {"completion_tokens": 160, "prompt_tokens": 2616, "total_tokens": 2776, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 16, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 576, "cached_tokens": 1502, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 576, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 576, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9de48a44e3f8bca6aa5ecaa125c76a17c3e8810cf9b1d3c0c839fa36dfe5e6df", "csv_sha256": "8ec50394ae492d68c29a83da7b7dbc46b7eacfc9b91aeda2958c2e97765deae2"} +{"instance_id": "bird386", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH qualifying_patients AS (\n SELECT ID\n FROM Laboratory\n WHERE HCT >= 52\n GROUP BY ID\n HAVING COUNT(*) >= 2\n)\nSELECT p.ID,\n CAST(strftime('%Y', '2026-10-09') AS INTEGER)\n - CAST(strftime('%Y', p.Birthday) AS INTEGER)\n - (strftime('%m-%d', p.Birthday) > '10-09') AS age\nFROM Patient AS p\nJOIN qualifying_patients AS q ON q.ID = p.ID\nORDER BY p.ID;\n```", "rows": 3, "sql": "WITH qualifying_patients AS (\n SELECT ID\n FROM Laboratory\n WHERE HCT >= 52\n GROUP BY ID\n HAVING COUNT(*) >= 2\n)\nSELECT p.ID,\n CAST(strftime('%Y', '2026-10-09') AS INTEGER)\n - CAST(strftime('%Y', p.Birthday) AS INTEGER)\n - (strftime('%m-%d', p.Birthday) > '10-09') AS age\nFROM Patient AS p\nJOIN qualifying_patients AS q ON q.ID = p.ID\nORDER BY p.ID;", "seconds": 10.824339666985907, "calls": [{"seconds": 2.5416771250311285, "usage": {"completion_tokens": 51, "prompt_tokens": 1618, "total_tokens": 1669, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1080, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1080, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1080, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.337895457982086, "usage": {"completion_tokens": 178, "prompt_tokens": 1992, "total_tokens": 2170, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 35, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1080, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9281699580606073, "usage": {"completion_tokens": 127, "prompt_tokens": 2338, "total_tokens": 2465, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 346, "cached_tokens": 1454, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 346, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 346, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e408d9350be3a6b65077b41532ae53c2a22fb2a0565a655814a6544a0a736461", "csv_sha256": "0cc4a06bfff51665908dd7c574754c25d9a2e67c77528933a426fcdf9b8806e7"} +{"instance_id": "bird387", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(\n 100.0 * COUNT(DISTINCT CASE WHEN p.SEX = 'F' THEN p.ID END)\n / NULLIF(COUNT(DISTINCT p.ID), 0),\n 2\n) AS female_percentage\nFROM Patient AS p\nWHERE DATE(p.Birthday) <= DATE('2026-10-09', '-56 years')\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.PT >= 14\n );\n```", "rows": 1, "sql": "SELECT ROUND(\n 100.0 * COUNT(DISTINCT CASE WHEN p.SEX = 'F' THEN p.ID END)\n / NULLIF(COUNT(DISTINCT p.ID), 0),\n 2\n) AS female_percentage\nFROM Patient AS p\nWHERE DATE(p.Birthday) <= DATE('2026-10-09', '-56 years')\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.PT >= 14\n );", "seconds": 13.518228500033729, "calls": [{"seconds": 2.509102417039685, "usage": {"completion_tokens": 51, "prompt_tokens": 1636, "total_tokens": 1687, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1098, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1098, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1098, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.568822957924567, "usage": {"completion_tokens": 264, "prompt_tokens": 2010, "total_tokens": 2274, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 128, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1098, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.422472749953158, "usage": {"completion_tokens": 118, "prompt_tokens": 2413, "total_tokens": 2531, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 403, "cached_tokens": 1472, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 403, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 403, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "21ccf2aa36ec2ce40f818330b319d44e80ffaef4f069fa843497ac197b37df2a", "csv_sha256": "e4a838d1ee7bd8d78e421f0ea30218d12febb91dc1ec1ff6f8d951bfb031aa6b"} +{"instance_id": "bird388", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE p.Description IS NULL\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.CRP LIKE '%+%'\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE p.Description IS NULL\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.CRP LIKE '%+%'\n );", "seconds": 8.605565749923699, "calls": [{"seconds": 2.3141057500615716, "usage": {"completion_tokens": 51, "prompt_tokens": 1618, "total_tokens": 1669, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1080, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1080, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1080, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4637114169308916, "usage": {"completion_tokens": 77, "prompt_tokens": 1992, "total_tokens": 2069, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1080, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.809544458054006, "usage": {"completion_tokens": 65, "prompt_tokens": 2153, "total_tokens": 2218, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 161, "cached_tokens": 1454, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 161, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 161, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "4739363e2b292030c466027e8c4aa40955e39d400a4cea4995b38fdfcdd76925", "csv_sha256": "4fc3fb54f34c8664f6e08d1ca86b3b8857752d698b641554f9301c9bd1d365ed"} +{"instance_id": "bird389", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE p.SEX = 'F'\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.SC170 IN ('negative', '0')\n )\n AND NOT EXISTS (\n SELECT 1\n FROM Examination AS e\n WHERE e.ID = p.ID\n AND e.Symptoms IS NOT NULL\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE p.SEX = 'F'\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.SC170 IN ('negative', '0')\n )\n AND NOT EXISTS (\n SELECT 1\n FROM Examination AS e\n WHERE e.ID = p.ID\n AND e.Symptoms IS NOT NULL\n );", "seconds": 11.047705792007037, "calls": [{"seconds": 2.697400957928039, "usage": {"completion_tokens": 67, "prompt_tokens": 1630, "total_tokens": 1697, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1092, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1092, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1092, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.9924890419933945, "usage": {"completion_tokens": 175, "prompt_tokens": 2115, "total_tokens": 2290, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 51, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1092, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.326510790968314, "usage": {"completion_tokens": 106, "prompt_tokens": 2415, "total_tokens": 2521, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 300, "cached_tokens": 1577, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 300, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 300, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "45b5634735a88491d43c9f3c028fecaeb1528aa638515ce8ac76255ccf2e91df", "csv_sha256": "512e8c33b49ed0bc325d442219b421d4d37ac4d82a8e63dd90cd480502cfca65"} +{"instance_id": "bird390", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(\n 100.0 * COUNT(DISTINCT CASE WHEN p.Admission = '+' THEN p.ID END)\n / NULLIF(COUNT(DISTINCT p.ID), 0),\n 2\n) AS inpatient_percentage\nFROM Patient AS p\nWHERE p.Birthday >= '1930-01-01'\n AND p.Birthday < '1941-01-01'\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n );\n```", "rows": 1, "sql": "SELECT ROUND(\n 100.0 * COUNT(DISTINCT CASE WHEN p.Admission = '+' THEN p.ID END)\n / NULLIF(COUNT(DISTINCT p.ID), 0),\n 2\n) AS inpatient_percentage\nFROM Patient AS p\nWHERE p.Birthday >= '1930-01-01'\n AND p.Birthday < '1941-01-01'\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n );", "seconds": 15.187767541967332, "calls": [{"seconds": 2.278246875037439, "usage": {"completion_tokens": 51, "prompt_tokens": 1655, "total_tokens": 1706, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1117, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1117, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1117, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.797306999913417, "usage": {"completion_tokens": 48, "prompt_tokens": 2029, "total_tokens": 2077, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1117, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.865361125092022, "usage": {"completion_tokens": 207, "prompt_tokens": 2233, "total_tokens": 2440, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 75, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 204, "cached_tokens": 1491, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 204, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 204, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.22878683404997, "usage": {"completion_tokens": 129, "prompt_tokens": 2576, "total_tokens": 2705, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 13, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 343, "cached_tokens": 1695, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 343, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 343, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a12cf49ee459df5a1499b00806004cdb7d9a6e6cab252ae5b10dd6904fdbe8b0", "csv_sha256": "06f4c0760aaaee38c357358edd7dbfb5e2a8a3406d91797ded64189206db1cfa"} +{"instance_id": "bird391", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH highest_rnp_tests AS (\n SELECT ID, Date, \"T-BIL\"\n FROM Laboratory\n WHERE CAST(NULLIF(RNP, 'negative') AS REAL) = (\n SELECT MAX(CAST(NULLIF(RNP, 'negative') AS REAL))\n FROM Laboratory\n )\n)\nSELECT l.\"T-BIL\" AS total_bilirubin,\n l.Date AS test_date,\n l.ID AS patient_id,\n p.SEX AS sex,\n p.Birthday AS birthday\nFROM highest_rnp_tests AS l\nLEFT JOIN Patient AS p ON p.ID = l.ID\nWHERE l.\"T-BIL\" = (SELECT MAX(\"T-BIL\") FROM highest_rnp_tests);\n```", "rows": 1, "sql": "WITH highest_rnp_tests AS (\n SELECT ID, Date, \"T-BIL\"\n FROM Laboratory\n WHERE CAST(NULLIF(RNP, 'negative') AS REAL) = (\n SELECT MAX(CAST(NULLIF(RNP, 'negative') AS REAL))\n FROM Laboratory\n )\n)\nSELECT l.\"T-BIL\" AS total_bilirubin,\n l.Date AS test_date,\n l.ID AS patient_id,\n p.SEX AS sex,\n p.Birthday AS birthday\nFROM highest_rnp_tests AS l\nLEFT JOIN Patient AS p ON p.ID = l.ID\nWHERE l.\"T-BIL\" = (SELECT MAX(\"T-BIL\") FROM highest_rnp_tests);", "seconds": 20.628459624946117, "calls": [{"seconds": 2.6249794169561937, "usage": {"completion_tokens": 67, "prompt_tokens": 1701, "total_tokens": 1768, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1163, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1163, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1163, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.7773246250580996, "usage": {"completion_tokens": 47, "prompt_tokens": 2186, "total_tokens": 2233, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1163, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8444048339733854, "usage": {"completion_tokens": 36, "prompt_tokens": 2334, "total_tokens": 2370, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 148, "cached_tokens": 1648, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 148, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 148, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.170594250084832, "usage": {"completion_tokens": 327, "prompt_tokens": 2428, "total_tokens": 2755, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 152, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 94, "cached_tokens": 1796, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 94, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 94, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.180547416093759, "usage": {"completion_tokens": 152, "prompt_tokens": 2971, "total_tokens": 3123, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 543, "cached_tokens": 1890, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 543, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 543, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e9eadfc9855031a7a38967d39f47e1230a6b3bd3e04ba3e977cc9161a0c16452", "csv_sha256": "70b6d95a69aefa910e2c1d0910ae55e94ae8acfc2e7b91cfa8a6899d2b061edd"} +{"instance_id": "bird392", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT p.ID)\nFROM Patient AS p\nWHERE DATE(p.Birthday) > '1960-01-01'\n AND NOT EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND CAST(l.RNP AS REAL) > 10\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT p.ID)\nFROM Patient AS p\nWHERE DATE(p.Birthday) > '1960-01-01'\n AND NOT EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND CAST(l.RNP AS REAL) > 10\n );", "seconds": 17.126266833976842, "calls": [{"seconds": 2.489981958991848, "usage": {"completion_tokens": 51, "prompt_tokens": 1765, "total_tokens": 1816, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1227, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1227, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1227, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.378854874987155, "usage": {"completion_tokens": 20, "prompt_tokens": 2139, "total_tokens": 2159, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1227, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.827904792036861, "usage": {"completion_tokens": 314, "prompt_tokens": 2256, "total_tokens": 2570, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 225, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 117, "cached_tokens": 1601, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 117, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 117, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4078716669464484, "usage": {"completion_tokens": 75, "prompt_tokens": 2668, "total_tokens": 2743, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 412, "cached_tokens": 1718, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 412, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 412, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0d9bc5eeb38b2ceccb9a55c3143a06aad538b6e1808a73c6b32559f78faea970", "csv_sha256": "1c8b33781bb7164cdc855cdc24dc2015a15bbde0759a44f68ece11920f7ed2c9"} +{"instance_id": "bird393", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH patient_titers AS (\n SELECT l.ID AS patient_id,\n MAX(CAST(l.RNP AS INTEGER)) AS anti_rnp_titer\n FROM Laboratory AS l\n WHERE LOWER(TRIM(l.RNP)) <> 'negative'\n AND EXISTS (\n SELECT 1\n FROM Patient AS p\n WHERE p.ID = l.ID AND p.Admission = '-'\n )\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS s\n WHERE s.ID = l.ID\n AND LOWER(TRIM(s.SSA)) NOT IN ('negative', '0')\n )\n GROUP BY l.ID\n)\nSELECT patient_id, anti_rnp_titer\nFROM patient_titers\nWHERE anti_rnp_titer = (SELECT MAX(anti_rnp_titer) FROM patient_titers)\nORDER BY patient_id;\n```", "rows": 1, "sql": "WITH patient_titers AS (\n SELECT l.ID AS patient_id,\n MAX(CAST(l.RNP AS INTEGER)) AS anti_rnp_titer\n FROM Laboratory AS l\n WHERE LOWER(TRIM(l.RNP)) <> 'negative'\n AND EXISTS (\n SELECT 1\n FROM Patient AS p\n WHERE p.ID = l.ID AND p.Admission = '-'\n )\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS s\n WHERE s.ID = l.ID\n AND LOWER(TRIM(s.SSA)) NOT IN ('negative', '0')\n )\n GROUP BY l.ID\n)\nSELECT patient_id, anti_rnp_titer\nFROM patient_titers\nWHERE anti_rnp_titer = (SELECT MAX(anti_rnp_titer) FROM patient_titers)\nORDER BY patient_id;", "seconds": 17.653110458981246, "calls": [{"seconds": 2.706858459045179, "usage": {"completion_tokens": 67, "prompt_tokens": 1716, "total_tokens": 1783, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1178, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1178, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1178, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.100818291073665, "usage": {"completion_tokens": 75, "prompt_tokens": 2201, "total_tokens": 2276, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1178, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.598343041958287, "usage": {"completion_tokens": 271, "prompt_tokens": 2534, "total_tokens": 2805, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 66, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 333, "cached_tokens": 1663, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 333, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 333, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.217951750033535, "usage": {"completion_tokens": 180, "prompt_tokens": 3017, "total_tokens": 3197, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 483, "cached_tokens": 1996, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 483, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 483, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "03b3ec026080783407319ee41e77fb2dbf2003d313f93299b2703f03b4fe8d37", "csv_sha256": "202ecff8559525d91a81ae0bf3ba944e74a7a9e95306bd5d845e2fae5721b3d7"} +{"instance_id": "bird394", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE TRIM(p.Diagnosis) = 'MCTD'\n AND NOT EXISTS (\n SELECT 1\n FROM Examination AS e\n WHERE e.ID = p.ID\n AND TRIM(e.Diagnosis) NOT IN ('', 'MCTD')\n )\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.PLT BETWEEN 100 AND 400\n )\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND CAST(l.RNP AS REAL) > 5\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE TRIM(p.Diagnosis) = 'MCTD'\n AND NOT EXISTS (\n SELECT 1\n FROM Examination AS e\n WHERE e.ID = p.ID\n AND TRIM(e.Diagnosis) NOT IN ('', 'MCTD')\n )\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.PLT BETWEEN 100 AND 400\n )\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND CAST(l.RNP AS REAL) > 5\n );", "seconds": 32.42000591696706, "calls": [{"seconds": 2.4243054169928655, "usage": {"completion_tokens": 67, "prompt_tokens": 1700, "total_tokens": 1767, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1162, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1162, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1162, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.333852750016376, "usage": {"completion_tokens": 190, "prompt_tokens": 2185, "total_tokens": 2375, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 46, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1162, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.595708291977644, "usage": {"completion_tokens": 100, "prompt_tokens": 2975, "total_tokens": 3075, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 790, "cached_tokens": 1647, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 790, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 790, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.0343127499800175, "usage": {"completion_tokens": 258, "prompt_tokens": 3228, "total_tokens": 3486, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 47, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 253, "cached_tokens": 2437, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 253, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 253, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.152447249973193, "usage": {"completion_tokens": 172, "prompt_tokens": 3733, "total_tokens": 3905, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 63, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 505, "cached_tokens": 2690, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 505, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 505, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.679423458059318, "usage": {"completion_tokens": 177, "prompt_tokens": 4073, "total_tokens": 4250, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 340, "cached_tokens": 3195, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 340, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 340, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.1720175839727744, "usage": {"completion_tokens": 158, "prompt_tokens": 4427, "total_tokens": 4585, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 354, "cached_tokens": 3535, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 354, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 354, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "16d1291673e35032ba09dcd0d7609113a818aef9a3436ea0594a7db9f8e383bd", "csv_sha256": "4968f6e0168988a3898d77453dc4ea49511bce7fc185bfda7038dae7e0821dfe"} +{"instance_id": "bird395", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH patient_lab_dates AS (\n SELECT p.ID, p.SEX, COUNT(DISTINCT l.\"Date\") AS lab_date_count\n FROM Patient AS p\n LEFT JOIN Laboratory AS l ON l.ID = p.ID\n WHERE p.SEX IN ('F', 'M')\n AND NOT EXISTS (\n SELECT 1\n FROM Examination AS e\n WHERE e.ID = p.ID\n )\n GROUP BY p.ID, p.SEX\n)\nSELECT SEX, ROUND(AVG(lab_date_count), 2) AS avg_lab_test_dates\nFROM patient_lab_dates\nGROUP BY SEX\nORDER BY SEX;\n```", "rows": 2, "sql": "WITH patient_lab_dates AS (\n SELECT p.ID, p.SEX, COUNT(DISTINCT l.\"Date\") AS lab_date_count\n FROM Patient AS p\n LEFT JOIN Laboratory AS l ON l.ID = p.ID\n WHERE p.SEX IN ('F', 'M')\n AND NOT EXISTS (\n SELECT 1\n FROM Examination AS e\n WHERE e.ID = p.ID\n )\n GROUP BY p.ID, p.SEX\n)\nSELECT SEX, ROUND(AVG(lab_date_count), 2) AS avg_lab_test_dates\nFROM patient_lab_dates\nGROUP BY SEX\nORDER BY SEX;", "seconds": 13.979771208018064, "calls": [{"seconds": 2.51906683400739, "usage": {"completion_tokens": 67, "prompt_tokens": 1712, "total_tokens": 1779, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1174, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1174, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1174, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.719060583040118, "usage": {"completion_tokens": 323, "prompt_tokens": 2197, "total_tokens": 2520, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 168, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1174, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7209822919685394, "usage": {"completion_tokens": 137, "prompt_tokens": 2694, "total_tokens": 2831, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 497, "cached_tokens": 1659, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 497, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 497, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "277b14fcbd83055220ba5aabae910c3fe5eb16cbb0fc29a9ed317abfa345e8d6", "csv_sha256": "51460cae25ea5b848bdf749c9f86a4353cdc7617037ceb01b0338ad9021a3abe"} +{"instance_id": "bird396", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH eligible_tests AS (\n SELECT l.ID, l.\"Date\", l.DNA, CAST(l.DNA AS REAL) AS dna_level\n FROM Laboratory AS l\n WHERE l.DNA IS NOT NULL\n AND EXISTS (\n SELECT 1\n FROM Patient AS p\n WHERE p.ID = l.ID\n AND p.SEX = 'F'\n AND p.Admission = '+'\n )\n)\nSELECT ID, \"Date\", DNA\nFROM eligible_tests\nWHERE dna_level = (SELECT MAX(dna_level) FROM eligible_tests)\nORDER BY ID;\n```", "rows": 1, "sql": "WITH eligible_tests AS (\n SELECT l.ID, l.\"Date\", l.DNA, CAST(l.DNA AS REAL) AS dna_level\n FROM Laboratory AS l\n WHERE l.DNA IS NOT NULL\n AND EXISTS (\n SELECT 1\n FROM Patient AS p\n WHERE p.ID = l.ID\n AND p.SEX = 'F'\n AND p.Admission = '+'\n )\n)\nSELECT ID, \"Date\", DNA\nFROM eligible_tests\nWHERE dna_level = (SELECT MAX(dna_level) FROM eligible_tests)\nORDER BY ID;", "seconds": 26.550101791042835, "calls": [{"seconds": 2.736786999972537, "usage": {"completion_tokens": 51, "prompt_tokens": 1707, "total_tokens": 1758, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1169, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1169, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1169, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.101331791025586, "usage": {"completion_tokens": 169, "prompt_tokens": 2081, "total_tokens": 2250, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 63, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1169, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9084339999826625, "usage": {"completion_tokens": 90, "prompt_tokens": 2957, "total_tokens": 3047, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 40, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 876, "cached_tokens": 1543, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 876, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 876, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.072532834019512, "usage": {"completion_tokens": 66, "prompt_tokens": 3204, "total_tokens": 3270, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 12, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 247, "cached_tokens": 2419, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 247, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 247, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.505189083982259, "usage": {"completion_tokens": 234, "prompt_tokens": 3326, "total_tokens": 3560, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 89, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 122, "cached_tokens": 2666, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 122, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 122, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.195242583984509, "usage": {"completion_tokens": 144, "prompt_tokens": 3725, "total_tokens": 3869, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 16, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 399, "cached_tokens": 2788, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 399, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 399, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "848036aa77ab0c4e7320b2927abfdf9e249e57a03dfcce7b3953de202dcb0f9c", "csv_sha256": "7284d29bbbf653cf52867dc952b7cec154f017c7588cbf52c5e4fcac1e438949"} +{"instance_id": "bird397", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH care_settings(admission) AS (\n VALUES ('+'), ('-')\n), qualifying_patients AS (\n SELECT p.\"ID\", p.\"Admission\"\n FROM \"Patient\" AS p\n WHERE EXISTS (\n SELECT 1\n FROM \"Laboratory\" AS l\n WHERE l.\"ID\" = p.\"ID\"\n AND CAST(l.\"RNP\" AS REAL) > 16\n )\n)\nSELECT s.admission AS care_setting,\n COUNT(DISTINCT p.\"ID\") AS patient_count\nFROM care_settings AS s\nLEFT JOIN qualifying_patients AS p ON p.\"Admission\" = s.admission\nGROUP BY s.admission\nORDER BY s.admission;\n```", "rows": 2, "sql": "WITH care_settings(admission) AS (\n VALUES ('+'), ('-')\n), qualifying_patients AS (\n SELECT p.\"ID\", p.\"Admission\"\n FROM \"Patient\" AS p\n WHERE EXISTS (\n SELECT 1\n FROM \"Laboratory\" AS l\n WHERE l.\"ID\" = p.\"ID\"\n AND CAST(l.\"RNP\" AS REAL) > 16\n )\n)\nSELECT s.admission AS care_setting,\n COUNT(DISTINCT p.\"ID\") AS patient_count\nFROM care_settings AS s\nLEFT JOIN qualifying_patients AS p ON p.\"Admission\" = s.admission\nGROUP BY s.admission\nORDER BY s.admission;", "seconds": 22.226454374962486, "calls": [{"seconds": 3.0419812500476837, "usage": {"completion_tokens": 20, "prompt_tokens": 1669, "total_tokens": 1689, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1131, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1131, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1131, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8788943329127505, "usage": {"completion_tokens": 49, "prompt_tokens": 1961, "total_tokens": 2010, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 292, "cached_tokens": 1131, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 292, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 292, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.128362292074598, "usage": {"completion_tokens": 113, "prompt_tokens": 2091, "total_tokens": 2204, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 18, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 130, "cached_tokens": 1423, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 130, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 130, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.676886708009988, "usage": {"completion_tokens": 102, "prompt_tokens": 2412, "total_tokens": 2514, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 321, "cached_tokens": 1553, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 321, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 321, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.3585124160163105, "usage": {"completion_tokens": 174, "prompt_tokens": 2649, "total_tokens": 2823, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 237, "cached_tokens": 1874, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 237, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 237, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.106311625102535, "usage": {"completion_tokens": 151, "prompt_tokens": 3005, "total_tokens": 3156, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 356, "cached_tokens": 2111, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 356, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 356, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2abba02281e27a013193ddc0db21c30cacd5b792310aa36220d8fd09617c1865", "csv_sha256": "1f62891666834b46ab134a8277af1f2f1fb652739087ca458560c4254b7ac836"} +{"instance_id": "bird398", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE EXISTS (\n SELECT 1\n FROM Laboratory AS h\n WHERE h.ID = p.ID\n AND (h.HCT <= 29 OR h.HCT >= 52)\n)\nAND EXISTS (\n SELECT 1\n FROM Laboratory AS r\n WHERE r.ID = p.ID\n AND CAST(r.RNP AS REAL) > 16\n);\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE EXISTS (\n SELECT 1\n FROM Laboratory AS h\n WHERE h.ID = p.ID\n AND (h.HCT <= 29 OR h.HCT >= 52)\n)\nAND EXISTS (\n SELECT 1\n FROM Laboratory AS r\n WHERE r.ID = p.ID\n AND CAST(r.RNP AS REAL) > 16\n);", "seconds": 16.758108499925584, "calls": [{"seconds": 3.1353642500471324, "usage": {"completion_tokens": 81, "prompt_tokens": 1726, "total_tokens": 1807, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1188, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1188, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1188, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.312968291924335, "usage": {"completion_tokens": 137, "prompt_tokens": 2253, "total_tokens": 2390, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 74, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 527, "cached_tokens": 1188, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 527, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 527, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.889992709038779, "usage": {"completion_tokens": 216, "prompt_tokens": 2520, "total_tokens": 2736, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 100, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 267, "cached_tokens": 1715, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 267, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 267, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.393809915985912, "usage": {"completion_tokens": 101, "prompt_tokens": 2856, "total_tokens": 2957, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 336, "cached_tokens": 1982, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 336, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 336, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7395711f211fb79539e7163e4a60de52946ccd982bc66cf7b7f44ca65fb44e50", "csv_sha256": "fa8af056caee91dc8f68b6bc6542af8bc7e3c0ae2287748c83000bbf65810168"} +{"instance_id": "bird399", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT MAX(CAST(NULLIF(l.RNP, 'negative') AS NUMERIC)) AS highest_anti_rnp\nFROM Laboratory AS l\nJOIN Patient AS p ON p.ID = l.ID\nWHERE p.Admission = '-';\n```", "rows": 1, "sql": "SELECT MAX(CAST(NULLIF(l.RNP, 'negative') AS NUMERIC)) AS highest_anti_rnp\nFROM Laboratory AS l\nJOIN Patient AS p ON p.ID = l.ID\nWHERE p.Admission = '-';", "seconds": 30.79549504199531, "calls": [{"seconds": 2.640554416924715, "usage": {"completion_tokens": 67, "prompt_tokens": 1647, "total_tokens": 1714, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1109, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1109, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1109, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.253554041963071, "usage": {"completion_tokens": 85, "prompt_tokens": 2132, "total_tokens": 2217, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 65, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1109, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.487705959007144, "usage": {"completion_tokens": 218, "prompt_tokens": 2247, "total_tokens": 2465, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 177, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 115, "cached_tokens": 1594, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 115, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 115, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.422003917046823, "usage": {"completion_tokens": 278, "prompt_tokens": 2531, "total_tokens": 2809, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 155, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 284, "cached_tokens": 1709, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 284, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 284, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.95033941604197, "usage": {"completion_tokens": 205, "prompt_tokens": 2953, "total_tokens": 3158, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 139, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 422, "cached_tokens": 1993, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 422, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 422, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.017384583945386, "usage": {"completion_tokens": 55, "prompt_tokens": 3235, "total_tokens": 3290, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 282, "cached_tokens": 2415, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 282, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 282, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "49bc76440ee22abef16e576c889f2c208821af0a210f043cd6b1ba71fccecaf1", "csv_sha256": "bddf229719c9f94854ceb618f276c398aa2add5c18ea22eef91a74b67faec983"} +{"instance_id": "bird400", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE diagnosis_parts (ID, diagnosis, remaining) AS (\n SELECT ID, NULL,\n CASE\n WHEN TRIM(UPPER(Diagnosis)) IN ('RA SJS', 'SJS RA') THEN 'RA,SJS'\n ELSE REPLACE(UPPER(Diagnosis), CHAR(29), ',')\n END || ','\n FROM Patient\n WHERE Diagnosis IS NOT NULL\n\n UNION ALL\n\n SELECT ID,\n TRIM(SUBSTR(remaining, 1, INSTR(remaining, ',') - 1), ' ' || CHAR(9, 10, 11, 13)),\n SUBSTR(remaining, INSTR(remaining, ',') + 1)\n FROM diagnosis_parts\n WHERE remaining <> ''\n), overlap_patients AS (\n SELECT ID\n FROM diagnosis_parts\n WHERE diagnosis <> ''\n AND diagnosis NOT LIKE '% SUSP'\n AND diagnosis NOT LIKE '% SUSP.'\n GROUP BY ID\n HAVING COUNT(DISTINCT diagnosis) = 2\n AND MAX(diagnosis = 'RA') = 1\n AND MAX(diagnosis = 'SJS') = 1\n), platelet_history AS (\n SELECT p.ID, EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.PLT > 100\n AND l.PLT < 400\n ) AS has_normal_platelet\n FROM overlap_patients AS p\n)\nSELECT COUNT(CASE WHEN has_normal_platelet = 1 THEN 1 END) AS ever_normal_platelet,\n COUNT(CASE WHEN has_normal_platelet = 0 THEN 1 END) AS never_normal_platelet\nFROM platelet_history;\n```", "rows": 1, "sql": "WITH RECURSIVE diagnosis_parts (ID, diagnosis, remaining) AS (\n SELECT ID, NULL,\n CASE\n WHEN TRIM(UPPER(Diagnosis)) IN ('RA SJS', 'SJS RA') THEN 'RA,SJS'\n ELSE REPLACE(UPPER(Diagnosis), CHAR(29), ',')\n END || ','\n FROM Patient\n WHERE Diagnosis IS NOT NULL\n\n UNION ALL\n\n SELECT ID,\n TRIM(SUBSTR(remaining, 1, INSTR(remaining, ',') - 1), ' ' || CHAR(9, 10, 11, 13)),\n SUBSTR(remaining, INSTR(remaining, ',') + 1)\n FROM diagnosis_parts\n WHERE remaining <> ''\n), overlap_patients AS (\n SELECT ID\n FROM diagnosis_parts\n WHERE diagnosis <> ''\n AND diagnosis NOT LIKE '% SUSP'\n AND diagnosis NOT LIKE '% SUSP.'\n GROUP BY ID\n HAVING COUNT(DISTINCT diagnosis) = 2\n AND MAX(diagnosis = 'RA') = 1\n AND MAX(diagnosis = 'SJS') = 1\n), platelet_history AS (\n SELECT p.ID, EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.PLT > 100\n AND l.PLT < 400\n ) AS has_normal_platelet\n FROM overlap_patients AS p\n)\nSELECT COUNT(CASE WHEN has_normal_platelet = 1 THEN 1 END) AS ever_normal_platelet,\n COUNT(CASE WHEN has_normal_platelet = 0 THEN 1 END) AS never_normal_platelet\nFROM platelet_history;", "seconds": 44.024540666956455, "calls": [{"seconds": 2.8453679169761017, "usage": {"completion_tokens": 67, "prompt_tokens": 1757, "total_tokens": 1824, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1219, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1219, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1219, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0813138749217615, "usage": {"completion_tokens": 61, "prompt_tokens": 2242, "total_tokens": 2303, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1219, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.984648792073131, "usage": {"completion_tokens": 235, "prompt_tokens": 2593, "total_tokens": 2828, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 70, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 351, "cached_tokens": 1704, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 351, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 351, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.782893125084229, "usage": {"completion_tokens": 232, "prompt_tokens": 4259, "total_tokens": 4491, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1666, "cached_tokens": 2055, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1666, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1666, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 19.351009875070304, "usage": {"completion_tokens": 1017, "prompt_tokens": 6277, "total_tokens": 7294, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 611, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 2018, "cached_tokens": 3721, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 2018, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 2018, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.945233250036836, "usage": {"completion_tokens": 371, "prompt_tokens": 7696, "total_tokens": 8067, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1419, "cached_tokens": 5739, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1419, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1419, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2647779901417e4cc6b889b0ee3129b62e8faf25c8d563c1b78fccdadd93b32b", "csv_sha256": "6603eb186c376be9e7c2ee388c51c048d76ad5e446fe21fb9444736d238f819a"} +{"instance_id": "bird401", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(l.TP - 8.5), 3) AS average_tp_deviation\nFROM Laboratory AS l\nWHERE l.TP > 8.5\n AND EXISTS (\n SELECT 1\n FROM Patient AS p\n WHERE p.ID = l.ID AND p.SEX = 'F'\n )\n AND EXISTS (\n SELECT 1\n FROM Examination AS e\n WHERE e.ID = l.ID\n AND ',' || REPLACE(REPLACE(REPLACE(UPPER(e.Diagnosis), ' ', ''), '+', ','), '->', ',') || ',' LIKE '%,SLE,%'\n );\n```", "rows": 1, "sql": "SELECT ROUND(AVG(l.TP - 8.5), 3) AS average_tp_deviation\nFROM Laboratory AS l\nWHERE l.TP > 8.5\n AND EXISTS (\n SELECT 1\n FROM Patient AS p\n WHERE p.ID = l.ID AND p.SEX = 'F'\n )\n AND EXISTS (\n SELECT 1\n FROM Examination AS e\n WHERE e.ID = l.ID\n AND ',' || REPLACE(REPLACE(REPLACE(UPPER(e.Diagnosis), ' ', ''), '+', ','), '->', ',') || ',' LIKE '%,SLE,%'\n );", "seconds": 29.224500583019108, "calls": [{"seconds": 2.5641457500169054, "usage": {"completion_tokens": 67, "prompt_tokens": 1774, "total_tokens": 1841, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1236, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1236, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1236, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.020856249961071, "usage": {"completion_tokens": 168, "prompt_tokens": 2259, "total_tokens": 2427, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 105, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1236, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.779589999932796, "usage": {"completion_tokens": 181, "prompt_tokens": 2630, "total_tokens": 2811, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 58, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 371, "cached_tokens": 1721, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 371, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 371, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.897993208025582, "usage": {"completion_tokens": 477, "prompt_tokens": 2987, "total_tokens": 3464, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 318, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 357, "cached_tokens": 2092, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 357, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 357, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.933386250049807, "usage": {"completion_tokens": 152, "prompt_tokens": 3629, "total_tokens": 3781, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 8, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 642, "cached_tokens": 2449, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 642, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 642, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b36347d3796a9b658c5e4adf6a0dccf98d86dcb6399fa4c4eb5548c9254afd62", "csv_sha256": "e180b59e348393a5b08d1656e500f2e9f5bb6fa4ff644e57c740e9a572848863"} +{"instance_id": "bird402", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(\n 100.0 * COUNT(DISTINCT CASE WHEN Birthday >= '1960-01-01' THEN ID END)\n / NULLIF(COUNT(DISTINCT ID), 0),\n 1\n) AS percentage\nFROM Patient\nWHERE LOWER(TRIM(Diagnosis)) = 'psoriatic arthritis';\n```", "rows": 1, "sql": "SELECT ROUND(\n 100.0 * COUNT(DISTINCT CASE WHEN Birthday >= '1960-01-01' THEN ID END)\n / NULLIF(COUNT(DISTINCT ID), 0),\n 1\n) AS percentage\nFROM Patient\nWHERE LOWER(TRIM(Diagnosis)) = 'psoriatic arthritis';", "seconds": 12.243765374994837, "calls": [{"seconds": 2.6105072079226375, "usage": {"completion_tokens": 19, "prompt_tokens": 1642, "total_tokens": 1661, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1104, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1104, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1104, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1016224999912083, "usage": {"completion_tokens": 77, "prompt_tokens": 1714, "total_tokens": 1791, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 72, "cached_tokens": 1104, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 72, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 72, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0990862500621006, "usage": {"completion_tokens": 79, "prompt_tokens": 1935, "total_tokens": 2014, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 221, "cached_tokens": 1176, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 221, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 221, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4181083750445396, "usage": {"completion_tokens": 77, "prompt_tokens": 2104, "total_tokens": 2181, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 169, "cached_tokens": 1397, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 169, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 169, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "faf18d44579d061be50433e12a27bda3dfcdf1b318ec177e4e4a654c46e985d5", "csv_sha256": "7f53c3844d121617b93eb2dd881ba757a4d095fd99e8dcf22bb1e9cf471ee78a"} +{"instance_id": "bird403", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH sex_groups(sex) AS (\n VALUES ('F'), ('M')\n)\nSELECT s.sex, COUNT(DISTINCT p.ID) AS patient_count\nFROM sex_groups AS s\nLEFT JOIN Patient AS p\n ON p.SEX = s.sex\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID AND l.ALB < 3.5\n )\nGROUP BY s.sex\nORDER BY s.sex;\n```", "rows": 2, "sql": "WITH sex_groups(sex) AS (\n VALUES ('F'), ('M')\n)\nSELECT s.sex, COUNT(DISTINCT p.ID) AS patient_count\nFROM sex_groups AS s\nLEFT JOIN Patient AS p\n ON p.SEX = s.sex\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID AND l.ALB < 3.5\n )\nGROUP BY s.sex\nORDER BY s.sex;", "seconds": 11.046848958008923, "calls": [{"seconds": 2.52416087500751, "usage": {"completion_tokens": 51, "prompt_tokens": 1663, "total_tokens": 1714, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1125, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1125, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1125, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.367746750009246, "usage": {"completion_tokens": 212, "prompt_tokens": 2037, "total_tokens": 2249, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 89, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1125, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1352135420311242, "usage": {"completion_tokens": 105, "prompt_tokens": 2385, "total_tokens": 2490, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 348, "cached_tokens": 1499, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 348, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 348, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d0a1d1cddafd7f0bedffcd8df82e48fa970d04867b8b4e6acc0b526e0a6d5123", "csv_sha256": "1d5d05b78770efb92193922becc24999b3ff0c277a87ad10a1c36161062b9122"} +{"instance_id": "bird404", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(\n 100.0 * COUNT(DISTINCT CASE WHEN CAST(TRIM(l.RNP) AS INTEGER) > 64 THEN p.ID END)\n / NULLIF(COUNT(DISTINCT p.ID), 0),\n 2\n) AS elevated_rnp_percentage\nFROM Patient AS p\nJOIN Laboratory AS l ON l.ID = p.ID\nWHERE p.SEX = 'F'\n AND NULLIF(TRIM(l.RNP), '') IS NOT NULL;\n```", "rows": 1, "sql": "SELECT ROUND(\n 100.0 * COUNT(DISTINCT CASE WHEN CAST(TRIM(l.RNP) AS INTEGER) > 64 THEN p.ID END)\n / NULLIF(COUNT(DISTINCT p.ID), 0),\n 2\n) AS elevated_rnp_percentage\nFROM Patient AS p\nJOIN Laboratory AS l ON l.ID = p.ID\nWHERE p.SEX = 'F'\n AND NULLIF(TRIM(l.RNP), '') IS NOT NULL;", "seconds": 19.040771792060696, "calls": [{"seconds": 2.457812875043601, "usage": {"completion_tokens": 67, "prompt_tokens": 1738, "total_tokens": 1805, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1200, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1200, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1200, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.41272741695866, "usage": {"completion_tokens": 253, "prompt_tokens": 2223, "total_tokens": 2476, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 80, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1200, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.2016925000352785, "usage": {"completion_tokens": 221, "prompt_tokens": 2983, "total_tokens": 3204, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 99, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 760, "cached_tokens": 1685, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 760, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 760, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9373427919344977, "usage": {"completion_tokens": 130, "prompt_tokens": 3335, "total_tokens": 3465, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 22, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 352, "cached_tokens": 2445, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 352, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 352, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d6f6abf47de20653341ebbaebd7349842d75502b57e23fae4d1b6cb2bbd04239", "csv_sha256": "31137bcabe11a8b94004dc59ad6b97802bfb1106abd25986403c6e44c8538e16"} +{"instance_id": "bird405", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT AVG(1999 - CAST(strftime('%Y', p.Birthday) AS INTEGER)) AS average_age_years\nFROM Patient AS p\nWHERE EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.\"U-PRO\" IN ('3', '4', '300', '>=300', '1000', '>=1000')\n);\n```", "rows": 1, "sql": "SELECT AVG(1999 - CAST(strftime('%Y', p.Birthday) AS INTEGER)) AS average_age_years\nFROM Patient AS p\nWHERE EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.\"U-PRO\" IN ('3', '4', '300', '>=300', '1000', '>=1000')\n);", "seconds": 17.425307750003412, "calls": [{"seconds": 2.690379208070226, "usage": {"completion_tokens": 51, "prompt_tokens": 1714, "total_tokens": 1765, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1176, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1176, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1176, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.954451334080659, "usage": {"completion_tokens": 64, "prompt_tokens": 2088, "total_tokens": 2152, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1176, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.8571104580769315, "usage": {"completion_tokens": 142, "prompt_tokens": 2607, "total_tokens": 2749, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 82, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 519, "cached_tokens": 1550, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 519, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 519, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.782332041999325, "usage": {"completion_tokens": 104, "prompt_tokens": 2849, "total_tokens": 2953, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 242, "cached_tokens": 2069, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 242, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 242, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1129385840613395, "usage": {"completion_tokens": 92, "prompt_tokens": 3072, "total_tokens": 3164, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 223, "cached_tokens": 2311, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 223, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 223, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "97645f7c45f05f0cb151d03a197931a2d3a05fd3c43274344a78020d3118d6b1", "csv_sha256": "31f3ee49bfc34f6af198be8f06213d55f842707e6d63ecd7d0299bd1a56e6a0b"} +{"instance_id": "bird406", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n COUNT(DISTINCT CASE WHEN p.SEX = 'F' THEN p.ID END) AS women,\n COUNT(DISTINCT CASE WHEN p.SEX = 'M' THEN p.ID END) AS men\nFROM Patient AS p\nWHERE EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND CAST(l.RNP AS REAL) > 32\n);\n```", "rows": 1, "sql": "SELECT\n COUNT(DISTINCT CASE WHEN p.SEX = 'F' THEN p.ID END) AS women,\n COUNT(DISTINCT CASE WHEN p.SEX = 'M' THEN p.ID END) AS men\nFROM Patient AS p\nWHERE EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND CAST(l.RNP AS REAL) > 32\n);", "seconds": 14.257604375015944, "calls": [{"seconds": 2.2917229579761624, "usage": {"completion_tokens": 51, "prompt_tokens": 1675, "total_tokens": 1726, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1137, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1137, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1137, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.471165374969132, "usage": {"completion_tokens": 109, "prompt_tokens": 2049, "total_tokens": 2158, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 59, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1137, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.241801374941133, "usage": {"completion_tokens": 138, "prompt_tokens": 2254, "total_tokens": 2392, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 30, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 205, "cached_tokens": 1511, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 205, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 205, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.23288608295843, "usage": {"completion_tokens": 95, "prompt_tokens": 2512, "total_tokens": 2607, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 258, "cached_tokens": 1716, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 258, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 258, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6ea5a4ef51482382bd19f5aa300ec5b436a0f2b8a1fd695ef7765a9aad986f57", "csv_sha256": "ccdda43fee87a413b56afa16335fb342c741f0a4624d913a56fc9640211b5420"} +{"instance_id": "bird407", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT MIN(CAST(strftime('%Y', l.\"Date\") AS INTEGER) - CAST(strftime('%Y', p.Birthday) AS INTEGER)) AS youngest_age\nFROM Laboratory AS l\nJOIN Patient AS p ON p.ID = l.ID\nWHERE CAST(l.RNP AS INTEGER) >= 64;\n```", "rows": 1, "sql": "SELECT MIN(CAST(strftime('%Y', l.\"Date\") AS INTEGER) - CAST(strftime('%Y', p.Birthday) AS INTEGER)) AS youngest_age\nFROM Laboratory AS l\nJOIN Patient AS p ON p.ID = l.ID\nWHERE CAST(l.RNP AS INTEGER) >= 64;", "seconds": 19.158432916970924, "calls": [{"seconds": 2.362044042092748, "usage": {"completion_tokens": 51, "prompt_tokens": 1719, "total_tokens": 1770, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1181, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1181, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1181, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.969126666896045, "usage": {"completion_tokens": 97, "prompt_tokens": 2093, "total_tokens": 2190, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 32, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1181, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.0974908330244943, "usage": {"completion_tokens": 20, "prompt_tokens": 2442, "total_tokens": 2462, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 349, "cached_tokens": 1555, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 349, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 349, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5305644589243457, "usage": {"completion_tokens": 89, "prompt_tokens": 2559, "total_tokens": 2648, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 34, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 117, "cached_tokens": 1904, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 117, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 117, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.127109957975335, "usage": {"completion_tokens": 117, "prompt_tokens": 2750, "total_tokens": 2867, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 37, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 191, "cached_tokens": 2021, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 191, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 191, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.039412457961589, "usage": {"completion_tokens": 70, "prompt_tokens": 2957, "total_tokens": 3027, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 207, "cached_tokens": 2212, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 207, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 207, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "19e41ad1f32c8fdb4fb54295438211e6db5f7252bc2c4f739c8b375b58b1ec98", "csv_sha256": "a95ea5420feef54219455435d225083ef87d3a65a59450c52edb124304f5122b"} +{"instance_id": "bird408", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH diagnosed_patients AS (\n SELECT DISTINCT ID\n FROM Patient\n WHERE TRIM(Diagnosis) = 'Psoriatic arthritis' COLLATE NOCASE\n)\nSELECT COUNT(l.ID) AS total_laboratory_tests,\n COUNT(DISTINCT CASE WHEN l.ID IS NULL THEN p.ID END) AS patients_with_no_laboratory_tests\nFROM diagnosed_patients AS p\nLEFT JOIN Laboratory AS l ON l.ID = p.ID;\n```", "rows": 1, "sql": "WITH diagnosed_patients AS (\n SELECT DISTINCT ID\n FROM Patient\n WHERE TRIM(Diagnosis) = 'Psoriatic arthritis' COLLATE NOCASE\n)\nSELECT COUNT(l.ID) AS total_laboratory_tests,\n COUNT(DISTINCT CASE WHEN l.ID IS NULL THEN p.ID END) AS patients_with_no_laboratory_tests\nFROM diagnosed_patients AS p\nLEFT JOIN Laboratory AS l ON l.ID = p.ID;", "seconds": 13.468427374958992, "calls": [{"seconds": 2.6602059999713674, "usage": {"completion_tokens": 67, "prompt_tokens": 1673, "total_tokens": 1740, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1135, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1135, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1135, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2551319170743227, "usage": {"completion_tokens": 88, "prompt_tokens": 2158, "total_tokens": 2246, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 26, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1135, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.287690624943934, "usage": {"completion_tokens": 152, "prompt_tokens": 2804, "total_tokens": 2956, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 38, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 646, "cached_tokens": 1620, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 646, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 646, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2461051660357043, "usage": {"completion_tokens": 100, "prompt_tokens": 3091, "total_tokens": 3191, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 287, "cached_tokens": 2266, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 287, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 287, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8a69d0becab9273d55a342c850a7e9e8253f49639675f5751f51f9c8b6e19451", "csv_sha256": "e357a1fffd983b170af8164858ae588808ebd45807f9ee3040d0ba78add2daf8"} +{"instance_id": "bird409", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT p.\"ID\") AS patient_count\nFROM \"Patient\" AS p\nJOIN \"Examination\" AS e ON e.\"ID\" = p.\"ID\"\nWHERE e.\"Examination Date\" >= '1997-01-01'\n AND e.\"Examination Date\" < '1998-01-01'\n AND e.\"Thrombosis\" > 0;\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT p.\"ID\") AS patient_count\nFROM \"Patient\" AS p\nJOIN \"Examination\" AS e ON e.\"ID\" = p.\"ID\"\nWHERE e.\"Examination Date\" >= '1997-01-01'\n AND e.\"Examination Date\" < '1998-01-01'\n AND e.\"Thrombosis\" > 0;", "seconds": 17.377401959034614, "calls": [{"seconds": 2.659025791916065, "usage": {"completion_tokens": 65, "prompt_tokens": 1663, "total_tokens": 1728, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1125, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1125, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1125, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.940456458018161, "usage": {"completion_tokens": 189, "prompt_tokens": 1904, "total_tokens": 2093, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 111, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 241, "cached_tokens": 1125, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 241, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 241, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.938617750070989, "usage": {"completion_tokens": 171, "prompt_tokens": 2312, "total_tokens": 2483, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 67, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 408, "cached_tokens": 1366, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 408, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 408, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8247127500362694, "usage": {"completion_tokens": 107, "prompt_tokens": 2592, "total_tokens": 2699, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 15, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 280, "cached_tokens": 1774, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 280, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 280, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d3e46fbd1731ff24bb9afa814acd4b9fa9348f1bf12a667c0b36ac6a82ea4088", "csv_sha256": "3f414037fbf334fb220db2ac8d37fe56c84699347a7489fb47839fc39a0891d5"} +{"instance_id": "bird410", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE patient_diseases(patient_id, disease, remaining) AS (\n SELECT ID, '',\n REPLACE(REPLACE(UPPER(Diagnosis), CHAR(29), ','), 'SLE SJS', 'SLE,SJS') || ','\n FROM Patient\n WHERE Diagnosis IS NOT NULL\n UNION ALL\n SELECT patient_id,\n TRIM(SUBSTR(remaining, 1, INSTR(remaining, ',') - 1)),\n SUBSTR(remaining, INSTR(remaining, ',') + 1)\n FROM patient_diseases\n WHERE remaining <> ''\n)\nSELECT e.Symptoms AS symptom\nFROM Examination AS e\nWHERE e.Thrombosis > 0\n AND NULLIF(TRIM(e.Symptoms), '') IS NOT NULL\n AND EXISTS (\n SELECT 1\n FROM patient_diseases AS d\n WHERE d.patient_id = e.ID\n AND d.disease IN ('SLE', 'SLE (DIFFUSE LE)')\n )\nGROUP BY e.Symptoms\nORDER BY COUNT(*) DESC, symptom COLLATE NOCASE ASC, symptom ASC\nLIMIT 1;\n```", "rows": 1, "sql": "WITH RECURSIVE patient_diseases(patient_id, disease, remaining) AS (\n SELECT ID, '',\n REPLACE(REPLACE(UPPER(Diagnosis), CHAR(29), ','), 'SLE SJS', 'SLE,SJS') || ','\n FROM Patient\n WHERE Diagnosis IS NOT NULL\n UNION ALL\n SELECT patient_id,\n TRIM(SUBSTR(remaining, 1, INSTR(remaining, ',') - 1)),\n SUBSTR(remaining, INSTR(remaining, ',') + 1)\n FROM patient_diseases\n WHERE remaining <> ''\n)\nSELECT e.Symptoms AS symptom\nFROM Examination AS e\nWHERE e.Thrombosis > 0\n AND NULLIF(TRIM(e.Symptoms), '') IS NOT NULL\n AND EXISTS (\n SELECT 1\n FROM patient_diseases AS d\n WHERE d.patient_id = e.ID\n AND d.disease IN ('SLE', 'SLE (DIFFUSE LE)')\n )\nGROUP BY e.Symptoms\nORDER BY COUNT(*) DESC, symptom COLLATE NOCASE ASC, symptom ASC\nLIMIT 1;", "seconds": 33.55428333405871, "calls": [{"seconds": 2.7576670409180224, "usage": {"completion_tokens": 67, "prompt_tokens": 1709, "total_tokens": 1776, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1171, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1171, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1171, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.743416207958944, "usage": {"completion_tokens": 47, "prompt_tokens": 2194, "total_tokens": 2241, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1171, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.894160042051226, "usage": {"completion_tokens": 62, "prompt_tokens": 2339, "total_tokens": 2401, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 145, "cached_tokens": 1656, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 145, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 145, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.268691416014917, "usage": {"completion_tokens": 81, "prompt_tokens": 2838, "total_tokens": 2919, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 499, "cached_tokens": 1801, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 499, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 499, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.852200167020783, "usage": {"completion_tokens": 257, "prompt_tokens": 3168, "total_tokens": 3425, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 168, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 330, "cached_tokens": 2300, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 330, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 330, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.960932167014107, "usage": {"completion_tokens": 397, "prompt_tokens": 3601, "total_tokens": 3998, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 114, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 433, "cached_tokens": 2630, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 433, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 433, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.047183500020765, "usage": {"completion_tokens": 263, "prompt_tokens": 4266, "total_tokens": 4529, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 10, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 665, "cached_tokens": 3063, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 665, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 665, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "01fd19a8caf7169ff4538426363efe158b592f93bd1416ce9d0dd2465a139c77", "csv_sha256": "dd6ef3b14ef75ef4d5a9b7b70ad243a8f1d7d30a44d77c912105cf7523601e46"} +{"instance_id": "bird411", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(\n 100.0 * COUNT(DISTINCT CASE\n WHEN ',' || REPLACE(REPLACE(UPPER(\"Diagnosis\"), ' ', ''), '+', ',') || ',' LIKE '%,SLE,%'\n THEN \"ID\"\n END) / NULLIF(COUNT(DISTINCT \"ID\"), 0),\n 2\n) AS sle_percentage\nFROM \"Examination\"\nWHERE \"Thrombosis\" > 0;\n```", "rows": 1, "sql": "SELECT ROUND(\n 100.0 * COUNT(DISTINCT CASE\n WHEN ',' || REPLACE(REPLACE(UPPER(\"Diagnosis\"), ' ', ''), '+', ',') || ',' LIKE '%,SLE,%'\n THEN \"ID\"\n END) / NULLIF(COUNT(DISTINCT \"ID\"), 0),\n 2\n) AS sle_percentage\nFROM \"Examination\"\nWHERE \"Thrombosis\" > 0;", "seconds": 29.266095540951937, "calls": [{"seconds": 2.7561392090283334, "usage": {"completion_tokens": 65, "prompt_tokens": 1695, "total_tokens": 1760, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1157, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1157, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1157, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.817205915926024, "usage": {"completion_tokens": 164, "prompt_tokens": 1936, "total_tokens": 2100, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 91, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 241, "cached_tokens": 1157, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 241, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 241, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.235425416962244, "usage": {"completion_tokens": 328, "prompt_tokens": 2839, "total_tokens": 3167, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 186, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 903, "cached_tokens": 1398, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 903, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 903, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.764740750077181, "usage": {"completion_tokens": 294, "prompt_tokens": 3538, "total_tokens": 3832, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 176, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 699, "cached_tokens": 2301, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 699, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 699, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6737448329804465, "usage": {"completion_tokens": 114, "prompt_tokens": 3953, "total_tokens": 4067, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 12, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 415, "cached_tokens": 3000, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 415, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 415, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "635847121bacdabf595e417fdda3f2635da7f88d8d5a886f91bfdf4a034e642e", "csv_sha256": "c438a88e8f9341a65a3b15b6994aba9eb07319ebff3246afb8b8833a3eda93a0"} +{"instance_id": "bird412", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH first_examination AS (\n SELECT ID, MIN(JULIANDAY(\"Examination Date\")) AS first_exam_day\n FROM Examination\n GROUP BY ID\n)\nSELECT ROUND(AVG(e.first_exam_day - JULIANDAY(p.\"First Date\"))) AS average_delay_days\nFROM Patient AS p\nJOIN first_examination AS e ON e.ID = p.ID\nWHERE INSTR(p.Admission, '+') > 0;\n```", "rows": 1, "sql": "WITH first_examination AS (\n SELECT ID, MIN(JULIANDAY(\"Examination Date\")) AS first_exam_day\n FROM Examination\n GROUP BY ID\n)\nSELECT ROUND(AVG(e.first_exam_day - JULIANDAY(p.\"First Date\"))) AS average_delay_days\nFROM Patient AS p\nJOIN first_examination AS e ON e.ID = p.ID\nWHERE INSTR(p.Admission, '+') > 0;", "seconds": 24.308573791990057, "calls": [{"seconds": 2.7001078330213204, "usage": {"completion_tokens": 51, "prompt_tokens": 1664, "total_tokens": 1715, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1126, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1126, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1126, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.997099332977086, "usage": {"completion_tokens": 390, "prompt_tokens": 1863, "total_tokens": 2253, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 277, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 199, "cached_tokens": 1126, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 199, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 199, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.544599625049159, "usage": {"completion_tokens": 186, "prompt_tokens": 2374, "total_tokens": 2560, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 147, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 511, "cached_tokens": 1325, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 511, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 511, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.049723875010386, "usage": {"completion_tokens": 134, "prompt_tokens": 2618, "total_tokens": 2752, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 34, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 244, "cached_tokens": 1836, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 244, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 244, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7518c85fea89697909e05b9a5303498f120e4229890417dcbb1f7ff658219550", "csv_sha256": "3bc2201d78fc0cf66c6b3542604e1007d17a0ea2d7a2a155263e1b5734a6c338"} +{"instance_id": "bird413", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH sexes(sex) AS (\n VALUES ('F'), ('M')\n)\nSELECT s.sex, COUNT(DISTINCT l.ID) AS patient_count\nFROM sexes AS s\nLEFT JOIN Patient AS p ON p.SEX = s.sex\nLEFT JOIN Laboratory AS l ON l.ID = p.ID\n AND l.\"Date\" >= '1994-01-01'\n AND l.\"Date\" < '1995-01-01'\n AND l.GOT < 60\nGROUP BY s.sex\nORDER BY s.sex;\n```", "rows": 2, "sql": "WITH sexes(sex) AS (\n VALUES ('F'), ('M')\n)\nSELECT s.sex, COUNT(DISTINCT l.ID) AS patient_count\nFROM sexes AS s\nLEFT JOIN Patient AS p ON p.SEX = s.sex\nLEFT JOIN Laboratory AS l ON l.ID = p.ID\n AND l.\"Date\" >= '1994-01-01'\n AND l.\"Date\" < '1995-01-01'\n AND l.GOT < 60\nGROUP BY s.sex\nORDER BY s.sex;", "seconds": 11.179519583005458, "calls": [{"seconds": 2.3808725000126287, "usage": {"completion_tokens": 51, "prompt_tokens": 1711, "total_tokens": 1762, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1173, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1173, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1173, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.3168732090853155, "usage": {"completion_tokens": 208, "prompt_tokens": 2085, "total_tokens": 2293, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 73, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1173, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4663103750208393, "usage": {"completion_tokens": 118, "prompt_tokens": 2442, "total_tokens": 2560, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 357, "cached_tokens": 1547, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 357, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 357, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5badea3fe16265726ee6d036216e28d55c7524e5ceec747c1a957e44b800c4ce", "csv_sha256": "dc5b5a14d7c452891b3efb5814657a3b1279c6195b5e7f93b95a4f99ff4fa213"} +{"instance_id": "bird414", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH lab_panels AS (\n SELECT ID, LDH, TRIM(\"U-PRO\") AS protein\n FROM Laboratory\n)\nSELECT p.ID AS patient_id,\n 2026 - CAST(STRFTIME('%Y', p.Birthday) AS INTEGER)\n - (STRFTIME('%m-%d', p.Birthday) > '10-09') AS age\nFROM Patient AS p\nWHERE EXISTS (\n SELECT 1\n FROM lab_panels AS l\n WHERE l.ID = p.ID\n AND l.LDH > 600\n AND l.LDH < 800\n AND CAST(CASE\n WHEN l.protein LIKE '>=%' THEN SUBSTR(l.protein, 3)\n WHEN l.protein LIKE '≥%' THEN SUBSTR(l.protein, 2)\n WHEN LOWER(l.protein) LIKE 'at least %' THEN SUBSTR(l.protein, 10)\n ELSE l.protein\n END AS REAL) >= 300\n)\nORDER BY p.ID;\n```", "rows": 3, "sql": "WITH lab_panels AS (\n SELECT ID, LDH, TRIM(\"U-PRO\") AS protein\n FROM Laboratory\n)\nSELECT p.ID AS patient_id,\n 2026 - CAST(STRFTIME('%Y', p.Birthday) AS INTEGER)\n - (STRFTIME('%m-%d', p.Birthday) > '10-09') AS age\nFROM Patient AS p\nWHERE EXISTS (\n SELECT 1\n FROM lab_panels AS l\n WHERE l.ID = p.ID\n AND l.LDH > 600\n AND l.LDH < 800\n AND CAST(CASE\n WHEN l.protein LIKE '>=%' THEN SUBSTR(l.protein, 3)\n WHEN l.protein LIKE '≥%' THEN SUBSTR(l.protein, 2)\n WHEN LOWER(l.protein) LIKE 'at least %' THEN SUBSTR(l.protein, 10)\n ELSE l.protein\n END AS REAL) >= 300\n)\nORDER BY p.ID;", "seconds": 29.015469125006348, "calls": [{"seconds": 2.642342707957141, "usage": {"completion_tokens": 67, "prompt_tokens": 1754, "total_tokens": 1821, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1216, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1216, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1216, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.991829999955371, "usage": {"completion_tokens": 113, "prompt_tokens": 2239, "total_tokens": 2352, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1216, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.297405291930772, "usage": {"completion_tokens": 301, "prompt_tokens": 2656, "total_tokens": 2957, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 225, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 417, "cached_tokens": 1701, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 417, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 417, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.293726041098125, "usage": {"completion_tokens": 337, "prompt_tokens": 3061, "total_tokens": 3398, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 96, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 405, "cached_tokens": 2118, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 405, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 405, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.7610241250367835, "usage": {"completion_tokens": 222, "prompt_tokens": 3662, "total_tokens": 3884, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 601, "cached_tokens": 2523, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 601, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 601, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "4a8c6622f5af93b05b8ff7daccc35698abbe7d6b2e2c73ac6ee559bef7d5f478", "csv_sha256": "51c2e6acea300b7346a09343d24052d7913e0e923bf7058cdac1b542f9bf0747"} +{"instance_id": "bird415", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT CASE WHEN p.SEX = 'F' THEN p.ID END)\n - COUNT(DISTINCT CASE WHEN p.SEX = 'M' THEN p.ID END) AS difference\nFROM Patient AS p\nWHERE p.Diagnosis = 'RA'\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID AND l.UN < 30\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT CASE WHEN p.SEX = 'F' THEN p.ID END)\n - COUNT(DISTINCT CASE WHEN p.SEX = 'M' THEN p.ID END) AS difference\nFROM Patient AS p\nWHERE p.Diagnosis = 'RA'\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID AND l.UN < 30\n );", "seconds": 11.123909375048243, "calls": [{"seconds": 2.4833476250059903, "usage": {"completion_tokens": 67, "prompt_tokens": 1665, "total_tokens": 1732, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1127, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1127, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1127, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.300028499914333, "usage": {"completion_tokens": 160, "prompt_tokens": 2150, "total_tokens": 2310, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 51, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1127, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3248378329444677, "usage": {"completion_tokens": 95, "prompt_tokens": 2423, "total_tokens": 2518, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 273, "cached_tokens": 1612, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 273, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 273, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ba30b3652ac910b07e0479e1bfc59b1e274b64162e73c113b78fb12e63362a78", "csv_sha256": "bac4c05d414ef63b39091cbcd9e8b1f7fb697c5fe23f41479304e62d3fc2a282"} +{"instance_id": "bird416", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH patients_by_sex AS (\n SELECT DISTINCT ID, SEX\n FROM Patient\n WHERE SEX IN ('M', 'F')\n), abnormal_creatinine AS (\n SELECT DISTINCT ID\n FROM Laboratory\n WHERE CRE >= 1.5\n)\nSELECT\n p.SEX AS sex,\n COUNT(a.ID) AS patients_with_abnormal_creatinine,\n COUNT(*) AS total_patients,\n ROUND(100.0 * COUNT(a.ID) / COUNT(*), 1) AS percentage\nFROM patients_by_sex AS p\nLEFT JOIN abnormal_creatinine AS a ON a.ID = p.ID\nGROUP BY p.SEX\nORDER BY p.SEX DESC;\n```", "rows": 2, "sql": "WITH patients_by_sex AS (\n SELECT DISTINCT ID, SEX\n FROM Patient\n WHERE SEX IN ('M', 'F')\n), abnormal_creatinine AS (\n SELECT DISTINCT ID\n FROM Laboratory\n WHERE CRE >= 1.5\n)\nSELECT\n p.SEX AS sex,\n COUNT(a.ID) AS patients_with_abnormal_creatinine,\n COUNT(*) AS total_patients,\n ROUND(100.0 * COUNT(a.ID) / COUNT(*), 1) AS percentage\nFROM patients_by_sex AS p\nLEFT JOIN abnormal_creatinine AS a ON a.ID = p.ID\nGROUP BY p.SEX\nORDER BY p.SEX DESC;", "seconds": 14.87265900010243, "calls": [{"seconds": 2.549505167058669, "usage": {"completion_tokens": 51, "prompt_tokens": 1754, "total_tokens": 1805, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1216, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1216, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1216, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.163440208067186, "usage": {"completion_tokens": 313, "prompt_tokens": 2128, "total_tokens": 2441, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 144, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1216, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.1416239578975365, "usage": {"completion_tokens": 150, "prompt_tokens": 2654, "total_tokens": 2804, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 526, "cached_tokens": 1590, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 526, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 526, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6d73a4a0a096ceed91c4da4d1a91ef6c98c607afa2ab4cfbe78248ce580a6aa2", "csv_sha256": "590fa67390de566b7ba6ee52ce42346c8d3ffef3f6117aae565cb100131c65ed"} +{"instance_id": "bird417", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH ranked_patients AS (\n SELECT MAX(l.\"T-CHO\") AS \"T-CHO\",\n p.Admission,\n p.ID,\n RANK() OVER (\n PARTITION BY p.Admission\n ORDER BY MAX(l.\"T-CHO\") DESC\n ) AS cholesterol_rank\n FROM Patient AS p\n JOIN Laboratory AS l ON l.ID = p.ID\n WHERE p.Admission IN ('+', '-')\n AND l.\"T-CHO\" IS NOT NULL\n GROUP BY p.Admission, p.ID\n)\nSELECT \"T-CHO\", Admission, ID\nFROM ranked_patients\nWHERE cholesterol_rank = 1\nORDER BY CASE Admission WHEN '+' THEN 0 ELSE 1 END, ID;\n```", "rows": 2, "sql": "WITH ranked_patients AS (\n SELECT MAX(l.\"T-CHO\") AS \"T-CHO\",\n p.Admission,\n p.ID,\n RANK() OVER (\n PARTITION BY p.Admission\n ORDER BY MAX(l.\"T-CHO\") DESC\n ) AS cholesterol_rank\n FROM Patient AS p\n JOIN Laboratory AS l ON l.ID = p.ID\n WHERE p.Admission IN ('+', '-')\n AND l.\"T-CHO\" IS NOT NULL\n GROUP BY p.Admission, p.ID\n)\nSELECT \"T-CHO\", Admission, ID\nFROM ranked_patients\nWHERE cholesterol_rank = 1\nORDER BY CASE Admission WHEN '+' THEN 0 ELSE 1 END, ID;", "seconds": 14.483484458061866, "calls": [{"seconds": 2.612607083050534, "usage": {"completion_tokens": 67, "prompt_tokens": 1720, "total_tokens": 1787, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1182, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1182, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1182, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.682246958953328, "usage": {"completion_tokens": 302, "prompt_tokens": 2205, "total_tokens": 2507, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 125, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1182, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.168888374930248, "usage": {"completion_tokens": 159, "prompt_tokens": 2710, "total_tokens": 2869, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 505, "cached_tokens": 1667, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 505, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 505, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "3ca68c52f489582087f6f42dabbc22541c026a1573de54cb7eac9cb4da23d165", "csv_sha256": "2cecaa5e09aaf596c9321fd8a5b0f97483450503ef7c8d9f69f14ef7ef2e2e06"} +{"instance_id": "bird418", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH patient_levels AS (\n SELECT p.ID AS patient_id, MAX(CAST(l.RNP AS INTEGER)) AS anti_rnp_level\n FROM Patient AS p\n JOIN Laboratory AS l ON l.ID = p.ID\n WHERE p.\"First Date\" >= '1991-01-01'\n AND p.\"First Date\" < '1992-01-01'\n AND l.RNP IS NOT NULL\n GROUP BY p.ID\n)\nSELECT patient_id, anti_rnp_level\nFROM patient_levels\nWHERE anti_rnp_level = (SELECT MAX(anti_rnp_level) FROM patient_levels)\nORDER BY patient_id;\n```", "rows": 3, "sql": "WITH patient_levels AS (\n SELECT p.ID AS patient_id, MAX(CAST(l.RNP AS INTEGER)) AS anti_rnp_level\n FROM Patient AS p\n JOIN Laboratory AS l ON l.ID = p.ID\n WHERE p.\"First Date\" >= '1991-01-01'\n AND p.\"First Date\" < '1992-01-01'\n AND l.RNP IS NOT NULL\n GROUP BY p.ID\n)\nSELECT patient_id, anti_rnp_level\nFROM patient_levels\nWHERE anti_rnp_level = (SELECT MAX(anti_rnp_level) FROM patient_levels)\nORDER BY patient_id;", "seconds": 13.627980583929457, "calls": [{"seconds": 2.5291033330140635, "usage": {"completion_tokens": 67, "prompt_tokens": 1675, "total_tokens": 1742, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1137, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1137, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1137, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.145160667016171, "usage": {"completion_tokens": 83, "prompt_tokens": 2160, "total_tokens": 2243, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1137, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.263422957970761, "usage": {"completion_tokens": 153, "prompt_tokens": 2354, "total_tokens": 2507, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 194, "cached_tokens": 1622, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 194, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 194, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6668496249476448, "usage": {"completion_tokens": 139, "prompt_tokens": 2690, "total_tokens": 2829, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 336, "cached_tokens": 1816, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 336, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 336, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "3d63e940702fde2d14fb74cde4616174c689312d3fe8ba67fc924bd0450a4cba", "csv_sha256": "ae7cf61b5dcafa03e50072c5f0db8950d31f85fd9af78163c953d86cecb3258d"} +{"instance_id": "bird419", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT AVG(\"HCT\") AS average_hematocrit\nFROM \"Laboratory\"\nWHERE \"Date\" >= '1991-01-01'\n AND \"Date\" < '1992-01-01'\n AND \"HCT\" IS NOT NULL\n AND CAST(\n CASE\n WHEN TRIM(\"U-PRO\") LIKE '>=%' THEN SUBSTR(TRIM(\"U-PRO\"), 3)\n ELSE TRIM(\"U-PRO\")\n END AS REAL\n ) >= 300;\n```", "rows": 1, "sql": "SELECT AVG(\"HCT\") AS average_hematocrit\nFROM \"Laboratory\"\nWHERE \"Date\" >= '1991-01-01'\n AND \"Date\" < '1992-01-01'\n AND \"HCT\" IS NOT NULL\n AND CAST(\n CASE\n WHEN TRIM(\"U-PRO\") LIKE '>=%' THEN SUBSTR(TRIM(\"U-PRO\"), 3)\n ELSE TRIM(\"U-PRO\")\n END AS REAL\n ) >= 300;", "seconds": 19.217275834060274, "calls": [{"seconds": 2.1914106250042096, "usage": {"completion_tokens": 20, "prompt_tokens": 1722, "total_tokens": 1742, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1184, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1184, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1184, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.7537659580120817, "usage": {"completion_tokens": 75, "prompt_tokens": 2014, "total_tokens": 2089, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 292, "cached_tokens": 1184, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 292, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 292, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.618518832954578, "usage": {"completion_tokens": 414, "prompt_tokens": 2212, "total_tokens": 2626, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 279, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 198, "cached_tokens": 1476, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 198, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 198, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6258892089826986, "usage": {"completion_tokens": 124, "prompt_tokens": 2766, "total_tokens": 2890, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 6, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 554, "cached_tokens": 1674, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 554, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 554, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5440b6c96ca1905fdff186fcba4cb4b83cf7aedf7edd63ad02c0edeb4e770ba4", "csv_sha256": "9109c09714464b0d3c64c80d02b3c0c1fbc093b5dd4f7a0e2285ffe519c0533e"} +{"instance_id": "bird420", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH proteinuria AS (\n SELECT ID,\n CASE\n WHEN TRIM(\"U-PRO\") LIKE '>=%'\n THEN CAST(SUBSTR(TRIM(\"U-PRO\"), 3) AS REAL)\n WHEN TRIM(\"U-PRO\") LIKE '+%(%)'\n THEN CAST(SUBSTR(TRIM(\"U-PRO\"), INSTR(TRIM(\"U-PRO\"), '(') + 1) AS REAL)\n ELSE CAST(\"U-PRO\" AS REAL)\n END AS proteinuria_level\n FROM Laboratory\n)\nSELECT COUNT(DISTINCT CASE WHEN p.Admission = '+' THEN p.ID END) AS admitted_patients,\n COUNT(DISTINCT CASE WHEN p.Admission = '-' THEN p.ID END) AS outpatient_patients\nFROM Patient AS p\nWHERE TRIM(p.Diagnosis) = 'SLE'\n AND EXISTS (\n SELECT 1\n FROM proteinuria AS l\n WHERE l.ID = p.ID\n AND l.proteinuria_level >= 30\n );\n```", "rows": 1, "sql": "WITH proteinuria AS (\n SELECT ID,\n CASE\n WHEN TRIM(\"U-PRO\") LIKE '>=%'\n THEN CAST(SUBSTR(TRIM(\"U-PRO\"), 3) AS REAL)\n WHEN TRIM(\"U-PRO\") LIKE '+%(%)'\n THEN CAST(SUBSTR(TRIM(\"U-PRO\"), INSTR(TRIM(\"U-PRO\"), '(') + 1) AS REAL)\n ELSE CAST(\"U-PRO\" AS REAL)\n END AS proteinuria_level\n FROM Laboratory\n)\nSELECT COUNT(DISTINCT CASE WHEN p.Admission = '+' THEN p.ID END) AS admitted_patients,\n COUNT(DISTINCT CASE WHEN p.Admission = '-' THEN p.ID END) AS outpatient_patients\nFROM Patient AS p\nWHERE TRIM(p.Diagnosis) = 'SLE'\n AND EXISTS (\n SELECT 1\n FROM proteinuria AS l\n WHERE l.ID = p.ID\n AND l.proteinuria_level >= 30\n );", "seconds": 46.389141209074296, "calls": [{"seconds": 2.6802671670448035, "usage": {"completion_tokens": 67, "prompt_tokens": 1680, "total_tokens": 1747, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1142, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1142, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1142, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.3145623749587685, "usage": {"completion_tokens": 238, "prompt_tokens": 2165, "total_tokens": 2403, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 111, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1142, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.185055125039071, "usage": {"completion_tokens": 184, "prompt_tokens": 3153, "total_tokens": 3337, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 988, "cached_tokens": 1627, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 988, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 988, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 13.15772904199548, "usage": {"completion_tokens": 516, "prompt_tokens": 3720, "total_tokens": 4236, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 223, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 567, "cached_tokens": 2615, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 567, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 567, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.601244833087549, "usage": {"completion_tokens": 558, "prompt_tokens": 4618, "total_tokens": 5176, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 314, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 898, "cached_tokens": 3182, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 898, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 898, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.3914568750187755, "usage": {"completion_tokens": 237, "prompt_tokens": 5425, "total_tokens": 5662, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 16, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 807, "cached_tokens": 4080, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 807, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 807, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b55df3836cc79416c80c3eb2ebb52785e1ac5d04cc2004b4a312e3de571ef47d", "csv_sha256": "dc30a517dbcb9ef34851fea41b011f295568797c6c6734815a5b7ab39d12e192"} +{"instance_id": "bird421", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE p.Admission = '-'\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.RA IN ('-', '+-')\n )\n AND NOT EXISTS (\n SELECT 1\n FROM Examination AS e\n WHERE e.ID = p.ID\n AND (e.KCT = '+' OR e.RVVT = '+' OR e.LAC = '+')\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE p.Admission = '-'\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.RA IN ('-', '+-')\n )\n AND NOT EXISTS (\n SELECT 1\n FROM Examination AS e\n WHERE e.ID = p.ID\n AND (e.KCT = '+' OR e.RVVT = '+' OR e.LAC = '+')\n );", "seconds": 15.560218291939236, "calls": [{"seconds": 2.7580831249943003, "usage": {"completion_tokens": 67, "prompt_tokens": 1699, "total_tokens": 1766, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1161, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1161, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1161, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.3666207500500605, "usage": {"completion_tokens": 174, "prompt_tokens": 2184, "total_tokens": 2358, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 111, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1161, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.153952584019862, "usage": {"completion_tokens": 155, "prompt_tokens": 2697, "total_tokens": 2852, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 19, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 513, "cached_tokens": 1646, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 513, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 513, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.242280915961601, "usage": {"completion_tokens": 116, "prompt_tokens": 2987, "total_tokens": 3103, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 290, "cached_tokens": 2159, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 290, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 290, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1c3bbb388e8e0f23dbe354f51166f9f3ad470514f340559d8ab734f78a55fefc", "csv_sha256": "3cec5b986b4cc1a4a2e053c957d6e202d6780f599cff2e31d061ecac8ec489f2"} +{"instance_id": "bird422", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH latest_dates AS (\n SELECT \"ID\",\n MAX(\"Date\") AS latest_sample_date,\n MAX(CASE WHEN \"SC170\" IS NOT NULL THEN \"Date\" END) AS latest_scl70_date\n FROM \"Laboratory\"\n GROUP BY \"ID\"\n)\nSELECT d.\"ID\"\nFROM latest_dates AS d\nJOIN \"Laboratory\" AS l\n ON l.\"ID\" = d.\"ID\"\n AND l.\"Date\" = d.latest_scl70_date\nWHERE d.latest_sample_date > '1997-01-01'\n AND l.\"SC170\" IS NOT NULL\nGROUP BY d.\"ID\"\nHAVING MIN(CASE WHEN l.\"SC170\" IN ('negative', '0') THEN 1 ELSE 0 END) = 1\nORDER BY d.\"ID\";\n```", "rows": 16, "sql": "WITH latest_dates AS (\n SELECT \"ID\",\n MAX(\"Date\") AS latest_sample_date,\n MAX(CASE WHEN \"SC170\" IS NOT NULL THEN \"Date\" END) AS latest_scl70_date\n FROM \"Laboratory\"\n GROUP BY \"ID\"\n)\nSELECT d.\"ID\"\nFROM latest_dates AS d\nJOIN \"Laboratory\" AS l\n ON l.\"ID\" = d.\"ID\"\n AND l.\"Date\" = d.latest_scl70_date\nWHERE d.latest_sample_date > '1997-01-01'\n AND l.\"SC170\" IS NOT NULL\nGROUP BY d.\"ID\"\nHAVING MIN(CASE WHEN l.\"SC170\" IN ('negative', '0') THEN 1 ELSE 0 END) = 1\nORDER BY d.\"ID\";", "seconds": 22.234276707982644, "calls": [{"seconds": 2.5942445000400767, "usage": {"completion_tokens": 51, "prompt_tokens": 1690, "total_tokens": 1741, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1152, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1152, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1152, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.535814250004478, "usage": {"completion_tokens": 82, "prompt_tokens": 2064, "total_tokens": 2146, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1152, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.1788867090363055, "usage": {"completion_tokens": 240, "prompt_tokens": 2399, "total_tokens": 2639, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 92, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 335, "cached_tokens": 1526, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 335, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 335, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.697310124989599, "usage": {"completion_tokens": 241, "prompt_tokens": 2824, "total_tokens": 3065, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 43, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 425, "cached_tokens": 1861, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 425, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 425, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.176168499980122, "usage": {"completion_tokens": 176, "prompt_tokens": 3320, "total_tokens": 3496, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 496, "cached_tokens": 2286, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 496, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 496, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "71b84f8b664b7edc8e1bc78b0282077ebbf769fd9c761ece092310e490dab435", "csv_sha256": "b002d80270dab60e9c46f40cf3371e670ffc75364a6c68d89a5eb923b93e07a7"} +{"instance_id": "bird423", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND LOWER(TRIM(l.SSA)) NOT IN ('negative', '0')\n)\nAND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND LOWER(TRIM(l.\"U-PRO\")) NOT IN ('negative', 'none', '-', '0')\n);\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND LOWER(TRIM(l.SSA)) NOT IN ('negative', '0')\n)\nAND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND LOWER(TRIM(l.\"U-PRO\")) NOT IN ('negative', 'none', '-', '0')\n);", "seconds": 17.256446041050367, "calls": [{"seconds": 2.9995207500178367, "usage": {"completion_tokens": 67, "prompt_tokens": 1707, "total_tokens": 1774, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1169, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1169, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1169, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6675353749888018, "usage": {"completion_tokens": 114, "prompt_tokens": 2192, "total_tokens": 2306, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1169, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.896908958093263, "usage": {"completion_tokens": 289, "prompt_tokens": 2675, "total_tokens": 2964, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 159, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 483, "cached_tokens": 1654, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 483, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 483, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.646496208035387, "usage": {"completion_tokens": 111, "prompt_tokens": 3094, "total_tokens": 3205, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 419, "cached_tokens": 2137, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 419, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 419, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "dfd8fed148835ce4acce8785c8dd2e88957e86d8e77dca6aefa53cc92c3481de", "csv_sha256": "4f5e7bf26450e6266e0726797ce31d3a69e6e05fa098ee1b0c6f63fa5b066606"} +{"instance_id": "bird424", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nJOIN Laboratory AS l ON l.ID = p.ID\nWHERE p.SEX = 'F'\n AND CAST(l.DNA AS REAL) < 8;\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nJOIN Laboratory AS l ON l.ID = p.ID\nWHERE p.SEX = 'F'\n AND CAST(l.DNA AS REAL) < 8;", "seconds": 20.160537958028726, "calls": [{"seconds": 2.219737624982372, "usage": {"completion_tokens": 51, "prompt_tokens": 1669, "total_tokens": 1720, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1131, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1131, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1131, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.1462074590381235, "usage": {"completion_tokens": 18, "prompt_tokens": 2043, "total_tokens": 2061, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1131, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.804691624944098, "usage": {"completion_tokens": 167, "prompt_tokens": 2091, "total_tokens": 2258, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 60, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1505, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.779717667028308, "usage": {"completion_tokens": 121, "prompt_tokens": 2862, "total_tokens": 2983, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 771, "cached_tokens": 1553, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 771, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 771, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1746320829261094, "usage": {"completion_tokens": 67, "prompt_tokens": 3186, "total_tokens": 3253, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 324, "cached_tokens": 2324, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 324, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 324, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9909775420092046, "usage": {"completion_tokens": 57, "prompt_tokens": 3329, "total_tokens": 3386, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 143, "cached_tokens": 2648, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 143, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 143, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "78d7cf3618d84c8b3745cc0d583f902aa9773ae5c0f4bd2ff4cfcd063bafd7c9", "csv_sha256": "3f414037fbf334fb220db2ac8d37fe56c84699347a7489fb47839fc39a0891d5"} +{"instance_id": "bird425", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE p.Admission <> '-'\n AND NOT EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.ALP >= 300\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE p.Admission <> '-'\n AND NOT EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.ALP >= 300\n );", "seconds": 10.79443987493869, "calls": [{"seconds": 2.3949047919595614, "usage": {"completion_tokens": 51, "prompt_tokens": 1681, "total_tokens": 1732, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1143, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1143, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1143, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.505844707950018, "usage": {"completion_tokens": 163, "prompt_tokens": 2055, "total_tokens": 2218, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 83, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1143, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.873938750009984, "usage": {"completion_tokens": 67, "prompt_tokens": 2304, "total_tokens": 2371, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 249, "cached_tokens": 1517, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 249, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 249, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "4d6eadf19ee57951b6c5e2f7d1d6c4019e11380adf3a1c350acb7d0b130db121", "csv_sha256": "84eccf6dc32283919618d822d8f175c5dce174a57dc954a791b95b4826a9b013"} +{"instance_id": "bird426", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT MAX(CAST(NULLIF(RNP, 'negative') AS NUMERIC)) AS highest_anti_rnp\nFROM Laboratory\nWHERE CRE < 1.5;\n```", "rows": 1, "sql": "SELECT MAX(CAST(NULLIF(RNP, 'negative') AS NUMERIC)) AS highest_anti_rnp\nFROM Laboratory\nWHERE CRE < 1.5;", "seconds": 16.21744941698853, "calls": [{"seconds": 3.3919355840189382, "usage": {"completion_tokens": 67, "prompt_tokens": 1662, "total_tokens": 1729, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1124, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1124, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1124, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.795182832982391, "usage": {"completion_tokens": 59, "prompt_tokens": 2147, "total_tokens": 2206, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1124, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.1058599159587175, "usage": {"completion_tokens": 201, "prompt_tokens": 2313, "total_tokens": 2514, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 148, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 166, "cached_tokens": 1609, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 166, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 166, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8907404999481514, "usage": {"completion_tokens": 42, "prompt_tokens": 2578, "total_tokens": 2620, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 265, "cached_tokens": 1775, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 265, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 265, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a8226c2d437e9a17ad117b3ceb4077981d00787c4ffa860a7cfdbace85e016bf", "csv_sha256": "bddf229719c9f94854ceb618f276c398aa2add5c18ea22eef91a74b67faec983"} +{"instance_id": "bird427", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH sexes(code, sex) AS (\n VALUES ('F', 'female'), ('M', 'male')\n)\nSELECT s.sex, COUNT(DISTINCT p.ID) AS patient_count\nFROM sexes AS s\nLEFT JOIN Patient AS p\n ON UPPER(TRIM(p.SEX)) IN (s.code, UPPER(s.sex))\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID AND l.HGB < 7.0\n )\nGROUP BY s.sex\nORDER BY s.sex;\n```", "rows": 2, "sql": "WITH sexes(code, sex) AS (\n VALUES ('F', 'female'), ('M', 'male')\n)\nSELECT s.sex, COUNT(DISTINCT p.ID) AS patient_count\nFROM sexes AS s\nLEFT JOIN Patient AS p\n ON UPPER(TRIM(p.SEX)) IN (s.code, UPPER(s.sex))\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID AND l.HGB < 7.0\n )\nGROUP BY s.sex\nORDER BY s.sex;", "seconds": 14.431337874964811, "calls": [{"seconds": 2.6705855829641223, "usage": {"completion_tokens": 51, "prompt_tokens": 1663, "total_tokens": 1714, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1125, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1125, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1125, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.712015541968867, "usage": {"completion_tokens": 280, "prompt_tokens": 2037, "total_tokens": 2317, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 139, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1125, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.023205750039779, "usage": {"completion_tokens": 121, "prompt_tokens": 2469, "total_tokens": 2590, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 432, "cached_tokens": 1499, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 432, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 432, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d8ac6f7984c262898fdd08ea7de369979ac104089bc4d826ab5093ec4bc69054", "csv_sha256": "6430cb0099342e3f56d5608d77205f8dc8651ed3faf0165a599cdb0e9900b40c"} +{"instance_id": "bird428", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH eligible_tests AS (\n SELECT ID, Date, RNP, CAST(NULLIF(RNP, 'negative') AS INTEGER) AS rnp_value\n FROM Laboratory\n WHERE GOT >= 60\n)\nSELECT ID, Date, RNP\nFROM eligible_tests\nWHERE rnp_value = (SELECT MAX(rnp_value) FROM eligible_tests);\n```", "rows": 1, "sql": "WITH eligible_tests AS (\n SELECT ID, Date, RNP, CAST(NULLIF(RNP, 'negative') AS INTEGER) AS rnp_value\n FROM Laboratory\n WHERE GOT >= 60\n)\nSELECT ID, Date, RNP\nFROM eligible_tests\nWHERE rnp_value = (SELECT MAX(rnp_value) FROM eligible_tests);", "seconds": 19.66854270803742, "calls": [{"seconds": 2.3301832920406014, "usage": {"completion_tokens": 20, "prompt_tokens": 1728, "total_tokens": 1748, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1190, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1190, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1190, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.400294707971625, "usage": {"completion_tokens": 70, "prompt_tokens": 2020, "total_tokens": 2090, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 19, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 292, "cached_tokens": 1190, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 292, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 292, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.505222459090874, "usage": {"completion_tokens": 398, "prompt_tokens": 2183, "total_tokens": 2581, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 306, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 163, "cached_tokens": 1482, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 163, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 163, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.405738209025003, "usage": {"completion_tokens": 79, "prompt_tokens": 2700, "total_tokens": 2779, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 517, "cached_tokens": 1645, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 517, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 517, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "81f1fced39dcf96315cbe46423fe78f8eb545bcdf6bbfc27e1f70dc07fe8eec1", "csv_sha256": "66353e71e8bcb3a081d9cc7f86dc42c95bf57338b07ec21de4f82e8b906bc35b"} +{"instance_id": "bird429", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH lab_results AS (\n SELECT ID, FG, TRIM(\"U-PRO\") AS protein\n FROM Laboratory\n)\nSELECT COUNT(DISTINCT p.ID) AS eligible_patient_count\nFROM Patient AS p\nJOIN lab_results AS l ON l.ID = p.ID\nWHERE DATE(p.Birthday) > '1980-01-01'\n AND (\n l.FG < 150 OR l.FG > 450\n OR l.protein IN ('3', '4', '3+', '4+')\n OR CAST(CASE WHEN l.protein LIKE '>=%' THEN SUBSTR(l.protein, 3)\n ELSE l.protein END AS REAL) >= 300\n );\n```", "rows": 1, "sql": "WITH lab_results AS (\n SELECT ID, FG, TRIM(\"U-PRO\") AS protein\n FROM Laboratory\n)\nSELECT COUNT(DISTINCT p.ID) AS eligible_patient_count\nFROM Patient AS p\nJOIN lab_results AS l ON l.ID = p.ID\nWHERE DATE(p.Birthday) > '1980-01-01'\n AND (\n l.FG < 150 OR l.FG > 450\n OR l.protein IN ('3', '4', '3+', '4+')\n OR CAST(CASE WHEN l.protein LIKE '>=%' THEN SUBSTR(l.protein, 3)\n ELSE l.protein END AS REAL) >= 300\n );", "seconds": 26.739367541042157, "calls": [{"seconds": 2.9132787090493366, "usage": {"completion_tokens": 67, "prompt_tokens": 1801, "total_tokens": 1868, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1263, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1263, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1263, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5200180840911344, "usage": {"completion_tokens": 85, "prompt_tokens": 2286, "total_tokens": 2371, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 46, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1263, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.735955958021805, "usage": {"completion_tokens": 317, "prompt_tokens": 2454, "total_tokens": 2771, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 189, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 168, "cached_tokens": 1748, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 168, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 168, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.824594624922611, "usage": {"completion_tokens": 279, "prompt_tokens": 2956, "total_tokens": 3235, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 108, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 502, "cached_tokens": 1916, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 502, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 502, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.705908125033602, "usage": {"completion_tokens": 154, "prompt_tokens": 3409, "total_tokens": 3563, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 453, "cached_tokens": 2418, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 453, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 453, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "048ffebb13dd483f6844d641eb512d01452f43c01eb2a773d8cd62d7736216b8", "csv_sha256": "812585e4fa248bb535f350c3cd42ebc98ff78c7d81a0df7b0de83026f01668f4"} +{"instance_id": "bird430", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH patient_groups(admission, patient_group, sort_order) AS (\n VALUES ('+', 'admitted to the hospital', 1),\n ('-', 'followed at the outpatient clinic', 2)\n), patient_admissions AS (\n SELECT DISTINCT ID, Admission\n FROM Patient\n WHERE Admission IN ('+', '-')\n)\nSELECT g.patient_group,\n COUNT(l.LDH) AS normal_ldh_measurements\nFROM patient_groups AS g\nLEFT JOIN patient_admissions AS p ON p.Admission = g.admission\nLEFT JOIN Laboratory AS l ON l.ID = p.ID AND l.LDH < 500\nGROUP BY g.sort_order, g.patient_group\nORDER BY g.sort_order;\n```", "rows": 2, "sql": "WITH patient_groups(admission, patient_group, sort_order) AS (\n VALUES ('+', 'admitted to the hospital', 1),\n ('-', 'followed at the outpatient clinic', 2)\n), patient_admissions AS (\n SELECT DISTINCT ID, Admission\n FROM Patient\n WHERE Admission IN ('+', '-')\n)\nSELECT g.patient_group,\n COUNT(l.LDH) AS normal_ldh_measurements\nFROM patient_groups AS g\nLEFT JOIN patient_admissions AS p ON p.Admission = g.admission\nLEFT JOIN Laboratory AS l ON l.ID = p.ID AND l.LDH < 500\nGROUP BY g.sort_order, g.patient_group\nORDER BY g.sort_order;", "seconds": 14.738384458003566, "calls": [{"seconds": 2.0992781668901443, "usage": {"completion_tokens": 51, "prompt_tokens": 1734, "total_tokens": 1785, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1196, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1196, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1196, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.516883666976355, "usage": {"completion_tokens": 313, "prompt_tokens": 2108, "total_tokens": 2421, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 143, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1196, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.089216125081293, "usage": {"completion_tokens": 151, "prompt_tokens": 2618, "total_tokens": 2769, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 510, "cached_tokens": 1570, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 510, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 510, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a6944ee8173a151aca97de3f821240a33b19213c7f9f0ff6bc7dd7a9fc86950d", "csv_sha256": "e9435d5be4375dddfcce734f6e50bd3a5fc43ed9fc403781bb425ab2866822c2"} +{"instance_id": "bird431", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n COUNT(DISTINCT p.ID) AS patients_with_lab_results,\n COUNT(DISTINCT CASE WHEN l.\"T-BIL\" >= 2.0 THEN p.ID END) AS patients_with_elevated_total_bilirubin\nFROM Patient AS p\nJOIN Laboratory AS l ON l.ID = p.ID\nWHERE p.SEX IS NULL OR p.SEX = '';\n```", "rows": 1, "sql": "SELECT\n COUNT(DISTINCT p.ID) AS patients_with_lab_results,\n COUNT(DISTINCT CASE WHEN l.\"T-BIL\" >= 2.0 THEN p.ID END) AS patients_with_elevated_total_bilirubin\nFROM Patient AS p\nJOIN Laboratory AS l ON l.ID = p.ID\nWHERE p.SEX IS NULL OR p.SEX = '';", "seconds": 31.955647625029087, "calls": [{"seconds": 2.625891458010301, "usage": {"completion_tokens": 51, "prompt_tokens": 1677, "total_tokens": 1728, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1139, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1139, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1139, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.711466084001586, "usage": {"completion_tokens": 179, "prompt_tokens": 2051, "total_tokens": 2230, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 86, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1139, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.996459166053683, "usage": {"completion_tokens": 210, "prompt_tokens": 2347, "total_tokens": 2557, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 132, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 296, "cached_tokens": 1513, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 296, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 296, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.705759207950905, "usage": {"completion_tokens": 312, "prompt_tokens": 2684, "total_tokens": 2996, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 273, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 337, "cached_tokens": 1809, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 337, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 337, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.586892082937993, "usage": {"completion_tokens": 96, "prompt_tokens": 3054, "total_tokens": 3150, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 370, "cached_tokens": 2146, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 370, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 370, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2820492499740794, "usage": {"completion_tokens": 86, "prompt_tokens": 3272, "total_tokens": 3358, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 218, "cached_tokens": 2516, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 218, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 218, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9cc6e09c2c3d8440d599051f7ec406019d9dee56797be32eafac4617842e1225", "csv_sha256": "d07a8030f4c4d867f723c12db064f8b73b74cdee71aabb7d2231713b048ea1f7"} +{"instance_id": "bird432", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nJOIN Examination AS e ON e.ID = p.ID\nWHERE p.SEX = 'F'\n AND p.Admission LIKE '+%'\n AND strftime('%Y', p.Birthday) BETWEEN '1945' AND '1989'\n AND e.\"ANA Pattern\" = 'P';\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nJOIN Examination AS e ON e.ID = p.ID\nWHERE p.SEX = 'F'\n AND p.Admission LIKE '+%'\n AND strftime('%Y', p.Birthday) BETWEEN '1945' AND '1989'\n AND e.\"ANA Pattern\" = 'P';", "seconds": 9.915175874950364, "calls": [{"seconds": 2.507780957967043, "usage": {"completion_tokens": 51, "prompt_tokens": 1676, "total_tokens": 1727, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1138, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1138, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1138, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.360800666967407, "usage": {"completion_tokens": 148, "prompt_tokens": 1875, "total_tokens": 2023, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 49, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 199, "cached_tokens": 1138, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 199, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 199, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0263281249208376, "usage": {"completion_tokens": 84, "prompt_tokens": 2126, "total_tokens": 2210, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 251, "cached_tokens": 1337, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 251, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 251, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6117cd6f5f26b10e052e5b9ba3f5ee4541825bcda23d2037c6aa1ddf919e49ff", "csv_sha256": "9b769ab090625da430bb3b07349f198720aab0e039f5d021892ef2854846e5d9"} +{"instance_id": "bird433", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH patient_peaks AS (\n SELECT p.ID, p.SEX, MAX(CAST(l.RNP AS INTEGER)) AS max_rnp\n FROM Patient AS p\n JOIN Laboratory AS l ON l.ID = p.ID\n WHERE p.Admission = '-'\n AND l.RNP IS NOT NULL\n AND LOWER(TRIM(l.RNP)) <> 'negative'\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS a\n WHERE a.ID = p.ID AND a.HGB < 10\n )\n GROUP BY p.ID, p.SEX\n)\nSELECT ID, SEX, max_rnp\nFROM patient_peaks\nWHERE max_rnp = (SELECT MAX(max_rnp) FROM patient_peaks)\nORDER BY ID;\n```", "rows": 1, "sql": "WITH patient_peaks AS (\n SELECT p.ID, p.SEX, MAX(CAST(l.RNP AS INTEGER)) AS max_rnp\n FROM Patient AS p\n JOIN Laboratory AS l ON l.ID = p.ID\n WHERE p.Admission = '-'\n AND l.RNP IS NOT NULL\n AND LOWER(TRIM(l.RNP)) <> 'negative'\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS a\n WHERE a.ID = p.ID AND a.HGB < 10\n )\n GROUP BY p.ID, p.SEX\n)\nSELECT ID, SEX, max_rnp\nFROM patient_peaks\nWHERE max_rnp = (SELECT MAX(max_rnp) FROM patient_peaks)\nORDER BY ID;", "seconds": 21.992197207990102, "calls": [{"seconds": 2.7376342080533504, "usage": {"completion_tokens": 81, "prompt_tokens": 1728, "total_tokens": 1809, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1190, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1190, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1190, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8230746670160443, "usage": {"completion_tokens": 71, "prompt_tokens": 2255, "total_tokens": 2326, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 527, "cached_tokens": 1190, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 527, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 527, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.156188333989121, "usage": {"completion_tokens": 539, "prompt_tokens": 2517, "total_tokens": 3056, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 357, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 262, "cached_tokens": 1717, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 262, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 262, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.235239541972987, "usage": {"completion_tokens": 198, "prompt_tokens": 3254, "total_tokens": 3452, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 33, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 737, "cached_tokens": 1979, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 737, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 737, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1648dd5a41c6a77dee9f97caedc396304587a2678815a26a4251b854d1aa40a7", "csv_sha256": "f42211bc91d18adfb958945a0ef644ebce95da50a7e2044f9b04cc3af00ecb49"} +{"instance_id": "bird434", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH first_tests AS (\n SELECT ID, MIN(\"Date\") AS first_test_date\n FROM Laboratory\n GROUP BY ID\n)\nSELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nJOIN first_tests AS f ON f.ID = p.ID\nJOIN Laboratory AS l ON l.ID = f.ID AND l.\"Date\" = f.first_test_date\nWHERE l.GOT < 60\n AND CAST(l.RNP AS REAL) > 10;\n```", "rows": 1, "sql": "WITH first_tests AS (\n SELECT ID, MIN(\"Date\") AS first_test_date\n FROM Laboratory\n GROUP BY ID\n)\nSELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nJOIN first_tests AS f ON f.ID = p.ID\nJOIN Laboratory AS l ON l.ID = f.ID AND l.\"Date\" = f.first_test_date\nWHERE l.GOT < 60\n AND CAST(l.RNP AS REAL) > 10;", "seconds": 20.187441874993965, "calls": [{"seconds": 2.4494129159720615, "usage": {"completion_tokens": 51, "prompt_tokens": 1728, "total_tokens": 1779, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1190, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1190, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1190, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9167364169843495, "usage": {"completion_tokens": 70, "prompt_tokens": 2102, "total_tokens": 2172, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 22, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1190, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.562105958932079, "usage": {"completion_tokens": 199, "prompt_tokens": 2349, "total_tokens": 2548, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 247, "cached_tokens": 1564, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 247, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 247, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.916634374996647, "usage": {"completion_tokens": 144, "prompt_tokens": 2789, "total_tokens": 2933, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 25, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 440, "cached_tokens": 1811, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 440, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 440, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.307085125008598, "usage": {"completion_tokens": 107, "prompt_tokens": 3059, "total_tokens": 3166, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 270, "cached_tokens": 2251, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 270, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 270, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8465944c3660ee00bc59bf20db9fe69d6c8dfeaf81cbf26a9bdb548b8921acf9", "csv_sha256": "c0e62aee90c49f0bf5519ac8f038c33ca775f6f228dba32a21955d051a8d5b7a"} +{"instance_id": "bird435", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH latest_proteinuria AS (\n SELECT ID, MAX(\"Date\") AS test_date\n FROM Laboratory\n WHERE \"U-PRO\" IS NOT NULL\n GROUP BY ID\n)\nSELECT p.ID AS patient_id,\n p.SEX AS sex,\n l.\"Date\" AS latest_proteinuria_test_date,\n l.\"U-PRO\" AS proteinuria_level\nFROM latest_proteinuria AS t\nJOIN Laboratory AS l ON l.ID = t.ID AND l.\"Date\" = t.test_date\nJOIN Patient AS p ON p.ID = t.ID\nWHERE l.\"U-PRO\" IS NOT NULL\nORDER BY p.ID;\n```", "rows": 295, "sql": "WITH latest_proteinuria AS (\n SELECT ID, MAX(\"Date\") AS test_date\n FROM Laboratory\n WHERE \"U-PRO\" IS NOT NULL\n GROUP BY ID\n)\nSELECT p.ID AS patient_id,\n p.SEX AS sex,\n l.\"Date\" AS latest_proteinuria_test_date,\n l.\"U-PRO\" AS proteinuria_level\nFROM latest_proteinuria AS t\nJOIN Laboratory AS l ON l.ID = t.ID AND l.\"Date\" = t.test_date\nJOIN Patient AS p ON p.ID = t.ID\nWHERE l.\"U-PRO\" IS NOT NULL\nORDER BY p.ID;", "seconds": 18.470898458966985, "calls": [{"seconds": 2.586553708068095, "usage": {"completion_tokens": 67, "prompt_tokens": 1685, "total_tokens": 1752, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1147, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1147, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1147, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.312798500061035, "usage": {"completion_tokens": 19, "prompt_tokens": 2170, "total_tokens": 2189, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1147, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.967348582926206, "usage": {"completion_tokens": 225, "prompt_tokens": 2211, "total_tokens": 2436, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 24, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 41, "cached_tokens": 1632, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 41, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 41, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.431033208034933, "usage": {"completion_tokens": 160, "prompt_tokens": 2693, "total_tokens": 2853, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 482, "cached_tokens": 1673, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 482, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 482, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.1223891250556335, "usage": {"completion_tokens": 142, "prompt_tokens": 3106, "total_tokens": 3248, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 413, "cached_tokens": 2155, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 413, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 413, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d4a229d7691ecf4a28739d9228b203a99e4fe7215aa3eef72848066ba699ddbd", "csv_sha256": "2d194c07e19c24d17013ea6b05b346b8afb7908967322c6d79a078a5c0502bd2"} +{"instance_id": "bird436", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT DISTINCT p.ID\nFROM Patient AS p\nJOIN Laboratory AS l ON l.ID = p.ID\nWHERE p.Admission = '-'\n AND l.CPK < 250\n AND CAST(l.RNP AS REAL) > 4;\n```", "rows": 7, "sql": "SELECT DISTINCT p.ID\nFROM Patient AS p\nJOIN Laboratory AS l ON l.ID = p.ID\nWHERE p.Admission = '-'\n AND l.CPK < 250\n AND CAST(l.RNP AS REAL) > 4;", "seconds": 19.78428670798894, "calls": [{"seconds": 3.0911443330114707, "usage": {"completion_tokens": 81, "prompt_tokens": 1685, "total_tokens": 1766, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1147, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1147, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1147, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8211825840407982, "usage": {"completion_tokens": 73, "prompt_tokens": 2212, "total_tokens": 2285, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 56, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 527, "cached_tokens": 1147, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 527, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 527, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.393578749964945, "usage": {"completion_tokens": 70, "prompt_tokens": 2307, "total_tokens": 2377, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 95, "cached_tokens": 1674, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 95, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 95, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.02671987505164, "usage": {"completion_tokens": 192, "prompt_tokens": 2575, "total_tokens": 2767, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 122, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 268, "cached_tokens": 1769, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 268, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 268, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4160768339643255, "usage": {"completion_tokens": 80, "prompt_tokens": 2869, "total_tokens": 2949, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 20, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 294, "cached_tokens": 2037, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 294, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 294, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "48f9950eff091b3cb36446ff302e73b3190be895de4144abc5d37d1b288a5098", "csv_sha256": "ae147403b87cf4d86a803547d995faa1a9c1de7b7f8c73147626ac6d1d8e1dcc"} +{"instance_id": "bird437", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT e.ID)\nFROM Examination AS e\nJOIN Laboratory AS l ON l.ID = e.ID\nWHERE CAST(l.RNP AS REAL) > 0\n AND e.Thrombosis = 0;\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT e.ID)\nFROM Examination AS e\nJOIN Laboratory AS l ON l.ID = e.ID\nWHERE CAST(l.RNP AS REAL) > 0\n AND e.Thrombosis = 0;", "seconds": 11.339298458071426, "calls": [{"seconds": 2.51035149989184, "usage": {"completion_tokens": 67, "prompt_tokens": 1654, "total_tokens": 1721, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1116, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1116, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1116, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.933944916003384, "usage": {"completion_tokens": 185, "prompt_tokens": 2139, "total_tokens": 2324, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 119, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1116, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8743206670042127, "usage": {"completion_tokens": 54, "prompt_tokens": 2401, "total_tokens": 2455, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 262, "cached_tokens": 1601, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 262, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 262, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "91f2a0c46eed5a024993cfa779b2f524d5cbce7416a74fd782f0bd7c2b44424b", "csv_sha256": "7c0c44ef4ce07b2d213aa33614b77ebcd977681bb07f33f51bc8225c0974490c"} +{"instance_id": "bird438", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH elevated_rnp AS (\n SELECT DISTINCT ID\n FROM Laboratory\n WHERE CAST(RNP AS REAL) >= 16\n), normal_gpt AS (\n SELECT l.ID, MAX(l.GPT) AS highest_normal_gpt\n FROM Laboratory AS l\n JOIN elevated_rnp AS e ON e.ID = l.ID\n WHERE l.GPT < 60\n GROUP BY l.ID\n)\nSELECT p.Birthday\nFROM normal_gpt AS g\nJOIN Patient AS p ON p.ID = g.ID\nORDER BY g.highest_normal_gpt DESC, g.ID ASC\nLIMIT 3;\n```", "rows": 3, "sql": "WITH elevated_rnp AS (\n SELECT DISTINCT ID\n FROM Laboratory\n WHERE CAST(RNP AS REAL) >= 16\n), normal_gpt AS (\n SELECT l.ID, MAX(l.GPT) AS highest_normal_gpt\n FROM Laboratory AS l\n JOIN elevated_rnp AS e ON e.ID = l.ID\n WHERE l.GPT < 60\n GROUP BY l.ID\n)\nSELECT p.Birthday\nFROM normal_gpt AS g\nJOIN Patient AS p ON p.ID = g.ID\nORDER BY g.highest_normal_gpt DESC, g.ID ASC\nLIMIT 3;", "seconds": 30.518122916924767, "calls": [{"seconds": 2.6734655420295894, "usage": {"completion_tokens": 81, "prompt_tokens": 1741, "total_tokens": 1822, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1203, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1203, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1203, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.706012083101086, "usage": {"completion_tokens": 304, "prompt_tokens": 2268, "total_tokens": 2572, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 255, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 527, "cached_tokens": 1203, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 527, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 527, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.674849292030558, "usage": {"completion_tokens": 229, "prompt_tokens": 2667, "total_tokens": 2896, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 143, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 399, "cached_tokens": 1730, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 399, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 399, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.316733332932927, "usage": {"completion_tokens": 256, "prompt_tokens": 3007, "total_tokens": 3263, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 108, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 340, "cached_tokens": 2129, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 340, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 340, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.103571792016737, "usage": {"completion_tokens": 134, "prompt_tokens": 3430, "total_tokens": 3564, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 423, "cached_tokens": 2469, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 423, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 423, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d18181d68cffaea5e165d46f82b17fd8dd4be208855d7b158cae305443e5e917", "csv_sha256": "f75735197b3e0ea351882d7668bf34db433d98c7322e9b6675ef8028d9b7a052"} +{"instance_id": "bird439", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT p.ID) AS female_patient_count\nFROM Patient AS p\nJOIN Laboratory AS l ON l.ID = p.ID\nWHERE p.SEX = 'F'\n AND l.PT < 14\n AND CAST(l.RNP AS REAL) >= 16;\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT p.ID) AS female_patient_count\nFROM Patient AS p\nJOIN Laboratory AS l ON l.ID = p.ID\nWHERE p.SEX = 'F'\n AND l.PT < 14\n AND CAST(l.RNP AS REAL) >= 16;", "seconds": 14.882850583991967, "calls": [{"seconds": 2.578296334017068, "usage": {"completion_tokens": 67, "prompt_tokens": 1697, "total_tokens": 1764, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1159, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1159, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1159, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.061196208000183, "usage": {"completion_tokens": 130, "prompt_tokens": 2182, "total_tokens": 2312, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 28, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1159, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.65242345794104, "usage": {"completion_tokens": 126, "prompt_tokens": 2497, "total_tokens": 2623, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 47, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 315, "cached_tokens": 1644, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 315, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 315, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5489619999425486, "usage": {"completion_tokens": 93, "prompt_tokens": 2710, "total_tokens": 2803, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 24, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 213, "cached_tokens": 1959, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 213, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 213, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "109513d07b847b0b5f21f55f8796320fed9d0f8aa2384b5713f6a778004717a4", "csv_sha256": "2d6439fd3c8e07ae9e9e3ca0d1c5e68379dafada8324af82f58cc1ee5afc11f5"} +{"instance_id": "bird440", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n CAST(strftime('%Y', l.Date) AS INTEGER)\n - CAST(strftime('%Y', p.Birthday) AS INTEGER)\n - (strftime('%m-%d', l.Date) < strftime('%m-%d', p.Birthday)) AS age,\n p.Diagnosis AS diagnosis\nFROM Laboratory AS l\nJOIN Patient AS p ON p.ID = l.ID\nWHERE p.Admission = '+'\n AND l.DNA IS NOT NULL\nORDER BY CAST(l.DNA AS REAL) DESC, l.Date ASC, l.ID ASC\nLIMIT 1;\n```", "rows": 1, "sql": "SELECT\n CAST(strftime('%Y', l.Date) AS INTEGER)\n - CAST(strftime('%Y', p.Birthday) AS INTEGER)\n - (strftime('%m-%d', l.Date) < strftime('%m-%d', p.Birthday)) AS age,\n p.Diagnosis AS diagnosis\nFROM Laboratory AS l\nJOIN Patient AS p ON p.ID = l.ID\nWHERE p.Admission = '+'\n AND l.DNA IS NOT NULL\nORDER BY CAST(l.DNA AS REAL) DESC, l.Date ASC, l.ID ASC\nLIMIT 1;", "seconds": 23.885031249956228, "calls": [{"seconds": 2.5071136669721454, "usage": {"completion_tokens": 67, "prompt_tokens": 1710, "total_tokens": 1777, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1172, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1172, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1172, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.802856291993521, "usage": {"completion_tokens": 190, "prompt_tokens": 2195, "total_tokens": 2385, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 89, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1172, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.3146088749635965, "usage": {"completion_tokens": 269, "prompt_tokens": 2858, "total_tokens": 3127, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 88, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 663, "cached_tokens": 1657, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 663, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 663, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.335999374976382, "usage": {"completion_tokens": 145, "prompt_tokens": 3284, "total_tokens": 3429, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 426, "cached_tokens": 2320, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 426, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 426, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8784642500104383, "usage": {"completion_tokens": 144, "prompt_tokens": 3578, "total_tokens": 3722, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 14, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 294, "cached_tokens": 2746, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 294, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 294, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a9d4ca85a5093099fa4f9522e8c8b0a9eef4505849caa493689474f6f13fc449", "csv_sha256": "c7c5568829cfa6f95416178e088209ad728de25ba387a7d82141d48510c64cb2"} +{"instance_id": "bird441", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE diagnosis_parts(ID, SEX, diagnosis, remaining) AS (\n SELECT p.ID, p.SEX, '',\n REPLACE(REPLACE(UPPER(p.Diagnosis), CHAR(29), ','), ' ', ',') || ','\n FROM Patient AS p\n WHERE EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID AND l.\"T-BIL\" >= 1.2\n )\n UNION ALL\n SELECT ID, SEX,\n TRIM(SUBSTR(remaining, 1, INSTR(remaining, ',') - 1)),\n SUBSTR(remaining, INSTR(remaining, ',') + 1)\n FROM diagnosis_parts\n WHERE remaining <> ''\n)\nSELECT DISTINCT ID, SEX\nFROM diagnosis_parts\nWHERE diagnosis IN ('SLE', 'SLE (DIFFUSE LE)')\nORDER BY SEX, ID;\n```", "rows": 14, "sql": "WITH RECURSIVE diagnosis_parts(ID, SEX, diagnosis, remaining) AS (\n SELECT p.ID, p.SEX, '',\n REPLACE(REPLACE(UPPER(p.Diagnosis), CHAR(29), ','), ' ', ',') || ','\n FROM Patient AS p\n WHERE EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID AND l.\"T-BIL\" >= 1.2\n )\n UNION ALL\n SELECT ID, SEX,\n TRIM(SUBSTR(remaining, 1, INSTR(remaining, ',') - 1)),\n SUBSTR(remaining, INSTR(remaining, ',') + 1)\n FROM diagnosis_parts\n WHERE remaining <> ''\n)\nSELECT DISTINCT ID, SEX\nFROM diagnosis_parts\nWHERE diagnosis IN ('SLE', 'SLE (DIFFUSE LE)')\nORDER BY SEX, ID;", "seconds": 41.47536645899527, "calls": [{"seconds": 2.4036000419873744, "usage": {"completion_tokens": 67, "prompt_tokens": 1754, "total_tokens": 1821, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1216, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1216, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1216, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.372097000014037, "usage": {"completion_tokens": 67, "prompt_tokens": 2239, "total_tokens": 2306, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 19, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1216, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.82516991707962, "usage": {"completion_tokens": 180, "prompt_tokens": 2619, "total_tokens": 2799, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 132, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 380, "cached_tokens": 1701, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 380, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 380, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.134500290965661, "usage": {"completion_tokens": 431, "prompt_tokens": 3589, "total_tokens": 4020, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 386, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 970, "cached_tokens": 2081, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 970, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 970, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.26508520799689, "usage": {"completion_tokens": 553, "prompt_tokens": 4088, "total_tokens": 4641, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 327, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 499, "cached_tokens": 3051, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 499, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 499, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.426194040919654, "usage": {"completion_tokens": 360, "prompt_tokens": 4942, "total_tokens": 5302, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 160, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 854, "cached_tokens": 3550, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 854, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 854, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "75ccd1c11205c3e0faf16c78bcd39739c3e01de9be84179c3e4faa099166770f", "csv_sha256": "bdd0de89c13bfe36d7e9cae9e52b6a9e3a8102ad7266b06f15ecfe85ddce4457"} +{"instance_id": "bird442", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH care_settings(admission_marker, care_setting) AS (\n VALUES ('+', 'admitted to the hospital'),\n ('-', 'followed at the outpatient clinic')\n), eligible_patients AS (\n SELECT DISTINCT p.ID, p.Admission,\n EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND CAST(l.RNP AS REAL) >= 4\n ) AS has_elevated_rnp\n FROM Patient AS p\n WHERE p.SEX = 'F'\n AND DATE(p.Birthday) <= DATE('2026-10-09', '-50 years')\n AND p.Admission IN ('+', '-')\n)\nSELECT s.care_setting,\n COUNT(CASE WHEN p.has_elevated_rnp = 1 THEN 1 END) AS patients_with_anti_rnp_at_least_4,\n COUNT(CASE WHEN p.has_elevated_rnp = 0 THEN 1 END) AS patients_with_no_anti_rnp_at_least_4\nFROM care_settings AS s\nLEFT JOIN eligible_patients AS p ON p.Admission = s.admission_marker\nGROUP BY s.care_setting\nORDER BY s.care_setting;\n```", "rows": 2, "sql": "WITH care_settings(admission_marker, care_setting) AS (\n VALUES ('+', 'admitted to the hospital'),\n ('-', 'followed at the outpatient clinic')\n), eligible_patients AS (\n SELECT DISTINCT p.ID, p.Admission,\n EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND CAST(l.RNP AS REAL) >= 4\n ) AS has_elevated_rnp\n FROM Patient AS p\n WHERE p.SEX = 'F'\n AND DATE(p.Birthday) <= DATE('2026-10-09', '-50 years')\n AND p.Admission IN ('+', '-')\n)\nSELECT s.care_setting,\n COUNT(CASE WHEN p.has_elevated_rnp = 1 THEN 1 END) AS patients_with_anti_rnp_at_least_4,\n COUNT(CASE WHEN p.has_elevated_rnp = 0 THEN 1 END) AS patients_with_no_anti_rnp_at_least_4\nFROM care_settings AS s\nLEFT JOIN eligible_patients AS p ON p.Admission = s.admission_marker\nGROUP BY s.care_setting\nORDER BY s.care_setting;", "seconds": 19.994190791039728, "calls": [{"seconds": 2.4541491250274703, "usage": {"completion_tokens": 51, "prompt_tokens": 1761, "total_tokens": 1812, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1223, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1223, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1223, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.503737458027899, "usage": {"completion_tokens": 236, "prompt_tokens": 2135, "total_tokens": 2371, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 80, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1223, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.706762874964625, "usage": {"completion_tokens": 334, "prompt_tokens": 2857, "total_tokens": 3191, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 48, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 722, "cached_tokens": 1597, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 722, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 722, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.290266541996971, "usage": {"completion_tokens": 260, "prompt_tokens": 3522, "total_tokens": 3782, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 665, "cached_tokens": 2319, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 665, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 665, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "115c3c6048eee58ab7f7c0e90c7c89bad964aa8688a5ef8c8e64f87e7fa546ea", "csv_sha256": "3390be557054895dfbb927b703ca6237b3937cc0d4ccd7acb4ee30b89b9aa186"} +{"instance_id": "bird443", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH ranked_igg AS (\n SELECT ID, IGG,\n ROW_NUMBER() OVER (PARTITION BY ID ORDER BY \"Date\" DESC) AS rn\n FROM Laboratory\n WHERE IGG IS NOT NULL\n)\nSELECT COUNT(*) AS patient_count\nFROM ranked_igg AS l\nWHERE l.rn = 1\n AND l.IGG >= 2000\n AND EXISTS (\n SELECT 1\n FROM Patient AS p\n WHERE p.ID = l.ID AND p.Admission = '-'\n );\n```", "rows": 1, "sql": "WITH ranked_igg AS (\n SELECT ID, IGG,\n ROW_NUMBER() OVER (PARTITION BY ID ORDER BY \"Date\" DESC) AS rn\n FROM Laboratory\n WHERE IGG IS NOT NULL\n)\nSELECT COUNT(*) AS patient_count\nFROM ranked_igg AS l\nWHERE l.rn = 1\n AND l.IGG >= 2000\n AND EXISTS (\n SELECT 1\n FROM Patient AS p\n WHERE p.ID = l.ID AND p.Admission = '-'\n );", "seconds": 13.587301124935038, "calls": [{"seconds": 2.553289792034775, "usage": {"completion_tokens": 51, "prompt_tokens": 1662, "total_tokens": 1713, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1124, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1124, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1124, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.432681292062625, "usage": {"completion_tokens": 266, "prompt_tokens": 2036, "total_tokens": 2302, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 132, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1124, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5696970829740167, "usage": {"completion_tokens": 118, "prompt_tokens": 2439, "total_tokens": 2557, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 403, "cached_tokens": 1498, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 403, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 403, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "592d889d166d3e94f79c44e15c95aa1b410b462c03bac64fa593ba27a3e11270", "csv_sha256": "12f32d62131d6d4bcbd206ac8453c2259220c0470d5adcdc86a6d85ee452a52d"} +{"instance_id": "bird444", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH sle_results AS (\n SELECT p.ID, p.Diagnosis, l.DNA,\n CAST(l.DNA AS REAL) AS dna_value\n FROM Patient AS p\n JOIN Laboratory AS l ON l.ID = p.ID\n WHERE p.Diagnosis LIKE '%SLE%'\n AND p.Diagnosis NOT LIKE '%SLE susp%'\n AND l.DNA IS NOT NULL\n)\nSELECT ID, Diagnosis, MIN(DNA) AS highest_anti_dna\nFROM sle_results\nWHERE dna_value = (SELECT MAX(dna_value) FROM sle_results)\nGROUP BY ID, Diagnosis\nORDER BY ID;\n```", "rows": 1, "sql": "WITH sle_results AS (\n SELECT p.ID, p.Diagnosis, l.DNA,\n CAST(l.DNA AS REAL) AS dna_value\n FROM Patient AS p\n JOIN Laboratory AS l ON l.ID = p.ID\n WHERE p.Diagnosis LIKE '%SLE%'\n AND p.Diagnosis NOT LIKE '%SLE susp%'\n AND l.DNA IS NOT NULL\n)\nSELECT ID, Diagnosis, MIN(DNA) AS highest_anti_dna\nFROM sle_results\nWHERE dna_value = (SELECT MAX(dna_value) FROM sle_results)\nGROUP BY ID, Diagnosis\nORDER BY ID;", "seconds": 26.71862175001297, "calls": [{"seconds": 2.8034403750207275, "usage": {"completion_tokens": 81, "prompt_tokens": 1700, "total_tokens": 1781, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1162, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1162, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1162, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.611454749945551, "usage": {"completion_tokens": 262, "prompt_tokens": 2227, "total_tokens": 2489, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 39, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 527, "cached_tokens": 1162, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 527, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 527, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.624545666971244, "usage": {"completion_tokens": 187, "prompt_tokens": 3449, "total_tokens": 3636, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1222, "cached_tokens": 1689, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1222, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1222, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.901353167020716, "usage": {"completion_tokens": 402, "prompt_tokens": 4031, "total_tokens": 4433, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 247, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 582, "cached_tokens": 2911, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 582, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 582, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7323632079642266, "usage": {"completion_tokens": 136, "prompt_tokens": 4607, "total_tokens": 4743, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 576, "cached_tokens": 3493, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 576, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 576, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "54935e5af4c450a545b2b2147f1b94351956edbd556fe3feeae2423c4a8cd503", "csv_sha256": "3b28b4b12c113c7c598733b1b7ab0a9020f326ec15e4d4eec11d40eadca37cbb"} +{"instance_id": "bird445", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH ranked_igg AS (\n SELECT ID, IGG,\n ROW_NUMBER() OVER (PARTITION BY ID ORDER BY \"Date\" DESC) AS rn\n FROM Laboratory\n WHERE IGG IS NOT NULL\n)\nSELECT CASE p.Admission\n WHEN '+' THEN 'admitted to the hospital'\n WHEN '-' THEN 'followed at the outpatient clinic'\n END AS care_setting,\n ROUND(100.0 * COUNT(CASE WHEN i.IGG > 900 AND i.IGG < 2000 THEN 1 END)\n / COUNT(*), 1) AS percentage\nFROM Patient AS p\nLEFT JOIN ranked_igg AS i ON i.ID = p.ID AND i.rn = 1\nWHERE p.Admission IN ('+', '-')\nGROUP BY p.Admission\nORDER BY p.Admission;\n```", "rows": 2, "sql": "WITH ranked_igg AS (\n SELECT ID, IGG,\n ROW_NUMBER() OVER (PARTITION BY ID ORDER BY \"Date\" DESC) AS rn\n FROM Laboratory\n WHERE IGG IS NOT NULL\n)\nSELECT CASE p.Admission\n WHEN '+' THEN 'admitted to the hospital'\n WHEN '-' THEN 'followed at the outpatient clinic'\n END AS care_setting,\n ROUND(100.0 * COUNT(CASE WHEN i.IGG > 900 AND i.IGG < 2000 THEN 1 END)\n / COUNT(*), 1) AS percentage\nFROM Patient AS p\nLEFT JOIN ranked_igg AS i ON i.ID = p.ID AND i.rn = 1\nWHERE p.Admission IN ('+', '-')\nGROUP BY p.Admission\nORDER BY p.Admission;", "seconds": 25.054357415996492, "calls": [{"seconds": 2.3963034170446917, "usage": {"completion_tokens": 67, "prompt_tokens": 1736, "total_tokens": 1803, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1198, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1198, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1198, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.91887312498875, "usage": {"completion_tokens": 293, "prompt_tokens": 2221, "total_tokens": 2514, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 89, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1198, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.530965541023761, "usage": {"completion_tokens": 445, "prompt_tokens": 2827, "total_tokens": 3272, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 247, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 606, "cached_tokens": 1683, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 606, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 606, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.158415165962651, "usage": {"completion_tokens": 179, "prompt_tokens": 3495, "total_tokens": 3674, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 668, "cached_tokens": 2289, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 668, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 668, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d7138d69b5873b6a1a7b6c3348126faef85c0ee1ee2a38ab10aebd7d96dd96a5", "csv_sha256": "a5f45c8ef6179094ea3cbc57f6a17480391297a169ebb74e879abe1040a5c03c"} +{"instance_id": "bird446", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH latest_visit AS (\n SELECT ID, MAX(\"Date\") AS visit_date\n FROM Laboratory\n GROUP BY ID\n)\nSELECT COUNT(DISTINCT CASE WHEN p.SEX = 'F' THEN p.ID END)\n - COUNT(DISTINCT CASE WHEN p.SEX = 'M' THEN p.ID END) AS female_minus_male\nFROM latest_visit AS v\nJOIN Laboratory AS l ON l.ID = v.ID AND l.\"Date\" = v.visit_date\nJOIN Patient AS p ON p.ID = v.ID\nWHERE CAST(l.RNP AS REAL) >= 32;\n```", "rows": 1, "sql": "WITH latest_visit AS (\n SELECT ID, MAX(\"Date\") AS visit_date\n FROM Laboratory\n GROUP BY ID\n)\nSELECT COUNT(DISTINCT CASE WHEN p.SEX = 'F' THEN p.ID END)\n - COUNT(DISTINCT CASE WHEN p.SEX = 'M' THEN p.ID END) AS female_minus_male\nFROM latest_visit AS v\nJOIN Laboratory AS l ON l.ID = v.ID AND l.\"Date\" = v.visit_date\nJOIN Patient AS p ON p.ID = v.ID\nWHERE CAST(l.RNP AS REAL) >= 32;", "seconds": 18.94858737499453, "calls": [{"seconds": 2.7439129159320146, "usage": {"completion_tokens": 67, "prompt_tokens": 1730, "total_tokens": 1797, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1192, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1192, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1192, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.4402637500315905, "usage": {"completion_tokens": 41, "prompt_tokens": 2215, "total_tokens": 2256, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1192, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.823485250002705, "usage": {"completion_tokens": 148, "prompt_tokens": 2351, "total_tokens": 2499, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 136, "cached_tokens": 1677, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 136, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 136, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.097669707960449, "usage": {"completion_tokens": 185, "prompt_tokens": 2704, "total_tokens": 2889, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 43, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 353, "cached_tokens": 1813, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 353, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 353, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.794374749995768, "usage": {"completion_tokens": 129, "prompt_tokens": 3039, "total_tokens": 3168, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 335, "cached_tokens": 2166, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 335, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 335, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "4d8d01e691e81309cd0161145dec7bf5fbb8298bb226650fdb7f3156561e9020", "csv_sha256": "e292e0051c01176b3c146bbb4c8df41d6a04fa3540cbab54e70770bc04d819b3"} +{"instance_id": "bird447", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH ranked_measurements AS (\n SELECT l.RNP, l.CPK,\n ROW_NUMBER() OVER (PARTITION BY l.ID ORDER BY l.Date DESC) AS rn\n FROM Laboratory AS l\n JOIN Patient AS p ON p.ID = l.ID\n WHERE p.SEX = 'F' AND l.RNP IS NOT NULL\n)\nSELECT COUNT(*) AS patient_count\nFROM ranked_measurements\nWHERE rn = 1\n AND CAST(RNP AS INTEGER) > 64\n AND CPK < 250;\n```", "rows": 1, "sql": "WITH ranked_measurements AS (\n SELECT l.RNP, l.CPK,\n ROW_NUMBER() OVER (PARTITION BY l.ID ORDER BY l.Date DESC) AS rn\n FROM Laboratory AS l\n JOIN Patient AS p ON p.ID = l.ID\n WHERE p.SEX = 'F' AND l.RNP IS NOT NULL\n)\nSELECT COUNT(*) AS patient_count\nFROM ranked_measurements\nWHERE rn = 1\n AND CAST(RNP AS INTEGER) > 64\n AND CPK < 250;", "seconds": 18.029756416915916, "calls": [{"seconds": 2.5551497499691322, "usage": {"completion_tokens": 51, "prompt_tokens": 1718, "total_tokens": 1769, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1180, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1180, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1180, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.023070583003573, "usage": {"completion_tokens": 254, "prompt_tokens": 2092, "total_tokens": 2346, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1180, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.533371625002474, "usage": {"completion_tokens": 206, "prompt_tokens": 2798, "total_tokens": 3004, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 74, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 706, "cached_tokens": 1554, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 706, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 706, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8733887909911573, "usage": {"completion_tokens": 118, "prompt_tokens": 3141, "total_tokens": 3259, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 343, "cached_tokens": 2260, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 343, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 343, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "50e305a9ec8d63630e4f2d47a75ed8d446b999f9ef1aba82cf87b508e579d5e4", "csv_sha256": "e6a346f080feb22ab5c9ef16688613086ef0744aa770335a912126807dcf0b52"} +{"instance_id": "bird448", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH care_profiles AS (\n SELECT Admission,\n ' ' || UPPER(REPLACE(REPLACE(Diagnosis, ',', ' '), CHAR(29), ' ')) || ' ' AS diagnosis_text\n FROM Patient\n WHERE Admission IN ('+', '-')\n),\nconfirmed_sle AS (\n SELECT Admission\n FROM care_profiles\n WHERE INSTR(REPLACE(diagnosis_text, ' SLE SUSP ', ' '), ' SLE ') > 0\n)\nSELECT COUNT(*) FILTER (WHERE Admission = '+') AS inpatient_count,\n COUNT(*) FILTER (WHERE Admission = '-') AS outpatient_count,\n ROUND(100.0 * COUNT(*) FILTER (WHERE Admission = '+') / NULLIF(COUNT(*), 0), 2) AS inpatient_percentage\nFROM confirmed_sle;\n```", "rows": 1, "sql": "WITH care_profiles AS (\n SELECT Admission,\n ' ' || UPPER(REPLACE(REPLACE(Diagnosis, ',', ' '), CHAR(29), ' ')) || ' ' AS diagnosis_text\n FROM Patient\n WHERE Admission IN ('+', '-')\n),\nconfirmed_sle AS (\n SELECT Admission\n FROM care_profiles\n WHERE INSTR(REPLACE(diagnosis_text, ' SLE SUSP ', ' '), ' SLE ') > 0\n)\nSELECT COUNT(*) FILTER (WHERE Admission = '+') AS inpatient_count,\n COUNT(*) FILTER (WHERE Admission = '-') AS outpatient_count,\n ROUND(100.0 * COUNT(*) FILTER (WHERE Admission = '+') / NULLIF(COUNT(*), 0), 2) AS inpatient_percentage\nFROM confirmed_sle;", "seconds": 32.07438975002151, "calls": [{"seconds": 2.031264790915884, "usage": {"completion_tokens": 19, "prompt_tokens": 1719, "total_tokens": 1738, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1181, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1181, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1181, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0685178749263287, "usage": {"completion_tokens": 45, "prompt_tokens": 1791, "total_tokens": 1836, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 72, "cached_tokens": 1181, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 72, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 72, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.767786124954, "usage": {"completion_tokens": 67, "prompt_tokens": 2331, "total_tokens": 2398, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 540, "cached_tokens": 1253, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 540, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 540, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.232054791995324, "usage": {"completion_tokens": 298, "prompt_tokens": 3213, "total_tokens": 3511, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 248, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 882, "cached_tokens": 1793, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 882, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 882, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.807424957980402, "usage": {"completion_tokens": 444, "prompt_tokens": 3591, "total_tokens": 4035, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 256, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 378, "cached_tokens": 2675, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 378, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 378, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.133198374998756, "usage": {"completion_tokens": 170, "prompt_tokens": 4243, "total_tokens": 4413, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 652, "cached_tokens": 3053, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 652, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 652, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "72fea43ec7eae1d18c9172faaba32f3df90c3fc62818f06f2d3ab96f5ebebfd7", "csv_sha256": "7d7d2d56e01196c5b1d80ce45cb8a8ff9b53d3da10a18d64bc75ca8ca133cf4e"} +{"instance_id": "bird449", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH protein_results AS (\n SELECT ID, TRIM(\"U-PRO\") AS result\n FROM Laboratory\n), protein_amounts AS (\n SELECT ID,\n TRIM(CASE\n WHEN result GLOB '>=*' THEN SUBSTR(result, 3)\n WHEN result GLOB '+[0-9](*)' THEN SUBSTR(result, 4, LENGTH(result) - 4)\n ELSE result\n END) AS amount\n FROM protein_results\n)\nSELECT p.ID, p.SEX, p.Birthday\nFROM Patient AS p\nWHERE EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID AND l.LDH >= 500\n)\nAND EXISTS (\n SELECT 1\n FROM protein_amounts AS u\n WHERE u.ID = p.ID\n AND u.amount GLOB '[0-9]*'\n AND u.amount NOT GLOB '*[^0-9.]*'\n AND u.amount NOT GLOB '*.*.*'\n AND CAST(u.amount AS REAL) >= 100\n)\nORDER BY p.ID;\n```", "rows": 18, "sql": "WITH protein_results AS (\n SELECT ID, TRIM(\"U-PRO\") AS result\n FROM Laboratory\n), protein_amounts AS (\n SELECT ID,\n TRIM(CASE\n WHEN result GLOB '>=*' THEN SUBSTR(result, 3)\n WHEN result GLOB '+[0-9](*)' THEN SUBSTR(result, 4, LENGTH(result) - 4)\n ELSE result\n END) AS amount\n FROM protein_results\n)\nSELECT p.ID, p.SEX, p.Birthday\nFROM Patient AS p\nWHERE EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID AND l.LDH >= 500\n)\nAND EXISTS (\n SELECT 1\n FROM protein_amounts AS u\n WHERE u.ID = p.ID\n AND u.amount GLOB '[0-9]*'\n AND u.amount NOT GLOB '*[^0-9.]*'\n AND u.amount NOT GLOB '*.*.*'\n AND CAST(u.amount AS REAL) >= 100\n)\nORDER BY p.ID;", "seconds": 30.392398666008376, "calls": [{"seconds": 2.4469730829587206, "usage": {"completion_tokens": 51, "prompt_tokens": 1842, "total_tokens": 1893, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1304, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1304, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1304, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2406049170531332, "usage": {"completion_tokens": 68, "prompt_tokens": 2216, "total_tokens": 2284, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 23, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1304, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.954713915940374, "usage": {"completion_tokens": 219, "prompt_tokens": 2440, "total_tokens": 2659, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 182, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 224, "cached_tokens": 1678, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 224, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 224, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.458172749960795, "usage": {"completion_tokens": 215, "prompt_tokens": 2715, "total_tokens": 2930, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 175, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 275, "cached_tokens": 1902, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 275, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 275, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.280398458009586, "usage": {"completion_tokens": 257, "prompt_tokens": 2992, "total_tokens": 3249, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 277, "cached_tokens": 2177, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 277, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 277, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.966265292023309, "usage": {"completion_tokens": 235, "prompt_tokens": 3759, "total_tokens": 3994, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 767, "cached_tokens": 2454, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 767, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 767, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2d357f698c973b2e6683cd8f62ff56971d72fd8d88eaa4af8b26ee68bb4812b1", "csv_sha256": "093297eaa5982a4bcd3b43547288756b8c433ed821fe775d3ff81455c71d7801"} +{"instance_id": "bird450", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT p.SEX AS sex, COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE p.SEX IN ('F', 'M')\n AND NOT EXISTS (\n SELECT 1\n FROM Examination AS e\n WHERE e.ID = p.ID\n )\nGROUP BY p.SEX\nORDER BY p.SEX;\n```", "rows": 2, "sql": "SELECT p.SEX AS sex, COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE p.SEX IN ('F', 'M')\n AND NOT EXISTS (\n SELECT 1\n FROM Examination AS e\n WHERE e.ID = p.ID\n )\nGROUP BY p.SEX\nORDER BY p.SEX;", "seconds": 10.538347749970853, "calls": [{"seconds": 2.6931752499658614, "usage": {"completion_tokens": 51, "prompt_tokens": 1668, "total_tokens": 1719, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1130, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1130, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1130, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.1718435840448365, "usage": {"completion_tokens": 145, "prompt_tokens": 1867, "total_tokens": 2012, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 49, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 199, "cached_tokens": 1130, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 199, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 199, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6432613750221208, "usage": {"completion_tokens": 80, "prompt_tokens": 2123, "total_tokens": 2203, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 256, "cached_tokens": 1329, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 256, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 256, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "363b547f9f82f1f8d5a99695e0b3722905901859fa96236ff039c72e14f346c3", "csv_sha256": "95073a5e20f33856b7a3974b9b8b96c62b0f5601da8f3e976397b5ee846eb4ca"} +{"instance_id": "bird451", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT \"ID\") AS patient_count\nFROM \"Patient\"\nWHERE \"SEX\" = 'F'\n AND \"First Date\" >= '1998-01-01'\n AND \"First Date\" < '1999-01-01'\n AND \"Admission\" LIKE '+%';\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT \"ID\") AS patient_count\nFROM \"Patient\"\nWHERE \"SEX\" = 'F'\n AND \"First Date\" >= '1998-01-01'\n AND \"First Date\" < '1999-01-01'\n AND \"Admission\" LIKE '+%';", "seconds": 12.719509416958317, "calls": [{"seconds": 2.380081707960926, "usage": {"completion_tokens": 49, "prompt_tokens": 1681, "total_tokens": 1730, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1143, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1143, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1143, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.127570042037405, "usage": {"completion_tokens": 113, "prompt_tokens": 1811, "total_tokens": 1924, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 41, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 130, "cached_tokens": 1143, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 130, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 130, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1567832499276847, "usage": {"completion_tokens": 84, "prompt_tokens": 2091, "total_tokens": 2175, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 280, "cached_tokens": 1273, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 280, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 280, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.041729165939614, "usage": {"completion_tokens": 71, "prompt_tokens": 2264, "total_tokens": 2335, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 173, "cached_tokens": 1553, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 173, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 173, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f9e9d80121885e593f9662355487d5cabdf684c9b691a7e02dcb9ed94f9581d9", "csv_sha256": "36a5b05cce7028d64bb7ae54339e2de923b325116725eb3f60ca03f2b985ab94"} +{"instance_id": "bird452", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT e.\"Symptoms\", p.\"Diagnosis\" AS \"Overall Diagnosis\"\nFROM \"Examination\" AS e\nJOIN \"Patient\" AS p ON p.\"ID\" = e.\"ID\"\nWHERE NULLIF(TRIM(e.\"Symptoms\"), '') IS NOT NULL\n AND INSTR(\n ',' || REPLACE(REPLACE(REPLACE(UPPER(e.\"Diagnosis\"), ' ', ''), '+', ','), '->', ',') || ',',\n ',SLE,'\n ) > 0\nORDER BY p.\"Birthday\" DESC, p.\"ID\" ASC, e.\"Examination Date\" DESC\nLIMIT 1;\n```", "rows": 1, "sql": "SELECT e.\"Symptoms\", p.\"Diagnosis\" AS \"Overall Diagnosis\"\nFROM \"Examination\" AS e\nJOIN \"Patient\" AS p ON p.\"ID\" = e.\"ID\"\nWHERE NULLIF(TRIM(e.\"Symptoms\"), '') IS NOT NULL\n AND INSTR(\n ',' || REPLACE(REPLACE(REPLACE(UPPER(e.\"Diagnosis\"), ' ', ''), '+', ','), '->', ',') || ',',\n ',SLE,'\n ) > 0\nORDER BY p.\"Birthday\" DESC, p.\"ID\" ASC, e.\"Examination Date\" DESC\nLIMIT 1;", "seconds": 28.902418332989328, "calls": [{"seconds": 2.658845957950689, "usage": {"completion_tokens": 51, "prompt_tokens": 1730, "total_tokens": 1781, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1192, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1192, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1192, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.580609166994691, "usage": {"completion_tokens": 36, "prompt_tokens": 1929, "total_tokens": 1965, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 199, "cached_tokens": 1192, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 199, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 199, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 13.08019654196687, "usage": {"completion_tokens": 518, "prompt_tokens": 2232, "total_tokens": 2750, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 363, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 303, "cached_tokens": 1391, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 303, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 303, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.545681582996622, "usage": {"completion_tokens": 229, "prompt_tokens": 2987, "total_tokens": 3216, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 77, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 755, "cached_tokens": 1694, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 755, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 755, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.005418249987997, "usage": {"completion_tokens": 135, "prompt_tokens": 3374, "total_tokens": 3509, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 387, "cached_tokens": 2449, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 387, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 387, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "52e85a539cc8950894c038edc8a2d5eb0b79688e720e177c7779d292078e4160", "csv_sha256": "0f56ec5aa2e2a2c20201e1fddd4414bf4236acf40b791f59d40f1667528806fc"} +{"instance_id": "bird453", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT \"Diagnosis\"\nFROM \"Patient\"\nWHERE \"First Date\" >= '1998-02-15'\n AND \"First Date\" < '1998-03-01'\n AND \"Admission\" LIKE '+%'\nORDER BY julianday(\"First Date\") - julianday(\"Birthday\") DESC, \"ID\" ASC\nLIMIT 1;\n```", "rows": 1, "sql": "SELECT \"Diagnosis\"\nFROM \"Patient\"\nWHERE \"First Date\" >= '1998-02-15'\n AND \"First Date\" < '1998-03-01'\n AND \"Admission\" LIKE '+%'\nORDER BY julianday(\"First Date\") - julianday(\"Birthday\") DESC, \"ID\" ASC\nLIMIT 1;", "seconds": 16.96706129203085, "calls": [{"seconds": 2.4558210839750245, "usage": {"completion_tokens": 19, "prompt_tokens": 1696, "total_tokens": 1715, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1158, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1158, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1158, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8792003749404103, "usage": {"completion_tokens": 52, "prompt_tokens": 1768, "total_tokens": 1820, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 72, "cached_tokens": 1158, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 72, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 72, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.388607000000775, "usage": {"completion_tokens": 162, "prompt_tokens": 1977, "total_tokens": 2139, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 62, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 209, "cached_tokens": 1230, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 209, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 209, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1925456249155104, "usage": {"completion_tokens": 93, "prompt_tokens": 2342, "total_tokens": 2435, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 365, "cached_tokens": 1439, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 365, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 365, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0205299160443246, "usage": {"completion_tokens": 78, "prompt_tokens": 2530, "total_tokens": 2608, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 188, "cached_tokens": 1804, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 188, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 188, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "73bb511ad6b7485ef5f0eea0d00f5a2fffd2a2450d2f0469662cb6c5a3f9e556", "csv_sha256": "898f9011789a2577cceffd1d3220c81141a8253133aa5503a6ce5cecd3713696"} +{"instance_id": "bird454", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(\"aCL IgM\"), 1) AS average_acl_igm\nFROM \"Examination\"\nWHERE \"Examination Date\" >= '1993-10-01'\n AND \"Examination Date\" < '1993-11-01'\n AND INSTR(',' || REPLACE(\"Diagnosis\", ' ', '') || ',', ',SLE,') > 0;\n```", "rows": 1, "sql": "SELECT ROUND(AVG(\"aCL IgM\"), 1) AS average_acl_igm\nFROM \"Examination\"\nWHERE \"Examination Date\" >= '1993-10-01'\n AND \"Examination Date\" < '1993-11-01'\n AND INSTR(',' || REPLACE(\"Diagnosis\", ' ', '') || ',', ',SLE,') > 0;", "seconds": 14.92602758295834, "calls": [{"seconds": 2.4335975410649553, "usage": {"completion_tokens": 67, "prompt_tokens": 1680, "total_tokens": 1747, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1142, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1142, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1142, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8772362919989973, "usage": {"completion_tokens": 69, "prompt_tokens": 2165, "total_tokens": 2234, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1142, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.215191208990291, "usage": {"completion_tokens": 236, "prompt_tokens": 2330, "total_tokens": 2566, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 132, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 165, "cached_tokens": 1627, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 165, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 165, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.37376258301083, "usage": {"completion_tokens": 88, "prompt_tokens": 2676, "total_tokens": 2764, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 346, "cached_tokens": 1792, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 346, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 346, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2a1191d77a42e292c2484c6fe10f62dcb8767f6230736181f1ff0ab2be9b3826", "csv_sha256": "be3d50be5eb609b586dece7a08b27b836d4776c623a2178e1ec004e0afa4c6f3"} +{"instance_id": "bird455", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT ID) AS patient_count\nFROM Patient\nWHERE Diagnosis COLLATE NOCASE = 'psoriatic arthritis';\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT ID) AS patient_count\nFROM Patient\nWHERE Diagnosis COLLATE NOCASE = 'psoriatic arthritis';", "seconds": 17.07389462494757, "calls": [{"seconds": 2.072880499996245, "usage": {"completion_tokens": 15, "prompt_tokens": 1658, "total_tokens": 1673, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1120, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1120, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1120, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.0866894169012085, "usage": {"completion_tokens": 19, "prompt_tokens": 1695, "total_tokens": 1714, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 37, "cached_tokens": 1120, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 37, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 37, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.51892741699703, "usage": {"completion_tokens": 131, "prompt_tokens": 1767, "total_tokens": 1898, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 85, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 72, "cached_tokens": 1157, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 72, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 72, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.247543708072044, "usage": {"completion_tokens": 58, "prompt_tokens": 2334, "total_tokens": 2392, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 567, "cached_tokens": 1229, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 567, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 567, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.6304756669560447, "usage": {"completion_tokens": 44, "prompt_tokens": 2480, "total_tokens": 2524, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 146, "cached_tokens": 1796, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 146, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 146, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.480602249968797, "usage": {"completion_tokens": 35, "prompt_tokens": 2578, "total_tokens": 2613, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 98, "cached_tokens": 1942, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 98, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 98, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8cf97a80282ace1f0e750940c42607dc6210efb16a1d2cb584243b8abde473cd", "csv_sha256": "e6a346f080feb22ab5c9ef16688613086ef0744aa770335a912126807dcf0b52"} +{"instance_id": "bird456", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH sexes(code, sex) AS (\n VALUES ('M', 'Male'), ('F', 'Female')\n)\nSELECT s.sex,\n (\n SELECT COUNT(DISTINCT p.ID)\n FROM Patient AS p\n WHERE p.SEX = s.code\n AND NOT EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID AND l.GPT >= 60\n )\n ) AS patient_count\nFROM sexes AS s\nORDER BY s.code DESC;\n```", "rows": 2, "sql": "WITH sexes(code, sex) AS (\n VALUES ('M', 'Male'), ('F', 'Female')\n)\nSELECT s.sex,\n (\n SELECT COUNT(DISTINCT p.ID)\n FROM Patient AS p\n WHERE p.SEX = s.code\n AND NOT EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID AND l.GPT >= 60\n )\n ) AS patient_count\nFROM sexes AS s\nORDER BY s.code DESC;", "seconds": 13.27721524995286, "calls": [{"seconds": 2.3387979170074686, "usage": {"completion_tokens": 51, "prompt_tokens": 1705, "total_tokens": 1756, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1167, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1167, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1167, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.7206844160100445, "usage": {"completion_tokens": 34, "prompt_tokens": 2079, "total_tokens": 2113, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1167, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.78762095910497, "usage": {"completion_tokens": 185, "prompt_tokens": 2174, "total_tokens": 2359, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 53, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 95, "cached_tokens": 1541, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 95, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 95, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.394208375015296, "usage": {"completion_tokens": 111, "prompt_tokens": 2501, "total_tokens": 2612, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 327, "cached_tokens": 1636, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 327, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 327, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "aca1132f68a62521398598c844d0616ae9cac3ead38cabe69a9957db6e345bd6", "csv_sha256": "e6c30e1e1a424b3811a79dba5751ca5a0dc5e84a871fedaafc76a649c202c363"} +{"instance_id": "bird457", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH care_settings(admission) AS (\n VALUES ('+'), ('-')\n), qualifying_patients AS (\n SELECT p.ID,\n p.Admission,\n 2026 - CAST(strftime('%Y', p.Birthday) AS INTEGER)\n - (strftime('%m-%d', p.Birthday) > '10-09') AS completed_age\n FROM Patient AS p\n WHERE EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID AND l.RBC < 3.5\n )\n)\nSELECT s.admission AS care_setting,\n COUNT(p.ID) AS patient_count,\n ROUND(AVG(p.completed_age), 1) AS average_completed_age\nFROM care_settings AS s\nLEFT JOIN qualifying_patients AS p ON p.Admission = s.admission\nGROUP BY s.admission\nORDER BY s.admission;\n```", "rows": 2, "sql": "WITH care_settings(admission) AS (\n VALUES ('+'), ('-')\n), qualifying_patients AS (\n SELECT p.ID,\n p.Admission,\n 2026 - CAST(strftime('%Y', p.Birthday) AS INTEGER)\n - (strftime('%m-%d', p.Birthday) > '10-09') AS completed_age\n FROM Patient AS p\n WHERE EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID AND l.RBC < 3.5\n )\n)\nSELECT s.admission AS care_setting,\n COUNT(p.ID) AS patient_count,\n ROUND(AVG(p.completed_age), 1) AS average_completed_age\nFROM care_settings AS s\nLEFT JOIN qualifying_patients AS p ON p.Admission = s.admission\nGROUP BY s.admission\nORDER BY s.admission;", "seconds": 15.906102875014767, "calls": [{"seconds": 2.6018042910145596, "usage": {"completion_tokens": 67, "prompt_tokens": 1707, "total_tokens": 1774, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1169, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1169, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1169, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.789488167036325, "usage": {"completion_tokens": 388, "prompt_tokens": 2192, "total_tokens": 2580, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 175, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1169, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.484860625001602, "usage": {"completion_tokens": 189, "prompt_tokens": 2817, "total_tokens": 3006, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 625, "cached_tokens": 1654, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 625, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 625, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "03b0fd08ed4812b2960a36d22923ca37dcec021a2e0da7e0b2e15ecfe56f3b43", "csv_sha256": "e8448833fc0388b24c7c381f9985391435ba4cbdc9d5e8b200c7884dca5856a4"} +{"instance_id": "bird458", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH sexes(sex) AS (\n VALUES ('F'), ('M')\n)\nSELECT s.sex, COUNT(DISTINCT p.ID) AS patient_count\nFROM sexes AS s\nLEFT JOIN Patient AS p\n ON p.SEX = s.sex\n AND EXISTS (SELECT 1 FROM Laboratory AS l WHERE l.ID = p.ID)\nGROUP BY s.sex\nORDER BY s.sex;\n```", "rows": 2, "sql": "WITH sexes(sex) AS (\n VALUES ('F'), ('M')\n)\nSELECT s.sex, COUNT(DISTINCT p.ID) AS patient_count\nFROM sexes AS s\nLEFT JOIN Patient AS p\n ON p.SEX = s.sex\n AND EXISTS (SELECT 1 FROM Laboratory AS l WHERE l.ID = p.ID)\nGROUP BY s.sex\nORDER BY s.sex;", "seconds": 12.899014250026084, "calls": [{"seconds": 2.3545718329260126, "usage": {"completion_tokens": 51, "prompt_tokens": 1637, "total_tokens": 1688, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1099, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1099, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1099, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.158209166955203, "usage": {"completion_tokens": 241, "prompt_tokens": 2011, "total_tokens": 2252, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 138, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1099, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3649771249620244, "usage": {"completion_tokens": 87, "prompt_tokens": 2370, "total_tokens": 2457, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 359, "cached_tokens": 1473, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 359, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 359, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "c456ea131008f142e3f5ca87bf9fd27d160f90b1e7f0c20538fd4a745d851913", "csv_sha256": "2c834847728b27234555a97f248099070c279695d6fdb94cc1791d887d75e9bd"} +{"instance_id": "bird459", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(NULLIF(e.\"aCL IgM\", 0)), 2) AS average_anticardiolipin_igm\nFROM Examination AS e\nJOIN Patient AS p ON p.ID = e.ID\nWHERE UPPER(p.Diagnosis) LIKE '%SJS%'\n AND UPPER(p.Diagnosis) NOT LIKE '%SJS SUSP%';\n```", "rows": 1, "sql": "SELECT ROUND(AVG(NULLIF(e.\"aCL IgM\", 0)), 2) AS average_anticardiolipin_igm\nFROM Examination AS e\nJOIN Patient AS p ON p.ID = e.ID\nWHERE UPPER(p.Diagnosis) LIKE '%SJS%'\n AND UPPER(p.Diagnosis) NOT LIKE '%SJS SUSP%';", "seconds": 29.81787208293099, "calls": [{"seconds": 2.2326122500235215, "usage": {"completion_tokens": 19, "prompt_tokens": 1778, "total_tokens": 1797, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1240, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1240, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1240, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.2643954580416903, "usage": {"completion_tokens": 20, "prompt_tokens": 1850, "total_tokens": 1870, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 72, "cached_tokens": 1240, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 72, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 72, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0372015830362216, "usage": {"completion_tokens": 56, "prompt_tokens": 1967, "total_tokens": 2023, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 117, "cached_tokens": 1312, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 117, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 117, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.950915125082247, "usage": {"completion_tokens": 67, "prompt_tokens": 2764, "total_tokens": 2831, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 797, "cached_tokens": 1429, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 797, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 797, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.75140770804137, "usage": {"completion_tokens": 284, "prompt_tokens": 3627, "total_tokens": 3911, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 171, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 863, "cached_tokens": 2226, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 863, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 863, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.021503624971956, "usage": {"completion_tokens": 185, "prompt_tokens": 4131, "total_tokens": 4316, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 80, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 504, "cached_tokens": 3089, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 504, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 504, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1825369159923866, "usage": {"completion_tokens": 96, "prompt_tokens": 4467, "total_tokens": 4563, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 336, "cached_tokens": 3593, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 336, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 336, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3425936250714585, "usage": {"completion_tokens": 85, "prompt_tokens": 4675, "total_tokens": 4760, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 208, "cached_tokens": 3929, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 208, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 208, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "85ddffed21d26b25fb268b4fa114abd34f85d957586e7b1b07f59e304945d030", "csv_sha256": "6d6969e64fd8f842017ce8c0c45757398892424ba4bfe71f657a53309bfe2ecb"} +{"instance_id": "bird460", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nJOIN Examination AS e ON e.ID = p.ID\nWHERE p.SEX = 'F'\n AND INSTR(',' || REPLACE(LOWER(TRIM(e.Diagnosis)), ', ', ',') || ',', ',sjs,') > 0;\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nJOIN Examination AS e ON e.ID = p.ID\nWHERE p.SEX = 'F'\n AND INSTR(',' || REPLACE(LOWER(TRIM(e.Diagnosis)), ', ', ',') || ',', ',sjs,') > 0;", "seconds": 14.183067334000953, "calls": [{"seconds": 2.5117939999327064, "usage": {"completion_tokens": 51, "prompt_tokens": 1668, "total_tokens": 1719, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1130, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1130, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1130, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9745660829357803, "usage": {"completion_tokens": 69, "prompt_tokens": 1867, "total_tokens": 1936, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 199, "cached_tokens": 1130, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 199, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 199, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.5522185830632225, "usage": {"completion_tokens": 207, "prompt_tokens": 2193, "total_tokens": 2400, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 119, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 326, "cached_tokens": 1329, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 326, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 326, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1184328329982236, "usage": {"completion_tokens": 77, "prompt_tokens": 2496, "total_tokens": 2573, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 303, "cached_tokens": 1655, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 303, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 303, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7efcfc763e4b6e61eda395b806851e60a5c383f5f235ddd36e450dff9c0dc313", "csv_sha256": "e3d1497d19170cd96d864f34af085453e9ec776c51c86c27058780bddcda16d0"} +{"instance_id": "bird461", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE p.Admission = '-'\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.RNP IN ('negative', '0')\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE p.Admission = '-'\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.RNP IN ('negative', '0')\n );", "seconds": 16.157927999971434, "calls": [{"seconds": 2.6234206249937415, "usage": {"completion_tokens": 67, "prompt_tokens": 1671, "total_tokens": 1738, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1133, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1133, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1133, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.096861958038062, "usage": {"completion_tokens": 104, "prompt_tokens": 2156, "total_tokens": 2260, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 32, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1133, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.5281794999027625, "usage": {"completion_tokens": 219, "prompt_tokens": 2460, "total_tokens": 2679, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 87, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 304, "cached_tokens": 1618, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 304, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 304, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.871182792005129, "usage": {"completion_tokens": 69, "prompt_tokens": 2823, "total_tokens": 2892, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 363, "cached_tokens": 1922, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 363, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 363, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b6fae5909773c4022ee0fac39929f0ee8be0fe92f3bf3a0d187064811d145523", "csv_sha256": "12f32d62131d6d4bcbd206ac8453c2259220c0470d5adcdc86a6d85ee452a52d"} +{"instance_id": "bird462", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH proteinuria AS (\n SELECT ID,\n CAST(CASE\n WHEN TRIM(\"U-PRO\") IN ('-', 'TR') THEN '0'\n WHEN INSTR(\"U-PRO\", '(') > 0\n THEN SUBSTR(\"U-PRO\", INSTR(\"U-PRO\", '(') + 1)\n ELSE LTRIM(\"U-PRO\", ' >=')\n END AS REAL) AS mg_dl\n FROM Laboratory\n)\nSELECT COUNT(DISTINCT e.ID) AS patient_count\nFROM Examination AS e\nWHERE e.Thrombosis = 0\n AND NOT EXISTS (\n SELECT 1\n FROM Examination AS other\n WHERE other.ID = e.ID AND other.Thrombosis <> 0\n )\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = e.ID AND LOWER(TRIM(l.SM)) IN ('negative', '0')\n )\n AND EXISTS (\n SELECT 1\n FROM proteinuria AS p\n WHERE p.ID = e.ID AND p.mg_dl >= 30\n );\n```", "rows": 1, "sql": "WITH proteinuria AS (\n SELECT ID,\n CAST(CASE\n WHEN TRIM(\"U-PRO\") IN ('-', 'TR') THEN '0'\n WHEN INSTR(\"U-PRO\", '(') > 0\n THEN SUBSTR(\"U-PRO\", INSTR(\"U-PRO\", '(') + 1)\n ELSE LTRIM(\"U-PRO\", ' >=')\n END AS REAL) AS mg_dl\n FROM Laboratory\n)\nSELECT COUNT(DISTINCT e.ID) AS patient_count\nFROM Examination AS e\nWHERE e.Thrombosis = 0\n AND NOT EXISTS (\n SELECT 1\n FROM Examination AS other\n WHERE other.ID = e.ID AND other.Thrombosis <> 0\n )\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = e.ID AND LOWER(TRIM(l.SM)) IN ('negative', '0')\n )\n AND EXISTS (\n SELECT 1\n FROM proteinuria AS p\n WHERE p.ID = e.ID AND p.mg_dl >= 30\n );", "seconds": 30.864025167073123, "calls": [{"seconds": 2.4554105000570416, "usage": {"completion_tokens": 67, "prompt_tokens": 1714, "total_tokens": 1781, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1176, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1176, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1176, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.960237375111319, "usage": {"completion_tokens": 290, "prompt_tokens": 2199, "total_tokens": 2489, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 203, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1176, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 15.36940091708675, "usage": {"completion_tokens": 650, "prompt_tokens": 2800, "total_tokens": 3450, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 386, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 601, "cached_tokens": 1661, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 601, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 601, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.046034542028792, "usage": {"completion_tokens": 257, "prompt_tokens": 3707, "total_tokens": 3964, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 17, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 907, "cached_tokens": 2262, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 907, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 907, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "c9a05ade7c62b1b40c3b2fad9e9be6143b5627a8b50ea08134459492095e8fff", "csv_sha256": "e6a346f080feb22ab5c9ef16688613086ef0744aa770335a912126807dcf0b52"} +{"instance_id": "bird463", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT DISTINCT p.ID\nFROM Patient AS p\nWHERE p.Admission = '-'\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND (l.RBC <= 3.5 OR l.RBC >= 6.0)\n )\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND CAST(l.RNP AS REAL) > 0\n )\nORDER BY p.ID;\n```", "rows": 5, "sql": "SELECT DISTINCT p.ID\nFROM Patient AS p\nWHERE p.Admission = '-'\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND (l.RBC <= 3.5 OR l.RBC >= 6.0)\n )\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND CAST(l.RNP AS REAL) > 0\n )\nORDER BY p.ID;", "seconds": 13.923950833035633, "calls": [{"seconds": 2.773291707970202, "usage": {"completion_tokens": 67, "prompt_tokens": 1710, "total_tokens": 1777, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1172, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1172, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1172, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4204049590043724, "usage": {"completion_tokens": 85, "prompt_tokens": 2195, "total_tokens": 2280, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 38, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1172, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.012651499942876, "usage": {"completion_tokens": 130, "prompt_tokens": 2379, "total_tokens": 2509, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 184, "cached_tokens": 1657, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 184, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 184, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6776090830098838, "usage": {"completion_tokens": 114, "prompt_tokens": 2659, "total_tokens": 2773, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 280, "cached_tokens": 1841, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 280, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 280, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9cfdec98091907cc8cdc0f38453548a12c4283dea36310f50ced42708a29c210", "csv_sha256": "ef8264960326178eb91d992fd18818553bbbe6a5c02cfe246f186a7664c1bc82"} +{"instance_id": "bird464", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH patient_ages AS (\n SELECT\n CAST(strftime('%Y', '2026-10-09') AS INTEGER)\n - CAST(strftime('%Y', p.Birthday) AS INTEGER)\n - (strftime('%m-%d', p.Birthday) > '10-09') AS age_years\n FROM Patient AS p\n WHERE EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND CAST(l.RNP AS REAL) >= 64\n )\n)\nSELECT ROUND(AVG(age_years), 1) AS average_age\nFROM patient_ages\nWHERE age_years < 70;\n```", "rows": 1, "sql": "WITH patient_ages AS (\n SELECT\n CAST(strftime('%Y', '2026-10-09') AS INTEGER)\n - CAST(strftime('%Y', p.Birthday) AS INTEGER)\n - (strftime('%m-%d', p.Birthday) > '10-09') AS age_years\n FROM Patient AS p\n WHERE EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND CAST(l.RNP AS REAL) >= 64\n )\n)\nSELECT ROUND(AVG(age_years), 1) AS average_age\nFROM patient_ages\nWHERE age_years < 70;", "seconds": 20.658129750052467, "calls": [{"seconds": 2.7907351249596104, "usage": {"completion_tokens": 51, "prompt_tokens": 1692, "total_tokens": 1743, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1154, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1154, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1154, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.195725791971199, "usage": {"completion_tokens": 215, "prompt_tokens": 2066, "total_tokens": 2281, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 91, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1154, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.881419584038667, "usage": {"completion_tokens": 324, "prompt_tokens": 2497, "total_tokens": 2821, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 159, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 431, "cached_tokens": 1528, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 431, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 431, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7555301249958575, "usage": {"completion_tokens": 147, "prompt_tokens": 2989, "total_tokens": 3136, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 492, "cached_tokens": 1959, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 492, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 492, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1601de1727b20c5b46b123e4d18de3c1e6cda3688c920dccffba5d87b6d7dc9d", "csv_sha256": "f1f3deeaceec4bb703ef910d7d0d78b38cff36409993658a6aed7790a124c848"} +{"instance_id": "bird465", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT p.ID) AS female_patient_count\nFROM Patient AS p\nJOIN Laboratory AS l ON l.ID = p.ID\nWHERE p.SEX = 'F'\n AND l.WBC > 3.5\n AND l.WBC < 9.0\n AND (l.FG <= 150 OR l.FG >= 450)\n AND CAST(l.RNP AS REAL) > 15;\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT p.ID) AS female_patient_count\nFROM Patient AS p\nJOIN Laboratory AS l ON l.ID = p.ID\nWHERE p.SEX = 'F'\n AND l.WBC > 3.5\n AND l.WBC < 9.0\n AND (l.FG <= 150 OR l.FG >= 450)\n AND CAST(l.RNP AS REAL) > 15;", "seconds": 15.211203125072643, "calls": [{"seconds": 2.5855136669706553, "usage": {"completion_tokens": 51, "prompt_tokens": 1683, "total_tokens": 1734, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1145, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1145, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1145, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.750698040938005, "usage": {"completion_tokens": 169, "prompt_tokens": 2057, "total_tokens": 2226, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 69, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1145, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5543079579947516, "usage": {"completion_tokens": 108, "prompt_tokens": 2410, "total_tokens": 2518, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 353, "cached_tokens": 1519, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 353, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 353, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2859608749859035, "usage": {"completion_tokens": 97, "prompt_tokens": 2635, "total_tokens": 2732, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 225, "cached_tokens": 1872, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 225, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 225, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "38b11f01e9f2ed292f9e2708e919bf115133633a49efe91906bff2deb405d87d", "csv_sha256": "e162b80d5d05320de579aa20871167daadf1fefdbc98187132aa1933427ad1f3"} +{"instance_id": "bird466", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(100.0 * COUNT(CASE WHEN p.SEX = 'F' THEN 1 END) / NULLIF(COUNT(*), 0), 1) AS women_percentage\nFROM Patient AS p\nWHERE p.SEX IN ('F', 'M')\n AND strftime('%Y', p.Birthday) BETWEEN '1936' AND '1956'\n AND NOT EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID AND l.CPK >= 250\n );\n```", "rows": 1, "sql": "SELECT ROUND(100.0 * COUNT(CASE WHEN p.SEX = 'F' THEN 1 END) / NULLIF(COUNT(*), 0), 1) AS women_percentage\nFROM Patient AS p\nWHERE p.SEX IN ('F', 'M')\n AND strftime('%Y', p.Birthday) BETWEEN '1936' AND '1956'\n AND NOT EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID AND l.CPK >= 250\n );", "seconds": 13.624917874927633, "calls": [{"seconds": 2.8068034999305382, "usage": {"completion_tokens": 67, "prompt_tokens": 1702, "total_tokens": 1769, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1164, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1164, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1164, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3177205830579624, "usage": {"completion_tokens": 90, "prompt_tokens": 2187, "total_tokens": 2277, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1164, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.011729333898984, "usage": {"completion_tokens": 131, "prompt_tokens": 2486, "total_tokens": 2617, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 299, "cached_tokens": 1649, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 299, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 299, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.456084999954328, "usage": {"completion_tokens": 118, "prompt_tokens": 2756, "total_tokens": 2874, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 270, "cached_tokens": 1948, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 270, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 270, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8d50cccd7e7db1d2112c36e5061aa341e9855d9116ec515cc0748ea94be051be", "csv_sha256": "737a936a1c19d8d672f9b30a75fc6d8ccb41d634e41ebec6c1e3193f0fb55946"} +{"instance_id": "bird467", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nJOIN Laboratory AS l ON l.ID = p.ID\nWHERE date(l.\"Date\") >= '1981-01-01'\n AND date(l.\"Date\") < '1987-01-01'\n AND (\n CAST(strftime('%Y', l.\"Date\") AS INTEGER)\n - CAST(strftime('%Y', p.Birthday) AS INTEGER)\n - (strftime('%m-%d', l.\"Date\") < strftime('%m-%d', p.Birthday))\n ) < 50\n AND l.PLT BETWEEN 100 AND 400\n AND (\n UPPER(TRIM(l.\"U-PRO\")) = 'TR'\n OR TRIM(l.\"U-PRO\") GLOB '%*%'\n OR CAST(TRIM(l.\"U-PRO\") AS REAL) > 0\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nJOIN Laboratory AS l ON l.ID = p.ID\nWHERE date(l.\"Date\") >= '1981-01-01'\n AND date(l.\"Date\") < '1987-01-01'\n AND (\n CAST(strftime('%Y', l.\"Date\") AS INTEGER)\n - CAST(strftime('%Y', p.Birthday) AS INTEGER)\n - (strftime('%m-%d', l.\"Date\") < strftime('%m-%d', p.Birthday))\n ) < 50\n AND l.PLT BETWEEN 100 AND 400\n AND (\n UPPER(TRIM(l.\"U-PRO\")) = 'TR'\n OR TRIM(l.\"U-PRO\") GLOB '%*%'\n OR CAST(TRIM(l.\"U-PRO\") AS REAL) > 0\n );", "seconds": 20.58979487500619, "calls": [{"seconds": 2.480906957993284, "usage": {"completion_tokens": 51, "prompt_tokens": 1758, "total_tokens": 1809, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1220, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1220, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1220, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.224666625028476, "usage": {"completion_tokens": 73, "prompt_tokens": 2132, "total_tokens": 2205, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1220, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.396567750023678, "usage": {"completion_tokens": 343, "prompt_tokens": 2311, "total_tokens": 2654, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 125, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 179, "cached_tokens": 1594, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 179, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 179, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.452202874934301, "usage": {"completion_tokens": 195, "prompt_tokens": 2868, "total_tokens": 3063, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 557, "cached_tokens": 1773, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 557, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 557, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "29eaef957fc12450c2f5ea435aba7c297995387189953435953c695ad51f851b", "csv_sha256": "caf1cad46f39c26753b9d56f1c588b4e5ed6184d04b3ad369b9f09bd3510847e"} +{"instance_id": "bird468", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(oxygen_count), 4) AS avg_oxygen_atoms_per_molecule\nFROM (\n SELECT m.molecule_id, COUNT(a.atom_id) AS oxygen_count\n FROM molecule AS m\n LEFT JOIN atom AS a\n ON a.molecule_id = m.molecule_id AND a.element = 'o'\n WHERE EXISTS (\n SELECT 1\n FROM bond AS b\n WHERE b.molecule_id = m.molecule_id AND b.bond_type = '-'\n )\n GROUP BY m.molecule_id\n) AS molecule_oxygen_counts;\n```", "rows": 1, "sql": "SELECT ROUND(AVG(oxygen_count), 4) AS avg_oxygen_atoms_per_molecule\nFROM (\n SELECT m.molecule_id, COUNT(a.atom_id) AS oxygen_count\n FROM molecule AS m\n LEFT JOIN atom AS a\n ON a.molecule_id = m.molecule_id AND a.element = 'o'\n WHERE EXISTS (\n SELECT 1\n FROM bond AS b\n WHERE b.molecule_id = m.molecule_id AND b.bond_type = '-'\n )\n GROUP BY m.molecule_id\n) AS molecule_oxygen_counts;", "seconds": 14.978311292012222, "calls": [{"seconds": 2.722382916021161, "usage": {"completion_tokens": 81, "prompt_tokens": 1635, "total_tokens": 1716, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1094, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1094, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1094, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.374014833010733, "usage": {"completion_tokens": 34, "prompt_tokens": 1839, "total_tokens": 1873, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 204, "cached_tokens": 1094, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 204, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 204, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.3386731250211596, "usage": {"completion_tokens": 26, "prompt_tokens": 1911, "total_tokens": 1937, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 72, "cached_tokens": 1298, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 72, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 72, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.995134708005935, "usage": {"completion_tokens": 143, "prompt_tokens": 2006, "total_tokens": 2149, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 95, "cached_tokens": 1370, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 95, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 95, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3942793749738485, "usage": {"completion_tokens": 128, "prompt_tokens": 2304, "total_tokens": 2432, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 298, "cached_tokens": 1465, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 298, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 298, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f2274c242f5fc59c7a466a3da5779176d2355b9d7c6ce5a05c56624ea90e803f", "csv_sha256": "de6cee93d9fead183153ef0febe1d09ab2cdac26e73bea3cd202d1d2f6b93951"} +{"instance_id": "bird469", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH single_bond_counts AS (\n SELECT b.molecule_id, COUNT(*) AS single_bond_count\n FROM bond AS b\n WHERE b.bond_type = '-'\n AND EXISTS (\n SELECT 1\n FROM molecule AS m\n WHERE m.molecule_id = b.molecule_id\n AND m.label = '+'\n )\n GROUP BY b.molecule_id\n)\nSELECT AVG(single_bond_count) AS average_single_bonds_per_molecule\nFROM single_bond_counts;\n```", "rows": 1, "sql": "WITH single_bond_counts AS (\n SELECT b.molecule_id, COUNT(*) AS single_bond_count\n FROM bond AS b\n WHERE b.bond_type = '-'\n AND EXISTS (\n SELECT 1\n FROM molecule AS m\n WHERE m.molecule_id = b.molecule_id\n AND m.label = '+'\n )\n GROUP BY b.molecule_id\n)\nSELECT AVG(single_bond_count) AS average_single_bonds_per_molecule\nFROM single_bond_counts;", "seconds": 12.599954000092112, "calls": [{"seconds": 2.8711761670419946, "usage": {"completion_tokens": 20, "prompt_tokens": 1632, "total_tokens": 1652, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1091, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1091, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1091, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.204855249961838, "usage": {"completion_tokens": 19, "prompt_tokens": 1681, "total_tokens": 1700, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 49, "cached_tokens": 1091, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 49, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 49, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.134244584012777, "usage": {"completion_tokens": 160, "prompt_tokens": 1735, "total_tokens": 1895, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 30, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 54, "cached_tokens": 1140, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 54, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 54, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.353656042017974, "usage": {"completion_tokens": 112, "prompt_tokens": 2033, "total_tokens": 2145, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 298, "cached_tokens": 1194, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 298, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 298, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1643201baa681423fde62bbd4314ac51856b07ecb3932cc9ac829b607b7f2540", "csv_sha256": "a31d59cea22b9e08aa32d4c964f7fb726eb150298b9d8777dbcffb4a4811aef0"} +{"instance_id": "bird470", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH element_counts AS (\n SELECT a.element, COUNT(*) AS atom_count\n FROM atom AS a\n JOIN molecule AS m ON m.molecule_id = a.molecule_id\n WHERE m.label = '-'\n GROUP BY a.element\n)\nSELECT element\nFROM element_counts\nWHERE atom_count = (SELECT MIN(atom_count) FROM element_counts);\n```", "rows": 3, "sql": "WITH element_counts AS (\n SELECT a.element, COUNT(*) AS atom_count\n FROM atom AS a\n JOIN molecule AS m ON m.molecule_id = a.molecule_id\n WHERE m.label = '-'\n GROUP BY a.element\n)\nSELECT element\nFROM element_counts\nWHERE atom_count = (SELECT MIN(atom_count) FROM element_counts);", "seconds": 17.63717933301814, "calls": [{"seconds": 2.9012860419461504, "usage": {"completion_tokens": 66, "prompt_tokens": 1630, "total_tokens": 1696, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1089, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1089, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1089, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.40451954107266, "usage": {"completion_tokens": 303, "prompt_tokens": 1786, "total_tokens": 2089, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 186, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 156, "cached_tokens": 1089, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 156, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 156, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4162431670119986, "usage": {"completion_tokens": 93, "prompt_tokens": 2207, "total_tokens": 2300, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 421, "cached_tokens": 1245, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 421, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 421, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.887329624965787, "usage": {"completion_tokens": 81, "prompt_tokens": 2403, "total_tokens": 2484, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 196, "cached_tokens": 1666, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 196, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 196, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "702680498a3ef3579413a5bdbafb45105ea10952933fecb1e6a893d847b934d0", "csv_sha256": "9aecc6d231b8b61845f388e456946eb06a5d65c11af1bc0cdb0fe9d6b8a32c56"} +{"instance_id": "bird471", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH single_bond_atoms AS (\n SELECT c.atom_id AS atom_id\n FROM connected AS c\n JOIN bond AS b ON b.bond_id = c.bond_id\n WHERE b.bond_type = '-'\n UNION\n SELECT c.atom_id2 AS atom_id\n FROM connected AS c\n JOIN bond AS b ON b.bond_id = c.bond_id\n WHERE b.bond_type = '-'\n)\nSELECT\n COUNT(DISTINCT CASE WHEN a.element = 'i' THEN a.atom_id END) AS iodine_atoms,\n COUNT(DISTINCT CASE WHEN a.element = 's' THEN a.atom_id END) AS sulfur_atoms\nFROM atom AS a\nJOIN single_bond_atoms AS s ON s.atom_id = a.atom_id\nWHERE a.element IN ('i', 's');\n```", "rows": 1, "sql": "WITH single_bond_atoms AS (\n SELECT c.atom_id AS atom_id\n FROM connected AS c\n JOIN bond AS b ON b.bond_id = c.bond_id\n WHERE b.bond_type = '-'\n UNION\n SELECT c.atom_id2 AS atom_id\n FROM connected AS c\n JOIN bond AS b ON b.bond_id = c.bond_id\n WHERE b.bond_type = '-'\n)\nSELECT\n COUNT(DISTINCT CASE WHEN a.element = 'i' THEN a.atom_id END) AS iodine_atoms,\n COUNT(DISTINCT CASE WHEN a.element = 's' THEN a.atom_id END) AS sulfur_atoms\nFROM atom AS a\nJOIN single_bond_atoms AS s ON s.atom_id = a.atom_id\nWHERE a.element IN ('i', 's');", "seconds": 17.150009167031385, "calls": [{"seconds": 2.6791289589600638, "usage": {"completion_tokens": 80, "prompt_tokens": 1623, "total_tokens": 1703, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1082, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1082, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1082, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.557978167082183, "usage": {"completion_tokens": 50, "prompt_tokens": 1835, "total_tokens": 1885, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 212, "cached_tokens": 1082, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 212, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 212, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.680541916983202, "usage": {"completion_tokens": 133, "prompt_tokens": 1934, "total_tokens": 2067, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 99, "cached_tokens": 1294, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 99, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 99, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.219514333992265, "usage": {"completion_tokens": 193, "prompt_tokens": 2328, "total_tokens": 2521, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 394, "cached_tokens": 1393, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 394, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 394, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9000115840462968, "usage": {"completion_tokens": 179, "prompt_tokens": 2728, "total_tokens": 2907, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 400, "cached_tokens": 1787, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 400, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 400, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "dedccdedbc29ba1872a78068d577f091971c7136ac141462097df657cfe57935", "csv_sha256": "f87feeb22d8a153bb3785121bb6ec30a3406bb061e4976e6e174674765ab0d8a"} +{"instance_id": "bird472", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(100.0 * COUNT(CASE WHEN NOT EXISTS (\n SELECT 1\n FROM atom AS a\n WHERE a.molecule_id = m.molecule_id AND a.element = 'f'\n) THEN 1 END) / COUNT(*), 2) AS percentage\nFROM molecule AS m\nWHERE m.label = '+';\n```", "rows": 1, "sql": "SELECT ROUND(100.0 * COUNT(CASE WHEN NOT EXISTS (\n SELECT 1\n FROM atom AS a\n WHERE a.molecule_id = m.molecule_id AND a.element = 'f'\n) THEN 1 END) / COUNT(*), 2) AS percentage\nFROM molecule AS m\nWHERE m.label = '+';", "seconds": 13.65483333391603, "calls": [{"seconds": 2.729666749946773, "usage": {"completion_tokens": 66, "prompt_tokens": 1622, "total_tokens": 1688, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1081, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1081, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1081, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.63522308296524, "usage": {"completion_tokens": 36, "prompt_tokens": 1778, "total_tokens": 1814, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 156, "cached_tokens": 1081, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 156, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 156, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.105574500048533, "usage": {"completion_tokens": 26, "prompt_tokens": 1854, "total_tokens": 1880, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 76, "cached_tokens": 1237, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 76, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 76, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.154526042053476, "usage": {"completion_tokens": 89, "prompt_tokens": 1949, "total_tokens": 2038, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 95, "cached_tokens": 1313, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 95, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 95, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.897430874989368, "usage": {"completion_tokens": 78, "prompt_tokens": 2136, "total_tokens": 2214, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 187, "cached_tokens": 1408, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 187, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 187, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "164ae503cd6f41fab64d922ccbaa3b77cdaa4b715859f7c0ed7490ca8a8cad48", "csv_sha256": "17dbccfdb2f31440f80a5d86feedc8284523f2656ee1a6432ce3b045c91ffdbf"} +{"instance_id": "bird473", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH bond_counts AS (\n SELECT bond_type, COUNT(*) AS bond_count\n FROM bond\n WHERE molecule_id = 'TR010'\n GROUP BY bond_type\n)\nSELECT bc.bond_type,\n CASE m.label WHEN '+' THEN 'YES' WHEN '-' THEN 'NO' END AS carcinogenic\nFROM molecule AS m\nCROSS JOIN bond_counts AS bc\nWHERE m.molecule_id = 'TR010'\n AND bc.bond_count = (SELECT MAX(bond_count) FROM bond_counts);\n```", "rows": 1, "sql": "WITH bond_counts AS (\n SELECT bond_type, COUNT(*) AS bond_count\n FROM bond\n WHERE molecule_id = 'TR010'\n GROUP BY bond_type\n)\nSELECT bc.bond_type,\n CASE m.label WHEN '+' THEN 'YES' WHEN '-' THEN 'NO' END AS carcinogenic\nFROM molecule AS m\nCROSS JOIN bond_counts AS bc\nWHERE m.molecule_id = 'TR010'\n AND bc.bond_count = (SELECT MAX(bond_count) FROM bond_counts);", "seconds": 12.013908999972045, "calls": [{"seconds": 2.9834864999866113, "usage": {"completion_tokens": 81, "prompt_tokens": 1640, "total_tokens": 1721, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1099, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1099, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1099, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.808574374997988, "usage": {"completion_tokens": 175, "prompt_tokens": 1851, "total_tokens": 2026, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 47, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 211, "cached_tokens": 1099, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 211, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 211, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.2011998750967905, "usage": {"completion_tokens": 112, "prompt_tokens": 2164, "total_tokens": 2276, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 313, "cached_tokens": 1310, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 313, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 313, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "bcfadbdf11ea87c5d4116c4a64d8595603696ce377007476da92c3568d6ae428", "csv_sha256": "302da4931ca2bb3dc9110ef808c01b0a16e53b45e6853aba6207ced1f77b2c22"} +{"instance_id": "bird474", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT DISTINCT b.bond_id\nFROM bond AS b\nJOIN connected AS c ON c.bond_id = b.bond_id\nJOIN atom AS a1 ON a1.atom_id = c.atom_id\nJOIN atom AS a2 ON a2.atom_id = c.atom_id2\nWHERE (a1.element = 'p' AND a2.element = 'n')\n OR (a1.element = 'n' AND a2.element = 'p');\n```", "rows": 6, "sql": "SELECT DISTINCT b.bond_id\nFROM bond AS b\nJOIN connected AS c ON c.bond_id = b.bond_id\nJOIN atom AS a1 ON a1.atom_id = c.atom_id\nJOIN atom AS a2 ON a2.atom_id = c.atom_id2\nWHERE (a1.element = 'p' AND a2.element = 'n')\n OR (a1.element = 'n' AND a2.element = 'p');", "seconds": 17.822252332931384, "calls": [{"seconds": 2.6410790838999674, "usage": {"completion_tokens": 80, "prompt_tokens": 1603, "total_tokens": 1683, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1062, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1062, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1062, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.605508000007831, "usage": {"completion_tokens": 168, "prompt_tokens": 1815, "total_tokens": 1983, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 110, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 212, "cached_tokens": 1062, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 212, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 212, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.6071204169420525, "usage": {"completion_tokens": 29, "prompt_tokens": 2038, "total_tokens": 2067, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 223, "cached_tokens": 1274, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 223, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 223, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4333624580176547, "usage": {"completion_tokens": 112, "prompt_tokens": 2135, "total_tokens": 2247, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 97, "cached_tokens": 1497, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 97, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 97, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4830051669850945, "usage": {"completion_tokens": 101, "prompt_tokens": 2407, "total_tokens": 2508, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 272, "cached_tokens": 1594, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 272, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 272, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b0d7106a3905078e2d2a5557a17ae6870379434470b16dcbcd6e5dfc1daecbdf", "csv_sha256": "2e95b8b47014946cc2755912708b48fbea525552de6f8f49fe353daf4142591e"} +{"instance_id": "bird475", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT DISTINCT a.element\nFROM atom AS a\nWHERE NOT EXISTS (\n SELECT 1\n FROM connected AS c\n WHERE c.atom_id = a.atom_id OR c.atom_id2 = a.atom_id\n);\n```", "rows": 5, "sql": "SELECT DISTINCT a.element\nFROM atom AS a\nWHERE NOT EXISTS (\n SELECT 1\n FROM connected AS c\n WHERE c.atom_id = a.atom_id OR c.atom_id2 = a.atom_id\n);", "seconds": 20.42752762499731, "calls": [{"seconds": 2.760884250048548, "usage": {"completion_tokens": 80, "prompt_tokens": 1603, "total_tokens": 1683, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1062, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1062, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1062, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.73207187501248, "usage": {"completion_tokens": 322, "prompt_tokens": 1815, "total_tokens": 2137, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 257, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 212, "cached_tokens": 1062, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 212, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 212, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.823911082930863, "usage": {"completion_tokens": 53, "prompt_tokens": 2216, "total_tokens": 2269, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 401, "cached_tokens": 1274, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 401, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 401, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "70ec760cddf320e7eea2cfe45d64f88d448dc0f47314840f5f27fb66b68232c2", "csv_sha256": "a74c96bf547c3b6adf10013d1efce662576fac7a4910eab83156a44fd4ddc97e"} +{"instance_id": "bird476", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS atom_count\nFROM atom AS a\nWHERE EXISTS (\n SELECT 1\n FROM bond AS b\n WHERE b.molecule_id = a.molecule_id\n AND b.bond_type = '#'\n)\nAND EXISTS (\n SELECT 1\n FROM atom AS pb\n WHERE pb.molecule_id = a.molecule_id\n AND pb.element IN ('p', 'br')\n);\n```", "rows": 1, "sql": "SELECT COUNT(*) AS atom_count\nFROM atom AS a\nWHERE EXISTS (\n SELECT 1\n FROM bond AS b\n WHERE b.molecule_id = a.molecule_id\n AND b.bond_type = '#'\n)\nAND EXISTS (\n SELECT 1\n FROM atom AS pb\n WHERE pb.molecule_id = a.molecule_id\n AND pb.element IN ('p', 'br')\n);", "seconds": 15.860223458032124, "calls": [{"seconds": 3.103350167046301, "usage": {"completion_tokens": 96, "prompt_tokens": 1626, "total_tokens": 1722, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1085, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1085, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1085, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1959977080114186, "usage": {"completion_tokens": 90, "prompt_tokens": 1881, "total_tokens": 1971, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1085, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.041449874988757, "usage": {"completion_tokens": 109, "prompt_tokens": 2088, "total_tokens": 2197, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 207, "cached_tokens": 1340, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 207, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 207, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1637145000277087, "usage": {"completion_tokens": 94, "prompt_tokens": 2310, "total_tokens": 2404, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 222, "cached_tokens": 1547, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 222, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 222, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7a0b58626a53637cfc48a2ead3384f9247e1c691a655ec5b76352772b361e78b", "csv_sha256": "7b6d631b9d0649bedce9b5c78f83f57a9891a74647c385737cd3f2bf71a39fed"} +{"instance_id": "bird477", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(100.0 * COUNT(CASE WHEN a.element = 'cl' THEN 1 END) / COUNT(*), 4) AS chlorine_percentage\nFROM atom AS a\nWHERE EXISTS (\n SELECT 1\n FROM bond AS b\n WHERE b.molecule_id = a.molecule_id\n AND b.bond_type = '-'\n);\n```", "rows": 1, "sql": "SELECT ROUND(100.0 * COUNT(CASE WHEN a.element = 'cl' THEN 1 END) / COUNT(*), 4) AS chlorine_percentage\nFROM atom AS a\nWHERE EXISTS (\n SELECT 1\n FROM bond AS b\n WHERE b.molecule_id = a.molecule_id\n AND b.bond_type = '-'\n);", "seconds": 15.945744250086136, "calls": [{"seconds": 2.5200874579604715, "usage": {"completion_tokens": 81, "prompt_tokens": 1627, "total_tokens": 1708, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1086, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1086, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1086, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.7630349579267204, "usage": {"completion_tokens": 44, "prompt_tokens": 1831, "total_tokens": 1875, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 204, "cached_tokens": 1086, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 204, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 204, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.6507616250310093, "usage": {"completion_tokens": 39, "prompt_tokens": 1923, "total_tokens": 1962, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 92, "cached_tokens": 1290, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 92, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 92, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2555762499105185, "usage": {"completion_tokens": 93, "prompt_tokens": 2101, "total_tokens": 2194, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 178, "cached_tokens": 1382, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 178, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 178, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0226416250225157, "usage": {"completion_tokens": 82, "prompt_tokens": 2299, "total_tokens": 2381, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 198, "cached_tokens": 1560, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 198, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 198, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6c0e09b9192a34a32b0bae5364fe5e6465c762a0401f6268556407cf0adb59d7", "csv_sha256": "51e0e3a7ec17f9670db8f44239e4b5a25710cbe6aa0be663bd3e090a94cac353"} +{"instance_id": "bird478", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT (\n SELECT 1.0 * COUNT(CASE WHEN a.element = 'h' THEN 1 END)\n / NULLIF(COUNT(*), 0)\n FROM atom AS a\n WHERE a.molecule_id = m.molecule_id\n) AS hydrogen_fraction,\n m.label AS carcinogenicity_label\nFROM molecule AS m\nWHERE m.molecule_id = 'TR006';\n```", "rows": 1, "sql": "SELECT (\n SELECT 1.0 * COUNT(CASE WHEN a.element = 'h' THEN 1 END)\n / NULLIF(COUNT(*), 0)\n FROM atom AS a\n WHERE a.molecule_id = m.molecule_id\n) AS hydrogen_fraction,\n m.label AS carcinogenicity_label\nFROM molecule AS m\nWHERE m.molecule_id = 'TR006';", "seconds": 17.857400082983077, "calls": [{"seconds": 1.9218377080978826, "usage": {"completion_tokens": 15, "prompt_tokens": 1614, "total_tokens": 1629, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1073, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1073, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1073, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.860639709047973, "usage": {"completion_tokens": 66, "prompt_tokens": 1657, "total_tokens": 1723, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 43, "cached_tokens": 1073, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 43, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 43, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.0245359590044245, "usage": {"completion_tokens": 133, "prompt_tokens": 1813, "total_tokens": 1946, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 83, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 156, "cached_tokens": 1116, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 156, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 156, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.793088750098832, "usage": {"completion_tokens": 141, "prompt_tokens": 2030, "total_tokens": 2171, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 36, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 217, "cached_tokens": 1272, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 217, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 217, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2294626659713686, "usage": {"completion_tokens": 90, "prompt_tokens": 2296, "total_tokens": 2386, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 266, "cached_tokens": 1489, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 266, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 266, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9914cc1e4b8095da366b9517a266b170024d3c01dcd5af37d0248317f403c6bd", "csv_sha256": "a94de71eda1716af2c33b04ff5d57a519943dbd45a7df0d1645b8a96492fe737"} +{"instance_id": "bird479", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH classified AS (\n SELECT m.label,\n NOT EXISTS (\n SELECT 1\n FROM bond AS b\n WHERE b.molecule_id = m.molecule_id\n AND b.bond_type IS NOT '-'\n ) AS all_single_bonds\n FROM molecule AS m\n)\nSELECT COUNT(*) FILTER (WHERE all_single_bonds AND label = '+')\n - COUNT(*) FILTER (WHERE all_single_bonds AND label = '-') AS all_single_bond_difference,\n COUNT(*) FILTER (WHERE NOT all_single_bonds AND label = '+')\n - COUNT(*) FILTER (WHERE NOT all_single_bonds AND label = '-') AS other_molecule_difference\nFROM classified;\n```", "rows": 1, "sql": "WITH classified AS (\n SELECT m.label,\n NOT EXISTS (\n SELECT 1\n FROM bond AS b\n WHERE b.molecule_id = m.molecule_id\n AND b.bond_type IS NOT '-'\n ) AS all_single_bonds\n FROM molecule AS m\n)\nSELECT COUNT(*) FILTER (WHERE all_single_bonds AND label = '+')\n - COUNT(*) FILTER (WHERE all_single_bonds AND label = '-') AS all_single_bond_difference,\n COUNT(*) FILTER (WHERE NOT all_single_bonds AND label = '+')\n - COUNT(*) FILTER (WHERE NOT all_single_bonds AND label = '-') AS other_molecule_difference\nFROM classified;", "seconds": 13.640889999922365, "calls": [{"seconds": 2.8728519580326974, "usage": {"completion_tokens": 81, "prompt_tokens": 1734, "total_tokens": 1815, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1193, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1193, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1193, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.43268712493591, "usage": {"completion_tokens": 263, "prompt_tokens": 1945, "total_tokens": 2208, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 95, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 211, "cached_tokens": 1193, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 211, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 211, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.013297999976203, "usage": {"completion_tokens": 147, "prompt_tokens": 2387, "total_tokens": 2534, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 442, "cached_tokens": 1404, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 442, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 442, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0189f1c82d2b9e1ba9b863d23a02c132c40485b49377e251f990dc8b6221f7ad", "csv_sha256": "cc41b88f2e107d0474db533f5f999f54e80ef7bbd5a23a346083548684ac9865"} +{"instance_id": "bird480", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS carbon_carbon_double_bond_pairs\nFROM (\n SELECT DISTINCT m.molecule_id,\n MIN(c.atom_id, c.atom_id2) AS atom_lo,\n MAX(c.atom_id, c.atom_id2) AS atom_hi\n FROM molecule AS m\n JOIN bond AS b ON b.molecule_id = m.molecule_id\n JOIN connected AS c ON c.bond_id = b.bond_id\n JOIN atom AS a1 ON a1.atom_id = c.atom_id AND a1.molecule_id = m.molecule_id\n JOIN atom AS a2 ON a2.atom_id = c.atom_id2 AND a2.molecule_id = m.molecule_id\n WHERE m.label = '+'\n AND b.bond_type = '='\n AND a1.element = 'c'\n AND a2.element = 'c'\n) AS pairs;\n```", "rows": 1, "sql": "SELECT COUNT(*) AS carbon_carbon_double_bond_pairs\nFROM (\n SELECT DISTINCT m.molecule_id,\n MIN(c.atom_id, c.atom_id2) AS atom_lo,\n MAX(c.atom_id, c.atom_id2) AS atom_hi\n FROM molecule AS m\n JOIN bond AS b ON b.molecule_id = m.molecule_id\n JOIN connected AS c ON c.bond_id = b.bond_id\n JOIN atom AS a1 ON a1.atom_id = c.atom_id AND a1.molecule_id = m.molecule_id\n JOIN atom AS a2 ON a2.atom_id = c.atom_id2 AND a2.molecule_id = m.molecule_id\n WHERE m.label = '+'\n AND b.bond_type = '='\n AND a1.element = 'c'\n AND a2.element = 'c'\n) AS pairs;", "seconds": 18.124236791976728, "calls": [{"seconds": 2.943567750044167, "usage": {"completion_tokens": 96, "prompt_tokens": 1675, "total_tokens": 1771, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1134, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1134, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1134, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.78043062495999, "usage": {"completion_tokens": 182, "prompt_tokens": 1930, "total_tokens": 2112, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1134, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.8665567910065874, "usage": {"completion_tokens": 249, "prompt_tokens": 2782, "total_tokens": 3031, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 40, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 852, "cached_tokens": 1389, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 852, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 852, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.489889999968, "usage": {"completion_tokens": 191, "prompt_tokens": 3246, "total_tokens": 3437, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 464, "cached_tokens": 2241, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 464, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 464, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8a94b2f872af9ff8f86150aa7d1376b82e489f72408383998cb659eca65261b7", "csv_sha256": "8172e3e856e5e322fddd6a6a372c066e5ede50bbcf5056f81e736649d7b5879a"} +{"instance_id": "bird481", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH positive_atoms AS (\n SELECT a.atom_id, a.element\n FROM atom AS a\n WHERE EXISTS (\n SELECT 1\n FROM molecule AS m\n WHERE m.molecule_id = a.molecule_id AND m.label = '+'\n )\n), bonded_atom_ids AS (\n SELECT c.atom_id\n FROM connected AS c\n JOIN bond AS b ON b.bond_id = c.bond_id\n UNION\n SELECT c.atom_id2\n FROM connected AS c\n JOIN bond AS b ON b.bond_id = c.bond_id\n), element_counts AS (\n SELECT p.element,\n COUNT(*) AS atom_count,\n COUNT(b.atom_id) AS bonded_atom_count\n FROM positive_atoms AS p\n LEFT JOIN bonded_atom_ids AS b ON b.atom_id = p.atom_id\n GROUP BY p.element\n)\nSELECT element,\n ROUND(100.0 * atom_count / (SELECT SUM(atom_count) FROM element_counts), 2) AS percentage\nFROM element_counts\nWHERE bonded_atom_count > 0\n AND bonded_atom_count = (SELECT MAX(bonded_atom_count) FROM element_counts)\nORDER BY element;\n```", "rows": 1, "sql": "WITH positive_atoms AS (\n SELECT a.atom_id, a.element\n FROM atom AS a\n WHERE EXISTS (\n SELECT 1\n FROM molecule AS m\n WHERE m.molecule_id = a.molecule_id AND m.label = '+'\n )\n), bonded_atom_ids AS (\n SELECT c.atom_id\n FROM connected AS c\n JOIN bond AS b ON b.bond_id = c.bond_id\n UNION\n SELECT c.atom_id2\n FROM connected AS c\n JOIN bond AS b ON b.bond_id = c.bond_id\n), element_counts AS (\n SELECT p.element,\n COUNT(*) AS atom_count,\n COUNT(b.atom_id) AS bonded_atom_count\n FROM positive_atoms AS p\n LEFT JOIN bonded_atom_ids AS b ON b.atom_id = p.atom_id\n GROUP BY p.element\n)\nSELECT element,\n ROUND(100.0 * atom_count / (SELECT SUM(atom_count) FROM element_counts), 2) AS percentage\nFROM element_counts\nWHERE bonded_atom_count > 0\n AND bonded_atom_count = (SELECT MAX(bonded_atom_count) FROM element_counts)\nORDER BY element;", "seconds": 31.08470987493638, "calls": [{"seconds": 2.9862535420106724, "usage": {"completion_tokens": 96, "prompt_tokens": 1675, "total_tokens": 1771, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1134, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1134, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1134, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 1.8499298329697922, "usage": {"completion_tokens": 18, "prompt_tokens": 1930, "total_tokens": 1948, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1134, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.399197457940318, "usage": {"completion_tokens": 219, "prompt_tokens": 1978, "total_tokens": 2197, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 91, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1389, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.6448446250287816, "usage": {"completion_tokens": 32, "prompt_tokens": 2575, "total_tokens": 2607, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 597, "cached_tokens": 1437, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 597, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 597, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.731731334002689, "usage": {"completion_tokens": 588, "prompt_tokens": 2639, "total_tokens": 3227, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 314, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 64, "cached_tokens": 2034, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 64, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 64, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.390959959011525, "usage": {"completion_tokens": 251, "prompt_tokens": 3505, "total_tokens": 3756, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 866, "cached_tokens": 2098, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 866, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 866, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e073c51d9534f87b7e7f58fa07b669af002379c80359e5396c21f506b86de51e", "csv_sha256": "a1255f11f0fa46fd98255c08873e78bb40e25fcaf750acab4bdbf9b6b4a85e7b"} +{"instance_id": "bird482", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n m.molecule_id,\n CASE m.label WHEN '+' THEN 'YES' WHEN '-' THEN 'NO' END AS carcinogenic,\n (\n SELECT COUNT(*)\n FROM bond AS b\n WHERE b.molecule_id = m.molecule_id\n AND b.bond_type IN ('=', '#')\n ) AS multiple_bond_count\nFROM molecule AS m\nWHERE EXISTS (\n SELECT 1\n FROM atom AS a\n WHERE a.atom_id = 'TR041_10'\n AND a.molecule_id = m.molecule_id\n);\n```", "rows": 1, "sql": "SELECT\n m.molecule_id,\n CASE m.label WHEN '+' THEN 'YES' WHEN '-' THEN 'NO' END AS carcinogenic,\n (\n SELECT COUNT(*)\n FROM bond AS b\n WHERE b.molecule_id = m.molecule_id\n AND b.bond_type IN ('=', '#')\n ) AS multiple_bond_count\nFROM molecule AS m\nWHERE EXISTS (\n SELECT 1\n FROM atom AS a\n WHERE a.atom_id = 'TR041_10'\n AND a.molecule_id = m.molecule_id\n);", "seconds": 17.706447000033222, "calls": [{"seconds": 2.9204010410467163, "usage": {"completion_tokens": 81, "prompt_tokens": 1650, "total_tokens": 1731, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1109, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1109, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1109, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.3223875000840053, "usage": {"completion_tokens": 19, "prompt_tokens": 1861, "total_tokens": 1880, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 211, "cached_tokens": 1109, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 211, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 211, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.000959499971941, "usage": {"completion_tokens": 66, "prompt_tokens": 1902, "total_tokens": 1968, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 36, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 41, "cached_tokens": 1320, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 41, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 41, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.8407161249779165, "usage": {"completion_tokens": 183, "prompt_tokens": 2007, "total_tokens": 2190, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 39, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 105, "cached_tokens": 1361, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 105, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 105, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5989824580028653, "usage": {"completion_tokens": 125, "prompt_tokens": 2353, "total_tokens": 2478, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 346, "cached_tokens": 1466, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 346, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 346, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0c220acb87c75cd6542f9c3479c2b19ff0758f9e0a6dda18caa6676aacff4e76", "csv_sha256": "55791d8ed01dae00879baf4d31b35dbb952c9657242eeeaa3bc680662a05db9a"} +{"instance_id": "bird483", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH bond_types(bond_type, sort_order) AS (\n VALUES ('-', 1), ('=', 2), ('#', 3)\n), carcinogenic_carbon_bonds AS (\n SELECT b.bond_id, b.bond_type\n FROM bond AS b\n JOIN molecule AS m ON m.molecule_id = b.molecule_id\n WHERE m.label = '+'\n AND EXISTS (\n SELECT 1\n FROM connected AS c\n JOIN atom AS a1 ON a1.atom_id = c.atom_id\n JOIN atom AS a2 ON a2.atom_id = c.atom_id2\n WHERE c.bond_id = b.bond_id\n AND a1.element = 'c'\n AND a2.element = 'c'\n )\n)\nSELECT t.bond_type, COUNT(b.bond_id) AS bond_count\nFROM bond_types AS t\nLEFT JOIN carcinogenic_carbon_bonds AS b ON b.bond_type = t.bond_type\nGROUP BY t.bond_type, t.sort_order\nORDER BY t.sort_order;\n```", "rows": 3, "sql": "WITH bond_types(bond_type, sort_order) AS (\n VALUES ('-', 1), ('=', 2), ('#', 3)\n), carcinogenic_carbon_bonds AS (\n SELECT b.bond_id, b.bond_type\n FROM bond AS b\n JOIN molecule AS m ON m.molecule_id = b.molecule_id\n WHERE m.label = '+'\n AND EXISTS (\n SELECT 1\n FROM connected AS c\n JOIN atom AS a1 ON a1.atom_id = c.atom_id\n JOIN atom AS a2 ON a2.atom_id = c.atom_id2\n WHERE c.bond_id = b.bond_id\n AND a1.element = 'c'\n AND a2.element = 'c'\n )\n)\nSELECT t.bond_type, COUNT(b.bond_id) AS bond_count\nFROM bond_types AS t\nLEFT JOIN carcinogenic_carbon_bonds AS b ON b.bond_type = t.bond_type\nGROUP BY t.bond_type, t.sort_order\nORDER BY t.sort_order;", "seconds": 26.19324479205534, "calls": [{"seconds": 2.8296807919396088, "usage": {"completion_tokens": 96, "prompt_tokens": 1681, "total_tokens": 1777, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1140, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1140, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1140, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.178079874953255, "usage": {"completion_tokens": 122, "prompt_tokens": 1936, "total_tokens": 2058, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 45, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1140, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.454902042052709, "usage": {"completion_tokens": 394, "prompt_tokens": 2261, "total_tokens": 2655, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 144, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 325, "cached_tokens": 1395, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 325, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 325, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.882129375007935, "usage": {"completion_tokens": 229, "prompt_tokens": 2921, "total_tokens": 3150, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 660, "cached_tokens": 1720, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 660, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 660, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5ebd5540afd474fa1937df234a937c48b7b787b47f030ad7211da4b9a5077773", "csv_sha256": "a782eb5d6c08f513ffff7afbc8d2fd0ae001a974ddceedb7ed38de7a225a0833"} +{"instance_id": "bird484", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH chlorine_neighbors AS (\n SELECT c.atom_id2 AS atom_id\n FROM connected AS c\n JOIN atom AS a ON a.atom_id = c.atom_id\n WHERE a.element = 'cl'\n UNION\n SELECT c.atom_id AS atom_id\n FROM connected AS c\n JOIN atom AS a ON a.atom_id = c.atom_id2\n WHERE a.element = 'cl'\n)\nSELECT COUNT(*) AS atom_count\nFROM atom AS a\nJOIN chlorine_neighbors AS n ON n.atom_id = a.atom_id;\n```", "rows": 1, "sql": "WITH chlorine_neighbors AS (\n SELECT c.atom_id2 AS atom_id\n FROM connected AS c\n JOIN atom AS a ON a.atom_id = c.atom_id\n WHERE a.element = 'cl'\n UNION\n SELECT c.atom_id AS atom_id\n FROM connected AS c\n JOIN atom AS a ON a.atom_id = c.atom_id2\n WHERE a.element = 'cl'\n)\nSELECT COUNT(*) AS atom_count\nFROM atom AS a\nJOIN chlorine_neighbors AS n ON n.atom_id = a.atom_id;", "seconds": 13.399129915982485, "calls": [{"seconds": 2.8138445409713313, "usage": {"completion_tokens": 80, "prompt_tokens": 1643, "total_tokens": 1723, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1102, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1102, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1102, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.029945791931823, "usage": {"completion_tokens": 242, "prompt_tokens": 1855, "total_tokens": 2097, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 108, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 212, "cached_tokens": 1102, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 212, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 212, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5271862919908017, "usage": {"completion_tokens": 119, "prompt_tokens": 2235, "total_tokens": 2354, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 380, "cached_tokens": 1314, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 380, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 380, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a8a1824af858f8dde5a74d464bdb84d30af817af147b74ae3c4fe1af3ee6573b", "csv_sha256": "20569dde6eea0a25308c4990ecce8661ec66392a027e6c7a6aa7346ccf7cf35f"} +{"instance_id": "bird485", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH sulfur_atoms AS (\n SELECT a.atom_id\n FROM atom AS a\n JOIN molecule AS m ON m.molecule_id = a.molecule_id\n WHERE a.element = 's' AND m.label = '+'\n), bonded_atoms AS (\n SELECT c.atom_id2 AS atom_id\n FROM connected AS c\n JOIN sulfur_atoms AS s ON s.atom_id = c.atom_id\n UNION\n SELECT c.atom_id\n FROM connected AS c\n JOIN sulfur_atoms AS s ON s.atom_id = c.atom_id2\n)\nSELECT COUNT(*) AS atom_count\nFROM bonded_atoms;\n```", "rows": 1, "sql": "WITH sulfur_atoms AS (\n SELECT a.atom_id\n FROM atom AS a\n JOIN molecule AS m ON m.molecule_id = a.molecule_id\n WHERE a.element = 's' AND m.label = '+'\n), bonded_atoms AS (\n SELECT c.atom_id2 AS atom_id\n FROM connected AS c\n JOIN sulfur_atoms AS s ON s.atom_id = c.atom_id\n UNION\n SELECT c.atom_id\n FROM connected AS c\n JOIN sulfur_atoms AS s ON s.atom_id = c.atom_id2\n)\nSELECT COUNT(*) AS atom_count\nFROM bonded_atoms;", "seconds": 21.7538840000052, "calls": [{"seconds": 1.9628511249320582, "usage": {"completion_tokens": 15, "prompt_tokens": 1665, "total_tokens": 1680, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1124, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1124, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1124, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.831876917043701, "usage": {"completion_tokens": 96, "prompt_tokens": 1708, "total_tokens": 1804, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 43, "cached_tokens": 1124, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 43, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 43, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.582099625025876, "usage": {"completion_tokens": 297, "prompt_tokens": 1963, "total_tokens": 2260, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 65, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1167, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.369915542076342, "usage": {"completion_tokens": 178, "prompt_tokens": 2538, "total_tokens": 2716, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 29, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 575, "cached_tokens": 1422, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 575, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 575, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.952044958015904, "usage": {"completion_tokens": 134, "prompt_tokens": 2869, "total_tokens": 3003, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 331, "cached_tokens": 1997, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 331, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 331, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a0ce7fcad43dcf13d640510bb1c6d5c240ff7ae520a4efadb90aae43b757cbad", "csv_sha256": "3866a9b6aaaf826b3d7bd4b160b839412be073808f66a5bb4d4a4f357b300130"} +{"instance_id": "bird486", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH unique_elements AS (\n SELECT MIN(molecule_id) AS molecule_id\n FROM atom\n WHERE element IS NOT NULL\n GROUP BY element\n HAVING COUNT(DISTINCT molecule_id) = 1\n)\nSELECT b.bond_id, b.molecule_id\nFROM bond AS b\nJOIN molecule AS m ON m.molecule_id = b.molecule_id\nWHERE m.label = '+'\n AND EXISTS (\n SELECT 1\n FROM unique_elements AS u\n WHERE u.molecule_id = b.molecule_id\n );\n```", "rows": 112, "sql": "WITH unique_elements AS (\n SELECT MIN(molecule_id) AS molecule_id\n FROM atom\n WHERE element IS NOT NULL\n GROUP BY element\n HAVING COUNT(DISTINCT molecule_id) = 1\n)\nSELECT b.bond_id, b.molecule_id\nFROM bond AS b\nJOIN molecule AS m ON m.molecule_id = b.molecule_id\nWHERE m.label = '+'\n AND EXISTS (\n SELECT 1\n FROM unique_elements AS u\n WHERE u.molecule_id = b.molecule_id\n );", "seconds": 46.625333125004545, "calls": [{"seconds": 2.564827708993107, "usage": {"completion_tokens": 81, "prompt_tokens": 1688, "total_tokens": 1769, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1147, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1147, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1147, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.260242042015307, "usage": {"completion_tokens": 256, "prompt_tokens": 1892, "total_tokens": 2148, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 115, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 204, "cached_tokens": 1147, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 204, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 204, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.4896229999139905, "usage": {"completion_tokens": 209, "prompt_tokens": 2391, "total_tokens": 2600, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 72, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 499, "cached_tokens": 1351, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 499, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 499, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7431052080355585, "usage": {"completion_tokens": 122, "prompt_tokens": 3250, "total_tokens": 3372, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 859, "cached_tokens": 1850, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 859, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 859, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "c527c92598af8b105bc26f7ee5ff7123919ec812e51d1529891fb4dfe775eb8e", "csv_sha256": "6dc5183ac7431859dd3d7c53672f0ed6e5366bc81e482ca2c96a58732d2d2297"} +{"instance_id": "bird487", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT m.molecule_id) AS molecule_count\nFROM molecule AS m\nWHERE EXISTS (\n SELECT 1\n FROM atom AS a\n WHERE a.molecule_id = m.molecule_id\n AND a.element = 'n'\n)\nAND NOT EXISTS (\n SELECT 1\n FROM atom AS a\n JOIN connected AS c ON a.atom_id IN (c.atom_id, c.atom_id2)\n JOIN bond AS b ON b.bond_id = c.bond_id\n WHERE a.molecule_id = m.molecule_id\n AND a.element = 'n'\n AND b.bond_type IN ('=', '#')\n);\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT m.molecule_id) AS molecule_count\nFROM molecule AS m\nWHERE EXISTS (\n SELECT 1\n FROM atom AS a\n WHERE a.molecule_id = m.molecule_id\n AND a.element = 'n'\n)\nAND NOT EXISTS (\n SELECT 1\n FROM atom AS a\n JOIN connected AS c ON a.atom_id IN (c.atom_id, c.atom_id2)\n JOIN bond AS b ON b.bond_id = c.bond_id\n WHERE a.molecule_id = m.molecule_id\n AND a.element = 'n'\n AND b.bond_type IN ('=', '#')\n);", "seconds": 14.595678125042468, "calls": [{"seconds": 3.0460884580388665, "usage": {"completion_tokens": 81, "prompt_tokens": 1711, "total_tokens": 1792, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1170, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1170, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1170, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.765120125026442, "usage": {"completion_tokens": 261, "prompt_tokens": 1922, "total_tokens": 2183, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 97, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 211, "cached_tokens": 1170, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 211, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 211, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.799563499982469, "usage": {"completion_tokens": 145, "prompt_tokens": 2348, "total_tokens": 2493, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 426, "cached_tokens": 1381, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 426, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 426, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "4c61f66c61d06f05ac098fc475b3f6b19f761a151e9e9efd0b8672fc929b6287", "csv_sha256": "4777cfaec1836b1c4535c086ba6c5f9e743c9c0e0c42f1f92f849bf68576c329"} +{"instance_id": "bird488", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH chlorine_neighbors AS (\n SELECT c.atom_id2 AS atom_id\n FROM connected AS c\n JOIN atom AS a ON a.atom_id = c.atom_id\n WHERE a.element = 'cl'\n UNION\n SELECT c.atom_id AS atom_id\n FROM connected AS c\n JOIN atom AS a ON a.atom_id = c.atom_id2\n WHERE a.element = 'cl'\n)\nSELECT COUNT(*) AS atom_count\nFROM chlorine_neighbors;\n```", "rows": 1, "sql": "WITH chlorine_neighbors AS (\n SELECT c.atom_id2 AS atom_id\n FROM connected AS c\n JOIN atom AS a ON a.atom_id = c.atom_id\n WHERE a.element = 'cl'\n UNION\n SELECT c.atom_id AS atom_id\n FROM connected AS c\n JOIN atom AS a ON a.atom_id = c.atom_id2\n WHERE a.element = 'cl'\n)\nSELECT COUNT(*) AS atom_count\nFROM chlorine_neighbors;", "seconds": 10.952502458938397, "calls": [{"seconds": 2.9040347089758143, "usage": {"completion_tokens": 65, "prompt_tokens": 1632, "total_tokens": 1697, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1091, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1091, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1091, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.355245542014018, "usage": {"completion_tokens": 153, "prompt_tokens": 1800, "total_tokens": 1953, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 34, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 168, "cached_tokens": 1091, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 168, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 168, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.669401374994777, "usage": {"completion_tokens": 104, "prompt_tokens": 2076, "total_tokens": 2180, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 276, "cached_tokens": 1259, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 276, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 276, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "531352839a1bfc020b26b084ec7c9b5d2a83e7d11d846892435a38a246c13be1", "csv_sha256": "20569dde6eea0a25308c4990ecce8661ec66392a027e6c7a6aa7346ccf7cf35f"} +{"instance_id": "bird489", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n ROUND(100.0 * COUNT(CASE WHEN m.label = '+' THEN 1 END) / COUNT(*), 2) AS carcinogenic_percent,\n ROUND(100.0 * COUNT(CASE WHEN m.label = '-' THEN 1 END) / COUNT(*), 2) AS non_carcinogenic_percent\nFROM molecule AS m\nWHERE m.label IN ('+', '-')\n AND EXISTS (\n SELECT 1\n FROM bond AS b\n WHERE b.molecule_id = m.molecule_id\n AND b.bond_type = '#'\n );\n```", "rows": 1, "sql": "SELECT\n ROUND(100.0 * COUNT(CASE WHEN m.label = '+' THEN 1 END) / COUNT(*), 2) AS carcinogenic_percent,\n ROUND(100.0 * COUNT(CASE WHEN m.label = '-' THEN 1 END) / COUNT(*), 2) AS non_carcinogenic_percent\nFROM molecule AS m\nWHERE m.label IN ('+', '-')\n AND EXISTS (\n SELECT 1\n FROM bond AS b\n WHERE b.molecule_id = m.molecule_id\n AND b.bond_type = '#'\n );", "seconds": 15.450939332949929, "calls": [{"seconds": 3.6080105419969186, "usage": {"completion_tokens": 51, "prompt_tokens": 1670, "total_tokens": 1721, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1129, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1129, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1129, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.5516076249768957, "usage": {"completion_tokens": 32, "prompt_tokens": 1783, "total_tokens": 1815, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 113, "cached_tokens": 1129, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 113, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 113, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.4393922090530396, "usage": {"completion_tokens": 215, "prompt_tokens": 1878, "total_tokens": 2093, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 72, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 95, "cached_tokens": 1242, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 95, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 95, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7056270830798894, "usage": {"completion_tokens": 128, "prompt_tokens": 2258, "total_tokens": 2386, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 380, "cached_tokens": 1337, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 380, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 380, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f79552f7f83bd13cf5fe6502a9c8f7596daa569434af2147ef00d2721110c528", "csv_sha256": "ca17b58a68e6034ea26482bd4bc35b468fcc7f7cda9168056d06154ffbb1dda1"} +{"instance_id": "bird490", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH rare_elements AS (\n SELECT element\n FROM atom\n WHERE element IS NOT NULL\n GROUP BY element\n HAVING COUNT(DISTINCT molecule_id) = 1\n)\nSELECT m.molecule_id, COUNT(DISTINCT b.bond_id) AS bond_count\nFROM molecule AS m\nJOIN atom AS a ON a.molecule_id = m.molecule_id\nJOIN rare_elements AS r ON r.element = a.element\nLEFT JOIN connected AS c ON c.atom_id = a.atom_id OR c.atom_id2 = a.atom_id\nLEFT JOIN bond AS b ON b.bond_id = c.bond_id AND b.molecule_id = m.molecule_id\nWHERE m.label = '+'\nGROUP BY m.molecule_id\nORDER BY m.molecule_id;\n```", "rows": 3, "sql": "WITH rare_elements AS (\n SELECT element\n FROM atom\n WHERE element IS NOT NULL\n GROUP BY element\n HAVING COUNT(DISTINCT molecule_id) = 1\n)\nSELECT m.molecule_id, COUNT(DISTINCT b.bond_id) AS bond_count\nFROM molecule AS m\nJOIN atom AS a ON a.molecule_id = m.molecule_id\nJOIN rare_elements AS r ON r.element = a.element\nLEFT JOIN connected AS c ON c.atom_id = a.atom_id OR c.atom_id2 = a.atom_id\nLEFT JOIN bond AS b ON b.bond_id = c.bond_id AND b.molecule_id = m.molecule_id\nWHERE m.label = '+'\nGROUP BY m.molecule_id\nORDER BY m.molecule_id;", "seconds": 18.201953749987297, "calls": [{"seconds": 3.683021125034429, "usage": {"completion_tokens": 96, "prompt_tokens": 1725, "total_tokens": 1821, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1184, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1184, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1184, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.017757624969818, "usage": {"completion_tokens": 274, "prompt_tokens": 1980, "total_tokens": 2254, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 45, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1184, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.072082541999407, "usage": {"completion_tokens": 180, "prompt_tokens": 2654, "total_tokens": 2834, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 674, "cached_tokens": 1439, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 674, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 674, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.38328199996613, "usage": {"completion_tokens": 168, "prompt_tokens": 3043, "total_tokens": 3211, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 389, "cached_tokens": 2113, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 389, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 389, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7a1b221670a4a189cb84148efeef5cb094be3c5ca6f1c54300ddb63a7ae550b1", "csv_sha256": "81a6c71da0bb63069c81967fbb724a66d55db98d35c868e0b292bb62acc375b4"} +{"instance_id": "bird491", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH atom_counts AS (\n SELECT molecule_id,\n COUNT(*) AS atom_count,\n COUNT(CASE WHEN element = 'c' THEN 1 END) AS carbon_atom_count,\n COUNT(CASE WHEN element = 'cl' THEN 1 END) AS chlorine_atom_count\n FROM atom\n GROUP BY molecule_id\n HAVING COUNT(CASE WHEN element = 'c' THEN 1 END) > 0\n), carbon_bonds AS (\n SELECT DISTINCT c.bond_id\n FROM connected AS c\n JOIN atom AS a\n ON a.atom_id IN (c.atom_id, c.atom_id2)\n WHERE a.element = 'c'\n), bond_counts AS (\n SELECT b.molecule_id,\n COUNT(*) AS bond_count,\n COUNT(cb.bond_id) AS carbon_touching_bond_count,\n COUNT(CASE WHEN b.bond_type IN ('=', '#') THEN 1 END) AS multiple_bond_count\n FROM bond AS b\n LEFT JOIN carbon_bonds AS cb ON cb.bond_id = b.bond_id\n GROUP BY b.molecule_id\n)\nSELECT ROW_NUMBER() OVER (\n ORDER BY COALESCE(bc.carbon_touching_bond_count, 0) DESC,\n ac.atom_count DESC,\n m.molecule_id ASC\n ) AS rank_position,\n m.molecule_id,\n m.label AS carcinogenicity_label,\n ac.atom_count,\n COALESCE(bc.bond_count, 0) AS bond_count,\n ac.carbon_atom_count,\n ac.chlorine_atom_count,\n COALESCE(bc.carbon_touching_bond_count, 0) AS carbon_touching_bond_count,\n COALESCE(bc.multiple_bond_count, 0) AS multiple_bond_count\nFROM molecule AS m\nJOIN atom_counts AS ac ON ac.molecule_id = m.molecule_id\nLEFT JOIN bond_counts AS bc ON bc.molecule_id = m.molecule_id\nORDER BY rank_position;\n```", "rows": 340, "sql": "WITH atom_counts AS (\n SELECT molecule_id,\n COUNT(*) AS atom_count,\n COUNT(CASE WHEN element = 'c' THEN 1 END) AS carbon_atom_count,\n COUNT(CASE WHEN element = 'cl' THEN 1 END) AS chlorine_atom_count\n FROM atom\n GROUP BY molecule_id\n HAVING COUNT(CASE WHEN element = 'c' THEN 1 END) > 0\n), carbon_bonds AS (\n SELECT DISTINCT c.bond_id\n FROM connected AS c\n JOIN atom AS a\n ON a.atom_id IN (c.atom_id, c.atom_id2)\n WHERE a.element = 'c'\n), bond_counts AS (\n SELECT b.molecule_id,\n COUNT(*) AS bond_count,\n COUNT(cb.bond_id) AS carbon_touching_bond_count,\n COUNT(CASE WHEN b.bond_type IN ('=', '#') THEN 1 END) AS multiple_bond_count\n FROM bond AS b\n LEFT JOIN carbon_bonds AS cb ON cb.bond_id = b.bond_id\n GROUP BY b.molecule_id\n)\nSELECT ROW_NUMBER() OVER (\n ORDER BY COALESCE(bc.carbon_touching_bond_count, 0) DESC,\n ac.atom_count DESC,\n m.molecule_id ASC\n ) AS rank_position,\n m.molecule_id,\n m.label AS carcinogenicity_label,\n ac.atom_count,\n COALESCE(bc.bond_count, 0) AS bond_count,\n ac.carbon_atom_count,\n ac.chlorine_atom_count,\n COALESCE(bc.carbon_touching_bond_count, 0) AS carbon_touching_bond_count,\n COALESCE(bc.multiple_bond_count, 0) AS multiple_bond_count\nFROM molecule AS m\nJOIN atom_counts AS ac ON ac.molecule_id = m.molecule_id\nLEFT JOIN bond_counts AS bc ON bc.molecule_id = m.molecule_id\nORDER BY rank_position;", "seconds": 34.488872915972024, "calls": [{"seconds": 2.9029605420073494, "usage": {"completion_tokens": 96, "prompt_tokens": 1780, "total_tokens": 1876, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1239, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1239, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1239, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.8137296250788495, "usage": {"completion_tokens": 161, "prompt_tokens": 2035, "total_tokens": 2196, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 69, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1239, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.59864183398895, "usage": {"completion_tokens": 275, "prompt_tokens": 2474, "total_tokens": 2749, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 439, "cached_tokens": 1494, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 439, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 439, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.76218645798508, "usage": {"completion_tokens": 609, "prompt_tokens": 3093, "total_tokens": 3702, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 145, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 619, "cached_tokens": 1933, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 619, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 619, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.30500208295416, "usage": {"completion_tokens": 469, "prompt_tokens": 4444, "total_tokens": 4913, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 41, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1351, "cached_tokens": 2552, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1351, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1351, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "4a85a0a4b98c0a95b8341791e31f219dcd76f61202dbd09d0231238c7b7cda2b", "csv_sha256": "21e60eaf2041b5f0807061f2cc84bf87159b142e635f4092ca1983fcee863b74"} +{"instance_id": "bird492", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT b.bond_id) AS hydrogen_bond_count\nFROM bond AS b\nWHERE EXISTS (\n SELECT 1\n FROM atom AS y\n WHERE y.molecule_id = b.molecule_id AND y.element = 'y'\n)\nAND EXISTS (\n SELECT 1\n FROM connected AS c\n JOIN atom AS h ON h.atom_id IN (c.atom_id, c.atom_id2)\n WHERE c.bond_id = b.bond_id\n AND h.molecule_id = b.molecule_id\n AND h.element = 'h'\n);\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT b.bond_id) AS hydrogen_bond_count\nFROM bond AS b\nWHERE EXISTS (\n SELECT 1\n FROM atom AS y\n WHERE y.molecule_id = b.molecule_id AND y.element = 'y'\n)\nAND EXISTS (\n SELECT 1\n FROM connected AS c\n JOIN atom AS h ON h.atom_id IN (c.atom_id, c.atom_id2)\n WHERE c.bond_id = b.bond_id\n AND h.molecule_id = b.molecule_id\n AND h.element = 'h'\n);", "seconds": 24.935554665978998, "calls": [{"seconds": 2.7600854999618605, "usage": {"completion_tokens": 96, "prompt_tokens": 1652, "total_tokens": 1748, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1111, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1111, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1111, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.945933832903393, "usage": {"completion_tokens": 221, "prompt_tokens": 1907, "total_tokens": 2128, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 75, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1111, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5616207499988377, "usage": {"completion_tokens": 56, "prompt_tokens": 2279, "total_tokens": 2335, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 12, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 372, "cached_tokens": 1366, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 372, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 372, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.861671624938026, "usage": {"completion_tokens": 144, "prompt_tokens": 2399, "total_tokens": 2543, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 120, "cached_tokens": 1738, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 120, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 120, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8442386250244454, "usage": {"completion_tokens": 129, "prompt_tokens": 2694, "total_tokens": 2823, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 295, "cached_tokens": 1858, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 295, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 295, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "345458b2bdd6afc1a0bf59897b045feb3d98f4b87cf3c660d68dcfb7b6911a94", "csv_sha256": "f2103fa4ff6e5cc0b08c7aeebbcf9c17864afcd9c8699bb21a85e7957e99ef45"} +{"instance_id": "bird493", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH bond_endpoints AS (\n SELECT c.atom_id, c.bond_id\n FROM connected AS c\n JOIN bond AS b ON b.bond_id = c.bond_id\n WHERE b.molecule_id = 'TR397'\n UNION\n SELECT c.atom_id2 AS atom_id, c.bond_id\n FROM connected AS c\n JOIN bond AS b ON b.bond_id = c.bond_id\n WHERE b.molecule_id = 'TR397'\n), atom_degrees AS (\n SELECT COUNT(e.bond_id) AS bond_count\n FROM atom AS a\n LEFT JOIN bond_endpoints AS e ON e.atom_id = a.atom_id\n WHERE a.molecule_id = 'TR397'\n GROUP BY a.atom_id\n)\nSELECT ROUND(AVG(bond_count), 2) AS average_bonds_per_atom\nFROM atom_degrees;\n```", "rows": 1, "sql": "WITH bond_endpoints AS (\n SELECT c.atom_id, c.bond_id\n FROM connected AS c\n JOIN bond AS b ON b.bond_id = c.bond_id\n WHERE b.molecule_id = 'TR397'\n UNION\n SELECT c.atom_id2 AS atom_id, c.bond_id\n FROM connected AS c\n JOIN bond AS b ON b.bond_id = c.bond_id\n WHERE b.molecule_id = 'TR397'\n), atom_degrees AS (\n SELECT COUNT(e.bond_id) AS bond_count\n FROM atom AS a\n LEFT JOIN bond_endpoints AS e ON e.atom_id = a.atom_id\n WHERE a.molecule_id = 'TR397'\n GROUP BY a.atom_id\n)\nSELECT ROUND(AVG(bond_count), 2) AS average_bonds_per_atom\nFROM atom_degrees;", "seconds": 18.51131695904769, "calls": [{"seconds": 2.817005665972829, "usage": {"completion_tokens": 81, "prompt_tokens": 1638, "total_tokens": 1719, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1097, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1097, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1097, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.541173915960826, "usage": {"completion_tokens": 183, "prompt_tokens": 1849, "total_tokens": 2032, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 90, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 211, "cached_tokens": 1097, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 211, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 211, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.468487667036243, "usage": {"completion_tokens": 245, "prompt_tokens": 2384, "total_tokens": 2629, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 36, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 535, "cached_tokens": 1308, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 535, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 535, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.663862791960128, "usage": {"completion_tokens": 192, "prompt_tokens": 2845, "total_tokens": 3037, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 461, "cached_tokens": 1843, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 461, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 461, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "049d1194a98102073ce4b7e382d71aba29af4b65d078d1fd76e629e025299b50", "csv_sha256": "598e83e0a1440a3a5165337a4bab5992a05feffe9d53c7484acae547aed7fc4b"} +{"instance_id": "bird494", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH noncarcinogenic_atoms AS (\n SELECT a.atom_id, a.molecule_id, a.element\n FROM atom AS a\n JOIN molecule AS m ON m.molecule_id = a.molecule_id\n WHERE m.label = '-'\n), qualifying_bonds AS (\n SELECT DISTINCT b.molecule_id, b.bond_id,\n CASE WHEN a1.element = 'c' THEN a2.element ELSE a1.element END AS element\n FROM bond AS b\n JOIN connected AS c ON c.bond_id = b.bond_id\n JOIN noncarcinogenic_atoms AS a1 ON a1.atom_id = c.atom_id AND a1.molecule_id = b.molecule_id\n JOIN noncarcinogenic_atoms AS a2 ON a2.atom_id = c.atom_id2 AND a2.molecule_id = b.molecule_id\n WHERE b.bond_type IN ('=', '#')\n AND (a1.element = 'c' OR a2.element = 'c')\n)\nSELECT e.element, COUNT(q.bond_id) AS bond_count\nFROM (SELECT DISTINCT element FROM noncarcinogenic_atoms) AS e\nLEFT JOIN qualifying_bonds AS q ON q.element = e.element\nGROUP BY e.element\nORDER BY e.element;\n```", "rows": 15, "sql": "WITH noncarcinogenic_atoms AS (\n SELECT a.atom_id, a.molecule_id, a.element\n FROM atom AS a\n JOIN molecule AS m ON m.molecule_id = a.molecule_id\n WHERE m.label = '-'\n), qualifying_bonds AS (\n SELECT DISTINCT b.molecule_id, b.bond_id,\n CASE WHEN a1.element = 'c' THEN a2.element ELSE a1.element END AS element\n FROM bond AS b\n JOIN connected AS c ON c.bond_id = b.bond_id\n JOIN noncarcinogenic_atoms AS a1 ON a1.atom_id = c.atom_id AND a1.molecule_id = b.molecule_id\n JOIN noncarcinogenic_atoms AS a2 ON a2.atom_id = c.atom_id2 AND a2.molecule_id = b.molecule_id\n WHERE b.bond_type IN ('=', '#')\n AND (a1.element = 'c' OR a2.element = 'c')\n)\nSELECT e.element, COUNT(q.bond_id) AS bond_count\nFROM (SELECT DISTINCT element FROM noncarcinogenic_atoms) AS e\nLEFT JOIN qualifying_bonds AS q ON q.element = e.element\nGROUP BY e.element\nORDER BY e.element;", "seconds": 31.07771441701334, "calls": [{"seconds": 3.048898166976869, "usage": {"completion_tokens": 96, "prompt_tokens": 1671, "total_tokens": 1767, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1130, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1130, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1130, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8039125420618802, "usage": {"completion_tokens": 115, "prompt_tokens": 1926, "total_tokens": 2041, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1130, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.865522957989015, "usage": {"completion_tokens": 341, "prompt_tokens": 2351, "total_tokens": 2692, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 162, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 425, "cached_tokens": 1385, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 425, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 425, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.575824041035958, "usage": {"completion_tokens": 496, "prompt_tokens": 3039, "total_tokens": 3535, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 208, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 688, "cached_tokens": 1810, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 688, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 688, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.708073084009811, "usage": {"completion_tokens": 284, "prompt_tokens": 3899, "total_tokens": 4183, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 14, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 860, "cached_tokens": 2498, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 860, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 860, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b04c2988529641d4e78fffde51a283575a7fab5d1e189eac9414534943765219", "csv_sha256": "0de2ed0a2c142e834e28d2fe1565382b543ed18315395a1e1d22ff8453e4a274"} +{"instance_id": "bird495", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH molecule_bonds AS (\n SELECT b.bond_id, b.molecule_id, b.bond_type, m.label\n FROM bond AS b\n JOIN molecule AS m ON m.molecule_id = b.molecule_id\n WHERE m.molecule_id = 'TR377'\n AND b.bond_type IN ('-', '=')\n), element_pairs AS (\n SELECT DISTINCT mb.bond_type,\n MIN(a1.element, a2.element) AS element_1,\n MAX(a1.element, a2.element) AS element_2\n FROM molecule_bonds AS mb\n JOIN connected AS c ON c.bond_id = mb.bond_id\n JOIN atom AS a1 ON a1.atom_id = c.atom_id AND a1.molecule_id = mb.molecule_id\n JOIN atom AS a2 ON a2.atom_id = c.atom_id2 AND a2.molecule_id = mb.molecule_id\n WHERE a1.element IS NOT NULL AND a2.element IS NOT NULL\n)\nSELECT mb.bond_type AS bond_kind,\n COUNT(DISTINCT mb.bond_id) AS bond_count,\n (SELECT COUNT(*) FROM element_pairs AS ep WHERE ep.bond_type = mb.bond_type) AS element_pair_count,\n mb.label AS carcinogenicity_label\nFROM molecule_bonds AS mb\nGROUP BY mb.bond_type, mb.label\nORDER BY bond_count DESC, bond_kind ASC;\n```", "rows": 2, "sql": "WITH molecule_bonds AS (\n SELECT b.bond_id, b.molecule_id, b.bond_type, m.label\n FROM bond AS b\n JOIN molecule AS m ON m.molecule_id = b.molecule_id\n WHERE m.molecule_id = 'TR377'\n AND b.bond_type IN ('-', '=')\n), element_pairs AS (\n SELECT DISTINCT mb.bond_type,\n MIN(a1.element, a2.element) AS element_1,\n MAX(a1.element, a2.element) AS element_2\n FROM molecule_bonds AS mb\n JOIN connected AS c ON c.bond_id = mb.bond_id\n JOIN atom AS a1 ON a1.atom_id = c.atom_id AND a1.molecule_id = mb.molecule_id\n JOIN atom AS a2 ON a2.atom_id = c.atom_id2 AND a2.molecule_id = mb.molecule_id\n WHERE a1.element IS NOT NULL AND a2.element IS NOT NULL\n)\nSELECT mb.bond_type AS bond_kind,\n COUNT(DISTINCT mb.bond_id) AS bond_count,\n (SELECT COUNT(*) FROM element_pairs AS ep WHERE ep.bond_type = mb.bond_type) AS element_pair_count,\n mb.label AS carcinogenicity_label\nFROM molecule_bonds AS mb\nGROUP BY mb.bond_type, mb.label\nORDER BY bond_count DESC, bond_kind ASC;", "seconds": 20.93953774997499, "calls": [{"seconds": 2.705718500073999, "usage": {"completion_tokens": 81, "prompt_tokens": 1714, "total_tokens": 1795, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1173, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1173, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1173, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.174522415967658, "usage": {"completion_tokens": 554, "prompt_tokens": 1925, "total_tokens": 2479, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 230, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 211, "cached_tokens": 1173, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 211, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 211, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.006737999967299, "usage": {"completion_tokens": 302, "prompt_tokens": 2834, "total_tokens": 3136, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 909, "cached_tokens": 1384, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 909, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 909, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8cfecd7068ad8949d842d0e4b87a598c5ce73e769a6352314dfef10aeb124eb9", "csv_sha256": "7b7e8f604c0d850ada360a8faade69ae597c7c7e8009770871c890d0d10d1c43"} +{"instance_id": "bird496", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT DISTINCT m.molecule_id\nFROM molecule AS m\nWHERE m.label = '-'\n AND EXISTS (\n SELECT 1\n FROM atom AS a\n WHERE a.molecule_id = m.molecule_id\n AND a.element IN ('na', 'k', 'ca', 'cu', 'zn', 'sn', 'pb', 'mg', 'li')\n )\n AND EXISTS (\n SELECT 1\n FROM bond AS b\n WHERE b.molecule_id = m.molecule_id\n AND b.bond_type = '-'\n )\nORDER BY m.molecule_id ASC\nLIMIT 3;\n```", "rows": 3, "sql": "SELECT DISTINCT m.molecule_id\nFROM molecule AS m\nWHERE m.label = '-'\n AND EXISTS (\n SELECT 1\n FROM atom AS a\n WHERE a.molecule_id = m.molecule_id\n AND a.element IN ('na', 'k', 'ca', 'cu', 'zn', 'sn', 'pb', 'mg', 'li')\n )\n AND EXISTS (\n SELECT 1\n FROM bond AS b\n WHERE b.molecule_id = m.molecule_id\n AND b.bond_type = '-'\n )\nORDER BY m.molecule_id ASC\nLIMIT 3;", "seconds": 14.856151166022755, "calls": [{"seconds": 1.9983787910314277, "usage": {"completion_tokens": 15, "prompt_tokens": 1718, "total_tokens": 1733, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1177, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1177, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1177, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9840957920532674, "usage": {"completion_tokens": 96, "prompt_tokens": 1761, "total_tokens": 1857, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 43, "cached_tokens": 1177, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 43, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 43, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.9963179170154035, "usage": {"completion_tokens": 256, "prompt_tokens": 2016, "total_tokens": 2272, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 98, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1220, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.781454666983336, "usage": {"completion_tokens": 137, "prompt_tokens": 2432, "total_tokens": 2569, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 416, "cached_tokens": 1475, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 416, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 416, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9e70bee28bdbd72051101543705e8caa6f3c1671bdde4993e40b5cf4c490f295", "csv_sha256": "40f624ee15bc33f4309f46beb4690c6da84fff796d2146c31ce458cbeed2e150"} +{"instance_id": "bird497", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH incident_bonds AS (\n SELECT atom_id, bond_id FROM connected\n UNION ALL\n SELECT atom_id2 AS atom_id, bond_id FROM connected\n), single_bond_atoms AS (\n SELECT i.atom_id\n FROM incident_bonds AS i\n JOIN bond AS b ON b.bond_id = i.bond_id\n GROUP BY i.atom_id\n HAVING MIN(CASE WHEN b.bond_type = '-' THEN 1 ELSE 0 END) = 1\n)\nSELECT a.element AS element_symbol,\n COUNT(s.atom_id) AS atom_count\nFROM atom AS a\nLEFT JOIN single_bond_atoms AS s ON s.atom_id = a.atom_id\nGROUP BY a.element\nORDER BY a.element;\n```", "rows": 18, "sql": "WITH incident_bonds AS (\n SELECT atom_id, bond_id FROM connected\n UNION ALL\n SELECT atom_id2 AS atom_id, bond_id FROM connected\n), single_bond_atoms AS (\n SELECT i.atom_id\n FROM incident_bonds AS i\n JOIN bond AS b ON b.bond_id = i.bond_id\n GROUP BY i.atom_id\n HAVING MIN(CASE WHEN b.bond_type = '-' THEN 1 ELSE 0 END) = 1\n)\nSELECT a.element AS element_symbol,\n COUNT(s.atom_id) AS atom_count\nFROM atom AS a\nLEFT JOIN single_bond_atoms AS s ON s.atom_id = a.atom_id\nGROUP BY a.element\nORDER BY a.element;", "seconds": 25.481904749991372, "calls": [{"seconds": 2.7889888749923557, "usage": {"completion_tokens": 96, "prompt_tokens": 1757, "total_tokens": 1853, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1216, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1216, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1216, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.751338041969575, "usage": {"completion_tokens": 252, "prompt_tokens": 2012, "total_tokens": 2264, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 39, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1216, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.074149415944703, "usage": {"completion_tokens": 304, "prompt_tokens": 2845, "total_tokens": 3149, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 208, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 833, "cached_tokens": 1471, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 833, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 833, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.848054416012019, "usage": {"completion_tokens": 174, "prompt_tokens": 3275, "total_tokens": 3449, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 430, "cached_tokens": 2304, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 430, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 430, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.917803000076674, "usage": {"completion_tokens": 161, "prompt_tokens": 3724, "total_tokens": 3885, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 449, "cached_tokens": 2734, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 449, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 449, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b856bde242f7baa869f145b3d5aff655bcd3f98a2862a3fbebad16235bc945cf", "csv_sha256": "e37b5b0ef1c79b5f230a640c19f5c4fa00dba9f4ce0172862898e47bf172427c"} +{"instance_id": "bird498", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH triple_bond_elements AS (\n SELECT DISTINCT a.element\n FROM bond AS b\n JOIN connected AS c ON c.bond_id = b.bond_id\n JOIN atom AS a ON a.atom_id IN (c.atom_id, c.atom_id2)\n WHERE b.bond_type = '#'\n)\nSELECT a.element AS element_symbol,\n COUNT(DISTINCT m.molecule_id) AS molecule_count\nFROM triple_bond_elements AS t\nJOIN atom AS a ON a.element = t.element\nJOIN molecule AS m ON m.molecule_id = a.molecule_id\nGROUP BY a.element\nORDER BY molecule_count DESC, element_symbol ASC;\n```", "rows": 4, "sql": "WITH triple_bond_elements AS (\n SELECT DISTINCT a.element\n FROM bond AS b\n JOIN connected AS c ON c.bond_id = b.bond_id\n JOIN atom AS a ON a.atom_id IN (c.atom_id, c.atom_id2)\n WHERE b.bond_type = '#'\n)\nSELECT a.element AS element_symbol,\n COUNT(DISTINCT m.molecule_id) AS molecule_count\nFROM triple_bond_elements AS t\nJOIN atom AS a ON a.element = t.element\nJOIN molecule AS m ON m.molecule_id = a.molecule_id\nGROUP BY a.element\nORDER BY molecule_count DESC, element_symbol ASC;", "seconds": 18.867340375087224, "calls": [{"seconds": 1.7596349579980597, "usage": {"completion_tokens": 15, "prompt_tokens": 1677, "total_tokens": 1692, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1136, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1136, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1136, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.239273832994513, "usage": {"completion_tokens": 96, "prompt_tokens": 1720, "total_tokens": 1816, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 43, "cached_tokens": 1136, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 43, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 43, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.824132208013907, "usage": {"completion_tokens": 356, "prompt_tokens": 1975, "total_tokens": 2331, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 197, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1179, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.994448999990709, "usage": {"completion_tokens": 143, "prompt_tokens": 2516, "total_tokens": 2659, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 541, "cached_tokens": 1434, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 541, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 541, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "194255a0c7068680f0e1654fa06e37880e6c9f5d9754c637a40c5b9ec1a7fe4d", "csv_sha256": "115882faf125f2c8b33dfa2e23d279cd3c06d6b8b363d432b5766d6045f53c16"} +{"instance_id": "bird499", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT a.element,\n COUNT(DISTINCT CASE WHEN EXISTS (\n SELECT 1\n FROM connected AS c\n JOIN bond AS b ON b.bond_id = c.bond_id\n WHERE c.atom_id = a.atom_id OR c.atom_id2 = a.atom_id\n ) THEN a.atom_id END) AS bonded_atom_count\nFROM atom AS a\nWHERE a.molecule_id = 'TR397'\nGROUP BY a.element\nORDER BY a.element;\n```", "rows": 6, "sql": "SELECT a.element,\n COUNT(DISTINCT CASE WHEN EXISTS (\n SELECT 1\n FROM connected AS c\n JOIN bond AS b ON b.bond_id = c.bond_id\n WHERE c.atom_id = a.atom_id OR c.atom_id2 = a.atom_id\n ) THEN a.atom_id END) AS bonded_atom_count\nFROM atom AS a\nWHERE a.molecule_id = 'TR397'\nGROUP BY a.element\nORDER BY a.element;", "seconds": 15.317427041940391, "calls": [{"seconds": 2.9316144170006737, "usage": {"completion_tokens": 96, "prompt_tokens": 1709, "total_tokens": 1805, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1168, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1168, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1168, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.806605292018503, "usage": {"completion_tokens": 390, "prompt_tokens": 1964, "total_tokens": 2354, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 271, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1168, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4370887499535456, "usage": {"completion_tokens": 105, "prompt_tokens": 2511, "total_tokens": 2616, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 547, "cached_tokens": 1423, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 547, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 547, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "eb593ffe1331e150930ee8a0de4845fcce7def7700c749f6ff7b5234e37fac4f", "csv_sha256": "a88bdb2ba55882015b2619db8d3b0663406bde052bf828335ae8ebd07524ad5b"} diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/scores.json b/bench/accuracy/results/bird-all-final/gpt62-sol/scores.json new file mode 100644 index 00000000..6ee25ef4 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/scores.json @@ -0,0 +1,2502 @@ +[ + { + "instance_id": "bird024", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird036", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird058", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird064", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird087", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird146", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird152", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird179", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird229", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird249", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird260", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird353", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird379", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird389", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird423", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird429", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird449", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird451", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird459", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird470", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird000", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird001", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird002", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird003", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird004", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird005", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird006", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird007", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird008", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird009", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird010", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird011", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird012", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird013", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird014", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird015", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird016", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird017", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird018", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird019", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird020", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird021", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird022", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird023", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird025", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird026", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird027", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird028", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird029", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird030", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird031", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird032", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird033", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird034", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird035", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird037", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird038", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird039", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird040", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird041", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird042", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird043", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird044", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird045", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird046", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird047", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird048", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird049", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird050", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird051", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird052", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird053", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird054", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird055", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird056", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird057", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird059", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird060", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird061", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird062", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird063", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird065", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird066", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird067", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird068", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird069", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird070", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird071", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird072", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird073", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird074", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird075", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird076", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird077", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird078", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird079", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird080", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird081", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird082", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird083", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird084", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird085", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird086", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird088", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird089", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird090", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird091", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird092", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird093", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird094", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird095", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird096", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird097", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird098", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird099", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird100", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird101", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird102", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird103", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird104", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird105", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird106", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird107", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird108", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird109", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird110", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird111", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird112", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird113", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird114", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird115", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird116", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird117", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird118", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird119", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird120", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird121", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird122", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird123", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird124", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird125", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird126", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird127", + "score": 0, + "status": "failed" + }, + { + "instance_id": "bird128", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird129", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird130", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird131", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird132", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird133", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird134", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird135", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird136", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird137", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird138", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird139", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird140", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird141", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird142", + "score": 0, + "status": "failed" + }, + { + "instance_id": "bird143", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird144", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird145", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird147", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird148", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird149", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird150", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird151", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird153", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird154", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird155", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird156", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird157", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird158", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird159", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird160", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird161", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird162", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird163", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird164", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird165", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird166", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird167", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird168", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird169", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird170", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird171", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird172", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird173", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird174", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird175", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird176", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird177", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird178", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird180", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird181", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird182", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird183", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird184", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird185", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird186", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird187", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird188", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird189", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird190", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird191", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird192", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird193", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird194", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird195", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird196", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird197", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird198", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird199", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird200", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird201", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird202", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird203", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird204", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird205", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird206", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird207", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird208", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird209", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird210", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird211", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird212", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird213", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird214", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird215", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird216", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird217", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird218", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird219", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird220", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird221", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird222", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird223", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird224", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird225", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird226", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird227", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird228", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird230", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird231", + "score": 0, + "status": "failed" + }, + { + "instance_id": "bird232", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird233", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird234", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird235", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird236", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird237", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird238", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird239", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird240", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird241", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird242", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird243", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird244", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird245", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird246", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird247", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird248", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird250", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird251", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird252", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird253", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird254", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird255", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird256", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird257", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird258", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird259", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird261", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird262", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird263", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird264", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird265", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird266", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird267", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird268", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird269", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird270", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird271", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird272", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird273", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird274", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird275", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird276", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird277", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird278", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird279", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird280", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird281", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird282", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird283", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird284", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird285", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird286", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird287", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird288", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird289", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird290", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird291", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird292", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird293", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird294", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird295", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird296", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird297", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird298", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird299", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird300", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird301", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird302", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird303", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird304", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird305", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird306", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird307", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird308", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird309", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird310", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird311", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird312", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird313", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird314", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird315", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird316", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird317", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird318", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird319", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird320", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird321", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird322", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird323", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird324", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird325", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird326", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird327", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird328", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird329", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird330", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird331", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird332", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird333", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird334", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird335", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird336", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird337", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird338", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird339", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird340", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird341", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird342", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird343", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird344", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird345", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird346", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird347", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird348", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird349", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird350", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird351", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird352", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird354", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird355", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird356", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird357", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird358", + "score": 0, + "status": "failed" + }, + { + "instance_id": "bird359", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird360", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird361", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird362", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird363", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird364", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird365", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird366", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird367", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird368", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird369", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird370", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird371", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird372", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird373", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird374", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird375", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird376", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird377", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird378", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird380", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird381", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird382", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird383", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird384", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird385", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird386", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird387", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird388", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird390", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird391", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird392", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird393", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird394", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird395", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird396", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird397", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird398", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird399", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird400", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird401", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird402", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird403", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird404", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird405", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird406", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird407", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird408", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird409", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird410", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird411", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird412", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird413", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird414", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird415", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird416", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird417", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird418", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird419", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird420", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird421", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird422", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird424", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird425", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird426", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird427", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird428", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird430", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird431", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird432", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird433", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird434", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird435", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird436", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird437", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird438", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird439", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird440", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird441", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird442", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird443", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird444", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird445", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird446", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird447", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird448", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird450", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird452", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird453", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird454", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird455", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird456", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird457", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird458", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird460", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird461", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird462", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird463", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird464", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird465", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird466", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird467", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird468", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird469", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird471", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird472", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird473", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird474", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird475", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird476", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird477", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird478", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird479", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird480", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird481", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird482", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird483", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird484", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird485", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird486", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird487", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird488", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird489", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird490", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird491", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird492", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird493", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird494", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird495", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird496", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird497", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird498", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird499", + "score": 1, + "status": "predicted" + } +] \ No newline at end of file diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird000.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird000.sql new file mode 100644 index 00000000..858d36a0 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird000.sql @@ -0,0 +1,5 @@ +SELECT MAX(f."Percent (%) Eligible Free (Ages 5-17)") AS highest_free_meal_eligibility_rate +FROM frpm AS f +JOIN satscores AS s ON s.cds = f.CDSCode +WHERE s.rtype = 'S' + AND 1.0 * s.NumGE1500 / NULLIF(s.NumTstTakr, 0) > 0.3; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird001.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird001.sql new file mode 100644 index 00000000..b892d764 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird001.sql @@ -0,0 +1,13 @@ +WITH local_enrollment AS ( + SELECT CDSCode, + "Enrollment (K-12)" - "Enrollment (Ages 5-17)" AS enrollment_difference + FROM frpm + WHERE "Charter Funding Type" = 'Locally funded' +) +SELECT s.School, s.DOCType +FROM local_enrollment AS e +JOIN schools AS s ON s.CDSCode = e.CDSCode +WHERE e.enrollment_difference > ( + SELECT AVG(enrollment_difference) + FROM local_enrollment +); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird002.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird002.sql new file mode 100644 index 00000000..00ce4983 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird002.sql @@ -0,0 +1,7 @@ +SELECT s."School", + ROUND(f."Percent (%) Eligible FRPM (K-12)", 6) AS "K-12 eligible meal rate" +FROM schools AS s +JOIN frpm AS f ON f."CDSCode" = s."CDSCode" +WHERE s."SOC" = '66' +ORDER BY f."FRPM Count (K-12)" DESC NULLS LAST, s."CDSCode" +LIMIT 5; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird003.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird003.sql new file mode 100644 index 00000000..ea70d8f4 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird003.sql @@ -0,0 +1,5 @@ +SELECT 1.0 * COUNT(CASE WHEN DOCType = 'Unified School District' THEN 1 END) + / NULLIF(COUNT(CASE WHEN DOCType = 'Elementary School District' THEN 1 END), 0) AS ratio +FROM schools +WHERE County = 'Orange' + AND StatusType = 'Merged'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird004.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird004.sql new file mode 100644 index 00000000..aa331594 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird004.sql @@ -0,0 +1,7 @@ +SELECT sc.MailStreet, sc.School +FROM satscores AS s +JOIN schools AS sc ON sc.CDSCode = s.cds +WHERE s.rtype = 'S' + AND s.AvgScrMath IS NOT NULL +ORDER BY s.AvgScrMath DESC, s.cds +LIMIT 1 OFFSET 6; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird005.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird005.sql new file mode 100644 index 00000000..25aece31 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird005.sql @@ -0,0 +1,5 @@ +SELECT COUNT(DISTINCT CDSCode) AS school_count +FROM frpm +WHERE "County Name" = 'Los Angeles' + AND "Charter School (Y/N)" = 0 + AND "Percent (%) Eligible Free (K-12)" < 0.0018; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird006.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird006.sql new file mode 100644 index 00000000..cd6707f5 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird006.sql @@ -0,0 +1,7 @@ +SELECT s."School", + 100.0 * f."FRPM Count (Ages 5-17)" / NULLIF(f."Enrollment (Ages 5-17)", 0) + AS "Percent (%) Eligible FRPM (Ages 5-17)" +FROM "schools" AS s +LEFT JOIN "frpm" AS f ON f."CDSCode" = s."CDSCode" +WHERE s."County" = 'Los Angeles' + AND s."GSserved" = 'K-9'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird007.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird007.sql new file mode 100644 index 00000000..bbc4b9ce --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird007.sql @@ -0,0 +1,6 @@ +SELECT + 100.0 * f."Free Meal Count (K-12)" / NULLIF(f."Enrollment (K-12)", 0) AS "Percent (%) Eligible Free (K-12)", + f."District Code" +FROM frpm AS f +JOIN schools AS s ON s.CDSCode = f.CDSCode +WHERE 'Alusine' IN (s.AdmFName1, s.AdmFName2, s.AdmFName3); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird008.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird008.sql new file mode 100644 index 00000000..c3634d80 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird008.sql @@ -0,0 +1,20 @@ +WITH matching_schools AS ( + SELECT AdmEmail1, AdmEmail2, AdmEmail3 + FROM schools + WHERE County = 'San Bernardino' + AND City = 'San Bernardino' + AND DOCType = 'Unified School District' + AND SOCType = 'Intermediate/Middle Schools (Public)' + AND OpenDate >= '2009-01-01' + AND OpenDate < '2011-01-01' +), emails AS ( + SELECT TRIM(AdmEmail1) AS email FROM matching_schools + UNION + SELECT TRIM(AdmEmail2) FROM matching_schools + UNION + SELECT TRIM(AdmEmail3) FROM matching_schools +) +SELECT email +FROM emails +WHERE email IS NOT NULL AND email <> '' +ORDER BY email; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird009.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird009.sql new file mode 100644 index 00000000..afeab681 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird009.sql @@ -0,0 +1,9 @@ +WITH candidates AS ( + SELECT s.NCESSchool, f."Enrollment (Ages 5-17)" AS enrollment + FROM schools AS s + JOIN frpm AS f ON f.CDSCode = s.CDSCode + WHERE s.CDSCode IN ('01751010130583', '01612910137588', '01611760134270') +) +SELECT NCESSchool +FROM candidates +WHERE enrollment = (SELECT MAX(enrollment) FROM candidates); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird010.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird010.sql new file mode 100644 index 00000000..172a76ff --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird010.sql @@ -0,0 +1,5 @@ +SELECT ROUND(AVG(COALESCE(t.NumTstTakr, 0)), 2) AS avg_sat_test_takers_per_school +FROM schools AS s +LEFT JOIN satscores AS t ON t.cds = s.CDSCode +WHERE s.CharterNum = '0756' + AND s.MailCity = 'San Diego'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird011.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird011.sql new file mode 100644 index 00000000..c70c0965 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird011.sql @@ -0,0 +1,37 @@ +WITH eligible AS ( + SELECT s.School AS school_name, + TRIM(s.GSserved) AS grade_span_served + FROM schools AS s + WHERE s.NCESDist = '0613360' + AND s.StatusType = 'Active' + AND s.School IS NOT NULL + AND (TRIM(s.GSserved) = '12' OR TRIM(s.GSserved) LIKE '%-12') + AND NOT EXISTS ( + SELECT 1 + FROM satscores AS sat + WHERE sat.cds = s.CDSCode + AND sat.NumTstTakr > 0 + ) +), starting_grades AS ( + SELECT school_name, + grade_span_served, + CASE + WHEN INSTR(grade_span_served, '-') = 0 THEN grade_span_served + ELSE TRIM(SUBSTR(grade_span_served, 1, INSTR(grade_span_served, '-') - 1)) + END AS start_grade + FROM eligible +), ranked_grades AS ( + SELECT school_name, + grade_span_served, + CASE + WHEN UPPER(start_grade) IN ('P', 'PK', 'PS', 'PRE', 'PRESCHOOL') THEN -2 + WHEN UPPER(start_grade) = 'TK' THEN -1 + WHEN UPPER(start_grade) = 'K' THEN 0 + ELSE CAST(start_grade AS INTEGER) + END AS grade_order + FROM starting_grades +) +SELECT school_name, grade_span_served +FROM ranked_grades +WHERE grade_order = (SELECT MIN(grade_order) FROM ranked_grades) +ORDER BY school_name COLLATE NOCASE; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird012.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird012.sql new file mode 100644 index 00000000..9222c2ac --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird012.sql @@ -0,0 +1,10 @@ +WITH eligible AS ( + SELECT s.School, s.MailStreet, a.AvgScrRead + FROM schools AS s + JOIN satscores AS a ON a.cds = s.CDSCode + WHERE s.DOCType = 'State Board of Education' + AND a.rtype = 'S' +) +SELECT School, MailStreet +FROM eligible +WHERE AvgScrRead = (SELECT MAX(AvgScrRead) FROM eligible); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird013.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird013.sql new file mode 100644 index 00000000..ebcb99da --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird013.sql @@ -0,0 +1,13 @@ +SELECT s.City +FROM schools AS s +WHERE s.CDSCode = '01611920113902' + AND s.County = 'Alameda' + AND s.EILCode = 'HS' + AND EXISTS ( + SELECT 1 + FROM frpm AS f + WHERE f.CDSCode = s.CDSCode + AND f."NSLP Provision Status" = 'Breakfast Provision 2' + AND f."Low Grade" = '9' + AND f."High Grade" = '12' + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird014.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird014.sql new file mode 100644 index 00000000..1095594f --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird014.sql @@ -0,0 +1,7 @@ +SELECT s.School AS school_name, s.City AS city +FROM schools AS s +JOIN frpm AS f ON f.CDSCode = s.CDSCode +WHERE s.EILCode = 'HS' + AND f."NSLP Provision Status" = 'Provision 2' + AND CAST(f."Low Grade" AS INTEGER) > 9 +ORDER BY s.School; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird015.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird015.sql new file mode 100644 index 00000000..cf369438 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird015.sql @@ -0,0 +1,10 @@ +WITH eligible AS ( + SELECT s.School, s.Phone, a.NumGE1500 + FROM schools AS s + JOIN satscores AS a ON a.cds = s.CDSCode + WHERE s.DOCType = 'Statewide Benefit Charter' + AND a.rtype = 'S' +) +SELECT School, Phone +FROM eligible +WHERE NumGE1500 = (SELECT MAX(NumGE1500) FROM eligible); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird016.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird016.sql new file mode 100644 index 00000000..6755520e --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird016.sql @@ -0,0 +1,6 @@ +SELECT sat.AvgScrMath, sat.NumTstTakr +FROM satscores AS sat +JOIN schools AS s ON s.CDSCode = sat.cds +WHERE s.CDSCode = '01611190130609' + AND s.Charter = 1 + AND s.FundingType = 'Directly funded'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird017.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird017.sql new file mode 100644 index 00000000..5e9891c3 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird017.sql @@ -0,0 +1,9 @@ +SELECT COUNT(*) AS school_count +FROM satscores AS s +WHERE s.rtype = 'S' + AND s.cname = 'Contra Costa' + AND s.NumTstTakr > ( + SELECT t.NumTstTakr + FROM satscores AS t + WHERE t.cds = '07618040730051' AND t.rtype = 'S' + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird018.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird018.sql new file mode 100644 index 00000000..a84052d8 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird018.sql @@ -0,0 +1,12 @@ +SELECT COUNT(DISTINCT sc.CDSCode) AS qualifying_school_count +FROM schools AS sc +JOIN satscores AS sat ON sat.cds = sc.CDSCode +WHERE sc.MailCity = 'San Francisco' + AND sc.DOCType IN ( + 'Unified School District', + 'High School District', + 'Elementary School District', + 'County Office of Education (COE)' + ) + AND sat.rtype = 'S' + AND sat.AvgScrRead + sat.AvgScrMath + sat.AvgScrWrite >= 1500; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird019.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird019.sql new file mode 100644 index 00000000..fcf76e55 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird019.sql @@ -0,0 +1,20 @@ +WITH starting_grades AS ( + SELECT TRIM(SUBSTR(GSserved, 1, INSTR(GSserved || '-', '-') - 1)) AS grade_level + FROM schools + WHERE NCESDist = '0632640' +), ranked_grades AS ( + SELECT grade_level, + CASE + WHEN grade_level = 'P' THEN -2 + WHEN grade_level = 'TK' THEN -1 + WHEN grade_level = 'K' THEN 0 + WHEN grade_level <> '' AND grade_level NOT GLOB '*[^0-9]*' + THEN CAST(grade_level AS INTEGER) + END AS grade_order + FROM starting_grades +) +SELECT grade_level +FROM ranked_grades +WHERE grade_order IS NOT NULL +ORDER BY grade_order +LIMIT 1; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird020.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird020.sql new file mode 100644 index 00000000..d0ae0856 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird020.sql @@ -0,0 +1,52 @@ +WITH county_records AS ( + SELECT CDSCode AS cds_code, + substr(CDSCode, 1, 7) AS district_code, + District AS district_name, + DOC, + School, + AdmFName1, + AdmFName2, + AdmFName3 + FROM schools + WHERE County IN ('Amador', 'Madera') +), +public_districts AS ( + SELECT DISTINCT district_code, district_name + FROM county_records + WHERE substr(cds_code, -7) = '0000000' + AND DOC IN ('00', '52', '54', '56') +), +school_records AS ( + SELECT cds_code, district_code, AdmFName1, AdmFName2, AdmFName3 + FROM county_records + WHERE substr(cds_code, -7) <> '0000000' + AND NULLIF(trim(School), '') IS NOT NULL +), +school_admin_names AS ( + SELECT cds_code, district_code, NULLIF(trim(AdmFName1), '') AS first_name + FROM school_records + UNION + SELECT cds_code, district_code, NULLIF(trim(AdmFName2), '') + FROM school_records + UNION + SELECT cds_code, district_code, NULLIF(trim(AdmFName3), '') + FROM school_records +), +top_names AS ( + SELECT first_name, COUNT(*) AS total_schools + FROM school_admin_names + WHERE first_name IS NOT NULL + GROUP BY first_name + ORDER BY total_schools DESC, first_name ASC + LIMIT 2 +) +SELECT d.district_name, + t.first_name, + COUNT(a.cds_code) AS school_count +FROM public_districts AS d +CROSS JOIN top_names AS t +LEFT JOIN school_admin_names AS a + ON a.district_code = d.district_code + AND a.first_name = t.first_name +GROUP BY d.district_code, d.district_name, t.first_name, t.total_schools +ORDER BY d.district_name, d.district_code, t.total_schools DESC, t.first_name; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird021.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird021.sql new file mode 100644 index 00000000..952d9a70 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird021.sql @@ -0,0 +1,6 @@ +SELECT ROUND(AVG(COALESCE(f."FRPM Count (Ages 5-17)", 0)), 2) AS average_eligible_students +FROM schools AS s +LEFT JOIN frpm AS f + ON f.CDSCode = s.CDSCode + AND f."Academic Year" = '2014-2015' +WHERE s.SOCType = 'Youth Authority Facilities'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird022.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird022.sql new file mode 100644 index 00000000..ea4967fc --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird022.sql @@ -0,0 +1,3 @@ +SELECT School, EILName +FROM schools +WHERE CDSCode = '01612590136051'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird023.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird023.sql new file mode 100644 index 00000000..d2d389bc --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird023.sql @@ -0,0 +1,10 @@ +WITH eligible_schools AS ( + SELECT s.School, s.AdmEmail1, sat.NumGE1500 + FROM schools AS s + JOIN satscores AS sat ON sat.cds = s.CDSCode + WHERE s.DOCType = 'State Board of Education' + AND sat.rtype = 'S' +) +SELECT School, AdmEmail1 +FROM eligible_schools +WHERE NumGE1500 = (SELECT MAX(NumGE1500) FROM eligible_schools); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird024.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird024.sql new file mode 100644 index 00000000..50853e4b --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird024.sql @@ -0,0 +1,9 @@ +WITH middle_schools AS ( + SELECT SOCType, School, Latitude + FROM schools + WHERE State = 'CA' + AND (SOCType LIKE '%Middle%' OR School LIKE '%Middle%') +) +SELECT SOCType AS "School Type", School AS "School Name", Latitude +FROM middle_schools +WHERE Latitude = (SELECT MAX(Latitude) FROM middle_schools); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird025.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird025.sql new file mode 100644 index 00000000..e20f9ba3 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird025.sql @@ -0,0 +1,14 @@ +SELECT ROUND(AVG(COALESCE(sat.NumTstTakr, 0)), 2) AS avg_sat_test_takers +FROM schools AS s +LEFT JOIN satscores AS sat + ON sat.cds = s.CDSCode AND sat.rtype = 'S' +WHERE s.County = 'Los Angeles' + AND s.OpenDate >= '2007-01-01' + AND s.OpenDate < '2008-01-01' + AND s.School IS NOT NULL + AND s.DOCType IN ( + 'County Office of Education (COE)', + 'Elementary School District', + 'High School District', + 'Unified School District' + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird026.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird026.sql new file mode 100644 index 00000000..e277b400 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird026.sql @@ -0,0 +1,18 @@ +SELECT + s.FundingType AS funding_category, + COUNT(*) AS active_charter_school_count, + SUM(f."Enrollment (K-12)") AS total_k12_enrollment_2014_2015, + ROUND(100.0 * AVG(f."Percent (%) Eligible FRPM (K-12)"), 2) AS avg_k12_frpm_eligible_pct, + ROUND(AVG(a.AvgScrRead + a.AvgScrMath + a.AvgScrWrite), 2) AS avg_combined_sat_score +FROM schools AS s +LEFT JOIN frpm AS f + ON f.CDSCode = s.CDSCode + AND f."Academic Year" = '2014-2015' +LEFT JOIN satscores AS a + ON a.cds = s.CDSCode + AND a.rtype = 'S' +WHERE s.StatusType = 'Active' + AND s.Charter = 1 + AND s.FundingType IN ('Directly funded', 'Locally funded') +GROUP BY s.FundingType +ORDER BY s.FundingType; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird027.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird027.sql new file mode 100644 index 00000000..fb6b6fcd --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird027.sql @@ -0,0 +1,19 @@ +SELECT + f."School Name" AS school_name, + f."Low Grade" AS earliest_grade_level, + f."Enrollment (K-12)" AS k12_enrollment, + COALESCE(s.NumTstTakr, 0) AS sat_test_takers +FROM frpm AS f +LEFT JOIN satscores AS s + ON s.cds = f.CDSCode AND s.rtype = 'S' +WHERE f."Academic Year" = '2014-2015' + AND f."School Type" = 'State Special Schools' +ORDER BY + CASE f."Low Grade" + WHEN 'P' THEN -1 + WHEN 'K' THEN 0 + ELSE CAST(f."Low Grade" AS INTEGER) + END DESC, + f."Enrollment (K-12)" DESC, + f."School Name" COLLATE NOCASE ASC +LIMIT 1; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird028.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird028.sql new file mode 100644 index 00000000..4be41cec --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird028.sql @@ -0,0 +1,13 @@ +SELECT COUNT(DISTINCT f.CDSCode) AS school_count +FROM frpm AS f +WHERE f."Enrollment (K-12)" > 500 + AND TRIM(f."High Grade") IN ('1', '2', '3', '4', '5', '6', '7', '8') + AND NULLIF(TRIM(f."School Name"), '') IS NOT NULL + AND f."School Code" <> '0000000' + AND NOT EXISTS ( + SELECT 1 + FROM satscores AS s + WHERE s.cds = f.CDSCode + AND s.rtype = 'S' + AND s.NumTstTakr > 0 + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird029.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird029.sql new file mode 100644 index 00000000..7a551eda --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird029.sql @@ -0,0 +1,13 @@ +SELECT + f."Charter Funding Type" AS charter_funding_type, + COUNT(*) AS active_school_count, + SUM(f."Enrollment (K-12)") AS total_k12_enrollment, + SUM(f."FRPM Count (K-12)") AS total_k12_frpm_eligible +FROM frpm AS f +JOIN schools AS s ON s.CDSCode = f.CDSCode +WHERE f."District Type" = 'County Office of Education (COE)' + AND f."Charter School (Y/N)" = 1 + AND f."Charter Funding Type" IN ('Directly funded', 'Locally funded') + AND s.StatusType = 'Active' +GROUP BY f."Charter Funding Type" +ORDER BY CASE f."Charter Funding Type" WHEN 'Directly funded' THEN 1 ELSE 2 END; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird030.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird030.sql new file mode 100644 index 00000000..fbc7b41b --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird030.sql @@ -0,0 +1,16 @@ +WITH ranked_schools AS ( + SELECT s.School AS school_name, + s.District AS district, + s.County AS county, + sa.AvgScrWrite AS average_sat_writing_score, + DENSE_RANK() OVER (ORDER BY sa.AvgScrWrite DESC) AS score_rank + FROM schools AS s + JOIN satscores AS sa ON sa.cds = s.CDSCode + WHERE s.StatusType = 'Closed' + AND sa.rtype = 'S' + AND sa.AvgScrWrite IS NOT NULL +) +SELECT school_name, district, county, average_sat_writing_score +FROM ranked_schools +WHERE score_rank = 2 +ORDER BY school_name, district, county; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird031.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird031.sql new file mode 100644 index 00000000..3ef8fdde --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird031.sql @@ -0,0 +1,10 @@ +SELECT COUNT(DISTINCT s.CDSCode) AS school_count +FROM schools AS s +WHERE s.StatusType = 'Active' + AND s.EILName = 'High School' + AND NOT EXISTS ( + SELECT 1 + FROM satscores AS sat + WHERE sat.cds = s.CDSCode + AND sat.NumTstTakr <> 0 + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird032.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird032.sql new file mode 100644 index 00000000..30c2e46c --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird032.sql @@ -0,0 +1,20 @@ +WITH target_county AS ( + SELECT DISTINCT County + FROM schools + WHERE CDSCode = '01612590125716' +) +SELECT + c.County AS county_name, + COUNT(f.CDSCode) AS school_count, + ROUND(AVG(ROUND(100.0 * f."Free Meal Count (K-12)" / f."Enrollment (K-12)", 2)), 2) AS avg_free_meal_percentage, + ROUND(AVG(ROUND(100.0 * f."FRPM Count (K-12)" / f."Enrollment (K-12)", 2)), 2) AS avg_frpm_percentage, + COUNT(CASE WHEN f."Charter School (Y/N)" = 1 THEN 1 END) AS charter_school_count, + COUNT(CASE WHEN f."Charter School (Y/N)" = 0 THEN 1 END) AS non_charter_school_count, + ROUND(AVG(s.AvgScrRead + s.AvgScrMath + s.AvgScrWrite), 2) AS avg_sat_score +FROM target_county AS c +LEFT JOIN frpm AS f + ON f."County Name" = c.County + AND f."Free Meal Count (K-12)" > 500 + AND f."FRPM Count (K-12)" < 700 +LEFT JOIN satscores AS s ON s.cds = f.CDSCode +GROUP BY c.County; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird033.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird033.sql new file mode 100644 index 00000000..fcff8c03 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird033.sql @@ -0,0 +1,7 @@ +SELECT COUNT(*) / 12.0 AS average_schools_per_month +FROM schools +WHERE County = 'San Diego' + AND DOC IN ('52', '54', '56') + AND School IS NOT NULL + AND OpenDate >= '1980-01-01' + AND OpenDate < '1981-01-01'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird034.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird034.sql new file mode 100644 index 00000000..83b8c038 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird034.sql @@ -0,0 +1,6 @@ +SELECT ROUND(100.0 * COUNT(CASE WHEN s.Virtual IN ('F', 'P') THEN 1 END) / COUNT(*), 1) AS virtual_percentage +FROM schools AS s +JOIN satscores AS t ON t.cds = s.CDSCode +WHERE s.State = 'CA' + AND t.rtype = 'S' + AND t.AvgScrMath > 400; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird035.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird035.sql new file mode 100644 index 00000000..a4dba338 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird035.sql @@ -0,0 +1,17 @@ +SELECT + s.School, + s.County, + s.District, + s.City, + f."Enrollment (K-12)", + f."FRPM Count (K-12)", + f."Percent (%) Eligible FRPM (K-12)", + sat.NumTstTakr, + sat.AvgScrRead, + sat.AvgScrMath, + sat.AvgScrWrite, + sat.NumGE1500 +FROM schools AS s +LEFT JOIN frpm AS f ON f.CDSCode = s.CDSCode +LEFT JOIN satscores AS sat ON sat.cds = s.CDSCode +WHERE s.CDSCode = '01612590137943'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird036.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird036.sql new file mode 100644 index 00000000..d7fc4feb --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird036.sql @@ -0,0 +1,33 @@ +WITH meal_rates AS ( + SELECT s.CDSCode, + s.School AS school_name, + s.Charter AS charter, + s.GSserved AS grades_served, + 1.0 * f."Free Meal Count (K-12)" / + NULLIF(f."Enrollment (K-12)", 0) AS free_meal_rate + FROM schools AS s + JOIN frpm AS f ON f.CDSCode = s.CDSCode + WHERE s.County = 'Alameda' + AND (TRIM(s.GSserved) = '12' OR TRIM(s.GSserved) LIKE '%-12') +), top_schools AS ( + SELECT CDSCode, school_name, charter, grades_served, free_meal_rate + FROM meal_rates + WHERE free_meal_rate = (SELECT MAX(free_meal_rate) FROM meal_rates) +), results AS ( + SELECT m.school_name, m.free_meal_rate, m.charter, m.grades_served, + t.AvgScrRead + t.AvgScrMath + t.AvgScrWrite AS sat_total + FROM top_schools AS m + LEFT JOIN satscores AS t ON t.cds = m.CDSCode +) +SELECT school_name, + ROUND(free_meal_rate, 4) AS free_meal_rate, + CASE charter WHEN 1 THEN 'Yes' WHEN 0 THEN 'No' ELSE 'Unknown' END AS charter_school, + grades_served, + CASE + WHEN sat_total IS NULL THEN 'No SAT Data' + WHEN sat_total < 1200 THEN 'Below Average' + WHEN sat_total <= 1500 THEN 'Average' + ELSE 'Above Average' + END AS sat_performance_level +FROM results +ORDER BY school_name; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird037.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird037.sql new file mode 100644 index 00000000..34a98132 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird037.sql @@ -0,0 +1,24 @@ +WITH math_benchmark AS ( + SELECT MAX(a.AvgScrMath) AS highest_avg_sat_math + FROM satscores AS a + JOIN schools AS s ON s.CDSCode = a.cds + WHERE s.StatusType = 'Active' + AND a.rtype = 'S' + AND a.NumTstTakr >= 10 +) +SELECT s.School AS school_name, + s.Phone AS phone_number, + s.Website AS website, + a.AvgScrRead AS avg_sat_reading, + a.AvgScrMath AS avg_sat_math, + a.AvgScrWrite AS avg_sat_writing, + (s.Charter = 1) AS is_charter, + f."Enrollment (K-12)" AS k12_enrollment_2014_2015, + ROUND(100.0 * f."Percent (%) Eligible FRPM (K-12)", 2) AS pct_eligible_frpm_k12, + b.highest_avg_sat_math, + b.highest_avg_sat_math - a.AvgScrMath AS sat_math_points_below_highest +FROM schools AS s +LEFT JOIN satscores AS a ON a.cds = s.CDSCode AND a.rtype = 'S' +LEFT JOIN frpm AS f ON f.CDSCode = s.CDSCode AND f."Academic Year" = '2014-2015' +CROSS JOIN math_benchmark AS b +WHERE s.CDSCode = '07618040113118'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird038.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird038.sql new file mode 100644 index 00000000..3e240fa0 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird038.sql @@ -0,0 +1,28 @@ +WITH virtual_schools AS ( + SELECT CDSCode, County, School + FROM schools + WHERE Virtual = 'F' +), county_counts AS ( + SELECT County, + COUNT(*) AS school_count, + RANK() OVER (ORDER BY COUNT(*) DESC) AS county_rank + FROM virtual_schools + GROUP BY County +), ranked_reading AS ( + SELECT v.CDSCode, v.County, v.School, + RANK() OVER ( + PARTITION BY v.County + ORDER BY t.AvgScrRead DESC + ) AS reading_rank + FROM virtual_schools AS v + JOIN satscores AS t ON t.cds = v.CDSCode + WHERE t.AvgScrRead IS NOT NULL +) +SELECT c.County AS county_name, + c.school_count AS exclusively_virtual_school_count, + CASE WHEN r.CDSCode IS NULL THEN 'None' ELSE r.School END AS school_name +FROM county_counts AS c +LEFT JOIN ranked_reading AS r + ON r.County = c.County AND r.reading_rank = 1 +WHERE c.county_rank <= 5 +ORDER BY c.school_count DESC, c.County, school_name; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird039.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird039.sql new file mode 100644 index 00000000..da2093d4 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird039.sql @@ -0,0 +1,14 @@ +WITH target_counties (county) AS ( + SELECT 'Santa Barbara' + UNION + SELECT County + FROM schools + WHERE CDSCode = '01100170109835' +) +SELECT t.county AS county, + COUNT(DISTINCT s.CDSCode) AS exclusive_virtual_schools +FROM target_counties AS t +LEFT JOIN schools AS s + ON s.County = t.county AND s.Virtual = 'F' +GROUP BY t.county +ORDER BY exclusive_virtual_schools DESC, county ASC; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird040.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird040.sql new file mode 100644 index 00000000..33033a62 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird040.sql @@ -0,0 +1,45 @@ +WITH eligible AS ( + SELECT f.CDSCode, + f."Enrollment (K-12)" AS enrollment, + f."FRPM Count (K-12)" AS frpm_count, + 1.0 * f."FRPM Count (K-12)" / f."Enrollment (K-12)" AS frpm_share + FROM frpm AS f + WHERE f."Educational Option Type" = 'Traditional' + AND f."Charter School (Y/N)" = 0 + AND f."Enrollment (K-12)" > 100 +), extremes AS ( + SELECT MAX(frpm_count) AS max_count, MIN(frpm_share) AS min_share + FROM eligible +), selected AS ( + SELECT 1 AS part_order, 'largest FRPM-eligible count' AS part, e.* + FROM eligible AS e CROSS JOIN extremes AS x + WHERE e.frpm_count = x.max_count + UNION ALL + SELECT 2, 'smallest FRPM share', e.* + FROM eligible AS e CROSS JOIN extremes AS x + WHERE e.frpm_share = x.min_share + UNION ALL + SELECT 3, 'the CDS code from my notes', e.* + FROM eligible AS e + WHERE e.CDSCode = '04615150435602' +) +SELECT p.part, + s.School AS school_name, + s.County AS county, + s.City AS city, + s.MailStreet AS mailing_street, + s.MailCity AS mailing_city, + s.MailState AS mailing_state, + s.MailZip AS mailing_zip, + s.Website AS website, + p.enrollment AS k12_enrollment, + p.frpm_count AS frpm_eligible_count, + p.frpm_share, + a.AvgScrRead + a.AvgScrMath + a.AvgScrWrite AS avg_total_sat_score, + 100.0 * a.NumGE1500 / NULLIF(a.NumTstTakr, 0) AS pct_sat_takers_scoring_1500_or_more, + s.OpenDate AS opening_date, + CASE WHEN NULLIF(s.ClosedDate, '') IS NOT NULL THEN 'closed' ELSE 'open' END AS status +FROM selected AS p +JOIN schools AS s ON s.CDSCode = p.CDSCode +LEFT JOIN satscores AS a ON a.cds = p.CDSCode AND a.rtype = 'S' +ORDER BY p.part_order, s.School, p.CDSCode; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird041.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird041.sql new file mode 100644 index 00000000..77daae94 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird041.sql @@ -0,0 +1,7 @@ +SELECT s.School AS school_name, + s.Street AS street_address +FROM frpm AS f +JOIN schools AS s ON s.CDSCode = f.CDSCode +WHERE NULLIF(TRIM(s.School), '') IS NOT NULL + AND f."Enrollment (K-12)" - f."Enrollment (Ages 5-17)" > 30 + AND f."High Grade" IN ('K', '1', '2', '3', '4', '5', '6', '7', '8'); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird042.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird042.sql new file mode 100644 index 00000000..77a7783e --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird042.sql @@ -0,0 +1,6 @@ +SELECT s.School, s.Street +FROM schools AS s +JOIN frpm AS f ON f.CDSCode = s.CDSCode +WHERE f."Low Grade" IN ('9', '10', '11', '12') + AND f."Enrollment (K-12)" - f."Enrollment (Ages 5-17)" > 30 +ORDER BY s.CDSCode ASC; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird043.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird043.sql new file mode 100644 index 00000000..b1ab9fd4 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird043.sql @@ -0,0 +1,14 @@ +SELECT f."County Name" AS county_name, + COUNT(DISTINCT f.CDSCode) AS qualifying_schools +FROM frpm AS f +WHERE f."Academic Year" = '2014-2015' + AND CAST(f."Free Meal Count (K-12)" AS REAL) / NULLIF(f."Enrollment (K-12)", 0) > 0.1 + AND EXISTS ( + SELECT 1 + FROM satscores AS s + WHERE s.cds = f.CDSCode + AND s.rtype = 'S' + AND CAST(s.NumGE1500 AS INTEGER) >= 1 + ) +GROUP BY f."County Name" +ORDER BY qualifying_schools DESC, county_name ASC; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird044.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird044.sql new file mode 100644 index 00000000..54a2e9e0 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird044.sql @@ -0,0 +1,9 @@ +SELECT s.AdmFName1, s.AdmLName1 +FROM schools AS ref +JOIN schools AS s ON s.County = ref.County +JOIN satscores AS sat ON sat.cds = s.CDSCode +WHERE ref.CDSCode = '01611430131177' + AND sat.rtype = 'S' + AND sat.NumGE1500 IS NOT NULL +ORDER BY sat.NumGE1500 DESC, s.CDSCode ASC +LIMIT 1; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird045.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird045.sql new file mode 100644 index 00000000..249357e4 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird045.sql @@ -0,0 +1,10 @@ +SELECT a.Street, a.City, a.Zip, a.State +FROM satscores AS s +JOIN schools AS a ON a.CDSCode = s.cds +LEFT JOIN frpm AS f ON f.CDSCode = s.cds +WHERE s.rtype = 'S' + AND s.NumTstTakr >= 700 + AND s.NumGE1500 IS NOT NULL +ORDER BY CAST(s.NumGE1500 AS REAL) / s.NumTstTakr ASC, + CAST(f."School Code" AS INTEGER) ASC NULLS LAST +LIMIT 1; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird046.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird046.sql new file mode 100644 index 00000000..a3f3691b --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird046.sql @@ -0,0 +1,7 @@ +SELECT s.City AS city, COUNT(DISTINCT s.CDSCode) AS magnet_school_count +FROM schools AS s +JOIN frpm AS f ON f.CDSCode = s.CDSCode +WHERE s.Magnet = 1 + AND f."NSLP Provision Status" = 'Provision 2' +GROUP BY s.City +ORDER BY magnet_school_count DESC, city; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird047.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird047.sql new file mode 100644 index 00000000..130a20c0 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird047.sql @@ -0,0 +1,15 @@ +SELECT s.School AS school_name, + s.Street AS street_address, + s.City AS city, + s.State AS state, + s.Zip AS zip_code +FROM frpm AS f +JOIN schools AS s ON s.CDSCode = f.CDSCode +WHERE f."County Name" = 'Los Angeles' + AND f."School Type" IN ( + 'High Schools (Public)', + 'Continuation High Schools', + 'High Schools In 1 School Dist. (Public)' + ) + AND f."FRPM Count (Ages 5-17)" > 500 +ORDER BY s.School, s.CDSCode; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird048.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird048.sql new file mode 100644 index 00000000..0789c414 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird048.sql @@ -0,0 +1,8 @@ +SELECT s.County AS county_name, + COALESCE(SUM(t.NumTstTakr), 0) AS total_sat_test_takers +FROM schools AS s +JOIN frpm AS f ON f.CDSCode = s.CDSCode +LEFT JOIN satscores AS t ON t.cds = s.CDSCode AND t.rtype = 'S' +WHERE f."NSLP Provision Status" = 'Provision 2' + AND s.Magnet = 1 +GROUP BY s.County; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird049.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird049.sql new file mode 100644 index 00000000..3dcd78c0 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird049.sql @@ -0,0 +1,4 @@ +SELECT id +FROM cards +WHERE borderColor = 'borderless' + AND (cardKingdomId IS NULL OR cardKingdomFoilId IS NULL); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird050.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird050.sql new file mode 100644 index 00000000..96e9ba9c --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird050.sql @@ -0,0 +1,11 @@ +WITH ruling_counts AS ( + SELECT c.uuid, COUNT(r.uuid) AS ruling_count + FROM cards AS c + LEFT JOIN rulings AS r ON r.uuid = c.uuid + GROUP BY c.uuid +) +SELECT DISTINCT c.name, c.artist, c.isPromo +FROM cards AS c +JOIN ruling_counts AS rc ON rc.uuid = c.uuid +WHERE rc.ruling_count = (SELECT MAX(ruling_count) FROM ruling_counts) +ORDER BY c.name, c.artist, c.isPromo; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird051.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird051.sql new file mode 100644 index 00000000..f072e180 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird051.sql @@ -0,0 +1,9 @@ +SELECT ROUND( + 100.0 * COUNT(CASE WHEN c.uuid IN ( + SELECT fd.uuid + FROM foreign_data AS fd + WHERE fd.language = 'Chinese Simplified' + ) THEN 1 END) / COUNT(*), + 2 +) AS percentage +FROM cards AS c; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird052.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird052.sql new file mode 100644 index 00000000..966dabcb --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird052.sql @@ -0,0 +1 @@ +SELECT DISTINCT text FROM cards WHERE name = 'Benalish Knight'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird053.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird053.sql new file mode 100644 index 00000000..4d9d9921 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird053.sql @@ -0,0 +1,8 @@ +SELECT ROUND(100.0 * AVG(EXISTS ( + SELECT 1 + FROM foreign_data AS f + WHERE f.uuid = c.uuid + AND f.language = 'French' +)), 2) AS french_translation_percentage +FROM cards AS c +WHERE c.isStorySpotlight = 1; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird054.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird054.sql new file mode 100644 index 00000000..33562a0e --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird054.sql @@ -0,0 +1,3 @@ +SELECT id +FROM cards +WHERE duelDeck = 'a'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird055.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird055.sql new file mode 100644 index 00000000..06646acc --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird055.sql @@ -0,0 +1,8 @@ +SELECT COUNT(DISTINCT c.uuid) AS banned_white_bordered_printings +FROM cards AS c +WHERE c.borderColor = 'white' + AND c.uuid IN ( + SELECT l.uuid + FROM legalities AS l + WHERE l.status = 'Banned' + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird056.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird056.sql new file mode 100644 index 00000000..14f3a75f --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird056.sql @@ -0,0 +1,8 @@ +SELECT COUNT(DISTINCT c.uuid) AS printing_count +FROM cards AS c +JOIN ( + SELECT DISTINCT uuid + FROM rulings + WHERE text LIKE '%triggered ability%' +) AS r ON r.uuid = c.uuid +WHERE c.power IS NULL OR c.power LIKE '%*%'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird057.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird057.sql new file mode 100644 index 00000000..36fb2cb7 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird057.sql @@ -0,0 +1,9 @@ +WITH commander_legal AS ( + SELECT DISTINCT uuid + FROM legalities + WHERE format = 'commander' AND status = 'Legal' +) +SELECT 100.0 * AVG(CASE WHEN c.hasContentWarning = 0 THEN 1.0 ELSE 0.0 END) + AS percentage_without_content_warning +FROM cards AS c +JOIN commander_legal AS l ON l.uuid = c.uuid; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird058.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird058.sql new file mode 100644 index 00000000..262c6652 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird058.sql @@ -0,0 +1,9 @@ +WITH french_printings AS ( + SELECT DISTINCT uuid + FROM foreign_data + WHERE language = 'French' +) +SELECT ROUND(100.0 * COUNT(f.uuid) / NULLIF(COUNT(*), 0), 2) AS french_translation_percentage +FROM cards AS c +LEFT JOIN french_printings AS f ON f.uuid = c.uuid +WHERE c.power IS NULL OR INSTR(c.power, '*') > 0; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird059.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird059.sql new file mode 100644 index 00000000..78565b2f --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird059.sql @@ -0,0 +1,9 @@ +SELECT COUNT(*) AS set_count +FROM sets AS s +WHERE s.block = 'Ice Age' + AND EXISTS ( + SELECT 1 + FROM set_translations AS st + WHERE st.setCode = s.code + AND st.language = 'Italian' + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird060.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird060.sql new file mode 100644 index 00000000..2fcaaa2b --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird060.sql @@ -0,0 +1,12 @@ +SELECT 100.0 * AVG(CASE + WHEN NULLIF(TRIM(c.cardKingdomId), '') IS NOT NULL + AND NULLIF(TRIM(c.cardKingdomFoilId), '') IS NOT NULL + THEN 1 ELSE 0 + END) AS percentage +FROM cards AS c +WHERE EXISTS ( + SELECT 1 + FROM sets AS s + WHERE s.code = c.setCode + AND s.name = 'Coldsnap' +); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird061.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird061.sql new file mode 100644 index 00000000..a46573a5 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird061.sql @@ -0,0 +1,15 @@ +WITH banned_printings AS ( + SELECT l.format, c.name AS card_name + FROM legalities AS l + JOIN cards AS c ON c.uuid = l.uuid + WHERE l.status = 'Banned' +), format_counts AS ( + SELECT format, COUNT(*) AS banned_printing_count + FROM banned_printings + GROUP BY format +) +SELECT DISTINCT b.format, b.card_name +FROM banned_printings AS b +JOIN format_counts AS f ON f.format = b.format +WHERE f.banned_printing_count = (SELECT MAX(banned_printing_count) FROM format_counts) +ORDER BY b.format, b.card_name; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird062.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird062.sql new file mode 100644 index 00000000..a436302d --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird062.sql @@ -0,0 +1,12 @@ +SELECT COUNT(DISTINCT c.name) AS card_count +FROM cards AS c +JOIN legalities AS l ON l.uuid = c.uuid +WHERE l.format = 'brawl' + AND l.status = 'Legal' + AND c.leadershipSkills LIKE '%''brawl'': True%' + AND instr(',' || c.types || ',', ',Creature,') > 0 + AND EXISTS ( + SELECT 1 + FROM cards AS p + WHERE p.name = c.name AND p.isPromo = 1 + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird063.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird063.sql new file mode 100644 index 00000000..c4adbee2 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird063.sql @@ -0,0 +1,4 @@ +SELECT MAX(CAST(frameVersion AS INTEGER)) - MIN(CAST(frameVersion AS INTEGER)) AS span_in_years +FROM cards +WHERE name = 'Tarmogoyf' + AND frameVersion GLOB '[0-9][0-9][0-9][0-9]'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird064.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird064.sql new file mode 100644 index 00000000..e4d623ba --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird064.sql @@ -0,0 +1,5 @@ +SELECT COUNT(*) AS card_count +FROM cards +WHERE borderColor = 'black' + AND instr(',' || availability || ',', ',mtgo,') > 0 + AND CAST(power AS INTEGER) >= 10; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird065.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird065.sql new file mode 100644 index 00000000..4bcc8655 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird065.sql @@ -0,0 +1,9 @@ +WITH translation_counts AS ( + SELECT setCode, COUNT(DISTINCT translation COLLATE BINARY) AS translation_count + FROM set_translations + GROUP BY setCode +) +SELECT SUM(s.totalSetSize) AS total_cards +FROM sets AS s +LEFT JOIN translation_counts AS t ON t.setCode = s.code +WHERE COALESCE(t.translation_count, 0) < 5; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird066.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird066.sql new file mode 100644 index 00000000..d2314170 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird066.sql @@ -0,0 +1,19 @@ +WITH set_status AS ( + SELECT s.type AS set_type, + s.totalSetSize AS card_count, + EXISTS ( + SELECT 1 + FROM set_translations AS st + WHERE st.setCode = s.code + AND TRIM(st.translation) <> '' + ) AS has_translation + FROM sets AS s +) +SELECT set_type, + COUNT(CASE WHEN has_translation THEN 1 END) AS translated_set_count, + CASE WHEN COUNT(CASE WHEN has_translation THEN 1 END) = 0 THEN 0 + ELSE SUM(CASE WHEN has_translation THEN card_count END) + END AS total_cards +FROM set_status +GROUP BY set_type +ORDER BY set_type; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird067.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird067.sql new file mode 100644 index 00000000..d4a0f212 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird067.sql @@ -0,0 +1,13 @@ +WITH factory_rulings AS ( + SELECT DATE(r.date) AS ruling_date, r.text AS ruling_text + FROM rulings AS r + WHERE EXISTS ( + SELECT 1 + FROM cards AS c + WHERE c.uuid = r.uuid + AND c.name = 'Mishra''s Factory' + ) +) +SELECT COUNT(DISTINCT ruling_text) AS ruling_count +FROM factory_rulings +WHERE ruling_date = (SELECT MAX(ruling_date) FROM factory_rulings); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird068.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird068.sql new file mode 100644 index 00000000..f670006e --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird068.sql @@ -0,0 +1,11 @@ +WITH artist_counts AS ( + SELECT artist, COUNT(DISTINCT name) AS creature_card_count + FROM cards + WHERE ',' || types || ',' LIKE '%,Creature,%' + AND artist IS NOT NULL + GROUP BY artist +) +SELECT artist, creature_card_count +FROM artist_counts +WHERE creature_card_count = (SELECT MAX(creature_card_count) FROM artist_counts) +ORDER BY artist; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird069.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird069.sql new file mode 100644 index 00000000..874d3afc --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird069.sql @@ -0,0 +1,8 @@ +SELECT frameVersion, COUNT(*) AS card_count +FROM cards +WHERE frameVersion = ( + SELECT MAX(frameVersion) + FROM cards + WHERE convertedManaCost = 0 +) +GROUP BY frameVersion; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird070.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird070.sql new file mode 100644 index 00000000..51bf20c7 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird070.sql @@ -0,0 +1,14 @@ +WITH frame_counts AS ( + SELECT frameVersion, + COUNT(*) AS printing_count, + SUM(COUNT(*)) OVER () AS total_printings + FROM cards + WHERE name = 'Tarmogoyf' + GROUP BY frameVersion +) +SELECT CAST(frameVersion AS INTEGER) AS frame_year, + ROUND(100.0 * printing_count / total_printings, 2) AS percentage +FROM frame_counts +WHERE frameVersion GLOB '[0-9][0-9][0-9][0-9]' +ORDER BY frame_year DESC +LIMIT 1; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird071.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird071.sql new file mode 100644 index 00000000..b519fb06 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird071.sql @@ -0,0 +1,6 @@ +SELECT COUNT(DISTINCT c.name) AS card_count +FROM cards AS c +JOIN legalities AS l ON l.uuid = c.uuid +WHERE c.manaCost = '{0}' + AND l.format = 'commander' + AND l.status = 'Legal'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird072.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird072.sql new file mode 100644 index 00000000..29353efa --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird072.sql @@ -0,0 +1,4 @@ +SELECT COUNT(*) AS card_count +FROM cards +WHERE instr(',' || keywords || ',', ',Flying,') > 0 + AND instr(',' || keywords || ',', ',Cycling,') > 0; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird073.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird073.sql new file mode 100644 index 00000000..a9f557ac --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird073.sql @@ -0,0 +1,36 @@ +WITH first_printing AS ( + SELECT s.code, s.name, s.releaseDate + FROM sets AS s + WHERE s.releaseDate IS NOT NULL + AND EXISTS ( + SELECT 1 + FROM cards AS c + WHERE c.setCode = s.code + AND c.name = 'Abyssal Horror' + ) + ORDER BY s.releaseDate ASC, s.code ASC + LIMIT 1 +), +latest_set AS ( + SELECT s.code, s.name, s.releaseDate + FROM sets AS s + WHERE s.releaseDate IS NOT NULL + ORDER BY s.releaseDate DESC, s.code ASC + LIMIT 1 +), +selected_sets AS ( + SELECT code, name, releaseDate FROM first_printing + UNION + SELECT code, name, releaseDate FROM latest_set +) +SELECT s.name AS set_name, + ROUND( + 100.0 * COUNT(CASE + WHEN TRIM(c.manaCost) <> '' AND c.convertedManaCost <= 3 THEN 1 + END) / NULLIF(COUNT(c.setCode), 0), + 2 + ) AS percentage +FROM selected_sets AS s +LEFT JOIN cards AS c ON c.setCode = s.code +GROUP BY s.code, s.name, s.releaseDate +ORDER BY s.releaseDate, s.code; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird074.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird074.sql new file mode 100644 index 00000000..327fc9a6 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird074.sql @@ -0,0 +1,4 @@ +SELECT COUNT(DISTINCT name) AS release_promo_card_count +FROM cards +WHERE isPromo = 1 + AND instr(',' || promoTypes || ',', ',release,') > 0; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird075.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird075.sql new file mode 100644 index 00000000..04ffeba4 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird075.sql @@ -0,0 +1,12 @@ +WITH abzan_cards AS ( + SELECT c.uuid, c.name, c.number, + RANK() OVER (ORDER BY CAST(c.number AS INTEGER) DESC) AS collector_rank + FROM cards AS c + WHERE c.watermark = 'abzan' COLLATE NOCASE +) +SELECT a.name, + a.number AS collector_number, + (SELECT COUNT(*) FROM foreign_data AS f WHERE f.uuid = a.uuid) AS foreign_language_printings +FROM abzan_cards AS a +WHERE a.collector_rank = 1 +ORDER BY a.name; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird076.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird076.sql new file mode 100644 index 00000000..12a9ea43 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird076.sql @@ -0,0 +1,5 @@ +SELECT COUNT(*) AS card_count +FROM cards +WHERE borderColor = 'white' + AND power NOT LIKE '%*%' + AND CAST(power AS REAL) < 3; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird077.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird077.sql new file mode 100644 index 00000000..51da34f2 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird077.sql @@ -0,0 +1,11 @@ +WITH flash_cards AS ( + SELECT c.name, c.convertedManaCost + FROM cards AS c + JOIN sets AS s ON s.code = c.setCode + WHERE s.name = 'Dark Ascension' + AND instr(',' || c.keywords || ',', ',Flash,') > 0 +) +SELECT DISTINCT name +FROM flash_cards +WHERE convertedManaCost = (SELECT MAX(convertedManaCost) FROM flash_cards) +ORDER BY name; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird078.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird078.sql new file mode 100644 index 00000000..4fd18d83 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird078.sql @@ -0,0 +1,13 @@ +SELECT + s.name, + s.keyruneCode, + ( + SELECT COUNT(DISTINCT st.language) + FROM set_translations AS st + WHERE st.setCode = s.code + AND NULLIF(TRIM(st.translation), '') IS NOT NULL + ) AS language_count +FROM sets AS s +WHERE s.releaseDate >= '2020-01-01' + AND s.releaseDate < '2021-01-01' +ORDER BY s.releaseDate, s.name, s.code; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird079.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird079.sql new file mode 100644 index 00000000..b336ad2d --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird079.sql @@ -0,0 +1,12 @@ +SELECT SUM(s.totalSetSize) AS total_cards +FROM sets AS s +WHERE s.releaseDate >= '2017-01-01' + AND s.releaseDate < '2018-01-01' + AND EXISTS ( + SELECT 1 + FROM set_translations AS t + WHERE t.setCode = s.code + AND TRIM(t.language) <> '' + AND TRIM(t.language) COLLATE NOCASE <> 'English' + AND TRIM(t.translation) <> '' + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird080.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird080.sql new file mode 100644 index 00000000..5d6c7089 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird080.sql @@ -0,0 +1,6 @@ +SELECT COUNT(*) AS card_count +FROM cards +WHERE duelDeck = 'b' + AND hasFoil = 0 + AND power = CAST(CAST(power AS INTEGER) AS TEXT) + AND CAST(power AS INTEGER) < 3; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird081.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird081.sql new file mode 100644 index 00000000..22796b2e --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird081.sql @@ -0,0 +1,13 @@ +WITH artist_counts AS ( + SELECT artist, COUNT(*) AS card_count + FROM cards + WHERE borderColor = 'black' + AND instr(',' || availability || ',', ',arena,') > 0 + AND trim(power) NOT GLOB '*[^0-9]*' + AND CAST(trim(power) AS INTEGER) >= 10 + GROUP BY artist +) +SELECT artist, card_count +FROM artist_counts +WHERE card_count = (SELECT MAX(card_count) FROM artist_counts) +ORDER BY artist; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird082.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird082.sql new file mode 100644 index 00000000..21e182e3 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird082.sql @@ -0,0 +1,10 @@ +SELECT COUNT(DISTINCT c.name) AS card_count +FROM cards AS c +WHERE c.hasContentWarning = 1 + AND instr(',' || c.availability || ',', ',paper,') > 0 + AND NOT EXISTS ( + SELECT 1 + FROM cards AS m + WHERE m.name = c.name + AND instr(',' || m.availability || ',', ',mtgo,') > 0 + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird083.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird083.sql new file mode 100644 index 00000000..f102c1be --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird083.sql @@ -0,0 +1,12 @@ +SELECT + s.type AS expansion_type, + COUNT(CASE WHEN EXISTS ( + SELECT 1 + FROM set_translations AS st + WHERE st.setCode = s.code + AND st.language = 'Japanese' + AND TRIM(st.translation) <> '' + ) THEN 1 END) AS japanese_name_count +FROM sets AS s +GROUP BY s.type +ORDER BY s.type; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird084.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird084.sql new file mode 100644 index 00000000..82b079c0 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird084.sql @@ -0,0 +1,8 @@ +SELECT COUNT(DISTINCT artist) AS artist_count +FROM cards +WHERE borderColor = 'black' + AND instr(',' || availability || ',', ',arena,') > 0 + AND instr(',' || availability || ',', ',mtgo,') = 0 + AND power <> '' + AND power NOT GLOB '*[^0-9]*' + AND CAST(power AS INTEGER) >= 5; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird085.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird085.sql new file mode 100644 index 00000000..11c61b3c --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird085.sql @@ -0,0 +1,21 @@ +WITH chosen_sets AS ( + SELECT s.code, s.releaseDate + FROM sets AS s + WHERE EXISTS ( + SELECT 1 + FROM cards AS a + WHERE a.setCode = s.code + AND a.name = 'Ancestor''s Chosen' + ) +) +SELECT COUNT(*) AS creature_count +FROM cards AS c +WHERE c.setCode IN ( + SELECT code + FROM chosen_sets + WHERE releaseDate = (SELECT MAX(releaseDate) FROM chosen_sets) +) + AND (',' || REPLACE(c.types, ' ', '') || ',') LIKE '%,Creature,%' + AND c.power = CAST(CAST(c.power AS INTEGER) AS TEXT) + AND c.toughness = CAST(CAST(c.toughness AS INTEGER) AS TEXT) + AND CAST(c.power AS INTEGER) > CAST(c.toughness AS INTEGER); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird086.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird086.sql new file mode 100644 index 00000000..2cf54867 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird086.sql @@ -0,0 +1,9 @@ +SELECT frameVersion AS frame_year, COUNT(*) AS card_count +FROM cards +WHERE cardKingdomId IS NOT NULL + AND cardKingdomFoilId IS NOT NULL + AND leadershipSkills LIKE '%''commander'': True%' + AND frameVersion GLOB '[0-9][0-9][0-9][0-9]' +GROUP BY frameVersion +ORDER BY frame_year DESC +LIMIT 1; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird087.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird087.sql new file mode 100644 index 00000000..28bd9bc7 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird087.sql @@ -0,0 +1,7 @@ +SELECT COUNT(*) AS total_rulings +FROM ( + SELECT DISTINCT r.date, r.text + FROM rulings AS r + JOIN cards AS c ON c.uuid = r.uuid + WHERE c.name = 'Fireball' +) AS unique_rulings; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird088.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird088.sql new file mode 100644 index 00000000..7fb41db4 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird088.sql @@ -0,0 +1,19 @@ +WITH elf_cards AS ( + SELECT DISTINCT name + FROM cards + WHERE originalType = 'Creature - Elf' +), distinct_rulings AS ( + SELECT DISTINCT e.name, r.date, r.text + FROM elf_cards AS e + JOIN cards AS c ON c.name = e.name + JOIN rulings AS r ON r.uuid = c.uuid +), ruling_counts AS ( + SELECT e.name, COUNT(r.name) AS ruling_count + FROM elf_cards AS e + LEFT JOIN distinct_rulings AS r ON r.name = e.name + GROUP BY e.name +) +SELECT name, ruling_count +FROM ruling_counts +WHERE ruling_count = (SELECT MAX(ruling_count) FROM ruling_counts) +ORDER BY name; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird089.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird089.sql new file mode 100644 index 00000000..682afc22 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird089.sql @@ -0,0 +1,8 @@ +SELECT c.colors AS card_color, + COUNT(DISTINCT l.format) AS legal_format_count +FROM cards AS c +LEFT JOIN legalities AS l + ON l.uuid = c.uuid AND l.status = 'Legal' +WHERE c.id BETWEEN 1 AND 20 +GROUP BY c.colors +ORDER BY c.colors; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird090.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird090.sql new file mode 100644 index 00000000..a0efd5bb --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird090.sql @@ -0,0 +1,13 @@ +WITH frame_counts AS ( + SELECT CAST(frameVersion AS INTEGER) AS frame_year, + COUNT(*) AS card_count + FROM cards + WHERE artist = 'John Avon' + AND NULLIF(TRIM(cardKingdomId), '') IS NOT NULL + AND NULLIF(TRIM(cardKingdomFoilId), '') IS NOT NULL + AND frameVersion GLOB '[0-9][0-9][0-9][0-9]' + GROUP BY CAST(frameVersion AS INTEGER) +) +SELECT frame_year, card_count +FROM frame_counts +WHERE frame_year = (SELECT MAX(frame_year) FROM frame_counts); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird091.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird091.sql new file mode 100644 index 00000000..551cd6f1 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird091.sql @@ -0,0 +1,11 @@ +SELECT COUNT(*) AS printing_count +FROM cards AS c +WHERE c.artist = 'Erica Yang' + AND INSTR(',' || c.availability || ',', ',paper,') > 0 + AND EXISTS ( + SELECT 1 + FROM legalities AS l + WHERE l.uuid = c.uuid + AND l.format = 'pauper' + AND l.status = 'Legal' + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird092.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird092.sql new file mode 100644 index 00000000..d966db10 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird092.sql @@ -0,0 +1,7 @@ +SELECT cardKingdomFoilId, cardKingdomId +FROM cards +WHERE (',' || types || ',') LIKE '%,Creature,%' + AND cardKingdomFoilId IS NOT NULL + AND cardKingdomId IS NOT NULL +ORDER BY cardKingdomFoilId ASC, cardKingdomId ASC +LIMIT 3; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird093.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird093.sql new file mode 100644 index 00000000..bf628864 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird093.sql @@ -0,0 +1,16 @@ +WITH type_counts AS ( + SELECT c.types AS card_type, COUNT(*) AS card_count + FROM cards AS c + WHERE c.watermark = 'boros' + AND EXISTS ( + SELECT 1 + FROM foreign_data AS f + WHERE f.uuid = c.uuid + AND f.language COLLATE NOCASE <> 'English' + ) + GROUP BY c.types +) +SELECT card_type, card_count +FROM type_counts +WHERE card_count = (SELECT MAX(card_count) FROM type_counts) +ORDER BY card_type; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird094.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird094.sql new file mode 100644 index 00000000..49ced640 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird094.sql @@ -0,0 +1,20 @@ +WITH guild_counts AS ( + SELECT LOWER(c.watermark) AS guild, + COUNT(DISTINCT c.uuid) AS card_count + FROM cards AS c + WHERE LOWER(c.watermark) IN ( + 'azorius', 'boros', 'dimir', 'golgari', 'gruul', + 'izzet', 'orzhov', 'rakdos', 'selesnya', 'simic' + ) + AND c.uuid IN ( + SELECT f.uuid + FROM foreign_data AS f + WHERE LOWER(f.language) <> 'english' + ) + GROUP BY LOWER(c.watermark) +) +SELECT UPPER(SUBSTR(guild, 1, 1)) || SUBSTR(guild, 2) AS guild, + card_count +FROM guild_counts +WHERE card_count = (SELECT MAX(card_count) FROM guild_counts) +ORDER BY guild; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird095.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird095.sql new file mode 100644 index 00000000..822d649c --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird095.sql @@ -0,0 +1,10 @@ +SELECT c.type AS card_type, COUNT(*) AS card_count +FROM cards AS c +WHERE c.watermark = 'azorius' + AND EXISTS ( + SELECT 1 + FROM foreign_data AS f + WHERE f.uuid = c.uuid + ) +GROUP BY c.type +ORDER BY card_count DESC, card_type ASC; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird096.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird096.sql new file mode 100644 index 00000000..73f8dea3 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird096.sql @@ -0,0 +1,4 @@ +SELECT COUNT(DISTINCT name) AS card_count +FROM cards +WHERE isTextless = 0 + AND CAST(frameVersion AS INTEGER) >= 2015; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird097.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird097.sql new file mode 100644 index 00000000..930b873d --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird097.sql @@ -0,0 +1,9 @@ +SELECT DISTINCT name +FROM cards +WHERE isPromo = 1 + AND otherFaceIds IS NOT NULL + AND CAST(frameVersion AS INTEGER) = ( + SELECT MAX(CAST(frameVersion AS INTEGER)) + FROM cards + ) +ORDER BY name; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird098.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird098.sql new file mode 100644 index 00000000..ae27ee01 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird098.sql @@ -0,0 +1,6 @@ +SELECT DISTINCT name +FROM cards +WHERE isPromo = 1 + AND otherFaceIds IS NOT NULL + AND SUBSTR(originalReleaseDate, 1, 4) = '2019' +ORDER BY name; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird099.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird099.sql new file mode 100644 index 00000000..8ffafbed --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird099.sql @@ -0,0 +1,9 @@ +SELECT DISTINCT s.name AS set_name, s.releaseDate AS release_date +FROM cards AS c +JOIN sets AS s ON s.code = c.setCode +WHERE c.name = 'Tarmogoyf' + AND c.isReprint = 1 + AND c.frameVersion GLOB '[0-9][0-9][0-9][0-9]' + AND CAST(strftime('%Y', s.releaseDate) AS INTEGER) + - CAST(c.frameVersion AS INTEGER) >= 10 +ORDER BY release_date, set_name; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird100.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird100.sql new file mode 100644 index 00000000..d01a9946 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird100.sql @@ -0,0 +1,10 @@ +SELECT COUNT(*) AS printing_count +FROM ( + SELECT c.setCode, c.number + FROM cards AS c + JOIN foreign_data AS f ON f.uuid = c.uuid + WHERE c.name = 'Counterspell' + AND f.language IN ('French', 'Italian') + GROUP BY c.setCode, c.number + HAVING COUNT(DISTINCT f.language) = 2 +) AS localized_printings; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird101.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird101.sql new file mode 100644 index 00000000..106f387c --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird101.sql @@ -0,0 +1,14 @@ +SELECT s.name, s.releaseDate +FROM sets AS s +WHERE s.type IN ( + SELECT ref.type + FROM sets AS ref + WHERE ref.name = 'From the Vault: Lore' +) +AND NOT EXISTS ( + SELECT 1 + FROM set_translations AS st + WHERE st.setCode = s.code + AND TRIM(st.translation) <> '' +) +ORDER BY s.releaseDate ASC, s.name ASC; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird102.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird102.sql new file mode 100644 index 00000000..d72d43e1 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird102.sql @@ -0,0 +1,18 @@ +WITH ranked_printings AS ( + SELECT s.name AS set_name, + s.releaseDate AS release_date, + DENSE_RANK() OVER ( + ORDER BY CASE c.frameVersion + WHEN 'future' THEN 2007 + ELSE CAST(c.frameVersion AS INTEGER) + END DESC, + s.releaseDate DESC + ) AS printing_rank + FROM cards AS c + JOIN sets AS s ON s.code = c.setCode + WHERE c.name = 'Aven Mindcensor' +) +SELECT DISTINCT set_name, release_date +FROM ranked_printings +WHERE printing_rank = 1 +ORDER BY set_name; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird103.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird103.sql new file mode 100644 index 00000000..d98df45b --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird103.sql @@ -0,0 +1,12 @@ +SELECT s.code, s.releaseDate +FROM sets AS s +WHERE s.releaseDate >= '2020-01-01' + AND s.releaseDate < '2021-01-01' + AND NOT EXISTS ( + SELECT 1 + FROM set_translations AS st + WHERE st.setCode = s.code + AND st.language = 'Spanish' + AND NULLIF(TRIM(st.translation), '') IS NOT NULL + ) +ORDER BY s.releaseDate, s.code; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird104.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird104.sql new file mode 100644 index 00000000..e6d94b54 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird104.sql @@ -0,0 +1,5 @@ +SELECT SUM(convertedManaCost) AS total_converted_mana_cost +FROM cards +WHERE artist = 'Rob Alexander' + AND originalReleaseDate >= '2013-01-01' + AND originalReleaseDate < '2014-01-01'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird105.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird105.sql new file mode 100644 index 00000000..f60f5148 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird105.sql @@ -0,0 +1,12 @@ +WITH language_counts AS ( + SELECT s.id, COUNT(DISTINCT t.language) AS language_count + FROM sets AS s + LEFT JOIN set_translations AS t + ON t.setCode = s.code + AND TRIM(t.translation) <> '' + WHERE s.releaseDate >= '2016-01-01' + AND s.releaseDate < '2017-01-01' + GROUP BY s.id +) +SELECT ROUND(AVG(language_count), 2) AS average_languages +FROM language_counts; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird106.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird106.sql new file mode 100644 index 00000000..dec02991 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird106.sql @@ -0,0 +1,17 @@ +WITH block_sets AS ( + SELECT s.block, s.baseSetSize, + EXISTS ( + SELECT 1 + FROM set_translations AS st + WHERE st.setCode = s.code + AND st.translation <> '' + ) AS has_translation + FROM sets AS s + WHERE s.block COLLATE BINARY IN ('Masques', 'Mirage') +) +SELECT block, + COUNT(*) FILTER (WHERE has_translation) AS translated_set_count, + SUM(baseSetSize) FILTER (WHERE has_translation) AS total_base_set_cards +FROM block_sets +GROUP BY block +ORDER BY block; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird107.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird107.sql new file mode 100644 index 00000000..04aec03e --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird107.sql @@ -0,0 +1,18 @@ +WITH japanese_printings AS ( + SELECT f.name AS japanese_name, + c.type AS english_card_type, + c.uuid, + MAX(CASE WHEN c.watermark = 'boros' THEN 1 ELSE 0 END) AS has_boros_watermark + FROM cards AS c + JOIN foreign_data AS f ON f.uuid = c.uuid + WHERE f.language = 'Japanese' + GROUP BY f.name, c.type, c.uuid +) +SELECT p.japanese_name, + p.english_card_type, + COUNT(r.id) AS total_rulings +FROM japanese_printings AS p +LEFT JOIN rulings AS r ON r.uuid = p.uuid +GROUP BY p.japanese_name, p.english_card_type +HAVING MAX(p.has_boros_watermark) = 1 +ORDER BY p.japanese_name, p.english_card_type; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird108.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird108.sql new file mode 100644 index 00000000..19745011 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird108.sql @@ -0,0 +1,17 @@ +WITH set_languages AS ( + SELECT DISTINCT language + FROM set_translations + WHERE language IS NOT NULL + AND TRIM(translation) <> '' +), printing_counts AS ( + SELECT sl.language, COUNT(DISTINCT fd.uuid) AS printing_count + FROM set_languages AS sl + LEFT JOIN foreign_data AS fd + ON fd.language = sl.language + AND TRIM(fd.flavorText) <> '' + GROUP BY sl.language +) +SELECT language, printing_count +FROM printing_counts +WHERE printing_count = (SELECT MIN(printing_count) FROM printing_counts) +ORDER BY language; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird109.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird109.sql new file mode 100644 index 00000000..e921e6ee --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird109.sql @@ -0,0 +1,11 @@ +SELECT COUNT(DISTINCT c.name) AS creature_count +FROM cards AS c +WHERE (',' || c.types || ',') LIKE '%,Creature,%' + AND CAST(c.power AS INTEGER) >= 10 + AND EXISTS ( + SELECT 1 + FROM set_translations AS st + WHERE st.setCode = c.setCode + AND st.language = 'French' + AND NULLIF(TRIM(st.translation), '') IS NOT NULL + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird110.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird110.sql new file mode 100644 index 00000000..f52e3559 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird110.sql @@ -0,0 +1,14 @@ +WITH eligible_creatures AS ( + SELECT DISTINCT c.name, c.convertedManaCost AS mana_value + FROM cards AS c + WHERE c.edhrecRank BETWEEN 1 AND 1000 + AND (',' || REPLACE(c.types, ' ', '') || ',') LIKE '%,Creature,%' + AND EXISTS ( + SELECT 1 + FROM legalities AS l + WHERE l.uuid = c.uuid + AND l.status = 'Banned' COLLATE NOCASE + ) +) +SELECT ROUND(AVG(mana_value), 1) AS average_mana_value +FROM eligible_creatures; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird111.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird111.sql new file mode 100644 index 00000000..e7dbc445 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird111.sql @@ -0,0 +1,7 @@ +SELECT COUNT(*) AS total_printings +FROM ( + SELECT DISTINCT setCode, number, name + FROM cards + WHERE CAST(power AS REAL) > 3 + AND CAST(power AS REAL) <= 10 +) AS matching_printings; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird112.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird112.sql new file mode 100644 index 00000000..ee2a9f13 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird112.sql @@ -0,0 +1,11 @@ +SELECT COUNT(*) AS printing_count +FROM cards AS c +WHERE c.originalReleaseDate >= '2014-01-01' + AND c.originalReleaseDate < '2015-01-01' + AND EXISTS ( + SELECT 1 + FROM sets AS s + WHERE s.code = c.setCode + AND s.mtgoCode IS NOT NULL + AND TRIM(s.mtgoCode) <> '' + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird113.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird113.sql new file mode 100644 index 00000000..119cdfed --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird113.sql @@ -0,0 +1,15 @@ +WITH printing_counts AS ( + SELECT f.language, COUNT(*) AS printing_count + FROM foreign_data AS f + WHERE f.language <> 'English' + AND EXISTS ( + SELECT 1 + FROM set_translations AS st + WHERE st.language = f.language + ) + GROUP BY f.language +) +SELECT language, printing_count +FROM printing_counts +WHERE printing_count = (SELECT MIN(printing_count) FROM printing_counts) +ORDER BY language; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird114.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird114.sql new file mode 100644 index 00000000..2a2f9c57 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird114.sql @@ -0,0 +1,15 @@ +SELECT COUNT(*) AS printing_count +FROM cards AS c +WHERE EXISTS ( + SELECT 1 + FROM sets AS s + WHERE s.code = c.setCode + AND s.name = 'Coldsnap' +) +AND EXISTS ( + SELECT 1 + FROM foreign_data AS f + WHERE f.uuid = c.uuid + AND f.language = 'Italian' + AND TRIM(f.text) <> '' +); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird115.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird115.sql new file mode 100644 index 00000000..fd17cf80 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird115.sql @@ -0,0 +1,25 @@ +WITH eligible_sets AS ( + SELECT id, code, name, totalSetSize, isForeignOnly + FROM sets + WHERE type = 'commander' + AND releaseDate >= '2020-01-01' + AND releaseDate < '2021-01-01' +), top_sets AS ( + SELECT id, code, name, isForeignOnly + FROM eligible_sets + WHERE totalSetSize = (SELECT MAX(totalSetSize) FROM eligible_sets) +), release_languages AS ( + SELECT code, 'English' AS language + FROM top_sets + WHERE isForeignOnly = 0 + UNION + SELECT c.setCode, fd.language + FROM top_sets AS s + JOIN cards AS c ON c.setCode = s.code + JOIN foreign_data AS fd ON fd.uuid = c.uuid +) +SELECT s.id, s.name, COUNT(l.language) AS language_count +FROM top_sets AS s +LEFT JOIN release_languages AS l ON l.code = s.code +GROUP BY s.id, s.name +ORDER BY s.id ASC; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird116.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird116.sql new file mode 100644 index 00000000..f2ba6468 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird116.sql @@ -0,0 +1,4 @@ +SELECT COUNT(DISTINCT f.language) AS foreign_language_count +FROM cards AS c +JOIN foreign_data AS f ON f.uuid = c.uuid +WHERE c.name = 'Swamp'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird117.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird117.sql new file mode 100644 index 00000000..231893f8 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird117.sql @@ -0,0 +1,11 @@ +SELECT COUNT(DISTINCT c.scryfallOracleId) AS card_count +FROM cards AS c +WHERE c.colors = 'B' + AND instr(',' || c.types || ',', ',Artifact,') > 0 + AND EXISTS ( + SELECT 1 + FROM foreign_data AS f + WHERE f.uuid = c.uuid + AND f.language <> 'English' + AND TRIM(f.flavorText) <> '' + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird118.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird118.sql new file mode 100644 index 00000000..1fe5bf39 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird118.sql @@ -0,0 +1,4 @@ +SELECT u.DisplayName +FROM posts AS p +JOIN users AS u ON u.Id = p.LastEditorUserId +WHERE p.Title = 'Examples for teaching: Correlation does not mean causation'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird119.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird119.sql new file mode 100644 index 00000000..51714ba0 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird119.sql @@ -0,0 +1,10 @@ +SELECT DISTINCT UserId +FROM ( + SELECT ph.UserId, ph.PostId + FROM postHistory AS ph + JOIN posts AS p ON p.Id = ph.PostId + WHERE p.ViewCount >= 1000 + AND ph.UserId IS NOT NULL + GROUP BY ph.UserId, ph.PostId + HAVING COUNT(*) = 1 +) AS qualifying_user_posts; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird120.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird120.sql new file mode 100644 index 00000000..196d9461 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird120.sql @@ -0,0 +1,6 @@ +SELECT 100.0 * ( + COUNT(CASE WHEN strftime('%Y', Date) = '2010' THEN 1 END) + - COUNT(CASE WHEN strftime('%Y', Date) = '2011' THEN 1 END) +) / NULLIF(COUNT(*), 0) AS difference_percentage_points +FROM badges +WHERE Name = 'Student'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird121.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird121.sql new file mode 100644 index 00000000..c14492e5 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird121.sql @@ -0,0 +1,4 @@ +SELECT ROUND(100.0 * AVG(CASE WHEN INSTR(p.Tags, '') > 0 THEN 1 ELSE 0 END), 2) AS percentage +FROM posts AS p +JOIN users AS u ON u.Id = p.OwnerUserId +WHERE u.DisplayName = 'Community'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird122.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird122.sql new file mode 100644 index 00000000..387f3108 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird122.sql @@ -0,0 +1,7 @@ +SELECT p.Id AS PostId, u.DisplayName AS OwnerDisplayName +FROM posts AS p +LEFT JOIN users AS u ON u.Id = p.OwnerUserId +WHERE p.CreaionDate >= '2010-01-01' + AND p.CreaionDate < '2011-01-01' +ORDER BY p.FavoriteCount DESC, p.Id ASC +LIMIT 1; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird123.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird123.sql new file mode 100644 index 00000000..2840d590 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird123.sql @@ -0,0 +1,5 @@ +SELECT p.ViewCount, + COALESCE(u.DisplayName, p.LastEditorDisplayName) AS LastEditorDisplayName +FROM posts AS p +LEFT JOIN users AS u ON u.Id = p.LastEditorUserId +WHERE p.Title = 'Computer game datasets'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird124.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird124.sql new file mode 100644 index 00000000..313b3ef4 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird124.sql @@ -0,0 +1,7 @@ +SELECT c.Text, COALESCE(u.DisplayName, c.UserDisplayName) AS DisplayName +FROM posts AS p +JOIN comments AS c ON c.PostId = p.Id +LEFT JOIN users AS u ON u.Id = c.UserId +WHERE p.Title = 'Analysing wind data with R' +ORDER BY c.CreationDate DESC, c.Id DESC +LIMIT 10; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird125.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird125.sql new file mode 100644 index 00000000..edc0b2e8 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird125.sql @@ -0,0 +1,8 @@ +SELECT ROUND(100.0 * AVG(CASE WHEN p.Score > 50 THEN 1 ELSE 0 END), 2) AS percentage +FROM posts AS p +WHERE p.OwnerUserId = ( + SELECT u.Id + FROM users AS u + ORDER BY u.Reputation DESC, u.Id + LIMIT 1 +); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird126.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird126.sql new file mode 100644 index 00000000..6750fdee --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird126.sql @@ -0,0 +1,12 @@ +SELECT COUNT(*) AS zero_score_comment_count +FROM ( + SELECT PostId + FROM comments + GROUP BY PostId + HAVING COUNT(*) = 1 AND MAX(Score) = 0 +) AS single_comment +WHERE EXISTS ( + SELECT 1 + FROM posts AS p + WHERE p.Id = single_comment.PostId +); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird127.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird127.sql new file mode 100644 index 00000000..3af29e42 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird127.sql @@ -0,0 +1,8 @@ +SELECT SUM(u.Reputation) AS total_reputation +FROM users AS u +WHERE u.Location LIKE '%United Kingdom%' + AND EXISTS ( + SELECT 1 + FROM posts AS p + WHERE p.OwnerUserId = u.Id + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird128.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird128.sql new file mode 100644 index 00000000..030e31ae --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird128.sql @@ -0,0 +1,7 @@ +SELECT ROUND(AVG(u.Age), 2) AS average_age +FROM users AS u +WHERE u.Id IN ( + SELECT c.UserId + FROM comments AS c + WHERE INSTR(c.Text, 'http://') > 0 +); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird129.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird129.sql new file mode 100644 index 00000000..31d2b6d6 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird129.sql @@ -0,0 +1,16 @@ +WITH organizer_awards AS ( + SELECT b.UserId, MIN(b.Date) AS organizer_date + FROM badges AS b + JOIN users AS u ON u.Id = b.UserId + WHERE b.Name = 'Organizer' + AND u.Location LIKE '%Germany%' + GROUP BY b.UserId +) +SELECT COUNT(*) AS user_count +FROM organizer_awards AS o +WHERE ( + SELECT COUNT(*) + FROM badges AS b + WHERE b.UserId = o.UserId + AND b.Date < o.organizer_date +) = 5; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird130.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird130.sql new file mode 100644 index 00000000..796d4ea2 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird130.sql @@ -0,0 +1,14 @@ +WITH first_posts AS ( + SELECT OwnerUserId, MIN(CreaionDate) AS first_post_at + FROM posts + GROUP BY OwnerUserId +) +SELECT COUNT(DISTINCT u.Id) AS user_count +FROM first_posts AS f +JOIN users AS u ON u.Id = f.OwnerUserId +WHERE f.first_post_at >= '2010-01-01' + AND f.first_post_at < '2011-01-01' + AND ( + LOWER(TRIM(u.Location)) = 'india' + OR REPLACE(LOWER(TRIM(u.Location)), ', ', ',') LIKE '%,india' + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird131.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird131.sql new file mode 100644 index 00000000..1f7ab54a --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird131.sql @@ -0,0 +1,9 @@ +WITH qualifying_owners AS ( + SELECT DISTINCT OwnerUserId + FROM posts + WHERE Score < 20 + AND INSTR(Tags, '') > 0 +) +SELECT CAST(ROUND(AVG(u.Reputation)) AS INTEGER) AS average_reputation +FROM qualifying_owners AS q +JOIN users AS u ON u.Id = q.OwnerUserId; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird132.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird132.sql new file mode 100644 index 00000000..d4bf7388 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird132.sql @@ -0,0 +1,22 @@ +WITH posts_2012 AS ( + SELECT LastEditorUserId, Score + FROM posts + WHERE CreaionDate >= '2012-01-01' + AND CreaionDate < '2013-01-01' +), +german_editors AS ( + SELECT u.Id, u.Reputation + FROM users AS u + JOIN (SELECT DISTINCT LastEditorUserId FROM posts_2012) AS e + ON e.LastEditorUserId = u.Id + WHERE LOWER(TRIM(u.Location)) = 'germany' + OR LOWER(TRIM(u.Location)) LIKE '%, germany' + OR LOWER(TRIM(u.Location)) = 'munich' +) +SELECT + SUM(p.Score) FILTER (WHERE g.Id IS NOT NULL) AS germany_edited_total_score, + SUM(p.Score) FILTER (WHERE g.Id IS NULL) AS other_posts_total_score, + (SELECT COUNT(*) FROM german_editors) AS german_editor_count, + (SELECT SUM(Reputation) FROM german_editors) AS german_editors_total_reputation +FROM posts_2012 AS p +LEFT JOIN german_editors AS g ON g.Id = p.LastEditorUserId; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird133.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird133.sql new file mode 100644 index 00000000..ec7f1d8f --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird133.sql @@ -0,0 +1,8 @@ +SELECT SUM(u.Reputation) AS combined_reputation +FROM users AS u +JOIN ( + SELECT DISTINCT p.OwnerUserId + FROM posts AS p + WHERE p.Score = 10 + AND instr(p.Tags, '') > 0 +) AS owners ON owners.OwnerUserId = u.Id; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird134.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird134.sql new file mode 100644 index 00000000..893f5238 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird134.sql @@ -0,0 +1,9 @@ +SELECT SUM(u.Reputation) AS combined_reputation +FROM ( + SELECT DISTINCT p.OwnerUserId + FROM posts AS p + WHERE p.LasActivityDate >= '2014-08-27' + AND p.LasActivityDate < '2014-08-28' + AND p.Tags LIKE '%%' +) AS owners +JOIN users AS u ON u.Id = owners.OwnerUserId; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird135.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird135.sql new file mode 100644 index 00000000..c748094b --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird135.sql @@ -0,0 +1,12 @@ +SELECT SUM(q.Score) AS total_score +FROM posts AS q +WHERE q.PostTypeId = 1 + AND q.Tags LIKE '%%' + AND EXISTS ( + SELECT 1 + FROM postLinks AS l + JOIN posts AS target ON target.Id = l.RelatedPostId + WHERE l.PostId = q.Id + AND target.PostTypeId = 1 + AND target.Title = 'A Probability distribution value exceeding 1 is OK?' + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird136.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird136.sql new file mode 100644 index 00000000..85b7f5c1 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird136.sql @@ -0,0 +1,15 @@ +WITH badge_totals AS ( + SELECT u.Id, u.DisplayName, COUNT(b.Id) AS badge_total + FROM users AS u + LEFT JOIN badges AS b ON b.UserId = u.Id + WHERE LOWER(u.Location) LIKE '%germany%' + GROUP BY u.Id, u.DisplayName +), ranked_users AS ( + SELECT DisplayName, badge_total, + DENSE_RANK() OVER (ORDER BY badge_total DESC) AS badge_rank + FROM badge_totals +) +SELECT DisplayName, badge_total +FROM ranked_users +WHERE badge_rank = 2 +ORDER BY DisplayName; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird137.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird137.sql new file mode 100644 index 00000000..bdf59e93 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird137.sql @@ -0,0 +1,10 @@ +WITH california_users AS ( + SELECT Id, DisplayName, Views, Reputation + FROM users + WHERE (' ' || LOWER(Location) || ' ') GLOB '*[^a-z]california[^a-z]*' + OR (' ' || LOWER(Location) || ' ') GLOB '*[^a-z]ca[^a-z]*' +) +SELECT Id, DisplayName, Views, Reputation +FROM california_users +WHERE Views = (SELECT MAX(Views) FROM california_users) +ORDER BY Id; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird138.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird138.sql new file mode 100644 index 00000000..b575cb6f --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird138.sql @@ -0,0 +1,11 @@ +WITH york_users AS ( + SELECT Age, Reputation + FROM users + WHERE lower(trim(Location)) IN ( + 'york', 'york, england', 'york, united kingdom', 'york, uk', + 'york, england, united kingdom', 'york, england, uk' + ) +) +SELECT Age +FROM york_users +WHERE Reputation = (SELECT MAX(Reputation) FROM york_users); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird139.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird139.sql new file mode 100644 index 00000000..3f7598a4 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird139.sql @@ -0,0 +1,6 @@ +SELECT COUNT(DISTINCT u.Id) AS user_count +FROM users AS u +JOIN badges AS b ON b.UserId = u.Id +WHERE u.Location LIKE '%India%' + AND b.Name = 'Yearling' + AND b.Date < '2014-01-01'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird140.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird140.sql new file mode 100644 index 00000000..cb992a5c --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird140.sql @@ -0,0 +1,8 @@ +SELECT COUNT(DISTINCT NULLIF(u.DisplayName, 'NaN')) AS distinct_display_names +FROM users AS u +WHERE u.Age BETWEEN 19 AND 65 + AND EXISTS ( + SELECT 1 + FROM badges AS b + WHERE b.UserId = u.Id AND b.Name = 'Supporter' + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird141.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird141.sql new file mode 100644 index 00000000..d2a5240f --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird141.sql @@ -0,0 +1,23 @@ +WITH matching_posts AS ( + SELECT Id, Title + FROM posts + WHERE LOWER(Title) LIKE '%principal component scores%' +), linked_posts AS ( + SELECT p.Id AS post_id, l.RelatedPostId AS linked_post_id + FROM matching_posts AS p + JOIN postLinks AS l ON l.PostId = p.Id + UNION ALL + SELECT p.Id AS post_id, l.PostId AS linked_post_id + FROM matching_posts AS p + JOIN postLinks AS l ON l.RelatedPostId = p.Id +), related_counts AS ( + SELECT p.Title, COUNT(DISTINCT l.linked_post_id) AS related_post_count + FROM matching_posts AS p + LEFT JOIN linked_posts AS l + ON l.post_id = p.Id AND l.linked_post_id <> p.Id + GROUP BY p.Id, p.Title +) +SELECT Title, related_post_count +FROM related_counts +WHERE related_post_count = (SELECT MAX(related_post_count) FROM related_counts) +ORDER BY Title; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird143.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird143.sql new file mode 100644 index 00000000..54139128 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird143.sql @@ -0,0 +1,7 @@ +SELECT COUNT(DISTINCT p.OwnerUserId) + + COUNT(DISTINCT CASE WHEN p.OwnerUserId IS NULL THEN p.OwnerDisplayName END) AS user_count +FROM votes AS v +JOIN posts AS p ON p.Id = v.PostId +WHERE v.BountyAmount >= 30 + AND v.CreationDate >= '2010-01-01' + AND v.CreationDate < '2011-01-01'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird144.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird144.sql new file mode 100644 index 00000000..aa8fdeaa --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird144.sql @@ -0,0 +1,11 @@ +WITH posters AS ( + SELECT DISTINCT OwnerUserId + FROM posts + WHERE CreaionDate >= '2010-01-01' + AND CreaionDate < '2011-01-01' +) +SELECT ROUND(AVG(u.Reputation), 2) AS average_reputation +FROM posters AS p +JOIN users AS u ON u.Id = p.OwnerUserId +WHERE LOWER(TRIM(u.Location)) = 'india' + OR LOWER(TRIM(u.Location)) LIKE '%, india'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird145.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird145.sql new file mode 100644 index 00000000..5da79e1e --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird145.sql @@ -0,0 +1,12 @@ +WITH active_users AS ( + SELECT OwnerUserId + FROM posts + WHERE CreaionDate >= '2012-01-01' + AND CreaionDate < '2013-01-01' + GROUP BY OwnerUserId + HAVING COUNT(*) > 10 +) +SELECT ROUND(AVG(u.UpVotes), 2) AS average_upvotes_cast, + ROUND(AVG(u.Age), 2) AS average_age +FROM active_users AS a +JOIN users AS u ON u.Id = a.OwnerUserId; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird146.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird146.sql new file mode 100644 index 00000000..3762ca04 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird146.sql @@ -0,0 +1,19 @@ +WITH RECURSIVE months(month_start) AS ( + SELECT '2010-01-01' + UNION ALL + SELECT date(month_start, '+1 month') + FROM months + WHERE month_start < '2010-12-01' +), monthly_counts AS ( + SELECT date(pl.CreationDate, 'start of month') AS month_start, + COUNT(DISTINCT p.Id) AS post_count + FROM postLinks AS pl + JOIN posts AS p ON p.Id = pl.RelatedPostId + WHERE pl.CreationDate >= '2010-01-01' + AND pl.CreationDate < '2011-01-01' + AND p.AnswerCount <= 2 + GROUP BY date(pl.CreationDate, 'start of month') +) +SELECT ROUND(AVG(COALESCE(mc.post_count, 0)), 2) AS average_monthly_posts +FROM months AS m +LEFT JOIN monthly_counts AS mc ON mc.month_start = m.month_start; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird147.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird147.sql new file mode 100644 index 00000000..c427929e --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird147.sql @@ -0,0 +1,10 @@ +SELECT ROUND(100.0 * AVG(CASE WHEN NOT EXISTS ( + SELECT 1 + FROM users AS u + WHERE u.Id = p.OwnerUserId + AND u.Reputation >= 1000 +) THEN 1 ELSE 0 END), 2) AS percentage +FROM posts AS p +WHERE p.CreaionDate >= '2010-01-01' + AND p.CreaionDate < '2011-01-01' + AND p.Score > 5; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird148.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird148.sql new file mode 100644 index 00000000..1c3c2b26 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird148.sql @@ -0,0 +1,14 @@ +WITH editor_counts AS ( + SELECT u.DisplayName AS display_name, + COUNT(*) AS edit_comment_count + FROM posts AS p + JOIN postHistory AS h ON h.PostId = p.Id + JOIN users AS u ON u.Id = h.UserId + WHERE p.Title = 'Why square the difference instead of taking the absolute value in standard deviation?' + AND NULLIF(TRIM(h.Comment), '') IS NOT NULL + GROUP BY u.Id, u.DisplayName +) +SELECT display_name, edit_comment_count +FROM editor_counts +WHERE edit_comment_count = (SELECT MAX(edit_comment_count) FROM editor_counts) +ORDER BY display_name; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird149.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird149.sql new file mode 100644 index 00000000..8ef1e74b --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird149.sql @@ -0,0 +1,26 @@ +WITH customer_totals AS ( + SELECT c.Segment, c.CustomerID, SUM(y.Consumption) AS total_consumption + FROM customers AS c + JOIN yearmonth AS y ON y.CustomerID = c.CustomerID + WHERE c.Currency = 'CZK' + AND c.Segment IN ('SME', 'LAM', 'KAM') + AND substr(y.Date, 1, 4) = '2013' + GROUP BY c.Segment, c.CustomerID +), ranked AS ( + SELECT Segment, total_consumption, + ROW_NUMBER() OVER ( + PARTITION BY Segment + ORDER BY total_consumption ASC NULLS LAST, CustomerID ASC + ) AS segment_rank + FROM customer_totals +), lowest_totals AS ( + SELECT MAX(CASE WHEN Segment = 'SME' THEN total_consumption END) AS sme, + MAX(CASE WHEN Segment = 'LAM' THEN total_consumption END) AS lam, + MAX(CASE WHEN Segment = 'KAM' THEN total_consumption END) AS kam + FROM ranked + WHERE segment_rank = 1 +) +SELECT ROUND(sme - lam, 2) AS sme_minus_lam, + ROUND(lam - kam, 2) AS lam_minus_kam, + ROUND(kam - sme, 2) AS kam_minus_sme +FROM lowest_totals; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird150.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird150.sql new file mode 100644 index 00000000..9e8dd21d --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird150.sql @@ -0,0 +1,23 @@ +WITH annual_totals AS ( + SELECT c.Segment, + SUM(CASE WHEN y.Date >= '201201' AND y.Date < '201301' THEN y.Consumption END) AS total_2012, + SUM(CASE WHEN y.Date >= '201301' AND y.Date < '201401' THEN y.Consumption END) AS total_2013 + FROM customers AS c + JOIN yearmonth AS y ON y.CustomerID = c.CustomerID + WHERE c.Currency = 'EUR' + AND c.Segment IN ('SME', 'LAM', 'KAM') + AND y.Date >= '201201' AND y.Date < '201401' + GROUP BY c.Segment +), increases AS ( + SELECT Segment, + 100.0 * (total_2013 - total_2012) / NULLIF(total_2012, 0) AS increase_pct + FROM annual_totals +), extremes AS ( + SELECT MIN(increase_pct) AS lowest, MAX(increase_pct) AS highest + FROM increases +) +SELECT i.Segment, ROUND(i.increase_pct, 2) AS increase_percentage +FROM increases AS i +CROSS JOIN extremes AS e +WHERE i.increase_pct IN (e.lowest, e.highest) +ORDER BY i.increase_pct DESC, i.Segment; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird151.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird151.sql new file mode 100644 index 00000000..616c4a06 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird151.sql @@ -0,0 +1,14 @@ +WITH annual_totals AS ( + SELECT + SUM(CASE WHEN substr(ym.Date, 1, 4) = '2012' THEN ym.Consumption END) AS total_2012, + SUM(CASE WHEN substr(ym.Date, 1, 4) = '2013' THEN ym.Consumption END) AS total_2013 + FROM yearmonth AS ym + WHERE ym.CustomerID IN ( + SELECT t.CustomerID + FROM transactions_1k AS t + WHERE t.Date = '2012-08-25' AND t.Price = 634.8 + ) + AND substr(ym.Date, 1, 4) IN ('2012', '2013') +) +SELECT ROUND((total_2013 - total_2012) / NULLIF(total_2012, 0), 4) AS relative_change +FROM annual_totals; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird152.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird152.sql new file mode 100644 index 00000000..569ec701 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird152.sql @@ -0,0 +1,15 @@ +SELECT COUNT(DISTINCT c.CustomerID) AS customer_count +FROM customers AS c +WHERE c.Currency = 'EUR' + AND EXISTS ( + SELECT 1 + FROM yearmonth AS y + WHERE y.CustomerID = c.CustomerID + AND y.Date >= '201201' AND y.Date < '201301' + ) + AND EXISTS ( + SELECT 1 + FROM yearmonth AS y + WHERE y.CustomerID = c.CustomerID + AND y.Date >= '201301' AND y.Date < '201401' + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird153.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird153.sql new file mode 100644 index 00000000..d554920e --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird153.sql @@ -0,0 +1,12 @@ +WITH qualifying_customers AS ( + SELECT CustomerID + FROM yearmonth + WHERE Date >= '201201' AND Date < '201301' + GROUP BY CustomerID + HAVING SUM(Consumption) < 30000 +) +SELECT c.Segment, COUNT(q.CustomerID) AS CustomerCount +FROM customers AS c +LEFT JOIN qualifying_customers AS q ON q.CustomerID = c.CustomerID +GROUP BY c.Segment +ORDER BY c.Segment; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird154.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird154.sql new file mode 100644 index 00000000..525d7430 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird154.sql @@ -0,0 +1,9 @@ +SELECT c.Segment AS client_segment, + COUNT(DISTINCT ym.CustomerID) AS customers_who_consumed_fuel +FROM customers AS c +LEFT JOIN yearmonth AS ym + ON ym.CustomerID = c.CustomerID + AND ym.Date >= '201301' + AND ym.Date < '201401' + AND ym.Consumption IS NOT NULL +GROUP BY c.Segment; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird155.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird155.sql new file mode 100644 index 00000000..c584cc16 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird155.sql @@ -0,0 +1,9 @@ +WITH qualifying_transactions AS ( + SELECT unixepoch(t.Date || ' ' || t.Time) AS transaction_time + FROM transactions_1k AS t + JOIN gasstations AS g ON g.GasStationID = t.GasStationID + WHERE g.Country = 'CZE' + AND t.Price > 1000 +) +SELECT (MAX(transaction_time) - MIN(transaction_time)) / 60 AS elapsed_minutes +FROM qualifying_transactions; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird156.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird156.sql new file mode 100644 index 00000000..aa1c4b8c --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird156.sql @@ -0,0 +1,11 @@ +WITH active_customers AS ( + SELECT CustomerID + FROM yearmonth + WHERE Date BETWEEN '201301' AND '201311' + GROUP BY CustomerID + HAVING COUNT(DISTINCT Date) = 11 +) +SELECT c.Currency, COUNT(DISTINCT a.CustomerID) AS customer_count +FROM customers AS c +LEFT JOIN active_customers AS a ON a.CustomerID = c.CustomerID +GROUP BY c.Currency; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird157.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird157.sql new file mode 100644 index 00000000..b05e6659 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird157.sql @@ -0,0 +1,14 @@ +WITH quarterly_consumption AS ( + SELECT CustomerID, SUM(Consumption) AS total_consumption + FROM yearmonth + WHERE Date IN ('201304', '201305', '201306') + AND Consumption IS NOT NULL + GROUP BY CustomerID +) +SELECT c.Currency, + ROUND(AVG(q.total_consumption), 2) AS average_quarterly_consumption +FROM quarterly_consumption AS q +JOIN customers AS c ON c.CustomerID = q.CustomerID +WHERE c.Currency IN ('EUR', 'CZK') +GROUP BY c.Currency +ORDER BY c.Currency; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird158.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird158.sql new file mode 100644 index 00000000..83ed9642 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird158.sql @@ -0,0 +1,12 @@ +WITH monthly_totals AS ( + SELECT "Date" AS calendar_month, SUM(Consumption) AS total_consumption + FROM yearmonth + WHERE "Date" >= '201201' AND "Date" < '201401' + GROUP BY "Date" +) +SELECT ROUND( + MAX(CASE WHEN SUBSTR(calendar_month, 1, 4) = '2013' THEN total_consumption END) + - MAX(CASE WHEN SUBSTR(calendar_month, 1, 4) = '2012' THEN total_consumption END), + 0 +) AS peak_consumption_difference +FROM monthly_totals; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird159.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird159.sql new file mode 100644 index 00000000..9647edbd --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird159.sql @@ -0,0 +1,6 @@ +SELECT ROUND(AVG(Consumption), 2) AS average_monthly_fuel_consumption +FROM yearmonth +WHERE CustomerID = 15621 + AND Date >= '201301' + AND Date < '201401' + AND Consumption > 0; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird160.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird160.sql new file mode 100644 index 00000000..fb5438c3 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird160.sql @@ -0,0 +1,13 @@ +WITH customer_totals AS ( + SELECT c.CustomerID, c.Currency, SUM(y.Consumption) AS total_consumption + FROM customers AS c + JOIN yearmonth AS y ON y.CustomerID = c.CustomerID + WHERE y."Date" >= '201201' AND y."Date" < '201301' + AND c.Currency IN ('CZK', 'EUR') + GROUP BY c.CustomerID, c.Currency +) +SELECT CAST(ROUND( + AVG(CASE WHEN Currency = 'CZK' THEN total_consumption END) + - AVG(CASE WHEN Currency = 'EUR' THEN total_consumption END) +) AS INTEGER) AS consumption_difference +FROM customer_totals; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird161.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird161.sql new file mode 100644 index 00000000..1fda3a4d --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird161.sql @@ -0,0 +1,12 @@ +SELECT COUNT(*) AS customer_count +FROM ( + SELECT c.CustomerID + FROM customers AS c + JOIN yearmonth AS ym ON ym.CustomerID = c.CustomerID + WHERE c.Segment = 'KAM' + AND c.Currency = 'CZK' + AND ym.Date >= '201301' + AND ym.Date < '201401' + GROUP BY c.CustomerID + HAVING SUM(ym.Consumption) > 1000000 +) AS qualifying_customers; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird162.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird162.sql new file mode 100644 index 00000000..a9f048d2 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird162.sql @@ -0,0 +1,6 @@ +SELECT COUNT(DISTINCT c.CustomerID) AS sme_customer_count +FROM customers AS c +JOIN yearmonth AS ym ON ym.CustomerID = c.CustomerID +WHERE c.Segment = 'SME' + AND ym.Date = '201302' + AND ym.Consumption > 0; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird163.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird163.sql new file mode 100644 index 00000000..314383a9 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird163.sql @@ -0,0 +1,14 @@ +WITH away_win_counts AS ( + SELECT m.away_team_api_id, + SUM(CASE WHEN m.away_team_goal > m.home_team_goal THEN 1 ELSE 0 END) AS away_wins + FROM "Match" AS m + JOIN League AS l ON l.id = m.league_id + WHERE l.name = 'Scotland Premier League' + AND m.season = '2009/2010' + GROUP BY m.away_team_api_id +) +SELECT t.team_long_name +FROM away_win_counts AS a +JOIN Team AS t ON t.team_api_id = a.away_team_api_id +WHERE a.away_wins = (SELECT MAX(away_wins) FROM away_win_counts) +ORDER BY t.team_long_name; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird164.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird164.sql new file mode 100644 index 00000000..eac39c05 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird164.sql @@ -0,0 +1,10 @@ +WITH passing_2012 AS ( + SELECT team_api_id, buildUpPlayPassing + FROM Team_Attributes + WHERE date >= '2012-01-01' AND date < '2013-01-01' +) +SELECT t.team_long_name +FROM Team AS t +JOIN passing_2012 AS p ON p.team_api_id = t.team_api_id +WHERE p.buildUpPlayPassing > (SELECT AVG(buildUpPlayPassing) FROM passing_2012) +ORDER BY t.team_long_name; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird165.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird165.sql new file mode 100644 index 00000000..da074b13 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird165.sql @@ -0,0 +1,12 @@ +SELECT + p.player_api_id, + p.player_name, + AVG(a.heading_accuracy) AS mean_heading_accuracy +FROM Player AS p +JOIN Player_Attributes AS a + ON a.player_api_id = p.player_api_id +WHERE p.height > 180 + AND a.heading_accuracy IS NOT NULL +GROUP BY p.player_api_id, p.player_name +ORDER BY mean_heading_accuracy DESC, p.player_api_id ASC +LIMIT 10; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird166.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird166.sql new file mode 100644 index 00000000..5e492211 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird166.sql @@ -0,0 +1,7 @@ +SELECT l.name +FROM League AS l +JOIN "Match" AS m ON m.league_id = l.id +WHERE m.season = '2009/2010' +GROUP BY l.id, l.name +HAVING AVG(m.home_team_goal) > AVG(m.away_team_goal) +ORDER BY l.name; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird167.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird167.sql new file mode 100644 index 00000000..bced284a --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird167.sql @@ -0,0 +1,14 @@ +WITH height_bounds AS ( + SELECT MIN(height) AS shortest_height, MAX(height) AS tallest_height + FROM Player +), extreme_player_averages AS ( + SELECT p.player_api_id, p.player_name, AVG(pa.finishing) AS avg_finishing + FROM Player AS p + JOIN Player_Attributes AS pa ON pa.player_api_id = p.player_api_id + CROSS JOIN height_bounds AS h + WHERE p.height IN (h.shortest_height, h.tallest_height) + GROUP BY p.player_api_id, p.player_name +) +SELECT player_name +FROM extreme_player_averages +WHERE avg_finishing = (SELECT MAX(avg_finishing) FROM extreme_player_averages); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird168.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird168.sql new file mode 100644 index 00000000..29216940 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird168.sql @@ -0,0 +1,7 @@ +SELECT + AVG(CASE WHEN p.player_name = 'Abdou Diallo' THEN pa.ball_control END) + - AVG(CASE WHEN p.player_name = 'Aaron Appindangoye' THEN pa.ball_control END) + AS mean_ball_control_difference +FROM Player AS p +JOIN Player_Attributes AS pa ON pa.player_api_id = p.player_api_id +WHERE p.player_name IN ('Abdou Diallo', 'Aaron Appindangoye'); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird169.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird169.sql new file mode 100644 index 00000000..5ae555a8 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird169.sql @@ -0,0 +1,16 @@ +WITH ranked_ratings AS ( + SELECT p.player_name, + pa.overall_rating, + ROW_NUMBER() OVER ( + PARTITION BY p.player_name + ORDER BY pa.date DESC, pa.id DESC + ) AS rn + FROM Player AS p + JOIN Player_Attributes AS pa ON pa.player_api_id = p.player_api_id + WHERE p.player_name IN ('Ariel Borysiuk', 'Paulin Puel') +) +SELECT ROUND(100.0 * (a.overall_rating - b.overall_rating) / b.overall_rating, 2) AS percentage_higher +FROM ranked_ratings AS a +CROSS JOIN ranked_ratings AS b +WHERE a.player_name = 'Ariel Borysiuk' AND a.rn = 1 + AND b.player_name = 'Paulin Puel' AND b.rn = 1; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird170.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird170.sql new file mode 100644 index 00000000..7ea5f337 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird170.sql @@ -0,0 +1,9 @@ +WITH crossing_records AS ( + SELECT pa.date AS recorded_at, pa.crossing + FROM Player AS p + JOIN Player_Attributes AS pa ON pa.player_api_id = p.player_api_id + WHERE p.player_name = 'Kevin Constant' +) +SELECT DATE(MIN(recorded_at)) AS first_highest_crossing_date +FROM crossing_records +WHERE crossing = (SELECT MAX(crossing) FROM crossing_records); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird171.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird171.sql new file mode 100644 index 00000000..726042db --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird171.sql @@ -0,0 +1,12 @@ +WITH qualifying_players AS ( + SELECT DISTINCT player_api_id + FROM Player_Attributes + WHERE overall_rating > 70 +) +SELECT ROUND( + 100.0 * COUNT(q.player_api_id) / NULLIF(COUNT(*), 0), + 2 +) AS percentage +FROM Player AS p +LEFT JOIN qualifying_players AS q ON q.player_api_id = p.player_api_id +WHERE p.height < 180; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird172.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird172.sql new file mode 100644 index 00000000..631986db --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird172.sql @@ -0,0 +1,4 @@ +SELECT ROUND(AVG(p.height), 2) AS average_height_cm +FROM Player AS p +WHERE p.height > 180 + AND p.player_api_id IN (SELECT m.home_player_3 FROM "Match" AS m); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird173.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird173.sql new file mode 100644 index 00000000..24ea2c1d --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird173.sql @@ -0,0 +1,10 @@ +SELECT ROUND( + 100.0 * COUNT(DISTINCT CASE + WHEN LOWER(TRIM(pa.defensive_work_rate)) = 'high' THEN p.player_api_id + END) / NULLIF(COUNT(DISTINCT p.player_api_id), 0), + 2 +) AS high_defensive_work_rate_percentage +FROM Player AS p +JOIN Player_Attributes AS pa ON pa.player_api_id = p.player_api_id +WHERE p.birthday >= '1991-01-01' + AND LOWER(TRIM(pa.defensive_work_rate)) IN ('low', 'medium', 'high'); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird174.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird174.sql new file mode 100644 index 00000000..e9507356 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird174.sql @@ -0,0 +1,28 @@ +WITH ranked_ratings AS ( + SELECT player_api_id, overall_rating, + ROW_NUMBER() OVER ( + PARTITION BY player_api_id + ORDER BY date DESC, id DESC + ) AS rn + FROM Player_Attributes + WHERE date < '2011-01-01' +), match_counts AS ( + SELECT r.player_api_id, COUNT(DISTINCT m.match_api_id) AS matches_played + FROM ranked_ratings AS r + LEFT JOIN Match AS m + ON m.season = '2010/2011' + AND r.player_api_id IN ( + m.home_player_1, m.home_player_2, m.home_player_3, + m.home_player_4, m.home_player_5, m.home_player_6, + m.home_player_7, m.home_player_8, m.home_player_9, + m.home_player_10, m.home_player_11, + m.away_player_1, m.away_player_2, m.away_player_3, + m.away_player_4, m.away_player_5, m.away_player_6, + m.away_player_7, m.away_player_8, m.away_player_9, + m.away_player_10, m.away_player_11 + ) + WHERE r.rn = 1 AND r.overall_rating > 80 + GROUP BY r.player_api_id +) +SELECT ROUND(AVG(matches_played), 2) AS average_matches +FROM match_counts; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird175.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird175.sql new file mode 100644 index 00000000..07197215 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird175.sql @@ -0,0 +1,14 @@ +WITH ranked_ratings AS ( + SELECT player_api_id, + defensive_work_rate, + ROW_NUMBER() OVER ( + PARTITION BY player_api_id + ORDER BY date DESC, id DESC + ) AS rn + FROM Player_Attributes +) +SELECT ROUND(AVG(p.height), 2) AS average_height_cm +FROM Player AS p +JOIN ranked_ratings AS r ON r.player_api_id = p.player_api_id +WHERE r.rn = 1 + AND r.defensive_work_rate IN ('low', 'high'); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird176.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird176.sql new file mode 100644 index 00000000..98e5f5ce --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird176.sql @@ -0,0 +1,27 @@ +WITH eligible_clubs AS ( + SELECT t.team_api_id, t.team_short_name + FROM Team AS t + WHERE EXISTS ( + SELECT 1 + FROM Team_Attributes AS a + WHERE a.team_api_id = t.team_api_id + AND a.chanceCreationPassingClass = 'Risky' + ) +), ranked_attributes AS ( + SELECT team_api_id, chanceCreationPassing, + ROW_NUMBER() OVER ( + PARTITION BY team_api_id + ORDER BY date DESC, id DESC + ) AS rn + FROM Team_Attributes + WHERE date < '2014-09-20' +) +SELECT c.team_short_name AS short_name, + COUNT(*) AS club_count, + ROUND(AVG(a.chanceCreationPassing), 1) AS avg_passing_risk +FROM eligible_clubs AS c +LEFT JOIN ranked_attributes AS a + ON a.team_api_id = c.team_api_id AND a.rn = 1 +GROUP BY c.team_short_name +HAVING COUNT(*) > 1 +ORDER BY avg_passing_risk DESC, short_name ASC; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird177.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird177.sql new file mode 100644 index 00000000..6673fd2c --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird177.sql @@ -0,0 +1,18 @@ +WITH ranked_grades AS ( + SELECT + player_api_id, + LOWER(TRIM(defensive_work_rate)) AS defensive_grade, + ROW_NUMBER() OVER ( + PARTITION BY player_api_id + ORDER BY date DESC, id DESC + ) AS rn + FROM Player_Attributes + WHERE LOWER(TRIM(defensive_work_rate)) IN ('low', 'medium', 'high') +) +SELECT ROUND(AVG(p.height), 2) AS average_height_cm +FROM Player AS p +JOIN ranked_grades AS g ON g.player_api_id = p.player_api_id +WHERE p.birthday >= '1990-01-01' + AND p.birthday < '1996-01-01' + AND g.rn = 1 + AND g.defensive_grade = 'medium'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird178.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird178.sql new file mode 100644 index 00000000..9c809c80 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird178.sql @@ -0,0 +1,7 @@ +SELECT ROUND(AVG(p.weight), 1) AS average_weight +FROM Player AS p +WHERE p.player_api_id IN ( + SELECT pa.player_api_id + FROM Player_Attributes AS pa + WHERE pa.preferred_foot = 'left' +); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird179.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird179.sql new file mode 100644 index 00000000..a989ca41 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird179.sql @@ -0,0 +1,18 @@ +SELECT p.player_name, COUNT(m.id) AS matches_played +FROM Player AS p +LEFT JOIN "Match" AS m + ON m.season = '2015/2016' + AND p.player_api_id IN ( + m.home_player_1, m.home_player_2, m.home_player_3, + m.home_player_4, m.home_player_5, m.home_player_6, + m.home_player_7, m.home_player_8, m.home_player_9, + m.home_player_10, m.home_player_11, + m.away_player_1, m.away_player_2, m.away_player_3, + m.away_player_4, m.away_player_5, m.away_player_6, + m.away_player_7, m.away_player_8, m.away_player_9, + m.away_player_10, m.away_player_11 + ) +WHERE p.player_name LIKE 'Adam%' + AND p.weight > 170 +GROUP BY p.id, p.player_name +ORDER BY p.player_name, p.id; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird180.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird180.sql new file mode 100644 index 00000000..857afa2e --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird180.sql @@ -0,0 +1,12 @@ +SELECT DISTINCT ta.buildUpPlayDribblingClass +FROM Team_Attributes AS ta +JOIN Team AS t ON t.team_api_id = ta.team_api_id +WHERE t.team_short_name = 'POR' + AND date(ta.date) = '2015-09-10' + AND EXISTS ( + SELECT 1 + FROM Match AS m + JOIN Country AS c ON c.id = m.country_id + WHERE c.name = 'England' + AND t.team_api_id IN (m.home_team_api_id, m.away_team_api_id) + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird181.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird181.sql new file mode 100644 index 00000000..534c425d --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird181.sql @@ -0,0 +1,17 @@ +SELECT + t.team_long_name AS club_name, + t.team_short_name AS short_name, + COUNT(*) AS home_wins +FROM "Match" AS m +JOIN Team AS t ON t.team_api_id = m.home_team_api_id +WHERE m.home_team_goal - m.away_team_goal >= 3 + AND ( + SELECT ta.buildUpPlaySpeedClass + FROM Team_Attributes AS ta + WHERE ta.team_api_id = m.home_team_api_id + AND ta.date <= m.date + ORDER BY ta.date DESC, ta.id DESC + LIMIT 1 + ) = 'Fast' +GROUP BY t.team_api_id, t.team_long_name, t.team_short_name +ORDER BY home_wins DESC, club_name, short_name, t.team_api_id; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird182.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird182.sql new file mode 100644 index 00000000..d3c34bc0 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird182.sql @@ -0,0 +1,23 @@ +WITH heavy_away_defeats AS ( + SELECT season, away_player_1, away_player_2, away_player_3, + away_player_4, away_player_5, away_player_6, away_player_7, + away_player_8, away_player_9, away_player_10, away_player_11 + FROM "Match" + WHERE home_team_goal - away_team_goal >= 5 +), away_lineup (season, player_id) AS ( + SELECT season, away_player_1 FROM heavy_away_defeats + UNION ALL SELECT season, away_player_2 FROM heavy_away_defeats + UNION ALL SELECT season, away_player_3 FROM heavy_away_defeats + UNION ALL SELECT season, away_player_4 FROM heavy_away_defeats + UNION ALL SELECT season, away_player_5 FROM heavy_away_defeats + UNION ALL SELECT season, away_player_6 FROM heavy_away_defeats + UNION ALL SELECT season, away_player_7 FROM heavy_away_defeats + UNION ALL SELECT season, away_player_8 FROM heavy_away_defeats + UNION ALL SELECT season, away_player_9 FROM heavy_away_defeats + UNION ALL SELECT season, away_player_10 FROM heavy_away_defeats + UNION ALL SELECT season, away_player_11 FROM heavy_away_defeats +) +SELECT season, COUNT(DISTINCT player_id) AS player_count +FROM away_lineup +GROUP BY season +ORDER BY season; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird183.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird183.sql new file mode 100644 index 00000000..08034c71 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird183.sql @@ -0,0 +1,24 @@ +WITH country_counts AS ( + SELECT c.name AS country_name, + COUNT(DISTINCT p.player_api_id) AS player_count + FROM Country AS c + LEFT JOIN League AS l ON l.country_id = c.id + LEFT JOIN "Match" AS m ON m.league_id = l.id + LEFT JOIN Player AS p + ON p.weight >= 210 + AND p.player_api_id IN ( + m.home_player_1, m.home_player_2, m.home_player_3, + m.home_player_4, m.home_player_5, m.home_player_6, + m.home_player_7, m.home_player_8, m.home_player_9, + m.home_player_10, m.home_player_11, + m.away_player_1, m.away_player_2, m.away_player_3, + m.away_player_4, m.away_player_5, m.away_player_6, + m.away_player_7, m.away_player_8, m.away_player_9, + m.away_player_10, m.away_player_11 + ) + GROUP BY c.id, c.name +) +SELECT country_name, player_count +FROM country_counts +WHERE player_count = (SELECT MAX(player_count) FROM country_counts) +ORDER BY country_name; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird184.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird184.sql new file mode 100644 index 00000000..6040beb5 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird184.sql @@ -0,0 +1,38 @@ +WITH italian_matches AS ( + SELECT m.* + FROM "Match" AS m + JOIN League AS l ON l.id = m.league_id + JOIN Country AS c ON c.id = l.country_id + WHERE c.name = 'Italy' + AND m.season IN ('2008/2009', '2015/2016') +), season_players AS ( + SELECT season, home_player_1 AS player_api_id FROM italian_matches + UNION SELECT season, home_player_2 FROM italian_matches + UNION SELECT season, home_player_3 FROM italian_matches + UNION SELECT season, home_player_4 FROM italian_matches + UNION SELECT season, home_player_5 FROM italian_matches + UNION SELECT season, home_player_6 FROM italian_matches + UNION SELECT season, home_player_7 FROM italian_matches + UNION SELECT season, home_player_8 FROM italian_matches + UNION SELECT season, home_player_9 FROM italian_matches + UNION SELECT season, home_player_10 FROM italian_matches + UNION SELECT season, home_player_11 FROM italian_matches + UNION SELECT season, away_player_1 FROM italian_matches + UNION SELECT season, away_player_2 FROM italian_matches + UNION SELECT season, away_player_3 FROM italian_matches + UNION SELECT season, away_player_4 FROM italian_matches + UNION SELECT season, away_player_5 FROM italian_matches + UNION SELECT season, away_player_6 FROM italian_matches + UNION SELECT season, away_player_7 FROM italian_matches + UNION SELECT season, away_player_8 FROM italian_matches + UNION SELECT season, away_player_9 FROM italian_matches + UNION SELECT season, away_player_10 FROM italian_matches + UNION SELECT season, away_player_11 FROM italian_matches +) +SELECT sp.season, + COUNT(sp.player_api_id) AS player_count, + ROUND(AVG(p.height), 2) AS average_height_cm +FROM season_players AS sp +LEFT JOIN Player AS p ON p.player_api_id = sp.player_api_id +GROUP BY sp.season +ORDER BY sp.season; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird185.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird185.sql new file mode 100644 index 00000000..6ca5cd58 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird185.sql @@ -0,0 +1,15 @@ +WITH ranked_ratings AS ( + SELECT player_api_id, + volleys, + ROW_NUMBER() OVER ( + PARTITION BY player_api_id + ORDER BY date DESC, id DESC + ) AS rating_rank + FROM Player_Attributes +) +SELECT COUNT(DISTINCT p.player_api_id) AS player_count +FROM Player AS p +JOIN ranked_ratings AS r ON r.player_api_id = p.player_api_id +WHERE r.rating_rank = 1 + AND p.height > 180 + AND r.volleys > 70; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird186.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird186.sql new file mode 100644 index 00000000..f5cd113c --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird186.sql @@ -0,0 +1,9 @@ +WITH goals_by_player AS ( + SELECT home_player_3 AS player_api_id, + SUM(home_team_goal) AS total_home_goals + FROM "Match" + GROUP BY home_player_3 +) +SELECT ROUND(AVG(COALESCE(g.total_home_goals, 0)), 2) AS average_total_home_goals +FROM Player AS p +LEFT JOIN goals_by_player AS g ON g.player_api_id = p.player_api_id; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird187.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird187.sql new file mode 100644 index 00000000..2ce38395 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird187.sql @@ -0,0 +1,34 @@ +WITH match_players(country_id, player_api_id) AS ( + SELECT country_id, home_player_1 FROM "Match" + UNION ALL SELECT country_id, home_player_2 FROM "Match" + UNION ALL SELECT country_id, home_player_3 FROM "Match" + UNION ALL SELECT country_id, home_player_4 FROM "Match" + UNION ALL SELECT country_id, home_player_5 FROM "Match" + UNION ALL SELECT country_id, home_player_6 FROM "Match" + UNION ALL SELECT country_id, home_player_7 FROM "Match" + UNION ALL SELECT country_id, home_player_8 FROM "Match" + UNION ALL SELECT country_id, home_player_9 FROM "Match" + UNION ALL SELECT country_id, home_player_10 FROM "Match" + UNION ALL SELECT country_id, home_player_11 FROM "Match" + UNION ALL SELECT country_id, away_player_1 FROM "Match" + UNION ALL SELECT country_id, away_player_2 FROM "Match" + UNION ALL SELECT country_id, away_player_3 FROM "Match" + UNION ALL SELECT country_id, away_player_4 FROM "Match" + UNION ALL SELECT country_id, away_player_5 FROM "Match" + UNION ALL SELECT country_id, away_player_6 FROM "Match" + UNION ALL SELECT country_id, away_player_7 FROM "Match" + UNION ALL SELECT country_id, away_player_8 FROM "Match" + UNION ALL SELECT country_id, away_player_9 FROM "Match" + UNION ALL SELECT country_id, away_player_10 FROM "Match" + UNION ALL SELECT country_id, away_player_11 FROM "Match" +), country_counts AS ( + SELECT c.name AS country_name, COUNT(DISTINCT p.player_api_id) AS player_count + FROM Country AS c + JOIN match_players AS mp ON mp.country_id = c.id + LEFT JOIN Player AS p ON p.player_api_id = mp.player_api_id AND p.weight <= 160 + GROUP BY c.id, c.name +) +SELECT country_name +FROM country_counts +WHERE player_count = (SELECT MIN(player_count) FROM country_counts) +ORDER BY country_name; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird188.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird188.sql new file mode 100644 index 00000000..a2ad3547 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird188.sql @@ -0,0 +1,15 @@ +WITH ranked_attributes AS ( + SELECT preferred_foot, + attacking_work_rate, + ROW_NUMBER() OVER ( + PARTITION BY player_api_id + ORDER BY date DESC, id DESC + ) AS rn + FROM Player_Attributes + WHERE date < '2015-01-02' +) +SELECT COUNT(*) AS player_count +FROM ranked_attributes +WHERE rn = 1 + AND preferred_foot = 'left' + AND attacking_work_rate IN ('low', 'medium'); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird189.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird189.sql new file mode 100644 index 00000000..f60dbfca --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird189.sql @@ -0,0 +1,15 @@ +WITH latest AS ( + SELECT preferred_foot, + attacking_work_rate, + ROW_NUMBER() OVER ( + PARTITION BY player_api_id + ORDER BY date DESC, id DESC + ) AS rn + FROM Player_Attributes +) +SELECT ROUND(100.0 * COUNT(CASE WHEN attacking_work_rate = 'low' THEN 1 END) + / NULLIF(COUNT(*), 0), 1) AS percentage +FROM latest +WHERE rn = 1 + AND preferred_foot = 'left' + AND attacking_work_rate IN ('low', 'medium', 'high'); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird190.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird190.sql new file mode 100644 index 00000000..d9a22142 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird190.sql @@ -0,0 +1,16 @@ +SELECT p.player_name, COUNT(m.id) AS matches_played +FROM Player AS p +LEFT JOIN "Match" AS m + ON m.season = '2015/2016' + AND p.player_api_id IN ( + m.home_player_1, m.home_player_2, m.home_player_3, m.home_player_4, + m.home_player_5, m.home_player_6, m.home_player_7, m.home_player_8, + m.home_player_9, m.home_player_10, m.home_player_11, + m.away_player_1, m.away_player_2, m.away_player_3, m.away_player_4, + m.away_player_5, m.away_player_6, m.away_player_7, m.away_player_8, + m.away_player_9, m.away_player_10, m.away_player_11 + ) +WHERE p.birthday >= '1991-01-01' + AND p.player_name LIKE 'Aaron%' +GROUP BY p.id, p.player_name +ORDER BY p.player_name; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird191.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird191.sql new file mode 100644 index 00000000..f770b909 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird191.sql @@ -0,0 +1,4 @@ +SELECT COUNT(DISTINCT player_api_id) AS player_count +FROM Player_Attributes +WHERE jumping >= 80 + AND DATE(date) BETWEEN '2007-02-22' AND '2007-08-30'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird192.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird192.sql new file mode 100644 index 00000000..817ad78c --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird192.sql @@ -0,0 +1,16 @@ +WITH last_match AS ( + SELECT t.team_api_id, MAX(m.date) AS match_date + FROM Team AS t + JOIN "Match" AS m + ON t.team_api_id IN (m.home_team_api_id, m.away_team_api_id) + WHERE t.team_long_name = 'KSV Cercle Brugge' + AND m.season = '2012/2013' + GROUP BY t.team_api_id +) +SELECT a.buildUpPlaySpeedClass +FROM last_match AS lm +JOIN Team_Attributes AS a + ON a.team_api_id = lm.team_api_id + AND a.date <= lm.match_date +ORDER BY a.date DESC, a.id DESC +LIMIT 1; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird193.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird193.sql new file mode 100644 index 00000000..a074a32c --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird193.sql @@ -0,0 +1,18 @@ +WITH ranked_ratings AS ( + SELECT player_api_id, overall_rating, defensive_work_rate, + ROW_NUMBER() OVER ( + PARTITION BY player_api_id + ORDER BY date DESC, id DESC + ) AS rn + FROM Player_Attributes + WHERE date < '2013-07-13' +) +SELECT ROUND( + 100.0 * (MAX(CASE WHEN p.player_name = 'Landon Donovan' THEN r.overall_rating END) + - AVG(r.overall_rating)) / AVG(r.overall_rating), + 2 + ) AS percentage_higher +FROM ranked_ratings AS r +JOIN Player AS p ON p.player_api_id = r.player_api_id +WHERE r.rn = 1 + AND LOWER(TRIM(r.defensive_work_rate)) IN ('low', 'medium', 'high'); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird194.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird194.sql new file mode 100644 index 00000000..e1e4aa9d --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird194.sql @@ -0,0 +1,17 @@ +WITH salary_bounds AS ( + SELECT MIN(A11) AS lowest_salary, MAX(A11) AS highest_salary + FROM district +), eligible_clients AS ( + SELECT c.client_id, c.birth_date + FROM client AS c + JOIN district AS d ON d.district_id = c.district_id + CROSS JOIN salary_bounds AS s + WHERE c.gender = 'F' AND d.A11 = s.lowest_salary +) +SELECT DISTINCT p.account_id, + s.highest_salary - s.lowest_salary AS salary_difference +FROM eligible_clients AS c +JOIN disp AS p ON p.client_id = c.client_id +CROSS JOIN salary_bounds AS s +WHERE c.birth_date = (SELECT MIN(birth_date) FROM eligible_clients) +ORDER BY p.account_id; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird195.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird195.sql new file mode 100644 index 00000000..0ec53197 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird195.sql @@ -0,0 +1,8 @@ +SELECT d.A2 AS district +FROM client AS c +JOIN disp AS p ON p.client_id = c.client_id +JOIN account AS a ON a.account_id = p.account_id +JOIN district AS d ON d.district_id = a.district_id +WHERE c.gender = 'F' + AND c.birth_date = '1976-01-29' + AND p.type = 'OWNER'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird196.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird196.sql new file mode 100644 index 00000000..ce3498ce --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird196.sql @@ -0,0 +1,13 @@ +WITH largest_district AS ( + SELECT district_id + FROM district + WHERE A3 = 'south Bohemia' + ORDER BY CAST(A4 AS INTEGER) DESC, district_id + LIMIT 1 +) +SELECT ROUND( + 100.0 * COUNT(CASE WHEN c.gender = 'M' THEN 1 END) / NULLIF(COUNT(*), 0), + 2 +) AS male_percentage +FROM client AS c +JOIN largest_district AS d ON c.district_id = d.district_id; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird197.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird197.sql new file mode 100644 index 00000000..62a8903b --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird197.sql @@ -0,0 +1,11 @@ +SELECT 100.0 * (ending.balance - starting.balance) / NULLIF(starting.balance, 0) AS percentage_increase +FROM trans AS starting +JOIN trans AS ending ON ending.account_id = starting.account_id +WHERE starting.date = '1993-03-22' + AND ending.date = '1998-12-27' + AND EXISTS ( + SELECT 1 + FROM loan AS l + WHERE l.account_id = starting.account_id + AND l.date = '1993-07-05' + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird198.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird198.sql new file mode 100644 index 00000000..a2c8b6e7 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird198.sql @@ -0,0 +1,6 @@ +SELECT a.account_id, a.frequency +FROM account AS a +JOIN district AS d ON d.district_id = a.district_id +WHERE d.A3 = 'east Bohemia' + AND a.date >= '1995-01-01' + AND a.date < '2001-01-01'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird199.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird199.sql new file mode 100644 index 00000000..73a3542b --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird199.sql @@ -0,0 +1,12 @@ +SELECT d.A2 AS district, + ROUND(100.0 * (d.A13 - d.A12) / d.A12, 2) AS unemployment_pct_change +FROM district AS d +WHERE d.A12 IS NOT NULL + AND d.A13 IS NOT NULL + AND EXISTS ( + SELECT 1 + FROM account AS a + JOIN loan AS l ON l.account_id = a.account_id + WHERE a.district_id = d.district_id + AND l.status = 'D' + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird200.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird200.sql new file mode 100644 index 00000000..8ad1ee25 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird200.sql @@ -0,0 +1,9 @@ +SELECT d.type, + COUNT(DISTINCT a.account_id) AS distinct_account_count +FROM disp AS d +JOIN account AS a ON a.account_id = d.account_id +JOIN district AS r ON r.district_id = a.district_id +WHERE d.type <> 'OWNER' + AND r.A11 > 8000 + AND r.A11 <= 9000 +GROUP BY d.type; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird201.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird201.sql new file mode 100644 index 00000000..9f0ee64d --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird201.sql @@ -0,0 +1,18 @@ +WITH yearly_totals AS ( + SELECT + SUM(CASE WHEN l.date < '1997-01-01' THEN l.amount END) AS total_1996, + SUM(CASE WHEN l.date >= '1997-01-01' THEN l.amount END) AS total_1997 + FROM loan AS l + WHERE l.date >= '1996-01-01' + AND l.date < '1998-01-01' + AND EXISTS ( + SELECT 1 + FROM disp AS d + JOIN client AS c ON c.client_id = d.client_id + WHERE d.account_id = l.account_id + AND d.type = 'OWNER' + AND c.gender = 'M' + ) +) +SELECT 100.0 * (total_1997 - total_1996) / NULLIF(total_1996, 0) AS percentage_growth +FROM yearly_totals; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird202.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird202.sql new file mode 100644 index 00000000..382e1b87 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird202.sql @@ -0,0 +1,6 @@ +SELECT a.frequency AS statement_frequency, + o.k_symbol AS payment_purpose_code +FROM account AS a +JOIN "order" AS o ON o.account_id = a.account_id +WHERE a.account_id = 3 + AND o.amount = 3539; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird203.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird203.sql new file mode 100644 index 00000000..4200430d --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird203.sql @@ -0,0 +1,18 @@ +WITH first_month AS ( + SELECT DATE(MIN(date), 'start of month') AS month_start + FROM account +), eligible_districts AS ( + SELECT DISTINCT a.district_id + FROM account AS a + CROSS JOIN first_month AS f + WHERE a.date >= f.month_start + AND a.date < DATE(f.month_start, '+1 month') +), populations AS ( + SELECT d.A2 AS district_name, CAST(d.A4 AS INTEGER) AS population + FROM eligible_districts AS e + JOIN district AS d ON d.district_id = e.district_id +) +SELECT district_name, population +FROM populations +WHERE population = (SELECT MAX(population) FROM populations) +ORDER BY district_name; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird204.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird204.sql new file mode 100644 index 00000000..a77e96fa --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird204.sql @@ -0,0 +1,12 @@ +SELECT COUNT(*) AS transaction_count +FROM trans AS t +WHERE (t.k_symbol IS NULL OR TRIM(t.k_symbol) = '') + AND t.account_id IN ( + SELECT d.account_id + FROM disp AS d + JOIN client AS c ON c.client_id = d.client_id + WHERE d.type = 'OWNER' + AND c.gender = 'M' + AND c.birth_date >= '1974-01-01' + AND c.birth_date < '1977-01-01' + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird205.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird205.sql new file mode 100644 index 00000000..ce9aef5c --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird205.sql @@ -0,0 +1,23 @@ +WITH top_districts AS ( + SELECT district_id, A2 AS district_name + FROM district + ORDER BY CAST(A4 AS INTEGER) DESC, district_id + LIMIT 5 +), active_loans_by_account AS ( + SELECT account_id, SUM(amount) AS active_loan_amount + FROM loan + WHERE status IN ('C', 'D') + GROUP BY account_id +), district_averages AS ( + SELECT d.district_id, d.district_name, + AVG(CASE WHEN a.account_id IS NOT NULL + THEN COALESCE(l.active_loan_amount, 0) END) AS avg_active_loan + FROM top_districts AS d + LEFT JOIN account AS a ON a.district_id = d.district_id + LEFT JOIN active_loans_by_account AS l ON l.account_id = a.account_id + GROUP BY d.district_id, d.district_name +) +SELECT district_name, + CAST(ROUND(avg_active_loan, 0) AS INTEGER) AS avg_active_loan_per_account +FROM district_averages +ORDER BY avg_active_loan DESC, district_name, district_id; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird206.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird206.sql new file mode 100644 index 00000000..8bf70391 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird206.sql @@ -0,0 +1,13 @@ +WITH regional_totals AS ( + SELECT d.A3 AS region, SUM(l.amount) AS total_approved_amount + FROM loan AS l + JOIN account AS a ON a.account_id = l.account_id + JOIN district AS d ON d.district_id = a.district_id + WHERE DATE(l.date) <= '1995-12-31' + AND DATE(l.date, '+' || l.duration || ' months') >= '1995-12-31' + GROUP BY d.A3 +) +SELECT region, total_approved_amount +FROM regional_totals +WHERE total_approved_amount = (SELECT MAX(total_approved_amount) FROM regional_totals) +ORDER BY region; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird207.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird207.sql new file mode 100644 index 00000000..a7271f05 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird207.sql @@ -0,0 +1,10 @@ +SELECT COUNT(*) AS account_count +FROM account AS a +JOIN district AS d ON d.district_id = a.district_id +WHERE d.A3 = 'north Bohemia' + AND a.date <= '1995-12-31' + AND a.account_id IN ( + SELECT t.account_id + FROM trans AS t + WHERE t.bank = 'AB' + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird208.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird208.sql new file mode 100644 index 00000000..c448252a --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird208.sql @@ -0,0 +1,13 @@ +SELECT ROUND(AVG(d.A11), 2) AS average_salary, + COUNT(*) AS district_count +FROM district AS d +WHERE d.A3 = 'east Bohemia' + AND EXISTS ( + SELECT 1 + FROM account AS a + JOIN disp AS p ON p.account_id = a.account_id + JOIN client AS c ON c.client_id = p.client_id + WHERE a.district_id = d.district_id + AND c.birth_date >= '1980-01-01' + AND c.birth_date < '1990-01-01' + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird209.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird209.sql new file mode 100644 index 00000000..9d021efb --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird209.sql @@ -0,0 +1,16 @@ +SELECT ROUND(AVG(d.A11), 2) AS average_salary +FROM district AS d +WHERE d.A3 = 'central Bohemia' + AND EXISTS ( + SELECT 1 + FROM client AS c + JOIN disp AS owner ON owner.client_id = c.client_id + WHERE c.district_id = d.district_id + AND owner.type = 'OWNER' + AND NOT EXISTS ( + SELECT 1 + FROM disp AS account_disp + JOIN card AS cc ON cc.disp_id = account_disp.disp_id + WHERE account_disp.account_id = owner.account_id + ) + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird210.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird210.sql new file mode 100644 index 00000000..a5650d95 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird210.sql @@ -0,0 +1,16 @@ +WITH loans_per_account AS ( + SELECT a.account_id, COUNT(l.loan_id) AS loan_count + FROM account AS a + LEFT JOIN loan AS l ON l.account_id = a.account_id + WHERE EXISTS ( + SELECT 1 + FROM disp AS d + JOIN client AS c ON c.client_id = d.client_id + WHERE d.account_id = a.account_id + AND d.type = 'OWNER' + AND c.birth_date < '1950-01-01' + ) + GROUP BY a.account_id +) +SELECT ROUND(AVG(loan_count), 2) AS average_loans_per_account +FROM loans_per_account; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird211.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird211.sql new file mode 100644 index 00000000..b5576f14 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird211.sql @@ -0,0 +1,15 @@ +SELECT + COUNT(CASE WHEN TRIM(t.k_symbol) = 'SIPO' THEN 1 END) AS household_payments, + COUNT(CASE WHEN NULLIF(TRIM(t.k_symbol), '') <> 'SIPO' THEN 1 END) AS other_purpose_payments +FROM trans AS t +WHERE t.amount > 4000 + AND t.type = 'VYDAJ' + AND EXISTS ( + SELECT 1 + FROM disp AS d + JOIN client AS c ON c.client_id = d.client_id + WHERE d.account_id = t.account_id + AND c.gender = 'M' + AND c.birth_date >= '1974-01-01' + AND c.birth_date < '1977-01-01' + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird212.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird212.sql new file mode 100644 index 00000000..2f97ecc3 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird212.sql @@ -0,0 +1,33 @@ +WITH loan_totals AS ( + SELECT account_id, SUM(amount) AS total_amount_borrowed + FROM loan + GROUP BY account_id +), +prachatice_borrowers AS ( + SELECT a.account_id, a.date AS account_opening_date, l.total_amount_borrowed + FROM account AS a + JOIN district AS branch ON branch.district_id = a.district_id + JOIN loan_totals AS l ON l.account_id = a.account_id + WHERE branch.A2 = 'Prachatice' +), +counterparty_counts AS ( + SELECT t.account_id, COUNT(DISTINCT t."account") AS outside_counterparty_count + FROM trans AS t + JOIN prachatice_borrowers AS b ON b.account_id = t.account_id + WHERE t.operation IN ('PREVOD NA UCET', 'PREVOD Z UCTU') + GROUP BY t.account_id +) +SELECT + b.account_id AS account_number, + b.account_opening_date, + b.total_amount_borrowed, + COALESCE(cp.outside_counterparty_count, 0) AS outside_counterparty_count, + home.A2 AS home_district, + CAST(home.A4 AS INTEGER) AS home_district_population, + RANK() OVER (ORDER BY CAST(home.A4 AS INTEGER) DESC) AS population_rank +FROM prachatice_borrowers AS b +JOIN disp AS d ON d.account_id = b.account_id AND d.type = 'OWNER' +JOIN client AS c ON c.client_id = d.client_id +JOIN district AS home ON home.district_id = c.district_id +LEFT JOIN counterparty_counts AS cp ON cp.account_id = b.account_id +ORDER BY home_district_population DESC, account_number ASC; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird213.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird213.sql new file mode 100644 index 00000000..0e15b4f5 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird213.sql @@ -0,0 +1,49 @@ +WITH genders(gender, sort_order) AS ( + VALUES ('F', 1), ('M', 2) +), qualifying_accounts AS ( + SELECT account_id + FROM trans + GROUP BY account_id + HAVING AVG(balance) > 1000 +), gold_card_accounts AS ( + SELECT DISTINCT card_disp.account_id + FROM card AS c + JOIN disp AS card_disp ON card_disp.disp_id = c.disp_id + WHERE c.type = 'gold' +), qualifying_districts AS ( + SELECT DISTINCT + cl.gender, + d.district_id, + d.A2 AS district_name, + CAST(d.A4 AS INTEGER) AS inhabitants, + d.A11 AS salary, + d.A10 AS urban_ratio + FROM gold_card_accounts AS gc + JOIN qualifying_accounts AS qa ON qa.account_id = gc.account_id + JOIN account AS a ON a.account_id = gc.account_id + JOIN disp AS owner ON owner.account_id = a.account_id AND owner.type = 'OWNER' + JOIN client AS cl ON cl.client_id = owner.client_id + JOIN district AS d ON d.district_id = a.district_id + WHERE CAST(d.A4 AS INTEGER) > 100000 +), ranked_districts AS ( + SELECT + gender, + district_id, + district_name, + inhabitants, + RANK() OVER (PARTITION BY gender ORDER BY inhabitants DESC) AS population_rank, + COUNT(*) OVER (PARTITION BY gender) AS district_count, + ROUND(AVG(salary) OVER (PARTITION BY gender), 2) AS average_salary, + ROUND(AVG(urban_ratio) OVER (PARTITION BY gender), 2) AS average_urban_ratio + FROM qualifying_districts +) +SELECT + g.gender, + COALESCE(r.district_count, 0) AS district_count, + r.district_name, + r.inhabitants, + r.average_salary, + r.average_urban_ratio +FROM genders AS g +LEFT JOIN ranked_districts AS r ON r.gender = g.gender AND r.population_rank = 1 +ORDER BY g.sort_order, r.district_name, r.district_id; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird214.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird214.sql new file mode 100644 index 00000000..83e28a11 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird214.sql @@ -0,0 +1,24 @@ +SELECT + t.bank AS recipient_bank_code, + t.account AS recipient_counter_account, + COUNT(*) AS outgoing_payment_count, + SUM(t.amount) AS total_amount_paid +FROM trans AS t +JOIN account AS a ON a.account_id = t.account_id +JOIN district AS d ON d.district_id = a.district_id +WHERE t.type = 'VYDAJ' + AND t.date >= '1998-01-01' + AND t.date < '1999-01-01' + AND CAST(d.A4 AS INTEGER) >= 250000 + AND t.bank IS NOT NULL + AND t.account IS NOT NULL + AND EXISTS ( + SELECT 1 + FROM disp AS dp + JOIN card AS c ON c.disp_id = dp.disp_id + WHERE dp.account_id = a.account_id + AND dp.type = 'OWNER' + AND c.type = 'gold' + ) +GROUP BY t.bank, t.account +ORDER BY total_amount_paid DESC, recipient_bank_code, recipient_counter_account; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird215.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird215.sql new file mode 100644 index 00000000..950b84b0 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird215.sql @@ -0,0 +1,11 @@ +SELECT ROUND( + 100.0 * SUM(CASE WHEN t.k_symbol = 'SIPO' THEN t.amount ELSE 0 END) + / NULLIF(SUM(t.amount), 0), + 2 +) AS sipo_percentage +FROM trans AS t +JOIN account AS a ON a.account_id = t.account_id +JOIN district AS d ON d.district_id = a.district_id +WHERE d.A2 = 'Pisek' + AND t.type = 'VYDAJ' + AND TRIM(t.k_symbol) <> ''; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird216.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird216.sql new file mode 100644 index 00000000..9f13c1b2 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird216.sql @@ -0,0 +1,24 @@ +WITH qualifying_districts AS ( + SELECT DISTINCT c.district_id + FROM client AS c + JOIN disp AS d ON d.client_id = c.client_id + WHERE c.gender = 'F' + AND d.type = 'OWNER' + AND EXISTS (SELECT 1 FROM card AS ca WHERE ca.disp_id = d.disp_id) + AND EXISTS (SELECT 1 FROM loan AS l WHERE l.account_id = d.account_id) +), regional_profiles AS ( + SELECT dt.A3 AS region, + ROUND(AVG(dt.A11) OVER (PARTITION BY dt.A3), 2) AS average_district_salary, + ROUND(AVG(dt.A13) OVER (PARTITION BY dt.A3), 2) AS average_district_unemployment_1996, + dt.A2 AS most_populous_district, + ROW_NUMBER() OVER ( + PARTITION BY dt.A3 + ORDER BY CAST(dt.A4 AS INTEGER) DESC, dt.A2 ASC + ) AS population_rank + FROM qualifying_districts AS qd + JOIN district AS dt ON dt.district_id = qd.district_id +) +SELECT region, average_district_salary, average_district_unemployment_1996, most_populous_district +FROM regional_profiles +WHERE population_rank = 1 +ORDER BY region; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird217.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird217.sql new file mode 100644 index 00000000..9f979979 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird217.sql @@ -0,0 +1,37 @@ +WITH RECURSIVE +accent_map(lower_chars, upper_chars, plain_chars) AS ( + VALUES ('áčďéěíňóřšťúůýž', 'ÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ', 'acdeeinorstuuyz') +), +central_names(district_name, inhabitants, crimes_1996, sort_name, n) AS ( + SELECT A2, CAST(A4 AS INTEGER), A16, lower(A2), 0 + FROM district + WHERE A3 = 'central Bohemia' + UNION ALL + SELECT district_name, inhabitants, crimes_1996, + replace( + replace(sort_name, substr(lower_chars, n + 1, 1), substr(plain_chars, n + 1, 1)), + substr(upper_chars, n + 1, 1), substr(plain_chars, n + 1, 1) + ), + n + 1 + FROM central_names CROSS JOIN accent_map + WHERE n < length(plain_chars) +), +top_three AS ( + SELECT district_name, inhabitants, crimes_1996, sort_name + FROM central_names CROSS JOIN accent_map + WHERE n = length(plain_chars) + ORDER BY inhabitants DESC, sort_name ASC + LIMIT 3 +), +averages AS ( + SELECT (SELECT AVG(crimes_1996) FROM top_three) AS top_three_avg, + AVG(A16) AS overall_avg + FROM district +) +SELECT district_name, + crimes_1996, + ROUND(top_three_avg, 2) AS top_three_avg_1996, + ROUND(overall_avg, 2) AS overall_avg_1996, + ROUND(top_three_avg - overall_avg, 2) AS difference_1996 +FROM top_three CROSS JOIN averages +ORDER BY inhabitants DESC, sort_name ASC; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird218.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird218.sql new file mode 100644 index 00000000..54fced73 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird218.sql @@ -0,0 +1,20 @@ +WITH card_districts AS ( + SELECT DISTINCT + c.type AS card_type, + d.district_id, + d.A2 AS home_district, + CAST(d.A4 AS INTEGER) AS inhabitants + FROM card AS c + JOIN disp AS p ON p.disp_id = c.disp_id + JOIN client AS cl ON cl.client_id = p.client_id + JOIN district AS d ON d.district_id = cl.district_id + WHERE c.type IN ('gold', 'classic', 'junior') +), ranked AS ( + SELECT card_type, home_district, inhabitants, + DENSE_RANK() OVER (PARTITION BY card_type ORDER BY inhabitants) AS population_rank + FROM card_districts +) +SELECT card_type, home_district, inhabitants +FROM ranked +WHERE population_rank = 1 +ORDER BY card_type, home_district; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird219.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird219.sql new file mode 100644 index 00000000..e80e6597 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird219.sql @@ -0,0 +1,37 @@ +WITH opened_accounts AS ( + SELECT a.account_id, d.district_id, d.A2 AS district_name + FROM account AS a + JOIN district AS d ON d.district_id = a.district_id + WHERE d.A3 IN (SELECT A3 FROM district WHERE A2 = 'Litomerice') + AND a.date >= '1996-01-01' + AND a.date < '1997-01-01' +), ranked_balances AS ( + SELECT a.district_id, a.district_name, t.balance, + ROW_NUMBER() OVER ( + PARTITION BY a.account_id + ORDER BY t.date DESC, t.trans_id DESC + ) AS rn + FROM opened_accounts AS a + LEFT JOIN trans AS t + ON t.account_id = a.account_id AND t.date < '1997-01-01' +), year_end_balances AS ( + SELECT district_id, district_name, balance + FROM ranked_balances + WHERE rn = 1 +), district_stats AS ( + SELECT district_name, COUNT(*) AS accounts_opened_1996, + AVG(balance) AS avg_balance + FROM year_end_balances + GROUP BY district_id, district_name +) +SELECT district_name, accounts_opened_1996, + ROUND(avg_balance, 2) AS district_avg_end_of_1996_balance, + (SELECT ROUND(AVG(balance), 2) FROM year_end_balances) + AS region_avg_end_of_1996_balance, + (SELECT district_name + FROM district_stats + WHERE avg_balance IS NOT NULL + ORDER BY avg_balance DESC, district_name ASC + LIMIT 1) AS highest_average_district +FROM district_stats +ORDER BY district_name ASC; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird220.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird220.sql new file mode 100644 index 00000000..c6314077 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird220.sql @@ -0,0 +1,19 @@ +WITH top_loans AS ( + SELECT a.district_id + FROM loan AS l + JOIN account AS a ON a.account_id = l.account_id + WHERE l.duration = 24 + AND a.frequency = 'POPLATEK TYDNE' + ORDER BY l.amount DESC, l.loan_id ASC + LIMIT 10 +), top_districts AS ( + SELECT DISTINCT district_id + FROM top_loans +) +SELECT d.A2 AS district_name, + CAST(d.A4 AS INTEGER) AS inhabitants, + ROUND(AVG(d.A11) OVER (), 2) AS avg_yearly_salary +FROM top_districts AS td +JOIN district AS d ON d.district_id = td.district_id +ORDER BY inhabitants DESC, d.district_id ASC +LIMIT 1; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird221.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird221.sql new file mode 100644 index 00000000..be0c925b --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird221.sql @@ -0,0 +1,40 @@ +WITH withdrawals_by_district AS ( + SELECT a.district_id, SUM(t.amount) AS total_withdrawn + FROM account AS a + JOIN trans AS t ON t.account_id = a.account_id + WHERE t.type = 'VYDAJ' + GROUP BY a.district_id +), +standing_orders_by_account AS ( + SELECT account_id, SUM(amount) AS total_debit + FROM "order" + GROUP BY account_id +), +standing_order_average_by_district AS ( + SELECT a.district_id, + AVG(COALESCE(s.total_debit, 0.0)) AS average_debit_per_account + FROM account AS a + LEFT JOIN standing_orders_by_account AS s ON s.account_id = a.account_id + GROUP BY a.district_id +), +district_metrics AS ( + SELECT d.A2 AS district_name, + d.A3 AS region, + CAST(d.A4 AS INTEGER) AS population, + w.total_withdrawn, + 1.0 * w.total_withdrawn / CAST(d.A4 AS INTEGER) AS withdrawals_per_inhabitant, + s.average_debit_per_account + FROM district AS d + JOIN withdrawals_by_district AS w ON w.district_id = d.district_id + JOIN standing_order_average_by_district AS s ON s.district_id = d.district_id + WHERE CAST(d.A4 AS INTEGER) >= 100000 +) +SELECT district_name, + region, + population, + total_withdrawn, + ROUND(withdrawals_per_inhabitant, 2) AS withdrawals_per_inhabitant, + RANK() OVER (ORDER BY withdrawals_per_inhabitant DESC) AS withdrawal_rank, + ROUND(average_debit_per_account, 2) AS avg_standing_order_debit_per_account +FROM district_metrics +ORDER BY withdrawal_rank, district_name; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird222.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird222.sql new file mode 100644 index 00000000..9ad4ecbb --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird222.sql @@ -0,0 +1,59 @@ +WITH accessible_account_ids AS ( + SELECT DISTINCT account_id + FROM disp + WHERE client_id = 3541 +), +transaction_totals AS ( + SELECT account_id, + COUNT(*) AS transaction_count, + SUM(CASE WHEN type = 'PRIJEM' THEN amount ELSE 0 END) AS total_income, + SUM(CASE WHEN type = 'VYDAJ' THEN amount ELSE 0 END) AS total_expense + FROM trans + WHERE account_id IN (SELECT account_id FROM accessible_account_ids) + GROUP BY account_id +), +regional_client_counts AS ( + SELECT d.A3 AS region, COUNT(*) AS regional_client_count + FROM client AS c + JOIN district AS d ON d.district_id = c.district_id + GROUP BY d.A3 +), +district_populations AS ( + SELECT district_id, A2 AS district_name, A3 AS region, + A11 AS average_salary, CAST(A4 AS INTEGER) AS inhabitants + FROM district +), +ranked_districts AS ( + SELECT d.*, + RANK() OVER (PARTITION BY region ORDER BY inhabitants DESC) AS population_rank, + ROW_NUMBER() OVER ( + PARTITION BY region ORDER BY inhabitants DESC, district_id ASC + ) AS regional_district_number + FROM district_populations AS d +) +SELECT a.account_id, + a.date AS opened_date, + a.frequency, + d.district_name, + d.region, + CASE WHEN a.district_id = c.district_id THEN 'Yes' ELSE 'No' END AS is_home_district, + d.average_salary, + COALESCE(l.status, 'none') AS loan_repayment_status, + COALESCE(l.amount, 0) AS loan_amount, + COALESCE(t.transaction_count, 0) AS transaction_count, + COALESCE(t.total_income, 0) AS total_income, + COALESCE(t.total_expense, 0) AS total_expense, + COALESCE(t.total_income, 0) - COALESCE(t.total_expense, 0) AS net_balance, + COALESCE(rc.regional_client_count, 0) AS regional_client_count, + m.district_name AS most_populous_district, + m.inhabitants AS most_populous_district_inhabitants, + d.population_rank AS district_population_rank +FROM accessible_account_ids AS ids +JOIN account AS a ON a.account_id = ids.account_id +JOIN client AS c ON c.client_id = 3541 +JOIN ranked_districts AS d ON d.district_id = a.district_id +JOIN ranked_districts AS m ON m.region = d.region AND m.regional_district_number = 1 +LEFT JOIN loan AS l ON l.account_id = a.account_id +LEFT JOIN transaction_totals AS t ON t.account_id = a.account_id +LEFT JOIN regional_client_counts AS rc ON rc.region = d.region +ORDER BY transaction_count DESC, a.account_id ASC; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird223.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird223.sql new file mode 100644 index 00000000..ab07185a --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird223.sql @@ -0,0 +1,26 @@ +WITH loans_by_account AS ( + SELECT account_id, SUM(amount) AS amount_lent + FROM loan + GROUP BY account_id +), district_year AS ( + SELECT + STRFTIME('%Y', a.date) AS opening_year, + a.district_id, + COUNT(*) AS accounts_opened, + SUM(COALESCE(l.amount_lent, 0)) AS amount_lent + FROM account AS a + JOIN district AS d ON d.district_id = a.district_id + LEFT JOIN loans_by_account AS l ON l.account_id = a.account_id + WHERE d.A3 = 'central Bohemia' + AND a.date >= '1996-01-01' + GROUP BY STRFTIME('%Y', a.date), a.district_id +) +SELECT + opening_year, + SUM(accounts_opened) AS accounts_opened, + SUM(amount_lent) AS total_amount_lent, + ROUND(AVG(CAST(amount_lent AS REAL) / accounts_opened), 2) + AS avg_district_amount_lent_per_account +FROM district_year +GROUP BY opening_year +ORDER BY opening_year; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird224.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird224.sql new file mode 100644 index 00000000..6c2a4ca3 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird224.sql @@ -0,0 +1,19 @@ +SELECT + d.A2 AS district, + l.amount AS approved_amount, + l.date AS approval_date, + ( + SELECT t.balance + FROM trans AS t + WHERE t.account_id = l.account_id + AND t.date <= l.date + ORDER BY t.date DESC, t.trans_id DESC + LIMIT 1 + ) AS end_of_day_balance +FROM loan AS l +JOIN account AS a ON a.account_id = l.account_id +JOIN district AS d ON d.district_id = a.district_id +WHERE l.duration = 24 + AND a.frequency = 'POPLATEK TYDNE' +ORDER BY l.amount DESC, l.date ASC, l.loan_id ASC +LIMIT 10; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird225.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird225.sql new file mode 100644 index 00000000..b89b9d63 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird225.sql @@ -0,0 +1,39 @@ +WITH cardholders AS ( + SELECT + cl.client_id, + cl.gender, + cl.birth_date, + ca.type AS card_type, + CAST(strftime('%Y', ca.issued) AS INTEGER) + - CAST(strftime('%Y', cl.birth_date) AS INTEGER) AS age_at_issue, + dp.account_id, + cl.district_id + FROM card AS ca + JOIN disp AS dp ON dp.disp_id = ca.disp_id + JOIN client AS cl ON cl.client_id = dp.client_id + WHERE ca.issued >= '1994-01-01' AND ca.issued < '1995-01-01' +), account_loans AS ( + SELECT account_id, COUNT(*) AS loan_count, SUM(amount) AS total_amount_borrowed + FROM loan + GROUP BY account_id +) +SELECT + ch.client_id, + ch.gender, + ch.birth_date, + ch.card_type, + ch.age_at_issue, + COALESCE(al.loan_count, 0) AS loan_count, + COALESCE(al.total_amount_borrowed, 0) AS total_amount_borrowed, + CASE + WHEN al.loan_count > 0 AND ch.age_at_issue < 30 THEN 'Young borrower' + WHEN al.loan_count > 0 AND ch.age_at_issue >= 30 THEN 'Mature borrower' + ELSE 'Non-borrower' + END AS borrower_classification, + d.A2 AS district_name, + d.A11 AS district_average_salary, + RANK() OVER (PARTITION BY ch.gender ORDER BY ch.age_at_issue DESC) AS age_rank_within_gender +FROM cardholders AS ch +LEFT JOIN account_loans AS al ON al.account_id = ch.account_id +LEFT JOIN district AS d ON d.district_id = ch.district_id +ORDER BY ch.client_id; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird226.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird226.sql new file mode 100644 index 00000000..92efce67 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird226.sql @@ -0,0 +1,10 @@ +SELECT d.A2 AS branch_name, COUNT(t.trans_id) AS transaction_count +FROM district AS d +LEFT JOIN account AS a ON a.district_id = d.district_id +LEFT JOIN trans AS t ON t.account_id = a.account_id + AND t.date <= '1998-10-14' + AND t.k_symbol IS NULL +WHERE d.A3 = 'north Moravia' +GROUP BY d.district_id, d.A2 +ORDER BY transaction_count DESC, branch_name ASC +LIMIT 3; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird227.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird227.sql new file mode 100644 index 00000000..4b76e39d --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird227.sql @@ -0,0 +1,19 @@ +SELECT + t.bank AS bank_code, + t.account AS account_number, + COUNT(*) AS outgoing_payment_count, + SUM(t.amount) AS total_amount_paid +FROM trans AS t +WHERE t.type = 'VYDAJ' + AND t.date < '1996-01-03' + AND t.bank IS NOT NULL + AND t.account IS NOT NULL + AND EXISTS ( + SELECT 1 + FROM loan AS l + WHERE l.account_id = t.account_id + AND l.amount = 98832 + AND l.date = '1996-01-03' + ) +GROUP BY t.bank, t.account +ORDER BY total_amount_paid DESC; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird228.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird228.sql new file mode 100644 index 00000000..a5688b39 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird228.sql @@ -0,0 +1,10 @@ +SELECT COUNT(DISTINCT a.account_id) +FROM account AS a +WHERE a.district_id = 1 + AND a.date < '1996-01-01' + AND EXISTS ( + SELECT 1 + FROM loan AS l + WHERE l.account_id = a.account_id + AND l.status IN ('C', 'D') + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird229.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird229.sql new file mode 100644 index 00000000..2d61cead --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird229.sql @@ -0,0 +1,14 @@ +SELECT SUM(CASE t.k_symbol + WHEN 'UROK' THEN t.amount + WHEN 'SANKC. UROK' THEN -t.amount + END) AS net_interest_czk +FROM trans AS t +WHERE t.date >= '1998-01-01' + AND t.date < '1999-01-01' + AND t.k_symbol IN ('UROK', 'SANKC. UROK') + AND EXISTS ( + SELECT 1 + FROM disp AS d + WHERE d.client_id = 2823 + AND d.account_id = t.account_id + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird230.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird230.sql new file mode 100644 index 00000000..1bc9dbeb --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird230.sql @@ -0,0 +1,55 @@ +WITH ranked_loans AS ( + SELECT l.loan_id, l.account_id, c.client_id, c.birth_date, + l.amount, l.duration, l.payments, l.status, + DENSE_RANK() OVER (ORDER BY l.amount DESC) AS amount_rank + FROM loan AS l + JOIN disp AS dp ON dp.account_id = l.account_id AND dp.type = 'OWNER' + JOIN client AS c ON c.client_id = dp.client_id + WHERE c.gender = 'F' +), selected_loans AS ( + SELECT * FROM ranked_loans WHERE amount_rank <= 3 +), account_activity AS ( + SELECT t.account_id, + COUNT(*) AS transaction_count, + SUM(CASE WHEN t.type = 'PRIJEM' THEN t.amount ELSE 0 END) AS total_deposits + FROM trans AS t + WHERE t.account_id IN (SELECT account_id FROM selected_loans) + GROUP BY t.account_id +), regional_loan_counts AS ( + SELECT d.A3 AS region, COUNT(*) AS region_loan_count + FROM loan AS l + JOIN account AS a ON a.account_id = l.account_id + JOIN district AS d ON d.district_id = a.district_id + GROUP BY d.A3 +), regional_salaries AS ( + SELECT A3 AS region, ROUND(AVG(A11), 2) AS region_average_salary + FROM district + GROUP BY A3 +) +SELECT s.client_id, + ROUND(s.amount, 2) AS loan_amount, + s.duration AS duration_months, + ROUND(s.payments * s.duration, 2) AS total_payments, + ROUND(s.payments * s.duration - s.amount, 2) AS interest_paid, + s.status AS loan_status, + d.A2 AS branch_district, + d.A3 AS branch_region, + COALESCE(aa.transaction_count, 0) AS transaction_count, + ROUND(COALESCE(aa.total_deposits, 0), 2) AS total_deposits, + CASE + WHEN COALESCE(aa.total_deposits, 0) > 2 * s.amount THEN 'High Income' + WHEN COALESCE(aa.total_deposits, 0) > s.amount THEN 'Medium Income' + ELSE 'Low Income' + END AS income_category, + rlc.region_loan_count, + rs.region_average_salary, + CAST(strftime('%Y', '2026-10-09') AS INTEGER) + - CAST(strftime('%Y', s.birth_date) AS INTEGER) + - (strftime('%m-%d', s.birth_date) > strftime('%m-%d', '2026-10-09')) AS completed_age +FROM selected_loans AS s +JOIN account AS a ON a.account_id = s.account_id +JOIN district AS d ON d.district_id = a.district_id +LEFT JOIN account_activity AS aa ON aa.account_id = s.account_id +JOIN regional_loan_counts AS rlc ON rlc.region = d.A3 +JOIN regional_salaries AS rs ON rs.region = d.A3 +ORDER BY s.amount DESC, s.loan_id, s.client_id; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird232.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird232.sql new file mode 100644 index 00000000..ce4b4cfc --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird232.sql @@ -0,0 +1,14 @@ +WITH monthly_accounts_by_district AS ( + SELECT district_id, COUNT(*) AS account_count + FROM account + WHERE frequency = 'POPLATEK MESICNE' + AND date >= '1997-01-01' + AND date < '1998-01-01' + GROUP BY district_id +) +SELECT COALESCE(SUM(m.account_count), 0) AS total_monthly_statement_accounts, + COUNT(*) AS qualifying_district_count, + ROUND(AVG(d.A11), 2) AS average_salary +FROM monthly_accounts_by_district AS m +JOIN district AS d ON d.district_id = m.district_id +WHERE CAST(d.A4 AS INTEGER) >= 100000; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird233.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird233.sql new file mode 100644 index 00000000..233e2081 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird233.sql @@ -0,0 +1,46 @@ +WITH gold_accounts AS ( + SELECT DISTINCT d.account_id + FROM card AS c + JOIN disp AS d ON d.disp_id = c.disp_id + WHERE c.type = 'gold' +), transaction_totals AS ( + SELECT t.account_id, + SUM(CASE WHEN t.type = 'PRIJEM' THEN t.amount ELSE 0 END) AS total_received, + SUM(CASE WHEN t.type = 'VYDAJ' THEN t.amount ELSE 0 END) AS total_withdrawn + FROM trans AS t + JOIN gold_accounts AS g ON g.account_id = t.account_id + GROUP BY t.account_id +), loan_counts AS ( + SELECT l.account_id, COUNT(*) AS loan_count + FROM loan AS l + JOIN gold_accounts AS g ON g.account_id = l.account_id + GROUP BY l.account_id +), external_counterparties AS ( + SELECT DISTINCT t.account_id, t.bank, t."account" AS counterparty_account + FROM trans AS t + JOIN gold_accounts AS g ON g.account_id = t.account_id + WHERE t.operation IN ('PREVOD NA UCET', 'PREVOD Z UCTU') + AND NULLIF(TRIM(t.bank), '') IS NOT NULL + AND t."account" IS NOT NULL +), counterparty_counts AS ( + SELECT account_id, COUNT(*) AS external_counterparty_count + FROM external_counterparties + GROUP BY account_id +) +SELECT g.account_id, + di.A2 AS district_name, + di.A3 AS region, + COALESCE(tt.total_received, 0) AS total_received, + COALESCE(tt.total_withdrawn, 0) AS total_withdrawn, + COALESCE(lc.loan_count, 0) AS loan_count, + COALESCE(cc.external_counterparty_count, 0) AS external_counterparty_count, + DENSE_RANK() OVER ( + ORDER BY COALESCE(cc.external_counterparty_count, 0) DESC + ) AS counterparty_rank +FROM gold_accounts AS g +JOIN account AS a ON a.account_id = g.account_id +JOIN district AS di ON di.district_id = a.district_id +LEFT JOIN transaction_totals AS tt ON tt.account_id = g.account_id +LEFT JOIN loan_counts AS lc ON lc.account_id = g.account_id +LEFT JOIN counterparty_counts AS cc ON cc.account_id = g.account_id +ORDER BY counterparty_rank, g.account_id; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird234.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird234.sql new file mode 100644 index 00000000..45179158 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird234.sql @@ -0,0 +1,57 @@ +WITH branch_accounts AS ( + SELECT a.account_id, a.date AS opened_date + FROM account AS a + JOIN district AS d ON d.district_id = a.district_id + WHERE d.A2 = 'Tabor' + AND a.date < '1997-01-01' +), card_counts AS ( + SELECT dp.account_id, COUNT(*) AS credit_card_count + FROM branch_accounts AS a + JOIN disp AS dp ON dp.account_id = a.account_id + JOIN card AS ca ON ca.disp_id = dp.disp_id + WHERE ca.issued < '1997-01-01' + GROUP BY dp.account_id +), loan_summary AS ( + SELECT l.account_id, + COUNT(*) AS loan_count, + MAX(CASE WHEN l.status = 'B' THEN 1 ELSE 0 END) AS has_default, + MAX(CASE WHEN l.status IN ('C', 'D') THEN 1 ELSE 0 END) AS has_repaying + FROM branch_accounts AS a + JOIN loan AS l ON l.account_id = a.account_id + WHERE l.date < '1997-01-01' + GROUP BY l.account_id +), activity AS ( + SELECT t.account_id, + COUNT(*) AS transaction_count_1997, + SUM(CASE WHEN t.type = 'PRIJEM' THEN t.amount ELSE 0 END) AS money_in_1997, + SUM(CASE WHEN t.type IN ('VYDAJ', 'VYBER') THEN t.amount ELSE 0 END) AS money_out_1997, + MAX(t.balance) AS peak_balance_1997 + FROM branch_accounts AS a + JOIN trans AS t ON t.account_id = a.account_id + WHERE t.date >= '1997-01-01' AND t.date < '1998-01-01' + GROUP BY t.account_id +) +SELECT a.account_id, + a.opened_date, + c.gender AS owner_gender, + 1996 - CAST(strftime('%Y', c.birth_date) AS INTEGER) AS owner_age, + COALESCE(cc.credit_card_count, 0) AS credit_card_count, + COALESCE(ls.loan_count, 0) AS loan_count, + CASE + WHEN ls.loan_count IS NULL THEN 'no loan' + WHEN ls.has_default = 1 THEN 'defaulted' + WHEN ls.has_repaying = 1 THEN 'repaying' + ELSE 'paid off' + END AS loan_standing, + COALESCE(t.transaction_count_1997, 0) AS transaction_count_1997, + COALESCE(t.money_in_1997, 0) AS money_in_1997, + COALESCE(t.money_out_1997, 0) AS money_out_1997, + COALESCE(t.peak_balance_1997, 0) AS peak_balance_1997, + RANK() OVER (ORDER BY COALESCE(t.peak_balance_1997, 0) DESC) AS peak_balance_rank +FROM branch_accounts AS a +JOIN disp AS owner ON owner.account_id = a.account_id AND owner.type = 'OWNER' +JOIN client AS c ON c.client_id = owner.client_id +LEFT JOIN card_counts AS cc ON cc.account_id = a.account_id +LEFT JOIN loan_summary AS ls ON ls.account_id = a.account_id +LEFT JOIN activity AS t ON t.account_id = a.account_id +ORDER BY peak_balance_rank, a.account_id; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird235.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird235.sql new file mode 100644 index 00000000..ac83c6ac --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird235.sql @@ -0,0 +1,39 @@ +WITH classic_owners AS ( + SELECT DISTINCT a.district_id, a.account_id, d.client_id + FROM disp AS d + JOIN account AS a ON a.account_id = d.account_id + WHERE d.type = 'OWNER' + AND EXISTS ( + SELECT 1 + FROM card AS c + WHERE c.disp_id = d.disp_id AND c.type = 'classic' + ) +), owner_counts AS ( + SELECT district_id, COUNT(DISTINCT client_id) AS client_count + FROM classic_owners + GROUP BY district_id +), classic_accounts AS ( + SELECT DISTINCT district_id, account_id + FROM classic_owners +), payments_by_destination AS ( + SELECT a.district_id, t.bank, t."account", SUM(t.amount) AS amount_paid + FROM classic_accounts AS a + JOIN trans AS t ON t.account_id = a.account_id + WHERE t.type = 'VYDAJ' + AND t.bank IS NOT NULL + AND t."account" IS NOT NULL + GROUP BY a.district_id, t.bank, t."account" +), payment_totals AS ( + SELECT district_id, COUNT(*) AS external_account_count, + SUM(amount_paid) AS total_amount_paid + FROM payments_by_destination + GROUP BY district_id +) +SELECT d.A2 AS district_name, + COALESCE(o.client_count, 0) AS client_count, + COALESCE(p.external_account_count, 0) AS external_account_count, + COALESCE(p.total_amount_paid, 0) AS total_amount_paid +FROM district AS d +LEFT JOIN owner_counts AS o ON o.district_id = d.district_id +LEFT JOIN payment_totals AS p ON p.district_id = d.district_id +ORDER BY total_amount_paid DESC, district_name ASC; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird236.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird236.sql new file mode 100644 index 00000000..8070cadf --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird236.sql @@ -0,0 +1,11 @@ +SELECT ROUND(AVG(d.A11), 2) AS average_salary +FROM district AS d +WHERE EXISTS ( + SELECT 1 + FROM account AS a + JOIN disp AS dp ON dp.account_id = a.account_id + JOIN client AS c ON c.client_id = dp.client_id + WHERE a.district_id = d.district_id + AND c.gender = 'F' + AND DATE(c.birth_date) < '1930-01-01' +); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird237.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird237.sql new file mode 100644 index 00000000..c15497ba --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird237.sql @@ -0,0 +1,9 @@ +SELECT ROUND(AVG(d.A11), 2) AS average_district_salary +FROM district AS d +WHERE EXISTS ( + SELECT 1 + FROM client AS c + WHERE c.district_id = d.district_id + AND c.gender = 'F' + AND c.birth_date < '1950-01-01' +); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird238.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird238.sql new file mode 100644 index 00000000..2a420b79 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird238.sql @@ -0,0 +1,10 @@ +SELECT ROUND(AVG(d.A11), 2) AS average_district_salary +FROM district AS d +WHERE EXISTS ( + SELECT 1 + FROM account AS a + JOIN loan AS l ON l.account_id = a.account_id + WHERE a.district_id = d.district_id + AND l.amount < 100000 + AND l.status = 'C' +); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird239.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird239.sql new file mode 100644 index 00000000..f8190bf2 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird239.sql @@ -0,0 +1,18 @@ +WITH cohorts(cohort, sort_order, start_date, end_date) AS ( + VALUES ('young', 1, '1980-01-01', NULL), + ('old', 2, NULL, '1920-01-01') +), cohort_districts AS ( + SELECT DISTINCT c.cohort, a.district_id + FROM cohorts AS c + JOIN client AS cl + ON (c.start_date IS NULL OR cl.birth_date >= c.start_date) + AND (c.end_date IS NULL OR cl.birth_date < c.end_date) + JOIN disp AS di ON di.client_id = cl.client_id + JOIN account AS a ON a.account_id = di.account_id +) +SELECT c.cohort, CAST(ROUND(AVG(d.A11)) AS INTEGER) AS average_salary +FROM cohorts AS c +LEFT JOIN cohort_districts AS cd ON cd.cohort = c.cohort +LEFT JOIN district AS d ON d.district_id = cd.district_id +GROUP BY c.cohort, c.sort_order +ORDER BY c.sort_order; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird240.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird240.sql new file mode 100644 index 00000000..c2e67488 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird240.sql @@ -0,0 +1,12 @@ +WITH speeds AS ( + SELECT + MAX(CASE WHEN r.raceId = 853 THEN CAST(r.fastestLapSpeed AS REAL) END) AS speed_853, + MAX(CASE WHEN r.raceId = 854 THEN CAST(r.fastestLapSpeed AS REAL) END) AS speed_854 + FROM results AS r + JOIN drivers AS d ON d.driverId = r.driverId + WHERE d.forename = 'Paul' + AND d.surname = 'di Resta' + AND r.raceId IN (853, 854) +) +SELECT ROUND(100.0 * (speed_853 - speed_854) / speed_854, 2) AS percentage_higher +FROM speeds; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird241.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird241.sql new file mode 100644 index 00000000..e78744e6 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird241.sql @@ -0,0 +1,7 @@ +SELECT ROUND(100.0 * (COUNT(*) - COUNT(CASE WHEN re.position = 1 THEN 1 END)) / COUNT(*), 2) AS non_victory_percentage +FROM results AS re +JOIN drivers AS d ON d.driverId = re.driverId +JOIN races AS ra ON ra.raceId = re.raceId +WHERE d.forename = 'Lewis' + AND d.surname = 'Hamilton' + AND ra.year >= 2010; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird242.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird242.sql new file mode 100644 index 00000000..153d1722 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird242.sql @@ -0,0 +1,15 @@ +WITH race_wins AS ( + SELECT driverId, COUNT(DISTINCT raceId) AS win_count + FROM results + WHERE position = 1 + GROUP BY driverId +) +SELECT d.forename AS first_name, + d.surname AS last_name, + d.nationality, + (SELECT MAX(ds.points) + FROM driverStandings AS ds + WHERE ds.driverId = d.driverId) AS highest_standings_points +FROM race_wins AS w +JOIN drivers AS d ON d.driverId = w.driverId +WHERE w.win_count = (SELECT MAX(win_count) FROM race_wins); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird243.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird243.sql new file mode 100644 index 00000000..400568c7 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird243.sql @@ -0,0 +1,21 @@ +WITH race_results AS ( + SELECT res.position, res.laps, res.milliseconds, res.statusId + FROM races AS r + JOIN results AS res ON res.raceId = r.raceId + WHERE r.year = 1988 AND r.name = 'Australian Grand Prix' +), winner AS ( + SELECT laps, milliseconds + FROM race_results + WHERE position = 1 +), last_finisher AS ( + SELECT rr.milliseconds + FROM race_results AS rr + JOIN winner AS w ON rr.laps = w.laps + JOIN status AS s ON s.statusId = rr.statusId + WHERE s.status = 'Finished' + ORDER BY rr.position DESC + LIMIT 1 +) +SELECT ROUND(100.0 * (lf.milliseconds - w.milliseconds) / lf.milliseconds, 2) AS percentage_shorter +FROM winner AS w +CROSS JOIN last_finisher AS lf; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird244.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird244.sql new file mode 100644 index 00000000..3bc09391 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird244.sql @@ -0,0 +1,12 @@ +SELECT ROUND(100.0 * AVG(CASE WHEN EXISTS ( + SELECT 1 + FROM results AS winner + WHERE winner.raceId = entry.raceId + AND winner.position = 1 + AND winner.laps = entry.laps +) THEN 1.0 ELSE 0.0 END), 2) AS percentage +FROM results AS entry +JOIN drivers AS driver ON driver.driverId = entry.driverId +JOIN races AS race ON race.raceId = entry.raceId +WHERE driver.nationality = 'Japanese' + AND race.year BETWEEN 2007 AND 2009; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird245.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird245.sql new file mode 100644 index 00000000..504350bd --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird245.sql @@ -0,0 +1,15 @@ +WITH winner_times AS ( + SELECT r.year, r.raceId, MIN(res.milliseconds) AS elapsed_ms + FROM races AS r + JOIN results AS res ON res.raceId = r.raceId + WHERE r.year < 1975 + AND res.position = 1 + AND res.milliseconds IS NOT NULL + GROUP BY r.year, r.raceId +) +SELECT year, + ((SUM(elapsed_ms) + 5 * COUNT(*)) / (10 * COUNT(*))) / 100.0 + AS mean_winner_elapsed_seconds +FROM winner_times +GROUP BY year +ORDER BY year; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird246.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird246.sql new file mode 100644 index 00000000..334c178f --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird246.sql @@ -0,0 +1,6 @@ +SELECT 100.0 * COUNT(CASE WHEN d.dob < '1985-01-01' AND re.laps > 50 THEN 1 END) + / NULLIF(COUNT(*), 0) AS percentage +FROM results AS re +JOIN races AS ra ON ra.raceId = re.raceId +LEFT JOIN drivers AS d ON d.driverId = re.driverId +WHERE ra.year BETWEEN 2000 AND 2005; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird247.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird247.sql new file mode 100644 index 00000000..c80a0f4e --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird247.sql @@ -0,0 +1,12 @@ +WITH constructor_scores AS ( + SELECT cr.constructorId, SUM(cr.points) AS score + FROM constructorResults AS cr + JOIN races AS r ON r.raceId = cr.raceId + WHERE r.name = 'Monaco Grand Prix' + AND r.year BETWEEN 1980 AND 2010 + GROUP BY cr.constructorId +) +SELECT cs.score, c.name, c.nationality +FROM constructor_scores AS cs +JOIN constructors AS c ON c.constructorId = cs.constructorId +WHERE cs.score = (SELECT MAX(score) FROM constructor_scores); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird248.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird248.sql new file mode 100644 index 00000000..03e589d7 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird248.sql @@ -0,0 +1,15 @@ +WITH q3_times AS ( + SELECT q.driverId, + 60 * CAST(substr(q.q3, 1, instr(q.q3, ':') - 1) AS INTEGER) + + CAST(substr(q.q3, instr(q.q3, ':') + 1) AS REAL) AS seconds + FROM qualifying AS q + JOIN races AS r ON r.raceId = q.raceId + JOIN circuits AS c ON c.circuitId = r.circuitId + WHERE r.year = 2008 + AND c.name = 'Marina Bay Street Circuit' + AND instr(q.q3, ':') > 0 +) +SELECT d.forename, d.surname +FROM q3_times AS t +JOIN drivers AS d ON d.driverId = t.driverId +WHERE t.seconds = (SELECT MIN(seconds) FROM q3_times); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird249.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird249.sql new file mode 100644 index 00000000..c0488052 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird249.sql @@ -0,0 +1,7 @@ +SELECT d.forename || ' ' || d.surname AS full_name +FROM drivers AS d +JOIN lapTimes AS lt ON lt.driverId = d.driverId +WHERE lt.milliseconds IS NOT NULL +GROUP BY d.driverId, d.forename, d.surname +ORDER BY MIN(lt.milliseconds) ASC, d.driverId ASC +LIMIT 20; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird250.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird250.sql new file mode 100644 index 00000000..08629651 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird250.sql @@ -0,0 +1,13 @@ +WITH fastest_laps AS ( + SELECT c.circuitId, c.name, MIN(l.milliseconds) AS lap_ms + FROM circuits AS c + JOIN races AS r ON r.circuitId = c.circuitId + JOIN lapTimes AS l ON l.raceId = r.raceId + WHERE c.country = 'Italy' + AND l.milliseconds IS NOT NULL + GROUP BY c.circuitId, c.name +) +SELECT name AS circuit_name, + printf('%d:%02d.%03d', lap_ms / 60000, (lap_ms / 1000) % 60, lap_ms % 1000) AS fastest_lap_time +FROM fastest_laps +ORDER BY circuit_name; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird251.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird251.sql new file mode 100644 index 00000000..3fe49227 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird251.sql @@ -0,0 +1,15 @@ +WITH pit_stops_per_race AS ( + SELECT r.raceId, COUNT(p.raceId) AS pit_stop_count + FROM races AS r + LEFT JOIN pitStops AS p ON p.raceId = r.raceId + WHERE r.year = 2017 + AND NOT EXISTS ( + SELECT 1 + FROM races AS r2000 + WHERE r2000.year = 2000 + AND r2000.name = r.name + ) + GROUP BY r.raceId +) +SELECT ROUND(AVG(pit_stop_count), 2) AS average_pit_stops_per_race +FROM pit_stops_per_race; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird252.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird252.sql new file mode 100644 index 00000000..e20cbb99 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird252.sql @@ -0,0 +1,12 @@ +SELECT d.forename, + d.surname, + d.url, + d.dob, + COUNT(NULLIF(TRIM(q.q3), '')) AS q3_count +FROM drivers AS d +LEFT JOIN qualifying AS q ON q.driverId = d.driverId +WHERE d.nationality = 'German' + AND d.dob >= '1971-01-01' + AND d.dob < '1986-01-01' +GROUP BY d.driverId, d.forename, d.surname, d.url, d.dob +ORDER BY q3_count DESC, d.dob ASC; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird253.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird253.sql new file mode 100644 index 00000000..494183eb --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird253.sql @@ -0,0 +1,14 @@ +WITH q1_times AS ( + SELECT q.driverId, q.q1, + 60 * CAST(SUBSTR(q.q1, 1, INSTR(q.q1, ':') - 1) AS INTEGER) + + CAST(SUBSTR(q.q1, INSTR(q.q1, ':') + 1) AS REAL) AS elapsed_seconds + FROM qualifying AS q + JOIN races AS r ON r.raceId = q.raceId + WHERE r.year = 1995 + AND r.name = 'Japanese Grand Prix' + AND INSTR(q.q1, ':') > 0 +) +SELECT d.driverRef, d.nationality, d.dob, t.q1 +FROM q1_times AS t +JOIN drivers AS d ON d.driverId = t.driverId +WHERE t.elapsed_seconds = (SELECT MAX(elapsed_seconds) FROM q1_times); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird254.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird254.sql new file mode 100644 index 00000000..7a41f98f --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird254.sql @@ -0,0 +1,14 @@ +WITH q1_times AS ( + SELECT q.driverId, + 60000 * CAST(substr(q.q1, 1, instr(q.q1, ':') - 1) AS INTEGER) + + CAST(replace(substr(q.q1, instr(q.q1, ':') + 1), '.', '') AS INTEGER) AS q1_ms + FROM qualifying AS q + JOIN races AS r ON r.raceId = q.raceId + WHERE r.year = 1995 + AND r.name = 'Japanese Grand Prix' + AND q.q1 GLOB '[0-9]*:[0-9][0-9].[0-9][0-9][0-9]' +) +SELECT d.nationality +FROM q1_times AS t +JOIN drivers AS d ON d.driverId = t.driverId +WHERE t.q1_ms = (SELECT MAX(q1_ms) FROM q1_times); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird255.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird255.sql new file mode 100644 index 00000000..97a911ad --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird255.sql @@ -0,0 +1,19 @@ +WITH q1_times AS ( + SELECT q.driverId, q.q1, + ROUND(1000 * ( + CASE WHEN INSTR(q.q1, ':') > 0 THEN + 60 * CAST(SUBSTR(q.q1, 1, INSTR(q.q1, ':') - 1) AS INTEGER) + + CAST(SUBSTR(q.q1, INSTR(q.q1, ':') + 1) AS REAL) + ELSE CAST(q.q1 AS REAL) + END + )) AS q1_ms + FROM qualifying AS q + JOIN races AS r ON r.raceId = q.raceId + WHERE r.year = 1995 + AND r.name = 'Japanese Grand Prix' + AND q.q1 GLOB '[0-9]*' +) +SELECT d.forename, d.surname, t.q1 +FROM q1_times AS t +JOIN drivers AS d ON d.driverId = t.driverId +WHERE t.q1_ms = (SELECT MIN(q1_ms) FROM q1_times); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird256.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird256.sql new file mode 100644 index 00000000..ecde4f8d --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird256.sql @@ -0,0 +1,12 @@ +SELECT COUNT(DISTINCT opponent.driverId) AS drivers_outqualified +FROM qualifying AS lucas +JOIN drivers AS d ON d.driverId = lucas.driverId +JOIN races AS r ON r.raceId = lucas.raceId +JOIN qualifying AS opponent + ON opponent.raceId = lucas.raceId + AND opponent.driverId <> lucas.driverId + AND opponent.position > lucas.position +WHERE d.forename = 'Lucas' COLLATE NOCASE + AND d.surname = 'di Grassi' COLLATE NOCASE + AND r.date >= '2010-01-01' + AND r.date < '2011-01-01'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird257.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird257.sql new file mode 100644 index 00000000..14b4362e --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird257.sql @@ -0,0 +1,12 @@ +WITH q2_times AS ( + SELECT q.driverId, q.q2 + FROM qualifying AS q + JOIN races AS r ON r.raceId = q.raceId + WHERE r.year = 2017 + AND r.name = 'Italian Grand Prix' + AND q.q2 NOT IN ('', '\N') +) +SELECT d.nationality +FROM q2_times AS t +JOIN drivers AS d ON d.driverId = t.driverId +WHERE t.q2 = (SELECT MIN(q2) FROM q2_times); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird258.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird258.sql new file mode 100644 index 00000000..15bebfd2 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird258.sql @@ -0,0 +1,9 @@ +SELECT d.forename, COUNT(DISTINCT d.driverId) AS runner_up_count +FROM races AS r +JOIN results AS res ON res.raceId = r.raceId +JOIN drivers AS d ON d.driverId = res.driverId +WHERE r.name = 'Italian Grand Prix' + AND res.position = 2 +GROUP BY d.forename +HAVING COUNT(DISTINCT d.driverId) >= 2 +ORDER BY runner_up_count DESC, d.forename ASC; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird259.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird259.sql new file mode 100644 index 00000000..6b045343 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird259.sql @@ -0,0 +1,11 @@ +SELECT d.forename, + d.surname, + strftime('%H:%M:%f', r.date || ' ' || r.time, + '+4 hours', '+' || (res.milliseconds / 1000.0) || ' seconds') AS local_finish_time, + d.url +FROM races AS r +JOIN results AS res ON res.raceId = r.raceId +JOIN drivers AS d ON d.driverId = res.driverId +WHERE r.year = 2017 + AND r.name = 'Azerbaijan Grand Prix' + AND res.position = 1; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird260.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird260.sql new file mode 100644 index 00000000..5d507616 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird260.sql @@ -0,0 +1,8 @@ +SELECT d.driverRef, d.nationality, d.dob +FROM qualifying AS q +JOIN races AS r ON r.raceId = q.raceId +JOIN drivers AS d ON d.driverId = q.driverId +WHERE r.year = 2017 + AND r.name = 'Italian Grand Prix' + AND NULLIF(TRIM(q.q2), '') IS NOT NULL + AND NULLIF(TRIM(q.q3), '') IS NULL; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird261.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird261.sql new file mode 100644 index 00000000..c5e578ba --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird261.sql @@ -0,0 +1,17 @@ +WITH q2_times AS ( + SELECT q.driverId, + 60 * CAST(substr(q.q2, 1, instr(q.q2, ':') - 1) AS INTEGER) + + CAST(substr(q.q2, instr(q.q2, ':') + 1) AS REAL) AS q2_seconds + FROM qualifying AS q + JOIN races AS r ON r.raceId = q.raceId + WHERE r.year = 2017 + AND r.name = 'Italian Grand Prix' + AND instr(q.q2, ':') > 0 +), ranked AS ( + SELECT driverId, DENSE_RANK() OVER (ORDER BY q2_seconds) AS time_rank + FROM q2_times +) +SELECT d.nationality +FROM ranked AS q +JOIN drivers AS d ON d.driverId = q.driverId +WHERE q.time_rank = 2; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird262.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird262.sql new file mode 100644 index 00000000..5028b9a7 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird262.sql @@ -0,0 +1,8 @@ +SELECT COUNT(DISTINCT q.driverId) AS driver_count +FROM qualifying AS q +JOIN races AS r ON r.raceId = q.raceId +WHERE r.year = 2017 + AND r.name = 'Italian Grand Prix' + AND INSTR(q.q2, ':') > 0 + AND 60 * CAST(SUBSTR(q.q2, 1, INSTR(q.q2, ':') - 1) AS INTEGER) + + CAST(SUBSTR(q.q2, INSTR(q.q2, ':') + 1) AS REAL) < 100; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird263.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird263.sql new file mode 100644 index 00000000..46181984 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird263.sql @@ -0,0 +1,9 @@ +SELECT c.name AS racetrack_name, + c.location, + c.country, + r.year AS season_year, + p.duration AS pit_stop_length +FROM pitStops AS p +JOIN races AS r ON r.raceId = p.raceId +JOIN circuits AS c ON c.circuitId = r.circuitId +WHERE p.milliseconds = (SELECT MAX(milliseconds) FROM pitStops); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird264.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird264.sql new file mode 100644 index 00000000..79052188 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird264.sql @@ -0,0 +1,9 @@ +WITH driver_q3_counts AS ( + SELECT d.driverId, COUNT(NULLIF(TRIM(q.q3), '')) AS q3_count + FROM drivers AS d + LEFT JOIN qualifying AS q ON q.driverId = d.driverId + WHERE d.dob >= '1981-01-01' AND d.dob < '1992-01-01' + GROUP BY d.driverId +) +SELECT ROUND(AVG(q3_count), 2) AS average_q3_lap_times +FROM driver_q3_counts; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird265.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird265.sql new file mode 100644 index 00000000..85d012ff --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird265.sql @@ -0,0 +1,13 @@ +SELECT COUNT(*) AS qualifying_count +FROM qualifying AS q +JOIN drivers AS d ON d.driverId = q.driverId +WHERE d.code IS NULL + AND EXISTS ( + SELECT 1 + FROM drivers AS other + WHERE other.forename = d.forename + AND other.driverId <> d.driverId + ) + AND INSTR(q.q1, ':') > 0 + AND 60 * CAST(SUBSTR(q.q1, 1, INSTR(q.q1, ':') - 1) AS INTEGER) + + CAST(SUBSTR(q.q1, INSTR(q.q1, ':') + 1) AS REAL) > 120; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird266.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird266.sql new file mode 100644 index 00000000..f1c46139 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird266.sql @@ -0,0 +1,14 @@ +SELECT + d.driverRef, + COALESCE(SUM(r.points), 0.0) AS total_points +FROM drivers AS d +LEFT JOIN results AS r + ON r.driverId = d.driverId + AND EXISTS ( + SELECT 1 + FROM lapTimes AS lt + WHERE lt.driverId = r.driverId + AND lt.raceId = r.raceId + ) +WHERE d.forename = 'Robert' +GROUP BY d.driverId, d.driverRef; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird267.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird267.sql new file mode 100644 index 00000000..d013b588 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird267.sql @@ -0,0 +1,26 @@ +WITH french_editions AS ( + SELECT raceId, date + FROM races + WHERE name = 'French Grand Prix' + AND year >= 1990 +), +qualifying_laps AS ( + SELECT lt.raceId, lt.driverId, MIN(lt.milliseconds) AS fastest_ms + FROM lapTimes AS lt + JOIN french_editions AS e ON e.raceId = lt.raceId + GROUP BY lt.raceId, lt.driverId + HAVING MIN(lt.milliseconds) > 90000 +) +SELECT e.date, + d.forename, + d.surname, + CASE WHEN q.fastest_ms IS NOT NULL THEN + printf('%d:%02d.%03d', + q.fastest_ms / 60000, + (q.fastest_ms / 1000) % 60, + q.fastest_ms % 1000) + END AS fastest_lap_time +FROM french_editions AS e +LEFT JOIN qualifying_laps AS q ON q.raceId = e.raceId +LEFT JOIN drivers AS d ON d.driverId = q.driverId +ORDER BY e.date, d.surname, d.forename; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird268.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird268.sql new file mode 100644 index 00000000..760b024b --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird268.sql @@ -0,0 +1,14 @@ +WITH timed_laps AS ( + SELECT d.driverId, d.forename, d.surname, q.q3, + 60000 * CAST(SUBSTR(q.q3, 1, INSTR(q.q3, ':') - 1) AS INTEGER) + + ROUND(1000 * CAST(SUBSTR(q.q3, INSTR(q.q3, ':') + 1) AS REAL)) AS lap_ms + FROM qualifying AS q + JOIN drivers AS d ON d.driverId = q.driverId + WHERE d.nationality = 'Italian' + AND INSTR(q.q3, ':') > 0 +) +SELECT forename, surname, q3 +FROM timed_laps +WHERE lap_ms = (SELECT MIN(lap_ms) FROM timed_laps) +GROUP BY driverId, forename, surname, q3 +ORDER BY surname, forename; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird269.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird269.sql new file mode 100644 index 00000000..981bd242 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird269.sql @@ -0,0 +1,17 @@ +WITH q3_results AS ( + SELECT d.forename || ' ' || d.surname AS driver_full_name, + r.name AS race_name, + r.year AS race_year, + q.q3 AS q3_time, + 60 * CAST(substr(q.q3, 1, instr(q.q3, ':') - 1) AS INTEGER) + + CAST(substr(q.q3, instr(q.q3, ':') + 1) AS REAL) AS q3_seconds + FROM qualifying AS q + JOIN drivers AS d ON d.driverId = q.driverId + JOIN races AS r ON r.raceId = q.raceId + WHERE d.nationality = 'British' + AND CAST(strftime('%Y', d.dob) AS INTEGER) > 1980 + AND instr(q.q3, ':') > 0 +) +SELECT driver_full_name, race_name, race_year, q3_time +FROM q3_results +WHERE q3_seconds = (SELECT MIN(q3_seconds) FROM q3_results); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird270.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird270.sql new file mode 100644 index 00000000..81a896af --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird270.sql @@ -0,0 +1,15 @@ +WITH driver_best_laps AS ( + SELECT raceId, driverId, MIN(milliseconds) AS best_lap_ms + FROM lapTimes + WHERE milliseconds IS NOT NULL + GROUP BY raceId, driverId +), ranked_laps AS ( + SELECT raceId, driverId, + RANK() OVER (PARTITION BY raceId ORDER BY best_lap_ms) AS lap_rank + FROM driver_best_laps +) +SELECT COUNT(DISTINCT r.driverId) AS driver_count +FROM ranked_laps AS r +JOIN drivers AS d ON d.driverId = r.driverId +WHERE r.lap_rank = 2 + AND d.dob >= '1976-01-01'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird271.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird271.sql new file mode 100644 index 00000000..e6893046 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird271.sql @@ -0,0 +1,15 @@ +WITH q3_times AS ( + SELECT d.driverRef, + 60 * CAST(SUBSTR(q.q3, 1, INSTR(q.q3, ':') - 1) AS INTEGER) + + CAST(SUBSTR(q.q3, INSTR(q.q3, ':') + 1) AS REAL) AS elapsed_seconds + FROM qualifying AS q + JOIN races AS r ON r.raceId = q.raceId + JOIN drivers AS d ON d.driverId = q.driverId + WHERE r.year = 2017 + AND r.name = 'Italian Grand Prix' + AND INSTR(q.q3, ':') > 0 +) +SELECT driverRef +FROM q3_times +WHERE elapsed_seconds = (SELECT MIN(elapsed_seconds) FROM q3_times) +ORDER BY driverRef; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird272.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird272.sql new file mode 100644 index 00000000..95734916 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird272.sql @@ -0,0 +1,36 @@ +WITH italian_constructors AS ( + SELECT constructorId, name, url + FROM constructors + WHERE nationality = 'Italian' +), season_standings AS ( + SELECT cs.constructorId, + cs.points, + ROW_NUMBER() OVER ( + PARTITION BY cs.constructorId, r.year + ORDER BY r.round DESC, r.raceId DESC + ) AS season_row + FROM constructorStandings AS cs + JOIN races AS r ON r.raceId = cs.raceId + JOIN italian_constructors AS c ON c.constructorId = cs.constructorId +), career_totals AS ( + SELECT c.constructorId, + c.name, + c.url, + COALESCE(SUM(s.points), 0.0) AS career_points + FROM italian_constructors AS c + LEFT JOIN season_standings AS s + ON s.constructorId = c.constructorId AND s.season_row = 1 + GROUP BY c.constructorId, c.name, c.url +), ranked AS ( + SELECT name, + career_points, + url, + RANK() OVER (ORDER BY career_points DESC) AS career_rank + FROM career_totals +) +SELECT name AS constructor_name, + career_points, + url AS introduction_website +FROM ranked +WHERE career_rank <= 3 +ORDER BY career_rank, constructor_name; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird273.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird273.sql new file mode 100644 index 00000000..3d4486ac --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird273.sql @@ -0,0 +1,7 @@ +SELECT + COUNT(DISTINCT CASE WHEN d.forename = 'Peter' THEN d.driverId END) AS Peter, + COUNT(DISTINCT CASE WHEN d.forename = 'John' THEN d.driverId END) AS John +FROM drivers AS d +JOIN results AS r ON r.driverId = d.driverId +WHERE d.forename IN ('Peter', 'John') + AND r.position = 1; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird274.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird274.sql new file mode 100644 index 00000000..70694b52 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird274.sql @@ -0,0 +1,10 @@ +SELECT d.nationality +FROM drivers AS d +WHERE d.driverId IN ( + SELECT q.driverId + FROM qualifying AS q + WHERE q.q3 = ( + SELECT MIN(NULLIF(q3, '')) + FROM qualifying + ) +); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird275.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird275.sql new file mode 100644 index 00000000..741530b0 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird275.sql @@ -0,0 +1,13 @@ +WITH fastest_lap_constructors AS ( + SELECT DISTINCT constructorId + FROM results + WHERE rank = 1 +) +SELECT + c.nationality, + COUNT(DISTINCT f.constructorId) AS constructor_count +FROM constructors AS c +LEFT JOIN fastest_lap_constructors AS f + ON f.constructorId = c.constructorId +GROUP BY c.nationality +ORDER BY c.nationality; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird276.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird276.sql new file mode 100644 index 00000000..95cf0c7b --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird276.sql @@ -0,0 +1,17 @@ +SELECT s.year AS season_year, + COUNT(ps.raceId) AS total_pit_stops +FROM seasons AS s +LEFT JOIN races AS r + ON r.year = s.year + AND EXISTS ( + SELECT 1 + FROM driverStandings AS ds + JOIN drivers AS d ON d.driverId = ds.driverId + WHERE ds.raceId = r.raceId + AND d.nationality = 'Australian' + AND ds.position BETWEEN 1 AND 19 + ) +LEFT JOIN pitStops AS ps ON ps.raceId = r.raceId +WHERE s.year BETWEEN 2002 AND 2013 +GROUP BY s.year +ORDER BY s.year; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird277.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird277.sql new file mode 100644 index 00000000..31b5e1ce --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird277.sql @@ -0,0 +1,8 @@ +SELECT COUNT(DISTINCT q.driverId) AS driver_count +FROM qualifying AS q +JOIN races AS r ON r.raceId = q.raceId +WHERE r.date >= '1995-01-01' + AND r.date < '1996-01-01' + AND INSTR(q.q1, ':') > 0 + AND 60 * CAST(SUBSTR(q.q1, 1, INSTR(q.q1, ':') - 1) AS INTEGER) + + CAST(SUBSTR(q.q1, INSTR(q.q1, ':') + 1) AS REAL) > 120; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird278.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird278.sql new file mode 100644 index 00000000..7db80690 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird278.sql @@ -0,0 +1,16 @@ +WITH september_stops AS ( + SELECT p.driverId, p.raceId, p.duration, p.milliseconds + FROM pitStops AS p + JOIN races AS r ON r.raceId = p.raceId + WHERE r.date >= '2016-09-01' AND r.date < '2016-10-01' +) +SELECT d.forename || ' ' || d.surname AS driver_full_name, + s.duration AS pit_stop_time, + r.name AS race_name, + c.name AS circuit_name, + c.location AS circuit_location +FROM september_stops AS s +JOIN drivers AS d ON d.driverId = s.driverId +JOIN races AS r ON r.raceId = s.raceId +JOIN circuits AS c ON c.circuitId = r.circuitId +WHERE s.milliseconds = (SELECT MIN(milliseconds) FROM september_stops); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird279.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird279.sql new file mode 100644 index 00000000..59a02c0d --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird279.sql @@ -0,0 +1,34 @@ +WITH first_win AS ( + SELECT d.driverId, + d.forename || ' ' || d.surname AS full_name, + d.nationality, + r.name AS first_win_name, + r.date AS first_win_date + FROM drivers AS d + JOIN results AS res ON res.driverId = d.driverId + JOIN races AS r ON r.raceId = res.raceId + WHERE res.position = 1 + AND d.dob IS NOT NULL + AND r.year BETWEEN 1950 AND 2017 + ORDER BY d.dob, full_name, d.driverId, r.date, r.name, r.raceId + LIMIT 1 +) +SELECT w.full_name, + w.nationality, + w.first_win_name, + w.first_win_date, + ( + SELECT COUNT(DISTINCT res.raceId) + FROM results AS res + JOIN races AS r ON r.raceId = res.raceId + WHERE res.driverId = w.driverId + AND r.year BETWEEN 1950 AND 2017 + AND NOT EXISTS ( + SELECT 1 + FROM status AS s + WHERE s.statusId = res.statusId + AND s.status IN ('Did not start', 'Withdrew', 'Did not qualify', + 'Did not prequalify', '107% Rule') + ) + ) AS total_races_started +FROM first_win AS w; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird280.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird280.sql new file mode 100644 index 00000000..87115ebe --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird280.sql @@ -0,0 +1,6 @@ +SELECT COUNT(DISTINCT r.raceId) AS runnings +FROM races AS r +JOIN results AS res ON res.raceId = r.raceId +JOIN status AS s ON s.statusId = res.statusId +WHERE r.name = 'Canadian Grand Prix' + AND s.status = 'Accident'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird281.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird281.sql new file mode 100644 index 00000000..b0616e0c --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird281.sql @@ -0,0 +1,15 @@ +SELECT d.forename, d.surname, c.name AS constructor_name +FROM qualifying AS q +JOIN races AS r ON r.raceId = q.raceId +JOIN drivers AS d ON d.driverId = q.driverId +JOIN constructors AS c ON c.constructorId = q.constructorId +LEFT JOIN results AS res ON res.raceId = q.raceId AND res.driverId = q.driverId +WHERE r.year = 2017 + AND r.name = 'Italian Grand Prix' + AND INSTR(q.q2, ':') > 0 +ORDER BY + 60000 * CAST(SUBSTR(q.q2, 1, INSTR(q.q2, ':') - 1) AS INTEGER) + + CAST(REPLACE(SUBSTR(q.q2, INSTR(q.q2, ':') + 1), '.', '') AS INTEGER), + CASE WHEN res.grid > 0 THEN 0 ELSE 1 END, + res.grid +LIMIT 1 OFFSET 1; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird282.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird282.sql new file mode 100644 index 00000000..a959144c --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird282.sql @@ -0,0 +1,15 @@ +WITH season_q2 AS ( + SELECT q.driverId, + r.name AS race_name, + 60 * CAST(SUBSTR(q.q2, 1, INSTR(q.q2, ':') - 1) AS INTEGER) + + CAST(SUBSTR(q.q2, INSTR(q.q2, ':') + 1) AS REAL) AS q2_seconds + FROM qualifying AS q + JOIN races AS r ON r.raceId = q.raceId + WHERE r.year = 2017 + AND INSTR(q.q2, ':') > 0 +) +SELECT d.surname, s.race_name +FROM season_q2 AS s +JOIN drivers AS d ON d.driverId = s.driverId +WHERE s.q2_seconds = (SELECT MIN(q2_seconds) FROM season_q2) +ORDER BY d.surname, s.race_name; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird283.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird283.sql new file mode 100644 index 00000000..e52726d7 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird283.sql @@ -0,0 +1,15 @@ +WITH q3_times AS ( + SELECT q.driverId, + 60000 * CAST(SUBSTR(q.q3, 1, INSTR(q.q3, ':') - 1) AS INTEGER) + + CAST(REPLACE(SUBSTR(q.q3, INSTR(q.q3, ':') + 1), '.', '') AS INTEGER) AS time_ms + FROM qualifying AS q + JOIN races AS r ON r.raceId = q.raceId + WHERE r.year = 2017 + AND r.name = 'Italian Grand Prix' + AND q.q3 GLOB '[0-9]*:[0-5][0-9].[0-9][0-9][0-9]' +) +SELECT d.number +FROM q3_times AS t +JOIN drivers AS d ON d.driverId = t.driverId +WHERE t.time_ms = (SELECT MIN(time_ms) FROM q3_times) +ORDER BY d.number; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird284.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird284.sql new file mode 100644 index 00000000..1a6e9d62 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird284.sql @@ -0,0 +1,18 @@ +WITH ranked_q3 AS ( + SELECT d.code AS driver_code, + q.q3 AS fastest_q3_time, + RANK() OVER ( + ORDER BY 60 * CAST(substr(q.q3, 1, instr(q.q3, ':') - 1) AS INTEGER) + + CAST(substr(q.q3, instr(q.q3, ':') + 1) AS REAL) + ) AS time_rank + FROM qualifying AS q + JOIN races AS r ON r.raceId = q.raceId + JOIN drivers AS d ON d.driverId = q.driverId + WHERE r.year = 2017 + AND r.name = 'Italian Grand Prix' + AND instr(q.q3, ':') > 0 +) +SELECT driver_code, fastest_q3_time +FROM ranked_q3 +WHERE time_rank = 1 +ORDER BY driver_code; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird285.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird285.sql new file mode 100644 index 00000000..2f29e9a2 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird285.sql @@ -0,0 +1,14 @@ +WITH q3_times AS ( + SELECT q.driverId, + 60 * CAST(SUBSTR(q.q3, 1, INSTR(q.q3, ':') - 1) AS INTEGER) + + CAST(SUBSTR(q.q3, INSTR(q.q3, ':') + 1) AS REAL) AS seconds + FROM qualifying AS q + JOIN races AS r ON r.raceId = q.raceId + WHERE r.year = 2017 + AND r.name = 'Italian Grand Prix' + AND INSTR(q.q3, ':') > 0 +) +SELECT d.nationality +FROM q3_times AS t +JOIN drivers AS d ON d.driverId = t.driverId +WHERE t.seconds = (SELECT MIN(seconds) FROM q3_times); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird286.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird286.sql new file mode 100644 index 00000000..47eadcdf --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird286.sql @@ -0,0 +1,13 @@ +WITH earliest_edition AS ( + SELECT raceId, year + FROM races + WHERE name = 'Chinese Grand Prix' + AND year BETWEEN 2000 AND 2009 + AND TIME(time) IS NOT NULL + ORDER BY TIME(time) ASC, year DESC + LIMIT 1 +) +SELECT e.year AS season_year, r.time AS runner_up_time_gap +FROM earliest_edition AS e +JOIN results AS r ON r.raceId = e.raceId +WHERE r.position = 2; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird287.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird287.sql new file mode 100644 index 00000000..54fbcd45 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird287.sql @@ -0,0 +1,12 @@ +SELECT d.code +FROM drivers AS d +WHERE EXISTS ( + SELECT 1 + FROM qualifying AS q + JOIN races AS r ON r.raceId = q.raceId + WHERE q.driverId = d.driverId + AND r.year = 2017 + AND r.name = 'Italian Grand Prix' + AND TRIM(q.q3) NOT IN ('', '\N') +) +ORDER BY d.code; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird288.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird288.sql new file mode 100644 index 00000000..2588a4a9 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird288.sql @@ -0,0 +1,9 @@ +SELECT r.year, d.forename, d.surname, res.time AS finish_time +FROM races AS r +JOIN results AS res ON res.raceId = r.raceId +JOIN drivers AS d ON d.driverId = res.driverId +WHERE r.name = 'Canadian Grand Prix' + AND r.year BETWEEN 2007 AND 2017 + AND time(r.time) <= '17:00:00' + AND res.position = 1 +ORDER BY r.year; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird289.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird289.sql new file mode 100644 index 00000000..ccfa8c48 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird289.sql @@ -0,0 +1,11 @@ +SELECT d.number, d.surname +FROM qualifying AS q +JOIN drivers AS d ON d.driverId = q.driverId +JOIN races AS r ON r.raceId = q.raceId +JOIN circuits AS c ON c.circuitId = r.circuitId +WHERE r.year = 2017 + AND r.name = 'Italian Grand Prix' + AND c.circuitRef = 'monza' + AND INSTR(q.q3, ':') > 0 + AND 60 * CAST(SUBSTR(q.q3, 1, INSTR(q.q3, ':') - 1) AS INTEGER) + + CAST(SUBSTR(q.q3, INSTR(q.q3, ':') + 1) AS REAL) < 98.000; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird290.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird290.sql new file mode 100644 index 00000000..531457d6 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird290.sql @@ -0,0 +1,40 @@ +WITH local_starts AS ( + SELECT c.circuitRef, + time(r.time, printf('%+d minutes', CASE + -- These archive entries already use venue-local time. + WHEN r.year <= 2006 + OR (c.circuitRef = 'yas_marina' AND r.date = '2017-11-26') THEN 0 + -- UTC offsets on the recorded race dates. + WHEN c.circuitRef = 'americas' THEN + CASE WHEN r.date < date(r.year || '-11-01', 'weekday 0') + THEN -300 ELSE -360 END + WHEN c.circuitRef = 'rodriguez' THEN -360 + WHEN c.circuitRef IN ('indianapolis', 'villeneuve') THEN -240 + WHEN c.circuitRef = 'interlagos' THEN -120 + WHEN c.circuitRef = 'silverstone' THEN 60 + WHEN c.circuitRef IN ('bahrain', 'istanbul') THEN 180 + WHEN c.circuitRef IN ('BAK', 'yas_marina') THEN 240 + WHEN c.circuitRef = 'sochi' THEN CASE WHEN r.year = 2014 THEN 240 ELSE 180 END + WHEN c.circuitRef = 'buddh' THEN 330 + WHEN c.circuitRef IN ('marina_bay', 'sepang', 'shanghai') THEN 480 + WHEN c.circuitRef IN ('fuji', 'suzuka', 'yeongam') THEN 540 + WHEN c.circuitRef IN ('catalunya', 'hockenheimring', 'hungaroring', + 'magny_cours', 'monaco', 'monza', 'nurburgring', + 'red_bull_ring', 'spa', 'valencia') THEN 120 + END)) AS local_start + FROM races AS r + JOIN circuits AS c ON c.circuitId = r.circuitId + WHERE r.time IS NOT NULL +), extrema AS ( + SELECT MIN(local_start) AS earliest, MAX(local_start) AS latest + FROM local_starts +) +SELECT (SELECT group_concat(circuitRef, ', ') + FROM (SELECT DISTINCT circuitRef FROM local_starts + WHERE local_start = e.earliest ORDER BY circuitRef)) AS earliest_circuit_refs, + (SELECT group_concat(circuitRef, ', ') + FROM (SELECT DISTINCT circuitRef FROM local_starts + WHERE local_start = e.latest ORDER BY circuitRef)) AS latest_circuit_refs, + CAST(strftime('%s', e.latest) AS INTEGER) + - CAST(strftime('%s', e.earliest) AS INTEGER) AS gap_seconds +FROM extrema AS e; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird291.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird291.sql new file mode 100644 index 00000000..426b5c59 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird291.sql @@ -0,0 +1,11 @@ +SELECT d.forename, d.surname +FROM drivers AS d +JOIN results AS r ON r.driverId = d.driverId +WHERE d.dob >= '1980-01-01' + AND d.dob < '1990-01-01' + AND TRIM(r.fastestLapSpeed) NOT IN ('', '\N') +GROUP BY d.driverId, d.forename, d.surname, d.dob +ORDER BY MAX(CAST(r.fastestLapSpeed AS REAL)) DESC, + d.dob ASC, + d.surname ASC +LIMIT 3; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird292.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird292.sql new file mode 100644 index 00000000..e8cc05a6 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird292.sql @@ -0,0 +1,10 @@ +SELECT d.driverRef +FROM qualifying AS q +JOIN races AS r ON r.raceId = q.raceId +JOIN drivers AS d ON d.driverId = q.driverId +WHERE r.year = 2017 + AND r.name = 'Italian Grand Prix' + AND (q.q2 IS NULL OR TRIM(q.q2) = '') +ORDER BY CAST(SUBSTR(q.q1, 1, INSTR(q.q1, ':') - 1) AS INTEGER) DESC, + CAST(SUBSTR(q.q1, INSTR(q.q1, ':') + 1) AS REAL) DESC, + q.driverId ASC; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird293.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird293.sql new file mode 100644 index 00000000..45ade327 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird293.sql @@ -0,0 +1,7 @@ +SELECT COUNT(DISTINCT res.driverId) +FROM results AS res +JOIN races AS r ON r.raceId = res.raceId +JOIN status AS s ON s.statusId = res.statusId +WHERE r.year = 1962 + AND r.name = 'British Grand Prix' + AND s.status = 'Withdrew'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird294.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird294.sql new file mode 100644 index 00000000..be6b9407 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird294.sql @@ -0,0 +1,12 @@ +SELECT ROUND( + 100.0 * COUNT(DISTINCT CASE + WHEN s.status = 'Finished' OR s.status LIKE '+% Lap%' THEN re.driverId + END) / COUNT(DISTINCT re.driverId), + 2 +) AS classified_finisher_percentage +FROM races AS r +JOIN results AS re ON re.raceId = r.raceId +JOIN status AS s ON s.statusId = re.statusId +WHERE r.year = 1957 + AND r.name = 'British Grand Prix' + AND re.positionText <> 'W'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird295.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird295.sql new file mode 100644 index 00000000..08d83a34 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird295.sql @@ -0,0 +1,13 @@ +WITH event_totals AS ( + SELECT v.event_id, SUM(e.cost) AS total_expense + FROM expense AS e + JOIN member AS m ON m.member_id = e.link_to_member + JOIN budget AS b ON b.budget_id = e.link_to_budget + JOIN event AS v ON v.event_id = b.link_to_event + WHERE m.first_name = 'Elijah' + AND m.last_name = 'Allen' + AND strftime('%m', e.expense_date) IN ('09', '10') + GROUP BY v.event_id +) +SELECT ROUND(AVG(total_expense), 2) AS mean_total_expense_per_event +FROM event_totals; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird296.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird296.sql new file mode 100644 index 00000000..9e7baf61 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird296.sql @@ -0,0 +1,6 @@ +SELECT SUM(b.spent) FILTER (WHERE e.event_date < '2020-01-01') + - SUM(b.spent) FILTER (WHERE e.event_date >= '2020-01-01') AS spending_difference +FROM event AS e +JOIN budget AS b ON b.link_to_event = e.event_id +WHERE e.event_date >= '2019-01-01' + AND e.event_date < '2021-01-01'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird297.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird297.sql new file mode 100644 index 00000000..d1522dcf --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird297.sql @@ -0,0 +1,4 @@ +SELECT notes +FROM income +WHERE date(date_received) = '2019-09-14' + AND source LIKE '%fundrais%'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird298.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird298.sql new file mode 100644 index 00000000..e4d5a461 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird298.sql @@ -0,0 +1,6 @@ +SELECT 1.0 * SUM(CASE WHEN e.event_name = 'Yearly Kickoff' THEN b.amount END) + / NULLIF(SUM(CASE WHEN e.event_name = 'October Meeting' THEN b.amount END), 0) AS advertisement_budget_ratio +FROM budget AS b +JOIN event AS e ON e.event_id = b.link_to_event +WHERE b.category = 'Advertisement' + AND e.event_name IN ('Yearly Kickoff', 'October Meeting'); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird299.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird299.sql new file mode 100644 index 00000000..d0c97edc --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird299.sql @@ -0,0 +1,12 @@ +WITH event_ratios AS ( + SELECT e.event_name, + 1.0 * SUM(b.spent) / NULLIF(SUM(b.amount), 0) AS spending_ratio + FROM event AS e + JOIN budget AS b ON b.link_to_event = e.event_id + WHERE e.status = 'Closed' + GROUP BY e.event_id, e.event_name +) +SELECT event_name +FROM event_ratios +WHERE spending_ratio = (SELECT MAX(spending_ratio) FROM event_ratios) +ORDER BY event_name; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird300.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird300.sql new file mode 100644 index 00000000..7b21331e --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird300.sql @@ -0,0 +1,6 @@ +SELECT m.first_name, m.last_name +FROM member AS m +JOIN attendance AS a ON a.link_to_member = m.member_id +JOIN event AS e ON e.event_id = a.link_to_event +GROUP BY m.member_id, m.first_name, m.last_name +HAVING COUNT(DISTINCT e.event_id) > 7; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird301.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird301.sql new file mode 100644 index 00000000..af84b8f3 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird301.sql @@ -0,0 +1,8 @@ +SELECT m.first_name, m.last_name, m.phone +FROM member AS m +WHERE EXISTS ( + SELECT 1 + FROM expense AS e + WHERE e.link_to_member = m.member_id + AND e.cost > (SELECT AVG(cost) FROM expense) +); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird302.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird302.sql new file mode 100644 index 00000000..410a4f11 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird302.sql @@ -0,0 +1,22 @@ +WITH fall_event_counts AS ( + SELECT e.event_id, + e.event_name, + COUNT(DISTINCT a.link_to_member) AS student_count + FROM event AS e + LEFT JOIN attendance AS a ON a.link_to_event = e.event_id + WHERE e.event_date >= '2019-09-01' + AND e.event_date < '2019-12-01' + GROUP BY e.event_id, e.event_name +), comparison AS ( + SELECT MAX(CASE WHEN event_name = 'Women''s Soccer' THEN student_count END) AS womens_soccer_attendance, + ROUND(AVG(student_count), 1) AS fall_2019_average_attendance + FROM fall_event_counts +) +SELECT womens_soccer_attendance, + fall_2019_average_attendance, + CASE + WHEN womens_soccer_attendance > fall_2019_average_attendance THEN 'more' + WHEN womens_soccer_attendance < fall_2019_average_attendance THEN 'fewer' + WHEN womens_soccer_attendance = fall_2019_average_attendance THEN 'equal' + END AS verdict +FROM comparison; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird303.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird303.sql new file mode 100644 index 00000000..22041326 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird303.sql @@ -0,0 +1,22 @@ +WITH college_departments AS ( + SELECT DISTINCT department + FROM major + WHERE college = 'College of Humanities and Social Sciences' +), member_counts AS ( + SELECT link_to_major, COUNT(*) AS member_count + FROM member + GROUP BY link_to_major +), department_majors AS ( + SELECT m.department, m.major_name, COALESCE(mc.member_count, 0) AS member_count + FROM major AS m + JOIN college_departments AS d ON d.department = m.department + LEFT JOIN member_counts AS mc ON mc.link_to_major = m.major_id + ORDER BY m.department, m.major_name, m.major_id +) +SELECT department, + GROUP_CONCAT(major_name, ', ') AS majors_offered, + GROUP_CONCAT(major_name, ', ') FILTER (WHERE member_count > 0) AS majors_held_by_members, + ROUND(AVG(member_count), 2) AS avg_members_per_major +FROM department_majors +GROUP BY department +ORDER BY department; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird304.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird304.sql new file mode 100644 index 00000000..24f2cfe9 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird304.sql @@ -0,0 +1,24 @@ +WITH events_2019 AS ( + SELECT event_id, type AS event_type + FROM event + WHERE event_date >= '2019-01-01' + AND event_date < '2020-01-01' +), +attendance_by_type AS ( + SELECT e.event_type, COUNT(DISTINCT a.link_to_member) AS members_attended + FROM events_2019 AS e + JOIN attendance AS a ON a.link_to_event = e.event_id + GROUP BY e.event_type +), +budget_by_type AS ( + SELECT e.event_type, COALESCE(SUM(b.amount), 0) AS budgeted_dollars + FROM events_2019 AS e + LEFT JOIN budget AS b ON b.link_to_event = e.event_id + GROUP BY e.event_type +) +SELECT b.event_type, + COALESCE(a.members_attended, 0) AS members_attended, + b.budgeted_dollars +FROM budget_by_type AS b +LEFT JOIN attendance_by_type AS a ON a.event_type IS b.event_type +ORDER BY b.event_type; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird305.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird305.sql new file mode 100644 index 00000000..fa7d9372 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird305.sql @@ -0,0 +1,21 @@ +SELECT mj.department, COALESCE(SUM(i.amount), 0) AS total_dues +FROM major AS mj +LEFT JOIN member AS m + ON m.link_to_major = mj.major_id + AND m.position = 'Member' + AND EXISTS ( + SELECT 1 + FROM attendance AS a + JOIN event AS e ON e.event_id = a.link_to_event + WHERE a.link_to_member = m.member_id + ) +LEFT JOIN income AS i + ON i.link_to_member = m.member_id + AND i.source = 'Dues' +WHERE mj.college IN ( + SELECT college + FROM major + WHERE department = 'Electrical and Computer Engineering Department' +) +GROUP BY mj.department +ORDER BY mj.department; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird306.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird306.sql new file mode 100644 index 00000000..da6e3982 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird306.sql @@ -0,0 +1,13 @@ +WITH qualifying_member_budgets AS ( + SELECT DISTINCT link_to_member, link_to_budget + FROM expense + WHERE cost > 50 +) +SELECT m.first_name, + m.last_name, + ROUND(SUM(b.amount - b.spent), 2) AS total_amount_left +FROM qualifying_member_budgets AS q +JOIN member AS m ON m.member_id = q.link_to_member +JOIN budget AS b ON b.budget_id = q.link_to_budget +GROUP BY m.member_id, m.first_name, m.last_name +ORDER BY total_amount_left DESC, m.last_name ASC, m.first_name ASC; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird307.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird307.sql new file mode 100644 index 00000000..35e59597 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird307.sql @@ -0,0 +1,10 @@ +SELECT SUM(i.amount) AS total_dues_dollars +FROM income AS i +WHERE i.source = 'Dues' + AND EXISTS ( + SELECT 1 + FROM attendance AS a + JOIN event AS e ON e.event_id = a.link_to_event + WHERE a.link_to_member = i.link_to_member + AND e.event_name = 'Football game' + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird308.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird308.sql new file mode 100644 index 00000000..72da9d55 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird308.sql @@ -0,0 +1,15 @@ +WITH tyler_college AS ( + SELECT mj.college + FROM member AS m + JOIN major AS mj ON mj.major_id = m.link_to_major + WHERE m.first_name = 'Tyler' AND m.last_name = 'Hewitt' +), majors_without_members AS ( + SELECT mj.major_name + FROM major AS mj + LEFT JOIN member AS m ON m.link_to_major = mj.major_id + WHERE mj.college IN (SELECT college FROM tyler_college) + GROUP BY mj.major_name + HAVING COUNT(m.link_to_major) = 0 +) +SELECT COUNT(*) AS majors_without_enrolled_members +FROM majors_without_members; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird309.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird309.sql new file mode 100644 index 00000000..0584b7d9 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird309.sql @@ -0,0 +1,14 @@ +WITH event_attendance AS ( + SELECT e.event_id, COUNT(DISTINCT a.link_to_member) AS member_count + FROM event AS e + LEFT JOIN attendance AS a ON a.link_to_event = e.event_id + WHERE EXISTS ( + SELECT 1 + FROM budget AS b + WHERE b.link_to_event = e.event_id + AND b.category = 'Advertisement' + ) + GROUP BY e.event_id +) +SELECT ROUND(AVG(member_count), 2) AS average_members_attended +FROM event_attendance; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird310.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird310.sql new file mode 100644 index 00000000..72c29cd7 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird310.sql @@ -0,0 +1,8 @@ +SELECT + e.event_name, + e.location, + COUNT(DISTINCT a.link_to_member) AS members_attended +FROM event AS e +LEFT JOIN attendance AS a ON a.link_to_event = e.event_id +WHERE e.type = 'Budget' +GROUP BY e.event_id, e.event_name, e.location; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird311.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird311.sql new file mode 100644 index 00000000..e7d0c33e --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird311.sql @@ -0,0 +1,13 @@ +WITH major_counts AS ( + SELECT mj.major_name, COUNT(DISTINCT m.member_id) AS attendee_count + FROM attendance AS a + JOIN event AS e ON e.event_id = a.link_to_event + JOIN member AS m ON m.member_id = a.link_to_member + JOIN major AS mj ON mj.major_id = m.link_to_major + WHERE e.event_name = 'Football game' + GROUP BY mj.major_id, mj.major_name +) +SELECT major_name, attendee_count +FROM major_counts +WHERE attendee_count = (SELECT MAX(attendee_count) FROM major_counts) +ORDER BY major_name ASC; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird312.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird312.sql new file mode 100644 index 00000000..f2c20f15 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird312.sql @@ -0,0 +1,6 @@ +SELECT ROUND(100.0 * COUNT(CASE WHEN NOT EXISTS ( + SELECT 1 + FROM member AS m + WHERE m.link_to_major = a.major_id +) THEN 1 END) / COUNT(*), 2) AS percentage +FROM major AS a; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird313.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird313.sql new file mode 100644 index 00000000..ba31ba88 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird313.sql @@ -0,0 +1,15 @@ +WITH member_attendance AS ( + SELECT + m.member_id, + CASE WHEN m.position IN ('President', 'Vice President', 'Secretary', 'Treasurer') + THEN 1 ELSE 0 END AS is_officer, + COUNT(DISTINCT e.event_id) AS events_attended + FROM member AS m + LEFT JOIN attendance AS a ON a.link_to_member = m.member_id + LEFT JOIN event AS e ON e.event_id = a.link_to_event + GROUP BY m.member_id, m.position +) +SELECT + ROUND(AVG(CASE WHEN is_officer = 1 THEN events_attended END), 2) AS avg_events_per_officer, + ROUND(AVG(CASE WHEN is_officer = 0 THEN events_attended END), 2) AS avg_events_per_other_student +FROM member_attendance; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird314.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird314.sql new file mode 100644 index 00000000..f5d01eb4 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird314.sql @@ -0,0 +1,21 @@ +WITH RECURSIVE over_budget_events AS ( + SELECT DISTINCT link_to_event + FROM budget + WHERE amount - spent < 0 +), purchase_items(rest, item) AS ( + SELECT x.expense_description || ',', NULL + FROM over_budget_events AS e + JOIN budget AS b ON b.link_to_event = e.link_to_event + JOIN expense AS x ON x.link_to_budget = b.budget_id + WHERE x.expense_description IS NOT NULL + + UNION ALL + + SELECT substr(rest, instr(rest, ',') + 1), + lower(trim(substr(rest, 1, instr(rest, ',') - 1))) + FROM purchase_items + WHERE rest <> '' +) +SELECT COUNT(DISTINCT item) AS item_kind_count +FROM purchase_items +WHERE item <> ''; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird315.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird315.sql new file mode 100644 index 00000000..43088b49 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird315.sql @@ -0,0 +1,20 @@ +WITH attendee_counts AS ( + SELECT link_to_event AS event_id, + COUNT(DISTINCT link_to_member) AS attendee_count + FROM attendance + GROUP BY link_to_event + HAVING COUNT(DISTINCT link_to_member) > 0 +), water_spending AS ( + SELECT b.link_to_event AS event_id, + SUM(x.cost) AS water_cost + FROM expense AS x + JOIN budget AS b ON b.budget_id = x.link_to_budget + WHERE LOWER(x.expense_description) LIKE '%water%' + GROUP BY b.link_to_event +) +SELECT e.event_name, + ROUND(1.0 * COALESCE(w.water_cost, 0.00) / a.attendee_count, 2) AS water_cost_per_attendee +FROM event AS e +JOIN attendee_counts AS a ON a.event_id = e.event_id +LEFT JOIN water_spending AS w ON w.event_id = e.event_id +ORDER BY e.event_name, e.event_id; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird316.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird316.sql new file mode 100644 index 00000000..dae3c0c1 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird316.sql @@ -0,0 +1,16 @@ +WITH college_departments AS ( + SELECT DISTINCT department + FROM major + WHERE college = 'College of Humanities and Social Sciences' +), roster AS ( + SELECT EXISTS ( + SELECT 1 + FROM major AS j + JOIN college_departments AS d ON d.department = j.department + WHERE j.major_id = m.link_to_major + ) AS in_college + FROM member AS m +) +SELECT COUNT(CASE WHEN in_college = 1 THEN 1 END) AS members_in_college, + COUNT(CASE WHEN in_college = 0 THEN 1 END) AS members_not_in_college +FROM roster; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird317.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird317.sql new file mode 100644 index 00000000..5524a6e2 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird317.sql @@ -0,0 +1,17 @@ +WITH chip_events AS ( + SELECT DISTINCT b.link_to_event AS event_id + FROM expense AS x + JOIN budget AS b ON b.budget_id = x.link_to_budget + WHERE LOWER(x.expense_description) LIKE '%chips%' + AND x.cost > 0 +), event_maxima AS ( + SELECT e.event_id, e.event_name, MAX(b.amount) AS largest_line + FROM event AS e + JOIN chip_events AS c ON c.event_id = e.event_id + JOIN budget AS b ON b.link_to_event = e.event_id + GROUP BY e.event_id, e.event_name +) +SELECT event_name +FROM event_maxima +WHERE largest_line = (SELECT MAX(largest_line) FROM event_maxima) +ORDER BY event_name; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird318.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird318.sql new file mode 100644 index 00000000..5e102dea --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird318.sql @@ -0,0 +1,10 @@ +WITH latest_vp_expense AS ( + SELECT MAX(e.expense_date) AS expense_date + FROM expense AS e + JOIN member AS m ON m.member_id = e.link_to_member + WHERE m.position = 'Vice President' +) +SELECT e.expense_date, SUM(e.cost) AS total_cost +FROM expense AS e +JOIN latest_vp_expense AS v ON e.expense_date = v.expense_date +GROUP BY e.expense_date; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird319.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird319.sql new file mode 100644 index 00000000..349ba904 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird319.sql @@ -0,0 +1,8 @@ +SELECT e.type AS event_category, + COUNT(DISTINCT m.member_id) AS member_count +FROM event AS e +LEFT JOIN attendance AS a ON a.link_to_event = e.event_id +LEFT JOIN member AS m ON m.member_id = a.link_to_member +WHERE e.location = 'MU 215' +GROUP BY e.type +ORDER BY e.type; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird320.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird320.sql new file mode 100644 index 00000000..637caeb9 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird320.sql @@ -0,0 +1,10 @@ +WITH college_counts AS ( + SELECT ma.college, COUNT(*) AS number_of_majors + FROM member AS m + JOIN major AS ma ON ma.major_id = m.link_to_major + GROUP BY ma.college +) +SELECT college, number_of_majors +FROM college_counts +WHERE number_of_majors = (SELECT MAX(number_of_majors) FROM college_counts) +ORDER BY college; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird321.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird321.sql new file mode 100644 index 00000000..2f876f70 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird321.sql @@ -0,0 +1,12 @@ +SELECT e.location, + COUNT(DISTINCT x.expense_description) AS distinct_things_bought +FROM event AS e +LEFT JOIN budget AS b ON b.link_to_event = e.event_id +LEFT JOIN expense AS x ON x.link_to_budget = b.budget_id +WHERE EXISTS ( + SELECT 1 + FROM budget AS qualifying_budget + WHERE qualifying_budget.link_to_event = e.event_id + AND qualifying_budget.amount > 40 +) +GROUP BY e.location; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird322.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird322.sql new file mode 100644 index 00000000..167e4471 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird322.sql @@ -0,0 +1,12 @@ +SELECT SUM(b.amount) AS total_budgeted +FROM event AS e +JOIN budget AS b ON b.link_to_event = e.event_id +WHERE e.event_date >= '2019-09-01' + AND e.event_date < '2019-10-01' + AND EXISTS ( + SELECT 1 + FROM budget AS pizza_budget + JOIN expense AS x ON x.link_to_budget = pizza_budget.budget_id + WHERE pizza_budget.link_to_event = e.event_id + AND x.expense_description = 'Pizza' + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird323.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird323.sql new file mode 100644 index 00000000..629becd7 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird323.sql @@ -0,0 +1,8 @@ +WITH event_totals AS ( + SELECT e.event_id, COALESCE(SUM(b.spent), 0.0) AS total_spent + FROM event AS e + LEFT JOIN budget AS b ON b.link_to_event = e.event_id + GROUP BY e.event_id +) +SELECT ROUND(AVG(total_spent), 2) AS average_spent_per_event_dollars +FROM event_totals; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird324.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird324.sql new file mode 100644 index 00000000..573c27ff --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird324.sql @@ -0,0 +1,25 @@ +WITH budget_totals AS ( + SELECT link_to_event AS event_id, + SUM(amount) AS total_budget, + SUM(spent) AS total_spent + FROM budget + GROUP BY link_to_event +), purchase_totals AS ( + SELECT b.link_to_event AS event_id, + SUM(CASE + WHEN NULLIF(TRIM(x.expense_description), '') IS NULL THEN 0 + ELSE 1 + LENGTH(x.expense_description) + - LENGTH(REPLACE(x.expense_description, ',', '')) + END) AS purchase_count + FROM expense AS x + JOIN budget AS b ON b.budget_id = x.link_to_budget + GROUP BY b.link_to_event +) +SELECT e.event_name +FROM event AS e +LEFT JOIN budget_totals AS bt ON bt.event_id = e.event_id +LEFT JOIN purchase_totals AS pt ON pt.event_id = e.event_id +WHERE e.status = 'Closed' + AND COALESCE(bt.total_spent, 0) <= COALESCE(bt.total_budget, 0) +ORDER BY COALESCE(pt.purchase_count, 0) DESC, e.event_id ASC +LIMIT 1; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird325.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird325.sql new file mode 100644 index 00000000..69f11b63 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird325.sql @@ -0,0 +1,13 @@ +WITH members_by_type AS ( + SELECT e.type AS event_type, + COUNT(DISTINCT a.link_to_member) AS member_count + FROM event AS e + LEFT JOIN attendance AS a ON a.link_to_event = e.event_id + WHERE e.event_date >= '2019-09-01' + AND e.event_date < '2020-06-01' + GROUP BY e.type +) +SELECT event_type, member_count +FROM members_by_type +WHERE member_count = (SELECT MAX(member_count) FROM members_by_type) +ORDER BY event_type; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird326.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird326.sql new file mode 100644 index 00000000..3f62f0a9 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird326.sql @@ -0,0 +1,22 @@ +WITH RECURSIVE items(expense_id, item, rest) AS ( + SELECT e.expense_id, '', REPLACE(e.expense_description, 'Bakery - ', '') || ',' + FROM expense AS e + WHERE EXISTS ( + SELECT 1 + FROM budget AS b + WHERE b.budget_id = e.link_to_budget + AND b.category = 'Food' + ) + UNION ALL + SELECT expense_id, + TRIM(SUBSTR(rest, 1, INSTR(rest, ',') - 1)), + SUBSTR(rest, INSTR(rest, ',') + 1) + FROM items + WHERE rest <> '' +) +SELECT MIN(item) AS item_name, COUNT(DISTINCT expense_id) AS record_count +FROM items +WHERE item <> '' AND item COLLATE NOCASE <> 'supplies' +GROUP BY item COLLATE NOCASE +ORDER BY record_count DESC, item_name COLLATE NOCASE ASC +LIMIT 1; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird327.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird327.sql new file mode 100644 index 00000000..5d53c5ac --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird327.sql @@ -0,0 +1,24 @@ +WITH RECURSIVE purchase_items(expense_id, category, cost, item_name, rest) AS ( + SELECT ex.expense_id, b.category, ex.cost, '', ex.expense_description || ',' + FROM expense AS ex + JOIN budget AS b ON b.budget_id = ex.link_to_budget + JOIN event AS ev ON ev.event_id = b.link_to_event + WHERE ev.event_name = 'October Meeting' + AND ex.approved = 'true' + + UNION ALL + + SELECT expense_id, category, cost, + TRIM(SUBSTR(rest, 1, INSTR(rest, ',') - 1)), + SUBSTR(rest, INSTR(rest, ',') + 1) + FROM purchase_items + WHERE rest <> '' +), distinct_purchase_items AS ( + SELECT DISTINCT expense_id, category, cost, item_name + FROM purchase_items + WHERE item_name <> '' +) +SELECT item_name, category, SUM(cost) AS total_cost +FROM distinct_purchase_items +GROUP BY category, item_name +ORDER BY category, item_name; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird328.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird328.sql new file mode 100644 index 00000000..6adae3ae --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird328.sql @@ -0,0 +1,15 @@ +SELECT + e.event_name, + e.event_date, + ( + SELECT SUM(b.amount) + FROM budget AS b + WHERE b.link_to_event = e.event_id + ) AS total_budgeted, + ( + SELECT COUNT(DISTINCT a.link_to_member) + FROM attendance AS a + WHERE a.link_to_event = e.event_id + ) AS member_attendance_count +FROM event AS e +ORDER BY e.event_name ASC, e.event_date ASC; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird329.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird329.sql new file mode 100644 index 00000000..8faf36c6 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird329.sql @@ -0,0 +1,23 @@ +WITH RECURSIVE expense_items(expense_id, item_name, remaining) AS ( + SELECT e.expense_id, '', + CASE WHEN e.expense_description LIKE 'Bakery - %' + THEN substr(e.expense_description, length('Bakery - ') + 1) + ELSE e.expense_description + END || ',' + FROM expense AS e + JOIN member AS m ON m.member_id = e.link_to_member + WHERE m.first_name = 'Sacha' AND m.last_name = 'Harrison' + + UNION ALL + + SELECT expense_id, + trim(substr(remaining, 1, instr(remaining, ',') - 1)), + substr(remaining, instr(remaining, ',') + 1) + FROM expense_items + WHERE remaining <> '' +) +SELECT item_name, COUNT(DISTINCT expense_id) AS purchase_count +FROM expense_items +WHERE item_name <> '' +GROUP BY item_name +ORDER BY item_name COLLATE NOCASE; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird330.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird330.sql new file mode 100644 index 00000000..61e20254 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird330.sql @@ -0,0 +1,40 @@ +WITH RECURSIVE +period_expenses AS ( + SELECT link_to_member AS member_id, expense_description, cost + FROM expense + WHERE expense_date >= '2019-10-01' + AND expense_date < '2019-12-01' +), +item_parts(member_id, item, rest) AS ( + SELECT member_id, NULL, expense_description || ',' + FROM period_expenses + UNION ALL + SELECT member_id, + SUBSTR(rest, 1, INSTR(rest, ',') - 1), + SUBSTR(rest, INSTR(rest, ',') + 1) + FROM item_parts + WHERE rest <> '' +), +item_counts AS ( + SELECT member_id, COUNT(DISTINCT NULLIF(LOWER(TRIM(item)), '')) AS kind_count + FROM item_parts + GROUP BY member_id +), +spending AS ( + SELECT member_id, ROUND(SUM(cost), 2) AS total_spending_dollars + FROM period_expenses + GROUP BY member_id +), +ranked AS ( + SELECT m.first_name || ' ' || m.last_name AS full_name, + i.kind_count, + s.total_spending_dollars, + RANK() OVER (ORDER BY i.kind_count DESC) AS kind_rank + FROM member AS m + JOIN item_counts AS i ON i.member_id = m.member_id + JOIN spending AS s ON s.member_id = m.member_id +) +SELECT full_name, kind_count, total_spending_dollars +FROM ranked +WHERE kind_rank = 1 +ORDER BY full_name; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird331.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird331.sql new file mode 100644 index 00000000..e2aa0e6b --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird331.sql @@ -0,0 +1,4 @@ +SELECT COUNT(DISTINCT j.major_id) AS major_count +FROM member AS m +JOIN major AS j ON j.major_id = m.link_to_major +WHERE j.department = 'Political Science Department'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird332.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird332.sql new file mode 100644 index 00000000..1c0d5a76 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird332.sql @@ -0,0 +1,13 @@ +WITH eye_colour_counts AS ( + SELECT c.colour AS eye_colour, COUNT(*) AS hero_count + FROM superhero AS s + JOIN publisher AS p ON p.id = s.publisher_id + JOIN colour AS c ON c.id = s.eye_colour_id + WHERE p.publisher_name = 'Marvel Comics' + AND c.colour <> 'No Colour' + GROUP BY c.colour +) +SELECT eye_colour, hero_count, + RANK() OVER (ORDER BY hero_count DESC) AS rank +FROM eye_colour_counts +ORDER BY hero_count DESC, eye_colour ASC; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird333.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird333.sql new file mode 100644 index 00000000..181109c0 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird333.sql @@ -0,0 +1,11 @@ +SELECT h.superhero_name +FROM superhero AS h +JOIN publisher AS p ON p.id = h.publisher_id +WHERE p.publisher_name = 'Marvel Comics' + AND EXISTS ( + SELECT 1 + FROM hero_power AS hp + JOIN superpower AS sp ON sp.id = hp.power_id + WHERE hp.hero_id = h.id + AND sp.power_name = 'Super Strength' + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird334.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird334.sql new file mode 100644 index 00000000..1f114613 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird334.sql @@ -0,0 +1,14 @@ +SELECT + ROUND( + 100.0 * COUNT(CASE WHEN a.alignment = 'Neutral' COLLATE NOCASE THEN 1 END) + / NULLIF(COUNT(*), 0), + 2 + ) AS neutral_percentage, + COUNT(CASE + WHEN a.alignment = 'Neutral' COLLATE NOCASE + AND p.publisher_name = 'Marvel Comics' COLLATE NOCASE + THEN 1 + END) AS neutral_marvel_count +FROM superhero AS s +LEFT JOIN alignment AS a ON a.id = s.alignment_id +LEFT JOIN publisher AS p ON p.id = s.publisher_id; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird335.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird335.sql new file mode 100644 index 00000000..73762111 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird335.sql @@ -0,0 +1,15 @@ +WITH publisher_counts AS ( + SELECT p.publisher_name, COUNT(s.id) AS superhero_count + FROM publisher AS p + LEFT JOIN superhero AS s ON s.publisher_id = p.id + WHERE p.publisher_name IN ('Marvel Comics', 'DC Comics') + GROUP BY p.publisher_name +), comparison AS ( + SELECT publisher_name, superhero_count, + MAX(superhero_count) OVER () AS highest_count, + MIN(superhero_count) OVER () AS lowest_count + FROM publisher_counts +) +SELECT publisher_name, highest_count - lowest_count AS difference +FROM comparison +WHERE superhero_count = highest_count; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird336.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird336.sql new file mode 100644 index 00000000..e87f0893 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird336.sql @@ -0,0 +1,5 @@ +SELECT s.superhero_name +FROM superhero AS s +JOIN colour AS c ON c.id = s.eye_colour_id +WHERE s.height_cm BETWEEN 170 AND 190 + AND c.colour = 'No Colour'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird337.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird337.sql new file mode 100644 index 00000000..77d8514d --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird337.sql @@ -0,0 +1,8 @@ +SELECT ROUND(100.0 * AVG(CASE WHEN EXISTS ( + SELECT 1 + FROM publisher AS p + WHERE p.id = s.publisher_id + AND p.publisher_name = 'Marvel Comics' +) THEN 1 ELSE 0 END), 2) AS marvel_percentage +FROM superhero AS s +WHERE s.height_cm BETWEEN 150 AND 180; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird338.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird338.sql new file mode 100644 index 00000000..5409009d --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird338.sql @@ -0,0 +1,12 @@ +WITH strength_scores AS ( + SELECT ha.hero_id, ha.attribute_value + FROM hero_attribute AS ha + JOIN attribute AS a ON a.id = ha.attribute_id + WHERE a.attribute_name = 'Strength' +) +SELECT DISTINCT s.full_name +FROM superhero AS s +JOIN strength_scores AS ss ON ss.hero_id = s.id +WHERE ss.attribute_value = (SELECT MAX(attribute_value) FROM strength_scores) + AND TRIM(s.full_name) NOT IN ('', '-') +ORDER BY s.full_name; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird339.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird339.sql new file mode 100644 index 00000000..033d6313 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird339.sql @@ -0,0 +1,8 @@ +SELECT s.superhero_name, p.publisher_name +FROM superhero AS s +JOIN colour AS c ON c.id = s.eye_colour_id +LEFT JOIN publisher AS p ON p.id = s.publisher_id +WHERE s.eye_colour_id = s.hair_colour_id + AND s.eye_colour_id = s.skin_colour_id + AND c.colour <> 'No Colour' +ORDER BY s.superhero_name, p.publisher_name; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird340.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird340.sql new file mode 100644 index 00000000..aaf75828 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird340.sql @@ -0,0 +1,5 @@ +SELECT ROUND(100.0 * COUNT(CASE WHEN c.colour = 'Blue' THEN 1 END) / COUNT(*), 2) AS percentage +FROM superhero AS s +JOIN gender AS g ON g.id = s.gender_id +LEFT JOIN colour AS c ON c.id = s.skin_colour_id +WHERE g.gender = 'Female'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird341.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird341.sql new file mode 100644 index 00000000..f556dfae --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird341.sql @@ -0,0 +1,5 @@ +SELECT ROUND(100.0 * COUNT(CASE WHEN p.publisher_name = 'Marvel Comics' THEN 1 END) / NULLIF(COUNT(*), 0), 2) AS percentage +FROM superhero AS s +JOIN gender AS g ON g.id = s.gender_id +LEFT JOIN publisher AS p ON p.id = s.publisher_id +WHERE g.gender = 'Female'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird342.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird342.sql new file mode 100644 index 00000000..71eea8b1 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird342.sql @@ -0,0 +1,14 @@ +WITH publisher_counts AS ( + SELECT COUNT(CASE WHEN p.publisher_name = 'DC Comics' THEN 1 END) AS dc_count, + COUNT(CASE WHEN p.publisher_name = 'Marvel Comics' THEN 1 END) AS marvel_count + FROM superhero AS s + JOIN publisher AS p ON p.id = s.publisher_id + WHERE p.publisher_name IN ('DC Comics', 'Marvel Comics') +) +SELECT CASE + WHEN dc_count > marvel_count THEN 'DC Comics' + WHEN marvel_count > dc_count THEN 'Marvel Comics' + ELSE 'Tie' + END AS publisher, + ABS(dc_count - marvel_count) AS count_difference +FROM publisher_counts; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird343.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird343.sql new file mode 100644 index 00000000..56f0e740 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird343.sql @@ -0,0 +1,19 @@ +SELECT AVG(m.height_cm) AS average_height_cm +FROM superhero AS m +JOIN publisher AS mp ON mp.id = m.publisher_id +WHERE mp.publisher_name = 'Marvel Comics' + AND m.height_cm > 0 + AND EXISTS ( + SELECT 1 + FROM hero_power AS mhp + JOIN superpower AS sp ON sp.id = mhp.power_id + WHERE mhp.hero_id = m.id + AND NOT EXISTS ( + SELECT 1 + FROM hero_power AS dhp + JOIN superhero AS d ON d.id = dhp.hero_id + JOIN publisher AS dp ON dp.id = d.publisher_id + WHERE dp.publisher_name = 'DC Comics' + AND dhp.power_id = sp.id + ) + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird344.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird344.sql new file mode 100644 index 00000000..3e614c48 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird344.sql @@ -0,0 +1,24 @@ +WITH hero_powers AS ( + SELECT h.id AS hero_id, hp.power_id + FROM superhero AS h + JOIN hero_power AS hp ON hp.hero_id = h.id +), strength_heroes AS ( + SELECT DISTINCT hp.hero_id + FROM hero_powers AS hp + JOIN superpower AS p ON p.id = hp.power_id + WHERE p.power_name = 'Super Strength' +) +SELECT COUNT(*) AS power_count +FROM superpower AS p +WHERE EXISTS ( + SELECT 1 + FROM hero_powers AS hp + JOIN strength_heroes AS sh ON sh.hero_id = hp.hero_id + WHERE hp.power_id = p.id +) +AND NOT EXISTS ( + SELECT 1 + FROM hero_powers AS hp + LEFT JOIN strength_heroes AS sh ON sh.hero_id = hp.hero_id + WHERE hp.power_id = p.id AND sh.hero_id IS NULL +); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird345.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird345.sql new file mode 100644 index 00000000..ed2062d2 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird345.sql @@ -0,0 +1,5 @@ +SELECT ROUND(AVG(s.weight_kg), 1) AS average_weight_kg +FROM superhero AS s +JOIN colour AS c ON c.id = s.skin_colour_id +WHERE LOWER(c.colour) = 'green' + AND s.weight_kg > 0; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird346.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird346.sql new file mode 100644 index 00000000..fa235027 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird346.sql @@ -0,0 +1,4 @@ +SELECT COUNT(*) AS superhero_count +FROM superhero AS s +JOIN alignment AS a ON a.id = s.alignment_id +WHERE a.alignment NOT IN ('Good', 'Bad'); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird347.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird347.sql new file mode 100644 index 00000000..4fcb11cf --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird347.sql @@ -0,0 +1,15 @@ +WITH power_counts AS ( + SELECT sp.power_name, COUNT(DISTINCT h.id) AS hero_count + FROM superhero AS h + JOIN publisher AS p ON p.id = h.publisher_id + JOIN hero_power AS hp ON hp.hero_id = h.id + JOIN superpower AS sp ON sp.id = hp.power_id + WHERE p.publisher_name = 'Marvel Comics' + AND h.full_name IS NOT NULL + AND TRIM(h.full_name) NOT IN ('', '-') + GROUP BY sp.id, sp.power_name +) +SELECT power_name, hero_count +FROM power_counts +WHERE hero_count = (SELECT MAX(hero_count) FROM power_counts) +ORDER BY power_name; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird348.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird348.sql new file mode 100644 index 00000000..784a95b0 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird348.sql @@ -0,0 +1,19 @@ +WITH intelligence_scores AS ( + SELECT ha.hero_id, ha.attribute_value + FROM hero_attribute AS ha + JOIN attribute AS a ON a.id = ha.attribute_id + WHERE a.attribute_name = 'Intelligence' +), abomination_scores AS ( + SELECT i.attribute_value + FROM intelligence_scores AS i + JOIN superhero AS s ON s.id = i.hero_id + WHERE s.superhero_name = 'Abomination' +) +SELECT ROUND(AVG(s.weight_kg), 2) AS average_weight_kg +FROM superhero AS s +WHERE s.weight_kg > 0 + AND s.id IN ( + SELECT i.hero_id + FROM intelligence_scores AS i + WHERE i.attribute_value IN (SELECT attribute_value FROM abomination_scores) + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird349.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird349.sql new file mode 100644 index 00000000..8c07bbeb --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird349.sql @@ -0,0 +1,15 @@ +WITH qualified_heroes AS ( + SELECT h.id, h.gender_id + FROM superhero AS h + JOIN colour AS c ON c.id = h.hair_colour_id + JOIN hero_power AS hp ON hp.hero_id = h.id + WHERE LOWER(c.colour) = 'blue' + GROUP BY h.id, h.gender_id + HAVING COUNT(DISTINCT hp.power_id) >= 10 +) +SELECT g.gender, COUNT(q.id) AS superhero_count +FROM gender AS g +LEFT JOIN qualified_heroes AS q ON q.gender_id = g.id +WHERE LOWER(g.gender) IN ('male', 'female') +GROUP BY g.gender +ORDER BY g.gender; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird350.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird350.sql new file mode 100644 index 00000000..fecc05ff --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird350.sql @@ -0,0 +1,19 @@ +WITH hulk_strength AS ( + SELECT ha.attribute_value + FROM superhero AS h + JOIN hero_attribute AS ha ON ha.hero_id = h.id + JOIN attribute AS a ON a.id = ha.attribute_id + WHERE h.superhero_name = 'Hulk' + AND a.attribute_name = 'Strength' +) +SELECT CAST(ROUND(AVG(s.weight_kg)) AS INTEGER) AS average_weight_kg +FROM superhero AS s +WHERE s.weight_kg > 0 + AND EXISTS ( + SELECT 1 + FROM hero_attribute AS ha + JOIN attribute AS a ON a.id = ha.attribute_id + WHERE ha.hero_id = s.id + AND a.attribute_name = 'Strength' + AND ha.attribute_value IN (SELECT attribute_value FROM hulk_strength) + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird351.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird351.sql new file mode 100644 index 00000000..d7514d73 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird351.sql @@ -0,0 +1,9 @@ +WITH ranked_heroes AS ( + SELECT id, RANK() OVER (ORDER BY height_cm DESC) AS height_rank + FROM superhero +) +SELECT COUNT(DISTINCT sp.power_name) AS distinct_superpower_count +FROM ranked_heroes AS rh +LEFT JOIN hero_power AS hp ON hp.hero_id = rh.id +LEFT JOIN superpower AS sp ON sp.id = hp.power_id +WHERE rh.height_rank <= 10; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird352.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird352.sql new file mode 100644 index 00000000..44366680 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird352.sql @@ -0,0 +1,9 @@ +SELECT COUNT(*) AS character_count +FROM superhero AS s +LEFT JOIN race AS r ON r.id = s.race_id +WHERE s.publisher_id IN ( + SELECT publisher_id + FROM superhero + WHERE superhero_name = 'A-Bomb' +) +AND (r.race IS NULL OR r.race = '-'); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird353.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird353.sql new file mode 100644 index 00000000..d3a30a30 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird353.sql @@ -0,0 +1,11 @@ +WITH powers_per_hero AS ( + SELECT h.id, COUNT(DISTINCT hp.power_id) AS power_count + FROM superhero AS h + JOIN race AS r ON r.id = h.race_id + JOIN gender AS g ON g.id = h.gender_id + LEFT JOIN hero_power AS hp ON hp.hero_id = h.id + WHERE r.race = 'God / Eternal' AND g.gender = 'Male' + GROUP BY h.id +) +SELECT ROUND(AVG(power_count), 2) AS average_superpowers +FROM powers_per_hero; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird354.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird354.sql new file mode 100644 index 00000000..1bf0a76d --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird354.sql @@ -0,0 +1,22 @@ +WITH cryokinesis_holder_powers AS ( + SELECT DISTINCT hp.power_id + FROM hero_power AS hp + WHERE hp.hero_id IN ( + SELECT ch.hero_id + FROM hero_power AS ch + JOIN superpower AS sp ON sp.id = ch.power_id + WHERE sp.power_name = 'Cryokinesis' + ) +), matching_heroes AS ( + SELECT DISTINCT hp.hero_id + FROM hero_power AS hp + JOIN cryokinesis_holder_powers AS cp ON cp.power_id = hp.power_id +), hero_power_counts AS ( + SELECT hp.hero_id, COUNT(DISTINCT hp.power_id) AS power_count + FROM matching_heroes AS mh + JOIN superhero AS h ON h.id = mh.hero_id + JOIN hero_power AS hp ON hp.hero_id = h.id + GROUP BY hp.hero_id +) +SELECT ROUND(AVG(power_count), 1) AS average_superpowers +FROM hero_power_counts; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird355.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird355.sql new file mode 100644 index 00000000..658d027a --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird355.sql @@ -0,0 +1,12 @@ +SELECT CAST(ROUND(AVG(dc.weight_kg)) AS INTEGER) AS average_weight_kg +FROM superhero AS dc +JOIN publisher AS dp ON dp.id = dc.publisher_id +WHERE dp.publisher_name = 'DC Comics' + AND dc.weight_kg IS NOT NULL + AND EXISTS ( + SELECT 1 + FROM superhero AS marvel + JOIN publisher AS mp ON mp.id = marvel.publisher_id + WHERE mp.publisher_name = 'Marvel Comics' + AND marvel.eye_colour_id = dc.eye_colour_id + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird356.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird356.sql new file mode 100644 index 00000000..3f936a71 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird356.sql @@ -0,0 +1,8 @@ +SELECT ROUND(AVG(s.height_cm), 1) AS average_height_cm +FROM superhero AS s +WHERE s.race_id IN ( + SELECT race_id + FROM superhero + WHERE superhero_name = 'A-Bomb' +) +AND s.height_cm > 0; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird357.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird357.sql new file mode 100644 index 00000000..4434a659 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird357.sql @@ -0,0 +1,11 @@ +SELECT AVG(h.weight_kg) AS average_weight_kg +FROM superhero AS h +JOIN race AS r ON r.id = h.race_id +WHERE h.weight_kg IS NOT NULL + AND NOT EXISTS ( + SELECT 1 + FROM superhero AS f + JOIN gender AS g ON g.id = f.gender_id + WHERE f.race_id = r.id + AND g.gender = 'Female' + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird359.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird359.sql new file mode 100644 index 00000000..33661aca --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird359.sql @@ -0,0 +1,6 @@ +SELECT COUNT(*) AS total_count +FROM superhero AS s +JOIN alignment AS a ON a.id = s.alignment_id +JOIN publisher AS p ON p.id = s.publisher_id +WHERE a.alignment = 'Good' + AND p.publisher_name <> 'DC Comics'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird360.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird360.sql new file mode 100644 index 00000000..fc6361ea --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird360.sql @@ -0,0 +1,5 @@ +SELECT ROUND(AVG(s.weight_kg), 1) AS average_weight_kg, + COUNT(s.weight_kg) AS superhero_count +FROM superhero AS s +JOIN publisher AS p ON p.id = s.publisher_id +WHERE p.publisher_name = 'DC Comics'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird361.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird361.sql new file mode 100644 index 00000000..37b40fd7 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird361.sql @@ -0,0 +1,15 @@ +SELECT COUNT(*) AS hero_count +FROM superhero AS h +WHERE h.publisher_id IN ( + SELECT b.publisher_id + FROM superhero AS b + WHERE b.superhero_name = 'Blackwulf' +) +AND EXISTS ( + SELECT 1 + FROM superhero AS other + JOIN publisher AS p ON p.id = other.publisher_id + WHERE other.publisher_id <> h.publisher_id + AND NULLIF(TRIM(p.publisher_name), '') IS NOT NULL + AND other.eye_colour_id = h.eye_colour_id +); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird362.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird362.sql new file mode 100644 index 00000000..32ad282d --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird362.sql @@ -0,0 +1,16 @@ +WITH race_counts AS ( + SELECT r.race, COUNT(*) AS superhero_count + FROM superhero AS s + JOIN race AS r ON r.id = s.race_id + WHERE s.publisher_id IN ( + SELECT publisher_id + FROM superhero + WHERE full_name = 'Charles Chandler' + ) + AND TRIM(r.race) NOT IN ('', '-') + GROUP BY r.race +) +SELECT race, superhero_count +FROM race_counts +WHERE superhero_count = (SELECT MAX(superhero_count) FROM race_counts) +ORDER BY race; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird363.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird363.sql new file mode 100644 index 00000000..91a14d8a --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird363.sql @@ -0,0 +1,5 @@ +SELECT ROUND(AVG(s.weight_kg), 2) AS average_weight_kg +FROM superhero AS s +JOIN gender AS g ON g.id = s.gender_id +WHERE g.gender = 'Female' + AND s.weight_kg IS NOT NULL; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird364.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird364.sql new file mode 100644 index 00000000..520897db --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird364.sql @@ -0,0 +1,13 @@ +SELECT ROUND(AVG(ha.attribute_value), 1) AS average_intelligence +FROM superhero AS h +JOIN hero_attribute AS ha ON ha.hero_id = h.id +JOIN attribute AS a ON a.id = ha.attribute_id +WHERE LOWER(a.attribute_name) = 'intelligence' + AND ha.attribute_value IS NOT NULL + AND EXISTS ( + SELECT 1 + FROM hero_power AS hp + JOIN superpower AS sp ON sp.id = hp.power_id + WHERE hp.hero_id = h.id + AND LOWER(sp.power_name) IN ('super speed', 'death touch') + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird365.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird365.sql new file mode 100644 index 00000000..cc0b816d --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird365.sql @@ -0,0 +1,13 @@ +WITH power_counts AS ( + SELECT hero_id, COUNT(DISTINCT power_id) AS power_count + FROM hero_power + GROUP BY hero_id +) +SELECT g.gender, + ROUND(AVG(COALESCE(p.power_count, 0)), 2) AS average_superpowers +FROM superhero AS h +JOIN gender AS g ON g.id = h.gender_id +LEFT JOIN power_counts AS p ON p.hero_id = h.id +WHERE g.gender IN ('Male', 'Female') + AND INSTR(TRIM(h.full_name), ' ') > 0 +GROUP BY g.gender; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird366.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird366.sql new file mode 100644 index 00000000..394ec01c --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird366.sql @@ -0,0 +1,7 @@ +SELECT ROUND(AVG(NULLIF(s.height_cm, 0)), 2) AS average_height_cm, + ROUND(AVG(NULLIF(s.weight_kg, 0)), 2) AS average_weight_kg +FROM superhero AS s +JOIN alignment AS a ON a.id = s.alignment_id +JOIN colour AS c ON c.id = s.skin_colour_id +WHERE a.alignment = 'Bad' COLLATE NOCASE + AND c.colour = 'Green' COLLATE NOCASE; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird367.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird367.sql new file mode 100644 index 00000000..5d71944e --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird367.sql @@ -0,0 +1,6 @@ +SELECT + ROUND(AVG(CASE WHEN s.height_cm > 0 THEN s.height_cm END), 1) AS average_height_cm, + ROUND(AVG(CASE WHEN s.weight_kg > 0 THEN s.weight_kg END), 1) AS average_weight_kg +FROM superhero AS s +JOIN publisher AS p ON p.id = s.publisher_id +WHERE p.publisher_name = 'George Lucas'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird368.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird368.sql new file mode 100644 index 00000000..20026887 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird368.sql @@ -0,0 +1,12 @@ +SELECT ROUND(AVG(h.height_cm), 1) AS average_height_cm +FROM superhero AS h +WHERE h.height_cm > 0 + AND EXISTS ( + SELECT 1 + FROM hero_power AS hp + JOIN hero_power AS target_hp ON target_hp.power_id = hp.power_id + JOIN superhero AS target ON target.id = target_hp.hero_id + WHERE hp.hero_id = h.id + AND target.superhero_name = '3-D Man' + AND h.id <> target.id + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird369.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird369.sql new file mode 100644 index 00000000..d509a322 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird369.sql @@ -0,0 +1,14 @@ +SELECT CAST(ROUND(AVG(s.weight_kg)) AS INTEGER) AS average_weight_kg +FROM superhero AS s +JOIN alignment AS a ON a.id = s.alignment_id +JOIN colour AS c ON c.id = s.skin_colour_id +WHERE a.alignment = 'Bad' COLLATE NOCASE + AND c.colour = 'Green' COLLATE NOCASE + AND s.weight_kg > 0 + AND EXISTS ( + SELECT 1 + FROM hero_power AS hp + JOIN superpower AS p ON p.id = hp.power_id + WHERE hp.hero_id = s.id + AND p.power_name = 'Flight' COLLATE NOCASE + ) diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird370.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird370.sql new file mode 100644 index 00000000..1dc9e947 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird370.sql @@ -0,0 +1,11 @@ +SELECT ROUND(AVG(h.weight_kg), 2) AS average_weight_kg +FROM superhero AS h +JOIN publisher AS p ON p.id = h.publisher_id +WHERE p.publisher_name = 'George Lucas' + AND h.weight_kg IS NOT NULL + AND EXISTS ( + SELECT 1 + FROM hero_power AS hp + JOIN superpower AS sp ON sp.id = hp.power_id + WHERE hp.hero_id = h.id + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird371.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird371.sql new file mode 100644 index 00000000..7a3f7ed4 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird371.sql @@ -0,0 +1,7 @@ +SELECT ROUND(AVG(s.weight_kg), 2) AS average_weight_kg +FROM superhero AS s +JOIN gender AS g ON g.id = s.gender_id +JOIN alignment AS a ON a.id = s.alignment_id +WHERE g.gender = 'Female' + AND a.alignment = 'Good' + AND s.weight_kg IS NOT NULL; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird372.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird372.sql new file mode 100644 index 00000000..e560cccc --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird372.sql @@ -0,0 +1,8 @@ +SELECT COUNT(DISTINCT p.id) AS superpower_count +FROM superhero AS s +JOIN gender AS g ON g.id = s.gender_id +JOIN hero_power AS hp ON hp.hero_id = s.id +JOIN superpower AS p ON p.id = hp.power_id +WHERE g.gender = 'Male' + AND s.weight_kg > 0 + AND s.weight_kg < 70; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird373.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird373.sql new file mode 100644 index 00000000..b159d464 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird373.sql @@ -0,0 +1,8 @@ +SELECT c.colour +FROM superhero AS s +JOIN race AS r ON r.id = s.race_id +LEFT JOIN colour AS c ON c.id = s.hair_colour_id +WHERE r.race = 'Human' + AND s.height_cm > 0 +ORDER BY s.height_cm, s.id +LIMIT 1; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird374.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird374.sql new file mode 100644 index 00000000..e75bd96f --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird374.sql @@ -0,0 +1,13 @@ +WITH lightest_weight AS ( + SELECT MIN(NULLIF(weight_kg, 0)) AS weight_kg + FROM superhero +), hero_power_counts AS ( + SELECT h.id, COUNT(DISTINCT p.power_name) AS power_count + FROM superhero AS h + JOIN lightest_weight AS w ON h.weight_kg = w.weight_kg + LEFT JOIN hero_power AS hp ON hp.hero_id = h.id + LEFT JOIN superpower AS p ON p.id = hp.power_id + GROUP BY h.id +) +SELECT MAX(power_count) AS max_power_count +FROM hero_power_counts; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird375.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird375.sql new file mode 100644 index 00000000..cad934bb --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird375.sql @@ -0,0 +1,5 @@ +SELECT COUNT(*) AS hero_count +FROM superhero AS s +JOIN alignment AS a ON a.id = s.alignment_id +WHERE a.alignment = 'Neutral' + AND TRIM(s.full_name) NOT IN ('', '-'); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird376.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird376.sql new file mode 100644 index 00000000..00f1ee88 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird376.sql @@ -0,0 +1,16 @@ +WITH speed AS ( + SELECT ha.hero_id, ha.attribute_value + FROM hero_attribute AS ha + JOIN attribute AS a ON a.id = ha.attribute_id + WHERE a.attribute_name = 'Speed' +) +SELECT s.superhero_name, s.full_name +FROM superhero AS s +WHERE TRIM(s.full_name) NOT IN ('', '-') + AND EXISTS ( + SELECT 1 + FROM speed AS sp + WHERE sp.hero_id = s.id + AND sp.attribute_value = (SELECT MAX(attribute_value) FROM speed) + ) +ORDER BY s.superhero_name, s.full_name; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird377.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird377.sql new file mode 100644 index 00000000..a9a8cc49 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird377.sql @@ -0,0 +1,8 @@ +SELECT eye.colour AS eye_colour, + COUNT(CASE WHEN hair.colour <> 'Brown' THEN 1 END) AS hero_count +FROM superhero AS h +JOIN colour AS eye ON eye.id = h.eye_colour_id +LEFT JOIN colour AS hair ON hair.id = h.hair_colour_id +GROUP BY eye.colour +HAVING COUNT(CASE WHEN hair.colour = 'Brown' THEN 1 END) > 0 +ORDER BY hero_count DESC, eye_colour ASC; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird378.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird378.sql new file mode 100644 index 00000000..0b17ac5e --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird378.sql @@ -0,0 +1,7 @@ +SELECT ROUND(100.0 * COUNT(CASE WHEN a.alignment = 'Good' THEN 1 END) / COUNT(*), 2) AS good_percentage +FROM superhero AS s +JOIN publisher AS p ON p.id = s.publisher_id +LEFT JOIN alignment AS a ON a.id = s.alignment_id +WHERE p.publisher_name = 'Marvel Comics' + AND INSTR(TRIM(s.full_name), ' ') > 0 + AND TRIM(s.full_name) NOT IN ('Howard (Last name unrevealed)', 'Weapon XI'); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird379.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird379.sql new file mode 100644 index 00000000..337f7df4 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird379.sql @@ -0,0 +1,11 @@ +SELECT ROUND(100.0 * COUNT(CASE WHEN a.alignment = 'Good' THEN 1 END) / COUNT(*), 2) AS percentage +FROM superhero AS h +JOIN publisher AS p ON p.id = h.publisher_id +LEFT JOIN alignment AS a ON a.id = h.alignment_id +WHERE p.publisher_name = 'Marvel Comics' + AND EXISTS ( + SELECT 1 + FROM hero_power AS hp + JOIN superpower AS sp ON sp.id = hp.power_id + WHERE hp.hero_id = h.id + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird380.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird380.sql new file mode 100644 index 00000000..3c4c2dc5 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird380.sql @@ -0,0 +1,12 @@ +SELECT ROUND(AVG(h.weight_kg), 2) AS average_weight_kg +FROM superhero AS h +WHERE h.weight_kg > 0 + AND EXISTS ( + SELECT 1 + FROM superhero AS target + JOIN hero_power AS tp ON tp.hero_id = target.id + JOIN hero_power AS hp ON hp.power_id = tp.power_id + WHERE target.superhero_name = '3-D Man' + AND hp.hero_id = h.id + AND h.id <> target.id + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird381.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird381.sql new file mode 100644 index 00000000..ae698b7a --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird381.sql @@ -0,0 +1,5 @@ +SELECT COUNT(CASE WHEN c.colour = 'No Colour' THEN 1 END) + - COUNT(CASE WHEN c.colour = 'Blue' THEN 1 END) AS eye_count_difference +FROM superhero AS s +JOIN colour AS c ON c.id = s.eye_colour_id +WHERE s.weight_kg IS NULL; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird382.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird382.sql new file mode 100644 index 00000000..73f76688 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird382.sql @@ -0,0 +1,6 @@ +SELECT + 1.0 * COUNT(DISTINCT CASE WHEN p.SEX = 'M' AND l.UA > 8.0 THEN p.ID END) + / NULLIF(COUNT(DISTINCT CASE WHEN p.SEX = 'F' AND l.UA > 6.5 THEN p.ID END), 0) + AS male_to_female_ratio +FROM Patient AS p +JOIN Laboratory AS l ON l.ID = p.ID; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird383.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird383.sql new file mode 100644 index 00000000..8545033e --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird383.sql @@ -0,0 +1,6 @@ +SELECT ROUND(AVG(l.ALB), 4) AS average_alb +FROM Laboratory AS l +JOIN Patient AS p ON p.ID = l.ID +WHERE l.PLT > 400 + AND p.SEX = 'F' + AND p.Diagnosis LIKE '%SLE%'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird384.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird384.sql new file mode 100644 index 00000000..e019772b --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird384.sql @@ -0,0 +1,5 @@ +SELECT COUNT(DISTINCT p.ID) AS patient_count +FROM Patient AS p +JOIN Laboratory AS l ON l.ID = p.ID +WHERE l.TG >= 200 + AND date(p.Birthday) <= date('2026-10-09', '-51 years'); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird385.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird385.sql new file mode 100644 index 00000000..f147de75 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird385.sql @@ -0,0 +1,14 @@ +SELECT p.ID AS patient_id, + p.SEX AS sex, + CAST(strftime('%Y', '2026-10-09') AS INTEGER) + - CAST(strftime('%Y', p.Birthday) AS INTEGER) + - (strftime('%m-%d', p.Birthday) > strftime('%m-%d', '2026-10-09')) AS completed_age +FROM Patient AS p +WHERE EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND l.GLU >= 180 + AND l."T-CHO" < 250 +) +ORDER BY p.ID; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird386.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird386.sql new file mode 100644 index 00000000..914fe952 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird386.sql @@ -0,0 +1,14 @@ +WITH qualifying_patients AS ( + SELECT ID + FROM Laboratory + WHERE HCT >= 52 + GROUP BY ID + HAVING COUNT(*) >= 2 +) +SELECT p.ID, + CAST(strftime('%Y', '2026-10-09') AS INTEGER) + - CAST(strftime('%Y', p.Birthday) AS INTEGER) + - (strftime('%m-%d', p.Birthday) > '10-09') AS age +FROM Patient AS p +JOIN qualifying_patients AS q ON q.ID = p.ID +ORDER BY p.ID; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird387.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird387.sql new file mode 100644 index 00000000..5cb5ff2d --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird387.sql @@ -0,0 +1,13 @@ +SELECT ROUND( + 100.0 * COUNT(DISTINCT CASE WHEN p.SEX = 'F' THEN p.ID END) + / NULLIF(COUNT(DISTINCT p.ID), 0), + 2 +) AS female_percentage +FROM Patient AS p +WHERE DATE(p.Birthday) <= DATE('2026-10-09', '-56 years') + AND EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND l.PT >= 14 + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird388.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird388.sql new file mode 100644 index 00000000..f53e5dba --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird388.sql @@ -0,0 +1,9 @@ +SELECT COUNT(DISTINCT p.ID) AS patient_count +FROM Patient AS p +WHERE p.Description IS NULL + AND EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND l.CRP LIKE '%+%' + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird389.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird389.sql new file mode 100644 index 00000000..4296c9d7 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird389.sql @@ -0,0 +1,15 @@ +SELECT COUNT(DISTINCT p.ID) AS patient_count +FROM Patient AS p +WHERE p.SEX = 'F' + AND EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND l.SC170 IN ('negative', '0') + ) + AND NOT EXISTS ( + SELECT 1 + FROM Examination AS e + WHERE e.ID = p.ID + AND e.Symptoms IS NOT NULL + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird390.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird390.sql new file mode 100644 index 00000000..9d0cedb1 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird390.sql @@ -0,0 +1,13 @@ +SELECT ROUND( + 100.0 * COUNT(DISTINCT CASE WHEN p.Admission = '+' THEN p.ID END) + / NULLIF(COUNT(DISTINCT p.ID), 0), + 2 +) AS inpatient_percentage +FROM Patient AS p +WHERE p.Birthday >= '1930-01-01' + AND p.Birthday < '1941-01-01' + AND EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird391.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird391.sql new file mode 100644 index 00000000..3918eb92 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird391.sql @@ -0,0 +1,16 @@ +WITH highest_rnp_tests AS ( + SELECT ID, Date, "T-BIL" + FROM Laboratory + WHERE CAST(NULLIF(RNP, 'negative') AS REAL) = ( + SELECT MAX(CAST(NULLIF(RNP, 'negative') AS REAL)) + FROM Laboratory + ) +) +SELECT l."T-BIL" AS total_bilirubin, + l.Date AS test_date, + l.ID AS patient_id, + p.SEX AS sex, + p.Birthday AS birthday +FROM highest_rnp_tests AS l +LEFT JOIN Patient AS p ON p.ID = l.ID +WHERE l."T-BIL" = (SELECT MAX("T-BIL") FROM highest_rnp_tests); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird392.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird392.sql new file mode 100644 index 00000000..ed8c5405 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird392.sql @@ -0,0 +1,9 @@ +SELECT COUNT(DISTINCT p.ID) +FROM Patient AS p +WHERE DATE(p.Birthday) > '1960-01-01' + AND NOT EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND CAST(l.RNP AS REAL) > 10 + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird393.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird393.sql new file mode 100644 index 00000000..a2e3d969 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird393.sql @@ -0,0 +1,22 @@ +WITH patient_titers AS ( + SELECT l.ID AS patient_id, + MAX(CAST(l.RNP AS INTEGER)) AS anti_rnp_titer + FROM Laboratory AS l + WHERE LOWER(TRIM(l.RNP)) <> 'negative' + AND EXISTS ( + SELECT 1 + FROM Patient AS p + WHERE p.ID = l.ID AND p.Admission = '-' + ) + AND EXISTS ( + SELECT 1 + FROM Laboratory AS s + WHERE s.ID = l.ID + AND LOWER(TRIM(s.SSA)) NOT IN ('negative', '0') + ) + GROUP BY l.ID +) +SELECT patient_id, anti_rnp_titer +FROM patient_titers +WHERE anti_rnp_titer = (SELECT MAX(anti_rnp_titer) FROM patient_titers) +ORDER BY patient_id; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird394.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird394.sql new file mode 100644 index 00000000..6c5e4d1f --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird394.sql @@ -0,0 +1,21 @@ +SELECT COUNT(DISTINCT p.ID) AS patient_count +FROM Patient AS p +WHERE TRIM(p.Diagnosis) = 'MCTD' + AND NOT EXISTS ( + SELECT 1 + FROM Examination AS e + WHERE e.ID = p.ID + AND TRIM(e.Diagnosis) NOT IN ('', 'MCTD') + ) + AND EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND l.PLT BETWEEN 100 AND 400 + ) + AND EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND CAST(l.RNP AS REAL) > 5 + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird395.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird395.sql new file mode 100644 index 00000000..b6706e40 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird395.sql @@ -0,0 +1,16 @@ +WITH patient_lab_dates AS ( + SELECT p.ID, p.SEX, COUNT(DISTINCT l."Date") AS lab_date_count + FROM Patient AS p + LEFT JOIN Laboratory AS l ON l.ID = p.ID + WHERE p.SEX IN ('F', 'M') + AND NOT EXISTS ( + SELECT 1 + FROM Examination AS e + WHERE e.ID = p.ID + ) + GROUP BY p.ID, p.SEX +) +SELECT SEX, ROUND(AVG(lab_date_count), 2) AS avg_lab_test_dates +FROM patient_lab_dates +GROUP BY SEX +ORDER BY SEX; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird396.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird396.sql new file mode 100644 index 00000000..295a9b34 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird396.sql @@ -0,0 +1,16 @@ +WITH eligible_tests AS ( + SELECT l.ID, l."Date", l.DNA, CAST(l.DNA AS REAL) AS dna_level + FROM Laboratory AS l + WHERE l.DNA IS NOT NULL + AND EXISTS ( + SELECT 1 + FROM Patient AS p + WHERE p.ID = l.ID + AND p.SEX = 'F' + AND p.Admission = '+' + ) +) +SELECT ID, "Date", DNA +FROM eligible_tests +WHERE dna_level = (SELECT MAX(dna_level) FROM eligible_tests) +ORDER BY ID; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird397.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird397.sql new file mode 100644 index 00000000..70de4181 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird397.sql @@ -0,0 +1,18 @@ +WITH care_settings(admission) AS ( + VALUES ('+'), ('-') +), qualifying_patients AS ( + SELECT p."ID", p."Admission" + FROM "Patient" AS p + WHERE EXISTS ( + SELECT 1 + FROM "Laboratory" AS l + WHERE l."ID" = p."ID" + AND CAST(l."RNP" AS REAL) > 16 + ) +) +SELECT s.admission AS care_setting, + COUNT(DISTINCT p."ID") AS patient_count +FROM care_settings AS s +LEFT JOIN qualifying_patients AS p ON p."Admission" = s.admission +GROUP BY s.admission +ORDER BY s.admission; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird398.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird398.sql new file mode 100644 index 00000000..f9ff0ce9 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird398.sql @@ -0,0 +1,14 @@ +SELECT COUNT(DISTINCT p.ID) AS patient_count +FROM Patient AS p +WHERE EXISTS ( + SELECT 1 + FROM Laboratory AS h + WHERE h.ID = p.ID + AND (h.HCT <= 29 OR h.HCT >= 52) +) +AND EXISTS ( + SELECT 1 + FROM Laboratory AS r + WHERE r.ID = p.ID + AND CAST(r.RNP AS REAL) > 16 +); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird399.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird399.sql new file mode 100644 index 00000000..3ee3a35f --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird399.sql @@ -0,0 +1,4 @@ +SELECT MAX(CAST(NULLIF(l.RNP, 'negative') AS NUMERIC)) AS highest_anti_rnp +FROM Laboratory AS l +JOIN Patient AS p ON p.ID = l.ID +WHERE p.Admission = '-'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird400.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird400.sql new file mode 100644 index 00000000..d3a7810f --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird400.sql @@ -0,0 +1,39 @@ +WITH RECURSIVE diagnosis_parts (ID, diagnosis, remaining) AS ( + SELECT ID, NULL, + CASE + WHEN TRIM(UPPER(Diagnosis)) IN ('RA SJS', 'SJS RA') THEN 'RA,SJS' + ELSE REPLACE(UPPER(Diagnosis), CHAR(29), ',') + END || ',' + FROM Patient + WHERE Diagnosis IS NOT NULL + + UNION ALL + + SELECT ID, + TRIM(SUBSTR(remaining, 1, INSTR(remaining, ',') - 1), ' ' || CHAR(9, 10, 11, 13)), + SUBSTR(remaining, INSTR(remaining, ',') + 1) + FROM diagnosis_parts + WHERE remaining <> '' +), overlap_patients AS ( + SELECT ID + FROM diagnosis_parts + WHERE diagnosis <> '' + AND diagnosis NOT LIKE '% SUSP' + AND diagnosis NOT LIKE '% SUSP.' + GROUP BY ID + HAVING COUNT(DISTINCT diagnosis) = 2 + AND MAX(diagnosis = 'RA') = 1 + AND MAX(diagnosis = 'SJS') = 1 +), platelet_history AS ( + SELECT p.ID, EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND l.PLT > 100 + AND l.PLT < 400 + ) AS has_normal_platelet + FROM overlap_patients AS p +) +SELECT COUNT(CASE WHEN has_normal_platelet = 1 THEN 1 END) AS ever_normal_platelet, + COUNT(CASE WHEN has_normal_platelet = 0 THEN 1 END) AS never_normal_platelet +FROM platelet_history; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird401.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird401.sql new file mode 100644 index 00000000..932eb2cf --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird401.sql @@ -0,0 +1,14 @@ +SELECT ROUND(AVG(l.TP - 8.5), 3) AS average_tp_deviation +FROM Laboratory AS l +WHERE l.TP > 8.5 + AND EXISTS ( + SELECT 1 + FROM Patient AS p + WHERE p.ID = l.ID AND p.SEX = 'F' + ) + AND EXISTS ( + SELECT 1 + FROM Examination AS e + WHERE e.ID = l.ID + AND ',' || REPLACE(REPLACE(REPLACE(UPPER(e.Diagnosis), ' ', ''), '+', ','), '->', ',') || ',' LIKE '%,SLE,%' + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird402.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird402.sql new file mode 100644 index 00000000..e016539b --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird402.sql @@ -0,0 +1,7 @@ +SELECT ROUND( + 100.0 * COUNT(DISTINCT CASE WHEN Birthday >= '1960-01-01' THEN ID END) + / NULLIF(COUNT(DISTINCT ID), 0), + 1 +) AS percentage +FROM Patient +WHERE LOWER(TRIM(Diagnosis)) = 'psoriatic arthritis'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird403.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird403.sql new file mode 100644 index 00000000..9c1259e0 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird403.sql @@ -0,0 +1,14 @@ +WITH sex_groups(sex) AS ( + VALUES ('F'), ('M') +) +SELECT s.sex, COUNT(DISTINCT p.ID) AS patient_count +FROM sex_groups AS s +LEFT JOIN Patient AS p + ON p.SEX = s.sex + AND EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID AND l.ALB < 3.5 + ) +GROUP BY s.sex +ORDER BY s.sex; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird404.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird404.sql new file mode 100644 index 00000000..6b623253 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird404.sql @@ -0,0 +1,9 @@ +SELECT ROUND( + 100.0 * COUNT(DISTINCT CASE WHEN CAST(TRIM(l.RNP) AS INTEGER) > 64 THEN p.ID END) + / NULLIF(COUNT(DISTINCT p.ID), 0), + 2 +) AS elevated_rnp_percentage +FROM Patient AS p +JOIN Laboratory AS l ON l.ID = p.ID +WHERE p.SEX = 'F' + AND NULLIF(TRIM(l.RNP), '') IS NOT NULL; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird405.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird405.sql new file mode 100644 index 00000000..0b965ec4 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird405.sql @@ -0,0 +1,8 @@ +SELECT AVG(1999 - CAST(strftime('%Y', p.Birthday) AS INTEGER)) AS average_age_years +FROM Patient AS p +WHERE EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND l."U-PRO" IN ('3', '4', '300', '>=300', '1000', '>=1000') +); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird406.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird406.sql new file mode 100644 index 00000000..da2a31cb --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird406.sql @@ -0,0 +1,10 @@ +SELECT + COUNT(DISTINCT CASE WHEN p.SEX = 'F' THEN p.ID END) AS women, + COUNT(DISTINCT CASE WHEN p.SEX = 'M' THEN p.ID END) AS men +FROM Patient AS p +WHERE EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND CAST(l.RNP AS REAL) > 32 +); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird407.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird407.sql new file mode 100644 index 00000000..ec3c9046 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird407.sql @@ -0,0 +1,4 @@ +SELECT MIN(CAST(strftime('%Y', l."Date") AS INTEGER) - CAST(strftime('%Y', p.Birthday) AS INTEGER)) AS youngest_age +FROM Laboratory AS l +JOIN Patient AS p ON p.ID = l.ID +WHERE CAST(l.RNP AS INTEGER) >= 64; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird408.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird408.sql new file mode 100644 index 00000000..ca2d79f2 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird408.sql @@ -0,0 +1,9 @@ +WITH diagnosed_patients AS ( + SELECT DISTINCT ID + FROM Patient + WHERE TRIM(Diagnosis) = 'Psoriatic arthritis' COLLATE NOCASE +) +SELECT COUNT(l.ID) AS total_laboratory_tests, + COUNT(DISTINCT CASE WHEN l.ID IS NULL THEN p.ID END) AS patients_with_no_laboratory_tests +FROM diagnosed_patients AS p +LEFT JOIN Laboratory AS l ON l.ID = p.ID; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird409.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird409.sql new file mode 100644 index 00000000..421b205e --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird409.sql @@ -0,0 +1,6 @@ +SELECT COUNT(DISTINCT p."ID") AS patient_count +FROM "Patient" AS p +JOIN "Examination" AS e ON e."ID" = p."ID" +WHERE e."Examination Date" >= '1997-01-01' + AND e."Examination Date" < '1998-01-01' + AND e."Thrombosis" > 0; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird410.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird410.sql new file mode 100644 index 00000000..e45c8708 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird410.sql @@ -0,0 +1,25 @@ +WITH RECURSIVE patient_diseases(patient_id, disease, remaining) AS ( + SELECT ID, '', + REPLACE(REPLACE(UPPER(Diagnosis), CHAR(29), ','), 'SLE SJS', 'SLE,SJS') || ',' + FROM Patient + WHERE Diagnosis IS NOT NULL + UNION ALL + SELECT patient_id, + TRIM(SUBSTR(remaining, 1, INSTR(remaining, ',') - 1)), + SUBSTR(remaining, INSTR(remaining, ',') + 1) + FROM patient_diseases + WHERE remaining <> '' +) +SELECT e.Symptoms AS symptom +FROM Examination AS e +WHERE e.Thrombosis > 0 + AND NULLIF(TRIM(e.Symptoms), '') IS NOT NULL + AND EXISTS ( + SELECT 1 + FROM patient_diseases AS d + WHERE d.patient_id = e.ID + AND d.disease IN ('SLE', 'SLE (DIFFUSE LE)') + ) +GROUP BY e.Symptoms +ORDER BY COUNT(*) DESC, symptom COLLATE NOCASE ASC, symptom ASC +LIMIT 1; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird411.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird411.sql new file mode 100644 index 00000000..5afe517e --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird411.sql @@ -0,0 +1,9 @@ +SELECT ROUND( + 100.0 * COUNT(DISTINCT CASE + WHEN ',' || REPLACE(REPLACE(UPPER("Diagnosis"), ' ', ''), '+', ',') || ',' LIKE '%,SLE,%' + THEN "ID" + END) / NULLIF(COUNT(DISTINCT "ID"), 0), + 2 +) AS sle_percentage +FROM "Examination" +WHERE "Thrombosis" > 0; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird412.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird412.sql new file mode 100644 index 00000000..3a481065 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird412.sql @@ -0,0 +1,9 @@ +WITH first_examination AS ( + SELECT ID, MIN(JULIANDAY("Examination Date")) AS first_exam_day + FROM Examination + GROUP BY ID +) +SELECT ROUND(AVG(e.first_exam_day - JULIANDAY(p."First Date"))) AS average_delay_days +FROM Patient AS p +JOIN first_examination AS e ON e.ID = p.ID +WHERE INSTR(p.Admission, '+') > 0; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird413.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird413.sql new file mode 100644 index 00000000..e2f37918 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird413.sql @@ -0,0 +1,12 @@ +WITH sexes(sex) AS ( + VALUES ('F'), ('M') +) +SELECT s.sex, COUNT(DISTINCT l.ID) AS patient_count +FROM sexes AS s +LEFT JOIN Patient AS p ON p.SEX = s.sex +LEFT JOIN Laboratory AS l ON l.ID = p.ID + AND l."Date" >= '1994-01-01' + AND l."Date" < '1995-01-01' + AND l.GOT < 60 +GROUP BY s.sex +ORDER BY s.sex; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird414.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird414.sql new file mode 100644 index 00000000..baf27d28 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird414.sql @@ -0,0 +1,22 @@ +WITH lab_panels AS ( + SELECT ID, LDH, TRIM("U-PRO") AS protein + FROM Laboratory +) +SELECT p.ID AS patient_id, + 2026 - CAST(STRFTIME('%Y', p.Birthday) AS INTEGER) + - (STRFTIME('%m-%d', p.Birthday) > '10-09') AS age +FROM Patient AS p +WHERE EXISTS ( + SELECT 1 + FROM lab_panels AS l + WHERE l.ID = p.ID + AND l.LDH > 600 + AND l.LDH < 800 + AND CAST(CASE + WHEN l.protein LIKE '>=%' THEN SUBSTR(l.protein, 3) + WHEN l.protein LIKE '≥%' THEN SUBSTR(l.protein, 2) + WHEN LOWER(l.protein) LIKE 'at least %' THEN SUBSTR(l.protein, 10) + ELSE l.protein + END AS REAL) >= 300 +) +ORDER BY p.ID; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird415.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird415.sql new file mode 100644 index 00000000..f572f7b6 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird415.sql @@ -0,0 +1,9 @@ +SELECT COUNT(DISTINCT CASE WHEN p.SEX = 'F' THEN p.ID END) + - COUNT(DISTINCT CASE WHEN p.SEX = 'M' THEN p.ID END) AS difference +FROM Patient AS p +WHERE p.Diagnosis = 'RA' + AND EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID AND l.UN < 30 + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird416.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird416.sql new file mode 100644 index 00000000..38a297ac --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird416.sql @@ -0,0 +1,18 @@ +WITH patients_by_sex AS ( + SELECT DISTINCT ID, SEX + FROM Patient + WHERE SEX IN ('M', 'F') +), abnormal_creatinine AS ( + SELECT DISTINCT ID + FROM Laboratory + WHERE CRE >= 1.5 +) +SELECT + p.SEX AS sex, + COUNT(a.ID) AS patients_with_abnormal_creatinine, + COUNT(*) AS total_patients, + ROUND(100.0 * COUNT(a.ID) / COUNT(*), 1) AS percentage +FROM patients_by_sex AS p +LEFT JOIN abnormal_creatinine AS a ON a.ID = p.ID +GROUP BY p.SEX +ORDER BY p.SEX DESC; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird417.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird417.sql new file mode 100644 index 00000000..4851920b --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird417.sql @@ -0,0 +1,18 @@ +WITH ranked_patients AS ( + SELECT MAX(l."T-CHO") AS "T-CHO", + p.Admission, + p.ID, + RANK() OVER ( + PARTITION BY p.Admission + ORDER BY MAX(l."T-CHO") DESC + ) AS cholesterol_rank + FROM Patient AS p + JOIN Laboratory AS l ON l.ID = p.ID + WHERE p.Admission IN ('+', '-') + AND l."T-CHO" IS NOT NULL + GROUP BY p.Admission, p.ID +) +SELECT "T-CHO", Admission, ID +FROM ranked_patients +WHERE cholesterol_rank = 1 +ORDER BY CASE Admission WHEN '+' THEN 0 ELSE 1 END, ID; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird418.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird418.sql new file mode 100644 index 00000000..7a4d2426 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird418.sql @@ -0,0 +1,13 @@ +WITH patient_levels AS ( + SELECT p.ID AS patient_id, MAX(CAST(l.RNP AS INTEGER)) AS anti_rnp_level + FROM Patient AS p + JOIN Laboratory AS l ON l.ID = p.ID + WHERE p."First Date" >= '1991-01-01' + AND p."First Date" < '1992-01-01' + AND l.RNP IS NOT NULL + GROUP BY p.ID +) +SELECT patient_id, anti_rnp_level +FROM patient_levels +WHERE anti_rnp_level = (SELECT MAX(anti_rnp_level) FROM patient_levels) +ORDER BY patient_id; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird419.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird419.sql new file mode 100644 index 00000000..89a68dbe --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird419.sql @@ -0,0 +1,11 @@ +SELECT AVG("HCT") AS average_hematocrit +FROM "Laboratory" +WHERE "Date" >= '1991-01-01' + AND "Date" < '1992-01-01' + AND "HCT" IS NOT NULL + AND CAST( + CASE + WHEN TRIM("U-PRO") LIKE '>=%' THEN SUBSTR(TRIM("U-PRO"), 3) + ELSE TRIM("U-PRO") + END AS REAL + ) >= 300; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird420.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird420.sql new file mode 100644 index 00000000..fc15bd96 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird420.sql @@ -0,0 +1,21 @@ +WITH proteinuria AS ( + SELECT ID, + CASE + WHEN TRIM("U-PRO") LIKE '>=%' + THEN CAST(SUBSTR(TRIM("U-PRO"), 3) AS REAL) + WHEN TRIM("U-PRO") LIKE '+%(%)' + THEN CAST(SUBSTR(TRIM("U-PRO"), INSTR(TRIM("U-PRO"), '(') + 1) AS REAL) + ELSE CAST("U-PRO" AS REAL) + END AS proteinuria_level + FROM Laboratory +) +SELECT COUNT(DISTINCT CASE WHEN p.Admission = '+' THEN p.ID END) AS admitted_patients, + COUNT(DISTINCT CASE WHEN p.Admission = '-' THEN p.ID END) AS outpatient_patients +FROM Patient AS p +WHERE TRIM(p.Diagnosis) = 'SLE' + AND EXISTS ( + SELECT 1 + FROM proteinuria AS l + WHERE l.ID = p.ID + AND l.proteinuria_level >= 30 + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird421.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird421.sql new file mode 100644 index 00000000..cf3be291 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird421.sql @@ -0,0 +1,15 @@ +SELECT COUNT(DISTINCT p.ID) AS patient_count +FROM Patient AS p +WHERE p.Admission = '-' + AND EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND l.RA IN ('-', '+-') + ) + AND NOT EXISTS ( + SELECT 1 + FROM Examination AS e + WHERE e.ID = p.ID + AND (e.KCT = '+' OR e.RVVT = '+' OR e.LAC = '+') + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird422.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird422.sql new file mode 100644 index 00000000..0f891ea0 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird422.sql @@ -0,0 +1,17 @@ +WITH latest_dates AS ( + SELECT "ID", + MAX("Date") AS latest_sample_date, + MAX(CASE WHEN "SC170" IS NOT NULL THEN "Date" END) AS latest_scl70_date + FROM "Laboratory" + GROUP BY "ID" +) +SELECT d."ID" +FROM latest_dates AS d +JOIN "Laboratory" AS l + ON l."ID" = d."ID" + AND l."Date" = d.latest_scl70_date +WHERE d.latest_sample_date > '1997-01-01' + AND l."SC170" IS NOT NULL +GROUP BY d."ID" +HAVING MIN(CASE WHEN l."SC170" IN ('negative', '0') THEN 1 ELSE 0 END) = 1 +ORDER BY d."ID"; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird423.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird423.sql new file mode 100644 index 00000000..15ea9ed7 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird423.sql @@ -0,0 +1,14 @@ +SELECT COUNT(DISTINCT p.ID) AS patient_count +FROM Patient AS p +WHERE EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND LOWER(TRIM(l.SSA)) NOT IN ('negative', '0') +) +AND EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND LOWER(TRIM(l."U-PRO")) NOT IN ('negative', 'none', '-', '0') +); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird424.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird424.sql new file mode 100644 index 00000000..53b50c7e --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird424.sql @@ -0,0 +1,5 @@ +SELECT COUNT(DISTINCT p.ID) AS patient_count +FROM Patient AS p +JOIN Laboratory AS l ON l.ID = p.ID +WHERE p.SEX = 'F' + AND CAST(l.DNA AS REAL) < 8; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird425.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird425.sql new file mode 100644 index 00000000..6e9eee30 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird425.sql @@ -0,0 +1,9 @@ +SELECT COUNT(DISTINCT p.ID) AS patient_count +FROM Patient AS p +WHERE p.Admission <> '-' + AND NOT EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND l.ALP >= 300 + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird426.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird426.sql new file mode 100644 index 00000000..2bf4c699 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird426.sql @@ -0,0 +1,3 @@ +SELECT MAX(CAST(NULLIF(RNP, 'negative') AS NUMERIC)) AS highest_anti_rnp +FROM Laboratory +WHERE CRE < 1.5; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird427.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird427.sql new file mode 100644 index 00000000..5317cbac --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird427.sql @@ -0,0 +1,14 @@ +WITH sexes(code, sex) AS ( + VALUES ('F', 'female'), ('M', 'male') +) +SELECT s.sex, COUNT(DISTINCT p.ID) AS patient_count +FROM sexes AS s +LEFT JOIN Patient AS p + ON UPPER(TRIM(p.SEX)) IN (s.code, UPPER(s.sex)) + AND EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID AND l.HGB < 7.0 + ) +GROUP BY s.sex +ORDER BY s.sex; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird428.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird428.sql new file mode 100644 index 00000000..ee119272 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird428.sql @@ -0,0 +1,8 @@ +WITH eligible_tests AS ( + SELECT ID, Date, RNP, CAST(NULLIF(RNP, 'negative') AS INTEGER) AS rnp_value + FROM Laboratory + WHERE GOT >= 60 +) +SELECT ID, Date, RNP +FROM eligible_tests +WHERE rnp_value = (SELECT MAX(rnp_value) FROM eligible_tests); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird429.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird429.sql new file mode 100644 index 00000000..8b6859dd --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird429.sql @@ -0,0 +1,14 @@ +WITH lab_results AS ( + SELECT ID, FG, TRIM("U-PRO") AS protein + FROM Laboratory +) +SELECT COUNT(DISTINCT p.ID) AS eligible_patient_count +FROM Patient AS p +JOIN lab_results AS l ON l.ID = p.ID +WHERE DATE(p.Birthday) > '1980-01-01' + AND ( + l.FG < 150 OR l.FG > 450 + OR l.protein IN ('3', '4', '3+', '4+') + OR CAST(CASE WHEN l.protein LIKE '>=%' THEN SUBSTR(l.protein, 3) + ELSE l.protein END AS REAL) >= 300 + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird430.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird430.sql new file mode 100644 index 00000000..484142fb --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird430.sql @@ -0,0 +1,15 @@ +WITH patient_groups(admission, patient_group, sort_order) AS ( + VALUES ('+', 'admitted to the hospital', 1), + ('-', 'followed at the outpatient clinic', 2) +), patient_admissions AS ( + SELECT DISTINCT ID, Admission + FROM Patient + WHERE Admission IN ('+', '-') +) +SELECT g.patient_group, + COUNT(l.LDH) AS normal_ldh_measurements +FROM patient_groups AS g +LEFT JOIN patient_admissions AS p ON p.Admission = g.admission +LEFT JOIN Laboratory AS l ON l.ID = p.ID AND l.LDH < 500 +GROUP BY g.sort_order, g.patient_group +ORDER BY g.sort_order; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird431.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird431.sql new file mode 100644 index 00000000..ea4639b6 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird431.sql @@ -0,0 +1,6 @@ +SELECT + COUNT(DISTINCT p.ID) AS patients_with_lab_results, + COUNT(DISTINCT CASE WHEN l."T-BIL" >= 2.0 THEN p.ID END) AS patients_with_elevated_total_bilirubin +FROM Patient AS p +JOIN Laboratory AS l ON l.ID = p.ID +WHERE p.SEX IS NULL OR p.SEX = ''; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird432.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird432.sql new file mode 100644 index 00000000..89ef7724 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird432.sql @@ -0,0 +1,7 @@ +SELECT COUNT(DISTINCT p.ID) AS patient_count +FROM Patient AS p +JOIN Examination AS e ON e.ID = p.ID +WHERE p.SEX = 'F' + AND p.Admission LIKE '+%' + AND strftime('%Y', p.Birthday) BETWEEN '1945' AND '1989' + AND e."ANA Pattern" = 'P'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird433.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird433.sql new file mode 100644 index 00000000..4b1338b8 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird433.sql @@ -0,0 +1,18 @@ +WITH patient_peaks AS ( + SELECT p.ID, p.SEX, MAX(CAST(l.RNP AS INTEGER)) AS max_rnp + FROM Patient AS p + JOIN Laboratory AS l ON l.ID = p.ID + WHERE p.Admission = '-' + AND l.RNP IS NOT NULL + AND LOWER(TRIM(l.RNP)) <> 'negative' + AND EXISTS ( + SELECT 1 + FROM Laboratory AS a + WHERE a.ID = p.ID AND a.HGB < 10 + ) + GROUP BY p.ID, p.SEX +) +SELECT ID, SEX, max_rnp +FROM patient_peaks +WHERE max_rnp = (SELECT MAX(max_rnp) FROM patient_peaks) +ORDER BY ID; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird434.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird434.sql new file mode 100644 index 00000000..4c03e75d --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird434.sql @@ -0,0 +1,11 @@ +WITH first_tests AS ( + SELECT ID, MIN("Date") AS first_test_date + FROM Laboratory + GROUP BY ID +) +SELECT COUNT(DISTINCT p.ID) AS patient_count +FROM Patient AS p +JOIN first_tests AS f ON f.ID = p.ID +JOIN Laboratory AS l ON l.ID = f.ID AND l."Date" = f.first_test_date +WHERE l.GOT < 60 + AND CAST(l.RNP AS REAL) > 10; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird435.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird435.sql new file mode 100644 index 00000000..40089bd0 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird435.sql @@ -0,0 +1,15 @@ +WITH latest_proteinuria AS ( + SELECT ID, MAX("Date") AS test_date + FROM Laboratory + WHERE "U-PRO" IS NOT NULL + GROUP BY ID +) +SELECT p.ID AS patient_id, + p.SEX AS sex, + l."Date" AS latest_proteinuria_test_date, + l."U-PRO" AS proteinuria_level +FROM latest_proteinuria AS t +JOIN Laboratory AS l ON l.ID = t.ID AND l."Date" = t.test_date +JOIN Patient AS p ON p.ID = t.ID +WHERE l."U-PRO" IS NOT NULL +ORDER BY p.ID; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird436.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird436.sql new file mode 100644 index 00000000..fd0df550 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird436.sql @@ -0,0 +1,6 @@ +SELECT DISTINCT p.ID +FROM Patient AS p +JOIN Laboratory AS l ON l.ID = p.ID +WHERE p.Admission = '-' + AND l.CPK < 250 + AND CAST(l.RNP AS REAL) > 4; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird437.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird437.sql new file mode 100644 index 00000000..2473f9d6 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird437.sql @@ -0,0 +1,5 @@ +SELECT COUNT(DISTINCT e.ID) +FROM Examination AS e +JOIN Laboratory AS l ON l.ID = e.ID +WHERE CAST(l.RNP AS REAL) > 0 + AND e.Thrombosis = 0; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird438.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird438.sql new file mode 100644 index 00000000..377e5490 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird438.sql @@ -0,0 +1,16 @@ +WITH elevated_rnp AS ( + SELECT DISTINCT ID + FROM Laboratory + WHERE CAST(RNP AS REAL) >= 16 +), normal_gpt AS ( + SELECT l.ID, MAX(l.GPT) AS highest_normal_gpt + FROM Laboratory AS l + JOIN elevated_rnp AS e ON e.ID = l.ID + WHERE l.GPT < 60 + GROUP BY l.ID +) +SELECT p.Birthday +FROM normal_gpt AS g +JOIN Patient AS p ON p.ID = g.ID +ORDER BY g.highest_normal_gpt DESC, g.ID ASC +LIMIT 3; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird439.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird439.sql new file mode 100644 index 00000000..fd141804 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird439.sql @@ -0,0 +1,6 @@ +SELECT COUNT(DISTINCT p.ID) AS female_patient_count +FROM Patient AS p +JOIN Laboratory AS l ON l.ID = p.ID +WHERE p.SEX = 'F' + AND l.PT < 14 + AND CAST(l.RNP AS REAL) >= 16; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird440.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird440.sql new file mode 100644 index 00000000..d64a3be4 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird440.sql @@ -0,0 +1,11 @@ +SELECT + CAST(strftime('%Y', l.Date) AS INTEGER) + - CAST(strftime('%Y', p.Birthday) AS INTEGER) + - (strftime('%m-%d', l.Date) < strftime('%m-%d', p.Birthday)) AS age, + p.Diagnosis AS diagnosis +FROM Laboratory AS l +JOIN Patient AS p ON p.ID = l.ID +WHERE p.Admission = '+' + AND l.DNA IS NOT NULL +ORDER BY CAST(l.DNA AS REAL) DESC, l.Date ASC, l.ID ASC +LIMIT 1; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird441.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird441.sql new file mode 100644 index 00000000..61650ac7 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird441.sql @@ -0,0 +1,20 @@ +WITH RECURSIVE diagnosis_parts(ID, SEX, diagnosis, remaining) AS ( + SELECT p.ID, p.SEX, '', + REPLACE(REPLACE(UPPER(p.Diagnosis), CHAR(29), ','), ' ', ',') || ',' + FROM Patient AS p + WHERE EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID AND l."T-BIL" >= 1.2 + ) + UNION ALL + SELECT ID, SEX, + TRIM(SUBSTR(remaining, 1, INSTR(remaining, ',') - 1)), + SUBSTR(remaining, INSTR(remaining, ',') + 1) + FROM diagnosis_parts + WHERE remaining <> '' +) +SELECT DISTINCT ID, SEX +FROM diagnosis_parts +WHERE diagnosis IN ('SLE', 'SLE (DIFFUSE LE)') +ORDER BY SEX, ID; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird442.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird442.sql new file mode 100644 index 00000000..6c416ca9 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird442.sql @@ -0,0 +1,23 @@ +WITH care_settings(admission_marker, care_setting) AS ( + VALUES ('+', 'admitted to the hospital'), + ('-', 'followed at the outpatient clinic') +), eligible_patients AS ( + SELECT DISTINCT p.ID, p.Admission, + EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND CAST(l.RNP AS REAL) >= 4 + ) AS has_elevated_rnp + FROM Patient AS p + WHERE p.SEX = 'F' + AND DATE(p.Birthday) <= DATE('2026-10-09', '-50 years') + AND p.Admission IN ('+', '-') +) +SELECT s.care_setting, + COUNT(CASE WHEN p.has_elevated_rnp = 1 THEN 1 END) AS patients_with_anti_rnp_at_least_4, + COUNT(CASE WHEN p.has_elevated_rnp = 0 THEN 1 END) AS patients_with_no_anti_rnp_at_least_4 +FROM care_settings AS s +LEFT JOIN eligible_patients AS p ON p.Admission = s.admission_marker +GROUP BY s.care_setting +ORDER BY s.care_setting; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird443.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird443.sql new file mode 100644 index 00000000..b9e3dcda --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird443.sql @@ -0,0 +1,15 @@ +WITH ranked_igg AS ( + SELECT ID, IGG, + ROW_NUMBER() OVER (PARTITION BY ID ORDER BY "Date" DESC) AS rn + FROM Laboratory + WHERE IGG IS NOT NULL +) +SELECT COUNT(*) AS patient_count +FROM ranked_igg AS l +WHERE l.rn = 1 + AND l.IGG >= 2000 + AND EXISTS ( + SELECT 1 + FROM Patient AS p + WHERE p.ID = l.ID AND p.Admission = '-' + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird444.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird444.sql new file mode 100644 index 00000000..9691a87f --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird444.sql @@ -0,0 +1,14 @@ +WITH sle_results AS ( + SELECT p.ID, p.Diagnosis, l.DNA, + CAST(l.DNA AS REAL) AS dna_value + FROM Patient AS p + JOIN Laboratory AS l ON l.ID = p.ID + WHERE p.Diagnosis LIKE '%SLE%' + AND p.Diagnosis NOT LIKE '%SLE susp%' + AND l.DNA IS NOT NULL +) +SELECT ID, Diagnosis, MIN(DNA) AS highest_anti_dna +FROM sle_results +WHERE dna_value = (SELECT MAX(dna_value) FROM sle_results) +GROUP BY ID, Diagnosis +ORDER BY ID; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird445.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird445.sql new file mode 100644 index 00000000..732e4973 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird445.sql @@ -0,0 +1,17 @@ +WITH ranked_igg AS ( + SELECT ID, IGG, + ROW_NUMBER() OVER (PARTITION BY ID ORDER BY "Date" DESC) AS rn + FROM Laboratory + WHERE IGG IS NOT NULL +) +SELECT CASE p.Admission + WHEN '+' THEN 'admitted to the hospital' + WHEN '-' THEN 'followed at the outpatient clinic' + END AS care_setting, + ROUND(100.0 * COUNT(CASE WHEN i.IGG > 900 AND i.IGG < 2000 THEN 1 END) + / COUNT(*), 1) AS percentage +FROM Patient AS p +LEFT JOIN ranked_igg AS i ON i.ID = p.ID AND i.rn = 1 +WHERE p.Admission IN ('+', '-') +GROUP BY p.Admission +ORDER BY p.Admission; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird446.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird446.sql new file mode 100644 index 00000000..20b419c3 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird446.sql @@ -0,0 +1,11 @@ +WITH latest_visit AS ( + SELECT ID, MAX("Date") AS visit_date + FROM Laboratory + GROUP BY ID +) +SELECT COUNT(DISTINCT CASE WHEN p.SEX = 'F' THEN p.ID END) + - COUNT(DISTINCT CASE WHEN p.SEX = 'M' THEN p.ID END) AS female_minus_male +FROM latest_visit AS v +JOIN Laboratory AS l ON l.ID = v.ID AND l."Date" = v.visit_date +JOIN Patient AS p ON p.ID = v.ID +WHERE CAST(l.RNP AS REAL) >= 32; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird447.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird447.sql new file mode 100644 index 00000000..edf09f38 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird447.sql @@ -0,0 +1,12 @@ +WITH ranked_measurements AS ( + SELECT l.RNP, l.CPK, + ROW_NUMBER() OVER (PARTITION BY l.ID ORDER BY l.Date DESC) AS rn + FROM Laboratory AS l + JOIN Patient AS p ON p.ID = l.ID + WHERE p.SEX = 'F' AND l.RNP IS NOT NULL +) +SELECT COUNT(*) AS patient_count +FROM ranked_measurements +WHERE rn = 1 + AND CAST(RNP AS INTEGER) > 64 + AND CPK < 250; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird448.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird448.sql new file mode 100644 index 00000000..b9d634d1 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird448.sql @@ -0,0 +1,15 @@ +WITH care_profiles AS ( + SELECT Admission, + ' ' || UPPER(REPLACE(REPLACE(Diagnosis, ',', ' '), CHAR(29), ' ')) || ' ' AS diagnosis_text + FROM Patient + WHERE Admission IN ('+', '-') +), +confirmed_sle AS ( + SELECT Admission + FROM care_profiles + WHERE INSTR(REPLACE(diagnosis_text, ' SLE SUSP ', ' '), ' SLE ') > 0 +) +SELECT COUNT(*) FILTER (WHERE Admission = '+') AS inpatient_count, + COUNT(*) FILTER (WHERE Admission = '-') AS outpatient_count, + ROUND(100.0 * COUNT(*) FILTER (WHERE Admission = '+') / NULLIF(COUNT(*), 0), 2) AS inpatient_percentage +FROM confirmed_sle; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird449.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird449.sql new file mode 100644 index 00000000..a9c5d438 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird449.sql @@ -0,0 +1,29 @@ +WITH protein_results AS ( + SELECT ID, TRIM("U-PRO") AS result + FROM Laboratory +), protein_amounts AS ( + SELECT ID, + TRIM(CASE + WHEN result GLOB '>=*' THEN SUBSTR(result, 3) + WHEN result GLOB '+[0-9](*)' THEN SUBSTR(result, 4, LENGTH(result) - 4) + ELSE result + END) AS amount + FROM protein_results +) +SELECT p.ID, p.SEX, p.Birthday +FROM Patient AS p +WHERE EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID AND l.LDH >= 500 +) +AND EXISTS ( + SELECT 1 + FROM protein_amounts AS u + WHERE u.ID = p.ID + AND u.amount GLOB '[0-9]*' + AND u.amount NOT GLOB '*[^0-9.]*' + AND u.amount NOT GLOB '*.*.*' + AND CAST(u.amount AS REAL) >= 100 +) +ORDER BY p.ID; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird450.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird450.sql new file mode 100644 index 00000000..2ab21c06 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird450.sql @@ -0,0 +1,10 @@ +SELECT p.SEX AS sex, COUNT(DISTINCT p.ID) AS patient_count +FROM Patient AS p +WHERE p.SEX IN ('F', 'M') + AND NOT EXISTS ( + SELECT 1 + FROM Examination AS e + WHERE e.ID = p.ID + ) +GROUP BY p.SEX +ORDER BY p.SEX; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird451.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird451.sql new file mode 100644 index 00000000..a15beb76 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird451.sql @@ -0,0 +1,6 @@ +SELECT COUNT(DISTINCT "ID") AS patient_count +FROM "Patient" +WHERE "SEX" = 'F' + AND "First Date" >= '1998-01-01' + AND "First Date" < '1999-01-01' + AND "Admission" LIKE '+%'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird452.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird452.sql new file mode 100644 index 00000000..a4ce6edf --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird452.sql @@ -0,0 +1,10 @@ +SELECT e."Symptoms", p."Diagnosis" AS "Overall Diagnosis" +FROM "Examination" AS e +JOIN "Patient" AS p ON p."ID" = e."ID" +WHERE NULLIF(TRIM(e."Symptoms"), '') IS NOT NULL + AND INSTR( + ',' || REPLACE(REPLACE(REPLACE(UPPER(e."Diagnosis"), ' ', ''), '+', ','), '->', ',') || ',', + ',SLE,' + ) > 0 +ORDER BY p."Birthday" DESC, p."ID" ASC, e."Examination Date" DESC +LIMIT 1; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird453.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird453.sql new file mode 100644 index 00000000..aa86e5fa --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird453.sql @@ -0,0 +1,7 @@ +SELECT "Diagnosis" +FROM "Patient" +WHERE "First Date" >= '1998-02-15' + AND "First Date" < '1998-03-01' + AND "Admission" LIKE '+%' +ORDER BY julianday("First Date") - julianday("Birthday") DESC, "ID" ASC +LIMIT 1; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird454.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird454.sql new file mode 100644 index 00000000..44fd7745 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird454.sql @@ -0,0 +1,5 @@ +SELECT ROUND(AVG("aCL IgM"), 1) AS average_acl_igm +FROM "Examination" +WHERE "Examination Date" >= '1993-10-01' + AND "Examination Date" < '1993-11-01' + AND INSTR(',' || REPLACE("Diagnosis", ' ', '') || ',', ',SLE,') > 0; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird455.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird455.sql new file mode 100644 index 00000000..0ba520e7 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird455.sql @@ -0,0 +1,3 @@ +SELECT COUNT(DISTINCT ID) AS patient_count +FROM Patient +WHERE Diagnosis COLLATE NOCASE = 'psoriatic arthritis'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird456.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird456.sql new file mode 100644 index 00000000..7f2f9652 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird456.sql @@ -0,0 +1,16 @@ +WITH sexes(code, sex) AS ( + VALUES ('M', 'Male'), ('F', 'Female') +) +SELECT s.sex, + ( + SELECT COUNT(DISTINCT p.ID) + FROM Patient AS p + WHERE p.SEX = s.code + AND NOT EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID AND l.GPT >= 60 + ) + ) AS patient_count +FROM sexes AS s +ORDER BY s.code DESC; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird457.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird457.sql new file mode 100644 index 00000000..51fda978 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird457.sql @@ -0,0 +1,21 @@ +WITH care_settings(admission) AS ( + VALUES ('+'), ('-') +), qualifying_patients AS ( + SELECT p.ID, + p.Admission, + 2026 - CAST(strftime('%Y', p.Birthday) AS INTEGER) + - (strftime('%m-%d', p.Birthday) > '10-09') AS completed_age + FROM Patient AS p + WHERE EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID AND l.RBC < 3.5 + ) +) +SELECT s.admission AS care_setting, + COUNT(p.ID) AS patient_count, + ROUND(AVG(p.completed_age), 1) AS average_completed_age +FROM care_settings AS s +LEFT JOIN qualifying_patients AS p ON p.Admission = s.admission +GROUP BY s.admission +ORDER BY s.admission; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird458.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird458.sql new file mode 100644 index 00000000..635314d0 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird458.sql @@ -0,0 +1,10 @@ +WITH sexes(sex) AS ( + VALUES ('F'), ('M') +) +SELECT s.sex, COUNT(DISTINCT p.ID) AS patient_count +FROM sexes AS s +LEFT JOIN Patient AS p + ON p.SEX = s.sex + AND EXISTS (SELECT 1 FROM Laboratory AS l WHERE l.ID = p.ID) +GROUP BY s.sex +ORDER BY s.sex; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird459.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird459.sql new file mode 100644 index 00000000..125719ae --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird459.sql @@ -0,0 +1,5 @@ +SELECT ROUND(AVG(NULLIF(e."aCL IgM", 0)), 2) AS average_anticardiolipin_igm +FROM Examination AS e +JOIN Patient AS p ON p.ID = e.ID +WHERE UPPER(p.Diagnosis) LIKE '%SJS%' + AND UPPER(p.Diagnosis) NOT LIKE '%SJS SUSP%'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird460.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird460.sql new file mode 100644 index 00000000..c8dcc6b5 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird460.sql @@ -0,0 +1,5 @@ +SELECT COUNT(DISTINCT p.ID) AS patient_count +FROM Patient AS p +JOIN Examination AS e ON e.ID = p.ID +WHERE p.SEX = 'F' + AND INSTR(',' || REPLACE(LOWER(TRIM(e.Diagnosis)), ', ', ',') || ',', ',sjs,') > 0; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird461.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird461.sql new file mode 100644 index 00000000..b8f17ed1 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird461.sql @@ -0,0 +1,9 @@ +SELECT COUNT(DISTINCT p.ID) AS patient_count +FROM Patient AS p +WHERE p.Admission = '-' + AND EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND l.RNP IN ('negative', '0') + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird462.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird462.sql new file mode 100644 index 00000000..21093040 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird462.sql @@ -0,0 +1,28 @@ +WITH proteinuria AS ( + SELECT ID, + CAST(CASE + WHEN TRIM("U-PRO") IN ('-', 'TR') THEN '0' + WHEN INSTR("U-PRO", '(') > 0 + THEN SUBSTR("U-PRO", INSTR("U-PRO", '(') + 1) + ELSE LTRIM("U-PRO", ' >=') + END AS REAL) AS mg_dl + FROM Laboratory +) +SELECT COUNT(DISTINCT e.ID) AS patient_count +FROM Examination AS e +WHERE e.Thrombosis = 0 + AND NOT EXISTS ( + SELECT 1 + FROM Examination AS other + WHERE other.ID = e.ID AND other.Thrombosis <> 0 + ) + AND EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = e.ID AND LOWER(TRIM(l.SM)) IN ('negative', '0') + ) + AND EXISTS ( + SELECT 1 + FROM proteinuria AS p + WHERE p.ID = e.ID AND p.mg_dl >= 30 + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird463.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird463.sql new file mode 100644 index 00000000..adc79c5c --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird463.sql @@ -0,0 +1,16 @@ +SELECT DISTINCT p.ID +FROM Patient AS p +WHERE p.Admission = '-' + AND EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND (l.RBC <= 3.5 OR l.RBC >= 6.0) + ) + AND EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND CAST(l.RNP AS REAL) > 0 + ) +ORDER BY p.ID; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird464.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird464.sql new file mode 100644 index 00000000..00e56848 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird464.sql @@ -0,0 +1,16 @@ +WITH patient_ages AS ( + SELECT + CAST(strftime('%Y', '2026-10-09') AS INTEGER) + - CAST(strftime('%Y', p.Birthday) AS INTEGER) + - (strftime('%m-%d', p.Birthday) > '10-09') AS age_years + FROM Patient AS p + WHERE EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND CAST(l.RNP AS REAL) >= 64 + ) +) +SELECT ROUND(AVG(age_years), 1) AS average_age +FROM patient_ages +WHERE age_years < 70; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird465.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird465.sql new file mode 100644 index 00000000..a8cdd271 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird465.sql @@ -0,0 +1,8 @@ +SELECT COUNT(DISTINCT p.ID) AS female_patient_count +FROM Patient AS p +JOIN Laboratory AS l ON l.ID = p.ID +WHERE p.SEX = 'F' + AND l.WBC > 3.5 + AND l.WBC < 9.0 + AND (l.FG <= 150 OR l.FG >= 450) + AND CAST(l.RNP AS REAL) > 15; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird466.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird466.sql new file mode 100644 index 00000000..77c765a4 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird466.sql @@ -0,0 +1,9 @@ +SELECT ROUND(100.0 * COUNT(CASE WHEN p.SEX = 'F' THEN 1 END) / NULLIF(COUNT(*), 0), 1) AS women_percentage +FROM Patient AS p +WHERE p.SEX IN ('F', 'M') + AND strftime('%Y', p.Birthday) BETWEEN '1936' AND '1956' + AND NOT EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID AND l.CPK >= 250 + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird467.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird467.sql new file mode 100644 index 00000000..59f4013f --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird467.sql @@ -0,0 +1,16 @@ +SELECT COUNT(DISTINCT p.ID) AS patient_count +FROM Patient AS p +JOIN Laboratory AS l ON l.ID = p.ID +WHERE date(l."Date") >= '1981-01-01' + AND date(l."Date") < '1987-01-01' + AND ( + CAST(strftime('%Y', l."Date") AS INTEGER) + - CAST(strftime('%Y', p.Birthday) AS INTEGER) + - (strftime('%m-%d', l."Date") < strftime('%m-%d', p.Birthday)) + ) < 50 + AND l.PLT BETWEEN 100 AND 400 + AND ( + UPPER(TRIM(l."U-PRO")) = 'TR' + OR TRIM(l."U-PRO") GLOB '%*%' + OR CAST(TRIM(l."U-PRO") AS REAL) > 0 + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird468.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird468.sql new file mode 100644 index 00000000..a2d2ada7 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird468.sql @@ -0,0 +1,13 @@ +SELECT ROUND(AVG(oxygen_count), 4) AS avg_oxygen_atoms_per_molecule +FROM ( + SELECT m.molecule_id, COUNT(a.atom_id) AS oxygen_count + FROM molecule AS m + LEFT JOIN atom AS a + ON a.molecule_id = m.molecule_id AND a.element = 'o' + WHERE EXISTS ( + SELECT 1 + FROM bond AS b + WHERE b.molecule_id = m.molecule_id AND b.bond_type = '-' + ) + GROUP BY m.molecule_id +) AS molecule_oxygen_counts; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird469.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird469.sql new file mode 100644 index 00000000..f31407ed --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird469.sql @@ -0,0 +1,14 @@ +WITH single_bond_counts AS ( + SELECT b.molecule_id, COUNT(*) AS single_bond_count + FROM bond AS b + WHERE b.bond_type = '-' + AND EXISTS ( + SELECT 1 + FROM molecule AS m + WHERE m.molecule_id = b.molecule_id + AND m.label = '+' + ) + GROUP BY b.molecule_id +) +SELECT AVG(single_bond_count) AS average_single_bonds_per_molecule +FROM single_bond_counts; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird470.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird470.sql new file mode 100644 index 00000000..64e4f51a --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird470.sql @@ -0,0 +1,10 @@ +WITH element_counts AS ( + SELECT a.element, COUNT(*) AS atom_count + FROM atom AS a + JOIN molecule AS m ON m.molecule_id = a.molecule_id + WHERE m.label = '-' + GROUP BY a.element +) +SELECT element +FROM element_counts +WHERE atom_count = (SELECT MIN(atom_count) FROM element_counts); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird471.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird471.sql new file mode 100644 index 00000000..a0343d99 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird471.sql @@ -0,0 +1,17 @@ +WITH single_bond_atoms AS ( + SELECT c.atom_id AS atom_id + FROM connected AS c + JOIN bond AS b ON b.bond_id = c.bond_id + WHERE b.bond_type = '-' + UNION + SELECT c.atom_id2 AS atom_id + FROM connected AS c + JOIN bond AS b ON b.bond_id = c.bond_id + WHERE b.bond_type = '-' +) +SELECT + COUNT(DISTINCT CASE WHEN a.element = 'i' THEN a.atom_id END) AS iodine_atoms, + COUNT(DISTINCT CASE WHEN a.element = 's' THEN a.atom_id END) AS sulfur_atoms +FROM atom AS a +JOIN single_bond_atoms AS s ON s.atom_id = a.atom_id +WHERE a.element IN ('i', 's'); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird472.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird472.sql new file mode 100644 index 00000000..26bc0d73 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird472.sql @@ -0,0 +1,7 @@ +SELECT ROUND(100.0 * COUNT(CASE WHEN NOT EXISTS ( + SELECT 1 + FROM atom AS a + WHERE a.molecule_id = m.molecule_id AND a.element = 'f' +) THEN 1 END) / COUNT(*), 2) AS percentage +FROM molecule AS m +WHERE m.label = '+'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird473.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird473.sql new file mode 100644 index 00000000..31ce3968 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird473.sql @@ -0,0 +1,12 @@ +WITH bond_counts AS ( + SELECT bond_type, COUNT(*) AS bond_count + FROM bond + WHERE molecule_id = 'TR010' + GROUP BY bond_type +) +SELECT bc.bond_type, + CASE m.label WHEN '+' THEN 'YES' WHEN '-' THEN 'NO' END AS carcinogenic +FROM molecule AS m +CROSS JOIN bond_counts AS bc +WHERE m.molecule_id = 'TR010' + AND bc.bond_count = (SELECT MAX(bond_count) FROM bond_counts); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird474.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird474.sql new file mode 100644 index 00000000..2e937f51 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird474.sql @@ -0,0 +1,7 @@ +SELECT DISTINCT b.bond_id +FROM bond AS b +JOIN connected AS c ON c.bond_id = b.bond_id +JOIN atom AS a1 ON a1.atom_id = c.atom_id +JOIN atom AS a2 ON a2.atom_id = c.atom_id2 +WHERE (a1.element = 'p' AND a2.element = 'n') + OR (a1.element = 'n' AND a2.element = 'p'); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird475.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird475.sql new file mode 100644 index 00000000..545cf115 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird475.sql @@ -0,0 +1,7 @@ +SELECT DISTINCT a.element +FROM atom AS a +WHERE NOT EXISTS ( + SELECT 1 + FROM connected AS c + WHERE c.atom_id = a.atom_id OR c.atom_id2 = a.atom_id +); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird476.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird476.sql new file mode 100644 index 00000000..7a88746d --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird476.sql @@ -0,0 +1,14 @@ +SELECT COUNT(*) AS atom_count +FROM atom AS a +WHERE EXISTS ( + SELECT 1 + FROM bond AS b + WHERE b.molecule_id = a.molecule_id + AND b.bond_type = '#' +) +AND EXISTS ( + SELECT 1 + FROM atom AS pb + WHERE pb.molecule_id = a.molecule_id + AND pb.element IN ('p', 'br') +); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird477.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird477.sql new file mode 100644 index 00000000..c1daa4c7 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird477.sql @@ -0,0 +1,8 @@ +SELECT ROUND(100.0 * COUNT(CASE WHEN a.element = 'cl' THEN 1 END) / COUNT(*), 4) AS chlorine_percentage +FROM atom AS a +WHERE EXISTS ( + SELECT 1 + FROM bond AS b + WHERE b.molecule_id = a.molecule_id + AND b.bond_type = '-' +); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird478.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird478.sql new file mode 100644 index 00000000..4147d570 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird478.sql @@ -0,0 +1,9 @@ +SELECT ( + SELECT 1.0 * COUNT(CASE WHEN a.element = 'h' THEN 1 END) + / NULLIF(COUNT(*), 0) + FROM atom AS a + WHERE a.molecule_id = m.molecule_id +) AS hydrogen_fraction, + m.label AS carcinogenicity_label +FROM molecule AS m +WHERE m.molecule_id = 'TR006'; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird479.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird479.sql new file mode 100644 index 00000000..967cdd2f --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird479.sql @@ -0,0 +1,15 @@ +WITH classified AS ( + SELECT m.label, + NOT EXISTS ( + SELECT 1 + FROM bond AS b + WHERE b.molecule_id = m.molecule_id + AND b.bond_type IS NOT '-' + ) AS all_single_bonds + FROM molecule AS m +) +SELECT COUNT(*) FILTER (WHERE all_single_bonds AND label = '+') + - COUNT(*) FILTER (WHERE all_single_bonds AND label = '-') AS all_single_bond_difference, + COUNT(*) FILTER (WHERE NOT all_single_bonds AND label = '+') + - COUNT(*) FILTER (WHERE NOT all_single_bonds AND label = '-') AS other_molecule_difference +FROM classified; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird480.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird480.sql new file mode 100644 index 00000000..e9ce5d54 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird480.sql @@ -0,0 +1,15 @@ +SELECT COUNT(*) AS carbon_carbon_double_bond_pairs +FROM ( + SELECT DISTINCT m.molecule_id, + MIN(c.atom_id, c.atom_id2) AS atom_lo, + MAX(c.atom_id, c.atom_id2) AS atom_hi + FROM molecule AS m + JOIN bond AS b ON b.molecule_id = m.molecule_id + JOIN connected AS c ON c.bond_id = b.bond_id + JOIN atom AS a1 ON a1.atom_id = c.atom_id AND a1.molecule_id = m.molecule_id + JOIN atom AS a2 ON a2.atom_id = c.atom_id2 AND a2.molecule_id = m.molecule_id + WHERE m.label = '+' + AND b.bond_type = '=' + AND a1.element = 'c' + AND a2.element = 'c' +) AS pairs; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird481.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird481.sql new file mode 100644 index 00000000..c1272005 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird481.sql @@ -0,0 +1,30 @@ +WITH positive_atoms AS ( + SELECT a.atom_id, a.element + FROM atom AS a + WHERE EXISTS ( + SELECT 1 + FROM molecule AS m + WHERE m.molecule_id = a.molecule_id AND m.label = '+' + ) +), bonded_atom_ids AS ( + SELECT c.atom_id + FROM connected AS c + JOIN bond AS b ON b.bond_id = c.bond_id + UNION + SELECT c.atom_id2 + FROM connected AS c + JOIN bond AS b ON b.bond_id = c.bond_id +), element_counts AS ( + SELECT p.element, + COUNT(*) AS atom_count, + COUNT(b.atom_id) AS bonded_atom_count + FROM positive_atoms AS p + LEFT JOIN bonded_atom_ids AS b ON b.atom_id = p.atom_id + GROUP BY p.element +) +SELECT element, + ROUND(100.0 * atom_count / (SELECT SUM(atom_count) FROM element_counts), 2) AS percentage +FROM element_counts +WHERE bonded_atom_count > 0 + AND bonded_atom_count = (SELECT MAX(bonded_atom_count) FROM element_counts) +ORDER BY element; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird482.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird482.sql new file mode 100644 index 00000000..70a982ac --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird482.sql @@ -0,0 +1,16 @@ +SELECT + m.molecule_id, + CASE m.label WHEN '+' THEN 'YES' WHEN '-' THEN 'NO' END AS carcinogenic, + ( + SELECT COUNT(*) + FROM bond AS b + WHERE b.molecule_id = m.molecule_id + AND b.bond_type IN ('=', '#') + ) AS multiple_bond_count +FROM molecule AS m +WHERE EXISTS ( + SELECT 1 + FROM atom AS a + WHERE a.atom_id = 'TR041_10' + AND a.molecule_id = m.molecule_id +); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird483.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird483.sql new file mode 100644 index 00000000..cb47fbdd --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird483.sql @@ -0,0 +1,22 @@ +WITH bond_types(bond_type, sort_order) AS ( + VALUES ('-', 1), ('=', 2), ('#', 3) +), carcinogenic_carbon_bonds AS ( + SELECT b.bond_id, b.bond_type + FROM bond AS b + JOIN molecule AS m ON m.molecule_id = b.molecule_id + WHERE m.label = '+' + AND EXISTS ( + SELECT 1 + FROM connected AS c + JOIN atom AS a1 ON a1.atom_id = c.atom_id + JOIN atom AS a2 ON a2.atom_id = c.atom_id2 + WHERE c.bond_id = b.bond_id + AND a1.element = 'c' + AND a2.element = 'c' + ) +) +SELECT t.bond_type, COUNT(b.bond_id) AS bond_count +FROM bond_types AS t +LEFT JOIN carcinogenic_carbon_bonds AS b ON b.bond_type = t.bond_type +GROUP BY t.bond_type, t.sort_order +ORDER BY t.sort_order; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird484.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird484.sql new file mode 100644 index 00000000..a1c42754 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird484.sql @@ -0,0 +1,14 @@ +WITH chlorine_neighbors AS ( + SELECT c.atom_id2 AS atom_id + FROM connected AS c + JOIN atom AS a ON a.atom_id = c.atom_id + WHERE a.element = 'cl' + UNION + SELECT c.atom_id AS atom_id + FROM connected AS c + JOIN atom AS a ON a.atom_id = c.atom_id2 + WHERE a.element = 'cl' +) +SELECT COUNT(*) AS atom_count +FROM atom AS a +JOIN chlorine_neighbors AS n ON n.atom_id = a.atom_id; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird485.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird485.sql new file mode 100644 index 00000000..cc62e29d --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird485.sql @@ -0,0 +1,16 @@ +WITH sulfur_atoms AS ( + SELECT a.atom_id + FROM atom AS a + JOIN molecule AS m ON m.molecule_id = a.molecule_id + WHERE a.element = 's' AND m.label = '+' +), bonded_atoms AS ( + SELECT c.atom_id2 AS atom_id + FROM connected AS c + JOIN sulfur_atoms AS s ON s.atom_id = c.atom_id + UNION + SELECT c.atom_id + FROM connected AS c + JOIN sulfur_atoms AS s ON s.atom_id = c.atom_id2 +) +SELECT COUNT(*) AS atom_count +FROM bonded_atoms; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird486.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird486.sql new file mode 100644 index 00000000..ae71dafc --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird486.sql @@ -0,0 +1,16 @@ +WITH unique_elements AS ( + SELECT MIN(molecule_id) AS molecule_id + FROM atom + WHERE element IS NOT NULL + GROUP BY element + HAVING COUNT(DISTINCT molecule_id) = 1 +) +SELECT b.bond_id, b.molecule_id +FROM bond AS b +JOIN molecule AS m ON m.molecule_id = b.molecule_id +WHERE m.label = '+' + AND EXISTS ( + SELECT 1 + FROM unique_elements AS u + WHERE u.molecule_id = b.molecule_id + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird487.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird487.sql new file mode 100644 index 00000000..f1fc0230 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird487.sql @@ -0,0 +1,17 @@ +SELECT COUNT(DISTINCT m.molecule_id) AS molecule_count +FROM molecule AS m +WHERE EXISTS ( + SELECT 1 + FROM atom AS a + WHERE a.molecule_id = m.molecule_id + AND a.element = 'n' +) +AND NOT EXISTS ( + SELECT 1 + FROM atom AS a + JOIN connected AS c ON a.atom_id IN (c.atom_id, c.atom_id2) + JOIN bond AS b ON b.bond_id = c.bond_id + WHERE a.molecule_id = m.molecule_id + AND a.element = 'n' + AND b.bond_type IN ('=', '#') +); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird488.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird488.sql new file mode 100644 index 00000000..4561b6bf --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird488.sql @@ -0,0 +1,13 @@ +WITH chlorine_neighbors AS ( + SELECT c.atom_id2 AS atom_id + FROM connected AS c + JOIN atom AS a ON a.atom_id = c.atom_id + WHERE a.element = 'cl' + UNION + SELECT c.atom_id AS atom_id + FROM connected AS c + JOIN atom AS a ON a.atom_id = c.atom_id2 + WHERE a.element = 'cl' +) +SELECT COUNT(*) AS atom_count +FROM chlorine_neighbors; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird489.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird489.sql new file mode 100644 index 00000000..dcdde674 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird489.sql @@ -0,0 +1,11 @@ +SELECT + ROUND(100.0 * COUNT(CASE WHEN m.label = '+' THEN 1 END) / COUNT(*), 2) AS carcinogenic_percent, + ROUND(100.0 * COUNT(CASE WHEN m.label = '-' THEN 1 END) / COUNT(*), 2) AS non_carcinogenic_percent +FROM molecule AS m +WHERE m.label IN ('+', '-') + AND EXISTS ( + SELECT 1 + FROM bond AS b + WHERE b.molecule_id = m.molecule_id + AND b.bond_type = '#' + ); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird490.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird490.sql new file mode 100644 index 00000000..4f35b140 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird490.sql @@ -0,0 +1,16 @@ +WITH rare_elements AS ( + SELECT element + FROM atom + WHERE element IS NOT NULL + GROUP BY element + HAVING COUNT(DISTINCT molecule_id) = 1 +) +SELECT m.molecule_id, COUNT(DISTINCT b.bond_id) AS bond_count +FROM molecule AS m +JOIN atom AS a ON a.molecule_id = m.molecule_id +JOIN rare_elements AS r ON r.element = a.element +LEFT JOIN connected AS c ON c.atom_id = a.atom_id OR c.atom_id2 = a.atom_id +LEFT JOIN bond AS b ON b.bond_id = c.bond_id AND b.molecule_id = m.molecule_id +WHERE m.label = '+' +GROUP BY m.molecule_id +ORDER BY m.molecule_id; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird491.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird491.sql new file mode 100644 index 00000000..c5eb2d85 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird491.sql @@ -0,0 +1,40 @@ +WITH atom_counts AS ( + SELECT molecule_id, + COUNT(*) AS atom_count, + COUNT(CASE WHEN element = 'c' THEN 1 END) AS carbon_atom_count, + COUNT(CASE WHEN element = 'cl' THEN 1 END) AS chlorine_atom_count + FROM atom + GROUP BY molecule_id + HAVING COUNT(CASE WHEN element = 'c' THEN 1 END) > 0 +), carbon_bonds AS ( + SELECT DISTINCT c.bond_id + FROM connected AS c + JOIN atom AS a + ON a.atom_id IN (c.atom_id, c.atom_id2) + WHERE a.element = 'c' +), bond_counts AS ( + SELECT b.molecule_id, + COUNT(*) AS bond_count, + COUNT(cb.bond_id) AS carbon_touching_bond_count, + COUNT(CASE WHEN b.bond_type IN ('=', '#') THEN 1 END) AS multiple_bond_count + FROM bond AS b + LEFT JOIN carbon_bonds AS cb ON cb.bond_id = b.bond_id + GROUP BY b.molecule_id +) +SELECT ROW_NUMBER() OVER ( + ORDER BY COALESCE(bc.carbon_touching_bond_count, 0) DESC, + ac.atom_count DESC, + m.molecule_id ASC + ) AS rank_position, + m.molecule_id, + m.label AS carcinogenicity_label, + ac.atom_count, + COALESCE(bc.bond_count, 0) AS bond_count, + ac.carbon_atom_count, + ac.chlorine_atom_count, + COALESCE(bc.carbon_touching_bond_count, 0) AS carbon_touching_bond_count, + COALESCE(bc.multiple_bond_count, 0) AS multiple_bond_count +FROM molecule AS m +JOIN atom_counts AS ac ON ac.molecule_id = m.molecule_id +LEFT JOIN bond_counts AS bc ON bc.molecule_id = m.molecule_id +ORDER BY rank_position; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird492.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird492.sql new file mode 100644 index 00000000..560766fa --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird492.sql @@ -0,0 +1,15 @@ +SELECT COUNT(DISTINCT b.bond_id) AS hydrogen_bond_count +FROM bond AS b +WHERE EXISTS ( + SELECT 1 + FROM atom AS y + WHERE y.molecule_id = b.molecule_id AND y.element = 'y' +) +AND EXISTS ( + SELECT 1 + FROM connected AS c + JOIN atom AS h ON h.atom_id IN (c.atom_id, c.atom_id2) + WHERE c.bond_id = b.bond_id + AND h.molecule_id = b.molecule_id + AND h.element = 'h' +); diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird493.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird493.sql new file mode 100644 index 00000000..b6179818 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird493.sql @@ -0,0 +1,19 @@ +WITH bond_endpoints AS ( + SELECT c.atom_id, c.bond_id + FROM connected AS c + JOIN bond AS b ON b.bond_id = c.bond_id + WHERE b.molecule_id = 'TR397' + UNION + SELECT c.atom_id2 AS atom_id, c.bond_id + FROM connected AS c + JOIN bond AS b ON b.bond_id = c.bond_id + WHERE b.molecule_id = 'TR397' +), atom_degrees AS ( + SELECT COUNT(e.bond_id) AS bond_count + FROM atom AS a + LEFT JOIN bond_endpoints AS e ON e.atom_id = a.atom_id + WHERE a.molecule_id = 'TR397' + GROUP BY a.atom_id +) +SELECT ROUND(AVG(bond_count), 2) AS average_bonds_per_atom +FROM atom_degrees; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird494.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird494.sql new file mode 100644 index 00000000..75cbbafc --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird494.sql @@ -0,0 +1,20 @@ +WITH noncarcinogenic_atoms AS ( + SELECT a.atom_id, a.molecule_id, a.element + FROM atom AS a + JOIN molecule AS m ON m.molecule_id = a.molecule_id + WHERE m.label = '-' +), qualifying_bonds AS ( + SELECT DISTINCT b.molecule_id, b.bond_id, + CASE WHEN a1.element = 'c' THEN a2.element ELSE a1.element END AS element + FROM bond AS b + JOIN connected AS c ON c.bond_id = b.bond_id + JOIN noncarcinogenic_atoms AS a1 ON a1.atom_id = c.atom_id AND a1.molecule_id = b.molecule_id + JOIN noncarcinogenic_atoms AS a2 ON a2.atom_id = c.atom_id2 AND a2.molecule_id = b.molecule_id + WHERE b.bond_type IN ('=', '#') + AND (a1.element = 'c' OR a2.element = 'c') +) +SELECT e.element, COUNT(q.bond_id) AS bond_count +FROM (SELECT DISTINCT element FROM noncarcinogenic_atoms) AS e +LEFT JOIN qualifying_bonds AS q ON q.element = e.element +GROUP BY e.element +ORDER BY e.element; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird495.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird495.sql new file mode 100644 index 00000000..38df8c5f --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird495.sql @@ -0,0 +1,23 @@ +WITH molecule_bonds AS ( + SELECT b.bond_id, b.molecule_id, b.bond_type, m.label + FROM bond AS b + JOIN molecule AS m ON m.molecule_id = b.molecule_id + WHERE m.molecule_id = 'TR377' + AND b.bond_type IN ('-', '=') +), element_pairs AS ( + SELECT DISTINCT mb.bond_type, + MIN(a1.element, a2.element) AS element_1, + MAX(a1.element, a2.element) AS element_2 + FROM molecule_bonds AS mb + JOIN connected AS c ON c.bond_id = mb.bond_id + JOIN atom AS a1 ON a1.atom_id = c.atom_id AND a1.molecule_id = mb.molecule_id + JOIN atom AS a2 ON a2.atom_id = c.atom_id2 AND a2.molecule_id = mb.molecule_id + WHERE a1.element IS NOT NULL AND a2.element IS NOT NULL +) +SELECT mb.bond_type AS bond_kind, + COUNT(DISTINCT mb.bond_id) AS bond_count, + (SELECT COUNT(*) FROM element_pairs AS ep WHERE ep.bond_type = mb.bond_type) AS element_pair_count, + mb.label AS carcinogenicity_label +FROM molecule_bonds AS mb +GROUP BY mb.bond_type, mb.label +ORDER BY bond_count DESC, bond_kind ASC; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird496.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird496.sql new file mode 100644 index 00000000..bffaea3e --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird496.sql @@ -0,0 +1,17 @@ +SELECT DISTINCT m.molecule_id +FROM molecule AS m +WHERE m.label = '-' + AND EXISTS ( + SELECT 1 + FROM atom AS a + WHERE a.molecule_id = m.molecule_id + AND a.element IN ('na', 'k', 'ca', 'cu', 'zn', 'sn', 'pb', 'mg', 'li') + ) + AND EXISTS ( + SELECT 1 + FROM bond AS b + WHERE b.molecule_id = m.molecule_id + AND b.bond_type = '-' + ) +ORDER BY m.molecule_id ASC +LIMIT 3; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird497.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird497.sql new file mode 100644 index 00000000..a18ce94e --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird497.sql @@ -0,0 +1,17 @@ +WITH incident_bonds AS ( + SELECT atom_id, bond_id FROM connected + UNION ALL + SELECT atom_id2 AS atom_id, bond_id FROM connected +), single_bond_atoms AS ( + SELECT i.atom_id + FROM incident_bonds AS i + JOIN bond AS b ON b.bond_id = i.bond_id + GROUP BY i.atom_id + HAVING MIN(CASE WHEN b.bond_type = '-' THEN 1 ELSE 0 END) = 1 +) +SELECT a.element AS element_symbol, + COUNT(s.atom_id) AS atom_count +FROM atom AS a +LEFT JOIN single_bond_atoms AS s ON s.atom_id = a.atom_id +GROUP BY a.element +ORDER BY a.element; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird498.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird498.sql new file mode 100644 index 00000000..444a7551 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird498.sql @@ -0,0 +1,14 @@ +WITH triple_bond_elements AS ( + SELECT DISTINCT a.element + FROM bond AS b + JOIN connected AS c ON c.bond_id = b.bond_id + JOIN atom AS a ON a.atom_id IN (c.atom_id, c.atom_id2) + WHERE b.bond_type = '#' +) +SELECT a.element AS element_symbol, + COUNT(DISTINCT m.molecule_id) AS molecule_count +FROM triple_bond_elements AS t +JOIN atom AS a ON a.element = t.element +JOIN molecule AS m ON m.molecule_id = a.molecule_id +GROUP BY a.element +ORDER BY molecule_count DESC, element_symbol ASC; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird499.sql b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird499.sql new file mode 100644 index 00000000..19f0ac22 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/sql/bird499.sql @@ -0,0 +1,11 @@ +SELECT a.element, + COUNT(DISTINCT CASE WHEN EXISTS ( + SELECT 1 + FROM connected AS c + JOIN bond AS b ON b.bond_id = c.bond_id + WHERE c.atom_id = a.atom_id OR c.atom_id2 = a.atom_id + ) THEN a.atom_id END) AS bonded_atom_count +FROM atom AS a +WHERE a.molecule_id = 'TR397' +GROUP BY a.element +ORDER BY a.element; diff --git a/bench/accuracy/results/bird-all-final/gpt62-sol/status.json b/bench/accuracy/results/bird-all-final/gpt62-sol/status.json new file mode 100644 index 00000000..1666fe07 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/gpt62-sol/status.json @@ -0,0 +1 @@ +{"status": "completed", "wall_seconds": 2571.755609415937} \ No newline at end of file diff --git a/bench/accuracy/results/bird-all-final/manifest.json b/bench/accuracy/results/bird-all-final/manifest.json new file mode 100644 index 00000000..b769d82e --- /dev/null +++ b/bench/accuracy/results/bird-all-final/manifest.json @@ -0,0 +1,3527 @@ +{ + "benchmark": "BIRD Mini-Dev SQLite 500 (2026-10-25)", + "upstream_commit": "5b256b5a9c17478f06ed6912612e9a14d17065c8", + "question_file_sha256": "926af2a0d1b47e5d0d15a7aa8a34d4721007f4550a881555b6a89496b54a2606", + "evaluator_sha256": "da1bbcd4530be83692d7c650c814ea9704bb710d0c953eb75d02ccb38233cf89", + "cases": [ + { + "instance_id": "bird024", + "db": "california_schools", + "question": "We're relocating to far Northern California and want to know how far north California's middle schools reach. A middle school means a school serving the middle grades, the level between elementary school and high school \u2014 count it as a middle school if either its school type or its school name marks it as serving the middle grades, so a junior high school whose name says 'Middle' counts. Include both open and closed schools. Please tell me which middle school is located furthest north in California, along with its school type (the value of the field named 'School Type'), its school name, and its latitude in degrees. If several middle schools tie for the highest latitude, list all of them.", + "evidence": "middle school: a school serving the middle grades, the level between elementary school and high school" + }, + { + "instance_id": "bird036", + "db": "california_schools", + "question": "I'm putting together a profile of Alameda County high schools, focusing on economic disadvantage among schools that serve up through 12th grade. Among those schools, can you tell me which one has the highest free meal rate? For each school you identify, give me one line with: the school name, its free meal rate to 4 decimal places, whether it is a charter school (Yes/No/Unknown), the grades it serves, and its SAT performance level (Below Average, Average, Above Average, or No SAT Data). Please use the school's grade span of enrollment from the school directory (the GSserved field of the schools table) both to decide whether it serves up through 12th grade and for the grades-it-serves column-do not use the free-meal program record's Low Grade/High Grade for either. If several schools tie for the highest free meal rate, list every one of them.", + "evidence": "Free meal rate = Free Meal Count (K-12) / Enrollment (K-12). SAT performance level is based on the SAT total (Reading + Math + Writing): Below Average if below 1200, Average if 1200 to 1500, Above Average if above 1500, and 'No SAT Data' if no SAT scores are available." + }, + { + "instance_id": "bird058", + "db": "card_games", + "question": "Among card printings with no recorded power value or a variable power expression, what percentage have a French translation? Round to two decimals.", + "evidence": "An asterisk anywhere in a power expression denotes variable power." + }, + { + "instance_id": "bird064", + "db": "card_games", + "question": "How many black-border cards with power 10 or greater are available on Magic: The Gathering Online? I just want a single number.", + "evidence": "Black-border cards are the tournament-legal Magic cards, excluding the joke silver-bordered sets. Power is the first number in the lower-right corner of a creature card." + }, + { + "instance_id": "bird087", + "db": "card_games", + "question": "I'm compiling the official rulings archive for the Magic: The Gathering card Fireball. How many official rulings have ever been issued for Fireball? I need the total across all time, with no date restriction.", + "evidence": "A ruling is an official clarification issued by Wizards of the Coast about how a card works." + }, + { + "instance_id": "bird146", + "db": "codebase_community", + "question": "For each month of 2010, how many posts that have no more than two answers received a link during that month? A month with none counts as zero. Give me the average across all twelve months of 2010, rounded to two decimals.", + "evidence": "A link is a recorded connection that associates one post with another post of the site." + }, + { + "instance_id": "bird152", + "db": "debit_card_specializing", + "question": "How many customers who pay in EUR and had gas consumption in 2012 also had gas consumption in 2013? I just need a single number: the count of such customers. By 2012 and 2013 I mean those calendar years, and gas consumption in any month of the year counts.", + "evidence": "" + }, + { + "instance_id": "bird179", + "db": "european_football_2", + "question": "I'm putting together a participation report for the 2015/2016 season. For every player whose name starts with Adam and who weighs more than 170, I need the number of matches he played during that season. Please return, one row per qualifying player, the player's name and his number of matches played in the 2015/2016 season, and nothing else. The season I mean is the one labeled '2015/2016'.", + "evidence": "Played a match means being named in that match's lineup, for either the home or the away team." + }, + { + "instance_id": "bird229", + "db": "financial", + "question": "I'm closing the 1998 books for client 2823's account and need to reconcile the interest. What was the net interest on that account for calendar year 1998 (1 January through 31 December 1998) \u2013 interest credited minus penalty interest charged, with penalty interest entering as negative \u2013 as a single exact amount in CZK, not rounded? Please include everything credited or charged over the year; the client's account is one account, regardless of the disposition it carries.", + "evidence": "'UROK' is the bank's code for interest credited to an account; penalty (sanction) interest charged to an account uses the bank's sanction-interest code, which is built on the same interest code." + }, + { + "instance_id": "bird249", + "db": "formula_1", + "question": "Which 20 drivers recorded the shortest single lap times in Formula 1 races? Give their full names, shortest lap first.", + "evidence": "" + }, + { + "instance_id": "bird260", + "db": "formula_1", + "question": "For the 2017 Italian Grand Prix, I'd like to identify the drivers who completed the second qualifying session (Q2) but were knocked out and did not reach Q3. Please list every such driver - no ranking, cutoff or tie-break, just all of them - showing each driver's reference name, nationality and birthday, and nothing else.", + "evidence": "Formula 1 qualifying is run in three timed sessions, Q1, Q2 and Q3; completing a session means the driver recorded a lap time in that session, and only drivers who complete a session move on to the next. The reference name is the driver's short identifier." + }, + { + "instance_id": "bird353", + "db": "superhero", + "question": "Hey, following up on my count of the God / Eternal heroes \u2013 among those who are male, what's the average number of superpowers per hero? Just give me the average rounded to two decimal places.", + "evidence": "A superpower is any power linked to a hero." + }, + { + "instance_id": "bird379", + "db": "superhero", + "question": "What percentage of Marvel Comics superheroes with a recorded superpower are classified as good? Round the percentage to two decimal places, and give me just that single value.", + "evidence": "Good means alignment 'Good'; superpower refers to a hero's recorded power." + }, + { + "instance_id": "bird389", + "db": "thrombosis_prediction", + "question": "How many distinct female patients have a normal anti-Scl-70 result and no recorded non-null symptom on any examination?", + "evidence": "Normal anti-Scl-70 is recorded as 'negative' or '0'." + }, + { + "instance_id": "bird423", + "db": "thrombosis_prediction", + "question": "I'd like to know how many patients on record have both an abnormal anti-SSA antibody result and a positive proteinuria finding at some point in their record. Abnormal anti-SSA means any recorded test result other than negative or zero. Proteinuria counts as positive if any urine test on file returned a result other than negative or none. The two findings don't need to come from the same visit \u2013 I'm looking across each patient's entire record. Please just give me the number of such patients.", + "evidence": "anti-SSA: anti-SSA antibody laboratory test; proteinuria: protein found in the urine" + }, + { + "instance_id": "bird429", + "db": "thrombosis_prediction", + "question": "I'm screening our thrombosis cohort for a study and need an eligibility count. How many patients born after 1980-01-01 had at least one abnormal fibrinogen result or at least one severe proteinuria result? A fibrinogen result is abnormal if it's below 150 or above 450; the normal range 150-450 is inclusive. Severe proteinuria means 300 mg/dl or more on the urinalysis scale, i.e., dipstick 3+ or 4+; trace, 1+ and 2+ are not severe. I just need the single count, nothing else.", + "evidence": "Urinalysis protein scale: '-' and '0' mean no protein, 'TR' means trace, grades '1','2','3','4' mean 1+ to 4+, where 3+ is about 300 mg/dl and 4+ about 1000 mg/dl or more; a plain number is a reading in mg/dl, and a '>=' prefix means 'or more'." + }, + { + "instance_id": "bird449", + "db": "thrombosis_prediction", + "question": "I'm putting together a renal-involvement review. Could you pull the demographics of patients who show both marked tissue damage and clinically significant proteinuria? Specifically, I need the patient ID, sex, and birthday of every patient who has at least one LDH result of 500 or higher and at least one urinary protein result of 100 mg/dL or more. A few details: an LDH of exactly 500 counts, and a urinary protein of exactly 100 mg/dL counts. The qualifying LDH and the qualifying urinary protein don't have to come from the same lab visit. Please give me one row per patient, ordered by patient ID, and nothing beyond those three fields.", + "evidence": "Urinary protein is reported in mg/dL; a dipstick grade may carry the equivalent concentration in mg/dL in parentheses, e.g. '+2(100)' is 100 mg/dL. A result written as '>=' followed by a value means at least that many mg/dL, e.g. '>=300' is 300 mg/dL or more. 'TR' means a trace and '-' means none detected; any other marker is not a quantified mg/dL concentration. An LDH of 500 or higher is outside the normal range." + }, + { + "instance_id": "bird451", + "db": "thrombosis_prediction", + "question": "I need the number of female patients whose first visit to the hospital fell in 1998 (1 January 1998 through 31 December 1998) and who were admitted to the hospital. Only count patients whose sex is recorded as female; if there is no sex entry, don't count them.", + "evidence": "An admission mark beginning with a plus sign means the patient was admitted to the hospital; a minus sign means the patient was followed at the outpatient clinic." + }, + { + "instance_id": "bird459", + "db": "thrombosis_prediction", + "question": "I'm studying antiphospholipid antibodies in Sj\u00f6gren's syndrome (SJS). Could you tell me the average anti-cardiolipin IgM concentration among SJS patients, rounded to two decimal places? To clarify: use only patients with an established SJS diagnosis recorded at the patient level (a diagnosis marked 'susp', such as 'SJS susp', is only a suspicion and those patients should not be included). Include every examination recorded for these patients regardless of date. A recorded anti-cardiolipin IgM value of 0 means the antibody was not detected at that examination, so treat it as no measurement and leave it out of the average - count only examinations where a concentration was detected.", + "evidence": "SJS is the abbreviation used for Sj\u00f6gren's syndrome; a diagnosis marked 'susp' (e.g. 'SJS susp') is only a suspicion of the disease, not an established diagnosis." + }, + { + "instance_id": "bird470", + "db": "toxicology", + "question": "Which elements have the fewest atom occurrences across non-carcinogenic molecules? Include all elements tied for the minimum.", + "evidence": "A '-' carcinogenicity label means non-carcinogenic." + }, + { + "instance_id": "bird000", + "db": "california_schools", + "question": "Among schools with a school-level SAT excellence rate above 0.3, what is the highest ages-5-17 free-meal eligibility rate?", + "evidence": "SAT excellence rate is the share of test takers scoring at least 1500." + }, + { + "instance_id": "bird001", + "db": "california_schools", + "question": "For locally funded schools whose K-12 minus ages-5-17 enrollment difference exceeds the average such difference among locally funded schools, list each school's directory-listed name and DOC type.", + "evidence": "" + }, + { + "instance_id": "bird002", + "db": "california_schools", + "question": "For the five schools with ownership code 66 and the largest K-12 free-or-reduced-price meal counts, give each school's K-12 eligible meal rate rounded to six decimal places.", + "evidence": "" + }, + { + "instance_id": "bird003", + "db": "california_schools", + "question": "What is the ratio of merged Unified School District schools in Orange County to merged Elementary School District schools?", + "evidence": "" + }, + { + "instance_id": "bird004", + "db": "california_schools", + "question": "What are the mailing street address and name of the school with the seventh-highest recorded average mathematics score?", + "evidence": "" + }, + { + "instance_id": "bird005", + "db": "california_schools", + "question": "How many non-charter schools in Los Angeles County have a K-12 free-meal percentage below 0.18%?", + "evidence": "" + }, + { + "instance_id": "bird006", + "db": "california_schools", + "question": "Which schools served a grade span of Kindergarten to 9th grade in the county of Los Angeles and what is its Percent (%) Eligible FRPM (Ages 5-17)?", + "evidence": "FRPM eligibility percentage is free-or-reduced-price meal recipients divided by same-age-band enrollment, times 100." + }, + { + "instance_id": "bird007", + "db": "california_schools", + "question": "What is the Percent (%) Eligible Free (K-12) in the school administered by an administrator whose first name is Alusine. List the district code of the school.", + "evidence": "K-12 free-meal eligibility percentage is K-12 free-meal recipients divided by K-12 enrollment, times 100." + }, + { + "instance_id": "bird008", + "db": "california_schools", + "question": "List the distinct available administrator email addresses for public intermediate/middle schools in San Bernardino city and county, in a unified school district, opened during 2009 or 2010.", + "evidence": "" + }, + { + "instance_id": "bird009", + "db": "california_schools", + "question": "I'm comparing three high schools in Alameda County and want to focus on the one with the biggest student body. The schools have these CDS codes: 1751010130583, 1612910137588, and 1611760134270. Which of these three schools has the highest enrollment of students aged 5-17? Please give me the 5-digit NCES school identification number for that school. If two or more of them tie for the highest enrollment, give me the NCES identification number of each tied school.", + "evidence": "NCES school identification number: the 5-digit school-level NCES identifier. Enrollment (Ages 5-17): the number of students aged 5 through 17 enrolled at the school." + }, + { + "instance_id": "bird010", + "db": "california_schools", + "question": "I'm profiling the High Tech High charter network in San Diego. For charter number 756, what is the average number of SAT test takers per school across all of its schools with a San Diego mailing city? Count every school regardless of operational status, and treat a school with no SAT record as having zero test takers. Round the average to two decimals.", + "evidence": "Charter number 756 is the state-issued charter number." + }, + { + "instance_id": "bird011", + "db": "california_schools", + "question": "Following up on the SAT participation review: among the currently operating high schools in the district with NCES identification number 0613360 that had no SAT test takers, which one begins serving students at the earliest grade? Please give me each such school's name and grade span served. Note that a high school must actually enroll students through grade 12-offering grade 12 without enrollment doesn't count. A school with no SAT record counts as having zero SAT test takers and should be included; only exclude schools with a positive number of SAT test takers. Compare starting grades as school grades-preschool comes before kindergarten, which comes before grade 1-and use the lowest grade the school actually serves, not just what it offers. If several schools tie at the earliest grade, list them all alphabetically by school name.", + "evidence": "NCES identification number 0613360 is the school district identification number assigned by the National Center for Education Statistics." + }, + { + "instance_id": "bird012", + "db": "california_schools", + "question": "I'm profiling schools run directly by the California State Board of Education. Which of those schools has the highest average SAT reading score? If several tie for the highest, give me all of them. For each school, I need its name and its full mailing street address - the complete address, not an abbreviated one. Only include schools the State Board runs directly, and the score must be the school's own result, not a district-wide figure.", + "evidence": "State Board of Education: the state authority that directly runs and oversees certain California schools." + }, + { + "instance_id": "bird013", + "db": "california_schools", + "question": "I'm trying to verify where a school I was told about is located. It's a high school in Alameda County with Breakfast Provision 2 status, serving grades 9 through 12, and its identification number is 1611920113902. What city is this school in?", + "evidence": "The identification number is the school's CDS code; Educational Instruction Level Code 'HS' identifies a high school; grades 9 through 12 means lowest grade 9 and highest grade 12; Breakfast Provision 2 is a National School Lunch Program provision status." + }, + { + "instance_id": "bird014", + "db": "california_schools", + "question": "I'm reviewing NSLP Provision 2 schools. Can you give me the name and city of every high school (educational instruction level code HS) whose meal-program status is exactly Provision 2 and whose lowest grade served is above ninth grade? One row per school, ordered by school name. Note: only the status named Provision 2 counts-the breakfast and lunch variants are separate statuses and shouldn't be included.", + "evidence": "" + }, + { + "instance_id": "bird015", + "db": "california_schools", + "question": "I'm profiling California's statewide benefit charter networks. Among the schools run by a statewide benefit charter network, which single school had the highest number of SAT test takers who scored 1500 or above? Please give me that school's name and its phone number. If several schools tie for the highest count, list every tied school with its phone number.", + "evidence": "Statewide benefit charter: a charter school network authorized directly by the California State Board of Education to operate schools throughout the state; charter schools authorized by a school district or county office of education are not statewide benefit charters." + }, + { + "instance_id": "bird016", + "db": "california_schools", + "question": "I'm looking at a directly-funded charter high school in California with CDS code 1611190130609. Could you tell me its average SAT math score and how many students took the SAT there? Just that one school's figures. If the school with that CDS code turns out not to be directly funded, then there's no answer.", + "evidence": "CDS code: the identification number the California Department of Education assigns to a county, district, or school. Directly-funded charter school: a charter school that receives its funding directly from the state rather than through its district." + }, + { + "instance_id": "bird017", + "db": "california_schools", + "question": "I'm looking at SAT participation in Contra Costa County. How many schools in the county had more SAT test takers than the school with CDS code 7618040730051? That school is itself a Contra Costa County school, so I just want the count of schools strictly ahead of it by number of SAT test takers, based on the SAT results snapshot in the data. A single number is all I need.", + "evidence": "CDS code: the County-District-School identifier that the California Department of Education assigns to each school and district in the state." + }, + { + "instance_id": "bird018", + "db": "california_schools", + "question": "I'm comparing schools in San Francisco. How many public schools with a San Francisco mailing city had an average total SAT score of at least 1500? Please count only schools whose district type is 'Unified School District', 'High School District', 'Elementary School District', or 'County Office of Education (COE)' - exclude any other district type. I just need the single count of qualifying schools.", + "evidence": "A school's total SAT score is the sum of its average reading, average math, and average writing scores; a school's mailing city is the city in its mailing address." + }, + { + "instance_id": "bird019", + "db": "california_schools", + "question": "What is the lowest grade level at which any school in our district begins serving students? If several schools tie at the lowest grade, just report that single grade level for the whole district. Our district is NCES district ID 0632640.", + "evidence": "'P' stands for preschool." + }, + { + "instance_id": "bird020", + "db": "california_schools", + "question": "I'm reviewing administrator coverage across Amador and Madera counties, and I want to see which administrator first names actually cover the most schools. For the two administrator first names whose holders run the most schools across the two counties (ranking names by the number of schools their holders run, with the alphabetically earlier name ranking higher if two names run equally many schools), please give me one row per public school district in those two counties and per those two first names, showing the district name, the first name, and the number of schools in that district run by an administrator with that first name - including every public school district, even ones where that's zero. Every administrator listed for a school counts, not just the first-listed one. A public school district means a unified school district, an elementary school district, a high school district, or a county office of education, and only Amador and Madera counties are in scope.", + "evidence": "" + }, + { + "instance_id": "bird021", + "db": "california_schools", + "question": "For the 2014-2015 academic year, what was the average number of enrolled students aged 5 to 17 eligible for free or reduced price meals per Youth Authority school? Count every Youth Authority school regardless of its status (active, closed, or merged), and treat a Youth Authority school with no meal-program record as zero. Please give me just that one number, rounded to two decimal places.", + "evidence": "A Youth Authority school is a school the state directory classifies as a Youth Authority Facility." + }, + { + "instance_id": "bird022", + "db": "california_schools", + "question": "I have a school's CDS code from a separate list of Alameda County schools on Breakfast Provision 2, and I need to confirm which school it is. For the school with CDS code 1612590136051, please give me the school name and the educational instruction level name. This CDS code identifies exactly one school, so return only that school.", + "evidence": "Breakfast Provision 2: the NSLP provision status category the school participates in. CDS code 1612590136051: the school identifier being asked about." + }, + { + "instance_id": "bird023", + "db": "california_schools", + "question": "I'm looking at the schools that the State Board of Education directly runs or charters. Which individual school among them had the most students score at least 1500 on the SAT? Please give me that school's name and its administrator's email address. If two schools tie on that count, list both.", + "evidence": "Schools run or chartered by the State Board of Education are identified by their district ownership type." + }, + { + "instance_id": "bird025", + "db": "california_schools", + "question": "I'm working on a story about campuses Los Angeles County opened during 2007 and the SAT participation they drew. What was the average number of SAT test takers per school across Los Angeles County schools that opened during 2007 and are run by a school district? Please give me that single number, rounded to two decimals. A few things to keep in mind: a county office of education counts as the school district for the schools it runs; \"opened during 2007\" means the opening date falls in calendar year 2007; and a school with no SAT record counts as zero test takers.", + "evidence": "SAT test takers: the number of test takers recorded for the school." + }, + { + "instance_id": "bird026", + "db": "california_schools", + "question": "I'm reviewing charter school funding models and want to compare the directly funded and locally funded charters that are currently in operation. For each of the two funding categories, please give me: (1) the number of charter schools currently in operation, counting only schools the directory lists as active (open), not closed or merged; (2) total 2014-2015 K-12 enrollment; (3) the average percentage of students eligible for free or reduced-price meals, on a 0-100 scale, rounded to two decimals; and (4) the average combined SAT score (reading + math + writing) across schools that have reported scores, rounded to two decimals. Note that schools without SAT results should still count in the school count, enrollment total, and meal-eligibility average. Please give me these figures grouped by funding category.", + "evidence": "Directly funded and locally funded are the two charter funding categories. Free or reduced-price meal eligibility is measured by the K-12 eligible percentage. Combined SAT score is the sum of the average reading, math and writing scores." + }, + { + "instance_id": "bird027", + "db": "california_schools", + "question": "Among California's state special schools, which one begins enrolling students at the latest grade level? Please give me: the school's name, the earliest grade level covered by its K-12 enrollment, its K-12 enrollment, and how many SAT test takers it had. In the grade-level codes, P means pre-kindergarten and K means kindergarten, and grades progress from pre-kindergarten to kindergarten to grades 1 through 12 \u2014 so a school starting at grade 1 starts later than one starting at kindergarten. If a state special school has no SAT record, still consider it a candidate and report it as having 0 SAT test takers. If two schools start at the same grade level, prefer the one with the larger K-12 enrollment; if still tied, the one whose name comes first alphabetically. The data is for the 2014-2015 school year.", + "evidence": "A state special school is a school operated by the state of California that serves students with special needs, such as the schools for the deaf or the blind." + }, + { + "instance_id": "bird028", + "db": "california_schools", + "question": "I'm putting together a brief on SAT participation among California's larger public schools. How many individual named school sites in the state with a K-12 enrollment over 500 and a highest grade served of 8 or below had no SAT test takers? I just need the school_count, a single whole number. Please count a school as an individual school site with a name - district and county offices of education are not schools. Include every qualifying school site statewide even if it shows no SAT results at all; such a site simply had no test takers. By highest grade served I mean the top grade level the school serves, as a grade number from 1 through 12.", + "evidence": "" + }, + { + "instance_id": "bird029", + "db": "california_schools", + "question": "I'm studying charter schools run by county offices of education. Using the K-12 school meal program records, for the charter schools these county offices operate, broken down by charter funding type (directly funded and locally funded only), I'd like to know: how many are currently operating, their total K-12 enrollment, and their total number of FRPM-eligible K-12 students. A school counts as currently operating only if its status is Active. Please give me one row per funding type, with directly funded first.", + "evidence": "FRPM means free or reduced price meal eligibility." + }, + { + "instance_id": "bird030", + "db": "california_schools", + "question": "I'm documenting now-closed California schools whose students performed best on the SAT writing section, and I need the runner-up. Among schools whose status is Closed (not Active, Merged or Pending), and which have an average SAT writing score, can you tell me which school had the second-highest average SAT writing score? By second-highest I mean the best score strictly below the highest \u2013 if several schools share that score, please list them all. For each school, give me its name, its own district and county, and its average SAT writing score.", + "evidence": "SAT writing score: the average writing score of the school's SAT test takers." + }, + { + "instance_id": "bird031", + "db": "california_schools", + "question": "I'm a parent looking at high schools in California, and I want to know how often a school that's still open has no seniors taking the SAT at all. How many currently open public high schools in California had zero students take the SAT? By 'currently open' I mean the school's status is Active, not closed or merged. By 'high school' I mean a school whose educational instruction level is High School. Please count a school that has no SAT record at all as having zero test takers. I just want that one number.", + "evidence": "SAT test takers: the number of test takers recorded for the school in the SAT scores data." + }, + { + "instance_id": "bird032", + "db": "california_schools", + "question": "I'm planning a targeted meal-support pilot and want to compare one school against similar schools in our county. The county I mean is the one where Fremont High (CDS code 1612590125716) is located - please identify the county by that CDS code, not by the school name. For that county, please look at all K-12 schools with more than 500 free meals and fewer than 700 FRPM meals, and give me back: the county name; the number of schools; the average free-meal percentage and the average FRPM percentage, both on a 0-100 scale with each school's own percentage rounded to 2 decimals before averaging; the number of charter schools and the number of non-charter schools (charter vs. non-charter per the charter indicator in the frpm data); and the average SAT score, where a school's SAT score is the sum of its three SAT section averages, counted only for schools that actually have SAT records, with no SAT record meaning the school is simply excluded from that average. Please round the reported averages to 2 decimals.", + "evidence": "Free meal percentage = free meal count (K-12) / enrollment (K-12) * 100; FRPM percentage = FRPM count (K-12) / enrollment (K-12) * 100; charter school = charter indicator 1, non-charter = charter indicator 0." + }, + { + "instance_id": "bird033", + "db": "california_schools", + "question": "I'm studying the 1980 growth of public schooling in San Diego County. What was the average number of schools per month that opened in San Diego County in 1980 under a school district's jurisdiction? I need just that single number. Please average over all 12 months of 1980 (months with no openings count as zero), and give me the exact average without rounding.", + "evidence": "A school district is a local education agency that runs K-12 public schools; it is an elementary school district, a high school district, or a unified school district." + }, + { + "instance_id": "bird034", + "db": "california_schools", + "question": "Among California schools whose students have an average SAT Math score above 400, what percentage offer virtual instruction, either exclusively or in part? Please give me a single percentage value rounded to one decimal place.", + "evidence": "In the school directory, the exclusive-virtual category is coded 'F' and the partial-virtual category is coded 'P'." + }, + { + "instance_id": "bird035", + "db": "california_schools", + "question": "A parent is asking about a school and could only give me the CDS code 1612590137943. Can you look up that school and give me its name, county, district, and city; its K-12 enrollment; the number of K-12 students eligible for free or reduced price meals and the percentage eligible (report the percentage exactly as it appears, without rounding); and the SAT results - number of test takers, average reading score, average math score, average writing score, and the number of test takers whose total score is at least 1500?", + "evidence": "CDS code: the state's County-District-School identification code assigned to each school; FRPM: the Free or Reduced Price Meal program, where the FRPM count is the number of students eligible." + }, + { + "instance_id": "bird037", + "db": "california_schools", + "question": "Could you pull a full profile for the school with CDS code 7618040113118? I need its name, phone number, website, average SAT reading, math and writing scores, whether it is a charter school, its K-12 enrollment for the 2014-2015 academic year, and the percentage of its students eligible for free or reduced price meals on a 0-100 scale rounded to two decimal places. Alongside that, please find the highest average SAT math score achieved by any active school with at least 10 SAT test takers \u2013 if several schools tie for the highest, just give me that single score \u2013 and how far below that highest score this school's math score falls.", + "evidence": "CDS code is the California Department of Education's school identifier; a charter school is one with charter status recorded as 1." + }, + { + "instance_id": "bird038", + "db": "california_schools", + "question": "I'm mapping where exclusively virtual schools are concentrated. For the five counties with the most exclusively virtual schools - if several counties tie with the fifth-highest count, include all of them - please give me for each county: the county name, how many exclusively virtual schools it has, and the name of the exclusively virtual school in that county with the highest average SAT reading score. If several schools tie for the highest average reading score in a county, list each of them. If none of the county's exclusively virtual schools has a reported reading average, show 'None' as the school name.", + "evidence": "An exclusively virtual school is one whose Virtual field holds the code 'F'." + }, + { + "instance_id": "bird039", + "db": "california_schools", + "question": "I'm comparing online-only schooling options. I'd like to know, for Santa Barbara County and for the county that contains the school with CDS code 1100170109835 (which identifies one school), how many exclusive-virtual schools are in each county. Please give me each county's name with its number of exclusive-virtual schools, listing the county with the larger number first, or alphabetically by county name if they tie.", + "evidence": "A school counts as exclusive-virtual only if its virtual-instruction category is coded 'F'." + }, + { + "instance_id": "bird040", + "db": "california_schools", + "question": "I'm studying how concentrated economic need relates to SAT outcomes in California public schools. Among regular, non-charter schools with more than 100 K-12 students, I'd like two extremes plus one benchmark school: the school with the largest count of FRPM-eligible students, the school with the smallest FRPM share (the proportion of its K-12 enrollment that is FRPM-eligible \u2013 smallest by that share, not the raw count), and the school with CDS code 4615150435602 from my notes. If a school answers more than one part, report it once per part, and label each row with which part it answers ('largest FRPM-eligible count', 'smallest FRPM share', or 'the CDS code from my notes', in that order). Include ties. For each school, please give: school name, county, city, full mailing address as four columns (mailing street, mailing city, mailing state, mailing ZIP), website, K-12 enrollment, FRPM-eligible student count, FRPM share, average total SAT score (reading + math + writing) among its SAT takers, percentage of its SAT takers scoring 1500 or more, opening date, and status ('closed' if a closing date is recorded, otherwise 'open'). Nothing else, please.", + "evidence": "CDS code: the California Department of Education's identification code for a school; the benchmark school in my notes is identified by CDS code 4615150435602." + }, + { + "instance_id": "bird041", + "db": "california_schools", + "question": "I'm auditing FRPM enrollment reporting and need to contact some elementary and middle schools. Please list the name and street address of every named school whose K-12 enrollment exceeds its enrollment of students aged 5-17 by more than 30 students, and whose highest grade of enrollment is grade 8 or below. Kindergarten counts as grade 8 or below. Give me one row per school; any order is fine.", + "evidence": "K-12 enrollment is enrollment counted for kindergarten through grade 12. Enrollment of ages 5-17 is enrollment counted for students aged 5 through 17. Highest grade of enrollment is the highest grade level the school enrolls students in (e.g., grade 8 for a school serving kindergarten through grade 8)." + }, + { + "instance_id": "bird042", + "db": "california_schools", + "question": "I'm auditing high-school-level campuses that draw enrollments beyond their surrounding school-age population. Can you give me a list of schools where the K-12 enrollment exceeds the ages-5-17 enrollment by more than 30, limited to schools whose lowest served grade is grade 9 or a later grade (a school's lowest served grade being the low end of the grade range reported in the same enrollment record as its K-12 and ages-5-17 counts)? For each school, I just need the school name and street address. Please order the results by the school's CDS code, smallest first.", + "evidence": "CDS code: a school's identifier in the California schools data." + }, + { + "instance_id": "bird043", + "db": "california_schools", + "question": "I'm researching where high SAT performance coexists with concentrated poverty, to help target college-access support by county. For the 2014-15 academic year, for each county, how many schools had both a K-12 free-meal eligibility rate above 0.1 and at least one SAT taker scoring 1500 or higher on the school's own SAT record? Please list only counties that have at least one such school, with the county name and the number of its qualifying schools, sorted from most such schools to fewest, and alphabetically by county name when counties tie.", + "evidence": "K-12 free-meal eligibility rate: the share of a school's K-12 enrollment that is eligible for free meals (free meal count divided by K-12 enrollment)." + }, + { + "instance_id": "bird044", + "db": "california_schools", + "question": "I have a school on file with CDS code 1611430131177. Find the school in the same county as that school whose own SAT record shows the most students scoring at least 1500 (not a district-wide roll-up). If two schools tie on that count, use the one with the smaller CDS code. Send me that school's administrator's first and last name.", + "evidence": "CDS code: the County-District-School identifier assigned to each school; scoring at least 1500: a test taker whose combined SAT score is 1500 or higher." + }, + { + "instance_id": "bird045", + "db": "california_schools", + "question": "I'm working on a story about the largest schools in the state with the worst SAT excellence rates. Among schools where at least 700 students took the SAT, can you find the school with the lowest SAT excellence rate? If several schools tie for the lowest rate, go with the one with the smallest school code. I just need that school's street, city, ZIP code and state so I can visit and request an interview.", + "evidence": "The SAT excellence rate is the share of SAT test takers scoring at least 1500. A school code is a number." + }, + { + "instance_id": "bird046", + "db": "california_schools", + "question": "I'm planning reviews of Provision 2 meal programs under the NSLP and want to see which cities concentrate magnet schools under that provision. For each city that has at least one, can you give me the number of the city's magnet schools that run a Provision 2 meal program? Use the city where the school is located, not its mailing city. Also, if a school's NSLP entry lists multiple provision types, don't count it as running Provision 2.", + "evidence": "NSLP is the National School Lunch Program. Provision 2 is a federal provision under the NSLP that lets a school serve meals at no charge to all students regardless of family income." + }, + { + "instance_id": "bird047", + "db": "california_schools", + "question": "I'm preparing a mailing campaign and need a list of public high schools in Los Angeles County that have more than 500 free or reduced-price meal recipients ages 5-17. By public high schools I mean every public high-school category in the meal program report - regular high schools, continuation high schools, and high schools in single-school districts - not just regular ones; middle and junior high schools don't count. For each school, please give me the school name exactly as listed in the school directory, plus the campus (physical) street address - not a mailing or post-office address - along with the city, state and ZIP code, each as a separate field. Schools sharing a name are separate schools, so one row per school. Please sort the list by school name.", + "evidence": "'Free or reduced-price meal recipients ages 5-17' refers to the count reported in the meal program report for students ages 5-17 receiving free or reduced-price meals." + }, + { + "instance_id": "bird048", + "db": "california_schools", + "question": "I'd like to compare SAT participation across counties in California that run magnet schools under Provision 2 of the National School Lunch Program. For every county with at least one Provision 2 magnet school, can you give me the county name and the total number of SAT test takers from those schools? Please include every such county even if the total is 0, and list them in any order.", + "evidence": "Provision 2 school: a school whose NSLP Provision Status is Provision 2. Magnet school: a school identified as a magnet school or providing a magnet program." + }, + { + "instance_id": "bird049", + "db": "card_games", + "question": "List the IDs of borderless card printings for which Card Kingdom lacks a regular-version listing or a foil-version listing.", + "evidence": "" + }, + { + "instance_id": "bird050", + "db": "card_games", + "question": "Which distinct combinations of card name, artist, and promotional-printing flag occur among the printings tied for the most rulings?", + "evidence": "" + }, + { + "instance_id": "bird051", + "db": "card_games", + "question": "What percentage of all card printings have a Simplified Chinese translation? Round to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird052", + "db": "card_games", + "question": "What rules text is printed on Benalish Knight? Return the distinct text as one line.", + "evidence": "" + }, + { + "instance_id": "bird053", + "db": "card_games", + "question": "Among all Story Spotlight card printings, what percentage have a French translation? Round to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird054", + "db": "card_games", + "question": "What are the cards belong to duel deck a? List the ID.", + "evidence": "" + }, + { + "instance_id": "bird055", + "db": "card_games", + "question": "How many distinct white-bordered card printings are banned in at least one play format?", + "evidence": "" + }, + { + "instance_id": "bird056", + "db": "card_games", + "question": "How many distinct card printings with no recorded power value or a variable power expression have at least one ruling mentioning 'triggered ability'?", + "evidence": "An asterisk anywhere in a power expression denotes variable power." + }, + { + "instance_id": "bird057", + "db": "card_games", + "question": "What percentage of cards with format commander and legal status do not have a content warning?", + "evidence": "" + }, + { + "instance_id": "bird059", + "db": "card_games", + "question": "Among the sets in the block \"Ice Age\", how many of them have an Italian translation?", + "evidence": "" + }, + { + "instance_id": "bird060", + "db": "card_games", + "question": "What percentage of Coldsnap card printings have both a Card Kingdom regular-product ID and foil-product ID recorded?", + "evidence": "" + }, + { + "instance_id": "bird061", + "db": "card_games", + "question": "Which play format has the most banned card-printing records? Give that format and the distinct names of its banned cards.", + "evidence": "" + }, + { + "instance_id": "bird062", + "db": "card_games", + "question": "I collect promotional printings and play Brawl. How many different creature cards that have a promotional printing can serve as a Brawl commander? I just want a single number back.", + "evidence": "A promotional printing is a printing of a card made as a promotion, as opposed to a regular set printing. Brawl is a Magic: The Gathering format; the deck's commander is the card that leads it, and only certain cards are legal as a Brawl commander." + }, + { + "instance_id": "bird063", + "db": "card_games", + "question": "I'm cataloguing how the frame styles on Tarmogoyf's printings evolved over time. What is the number of years between the oldest and the newest frame style used on the printings of Tarmogoyf? The span in years is the newer year minus the older year.", + "evidence": "Frame style version means the year a card's frame style dates from." + }, + { + "instance_id": "bird065", + "db": "card_games", + "question": "I have the count of sets with fewer than five translations of their name \u2014 now I need the gap in cards to size the translation budget. Can you give me the total number of cards contained in those sets? A few things to keep in mind: 'fewer than five' is strict, so a set with exactly five translations doesn't count. All sets count regardless of type or release (core set, expansion, promotional, online-only, etc.). If two languages have the identical translated name string for a set, that's one translation, not two. And a set's card count should be its full size, including promotional and related supplemental printings.", + "evidence": "A 'translation of a set's name' means the localized name of the set in another language, e.g. its French or Simplified Chinese name." + }, + { + "instance_id": "bird066", + "db": "card_games", + "question": "I'm preparing a multilingual catalog and want to gauge how much localizable content exists per kind of set. For every set type, I need the number of sets of that type that have an officially translated name, and the total number of cards in those sets. Please include every set type in the results, even ones where no set has an officially translated name (show zero for both values in that case), and sort the results alphabetically by set type.", + "evidence": "Set type: the expansion type of a set, such as core, expansion or promo. Officially translated name: the set's name rendered in another language, such as Italian or Chinese Traditional." + }, + { + "instance_id": "bird067", + "db": "card_games", + "question": "How many rulings were issued for Mishra's Factory on the latest date any ruling for it exists? By \"latest date\" I mean the most recent calendar date on which any ruling for the card exists, and by Mishra's Factory I mean the card by that name across all of its printings. I only want that count.", + "evidence": "ruling: an official rules statement issued for a card on a given date" + }, + { + "instance_id": "bird068", + "db": "card_games", + "question": "Which artist has illustrated the most different creature cards, and how many different creature cards is that? I'd like each artist's name along with their count of different creature cards. If two artists are tied for the most, list both.", + "evidence": "A creature card is a card whose card types include Creature." + }, + { + "instance_id": "bird069", + "db": "card_games", + "question": "I'm putting together a showcase of zero-mana-cost cards. What is the newest frame version used by any card with a converted mana cost of 0? Please give me that frame version value, and the number of cards in the database that use that frame version. The count should cover all cards in the database, not just the zero-cost ones. If several frame versions tie as the newest, give me each of them with its own count.", + "evidence": "Frame version: the edition of the card frame style a printing uses." + }, + { + "instance_id": "bird070", + "db": "card_games", + "question": "I'm tracking printings of Tarmogoyf. Of all its printings, which frame version is the newest? Please give me the year that identifies that latest frame version, and the percentage of the card's printings that use it, rounded to two decimal places. The percentage should be over all printings of the card.", + "evidence": "A printing is an occurrence of the card in a set; a frame version is the version of the card frame style of a printing." + }, + { + "instance_id": "bird071", + "db": "card_games", + "question": "I'm building an artifact-heavy Commander deck and want to know the size of the pool of zero-cost cards available to me. How many different cards have a printed mana cost of {0} and are legal in Commander? A card is legal in Commander if its Commander legality entry is marked Legal.", + "evidence": "Printed mana cost of 0 means the cost shown on the card is {0}. Commander is a format of play in which any card marked Legal for that format is playable." + }, + { + "instance_id": "bird072", + "db": "card_games", + "question": "I'm brewing and looking for cards that combine two keyword abilities. How many cards in the collection have both Flying and Cycling? Note that each printing counts as its own card, and a card only counts if it has both keywords.", + "evidence": "Flying and Cycling are keyword abilities in Magic: The Gathering." + }, + { + "instance_id": "bird073", + "db": "card_games", + "question": "I'm comparing how mana-cheap Magic: The Gathering sets have become over time. For two sets \u2014 the set where Abyssal Horror was first printed, and the most recently released set in the database \u2014 I want one row per set with the set name and the percentage of that set's cards that have a mana cost whose converted mana cost is 3 or less, rounded to two decimal places. By \"first printed\", I mean the set with the earliest release date among the sets Abyssal Horror appears in; if several share that earliest date, use the one whose set code comes first alphabetically. For the most recent set, use the latest release date among all sets; if several share that date, again take the one whose set code comes first alphabetically. By \"converted mana cost\" I mean the card's mana value, and a card counts as having a mana cost only if a mana cost is printed on it.", + "evidence": "Converted mana cost means the card's mana value; a card has a mana cost when a mana cost is printed on the card." + }, + { + "instance_id": "bird074", + "db": "card_games", + "question": "How many different cards have ever been printed as a release promotion? I just need a single number, covering all printings across the game's entire history with no time restriction. Note that a prerelease printing is a different promotion type and shouldn't be counted as a release promotion.", + "evidence": "A release promotion is a promotional printing whose promotion type is 'release'." + }, + { + "instance_id": "bird075", + "db": "card_games", + "question": "I'm cataloguing the Abzan clan's cards and need this: among the cards with the Abzan watermark, which one comes last in its set's numbering - i.e. has the highest collector number? Please give me the card's name, its collector number, and how many foreign-language printings exist for that card. If several Abzan-watermarked cards tie for the highest collector number, list every one of them, each with its own count of foreign-language printings. Count each foreign-language edition record of the card as one printing.", + "evidence": "Abzan watermark: the clan mark printed on the card. Collector number: the number of the card within the set it was printed in. Foreign-language printing: the foreign-language edition record of a card." + }, + { + "instance_id": "bird076", + "db": "card_games", + "question": "I'm profiling the weak end of the white-bordered printings. How many white-bordered cards have a power less than 3? I just need that single count - only white-bordered cards are in scope, and please don't include anything else in the answer.", + "evidence": "Power is a card's combat strength. A card whose power is shown as * has no known power." + }, + { + "instance_id": "bird077", + "db": "card_games", + "question": "I'm putting together a showcase of instant-speed cards from Magic: The Gathering. Which cards in the Dark Ascension set have the Flash keyword and, among those, the highest converted mana cost? Please list just the card names, one row per card, alphabetically by name, and include every card that ties on that highest cost.", + "evidence": "Dark Ascension is the Magic: The Gathering set named 'Dark Ascension'. Flash is the keyword that lets a card be cast any time you could cast an instant. Converted mana cost is the total amount of mana a card costs to cast." + }, + { + "instance_id": "bird078", + "db": "card_games", + "question": "I'm preparing localized set icon assets and need to know the foreign-language name coverage of every Magic: The Gathering set released in 2020. For each set released in 2020 (meaning its release date falls within the calendar year 2020), please give me the set's name, its keyrune code, and the number of languages in which the set has an official translated name. Nothing else.", + "evidence": "keyrune code: the code for the set's image icon; official translated name: the set's name rendered in a foreign language by the game's publisher." + }, + { + "instance_id": "bird079", + "db": "card_games", + "question": "I'm sizing a catalogue page of 2017 sets that were localized for international markets. How many cards were there in total across the Magic: The Gathering sets released in 2017 (between January 1 and December 31, 2017) that have a name in a language other than English? A set counts as localized if its name has a foreign-language translation. Include every card in each qualifying set, counting promotional and related supplemental printings as part of the set. I just need the single total across all qualifying sets, not per-set numbers.", + "evidence": "A foreign-language translation is a set's name rendered in a language other than English (e.g. Chinese Simplified, German, Spanish)." + }, + { + "instance_id": "bird080", + "db": "card_games", + "question": "I've already looked at the heavy hitters in duel deck B (the 'b' deck). Now I want to check the light end: how many cards in duel deck B are not available in foil and have attack power below 3? Note that 'below 3' means strictly below 3 \u2014 a power of exactly 3 doesn't count.", + "evidence": "" + }, + { + "instance_id": "bird081", + "db": "card_games", + "question": "I'm writing a spotlight piece on card artists, and I need to know: among black-bordered cards that are obtainable on Magic Arena and have a printed power of 10 or greater, which artist illustrated the most of them? Please give me the artist's name and the number of those cards they illustrated. A card counts even if it's also available outside Arena, as long as it can be obtained on Arena. If several artists tie for the most, list every one of them along with that count.", + "evidence": "Black border means the card's border color is black; power is the combat strength printed on a creature card, and '10 or greater' means the printed power reads as a number that is at least 10 (10, 11, 12, and so on)." + }, + { + "instance_id": "bird082", + "db": "card_games", + "question": "I'm going through my paper collection before sharing it publicly, and I want to check something about the cards Wizards of the Coast has flagged. How many different cards are there that carry a sensitive content warning, are available in paper form, and have never been available on Magic Online (MTGO)? I just need that one count.", + "evidence": "MTGO means Magic: The Gathering Online, the official online version of the game. A sensitive content warning means Wizards of the Coast has marked the card for having sensitive content." + }, + { + "instance_id": "bird083", + "db": "card_games", + "question": "Hi! I'm preparing a licensing brief for our Japanese partner about Magic: The Gathering localization coverage. Could you pull a report of every expansion type (core, expansion, promo, etc.), showing for each one how many sets of that type carry a Japanese name entry? A Japanese name entry means the set's name-translations include a Japanese-language entry giving the set's name in Japanese. Please include every expansion type in the report even if none of its sets have such an entry (show 0 for those), and sort the results alphabetically by expansion type. Nothing else needed - just the expansion type and the count.", + "evidence": "Japanese name entry: an entry in the set's name-translations whose language is Japanese and which gives the set's name in Japanese." + }, + { + "instance_id": "bird084", + "db": "card_games", + "question": "I'm cataloguing Arena-exclusive illustrated art of big creatures. How many artists have illustrated at least one black-bordered card that is available on Arena but never on Magic Online and has a fixed printed power of at least 5? I want just the number of artists, nothing else. Count across all printings in the collection with no time restriction. Note that a card whose power varies is not a fixed number, so it shouldn't count as power 5 or more.", + "evidence": "Arena and Magic Online are online platforms; a card's availability lists every platform it can be played on: 'arena' is Arena and 'mtgo' is Magic Online. Power is the attack strength printed on a creature card. Black-bordered refers to the standard card border color black." + }, + { + "instance_id": "bird085", + "db": "card_games", + "question": "I collect trading cards, and one of my favorites is Ancestor's Chosen. Of all the sets that include this card, look at the one released most recently - if several sets share that latest release date, consider them together. How many creature cards in that set (or sets) have power greater than toughness? I just want that single count, nothing else.", + "evidence": "Power is the attack strength printed on a creature card; toughness is the defense strength printed on a creature card." + }, + { + "instance_id": "bird086", + "db": "card_games", + "question": "Among the Commander-leadable cards that the Card Kingdom catalog lists for both a foil printing and a regular non-foil printing \u2013 cards listed for only one of the two printings don't count \u2013 I want the single most recent card frame year (the latest calendar year among the frame versions), and the count of cards in that group whose frame version is that year. Please return just that one row: the frame year and its card count.", + "evidence": "A card 'may lead a Commander deck' if it can be the deck's commander \u2013 the one card that leads the deck and sets its color identity \u2013 not merely be included among the deck's other cards." + }, + { + "instance_id": "bird088", + "db": "card_games", + "question": "Which card whose original type is 'Creature - Elf' has received the most rulings, and how many rulings has it received? I want the card name and the number of rulings. A card and all of its printings/reprints count as one and the same card. If several cards tie for the most rulings, list every one of them.", + "evidence": "A ruling is an official rules clarification issued for a card, on the date it was issued." + }, + { + "instance_id": "bird089", + "db": "card_games", + "question": "I'm reviewing the very first cards in the database and want to compare how widely accepted white cards are versus black cards across play formats. For each card color that appears among the cards with ID 1 through 20, please tell me the card color and the number of play formats in which cards of that color are legal. A card only counts as legal in a format if its legality status for that format is 'Legal' - banned or restricted doesn't count.", + "evidence": "Formats of play: the game formats a card is permitted in, such as commander or vintage." + }, + { + "instance_id": "bird090", + "db": "card_games", + "question": "I'm tracking John Avon's artwork. Among his cards that exist as powerful foils, what is the most recent frame year, and how many of those cards carry it? If several years are tied for most recent, give each year with its own count. Match John Avon on the illustrator's name.", + "evidence": "powerful foil: a card whose Card Kingdom identifiers are both present \u2013 the regular identifier and the foil identifier." + }, + { + "instance_id": "bird091", + "db": "card_games", + "question": "I play paper Magic and I'm building a pauper deck. How many printings of cards illustrated by Erica Yang are legal in the pauper format and exist as paper (physically printed) cards? I want just a single count of printings, with each printing counted separately.", + "evidence": "Pauper is a Magic: The Gathering format where only common-rarity cards are legal; a printing is a specific physical or digital release of a card in a set; 'legal in pauper' means the card's pauper legality status is Legal; 'paper' means a physical printed card." + }, + { + "instance_id": "bird092", + "db": "card_games", + "question": "I keep a Card Kingdom catalogue and want to list the creature cards that Card Kingdom stocks in both foil and non-foil printings. A card counts as stocked in both printings when both its Card Kingdom Foil id and its Card Kingdom id are present. Please give me one row per card, with each card's Card Kingdom Foil id and Card Kingdom id, and nothing else. I only need the three cards with the lowest Card Kingdom Foil ids in alphabetical order, with ties broken by the Card Kingdom id.", + "evidence": "Card Kingdom Foil id: the retailer's identifier for the foil printing; Card Kingdom id: the retailer's identifier for the non-foil printing." + }, + { + "instance_id": "bird093", + "db": "card_games", + "question": "Among the cards carrying the boros watermark that were printed in a foreign language, which card type is the most common, and how many of those cards have that type? If several types tie for the most, list all of them with their counts.", + "evidence": "\"Boros watermark\" refers to the guild watermark appearing on cards of the Boros guild; \"printed in a foreign language\" means the card was printed in any language other than English." + }, + { + "instance_id": "bird094", + "db": "card_games", + "question": "Among the Magic: The Gathering cards whose watermark is one of the ten Ravnica guild symbols (Azorius, Boros, Dimir, Golgari, Gruul, Izzet, Orzhov, Rakdos, Selesnya, Simic), which guild has the most cards that were printed in another language, and how many of that guild's cards is that? If several guilds tie for the most, give me each tied guild along with the number.", + "evidence": "A Ravnica guild is the guild a card's watermark belongs to; a card 'printed in another language' is a card that exists in a language edition other than English." + }, + { + "instance_id": "bird095", + "db": "card_games", + "question": "I'm cataloguing the guild cards. Among the cards that carry the Azorius watermark and were printed in at least one foreign language, how many cards are there of each card type? For each card type, please give me the card type exactly as printed, including any supertypes and subtypes, along with the number of cards of that type. List every card type that qualifies, sorted from the largest count to the smallest, and alphabetically by card type when counts are equal.", + "evidence": "" + }, + { + "instance_id": "bird096", + "db": "card_games", + "question": "I'm cataloguing modern-frame printings. How many different cards that have a text box were printed with a frame version of 2015 or a later year? I just need that single count.", + "evidence": "Frame version: the version of the card frame style, given as the year the frame style was introduced." + }, + { + "instance_id": "bird097", + "db": "card_games", + "question": "I'm putting together a showcase of promotional cards and need a list of card names. I want the names of the cards that have a promotional printing and have multiple faces on the same card, but only those printed in the most recent card frame version. A card's frame version is the year its frame style was introduced, so the most recent frame version is the one with the latest year - and it should be the newest frame style overall, not just among promotional multi-faced cards. Please list each card's name once.", + "evidence": "A promotional printing is a printing of a card that was given out for promotional purposes. A card with multiple faces has multiple faces printed on the same card." + }, + { + "instance_id": "bird098", + "db": "card_games", + "question": "I'm putting together a retrospective of promotional cards. Can you get me the card name of every promotional card that has multiple faces printed on it (like split, transform, or adventure cards) and was originally released in 2019? By \"originally released\" I mean the card's own first-release date, not the release date of the set its promotional printing belongs to, and \"in 2019\" means January 1 through December 31, 2019. If a card has more than one promotional printing from that year, list it just once. I only want the card names, nothing else.", + "evidence": "" + }, + { + "instance_id": "bird099", + "db": "card_games", + "question": "I'm researching printings of the Magic: The Gathering card Tarmogoyf. I want to identify every reprint of Tarmogoyf that was published in a card frame style that was already at least 10 full years old when the set came out. Please give me the set name and release date of every set that qualifies, not just one. Two rules: the frame version is the year that frame style dates from (the frame style itself, not any frame artwork effects), and 'at least 10 full years' is inclusive, measured between the frame version's year and the set's release year.", + "evidence": "Frame version: the year the card frame style of a printing dates from." + }, + { + "instance_id": "bird100", + "db": "card_games", + "question": "I'm cataloguing European releases of Counterspell. How many of its printings were released with both a French and an Italian localization? I just need the count as a single number.", + "evidence": "A printing is one release of the card identified by its set and its card number in that set; 'Counterspell' is the English card name as catalogued." + }, + { + "instance_id": "bird101", + "db": "card_games", + "question": "I'm putting together a localization report. Find the sets that belong to the same expansion type as \"From the Vault: Lore\" \u2013 include that set itself if it qualifies. Among those, which sets never received a name in any foreign language? For each one, give me the set's name and its release date. List each qualifying set once, from the earliest release date to the latest. Don't include anything else.", + "evidence": "Expansion type means the category a set belongs to, such as core, expansion or masters." + }, + { + "instance_id": "bird102", + "db": "card_games", + "question": "Which set contains the Aven Mindcensor printing that uses the newest card frame? I want the set's name and its release date. Count every printing, including promotional and online-only ones. If several printings share the newest frame, use the most recently released one; if the release dates tie too, list each such set once. Please give me the set name, not its code.", + "evidence": "Frame version: the frame style used for a printing; frame styles are identified by the year that style was introduced." + }, + { + "instance_id": "bird103", + "db": "card_games", + "question": "I'm auditing which recent products were never localized for Spanish-speaking markets. Can you find every set released in calendar year 2020 that has no Spanish name? For each of those, I just need the set code and the set's release date.", + "evidence": "By \"Spanish name\" I mean the Spanish-language version of a set's name." + }, + { + "instance_id": "bird104", + "db": "card_games", + "question": "I'm cataloguing special-release printings illustrated by Rob Alexander. What is the total converted mana cost across all cards illustrated by Rob Alexander whose original release falls in 2013? Please give me just that total as a single number. By 'released in 2013' I mean the calendar year from 1 January through 31 December 2013, and a card's original release is the original release date recorded on the card itself\u2014cards with no original release date recorded are out of scope. Each card printing counts separately in the total.", + "evidence": "Converted mana cost: the total numeric mana value of a card, e.g. a card costing {4}{W}{W} has a converted mana cost of 6." + }, + { + "instance_id": "bird105", + "db": "card_games", + "question": "We're planning translation work for upcoming set releases and want to know how extensively a recent release year was localized. What was the average number of languages in which sets released in 2016 had their names translated? By 'released in 2016' I mean the release date falls within calendar year 2016. Every set released in 2016 counts toward the average, including any whose names were translated into no language at all (those count as zero). A language counts for a set when the set's name is rendered in that language. Please give me just that one number, rounded to two decimals.", + "evidence": "Set name translation: the set's name rendered in another language." + }, + { + "instance_id": "bird106", + "db": "card_games", + "question": "For the blocks named exactly \"Masques\" and \"Mirage\", how widely were their sets localized? For each of these two blocks, give me one row with the block's name, how many of its sets have an official translated name, and the total number of cards in the base sets of those sets combined. Base set size means the number of cards in the set's base set, not counting supplementary cards. Nothing else, please.", + "evidence": "" + }, + { + "instance_id": "bird107", + "db": "card_games", + "question": "I'm assembling a Japanese-language boros deck and want to check which cards need careful rules review. For every card that has a boros watermark and a Japanese printing, please give me: the Japanese card name, the English card type, and the total number of official rulings recorded for that card. A card is identified by its Japanese name together with its English card type - printings that share both count as one card, and if either differs they should be listed as separate cards. The ruling total should add up all ruling entries across every printing of that card, and if a card has no rulings, list it with a total of 0.", + "evidence": "Boros watermark means the watermark is marked 'boros' on the card; a Japanese printing is the foreign data entry in Japanese; rulings are the official rules clarifications recorded for a card." + }, + { + "instance_id": "bird108", + "db": "card_games", + "question": "I'm putting together a localization coverage report. Among the languages into which the card sets themselves were translated (i.e., have a set translation), which language has the fewest printings whose flavor text was translated into that language? Please give me the language name and the number of such printings. If several languages tie for the fewest, list all of them, ordered alphabetically by language name.", + "evidence": "Set translation: a card set's official release in another language." + }, + { + "instance_id": "bird109", + "db": "card_games", + "question": "I'm building a French-language cube and want some big finishers for it. How many different creature cards with power 10 or greater have at least one printing in a set whose name has a French translation? Please return just that single number. Note: a set qualifies based on its name having a French translation, no matter when it was released or what type of set it is, and a card counts if any of its printings comes from such a set.", + "evidence": "French translation: the set's name as given in French." + }, + { + "instance_id": "bird110", + "db": "card_games", + "question": "I'm researching the Commander banned list. Can you tell me the average mana value of the creature cards that are banned in at least one play format, considering only cards ranked in EDHRec's top 1000 most popular (ranks 1 through 1000, where rank 1 is the most popular)? Give me the average as a single number rounded to one decimal place. Keep in mind that a card printed in several sets is still just one card with one EDHRec rank and one mana value.", + "evidence": "EDHRec rank: a card's popularity rank on EDHRec, from 1 (most popular) to 1000." + }, + { + "instance_id": "bird111", + "db": "card_games", + "question": "For a stats segment on creature power creep, I want to size the middle-to-big power band: how many card printings have a power greater than 3 and at most 10? Note that 3 itself is out (strictly greater than 3), but 10 itself counts (at most 10). Just the total number of printings, please.", + "evidence": "A printing is one printed appearance of a card in a set \u2013 the same card name appearing in different sets counts as several printings." + }, + { + "instance_id": "bird112", + "db": "card_games", + "question": "I want a single number: how many card printings originally released in 2014 belong to a set that carries a Magic: The Gathering Online code. A set counts as MTGO-available only if its MTGO code is present for that set. By 2014 I mean the calendar year 2014 of the printing's original release date. Count each printing separately, even if the same card name appears in more than one set.", + "evidence": "Magic: The Gathering Online (MTGO) is the official digital edition of the game; a set's MTGO code identifies that set within MTGO." + }, + { + "instance_id": "bird113", + "db": "card_games", + "question": "I'm looking at Magic: The Gathering's localization coverage. Which foreign printing language has the fewest card printings overall, and how many printings does it have? Please count only languages in which Magic sets were officially printed\u2014exclude one-off promotional gimmick languages. If several languages tie for the fewest, list each of them with the count.", + "evidence": "A printing language is a language in which Magic: The Gathering sets were officially released." + }, + { + "instance_id": "bird114", + "db": "card_games", + "question": "I'm auditing how thoroughly the Coldsnap expansion was localized into Italian. How many printings in the Coldsnap set have Italian rules text? I just need that single count.", + "evidence": "By 'printing' I mean an individual card entry of a set, and by 'Italian rules text' I mean the Italian-language rules wording recorded for that printing. Coldsnap means the set named Coldsnap." + }, + { + "instance_id": "bird115", + "db": "card_games", + "question": "Among the Commander-type expansion sets released in calendar year 2020 (1 January 2020 to 31 December 2020), I need the one with the highest total card count, so we can plan translation work. Please send me the set's id from the sets listing, its name, and the number of official languages it was released in. The total card count should include promotional and related supplemental products, but exclude Alchemy modifications. If two sets tie for the highest total card count, list each of them, ordered by set id ascending.", + "evidence": "Commander: a multiplayer expansion type of the game. Alchemy modifications: online-only variant versions of cards." + }, + { + "instance_id": "bird116", + "db": "card_games", + "question": "I'm researching Magic: The Gathering's basic land card Swamp. How many foreign languages has it been printed in over its entire history? Count all printings across every set and year.", + "evidence": "Swamp is the name of a Magic: The Gathering card." + }, + { + "instance_id": "bird117", + "db": "card_games", + "question": "I'm putting together a black artifact flavor-showcase section for a trade binder. How many mono-black Artifact cards have a foreign-language printing that shows flavor text in that language? By mono-black I mean black is the card's only colour, and by Artifact cards I include artifacts combined with another card type, like an Artifact Creature. I'm counting cards, not printings \u2013 a card is the same card regardless of set, print run, or language. Just give me one number.", + "evidence": "In Magic colour notation, B denotes black, and a card is mono-black when black is its only colour." + }, + { + "instance_id": "bird118", + "db": "codebase_community", + "question": "What is the display name of the user who last edited the post \"Examples for teaching: Correlation does not mean causation\"?", + "evidence": "" + }, + { + "instance_id": "bird119", + "db": "codebase_community", + "question": "Which users made exactly one history entry on at least one post with at least 1,000 views? Return their distinct user IDs.", + "evidence": "" + }, + { + "instance_id": "bird120", + "db": "codebase_community", + "question": "What is the difference in percentage points between the 2010 and 2011 shares of all Student badges, taking the 2010 share minus the 2011 share?", + "evidence": "" + }, + { + "instance_id": "bird121", + "db": "codebase_community", + "question": "What percentage of posts authored by Community use the R-language tag? Round to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird122", + "db": "codebase_community", + "question": "Which post created in 2010 had the most favorites? Return its post ID and its owner's display name.", + "evidence": "" + }, + { + "instance_id": "bird123", + "db": "codebase_community", + "question": "Give the view count of the post titled 'Computer game datasets' and the display name of its last editor.", + "evidence": "" + }, + { + "instance_id": "bird124", + "db": "codebase_community", + "question": "Give the text and author's display name for the latest ten comments on the post titled 'Analysing wind data with R', newest comment first.", + "evidence": "" + }, + { + "instance_id": "bird125", + "db": "codebase_community", + "question": "Among all posts by the user with the highest reputation, what percentage have a score above 50? Round to two decimal places.", + "evidence": "" + }, + { + "instance_id": "bird126", + "db": "codebase_community", + "question": "Among comments attached to existing posts with exactly one comment record in the data, how many have a score of zero?", + "evidence": "" + }, + { + "instance_id": "bird127", + "db": "codebase_community", + "question": "I'd like to gauge the standing of our United Kingdom contributor community on the site. Can you give me the combined reputation of the users based in the United Kingdom who have posted on the site, as a single total? Please write the country by its full name, \"United Kingdom\", and don't substitute abbreviations. I just need the one number, not a per-user list.", + "evidence": "Reputation is the score the site assigns each user. A user who has posted owns at least one item in the site's post collection." + }, + { + "instance_id": "bird128", + "db": "codebase_community", + "question": "I want to profile the users who drop links in comment threads. What is the average age of the users who posted a comment containing a website link? Please round it to two decimal places. That single value is all I need back.", + "evidence": "A comment counts as containing a website if its content contains 'http://'." + }, + { + "instance_id": "bird129", + "db": "codebase_community", + "question": "I'm profiling how seasoned our Organizer badge holders in Germany are. Among the users who earned the Organizer badge and are based in Germany, how many had already earned 5 badges before they got the Organizer badge? Just the count, please. Note: \"before\" means strictly earlier - badges earned at the same moment as the Organizer badge don't count toward the 5, and the Organizer badge itself doesn't count as one of the 5.", + "evidence": "Organizer badge: the badge whose name is Organizer." + }, + { + "instance_id": "bird130", + "db": "codebase_community", + "question": "I'm putting together a report for the site owners on where people who started posting during 2010 were located, with a focus on India. Could you tell me how many of the users whose first post was created in 2010 are located in India? By 2010 I mean the calendar year 2010, and by India I mean the country itself, not any place whose name merely contains the word.", + "evidence": "A user's first post is the earliest-created post among the posts that user owns." + }, + { + "instance_id": "bird131", + "db": "codebase_community", + "question": "I'm profiling the authors behind poorly received R posts to see if they tend to be low-reputation members. Can you give me the average reputation of the users who own posts tagged with the R tag that have a score below 20? Just the single number, rounded to the nearest whole number.", + "evidence": "'r' is the tag used on this site for the R programming language for statistical computing." + }, + { + "instance_id": "bird132", + "db": "codebase_community", + "question": "I'm putting together the yearly activity report with a Germany-focused breakdown of who did the editing, covering posts created in calendar year 2012. For the 2012 posts whose last editor is a user based in Germany, I need the total score; and for all other posts created in 2012, I need their total score as well. Also, how many Germany-based users were the last editor of at least one 2012 post, and what their combined reputation is, as shown on their profiles. A user based in Germany is one whose profile location is in Germany.", + "evidence": "A post's last editor is the user who made its most recent edit." + }, + { + "instance_id": "bird133", + "db": "codebase_community", + "question": "I'm reviewing R-language activity on the site. I'd like to gauge the standing of the community members behind the highly-rated R posts: what is the combined reputation of the users who own a post with a score of exactly 10 that carries the R programming language tag? Please return just that single number. Note that by R I mean the R programming language tag specifically, not any other tag or value that just happens to contain the letter r.", + "evidence": "" + }, + { + "instance_id": "bird134", + "db": "codebase_community", + "question": "I'd like to gauge the standing of the community members behind the R posts on one day. Could you tell me the combined reputation of the users who own the posts tagged R that were last active on 2014-08-27? I just need that one number, covering the whole calendar day 2014-08-27.", + "evidence": "R: the R language for statistical computing." + }, + { + "instance_id": "bird135", + "db": "codebase_community", + "question": "What is the total score of the questions tagged 'r' that link to the question titled \"A Probability distribution value exceeding 1 is OK?\"? I only need the total score of those linking questions.", + "evidence": "'r' here means the R programming language for statistical computing, not the letter on its own." + }, + { + "instance_id": "bird136", + "db": "codebase_community", + "question": "I'm profiling users by where they say they live. Among the users located in Germany, who has the second most badges of all time? By second most I mean the highest badge total strictly below the top holder's total. If several users tie at that total, include all of them. Please give me each such user's display name and their badge total, ordered by display name.", + "evidence": "Badges: the badges a user has obtained, one badge award per record." + }, + { + "instance_id": "bird137", + "db": "codebase_community", + "question": "I'm planning regional outreach and want to know which California-based account draws the most profile attention. Among users whose stated location shows they are based in California, give me the user id, display name, profile view count, and reputation of the user or users with the most profile views. If several such users tie for the most profile views, list every one of them with those same four values.", + "evidence": "CA is the two-letter state code for California." + }, + { + "instance_id": "bird138", + "db": "codebase_community", + "question": "We're profiling our most respected members by where they live, focusing on York, England (the English city itself; a location listed as just \"York\" counts). Who is the most influential user based there \u2013 the one with the highest reputation \u2013 and what is their age? If several users tie for the highest reputation, give me the age of each of them. Please return only the age, exactly as it stands for each user, even when an age isn't reported.", + "evidence": "" + }, + { + "instance_id": "bird139", + "db": "codebase_community", + "question": "I'm preparing a report on international participation. How many users located in India had earned a Yearling badge before 2014? 'Before 2014' should mean before 1 January 2014. I just need the single count, nothing else.", + "evidence": "'Yearling' is a badge a member earns for a year of activity on the site." + }, + { + "instance_id": "bird140", + "db": "codebase_community", + "question": "I'm putting together a summary of how active badge-holders present themselves on the site. How many different display names appear among the adult users who obtained the Supporter badge? By adult I mean age 19 to 65 inclusive, and please cover all time. I just need that one number.", + "evidence": "NaN stands for a user who never set a display name." + }, + { + "instance_id": "bird141", + "db": "codebase_community", + "question": "Among all posts whose title contains the phrase 'principal component scores', which one has the most related posts linked to it? For each such post, give me the post title and the number of related posts. If several posts tie for the most, list every one of them with their counts. The count should cover related posts across the site's entire history.", + "evidence": "A related post is another post that the community's link records connect to a given post." + }, + { + "instance_id": "bird142", + "db": "codebase_community", + "question": "I'm auditing accounts on the stats forum. What is the id of the youngest user account whose display name is Michael? If two or more such accounts tie as the youngest, give me the smallest id.", + "evidence": "" + }, + { + "instance_id": "bird143", + "db": "codebase_community", + "question": "I'm trying to gauge how many users the bounty feature drew back when it first ran. How many users offered a bounty of 30 or more on some post between 1 January 2010 (inclusive) and 1 January 2011 (exclusive), going by the date the bounty was recorded? By the user who offered a bounty, I mean the post's owner - the owner account where one is recorded, otherwise the owner name on the post. I just need that one count.", + "evidence": "A bounty is a reputation reward a user attaches to a post, recorded as an amount." + }, + { + "instance_id": "bird144", + "db": "codebase_community", + "question": "What was the average reputation of users located in India who created a post in 2010? Please give me a single number rounded to two decimal places. Note: 'in 2010' means the calendar year 2010 based on the post's creation date, and any type of post counts. A user counts as located in India only if their location is actually India - a place that merely contains the word India (like the US state Indiana) doesn't count.", + "evidence": "" + }, + { + "instance_id": "bird145", + "db": "codebase_community", + "question": "I'm profiling our most active contributors of 2012. Among the users who created more than ten posts in 2012 (judged by each post's creation date), what is their average number of up-votes cast and their average age? Please give me a single row with both averages, each rounded to two decimal places.", + "evidence": "Up-vote: a vote a user cast in favor of a post." + }, + { + "instance_id": "bird147", + "db": "codebase_community", + "question": "I'm reviewing our 2010 content. What percentage of posts created in 2010 that have a score above 5 were NOT made by high-reputation users? By high-reputation I mean a user with a reputation of at least 1000. Please give me just the single percentage value, rounded to two decimal places. Use the post's creation date to determine that it's from calendar year 2010.", + "evidence": "high-reputation: reputation of at least 1000" + }, + { + "instance_id": "bird148", + "db": "codebase_community", + "question": "I'm reviewing the history of the question 'Why square the difference instead of taking the absolute value in standard deviation?'. For that post, who left the most edit comments, and how many did they leave? Please give me each editor's display name along with their number of edit comments on that post. If several editors are tied for the most, list each of them with their count. Also, please count every revision as its own event, even when successive revisions carry the same note.", + "evidence": "An edit comment is the note an editor records together with a revision of a post, not a comment posted under the post." + }, + { + "instance_id": "bird149", + "db": "debit_card_specializing", + "question": "For each of the SME, LAM, and KAM segments, identify the CZK customer with the lowest total recorded consumption in 2013, breaking a tie by smaller customer ID. What are the differences between those customers' 2013 totals in SME minus LAM, LAM minus KAM, and KAM minus SME order? Round each to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird150", + "db": "debit_card_specializing", + "question": "Among EUR-paying customers in the SME, LAM, and KAM segments, which segments had the highest and lowest percentage increase in total consumption from 2012 to 2013? Return each extreme segment and its increase percentage, rounded to two decimal places; include ties.", + "evidence": "" + }, + { + "instance_id": "bird151", + "db": "debit_card_specializing", + "question": "For the customer who paid 634.8 on 2012-08-25, what is the relative change in annual consumption from 2012 to 2013, calculated as (2013 total - 2012 total) / 2012 total and rounded to four decimal places?", + "evidence": "" + }, + { + "instance_id": "bird153", + "db": "debit_card_specializing", + "question": "I'm reviewing our 2012 performance and want to see which client segments hold our small-scale customers. For each client segment, can you tell me how many customers had total consumption below 30,000 over the whole of 2012? Please count only customers who used their cards at some point during 2012, and treat 30,000 as a strict limit - someone at exactly 30,000 doesn't count. I just need the client segment and the number of such customers per segment.", + "evidence": "Consumption means the amount spent through a customer's fuel cards." + }, + { + "instance_id": "bird154", + "db": "debit_card_specializing", + "question": "I'm reviewing 2013 uptake and want to know the genuinely active cardholder base in each client segment. For each client segment, how many of that segment's customers consumed any fuel at all during the calendar year 2013? I just need the client segment and the number of customers who consumed fuel in 2013, nothing else.", + "evidence": "A customer's consumption for a month is the amount of fuel recorded against them for that month; by 'consumed any fuel in 2013' I mean they had fuel recorded against them in at least one month of 2013." + }, + { + "instance_id": "bird155", + "db": "debit_card_specializing", + "question": "I want to gauge how spread out our high-value fuelling activity in the Czech Republic was over the recorded window. How many whole minutes elapsed from the first to the last fuel transaction at gas stations in the Czech Republic with a price over 1000? Please round down to whole minutes.", + "evidence": "Czech Republic means the gas station is in the CZE country." + }, + { + "instance_id": "bird156", + "db": "debit_card_specializing", + "question": "I'm preparing a loyalty review of our steadily active customers in 2013. For each currency, I'd like to know how many customers bought fuel in every month from January through November 2013, with both January and November included. Please give me the currency and that customer count. If several currencies tie, list them all \u2013 no ranking needed.", + "evidence": "Consumption means the total fuel a customer purchased in a month on their fuel card; a customer counts for a month if they had any consumption that month." + }, + { + "instance_id": "bird157", + "db": "debit_card_specializing", + "question": "I'm putting together currency-specific pricing proposals and need a sense of typical quarterly fuel consumption. Among customers who have fuel consumption recorded in the second quarter of 2013 (April, May and June 2013), what is the average amount of fuel consumed over the whole quarter by an EUR-paying customer, and the same average for a CZK-paying customer? Please round both averages to two decimal places. By EUR-paying / CZK-paying I mean a customer whose account currency is EUR / CZK.", + "evidence": "EUR-paying / CZK-paying: a customer whose account currency is EUR / CZK" + }, + { + "instance_id": "bird158", + "db": "debit_card_specializing", + "question": "I want to see how much our busiest month grew from 2012 to 2013. What was the difference between our peak monthly total consumption in 2013 and our peak monthly total consumption in 2012, in consumption units, rounded to the nearest whole number? By total consumption in a calendar month I mean the consumption of the whole customer base that month, and the peak of a year is the calendar month with the highest total consumption in that year.", + "evidence": "" + }, + { + "instance_id": "bird159", + "db": "debit_card_specializing", + "question": "I'm reviewing customer 15621's fuel spending on the fleet card in 2013. What was their average fuel consumption per month, counting only the months in which they actually purchased fuel? Give me the single average value rounded to two decimal places.", + "evidence": "" + }, + { + "instance_id": "bird160", + "db": "debit_card_specializing", + "question": "I want to compare how much a typical Czech-koruna-billed client spent versus a euro-billed client during 2012, to see whether the two currency segments behave differently. Please give me the difference between the average 2012 consumption of a CZK-paying customer and the average 2012 consumption of an EUR-paying customer, with the EUR average subtracted from the CZK average. Only include customers who had consumption in 2012 in each average, and the period is calendar year 2012. Just send me that one number, rounded to the nearest whole unit.", + "evidence": "Consumption means the monthly consumption amount recorded per customer." + }, + { + "instance_id": "bird161", + "db": "debit_card_specializing", + "question": "I'm sizing a premium offer for our heaviest corporate fuel buyers ahead of renewals. How many KAM-segment customers paying in CZK had total fuel consumption above 1 million (1,000,000) in calendar year 2013? I just need that number of customers.", + "evidence": "KAM is one of our client segments." + }, + { + "instance_id": "bird162", + "db": "debit_card_specializing", + "question": "For my February 2013 activity report: how many SME customers actually purchased gas in February 2013? Please give me just a single whole number - the count of SME customers who consumed gas during the calendar month of February 2013 (Feb 1-28, 2013).", + "evidence": "By \"gas\" I mean gasoline (motor fuel) purchases, not natural gas." + }, + { + "instance_id": "bird163", + "db": "european_football_2", + "question": "Which away teams are tied for the most away wins in the Scottish Premier League 2009/2010 season?", + "evidence": "" + }, + { + "instance_id": "bird164", + "db": "european_football_2", + "question": "List the long name of teams with above-average build-up play passing in 2012.", + "evidence": "" + }, + { + "instance_id": "bird165", + "db": "european_football_2", + "question": "List the ten players taller than 180 cm with the highest mean recorded heading accuracy, highest first. Break mean ties by player API ID.", + "evidence": "" + }, + { + "instance_id": "bird166", + "db": "european_football_2", + "question": "List the name of leagues in which the average goals by the home team is higher than the away team in the 2009/2010 season.", + "evidence": "" + }, + { + "instance_id": "bird167", + "db": "european_football_2", + "question": "Between the tallest and shortest players, who has the higher average finishing attribute across his recorded assessments? Give the player's name.", + "evidence": "" + }, + { + "instance_id": "bird168", + "db": "european_football_2", + "question": "What is Abdou Diallo's mean recorded ball-control score minus Aaron Appindangoye's mean recorded ball-control score?", + "evidence": "" + }, + { + "instance_id": "bird169", + "db": "european_football_2", + "question": "By what percentage is Ariel Borysiuk's overall rating in his latest attribute record higher than Paulin Puel's latest overall rating? Round to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird170", + "db": "european_football_2", + "question": "On what date did Kevin Constant first record his highest crossing score?", + "evidence": "" + }, + { + "instance_id": "bird171", + "db": "european_football_2", + "question": "Among players shorter than 180 cm, what percentage have at least one recorded overall rating above 70? Round to two decimal places.", + "evidence": "" + }, + { + "instance_id": "bird172", + "db": "european_football_2", + "question": "What is the average height, in centimetres, of the players taller than 180 cm who have appeared in the home team's number-3 lineup slot? This should cover the whole recorded match history with no season or date restriction. 'Taller than 180' means strictly taller than 180 cm. Please round the final average to two decimal places and return just that single value.", + "evidence": "Number-3 lineup slot: each match records a home team's starting eleven as eleven ordered player slots; the number-3 slot is the home team's third slot." + }, + { + "instance_id": "bird173", + "db": "european_football_2", + "question": "I'm sizing up how defensive-minded the young generation is. Among players born after 1990 (i.e., born in 1991 or later) who have a defensive work rate rating, what share are rated high? A player counts as rated high if they've been rated high at any point in their career. Give me that share as a percentage rounded to two decimal places - nothing else.", + "evidence": "Defensive work rate: a player's rating for defensive effort, on a low / medium / high scale." + }, + { + "instance_id": "bird174", + "db": "european_football_2", + "question": "I've shortlisted the players whose overall rating as of 31 December 2010 was above 80 - strictly above 80, that is. How many matches did these players play on average during the 2010/2011 season? Please give me just that single average, rounded to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird175", + "db": "european_football_2", + "question": "What is the average height in centimeters of players whose current defensive work rate grade is not medium? Use each player's most recent rating record to determine their current grade, and round the result to two decimal places. I just need that single number.", + "evidence": "Defensive work rate grades run low, medium and high." + }, + { + "instance_id": "bird176", + "db": "european_football_2", + "question": "I'm preparing a report on team playing styles. First, consider only teams whose chance creation passing class was Risky at any point in the recorded history. Among those, I want the short names that are carried by more than one club. For each such short name, please give me: the short name, the number of clubs that carry it, and the average chance creation passing risk of those clubs that was in force on 19 September 2014, rounded to one decimal place. Sort the results by that average, highest first; if two averages are the same, order them alphabetically by short name.", + "evidence": "A team's chance creation passing class is 'Risky' when chanceCreationPassingClass = 'Risky'; its chance creation passing risk is the chanceCreationPassing value in force on the date in question." + }, + { + "instance_id": "bird177", + "db": "european_football_2", + "question": "I want to gauge how tall the current medium-defensive-work players from the 1990-1995 birth cohort are. Please find the average height, in centimetres, of players born from 1990 through 1995 inclusive whose defensive work rating is medium, and round the average to two decimals. A player's rating is the grade on their most recent record that carries a grade.", + "evidence": "The defensive work rating grades are low, medium and high." + }, + { + "instance_id": "bird178", + "db": "european_football_2", + "question": "What is the average weight of all left-footed players? Round the average to one decimal place.", + "evidence": "Left-footed means the player's preferred foot when attacking is the left one." + }, + { + "instance_id": "bird180", + "db": "european_football_2", + "question": "What was the build-up play dribbling class for the team from England with short name POR on 10 September 2015? I just need that single class value for that team on that calendar day.", + "evidence": "" + }, + { + "instance_id": "bird181", + "db": "european_football_2", + "question": "I'm looking at whether a fast attacking build-up actually converts into big results. Which clubs, playing at home, have won a match by at least 3 goals while their build-up play speed was rated fast at the time? For each such club, give me the club name, short name, and how many of those home wins it has - one row per club. Please treat clubs as separate even if two clubs share the same short name, and if several clubs tie on the number of wins, list all of them. The speed rating that counts is the club's most recent rating dated on or before the match's own date.", + "evidence": "A club wins by at least 3 goals when its goal count minus the opponent's goal count is 3 or more; 'fast' means the club's build-up play speed class at that time is Fast." + }, + { + "instance_id": "bird182", + "db": "european_football_2", + "question": "I'm writing a piece about players who've suffered heavy away defeats. For each season, I'd like to know how many different players were in the away team's lineup for a match that the away side lost by five or more goals. Please give me one row per season that had at least one such match, showing the season label (like 2012/2013) and the number of different players, ordered by season label.", + "evidence": "" + }, + { + "instance_id": "bird183", + "db": "european_football_2", + "question": "I want to find out which European league country had the largest group of exceptionally heavy players appear in its matches. For each country, I'm interested in players weighing 210 pounds or more who took part in matches played in that country's league - count players from both teams in each match. Please tell me which country had the most such players and how many there were. If several countries tie for the most, list them all, ordered alphabetically by country name. I just need the country name and the number of qualifying players - nothing more.", + "evidence": "" + }, + { + "instance_id": "bird184", + "db": "european_football_2", + "question": "I'm studying squad physical profiles in Serie A. For the 2008/2009 season and the 2015/2016 season of the Italian league, I'd like to know how many players appeared in matches that season (i.e. were listed in a match's lineup, including players who appeared in both seasons), and the average height of those players in centimeters, rounded to two decimals. One row per season with the season label, the count of players, and their average height.", + "evidence": "A player appeared in a match if he is listed in that match's lineup (eleven home and eleven away players). Italian league = the league of the country Italy." + }, + { + "instance_id": "bird185", + "db": "european_football_2", + "question": "I'm putting together a report on current player abilities. How many players are over 180 cm tall and have a volley score above 70 on their most recent rating record? Judge each player by their current rating only, not their career history. For each player, use the rating record with the latest date; if a player has several rating records on that same latest date, count them only based on the single record with the highest id on that date.", + "evidence": "By volley I mean a player's ability to strike the ball while it is in the air, and a rating record is a dated assessment of a player's attributes." + }, + { + "instance_id": "bird186", + "db": "european_football_2", + "question": "I'm reviewing home-match outcomes by lineup slot and want one number: across the whole player population, what is the average of the total home-team goals scored in the matches where a player appeared as the home team's third listed player? In other words, for each player, take all matches where they were the home team's third listed player and add up the home team's goals in those matches; give me the average of those totals over all players, rounded to two decimal places.", + "evidence": "The home team's third listed player means the player recorded third in the home team's lineup for a match." + }, + { + "instance_id": "bird187", + "db": "european_football_2", + "question": "I'm studying where small, low-weight players are concentrated across European leagues. Which country's league matches featured the fewest players weighing at most 160 pounds? If several countries tie for the fewest, give me every tied country's name. Include all seasons in the database, and count the players who took part in those matches.", + "evidence": "Players are associated with a country through the matches they played in that country's league; all 22 players of a match, the 11 of the home team and the 11 of the away team, took part in it." + }, + { + "instance_id": "bird188", + "db": "european_football_2", + "question": "As of 1 January 2015, how many players preferred their left foot and had an attacking work rate below high (i.e. low or medium)? I just need the count of those players.", + "evidence": "Attacking work rate is a rating on the scale low, medium, high; below high means low or medium. The player's preferred foot and work rate are the ones that held on 1 January 2015." + }, + { + "instance_id": "bird189", + "db": "european_football_2", + "question": "What percentage of left-footed players currently has a low attacking work rate? Use each player's most recent attribute record. Only count left-footed players whose current record includes an attacking work rate rating - those without one should be left out of the share. Give me a single percentage, rounded to one decimal place.", + "evidence": "Attacking work rate: how much effort a player puts into attacking plays, rated low, medium or high." + }, + { + "instance_id": "bird190", + "db": "european_football_2", + "question": "I want to see which of the young Aaron-named players actually got playing time in 2015/2016. For every player born after 1990 whose name begins with 'Aaron', can you give me his name and the number of matches he played in during the 2015/2016 season (the season labelled 2015/2016)? A player counts as having played in a match if he's recorded in either team's starting line-up for that match. One row per player, sorted alphabetically by player name.", + "evidence": "" + }, + { + "instance_id": "bird191", + "db": "european_football_2", + "question": "How many players had a jumping score of 80 or higher in the player fitness assessments made between 22 February 2007 and 30 August 2007, with both of those dates included in the period? For clarity, the jumping score is the player's jumping assessment on a 1-100 scale.", + "evidence": "jumping score: the player's jumping assessment on a 1-100 scale" + }, + { + "instance_id": "bird192", + "db": "european_football_2", + "question": "What was KSV Cercle Brugge's build-up-play speed class at the time of their last match of the 2012/2013 season? The last match of the season is the latest-dated match the team played in that season, and the snapshot in effect at a moment is the latest one dated on or before that moment. I just want that single build-up-play speed class, nothing else.", + "evidence": "Build-up-play speed class: a team's speed class for how quickly attacks are put together." + }, + { + "instance_id": "bird193", + "db": "european_football_2", + "question": "I'm profiling how exceptional Landon Donovan was in the mid-2013 player ratings. By what percentage was his overall rating on 12 July 2013 higher than the average overall rating across all players on that same calendar date, considering every player with the overall rating they carried on that date (not only those updated that day), among players rated low, medium or high for defensive work rate? Return one value only: that percentage, rounded to two decimals (e.g. 12.34 meaning 12.34% higher).", + "evidence": "Defensive work rate: a player's intensity of work in defense, rated low, medium or high. Overall rating: the overall score given to a player in the ratings." + }, + { + "instance_id": "bird194", + "db": "financial", + "question": "Among female clients living in the district with the lowest average salary, give the account IDs of the oldest client and the difference between the highest and lowest district-average salaries.", + "evidence": "" + }, + { + "instance_id": "bird195", + "db": "financial", + "question": "In which district did the female client born on 1976-01-29 open her account?", + "evidence": "" + }, + { + "instance_id": "bird196", + "db": "financial", + "question": "Among south Bohemia districts, in the one with the largest population, what percentage of resident clients are male? Round to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird197", + "db": "financial", + "question": "For the account associated with the loan dated 1993-07-05, what was the percentage increase in its recorded balance from 1993-03-22 to 1998-12-27?", + "evidence": "" + }, + { + "instance_id": "bird198", + "db": "financial", + "question": "For accounts opened from 1995 through 2000 in East Bohemia districts, list each account ID and its statement-issuance frequency.", + "evidence": "" + }, + { + "instance_id": "bird199", + "db": "financial", + "question": "For branch districts of accounts with loans still running in debt and recorded unemployment rates in both 1995 and 1996, list each district and the percentage change in its unemployment rate from 1995 to 1996, rounded to two decimal places.", + "evidence": "Loan status 'D' denotes a running contract with the client in debt." + }, + { + "instance_id": "bird200", + "db": "financial", + "question": "For each account-disposition type other than OWNER found in districts with average salary above 8000 and at most 9000, give the type and the number of distinct associated accounts.", + "evidence": "" + }, + { + "instance_id": "bird201", + "db": "financial", + "question": "For loans dated in 1996 and 1997 across accounts owned by male clients, what was the percentage growth in total loan amount from 1996 to 1997?", + "evidence": "" + }, + { + "instance_id": "bird202", + "db": "financial", + "question": "How often does account 3 receive statements, and what is the recorded payment-purpose code for its scheduled payments totaling 3,539?", + "evidence": "" + }, + { + "instance_id": "bird203", + "db": "financial", + "question": "We're reviewing our first month of operations. Looking at the districts where we opened at least one account during that first month, which district had the largest population, and how many inhabitants does it have? If several districts tie for the largest population, list all of them with their populations.", + "evidence": "The bank's first month of operation is the calendar month in which its earliest account was opened." + }, + { + "instance_id": "bird204", + "db": "financial", + "question": "As part of a data-quality review for a segment report, I need to know how much of the recorded transaction activity for one of our segments has no payment purpose noted. How many transactions are there, over the whole recorded history, on the accounts held by male customers born between 1974 and 1976 (birth years 1974, 1975 and 1976), for which no payment purpose is noted? Please give me just that single number.", + "evidence": "Payment purpose: the stated reason or note recorded for a transaction." + }, + { + "instance_id": "bird205", + "db": "financial", + "question": "Among the bank's five most populous districts (the five with the largest numbers of inhabitants), which carries the heaviest active-lending burden relative to the account base it serves? For each of those five districts, please give me the district name and the average active loan per account, rounded to the nearest whole koruna. An active loan is a running loan contract with status 'C' (repaid OK so far) or status 'D' (client in debt). The average should be taken over every account held in the district, not just accounts with loans, and accounts and their loans count toward the district of the branch that holds the account, not the client's district. If several districts tie for the highest average, list them all.", + "evidence": "" + }, + { + "instance_id": "bird206", + "db": "financial", + "question": "For our 1995 year-end loan review: which of the bank's regions has the largest total approved amount among loans that were still being repaid on 31 December 1995, and what is that total? Only count loans approved on or before that day whose repayment term still covers that day; loans approved after it don't count yet. A loan's term includes both its approval day and its last day. If several regions tie for the largest total, list every tied region with the total. Just give me the region name and the single total figure.", + "evidence": "A loan is repaid over a term that starts on its approval day and lasts the number of months recorded for the loan; the loan is being repaid on every day of its term. Status 'C' means a running contract, OK so far; status 'D' means a running contract, client in debt. The regions are the bank's district regions." + }, + { + "instance_id": "bird207", + "db": "financial", + "question": "I'd like to know how many customer accounts based in North Bohemia as of the end of 1995 have had at least one transaction with partner bank AB at some point in their history. Please give me just that count as a single integer.", + "evidence": "'End of 1995' means the state on 31 December 1995, and the AB transaction may date from any time, before or after that date; 'AB' is the code identifying the partner bank of the transaction." + }, + { + "instance_id": "bird208", + "db": "financial", + "question": "I'm profiling our East Bohemia branch districts that serve younger clients for a youth-product campaign. A district counts as serving a client when the client holds an account at a branch located in that district - it's the branch location that matters, not the client's home district. For the East Bohemia districts that serve at least one client born in the 1980s (birth years 1980 through 1989), please give me: the average of those districts' average salaries, rounded to two decimal places, and the number of such districts.", + "evidence": "East Bohemia refers to the districts in the East Bohemia region of the Czech Republic." + }, + { + "instance_id": "bird209", + "db": "financial", + "question": "I'm planning a card-offer mailing and want to gauge how affluent the home districts of certain clients are. Please give me one number: the average, over the districts where these clients live, of each district's average salary, rounded to two decimal places. The clients are account owners in central Bohemia who hold no credit card for their account. Two things to keep in mind: a client's district is the one recorded with the client, not the district of the account's branch; and a client counts as holding a card for an account if a card is linked to any disposition of that account, not just their own.", + "evidence": "OWNER is the disposition type marking an account's owner; DISPONENT marks other account users." + }, + { + "instance_id": "bird210", + "db": "financial", + "question": "I'm preparing for a client review and want to gauge how indebted our older customers' accounts are, including accounts that never took any loans. Could you give me the average number of loans per account among accounts whose owner was born before 1950? By 'born before 1950' I mean a birth date earlier than 1 January 1950, and all loans should count regardless of when they were approved. Please give me the average rounded to two decimal places, and nothing else.", + "evidence": "The owner of an account is the client with the OWNER disposition; a DISPONENT is a co-holder who does not own it. A loan is a credit granted on the account, recorded with the date it was approved." + }, + { + "instance_id": "bird211", + "db": "financial", + "question": "I'm putting together a periodic report on large payments made by a specific customer cohort, split by what the payment was for. Among payments over $4000 (strictly more than $4000) made from the accounts of male customers born between 1974 and 1976, I need two figures: how many were household payments, and how many were made for a purpose other than household payment. A few rules to keep in mind: born between 1974 and 1976 means the birth year is 1974, 1975 or 1976; a customer's accounts are the ones they hold a disposition on; payments are the individual transactions executed on the account, not standing payment orders; a payment counts as other-purpose only if it has a recorded purpose different from household payment, and a payment with no purpose recorded counts in neither bucket.", + "evidence": "SIPO stands for household payment." + }, + { + "instance_id": "bird212", + "db": "financial", + "question": "I want to find out whether our borrowing households from larger population centres transact differently from local ones. For every account at the Prachatice branch that has taken at least one loan, please give me: the account number, the account opening date, the total amount ever borrowed, how many outside bank counterparties the account has transacted with over its entire history, the owner's home district, the population of that district, and a rank of these borrowing households by home-district population from largest to smallest. Note that a counterparty means a particular bank account at another institution, identified by that account number, not by the bank code, and only transfers to or from another bank count \u2014 handling cash at our own branch does not involve a counterparty. A household's home district is the district its owner client is registered in, which is not necessarily Prachatice. For the ranking: largest population first, ties share the same rank and the next rank after a tie is skipped, and among households whose home districts have the same population, list the smaller account number first.", + "evidence": "An outside bank counterparty is a bank account at another institution that money was sent to or received from on a transfer transaction. District population is the number of inhabitants of the district." + }, + { + "instance_id": "bird213", + "db": "financial", + "question": "I'm profiling our gold-card customers for a regional campaign, split by gender. For women first, then men, look at gold-card holders whose card's account has an average balance over 1,000. Among the branch districts holding those accounts, keep only the districts with over 100,000 inhabitants. For each gender, tell me: the number of those districts; which of them has the most inhabitants, with its inhabitants figure - if two districts tie, list both, one row per district; the average salary across those districts, rounded to two decimals; and the average ratio of urban inhabitants across those districts, rounded to two decimals. Nothing else. Please note: 'over' means strictly greater than, and an account's average balance is the mean of its balances after each transaction.", + "evidence": "A gold card is a card of type 'gold', and its holder is the client linked to its account as type 'OWNER'. The district of an account is the district of the branch that holds it; a district's inhabitants, salary and urban-inhabitant ratio are the district's own figures." + }, + { + "instance_id": "bird214", + "db": "financial", + "question": "I'm preparing a partner-bank negotiation and want to focus on our big-city clients. Please tell me, for 1998 (1 January through 31 December 1998), where the money went from gold credit card clients' accounts held at branches in large districts. Specifically: for accounts whose owner has a gold credit card, and whose branch is located in a district with at least 250,000 inhabitants, look at their outgoing payments (debit transactions, type VYDAJ). I need a ranking of the recipient bank and counter-account pairs by the total amount paid. If two pairs tie for the largest total, list both. For each pair, give me: the recipient bank code, the recipient counter-account number, the number of outgoing payments, and the total amount paid.", + "evidence": "Gold credit card means card type 'gold'; account owner means disposition type 'OWNER'; the counter-account is the partner account at another bank to which a payment is sent; the district is the one where the account's branch is located." + }, + { + "instance_id": "bird215", + "db": "financial", + "question": "I'm reviewing what the money leaving our Pisek district branch's accounts is actually used for. What percentage of the total amount of outgoing payments that state a payment purpose went to household bill payments (SIPO)? Please give me a single percentage value, rounded to two decimals. Note this should be based only on payments that state a purpose, not all outgoing payments, and should consider the full transaction history.", + "evidence": "VYDAJ marks a transaction where money leaves the account. SIPO is the code for household bill payments. A payment states its purpose through its transaction characterization." + }, + { + "instance_id": "bird216", + "db": "financial", + "question": "I'm planning a regional campaign for female customers who hold a credit card and a loan, and I need a demographic profile per region. For each region, please give me: the region, the average district salary of the districts where these female clients live, and the average 1996 district unemployment rate of those same districts \u2013 both averages rounded to 2 decimal places. I also want the name of the most populous district among those districts in each region, so I know where to focus local advertising. A few rules: count only female clients who own the account (disposition type OWNER) and who have at least one credit card and at least one loan on that account. 'Most populous' means the district with the largest number of inhabitants; if two tie, take the one whose name comes first alphabetically. One row per region, and include every region that has at least one such client \u2013 nothing else.", + "evidence": "Disposition type OWNER means the client owns the account. Unemployment rate in 1996 is the district's unemployment rate for 1996; average salary is the district's average salary." + }, + { + "instance_id": "bird217", + "db": "financial", + "question": "I'm reviewing our presence in central Bohemia. Please tell me: the names of the three most populous districts of central Bohemia (largest by inhabitants), the number of crimes committed in 1996 in each of them, the average 1996 crime count across those three districts, the average 1996 crime count across all districts in the country, and the difference between the three-district average and the overall average (three-district average minus overall average). Rank districts by inhabitants, breaking ties by district name alphabetically (ignoring accents). Round all averages and the difference to 2 decimal places. The overall average should cover every district in the country, whether or not it has any accounts.", + "evidence": "Central Bohemia is the region of the Czech Republic surrounding Prague." + }, + { + "instance_id": "bird218", + "db": "financial", + "question": "For planning region-targeted card offers, I need to look at the smallest markets behind each credit card type. For each credit card type (gold, classic and junior), which home district of the clients holding that type has the fewest inhabitants, and how many inhabitants does that district have? Please include all three card types, and if several districts tie for the fewest inhabitants, list them all.", + "evidence": "By \"home district\" I mean the district a client lives in, and a district's inhabitants are its number of inhabitants." + }, + { + "instance_id": "bird219", + "db": "financial", + "question": "I'm reviewing how our branches performed in 1996, and I'd like a picture of the money standing in accounts opened during that year, across the region that Litomerice belongs to (the region as given in the district table's region field).\n\nFor each district in that region where at least one account was opened in 1996 (openings counted by account creation date within the calendar year 1996), please give me:\n- the district name,\n- the number of accounts opened in 1996,\n- the average end-of-1996 balance of those accounts,\nwith rows ordered by district name.\n\nAlso give me:\n- the region-wide average end-of-1996 balance, taken across all those accounts (not as the mean of the district averages),\n- the district with the highest average end-of-1996 balance; if two districts tie, name the one that comes first alphabetically.\n\nBy end-of-1996 balance I mean the balance after the account's last transaction dated on or before 1996-12-31; transactions dated 1997 or later don't count, and if several transactions fall on that last date, the one with the highest transaction id is the one that matters. Please round all averages to two decimals.", + "evidence": "Balance means the balance after a transaction." + }, + { + "instance_id": "bird220", + "db": "financial", + "question": "I want to check whether our biggest short-term loans cluster in populous branch districts and how well-off those areas are. Looking at 24-month loans on accounts with weekly statement issuance, take the ten largest loans ranked by approved amount from highest to lowest \u2014 if two loans have the same amount, the one with the smaller loan id ranks first, and ranking continues consecutively after a tie. The district of a loan is the district where the branch managing the loan account is located. Among the districts those ten loans come from, I need: the district with the most inhabitants (if two districts tie on inhabitants, the one with the smaller district id counts as more populous), that district's number of inhabitants, and the average salary across those districts rounded to two decimals.", + "evidence": "Weekly statement issuance means account issuance frequency 'POPLATEK TYDNE'. A district's inhabitants are its number of inhabitants, and its average salary is its average yearly salary." + }, + { + "instance_id": "bird221", + "db": "financial", + "question": "For every district with at least 100,000 inhabitants that has withdrawal transactions, can you show me the district name, region, population, total amount withdrawn in the district, withdrawals per inhabitant (rounded to 2 decimals), the district's rank by withdrawals per inhabitant (highest first), and the average standing-order debit per account held in the district (rounded to 2 decimals)? I want to compare withdrawal pressure and the standing-order burden side by side across our major districts. Please rank all qualifying districts, not just the top few, using competition ranking so tied districts share a rank and the next rank is skipped (e.g. 1, 1, 3). The whole transaction history on record is in scope. For the average standing-order debit per account, every account held in the district counts, including ones with no standing orders \u2013 those simply bring no debits.", + "evidence": "Withdrawal transactions are those recorded with type = 'VYDAJ'; a standing order is a recurring payment order that debits the account." + }, + { + "instance_id": "bird222", + "db": "financial", + "question": "I'm preparing a client review for client 3541. For each account this client can access, I need one row with: the account id, the date the account was opened, its frequency, the name and region of the district where the account is held, whether that district is the client's home district (Yes/No), that district's average salary, the loan repayment status (none if there's no loan), the loan amount (0 if no loan), the number of transactions over the account's whole recorded history, total income, total expense, net balance, the number of clients whose home district lies in that region, the name of the most populous district in that region, that district's number of inhabitants, and the account district's population rank within its region. Order the rows by number of transactions, most first, with ties broken by ascending account id. The client's home district is the district recorded for the client, and population means number of inhabitants. For ranks, the most populous district is rank 1; districts with equal population share a rank and the next rank skips.", + "evidence": "PRIJEM = incoming transaction; VYDAJ = outgoing transaction; net balance = total income - total expense" + }, + { + "instance_id": "bird223", + "db": "financial", + "question": "I'm doing a lending review by account-opening year for my region. For accounts opened in the central Bohemia region from 1 January 1996 onward, broken down by the calendar year of the account creation date (as a text string like '1996', not an integer), I need: the number of accounts opened that year in the region, the total amount lent on those accounts, and the average across the districts of the amount lent per account opened in that district, rounded to two decimals. An account with no loan counts as having lent nothing.", + "evidence": "Central Bohemia is the region value recorded for districts in the region data; the amount lent on an account is the total of the loans granted on that account." + }, + { + "instance_id": "bird224", + "db": "financial", + "question": "For a regional risk review, I need to look at our largest 24-month loans. Please find the ten loans with the largest approved amount among loans with a 24-month duration on accounts that have weekly statement issuance. For each of these ten loans, give me: the district of the branch servicing the account, the approved amount, the approval date, and the account balance at the end of the day the loan was approved. Two rules: if two loans have the same approved amount, the one approved earlier counts as larger; and if several transactions share that last day, the one with the higher transaction id counts as the later one. List the results from the largest approved amount down.", + "evidence": "Weekly statement issuance means statement frequency is 'POPLATEK TYDNE'; loan duration is stated in months." + }, + { + "instance_id": "bird225", + "db": "financial", + "question": "I'm putting together a review of our first credit card wave and need a profile of every client who was issued a credit card in 1994 (issue date falling in calendar year 1994). For each such client, please include: client id, gender, birth date, card type, age at card issue (the card's issue year minus the client's birth year), number of loans on their account, total amount borrowed, borrower classification, district name, district average salary, and their age rank within gender. Use these classifications: Young borrower if there's at least one loan on the account and age at card issue is under 30; Mature borrower if there's at least one loan and age at card issue is 30 or more; otherwise Non-borrower. The age rank within gender should be a standard competition rank - equal ages share a rank and the next rank is skipped (e.g. 1, 1, 3). Order the rows by client id.", + "evidence": "" + }, + { + "instance_id": "bird226", + "db": "financial", + "question": "I'm reviewing branches in the north Moravia region ahead of a client meeting. For each branch there, how many transactions dated on or before 14 October 1998 have no characterization recorded? A branch is the district the account belongs to, and the count should cover all of the branch's accounts' transactions. Please list only the top three branches by this count, with the branch name and its count, ranked first to third. If any branches tie on the count, order them alphabetically by branch name and keep three rows after that ordering.", + "evidence": "A transaction with no characterization recorded means the bank did not tag it with any characterization." + }, + { + "instance_id": "bird227", + "db": "financial", + "question": "The loan of 98832 approved on January 3rd, 1996 has one applicant account. For that account, list every counterparty it had paid before January 3rd, 1996. A counterparty means a specific account number at a specific bank, so give me one row per bank code and account number combination. For each counterparty I need the bank code, the account number, the number of outgoing payments made to them, and the total amount paid to them. Count only outgoing payments (VYDAJ, i.e. debits) made before January 3rd, 1996, and sort the counterparties by total amount paid, largest first.", + "evidence": "VYDAJ denotes an outgoing payment (debit); PRIJEM denotes an incoming payment (credit)." + }, + { + "instance_id": "bird228", + "db": "financial", + "question": "For the year-end review of my branch at location 1: how many accounts that were on the branch's books as of 31 December 1995 hold an active loan contract? I want a single integer, nothing else. An account counts only if it belonged to the branch on that date, and only contracts that are still active by their repayment status count - statuses A and B are finished contracts and shouldn't be included.", + "evidence": "Loan status C means an active contract in good standing; loan status D means an active contract with the client in debt. Both are active contracts." + }, + { + "instance_id": "bird230", + "db": "financial", + "question": "I need to profile our three largest loans held by female clients. Please report for each of these loans: the client id, loan amount, duration in months, total payments, interest paid, loan status, the district and region of the branch where the loan's account is held, the account's transaction count and total deposits, an income category, the number of loans the bank has granted in that region, the average of the average salaries of that region's districts, and the client's completed age on 2026-10-09. A few notes: the three largest loans are the three highest approved loan amounts, and if amounts tie, include all tied loans. Total payments is the monthly payment times the duration, and interest paid is total payments minus the approved amount; round money figures to two decimals. The income category is High Income if total deposits exceed twice the loan amount, Medium Income if they exceed the loan amount, and Low Income otherwise. Loans in a region counts every loan the bank has granted in that region for all clients, not only female clients. The region's average salary is the average of the average salaries of the districts in that region, rounded to two decimals. For the age, use the completed age on 2026-10-09, subtracting one if the birthday hasn't occurred by that date.", + "evidence": "Female means client gender = 'F'. Deposits are transactions recorded as PRIJEM (credits to the account). District average salary is the district's average salary figure." + }, + { + "instance_id": "bird231", + "db": "financial", + "question": "I need to find out where our pre-1997 long-term mortgage exposure is concentrated geographically. Long-term means a loan duration of more than 24 months, and \"opened before 1997\" should exclude anything opened during 1997. Please tell me: for each region, which districts have at least one such account, and give me the region whose qualifying districts have the largest combined number of inhabitants. Along with the region's name, I want the number of those districts in it, their combined population, and the total number of those accounts in the region. If two regions tie on combined population, pick the one whose name comes first alphabetically.", + "evidence": "" + }, + { + "instance_id": "bird232", + "db": "financial", + "question": "I'm putting together a market-coverage report on how our 1997 rollout of monthly-statement accounts reached large urban districts. For districts with at least 100,000 inhabitants that had at least one monthly-statement account opened during calendar year 1997, please give me: the total number of monthly-statement accounts opened in those districts during 1997, how many districts are involved, and the average salary across these qualifying districts rounded to two decimals.", + "evidence": "Monthly statement issuance means the account's statement frequency is 'POPLATEK MESICNE'." + }, + { + "instance_id": "bird233", + "db": "financial", + "question": "I'd like to review the breadth of each gold-card account's external payment network. For every account that has a gold credit card, could you list: the account id, the district name and region of the branch, the total amount received, the total amount withdrawn, the number of loans taken, and the number of accounts at other banks that money was transferred to or received from? Then rank the accounts by that number of external counterparties. A few things to keep in mind: if accounts tie on the number, they share a rank and the next rank is not skipped; accounts with no external counterparty transfers should still be included and count as zero; and the totals and counts should cover the full recorded period.", + "evidence": "An external counterparty account is an account at another bank that money was transferred to or received from. Amount received refers to credit transactions, which carry transaction type PRIJEM. Amount withdrawn refers to debit transactions, which carry transaction type VYDAJ." + }, + { + "instance_id": "bird234", + "db": "financial", + "question": "I'm preparing our branch's annual customer review. For every account held at the Tabor branch as of 31 December 1996, I need a one-row profile per account, ordered among tied ranks by ascending account id, showing: the account id; the date the account was opened; the owner's gender and their age at 31 December 1996 in whole completed years; the number of credit cards issued to the account by 31 December 1996 (0 if none); the number of loans approved to the account by 31 December 1996 (0 if none); a loan standing label; the number of transactions on the account during 1997; the total money into the account during 1997; the total money out of the account during 1997; the peak balance reached on the account during 1997 (0 if none); and the account's rank by 1997 peak balance, highest first, with ties sharing a rank and the next rank skipped (e.g. 1, 1, 3). All 'as of' figures are taken at 31 December 1996; activity figures cover the calendar year 1997. A card or loan counts as held if it was issued or approved on or before 31 December 1996. The loan standing label is: 'no loan' if the account had no loans approved by 31 December 1996; otherwise 'defaulted' if any of its loans has repayment status B; otherwise 'repaying' if any has status C or D; otherwise 'paid off'. Money in is the sum of credit transaction amounts; money out is the sum of debit and cash-withdrawal transaction amounts. The account owner is the person with the 'OWNER' disposition on the account; other dispositions are just additional users. Nothing beyond these fields, please.", + "evidence": "Loan repayment status codes: A means the contract finished and was paid off, B means the loan was not repaid (default), C means the loan is running and being repaid, D means the loan is running and the client is in debt on it. Transaction types: a credit transaction brings money into the account, a debit transaction takes money out, and a cash withdrawal takes money out in cash." + }, + { + "instance_id": "bird235", + "db": "financial", + "question": "I'd like a district-by-district picture of where our classic-card-holding account owners send money outside the bank. For every district, give me: the district name, the number of clients who own an account and hold a classic credit card, the number of external accounts at other banks those clients paid through outgoing payments, and the total amount of those outgoing payments. A district means the district of the branch where the owned account is held \u2014 not the client's home district \u2014 and each client and every outgoing payment from the account they own counts toward that account's branch district. Include every district, even ones with no such clients or no such outgoing payments (show zeros). Use the whole recorded payment history. Order by total amount paid from highest to lowest, and alphabetically by district name when totals tie. Don't round the totals.", + "evidence": "An account owner is the client recorded as 'OWNER' on the account. An outgoing payment is a transaction recorded with type 'VYDAJ' (money paid out of the account). An external account is an account held at another bank to which the account holder sends money; the receiving bank together with the receiving account number identifies it." + }, + { + "instance_id": "bird236", + "db": "financial", + "question": "I'm planning services for our older female customers. For the clients who are female and were born before 1930, please look at the branches that hold their accounts, and then the districts those branches are located in. What is the average salary of those districts? Round the result to 2 decimal places. Note: born before 1930 means calendar birth dates before 1 January 1930.", + "evidence": "Average salary refers to the district attribute describing average salary." + }, + { + "instance_id": "bird237", + "db": "financial", + "question": "I'm preparing a campaign for senior female clients and want a sense of the economic profile of their home districts. Could you tell me the average of the average salaries of the districts where our female clients born before 1950 live? Please give me just that single figure, rounded to two decimal places.", + "evidence": "Average salary means the average yearly salary recorded for a district, in CZK." + }, + { + "instance_id": "bird238", + "db": "financial", + "question": "I want to know whether our small, healthy loans are concentrated in richer or poorer districts before we decide where to grow the small-loan business. Please give me one number: the average district salary, rounded to two decimals, across the districts where the accounts holding these loans are located. The cohort is loans with an approved amount below 100,000 that are still running without issues.", + "evidence": "Loan status C means the contract is running with no problems so far. District average salary is the average salary recorded for a district." + }, + { + "instance_id": "bird239", + "db": "financial", + "question": "I'm studying how client age relates to branch location. For each of two client cohorts, I want the cohort label and the average salary across the districts where the branches holding that cohort's accounts are located, rounded to the nearest whole number. A client's cohort is based on birth date: born 1980 or later is the young cohort, born 1919 or earlier is the old cohort. Note the district of an account is the district of its branch, not the client's home district. Give me one row per cohort, young cohort first. Nothing else.", + "evidence": "" + }, + { + "instance_id": "bird240", + "db": "formula_1", + "question": "By what percentage was Paul di Resta's fastest-lap speed in race 853 higher than in race 854? Use the speed in race 854 as the baseline and round to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird241", + "db": "formula_1", + "question": "What percentage of Lewis Hamilton's recorded race entries from 2010 onward were not victories? Round to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird242", + "db": "formula_1", + "question": "Which driver won the most recorded races? Give their first name, last name, nationality, and highest recorded driver-standings points total.", + "evidence": "" + }, + { + "instance_id": "bird243", + "db": "formula_1", + "question": "In the 1988 Australian Grand Prix, by what percentage was the winner's elapsed time shorter than the last full-distance finisher's? Use the last finisher's time as denominator and round to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird244", + "db": "formula_1", + "question": "What percentage of Japanese-driver race entries from 2007 through 2009 matched their race winner's recorded lap count? Round to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird245", + "db": "formula_1", + "question": "For each year before 1975 with recorded winner times, what was the mean race winner elapsed time in seconds? Round the exact mean to two decimal places; if it is exactly halfway, round away from zero. Order by year.", + "evidence": "" + }, + { + "instance_id": "bird246", + "db": "formula_1", + "question": "From 2000 through 2005, what percentage of race results were by drivers born before 1985 who completed more than 50 laps?", + "evidence": "" + }, + { + "instance_id": "bird247", + "db": "formula_1", + "question": "Which constructor scored most points from Monaco Grand Prix between 1980 and 2010? List the score, name and nationality of this team.", + "evidence": "" + }, + { + "instance_id": "bird248", + "db": "formula_1", + "question": "Who recorded the fastest Q3 qualifying time at Marina Bay Street Circuit in 2008? Give the driver's first and last name.", + "evidence": "" + }, + { + "instance_id": "bird250", + "db": "formula_1", + "question": "For each Formula 1 circuit in Italy with recorded laps, give the circuit name and its fastest recorded lap time in minutes:seconds.milliseconds format.", + "evidence": "" + }, + { + "instance_id": "bird251", + "db": "formula_1", + "question": "I'm comparing pit stop activity at the newer Grand Prix weekends. Among the 2017 races that were not hosted in 2000, what was the average number of pit stops per race? Please take the average of all of those races and round it to two decimal places.", + "evidence": "Hosted in 2000 means the race was on the 2000 race calendar." + }, + { + "instance_id": "bird252", + "db": "formula_1", + "question": "I'm writing a retrospective on German F1 drivers born between 1971 and 1985, and I'd like to quantify how often each of them reached the final part of qualifying. For every German driver born in 1971 through 1985 inclusive, over their entire career (every race on record), please give me their forename, surname, Wikipedia page link, date of birth, and the number of Q3 times they set. Sort the list from most Q3 times to fewest, and where two drivers have the same number, put the older one (by date of birth) first.", + "evidence": "Q3 is the third and final part of the qualifying session that sets the starting grid; a driver's Q3 time is the lap time recorded for them in that part." + }, + { + "instance_id": "bird253", + "db": "formula_1", + "question": "I'm writing a retrospective on the 1995 Japanese Grand Prix and want to highlight how far off the pace the slowest qualifier was. Could you tell me who set the slowest time in the first qualifying session (Q1) of that race? For that driver (or drivers, if two share the same slowest time, please list them all), I'd like their short reference name, nationality, birthday, and their Q1 time. To be clear, I mean the race named 'Japanese Grand Prix' in the 1995 season. Nothing else needed.", + "evidence": "By 'reference name' I mean the short driver code like 'hamilton'; by 'Q1' I mean the first of the three qualifying sessions; by 'birthday' I mean the driver's date of birth." + }, + { + "instance_id": "bird254", + "db": "formula_1", + "question": "For qualifying at the 1995 Japanese Grand Prix, I need the nationality of the driver who set the slowest time in Q1. If two drivers tie for the slowest Q1 time, give me each of their nationalities. I only want the nationality value(s), nothing else.", + "evidence": "" + }, + { + "instance_id": "bird255", + "db": "formula_1", + "question": "Who set the fastest time in Q1 at the 1995 Japanese Grand Prix, and what was that time? Please give me the driver's forename and surname, and the Q1 time. By '1995 Japanese Grand Prix' I mean the race of the 1995 season named 'Japanese Grand Prix'. If two drivers tied for the fastest Q1 time, list them all.", + "evidence": "Q1: the time a driver set in the first qualifying session." + }, + { + "instance_id": "bird256", + "db": "formula_1", + "question": "For the 2010 Formula 1 season, how many drivers did Lucas di Grassi qualify ahead of? I want a single number: the count of drivers he out-qualified over the whole season. By 'qualify ahead of' I mean recording a better qualifying position than that driver in the same race, with a lower position number being better. The 2010 season means the races held in the year 2010.", + "evidence": "qualifying position: the starting slot a driver earns in the qualifying session before a race" + }, + { + "instance_id": "bird257", + "db": "formula_1", + "question": "I'm writing a recap of the 2017 Italian Grand Prix and want to credit the country of the quickest driver in the second qualifying session. Can you give me the nationality of the driver who set the fastest Q2 lap time in qualifying for the 2017 edition of the Italian Grand Prix? If two or more drivers tied for the fastest Q2 lap time, give me the nationality of each of them. I just need that nationality (or nationalities, in case of a tie), and nothing else.", + "evidence": "Q2: the second of the knockout qualifying sessions of a Grand Prix weekend." + }, + { + "instance_id": "bird258", + "db": "formula_1", + "question": "I'm writing an article about the Italian Grand Prix and want to know which first names recur among the drivers who finished second in that race. For every forename carried by two or more runners-up of the Italian Grand Prix across all its editions in the data, please give me one row with the forename and the number of runners-up who carried it. Order the rows from the most runners-up to the fewest, and alphabetically by forename when two forenames are tied. Leave out any forename held by only one runner-up.", + "evidence": "A runner-up is the driver who finished second in an edition of the Italian Grand Prix." + }, + { + "instance_id": "bird259", + "db": "formula_1", + "question": "Who won the 2017 Azerbaijan Grand Prix? I'd like the winner's forename and surname, the local clock time (hours:minutes:seconds.milliseconds) at the circuit at which he crossed the finish line, and the url of his information page, so I can compare the moment the race ended with the TV coverage.", + "evidence": "A driver's race time is the duration from the start of the race to the moment he crosses the finish line." + }, + { + "instance_id": "bird261", + "db": "formula_1", + "question": "For the 2017 Italian Grand Prix qualifying, what is the nationality of the driver with the second fastest Q2 time? Only drivers who took part in Q2 count, and by second fastest I mean the second smallest Q2 time. If several drivers share that time, list each of their nationalities.", + "evidence": "Q2 is the second qualifying session of a Grand Prix weekend, after Q1." + }, + { + "instance_id": "bird262", + "db": "formula_1", + "question": "For qualifying at the 2017 Italian Grand Prix, how many drivers set a time in the second qualifying session (Q2) faster than 1:40.000? I just need the count of drivers as a single number.", + "evidence": "" + }, + { + "instance_id": "bird263", + "db": "formula_1", + "question": "I'm reviewing the longest service pauses in races across the sport's whole history. Which racetrack saw the longest single pit stop ever? Please give me the racetrack name, location, country, the season year of that race, and the pit stop length. Consider all seasons in the data, and if several pit stops tie for the longest, give me one row for each of them.", + "evidence": "pit stop: a recorded pit-stop entry in a race; pit stop length: how long that pit stop lasted" + }, + { + "instance_id": "bird264", + "db": "formula_1", + "question": "I'm researching the generation of drivers born in the 1980s and want to know how much final-session qualifying that generation actually did as a whole cohort. How many Q3 lap times did a driver born between 1981 and 1991 set on average? Count every driver born in that period in the average, including any who never set a Q3 lap time. Please give me the average rounded to two decimal places.", + "evidence": "Q3: the third and final qualifying session of a race weekend, whose times decide the top starting grid positions." + }, + { + "instance_id": "bird265", + "db": "formula_1", + "question": "I'm profiling drivers whose first name alone doesn't identify them. Across all races in the dataset throughout Formula 1 history, how many qualifying 1 times slower than two minutes were set by drivers who share their first name with at least one other driver and who have no code? I want just that single count.", + "evidence": "A driver's code is their three-letter abbreviation (e.g. 'HAM'); having no code means no such abbreviation is on record for them. The qualifying 1 time is the time a driver set in the first qualifying session of a race, one per race they took part in." + }, + { + "instance_id": "bird266", + "db": "formula_1", + "question": "I'm checking how much of the championship points for drivers named Robert came from races covered by the lap-by-lap timing archive. For every driver whose forename is Robert, I need their reference name and the total points they scored in races where lap-by-lap timing data exists for that driver in that race. The totals should cover all seasons and races on record.", + "evidence": "The reference name is the driver's short identifier, and points are championship points recorded for that driver's race result." + }, + { + "instance_id": "bird267", + "db": "formula_1", + "question": "For every edition of the French Grand Prix from the 1990 season through the most recent edition, I'd like to know which drivers set a fastest lap of the race slower than 90 seconds. For each such driver, give me the date of the edition, the driver's forename and surname, and their fastest lap time of that race in m:ss.mmm form. If several drivers in an edition clear that 90-second mark, list one row per driver. If an edition has no driver over 90 seconds, still show the edition with its date, but no driver or lap time. Please order the rows from the earliest edition date to the latest, and within an edition by driver surname alphabetically - if two drivers share the same fastest-lap time, order them by forename alphabetically.", + "evidence": "A driver's fastest lap in an edition means the shortest time they took to complete any single lap of that race, measured from the start of that lap; the 90-second threshold applies to that fastest lap, not to an average." + }, + { + "instance_id": "bird268", + "db": "formula_1", + "question": "I'm putting together a trivia fact about Italian drivers in Formula 1. Who holds the fastest lap time set in Q3 - the third and final part of qualifying - by an Italian driver, across the sport's entire history? Please give me the driver's forename, surname, and the fastest Q3 lap time exactly as it appears in the data. Only consider drivers who have a Q3 lap time recorded for some race, and if several Italian drivers share the exact same fastest Q3 time, list all of them.", + "evidence": "Q3 is the third and final part of qualifying." + }, + { + "instance_id": "bird269", + "db": "formula_1", + "question": "I'm writing a piece on the new generation of British Formula 1 talent. Among British F1 drivers born after 1980, who set the fastest Q3 qualifying time, what was that time, and at which race and in which year was it set? Please give me the driver's full name, the race name, the race year, and the Q3 time. By 'born after 1980' I mean the year of birth is later than 1980. If two qualifying results tie for the fastest Q3 time, I'd like a row for each.", + "evidence": "Q3 is the final part of the qualifying session that decides the front of the starting grid." + }, + { + "instance_id": "bird270", + "db": "formula_1", + "question": "We're writing a piece on F1's younger generation and want a number for it: how many drivers born in 1976 or later (born from 1 January 1976 onwards) have ever set the second-fastest lap of a race at any point in the history covered by the data? I just need the single count of such drivers.", + "evidence": "By second-fastest lap of a race I mean the driver's own fastest lap in that race was the second quickest among all drivers in that race." + }, + { + "instance_id": "bird271", + "db": "formula_1", + "question": "Who set the fastest time in Q3 (the final qualifying session) at the 2017 Italian Grand Prix? Please give me the driver's reference name (the short identifier like 'hamilton') as the result. If two drivers set the same fastest Q3 time, give me both of their reference names.", + "evidence": "Q3: the final qualifying session of a Grand Prix weekend" + }, + { + "instance_id": "bird272", + "db": "formula_1", + "question": "Can you rank the Italian Formula 1 constructors by career points and give me the three highest-placed ones? For each, I'd like the constructor name, their career points, and their introduction website. Career points means the total of the points the constructor finished each season with (a season being one calendar year of racing). Constructors with no points still count, ranked with 0. If there are ties, they share a rank and the next rank is skipped (so 1, 1, 3), and I'd like every constructor within the top three ranks returned.", + "evidence": "" + }, + { + "instance_id": "bird273", + "db": "formula_1", + "question": "I'm writing a piece about how the same common forenames recur across Formula 1 history. Could you tell me how many different drivers named Peter have ever won a Formula 1 race, and the same for drivers named John? Please give me one count per forename, so I can compare the two \u2014 if they turn out to be equal, just report both counts side by side. Nothing else needed.", + "evidence": "A race win means the driver finished first in that race." + }, + { + "instance_id": "bird274", + "db": "formula_1", + "question": "I'm working on a story about qualifying records. Across all races, which driver set the fastest time in Q3 (the final part of qualifying)? I'd like the nationality of that driver - and if more than one driver shares the fastest Q3 time, please give me every such driver's nationality. I don't need anything else, just the nationality or nationalities.", + "evidence": "Q3: the third and final part of the qualifying session." + }, + { + "instance_id": "bird275", + "db": "formula_1", + "question": "I'm putting together a historical note on constructor nationalities in Formula 1. For each constructor nationality, how many constructors from that nationality have recorded the fastest lap of a race? Please include every nationality in the result, with a count of 0 for nationalities where no constructor has done so. Count a constructor only when it is officially credited with the quickest single lap time in a race's recorded result - don't compute lap times yourself.", + "evidence": "Fastest lap: the constructor officially credited with the quickest single lap time in a race's recorded result." + }, + { + "instance_id": "bird276", + "db": "formula_1", + "question": "I'm studying how pit stop activity changed across the refuelling-rule change for Australia's F1 drivers. For each season from 2002 through 2013, can you give me the total number of pit stops made at the races of that season where, after the race, at least one Australian driver was placed better than 20th in the driver standings? I'd like the season year and the total pit stop count for each season. The pit stop total should cover every driver who pitted at those races, not just the Australian drivers.", + "evidence": "Better than 20th in the driver standings means a position of 1 through 19 after that race. A pit stop is any recorded pit stop made by any driver at the race." + }, + { + "instance_id": "bird277", + "db": "formula_1", + "question": "For the 1995 season (races held in the calendar year 1995), how many drivers set a Q1 lap time of more than two minutes - i.e., strictly longer than 2:00.000? I just need the number of drivers.", + "evidence": "Q1: the first of the qualifying sessions; a Q1 time is the lap time a driver set in that session." + }, + { + "instance_id": "bird278", + "db": "formula_1", + "question": "For my monthly recap I need the fastest pit stop made during any F1 race held in September 2016. Please tell me the driver's full name, the pit stop time, the name of the race where it happened, the circuit name, and the circuit location. If two or more pit stops share the fastest time, list each of them with its own driver, race, circuit name and circuit location.", + "evidence": "By pit stop time I mean the elapsed time of a pit stop, from the car arriving at its pit to rejoining the race." + }, + { + "instance_id": "bird279", + "db": "formula_1", + "question": "I'm profiling the oldest driver ever to win a Formula 1 race. Please identify the winning driver with the earliest date of birth - if two winning drivers share that birth date, use the one whose full name (forename then surname) comes first alphabetically. For that driver, return his full name (forename then surname), his nationality, the name and date of the first race he won (the earliest date; if two of his wins share that date, the one whose race name comes first alphabetically), and the total number of races he started over his entire career. A win means finishing in position 1 in a race. The career covers every race in the database, from 1950 through 2017. Return a single row.", + "evidence": "Grand Prix: any race event in the database, whatever its name is; some race names do not contain the words 'Grand Prix'." + }, + { + "instance_id": "bird280", + "db": "formula_1", + "question": "Across the history of the Canadian Grand Prix, how many runnings of the race have had at least one car retire with an accident? Please note that a crash in which the driver was killed is recorded as its own status and should not count as an accident here. I just need the single number of runnings, nothing else.", + "evidence": "accident: a car's race ends because of a crash" + }, + { + "instance_id": "bird281", + "db": "formula_1", + "question": "For the 2017 Italian Grand Prix, which driver set the second-fastest time in the second qualifying session (Q2), and which constructor did he drive for that weekend? By second-fastest I mean the driver whose Q2 time comes next after the quickest one, counting every driver who took part in that session. If two drivers tie on Q2 time, the one who started the race higher up the grid counts as the faster of the two. Please give me the driver's forename, the driver's surname, and the constructor name.", + "evidence": "Q2: the second of the weekend's qualifying sessions; its times are measured to the thousandth of a second." + }, + { + "instance_id": "bird282", + "db": "formula_1", + "question": "I'm writing a season review piece and need the outright quickest Q2 time of the 2017 Formula One season \u2013 the fastest single Q2 time set at any race that year. Please give me the surname of the driver who set it and the name of the race where it was set. If two drivers share that fastest Q2 time, list every one of them along with the race names.", + "evidence": "Q2: the second of the three qualifying sessions of a Grand Prix weekend." + }, + { + "instance_id": "bird283", + "db": "formula_1", + "question": "I'm writing a race report and need to name the pole-sitter by their permanent race number. Who set the fastest Q3 qualifying time at the 2017 Italian Grand Prix (the race named 'Italian Grand Prix' in the 2017 season)? Please give me just that driver's permanent number. If two or more drivers share that fastest time, give me the numbers of all of them and nothing else.", + "evidence": "Q3 is the final part of qualifying, whose times decide the top starting positions; the fastest Q3 time earns pole position." + }, + { + "instance_id": "bird284", + "db": "formula_1", + "question": "For the 2017 Italian Grand Prix, who set the fastest lap time in Q3 (the final qualifying session), and what was that time? Give me the driver code along with the fastest Q3 time. If two or more drivers tie for the fastest Q3 time, list every tied driver.", + "evidence": "Q3: the third and final qualifying session; a driver's Q3 time is the lap time that driver set in that session" + }, + { + "instance_id": "bird285", + "db": "formula_1", + "question": "I'm writing a report on the 2017 Italian Grand Prix (the one held in the 2017 season). Could you tell me the nationality of the driver who set the fastest time in Q3, the final part of qualifying? If several drivers share the same fastest Q3 time, please give each of their nationalities.", + "evidence": "Q3 is the third and final part of the qualifying session." + }, + { + "instance_id": "bird286", + "db": "formula_1", + "question": "Which Chinese Grand Prix edition from the 2000s (2000\u20132009 seasons) had the earliest scheduled local start time? Give me the season year of that edition and the runner-up's time gap to the winner (the runner-up being the driver classified second at the finish). If several editions share the earliest scheduled local start time, use the most recent one.", + "evidence": "Scheduled local start time: the time of day the race was scheduled to start, local to the circuit." + }, + { + "instance_id": "bird287", + "db": "formula_1", + "question": "I'm writing a qualifying report. Can you give me the driver codes of all drivers who set a time in the third qualifying session at the 2017 Italian Grand Prix? One row per driver who set such a time, and please list the codes in alphabetical order. Nothing else needed.", + "evidence": "The third qualifying session is the final segment of the race weekend's qualifying, in which only the fastest drivers take part." + }, + { + "instance_id": "bird288", + "db": "formula_1", + "question": "I'm writing about how the Canadian Grand Prix moved to early-evening starts. Could you find the editions of the Canadian Grand Prix from 2007 through 2017 (both years included) that began at 17:00 local time or earlier - a race that began exactly at 17:00 counts. For each one, give me the race year, the winner's forename, the winner's surname, and the winner's finish time. The winner is the single driver classified first at the finish. Nothing else, please.", + "evidence": "An edition is one running of the Canadian Grand Prix in a given year; local start time is the clock time of day, local to the circuit, at which the race began, on the 24-hour clock." + }, + { + "instance_id": "bird289", + "db": "formula_1", + "question": "I'm writing a retrospective on the 2017 Italian Grand Prix at Monza. For the Q3 session of that race's qualifying, can you give me the permanent career race number and surname of every driver whose Q3 lap time was strictly faster than 1 minute 38.000 seconds? I want all drivers under that mark, not just the fastest, and no particular order. Note that by permanent career race number I mean the number a driver carries throughout his career, not a one-off entry number for that weekend.", + "evidence": "Q3 is the third and final qualifying session; a driver only has a Q3 time if he actually took part in that session." + }, + { + "instance_id": "bird290", + "db": "formula_1", + "question": "Across all seasons in the database, which circuit's Grand Prix started earliest in the day, and which started latest? I'd like the circuit reference name of the earliest one, the circuit reference name of the latest one, and the gap between those two start times in seconds. Include every season, and if several circuits share the earliest start time, list them all - same for the latest.", + "evidence": "By \"start time of the day\" I mean the local clock time at the venue at which the race started." + }, + { + "instance_id": "bird291", + "db": "formula_1", + "question": "I'm looking into fastest race laps recorded by drivers born in the 1980s. Can you tell me which three drivers born between 1980 and 1990 reached the highest single fastest-lap speed at any point in their career? I'd like their first and last names, ranked from the highest career-high speed down, and if two drivers are tied on that speed, list the one born earlier first, and then the one whose last name comes first alphabetically. Please give me just the three names, nothing else.", + "evidence": "Fastest lap speed: the average speed, in km/h, that a driver recorded on their single fastest lap of a race. A driver's career-high speed is based on that one lap, not an average across their laps." + }, + { + "instance_id": "bird292", + "db": "formula_1", + "question": "For the 2017 Italian Grand Prix, I need the list of drivers who were eliminated after the first qualifying session. Give me one row per eliminated driver with their reference name, ordered by their first-segment time from slowest to fastest. If two eliminated drivers have the same first-segment time, list the one with the lower driverId first.", + "evidence": "Eliminated after the first qualifying session means the driver took part in qualifying but did not go out in the second qualifying session." + }, + { + "instance_id": "bird293", + "db": "formula_1", + "question": "For my retrospective on the 1962 British Grand Prix \u2013 the race named 'British Grand Prix' in the 1962 season \u2013 how many drivers withdrew from that race? I just need a single whole number.", + "evidence": "A driver who withdrew from a race is recorded with the status 'Withdrew'." + }, + { + "instance_id": "bird294", + "db": "formula_1", + "question": "For the 1957 British Grand Prix, what percentage of the drivers who took part in the race were classified finishers, rounded to two decimals? By classified finisher I mean a driver whose race record shows them finishing the race, whether on the lead lap or one or more laps behind the winner. I just need the one percentage figure.", + "evidence": "classified finisher: a driver whose race record shows them finishing the race, whether on the lead lap or one or more laps behind the winner" + }, + { + "instance_id": "bird295", + "db": "student_club", + "question": "What was Elijah Allen's mean total expense per event for expenses dated in September or October? Round to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird296", + "db": "student_club", + "question": "What is the total amount spent on Student Club events in 2019 minus the total spent on events in 2020?", + "evidence": "" + }, + { + "instance_id": "bird297", + "db": "student_club", + "question": "What note was recorded for the fundraising proceeds received on September 14, 2019?", + "evidence": "" + }, + { + "instance_id": "bird298", + "db": "student_club", + "question": "What is the ratio of the Advertisement budget for the Yearly Kickoff meeting to that for the October Meeting?", + "evidence": "" + }, + { + "instance_id": "bird299", + "db": "student_club", + "question": "Which closed events are tied for the highest ratio of total spending to total budget amount?", + "evidence": "" + }, + { + "instance_id": "bird300", + "db": "student_club", + "question": "List the name of students that have attended more than 7 events.", + "evidence": "" + }, + { + "instance_id": "bird301", + "db": "student_club", + "question": "Which members incurred at least one expense above the overall average expense cost? Give each member's first name, last name, and phone number as separate fields.", + "evidence": "" + }, + { + "instance_id": "bird302", + "db": "student_club", + "question": "I'm putting together a review of last fall's activities and want to see how the Women's Soccer game compared to a typical event that semester. Please give me one row with: the number of students who attended the Women's Soccer event, the average number of students who attended events held in fall 2019 rounded to one decimal place, and a verdict of 'more', 'fewer' or 'equal' comparing the Women's Soccer head count to that average. Fall 2019 means events from 1 September 2019 through 30 November 2019 inclusive, and every event that semester counts toward the average even if nobody attended it. The verdict should compare the Women's Soccer head count to the rounded average: above it is 'more', below is 'fewer', exactly equal is 'equal'.", + "evidence": "Women's Soccer is an event name; attendance at an event is the number of members who attended it." + }, + { + "instance_id": "bird303", + "db": "student_club", + "question": "I'm reviewing our roster against the catalog and want to see how much of the College of Humanities and Social Sciences' coverage our members actually hold, department by department. For each department in that college, give me: the department's name, the majors it offers, the majors held by at least one of our members, and the average members per major it offers, rounded to two decimals. Membership is as currently listed in the member records, and count a department as belonging to the college when any of its majors sits in the college.", + "evidence": "College of Humanities and Social Sciences: one of the colleges that houses departments offering majors." + }, + { + "instance_id": "bird304", + "db": "student_club", + "question": "I'm putting together our yearly report and need a breakdown of our 2019 events by event type. For each type of event we held in 2019, please give me: the event type, how many members attended that type's events during 2019, and the total amount budgeted for that type's events in dollars. A few notes: 2019 means the calendar year; the budgeted amount is the planned amount, not what was actually spent. If nothing was budgeted for a type's events, or no member attended them, just show zero. Please list one row per event type, in alphabetical order by event type.", + "evidence": "" + }, + { + "instance_id": "bird305", + "db": "student_club", + "question": "I'm putting together a financial overview for the college that houses the Electrical and Computer Engineering Department. For each department of that college, can you tell me the total dues the club actually received from that department's enrolled members who took part in the club's events, in dollars? Please include every department of the college, showing zero if we received no such dues from it. Just the department name and the total dues per department.", + "evidence": "'Dues' is the income source label for membership dues a member pays to the club; 'Member' is the club position of an enrolled member, as opposed to officer or inactive positions." + }, + { + "instance_id": "bird306", + "db": "student_club", + "question": "For the mid-year budget review: I need to see, for each member who had to spend more than fifty dollars on an expense, how much room was still left in the budget lines those purchases were charged against. Please give me, per member, their first name, last name, and the total amount left across those budget lines in dollars rounded to two decimals. Order the results from the largest total down to the smallest; if two members have the same total, list them alphabetically by last name and then first name. The totals should cover all expenses on record, and if a budget line ended up overdrawn, its negative remaining amount should count toward the total.", + "evidence": "Spending more than fifty dollars on an expense means the expense's dollar cost is over 50. The amount left in a budget line is the amount budgeted for that line minus the amount spent against it." + }, + { + "instance_id": "bird307", + "db": "student_club", + "question": "I'm putting together our year-end budget summary. How much did we collect in membership dues, in total dollars, from the students who attended the Football game? Membership dues are the payments recorded under the source 'Dues'.", + "evidence": "membership dues: payments recorded under the source 'Dues'" + }, + { + "instance_id": "bird308", + "db": "student_club", + "question": "How many majors offered by the college that offers Tyler Hewitt's major currently have no enrolled members in the club? Count every major that college offers, by major name.", + "evidence": "Enrolled members are the people recorded in the club's membership list." + }, + { + "instance_id": "bird309", + "db": "student_club", + "question": "For our end-of-year report, I need one figure: the average number of members who attended each event that carried a budget line for advertising, covering every such event across the club's records regardless of when it took place. Please give it as a single number rounded to two decimal places.", + "evidence": "A budget line for advertising means a budget entry whose category is advertising." + }, + { + "instance_id": "bird310", + "db": "student_club", + "question": "For every budget review event the club has held, can you give me the event name, its location, and the number of members who attended? I need this for the year-end report.", + "evidence": "'Budget' is the club's event type for its budget review events, such as the Fall Budget Review and the Spring Budget Review." + }, + { + "instance_id": "bird311", + "db": "student_club", + "question": "I'm planning study-partner pairings around our biggest social-attendance event. Can you tell me which academic majors were most represented among the members who attended the football game? For each major, give me the major name and the number of attendees in that major. If several majors tie for the highest attendee count, list all of them, ordered alphabetically by major name.", + "evidence": "Football game: the event named 'Football game'" + }, + { + "instance_id": "bird312", + "db": "student_club", + "question": "I want to gauge how much of the university's range of academic programs our club is failing to reach. Out of every major offered by the university - including majors where we have no members - what percentage have no club member studying them? Please give me just that single percentage, between 0 and 100, rounded to two decimal places.", + "evidence": "Major: an academic program offered by the university, as listed in the club's records of majors." + }, + { + "instance_id": "bird313", + "db": "student_club", + "question": "Our officer team wants to settle a debate about whether we pull more weight than the rest of the club, so we need the attendance numbers before the next meeting. Could you tell us two things: the average number of events attended per officer, and the average number of events attended per other student, each rounded to two decimal places? To be clear on who counts where: officers are the members holding the position of President, Vice President, Secretary, or Treasurer, and everyone else in the club counts as an other student. Each average should cover every member of its group, and include every event in the club's records - there's no date cutoff.", + "evidence": "" + }, + { + "instance_id": "bird314", + "db": "student_club", + "question": "I'm finalizing the semester wrap-up report and need one number: how many different kinds of things the club bought for events that went over budget this semester. A few things to keep in mind: an event counts as over budget if, in at least one of its budgeted categories, we spent more than we budgeted for that category - the budgeted amount minus what was actually spent came out below zero. Also, a single purchase can cover several kinds of things at once, and the purchase description lists what it bought, so make sure each kind is counted. The answer should cover the whole semester shown in the records, and I just need the single integer count, nothing else.", + "evidence": "went over budget: a budgeted category of the event ended with more spent than was budgeted for it, i.e. the amount budgeted minus the amount spent is below zero; kind of thing: a type of item bought, like water, pizza or posters" + }, + { + "instance_id": "bird315", + "db": "student_club", + "question": "For every event in our records that had at least one attendee, I need the amount spent per attendee on bottled drinking water, in dollars and cents rounded to two decimals. Give me one row per event with the event name and that amount; if an attended event had no water purchases, show 0.00, and if two events share a name, list them separately. Include all events regardless of status, across the club's entire history. A purchase that included water along with other items counts fully toward water.", + "evidence": "water: bottled drinking water bought for attendees" + }, + { + "instance_id": "bird316", + "db": "student_club", + "question": "For my report on the club's academic makeup, could you tell me how many members on the club roster major in a department of the College of Humanities and Social Sciences, and how many members do not? The two counts together should cover every member on the roster, with each member counted in exactly one of the two groups. A member counts as majoring in the college only if the department offering their major belongs to the College of Humanities and Social Sciences.", + "evidence": "The College of Humanities and Social Sciences is a college made up of certain departments; membership in the college is determined by which department offers a member's major." + }, + { + "instance_id": "bird317", + "db": "student_club", + "question": "For our snack budget planning: among the events that spent money on chips, which event has the highest budget amount? By budget amount I mean a single budget line, not a total across lines - compare events by their largest single budgeted line. If several events tie on that largest line, list all of their names. Please just give me the event name(s).", + "evidence": "" + }, + { + "instance_id": "bird318", + "db": "student_club", + "question": "What is the date of the Vice President's most recent expense on record, and what is the total cost of all expenses incurred on that date? Consider all expenses on record with no earlier cut-off, and give the total exactly as it appears in the records, without rounding.", + "evidence": "Vice President is a position of the Student Club." + }, + { + "instance_id": "bird319", + "db": "student_club", + "question": "I'm reviewing member engagement for our club's events in MU 215. Can you give me, for each event category of events held at MU 215, the number of club members who attended those events? Please count events regardless of their status (planning, open, or closed), and make sure every category that had events at MU 215 shows up, even if none of its events had any attendees.", + "evidence": "MU 215: the room name as the event location." + }, + { + "instance_id": "bird320", + "db": "student_club", + "question": "I'm putting together a recruitment report for the colleges and want to know which parts of the university our club's membership actually draws from. For every person on the roster-regardless of their position in the club-look at their major, and the college that houses the department offering that major. Which college or colleges do the most majors on our roster come from, and how many majors is that? If there's a tie at the top, give me every college tied at that count. Please list the colleges in alphabetical order by college name, and return just each college's name and its number of majors.", + "evidence": "Major: a field of study offered by a department housed in a college." + }, + { + "instance_id": "bird321", + "db": "student_club", + "question": "I want to review what the money actually went on for the well-funded events, by venue. For events that had a budget line of more than forty dollars, how many different things were bought for them at each location? Please give me, for each location, the location of the event and the number of different things bought for such events at that location, and nothing else. Note that a budget line of more than forty dollars means a single budgeted amount strictly over 40 dollars, and all qualifying events held at a location should be pooled together.", + "evidence": "" + }, + { + "instance_id": "bird322", + "db": "student_club", + "question": "I'm reconciling what we budgeted for September events against what we actually spent. Can you give me the total amount budgeted for the September 2019 events that served pizza? By September 2019 I mean events dated September 1 through September 30, 2019. An event counts as having served pizza if pizza was among the expenses booked to it. Please include every budget line for those events, whatever the category - not just the food lines. All I need back is the single dollar figure for that total.", + "evidence": "A pizza expense means an expense whose description is Pizza." + }, + { + "instance_id": "bird323", + "db": "student_club", + "question": "Hi - I need one overall figure for the budget next year: what's the average total amount we've actually spent per event, counting all budget categories, across every event we've ever recorded? Please give me the average in dollars, rounded to two decimal places, with no date restriction.", + "evidence": "" + }, + { + "instance_id": "bird324", + "db": "student_club", + "question": "Among our closed events that stayed within budget (total spending not exceeding total budget), which one had the most purchases? Please give me just that event's name. Consider every closed event that didn't go over budget, including events with no purchases at all. If two events tie for the most purchases, report only the one with the alphabetically first event ID.", + "evidence": "A purchase is a single item recorded on an expense record; one expense record may list several items. Total budget is the sum of budgeted amounts across all budget lines of the event; total spending is the sum of spent amounts across all budget lines of the event." + }, + { + "instance_id": "bird325", + "db": "student_club", + "question": "For our year-end review, I want to know which event formats bring in the most people. Looking at our whole club year (every event from September 2019 through May 2020), which event type was attended by the most members, and how many members attended that type's events? If several event types tie for the most, list every one of them. Just give me the event type and the number of members for it - nothing else.", + "evidence": "By \"attended\" I mean a member coming to an event; event type is the kind of event, e.g. Meeting, Social, Game, Election, Community Service." + }, + { + "instance_id": "bird326", + "db": "student_club", + "question": "I'm putting together next semester's purchasing plan and want to know which food and drink item the club buys most often. Among purchases made under the food budget only, which single item appears on the most purchase records, and how many purchase records mention it? If two items are tied, go with the one whose name comes first alphabetically. Please give me just the item's name and that record count.", + "evidence": "A purchase record is an entry in the club's expense records for money spent on a purchase." + }, + { + "instance_id": "bird327", + "db": "student_club", + "question": "I'm wrapping up the October Meeting and need the final numbers broken down by what we actually bought, not just by budget category. For every item bought with approved money for the October Meeting, can you give me: the item's name, the budget category of the purchase that included the item, and the total cost in dollars of the approved October Meeting purchases that included the item? Only expenses marked as approved count - an expense without an approval mark doesn't. If an item was included in approved purchases recorded under more than one budget category, give me one row per category. Costs should be plain sums in US dollars with no rounding, and please sort the list by category and then by item name.", + "evidence": "An item is a single thing bought with club money, such as water, pizza or posters. A purchase is an expense recorded for the event." + }, + { + "instance_id": "bird328", + "db": "student_club", + "question": "For every event in the club's records, can you give me the event name, event date, total amount budgeted for the event, and the number of members who attended it? Please sort the list by event name, then by event date, both in ascending order.", + "evidence": "" + }, + { + "instance_id": "bird329", + "db": "student_club", + "question": "I'm preparing the year-end audit of club spending. For each item Sacha Harrison bought with club money, I need the item name and how many times she bought it. Can you give me that list?", + "evidence": "By \"item\" I mean an individual thing named in a record of what money was spent for." + }, + { + "instance_id": "bird330", + "db": "student_club", + "question": "I'm putting together the end-of-term spending review. Who bought the most different kinds of items in October or November 2019? Please give me that member's full name, how many different kinds of items they bought in those two months, and their total spending in dollars over the same period. If two members tie for the most kinds, list every tied member with their kind count and spending.", + "evidence": "An item is one of the individual things a purchase covered, such as a pizza or a bottle of water." + }, + { + "instance_id": "bird331", + "db": "student_club", + "question": "For our department report, I need to know how many different fields of study our club members from the Political Science Department represent. Only count members of the Political Science Department - members from other departments don't count. Just give me the number of different majors studied by those members.", + "evidence": "A major is a field of study offered by a department." + }, + { + "instance_id": "bird332", + "db": "superhero", + "question": "Among Marvel Comics superheroes with a known eye colour, rank the eye colours by number of superheroes. Give each colour, its hero count, and its rank, most common first; break display-order ties alphabetically.", + "evidence": "" + }, + { + "instance_id": "bird333", + "db": "superhero", + "question": "List the superheroes from Marvel Comics who have the super power of 'Super Strength'.", + "evidence": "" + }, + { + "instance_id": "bird334", + "db": "superhero", + "question": "What percentage of all superheroes have Neutral alignment, and how many of those Neutral superheroes were published by Marvel Comics? Round the percentage to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird335", + "db": "superhero", + "question": "Between Marvel Comics and DC Comics, which publisher has more superheroes, and by how many?", + "evidence": "" + }, + { + "instance_id": "bird336", + "db": "superhero", + "question": "Among superheroes from 170 through 190 cm tall whose recorded eye-colour category is unknown, list their names.", + "evidence": "" + }, + { + "instance_id": "bird337", + "db": "superhero", + "question": "Among all superheroes with recorded height from 150 through 180 cm, what percentage were published by Marvel Comics? Round to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird338", + "db": "superhero", + "question": "What known full names belong to superheroes tied for the highest strength attribute value?", + "evidence": "" + }, + { + "instance_id": "bird339", + "db": "superhero", + "question": "List superheroes whose known eye, hair and skin colours are all the same, along with any recorded publisher name.", + "evidence": "" + }, + { + "instance_id": "bird340", + "db": "superhero", + "question": "Among all female superheroes, what percentage have blue skin? Round to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird341", + "db": "superhero", + "question": "Among all female superheroes, what percentage were published by Marvel Comics? Round to two decimal places.", + "evidence": "" + }, + { + "instance_id": "bird342", + "db": "superhero", + "question": "Which publisher has more superheroes, DC Comics or Marvel Comics, and by how many? Return Tie if their counts are equal.", + "evidence": "" + }, + { + "instance_id": "bird343", + "db": "superhero", + "question": "I'm comparing Marvel and DC rosters and want to quantify how tall Marvel's roster is for characters whose abilities DC cannot match. What is the average height, in centimetres, of Marvel Comics characters who have at least one power that no DC Comics character has? Only characters with a measured height count.", + "evidence": "A \"power\" is any single ability listed for a character in the database." + }, + { + "instance_id": "bird344", + "db": "superhero", + "question": "For a segment on strength heroes, I want to know how many superpowers are held only by heroes who have Super Strength. A power counts as held only if at least one hero who has Super Strength holds it, and Super Strength itself should be included if it meets that condition. Just give me the count.", + "evidence": "Super Strength is a super power name." + }, + { + "instance_id": "bird345", + "db": "superhero", + "question": "I'm setting a typical weight for a green-skinned creature class. Can you tell me the average weight in kg of the heroes with green skin? Count only heroes whose weight is known, and give me one number rounded to one decimal place.", + "evidence": "Green skin means the hero's skin colour is green." + }, + { + "instance_id": "bird346", + "db": "superhero", + "question": "I'm writing an article about heroes who fall outside the classic good-versus-evil divide. How many superheroes in the database have an alignment that is neither good nor bad? Please give me just that count. Note that this should cover all superheroes in the database.", + "evidence": "good: a superhero whose alignment is Good; bad: a superhero whose alignment is Bad; alignment: the moral category assigned to a superhero" + }, + { + "instance_id": "bird347", + "db": "superhero", + "question": "I'm building a fact box on Marvel heroes' civilian identities. Among Marvel Comics superheroes whose full name (their civilian identity, like 'Richard Milhouse Jones') is known, which superpower is the most common, and how many of those heroes have it? If several superpowers tie for most common, list all of them with their counts. Just give me the superpower name(s) and the counts.", + "evidence": "" + }, + { + "instance_id": "bird348", + "db": "superhero", + "question": "I want to profile the cohort of heroes whose Intelligence score matches Abomination's Intelligence score. What is their average measured weight in kg? Please round the average to two decimals.", + "evidence": "Intelligence is one of the six attribute scores a hero has (Intelligence, Strength, Speed, Durability, Power, Combat)" + }, + { + "instance_id": "bird349", + "db": "superhero", + "question": "I'm putting together a trivia page profiling blue-haired heroes by their abilities. For each gender, male and female, how many blue-haired superheroes have at least ten listed powers? I need the count for both groups, and by 'at least ten' I mean ten or more.", + "evidence": "Listed powers: the superpowers recorded for a hero." + }, + { + "instance_id": "bird350", + "db": "superhero", + "question": "I'm putting together a comparison of the heaviest brick-strength characters. What is the average weight, in kilograms, of all superheroes whose Strength score equals the Hulk's? I just need a single integer rounded to the nearest kilogram. Include every superhero in the database, no restrictions on publisher or alignment. If a hero's weight is unknown, leave them out and average only over the heroes whose weight has actually been measured.", + "evidence": "Strength is one of the six measured hero attributes, each scored on a 1-100 scale; the Hulk is the superhero named 'Hulk'; weight is the superhero's weight in kilograms." + }, + { + "instance_id": "bird351", + "db": "superhero", + "question": "For my 'giants of the genre' feature, I want to headline how varied the abilities of the tallest heroes are. How many different superpowers appear among the ten tallest superheroes? Rank heroes by height and take the top ten; if several heroes tie at the tenth-tallest height, include all of them. A hero counts among the ten tallest even if no powers are on file for them. Please give me just that single number.", + "evidence": "superpower = an ability such as Agility or Accelerated Healing, as named in the superpower list" + }, + { + "instance_id": "bird352", + "db": "superhero", + "question": "How many characters published by A-Bomb's publisher have no race listed? I just need a single count. (By A-Bomb's publisher, I mean the publisher that publishes the character A-Bomb.)", + "evidence": "race: the character's race or group, e.g. Human, Alien, Mutant" + }, + { + "instance_id": "bird354", + "db": "superhero", + "question": "For my cryokinesis page, I want to know how broad the power portfolios are around ice-powered heroes. Consider all heroes who share at least one superpower with a cryokinesis holder - including the cryokinesis holders themselves, since they share cryokinesis with each other. What is the average number of superpowers these heroes have, rounded to one decimal place? Please send back just that single number.", + "evidence": "Cryokinesis is the superpower to generate and control ice." + }, + { + "instance_id": "bird355", + "db": "superhero", + "question": "What is the average weight in kilograms of the DC Comics heroes whose eye colour is also shared by at least one Marvel Comics hero? Leave out any heroes whose weight is unknown, round the result to the nearest kilogram, and treat 'No Colour' as an eye colour like any other when matching between publishers. I just want that single number.", + "evidence": "" + }, + { + "instance_id": "bird356", + "db": "superhero", + "question": "I'm researching heroes like A-Bomb. What is the average height in centimetres of the superheroes in A-Bomb's group? Please give me just that single number, rounded to one decimal place. Note that A-Bomb itself belongs to its group and should be included, and only heroes whose height is actually on record should count toward the average-anyone without a recorded height should be left out rather than counted as some height.", + "evidence": "In this request, \"group\" refers to race." + }, + { + "instance_id": "bird357", + "db": "superhero", + "question": "What is the average weight, in kg, of the heroes who belong to races in which no hero is female? Heroes whose weight is not recorded should not count toward the average. I just need that single value.", + "evidence": "female: the hero's gender is female" + }, + { + "instance_id": "bird358", + "db": "superhero", + "question": "I'm writing a piece about which real publishing companies have put out very tall heroes. How many publishers in the database have released at least one hero taller than 200 cm? Note that taller than 200 cm means strictly more than 200 cm, and it counts if even one of their heroes is that tall. I just need the number of publishers, nothing else.", + "evidence": "A hero's publisher being 'released' means the publisher the hero is attributed to in the database." + }, + { + "instance_id": "bird359", + "db": "superhero", + "question": "For a licensing survey of non-DC heroic characters, I need a single total count of superheroes whose alignment is Good and who are not published by DC Comics. Just that one number, please.", + "evidence": "Good means the hero's alignment is Good; DC Comics means the publisher named DC Comics." + }, + { + "instance_id": "bird360", + "db": "superhero", + "question": "I'm comparing superhero body weights to typical human weights for an article. What is the average weight in kilograms of superheroes published by DC Comics, rounded to one decimal place, and how many DC Comics superheroes is that average based on? Only superheroes with a known weight should count toward the average, so the count should be the number of superheroes it's based on. DC Comics means the publisher named DC Comics.", + "evidence": "" + }, + { + "instance_id": "bird361", + "db": "superhero", + "question": "How many heroes published by Blackwulf's publisher have an eye colour that at least one hero from a different publisher also has? By \"that publisher's heroes\" I mean all of its heroes, not just Blackwulf. A different publisher means any other publisher, and heroes with no publisher listed shouldn't count as coming from a different publisher. I just want that single count back.", + "evidence": "Eye colour: the colour of a hero's eyes as catalogued for that hero." + }, + { + "instance_id": "bird362", + "db": "superhero", + "question": "Which race is the most common among the superheroes published by the same publisher as the superhero whose full name is Charles Chandler? I'd like, for that publisher's superheroes only, the name of the most common race and the count of that publisher's superheroes of that race. Ignore any superhero with no race recorded. If several races tie for most common, list every tied race with its count.", + "evidence": "Race: the superhero's species or type, e.g. Human, Mutant, Alien." + }, + { + "instance_id": "bird363", + "db": "superhero", + "question": "What is the average weight in kg of the Female heroes in the database? Round it to two decimal places, and skip any heroes whose weight is unknown. I just need that single number.", + "evidence": "kg: kilograms" + }, + { + "instance_id": "bird364", + "db": "superhero", + "question": "I'm writing a power-profile feature on heroes with super speed or death touch. Can you give me one number: the average intelligence score of the superheroes who have either of those powers? Round it to one decimal place, and only count the heroes who actually have an intelligence score in the database.", + "evidence": "\"Super speed\" and \"death touch\" are superpower names as used in the database; \"intelligence\" is the hero attribute by that name." + }, + { + "instance_id": "bird365", + "db": "superhero", + "question": "I'm comparing how power-rich male and female heroes are. For all male heroes and all female heroes that have a documented real full name, what is the average number of superpowers per hero for each gender? Please compute each average over the entire hero population of that gender, not just the heroes that happen to have power records. Give me both averages, each rounded to two decimal places, and nothing else.", + "evidence": "Full name: the hero's real, full personal name (first name plus last name, and optionally middle names); single names such as mononyms or aliases are not a full name." + }, + { + "instance_id": "bird366", + "db": "superhero", + "question": "I'm putting together a physical profile of the green-skinned villain corner of the universe for a fan wiki page. Could you tell me the average height in centimetres and the average weight in kilograms of the green-skinned villains? Please average only over the characters whose measurement is actually on record - a character with no recorded height or weight shouldn't drag the average down - and round each average to two decimals. I just need those two numbers.", + "evidence": "By 'villain' I mean a character whose alignment is Bad, and by 'green-skinned' I mean a character whose skin colour is Green. Height in centimetres and weight in kilograms are the character's height_cm and weight_kg as commonly understood physical measurements." + }, + { + "instance_id": "bird367", + "db": "superhero", + "question": "I'm profiling publisher rosters and now want to look at the physical build of George Lucas's heroes. What is the average height of the heroes he created, in centimetres, and their average weight, in kilograms? Please round each average to one decimal place, and only include heroes whose height (for the height average) or weight (for the weight average) is actually known.", + "evidence": "" + }, + { + "instance_id": "bird368", + "db": "superhero", + "question": "I'd like to know how tall the heroes are who share at least one superpower with 3-D Man. Can you give me the average height in centimetres of those heroes, rounded to one decimal place? Please leave 3-D Man himself out of it, and don't count heroes whose height isn't known.", + "evidence": "" + }, + { + "instance_id": "bird369", + "db": "superhero", + "question": "I'm writing an article about green-skinned flying villains and need a body-statistics fact. What is the average weight, in kilograms, of all green-skinned villains who can fly? By villain I mean a character whose moral affiliation is Bad. Please include only characters whose weight was actually measured-any character whose weight was never measured should be left out of the average. Give me just the single number, rounded to the nearest kilogram.", + "evidence": "Flight: the power to fly." + }, + { + "instance_id": "bird370", + "db": "superhero", + "question": "I'm doing a physical-profile breakdown of the George Lucas catalogue. For the heroes published by George Lucas that have at least one superpower in the database, what is their average weight in kilograms, counting only the heroes whose weight is recorded? Please give me just that one number, rounded to two decimal places.", + "evidence": "George Lucas refers to the publisher name." + }, + { + "instance_id": "bird371", + "db": "superhero", + "question": "For the article I'm writing on heroic female characters, I'd like a physique stat for the trivia box: what is the average weight in kilograms of female superheroes whose alignment is good? Only count superheroes whose weight is known. Please round the result to two decimal places.", + "evidence": "Alignment: the superhero's moral category, e.g. good, bad, neutral." + }, + { + "instance_id": "bird372", + "db": "superhero", + "question": "I'm picking powers for a lightweight male hero archetype. How many different superpowers are held by at least one male superhero who weighs under 70 kilograms? Heroes whose weight isn't recorded shouldn't count as weighing under 70.", + "evidence": "" + }, + { + "instance_id": "bird373", + "db": "superhero", + "question": "I'm putting together a trivia fact box on tiny heroes. Could you tell me the hair colour of the shortest human superhero? Please treat heroes with no recorded height as unmeasured rather than as being the shortest. I just need the colour, nothing else.", + "evidence": "" + }, + { + "instance_id": "bird374", + "db": "superhero", + "question": "I want to know about the lightest superhero whose weight has actually been recorded. Among all heroes sharing that lightest weight, give me the largest number of superpowers any of them has. If such a hero has no powers, that counts as 0. Please return just that one number.", + "evidence": "A superpower is one power a hero has, identified by its name." + }, + { + "instance_id": "bird375", + "db": "superhero", + "question": "I'm auditing identity info on our hero profile pages. How many neutral-alignment heroes have a known full name? Just give me the count.", + "evidence": "By \"full name\" I mean the hero's real-world identity name, not the superhero/costume name." + }, + { + "instance_id": "bird376", + "db": "superhero", + "question": "I'm building a profile page crediting the fastest characters. Among all superheroes that share the top Speed attribute value (everyone tied at the highest Speed value counts), can you list the ones whose real name is known? For each, I need the superhero name and the full name \u2014 the civilian identity behind the mask \u2014 and nothing else. Please leave out anyone whose real name isn't identifiable.", + "evidence": "" + }, + { + "instance_id": "bird377", + "db": "superhero", + "question": "I'm looking at how designers pair hair and eye colours. For every eye colour that appears on at least one brown-haired hero, how many heroes have that eye colour while their hair is NOT brown? Just give me each eye colour and that count, listing the eye colour with the highest count first. If two eye colours have the same count, the one whose name comes first alphabetically should come first.", + "evidence": "By a brown-haired hero I mean a hero whose hair colour is Brown." + }, + { + "instance_id": "bird378", + "db": "superhero", + "question": "I'm preparing a report on Marvel's roster and want to gauge how heroic their catalogued heroes are. Among Marvel Comics superheroes whose civilian full name is documented, what percentage are good? Please give me just that single percentage, rounded to two decimal places. Note: the percentage should be taken over all Marvel Comics superheroes with a known full name - those whose moral alignment is unknown still count toward the total, just not as good.", + "evidence": "Good refers to alignment = 'Good'. A full name means the hero's real-world civilian identity, i.e. an actual person's name such as 'Charles Chandler' or 'Richard Milhouse Jones'." + }, + { + "instance_id": "bird380", + "db": "superhero", + "question": "I'm comparing the builds of heroes whose power sets overlap with 3-D Man's. What is the average weight in kg of the heroes other than 3-D Man that share at least one superpower with him? Please round it to two decimal places, leave out any heroes whose weight isn't recorded, and return just that single number.", + "evidence": "" + }, + { + "instance_id": "bird381", + "db": "superhero", + "question": "Among superheroes whose weight is not recorded, how many more have the 'No Colour' eye category than have blue eyes? I want a single whole number: the count of 'No Colour' eyes minus the count of blue eyes in that group - it can be negative if blue is more common. Please give me just that one number, with no other results or breakdowns.", + "evidence": "'No Colour' is an eye category meaning the hero's eye colour is unspecified." + }, + { + "instance_id": "bird382", + "db": "thrombosis_prediction", + "question": "Among distinct patients with at least one uric-acid result above the sex-specific upper limit, what is the ratio of male to female patients?", + "evidence": "For this task, the uric-acid upper limit is 8.0 for males and 6.5 for females." + }, + { + "instance_id": "bird383", + "db": "thrombosis_prediction", + "question": "Across laboratory records with PLT > 400 for female patients whose patient profile lists an SLE diagnosis, what is the average ALB value rounded to four decimal places?", + "evidence": "" + }, + { + "instance_id": "bird384", + "db": "thrombosis_prediction", + "question": "How many distinct patients with a triglyceride result of at least 200 were older than 50 on 2026-10-09?", + "evidence": "" + }, + { + "instance_id": "bird385", + "db": "thrombosis_prediction", + "question": "List patient IDs, sex, and completed age on 2026-10-09 for patients with at least one laboratory record showing glucose at least 180 and total cholesterol below 250.", + "evidence": "" + }, + { + "instance_id": "bird386", + "db": "thrombosis_prediction", + "question": "List the IDs and completed ages on 2026-10-09 of patients with at least two laboratory results having hematocrit of 52 or higher.", + "evidence": "" + }, + { + "instance_id": "bird387", + "db": "thrombosis_prediction", + "question": "Among patients older than 55 on 2026-10-09 who have at least one abnormal PT result, what percentage are female? Round to two decimals.", + "evidence": "For this task, PT of at least 14 is abnormal." + }, + { + "instance_id": "bird388", + "db": "thrombosis_prediction", + "question": "How many distinct patients have at least one positive CRP laboratory result and no recorded patient description?", + "evidence": "Plus-marked CRP results indicate positivity." + }, + { + "instance_id": "bird390", + "db": "thrombosis_prediction", + "question": "Among patients in the thrombosis registry born between 1930 and 1940 inclusive who had laboratory tests, what percentage were inpatients? Please give me just the percentage rounded to two decimal places.", + "evidence": "An inpatient is a patient who was admitted to the hospital; an outpatient is a patient who was followed at the outpatient clinic." + }, + { + "instance_id": "bird391", + "db": "thrombosis_prediction", + "question": "Among the lab tests with the strongest anti-ribonuclear protein result (i.e., the highest result value), find the highest total bilirubin level and give me that test's total bilirubin level, the date of the lab test, the patient's ID, sex, and birthday. If several of those tests share the highest total bilirubin level, list each of them, one row per test.", + "evidence": "Anti-ribonuclear protein refers to the anti-RNP antibody lab test; total bilirubin refers to the total serum bilirubin lab test (a liver marker)." + }, + { + "instance_id": "bird392", + "db": "thrombosis_prediction", + "question": "I'm describing our young-patient group and want to show how unusual a raised RNP antibody is in these patients. Could you tell me how many patients in the thrombosis cohort born after 1 January 1960 never had a raised RNP antibody result? A few points: the group should cover every patient born after that date, including patients with no laboratory results at all - they count as never having had a raised result. \"Raised\" means a result strictly above 10, so a result of exactly 10 doesn't count, and a result of \"negative\" (no antibody detected) is never raised. Please return just one row with a single integer: the number of these patients.", + "evidence": "RNP: anti-ribonuclear protein antibody; a result of \"negative\" means no antibody was detected. A raised RNP result is a laboratory result strictly above 10." + }, + { + "instance_id": "bird393", + "db": "thrombosis_prediction", + "question": "Among patients followed at the outpatient clinic who ever had an abnormal anti-SSA result, which one showed the highest anti-RNP titer? Please give me the patient's ID and the anti-RNP titer value. This should cover the hospital's full records across all years, and if several patients tie for the highest anti-RNP titer, list every one of them.", + "evidence": "Abnormal anti-SSA means any SSA result other than negative or 0. \"Followed at the outpatient clinic\" is the admission status marked with a minus sign. Anti-RNP titer is the strength of the anti-ribonuclear protein result." + }, + { + "instance_id": "bird394", + "db": "thrombosis_prediction", + "question": "I'm studying antibody and platelet profiles in mixed connective tissue disease (MCTD). Can you tell me how many patients diagnosed with MCTD alone - meaning MCTD is their only recorded diagnosis - have had at least one platelet reading within the normal range and at least one anti-RNP antibody level above 5 (strictly greater than 5)? I just need the patient count.", + "evidence": "A platelet level within the normal range means from 100 to 400, both ends included; below 100 or above 400 is outside the normal range." + }, + { + "instance_id": "bird395", + "db": "thrombosis_prediction", + "question": "As part of the data-completeness review, I'd like to know how much laboratory follow-up our never-examined patients actually have, split by sex. Could you give me, for each sex (F and M), the average number of laboratory test dates recorded for the patients of that sex who have no examination record at all? Please cover the whole registry, all years, and round the averages to two decimal places. Nothing else needed beyond the two averages.", + "evidence": "F denotes a female patient and M denotes a male patient. A laboratory test date is a date on which laboratory tests were recorded for a patient." + }, + { + "instance_id": "bird396", + "db": "thrombosis_prediction", + "question": "I'm reviewing autoimmune antibody profiles in our thrombosis registry. Among the female patients who were admitted to the hospital as inpatients, I need to find the laboratory test record with the highest anti-DNA antibody level, for a case review. Please give me the patient ID, the laboratory test date of that record, and the anti-DNA antibody level reported in it - nothing else. Order the results by patient ID, and if several lab test records share the highest level, list each of them.", + "evidence": "Anti-DNA antibody level means the anti-DNA test result recorded in the laboratory tests." + }, + { + "instance_id": "bird397", + "db": "thrombosis_prediction", + "question": "Among patients who have ever had an anti-ribonuclear protein (anti-RNP) antibody result above 16 on any laboratory reading, whenever it was taken, how many were admitted to the hospital and how many were followed at the outpatient clinic? Please give one row per care setting, using '+' for admitted to the hospital and '-' for followed at the outpatient clinic, showing the number of such patients in each setting.", + "evidence": "" + }, + { + "instance_id": "bird398", + "db": "thrombosis_prediction", + "question": "Among the thrombosis registry patients followed at the outpatient clinic, how many have a non-normal hematocrit and an anti-ribonuclear protein measurement above 16? I need a single count. A patient counts if they have at least one hematocrit reading outside the normal range, regardless of test date, and at least one anti-ribonuclear protein reading above 16, regardless of test date. Include every patient in the registry, not only those with a recorded thrombosis event.", + "evidence": "Hematocrit is normal when the value lies strictly between 29 and 52; outside that range it is abnormal. A negative anti-ribonuclear protein result means none was detected." + }, + { + "instance_id": "bird399", + "db": "thrombosis_prediction", + "question": "For the patients followed at our thrombosis unit's outpatient clinic, what is the highest anti-ribonuclear protein value on record? I just need that single highest value for my review.", + "evidence": "Anti-ribonuclear protein (anti-RNP) is a blood antibody test result recorded for patients." + }, + { + "instance_id": "bird400", + "db": "thrombosis_prediction", + "question": "I'm studying patients who carry exactly the rheumatoid arthritis and Sj\u00f6gren's syndrome overlap. Please look at each patient's own record and find those whose record names exactly rheumatoid arthritis and Sj\u00f6gren's syndrome, in either order, and no other disease \u2013 a disease recorded only as suspected does not count as a diagnosis. For those patients, considering their whole recorded laboratory history regardless of date, I need two numbers: how many have had at least one laboratory result showing a normal platelet level, and how many have never had a laboratory result showing a normal platelet level \u2013 count a patient with no laboratory results at all as never having had a normal platelet result.", + "evidence": "Rheumatoid arthritis is recorded as the code RA and Sj\u00f6gren's syndrome as the code SJS. A normal platelet level means a platelet count above 100 and below 400." + }, + { + "instance_id": "bird401", + "db": "thrombosis_prediction", + "question": "I'm writing a report section on abnormal total protein in female SLE patients and need one summary figure. Among the laboratory records of female patients diagnosed with systemic lupus erythematosus at an examination visit, where total protein is above the normal bound of 8.5, what is the average deviation of total protein from that bound across all qualifying records, rounded to three decimal places? A few points: an examination visit counts as an SLE diagnosis when systemic lupus erythematosus is among the diseases that visit's diagnosis lists, whether it's the only one or appears alongside others; the normal bound is 8.5, and a record counts as above the bound only when its TP is greater than 8.5; a record's deviation is its TP minus 8.5; and the average should cover all qualifying laboratory records across all dates.", + "evidence": "SLE: systemic lupus erythematosus." + }, + { + "instance_id": "bird402", + "db": "thrombosis_prediction", + "question": "What percentage of patients in the registry with a diagnosis of psoriatic arthritis were born in 1960 or later? Please give a single percentage rounded to one decimal place.", + "evidence": "Psoriatic arthritis is a rheumatologic diagnosis recorded for patients in the registry." + }, + { + "instance_id": "bird403", + "db": "thrombosis_prediction", + "question": "I'm putting together a demographic summary of our low-albumin patients. Could you tell me how many patients with an albumin measurement below 3.5 are female and how many are male? I'd like one row per sex group showing the sex (F or M) and the number of patients in that group.", + "evidence": "F stands for female and M stands for male." + }, + { + "instance_id": "bird404", + "db": "thrombosis_prediction", + "question": "I'm preparing a department audit on how often anti-ribonuclear protein testing comes back clearly elevated among the women in the thrombosis cohort. Among the women in the cohort, what percentage of those with an available anti-ribonuclear protein test result had a clearly elevated result? Please give me the percentage rounded to two decimal places on the 0-100 scale. Note: elevated means a titer strictly above 1:64. Patients never tested for anti-ribonuclear protein should be excluded from both the numerator and the denominator, while a negative reading counts as an available result and is never elevated.", + "evidence": "Anti-ribonuclear protein is a serology test reported as a titer reading; a negative reading is a result of zero titer." + }, + { + "instance_id": "bird405", + "db": "thrombosis_prediction", + "question": "What was the average age of the register's patients in 1999, considering all patients who ever had marked or worse proteinuria on a lab test? Age in 1999 means 1999 minus the patient's year of birth. Marked or worse proteinuria means grade 3 or 4 on the original scale, or 300, 1000 or above on the scale used since 1987; traces and grades 1 and 2 don't count. I just need the one average number, in years.", + "evidence": "U-PRO = proteinuria result of a laboratory test; TR = traces of proteinuria." + }, + { + "instance_id": "bird406", + "db": "thrombosis_prediction", + "question": "I'm looking at patients whose anti-ribonuclear protein antibody measurement came out higher than 32. Of those patients, how many were women and how many were men? Note that 'higher than 32' means strictly above 32, not equal to it, and a patient qualifies if any of their laboratory measurements exceeded 32.", + "evidence": "A woman means a patient recorded as F, and a man means a patient recorded as M." + }, + { + "instance_id": "bird407", + "db": "thrombosis_prediction", + "question": "I'm studying how early in life a patient in the thrombosis cohort can show a high anti-ribonuclear protein (RNP) reading. Please tell me the youngest age, in whole years, at which a patient had a laboratory test showing an anti-RNP result of at least 64. Age in whole years means the year of the test minus the year of birth. If several patients or tests share that youngest age, report that age once. I just need that single youngest age value, nothing else.", + "evidence": "Anti-ribonuclear protein (RNP): an antibody measured in the laboratory panel, reported as a titer number or as negative." + }, + { + "instance_id": "bird408", + "db": "thrombosis_prediction", + "question": "For the patients in the registry with a diagnosis of psoriatic arthritis, I'd like to know: (1) the total number of laboratory tests recorded for these patients, counting tests from all dates, and (2) how many of these patients have no laboratory tests recorded at all (i.e., patients with no laboratory record count as having no laboratory tests).", + "evidence": "Psoriatic arthritis: a rheumatic disease diagnosis." + }, + { + "instance_id": "bird409", + "db": "thrombosis_prediction", + "question": "For our annual report, I need the count of patients in the thrombosis cohort who showed thrombosis at any examination performed between 01/01/1997 and 12/31/1997, inclusive. Please give me just that number of patients.", + "evidence": "Thrombosis refers to the formation of blood clots, recorded at each examination as a graded finding." + }, + { + "instance_id": "bird410", + "db": "thrombosis_prediction", + "question": "I'm putting together a monitoring checklist for SLE patients. Among the thrombotic episodes recorded for patients diagnosed with SLE, which single symptom appears most frequently? I just need the symptom name back. Please count all recorded episodes with no date restriction. If two symptoms are equally frequent, give the one that comes first alphabetically. Note that a patient counts as having SLE only if their own diagnosis record names SLE among their diseases.", + "evidence": "SLE: systemic lupus erythematosus, an autoimmune disease. Thrombotic episode: an episode in which the patient experienced thrombosis." + }, + { + "instance_id": "bird411", + "db": "thrombosis_prediction", + "question": "In our autoimmune disease cohort, what percentage of thrombosis patients were diagnosed with SLE at the examination visit? I need the percentage on a 0-100 scale, rounded to two decimal places. Please use the diagnosis recorded at the examination visit, not the diagnosis on the patient's overall file. This is for a write-up on which diagnoses accompany thrombotic events in this cohort.", + "evidence": "SLE: systemic lupus erythematosus, an autoimmune disease; thrombosis: formation of a blood clot within a blood vessel" + }, + { + "instance_id": "bird412", + "db": "thrombosis_prediction", + "question": "For the thrombosis cohort, I need to describe how long admitted patients typically wait from their first hospital visit until their first examination. Please give me the average delay in days across admitted patients, based on each patient's own first visit and first examination, rounded to the nearest whole number. A patient counts as admitted whenever her admission entry carries a plus sign, regardless of anything else in that entry.", + "evidence": "" + }, + { + "instance_id": "bird413", + "db": "thrombosis_prediction", + "question": "For a demographics summary of our 1994 laboratory cohort: how many female patients and how many male patients had a normal AST glutamic oxaloacetic transaminase (GOT) index on laboratory tests done during the calendar year 1994? Please give me the patient count for each sex (F and M) and nothing else. The calendar year 1994 means laboratory test dates from 1994-01-01 through 1994-12-31.", + "evidence": "AST glutamic oxaloacetic transaminase (GOT) index within normal range means a value below 60." + }, + { + "instance_id": "bird414", + "db": "thrombosis_prediction", + "question": "I'm reviewing thrombosis ward patients and need a chart-review list. Can you give me, for every patient who had a single lab visit where the panel showed both an LDH result strictly between 600 and 800 and urine protein of 300 mg/dL or more, the patient ID and their completed age in years as of 2026-10-09? If any one visit's panel shows both findings, that patient qualifies. Please note that a proteinuria result reported as \"at least\" a level counts at that stated level (e.g., \"at least 300\" counts as 300 mg/dL or more), and a plain number is in mg/dL. Nothing else needed, just patient ID and completed age.", + "evidence": "Proteinuria result codes: '-' means negative, 'TR' means trace." + }, + { + "instance_id": "bird415", + "db": "thrombosis_prediction", + "question": "For the RA patients whose urea nitrogen was within the normal index, how many more women are there than men? Please give me a single integer: the count of women minus the count of men. Women means sex F and men means sex M, and the difference may be negative.", + "evidence": "Within the UN normal index means UN < 30; RA means a Diagnosis of RA." + }, + { + "instance_id": "bird416", + "db": "thrombosis_prediction", + "question": "I'm reviewing renal function in the thrombosis cohort and want to compare how often creatinine runs out of the normal range between men and women. For each sex (M and F), please give me: the number of patients of that sex with at least one creatinine result out of the normal range, the total number of patients of that sex, and the share those patients represent of that sex's total as a percentage rounded to one decimal place. Rules: out of the normal range means a creatinine result of 1.5 or higher; the total per sex counts every patient of that sex on file whether or not any lab result exists for them.", + "evidence": "Creatinine out of the normal range: a CRE value of 1.5 or higher. Male is SEX = 'M'; female is SEX = 'F'." + }, + { + "instance_id": "bird417", + "db": "thrombosis_prediction", + "question": "In this cohort, I want to compare the most extreme total cholesterol (T-CHO) readings between patients admitted to the hospital and those followed at the outpatient clinic. Please give me, for each of the two groups, the single highest T-CHO reading, along with the admission status ('+' admitted, '-' outpatient) and the patient ID whose reading is the group's highest. List the admitted group's row first, then the outpatient group's. If several patients tie at a group's highest reading, list each of them.", + "evidence": "T-CHO: total cholesterol. '+': the patient was admitted to the hospital. '-': the patient was followed at the outpatient clinic." + }, + { + "instance_id": "bird418", + "db": "thrombosis_prediction", + "question": "Among patients whose first visit to the hospital was in 1991, which patients mounted the strongest anti-ribonuclear protein (RNP) response? Please give me the patient ID and anti-RNP level for every patient tied at the highest recorded level. Only consider patients for whom a level was actually recorded.", + "evidence": "anti-ribonuclear protein (RNP): an antibody titer; a higher titer means a higher level." + }, + { + "instance_id": "bird419", + "db": "thrombosis_prediction", + "question": "I'm reviewing the 1991 lab records of the thrombosis cohort, checking whether heavy proteinuria went hand in hand with lower hematocrit that year, as a sign of anemia in kidney involvement. Among the laboratory tests done in 1991 that reported proteinuria of at least 300 mg/dL, what was the average hematocrit value? Please note: proteinuria levels are measured in mg/dL; a proteinuria result reported only as a lower bound that the reading reached or exceeded still counts as being at least that level; a trace result is below 30 mg/dL; and tests without a hematocrit reading should be left out of the average.", + "evidence": "" + }, + { + "instance_id": "bird420", + "db": "thrombosis_prediction", + "question": "I'm putting together a care-setting summary of severe SLE cases for the rheumatology department. Among patients diagnosed with SLE, considering only those whose only diagnosis is SLE and who had abnormally high proteinuria, how many were admitted to the hospital and how many were followed at the outpatient clinic? Please count each patient based on their full history at the hospital.", + "evidence": "Abnormally high proteinuria means a proteinuria level of 30 or higher." + }, + { + "instance_id": "bird421", + "db": "thrombosis_prediction", + "question": "How many patients in our thrombosis ward are followed at the outpatient clinic (rather than admitted) with a normal Rheumatoid Factor and no positive measure of degree of coagulation? Please give me a single number. For context: a normal Rheumatoid Factor is '-' or '+-', a positive measure of degree of coagulation is '+' on any of the coagulation measures (KCT, RVVT, LAC), and an outpatient-clinic patient is one with Admission = '-'. If a patient has no recorded coagulation measure, count them as having no positive measure.", + "evidence": "" + }, + { + "instance_id": "bird422", + "db": "thrombosis_prediction", + "question": "I'm reviewing our cohort and need to identify patients whose most recent laboratory sample on file was collected after 1 January 1997 (strictly later than that date) and whose most recent anti-Scl-70 result on file was normal. Please return only the patient IDs for these patients.", + "evidence": "anti-Scl-70: anti-topoisomerase I antibody, an autoantibody measured in the laboratory. A normal anti-Scl-70 result is a result of 'negative' or 0." + }, + { + "instance_id": "bird424", + "db": "thrombosis_prediction", + "question": "For a study of laboratory test patterns, I need to size a cohort. How many female patients have at least one anti-DNA antibody level below 8 (the upper bound of the normal range)? Any laboratory visit of the patient qualifies; there is no time scope. I just need that single count back.", + "evidence": "anti-DNA level: the anti-DNA antibody concentration measured in the laboratory tests" + }, + { + "instance_id": "bird425", + "db": "thrombosis_prediction", + "question": "For patients admitted to the hospital, how many never had an alkaliphosphatase level above the normal ceiling in their lab results? I just need that single count.", + "evidence": "A patient is admitted when their status is anything other than the outpatient-clinic code; the outpatient-clinic code is '-' and admitted is '+'. A normal alkaliphosphatase level is below 300; a level of 300 or more is above the normal ceiling." + }, + { + "instance_id": "bird426", + "db": "thrombosis_prediction", + "question": "Among patients in the thrombosis prediction database whose creatinine level is normal (below 1.5), what is the highest anti-RNP antibody level recorded? Please return just that single number; if several measurements tie for the highest, the tied value is the answer.", + "evidence": "Anti-RNP antibody = anti-ribonuclear protein antibody, measured by the laboratory panel." + }, + { + "instance_id": "bird427", + "db": "thrombosis_prediction", + "question": "I'd like to see how severe anemia is distributed across the sexes in the registry. Please give me, for each sex, the number of patients of that sex who ever showed severe anemia on any lab test, with the rows labeled 'female' and 'male'.", + "evidence": "Severe anemia means a hemoglobin value below 7.0 g/dL on a lab test." + }, + { + "instance_id": "bird428", + "db": "thrombosis_prediction", + "question": "Among the laboratory tests whose AST glutamic oxaloacetic transaminase (GOT) index was above the normal range (60 or higher), I want to find the test with the highest anti-ribonuclear protein reading. Please give me the patient's identification, the date of the laboratory test, and the anti-ribonuclear protein reading for that test. If several tests tie for the highest anti-ribonuclear protein reading, list every one of them. The date should be the date the laboratory test was performed.", + "evidence": "AST glutamic oxaloacetic transaminase (GOT) index: a liver enzyme measurement; values of 60 or higher are considered above the normal range." + }, + { + "instance_id": "bird430", + "db": "thrombosis_prediction", + "question": "In the thrombosis and autoimmune-disease cohort, I want to compare how often lactate dehydrogenase stays in the normal range between patients admitted to the hospital and patients followed at the outpatient clinic. Please give me one row per patient group showing the number of lactate dehydrogenase measurements within the normal range recorded for that group, with the admitted group's row first. Label the rows 'admitted to the hospital' for the Admission = '+' group and 'followed at the outpatient clinic' for the Admission = '-' group. Every laboratory measurement recorded for those patients across the whole study period counts. Nothing else is needed.", + "evidence": "The normal range for lactate dehydrogenase means a value below 500." + }, + { + "instance_id": "bird431", + "db": "thrombosis_prediction", + "question": "For patients whose sex is not recorded in the registry, I need two counts for the annual quality report: how many have at least one laboratory result on file, and of those, how many have at least one laboratory result showing elevated total bilirubin. The report covers all dates.", + "evidence": "A patient's sex is not recorded when the registry holds no sex entry for that patient. Total bilirubin of 2.0 or higher counts as elevated." + }, + { + "instance_id": "bird432", + "db": "thrombosis_prediction", + "question": "For an audit, I need the number of admitted female patients born between 1945 and 1989 (inclusive) who have an ANA examination where the observed pattern is exactly P, with no other pattern alongside it. Please return just that single count.", + "evidence": "ANA pattern: the pattern observed in the ANA examination, e.g. 'P' or 'P,S'; the admission mark starting with a plus indicates the patient was admitted." + }, + { + "instance_id": "bird433", + "db": "thrombosis_prediction", + "question": "I'm screening outpatient clinic patients with anemia for rheumatologic autoimmunity. Among patients who were followed as outpatients (rather than admitted to the hospital) and who ever had a hemoglobin value below 10 on any lab test, who showed the strongest anti-ribonuclear protein antibody response? Please return, for every patient whose anti-ribonuclear protein antibody level reached the highest point ever recorded on their lab tests (list all of them if several share that highest level): the patient ID, the patient's sex, and that highest-ever recorded anti-ribonuclear protein antibody level. Nothing else.", + "evidence": "Anti-ribonuclear protein refers to the antibody measured in the laboratory tests (anti-RNP)." + }, + { + "instance_id": "bird434", + "db": "thrombosis_prediction", + "question": "Among the patients in the thrombosis prediction data, how many have a first laboratory record showing both a normal glutamic oxaloacetic transaminase (GOT) level and an elevated anti-ribonuclear protein (RNP) concentration? By normal GOT I mean a value below 60, and by elevated RNP I mean a value above 10. By first laboratory record I mean the one with the earliest laboratory test date for that patient. I need just a single count of these patients.", + "evidence": "GOT stands for glutamic oxaloacetic transaminase (also known as aspartate aminotransferase, AST); RNP stands for anti-ribonuclear protein." + }, + { + "instance_id": "bird435", + "db": "thrombosis_prediction", + "question": "I'm reviewing the current kidney involvement status of the thrombosis prediction cohort. For every patient who has had a proteinuria test, I need their patient identifier, sex, the date of their most recent proteinuria test, and the proteinuria level measured on that test. \"Most recent\" means the latest proteinuria test by test date.", + "evidence": "A proteinuria test is a test that measures the level of protein in the urine; the proteinuria level is the result value it reports." + }, + { + "instance_id": "bird436", + "db": "thrombosis_prediction", + "question": "I'm screening the thrombosis cohort for a follow-up panel. Can you give me the patient ids of outpatients (patients followed at the outpatient clinic rather than admitted) whose creatinine phosphokinase is in the normal range (below 250) but whose anti-ribonuclear protein antibody level is above 4 (strictly greater than 4)? Please note that an anti-ribonuclear protein result reported as negative means no antibody was detected. I just need the patient ids, nothing else.", + "evidence": "" + }, + { + "instance_id": "bird437", + "db": "thrombosis_prediction", + "question": "I'd like to know how many patients in the cohort have a positive anti-ribonuclear protein (RNP) result but no thrombosis. A positive RNP result means the anti-ribonuclear protein level is above 0, and no thrombosis means the thrombosis degree is 0. Please return just the number of such patients.", + "evidence": "" + }, + { + "instance_id": "bird438", + "db": "thrombosis_prediction", + "question": "I'm reviewing patients with an elevated anti-ribonuclear protein result. Among patients who ever had an anti-ribonuclear protein result of 16 or higher, I want to follow up the three whose liver enzymes stayed in the normal range. The normal range for GPT is below 60. For each patient, take their highest GPT value among their laboratory tests that fall in the normal range. Rank patients from that highest value down; if two patients share the same value, the one with the smaller patient ID comes first. Please return exactly three patients, one row per patient, with only each patient's Birthday.", + "evidence": "GPT stands for glutamic pyruvic transaminase, a liver enzyme; anti-ribonuclear protein is an autoantibody measured in laboratory tests." + }, + { + "instance_id": "bird439", + "db": "thrombosis_prediction", + "question": "I'm trying to size a subgroup in the thrombosis cohort: how many female patients had a normal prothrombin time (below 14 seconds) along with an elevated anti-ribonuclear protein level (16 or higher)? Please use the prothrombin time and anti-ribonuclear protein level from the same laboratory record for each patient. I just need the count of such female patients.", + "evidence": "Normal prothrombin time: below 14 seconds. Elevated anti-ribonuclear protein: a measured level of 16 or higher." + }, + { + "instance_id": "bird440", + "db": "thrombosis_prediction", + "question": "Among inpatients (admission marked '+'), find the laboratory anti-DNA antibody test with the highest recorded level, and report the patient's age in completed years at that test date and the patient's diagnosis. If several tests share the highest level, use the one with the earliest test date.", + "evidence": "An inpatient is a patient admitted to the hospital: the Admission record is marked '+' (a '-' marks an outpatient followed at the clinic). Age in completed years means the age at the last birthday reached on or before the test date. The anti-DNA antibody level is a laboratory reading reported alongside the other antibody tests." + }, + { + "instance_id": "bird441", + "db": "thrombosis_prediction", + "question": "I need to find lupus patients with liver lab abnormalities. Can you give me the ID and sex of every patient who has at least one total bilirubin (T-BIL) result at or above the upper normal limit of 1.2 mg/dL, and who has a confirmed diagnosis of systemic lupus erythematosus (SLE)? SLE counts if it's among the patient's confirmed diagnoses, even when other diseases are diagnosed or suspected alongside it, but a suspected SLE alone doesn't count. The diagnosis should be the patient's overall diagnosis, not something noted at a single examination. Please order results by sex, then patient ID, and return only the ID and sex.", + "evidence": "T-BIL: total bilirubin; SLE: systemic lupus erythematosus; susp.: suspected, not a confirmed diagnosis" + }, + { + "instance_id": "bird442", + "db": "thrombosis_prediction", + "question": "I'm reviewing how often older female patients show elevated anti-RNP antibody results, split by whether they were admitted to the hospital or followed at the outpatient clinic. For female patients aged at least 50 as of 2026-10-09, please give me a two-row breakdown by care setting (admitted to the hospital vs. followed at the outpatient clinic), showing for each setting how many patients had at least one anti-RNP laboratory result of at least 4, and how many had no such result. A patient's admission marker of '+' counts as admitted to the hospital and '-' counts as followed at the outpatient clinic; patients with any other admission marker are out of scope. Order the two rows alphabetically by care setting.", + "evidence": "anti-RNP: anti-ribonuclear protein antibody, measured in laboratory results; admission marker: the patient's recorded admission sign." + }, + { + "instance_id": "bird443", + "db": "thrombosis_prediction", + "question": "I'm putting together a cohort summary and need one number: how many patients followed at the outpatient clinic (admission marker '-') have a most recent IgG lab result of 2000 or higher? By most recent, I mean the IgG measurement with the greatest laboratory date for that patient - since a patient has at most one lab record per date, there should be no ambiguity.", + "evidence": "" + }, + { + "instance_id": "bird444", + "db": "thrombosis_prediction", + "question": "Among all patients diagnosed with systemic lupus erythematosus, I want to find the patient whose anti-DNA test result was the strongest ever recorded for that disease. Please report the patient's identifier, the patient's diagnosis, and that patient's highest anti-DNA test result, using the number exactly as the test wrote it. If several patients tie for the highest anti-DNA result, list every tied patient.", + "evidence": "Systemic lupus erythematosus (SLE) is an autoimmune disease; anti-DNA is an antibody test reported as a number." + }, + { + "instance_id": "bird445", + "db": "thrombosis_prediction", + "question": "For our thrombosis study cohort, I'd like to know how often patients have a normal IgG status at their most recent check, broken down by care setting. Please give me, for patients admitted to the hospital and for patients followed at the outpatient clinic, the percentage of that setting's patients whose most recent IgG measurement was normal. The percentage should be out of every patient in that setting, so patients who never had an IgG measurement count toward the denominator but not the numerator. Please round to one decimal place, and label the two results exactly as 'admitted to the hospital' and 'followed at the outpatient clinic'.", + "evidence": "An IgG measurement is considered normal when it is above 900 and below 2000." + }, + { + "instance_id": "bird446", + "db": "thrombosis_prediction", + "question": "In the thrombosis prediction cohort, I'd like to know whether the female predominance I saw for strongly positive anti-RNP results across follow-up also holds at patients' current status. Please give me a single integer: the number of female patients whose most recent visit shows a strongly positive anti-RNP result, minus the number of male patients whose most recent visit shows such a result. Use only the result at each patient's most recent visit, not earlier visits. A strongly positive anti-RNP result means a level of 32 or higher.", + "evidence": "anti-ribonuclear protein (RNP): an autoantibody measured in the laboratory work-up; visit: a date on which the patient's laboratory tests were performed" + }, + { + "instance_id": "bird447", + "db": "thrombosis_prediction", + "question": "In the thrombosis prediction cohort, I want to gauge how often the most recent anti-ribonuclear protein measurement among female patients was markedly elevated while CPK stayed low at that same measurement. Please give me a single integer: the number of female patients whose most recent anti-ribonuclear protein titer was above 64 and whose CPK from that same laboratory record was below 250. Above 64 means strictly greater than 64, and below 250 means strictly less than 250.", + "evidence": "Anti-ribonuclear protein is an autoantibody measured as a titer in the blood; a negative result means the antibody was not detected." + }, + { + "instance_id": "bird448", + "db": "thrombosis_prediction", + "question": "I'm preparing a capacity report for the lupus service. Among the patients whose profile lists a confirmed SLE diagnosis (not just suspected), I need: (1) how many were admitted to the hospital as inpatients, (2) how many were followed at the outpatient clinic, and (3) what percentage of the confirmed-SLE patients who were in one of these two care settings were inpatients. Please round the percentage to two decimals.", + "evidence": "SLE means systemic lupus erythematosus. A disease name followed by 'susp' (e.g., 'SLE susp') means only suspected, not confirmed, and does not count." + }, + { + "instance_id": "bird450", + "db": "thrombosis_prediction", + "question": "Some registered patients have unknown thrombosis status because no examination has ever been recorded under their patient number. How many of these patients are women and how many are men? Please give me one row per sex with the sex of the patients and the number of such patients of that sex, and nothing else.", + "evidence": "F is the code for female and M is the code for male in the patient profile." + }, + { + "instance_id": "bird452", + "db": "thrombosis_prediction", + "question": "I'm reviewing confirmed SLE cases for a study of neurologic involvement. Among patients whose examination lists SLE among the diagnosed diseases and who have a symptom recorded at such an examination, I need the case detail of the youngest such patient. Please send me the symptom recorded at that qualifying examination and that patient's overall diagnosis (their overall diagnosis, not the diagnosis written at the examination). If two patients share the same birth date, use the one with the smaller patient ID; and if that patient has more than one qualifying examination, use the most recent one.", + "evidence": "SLE is systemic lupus erythematosus. A disease name followed by 'susp' means the disease was only suspected, not diagnosed." + }, + { + "instance_id": "bird453", + "db": "thrombosis_prediction", + "question": "I'm auditing inpatient intake during the February 1998 admission wave. Among patients first seen at the hospital in the second half of February 1998 (visit date from 15 to 28 February 1998), find the oldest inpatient at first presentation and give me that patient's diagnosis only. If two patients tie in age, use the one with the smaller patient ID.", + "evidence": "'Inpatient' means the patient was admitted to the hospital rather than followed at the outpatient clinic, regardless of whether the record notes extra detail about the admission." + }, + { + "instance_id": "bird454", + "db": "thrombosis_prediction", + "question": "I'm summarizing anti-cardiolipin IgM levels for lupus patients. What was the average anti-cardiolipin IgM concentration across examinations performed between 1993-10-01 and 1993-10-31 (both days inclusive) in which systemic lupus erythematosus (SLE) was diagnosed? Please round the average to 1 decimal place.", + "evidence": "SLE = systemic lupus erythematosus" + }, + { + "instance_id": "bird455", + "db": "thrombosis_prediction", + "question": "How many patients in the thrombosis prediction cohort have a diagnosis of psoriatic arthritis? The count should cover every patient ever recorded in the registry, with no restriction to a time period or follow-up status. I just need that single number.", + "evidence": "Psoriatic arthritis: a chronic inflammatory joint and skin disease belonging to the rheumatic diagnoses." + }, + { + "instance_id": "bird456", + "db": "thrombosis_prediction", + "question": "I need to size a comparison group for my study of liver-enzyme abnormalities. How many patients in the registry have never had an ALT result above the normal range? Please give me the count broken down by sex: the number of male patients and the number of female patients. Every patient in the registry counts, including patients with no laboratory results at all, since they have never had an abnormal result. The report should cover exactly the two sexes, male and female.", + "evidence": "ALT is measured by the GPT laboratory value; a GPT result of 60 or higher exceeds the normal range." + }, + { + "instance_id": "bird457", + "db": "thrombosis_prediction", + "question": "For patients with at least one red-blood-cell result below 3.5 (RBC), I need a breakdown by care setting: how many patients were admitted to the hospital (+) versus followed at the outpatient clinic (-), and the average completed age of each group on 2026-10-09, rounded to one decimal place. Age means completed years on 2026-10-09.", + "evidence": "Red-blood-cell result below 3.5 (RBC); admission status + marks a patient admitted to the hospital, - marks a patient followed at the outpatient clinic." + }, + { + "instance_id": "bird458", + "db": "thrombosis_prediction", + "question": "Among the patients who have laboratory test records on file, how many are female and how many are male? Please give me one line for the female patients and one line for the male patients, each showing the sex and the number of patients of that sex.", + "evidence": "" + }, + { + "instance_id": "bird460", + "db": "thrombosis_prediction", + "question": "How many female patients have a Sj\u00f6gren's syndrome diagnosis recorded in a medical examination? Please count across the full examination history with no date restriction, and note that suspected cases don't count\u2014only an actual SjS diagnosis should be included. I just need that single number.", + "evidence": "SjS is the standard medical abbreviation for Sj\u00f6gren's syndrome, and the diagnosis is recorded under that abbreviation." + }, + { + "instance_id": "bird461", + "db": "thrombosis_prediction", + "question": "How many patients who were never admitted to the hospital (outpatient follow-up only) had at least one normal anti-ribonuclear protein (RNP) result? A normal RNP result means the test found no anti-ribonuclear protein antibody: a negative result, or a measured value of zero. I just need a single number.", + "evidence": "anti-ribonuclear protein (RNP): an antibody test" + }, + { + "instance_id": "bird462", + "db": "thrombosis_prediction", + "question": "I'd like to know, among patients who have at least one normal anti-SM laboratory result (recorded as 'negative' or '0') and whose examinations show no thrombosis, how many have ever had significant proteinuria on any laboratory record. Significant proteinuria means 30 mg/dl or more; '-' and 'TR' count as no proteinuria. I only need the number of such patients.", + "evidence": "anti-SM: normal is recorded as 'negative' or '0'; proteinuria is measured semi-quantitatively as '-', 'TR', or the approximate daily urinary protein excretion in mg/dl" + }, + { + "instance_id": "bird463", + "db": "thrombosis_prediction", + "question": "Which patients followed at the outpatient clinic have both an abnormal red blood cell count and a positive anti-ribonuclear protein antibody result? Please return the patient IDs. Note: the two findings don't need to be from the same laboratory visit - a patient qualifies if at least one lab test shows an abnormal RBC and at least one, possibly different, lab test shows a positive anti-ribonuclear protein antibody. Here, a positive anti-ribonuclear protein antibody means a titer above zero, an abnormal RBC means RBC <= 3.5 or RBC >= 6.0, and outpatient follow-up means Admission = '-'.", + "evidence": "" + }, + { + "instance_id": "bird464", + "db": "thrombosis_prediction", + "question": "In our autoimmune-cohort registry, I'm profiling young patients with strongly positive anti-RNP findings. What is the average age, in years, of the patients who were younger than 70 as of 2026-10-09 and who have at least one anti-RNP result of 64 or higher? Please give the average as a single number to one decimal place.", + "evidence": "anti-ribonuclear protein (anti-RNP) result: the reading recorded for a patient's anti-RNP test in the laboratory record" + }, + { + "instance_id": "bird465", + "db": "thrombosis_prediction", + "question": "I'd like a single number: how many female patients in the thrombosis prediction data have a laboratory record showing a normal white blood cell count, an abnormal fibrinogen level, and an anti-ribonuclear protein (RNP) reading above 15, considering all recorded laboratory dates?", + "evidence": "A normal white blood cell count means strictly between 3.5 and 9.0; an abnormal fibrinogen level means at most 150 or at least 450." + }, + { + "instance_id": "bird466", + "db": "thrombosis_prediction", + "question": "As part of our clinical audit I'm profiling patients born between 1936 and 1956 inclusive who never had a creatinine phosphokinase (CPK) result above the normal range. A CPK of 250 or higher counts as above the normal range, and patients with no CPK results on record count as never having exceeded it. For that group, please give me the women's percentage of the group's men and women, rounded to one decimal place.", + "evidence": "Creatinine phosphokinase (CPK) of 250 or higher is above the normal range." + }, + { + "instance_id": "bird467", + "db": "thrombosis_prediction", + "question": "I'm preparing a case series on early renal involvement and need to size my cohort. How many patients were under age 50 on the day of a laboratory test performed between 1 January 1981 and 31 December 1986 inclusive, had a platelet count from 100 through 400 at that test, and showed proteinuria at that test? Age means completed years on the day of the test, so under 50 is strictly below 50. The platelet range is inclusive. I just need the number of patients satisfying all conditions.", + "evidence": "A patient showed proteinuria at a test when that test's dipstick reading reports protein: a dash or zero means no protein was found, a number is the amount of protein found, TR stands for trace protein, and a reading written in percent signs is the dipstick saturated, the strongest reading." + }, + { + "instance_id": "bird468", + "db": "toxicology", + "question": "Among molecules containing at least one single bond, what is the average number of oxygen atoms per molecule? Include molecules with no oxygen and round to four decimal places.", + "evidence": "The '-' bond-type symbol denotes a single bond." + }, + { + "instance_id": "bird469", + "db": "toxicology", + "question": "Among carcinogenic molecules with at least one single bond, what is the average number of single bonds per molecule?", + "evidence": "In this dataset, '+' denotes a carcinogenic molecule and '-' denotes a single bond." + }, + { + "instance_id": "bird471", + "db": "toxicology", + "question": "How many distinct iodine atoms and distinct sulfur atoms, respectively, participate in at least one single bond?", + "evidence": "The '-' bond-type symbol denotes a single bond." + }, + { + "instance_id": "bird472", + "db": "toxicology", + "question": "Among carcinogenic molecules, what percentage contain no fluorine atoms? Round to two decimal places.", + "evidence": "A '+' carcinogenicity label means carcinogenic." + }, + { + "instance_id": "bird473", + "db": "toxicology", + "question": "What is the most common bond type in molecule TR010, and is that molecule carcinogenic? Return the bond type and YES or NO.", + "evidence": "In this dataset, a molecule labeled '+' is carcinogenic; a molecule labeled '-' is not." + }, + { + "instance_id": "bird474", + "db": "toxicology", + "question": "What are the bonds that have phosphorus and nitrogen as their atom elements?", + "evidence": "" + }, + { + "instance_id": "bird475", + "db": "toxicology", + "question": "List the distinct elements of atoms that do not participate in any bond.", + "evidence": "" + }, + { + "instance_id": "bird476", + "db": "toxicology", + "question": "How many atoms occur in molecules that have at least one triple bond and at least one phosphorus or bromine atom?", + "evidence": "The '#' bond-type symbol denotes a triple bond." + }, + { + "instance_id": "bird477", + "db": "toxicology", + "question": "Among all atoms in molecules containing at least one single bond, what percentage are chlorine atoms? Round to four decimal places.", + "evidence": "The '-' bond-type symbol denotes a single bond." + }, + { + "instance_id": "bird478", + "db": "toxicology", + "question": "What fraction of all atoms in molecule TR006 are hydrogen? Give the fraction and the molecule's recorded carcinogenicity label.", + "evidence": "" + }, + { + "instance_id": "bird479", + "db": "toxicology", + "question": "I want to know whether molecular saturation is associated with carcinogenicity in our compound library. Please report, for molecules in which every bond is a single bond: the number of carcinogenic molecules minus the number of non-carcinogenic molecules. And for all other molecules: the same difference (carcinogenic count minus non-carcinogenic count). Rules: label '+' means the molecule is carcinogenic; label '-' means non-carcinogenic; bond type '-' denotes a single bond; each molecule belongs to exactly one of the two groups.", + "evidence": "In the labels, '+' indicates a carcinogenic molecule and '-' indicates a non-carcinogenic molecule; for bond types, '-' indicates a single bond." + }, + { + "instance_id": "bird480", + "db": "toxicology", + "question": "In our toxicology library, how many carbon-carbon pairs joined by a double bond are there in total across the carcinogenic compounds? I want a single number for the whole library.", + "evidence": "A compound is carcinogenic when its label is '+' and non-carcinogenic when its label is '-'. In the bond notation, '-' is a single bond, '=' is a double bond, and '#' is a triple bond." + }, + { + "instance_id": "bird481", + "db": "toxicology", + "question": "Among the molecules labeled '+' (carcinogenic), which chemical element is the most common among the atoms that take part in at least one bond? Also give the percentage of all atoms in those '+' molecules that this element accounts for, rounded to two decimal places. Count the percentage over every atom of the '+' molecules, whether or not it takes part in a bond. If several elements tie for most common, report each of them.", + "evidence": "" + }, + { + "instance_id": "bird482", + "db": "toxicology", + "question": "For the molecule containing atom TR041_10, I'd like to know the molecule id, whether it's carcinogenic (YES or NO), and the number of multiple bonds in that molecule. Please use the rule that a molecule labeled '+' is carcinogenic (YES) and one labeled '-' is not (NO).", + "evidence": "" + }, + { + "instance_id": "bird483", + "db": "toxicology", + "question": "For the carcinogenic molecules in the toxicology database, how many carbon-carbon bonds are there of each bond type (single, double, and triple)? Please give me the bond type and the corresponding count.", + "evidence": "A molecule labelled '+' is carcinogenic. Bond types are recorded as follows: a single bond as '-', a double bond as '=', and a triple bond as '#'. A carbon-carbon bond is a bond whose two bonded atoms are both carbon." + }, + { + "instance_id": "bird484", + "db": "toxicology", + "question": "I want to know how widely chlorine atoms bond to other atoms across the toxicology database. Please give me a single number: the count of atoms that bond with chlorine atoms. Nothing else.", + "evidence": "Chlorine means the element recorded under the code cl." + }, + { + "instance_id": "bird485", + "db": "toxicology", + "question": "I'm studying the immediate chemical environment of sulfur atoms in carcinogenic molecules. Please tell me, as a single number, how many atoms are directly bonded to a sulfur atom in carcinogenic molecules. A molecule labeled '+' is carcinogenic; a molecule labeled '-' is not.", + "evidence": "Sulfur refers to the element 's'. A direct bond is a bond between two atoms." + }, + { + "instance_id": "bird486", + "db": "toxicology", + "question": "I'm compiling bond records of unusual carcinogenic molecules for a structural alert review. Please find the bonds that belong to carcinogenic molecules (labelled '+') that contain an element recorded for no other molecule in the dataset. Note that this search covers the whole dataset, so an element counts as belonging to no other molecule when no molecule other than the one at hand records it. For each such bond, return only the bond id and molecule id.", + "evidence": "A '+' label means carcinogenic." + }, + { + "instance_id": "bird487", + "db": "toxicology", + "question": "I'm building a control group of nitrogen-containing structures for a carcinogenicity review. How many molecules in the database contain at least one nitrogen atom, where none of those nitrogen atoms takes part in a double bond or a triple bond? A nitrogen held only by single bonds is fine; any nitrogen in a double or triple bond disqualifies the molecule. Molecules with no nitrogen at all don't count. I just need the single number of such molecules.", + "evidence": "Nitrogen refers to the element code 'n'; '=' denotes a double bond; '#' denotes a triple bond; '-' denotes a single bond." + }, + { + "instance_id": "bird488", + "db": "toxicology", + "question": "In the toxicology database, how many atoms are bonded to chlorine atoms, taken across all molecules? I want a single number. By chlorine I mean the element 'cl'.", + "evidence": "cl: chlorine" + }, + { + "instance_id": "bird489", + "db": "toxicology", + "question": "For a report on structural features of carcinogenic compounds, I'm looking at compounds that form a triple bond. Among those, what percent are labeled carcinogenic and what percent are labeled non-carcinogenic, each rounded to two decimal places? The two percents should sum to 100, apart from rounding.", + "evidence": "Label '+' means carcinogenic; label '-' means non-carcinogenic." + }, + { + "instance_id": "bird490", + "db": "toxicology", + "question": "I'm characterizing how strongly rare chemical elements are integrated into the molecular skeleton of carcinogenic compounds. For every carcinogenic molecule that contains at least one atom of an element that appears in no other molecule in the database, I want the number of bonds its atoms of that element take part in. Please judge an element's rarity over every molecule in the database, carcinogenic or not. Return the molecule_id and that bond count for each qualifying molecule, one row per molecule, sorted by molecule_id.", + "evidence": "'+' is the label of a carcinogenic molecule, '-' of a non-carcinogenic one; a bond is a link between two atoms of a molecule." + }, + { + "instance_id": "bird491", + "db": "toxicology", + "question": "I'd like a ranked inventory of every molecule in the toxicology database that contains at least one carbon atom. For each qualifying molecule, give me its molecule id, carcinogenicity label, number of atoms, number of bonds, number of carbon atoms, number of chlorine atoms, number of carbon-touching bonds, and number of multiple bonds - one row per molecule, including molecules where some of these counts are zero. Rank the rows from the most carbon-touching bonds to the fewest; break ties by larger total atom count, then by molecule id ascending. Give consecutive rank positions 1, 2, 3, ... with no gaps after ties.", + "evidence": "A carbon-touching bond is a bond with a carbon atom at one of its ends; a bond between two carbon atoms counts as one bond. A multiple bond is a double or triple bond. The carcinogenicity label '+' means carcinogenic, '-' means not carcinogenic." + }, + { + "instance_id": "bird492", + "db": "toxicology", + "question": "I'm studying the hydrogen bonding pattern of the molecule that contains the yttrium atom. How many bonds in that molecule have a hydrogen atom at one end? Just give me the single overall count, please.", + "evidence": "An yttrium atom has element symbol Y; a hydrogen atom has element symbol H." + }, + { + "instance_id": "bird493", + "db": "toxicology", + "question": "As part of a connectivity review, I'd like to know how heavily atoms are connected in molecule TR397: what is the average number of bonds an atom of TR397 has? Please give me just that one number, rounded to two decimal places.", + "evidence": "" + }, + { + "instance_id": "bird494", + "db": "toxicology", + "question": "I'm studying bond patterns in compounds that are not carcinogenic. For each element, how many double or triple bonds join a carbon atom to an atom of that element, across all non-carcinogenic molecules? Give me one row per element with the element and its count of such bonds\u2014nothing else.", + "evidence": "A molecule labeled '-' is not carcinogenic; a molecule labeled '+' is carcinogenic." + }, + { + "instance_id": "bird495", + "db": "toxicology", + "question": "For molecule TR377, I'd like a profile of its bond composition, covering single and double bonds only. For each bond kind, please give me: the bond kind symbol, the number of bonds of that kind in the molecule, and the number of element pairs that bond kind joins. Also include the molecule's carcinogenicity label. List the bond kinds from most frequent to least; if two kinds are equally frequent, list them alphabetically by symbol.", + "evidence": "A single bond is shown as the symbol '-' and a double bond as '='; a molecule label '+' means carcinogenic and '-' means not carcinogenic." + }, + { + "instance_id": "bird496", + "db": "toxicology", + "question": "I'm screening for molecules to flag for follow-up. Can you give me the molecule_id of the first three molecules, in alphabetical order, that are non-carcinogenic, contain at least one metal atom, and have single bonds between their atoms? Please return only the molecule ids.", + "evidence": "A molecule label of '-' means the molecule is non-carcinogenic. A bond type of '-' means a single bond between two atoms. The metals are sodium (na), potassium (k), calcium (ca), copper (cu), zinc (zn), tin (sn), lead (pb), magnesium (mg) and lithium (li)." + }, + { + "instance_id": "bird497", + "db": "toxicology", + "question": "I'm profiling the compound library and want to size the fully saturated portion of each element's atom population - atoms attached only by single bonds behave differently from unsaturated sites. For each element symbol in the database, how many atoms are connected only by single bonds and never part of any multiple bond? Please give me one row per element symbol with the element symbol and the number of such atoms, sorted alphabetically by element symbol. This should cover all compounds in the database. Note that an atom with no bonds at all doesn't count as being connected by single bonds, so exclude those.", + "evidence": "A single bond is a bond between two atoms sharing exactly one electron pair, denoted by the bond-type symbol '-'. A multiple bond is a double or triple bond, i.e. a bond between two atoms sharing more than one electron pair." + }, + { + "instance_id": "bird498", + "db": "toxicology", + "question": "In the toxicology compound database, which elements take part in a triple bond, and how widely are they distributed across the tested compounds? For each such element, give me its element symbol and the number of molecules that contain that element. Order the results from the most widespread element to the least; where two elements have equal counts, list them alphabetically by element symbol.", + "evidence": "The '#' bond-type symbol denotes a triple bond." + }, + { + "instance_id": "bird499", + "db": "toxicology", + "question": "For molecule TR397, I want to see which elements form the bonding skeleton. For each element present among its atoms, how many atoms of that element take part in at least one bond? Please report two things per row: the element symbol (e.g. c, h, o) and the number of that element's atoms in TR397 that take part in a bond. One row per element, ordered alphabetically by element symbol. Only atoms belonging to TR397 should count.", + "evidence": "Takes part in a bond: the atom is one of the two atoms a bond joins." + } + ], + "db_sha256": { + "california_schools": "c0903eec662e63068fd1d14403d3d6c1d473287fc10c4356333ea58f878db983", + "card_games": "c98bdb57fe7474da798b407785544b9af0daaad5d61fd21e2a73309493bc1227", + "codebase_community": "92101be6d2a9f6adceea59d38f6d1c556087f9eea1432432a21268cb1348036d", + "debit_card_specializing": "b3d149ad05746dbbe5116e229e17e18f09c39db43cf117d9ef3441753608b691", + "european_football_2": "f72f5c9b990371417288a67b27a02e601ef904d45525c2c9f7931fb01001c536", + "financial": "d15d89cdb068a202b6f2b99342af44dffc1d52545b39ceaf62efdc0ba570101e", + "formula_1": "79770caf966707e35516fa566e24b40ae515c74ec1ec4631235245645b87b24d", + "student_club": "eb89bcfe97eefa386a27904ec5aa15159811a7eac894ec659a36e48fa9f76b77", + "superhero": "75e94a2c3236ee3bb2c01fb97a1c4b4c1c269bcefd4eab1d04be323d2d0825b1", + "thrombosis_prediction": "87583183c3dc472fba04de702965560a9d7c0a548836613f242317e0eeb83f00", + "toxicology": "4df4094208e0799d5e5f0e2b5bc5c415cf87b1208ebaf8f4c14c7af445b682c5" + }, + "suite": "bird", + "development_ids": [ + "bird058", + "bird024", + "bird451", + "bird229", + "bird146", + "bird389", + "bird152", + "bird353", + "bird064", + "bird087", + "bird260", + "bird449", + "bird249", + "bird470", + "bird379", + "bird179", + "bird036", + "bird429", + "bird459", + "bird423" + ], + "holdout_ids": [ + "bird023", + "bird238", + "bird358", + "bird324", + "bird155", + "bird267", + "bird110", + "bird192", + "bird226", + "bird365", + "bird128", + "bird381", + "bird305", + "bird408", + "bird001", + "bird413", + "bird120", + "bird432", + "bird160", + "bird027", + "bird199", + "bird095", + "bird407", + "bird091", + "bird489", + "bird209", + "bird194", + "bird313", + "bird015", + "bird051", + "bird270", + "bird130", + "bird427", + "bird167", + "bird360", + "bird061", + "bird450", + "bird097", + "bird032", + "bird341", + "bird006", + "bird156", + "bird471", + "bird119", + "bird369", + "bird256", + "bird057", + "bird222", + "bird361", + "bird205", + "bird356", + "bird279", + "bird412", + "bird488", + "bird496", + "bird295", + "bird404", + "bird390", + "bird417", + "bird440", + "bird211", + "bird487", + "bird005", + "bird299", + "bird397", + "bird346", + "bird315", + "bird484", + "bird472", + "bird162", + "bird428", + "bird254", + "bird349", + "bird017", + "bird446", + "bird232", + "bird236", + "bird071", + "bird063", + "bird244", + "bird062", + "bird157", + "bird480", + "bird185", + "bird248", + "bird463", + "bird035", + "bird345", + "bird088", + "bird072", + "bird443", + "bird135", + "bird474", + "bird275", + "bird495", + "bird148", + "bird444", + "bird331", + "bird060", + "bird431", + "bird416", + "bird117", + "bird410", + "bird079", + "bird326", + "bird105", + "bird436", + "bird383", + "bird139", + "bird350", + "bird182", + "bird485", + "bird132", + "bird245", + "bird424", + "bird292", + "bird098", + "bird030", + "bird329", + "bird430", + "bird191", + "bird455", + "bird434", + "bird348", + "bird026", + "bird011", + "bird089", + "bird212", + "bird103", + "bird083", + "bird008", + "bird074", + "bird050", + "bird106", + "bird259", + "bird376", + "bird067", + "bird193", + "bird055", + "bird044", + "bird264", + "bird198", + "bird003", + "bird075", + "bird380", + "bird033", + "bird025", + "bird301", + "bird196", + "bird114", + "bird077", + "bird303", + "bird204", + "bird366", + "bird240", + "bird123", + "bird195", + "bird333", + "bird158", + "bird112", + "bird469", + "bird493", + "bird368", + "bird306", + "bird462", + "bird490", + "bird285", + "bird246", + "bird373", + "bird273", + "bird289", + "bird276", + "bird168", + "bird342", + "bird492", + "bird387", + "bird337", + "bird189", + "bird184", + "bird401", + "bird352", + "bird200", + "bird280", + "bird002", + "bird048", + "bird186", + "bird174", + "bird498", + "bird141", + "bird239", + "bird039", + "bird216", + "bird022", + "bird332", + "bird294", + "bird045", + "bird169", + "bird172", + "bird040", + "bird242", + "bird107", + "bird250", + "bird382", + "bird491", + "bird347", + "bird076", + "bird497", + "bird116", + "bird374", + "bird262", + "bird453", + "bird171", + "bird043", + "bird217", + "bird178", + "bird257", + "bird386", + "bird396", + "bird181", + "bird439", + "bird419", + "bird415", + "bird111", + "bird164", + "bird414", + "bird406", + "bird296", + "bird101", + "bird409", + "bird251", + "bird118", + "bird268", + "bird086", + "bird010", + "bird056", + "bird127", + "bird210", + "bird122", + "bird161", + "bird367", + "bird218", + "bird457", + "bird144", + "bird372", + "bird286", + "bird370", + "bird154", + "bird124", + "bird084", + "bird177", + "bird099", + "bird143", + "bird435", + "bird402", + "bird336", + "bird479", + "bird125", + "bird290", + "bird335", + "bird094", + "bird300", + "bird482", + "bird466", + "bird214", + "bird281", + "bird392", + "bird082", + "bird233", + "bird013", + "bird478", + "bird153", + "bird420", + "bird477", + "bird096", + "bird258", + "bird247", + "bird494", + "bird351", + "bird344", + "bird081", + "bird241", + "bird473", + "bird355", + "bird049", + "bird384", + "bird037", + "bird145", + "bird377", + "bird224", + "bird481", + "bird009", + "bird159", + "bird411", + "bird421", + "bird458", + "bird448", + "bird029", + "bird137", + "bird163", + "bird134", + "bird225", + "bird468", + "bird034", + "bird080", + "bird271", + "bird100", + "bird263", + "bird325", + "bird398", + "bird093", + "bird452", + "bird066", + "bird031", + "bird287", + "bird007", + "bird235", + "bird312", + "bird340", + "bird362", + "bird028", + "bird019", + "bird298", + "bird138", + "bird418", + "bird359", + "bird046", + "bird113", + "bird230", + "bird073", + "bird202", + "bird070", + "bird433", + "bird265", + "bird322", + "bird021", + "bird314", + "bird311", + "bird394", + "bird004", + "bird391", + "bird140", + "bird425", + "bird321", + "bird282", + "bird221", + "bird183", + "bird228", + "bird078", + "bird467", + "bird012", + "bird147", + "bird197", + "bird109", + "bird266", + "bird316", + "bird283", + "bird378", + "bird483", + "bird441", + "bird085", + "bird310", + "bird475", + "bird297", + "bird261", + "bird388", + "bird339", + "bird170", + "bird447", + "bird129", + "bird486", + "bird136", + "bird052", + "bird375", + "bird288", + "bird456", + "bird165", + "bird476", + "bird219", + "bird338", + "bird499", + "bird059", + "bird255", + "bird464", + "bird302", + "bird357", + "bird142", + "bird393", + "bird328", + "bird215", + "bird042", + "bird284", + "bird277", + "bird102", + "bird272", + "bird020", + "bird307", + "bird330", + "bird304", + "bird442", + "bird253", + "bird000", + "bird454", + "bird363", + "bird223", + "bird047", + "bird220", + "bird231", + "bird400", + "bird465", + "bird385", + "bird309", + "bird206", + "bird445", + "bird461", + "bird317", + "bird237", + "bird399", + "bird422", + "bird460", + "bird175", + "bird318", + "bird108", + "bird069", + "bird068", + "bird092", + "bird173", + "bird234", + "bird090", + "bird014", + "bird151", + "bird213", + "bird018", + "bird133", + "bird187", + "bird269", + "bird131", + "bird203", + "bird308", + "bird180", + "bird054", + "bird405", + "bird395", + "bird364", + "bird121", + "bird371", + "bird293", + "bird038", + "bird426", + "bird252", + "bird104", + "bird190", + "bird188", + "bird354", + "bird201", + "bird207", + "bird437", + "bird291", + "bird334", + "bird274", + "bird065", + "bird403", + "bird278", + "bird126", + "bird176", + "bird208", + "bird053", + "bird150", + "bird320", + "bird323", + "bird115", + "bird327", + "bird166", + "bird149", + "bird438", + "bird041", + "bird343", + "bird319", + "bird016", + "bird227", + "bird243" + ], + "split_seed": 20261126 +} \ No newline at end of file diff --git a/bench/accuracy/results/bird-all-final/settings.json b/bench/accuracy/results/bird-all-final/settings.json new file mode 100644 index 00000000..2d3bd520 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/settings.json @@ -0,0 +1,46 @@ +{ + "profiles": [ + { + "name": "gpt62-sol", + "model": "openai/gpt-6.2-sol", + "api_key_env": "OPEN_AI_KEY", + "max_output_tokens": 8192, + "reasoning_effort": "high", + "transport_retries": 1, + "retry_delay_seconds": 1 + } + ], + "split": "all", + "product_commit": "4e1b48a", + "manifest_sha256": "a08d40046ae163174d4ceace18633c26449c785366504b502dda42d70d92c7c1", + "sources": { + "bench/ecommerce_demo.py": "f75f4c82e07773a57ee1954d59f0acf35c9eb945430bdaea4ccdd98a35dcc86c", + "bench/oracle_demo.py": "c781b9501dea47b7900bb47e3fe41e2700d2153e85e087dce757f95e3e698b0e", + "bench/oracle_view/rehearse.py": "0114ce65327e435d4e3be6cab60e22b48bfb3ff7f06d97c14a16ea0d8e5602f2", + "bench/oracle_view/long_context.py": "089038788a9b4191946c906e470877bd246850d0a6d535809594a0bddfdcd47e", + "bench/oracle_view/codex_demo.py": "2eea87d833ca6a73a50255fa83927c6c560e2390df6c65e217263b2d3bb966c6", + "bench/oracle_view/summarize_context.py": "707b288be6637a7c8a45b957ef44a81cfb091c7fa5b249e9407a2a9b07e66626", + "bench/oracle_view/evaluate.py": "10685e37fbb2420242ebf5f88f988f3d5bccebc45465151f53ab8454e8fb5a3c", + "bench/oracle_co/session.py": "ff839e7497d9e06ca18a248993bac3c556d256ade7311c604d1f55926c195acb", + "bench/oracle_co/demo.py": "a8ac981bb35d0d77595b2441721cde4e458fb63c3fb7c1748a14bab4a187300a", + "bench/oracle_co/db_preview.py": "9a08766183d5f9542442ba41666d998fe024926e676799ffac5d751237ee0d64", + "bench/accuracy/evaluate.py": "fb63626cf53df8545262ed75284adf2d78d64cbda5f80543661c4a6c2f51bac7", + "bench/oracle_meeting/rehearse.py": "542664b6f04ae6a9606735b550fc2ce2f50df6fc0513384ebf4c654136974cd3", + "bench/oracle_meeting/codex_rehearse.py": "cfa84091da819ab1cb71d083c3ff77cc7fd79b8560de2108626e6d4c3bd8a3aa", + "bench/oracle_meeting/package_fault.py": "c7bb3552f167bafcbc084152deb66e187b3a6fa4de3dfed92cc00c7588bc1fe2", + "bench/spider2/providers.py": "56dec4b5de751acb31a686a2ec6a279be9a8be32dc7939d20487ec428d130aef", + "bench/spider2/evaluate.py": "e69628766439b40d4a524d9a23890b9399dd4357f4550fac5ae72f74c2bc91f7" + }, + "limits": { + "max_calls": 16, + "call_timeout": 180, + "case_timeout": 900, + "sql_timeout": 30, + "max_rows": 100000, + "concurrency": 4 + }, + "composed_from": [ + "/Users/seyoung/workspace/benchmarks/accuracy-20261126/bird-development-final", + "/Users/seyoung/workspace/benchmarks/accuracy-20261126/bird-holdout-final" + ] +} \ No newline at end of file diff --git a/bench/accuracy/results/bird-all-final/summary.json b/bench/accuracy/results/bird-all-final/summary.json new file mode 100644 index 00000000..c107acf5 --- /dev/null +++ b/bench/accuracy/results/bird-all-final/summary.json @@ -0,0 +1,10 @@ +[ + { + "profile": "gpt62-sol", + "status": "completed", + "correct": 434, + "total": 500, + "accuracy": 0.868, + "aggregation": "Union of disjoint officially scored partitions; no answer selection or repeated inference." + } +] \ No newline at end of file diff --git a/bench/accuracy/results/bird-db-provenance.json b/bench/accuracy/results/bird-db-provenance.json new file mode 100644 index 00000000..3610629d --- /dev/null +++ b/bench/accuracy/results/bird-db-provenance.json @@ -0,0 +1,72 @@ +{ + "image": "3036197201/bird-mini-dev-sqlite@sha256:f5e2746e284fdf4bc5d7a168a42d951bdf3d429d6db91b9928308e8261d0b75e", + "path": "/bird/mini_dev/dev_databases", + "databases": [ + { + "db": "card_games", + "sha256": "c98bdb57fe7474da798b407785544b9af0daaad5d61fd21e2a73309493bc1227", + "official_current_tag": "harbor-minidev1024-r1-card_games-c98bdb57fe74-1e876b3a", + "hash_prefix_matches": true + }, + { + "db": "financial", + "sha256": "d15d89cdb068a202b6f2b99342af44dffc1d52545b39ceaf62efdc0ba570101e", + "official_current_tag": "harbor-minidev1024-r1-financial-d15d89cdb068-1e876b3a", + "hash_prefix_matches": true + }, + { + "db": "formula_1", + "sha256": "79770caf966707e35516fa566e24b40ae515c74ec1ec4631235245645b87b24d", + "official_current_tag": "harbor-minidev1024-r1-formula_1-79770caf9667-1e876b3a", + "hash_prefix_matches": true + }, + { + "db": "thrombosis_prediction", + "sha256": "87583183c3dc472fba04de702965560a9d7c0a548836613f242317e0eeb83f00", + "official_current_tag": "harbor-minidev1024-r1-thrombosis_prediction-87583183c3dc-1e876b3a", + "hash_prefix_matches": true + }, + { + "db": "superhero", + "sha256": "75e94a2c3236ee3bb2c01fb97a1c4b4c1c269bcefd4eab1d04be323d2d0825b1", + "official_current_tag": "harbor-minidev1024-r1-superhero-75e94a2c3236-1e876b3a", + "hash_prefix_matches": true + }, + { + "db": "codebase_community", + "sha256": "92101be6d2a9f6adceea59d38f6d1c556087f9eea1432432a21268cb1348036d", + "official_current_tag": "harbor-minidev1024-r1-codebase_community-92101be6d2a9-1e876b3a", + "hash_prefix_matches": true + }, + { + "db": "toxicology", + "sha256": "4df4094208e0799d5e5f0e2b5bc5c415cf87b1208ebaf8f4c14c7af445b682c5", + "official_current_tag": "harbor-minidev1024-r1-toxicology-4df4094208e0-1e876b3a", + "hash_prefix_matches": true + }, + { + "db": "debit_card_specializing", + "sha256": "b3d149ad05746dbbe5116e229e17e18f09c39db43cf117d9ef3441753608b691", + "official_current_tag": "harbor-minidev1024-r1-debit_card_specializing-b3d149ad0574-1e876b3a", + "hash_prefix_matches": true + }, + { + "db": "european_football_2", + "sha256": "f72f5c9b990371417288a67b27a02e601ef904d45525c2c9f7931fb01001c536", + "official_current_tag": "harbor-minidev1024-r1-european_football_2-f72f5c9b9903-1e876b3a", + "hash_prefix_matches": true + }, + { + "db": "california_schools", + "sha256": "c0903eec662e63068fd1d14403d3d6c1d473287fc10c4356333ea58f878db983", + "official_current_tag": "harbor-minidev1024-r1-california_schools-c0903eec662e-1e876b3a", + "hash_prefix_matches": true + }, + { + "db": "student_club", + "sha256": "eb89bcfe97eefa386a27904ec5aa15159811a7eac894ec659a36e48fa9f76b77", + "official_current_tag": "harbor-minidev1024-r1-student_club-eb89bcfe97ee-1e876b3a", + "hash_prefix_matches": true + } + ] +} \ No newline at end of file diff --git a/bench/accuracy/results/bird-development-astra/gpt62-astra/records.jsonl b/bench/accuracy/results/bird-development-astra/gpt62-astra/records.jsonl new file mode 100644 index 00000000..cde81f83 --- /dev/null +++ b/bench/accuracy/results/bird-development-astra/gpt62-astra/records.jsonl @@ -0,0 +1,20 @@ +{"instance_id": "bird024", "profile": "gpt62-astra", "model": "openai/gpt-6.2-astra", "status": "predicted", "answer": "```sql\nWITH middle_schools AS (\n SELECT f.\"School Type\", f.\"School Name\", s.Latitude\n FROM frpm AS f\n JOIN schools AS s ON s.CDSCode = f.CDSCode\n WHERE s.State = 'CA'\n AND (\n f.\"School Type\" IN ('Intermediate/Middle Schools (Public)', 'Junior High Schools (Public)')\n OR f.\"School Name\" LIKE '%Middle%'\n OR f.\"School Name\" LIKE '%Intermediate%'\n OR f.\"School Name\" LIKE '%Junior High%'\n )\n)\nSELECT \"School Type\", \"School Name\", Latitude\nFROM middle_schools\nWHERE Latitude = (SELECT MAX(Latitude) FROM middle_schools);\n```", "rows": 1, "sql": "WITH middle_schools AS (\n SELECT f.\"School Type\", f.\"School Name\", s.Latitude\n FROM frpm AS f\n JOIN schools AS s ON s.CDSCode = f.CDSCode\n WHERE s.State = 'CA'\n AND (\n f.\"School Type\" IN ('Intermediate/Middle Schools (Public)', 'Junior High Schools (Public)')\n OR f.\"School Name\" LIKE '%Middle%'\n OR f.\"School Name\" LIKE '%Intermediate%'\n OR f.\"School Name\" LIKE '%Junior High%'\n )\n)\nSELECT \"School Type\", \"School Name\", Latitude\nFROM middle_schools\nWHERE Latitude = (SELECT MAX(Latitude) FROM middle_schools);", "seconds": 29.172234166995622, "calls": [{"seconds": 3.2786494579631835, "usage": {"completion_tokens": 51, "prompt_tokens": 1747, "total_tokens": 1798, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1208, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1208, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1208, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 4.787405333016068, "usage": {"completion_tokens": 198, "prompt_tokens": 2402, "total_tokens": 2600, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 655, "cached_tokens": 1208, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 655, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 655, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 6.118242874974385, "usage": {"completion_tokens": 143, "prompt_tokens": 3187, "total_tokens": 3330, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 48, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 785, "cached_tokens": 1863, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 785, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 785, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 9.418288458953612, "usage": {"completion_tokens": 388, "prompt_tokens": 3976, "total_tokens": 4364, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 205, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 789, "cached_tokens": 2648, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 789, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 789, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 4.380980166955851, "usage": {"completion_tokens": 157, "prompt_tokens": 4565, "total_tokens": 4722, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 589, "cached_tokens": 3437, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 589, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 589, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}], "full_record_sha256": "6959b4ca505fd180147cf079a460d5ed339523e00c143a56fa42d398aff2b158", "csv_sha256": "3655b153acf280d6bf3f963091138a8a3e7936b439657cb6d7ec093cbc484f7c"} +{"instance_id": "bird036", "profile": "gpt62-astra", "model": "openai/gpt-6.2-astra", "status": "predicted", "answer": "```sql\nWITH eligible AS (\n SELECT s.CDSCode, s.School, s.Charter, s.GSserved,\n 1.0 * f.\"Free Meal Count (K-12)\" / NULLIF(f.\"Enrollment (K-12)\", 0) AS meal_rate\n FROM schools AS s\n JOIN frpm AS f ON f.CDSCode = s.CDSCode\n WHERE s.County = 'Alameda'\n AND (TRIM(s.GSserved) = '12' OR TRIM(s.GSserved) LIKE '%-12')\n), winners AS (\n SELECT e.*, sat.AvgScrRead + sat.AvgScrMath + sat.AvgScrWrite AS sat_total\n FROM eligible AS e\n LEFT JOIN satscores AS sat ON sat.cds = e.CDSCode\n WHERE e.meal_rate = (SELECT MAX(meal_rate) FROM eligible)\n)\nSELECT School AS school_name,\n ROUND(meal_rate, 4) AS free_meal_rate,\n CASE Charter WHEN 1 THEN 'Yes' WHEN 0 THEN 'No' ELSE 'Unknown' END AS charter_school,\n GSserved AS grades_served,\n CASE\n WHEN sat_total IS NULL THEN 'No SAT Data'\n WHEN sat_total < 1200 THEN 'Below Average'\n WHEN sat_total <= 1500 THEN 'Average'\n ELSE 'Above Average'\n END AS sat_performance_level\nFROM winners\nORDER BY school_name;\n```", "rows": 1, "sql": "WITH eligible AS (\n SELECT s.CDSCode, s.School, s.Charter, s.GSserved,\n 1.0 * f.\"Free Meal Count (K-12)\" / NULLIF(f.\"Enrollment (K-12)\", 0) AS meal_rate\n FROM schools AS s\n JOIN frpm AS f ON f.CDSCode = s.CDSCode\n WHERE s.County = 'Alameda'\n AND (TRIM(s.GSserved) = '12' OR TRIM(s.GSserved) LIKE '%-12')\n), winners AS (\n SELECT e.*, sat.AvgScrRead + sat.AvgScrMath + sat.AvgScrWrite AS sat_total\n FROM eligible AS e\n LEFT JOIN satscores AS sat ON sat.cds = e.CDSCode\n WHERE e.meal_rate = (SELECT MAX(meal_rate) FROM eligible)\n)\nSELECT School AS school_name,\n ROUND(meal_rate, 4) AS free_meal_rate,\n CASE Charter WHEN 1 THEN 'Yes' WHEN 0 THEN 'No' ELSE 'Unknown' END AS charter_school,\n GSserved AS grades_served,\n CASE\n WHEN sat_total IS NULL THEN 'No SAT Data'\n WHEN sat_total < 1200 THEN 'Below Average'\n WHEN sat_total <= 1500 THEN 'Average'\n ELSE 'Above Average'\n END AS sat_performance_level\nFROM winners\nORDER BY school_name;", "seconds": 29.344121624948457, "calls": [{"seconds": 2.9466733750887215, "usage": {"completion_tokens": 68, "prompt_tokens": 1848, "total_tokens": 1916, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1309, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1309, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1309, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 3.9118165409890935, "usage": {"completion_tokens": 126, "prompt_tokens": 2615, "total_tokens": 2741, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 767, "cached_tokens": 1309, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 767, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 767, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 8.02845275006257, "usage": {"completion_tokens": 413, "prompt_tokens": 3059, "total_tokens": 3472, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 37, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 444, "cached_tokens": 2076, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 444, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 444, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 6.9555481660645455, "usage": {"completion_tokens": 353, "prompt_tokens": 3881, "total_tokens": 4234, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 11, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 822, "cached_tokens": 2520, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 822, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 822, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 6.334685500012711, "usage": {"completion_tokens": 313, "prompt_tokens": 4611, "total_tokens": 4924, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 730, "cached_tokens": 3342, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 730, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 730, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}], "full_record_sha256": "ecffe3ab9298c3fefcb927e4bd44abe41fdba284912b17a6c812681c4f23bdd1", "csv_sha256": "129d20d69850525faf184fd9a747bdeb4bbadd3e80585593d38373a7577f64a0"} +{"instance_id": "bird058", "profile": "gpt62-astra", "model": "openai/gpt-6.2-astra", "status": "predicted", "answer": "```sql\nSELECT ROUND(100.0 * AVG(CASE WHEN c.uuid IN (\n SELECT f.uuid\n FROM foreign_data AS f\n WHERE f.language = 'French'\n) THEN 1 ELSE 0 END), 2) AS french_translation_percentage\nFROM cards AS c\nWHERE NULLIF(TRIM(c.power), '') IS NULL\n OR INSTR(c.power, '*') > 0;\n```", "rows": 1, "sql": "SELECT ROUND(100.0 * AVG(CASE WHEN c.uuid IN (\n SELECT f.uuid\n FROM foreign_data AS f\n WHERE f.language = 'French'\n) THEN 1 ELSE 0 END), 2) AS french_translation_percentage\nFROM cards AS c\nWHERE NULLIF(TRIM(c.power), '') IS NULL\n OR INSTR(c.power, '*') > 0;", "seconds": 13.449890333926305, "calls": [{"seconds": 3.314920166041702, "usage": {"completion_tokens": 51, "prompt_tokens": 1639, "total_tokens": 1690, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1091, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1091, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1091, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 4.865599625045434, "usage": {"completion_tokens": 129, "prompt_tokens": 2276, "total_tokens": 2405, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 26, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 637, "cached_tokens": 1091, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 637, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 637, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 4.000485915923491, "usage": {"completion_tokens": 90, "prompt_tokens": 2518, "total_tokens": 2608, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 242, "cached_tokens": 1728, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 242, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 242, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}], "full_record_sha256": "e78be6b3979a0e6283290ca58abc862cf1d04be4b319040129baf75f2b8a0912", "csv_sha256": "748bcdf87ef92a7fe3ccea153d86167000064cb901f2e1338f747721a5c9ec46"} +{"instance_id": "bird064", "profile": "gpt62-astra", "model": "openai/gpt-6.2-astra", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS card_count\nFROM cards\nWHERE borderColor = 'black'\n AND CAST(power AS REAL) >= 10\n AND availability LIKE '%mtgo%'\n```", "rows": 1, "sql": "SELECT COUNT(*) AS card_count\nFROM cards\nWHERE borderColor = 'black'\n AND CAST(power AS REAL) >= 10\n AND availability LIKE '%mtgo%'", "seconds": 9.617417874978855, "calls": [{"seconds": 2.562840124941431, "usage": {"completion_tokens": 19, "prompt_tokens": 1660, "total_tokens": 1679, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1112, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1112, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1112, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 2.8915329589508474, "usage": {"completion_tokens": 54, "prompt_tokens": 2206, "total_tokens": 2260, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1112, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 2.971356875030324, "usage": {"completion_tokens": 44, "prompt_tokens": 2323, "total_tokens": 2367, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 117, "cached_tokens": 1658, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 117, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 117, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}], "full_record_sha256": "c26d2036b1218b45ae8c3c8686878b9a5e45589cc7db880346aa0bad57a127f5", "csv_sha256": "e82d2d591302dd3d76309f030c09d49f8f849efb387104ae1960e27f9a70b727"} +{"instance_id": "bird087", "profile": "gpt62-astra", "model": "openai/gpt-6.2-astra", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS total_rulings\nFROM (\n SELECT DISTINCT r.date, r.text\n FROM rulings AS r\n JOIN cards AS c ON c.uuid = r.uuid\n WHERE c.name = 'Fireball'\n) AS fireball_rulings;\n```", "rows": 1, "sql": "SELECT COUNT(*) AS total_rulings\nFROM (\n SELECT DISTINCT r.date, r.text\n FROM rulings AS r\n JOIN cards AS c ON c.uuid = r.uuid\n WHERE c.name = 'Fireball'\n) AS fireball_rulings;", "seconds": 15.060042166034691, "calls": [{"seconds": 3.146278499974869, "usage": {"completion_tokens": 52, "prompt_tokens": 1661, "total_tokens": 1713, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1113, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1113, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1113, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 3.0516470840666443, "usage": {"completion_tokens": 18, "prompt_tokens": 2277, "total_tokens": 2295, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 616, "cached_tokens": 1113, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 616, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 616, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 5.188631500001065, "usage": {"completion_tokens": 114, "prompt_tokens": 2325, "total_tokens": 2439, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 37, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1729, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 3.5690947920084, "usage": {"completion_tokens": 64, "prompt_tokens": 2524, "total_tokens": 2588, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 199, "cached_tokens": 1777, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 199, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 199, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}], "full_record_sha256": "d4cb8e48833893c01590043c9de7ee71c54e212cac38d7f3d72a1f2e2c6cf1c9", "csv_sha256": "1f5322be3c4231c55b9478d170e9987e94b345fe37503e5b70874536b601a38f"} +{"instance_id": "bird146", "profile": "gpt62-astra", "model": "openai/gpt-6.2-astra", "status": "predicted", "answer": "```sql\nWITH linked_posts AS (\n SELECT DISTINCT strftime('%Y-%m', l.CreationDate) AS month, p.Id AS post_id\n FROM postLinks AS l\n JOIN posts AS p ON p.Id = l.RelatedPostId\n WHERE l.CreationDate >= '2010-01-01'\n AND l.CreationDate < '2011-01-01'\n AND p.AnswerCount <= 2\n)\nSELECT ROUND(COUNT(*) / 12.0, 2) AS average_monthly_posts\nFROM linked_posts;\n```", "rows": 1, "sql": "WITH linked_posts AS (\n SELECT DISTINCT strftime('%Y-%m', l.CreationDate) AS month, p.Id AS post_id\n FROM postLinks AS l\n JOIN posts AS p ON p.Id = l.RelatedPostId\n WHERE l.CreationDate >= '2010-01-01'\n AND l.CreationDate < '2011-01-01'\n AND p.AnswerCount <= 2\n)\nSELECT ROUND(COUNT(*) / 12.0, 2) AS average_monthly_posts\nFROM linked_posts;", "seconds": 12.94403237500228, "calls": [{"seconds": 2.873410459025763, "usage": {"completion_tokens": 51, "prompt_tokens": 1670, "total_tokens": 1721, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1120, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1120, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1120, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 6.0502999579766765, "usage": {"completion_tokens": 188, "prompt_tokens": 1925, "total_tokens": 2113, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 46, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1120, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 4.0111732500372455, "usage": {"completion_tokens": 127, "prompt_tokens": 2263, "total_tokens": 2390, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 338, "cached_tokens": 1375, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 338, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 338, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}], "full_record_sha256": "17fadcf0955eff30cc722d29509d80492a3d2b75ec0359e1dccb506d6de632bd", "csv_sha256": "0b9cbd80d9686d8952b98ea1f0098ac223b901ba64e1e3f45578301f53676e3e"} +{"instance_id": "bird152", "profile": "gpt62-astra", "model": "openai/gpt-6.2-astra", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT c.CustomerID) AS customer_count\nFROM customers AS c\nWHERE c.Currency = 'EUR'\n AND EXISTS (\n SELECT 1 FROM yearmonth AS y\n WHERE y.CustomerID = c.CustomerID\n AND y.\"Date\" >= '201201' AND y.\"Date\" < '201301'\n )\n AND EXISTS (\n SELECT 1 FROM yearmonth AS y\n WHERE y.CustomerID = c.CustomerID\n AND y.\"Date\" >= '201301' AND y.\"Date\" < '201401'\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT c.CustomerID) AS customer_count\nFROM customers AS c\nWHERE c.Currency = 'EUR'\n AND EXISTS (\n SELECT 1 FROM yearmonth AS y\n WHERE y.CustomerID = c.CustomerID\n AND y.\"Date\" >= '201201' AND y.\"Date\" < '201301'\n )\n AND EXISTS (\n SELECT 1 FROM yearmonth AS y\n WHERE y.CustomerID = c.CustomerID\n AND y.\"Date\" >= '201301' AND y.\"Date\" < '201401'\n );", "seconds": 21.67628787504509, "calls": [{"seconds": 3.1658080420456827, "usage": {"completion_tokens": 65, "prompt_tokens": 1656, "total_tokens": 1721, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1110, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1110, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1110, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 2.6513874999945983, "usage": {"completion_tokens": 28, "prompt_tokens": 1816, "total_tokens": 1844, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 160, "cached_tokens": 1110, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 160, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 160, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 5.797210416989401, "usage": {"completion_tokens": 218, "prompt_tokens": 1922, "total_tokens": 2140, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 73, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 106, "cached_tokens": 1270, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 106, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 106, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 4.144312374992296, "usage": {"completion_tokens": 127, "prompt_tokens": 2287, "total_tokens": 2414, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 365, "cached_tokens": 1376, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 365, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 365, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}], "full_record_sha256": "64077db996c9e0e8b2b505f2494887c8c3f0b96c59692b4a013c1e89de3449dd", "csv_sha256": "5bb421dc69888e2542611104b9c5d6ecf989b6c2894ec3ed088b156eb2d4d0fc"} +{"instance_id": "bird179", "profile": "gpt62-astra", "model": "openai/gpt-6.2-astra", "status": "predicted", "answer": "```sql\nSELECT p.player_name,\n COUNT(DISTINCT m.match_api_id) AS matches_played\nFROM Player AS p\nLEFT JOIN \"Match\" AS m\n ON m.season = '2015/2016'\n AND p.player_api_id IN (\n m.home_player_1, m.home_player_2, m.home_player_3, m.home_player_4,\n m.home_player_5, m.home_player_6, m.home_player_7, m.home_player_8,\n m.home_player_9, m.home_player_10, m.home_player_11,\n m.away_player_1, m.away_player_2, m.away_player_3, m.away_player_4,\n m.away_player_5, m.away_player_6, m.away_player_7, m.away_player_8,\n m.away_player_9, m.away_player_10, m.away_player_11\n )\nWHERE p.player_name LIKE 'Adam%'\n AND p.weight > 170\nGROUP BY p.player_api_id, p.player_name;\n```", "rows": 24, "sql": "SELECT p.player_name,\n COUNT(DISTINCT m.match_api_id) AS matches_played\nFROM Player AS p\nLEFT JOIN \"Match\" AS m\n ON m.season = '2015/2016'\n AND p.player_api_id IN (\n m.home_player_1, m.home_player_2, m.home_player_3, m.home_player_4,\n m.home_player_5, m.home_player_6, m.home_player_7, m.home_player_8,\n m.home_player_9, m.home_player_10, m.home_player_11,\n m.away_player_1, m.away_player_2, m.away_player_3, m.away_player_4,\n m.away_player_5, m.away_player_6, m.away_player_7, m.away_player_8,\n m.away_player_9, m.away_player_10, m.away_player_11\n )\nWHERE p.player_name LIKE 'Adam%'\n AND p.weight > 170\nGROUP BY p.player_api_id, p.player_name;", "seconds": 16.846978040994145, "calls": [{"seconds": 2.8827600419754162, "usage": {"completion_tokens": 50, "prompt_tokens": 1713, "total_tokens": 1763, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1164, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1164, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1164, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 6.368924458045512, "usage": {"completion_tokens": 260, "prompt_tokens": 2654, "total_tokens": 2914, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 941, "cached_tokens": 1164, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 941, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 941, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 5.5047914169263095, "usage": {"completion_tokens": 239, "prompt_tokens": 3355, "total_tokens": 3594, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 701, "cached_tokens": 2105, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 701, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 701, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}], "full_record_sha256": "654523ffbe1a9833d3e1c4881fab0451a33c88ad9b35aae9136a41b30346f9fd", "csv_sha256": "5d4638c889a3e381b14d2424fcfabfeba2a258b51ac1ba2f7749fbe9e736a76d"} +{"instance_id": "bird229", "profile": "gpt62-astra", "model": "openai/gpt-6.2-astra", "status": "predicted", "answer": "```sql\nSELECT SUM(CASE t.k_symbol\n WHEN 'UROK' THEN t.amount\n WHEN 'SANKC. UROK' THEN -t.amount\n END) AS net_interest_czk\nFROM trans AS t\nWHERE t.account_id IN (\n SELECT d.account_id\n FROM disp AS d\n WHERE d.client_id = 2823\n)\n AND t.date >= '1998-01-01'\n AND t.date < '1999-01-01'\n AND t.k_symbol IN ('UROK', 'SANKC. UROK');\n```", "rows": 1, "sql": "SELECT SUM(CASE t.k_symbol\n WHEN 'UROK' THEN t.amount\n WHEN 'SANKC. UROK' THEN -t.amount\n END) AS net_interest_czk\nFROM trans AS t\nWHERE t.account_id IN (\n SELECT d.account_id\n FROM disp AS d\n WHERE d.client_id = 2823\n)\n AND t.date >= '1998-01-01'\n AND t.date < '1999-01-01'\n AND t.k_symbol IN ('UROK', 'SANKC. UROK');", "seconds": 17.382167999981903, "calls": [{"seconds": 5.008628917043097, "usage": {"completion_tokens": 80, "prompt_tokens": 1739, "total_tokens": 1819, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1192, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1192, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1192, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 3.932402874925174, "usage": {"completion_tokens": 93, "prompt_tokens": 2030, "total_tokens": 2123, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 291, "cached_tokens": 1192, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 291, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 291, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 3.991566124954261, "usage": {"completion_tokens": 145, "prompt_tokens": 2293, "total_tokens": 2438, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 263, "cached_tokens": 1483, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 263, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 263, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 3.957731541013345, "usage": {"completion_tokens": 132, "prompt_tokens": 2592, "total_tokens": 2724, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 299, "cached_tokens": 1746, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 299, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 299, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}], "full_record_sha256": "33451c5067c1a0280976131159943f6e1d343f6ebc90fbb5e98281208f4731c6", "csv_sha256": "b2e5422c4abeec42e360d1971657e50505834904a367131d2b6bc48980540cca"} +{"instance_id": "bird249", "profile": "gpt62-astra", "model": "openai/gpt-6.2-astra", "status": "predicted", "answer": "```sql\nSELECT d.forename || ' ' || d.surname AS full_name\nFROM drivers AS d\nJOIN lapTimes AS l ON l.driverId = d.driverId\nWHERE l.milliseconds IS NOT NULL\nGROUP BY d.driverId, d.forename, d.surname\nORDER BY MIN(l.milliseconds), d.driverId\nLIMIT 20;\n```", "rows": 20, "sql": "SELECT d.forename || ' ' || d.surname AS full_name\nFROM drivers AS d\nJOIN lapTimes AS l ON l.driverId = d.driverId\nWHERE l.milliseconds IS NOT NULL\nGROUP BY d.driverId, d.forename, d.surname\nORDER BY MIN(l.milliseconds), d.driverId\nLIMIT 20;", "seconds": 10.593436209019274, "calls": [{"seconds": 2.7194462090265006, "usage": {"completion_tokens": 51, "prompt_tokens": 1638, "total_tokens": 1689, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1073, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1073, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1073, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 3.693809583084658, "usage": {"completion_tokens": 88, "prompt_tokens": 1812, "total_tokens": 1900, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 174, "cached_tokens": 1073, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 174, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 174, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 3.8521641669794917, "usage": {"completion_tokens": 79, "prompt_tokens": 2095, "total_tokens": 2174, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 283, "cached_tokens": 1247, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 283, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 283, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}], "full_record_sha256": "5ba41da69aab84b13844e3492475695e6a9cc4bc39c5f3cfdeb9f37d2439ac05", "csv_sha256": "bb91c60dd6f1d037a05b19508387cc055a6cc7a0f3a519f11e3780064baaa63d"} +{"instance_id": "bird260", "profile": "gpt62-astra", "model": "openai/gpt-6.2-astra", "status": "predicted", "answer": "```sql\nSELECT d.driverRef, d.nationality, d.dob\nFROM races AS r\nJOIN qualifying AS q ON q.raceId = r.raceId\nJOIN drivers AS d ON d.driverId = q.driverId\nWHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND NULLIF(TRIM(q.q2), '') IS NOT NULL\n AND NULLIF(TRIM(q.q3), '') IS NULL;\n```", "rows": 5, "sql": "SELECT d.driverRef, d.nationality, d.dob\nFROM races AS r\nJOIN qualifying AS q ON q.raceId = r.raceId\nJOIN drivers AS d ON d.driverId = q.driverId\nWHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND NULLIF(TRIM(q.q2), '') IS NOT NULL\n AND NULLIF(TRIM(q.q3), '') IS NULL;", "seconds": 14.673890374950133, "calls": [{"seconds": 3.228452334064059, "usage": {"completion_tokens": 67, "prompt_tokens": 1742, "total_tokens": 1809, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1177, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1177, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1177, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 3.2896802079631016, "usage": {"completion_tokens": 62, "prompt_tokens": 2020, "total_tokens": 2082, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1177, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 3.603486374951899, "usage": {"completion_tokens": 112, "prompt_tokens": 2397, "total_tokens": 2509, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 377, "cached_tokens": 1455, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 377, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 377, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 4.532510332996026, "usage": {"completion_tokens": 102, "prompt_tokens": 2704, "total_tokens": 2806, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 307, "cached_tokens": 1832, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 307, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 307, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}], "full_record_sha256": "07583cb345d94e4832bce47aa048b960ede41f0d7745bf9e3387163838c4c9ad", "csv_sha256": "6630424757809e61c2f25f997a93f87f85afbf229e84c44e593aa67de1daa8ee"} +{"instance_id": "bird353", "profile": "gpt62-astra", "model": "openai/gpt-6.2-astra", "status": "predicted", "answer": "```sql\nWITH powers_per_hero AS (\n SELECT h.id, COUNT(DISTINCT hp.power_id) AS power_count\n FROM superhero AS h\n JOIN race AS r ON r.id = h.race_id\n JOIN gender AS g ON g.id = h.gender_id\n LEFT JOIN hero_power AS hp ON hp.hero_id = h.id\n WHERE r.race = 'God / Eternal' AND g.gender = 'Male'\n GROUP BY h.id\n)\nSELECT ROUND(AVG(power_count), 2) AS average_superpowers\nFROM powers_per_hero;\n```", "rows": 1, "sql": "WITH powers_per_hero AS (\n SELECT h.id, COUNT(DISTINCT hp.power_id) AS power_count\n FROM superhero AS h\n JOIN race AS r ON r.id = h.race_id\n JOIN gender AS g ON g.id = h.gender_id\n LEFT JOIN hero_power AS hp ON hp.hero_id = h.id\n WHERE r.race = 'God / Eternal' AND g.gender = 'Male'\n GROUP BY h.id\n)\nSELECT ROUND(AVG(power_count), 2) AS average_superpowers\nFROM powers_per_hero;", "seconds": 11.995561999967322, "calls": [{"seconds": 3.838748167036101, "usage": {"completion_tokens": 98, "prompt_tokens": 1658, "total_tokens": 1756, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1104, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1104, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1104, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 4.030457374989055, "usage": {"completion_tokens": 138, "prompt_tokens": 1952, "total_tokens": 2090, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 294, "cached_tokens": 1104, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 294, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 294, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 4.1050974579993635, "usage": {"completion_tokens": 126, "prompt_tokens": 2238, "total_tokens": 2364, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 286, "cached_tokens": 1398, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 286, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 286, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}], "full_record_sha256": "11cc5b6a5e753ab737f60ec6679c02b0d0b4ab96f58d73892b434db044f093e9", "csv_sha256": "a9b8b2ca4cda426fd6ee3d316cc856357c9034ed8c0e5cc38b8a2d38241be16e"} +{"instance_id": "bird379", "profile": "gpt62-astra", "model": "openai/gpt-6.2-astra", "status": "predicted", "answer": "```sql\nSELECT ROUND(100.0 * AVG(CASE WHEN a.alignment = 'Good' THEN 1 ELSE 0 END), 2) AS good_percentage\nFROM superhero AS h\nJOIN publisher AS p ON p.id = h.publisher_id\nLEFT JOIN alignment AS a ON a.id = h.alignment_id\nWHERE p.publisher_name = 'Marvel Comics'\n AND EXISTS (\n SELECT 1\n FROM hero_power AS hp\n JOIN superpower AS sp ON sp.id = hp.power_id\n WHERE hp.hero_id = h.id\n );\n```", "rows": 1, "sql": "SELECT ROUND(100.0 * AVG(CASE WHEN a.alignment = 'Good' THEN 1 ELSE 0 END), 2) AS good_percentage\nFROM superhero AS h\nJOIN publisher AS p ON p.id = h.publisher_id\nLEFT JOIN alignment AS a ON a.id = h.alignment_id\nWHERE p.publisher_name = 'Marvel Comics'\n AND EXISTS (\n SELECT 1\n FROM hero_power AS hp\n JOIN superpower AS sp ON sp.id = hp.power_id\n WHERE hp.hero_id = h.id\n );", "seconds": 11.487509625032544, "calls": [{"seconds": 3.4225236660568044, "usage": {"completion_tokens": 98, "prompt_tokens": 1654, "total_tokens": 1752, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1100, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1100, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1100, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 4.220376665936783, "usage": {"completion_tokens": 133, "prompt_tokens": 1949, "total_tokens": 2082, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 295, "cached_tokens": 1100, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 295, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 295, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 3.7610884580062702, "usage": {"completion_tokens": 122, "prompt_tokens": 2225, "total_tokens": 2347, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 276, "cached_tokens": 1395, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 276, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 276, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}], "full_record_sha256": "399dfacc1d4510e34cef89179116c6cb5baa8cd0e59a72b39a3bcc8b50d318dd", "csv_sha256": "1f9f4b4dbb9f2cdd2e0e927018bb6dd939bf11fcda4867cfb18145d4a91bb66a"} +{"instance_id": "bird389", "profile": "gpt62-astra", "model": "openai/gpt-6.2-astra", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE p.SEX = 'F'\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.SC170 IN ('negative', '0')\n )\n AND NOT EXISTS (\n SELECT 1\n FROM Examination AS e\n WHERE e.ID = p.ID\n AND e.Symptoms IS NOT NULL\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE p.SEX = 'F'\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.SC170 IN ('negative', '0')\n )\n AND NOT EXISTS (\n SELECT 1\n FROM Examination AS e\n WHERE e.ID = p.ID\n AND e.Symptoms IS NOT NULL\n );", "seconds": 10.735880417050794, "calls": [{"seconds": 3.2845540420385078, "usage": {"completion_tokens": 67, "prompt_tokens": 1630, "total_tokens": 1697, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1092, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1092, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1092, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 3.695721708005294, "usage": {"completion_tokens": 122, "prompt_tokens": 2115, "total_tokens": 2237, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1092, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 3.735801749979146, "usage": {"completion_tokens": 106, "prompt_tokens": 2362, "total_tokens": 2468, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 247, "cached_tokens": 1577, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 247, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 247, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}], "full_record_sha256": "c2cb7b1bab181f538a9ff0b466454d87f5348704d645d10230669b3354cabda9", "csv_sha256": "512e8c33b49ed0bc325d442219b421d4d37ac4d82a8e63dd90cd480502cfca65"} +{"instance_id": "bird423", "profile": "gpt62-astra", "model": "openai/gpt-6.2-astra", "status": "failed", "error_type": "Timeout", "seconds": 183.32753320795018, "calls": [{"seconds": 3.3043960840441287, "usage": {"completion_tokens": 67, "prompt_tokens": 1707, "total_tokens": 1774, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1169, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1169, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1169, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 180.0165210829582, "usage": null, "status": "error", "error_type": "Timeout"}], "full_record_sha256": "991b4f2dc55b4e17a6faee40f7f7bc04bfe8c13f198ec0faf888953903b462d2"} +{"instance_id": "bird429", "profile": "gpt62-astra", "model": "openai/gpt-6.2-astra", "status": "failed", "error_type": "Timeout", "seconds": 180.0374728749739, "calls": [{"seconds": 180.03511887497734, "usage": null, "status": "error", "error_type": "Timeout"}], "full_record_sha256": "998e8028432681492867fe0f84fbee5afde7f79674a10e25144b162c25b38f09"} +{"instance_id": "bird449", "profile": "gpt62-astra", "model": "openai/gpt-6.2-astra", "status": "failed", "error_type": "Timeout", "seconds": 180.02656533301342, "calls": [{"seconds": 180.0244370419532, "usage": null, "status": "error", "error_type": "Timeout"}], "full_record_sha256": "f2225cf323ff87a65335ca1f0cfa9b665a5e473966981f1212e5ad13290042b6"} +{"instance_id": "bird451", "profile": "gpt62-astra", "model": "openai/gpt-6.2-astra", "status": "failed", "error_type": "Timeout", "seconds": 180.02228116604965, "calls": [{"seconds": 180.02040883293375, "usage": null, "status": "error", "error_type": "Timeout"}], "full_record_sha256": "4cea0019aac8e02cf548412adec70e3baf3be37e4efd1e37db5f7987854466f0"} +{"instance_id": "bird459", "profile": "gpt62-astra", "model": "openai/gpt-6.2-astra", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(e.\"aCL IgM\"), 2) AS average_acl_igm\nFROM Examination AS e\nWHERE e.\"aCL IgM\" <> 0\n AND e.ID IN (\n SELECT p.ID\n FROM Patient AS p\n WHERE REPLACE(UPPER(p.Diagnosis), 'SJS SUSP', '') LIKE '%SJS%'\n );\n```", "rows": 1, "sql": "SELECT ROUND(AVG(e.\"aCL IgM\"), 2) AS average_acl_igm\nFROM Examination AS e\nWHERE e.\"aCL IgM\" <> 0\n AND e.ID IN (\n SELECT p.ID\n FROM Patient AS p\n WHERE REPLACE(UPPER(p.Diagnosis), 'SJS SUSP', '') LIKE '%SJS%'\n );", "seconds": 18.972876999992877, "calls": [{"seconds": 3.9389899160014465, "usage": {"completion_tokens": 51, "prompt_tokens": 1778, "total_tokens": 1829, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1240, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1240, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1240, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 3.8674653340131044, "usage": {"completion_tokens": 44, "prompt_tokens": 1977, "total_tokens": 2021, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 199, "cached_tokens": 1240, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 199, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 199, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 3.0528495829785243, "usage": {"completion_tokens": 43, "prompt_tokens": 2595, "total_tokens": 2638, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 618, "cached_tokens": 1439, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 618, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 618, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 4.344104457995854, "usage": {"completion_tokens": 141, "prompt_tokens": 2868, "total_tokens": 3009, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 38, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 273, "cached_tokens": 2057, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 273, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 273, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 3.7406461250502616, "usage": {"completion_tokens": 88, "prompt_tokens": 3120, "total_tokens": 3208, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 252, "cached_tokens": 2330, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 252, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 252, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}], "full_record_sha256": "62339cb40616634709e0ef896afb3a9baf4c801c667032cf7b8bc038960492ff", "csv_sha256": "8dbbac2207ba236f75c43e16a797e90e5f5d010e384e9d190d2c1f3ec3056eff"} +{"instance_id": "bird470", "profile": "gpt62-astra", "model": "openai/gpt-6.2-astra", "status": "predicted", "answer": "```sql\nWITH element_counts AS (\n SELECT a.element, COUNT(*) AS occurrences\n FROM atom AS a\n JOIN molecule AS m ON m.molecule_id = a.molecule_id\n WHERE m.label = '-'\n GROUP BY a.element\n)\nSELECT element\nFROM element_counts\nWHERE occurrences = (SELECT MIN(occurrences) FROM element_counts)\nORDER BY element;\n```", "rows": 3, "sql": "WITH element_counts AS (\n SELECT a.element, COUNT(*) AS occurrences\n FROM atom AS a\n JOIN molecule AS m ON m.molecule_id = a.molecule_id\n WHERE m.label = '-'\n GROUP BY a.element\n)\nSELECT element\nFROM element_counts\nWHERE occurrences = (SELECT MIN(occurrences) FROM element_counts)\nORDER BY element;", "seconds": 16.576935791992582, "calls": [{"seconds": 3.159518666914664, "usage": {"completion_tokens": 66, "prompt_tokens": 1630, "total_tokens": 1696, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1089, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1089, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1089, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 5.1099384999834, "usage": {"completion_tokens": 109, "prompt_tokens": 1786, "total_tokens": 1895, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 11, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 156, "cached_tokens": 1089, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 156, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 156, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 3.915864042006433, "usage": {"completion_tokens": 97, "prompt_tokens": 2193, "total_tokens": 2290, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 407, "cached_tokens": 1245, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 407, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 407, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 4.356519083958119, "usage": {"completion_tokens": 84, "prompt_tokens": 2396, "total_tokens": 2480, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 203, "cached_tokens": 1652, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 203, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 203, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}], "full_record_sha256": "55973a307985abe358f8bb627ad23497f3694c2d1a8e71d1c73a5099fc565213", "csv_sha256": "9aecc6d231b8b61845f388e456946eb06a5d65c11af1bc0cdb0fe9d6b8a32c56"} diff --git a/bench/accuracy/results/bird-development-astra/gpt62-astra/scores.json b/bench/accuracy/results/bird-development-astra/gpt62-astra/scores.json new file mode 100644 index 00000000..bbf6d1b3 --- /dev/null +++ b/bench/accuracy/results/bird-development-astra/gpt62-astra/scores.json @@ -0,0 +1,102 @@ +[ + { + "instance_id": "bird024", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird036", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird058", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird064", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird087", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird146", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird152", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird179", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird229", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird249", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird260", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird353", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird379", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird389", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird423", + "score": 0, + "status": "failed" + }, + { + "instance_id": "bird429", + "score": 0, + "status": "failed" + }, + { + "instance_id": "bird449", + "score": 0, + "status": "failed" + }, + { + "instance_id": "bird451", + "score": 0, + "status": "failed" + }, + { + "instance_id": "bird459", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird470", + "score": 1, + "status": "predicted" + } +] diff --git a/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird024.sql b/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird024.sql new file mode 100644 index 00000000..0d45b13d --- /dev/null +++ b/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird024.sql @@ -0,0 +1,15 @@ +WITH middle_schools AS ( + SELECT f."School Type", f."School Name", s.Latitude + FROM frpm AS f + JOIN schools AS s ON s.CDSCode = f.CDSCode + WHERE s.State = 'CA' + AND ( + f."School Type" IN ('Intermediate/Middle Schools (Public)', 'Junior High Schools (Public)') + OR f."School Name" LIKE '%Middle%' + OR f."School Name" LIKE '%Intermediate%' + OR f."School Name" LIKE '%Junior High%' + ) +) +SELECT "School Type", "School Name", Latitude +FROM middle_schools +WHERE Latitude = (SELECT MAX(Latitude) FROM middle_schools); diff --git a/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird036.sql b/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird036.sql new file mode 100644 index 00000000..c9dbedec --- /dev/null +++ b/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird036.sql @@ -0,0 +1,25 @@ +WITH eligible AS ( + SELECT s.CDSCode, s.School, s.Charter, s.GSserved, + 1.0 * f."Free Meal Count (K-12)" / NULLIF(f."Enrollment (K-12)", 0) AS meal_rate + FROM schools AS s + JOIN frpm AS f ON f.CDSCode = s.CDSCode + WHERE s.County = 'Alameda' + AND (TRIM(s.GSserved) = '12' OR TRIM(s.GSserved) LIKE '%-12') +), winners AS ( + SELECT e.*, sat.AvgScrRead + sat.AvgScrMath + sat.AvgScrWrite AS sat_total + FROM eligible AS e + LEFT JOIN satscores AS sat ON sat.cds = e.CDSCode + WHERE e.meal_rate = (SELECT MAX(meal_rate) FROM eligible) +) +SELECT School AS school_name, + ROUND(meal_rate, 4) AS free_meal_rate, + CASE Charter WHEN 1 THEN 'Yes' WHEN 0 THEN 'No' ELSE 'Unknown' END AS charter_school, + GSserved AS grades_served, + CASE + WHEN sat_total IS NULL THEN 'No SAT Data' + WHEN sat_total < 1200 THEN 'Below Average' + WHEN sat_total <= 1500 THEN 'Average' + ELSE 'Above Average' + END AS sat_performance_level +FROM winners +ORDER BY school_name; diff --git a/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird058.sql b/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird058.sql new file mode 100644 index 00000000..de569721 --- /dev/null +++ b/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird058.sql @@ -0,0 +1,8 @@ +SELECT ROUND(100.0 * AVG(CASE WHEN c.uuid IN ( + SELECT f.uuid + FROM foreign_data AS f + WHERE f.language = 'French' +) THEN 1 ELSE 0 END), 2) AS french_translation_percentage +FROM cards AS c +WHERE NULLIF(TRIM(c.power), '') IS NULL + OR INSTR(c.power, '*') > 0; diff --git a/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird064.sql b/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird064.sql new file mode 100644 index 00000000..71c7f49e --- /dev/null +++ b/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird064.sql @@ -0,0 +1,5 @@ +SELECT COUNT(*) AS card_count +FROM cards +WHERE borderColor = 'black' + AND CAST(power AS REAL) >= 10 + AND availability LIKE '%mtgo%' diff --git a/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird087.sql b/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird087.sql new file mode 100644 index 00000000..2363c449 --- /dev/null +++ b/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird087.sql @@ -0,0 +1,7 @@ +SELECT COUNT(*) AS total_rulings +FROM ( + SELECT DISTINCT r.date, r.text + FROM rulings AS r + JOIN cards AS c ON c.uuid = r.uuid + WHERE c.name = 'Fireball' +) AS fireball_rulings; diff --git a/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird146.sql b/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird146.sql new file mode 100644 index 00000000..9907496e --- /dev/null +++ b/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird146.sql @@ -0,0 +1,10 @@ +WITH linked_posts AS ( + SELECT DISTINCT strftime('%Y-%m', l.CreationDate) AS month, p.Id AS post_id + FROM postLinks AS l + JOIN posts AS p ON p.Id = l.RelatedPostId + WHERE l.CreationDate >= '2010-01-01' + AND l.CreationDate < '2011-01-01' + AND p.AnswerCount <= 2 +) +SELECT ROUND(COUNT(*) / 12.0, 2) AS average_monthly_posts +FROM linked_posts; diff --git a/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird152.sql b/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird152.sql new file mode 100644 index 00000000..2588e189 --- /dev/null +++ b/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird152.sql @@ -0,0 +1,13 @@ +SELECT COUNT(DISTINCT c.CustomerID) AS customer_count +FROM customers AS c +WHERE c.Currency = 'EUR' + AND EXISTS ( + SELECT 1 FROM yearmonth AS y + WHERE y.CustomerID = c.CustomerID + AND y."Date" >= '201201' AND y."Date" < '201301' + ) + AND EXISTS ( + SELECT 1 FROM yearmonth AS y + WHERE y.CustomerID = c.CustomerID + AND y."Date" >= '201301' AND y."Date" < '201401' + ); diff --git a/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird179.sql b/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird179.sql new file mode 100644 index 00000000..6619180b --- /dev/null +++ b/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird179.sql @@ -0,0 +1,16 @@ +SELECT p.player_name, + COUNT(DISTINCT m.match_api_id) AS matches_played +FROM Player AS p +LEFT JOIN "Match" AS m + ON m.season = '2015/2016' + AND p.player_api_id IN ( + m.home_player_1, m.home_player_2, m.home_player_3, m.home_player_4, + m.home_player_5, m.home_player_6, m.home_player_7, m.home_player_8, + m.home_player_9, m.home_player_10, m.home_player_11, + m.away_player_1, m.away_player_2, m.away_player_3, m.away_player_4, + m.away_player_5, m.away_player_6, m.away_player_7, m.away_player_8, + m.away_player_9, m.away_player_10, m.away_player_11 + ) +WHERE p.player_name LIKE 'Adam%' + AND p.weight > 170 +GROUP BY p.player_api_id, p.player_name; diff --git a/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird229.sql b/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird229.sql new file mode 100644 index 00000000..08a38187 --- /dev/null +++ b/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird229.sql @@ -0,0 +1,13 @@ +SELECT SUM(CASE t.k_symbol + WHEN 'UROK' THEN t.amount + WHEN 'SANKC. UROK' THEN -t.amount + END) AS net_interest_czk +FROM trans AS t +WHERE t.account_id IN ( + SELECT d.account_id + FROM disp AS d + WHERE d.client_id = 2823 +) + AND t.date >= '1998-01-01' + AND t.date < '1999-01-01' + AND t.k_symbol IN ('UROK', 'SANKC. UROK'); diff --git a/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird249.sql b/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird249.sql new file mode 100644 index 00000000..350a9f71 --- /dev/null +++ b/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird249.sql @@ -0,0 +1,7 @@ +SELECT d.forename || ' ' || d.surname AS full_name +FROM drivers AS d +JOIN lapTimes AS l ON l.driverId = d.driverId +WHERE l.milliseconds IS NOT NULL +GROUP BY d.driverId, d.forename, d.surname +ORDER BY MIN(l.milliseconds), d.driverId +LIMIT 20; diff --git a/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird260.sql b/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird260.sql new file mode 100644 index 00000000..01a843b0 --- /dev/null +++ b/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird260.sql @@ -0,0 +1,8 @@ +SELECT d.driverRef, d.nationality, d.dob +FROM races AS r +JOIN qualifying AS q ON q.raceId = r.raceId +JOIN drivers AS d ON d.driverId = q.driverId +WHERE r.year = 2017 + AND r.name = 'Italian Grand Prix' + AND NULLIF(TRIM(q.q2), '') IS NOT NULL + AND NULLIF(TRIM(q.q3), '') IS NULL; diff --git a/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird353.sql b/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird353.sql new file mode 100644 index 00000000..d3a30a30 --- /dev/null +++ b/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird353.sql @@ -0,0 +1,11 @@ +WITH powers_per_hero AS ( + SELECT h.id, COUNT(DISTINCT hp.power_id) AS power_count + FROM superhero AS h + JOIN race AS r ON r.id = h.race_id + JOIN gender AS g ON g.id = h.gender_id + LEFT JOIN hero_power AS hp ON hp.hero_id = h.id + WHERE r.race = 'God / Eternal' AND g.gender = 'Male' + GROUP BY h.id +) +SELECT ROUND(AVG(power_count), 2) AS average_superpowers +FROM powers_per_hero; diff --git a/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird379.sql b/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird379.sql new file mode 100644 index 00000000..36e5ad3f --- /dev/null +++ b/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird379.sql @@ -0,0 +1,11 @@ +SELECT ROUND(100.0 * AVG(CASE WHEN a.alignment = 'Good' THEN 1 ELSE 0 END), 2) AS good_percentage +FROM superhero AS h +JOIN publisher AS p ON p.id = h.publisher_id +LEFT JOIN alignment AS a ON a.id = h.alignment_id +WHERE p.publisher_name = 'Marvel Comics' + AND EXISTS ( + SELECT 1 + FROM hero_power AS hp + JOIN superpower AS sp ON sp.id = hp.power_id + WHERE hp.hero_id = h.id + ); diff --git a/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird389.sql b/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird389.sql new file mode 100644 index 00000000..4296c9d7 --- /dev/null +++ b/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird389.sql @@ -0,0 +1,15 @@ +SELECT COUNT(DISTINCT p.ID) AS patient_count +FROM Patient AS p +WHERE p.SEX = 'F' + AND EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND l.SC170 IN ('negative', '0') + ) + AND NOT EXISTS ( + SELECT 1 + FROM Examination AS e + WHERE e.ID = p.ID + AND e.Symptoms IS NOT NULL + ); diff --git a/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird459.sql b/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird459.sql new file mode 100644 index 00000000..423cd5d7 --- /dev/null +++ b/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird459.sql @@ -0,0 +1,8 @@ +SELECT ROUND(AVG(e."aCL IgM"), 2) AS average_acl_igm +FROM Examination AS e +WHERE e."aCL IgM" <> 0 + AND e.ID IN ( + SELECT p.ID + FROM Patient AS p + WHERE REPLACE(UPPER(p.Diagnosis), 'SJS SUSP', '') LIKE '%SJS%' + ); diff --git a/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird470.sql b/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird470.sql new file mode 100644 index 00000000..9cb94b54 --- /dev/null +++ b/bench/accuracy/results/bird-development-astra/gpt62-astra/sql/bird470.sql @@ -0,0 +1,11 @@ +WITH element_counts AS ( + SELECT a.element, COUNT(*) AS occurrences + FROM atom AS a + JOIN molecule AS m ON m.molecule_id = a.molecule_id + WHERE m.label = '-' + GROUP BY a.element +) +SELECT element +FROM element_counts +WHERE occurrences = (SELECT MIN(occurrences) FROM element_counts) +ORDER BY element; diff --git a/bench/accuracy/results/bird-development-astra/gpt62-astra/status.json b/bench/accuracy/results/bird-development-astra/gpt62-astra/status.json new file mode 100644 index 00000000..d2cc5463 --- /dev/null +++ b/bench/accuracy/results/bird-development-astra/gpt62-astra/status.json @@ -0,0 +1,4 @@ +{ + "status": "completed", + "wall_seconds": 254.25897216703743 +} diff --git a/bench/accuracy/results/bird-development-astra/manifest.json b/bench/accuracy/results/bird-development-astra/manifest.json new file mode 100644 index 00000000..6e6fb675 --- /dev/null +++ b/bench/accuracy/results/bird-development-astra/manifest.json @@ -0,0 +1,647 @@ +{ + "benchmark": "BIRD Mini-Dev SQLite 500 (2026-10-25)", + "upstream_commit": "5b256b5a9c17478f06ed6912612e9a14d17065c8", + "question_file_sha256": "926af2a0d1b47e5d0d15a7aa8a34d4721007f4550a881555b6a89496b54a2606", + "evaluator_sha256": "da1bbcd4530be83692d7c650c814ea9704bb710d0c953eb75d02ccb38233cf89", + "cases": [ + { + "instance_id": "bird024", + "db": "california_schools", + "question": "We're relocating to far Northern California and want to know how far north California's middle schools reach. A middle school means a school serving the middle grades, the level between elementary school and high school — count it as a middle school if either its school type or its school name marks it as serving the middle grades, so a junior high school whose name says 'Middle' counts. Include both open and closed schools. Please tell me which middle school is located furthest north in California, along with its school type (the value of the field named 'School Type'), its school name, and its latitude in degrees. If several middle schools tie for the highest latitude, list all of them.", + "evidence": "middle school: a school serving the middle grades, the level between elementary school and high school" + }, + { + "instance_id": "bird036", + "db": "california_schools", + "question": "I'm putting together a profile of Alameda County high schools, focusing on economic disadvantage among schools that serve up through 12th grade. Among those schools, can you tell me which one has the highest free meal rate? For each school you identify, give me one line with: the school name, its free meal rate to 4 decimal places, whether it is a charter school (Yes/No/Unknown), the grades it serves, and its SAT performance level (Below Average, Average, Above Average, or No SAT Data). Please use the school's grade span of enrollment from the school directory (the GSserved field of the schools table) both to decide whether it serves up through 12th grade and for the grades-it-serves column-do not use the free-meal program record's Low Grade/High Grade for either. If several schools tie for the highest free meal rate, list every one of them.", + "evidence": "Free meal rate = Free Meal Count (K-12) / Enrollment (K-12). SAT performance level is based on the SAT total (Reading + Math + Writing): Below Average if below 1200, Average if 1200 to 1500, Above Average if above 1500, and 'No SAT Data' if no SAT scores are available." + }, + { + "instance_id": "bird058", + "db": "card_games", + "question": "Among card printings with no recorded power value or a variable power expression, what percentage have a French translation? Round to two decimals.", + "evidence": "An asterisk anywhere in a power expression denotes variable power." + }, + { + "instance_id": "bird064", + "db": "card_games", + "question": "How many black-border cards with power 10 or greater are available on Magic: The Gathering Online? I just want a single number.", + "evidence": "Black-border cards are the tournament-legal Magic cards, excluding the joke silver-bordered sets. Power is the first number in the lower-right corner of a creature card." + }, + { + "instance_id": "bird087", + "db": "card_games", + "question": "I'm compiling the official rulings archive for the Magic: The Gathering card Fireball. How many official rulings have ever been issued for Fireball? I need the total across all time, with no date restriction.", + "evidence": "A ruling is an official clarification issued by Wizards of the Coast about how a card works." + }, + { + "instance_id": "bird146", + "db": "codebase_community", + "question": "For each month of 2010, how many posts that have no more than two answers received a link during that month? A month with none counts as zero. Give me the average across all twelve months of 2010, rounded to two decimals.", + "evidence": "A link is a recorded connection that associates one post with another post of the site." + }, + { + "instance_id": "bird152", + "db": "debit_card_specializing", + "question": "How many customers who pay in EUR and had gas consumption in 2012 also had gas consumption in 2013? I just need a single number: the count of such customers. By 2012 and 2013 I mean those calendar years, and gas consumption in any month of the year counts.", + "evidence": "" + }, + { + "instance_id": "bird179", + "db": "european_football_2", + "question": "I'm putting together a participation report for the 2015/2016 season. For every player whose name starts with Adam and who weighs more than 170, I need the number of matches he played during that season. Please return, one row per qualifying player, the player's name and his number of matches played in the 2015/2016 season, and nothing else. The season I mean is the one labeled '2015/2016'.", + "evidence": "Played a match means being named in that match's lineup, for either the home or the away team." + }, + { + "instance_id": "bird229", + "db": "financial", + "question": "I'm closing the 1998 books for client 2823's account and need to reconcile the interest. What was the net interest on that account for calendar year 1998 (1 January through 31 December 1998) – interest credited minus penalty interest charged, with penalty interest entering as negative – as a single exact amount in CZK, not rounded? Please include everything credited or charged over the year; the client's account is one account, regardless of the disposition it carries.", + "evidence": "'UROK' is the bank's code for interest credited to an account; penalty (sanction) interest charged to an account uses the bank's sanction-interest code, which is built on the same interest code." + }, + { + "instance_id": "bird249", + "db": "formula_1", + "question": "Which 20 drivers recorded the shortest single lap times in Formula 1 races? Give their full names, shortest lap first.", + "evidence": "" + }, + { + "instance_id": "bird260", + "db": "formula_1", + "question": "For the 2017 Italian Grand Prix, I'd like to identify the drivers who completed the second qualifying session (Q2) but were knocked out and did not reach Q3. Please list every such driver - no ranking, cutoff or tie-break, just all of them - showing each driver's reference name, nationality and birthday, and nothing else.", + "evidence": "Formula 1 qualifying is run in three timed sessions, Q1, Q2 and Q3; completing a session means the driver recorded a lap time in that session, and only drivers who complete a session move on to the next. The reference name is the driver's short identifier." + }, + { + "instance_id": "bird353", + "db": "superhero", + "question": "Hey, following up on my count of the God / Eternal heroes – among those who are male, what's the average number of superpowers per hero? Just give me the average rounded to two decimal places.", + "evidence": "A superpower is any power linked to a hero." + }, + { + "instance_id": "bird379", + "db": "superhero", + "question": "What percentage of Marvel Comics superheroes with a recorded superpower are classified as good? Round the percentage to two decimal places, and give me just that single value.", + "evidence": "Good means alignment 'Good'; superpower refers to a hero's recorded power." + }, + { + "instance_id": "bird389", + "db": "thrombosis_prediction", + "question": "How many distinct female patients have a normal anti-Scl-70 result and no recorded non-null symptom on any examination?", + "evidence": "Normal anti-Scl-70 is recorded as 'negative' or '0'." + }, + { + "instance_id": "bird423", + "db": "thrombosis_prediction", + "question": "I'd like to know how many patients on record have both an abnormal anti-SSA antibody result and a positive proteinuria finding at some point in their record. Abnormal anti-SSA means any recorded test result other than negative or zero. Proteinuria counts as positive if any urine test on file returned a result other than negative or none. The two findings don't need to come from the same visit – I'm looking across each patient's entire record. Please just give me the number of such patients.", + "evidence": "anti-SSA: anti-SSA antibody laboratory test; proteinuria: protein found in the urine" + }, + { + "instance_id": "bird429", + "db": "thrombosis_prediction", + "question": "I'm screening our thrombosis cohort for a study and need an eligibility count. How many patients born after 1980-01-01 had at least one abnormal fibrinogen result or at least one severe proteinuria result? A fibrinogen result is abnormal if it's below 150 or above 450; the normal range 150-450 is inclusive. Severe proteinuria means 300 mg/dl or more on the urinalysis scale, i.e., dipstick 3+ or 4+; trace, 1+ and 2+ are not severe. I just need the single count, nothing else.", + "evidence": "Urinalysis protein scale: '-' and '0' mean no protein, 'TR' means trace, grades '1','2','3','4' mean 1+ to 4+, where 3+ is about 300 mg/dl and 4+ about 1000 mg/dl or more; a plain number is a reading in mg/dl, and a '>=' prefix means 'or more'." + }, + { + "instance_id": "bird449", + "db": "thrombosis_prediction", + "question": "I'm putting together a renal-involvement review. Could you pull the demographics of patients who show both marked tissue damage and clinically significant proteinuria? Specifically, I need the patient ID, sex, and birthday of every patient who has at least one LDH result of 500 or higher and at least one urinary protein result of 100 mg/dL or more. A few details: an LDH of exactly 500 counts, and a urinary protein of exactly 100 mg/dL counts. The qualifying LDH and the qualifying urinary protein don't have to come from the same lab visit. Please give me one row per patient, ordered by patient ID, and nothing beyond those three fields.", + "evidence": "Urinary protein is reported in mg/dL; a dipstick grade may carry the equivalent concentration in mg/dL in parentheses, e.g. '+2(100)' is 100 mg/dL. A result written as '>=' followed by a value means at least that many mg/dL, e.g. '>=300' is 300 mg/dL or more. 'TR' means a trace and '-' means none detected; any other marker is not a quantified mg/dL concentration. An LDH of 500 or higher is outside the normal range." + }, + { + "instance_id": "bird451", + "db": "thrombosis_prediction", + "question": "I need the number of female patients whose first visit to the hospital fell in 1998 (1 January 1998 through 31 December 1998) and who were admitted to the hospital. Only count patients whose sex is recorded as female; if there is no sex entry, don't count them.", + "evidence": "An admission mark beginning with a plus sign means the patient was admitted to the hospital; a minus sign means the patient was followed at the outpatient clinic." + }, + { + "instance_id": "bird459", + "db": "thrombosis_prediction", + "question": "I'm studying antiphospholipid antibodies in Sjögren's syndrome (SJS). Could you tell me the average anti-cardiolipin IgM concentration among SJS patients, rounded to two decimal places? To clarify: use only patients with an established SJS diagnosis recorded at the patient level (a diagnosis marked 'susp', such as 'SJS susp', is only a suspicion and those patients should not be included). Include every examination recorded for these patients regardless of date. A recorded anti-cardiolipin IgM value of 0 means the antibody was not detected at that examination, so treat it as no measurement and leave it out of the average - count only examinations where a concentration was detected.", + "evidence": "SJS is the abbreviation used for Sjögren's syndrome; a diagnosis marked 'susp' (e.g. 'SJS susp') is only a suspicion of the disease, not an established diagnosis." + }, + { + "instance_id": "bird470", + "db": "toxicology", + "question": "Which elements have the fewest atom occurrences across non-carcinogenic molecules? Include all elements tied for the minimum.", + "evidence": "A '-' carcinogenicity label means non-carcinogenic." + } + ], + "db_sha256": { + "california_schools": "c0903eec662e63068fd1d14403d3d6c1d473287fc10c4356333ea58f878db983", + "card_games": "c98bdb57fe7474da798b407785544b9af0daaad5d61fd21e2a73309493bc1227", + "codebase_community": "92101be6d2a9f6adceea59d38f6d1c556087f9eea1432432a21268cb1348036d", + "debit_card_specializing": "b3d149ad05746dbbe5116e229e17e18f09c39db43cf117d9ef3441753608b691", + "european_football_2": "f72f5c9b990371417288a67b27a02e601ef904d45525c2c9f7931fb01001c536", + "financial": "d15d89cdb068a202b6f2b99342af44dffc1d52545b39ceaf62efdc0ba570101e", + "formula_1": "79770caf966707e35516fa566e24b40ae515c74ec1ec4631235245645b87b24d", + "student_club": "eb89bcfe97eefa386a27904ec5aa15159811a7eac894ec659a36e48fa9f76b77", + "superhero": "75e94a2c3236ee3bb2c01fb97a1c4b4c1c269bcefd4eab1d04be323d2d0825b1", + "thrombosis_prediction": "87583183c3dc472fba04de702965560a9d7c0a548836613f242317e0eeb83f00", + "toxicology": "4df4094208e0799d5e5f0e2b5bc5c415cf87b1208ebaf8f4c14c7af445b682c5" + }, + "suite": "bird", + "development_ids": [ + "bird058", + "bird024", + "bird451", + "bird229", + "bird146", + "bird389", + "bird152", + "bird353", + "bird064", + "bird087", + "bird260", + "bird449", + "bird249", + "bird470", + "bird379", + "bird179", + "bird036", + "bird429", + "bird459", + "bird423" + ], + "holdout_ids": [ + "bird023", + "bird238", + "bird358", + "bird324", + "bird155", + "bird267", + "bird110", + "bird192", + "bird226", + "bird365", + "bird128", + "bird381", + "bird305", + "bird408", + "bird001", + "bird413", + "bird120", + "bird432", + "bird160", + "bird027", + "bird199", + "bird095", + "bird407", + "bird091", + "bird489", + "bird209", + "bird194", + "bird313", + "bird015", + "bird051", + "bird270", + "bird130", + "bird427", + "bird167", + "bird360", + "bird061", + "bird450", + "bird097", + "bird032", + "bird341", + "bird006", + "bird156", + "bird471", + "bird119", + "bird369", + "bird256", + "bird057", + "bird222", + "bird361", + "bird205", + "bird356", + "bird279", + "bird412", + "bird488", + "bird496", + "bird295", + "bird404", + "bird390", + "bird417", + "bird440", + "bird211", + "bird487", + "bird005", + "bird299", + "bird397", + "bird346", + "bird315", + "bird484", + "bird472", + "bird162", + "bird428", + "bird254", + "bird349", + "bird017", + "bird446", + "bird232", + "bird236", + "bird071", + "bird063", + "bird244", + "bird062", + "bird157", + "bird480", + "bird185", + "bird248", + "bird463", + "bird035", + "bird345", + "bird088", + "bird072", + "bird443", + "bird135", + "bird474", + "bird275", + "bird495", + "bird148", + "bird444", + "bird331", + "bird060", + "bird431", + "bird416", + "bird117", + "bird410", + "bird079", + "bird326", + "bird105", + "bird436", + "bird383", + "bird139", + "bird350", + "bird182", + "bird485", + "bird132", + "bird245", + "bird424", + "bird292", + "bird098", + "bird030", + "bird329", + "bird430", + "bird191", + "bird455", + "bird434", + "bird348", + "bird026", + "bird011", + "bird089", + "bird212", + "bird103", + "bird083", + "bird008", + "bird074", + "bird050", + "bird106", + "bird259", + "bird376", + "bird067", + "bird193", + "bird055", + "bird044", + "bird264", + "bird198", + "bird003", + "bird075", + "bird380", + "bird033", + "bird025", + "bird301", + "bird196", + "bird114", + "bird077", + "bird303", + "bird204", + "bird366", + "bird240", + "bird123", + "bird195", + "bird333", + "bird158", + "bird112", + "bird469", + "bird493", + "bird368", + "bird306", + "bird462", + "bird490", + "bird285", + "bird246", + "bird373", + "bird273", + "bird289", + "bird276", + "bird168", + "bird342", + "bird492", + "bird387", + "bird337", + "bird189", + "bird184", + "bird401", + "bird352", + "bird200", + "bird280", + "bird002", + "bird048", + "bird186", + "bird174", + "bird498", + "bird141", + "bird239", + "bird039", + "bird216", + "bird022", + "bird332", + "bird294", + "bird045", + "bird169", + "bird172", + "bird040", + "bird242", + "bird107", + "bird250", + "bird382", + "bird491", + "bird347", + "bird076", + "bird497", + "bird116", + "bird374", + "bird262", + "bird453", + "bird171", + "bird043", + "bird217", + "bird178", + "bird257", + "bird386", + "bird396", + "bird181", + "bird439", + "bird419", + "bird415", + "bird111", + "bird164", + "bird414", + "bird406", + "bird296", + "bird101", + "bird409", + "bird251", + "bird118", + "bird268", + "bird086", + "bird010", + "bird056", + "bird127", + "bird210", + "bird122", + "bird161", + "bird367", + "bird218", + "bird457", + "bird144", + "bird372", + "bird286", + "bird370", + "bird154", + "bird124", + "bird084", + "bird177", + "bird099", + "bird143", + "bird435", + "bird402", + "bird336", + "bird479", + "bird125", + "bird290", + "bird335", + "bird094", + "bird300", + "bird482", + "bird466", + "bird214", + "bird281", + "bird392", + "bird082", + "bird233", + "bird013", + "bird478", + "bird153", + "bird420", + "bird477", + "bird096", + "bird258", + "bird247", + "bird494", + "bird351", + "bird344", + "bird081", + "bird241", + "bird473", + "bird355", + "bird049", + "bird384", + "bird037", + "bird145", + "bird377", + "bird224", + "bird481", + "bird009", + "bird159", + "bird411", + "bird421", + "bird458", + "bird448", + "bird029", + "bird137", + "bird163", + "bird134", + "bird225", + "bird468", + "bird034", + "bird080", + "bird271", + "bird100", + "bird263", + "bird325", + "bird398", + "bird093", + "bird452", + "bird066", + "bird031", + "bird287", + "bird007", + "bird235", + "bird312", + "bird340", + "bird362", + "bird028", + "bird019", + "bird298", + "bird138", + "bird418", + "bird359", + "bird046", + "bird113", + "bird230", + "bird073", + "bird202", + "bird070", + "bird433", + "bird265", + "bird322", + "bird021", + "bird314", + "bird311", + "bird394", + "bird004", + "bird391", + "bird140", + "bird425", + "bird321", + "bird282", + "bird221", + "bird183", + "bird228", + "bird078", + "bird467", + "bird012", + "bird147", + "bird197", + "bird109", + "bird266", + "bird316", + "bird283", + "bird378", + "bird483", + "bird441", + "bird085", + "bird310", + "bird475", + "bird297", + "bird261", + "bird388", + "bird339", + "bird170", + "bird447", + "bird129", + "bird486", + "bird136", + "bird052", + "bird375", + "bird288", + "bird456", + "bird165", + "bird476", + "bird219", + "bird338", + "bird499", + "bird059", + "bird255", + "bird464", + "bird302", + "bird357", + "bird142", + "bird393", + "bird328", + "bird215", + "bird042", + "bird284", + "bird277", + "bird102", + "bird272", + "bird020", + "bird307", + "bird330", + "bird304", + "bird442", + "bird253", + "bird000", + "bird454", + "bird363", + "bird223", + "bird047", + "bird220", + "bird231", + "bird400", + "bird465", + "bird385", + "bird309", + "bird206", + "bird445", + "bird461", + "bird317", + "bird237", + "bird399", + "bird422", + "bird460", + "bird175", + "bird318", + "bird108", + "bird069", + "bird068", + "bird092", + "bird173", + "bird234", + "bird090", + "bird014", + "bird151", + "bird213", + "bird018", + "bird133", + "bird187", + "bird269", + "bird131", + "bird203", + "bird308", + "bird180", + "bird054", + "bird405", + "bird395", + "bird364", + "bird121", + "bird371", + "bird293", + "bird038", + "bird426", + "bird252", + "bird104", + "bird190", + "bird188", + "bird354", + "bird201", + "bird207", + "bird437", + "bird291", + "bird334", + "bird274", + "bird065", + "bird403", + "bird278", + "bird126", + "bird176", + "bird208", + "bird053", + "bird150", + "bird320", + "bird323", + "bird115", + "bird327", + "bird166", + "bird149", + "bird438", + "bird041", + "bird343", + "bird319", + "bird016", + "bird227", + "bird243" + ], + "split_seed": 20261126 +} diff --git a/bench/accuracy/results/bird-development-astra/settings.json b/bench/accuracy/results/bird-development-astra/settings.json new file mode 100644 index 00000000..3fe9a736 --- /dev/null +++ b/bench/accuracy/results/bird-development-astra/settings.json @@ -0,0 +1,40 @@ +{ + "profiles": [ + { + "name": "gpt62-astra", + "model": "openai/gpt-6.2-astra", + "api_key_env": "OPEN_AI_KEY", + "max_output_tokens": 8192, + "reasoning_effort": "high" + } + ], + "split": "development", + "product_commit": "4e1b48a", + "manifest_sha256": "a08d40046ae163174d4ceace18633c26449c785366504b502dda42d70d92c7c1", + "sources": { + "bench/ecommerce_demo.py": "f75f4c82e07773a57ee1954d59f0acf35c9eb945430bdaea4ccdd98a35dcc86c", + "bench/oracle_demo.py": "c781b9501dea47b7900bb47e3fe41e2700d2153e85e087dce757f95e3e698b0e", + "bench/oracle_view/rehearse.py": "0114ce65327e435d4e3be6cab60e22b48bfb3ff7f06d97c14a16ea0d8e5602f2", + "bench/oracle_view/long_context.py": "089038788a9b4191946c906e470877bd246850d0a6d535809594a0bddfdcd47e", + "bench/oracle_view/codex_demo.py": "2eea87d833ca6a73a50255fa83927c6c560e2390df6c65e217263b2d3bb966c6", + "bench/oracle_view/summarize_context.py": "707b288be6637a7c8a45b957ef44a81cfb091c7fa5b249e9407a2a9b07e66626", + "bench/oracle_view/evaluate.py": "10685e37fbb2420242ebf5f88f988f3d5bccebc45465151f53ab8454e8fb5a3c", + "bench/oracle_co/session.py": "ff839e7497d9e06ca18a248993bac3c556d256ade7311c604d1f55926c195acb", + "bench/oracle_co/demo.py": "a8ac981bb35d0d77595b2441721cde4e458fb63c3fb7c1748a14bab4a187300a", + "bench/oracle_co/db_preview.py": "9a08766183d5f9542442ba41666d998fe024926e676799ffac5d751237ee0d64", + "bench/accuracy/evaluate.py": "fb63626cf53df8545262ed75284adf2d78d64cbda5f80543661c4a6c2f51bac7", + "bench/oracle_meeting/rehearse.py": "542664b6f04ae6a9606735b550fc2ce2f50df6fc0513384ebf4c654136974cd3", + "bench/oracle_meeting/codex_rehearse.py": "cfa84091da819ab1cb71d083c3ff77cc7fd79b8560de2108626e6d4c3bd8a3aa", + "bench/oracle_meeting/package_fault.py": "c7bb3552f167bafcbc084152deb66e187b3a6fa4de3dfed92cc00c7588bc1fe2", + "bench/spider2/providers.py": "5b8d534084035e44876eb980f2db9873edf82afcd4bec72cafb156821e962301", + "bench/spider2/evaluate.py": "e69628766439b40d4a524d9a23890b9399dd4357f4550fac5ae72f74c2bc91f7" + }, + "limits": { + "max_calls": 16, + "call_timeout": 180, + "case_timeout": 900, + "sql_timeout": 30, + "max_rows": 100000, + "concurrency": 4 + } +} diff --git a/bench/accuracy/results/bird-development-astra/summary.json b/bench/accuracy/results/bird-development-astra/summary.json new file mode 100644 index 00000000..fbf780e4 --- /dev/null +++ b/bench/accuracy/results/bird-development-astra/summary.json @@ -0,0 +1,8 @@ +[ + { + "profile": "gpt62-astra", + "correct": 15, + "total": 20, + "accuracy": 0.75 + } +] diff --git a/bench/accuracy/results/bird-development-final/gpt62-sol/records.jsonl b/bench/accuracy/results/bird-development-final/gpt62-sol/records.jsonl new file mode 100644 index 00000000..3f1bdd9a --- /dev/null +++ b/bench/accuracy/results/bird-development-final/gpt62-sol/records.jsonl @@ -0,0 +1,20 @@ +{"instance_id": "bird024", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH middle_schools AS (\n SELECT SOCType, School, Latitude\n FROM schools\n WHERE State = 'CA'\n AND (SOCType LIKE '%Middle%' OR School LIKE '%Middle%')\n)\nSELECT SOCType AS \"School Type\", School AS \"School Name\", Latitude\nFROM middle_schools\nWHERE Latitude = (SELECT MAX(Latitude) FROM middle_schools);\n```", "rows": 1, "sql": "WITH middle_schools AS (\n SELECT SOCType, School, Latitude\n FROM schools\n WHERE State = 'CA'\n AND (SOCType LIKE '%Middle%' OR School LIKE '%Middle%')\n)\nSELECT SOCType AS \"School Type\", School AS \"School Name\", Latitude\nFROM middle_schools\nWHERE Latitude = (SELECT MAX(Latitude) FROM middle_schools);", "seconds": 26.025434459093958, "calls": [{"seconds": 2.577099458896555, "usage": {"completion_tokens": 19, "prompt_tokens": 1747, "total_tokens": 1766, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1208, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1208, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1208, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.718561250017956, "usage": {"completion_tokens": 194, "prompt_tokens": 2095, "total_tokens": 2289, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 145, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 348, "cached_tokens": 1208, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 348, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 348, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4193710000254214, "usage": {"completion_tokens": 94, "prompt_tokens": 3254, "total_tokens": 3348, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1159, "cached_tokens": 1556, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1159, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1159, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.64408795896452, "usage": {"completion_tokens": 333, "prompt_tokens": 4025, "total_tokens": 4358, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 227, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 771, "cached_tokens": 2715, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 771, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 771, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.270012625027448, "usage": {"completion_tokens": 90, "prompt_tokens": 4492, "total_tokens": 4582, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 467, "cached_tokens": 3486, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 467, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 467, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "c3ddfe8d9f6310859123c604562c7a101efe3e69a98c4448a418581afb2d2fd9", "csv_sha256": "8493c6fbd072aa1095e127f8a11e9a7b785f970565f61849ef597393cb65bc07"} +{"instance_id": "bird036", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH meal_rates AS (\n SELECT s.CDSCode,\n s.School AS school_name,\n s.Charter AS charter,\n s.GSserved AS grades_served,\n 1.0 * f.\"Free Meal Count (K-12)\" /\n NULLIF(f.\"Enrollment (K-12)\", 0) AS free_meal_rate\n FROM schools AS s\n JOIN frpm AS f ON f.CDSCode = s.CDSCode\n WHERE s.County = 'Alameda'\n AND (TRIM(s.GSserved) = '12' OR TRIM(s.GSserved) LIKE '%-12')\n), top_schools AS (\n SELECT CDSCode, school_name, charter, grades_served, free_meal_rate\n FROM meal_rates\n WHERE free_meal_rate = (SELECT MAX(free_meal_rate) FROM meal_rates)\n), results AS (\n SELECT m.school_name, m.free_meal_rate, m.charter, m.grades_served,\n t.AvgScrRead + t.AvgScrMath + t.AvgScrWrite AS sat_total\n FROM top_schools AS m\n LEFT JOIN satscores AS t ON t.cds = m.CDSCode\n)\nSELECT school_name,\n ROUND(free_meal_rate, 4) AS free_meal_rate,\n CASE charter WHEN 1 THEN 'Yes' WHEN 0 THEN 'No' ELSE 'Unknown' END AS charter_school,\n grades_served,\n CASE\n WHEN sat_total IS NULL THEN 'No SAT Data'\n WHEN sat_total < 1200 THEN 'Below Average'\n WHEN sat_total <= 1500 THEN 'Average'\n ELSE 'Above Average'\n END AS sat_performance_level\nFROM results\nORDER BY school_name;\n```", "rows": 1, "sql": "WITH meal_rates AS (\n SELECT s.CDSCode,\n s.School AS school_name,\n s.Charter AS charter,\n s.GSserved AS grades_served,\n 1.0 * f.\"Free Meal Count (K-12)\" /\n NULLIF(f.\"Enrollment (K-12)\", 0) AS free_meal_rate\n FROM schools AS s\n JOIN frpm AS f ON f.CDSCode = s.CDSCode\n WHERE s.County = 'Alameda'\n AND (TRIM(s.GSserved) = '12' OR TRIM(s.GSserved) LIKE '%-12')\n), top_schools AS (\n SELECT CDSCode, school_name, charter, grades_served, free_meal_rate\n FROM meal_rates\n WHERE free_meal_rate = (SELECT MAX(free_meal_rate) FROM meal_rates)\n), results AS (\n SELECT m.school_name, m.free_meal_rate, m.charter, m.grades_served,\n t.AvgScrRead + t.AvgScrMath + t.AvgScrWrite AS sat_total\n FROM top_schools AS m\n LEFT JOIN satscores AS t ON t.cds = m.CDSCode\n)\nSELECT school_name,\n ROUND(free_meal_rate, 4) AS free_meal_rate,\n CASE charter WHEN 1 THEN 'Yes' WHEN 0 THEN 'No' ELSE 'Unknown' END AS charter_school,\n grades_served,\n CASE\n WHEN sat_total IS NULL THEN 'No SAT Data'\n WHEN sat_total < 1200 THEN 'Below Average'\n WHEN sat_total <= 1500 THEN 'Average'\n ELSE 'Above Average'\n END AS sat_performance_level\nFROM results\nORDER BY school_name;", "seconds": 37.223560625105165, "calls": [{"seconds": 2.9164613330503926, "usage": {"completion_tokens": 68, "prompt_tokens": 1848, "total_tokens": 1916, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1309, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1309, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1309, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3815285420278087, "usage": {"completion_tokens": 107, "prompt_tokens": 2615, "total_tokens": 2722, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 767, "cached_tokens": 1309, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 767, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 767, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.232009667088278, "usage": {"completion_tokens": 341, "prompt_tokens": 3374, "total_tokens": 3715, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 100, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 759, "cached_tokens": 2076, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 759, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 759, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.150191416963935, "usage": {"completion_tokens": 271, "prompt_tokens": 4607, "total_tokens": 4878, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 90, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1233, "cached_tokens": 2835, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1233, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1233, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.620653667021543, "usage": {"completion_tokens": 415, "prompt_tokens": 5088, "total_tokens": 5503, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 481, "cached_tokens": 4068, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 481, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 481, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.524854082963429, "usage": {"completion_tokens": 382, "prompt_tokens": 5949, "total_tokens": 6331, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 861, "cached_tokens": 4549, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 861, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 861, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1301c5826c083f64c7cf6a778f154beaccd3fe76aad74004dba20394bbbed55e", "csv_sha256": "129d20d69850525faf184fd9a747bdeb4bbadd3e80585593d38373a7577f64a0"} +{"instance_id": "bird058", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH french_printings AS (\n SELECT DISTINCT uuid\n FROM foreign_data\n WHERE language = 'French'\n)\nSELECT ROUND(100.0 * COUNT(f.uuid) / NULLIF(COUNT(*), 0), 2) AS french_translation_percentage\nFROM cards AS c\nLEFT JOIN french_printings AS f ON f.uuid = c.uuid\nWHERE c.power IS NULL OR INSTR(c.power, '*') > 0;\n```", "rows": 1, "sql": "WITH french_printings AS (\n SELECT DISTINCT uuid\n FROM foreign_data\n WHERE language = 'French'\n)\nSELECT ROUND(100.0 * COUNT(f.uuid) / NULLIF(COUNT(*), 0), 2) AS french_translation_percentage\nFROM cards AS c\nLEFT JOIN french_printings AS f ON f.uuid = c.uuid\nWHERE c.power IS NULL OR INSTR(c.power, '*') > 0;", "seconds": 48.47157070890535, "calls": [{"seconds": 2.7323828749358654, "usage": {"completion_tokens": 51, "prompt_tokens": 1639, "total_tokens": 1690, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1091, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1091, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1091, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8634590409928933, "usage": {"completion_tokens": 129, "prompt_tokens": 2276, "total_tokens": 2405, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 637, "cached_tokens": 1091, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 637, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 637, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.821973916958086, "usage": {"completion_tokens": 111, "prompt_tokens": 2582, "total_tokens": 2693, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 306, "cached_tokens": 1728, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 306, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 306, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2330272919498384, "usage": {"completion_tokens": 108, "prompt_tokens": 2835, "total_tokens": 2943, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 253, "cached_tokens": 2034, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 253, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 253, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1755506669869646, "usage": {"completion_tokens": 97, "prompt_tokens": 3063, "total_tokens": 3160, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 228, "cached_tokens": 2287, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 228, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 228, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7b14ebb0e2e0ec52e0302014e8ed06120669c10b034e84aa6a61d6db915dabf0", "csv_sha256": "748bcdf87ef92a7fe3ccea153d86167000064cb901f2e1338f747721a5c9ec46"} +{"instance_id": "bird064", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS card_count\nFROM cards\nWHERE borderColor = 'black'\n AND instr(',' || availability || ',', ',mtgo,') > 0\n AND CAST(power AS INTEGER) >= 10;\n```", "rows": 1, "sql": "SELECT COUNT(*) AS card_count\nFROM cards\nWHERE borderColor = 'black'\n AND instr(',' || availability || ',', ',mtgo,') > 0\n AND CAST(power AS INTEGER) >= 10;", "seconds": 21.94444091594778, "calls": [{"seconds": 2.760411415947601, "usage": {"completion_tokens": 66, "prompt_tokens": 1660, "total_tokens": 1726, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1112, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1112, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1112, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.539075416978449, "usage": {"completion_tokens": 193, "prompt_tokens": 2456, "total_tokens": 2649, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 114, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 796, "cached_tokens": 1112, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 796, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 796, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.521288875024766, "usage": {"completion_tokens": 275, "prompt_tokens": 3005, "total_tokens": 3280, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 213, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 549, "cached_tokens": 1908, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 549, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 549, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6717076670611277, "usage": {"completion_tokens": 75, "prompt_tokens": 3346, "total_tokens": 3421, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 20, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 341, "cached_tokens": 2457, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 341, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 341, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5dbd62e4d6a6c8752a2811dd4331393b97c242875fd8bf6843a0f0108a6269e6", "csv_sha256": "e82d2d591302dd3d76309f030c09d49f8f849efb387104ae1960e27f9a70b727"} +{"instance_id": "bird087", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS total_rulings\nFROM (\n SELECT DISTINCT r.date, r.text\n FROM rulings AS r\n JOIN cards AS c ON c.uuid = r.uuid\n WHERE c.name = 'Fireball'\n) AS unique_rulings;\n```", "rows": 1, "sql": "SELECT COUNT(*) AS total_rulings\nFROM (\n SELECT DISTINCT r.date, r.text\n FROM rulings AS r\n JOIN cards AS c ON c.uuid = r.uuid\n WHERE c.name = 'Fireball'\n) AS unique_rulings;", "seconds": 12.910433209035546, "calls": [{"seconds": 2.8155683330260217, "usage": {"completion_tokens": 52, "prompt_tokens": 1661, "total_tokens": 1713, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1113, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1113, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1113, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1043499999213964, "usage": {"completion_tokens": 69, "prompt_tokens": 2277, "total_tokens": 2346, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 616, "cached_tokens": 1113, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 616, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 616, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9157230420969427, "usage": {"completion_tokens": 74, "prompt_tokens": 2674, "total_tokens": 2748, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 397, "cached_tokens": 1729, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 397, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 397, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8769358749268577, "usage": {"completion_tokens": 101, "prompt_tokens": 2832, "total_tokens": 2933, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 36, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 158, "cached_tokens": 2126, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 158, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 158, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "45d6c308362ef9c57bbc00d14a9efee2668295a111e394f4b76d7bbf86af3cb3", "csv_sha256": "1f5322be3c4231c55b9478d170e9987e94b345fe37503e5b70874536b601a38f"} +{"instance_id": "bird146", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE months(month_start) AS (\n SELECT '2010-01-01'\n UNION ALL\n SELECT date(month_start, '+1 month')\n FROM months\n WHERE month_start < '2010-12-01'\n), monthly_counts AS (\n SELECT date(pl.CreationDate, 'start of month') AS month_start,\n COUNT(DISTINCT p.Id) AS post_count\n FROM postLinks AS pl\n JOIN posts AS p ON p.Id = pl.RelatedPostId\n WHERE pl.CreationDate >= '2010-01-01'\n AND pl.CreationDate < '2011-01-01'\n AND p.AnswerCount <= 2\n GROUP BY date(pl.CreationDate, 'start of month')\n)\nSELECT ROUND(AVG(COALESCE(mc.post_count, 0)), 2) AS average_monthly_posts\nFROM months AS m\nLEFT JOIN monthly_counts AS mc ON mc.month_start = m.month_start;\n```", "rows": 1, "sql": "WITH RECURSIVE months(month_start) AS (\n SELECT '2010-01-01'\n UNION ALL\n SELECT date(month_start, '+1 month')\n FROM months\n WHERE month_start < '2010-12-01'\n), monthly_counts AS (\n SELECT date(pl.CreationDate, 'start of month') AS month_start,\n COUNT(DISTINCT p.Id) AS post_count\n FROM postLinks AS pl\n JOIN posts AS p ON p.Id = pl.RelatedPostId\n WHERE pl.CreationDate >= '2010-01-01'\n AND pl.CreationDate < '2011-01-01'\n AND p.AnswerCount <= 2\n GROUP BY date(pl.CreationDate, 'start of month')\n)\nSELECT ROUND(AVG(COALESCE(mc.post_count, 0)), 2) AS average_monthly_posts\nFROM months AS m\nLEFT JOIN monthly_counts AS mc ON mc.month_start = m.month_start;", "seconds": 15.368074583006091, "calls": [{"seconds": 2.7645314999390393, "usage": {"completion_tokens": 51, "prompt_tokens": 1670, "total_tokens": 1721, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1120, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1120, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1120, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.435442040907219, "usage": {"completion_tokens": 319, "prompt_tokens": 1925, "total_tokens": 2244, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 77, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1120, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.158208457985893, "usage": {"completion_tokens": 238, "prompt_tokens": 2486, "total_tokens": 2724, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 17, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 561, "cached_tokens": 1375, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 561, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 561, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "bda0c6930be32d4d0252faa17ce323e914166b6cd4d3af2f8445a2d4a97a0866", "csv_sha256": "0b9cbd80d9686d8952b98ea1f0098ac223b901ba64e1e3f45578301f53676e3e"} +{"instance_id": "bird152", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT c.CustomerID) AS customer_count\nFROM customers AS c\nWHERE c.Currency = 'EUR'\n AND EXISTS (\n SELECT 1\n FROM yearmonth AS y\n WHERE y.CustomerID = c.CustomerID\n AND y.Date >= '201201' AND y.Date < '201301'\n )\n AND EXISTS (\n SELECT 1\n FROM yearmonth AS y\n WHERE y.CustomerID = c.CustomerID\n AND y.Date >= '201301' AND y.Date < '201401'\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT c.CustomerID) AS customer_count\nFROM customers AS c\nWHERE c.Currency = 'EUR'\n AND EXISTS (\n SELECT 1\n FROM yearmonth AS y\n WHERE y.CustomerID = c.CustomerID\n AND y.Date >= '201201' AND y.Date < '201301'\n )\n AND EXISTS (\n SELECT 1\n FROM yearmonth AS y\n WHERE y.CustomerID = c.CustomerID\n AND y.Date >= '201301' AND y.Date < '201401'\n );", "seconds": 21.61427525000181, "calls": [{"seconds": 2.8654426659923047, "usage": {"completion_tokens": 83, "prompt_tokens": 1656, "total_tokens": 1739, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1110, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1110, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1110, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.788179541006684, "usage": {"completion_tokens": 124, "prompt_tokens": 1901, "total_tokens": 2025, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 95, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 245, "cached_tokens": 1110, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 245, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 245, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.8750111249974, "usage": {"completion_tokens": 184, "prompt_tokens": 2158, "total_tokens": 2342, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 43, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 257, "cached_tokens": 1355, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 257, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 257, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6879957920173183, "usage": {"completion_tokens": 123, "prompt_tokens": 2485, "total_tokens": 2608, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 327, "cached_tokens": 1612, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 327, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 327, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6f97783c31ef233c8257b178e53e74b84795b5c55de0c10bf7c14833e0571ef3", "csv_sha256": "5bb421dc69888e2542611104b9c5d6ecf989b6c2894ec3ed088b156eb2d4d0fc"} +{"instance_id": "bird179", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT p.player_name, COUNT(m.id) AS matches_played\nFROM Player AS p\nLEFT JOIN \"Match\" AS m\n ON m.season = '2015/2016'\n AND p.player_api_id IN (\n m.home_player_1, m.home_player_2, m.home_player_3,\n m.home_player_4, m.home_player_5, m.home_player_6,\n m.home_player_7, m.home_player_8, m.home_player_9,\n m.home_player_10, m.home_player_11,\n m.away_player_1, m.away_player_2, m.away_player_3,\n m.away_player_4, m.away_player_5, m.away_player_6,\n m.away_player_7, m.away_player_8, m.away_player_9,\n m.away_player_10, m.away_player_11\n )\nWHERE p.player_name LIKE 'Adam%'\n AND p.weight > 170\nGROUP BY p.id, p.player_name\nORDER BY p.player_name, p.id;\n```", "rows": 24, "sql": "SELECT p.player_name, COUNT(m.id) AS matches_played\nFROM Player AS p\nLEFT JOIN \"Match\" AS m\n ON m.season = '2015/2016'\n AND p.player_api_id IN (\n m.home_player_1, m.home_player_2, m.home_player_3,\n m.home_player_4, m.home_player_5, m.home_player_6,\n m.home_player_7, m.home_player_8, m.home_player_9,\n m.home_player_10, m.home_player_11,\n m.away_player_1, m.away_player_2, m.away_player_3,\n m.away_player_4, m.away_player_5, m.away_player_6,\n m.away_player_7, m.away_player_8, m.away_player_9,\n m.away_player_10, m.away_player_11\n )\nWHERE p.player_name LIKE 'Adam%'\n AND p.weight > 170\nGROUP BY p.id, p.player_name\nORDER BY p.player_name, p.id;", "seconds": 15.426776750013232, "calls": [{"seconds": 2.5727605830179527, "usage": {"completion_tokens": 50, "prompt_tokens": 1713, "total_tokens": 1763, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1164, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1164, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1164, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.322917542071082, "usage": {"completion_tokens": 315, "prompt_tokens": 2654, "total_tokens": 2969, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 50, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 941, "cached_tokens": 1164, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 941, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 941, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.985220083035529, "usage": {"completion_tokens": 241, "prompt_tokens": 3412, "total_tokens": 3653, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 758, "cached_tokens": 2105, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 758, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 758, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5448d630c3d6254620c12da6a47febaf40eace3ecc91d7051799d25201091e5b", "csv_sha256": "6cf8ade1f6e7b61fa1e21f01340ca07c7f26ce318e555330de7cc606709e6b83"} +{"instance_id": "bird229", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT SUM(CASE t.k_symbol\n WHEN 'UROK' THEN t.amount\n WHEN 'SANKC. UROK' THEN -t.amount\n END) AS net_interest_czk\nFROM trans AS t\nWHERE t.date >= '1998-01-01'\n AND t.date < '1999-01-01'\n AND t.k_symbol IN ('UROK', 'SANKC. UROK')\n AND EXISTS (\n SELECT 1\n FROM disp AS d\n WHERE d.client_id = 2823\n AND d.account_id = t.account_id\n );\n```", "rows": 1, "sql": "SELECT SUM(CASE t.k_symbol\n WHEN 'UROK' THEN t.amount\n WHEN 'SANKC. UROK' THEN -t.amount\n END) AS net_interest_czk\nFROM trans AS t\nWHERE t.date >= '1998-01-01'\n AND t.date < '1999-01-01'\n AND t.k_symbol IN ('UROK', 'SANKC. UROK')\n AND EXISTS (\n SELECT 1\n FROM disp AS d\n WHERE d.client_id = 2823\n AND d.account_id = t.account_id\n );", "seconds": 25.2116707500536, "calls": [{"seconds": 2.772236290969886, "usage": {"completion_tokens": 80, "prompt_tokens": 1739, "total_tokens": 1819, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1192, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1192, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1192, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7065194580936804, "usage": {"completion_tokens": 115, "prompt_tokens": 2030, "total_tokens": 2145, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 27, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 291, "cached_tokens": 1192, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 291, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 291, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9906697920523584, "usage": {"completion_tokens": 109, "prompt_tokens": 2270, "total_tokens": 2379, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 240, "cached_tokens": 1483, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 240, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 240, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9667314579710364, "usage": {"completion_tokens": 153, "prompt_tokens": 2574, "total_tokens": 2727, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 304, "cached_tokens": 1723, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 304, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 304, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7231575419427827, "usage": {"completion_tokens": 139, "prompt_tokens": 2888, "total_tokens": 3027, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 314, "cached_tokens": 2027, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 314, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 314, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b7d953ead8a46a4e25e4023684c2495abe5558d494ea60f5d09e403c76c25c61", "csv_sha256": "b2e5422c4abeec42e360d1971657e50505834904a367131d2b6bc48980540cca"} +{"instance_id": "bird249", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT d.forename || ' ' || d.surname AS full_name\nFROM drivers AS d\nJOIN lapTimes AS lt ON lt.driverId = d.driverId\nWHERE lt.milliseconds IS NOT NULL\nGROUP BY d.driverId, d.forename, d.surname\nORDER BY MIN(lt.milliseconds) ASC, d.driverId ASC\nLIMIT 20;\n```", "rows": 20, "sql": "SELECT d.forename || ' ' || d.surname AS full_name\nFROM drivers AS d\nJOIN lapTimes AS lt ON lt.driverId = d.driverId\nWHERE lt.milliseconds IS NOT NULL\nGROUP BY d.driverId, d.forename, d.surname\nORDER BY MIN(lt.milliseconds) ASC, d.driverId ASC\nLIMIT 20;", "seconds": 10.437430209014565, "calls": [{"seconds": 2.6745686669601128, "usage": {"completion_tokens": 51, "prompt_tokens": 1638, "total_tokens": 1689, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1073, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1073, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1073, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.165990249952301, "usage": {"completion_tokens": 142, "prompt_tokens": 1812, "total_tokens": 1954, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 48, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 174, "cached_tokens": 1073, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 174, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 174, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2723527499474585, "usage": {"completion_tokens": 83, "prompt_tokens": 2153, "total_tokens": 2236, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 341, "cached_tokens": 1247, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 341, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 341, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9b7b9dd5f7a46555c01dac9e2c74bdd3e923f81089728f4af237c60a142df6f5", "csv_sha256": "bb91c60dd6f1d037a05b19508387cc055a6cc7a0f3a519f11e3780064baaa63d"} +{"instance_id": "bird260", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT d.driverRef, d.nationality, d.dob\nFROM qualifying AS q\nJOIN races AS r ON r.raceId = q.raceId\nJOIN drivers AS d ON d.driverId = q.driverId\nWHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND NULLIF(TRIM(q.q2), '') IS NOT NULL\n AND NULLIF(TRIM(q.q3), '') IS NULL;\n```", "rows": 5, "sql": "SELECT d.driverRef, d.nationality, d.dob\nFROM qualifying AS q\nJOIN races AS r ON r.raceId = q.raceId\nJOIN drivers AS d ON d.driverId = q.driverId\nWHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND NULLIF(TRIM(q.q2), '') IS NOT NULL\n AND NULLIF(TRIM(q.q3), '') IS NULL;", "seconds": 13.65360600000713, "calls": [{"seconds": 2.938547582947649, "usage": {"completion_tokens": 67, "prompt_tokens": 1742, "total_tokens": 1809, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1177, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1177, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1177, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.749567750026472, "usage": {"completion_tokens": 63, "prompt_tokens": 2020, "total_tokens": 2083, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1177, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.125266709015705, "usage": {"completion_tokens": 150, "prompt_tokens": 2330, "total_tokens": 2480, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 36, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 310, "cached_tokens": 1455, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 310, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 310, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.819039582973346, "usage": {"completion_tokens": 102, "prompt_tokens": 2675, "total_tokens": 2777, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 345, "cached_tokens": 1765, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 345, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 345, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b9752427028f8b56cce1077731c4c2dbc121e10052b79117d30605b309468e97", "csv_sha256": "6630424757809e61c2f25f997a93f87f85afbf229e84c44e593aa67de1daa8ee"} +{"instance_id": "bird353", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH powers_per_hero AS (\n SELECT h.id, COUNT(DISTINCT hp.power_id) AS power_count\n FROM superhero AS h\n JOIN race AS r ON r.id = h.race_id\n JOIN gender AS g ON g.id = h.gender_id\n LEFT JOIN hero_power AS hp ON hp.hero_id = h.id\n WHERE r.race = 'God / Eternal' AND g.gender = 'Male'\n GROUP BY h.id\n)\nSELECT ROUND(AVG(power_count), 2) AS average_superpowers\nFROM powers_per_hero;\n```", "rows": 1, "sql": "WITH powers_per_hero AS (\n SELECT h.id, COUNT(DISTINCT hp.power_id) AS power_count\n FROM superhero AS h\n JOIN race AS r ON r.id = h.race_id\n JOIN gender AS g ON g.id = h.gender_id\n LEFT JOIN hero_power AS hp ON hp.hero_id = h.id\n WHERE r.race = 'God / Eternal' AND g.gender = 'Male'\n GROUP BY h.id\n)\nSELECT ROUND(AVG(power_count), 2) AS average_superpowers\nFROM powers_per_hero;", "seconds": 12.032370833097957, "calls": [{"seconds": 3.186340000014752, "usage": {"completion_tokens": 98, "prompt_tokens": 1658, "total_tokens": 1756, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1104, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1104, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1104, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.947438666946255, "usage": {"completion_tokens": 191, "prompt_tokens": 1952, "total_tokens": 2143, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 51, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 294, "cached_tokens": 1104, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 294, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 294, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8840672080405056, "usage": {"completion_tokens": 126, "prompt_tokens": 2291, "total_tokens": 2417, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 339, "cached_tokens": 1398, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 339, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 339, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a7d572db3e8b82fc30b9bb21098503db90fe07746edee98b2da138cef9dcbf84", "csv_sha256": "a9b8b2ca4cda426fd6ee3d316cc856357c9034ed8c0e5cc38b8a2d38241be16e"} +{"instance_id": "bird379", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(100.0 * COUNT(CASE WHEN a.alignment = 'Good' THEN 1 END) / COUNT(*), 2) AS percentage\nFROM superhero AS h\nJOIN publisher AS p ON p.id = h.publisher_id\nLEFT JOIN alignment AS a ON a.id = h.alignment_id\nWHERE p.publisher_name = 'Marvel Comics'\n AND EXISTS (\n SELECT 1\n FROM hero_power AS hp\n JOIN superpower AS sp ON sp.id = hp.power_id\n WHERE hp.hero_id = h.id\n );\n```", "rows": 1, "sql": "SELECT ROUND(100.0 * COUNT(CASE WHEN a.alignment = 'Good' THEN 1 END) / COUNT(*), 2) AS percentage\nFROM superhero AS h\nJOIN publisher AS p ON p.id = h.publisher_id\nLEFT JOIN alignment AS a ON a.id = h.alignment_id\nWHERE p.publisher_name = 'Marvel Comics'\n AND EXISTS (\n SELECT 1\n FROM hero_power AS hp\n JOIN superpower AS sp ON sp.id = hp.power_id\n WHERE hp.hero_id = h.id\n );", "seconds": 10.606470665894449, "calls": [{"seconds": 3.3363865410210565, "usage": {"completion_tokens": 98, "prompt_tokens": 1654, "total_tokens": 1752, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1100, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1100, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1100, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.616694958996959, "usage": {"completion_tokens": 133, "prompt_tokens": 1949, "total_tokens": 2082, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 295, "cached_tokens": 1100, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 295, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 295, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.548689625109546, "usage": {"completion_tokens": 122, "prompt_tokens": 2224, "total_tokens": 2346, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 275, "cached_tokens": 1395, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 275, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 275, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f6b798f9ef5fc051a3974a0211fd04168ac46e546918dddc63291b6bb1148d05", "csv_sha256": "3249bc7730fd3ae8a5d8db08ed33cb4cfd287d1b8b22a5180ddffb295caf42b2"} +{"instance_id": "bird389", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE p.SEX = 'F'\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.SC170 IN ('negative', '0')\n )\n AND NOT EXISTS (\n SELECT 1\n FROM Examination AS e\n WHERE e.ID = p.ID\n AND e.Symptoms IS NOT NULL\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE p.SEX = 'F'\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.SC170 IN ('negative', '0')\n )\n AND NOT EXISTS (\n SELECT 1\n FROM Examination AS e\n WHERE e.ID = p.ID\n AND e.Symptoms IS NOT NULL\n );", "seconds": 11.047705792007037, "calls": [{"seconds": 2.697400957928039, "usage": {"completion_tokens": 67, "prompt_tokens": 1630, "total_tokens": 1697, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1092, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1092, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1092, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.9924890419933945, "usage": {"completion_tokens": 175, "prompt_tokens": 2115, "total_tokens": 2290, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 51, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1092, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.326510790968314, "usage": {"completion_tokens": 106, "prompt_tokens": 2415, "total_tokens": 2521, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 300, "cached_tokens": 1577, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 300, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 300, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "45b5634735a88491d43c9f3c028fecaeb1528aa638515ce8ac76255ccf2e91df", "csv_sha256": "512e8c33b49ed0bc325d442219b421d4d37ac4d82a8e63dd90cd480502cfca65"} +{"instance_id": "bird423", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND LOWER(TRIM(l.SSA)) NOT IN ('negative', '0')\n)\nAND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND LOWER(TRIM(l.\"U-PRO\")) NOT IN ('negative', 'none', '-', '0')\n);\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND LOWER(TRIM(l.SSA)) NOT IN ('negative', '0')\n)\nAND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND LOWER(TRIM(l.\"U-PRO\")) NOT IN ('negative', 'none', '-', '0')\n);", "seconds": 17.256446041050367, "calls": [{"seconds": 2.9995207500178367, "usage": {"completion_tokens": 67, "prompt_tokens": 1707, "total_tokens": 1774, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1169, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1169, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1169, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6675353749888018, "usage": {"completion_tokens": 114, "prompt_tokens": 2192, "total_tokens": 2306, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1169, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.896908958093263, "usage": {"completion_tokens": 289, "prompt_tokens": 2675, "total_tokens": 2964, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 159, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 483, "cached_tokens": 1654, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 483, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 483, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.646496208035387, "usage": {"completion_tokens": 111, "prompt_tokens": 3094, "total_tokens": 3205, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 419, "cached_tokens": 2137, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 419, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 419, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "dfd8fed148835ce4acce8785c8dd2e88957e86d8e77dca6aefa53cc92c3481de", "csv_sha256": "4f5e7bf26450e6266e0726797ce31d3a69e6e05fa098ee1b0c6f63fa5b066606"} +{"instance_id": "bird429", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH lab_results AS (\n SELECT ID, FG, TRIM(\"U-PRO\") AS protein\n FROM Laboratory\n)\nSELECT COUNT(DISTINCT p.ID) AS eligible_patient_count\nFROM Patient AS p\nJOIN lab_results AS l ON l.ID = p.ID\nWHERE DATE(p.Birthday) > '1980-01-01'\n AND (\n l.FG < 150 OR l.FG > 450\n OR l.protein IN ('3', '4', '3+', '4+')\n OR CAST(CASE WHEN l.protein LIKE '>=%' THEN SUBSTR(l.protein, 3)\n ELSE l.protein END AS REAL) >= 300\n );\n```", "rows": 1, "sql": "WITH lab_results AS (\n SELECT ID, FG, TRIM(\"U-PRO\") AS protein\n FROM Laboratory\n)\nSELECT COUNT(DISTINCT p.ID) AS eligible_patient_count\nFROM Patient AS p\nJOIN lab_results AS l ON l.ID = p.ID\nWHERE DATE(p.Birthday) > '1980-01-01'\n AND (\n l.FG < 150 OR l.FG > 450\n OR l.protein IN ('3', '4', '3+', '4+')\n OR CAST(CASE WHEN l.protein LIKE '>=%' THEN SUBSTR(l.protein, 3)\n ELSE l.protein END AS REAL) >= 300\n );", "seconds": 26.739367541042157, "calls": [{"seconds": 2.9132787090493366, "usage": {"completion_tokens": 67, "prompt_tokens": 1801, "total_tokens": 1868, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1263, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1263, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1263, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5200180840911344, "usage": {"completion_tokens": 85, "prompt_tokens": 2286, "total_tokens": 2371, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 46, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1263, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.735955958021805, "usage": {"completion_tokens": 317, "prompt_tokens": 2454, "total_tokens": 2771, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 189, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 168, "cached_tokens": 1748, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 168, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 168, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.824594624922611, "usage": {"completion_tokens": 279, "prompt_tokens": 2956, "total_tokens": 3235, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 108, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 502, "cached_tokens": 1916, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 502, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 502, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.705908125033602, "usage": {"completion_tokens": 154, "prompt_tokens": 3409, "total_tokens": 3563, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 453, "cached_tokens": 2418, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 453, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 453, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "048ffebb13dd483f6844d641eb512d01452f43c01eb2a773d8cd62d7736216b8", "csv_sha256": "812585e4fa248bb535f350c3cd42ebc98ff78c7d81a0df7b0de83026f01668f4"} +{"instance_id": "bird449", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH protein_results AS (\n SELECT ID, TRIM(\"U-PRO\") AS result\n FROM Laboratory\n), protein_amounts AS (\n SELECT ID,\n TRIM(CASE\n WHEN result GLOB '>=*' THEN SUBSTR(result, 3)\n WHEN result GLOB '+[0-9](*)' THEN SUBSTR(result, 4, LENGTH(result) - 4)\n ELSE result\n END) AS amount\n FROM protein_results\n)\nSELECT p.ID, p.SEX, p.Birthday\nFROM Patient AS p\nWHERE EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID AND l.LDH >= 500\n)\nAND EXISTS (\n SELECT 1\n FROM protein_amounts AS u\n WHERE u.ID = p.ID\n AND u.amount GLOB '[0-9]*'\n AND u.amount NOT GLOB '*[^0-9.]*'\n AND u.amount NOT GLOB '*.*.*'\n AND CAST(u.amount AS REAL) >= 100\n)\nORDER BY p.ID;\n```", "rows": 18, "sql": "WITH protein_results AS (\n SELECT ID, TRIM(\"U-PRO\") AS result\n FROM Laboratory\n), protein_amounts AS (\n SELECT ID,\n TRIM(CASE\n WHEN result GLOB '>=*' THEN SUBSTR(result, 3)\n WHEN result GLOB '+[0-9](*)' THEN SUBSTR(result, 4, LENGTH(result) - 4)\n ELSE result\n END) AS amount\n FROM protein_results\n)\nSELECT p.ID, p.SEX, p.Birthday\nFROM Patient AS p\nWHERE EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID AND l.LDH >= 500\n)\nAND EXISTS (\n SELECT 1\n FROM protein_amounts AS u\n WHERE u.ID = p.ID\n AND u.amount GLOB '[0-9]*'\n AND u.amount NOT GLOB '*[^0-9.]*'\n AND u.amount NOT GLOB '*.*.*'\n AND CAST(u.amount AS REAL) >= 100\n)\nORDER BY p.ID;", "seconds": 30.392398666008376, "calls": [{"seconds": 2.4469730829587206, "usage": {"completion_tokens": 51, "prompt_tokens": 1842, "total_tokens": 1893, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1304, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1304, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1304, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2406049170531332, "usage": {"completion_tokens": 68, "prompt_tokens": 2216, "total_tokens": 2284, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 23, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1304, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.954713915940374, "usage": {"completion_tokens": 219, "prompt_tokens": 2440, "total_tokens": 2659, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 182, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 224, "cached_tokens": 1678, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 224, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 224, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.458172749960795, "usage": {"completion_tokens": 215, "prompt_tokens": 2715, "total_tokens": 2930, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 175, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 275, "cached_tokens": 1902, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 275, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 275, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.280398458009586, "usage": {"completion_tokens": 257, "prompt_tokens": 2992, "total_tokens": 3249, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 277, "cached_tokens": 2177, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 277, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 277, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.966265292023309, "usage": {"completion_tokens": 235, "prompt_tokens": 3759, "total_tokens": 3994, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 767, "cached_tokens": 2454, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 767, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 767, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2d357f698c973b2e6683cd8f62ff56971d72fd8d88eaa4af8b26ee68bb4812b1", "csv_sha256": "093297eaa5982a4bcd3b43547288756b8c433ed821fe775d3ff81455c71d7801"} +{"instance_id": "bird451", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT \"ID\") AS patient_count\nFROM \"Patient\"\nWHERE \"SEX\" = 'F'\n AND \"First Date\" >= '1998-01-01'\n AND \"First Date\" < '1999-01-01'\n AND \"Admission\" LIKE '+%';\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT \"ID\") AS patient_count\nFROM \"Patient\"\nWHERE \"SEX\" = 'F'\n AND \"First Date\" >= '1998-01-01'\n AND \"First Date\" < '1999-01-01'\n AND \"Admission\" LIKE '+%';", "seconds": 12.719509416958317, "calls": [{"seconds": 2.380081707960926, "usage": {"completion_tokens": 49, "prompt_tokens": 1681, "total_tokens": 1730, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1143, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1143, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1143, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.127570042037405, "usage": {"completion_tokens": 113, "prompt_tokens": 1811, "total_tokens": 1924, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 41, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 130, "cached_tokens": 1143, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 130, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 130, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1567832499276847, "usage": {"completion_tokens": 84, "prompt_tokens": 2091, "total_tokens": 2175, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 280, "cached_tokens": 1273, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 280, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 280, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.041729165939614, "usage": {"completion_tokens": 71, "prompt_tokens": 2264, "total_tokens": 2335, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 173, "cached_tokens": 1553, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 173, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 173, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f9e9d80121885e593f9662355487d5cabdf684c9b691a7e02dcb9ed94f9581d9", "csv_sha256": "36a5b05cce7028d64bb7ae54339e2de923b325116725eb3f60ca03f2b985ab94"} +{"instance_id": "bird459", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(NULLIF(e.\"aCL IgM\", 0)), 2) AS average_anticardiolipin_igm\nFROM Examination AS e\nJOIN Patient AS p ON p.ID = e.ID\nWHERE UPPER(p.Diagnosis) LIKE '%SJS%'\n AND UPPER(p.Diagnosis) NOT LIKE '%SJS SUSP%';\n```", "rows": 1, "sql": "SELECT ROUND(AVG(NULLIF(e.\"aCL IgM\", 0)), 2) AS average_anticardiolipin_igm\nFROM Examination AS e\nJOIN Patient AS p ON p.ID = e.ID\nWHERE UPPER(p.Diagnosis) LIKE '%SJS%'\n AND UPPER(p.Diagnosis) NOT LIKE '%SJS SUSP%';", "seconds": 29.81787208293099, "calls": [{"seconds": 2.2326122500235215, "usage": {"completion_tokens": 19, "prompt_tokens": 1778, "total_tokens": 1797, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1240, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1240, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1240, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.2643954580416903, "usage": {"completion_tokens": 20, "prompt_tokens": 1850, "total_tokens": 1870, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 72, "cached_tokens": 1240, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 72, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 72, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0372015830362216, "usage": {"completion_tokens": 56, "prompt_tokens": 1967, "total_tokens": 2023, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 117, "cached_tokens": 1312, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 117, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 117, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.950915125082247, "usage": {"completion_tokens": 67, "prompt_tokens": 2764, "total_tokens": 2831, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 797, "cached_tokens": 1429, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 797, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 797, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.75140770804137, "usage": {"completion_tokens": 284, "prompt_tokens": 3627, "total_tokens": 3911, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 171, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 863, "cached_tokens": 2226, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 863, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 863, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.021503624971956, "usage": {"completion_tokens": 185, "prompt_tokens": 4131, "total_tokens": 4316, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 80, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 504, "cached_tokens": 3089, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 504, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 504, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1825369159923866, "usage": {"completion_tokens": 96, "prompt_tokens": 4467, "total_tokens": 4563, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 336, "cached_tokens": 3593, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 336, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 336, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3425936250714585, "usage": {"completion_tokens": 85, "prompt_tokens": 4675, "total_tokens": 4760, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 208, "cached_tokens": 3929, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 208, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 208, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "85ddffed21d26b25fb268b4fa114abd34f85d957586e7b1b07f59e304945d030", "csv_sha256": "6d6969e64fd8f842017ce8c0c45757398892424ba4bfe71f657a53309bfe2ecb"} +{"instance_id": "bird470", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH element_counts AS (\n SELECT a.element, COUNT(*) AS atom_count\n FROM atom AS a\n JOIN molecule AS m ON m.molecule_id = a.molecule_id\n WHERE m.label = '-'\n GROUP BY a.element\n)\nSELECT element\nFROM element_counts\nWHERE atom_count = (SELECT MIN(atom_count) FROM element_counts);\n```", "rows": 3, "sql": "WITH element_counts AS (\n SELECT a.element, COUNT(*) AS atom_count\n FROM atom AS a\n JOIN molecule AS m ON m.molecule_id = a.molecule_id\n WHERE m.label = '-'\n GROUP BY a.element\n)\nSELECT element\nFROM element_counts\nWHERE atom_count = (SELECT MIN(atom_count) FROM element_counts);", "seconds": 17.63717933301814, "calls": [{"seconds": 2.9012860419461504, "usage": {"completion_tokens": 66, "prompt_tokens": 1630, "total_tokens": 1696, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1089, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1089, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1089, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.40451954107266, "usage": {"completion_tokens": 303, "prompt_tokens": 1786, "total_tokens": 2089, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 186, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 156, "cached_tokens": 1089, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 156, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 156, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4162431670119986, "usage": {"completion_tokens": 93, "prompt_tokens": 2207, "total_tokens": 2300, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 421, "cached_tokens": 1245, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 421, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 421, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.887329624965787, "usage": {"completion_tokens": 81, "prompt_tokens": 2403, "total_tokens": 2484, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 196, "cached_tokens": 1666, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 196, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 196, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "702680498a3ef3579413a5bdbafb45105ea10952933fecb1e6a893d847b934d0", "csv_sha256": "9aecc6d231b8b61845f388e456946eb06a5d65c11af1bc0cdb0fe9d6b8a32c56"} diff --git a/bench/accuracy/results/bird-development-final/gpt62-sol/scores.json b/bench/accuracy/results/bird-development-final/gpt62-sol/scores.json new file mode 100644 index 00000000..2ddab53b --- /dev/null +++ b/bench/accuracy/results/bird-development-final/gpt62-sol/scores.json @@ -0,0 +1,102 @@ +[ + { + "instance_id": "bird024", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird036", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird058", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird064", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird087", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird146", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird152", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird179", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird229", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird249", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird260", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird353", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird379", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird389", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird423", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird429", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird449", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird451", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird459", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird470", + "score": 1, + "status": "predicted" + } +] diff --git a/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird024.sql b/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird024.sql new file mode 100644 index 00000000..50853e4b --- /dev/null +++ b/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird024.sql @@ -0,0 +1,9 @@ +WITH middle_schools AS ( + SELECT SOCType, School, Latitude + FROM schools + WHERE State = 'CA' + AND (SOCType LIKE '%Middle%' OR School LIKE '%Middle%') +) +SELECT SOCType AS "School Type", School AS "School Name", Latitude +FROM middle_schools +WHERE Latitude = (SELECT MAX(Latitude) FROM middle_schools); diff --git a/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird036.sql b/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird036.sql new file mode 100644 index 00000000..d7fc4feb --- /dev/null +++ b/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird036.sql @@ -0,0 +1,33 @@ +WITH meal_rates AS ( + SELECT s.CDSCode, + s.School AS school_name, + s.Charter AS charter, + s.GSserved AS grades_served, + 1.0 * f."Free Meal Count (K-12)" / + NULLIF(f."Enrollment (K-12)", 0) AS free_meal_rate + FROM schools AS s + JOIN frpm AS f ON f.CDSCode = s.CDSCode + WHERE s.County = 'Alameda' + AND (TRIM(s.GSserved) = '12' OR TRIM(s.GSserved) LIKE '%-12') +), top_schools AS ( + SELECT CDSCode, school_name, charter, grades_served, free_meal_rate + FROM meal_rates + WHERE free_meal_rate = (SELECT MAX(free_meal_rate) FROM meal_rates) +), results AS ( + SELECT m.school_name, m.free_meal_rate, m.charter, m.grades_served, + t.AvgScrRead + t.AvgScrMath + t.AvgScrWrite AS sat_total + FROM top_schools AS m + LEFT JOIN satscores AS t ON t.cds = m.CDSCode +) +SELECT school_name, + ROUND(free_meal_rate, 4) AS free_meal_rate, + CASE charter WHEN 1 THEN 'Yes' WHEN 0 THEN 'No' ELSE 'Unknown' END AS charter_school, + grades_served, + CASE + WHEN sat_total IS NULL THEN 'No SAT Data' + WHEN sat_total < 1200 THEN 'Below Average' + WHEN sat_total <= 1500 THEN 'Average' + ELSE 'Above Average' + END AS sat_performance_level +FROM results +ORDER BY school_name; diff --git a/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird058.sql b/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird058.sql new file mode 100644 index 00000000..262c6652 --- /dev/null +++ b/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird058.sql @@ -0,0 +1,9 @@ +WITH french_printings AS ( + SELECT DISTINCT uuid + FROM foreign_data + WHERE language = 'French' +) +SELECT ROUND(100.0 * COUNT(f.uuid) / NULLIF(COUNT(*), 0), 2) AS french_translation_percentage +FROM cards AS c +LEFT JOIN french_printings AS f ON f.uuid = c.uuid +WHERE c.power IS NULL OR INSTR(c.power, '*') > 0; diff --git a/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird064.sql b/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird064.sql new file mode 100644 index 00000000..e4d623ba --- /dev/null +++ b/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird064.sql @@ -0,0 +1,5 @@ +SELECT COUNT(*) AS card_count +FROM cards +WHERE borderColor = 'black' + AND instr(',' || availability || ',', ',mtgo,') > 0 + AND CAST(power AS INTEGER) >= 10; diff --git a/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird087.sql b/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird087.sql new file mode 100644 index 00000000..28bd9bc7 --- /dev/null +++ b/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird087.sql @@ -0,0 +1,7 @@ +SELECT COUNT(*) AS total_rulings +FROM ( + SELECT DISTINCT r.date, r.text + FROM rulings AS r + JOIN cards AS c ON c.uuid = r.uuid + WHERE c.name = 'Fireball' +) AS unique_rulings; diff --git a/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird146.sql b/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird146.sql new file mode 100644 index 00000000..3762ca04 --- /dev/null +++ b/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird146.sql @@ -0,0 +1,19 @@ +WITH RECURSIVE months(month_start) AS ( + SELECT '2010-01-01' + UNION ALL + SELECT date(month_start, '+1 month') + FROM months + WHERE month_start < '2010-12-01' +), monthly_counts AS ( + SELECT date(pl.CreationDate, 'start of month') AS month_start, + COUNT(DISTINCT p.Id) AS post_count + FROM postLinks AS pl + JOIN posts AS p ON p.Id = pl.RelatedPostId + WHERE pl.CreationDate >= '2010-01-01' + AND pl.CreationDate < '2011-01-01' + AND p.AnswerCount <= 2 + GROUP BY date(pl.CreationDate, 'start of month') +) +SELECT ROUND(AVG(COALESCE(mc.post_count, 0)), 2) AS average_monthly_posts +FROM months AS m +LEFT JOIN monthly_counts AS mc ON mc.month_start = m.month_start; diff --git a/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird152.sql b/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird152.sql new file mode 100644 index 00000000..569ec701 --- /dev/null +++ b/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird152.sql @@ -0,0 +1,15 @@ +SELECT COUNT(DISTINCT c.CustomerID) AS customer_count +FROM customers AS c +WHERE c.Currency = 'EUR' + AND EXISTS ( + SELECT 1 + FROM yearmonth AS y + WHERE y.CustomerID = c.CustomerID + AND y.Date >= '201201' AND y.Date < '201301' + ) + AND EXISTS ( + SELECT 1 + FROM yearmonth AS y + WHERE y.CustomerID = c.CustomerID + AND y.Date >= '201301' AND y.Date < '201401' + ); diff --git a/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird179.sql b/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird179.sql new file mode 100644 index 00000000..a989ca41 --- /dev/null +++ b/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird179.sql @@ -0,0 +1,18 @@ +SELECT p.player_name, COUNT(m.id) AS matches_played +FROM Player AS p +LEFT JOIN "Match" AS m + ON m.season = '2015/2016' + AND p.player_api_id IN ( + m.home_player_1, m.home_player_2, m.home_player_3, + m.home_player_4, m.home_player_5, m.home_player_6, + m.home_player_7, m.home_player_8, m.home_player_9, + m.home_player_10, m.home_player_11, + m.away_player_1, m.away_player_2, m.away_player_3, + m.away_player_4, m.away_player_5, m.away_player_6, + m.away_player_7, m.away_player_8, m.away_player_9, + m.away_player_10, m.away_player_11 + ) +WHERE p.player_name LIKE 'Adam%' + AND p.weight > 170 +GROUP BY p.id, p.player_name +ORDER BY p.player_name, p.id; diff --git a/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird229.sql b/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird229.sql new file mode 100644 index 00000000..2d61cead --- /dev/null +++ b/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird229.sql @@ -0,0 +1,14 @@ +SELECT SUM(CASE t.k_symbol + WHEN 'UROK' THEN t.amount + WHEN 'SANKC. UROK' THEN -t.amount + END) AS net_interest_czk +FROM trans AS t +WHERE t.date >= '1998-01-01' + AND t.date < '1999-01-01' + AND t.k_symbol IN ('UROK', 'SANKC. UROK') + AND EXISTS ( + SELECT 1 + FROM disp AS d + WHERE d.client_id = 2823 + AND d.account_id = t.account_id + ); diff --git a/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird249.sql b/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird249.sql new file mode 100644 index 00000000..c0488052 --- /dev/null +++ b/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird249.sql @@ -0,0 +1,7 @@ +SELECT d.forename || ' ' || d.surname AS full_name +FROM drivers AS d +JOIN lapTimes AS lt ON lt.driverId = d.driverId +WHERE lt.milliseconds IS NOT NULL +GROUP BY d.driverId, d.forename, d.surname +ORDER BY MIN(lt.milliseconds) ASC, d.driverId ASC +LIMIT 20; diff --git a/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird260.sql b/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird260.sql new file mode 100644 index 00000000..5d507616 --- /dev/null +++ b/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird260.sql @@ -0,0 +1,8 @@ +SELECT d.driverRef, d.nationality, d.dob +FROM qualifying AS q +JOIN races AS r ON r.raceId = q.raceId +JOIN drivers AS d ON d.driverId = q.driverId +WHERE r.year = 2017 + AND r.name = 'Italian Grand Prix' + AND NULLIF(TRIM(q.q2), '') IS NOT NULL + AND NULLIF(TRIM(q.q3), '') IS NULL; diff --git a/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird353.sql b/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird353.sql new file mode 100644 index 00000000..d3a30a30 --- /dev/null +++ b/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird353.sql @@ -0,0 +1,11 @@ +WITH powers_per_hero AS ( + SELECT h.id, COUNT(DISTINCT hp.power_id) AS power_count + FROM superhero AS h + JOIN race AS r ON r.id = h.race_id + JOIN gender AS g ON g.id = h.gender_id + LEFT JOIN hero_power AS hp ON hp.hero_id = h.id + WHERE r.race = 'God / Eternal' AND g.gender = 'Male' + GROUP BY h.id +) +SELECT ROUND(AVG(power_count), 2) AS average_superpowers +FROM powers_per_hero; diff --git a/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird379.sql b/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird379.sql new file mode 100644 index 00000000..337f7df4 --- /dev/null +++ b/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird379.sql @@ -0,0 +1,11 @@ +SELECT ROUND(100.0 * COUNT(CASE WHEN a.alignment = 'Good' THEN 1 END) / COUNT(*), 2) AS percentage +FROM superhero AS h +JOIN publisher AS p ON p.id = h.publisher_id +LEFT JOIN alignment AS a ON a.id = h.alignment_id +WHERE p.publisher_name = 'Marvel Comics' + AND EXISTS ( + SELECT 1 + FROM hero_power AS hp + JOIN superpower AS sp ON sp.id = hp.power_id + WHERE hp.hero_id = h.id + ); diff --git a/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird389.sql b/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird389.sql new file mode 100644 index 00000000..4296c9d7 --- /dev/null +++ b/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird389.sql @@ -0,0 +1,15 @@ +SELECT COUNT(DISTINCT p.ID) AS patient_count +FROM Patient AS p +WHERE p.SEX = 'F' + AND EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND l.SC170 IN ('negative', '0') + ) + AND NOT EXISTS ( + SELECT 1 + FROM Examination AS e + WHERE e.ID = p.ID + AND e.Symptoms IS NOT NULL + ); diff --git a/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird423.sql b/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird423.sql new file mode 100644 index 00000000..15ea9ed7 --- /dev/null +++ b/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird423.sql @@ -0,0 +1,14 @@ +SELECT COUNT(DISTINCT p.ID) AS patient_count +FROM Patient AS p +WHERE EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND LOWER(TRIM(l.SSA)) NOT IN ('negative', '0') +) +AND EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND LOWER(TRIM(l."U-PRO")) NOT IN ('negative', 'none', '-', '0') +); diff --git a/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird429.sql b/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird429.sql new file mode 100644 index 00000000..8b6859dd --- /dev/null +++ b/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird429.sql @@ -0,0 +1,14 @@ +WITH lab_results AS ( + SELECT ID, FG, TRIM("U-PRO") AS protein + FROM Laboratory +) +SELECT COUNT(DISTINCT p.ID) AS eligible_patient_count +FROM Patient AS p +JOIN lab_results AS l ON l.ID = p.ID +WHERE DATE(p.Birthday) > '1980-01-01' + AND ( + l.FG < 150 OR l.FG > 450 + OR l.protein IN ('3', '4', '3+', '4+') + OR CAST(CASE WHEN l.protein LIKE '>=%' THEN SUBSTR(l.protein, 3) + ELSE l.protein END AS REAL) >= 300 + ); diff --git a/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird449.sql b/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird449.sql new file mode 100644 index 00000000..a9c5d438 --- /dev/null +++ b/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird449.sql @@ -0,0 +1,29 @@ +WITH protein_results AS ( + SELECT ID, TRIM("U-PRO") AS result + FROM Laboratory +), protein_amounts AS ( + SELECT ID, + TRIM(CASE + WHEN result GLOB '>=*' THEN SUBSTR(result, 3) + WHEN result GLOB '+[0-9](*)' THEN SUBSTR(result, 4, LENGTH(result) - 4) + ELSE result + END) AS amount + FROM protein_results +) +SELECT p.ID, p.SEX, p.Birthday +FROM Patient AS p +WHERE EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID AND l.LDH >= 500 +) +AND EXISTS ( + SELECT 1 + FROM protein_amounts AS u + WHERE u.ID = p.ID + AND u.amount GLOB '[0-9]*' + AND u.amount NOT GLOB '*[^0-9.]*' + AND u.amount NOT GLOB '*.*.*' + AND CAST(u.amount AS REAL) >= 100 +) +ORDER BY p.ID; diff --git a/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird451.sql b/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird451.sql new file mode 100644 index 00000000..a15beb76 --- /dev/null +++ b/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird451.sql @@ -0,0 +1,6 @@ +SELECT COUNT(DISTINCT "ID") AS patient_count +FROM "Patient" +WHERE "SEX" = 'F' + AND "First Date" >= '1998-01-01' + AND "First Date" < '1999-01-01' + AND "Admission" LIKE '+%'; diff --git a/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird459.sql b/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird459.sql new file mode 100644 index 00000000..125719ae --- /dev/null +++ b/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird459.sql @@ -0,0 +1,5 @@ +SELECT ROUND(AVG(NULLIF(e."aCL IgM", 0)), 2) AS average_anticardiolipin_igm +FROM Examination AS e +JOIN Patient AS p ON p.ID = e.ID +WHERE UPPER(p.Diagnosis) LIKE '%SJS%' + AND UPPER(p.Diagnosis) NOT LIKE '%SJS SUSP%'; diff --git a/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird470.sql b/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird470.sql new file mode 100644 index 00000000..64e4f51a --- /dev/null +++ b/bench/accuracy/results/bird-development-final/gpt62-sol/sql/bird470.sql @@ -0,0 +1,10 @@ +WITH element_counts AS ( + SELECT a.element, COUNT(*) AS atom_count + FROM atom AS a + JOIN molecule AS m ON m.molecule_id = a.molecule_id + WHERE m.label = '-' + GROUP BY a.element +) +SELECT element +FROM element_counts +WHERE atom_count = (SELECT MIN(atom_count) FROM element_counts); diff --git a/bench/accuracy/results/bird-development-final/gpt62-sol/status.json b/bench/accuracy/results/bird-development-final/gpt62-sol/status.json new file mode 100644 index 00000000..93a9b8f1 --- /dev/null +++ b/bench/accuracy/results/bird-development-final/gpt62-sol/status.json @@ -0,0 +1,4 @@ +{ + "status": "completed", + "wall_seconds": 113.68455899995752 +} diff --git a/bench/accuracy/results/bird-development-final/manifest.json b/bench/accuracy/results/bird-development-final/manifest.json new file mode 100644 index 00000000..6e6fb675 --- /dev/null +++ b/bench/accuracy/results/bird-development-final/manifest.json @@ -0,0 +1,647 @@ +{ + "benchmark": "BIRD Mini-Dev SQLite 500 (2026-10-25)", + "upstream_commit": "5b256b5a9c17478f06ed6912612e9a14d17065c8", + "question_file_sha256": "926af2a0d1b47e5d0d15a7aa8a34d4721007f4550a881555b6a89496b54a2606", + "evaluator_sha256": "da1bbcd4530be83692d7c650c814ea9704bb710d0c953eb75d02ccb38233cf89", + "cases": [ + { + "instance_id": "bird024", + "db": "california_schools", + "question": "We're relocating to far Northern California and want to know how far north California's middle schools reach. A middle school means a school serving the middle grades, the level between elementary school and high school — count it as a middle school if either its school type or its school name marks it as serving the middle grades, so a junior high school whose name says 'Middle' counts. Include both open and closed schools. Please tell me which middle school is located furthest north in California, along with its school type (the value of the field named 'School Type'), its school name, and its latitude in degrees. If several middle schools tie for the highest latitude, list all of them.", + "evidence": "middle school: a school serving the middle grades, the level between elementary school and high school" + }, + { + "instance_id": "bird036", + "db": "california_schools", + "question": "I'm putting together a profile of Alameda County high schools, focusing on economic disadvantage among schools that serve up through 12th grade. Among those schools, can you tell me which one has the highest free meal rate? For each school you identify, give me one line with: the school name, its free meal rate to 4 decimal places, whether it is a charter school (Yes/No/Unknown), the grades it serves, and its SAT performance level (Below Average, Average, Above Average, or No SAT Data). Please use the school's grade span of enrollment from the school directory (the GSserved field of the schools table) both to decide whether it serves up through 12th grade and for the grades-it-serves column-do not use the free-meal program record's Low Grade/High Grade for either. If several schools tie for the highest free meal rate, list every one of them.", + "evidence": "Free meal rate = Free Meal Count (K-12) / Enrollment (K-12). SAT performance level is based on the SAT total (Reading + Math + Writing): Below Average if below 1200, Average if 1200 to 1500, Above Average if above 1500, and 'No SAT Data' if no SAT scores are available." + }, + { + "instance_id": "bird058", + "db": "card_games", + "question": "Among card printings with no recorded power value or a variable power expression, what percentage have a French translation? Round to two decimals.", + "evidence": "An asterisk anywhere in a power expression denotes variable power." + }, + { + "instance_id": "bird064", + "db": "card_games", + "question": "How many black-border cards with power 10 or greater are available on Magic: The Gathering Online? I just want a single number.", + "evidence": "Black-border cards are the tournament-legal Magic cards, excluding the joke silver-bordered sets. Power is the first number in the lower-right corner of a creature card." + }, + { + "instance_id": "bird087", + "db": "card_games", + "question": "I'm compiling the official rulings archive for the Magic: The Gathering card Fireball. How many official rulings have ever been issued for Fireball? I need the total across all time, with no date restriction.", + "evidence": "A ruling is an official clarification issued by Wizards of the Coast about how a card works." + }, + { + "instance_id": "bird146", + "db": "codebase_community", + "question": "For each month of 2010, how many posts that have no more than two answers received a link during that month? A month with none counts as zero. Give me the average across all twelve months of 2010, rounded to two decimals.", + "evidence": "A link is a recorded connection that associates one post with another post of the site." + }, + { + "instance_id": "bird152", + "db": "debit_card_specializing", + "question": "How many customers who pay in EUR and had gas consumption in 2012 also had gas consumption in 2013? I just need a single number: the count of such customers. By 2012 and 2013 I mean those calendar years, and gas consumption in any month of the year counts.", + "evidence": "" + }, + { + "instance_id": "bird179", + "db": "european_football_2", + "question": "I'm putting together a participation report for the 2015/2016 season. For every player whose name starts with Adam and who weighs more than 170, I need the number of matches he played during that season. Please return, one row per qualifying player, the player's name and his number of matches played in the 2015/2016 season, and nothing else. The season I mean is the one labeled '2015/2016'.", + "evidence": "Played a match means being named in that match's lineup, for either the home or the away team." + }, + { + "instance_id": "bird229", + "db": "financial", + "question": "I'm closing the 1998 books for client 2823's account and need to reconcile the interest. What was the net interest on that account for calendar year 1998 (1 January through 31 December 1998) – interest credited minus penalty interest charged, with penalty interest entering as negative – as a single exact amount in CZK, not rounded? Please include everything credited or charged over the year; the client's account is one account, regardless of the disposition it carries.", + "evidence": "'UROK' is the bank's code for interest credited to an account; penalty (sanction) interest charged to an account uses the bank's sanction-interest code, which is built on the same interest code." + }, + { + "instance_id": "bird249", + "db": "formula_1", + "question": "Which 20 drivers recorded the shortest single lap times in Formula 1 races? Give their full names, shortest lap first.", + "evidence": "" + }, + { + "instance_id": "bird260", + "db": "formula_1", + "question": "For the 2017 Italian Grand Prix, I'd like to identify the drivers who completed the second qualifying session (Q2) but were knocked out and did not reach Q3. Please list every such driver - no ranking, cutoff or tie-break, just all of them - showing each driver's reference name, nationality and birthday, and nothing else.", + "evidence": "Formula 1 qualifying is run in three timed sessions, Q1, Q2 and Q3; completing a session means the driver recorded a lap time in that session, and only drivers who complete a session move on to the next. The reference name is the driver's short identifier." + }, + { + "instance_id": "bird353", + "db": "superhero", + "question": "Hey, following up on my count of the God / Eternal heroes – among those who are male, what's the average number of superpowers per hero? Just give me the average rounded to two decimal places.", + "evidence": "A superpower is any power linked to a hero." + }, + { + "instance_id": "bird379", + "db": "superhero", + "question": "What percentage of Marvel Comics superheroes with a recorded superpower are classified as good? Round the percentage to two decimal places, and give me just that single value.", + "evidence": "Good means alignment 'Good'; superpower refers to a hero's recorded power." + }, + { + "instance_id": "bird389", + "db": "thrombosis_prediction", + "question": "How many distinct female patients have a normal anti-Scl-70 result and no recorded non-null symptom on any examination?", + "evidence": "Normal anti-Scl-70 is recorded as 'negative' or '0'." + }, + { + "instance_id": "bird423", + "db": "thrombosis_prediction", + "question": "I'd like to know how many patients on record have both an abnormal anti-SSA antibody result and a positive proteinuria finding at some point in their record. Abnormal anti-SSA means any recorded test result other than negative or zero. Proteinuria counts as positive if any urine test on file returned a result other than negative or none. The two findings don't need to come from the same visit – I'm looking across each patient's entire record. Please just give me the number of such patients.", + "evidence": "anti-SSA: anti-SSA antibody laboratory test; proteinuria: protein found in the urine" + }, + { + "instance_id": "bird429", + "db": "thrombosis_prediction", + "question": "I'm screening our thrombosis cohort for a study and need an eligibility count. How many patients born after 1980-01-01 had at least one abnormal fibrinogen result or at least one severe proteinuria result? A fibrinogen result is abnormal if it's below 150 or above 450; the normal range 150-450 is inclusive. Severe proteinuria means 300 mg/dl or more on the urinalysis scale, i.e., dipstick 3+ or 4+; trace, 1+ and 2+ are not severe. I just need the single count, nothing else.", + "evidence": "Urinalysis protein scale: '-' and '0' mean no protein, 'TR' means trace, grades '1','2','3','4' mean 1+ to 4+, where 3+ is about 300 mg/dl and 4+ about 1000 mg/dl or more; a plain number is a reading in mg/dl, and a '>=' prefix means 'or more'." + }, + { + "instance_id": "bird449", + "db": "thrombosis_prediction", + "question": "I'm putting together a renal-involvement review. Could you pull the demographics of patients who show both marked tissue damage and clinically significant proteinuria? Specifically, I need the patient ID, sex, and birthday of every patient who has at least one LDH result of 500 or higher and at least one urinary protein result of 100 mg/dL or more. A few details: an LDH of exactly 500 counts, and a urinary protein of exactly 100 mg/dL counts. The qualifying LDH and the qualifying urinary protein don't have to come from the same lab visit. Please give me one row per patient, ordered by patient ID, and nothing beyond those three fields.", + "evidence": "Urinary protein is reported in mg/dL; a dipstick grade may carry the equivalent concentration in mg/dL in parentheses, e.g. '+2(100)' is 100 mg/dL. A result written as '>=' followed by a value means at least that many mg/dL, e.g. '>=300' is 300 mg/dL or more. 'TR' means a trace and '-' means none detected; any other marker is not a quantified mg/dL concentration. An LDH of 500 or higher is outside the normal range." + }, + { + "instance_id": "bird451", + "db": "thrombosis_prediction", + "question": "I need the number of female patients whose first visit to the hospital fell in 1998 (1 January 1998 through 31 December 1998) and who were admitted to the hospital. Only count patients whose sex is recorded as female; if there is no sex entry, don't count them.", + "evidence": "An admission mark beginning with a plus sign means the patient was admitted to the hospital; a minus sign means the patient was followed at the outpatient clinic." + }, + { + "instance_id": "bird459", + "db": "thrombosis_prediction", + "question": "I'm studying antiphospholipid antibodies in Sjögren's syndrome (SJS). Could you tell me the average anti-cardiolipin IgM concentration among SJS patients, rounded to two decimal places? To clarify: use only patients with an established SJS diagnosis recorded at the patient level (a diagnosis marked 'susp', such as 'SJS susp', is only a suspicion and those patients should not be included). Include every examination recorded for these patients regardless of date. A recorded anti-cardiolipin IgM value of 0 means the antibody was not detected at that examination, so treat it as no measurement and leave it out of the average - count only examinations where a concentration was detected.", + "evidence": "SJS is the abbreviation used for Sjögren's syndrome; a diagnosis marked 'susp' (e.g. 'SJS susp') is only a suspicion of the disease, not an established diagnosis." + }, + { + "instance_id": "bird470", + "db": "toxicology", + "question": "Which elements have the fewest atom occurrences across non-carcinogenic molecules? Include all elements tied for the minimum.", + "evidence": "A '-' carcinogenicity label means non-carcinogenic." + } + ], + "db_sha256": { + "california_schools": "c0903eec662e63068fd1d14403d3d6c1d473287fc10c4356333ea58f878db983", + "card_games": "c98bdb57fe7474da798b407785544b9af0daaad5d61fd21e2a73309493bc1227", + "codebase_community": "92101be6d2a9f6adceea59d38f6d1c556087f9eea1432432a21268cb1348036d", + "debit_card_specializing": "b3d149ad05746dbbe5116e229e17e18f09c39db43cf117d9ef3441753608b691", + "european_football_2": "f72f5c9b990371417288a67b27a02e601ef904d45525c2c9f7931fb01001c536", + "financial": "d15d89cdb068a202b6f2b99342af44dffc1d52545b39ceaf62efdc0ba570101e", + "formula_1": "79770caf966707e35516fa566e24b40ae515c74ec1ec4631235245645b87b24d", + "student_club": "eb89bcfe97eefa386a27904ec5aa15159811a7eac894ec659a36e48fa9f76b77", + "superhero": "75e94a2c3236ee3bb2c01fb97a1c4b4c1c269bcefd4eab1d04be323d2d0825b1", + "thrombosis_prediction": "87583183c3dc472fba04de702965560a9d7c0a548836613f242317e0eeb83f00", + "toxicology": "4df4094208e0799d5e5f0e2b5bc5c415cf87b1208ebaf8f4c14c7af445b682c5" + }, + "suite": "bird", + "development_ids": [ + "bird058", + "bird024", + "bird451", + "bird229", + "bird146", + "bird389", + "bird152", + "bird353", + "bird064", + "bird087", + "bird260", + "bird449", + "bird249", + "bird470", + "bird379", + "bird179", + "bird036", + "bird429", + "bird459", + "bird423" + ], + "holdout_ids": [ + "bird023", + "bird238", + "bird358", + "bird324", + "bird155", + "bird267", + "bird110", + "bird192", + "bird226", + "bird365", + "bird128", + "bird381", + "bird305", + "bird408", + "bird001", + "bird413", + "bird120", + "bird432", + "bird160", + "bird027", + "bird199", + "bird095", + "bird407", + "bird091", + "bird489", + "bird209", + "bird194", + "bird313", + "bird015", + "bird051", + "bird270", + "bird130", + "bird427", + "bird167", + "bird360", + "bird061", + "bird450", + "bird097", + "bird032", + "bird341", + "bird006", + "bird156", + "bird471", + "bird119", + "bird369", + "bird256", + "bird057", + "bird222", + "bird361", + "bird205", + "bird356", + "bird279", + "bird412", + "bird488", + "bird496", + "bird295", + "bird404", + "bird390", + "bird417", + "bird440", + "bird211", + "bird487", + "bird005", + "bird299", + "bird397", + "bird346", + "bird315", + "bird484", + "bird472", + "bird162", + "bird428", + "bird254", + "bird349", + "bird017", + "bird446", + "bird232", + "bird236", + "bird071", + "bird063", + "bird244", + "bird062", + "bird157", + "bird480", + "bird185", + "bird248", + "bird463", + "bird035", + "bird345", + "bird088", + "bird072", + "bird443", + "bird135", + "bird474", + "bird275", + "bird495", + "bird148", + "bird444", + "bird331", + "bird060", + "bird431", + "bird416", + "bird117", + "bird410", + "bird079", + "bird326", + "bird105", + "bird436", + "bird383", + "bird139", + "bird350", + "bird182", + "bird485", + "bird132", + "bird245", + "bird424", + "bird292", + "bird098", + "bird030", + "bird329", + "bird430", + "bird191", + "bird455", + "bird434", + "bird348", + "bird026", + "bird011", + "bird089", + "bird212", + "bird103", + "bird083", + "bird008", + "bird074", + "bird050", + "bird106", + "bird259", + "bird376", + "bird067", + "bird193", + "bird055", + "bird044", + "bird264", + "bird198", + "bird003", + "bird075", + "bird380", + "bird033", + "bird025", + "bird301", + "bird196", + "bird114", + "bird077", + "bird303", + "bird204", + "bird366", + "bird240", + "bird123", + "bird195", + "bird333", + "bird158", + "bird112", + "bird469", + "bird493", + "bird368", + "bird306", + "bird462", + "bird490", + "bird285", + "bird246", + "bird373", + "bird273", + "bird289", + "bird276", + "bird168", + "bird342", + "bird492", + "bird387", + "bird337", + "bird189", + "bird184", + "bird401", + "bird352", + "bird200", + "bird280", + "bird002", + "bird048", + "bird186", + "bird174", + "bird498", + "bird141", + "bird239", + "bird039", + "bird216", + "bird022", + "bird332", + "bird294", + "bird045", + "bird169", + "bird172", + "bird040", + "bird242", + "bird107", + "bird250", + "bird382", + "bird491", + "bird347", + "bird076", + "bird497", + "bird116", + "bird374", + "bird262", + "bird453", + "bird171", + "bird043", + "bird217", + "bird178", + "bird257", + "bird386", + "bird396", + "bird181", + "bird439", + "bird419", + "bird415", + "bird111", + "bird164", + "bird414", + "bird406", + "bird296", + "bird101", + "bird409", + "bird251", + "bird118", + "bird268", + "bird086", + "bird010", + "bird056", + "bird127", + "bird210", + "bird122", + "bird161", + "bird367", + "bird218", + "bird457", + "bird144", + "bird372", + "bird286", + "bird370", + "bird154", + "bird124", + "bird084", + "bird177", + "bird099", + "bird143", + "bird435", + "bird402", + "bird336", + "bird479", + "bird125", + "bird290", + "bird335", + "bird094", + "bird300", + "bird482", + "bird466", + "bird214", + "bird281", + "bird392", + "bird082", + "bird233", + "bird013", + "bird478", + "bird153", + "bird420", + "bird477", + "bird096", + "bird258", + "bird247", + "bird494", + "bird351", + "bird344", + "bird081", + "bird241", + "bird473", + "bird355", + "bird049", + "bird384", + "bird037", + "bird145", + "bird377", + "bird224", + "bird481", + "bird009", + "bird159", + "bird411", + "bird421", + "bird458", + "bird448", + "bird029", + "bird137", + "bird163", + "bird134", + "bird225", + "bird468", + "bird034", + "bird080", + "bird271", + "bird100", + "bird263", + "bird325", + "bird398", + "bird093", + "bird452", + "bird066", + "bird031", + "bird287", + "bird007", + "bird235", + "bird312", + "bird340", + "bird362", + "bird028", + "bird019", + "bird298", + "bird138", + "bird418", + "bird359", + "bird046", + "bird113", + "bird230", + "bird073", + "bird202", + "bird070", + "bird433", + "bird265", + "bird322", + "bird021", + "bird314", + "bird311", + "bird394", + "bird004", + "bird391", + "bird140", + "bird425", + "bird321", + "bird282", + "bird221", + "bird183", + "bird228", + "bird078", + "bird467", + "bird012", + "bird147", + "bird197", + "bird109", + "bird266", + "bird316", + "bird283", + "bird378", + "bird483", + "bird441", + "bird085", + "bird310", + "bird475", + "bird297", + "bird261", + "bird388", + "bird339", + "bird170", + "bird447", + "bird129", + "bird486", + "bird136", + "bird052", + "bird375", + "bird288", + "bird456", + "bird165", + "bird476", + "bird219", + "bird338", + "bird499", + "bird059", + "bird255", + "bird464", + "bird302", + "bird357", + "bird142", + "bird393", + "bird328", + "bird215", + "bird042", + "bird284", + "bird277", + "bird102", + "bird272", + "bird020", + "bird307", + "bird330", + "bird304", + "bird442", + "bird253", + "bird000", + "bird454", + "bird363", + "bird223", + "bird047", + "bird220", + "bird231", + "bird400", + "bird465", + "bird385", + "bird309", + "bird206", + "bird445", + "bird461", + "bird317", + "bird237", + "bird399", + "bird422", + "bird460", + "bird175", + "bird318", + "bird108", + "bird069", + "bird068", + "bird092", + "bird173", + "bird234", + "bird090", + "bird014", + "bird151", + "bird213", + "bird018", + "bird133", + "bird187", + "bird269", + "bird131", + "bird203", + "bird308", + "bird180", + "bird054", + "bird405", + "bird395", + "bird364", + "bird121", + "bird371", + "bird293", + "bird038", + "bird426", + "bird252", + "bird104", + "bird190", + "bird188", + "bird354", + "bird201", + "bird207", + "bird437", + "bird291", + "bird334", + "bird274", + "bird065", + "bird403", + "bird278", + "bird126", + "bird176", + "bird208", + "bird053", + "bird150", + "bird320", + "bird323", + "bird115", + "bird327", + "bird166", + "bird149", + "bird438", + "bird041", + "bird343", + "bird319", + "bird016", + "bird227", + "bird243" + ], + "split_seed": 20261126 +} diff --git a/bench/accuracy/results/bird-development-final/settings.json b/bench/accuracy/results/bird-development-final/settings.json new file mode 100644 index 00000000..9f3c263b --- /dev/null +++ b/bench/accuracy/results/bird-development-final/settings.json @@ -0,0 +1,42 @@ +{ + "profiles": [ + { + "name": "gpt62-sol", + "model": "openai/gpt-6.2-sol", + "api_key_env": "OPEN_AI_KEY", + "max_output_tokens": 8192, + "reasoning_effort": "high", + "transport_retries": 1, + "retry_delay_seconds": 1 + } + ], + "split": "development", + "product_commit": "4e1b48a", + "manifest_sha256": "a08d40046ae163174d4ceace18633c26449c785366504b502dda42d70d92c7c1", + "sources": { + "bench/ecommerce_demo.py": "f75f4c82e07773a57ee1954d59f0acf35c9eb945430bdaea4ccdd98a35dcc86c", + "bench/oracle_demo.py": "c781b9501dea47b7900bb47e3fe41e2700d2153e85e087dce757f95e3e698b0e", + "bench/oracle_view/rehearse.py": "0114ce65327e435d4e3be6cab60e22b48bfb3ff7f06d97c14a16ea0d8e5602f2", + "bench/oracle_view/long_context.py": "089038788a9b4191946c906e470877bd246850d0a6d535809594a0bddfdcd47e", + "bench/oracle_view/codex_demo.py": "2eea87d833ca6a73a50255fa83927c6c560e2390df6c65e217263b2d3bb966c6", + "bench/oracle_view/summarize_context.py": "707b288be6637a7c8a45b957ef44a81cfb091c7fa5b249e9407a2a9b07e66626", + "bench/oracle_view/evaluate.py": "10685e37fbb2420242ebf5f88f988f3d5bccebc45465151f53ab8454e8fb5a3c", + "bench/oracle_co/session.py": "ff839e7497d9e06ca18a248993bac3c556d256ade7311c604d1f55926c195acb", + "bench/oracle_co/demo.py": "a8ac981bb35d0d77595b2441721cde4e458fb63c3fb7c1748a14bab4a187300a", + "bench/oracle_co/db_preview.py": "9a08766183d5f9542442ba41666d998fe024926e676799ffac5d751237ee0d64", + "bench/accuracy/evaluate.py": "fb63626cf53df8545262ed75284adf2d78d64cbda5f80543661c4a6c2f51bac7", + "bench/oracle_meeting/rehearse.py": "542664b6f04ae6a9606735b550fc2ce2f50df6fc0513384ebf4c654136974cd3", + "bench/oracle_meeting/codex_rehearse.py": "cfa84091da819ab1cb71d083c3ff77cc7fd79b8560de2108626e6d4c3bd8a3aa", + "bench/oracle_meeting/package_fault.py": "c7bb3552f167bafcbc084152deb66e187b3a6fa4de3dfed92cc00c7588bc1fe2", + "bench/spider2/providers.py": "56dec4b5de751acb31a686a2ec6a279be9a8be32dc7939d20487ec428d130aef", + "bench/spider2/evaluate.py": "e69628766439b40d4a524d9a23890b9399dd4357f4550fac5ae72f74c2bc91f7" + }, + "limits": { + "max_calls": 16, + "call_timeout": 180, + "case_timeout": 900, + "sql_timeout": 30, + "max_rows": 100000, + "concurrency": 4 + } +} diff --git a/bench/accuracy/results/bird-development-final/summary.json b/bench/accuracy/results/bird-development-final/summary.json new file mode 100644 index 00000000..c48e01ba --- /dev/null +++ b/bench/accuracy/results/bird-development-final/summary.json @@ -0,0 +1,8 @@ +[ + { + "profile": "gpt62-sol", + "correct": 18, + "total": 20, + "accuracy": 0.9 + } +] diff --git a/bench/accuracy/results/bird-development-v1/gpt62-sol/records.jsonl b/bench/accuracy/results/bird-development-v1/gpt62-sol/records.jsonl new file mode 100644 index 00000000..1f1315e3 --- /dev/null +++ b/bench/accuracy/results/bird-development-v1/gpt62-sol/records.jsonl @@ -0,0 +1,20 @@ +{"instance_id": "bird024", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH school_records AS (\n SELECT f.\"School Type\" AS school_type,\n COALESCE(f.\"School Type\", s.SOCType) AS type_for_matching,\n COALESCE(f.\"School Name\", s.School) AS school_name,\n s.Latitude AS latitude\n FROM schools AS s\n LEFT JOIN frpm AS f ON f.CDSCode = s.CDSCode\n WHERE s.State = 'CA' AND s.Latitude IS NOT NULL\n), middle_schools AS (\n SELECT school_type, school_name, latitude\n FROM school_records\n WHERE type_for_matching IN ('Intermediate/Middle Schools (Public)', 'Junior High Schools (Public)')\n OR (' ' || LOWER(school_name) || ' ') GLOB '*[^a-z0-9]middle[^a-z0-9]*'\n OR (' ' || LOWER(school_name) || ' ') GLOB '*[^a-z0-9]intermediate[^a-z0-9]*'\n OR (' ' || LOWER(school_name) || ' ') GLOB '*[^a-z0-9]junior high[^a-z0-9]*'\n)\nSELECT school_type AS \"School Type\", school_name AS \"School Name\", latitude AS Latitude\nFROM middle_schools\nWHERE latitude = (SELECT MAX(latitude) FROM middle_schools)\nORDER BY school_name, school_type;\n```", "rows": 1, "sql": "WITH school_records AS (\n SELECT f.\"School Type\" AS school_type,\n COALESCE(f.\"School Type\", s.SOCType) AS type_for_matching,\n COALESCE(f.\"School Name\", s.School) AS school_name,\n s.Latitude AS latitude\n FROM schools AS s\n LEFT JOIN frpm AS f ON f.CDSCode = s.CDSCode\n WHERE s.State = 'CA' AND s.Latitude IS NOT NULL\n), middle_schools AS (\n SELECT school_type, school_name, latitude\n FROM school_records\n WHERE type_for_matching IN ('Intermediate/Middle Schools (Public)', 'Junior High Schools (Public)')\n OR (' ' || LOWER(school_name) || ' ') GLOB '*[^a-z0-9]middle[^a-z0-9]*'\n OR (' ' || LOWER(school_name) || ' ') GLOB '*[^a-z0-9]intermediate[^a-z0-9]*'\n OR (' ' || LOWER(school_name) || ' ') GLOB '*[^a-z0-9]junior high[^a-z0-9]*'\n)\nSELECT school_type AS \"School Type\", school_name AS \"School Name\", latitude AS Latitude\nFROM middle_schools\nWHERE latitude = (SELECT MAX(latitude) FROM middle_schools)\nORDER BY school_name, school_type;", "seconds": 34.29450983402785, "calls": [{"seconds": 2.396459374926053, "usage": {"completion_tokens": 19, "prompt_tokens": 1607, "total_tokens": 1626, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1208, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1208, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1208, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 2.1941521250410005, "usage": {"completion_tokens": 20, "prompt_tokens": 1955, "total_tokens": 1975, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 348, "cached_tokens": 1208, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 348, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 348, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 2.393939584027976, "usage": {"completion_tokens": 33, "prompt_tokens": 2252, "total_tokens": 2285, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 297, "cached_tokens": 1556, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 297, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 297, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 6.429935415973887, "usage": {"completion_tokens": 228, "prompt_tokens": 2423, "total_tokens": 2651, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 124, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 171, "cached_tokens": 1853, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 171, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 171, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 13.74015041696839, "usage": {"completion_tokens": 672, "prompt_tokens": 3867, "total_tokens": 4539, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 351, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1444, "cached_tokens": 2024, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1444, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1444, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 5.766103709000163, "usage": {"completion_tokens": 297, "prompt_tokens": 4880, "total_tokens": 5177, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1013, "cached_tokens": 3468, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1013, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1013, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "4afe21f91a3bdb6cd0385d0990ec1c9d54305876d62d215af0e563719c110229", "csv_sha256": "3655b153acf280d6bf3f963091138a8a3e7936b439657cb6d7ec093cbc484f7c"} +{"instance_id": "bird036", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH eligible AS (\n SELECT s.CDSCode,\n s.School AS school_name,\n s.Charter AS charter,\n s.GSserved AS grades_served,\n CAST(f.\"Free Meal Count (K-12)\" AS REAL) / f.\"Enrollment (K-12)\" AS free_meal_rate\n FROM schools AS s\n JOIN frpm AS f ON f.CDSCode = s.CDSCode\n WHERE s.County = 'Alameda'\n AND (TRIM(s.GSserved) = '12' OR TRIM(s.GSserved) LIKE '%-12')\n AND f.\"Enrollment (K-12)\" > 0\n AND f.\"Free Meal Count (K-12)\" IS NOT NULL\n)\nSELECT e.school_name,\n PRINTF('%.4f', e.free_meal_rate) AS free_meal_rate,\n CASE e.charter WHEN 1 THEN 'Yes' WHEN 0 THEN 'No' ELSE 'Unknown' END AS charter_school,\n e.grades_served,\n CASE\n WHEN a.AvgScrRead IS NULL OR a.AvgScrMath IS NULL OR a.AvgScrWrite IS NULL THEN 'No SAT Data'\n WHEN a.AvgScrRead + a.AvgScrMath + a.AvgScrWrite < 1200 THEN 'Below Average'\n WHEN a.AvgScrRead + a.AvgScrMath + a.AvgScrWrite <= 1500 THEN 'Average'\n ELSE 'Above Average'\n END AS sat_performance_level\nFROM eligible AS e\nLEFT JOIN satscores AS a ON a.cds = e.CDSCode\nWHERE e.free_meal_rate = (SELECT MAX(free_meal_rate) FROM eligible)\nORDER BY e.school_name, e.CDSCode;\n```", "rows": 1, "sql": "WITH eligible AS (\n SELECT s.CDSCode,\n s.School AS school_name,\n s.Charter AS charter,\n s.GSserved AS grades_served,\n CAST(f.\"Free Meal Count (K-12)\" AS REAL) / f.\"Enrollment (K-12)\" AS free_meal_rate\n FROM schools AS s\n JOIN frpm AS f ON f.CDSCode = s.CDSCode\n WHERE s.County = 'Alameda'\n AND (TRIM(s.GSserved) = '12' OR TRIM(s.GSserved) LIKE '%-12')\n AND f.\"Enrollment (K-12)\" > 0\n AND f.\"Free Meal Count (K-12)\" IS NOT NULL\n)\nSELECT e.school_name,\n PRINTF('%.4f', e.free_meal_rate) AS free_meal_rate,\n CASE e.charter WHEN 1 THEN 'Yes' WHEN 0 THEN 'No' ELSE 'Unknown' END AS charter_school,\n e.grades_served,\n CASE\n WHEN a.AvgScrRead IS NULL OR a.AvgScrMath IS NULL OR a.AvgScrWrite IS NULL THEN 'No SAT Data'\n WHEN a.AvgScrRead + a.AvgScrMath + a.AvgScrWrite < 1200 THEN 'Below Average'\n WHEN a.AvgScrRead + a.AvgScrMath + a.AvgScrWrite <= 1500 THEN 'Average'\n ELSE 'Above Average'\n END AS sat_performance_level\nFROM eligible AS e\nLEFT JOIN satscores AS a ON a.cds = e.CDSCode\nWHERE e.free_meal_rate = (SELECT MAX(free_meal_rate) FROM eligible)\nORDER BY e.school_name, e.CDSCode;", "seconds": 20.974657875020057, "calls": [{"seconds": 2.6709051670040935, "usage": {"completion_tokens": 68, "prompt_tokens": 1708, "total_tokens": 1776, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1309, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1309, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1309, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 10.526315541937947, "usage": {"completion_tokens": 562, "prompt_tokens": 2475, "total_tokens": 3037, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 150, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 767, "cached_tokens": 1309, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 767, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 767, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 6.438745624967851, "usage": {"completion_tokens": 379, "prompt_tokens": 3480, "total_tokens": 3859, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1005, "cached_tokens": 2076, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1005, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1005, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "fbeb56cd3bec3e3351ed9db70595977e8c6080913e067f52b74c0347fc86c4eb", "csv_sha256": "129d20d69850525faf184fd9a747bdeb4bbadd3e80585593d38373a7577f64a0"} +{"instance_id": "bird058", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH french_printings AS (\n SELECT DISTINCT uuid\n FROM foreign_data\n WHERE language = 'French'\n)\nSELECT ROUND(100.0 * COUNT(f.uuid) / NULLIF(COUNT(*), 0), 2) AS percentage_with_french_translation\nFROM cards AS c\nLEFT JOIN french_printings AS f ON f.uuid = c.uuid\nWHERE c.power IS NULL OR TRIM(c.power) = '' OR c.power LIKE '%*%';\n```", "rows": 1, "sql": "WITH french_printings AS (\n SELECT DISTINCT uuid\n FROM foreign_data\n WHERE language = 'French'\n)\nSELECT ROUND(100.0 * COUNT(f.uuid) / NULLIF(COUNT(*), 0), 2) AS percentage_with_french_translation\nFROM cards AS c\nLEFT JOIN french_printings AS f ON f.uuid = c.uuid\nWHERE c.power IS NULL OR TRIM(c.power) = '' OR c.power LIKE '%*%';", "seconds": 43.825065959012136, "calls": [{"seconds": 2.7391308749793097, "usage": {"completion_tokens": 51, "prompt_tokens": 1499, "total_tokens": 1550, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1091, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1091, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1091, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.082274749991484, "usage": {"completion_tokens": 103, "prompt_tokens": 2136, "total_tokens": 2239, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 637, "cached_tokens": 1091, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 637, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 637, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.2687292500631884, "usage": {"completion_tokens": 114, "prompt_tokens": 2374, "total_tokens": 2488, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 238, "cached_tokens": 1728, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 238, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 238, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.236123749986291, "usage": {"completion_tokens": 103, "prompt_tokens": 2614, "total_tokens": 2717, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 240, "cached_tokens": 1966, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 240, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 240, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "c9f755c9dd1811507decdd9642187bc03df06b3fd02fb704285a1d8efc42127b", "csv_sha256": "9b17ad6a2214ef80e2d5c32290ae033619b361ca15eb636addb20a5518a83715"} +{"instance_id": "bird064", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*)\nFROM cards\nWHERE borderColor = 'black'\n AND availability LIKE '%mtgo%'\n AND CAST(power AS INTEGER) >= 10;\n```", "rows": 1, "sql": "SELECT COUNT(*)\nFROM cards\nWHERE borderColor = 'black'\n AND availability LIKE '%mtgo%'\n AND CAST(power AS INTEGER) >= 10;", "seconds": 21.12682429200504, "calls": [{"seconds": 2.248329791938886, "usage": {"completion_tokens": 19, "prompt_tokens": 1520, "total_tokens": 1539, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1112, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1112, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1112, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 5.32797154202126, "usage": {"completion_tokens": 186, "prompt_tokens": 2066, "total_tokens": 2252, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 103, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1112, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 8.624483624938875, "usage": {"completion_tokens": 314, "prompt_tokens": 2544, "total_tokens": 2858, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 258, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 478, "cached_tokens": 1658, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 478, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 478, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.524744125083089, "usage": {"completion_tokens": 64, "prompt_tokens": 2918, "total_tokens": 2982, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 21, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 2136, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "14db2f85e7a6620082952fd7d937b65e139c45951c77de85205f93950c745b30", "csv_sha256": "2c4f507b4d7b44ead729b407ee7e4a6356d7cc681083aa6b209e4bca919407f8"} +{"instance_id": "bird087", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS total_official_rulings\nFROM (\n SELECT DISTINCT r.date, r.text\n FROM rulings AS r\n WHERE r.uuid IN (\n SELECT c.uuid\n FROM cards AS c\n WHERE c.name = 'Fireball'\n )\n) AS fireball_rulings;\n```", "rows": 1, "sql": "SELECT COUNT(*) AS total_official_rulings\nFROM (\n SELECT DISTINCT r.date, r.text\n FROM rulings AS r\n WHERE r.uuid IN (\n SELECT c.uuid\n FROM cards AS c\n WHERE c.name = 'Fireball'\n )\n) AS fireball_rulings;", "seconds": 13.678763582953252, "calls": [{"seconds": 2.819050792022608, "usage": {"completion_tokens": 66, "prompt_tokens": 1521, "total_tokens": 1587, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1113, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1113, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1113, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.8264752499526367, "usage": {"completion_tokens": 125, "prompt_tokens": 2179, "total_tokens": 2304, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 36, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 658, "cached_tokens": 1113, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 658, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 658, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.399417750071734, "usage": {"completion_tokens": 87, "prompt_tokens": 2650, "total_tokens": 2737, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 471, "cached_tokens": 1771, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 471, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 471, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.5057291669072583, "usage": {"completion_tokens": 73, "prompt_tokens": 2833, "total_tokens": 2906, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 183, "cached_tokens": 2242, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 183, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 183, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "fc1eea08b5d3e1033b52266beafa1c7685309aa5843c9a52fcf45d1fe645f961", "csv_sha256": "4fc8adafd5baec8467080d4856b6d6a9978050094d9239f9c44d4e748a1d4431"} +{"instance_id": "bird146", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE months(month_start) AS (\n SELECT '2010-01-01'\n UNION ALL\n SELECT date(month_start, '+1 month')\n FROM months\n WHERE month_start < '2010-12-01'\n), monthly_counts AS (\n SELECT strftime('%Y-%m-01', pl.CreationDate) AS month_start,\n COUNT(DISTINCT p.Id) AS post_count\n FROM postLinks AS pl\n JOIN posts AS p ON p.Id = pl.RelatedPostId\n WHERE pl.CreationDate >= '2010-01-01'\n AND pl.CreationDate < '2011-01-01'\n AND p.AnswerCount <= 2\n GROUP BY strftime('%Y-%m-01', pl.CreationDate)\n)\nSELECT ROUND(AVG(COALESCE(mc.post_count, 0)), 2) AS average_monthly_posts\nFROM months AS m\nLEFT JOIN monthly_counts AS mc ON mc.month_start = m.month_start;\n```", "rows": 1, "sql": "WITH RECURSIVE months(month_start) AS (\n SELECT '2010-01-01'\n UNION ALL\n SELECT date(month_start, '+1 month')\n FROM months\n WHERE month_start < '2010-12-01'\n), monthly_counts AS (\n SELECT strftime('%Y-%m-01', pl.CreationDate) AS month_start,\n COUNT(DISTINCT p.Id) AS post_count\n FROM postLinks AS pl\n JOIN posts AS p ON p.Id = pl.RelatedPostId\n WHERE pl.CreationDate >= '2010-01-01'\n AND pl.CreationDate < '2011-01-01'\n AND p.AnswerCount <= 2\n GROUP BY strftime('%Y-%m-01', pl.CreationDate)\n)\nSELECT ROUND(AVG(COALESCE(mc.post_count, 0)), 2) AS average_monthly_posts\nFROM months AS m\nLEFT JOIN monthly_counts AS mc ON mc.month_start = m.month_start;", "seconds": 16.922073541907594, "calls": [{"seconds": 2.781178249977529, "usage": {"completion_tokens": 51, "prompt_tokens": 1530, "total_tokens": 1581, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1120, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1120, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1120, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 8.549515083082952, "usage": {"completion_tokens": 428, "prompt_tokens": 1785, "total_tokens": 2213, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 181, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1120, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 5.562352000037208, "usage": {"completion_tokens": 254, "prompt_tokens": 2461, "total_tokens": 2715, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 27, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 676, "cached_tokens": 1375, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 676, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 676, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b2adb7da9dd3ba77160833d3aefd04db478aba6aa7c8188061b4bf3904f236f9", "csv_sha256": "0b9cbd80d9686d8952b98ea1f0098ac223b901ba64e1e3f45578301f53676e3e"} +{"instance_id": "bird152", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT c.CustomerID) AS customer_count\nFROM customers AS c\nWHERE c.Currency = 'EUR'\n AND EXISTS (\n SELECT 1\n FROM yearmonth AS y\n WHERE y.CustomerID = c.CustomerID\n AND y.Date >= '201201' AND y.Date < '201301'\n AND y.Consumption > 0\n )\n AND EXISTS (\n SELECT 1\n FROM yearmonth AS y\n WHERE y.CustomerID = c.CustomerID\n AND y.Date >= '201301' AND y.Date < '201401'\n AND y.Consumption > 0\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT c.CustomerID) AS customer_count\nFROM customers AS c\nWHERE c.Currency = 'EUR'\n AND EXISTS (\n SELECT 1\n FROM yearmonth AS y\n WHERE y.CustomerID = c.CustomerID\n AND y.Date >= '201201' AND y.Date < '201301'\n AND y.Consumption > 0\n )\n AND EXISTS (\n SELECT 1\n FROM yearmonth AS y\n WHERE y.CustomerID = c.CustomerID\n AND y.Date >= '201301' AND y.Date < '201401'\n AND y.Consumption > 0\n );", "seconds": 26.648635791963898, "calls": [{"seconds": 2.991786666912958, "usage": {"completion_tokens": 99, "prompt_tokens": 1516, "total_tokens": 1615, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1110, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1110, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1110, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 2.0540865000803024, "usage": {"completion_tokens": 18, "prompt_tokens": 1795, "total_tokens": 1813, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 279, "cached_tokens": 1110, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 279, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 279, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.7607532910769805, "usage": {"completion_tokens": 78, "prompt_tokens": 1843, "total_tokens": 1921, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 45, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1389, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 7.037997292005457, "usage": {"completion_tokens": 297, "prompt_tokens": 2054, "total_tokens": 2351, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 138, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 211, "cached_tokens": 1437, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 211, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 211, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.7588498750701547, "usage": {"completion_tokens": 141, "prompt_tokens": 2512, "total_tokens": 2653, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 458, "cached_tokens": 1648, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 458, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 458, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9bff6c4ab19be5b4b72848fb10b7b9b601b51967f93b24f5810b0e44cd903941", "csv_sha256": "4ddd68aec795e920ddd98f63f4efb1f5a11f8f5f94d8701cd856899a4fddc874"} +{"instance_id": "bird179", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT p.player_name,\n COUNT(m.id) AS matches_played\nFROM Player AS p\nLEFT JOIN \"Match\" AS m\n ON m.season = '2015/2016'\n AND p.player_api_id IN (\n m.home_player_1, m.home_player_2, m.home_player_3, m.home_player_4,\n m.home_player_5, m.home_player_6, m.home_player_7, m.home_player_8,\n m.home_player_9, m.home_player_10, m.home_player_11,\n m.away_player_1, m.away_player_2, m.away_player_3, m.away_player_4,\n m.away_player_5, m.away_player_6, m.away_player_7, m.away_player_8,\n m.away_player_9, m.away_player_10, m.away_player_11\n )\nWHERE p.player_name LIKE 'Adam%'\n AND p.weight > 170\nGROUP BY p.id, p.player_name;\n```", "rows": 24, "sql": "SELECT p.player_name,\n COUNT(m.id) AS matches_played\nFROM Player AS p\nLEFT JOIN \"Match\" AS m\n ON m.season = '2015/2016'\n AND p.player_api_id IN (\n m.home_player_1, m.home_player_2, m.home_player_3, m.home_player_4,\n m.home_player_5, m.home_player_6, m.home_player_7, m.home_player_8,\n m.home_player_9, m.home_player_10, m.home_player_11,\n m.away_player_1, m.away_player_2, m.away_player_3, m.away_player_4,\n m.away_player_5, m.away_player_6, m.away_player_7, m.away_player_8,\n m.away_player_9, m.away_player_10, m.away_player_11\n )\nWHERE p.player_name LIKE 'Adam%'\n AND p.weight > 170\nGROUP BY p.id, p.player_name;", "seconds": 14.15574420907069, "calls": [{"seconds": 2.689289291971363, "usage": {"completion_tokens": 50, "prompt_tokens": 1573, "total_tokens": 1623, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1164, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1164, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1164, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 5.636186874937266, "usage": {"completion_tokens": 252, "prompt_tokens": 2514, "total_tokens": 2766, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 941, "cached_tokens": 1164, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 941, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 941, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 4.40643450000789, "usage": {"completion_tokens": 231, "prompt_tokens": 3199, "total_tokens": 3430, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 685, "cached_tokens": 2105, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 685, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 685, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b66e81eb3dd029193d4fde5063c823b8c12c4d5c139366e39fe4789a386d0a24", "csv_sha256": "6cf8ade1f6e7b61fa1e21f01340ca07c7f26ce318e555330de7cc606709e6b83"} +{"instance_id": "bird229", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT SUM(CASE t.k_symbol\n WHEN 'UROK' THEN t.amount\n WHEN 'SANKC. UROK' THEN -t.amount\n END) AS net_interest_czk\nFROM trans AS t\nWHERE t.date >= '1998-01-01'\n AND t.date < '1999-01-01'\n AND t.k_symbol IN ('UROK', 'SANKC. UROK')\n AND EXISTS (\n SELECT 1\n FROM disp AS d\n WHERE d.client_id = 2823\n AND d.account_id = t.account_id\n );\n```", "rows": 1, "sql": "SELECT SUM(CASE t.k_symbol\n WHEN 'UROK' THEN t.amount\n WHEN 'SANKC. UROK' THEN -t.amount\n END) AS net_interest_czk\nFROM trans AS t\nWHERE t.date >= '1998-01-01'\n AND t.date < '1999-01-01'\n AND t.k_symbol IN ('UROK', 'SANKC. UROK')\n AND EXISTS (\n SELECT 1\n FROM disp AS d\n WHERE d.client_id = 2823\n AND d.account_id = t.account_id\n );", "seconds": 22.860151417087764, "calls": [{"seconds": 2.492943999939598, "usage": {"completion_tokens": 65, "prompt_tokens": 1599, "total_tokens": 1664, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1192, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1192, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1192, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 4.170666416990571, "usage": {"completion_tokens": 146, "prompt_tokens": 1831, "total_tokens": 1977, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 232, "cached_tokens": 1192, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 232, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 232, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.879549999954179, "usage": {"completion_tokens": 153, "prompt_tokens": 2545, "total_tokens": 2698, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 714, "cached_tokens": 1424, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 714, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 714, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 4.125792042003013, "usage": {"completion_tokens": 156, "prompt_tokens": 2859, "total_tokens": 3015, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 15, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 314, "cached_tokens": 2138, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 314, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 314, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "3615cadae64454a28080a1caab14657c9d3ee2a2ed83e594abf0d9200c1c215e", "csv_sha256": "b2e5422c4abeec42e360d1971657e50505834904a367131d2b6bc48980540cca"} +{"instance_id": "bird249", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT d.forename || ' ' || d.surname AS full_name\nFROM lapTimes AS l\nJOIN drivers AS d ON d.driverId = l.driverId\nWHERE l.milliseconds IS NOT NULL\nGROUP BY d.driverId, d.forename, d.surname\nORDER BY MIN(l.milliseconds) ASC, d.driverId ASC\nLIMIT 20;\n```", "rows": 20, "sql": "SELECT d.forename || ' ' || d.surname AS full_name\nFROM lapTimes AS l\nJOIN drivers AS d ON d.driverId = l.driverId\nWHERE l.milliseconds IS NOT NULL\nGROUP BY d.driverId, d.forename, d.surname\nORDER BY MIN(l.milliseconds) ASC, d.driverId ASC\nLIMIT 20;", "seconds": 10.994562333100475, "calls": [{"seconds": 2.9922806669492275, "usage": {"completion_tokens": 51, "prompt_tokens": 1498, "total_tokens": 1549, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1073, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1073, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1073, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 4.447127791005187, "usage": {"completion_tokens": 160, "prompt_tokens": 1672, "total_tokens": 1832, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 67, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 174, "cached_tokens": 1073, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 174, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 174, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.2049987090285867, "usage": {"completion_tokens": 82, "prompt_tokens": 2030, "total_tokens": 2112, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 358, "cached_tokens": 1247, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 358, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 358, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1ef733467fb04084cbd80b82dcf13a55e5b99faeb0887017611ec1682b775d42", "csv_sha256": "bb91c60dd6f1d037a05b19508387cc055a6cc7a0f3a519f11e3780064baaa63d"} +{"instance_id": "bird260", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT d.driverRef, d.nationality, d.dob\nFROM qualifying AS q\nJOIN races AS r ON r.raceId = q.raceId\nJOIN drivers AS d ON d.driverId = q.driverId\nWHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND NULLIF(NULLIF(TRIM(q.q2), ''), '\\N') IS NOT NULL\n AND NULLIF(NULLIF(TRIM(q.q3), ''), '\\N') IS NULL;\n```", "rows": 5, "sql": "SELECT d.driverRef, d.nationality, d.dob\nFROM qualifying AS q\nJOIN races AS r ON r.raceId = q.raceId\nJOIN drivers AS d ON d.driverId = q.driverId\nWHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND NULLIF(NULLIF(TRIM(q.q2), ''), '\\N') IS NOT NULL\n AND NULLIF(NULLIF(TRIM(q.q3), ''), '\\N') IS NULL;", "seconds": 11.236778040998615, "calls": [{"seconds": 2.503627125057392, "usage": {"completion_tokens": 67, "prompt_tokens": 1602, "total_tokens": 1669, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1177, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1177, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1177, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 4.812927375081927, "usage": {"completion_tokens": 194, "prompt_tokens": 1880, "total_tokens": 2074, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 68, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1177, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.9064522499684244, "usage": {"completion_tokens": 114, "prompt_tokens": 2281, "total_tokens": 2395, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 401, "cached_tokens": 1455, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 401, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 401, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ade9f8e3bfa57cdfd7e96976b09e60bbe119666b8534d8414327163886a87dad", "csv_sha256": "6630424757809e61c2f25f997a93f87f85afbf229e84c44e593aa67de1daa8ee"} +{"instance_id": "bird353", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH powers_per_hero AS (\n SELECT h.id, COUNT(DISTINCT hp.power_id) AS power_count\n FROM superhero AS h\n JOIN race AS r ON r.id = h.race_id\n JOIN gender AS g ON g.id = h.gender_id\n LEFT JOIN hero_power AS hp ON hp.hero_id = h.id\n WHERE r.race = 'God / Eternal' AND g.gender = 'Male'\n GROUP BY h.id\n)\nSELECT ROUND(AVG(power_count), 2) AS average_superpowers\nFROM powers_per_hero;\n```", "rows": 1, "sql": "WITH powers_per_hero AS (\n SELECT h.id, COUNT(DISTINCT hp.power_id) AS power_count\n FROM superhero AS h\n JOIN race AS r ON r.id = h.race_id\n JOIN gender AS g ON g.id = h.gender_id\n LEFT JOIN hero_power AS hp ON hp.hero_id = h.id\n WHERE r.race = 'God / Eternal' AND g.gender = 'Male'\n GROUP BY h.id\n)\nSELECT ROUND(AVG(power_count), 2) AS average_superpowers\nFROM powers_per_hero;", "seconds": 10.449224584037438, "calls": [{"seconds": 2.8341092079645023, "usage": {"completion_tokens": 82, "prompt_tokens": 1518, "total_tokens": 1600, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1104, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1104, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1104, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 4.211396958096884, "usage": {"completion_tokens": 138, "prompt_tokens": 1769, "total_tokens": 1907, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 251, "cached_tokens": 1104, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 251, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 251, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.3834684159373865, "usage": {"completion_tokens": 126, "prompt_tokens": 2055, "total_tokens": 2181, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 286, "cached_tokens": 1355, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 286, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 286, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b796a90ddf800b6b4eb52dfa3824ef04bc2a1186b313394cea279b4c0bb13be8", "csv_sha256": "a9b8b2ca4cda426fd6ee3d316cc856357c9034ed8c0e5cc38b8a2d38241be16e"} +{"instance_id": "bird379", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(100.0 * COUNT(CASE WHEN a.alignment = 'Good' THEN 1 END) / NULLIF(COUNT(*), 0), 2) AS percentage\nFROM superhero AS s\nJOIN publisher AS p ON p.id = s.publisher_id\nLEFT JOIN alignment AS a ON a.id = s.alignment_id\nWHERE p.publisher_name = 'Marvel Comics'\n AND EXISTS (\n SELECT 1\n FROM hero_power AS hp\n JOIN superpower AS sp ON sp.id = hp.power_id\n WHERE hp.hero_id = s.id\n );\n```", "rows": 1, "sql": "SELECT ROUND(100.0 * COUNT(CASE WHEN a.alignment = 'Good' THEN 1 END) / NULLIF(COUNT(*), 0), 2) AS percentage\nFROM superhero AS s\nJOIN publisher AS p ON p.id = s.publisher_id\nLEFT JOIN alignment AS a ON a.id = s.alignment_id\nWHERE p.publisher_name = 'Marvel Comics'\n AND EXISTS (\n SELECT 1\n FROM hero_power AS hp\n JOIN superpower AS sp ON sp.id = hp.power_id\n WHERE hp.hero_id = s.id\n );", "seconds": 10.528181417030282, "calls": [{"seconds": 3.078882708097808, "usage": {"completion_tokens": 98, "prompt_tokens": 1514, "total_tokens": 1612, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1100, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1100, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1100, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.827014583046548, "usage": {"completion_tokens": 139, "prompt_tokens": 1809, "total_tokens": 1948, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 295, "cached_tokens": 1100, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 295, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 295, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.5472949580289423, "usage": {"completion_tokens": 128, "prompt_tokens": 2096, "total_tokens": 2224, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 287, "cached_tokens": 1395, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 287, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 287, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2b518085cc730bf493b8c15b6ab544e85ea376252d6472595ce1297b911eb48e", "csv_sha256": "3249bc7730fd3ae8a5d8db08ed33cb4cfd287d1b8b22a5180ddffb295caf42b2"} +{"instance_id": "bird389", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE p.SEX = 'F'\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.SC170 IN ('negative', '0')\n )\n AND NOT EXISTS (\n SELECT 1\n FROM Examination AS e\n WHERE e.ID = p.ID\n AND e.Symptoms IS NOT NULL\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE p.SEX = 'F'\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.SC170 IN ('negative', '0')\n )\n AND NOT EXISTS (\n SELECT 1\n FROM Examination AS e\n WHERE e.ID = p.ID\n AND e.Symptoms IS NOT NULL\n );", "seconds": 9.102536833030172, "calls": [{"seconds": 2.706862499937415, "usage": {"completion_tokens": 67, "prompt_tokens": 1490, "total_tokens": 1557, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1092, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1092, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1092, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.2772018329706043, "usage": {"completion_tokens": 122, "prompt_tokens": 1975, "total_tokens": 2097, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1092, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.0987497500609607, "usage": {"completion_tokens": 106, "prompt_tokens": 2222, "total_tokens": 2328, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 247, "cached_tokens": 1577, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 247, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 247, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a22ae84836c961fb824ef994fed422c999ea83c8fc4684ad7a102fdf8cf1bad0", "csv_sha256": "512e8c33b49ed0bc325d442219b421d4d37ac4d82a8e63dd90cd480502cfca65"} +{"instance_id": "bird423", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT a.ID) AS patient_count\nFROM Laboratory AS a\nWHERE LOWER(TRIM(a.SSA)) NOT IN ('negative', '0', '')\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS u\n WHERE u.ID = a.ID\n AND LOWER(TRIM(u.\"U-PRO\")) NOT IN ('negative', '-', 'none', '0', '')\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT a.ID) AS patient_count\nFROM Laboratory AS a\nWHERE LOWER(TRIM(a.SSA)) NOT IN ('negative', '0', '')\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS u\n WHERE u.ID = a.ID\n AND LOWER(TRIM(u.\"U-PRO\")) NOT IN ('negative', '-', 'none', '0', '')\n );", "seconds": 22.763996916008182, "calls": [{"seconds": 2.717178166960366, "usage": {"completion_tokens": 67, "prompt_tokens": 1567, "total_tokens": 1634, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1169, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1169, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1169, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.180709540960379, "usage": {"completion_tokens": 72, "prompt_tokens": 2052, "total_tokens": 2124, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1169, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 2.9315371670527384, "usage": {"completion_tokens": 77, "prompt_tokens": 2445, "total_tokens": 2522, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 393, "cached_tokens": 1654, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 393, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 393, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 6.6603085830574855, "usage": {"completion_tokens": 364, "prompt_tokens": 2872, "total_tokens": 3236, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 149, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 427, "cached_tokens": 2047, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 427, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 427, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.9603596249362454, "usage": {"completion_tokens": 106, "prompt_tokens": 3497, "total_tokens": 3603, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 625, "cached_tokens": 2474, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 625, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 625, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.2544340830063447, "usage": {"completion_tokens": 91, "prompt_tokens": 3713, "total_tokens": 3804, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 216, "cached_tokens": 3099, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 216, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 216, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d7efba96d7c20c293dbe8b5c5d7e6f53d63f58a1b75b1fb6b54616a004432e91", "csv_sha256": "4f5e7bf26450e6266e0726797ce31d3a69e6e05fa098ee1b0c6f63fa5b066606"} +{"instance_id": "bird429", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH patient_labs AS (\n SELECT p.ID, l.FG, TRIM(l.\"U-PRO\") AS protein\n FROM Patient AS p\n JOIN Laboratory AS l ON l.ID = p.ID\n WHERE DATE(p.Birthday) > '1980-01-01'\n), normalized AS (\n SELECT ID, FG, protein,\n CASE WHEN SUBSTR(protein, 1, 2) = '>='\n THEN TRIM(SUBSTR(protein, 3))\n ELSE protein\n END AS protein_mg_dl\n FROM patient_labs\n)\nSELECT COUNT(DISTINCT ID) AS eligible_patient_count\nFROM normalized\nWHERE FG < 150 OR FG > 450\n OR protein IN ('3', '4', '3+', '4+')\n OR (protein_mg_dl NOT GLOB '*[^0-9.]*'\n AND protein_mg_dl NOT GLOB '*.*.*'\n AND CAST(protein_mg_dl AS REAL) >= 300);\n```", "rows": 1, "sql": "WITH patient_labs AS (\n SELECT p.ID, l.FG, TRIM(l.\"U-PRO\") AS protein\n FROM Patient AS p\n JOIN Laboratory AS l ON l.ID = p.ID\n WHERE DATE(p.Birthday) > '1980-01-01'\n), normalized AS (\n SELECT ID, FG, protein,\n CASE WHEN SUBSTR(protein, 1, 2) = '>='\n THEN TRIM(SUBSTR(protein, 3))\n ELSE protein\n END AS protein_mg_dl\n FROM patient_labs\n)\nSELECT COUNT(DISTINCT ID) AS eligible_patient_count\nFROM normalized\nWHERE FG < 150 OR FG > 450\n OR protein IN ('3', '4', '3+', '4+')\n OR (protein_mg_dl NOT GLOB '*[^0-9.]*'\n AND protein_mg_dl NOT GLOB '*.*.*'\n AND CAST(protein_mg_dl AS REAL) >= 300);", "seconds": 36.65885258407798, "calls": [{"seconds": 2.4919457910582423, "usage": {"completion_tokens": 51, "prompt_tokens": 1661, "total_tokens": 1712, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1263, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1263, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1263, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 6.86132262495812, "usage": {"completion_tokens": 264, "prompt_tokens": 2035, "total_tokens": 2299, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 158, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1263, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 11.815306833945215, "usage": {"completion_tokens": 448, "prompt_tokens": 2517, "total_tokens": 2965, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 404, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 482, "cached_tokens": 1637, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 482, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 482, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 10.397734249942005, "usage": {"completion_tokens": 484, "prompt_tokens": 3025, "total_tokens": 3509, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 244, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 508, "cached_tokens": 2119, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 508, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 508, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 5.066794667043723, "usage": {"completion_tokens": 219, "prompt_tokens": 3748, "total_tokens": 3967, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 723, "cached_tokens": 2627, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 723, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 723, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9635ce5a129db78dfd9bc78ad489a2fc8da6df1fb1fa6ce83421ee4b78b7a97c", "csv_sha256": "812585e4fa248bb535f350c3cd42ebc98ff78c7d81a0df7b0de83026f01668f4"} +{"instance_id": "bird449", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH urine_results AS (\n SELECT ID, TRIM(\"U-PRO\") AS result\n FROM Laboratory\n), urine_concentrations AS (\n SELECT ID,\n CASE\n WHEN SUBSTR(result, 1, 2) = '>=' THEN TRIM(SUBSTR(result, 3))\n WHEN result GLOB '+[0-9](*)' THEN TRIM(SUBSTR(result, 4, LENGTH(result) - 4))\n ELSE result\n END AS mg_dl\n FROM urine_results\n)\nSELECT p.ID, p.SEX, p.Birthday\nFROM Patient AS p\nWHERE EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID AND l.LDH >= 500\n)\nAND EXISTS (\n SELECT 1\n FROM urine_concentrations AS u\n WHERE u.ID = p.ID\n AND u.mg_dl GLOB '*[0-9]*'\n AND u.mg_dl NOT GLOB '*[^0-9.]*'\n AND u.mg_dl NOT GLOB '*.*.*'\n AND CAST(u.mg_dl AS REAL) >= 100\n)\nORDER BY p.ID;\n```", "rows": 18, "sql": "WITH urine_results AS (\n SELECT ID, TRIM(\"U-PRO\") AS result\n FROM Laboratory\n), urine_concentrations AS (\n SELECT ID,\n CASE\n WHEN SUBSTR(result, 1, 2) = '>=' THEN TRIM(SUBSTR(result, 3))\n WHEN result GLOB '+[0-9](*)' THEN TRIM(SUBSTR(result, 4, LENGTH(result) - 4))\n ELSE result\n END AS mg_dl\n FROM urine_results\n)\nSELECT p.ID, p.SEX, p.Birthday\nFROM Patient AS p\nWHERE EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID AND l.LDH >= 500\n)\nAND EXISTS (\n SELECT 1\n FROM urine_concentrations AS u\n WHERE u.ID = p.ID\n AND u.mg_dl GLOB '*[0-9]*'\n AND u.mg_dl NOT GLOB '*[^0-9.]*'\n AND u.mg_dl NOT GLOB '*.*.*'\n AND CAST(u.mg_dl AS REAL) >= 100\n)\nORDER BY p.ID;", "seconds": 31.28340341593139, "calls": [{"seconds": 2.3554006669437513, "usage": {"completion_tokens": 51, "prompt_tokens": 1702, "total_tokens": 1753, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1304, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1304, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1304, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 7.165122458944097, "usage": {"completion_tokens": 267, "prompt_tokens": 2076, "total_tokens": 2343, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 227, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1304, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 16.832802542019635, "usage": {"completion_tokens": 779, "prompt_tokens": 2426, "total_tokens": 3205, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 498, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 350, "cached_tokens": 1678, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 350, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 350, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 4.905617916956544, "usage": {"completion_tokens": 255, "prompt_tokens": 3735, "total_tokens": 3990, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1309, "cached_tokens": 2028, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1309, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1309, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "91c291973488b3bee69f09ca7b04f46956fe0b8c3ce5a05b1b685e3fffcc1126", "csv_sha256": "093297eaa5982a4bcd3b43547288756b8c433ed821fe775d3ff81455c71d7801"} +{"instance_id": "bird451", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT \"ID\") AS patient_count\nFROM \"Patient\"\nWHERE \"SEX\" = 'F'\n AND \"First Date\" >= '1998-01-01'\n AND \"First Date\" < '1999-01-01'\n AND \"Admission\" LIKE '+%';\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT \"ID\") AS patient_count\nFROM \"Patient\"\nWHERE \"SEX\" = 'F'\n AND \"First Date\" >= '1998-01-01'\n AND \"First Date\" < '1999-01-01'\n AND \"Admission\" LIKE '+%';", "seconds": 10.811183083918877, "calls": [{"seconds": 2.183651875006035, "usage": {"completion_tokens": 19, "prompt_tokens": 1541, "total_tokens": 1560, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1143, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1143, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1143, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 2.8315832080552354, "usage": {"completion_tokens": 60, "prompt_tokens": 1613, "total_tokens": 1673, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 72, "cached_tokens": 1143, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 72, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 72, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.1265948748914525, "usage": {"completion_tokens": 84, "prompt_tokens": 1814, "total_tokens": 1898, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 201, "cached_tokens": 1215, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 201, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 201, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 2.652822291944176, "usage": {"completion_tokens": 71, "prompt_tokens": 1987, "total_tokens": 2058, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 173, "cached_tokens": 1416, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 173, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 173, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "99fe639d5841f62593630dd0d9f094b3ecddd43e26dda28f5918957badcc3fd9", "csv_sha256": "36a5b05cce7028d64bb7ae54339e2de923b325116725eb3f60ca03f2b985ab94"} +{"instance_id": "bird459", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(NULLIF(e.\"aCL IgM\", 0)), 2) AS avg_acl_igm\nFROM Examination AS e\nWHERE EXISTS (\n SELECT 1\n FROM Patient AS p\n WHERE p.ID = e.ID\n AND UPPER(p.Diagnosis) LIKE '%SJS%'\n AND UPPER(p.Diagnosis) NOT LIKE '%SJS SUSP%'\n);\n```", "rows": 1, "sql": "SELECT ROUND(AVG(NULLIF(e.\"aCL IgM\", 0)), 2) AS avg_acl_igm\nFROM Examination AS e\nWHERE EXISTS (\n SELECT 1\n FROM Patient AS p\n WHERE p.ID = e.ID\n AND UPPER(p.Diagnosis) LIKE '%SJS%'\n AND UPPER(p.Diagnosis) NOT LIKE '%SJS SUSP%'\n);", "seconds": 24.5898860830348, "calls": [{"seconds": 2.8020652909763157, "usage": {"completion_tokens": 67, "prompt_tokens": 1638, "total_tokens": 1705, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1240, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1240, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1240, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 2.7388608750188723, "usage": {"completion_tokens": 49, "prompt_tokens": 2123, "total_tokens": 2172, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1240, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.148550249985419, "usage": {"completion_tokens": 88, "prompt_tokens": 2747, "total_tokens": 2835, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 624, "cached_tokens": 1725, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 624, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 624, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 4.15422504208982, "usage": {"completion_tokens": 128, "prompt_tokens": 4007, "total_tokens": 4135, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 71, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1260, "cached_tokens": 2349, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1260, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1260, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.6214116249466315, "usage": {"completion_tokens": 80, "prompt_tokens": 4488, "total_tokens": 4568, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 481, "cached_tokens": 3609, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 481, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 481, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 4.541319625102915, "usage": {"completion_tokens": 157, "prompt_tokens": 4660, "total_tokens": 4817, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 49, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 172, "cached_tokens": 4090, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 172, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 172, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.555521040922031, "usage": {"completion_tokens": 92, "prompt_tokens": 4932, "total_tokens": 5024, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 272, "cached_tokens": 4262, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 272, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 272, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "3f78482b29b9151060d5d1fc7765e7389b7053f8953041e38b000bbf14909ada", "csv_sha256": "87a5e1b7535c9554435a8e4aaf587ad2d3d94bd7da91db9dd6ce3d9e8326a2b8"} +{"instance_id": "bird470", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH element_counts AS (\n SELECT a.element, COUNT(*) AS atom_occurrences\n FROM atom AS a\n JOIN molecule AS m ON m.molecule_id = a.molecule_id\n WHERE m.label = '-' AND a.element IS NOT NULL\n GROUP BY a.element\n)\nSELECT element\nFROM element_counts\nWHERE atom_occurrences = (SELECT MIN(atom_occurrences) FROM element_counts)\nORDER BY element;\n```", "rows": 3, "sql": "WITH element_counts AS (\n SELECT a.element, COUNT(*) AS atom_occurrences\n FROM atom AS a\n JOIN molecule AS m ON m.molecule_id = a.molecule_id\n WHERE m.label = '-' AND a.element IS NOT NULL\n GROUP BY a.element\n)\nSELECT element\nFROM element_counts\nWHERE atom_occurrences = (SELECT MIN(atom_occurrences) FROM element_counts)\nORDER BY element;", "seconds": 10.523457292001694, "calls": [{"seconds": 2.6250419160351157, "usage": {"completion_tokens": 66, "prompt_tokens": 1490, "total_tokens": 1556, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1089, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1089, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1089, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 4.767435457906686, "usage": {"completion_tokens": 173, "prompt_tokens": 1646, "total_tokens": 1819, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 65, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 156, "cached_tokens": 1089, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 156, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 156, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.1133300830842927, "usage": {"completion_tokens": 94, "prompt_tokens": 1935, "total_tokens": 2029, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 289, "cached_tokens": 1245, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 289, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 289, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "3cee63732b7a3a7502558fb9b91ed2128032c0cd92902e4b29c699222a710b40", "csv_sha256": "9aecc6d231b8b61845f388e456946eb06a5d65c11af1bc0cdb0fe9d6b8a32c56"} diff --git a/bench/accuracy/results/bird-development-v1/gpt62-sol/scores.json b/bench/accuracy/results/bird-development-v1/gpt62-sol/scores.json new file mode 100644 index 00000000..00e3ee71 --- /dev/null +++ b/bench/accuracy/results/bird-development-v1/gpt62-sol/scores.json @@ -0,0 +1,102 @@ +[ + { + "instance_id": "bird024", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird036", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird058", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird064", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird087", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird146", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird152", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird179", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird229", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird249", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird260", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird353", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird379", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird389", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird423", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird429", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird449", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird451", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird459", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird470", + "score": 1, + "status": "predicted" + } +] diff --git a/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird024.sql b/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird024.sql new file mode 100644 index 00000000..6dde60b3 --- /dev/null +++ b/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird024.sql @@ -0,0 +1,20 @@ +WITH school_records AS ( + SELECT f."School Type" AS school_type, + COALESCE(f."School Type", s.SOCType) AS type_for_matching, + COALESCE(f."School Name", s.School) AS school_name, + s.Latitude AS latitude + FROM schools AS s + LEFT JOIN frpm AS f ON f.CDSCode = s.CDSCode + WHERE s.State = 'CA' AND s.Latitude IS NOT NULL +), middle_schools AS ( + SELECT school_type, school_name, latitude + FROM school_records + WHERE type_for_matching IN ('Intermediate/Middle Schools (Public)', 'Junior High Schools (Public)') + OR (' ' || LOWER(school_name) || ' ') GLOB '*[^a-z0-9]middle[^a-z0-9]*' + OR (' ' || LOWER(school_name) || ' ') GLOB '*[^a-z0-9]intermediate[^a-z0-9]*' + OR (' ' || LOWER(school_name) || ' ') GLOB '*[^a-z0-9]junior high[^a-z0-9]*' +) +SELECT school_type AS "School Type", school_name AS "School Name", latitude AS Latitude +FROM middle_schools +WHERE latitude = (SELECT MAX(latitude) FROM middle_schools) +ORDER BY school_name, school_type; diff --git a/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird036.sql b/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird036.sql new file mode 100644 index 00000000..2da841d0 --- /dev/null +++ b/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird036.sql @@ -0,0 +1,27 @@ +WITH eligible AS ( + SELECT s.CDSCode, + s.School AS school_name, + s.Charter AS charter, + s.GSserved AS grades_served, + CAST(f."Free Meal Count (K-12)" AS REAL) / f."Enrollment (K-12)" AS free_meal_rate + FROM schools AS s + JOIN frpm AS f ON f.CDSCode = s.CDSCode + WHERE s.County = 'Alameda' + AND (TRIM(s.GSserved) = '12' OR TRIM(s.GSserved) LIKE '%-12') + AND f."Enrollment (K-12)" > 0 + AND f."Free Meal Count (K-12)" IS NOT NULL +) +SELECT e.school_name, + PRINTF('%.4f', e.free_meal_rate) AS free_meal_rate, + CASE e.charter WHEN 1 THEN 'Yes' WHEN 0 THEN 'No' ELSE 'Unknown' END AS charter_school, + e.grades_served, + CASE + WHEN a.AvgScrRead IS NULL OR a.AvgScrMath IS NULL OR a.AvgScrWrite IS NULL THEN 'No SAT Data' + WHEN a.AvgScrRead + a.AvgScrMath + a.AvgScrWrite < 1200 THEN 'Below Average' + WHEN a.AvgScrRead + a.AvgScrMath + a.AvgScrWrite <= 1500 THEN 'Average' + ELSE 'Above Average' + END AS sat_performance_level +FROM eligible AS e +LEFT JOIN satscores AS a ON a.cds = e.CDSCode +WHERE e.free_meal_rate = (SELECT MAX(free_meal_rate) FROM eligible) +ORDER BY e.school_name, e.CDSCode; diff --git a/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird058.sql b/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird058.sql new file mode 100644 index 00000000..cdecebb7 --- /dev/null +++ b/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird058.sql @@ -0,0 +1,9 @@ +WITH french_printings AS ( + SELECT DISTINCT uuid + FROM foreign_data + WHERE language = 'French' +) +SELECT ROUND(100.0 * COUNT(f.uuid) / NULLIF(COUNT(*), 0), 2) AS percentage_with_french_translation +FROM cards AS c +LEFT JOIN french_printings AS f ON f.uuid = c.uuid +WHERE c.power IS NULL OR TRIM(c.power) = '' OR c.power LIKE '%*%'; diff --git a/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird064.sql b/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird064.sql new file mode 100644 index 00000000..f29165ec --- /dev/null +++ b/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird064.sql @@ -0,0 +1,5 @@ +SELECT COUNT(*) +FROM cards +WHERE borderColor = 'black' + AND availability LIKE '%mtgo%' + AND CAST(power AS INTEGER) >= 10; diff --git a/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird087.sql b/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird087.sql new file mode 100644 index 00000000..ec4f56de --- /dev/null +++ b/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird087.sql @@ -0,0 +1,10 @@ +SELECT COUNT(*) AS total_official_rulings +FROM ( + SELECT DISTINCT r.date, r.text + FROM rulings AS r + WHERE r.uuid IN ( + SELECT c.uuid + FROM cards AS c + WHERE c.name = 'Fireball' + ) +) AS fireball_rulings; diff --git a/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird146.sql b/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird146.sql new file mode 100644 index 00000000..4b0d6698 --- /dev/null +++ b/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird146.sql @@ -0,0 +1,19 @@ +WITH RECURSIVE months(month_start) AS ( + SELECT '2010-01-01' + UNION ALL + SELECT date(month_start, '+1 month') + FROM months + WHERE month_start < '2010-12-01' +), monthly_counts AS ( + SELECT strftime('%Y-%m-01', pl.CreationDate) AS month_start, + COUNT(DISTINCT p.Id) AS post_count + FROM postLinks AS pl + JOIN posts AS p ON p.Id = pl.RelatedPostId + WHERE pl.CreationDate >= '2010-01-01' + AND pl.CreationDate < '2011-01-01' + AND p.AnswerCount <= 2 + GROUP BY strftime('%Y-%m-01', pl.CreationDate) +) +SELECT ROUND(AVG(COALESCE(mc.post_count, 0)), 2) AS average_monthly_posts +FROM months AS m +LEFT JOIN monthly_counts AS mc ON mc.month_start = m.month_start; diff --git a/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird152.sql b/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird152.sql new file mode 100644 index 00000000..3774969d --- /dev/null +++ b/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird152.sql @@ -0,0 +1,17 @@ +SELECT COUNT(DISTINCT c.CustomerID) AS customer_count +FROM customers AS c +WHERE c.Currency = 'EUR' + AND EXISTS ( + SELECT 1 + FROM yearmonth AS y + WHERE y.CustomerID = c.CustomerID + AND y.Date >= '201201' AND y.Date < '201301' + AND y.Consumption > 0 + ) + AND EXISTS ( + SELECT 1 + FROM yearmonth AS y + WHERE y.CustomerID = c.CustomerID + AND y.Date >= '201301' AND y.Date < '201401' + AND y.Consumption > 0 + ); diff --git a/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird179.sql b/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird179.sql new file mode 100644 index 00000000..632fd377 --- /dev/null +++ b/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird179.sql @@ -0,0 +1,16 @@ +SELECT p.player_name, + COUNT(m.id) AS matches_played +FROM Player AS p +LEFT JOIN "Match" AS m + ON m.season = '2015/2016' + AND p.player_api_id IN ( + m.home_player_1, m.home_player_2, m.home_player_3, m.home_player_4, + m.home_player_5, m.home_player_6, m.home_player_7, m.home_player_8, + m.home_player_9, m.home_player_10, m.home_player_11, + m.away_player_1, m.away_player_2, m.away_player_3, m.away_player_4, + m.away_player_5, m.away_player_6, m.away_player_7, m.away_player_8, + m.away_player_9, m.away_player_10, m.away_player_11 + ) +WHERE p.player_name LIKE 'Adam%' + AND p.weight > 170 +GROUP BY p.id, p.player_name; diff --git a/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird229.sql b/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird229.sql new file mode 100644 index 00000000..2d61cead --- /dev/null +++ b/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird229.sql @@ -0,0 +1,14 @@ +SELECT SUM(CASE t.k_symbol + WHEN 'UROK' THEN t.amount + WHEN 'SANKC. UROK' THEN -t.amount + END) AS net_interest_czk +FROM trans AS t +WHERE t.date >= '1998-01-01' + AND t.date < '1999-01-01' + AND t.k_symbol IN ('UROK', 'SANKC. UROK') + AND EXISTS ( + SELECT 1 + FROM disp AS d + WHERE d.client_id = 2823 + AND d.account_id = t.account_id + ); diff --git a/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird249.sql b/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird249.sql new file mode 100644 index 00000000..da88e8ed --- /dev/null +++ b/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird249.sql @@ -0,0 +1,7 @@ +SELECT d.forename || ' ' || d.surname AS full_name +FROM lapTimes AS l +JOIN drivers AS d ON d.driverId = l.driverId +WHERE l.milliseconds IS NOT NULL +GROUP BY d.driverId, d.forename, d.surname +ORDER BY MIN(l.milliseconds) ASC, d.driverId ASC +LIMIT 20; diff --git a/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird260.sql b/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird260.sql new file mode 100644 index 00000000..2699df9f --- /dev/null +++ b/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird260.sql @@ -0,0 +1,8 @@ +SELECT d.driverRef, d.nationality, d.dob +FROM qualifying AS q +JOIN races AS r ON r.raceId = q.raceId +JOIN drivers AS d ON d.driverId = q.driverId +WHERE r.year = 2017 + AND r.name = 'Italian Grand Prix' + AND NULLIF(NULLIF(TRIM(q.q2), ''), '\N') IS NOT NULL + AND NULLIF(NULLIF(TRIM(q.q3), ''), '\N') IS NULL; diff --git a/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird353.sql b/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird353.sql new file mode 100644 index 00000000..1f282402 --- /dev/null +++ b/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird353.sql @@ -0,0 +1,11 @@ +WITH powers_per_hero AS ( + SELECT h.id, COUNT(DISTINCT hp.power_id) AS power_count + FROM superhero AS h + JOIN race AS r ON r.id = h.race_id + JOIN gender AS g ON g.id = h.gender_id + LEFT JOIN hero_power AS hp ON hp.hero_id = h.id + WHERE r.race = 'God / Eternal' AND g.gender = 'Male' + GROUP BY h.id +) +SELECT ROUND(AVG(power_count), 2) AS average_superpowers +FROM powers_per_hero; diff --git a/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird379.sql b/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird379.sql new file mode 100644 index 00000000..bb5bc91c --- /dev/null +++ b/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird379.sql @@ -0,0 +1,11 @@ +SELECT ROUND(100.0 * COUNT(CASE WHEN a.alignment = 'Good' THEN 1 END) / NULLIF(COUNT(*), 0), 2) AS percentage +FROM superhero AS s +JOIN publisher AS p ON p.id = s.publisher_id +LEFT JOIN alignment AS a ON a.id = s.alignment_id +WHERE p.publisher_name = 'Marvel Comics' + AND EXISTS ( + SELECT 1 + FROM hero_power AS hp + JOIN superpower AS sp ON sp.id = hp.power_id + WHERE hp.hero_id = s.id + ); diff --git a/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird389.sql b/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird389.sql new file mode 100644 index 00000000..4296c9d7 --- /dev/null +++ b/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird389.sql @@ -0,0 +1,15 @@ +SELECT COUNT(DISTINCT p.ID) AS patient_count +FROM Patient AS p +WHERE p.SEX = 'F' + AND EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND l.SC170 IN ('negative', '0') + ) + AND NOT EXISTS ( + SELECT 1 + FROM Examination AS e + WHERE e.ID = p.ID + AND e.Symptoms IS NOT NULL + ); diff --git a/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird423.sql b/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird423.sql new file mode 100644 index 00000000..3b89f000 --- /dev/null +++ b/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird423.sql @@ -0,0 +1,9 @@ +SELECT COUNT(DISTINCT a.ID) AS patient_count +FROM Laboratory AS a +WHERE LOWER(TRIM(a.SSA)) NOT IN ('negative', '0', '') + AND EXISTS ( + SELECT 1 + FROM Laboratory AS u + WHERE u.ID = a.ID + AND LOWER(TRIM(u."U-PRO")) NOT IN ('negative', '-', 'none', '0', '') + ); diff --git a/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird429.sql b/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird429.sql new file mode 100644 index 00000000..a57e894b --- /dev/null +++ b/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird429.sql @@ -0,0 +1,20 @@ +WITH patient_labs AS ( + SELECT p.ID, l.FG, TRIM(l."U-PRO") AS protein + FROM Patient AS p + JOIN Laboratory AS l ON l.ID = p.ID + WHERE DATE(p.Birthday) > '1980-01-01' +), normalized AS ( + SELECT ID, FG, protein, + CASE WHEN SUBSTR(protein, 1, 2) = '>=' + THEN TRIM(SUBSTR(protein, 3)) + ELSE protein + END AS protein_mg_dl + FROM patient_labs +) +SELECT COUNT(DISTINCT ID) AS eligible_patient_count +FROM normalized +WHERE FG < 150 OR FG > 450 + OR protein IN ('3', '4', '3+', '4+') + OR (protein_mg_dl NOT GLOB '*[^0-9.]*' + AND protein_mg_dl NOT GLOB '*.*.*' + AND CAST(protein_mg_dl AS REAL) >= 300); diff --git a/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird449.sql b/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird449.sql new file mode 100644 index 00000000..9eecc906 --- /dev/null +++ b/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird449.sql @@ -0,0 +1,29 @@ +WITH urine_results AS ( + SELECT ID, TRIM("U-PRO") AS result + FROM Laboratory +), urine_concentrations AS ( + SELECT ID, + CASE + WHEN SUBSTR(result, 1, 2) = '>=' THEN TRIM(SUBSTR(result, 3)) + WHEN result GLOB '+[0-9](*)' THEN TRIM(SUBSTR(result, 4, LENGTH(result) - 4)) + ELSE result + END AS mg_dl + FROM urine_results +) +SELECT p.ID, p.SEX, p.Birthday +FROM Patient AS p +WHERE EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID AND l.LDH >= 500 +) +AND EXISTS ( + SELECT 1 + FROM urine_concentrations AS u + WHERE u.ID = p.ID + AND u.mg_dl GLOB '*[0-9]*' + AND u.mg_dl NOT GLOB '*[^0-9.]*' + AND u.mg_dl NOT GLOB '*.*.*' + AND CAST(u.mg_dl AS REAL) >= 100 +) +ORDER BY p.ID; diff --git a/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird451.sql b/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird451.sql new file mode 100644 index 00000000..a15beb76 --- /dev/null +++ b/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird451.sql @@ -0,0 +1,6 @@ +SELECT COUNT(DISTINCT "ID") AS patient_count +FROM "Patient" +WHERE "SEX" = 'F' + AND "First Date" >= '1998-01-01' + AND "First Date" < '1999-01-01' + AND "Admission" LIKE '+%'; diff --git a/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird459.sql b/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird459.sql new file mode 100644 index 00000000..8700922f --- /dev/null +++ b/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird459.sql @@ -0,0 +1,9 @@ +SELECT ROUND(AVG(NULLIF(e."aCL IgM", 0)), 2) AS avg_acl_igm +FROM Examination AS e +WHERE EXISTS ( + SELECT 1 + FROM Patient AS p + WHERE p.ID = e.ID + AND UPPER(p.Diagnosis) LIKE '%SJS%' + AND UPPER(p.Diagnosis) NOT LIKE '%SJS SUSP%' +); diff --git a/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird470.sql b/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird470.sql new file mode 100644 index 00000000..92024789 --- /dev/null +++ b/bench/accuracy/results/bird-development-v1/gpt62-sol/sql/bird470.sql @@ -0,0 +1,11 @@ +WITH element_counts AS ( + SELECT a.element, COUNT(*) AS atom_occurrences + FROM atom AS a + JOIN molecule AS m ON m.molecule_id = a.molecule_id + WHERE m.label = '-' AND a.element IS NOT NULL + GROUP BY a.element +) +SELECT element +FROM element_counts +WHERE atom_occurrences = (SELECT MIN(atom_occurrences) FROM element_counts) +ORDER BY element; diff --git a/bench/accuracy/results/bird-development-v1/gpt62-sol/status.json b/bench/accuracy/results/bird-development-v1/gpt62-sol/status.json new file mode 100644 index 00000000..c491f65d --- /dev/null +++ b/bench/accuracy/results/bird-development-v1/gpt62-sol/status.json @@ -0,0 +1,4 @@ +{ + "status": "completed", + "wall_seconds": 105.98943383409642 +} diff --git a/bench/accuracy/results/bird-development-v1/manifest.json b/bench/accuracy/results/bird-development-v1/manifest.json new file mode 100644 index 00000000..6e6fb675 --- /dev/null +++ b/bench/accuracy/results/bird-development-v1/manifest.json @@ -0,0 +1,647 @@ +{ + "benchmark": "BIRD Mini-Dev SQLite 500 (2026-10-25)", + "upstream_commit": "5b256b5a9c17478f06ed6912612e9a14d17065c8", + "question_file_sha256": "926af2a0d1b47e5d0d15a7aa8a34d4721007f4550a881555b6a89496b54a2606", + "evaluator_sha256": "da1bbcd4530be83692d7c650c814ea9704bb710d0c953eb75d02ccb38233cf89", + "cases": [ + { + "instance_id": "bird024", + "db": "california_schools", + "question": "We're relocating to far Northern California and want to know how far north California's middle schools reach. A middle school means a school serving the middle grades, the level between elementary school and high school — count it as a middle school if either its school type or its school name marks it as serving the middle grades, so a junior high school whose name says 'Middle' counts. Include both open and closed schools. Please tell me which middle school is located furthest north in California, along with its school type (the value of the field named 'School Type'), its school name, and its latitude in degrees. If several middle schools tie for the highest latitude, list all of them.", + "evidence": "middle school: a school serving the middle grades, the level between elementary school and high school" + }, + { + "instance_id": "bird036", + "db": "california_schools", + "question": "I'm putting together a profile of Alameda County high schools, focusing on economic disadvantage among schools that serve up through 12th grade. Among those schools, can you tell me which one has the highest free meal rate? For each school you identify, give me one line with: the school name, its free meal rate to 4 decimal places, whether it is a charter school (Yes/No/Unknown), the grades it serves, and its SAT performance level (Below Average, Average, Above Average, or No SAT Data). Please use the school's grade span of enrollment from the school directory (the GSserved field of the schools table) both to decide whether it serves up through 12th grade and for the grades-it-serves column-do not use the free-meal program record's Low Grade/High Grade for either. If several schools tie for the highest free meal rate, list every one of them.", + "evidence": "Free meal rate = Free Meal Count (K-12) / Enrollment (K-12). SAT performance level is based on the SAT total (Reading + Math + Writing): Below Average if below 1200, Average if 1200 to 1500, Above Average if above 1500, and 'No SAT Data' if no SAT scores are available." + }, + { + "instance_id": "bird058", + "db": "card_games", + "question": "Among card printings with no recorded power value or a variable power expression, what percentage have a French translation? Round to two decimals.", + "evidence": "An asterisk anywhere in a power expression denotes variable power." + }, + { + "instance_id": "bird064", + "db": "card_games", + "question": "How many black-border cards with power 10 or greater are available on Magic: The Gathering Online? I just want a single number.", + "evidence": "Black-border cards are the tournament-legal Magic cards, excluding the joke silver-bordered sets. Power is the first number in the lower-right corner of a creature card." + }, + { + "instance_id": "bird087", + "db": "card_games", + "question": "I'm compiling the official rulings archive for the Magic: The Gathering card Fireball. How many official rulings have ever been issued for Fireball? I need the total across all time, with no date restriction.", + "evidence": "A ruling is an official clarification issued by Wizards of the Coast about how a card works." + }, + { + "instance_id": "bird146", + "db": "codebase_community", + "question": "For each month of 2010, how many posts that have no more than two answers received a link during that month? A month with none counts as zero. Give me the average across all twelve months of 2010, rounded to two decimals.", + "evidence": "A link is a recorded connection that associates one post with another post of the site." + }, + { + "instance_id": "bird152", + "db": "debit_card_specializing", + "question": "How many customers who pay in EUR and had gas consumption in 2012 also had gas consumption in 2013? I just need a single number: the count of such customers. By 2012 and 2013 I mean those calendar years, and gas consumption in any month of the year counts.", + "evidence": "" + }, + { + "instance_id": "bird179", + "db": "european_football_2", + "question": "I'm putting together a participation report for the 2015/2016 season. For every player whose name starts with Adam and who weighs more than 170, I need the number of matches he played during that season. Please return, one row per qualifying player, the player's name and his number of matches played in the 2015/2016 season, and nothing else. The season I mean is the one labeled '2015/2016'.", + "evidence": "Played a match means being named in that match's lineup, for either the home or the away team." + }, + { + "instance_id": "bird229", + "db": "financial", + "question": "I'm closing the 1998 books for client 2823's account and need to reconcile the interest. What was the net interest on that account for calendar year 1998 (1 January through 31 December 1998) – interest credited minus penalty interest charged, with penalty interest entering as negative – as a single exact amount in CZK, not rounded? Please include everything credited or charged over the year; the client's account is one account, regardless of the disposition it carries.", + "evidence": "'UROK' is the bank's code for interest credited to an account; penalty (sanction) interest charged to an account uses the bank's sanction-interest code, which is built on the same interest code." + }, + { + "instance_id": "bird249", + "db": "formula_1", + "question": "Which 20 drivers recorded the shortest single lap times in Formula 1 races? Give their full names, shortest lap first.", + "evidence": "" + }, + { + "instance_id": "bird260", + "db": "formula_1", + "question": "For the 2017 Italian Grand Prix, I'd like to identify the drivers who completed the second qualifying session (Q2) but were knocked out and did not reach Q3. Please list every such driver - no ranking, cutoff or tie-break, just all of them - showing each driver's reference name, nationality and birthday, and nothing else.", + "evidence": "Formula 1 qualifying is run in three timed sessions, Q1, Q2 and Q3; completing a session means the driver recorded a lap time in that session, and only drivers who complete a session move on to the next. The reference name is the driver's short identifier." + }, + { + "instance_id": "bird353", + "db": "superhero", + "question": "Hey, following up on my count of the God / Eternal heroes – among those who are male, what's the average number of superpowers per hero? Just give me the average rounded to two decimal places.", + "evidence": "A superpower is any power linked to a hero." + }, + { + "instance_id": "bird379", + "db": "superhero", + "question": "What percentage of Marvel Comics superheroes with a recorded superpower are classified as good? Round the percentage to two decimal places, and give me just that single value.", + "evidence": "Good means alignment 'Good'; superpower refers to a hero's recorded power." + }, + { + "instance_id": "bird389", + "db": "thrombosis_prediction", + "question": "How many distinct female patients have a normal anti-Scl-70 result and no recorded non-null symptom on any examination?", + "evidence": "Normal anti-Scl-70 is recorded as 'negative' or '0'." + }, + { + "instance_id": "bird423", + "db": "thrombosis_prediction", + "question": "I'd like to know how many patients on record have both an abnormal anti-SSA antibody result and a positive proteinuria finding at some point in their record. Abnormal anti-SSA means any recorded test result other than negative or zero. Proteinuria counts as positive if any urine test on file returned a result other than negative or none. The two findings don't need to come from the same visit – I'm looking across each patient's entire record. Please just give me the number of such patients.", + "evidence": "anti-SSA: anti-SSA antibody laboratory test; proteinuria: protein found in the urine" + }, + { + "instance_id": "bird429", + "db": "thrombosis_prediction", + "question": "I'm screening our thrombosis cohort for a study and need an eligibility count. How many patients born after 1980-01-01 had at least one abnormal fibrinogen result or at least one severe proteinuria result? A fibrinogen result is abnormal if it's below 150 or above 450; the normal range 150-450 is inclusive. Severe proteinuria means 300 mg/dl or more on the urinalysis scale, i.e., dipstick 3+ or 4+; trace, 1+ and 2+ are not severe. I just need the single count, nothing else.", + "evidence": "Urinalysis protein scale: '-' and '0' mean no protein, 'TR' means trace, grades '1','2','3','4' mean 1+ to 4+, where 3+ is about 300 mg/dl and 4+ about 1000 mg/dl or more; a plain number is a reading in mg/dl, and a '>=' prefix means 'or more'." + }, + { + "instance_id": "bird449", + "db": "thrombosis_prediction", + "question": "I'm putting together a renal-involvement review. Could you pull the demographics of patients who show both marked tissue damage and clinically significant proteinuria? Specifically, I need the patient ID, sex, and birthday of every patient who has at least one LDH result of 500 or higher and at least one urinary protein result of 100 mg/dL or more. A few details: an LDH of exactly 500 counts, and a urinary protein of exactly 100 mg/dL counts. The qualifying LDH and the qualifying urinary protein don't have to come from the same lab visit. Please give me one row per patient, ordered by patient ID, and nothing beyond those three fields.", + "evidence": "Urinary protein is reported in mg/dL; a dipstick grade may carry the equivalent concentration in mg/dL in parentheses, e.g. '+2(100)' is 100 mg/dL. A result written as '>=' followed by a value means at least that many mg/dL, e.g. '>=300' is 300 mg/dL or more. 'TR' means a trace and '-' means none detected; any other marker is not a quantified mg/dL concentration. An LDH of 500 or higher is outside the normal range." + }, + { + "instance_id": "bird451", + "db": "thrombosis_prediction", + "question": "I need the number of female patients whose first visit to the hospital fell in 1998 (1 January 1998 through 31 December 1998) and who were admitted to the hospital. Only count patients whose sex is recorded as female; if there is no sex entry, don't count them.", + "evidence": "An admission mark beginning with a plus sign means the patient was admitted to the hospital; a minus sign means the patient was followed at the outpatient clinic." + }, + { + "instance_id": "bird459", + "db": "thrombosis_prediction", + "question": "I'm studying antiphospholipid antibodies in Sjögren's syndrome (SJS). Could you tell me the average anti-cardiolipin IgM concentration among SJS patients, rounded to two decimal places? To clarify: use only patients with an established SJS diagnosis recorded at the patient level (a diagnosis marked 'susp', such as 'SJS susp', is only a suspicion and those patients should not be included). Include every examination recorded for these patients regardless of date. A recorded anti-cardiolipin IgM value of 0 means the antibody was not detected at that examination, so treat it as no measurement and leave it out of the average - count only examinations where a concentration was detected.", + "evidence": "SJS is the abbreviation used for Sjögren's syndrome; a diagnosis marked 'susp' (e.g. 'SJS susp') is only a suspicion of the disease, not an established diagnosis." + }, + { + "instance_id": "bird470", + "db": "toxicology", + "question": "Which elements have the fewest atom occurrences across non-carcinogenic molecules? Include all elements tied for the minimum.", + "evidence": "A '-' carcinogenicity label means non-carcinogenic." + } + ], + "db_sha256": { + "california_schools": "c0903eec662e63068fd1d14403d3d6c1d473287fc10c4356333ea58f878db983", + "card_games": "c98bdb57fe7474da798b407785544b9af0daaad5d61fd21e2a73309493bc1227", + "codebase_community": "92101be6d2a9f6adceea59d38f6d1c556087f9eea1432432a21268cb1348036d", + "debit_card_specializing": "b3d149ad05746dbbe5116e229e17e18f09c39db43cf117d9ef3441753608b691", + "european_football_2": "f72f5c9b990371417288a67b27a02e601ef904d45525c2c9f7931fb01001c536", + "financial": "d15d89cdb068a202b6f2b99342af44dffc1d52545b39ceaf62efdc0ba570101e", + "formula_1": "79770caf966707e35516fa566e24b40ae515c74ec1ec4631235245645b87b24d", + "student_club": "eb89bcfe97eefa386a27904ec5aa15159811a7eac894ec659a36e48fa9f76b77", + "superhero": "75e94a2c3236ee3bb2c01fb97a1c4b4c1c269bcefd4eab1d04be323d2d0825b1", + "thrombosis_prediction": "87583183c3dc472fba04de702965560a9d7c0a548836613f242317e0eeb83f00", + "toxicology": "4df4094208e0799d5e5f0e2b5bc5c415cf87b1208ebaf8f4c14c7af445b682c5" + }, + "suite": "bird", + "development_ids": [ + "bird058", + "bird024", + "bird451", + "bird229", + "bird146", + "bird389", + "bird152", + "bird353", + "bird064", + "bird087", + "bird260", + "bird449", + "bird249", + "bird470", + "bird379", + "bird179", + "bird036", + "bird429", + "bird459", + "bird423" + ], + "holdout_ids": [ + "bird023", + "bird238", + "bird358", + "bird324", + "bird155", + "bird267", + "bird110", + "bird192", + "bird226", + "bird365", + "bird128", + "bird381", + "bird305", + "bird408", + "bird001", + "bird413", + "bird120", + "bird432", + "bird160", + "bird027", + "bird199", + "bird095", + "bird407", + "bird091", + "bird489", + "bird209", + "bird194", + "bird313", + "bird015", + "bird051", + "bird270", + "bird130", + "bird427", + "bird167", + "bird360", + "bird061", + "bird450", + "bird097", + "bird032", + "bird341", + "bird006", + "bird156", + "bird471", + "bird119", + "bird369", + "bird256", + "bird057", + "bird222", + "bird361", + "bird205", + "bird356", + "bird279", + "bird412", + "bird488", + "bird496", + "bird295", + "bird404", + "bird390", + "bird417", + "bird440", + "bird211", + "bird487", + "bird005", + "bird299", + "bird397", + "bird346", + "bird315", + "bird484", + "bird472", + "bird162", + "bird428", + "bird254", + "bird349", + "bird017", + "bird446", + "bird232", + "bird236", + "bird071", + "bird063", + "bird244", + "bird062", + "bird157", + "bird480", + "bird185", + "bird248", + "bird463", + "bird035", + "bird345", + "bird088", + "bird072", + "bird443", + "bird135", + "bird474", + "bird275", + "bird495", + "bird148", + "bird444", + "bird331", + "bird060", + "bird431", + "bird416", + "bird117", + "bird410", + "bird079", + "bird326", + "bird105", + "bird436", + "bird383", + "bird139", + "bird350", + "bird182", + "bird485", + "bird132", + "bird245", + "bird424", + "bird292", + "bird098", + "bird030", + "bird329", + "bird430", + "bird191", + "bird455", + "bird434", + "bird348", + "bird026", + "bird011", + "bird089", + "bird212", + "bird103", + "bird083", + "bird008", + "bird074", + "bird050", + "bird106", + "bird259", + "bird376", + "bird067", + "bird193", + "bird055", + "bird044", + "bird264", + "bird198", + "bird003", + "bird075", + "bird380", + "bird033", + "bird025", + "bird301", + "bird196", + "bird114", + "bird077", + "bird303", + "bird204", + "bird366", + "bird240", + "bird123", + "bird195", + "bird333", + "bird158", + "bird112", + "bird469", + "bird493", + "bird368", + "bird306", + "bird462", + "bird490", + "bird285", + "bird246", + "bird373", + "bird273", + "bird289", + "bird276", + "bird168", + "bird342", + "bird492", + "bird387", + "bird337", + "bird189", + "bird184", + "bird401", + "bird352", + "bird200", + "bird280", + "bird002", + "bird048", + "bird186", + "bird174", + "bird498", + "bird141", + "bird239", + "bird039", + "bird216", + "bird022", + "bird332", + "bird294", + "bird045", + "bird169", + "bird172", + "bird040", + "bird242", + "bird107", + "bird250", + "bird382", + "bird491", + "bird347", + "bird076", + "bird497", + "bird116", + "bird374", + "bird262", + "bird453", + "bird171", + "bird043", + "bird217", + "bird178", + "bird257", + "bird386", + "bird396", + "bird181", + "bird439", + "bird419", + "bird415", + "bird111", + "bird164", + "bird414", + "bird406", + "bird296", + "bird101", + "bird409", + "bird251", + "bird118", + "bird268", + "bird086", + "bird010", + "bird056", + "bird127", + "bird210", + "bird122", + "bird161", + "bird367", + "bird218", + "bird457", + "bird144", + "bird372", + "bird286", + "bird370", + "bird154", + "bird124", + "bird084", + "bird177", + "bird099", + "bird143", + "bird435", + "bird402", + "bird336", + "bird479", + "bird125", + "bird290", + "bird335", + "bird094", + "bird300", + "bird482", + "bird466", + "bird214", + "bird281", + "bird392", + "bird082", + "bird233", + "bird013", + "bird478", + "bird153", + "bird420", + "bird477", + "bird096", + "bird258", + "bird247", + "bird494", + "bird351", + "bird344", + "bird081", + "bird241", + "bird473", + "bird355", + "bird049", + "bird384", + "bird037", + "bird145", + "bird377", + "bird224", + "bird481", + "bird009", + "bird159", + "bird411", + "bird421", + "bird458", + "bird448", + "bird029", + "bird137", + "bird163", + "bird134", + "bird225", + "bird468", + "bird034", + "bird080", + "bird271", + "bird100", + "bird263", + "bird325", + "bird398", + "bird093", + "bird452", + "bird066", + "bird031", + "bird287", + "bird007", + "bird235", + "bird312", + "bird340", + "bird362", + "bird028", + "bird019", + "bird298", + "bird138", + "bird418", + "bird359", + "bird046", + "bird113", + "bird230", + "bird073", + "bird202", + "bird070", + "bird433", + "bird265", + "bird322", + "bird021", + "bird314", + "bird311", + "bird394", + "bird004", + "bird391", + "bird140", + "bird425", + "bird321", + "bird282", + "bird221", + "bird183", + "bird228", + "bird078", + "bird467", + "bird012", + "bird147", + "bird197", + "bird109", + "bird266", + "bird316", + "bird283", + "bird378", + "bird483", + "bird441", + "bird085", + "bird310", + "bird475", + "bird297", + "bird261", + "bird388", + "bird339", + "bird170", + "bird447", + "bird129", + "bird486", + "bird136", + "bird052", + "bird375", + "bird288", + "bird456", + "bird165", + "bird476", + "bird219", + "bird338", + "bird499", + "bird059", + "bird255", + "bird464", + "bird302", + "bird357", + "bird142", + "bird393", + "bird328", + "bird215", + "bird042", + "bird284", + "bird277", + "bird102", + "bird272", + "bird020", + "bird307", + "bird330", + "bird304", + "bird442", + "bird253", + "bird000", + "bird454", + "bird363", + "bird223", + "bird047", + "bird220", + "bird231", + "bird400", + "bird465", + "bird385", + "bird309", + "bird206", + "bird445", + "bird461", + "bird317", + "bird237", + "bird399", + "bird422", + "bird460", + "bird175", + "bird318", + "bird108", + "bird069", + "bird068", + "bird092", + "bird173", + "bird234", + "bird090", + "bird014", + "bird151", + "bird213", + "bird018", + "bird133", + "bird187", + "bird269", + "bird131", + "bird203", + "bird308", + "bird180", + "bird054", + "bird405", + "bird395", + "bird364", + "bird121", + "bird371", + "bird293", + "bird038", + "bird426", + "bird252", + "bird104", + "bird190", + "bird188", + "bird354", + "bird201", + "bird207", + "bird437", + "bird291", + "bird334", + "bird274", + "bird065", + "bird403", + "bird278", + "bird126", + "bird176", + "bird208", + "bird053", + "bird150", + "bird320", + "bird323", + "bird115", + "bird327", + "bird166", + "bird149", + "bird438", + "bird041", + "bird343", + "bird319", + "bird016", + "bird227", + "bird243" + ], + "split_seed": 20261126 +} diff --git a/bench/accuracy/results/bird-development-v1/settings.json b/bench/accuracy/results/bird-development-v1/settings.json new file mode 100644 index 00000000..09485820 --- /dev/null +++ b/bench/accuracy/results/bird-development-v1/settings.json @@ -0,0 +1,40 @@ +{ + "profiles": [ + { + "name": "gpt62-sol", + "model": "openai/gpt-6.2-sol", + "api_key_env": "OPEN_AI_KEY", + "max_output_tokens": 8192, + "reasoning_effort": "high" + } + ], + "split": "development", + "product_commit": "e7f0b0644883b6e3fa760e706fd396cc6730e846", + "manifest_sha256": "a08d40046ae163174d4ceace18633c26449c785366504b502dda42d70d92c7c1", + "sources": { + "bench/ecommerce_demo.py": "f75f4c82e07773a57ee1954d59f0acf35c9eb945430bdaea4ccdd98a35dcc86c", + "bench/oracle_demo.py": "c781b9501dea47b7900bb47e3fe41e2700d2153e85e087dce757f95e3e698b0e", + "bench/oracle_view/rehearse.py": "0114ce65327e435d4e3be6cab60e22b48bfb3ff7f06d97c14a16ea0d8e5602f2", + "bench/oracle_view/long_context.py": "089038788a9b4191946c906e470877bd246850d0a6d535809594a0bddfdcd47e", + "bench/oracle_view/codex_demo.py": "2eea87d833ca6a73a50255fa83927c6c560e2390df6c65e217263b2d3bb966c6", + "bench/oracle_view/summarize_context.py": "707b288be6637a7c8a45b957ef44a81cfb091c7fa5b249e9407a2a9b07e66626", + "bench/oracle_view/evaluate.py": "10685e37fbb2420242ebf5f88f988f3d5bccebc45465151f53ab8454e8fb5a3c", + "bench/oracle_co/session.py": "ff839e7497d9e06ca18a248993bac3c556d256ade7311c604d1f55926c195acb", + "bench/oracle_co/demo.py": "a8ac981bb35d0d77595b2441721cde4e458fb63c3fb7c1748a14bab4a187300a", + "bench/oracle_co/db_preview.py": "9a08766183d5f9542442ba41666d998fe024926e676799ffac5d751237ee0d64", + "bench/accuracy/evaluate.py": "a3632f408d6c461429e9e8ff9d04c83a421338ff8d2ec60a17cae5775f851fe4", + "bench/oracle_meeting/rehearse.py": "542664b6f04ae6a9606735b550fc2ce2f50df6fc0513384ebf4c654136974cd3", + "bench/oracle_meeting/codex_rehearse.py": "cfa84091da819ab1cb71d083c3ff77cc7fd79b8560de2108626e6d4c3bd8a3aa", + "bench/oracle_meeting/package_fault.py": "c7bb3552f167bafcbc084152deb66e187b3a6fa4de3dfed92cc00c7588bc1fe2", + "bench/spider2/providers.py": "8fac5ecaab6fb3f4795907b709985a2db900db23545b01044b4dd549dd221fa3", + "bench/spider2/evaluate.py": "a0a76f1c9977703c9f083b8f256e0ef191f52a280a2e0f3a45100a467e37e3b4" + }, + "limits": { + "max_calls": 16, + "call_timeout": 180, + "case_timeout": 900, + "sql_timeout": 30, + "max_rows": 100000, + "concurrency": 4 + } +} diff --git a/bench/accuracy/results/bird-development-v1/summary.json b/bench/accuracy/results/bird-development-v1/summary.json new file mode 100644 index 00000000..fa0fc8da --- /dev/null +++ b/bench/accuracy/results/bird-development-v1/summary.json @@ -0,0 +1,8 @@ +[ + { + "profile": "gpt62-sol", + "correct": 17, + "total": 20, + "accuracy": 0.85 + } +] diff --git a/bench/accuracy/results/bird-development-v2/gpt62-sol/records.jsonl b/bench/accuracy/results/bird-development-v2/gpt62-sol/records.jsonl new file mode 100644 index 00000000..4dad1f80 --- /dev/null +++ b/bench/accuracy/results/bird-development-v2/gpt62-sol/records.jsonl @@ -0,0 +1,20 @@ +{"instance_id": "bird024", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH california_schools AS (\n SELECT f.\"School Type\",\n COALESCE(f.\"School Name\", s.School) AS \"School Name\",\n COALESCE(f.\"School Type\", s.SOCType) AS type_for_classification,\n ' ' || LOWER(REPLACE(REPLACE(COALESCE(f.\"School Name\", s.School), '-', ' '), '.', '')) || ' ' AS name_for_classification,\n s.Latitude\n FROM schools AS s\n LEFT JOIN frpm AS f ON f.CDSCode = s.CDSCode\n WHERE s.State = 'CA' AND s.Latitude IS NOT NULL\n), middle_schools AS (\n SELECT \"School Type\", \"School Name\", Latitude\n FROM california_schools\n WHERE type_for_classification IN ('Intermediate/Middle Schools (Public)', 'Junior High Schools (Public)')\n OR name_for_classification LIKE '% middle %'\n OR name_for_classification LIKE '% intermediate %'\n OR name_for_classification LIKE '% junior high %'\n OR name_for_classification LIKE '% jr high %'\n)\nSELECT \"School Type\", \"School Name\", Latitude\nFROM middle_schools\nWHERE Latitude = (SELECT MAX(Latitude) FROM middle_schools);\n```", "rows": 1, "sql": "WITH california_schools AS (\n SELECT f.\"School Type\",\n COALESCE(f.\"School Name\", s.School) AS \"School Name\",\n COALESCE(f.\"School Type\", s.SOCType) AS type_for_classification,\n ' ' || LOWER(REPLACE(REPLACE(COALESCE(f.\"School Name\", s.School), '-', ' '), '.', '')) || ' ' AS name_for_classification,\n s.Latitude\n FROM schools AS s\n LEFT JOIN frpm AS f ON f.CDSCode = s.CDSCode\n WHERE s.State = 'CA' AND s.Latitude IS NOT NULL\n), middle_schools AS (\n SELECT \"School Type\", \"School Name\", Latitude\n FROM california_schools\n WHERE type_for_classification IN ('Intermediate/Middle Schools (Public)', 'Junior High Schools (Public)')\n OR name_for_classification LIKE '% middle %'\n OR name_for_classification LIKE '% intermediate %'\n OR name_for_classification LIKE '% junior high %'\n OR name_for_classification LIKE '% jr high %'\n)\nSELECT \"School Type\", \"School Name\", Latitude\nFROM middle_schools\nWHERE Latitude = (SELECT MAX(Latitude) FROM middle_schools);", "seconds": 39.908855958958156, "calls": [{"seconds": 2.0986158329760656, "usage": {"completion_tokens": 19, "prompt_tokens": 1747, "total_tokens": 1766, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1208, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 2.0305287920637056, "usage": {"completion_tokens": 15, "prompt_tokens": 2095, "total_tokens": 2110, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1556, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 2.1919082090025768, "usage": {"completion_tokens": 20, "prompt_tokens": 2134, "total_tokens": 2154, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 39, "cached_tokens": 1556, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 39, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 39, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 6.074638333986513, "usage": {"completion_tokens": 265, "prompt_tokens": 2431, "total_tokens": 2696, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 297, "cached_tokens": 1595, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 297, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 297, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 9.981949458015151, "usage": {"completion_tokens": 405, "prompt_tokens": 3721, "total_tokens": 4126, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 317, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1290, "cached_tokens": 1892, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1290, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1290, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 10.89967166702263, "usage": {"completion_tokens": 528, "prompt_tokens": 5092, "total_tokens": 5620, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 232, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1371, "cached_tokens": 3182, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1371, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1371, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 5.1779849589802325, "usage": {"completion_tokens": 271, "prompt_tokens": 5935, "total_tokens": 6206, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 843, "cached_tokens": 4553, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 843, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 843, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "579e06205162d70486818e934f8649e33a6cebca9da6e0a1a6b4c415ec235fa5", "csv_sha256": "3655b153acf280d6bf3f963091138a8a3e7936b439657cb6d7ec093cbc484f7c"} +{"instance_id": "bird036", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH eligible_schools AS (\n SELECT s.CDSCode,\n s.School AS school_name,\n s.Charter AS charter,\n s.GSserved AS grades_served,\n 1.0 * f.\"Free Meal Count (K-12)\" / f.\"Enrollment (K-12)\" AS free_meal_rate\n FROM schools AS s\n JOIN frpm AS f ON f.CDSCode = s.CDSCode\n WHERE s.County = 'Alameda'\n AND (TRIM(s.GSserved) = '12' OR TRIM(s.GSserved) LIKE '%-12')\n), top_schools AS (\n SELECT CDSCode, school_name, charter, grades_served, free_meal_rate\n FROM eligible_schools\n WHERE free_meal_rate = (SELECT MAX(free_meal_rate) FROM eligible_schools)\n), sat_totals AS (\n SELECT cds, AvgScrRead + AvgScrMath + AvgScrWrite AS sat_total\n FROM satscores\n WHERE rtype = 'S'\n)\nSELECT t.school_name,\n ROUND(t.free_meal_rate, 4) AS free_meal_rate,\n CASE t.charter WHEN 1 THEN 'Yes' WHEN 0 THEN 'No' ELSE 'Unknown' END AS charter_school,\n t.grades_served,\n CASE\n WHEN a.sat_total IS NULL THEN 'No SAT Data'\n WHEN a.sat_total < 1200 THEN 'Below Average'\n WHEN a.sat_total <= 1500 THEN 'Average'\n ELSE 'Above Average'\n END AS sat_performance_level\nFROM top_schools AS t\nLEFT JOIN sat_totals AS a ON a.cds = t.CDSCode\nORDER BY t.school_name, t.CDSCode;\n```", "rows": 1, "sql": "WITH eligible_schools AS (\n SELECT s.CDSCode,\n s.School AS school_name,\n s.Charter AS charter,\n s.GSserved AS grades_served,\n 1.0 * f.\"Free Meal Count (K-12)\" / f.\"Enrollment (K-12)\" AS free_meal_rate\n FROM schools AS s\n JOIN frpm AS f ON f.CDSCode = s.CDSCode\n WHERE s.County = 'Alameda'\n AND (TRIM(s.GSserved) = '12' OR TRIM(s.GSserved) LIKE '%-12')\n), top_schools AS (\n SELECT CDSCode, school_name, charter, grades_served, free_meal_rate\n FROM eligible_schools\n WHERE free_meal_rate = (SELECT MAX(free_meal_rate) FROM eligible_schools)\n), sat_totals AS (\n SELECT cds, AvgScrRead + AvgScrMath + AvgScrWrite AS sat_total\n FROM satscores\n WHERE rtype = 'S'\n)\nSELECT t.school_name,\n ROUND(t.free_meal_rate, 4) AS free_meal_rate,\n CASE t.charter WHEN 1 THEN 'Yes' WHEN 0 THEN 'No' ELSE 'Unknown' END AS charter_school,\n t.grades_served,\n CASE\n WHEN a.sat_total IS NULL THEN 'No SAT Data'\n WHEN a.sat_total < 1200 THEN 'Below Average'\n WHEN a.sat_total <= 1500 THEN 'Average'\n ELSE 'Above Average'\n END AS sat_performance_level\nFROM top_schools AS t\nLEFT JOIN sat_totals AS a ON a.cds = t.CDSCode\nORDER BY t.school_name, t.CDSCode;", "seconds": 33.77048079203814, "calls": [{"seconds": 3.6782361670630053, "usage": {"completion_tokens": 68, "prompt_tokens": 1848, "total_tokens": 1916, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1309, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 4.530353416921571, "usage": {"completion_tokens": 200, "prompt_tokens": 2615, "total_tokens": 2815, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 767, "cached_tokens": 1309, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 767, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 767, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 8.976647874922492, "usage": {"completion_tokens": 523, "prompt_tokens": 3646, "total_tokens": 4169, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 101, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1031, "cached_tokens": 2076, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1031, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1031, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 8.736884000012651, "usage": {"completion_tokens": 542, "prompt_tokens": 4621, "total_tokens": 5163, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 123, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 975, "cached_tokens": 3107, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 975, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 975, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 6.431160375010222, "usage": {"completion_tokens": 385, "prompt_tokens": 5612, "total_tokens": 5997, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 991, "cached_tokens": 4082, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 991, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 991, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2bc96791cb4b86cde96c8a90fc0748cd0b73694ed5558f1d9415a763e885442f", "csv_sha256": "129d20d69850525faf184fd9a747bdeb4bbadd3e80585593d38373a7577f64a0"} +{"instance_id": "bird058", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH french_printings AS (\n SELECT DISTINCT uuid\n FROM foreign_data\n WHERE language = 'French'\n)\nSELECT ROUND(100.0 * COUNT(f.uuid) / COUNT(*), 2) AS percentage_with_french_translation\nFROM cards AS c\nLEFT JOIN french_printings AS f ON f.uuid = c.uuid\nWHERE c.power IS NULL OR c.power LIKE '%*%';\n```", "rows": 1, "sql": "WITH french_printings AS (\n SELECT DISTINCT uuid\n FROM foreign_data\n WHERE language = 'French'\n)\nSELECT ROUND(100.0 * COUNT(f.uuid) / COUNT(*), 2) AS percentage_with_french_translation\nFROM cards AS c\nLEFT JOIN french_printings AS f ON f.uuid = c.uuid\nWHERE c.power IS NULL OR c.power LIKE '%*%';", "seconds": 46.279059916967526, "calls": [{"seconds": 2.7991504999808967, "usage": {"completion_tokens": 51, "prompt_tokens": 1639, "total_tokens": 1690, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1091, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 5.034862375003286, "usage": {"completion_tokens": 163, "prompt_tokens": 2276, "total_tokens": 2439, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 63, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1728, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.4457043749280274, "usage": {"completion_tokens": 101, "prompt_tokens": 2569, "total_tokens": 2670, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 293, "cached_tokens": 1728, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 293, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 293, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.4191011249786243, "usage": {"completion_tokens": 89, "prompt_tokens": 2782, "total_tokens": 2871, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 213, "cached_tokens": 2021, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 213, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 213, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "14330afca22821fc11b7b1fead676e1d1fc2d92ec81e40fbf9354d6d6141dccd", "csv_sha256": "9b17ad6a2214ef80e2d5c32290ae033619b361ca15eb636addb20a5518a83715"} +{"instance_id": "bird064", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS card_count\nFROM cards\nWHERE borderColor = 'black'\n AND availability LIKE '%mtgo%'\n AND CAST(power AS INTEGER) >= 10;\n```", "rows": 1, "sql": "SELECT COUNT(*) AS card_count\nFROM cards\nWHERE borderColor = 'black'\n AND availability LIKE '%mtgo%'\n AND CAST(power AS INTEGER) >= 10;", "seconds": 18.652096208999865, "calls": [{"seconds": 2.5485659589758143, "usage": {"completion_tokens": 15, "prompt_tokens": 1660, "total_tokens": 1675, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1112, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 2.767585291992873, "usage": {"completion_tokens": 66, "prompt_tokens": 1711, "total_tokens": 1777, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 51, "cached_tokens": 1112, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 51, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 51, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 4.874483500025235, "usage": {"completion_tokens": 137, "prompt_tokens": 2507, "total_tokens": 2644, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 64, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 796, "cached_tokens": 1163, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 796, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 796, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.715563541976735, "usage": {"completion_tokens": 102, "prompt_tokens": 3092, "total_tokens": 3194, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 45, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 585, "cached_tokens": 1959, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 585, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 585, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.2614797500427812, "usage": {"completion_tokens": 44, "prompt_tokens": 3257, "total_tokens": 3301, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 165, "cached_tokens": 2544, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 165, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 165, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d2e5a66760346181dfe5744e05d52c153b0f92674ac513da1550a4386952fb9c", "csv_sha256": "e82d2d591302dd3d76309f030c09d49f8f849efb387104ae1960e27f9a70b727"} +{"instance_id": "bird087", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS total_rulings\nFROM (\n SELECT DISTINCT r.date, r.text\n FROM rulings AS r\n JOIN cards AS c ON c.uuid = r.uuid\n WHERE c.name = 'Fireball'\n) AS unique_rulings;\n```", "rows": 1, "sql": "SELECT COUNT(*) AS total_rulings\nFROM (\n SELECT DISTINCT r.date, r.text\n FROM rulings AS r\n JOIN cards AS c ON c.uuid = r.uuid\n WHERE c.name = 'Fireball'\n) AS unique_rulings;", "seconds": 12.581100958981551, "calls": [{"seconds": 2.735207707970403, "usage": {"completion_tokens": 52, "prompt_tokens": 1661, "total_tokens": 1713, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1113, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 2.9545587500324473, "usage": {"completion_tokens": 81, "prompt_tokens": 2277, "total_tokens": 2358, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 616, "cached_tokens": 1113, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 616, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 616, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.603285541990772, "usage": {"completion_tokens": 102, "prompt_tokens": 2694, "total_tokens": 2796, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 26, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 417, "cached_tokens": 1729, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 417, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 417, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.0639684580964968, "usage": {"completion_tokens": 63, "prompt_tokens": 2880, "total_tokens": 2943, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 186, "cached_tokens": 2146, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 186, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 186, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "07196fb372a4d674c4555c3fa87cc56962df496d08fe83661258485d34d7944f", "csv_sha256": "1f5322be3c4231c55b9478d170e9987e94b345fe37503e5b70874536b601a38f"} +{"instance_id": "bird146", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE months(month_start) AS (\n SELECT '2010-01-01'\n UNION ALL\n SELECT date(month_start, '+1 month')\n FROM months\n WHERE month_start < '2010-12-01'\n), monthly_counts AS (\n SELECT date(l.CreationDate, 'start of month') AS month_start,\n COUNT(DISTINCT p.Id) AS post_count\n FROM postLinks AS l\n JOIN posts AS p ON p.Id = l.RelatedPostId\n WHERE l.CreationDate >= '2010-01-01'\n AND l.CreationDate < '2011-01-01'\n AND p.AnswerCount <= 2\n GROUP BY date(l.CreationDate, 'start of month')\n)\nSELECT ROUND(AVG(COALESCE(c.post_count, 0)), 2) AS average_monthly_posts\nFROM months AS m\nLEFT JOIN monthly_counts AS c ON c.month_start = m.month_start;\n```", "rows": 1, "sql": "WITH RECURSIVE months(month_start) AS (\n SELECT '2010-01-01'\n UNION ALL\n SELECT date(month_start, '+1 month')\n FROM months\n WHERE month_start < '2010-12-01'\n), monthly_counts AS (\n SELECT date(l.CreationDate, 'start of month') AS month_start,\n COUNT(DISTINCT p.Id) AS post_count\n FROM postLinks AS l\n JOIN posts AS p ON p.Id = l.RelatedPostId\n WHERE l.CreationDate >= '2010-01-01'\n AND l.CreationDate < '2011-01-01'\n AND p.AnswerCount <= 2\n GROUP BY date(l.CreationDate, 'start of month')\n)\nSELECT ROUND(AVG(COALESCE(c.post_count, 0)), 2) AS average_monthly_posts\nFROM months AS m\nLEFT JOIN monthly_counts AS c ON c.month_start = m.month_start;", "seconds": 19.828144541941583, "calls": [{"seconds": 2.4570783330127597, "usage": {"completion_tokens": 51, "prompt_tokens": 1670, "total_tokens": 1721, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1120, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 11.560720083070919, "usage": {"completion_tokens": 585, "prompt_tokens": 1925, "total_tokens": 2510, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 343, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1375, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 5.7715068749384955, "usage": {"completion_tokens": 285, "prompt_tokens": 2752, "total_tokens": 3037, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 64, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 827, "cached_tokens": 1375, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 827, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 827, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "58fe736e1f36cec36e8d5b1a980becdce69d418ff3a906b947ac18e76288dcaf", "csv_sha256": "0b9cbd80d9686d8952b98ea1f0098ac223b901ba64e1e3f45578301f53676e3e"} +{"instance_id": "bird152", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT c.CustomerID) AS customer_count\nFROM customers AS c\nWHERE c.Currency = 'EUR'\n AND EXISTS (\n SELECT 1\n FROM yearmonth AS y\n WHERE y.CustomerID = c.CustomerID\n AND y.Date >= '201201' AND y.Date < '201301'\n )\n AND EXISTS (\n SELECT 1\n FROM yearmonth AS y\n WHERE y.CustomerID = c.CustomerID\n AND y.Date >= '201301' AND y.Date < '201401'\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT c.CustomerID) AS customer_count\nFROM customers AS c\nWHERE c.Currency = 'EUR'\n AND EXISTS (\n SELECT 1\n FROM yearmonth AS y\n WHERE y.CustomerID = c.CustomerID\n AND y.Date >= '201201' AND y.Date < '201301'\n )\n AND EXISTS (\n SELECT 1\n FROM yearmonth AS y\n WHERE y.CustomerID = c.CustomerID\n AND y.Date >= '201301' AND y.Date < '201401'\n );", "seconds": 21.571100916014984, "calls": [{"seconds": 3.067804333055392, "usage": {"completion_tokens": 83, "prompt_tokens": 1656, "total_tokens": 1739, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1110, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.8398887499934062, "usage": {"completion_tokens": 95, "prompt_tokens": 1901, "total_tokens": 1996, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 51, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 245, "cached_tokens": 1110, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 245, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 245, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 5.179387125070207, "usage": {"completion_tokens": 197, "prompt_tokens": 2147, "total_tokens": 2344, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 56, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 246, "cached_tokens": 1355, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 246, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 246, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.505204916000366, "usage": {"completion_tokens": 123, "prompt_tokens": 2487, "total_tokens": 2610, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 340, "cached_tokens": 1601, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 340, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 340, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "86f7228365eeba577c25b6e95e0cb7a8ee72aba2d54d77ba2cc409579b25321f", "csv_sha256": "5bb421dc69888e2542611104b9c5d6ecf989b6c2894ec3ed088b156eb2d4d0fc"} +{"instance_id": "bird179", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT p.player_name,\n COUNT(m.id) AS matches_played\nFROM Player AS p\nLEFT JOIN \"Match\" AS m\n ON m.season = '2015/2016'\n AND p.player_api_id IN (\n m.home_player_1, m.home_player_2, m.home_player_3,\n m.home_player_4, m.home_player_5, m.home_player_6,\n m.home_player_7, m.home_player_8, m.home_player_9,\n m.home_player_10, m.home_player_11,\n m.away_player_1, m.away_player_2, m.away_player_3,\n m.away_player_4, m.away_player_5, m.away_player_6,\n m.away_player_7, m.away_player_8, m.away_player_9,\n m.away_player_10, m.away_player_11\n )\nWHERE p.player_name LIKE 'Adam%'\n AND p.weight > 170\nGROUP BY p.id, p.player_name\nORDER BY p.player_name, p.id;\n```", "rows": 24, "sql": "SELECT p.player_name,\n COUNT(m.id) AS matches_played\nFROM Player AS p\nLEFT JOIN \"Match\" AS m\n ON m.season = '2015/2016'\n AND p.player_api_id IN (\n m.home_player_1, m.home_player_2, m.home_player_3,\n m.home_player_4, m.home_player_5, m.home_player_6,\n m.home_player_7, m.home_player_8, m.home_player_9,\n m.home_player_10, m.home_player_11,\n m.away_player_1, m.away_player_2, m.away_player_3,\n m.away_player_4, m.away_player_5, m.away_player_6,\n m.away_player_7, m.away_player_8, m.away_player_9,\n m.away_player_10, m.away_player_11\n )\nWHERE p.player_name LIKE 'Adam%'\n AND p.weight > 170\nGROUP BY p.id, p.player_name\nORDER BY p.player_name, p.id;", "seconds": 14.674439665977843, "calls": [{"seconds": 2.2892850829521194, "usage": {"completion_tokens": 50, "prompt_tokens": 1713, "total_tokens": 1763, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1164, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 6.2982690000208095, "usage": {"completion_tokens": 339, "prompt_tokens": 2654, "total_tokens": 2993, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 71, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 2105, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 4.992153666913509, "usage": {"completion_tokens": 243, "prompt_tokens": 3438, "total_tokens": 3681, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 784, "cached_tokens": 2105, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 784, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 784, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e5a192783af611e7fa466d217d4abae53b53af1669e66babd219f308e7ffc36a", "csv_sha256": "6cf8ade1f6e7b61fa1e21f01340ca07c7f26ce318e555330de7cc606709e6b83"} +{"instance_id": "bird229", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT SUM(CASE t.k_symbol\n WHEN 'UROK' THEN t.amount\n WHEN 'SANKC. UROK' THEN -t.amount\n END) AS net_interest_czk\nFROM trans AS t\nWHERE t.account_id IN (\n SELECT d.account_id\n FROM disp AS d\n WHERE d.client_id = 2823\n)\n AND t.date >= '1998-01-01'\n AND t.date < '1999-01-01'\n AND t.k_symbol IN ('UROK', 'SANKC. UROK');\n```", "rows": 1, "sql": "SELECT SUM(CASE t.k_symbol\n WHEN 'UROK' THEN t.amount\n WHEN 'SANKC. UROK' THEN -t.amount\n END) AS net_interest_czk\nFROM trans AS t\nWHERE t.account_id IN (\n SELECT d.account_id\n FROM disp AS d\n WHERE d.client_id = 2823\n)\n AND t.date >= '1998-01-01'\n AND t.date < '1999-01-01'\n AND t.k_symbol IN ('UROK', 'SANKC. UROK');", "seconds": 17.759374249959365, "calls": [{"seconds": 2.9500772079918534, "usage": {"completion_tokens": 94, "prompt_tokens": 1739, "total_tokens": 1833, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1192, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.35325941699557, "usage": {"completion_tokens": 104, "prompt_tokens": 2072, "total_tokens": 2176, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 333, "cached_tokens": 1192, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 333, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 333, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 2.697032666997984, "usage": {"completion_tokens": 32, "prompt_tokens": 2398, "total_tokens": 2430, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 326, "cached_tokens": 1525, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 326, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 326, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 4.53275383298751, "usage": {"completion_tokens": 179, "prompt_tokens": 2479, "total_tokens": 2658, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 32, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 81, "cached_tokens": 1851, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 81, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 81, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 4.071270916960202, "usage": {"completion_tokens": 132, "prompt_tokens": 2812, "total_tokens": 2944, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 333, "cached_tokens": 1932, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 333, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 333, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "602f9bf1cf172938e8779054cea63aa47e9c93430ba93afaaaa7f3ddd85cecb9", "csv_sha256": "b2e5422c4abeec42e360d1971657e50505834904a367131d2b6bc48980540cca"} +{"instance_id": "bird249", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT d.forename || ' ' || d.surname AS full_name\nFROM lapTimes AS l\nJOIN drivers AS d ON d.driverId = l.driverId\nWHERE l.milliseconds IS NOT NULL\nGROUP BY d.driverId, d.forename, d.surname\nORDER BY MIN(l.milliseconds) ASC, d.driverId ASC\nLIMIT 20;\n```", "rows": 20, "sql": "SELECT d.forename || ' ' || d.surname AS full_name\nFROM lapTimes AS l\nJOIN drivers AS d ON d.driverId = l.driverId\nWHERE l.milliseconds IS NOT NULL\nGROUP BY d.driverId, d.forename, d.surname\nORDER BY MIN(l.milliseconds) ASC, d.driverId ASC\nLIMIT 20;", "seconds": 10.730301999952644, "calls": [{"seconds": 2.471647125086747, "usage": {"completion_tokens": 51, "prompt_tokens": 1638, "total_tokens": 1689, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1073, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 5.082598917069845, "usage": {"completion_tokens": 174, "prompt_tokens": 1812, "total_tokens": 1986, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 81, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1247, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 2.96286600001622, "usage": {"completion_tokens": 82, "prompt_tokens": 2184, "total_tokens": 2266, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 372, "cached_tokens": 1247, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 372, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 372, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2953f89f6f16fbb6e67c7e33e54f5c9477025d2ccea1c0ca931e4238583a9d31", "csv_sha256": "bb91c60dd6f1d037a05b19508387cc055a6cc7a0f3a519f11e3780064baaa63d"} +{"instance_id": "bird260", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT d.driverRef, d.nationality, d.dob\nFROM qualifying AS q\nJOIN races AS r ON r.raceId = q.raceId\nJOIN drivers AS d ON d.driverId = q.driverId\nWHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND COALESCE(TRIM(q.q2), '') NOT IN ('', '\\N')\n AND COALESCE(TRIM(q.q3), '') IN ('', '\\N');\n```", "rows": 5, "sql": "SELECT d.driverRef, d.nationality, d.dob\nFROM qualifying AS q\nJOIN races AS r ON r.raceId = q.raceId\nJOIN drivers AS d ON d.driverId = q.driverId\nWHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND COALESCE(TRIM(q.q2), '') NOT IN ('', '\\N')\n AND COALESCE(TRIM(q.q3), '') IN ('', '\\N');", "seconds": 10.92780700000003, "calls": [{"seconds": 2.561549667036161, "usage": {"completion_tokens": 67, "prompt_tokens": 1742, "total_tokens": 1809, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1177, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 4.8463521669618785, "usage": {"completion_tokens": 185, "prompt_tokens": 2020, "total_tokens": 2205, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 61, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1455, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.5074926250381395, "usage": {"completion_tokens": 110, "prompt_tokens": 2408, "total_tokens": 2518, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 388, "cached_tokens": 1455, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 388, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 388, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "341320b83c4e0c8ad632b17ead7643372ceaf4e21016401e2fd3c830f8268a97", "csv_sha256": "6630424757809e61c2f25f997a93f87f85afbf229e84c44e593aa67de1daa8ee"} +{"instance_id": "bird353", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH powers_per_hero AS (\n SELECT h.id, COUNT(DISTINCT hp.power_id) AS power_count\n FROM superhero AS h\n JOIN gender AS g ON g.id = h.gender_id\n JOIN race AS r ON r.id = h.race_id\n LEFT JOIN hero_power AS hp ON hp.hero_id = h.id\n WHERE g.gender = 'Male' AND r.race = 'God / Eternal'\n GROUP BY h.id\n)\nSELECT ROUND(AVG(power_count), 2) AS average_superpowers\nFROM powers_per_hero;\n```", "rows": 1, "sql": "WITH powers_per_hero AS (\n SELECT h.id, COUNT(DISTINCT hp.power_id) AS power_count\n FROM superhero AS h\n JOIN gender AS g ON g.id = h.gender_id\n JOIN race AS r ON r.id = h.race_id\n LEFT JOIN hero_power AS hp ON hp.hero_id = h.id\n WHERE g.gender = 'Male' AND r.race = 'God / Eternal'\n GROUP BY h.id\n)\nSELECT ROUND(AVG(power_count), 2) AS average_superpowers\nFROM powers_per_hero;", "seconds": 12.092289124964736, "calls": [{"seconds": 2.1126304999925196, "usage": {"completion_tokens": 20, "prompt_tokens": 1658, "total_tokens": 1678, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1104, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 2.904392583994195, "usage": {"completion_tokens": 82, "prompt_tokens": 1771, "total_tokens": 1853, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 113, "cached_tokens": 1104, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 113, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 113, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.7953512080712244, "usage": {"completion_tokens": 138, "prompt_tokens": 1958, "total_tokens": 2096, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 187, "cached_tokens": 1217, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 187, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 187, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.2660144579131156, "usage": {"completion_tokens": 126, "prompt_tokens": 2244, "total_tokens": 2370, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 286, "cached_tokens": 1404, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 286, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 286, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "92f62e1eb638b46115d7b8559487cfcfc5e04c6df4dc7c3d6e0cd7b924d0d9a1", "csv_sha256": "a9b8b2ca4cda426fd6ee3d316cc856357c9034ed8c0e5cc38b8a2d38241be16e"} +{"instance_id": "bird379", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(100.0 * COUNT(CASE WHEN a.alignment = 'Good' THEN 1 END) / COUNT(*), 2) AS good_percentage\nFROM superhero AS h\nJOIN publisher AS p ON p.id = h.publisher_id\nLEFT JOIN alignment AS a ON a.id = h.alignment_id\nWHERE p.publisher_name = 'Marvel Comics'\n AND EXISTS (\n SELECT 1\n FROM hero_power AS hp\n JOIN superpower AS sp ON sp.id = hp.power_id\n WHERE hp.hero_id = h.id\n );\n```", "rows": 1, "sql": "SELECT ROUND(100.0 * COUNT(CASE WHEN a.alignment = 'Good' THEN 1 END) / COUNT(*), 2) AS good_percentage\nFROM superhero AS h\nJOIN publisher AS p ON p.id = h.publisher_id\nLEFT JOIN alignment AS a ON a.id = h.alignment_id\nWHERE p.publisher_name = 'Marvel Comics'\n AND EXISTS (\n SELECT 1\n FROM hero_power AS hp\n JOIN superpower AS sp ON sp.id = hp.power_id\n WHERE hp.hero_id = h.id\n );", "seconds": 11.428948666900396, "calls": [{"seconds": 3.2821212500566617, "usage": {"completion_tokens": 98, "prompt_tokens": 1654, "total_tokens": 1752, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1100, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 4.08432762499433, "usage": {"completion_tokens": 134, "prompt_tokens": 1949, "total_tokens": 2083, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 295, "cached_tokens": 1100, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 295, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 295, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 4.000880416017026, "usage": {"completion_tokens": 123, "prompt_tokens": 2227, "total_tokens": 2350, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1395, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "17ef37fc3be2b8015221cb2d496c3ba4d73277c90772212c9f9c112608c66b68", "csv_sha256": "1f9f4b4dbb9f2cdd2e0e927018bb6dd939bf11fcda4867cfb18145d4a91bb66a"} +{"instance_id": "bird389", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE p.SEX = 'F'\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.SC170 IN ('negative', '0')\n )\n AND NOT EXISTS (\n SELECT 1\n FROM Examination AS e\n WHERE e.ID = p.ID\n AND e.Symptoms IS NOT NULL\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE p.SEX = 'F'\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.SC170 IN ('negative', '0')\n )\n AND NOT EXISTS (\n SELECT 1\n FROM Examination AS e\n WHERE e.ID = p.ID\n AND e.Symptoms IS NOT NULL\n );", "seconds": 10.652103374945, "calls": [{"seconds": 2.3494457500055432, "usage": {"completion_tokens": 67, "prompt_tokens": 1630, "total_tokens": 1697, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1092, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 4.8660420830128714, "usage": {"completion_tokens": 176, "prompt_tokens": 2115, "total_tokens": 2291, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 52, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1092, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.4113060409436002, "usage": {"completion_tokens": 106, "prompt_tokens": 2416, "total_tokens": 2522, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 301, "cached_tokens": 1577, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 301, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 301, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0867baba2500d507ef033bb71e2e30be958b7754bff497d2df5a22257a40eb1b", "csv_sha256": "512e8c33b49ed0bc325d442219b421d4d37ac4d82a8e63dd90cd480502cfca65"} +{"instance_id": "bird423", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND LOWER(TRIM(l.SSA)) NOT IN ('negative', '0')\n)\nAND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND LOWER(TRIM(l.\"U-PRO\")) NOT IN ('negative', 'none', '-', '0')\n);\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND LOWER(TRIM(l.SSA)) NOT IN ('negative', '0')\n)\nAND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND LOWER(TRIM(l.\"U-PRO\")) NOT IN ('negative', 'none', '-', '0')\n);", "seconds": 21.500434209010564, "calls": [{"seconds": 2.8558054169407114, "usage": {"completion_tokens": 67, "prompt_tokens": 1707, "total_tokens": 1774, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1169, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.3019314580596983, "usage": {"completion_tokens": 71, "prompt_tokens": 2192, "total_tokens": 2263, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1169, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 5.552789916982874, "usage": {"completion_tokens": 180, "prompt_tokens": 2584, "total_tokens": 2764, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 100, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 392, "cached_tokens": 1654, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 392, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 392, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 6.512751250062138, "usage": {"completion_tokens": 240, "prompt_tokens": 3116, "total_tokens": 3356, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 110, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 532, "cached_tokens": 2046, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 532, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 532, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.253448124974966, "usage": {"completion_tokens": 111, "prompt_tokens": 3486, "total_tokens": 3597, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 370, "cached_tokens": 2578, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 370, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 370, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7f2a2438e677df321cd865e3ea1758f6d18dfba2506cfd28d3a217ae4579a963", "csv_sha256": "4f5e7bf26450e6266e0726797ce31d3a69e6e05fa098ee1b0c6f63fa5b066606"} +{"instance_id": "bird429", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH lab_results AS (\n SELECT ID, FG, TRIM(\"U-PRO\") AS protein\n FROM Laboratory\n)\nSELECT COUNT(DISTINCT p.ID) AS eligible_patient_count\nFROM Patient AS p\nJOIN lab_results AS l ON l.ID = p.ID\nWHERE DATE(p.Birthday) > '1980-01-01'\n AND (\n (TYPEOF(l.FG) IN ('integer', 'real') AND (l.FG < 150 OR l.FG > 450))\n OR l.protein IN ('3', '4', '3+', '4+')\n OR CAST(CASE WHEN SUBSTR(l.protein, 1, 2) = '>='\n THEN TRIM(SUBSTR(l.protein, 3))\n ELSE l.protein\n END AS REAL) >= 300\n );\n```", "rows": 1, "sql": "WITH lab_results AS (\n SELECT ID, FG, TRIM(\"U-PRO\") AS protein\n FROM Laboratory\n)\nSELECT COUNT(DISTINCT p.ID) AS eligible_patient_count\nFROM Patient AS p\nJOIN lab_results AS l ON l.ID = p.ID\nWHERE DATE(p.Birthday) > '1980-01-01'\n AND (\n (TYPEOF(l.FG) IN ('integer', 'real') AND (l.FG < 150 OR l.FG > 450))\n OR l.protein IN ('3', '4', '3+', '4+')\n OR CAST(CASE WHEN SUBSTR(l.protein, 1, 2) = '>='\n THEN TRIM(SUBSTR(l.protein, 3))\n ELSE l.protein\n END AS REAL) >= 300\n );", "seconds": 23.408702832995914, "calls": [{"seconds": 2.5882915830006823, "usage": {"completion_tokens": 67, "prompt_tokens": 1801, "total_tokens": 1868, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1263, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 8.696464166976511, "usage": {"completion_tokens": 297, "prompt_tokens": 2286, "total_tokens": 2583, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 234, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1263, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 7.210624667000957, "usage": {"completion_tokens": 291, "prompt_tokens": 2746, "total_tokens": 3037, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 86, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 460, "cached_tokens": 1748, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 460, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 460, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 4.899850000045262, "usage": {"completion_tokens": 215, "prompt_tokens": 3242, "total_tokens": 3457, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 28, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 496, "cached_tokens": 2208, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 496, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 496, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2e60074f33bb14f3e3345113b32aa7cb323aaad9ce8cd2d1ca9b1a1515f61486", "csv_sha256": "812585e4fa248bb535f350c3cd42ebc98ff78c7d81a0df7b0de83026f01668f4"} +{"instance_id": "bird449", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH urine AS (\n SELECT ID, TRIM(\"U-PRO\") AS result\n FROM Laboratory\n), protein AS (\n SELECT ID,\n CASE\n WHEN SUBSTR(result, 1, 2) = '>=' THEN TRIM(SUBSTR(result, 3))\n WHEN SUBSTR(result, 1, 1) = '+'\n AND INSTR(result, '(') > 2\n AND SUBSTR(result, -1) = ')'\n AND SUBSTR(result, 2, INSTR(result, '(') - 2) NOT GLOB '*[^0-9]*'\n THEN TRIM(SUBSTR(result, INSTR(result, '(') + 1,\n LENGTH(result) - INSTR(result, '(') - 1))\n ELSE result\n END AS mg_dl\n FROM urine\n)\nSELECT p.ID, p.SEX, p.Birthday\nFROM Patient AS p\nWHERE EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID AND l.LDH >= 500\n)\nAND EXISTS (\n SELECT 1\n FROM protein AS u\n WHERE u.ID = p.ID\n AND u.mg_dl GLOB '*[0-9]*'\n AND u.mg_dl NOT GLOB '*[^0-9.]*'\n AND u.mg_dl NOT GLOB '*.*.*'\n AND CAST(u.mg_dl AS REAL) >= 100\n)\nORDER BY p.ID;\n```", "rows": 18, "sql": "WITH urine AS (\n SELECT ID, TRIM(\"U-PRO\") AS result\n FROM Laboratory\n), protein AS (\n SELECT ID,\n CASE\n WHEN SUBSTR(result, 1, 2) = '>=' THEN TRIM(SUBSTR(result, 3))\n WHEN SUBSTR(result, 1, 1) = '+'\n AND INSTR(result, '(') > 2\n AND SUBSTR(result, -1) = ')'\n AND SUBSTR(result, 2, INSTR(result, '(') - 2) NOT GLOB '*[^0-9]*'\n THEN TRIM(SUBSTR(result, INSTR(result, '(') + 1,\n LENGTH(result) - INSTR(result, '(') - 1))\n ELSE result\n END AS mg_dl\n FROM urine\n)\nSELECT p.ID, p.SEX, p.Birthday\nFROM Patient AS p\nWHERE EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID AND l.LDH >= 500\n)\nAND EXISTS (\n SELECT 1\n FROM protein AS u\n WHERE u.ID = p.ID\n AND u.mg_dl GLOB '*[0-9]*'\n AND u.mg_dl NOT GLOB '*[^0-9.]*'\n AND u.mg_dl NOT GLOB '*.*.*'\n AND CAST(u.mg_dl AS REAL) >= 100\n)\nORDER BY p.ID;", "seconds": 29.4854122500401, "calls": [{"seconds": 2.3794955840567127, "usage": {"completion_tokens": 51, "prompt_tokens": 1842, "total_tokens": 1893, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1304, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 4.144173791981302, "usage": {"completion_tokens": 112, "prompt_tokens": 2216, "total_tokens": 2328, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 62, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1678, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 15.59444141597487, "usage": {"completion_tokens": 800, "prompt_tokens": 2420, "total_tokens": 3220, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 448, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 204, "cached_tokens": 1678, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 204, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 204, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 7.347124958992936, "usage": {"completion_tokens": 365, "prompt_tokens": 3630, "total_tokens": 3995, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 45, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1210, "cached_tokens": 1882, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1210, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1210, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "130d95d8d8421577d7062932c64876ea32eb4bf8bee754f3f086136b1405a90d", "csv_sha256": "093297eaa5982a4bcd3b43547288756b8c433ed821fe775d3ff81455c71d7801"} +{"instance_id": "bird451", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT \"ID\") AS female_admitted_patient_count\nFROM \"Patient\"\nWHERE \"SEX\" = 'F'\n AND \"First Date\" >= '1998-01-01'\n AND \"First Date\" < '1999-01-01'\n AND \"Admission\" LIKE '+%';\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT \"ID\") AS female_admitted_patient_count\nFROM \"Patient\"\nWHERE \"SEX\" = 'F'\n AND \"First Date\" >= '1998-01-01'\n AND \"First Date\" < '1999-01-01'\n AND \"Admission\" LIKE '+%';", "seconds": 12.155515250051394, "calls": [{"seconds": 2.7378662079572678, "usage": {"completion_tokens": 67, "prompt_tokens": 1681, "total_tokens": 1748, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1143, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.199495333014056, "usage": {"completion_tokens": 55, "prompt_tokens": 2166, "total_tokens": 2221, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1143, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.3100535420235246, "usage": {"completion_tokens": 87, "prompt_tokens": 2363, "total_tokens": 2450, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 197, "cached_tokens": 1628, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 197, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 197, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 2.8971129580168054, "usage": {"completion_tokens": 74, "prompt_tokens": 2545, "total_tokens": 2619, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 182, "cached_tokens": 1825, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 182, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 182, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1de25a9383c56c575015b9cb90ce4d662ab176dc730e4114fb305013fc7f2378", "csv_sha256": "1f7e6d93a447a51c561c12a6ca2c93c44b26d451e5a0bc1a8b2c4b9a29d49ed3"} +{"instance_id": "bird459", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "failed", "error_type": "Timeout", "seconds": 196.4172302079387, "calls": [{"seconds": 2.8671328329946846, "usage": {"completion_tokens": 51, "prompt_tokens": 1778, "total_tokens": 1829, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1240, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.1887436249526218, "usage": {"completion_tokens": 51, "prompt_tokens": 1977, "total_tokens": 2028, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 199, "cached_tokens": 1240, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 199, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 199, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 2.946697875042446, "usage": {"completion_tokens": 69, "prompt_tokens": 2601, "total_tokens": 2670, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 624, "cached_tokens": 1439, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 624, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 624, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 2.7618739580502734, "usage": {"completion_tokens": 66, "prompt_tokens": 3970, "total_tokens": 4036, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1369, "cached_tokens": 2063, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1369, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1369, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 4.599588499986567, "usage": {"completion_tokens": 172, "prompt_tokens": 4762, "total_tokens": 4934, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 68, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 792, "cached_tokens": 3432, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 792, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 792, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 180.03525708301459, "usage": null, "status": "error", "error_type": "Timeout"}], "full_record_sha256": "612707d48ae8ddb74a4382558676cf3563e04fcc8c7e35d93d7428434628207c"} +{"instance_id": "bird470", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH element_counts AS (\n SELECT a.element, COUNT(*) AS occurrences\n FROM atom AS a\n WHERE EXISTS (\n SELECT 1\n FROM molecule AS m\n WHERE m.molecule_id = a.molecule_id\n AND m.label = '-'\n )\n GROUP BY a.element\n)\nSELECT element\nFROM element_counts\nWHERE occurrences = (SELECT MIN(occurrences) FROM element_counts)\nORDER BY element;\n```", "rows": 3, "sql": "WITH element_counts AS (\n SELECT a.element, COUNT(*) AS occurrences\n FROM atom AS a\n WHERE EXISTS (\n SELECT 1\n FROM molecule AS m\n WHERE m.molecule_id = a.molecule_id\n AND m.label = '-'\n )\n GROUP BY a.element\n)\nSELECT element\nFROM element_counts\nWHERE occurrences = (SELECT MIN(occurrences) FROM element_counts)\nORDER BY element;", "seconds": 16.0024684589589, "calls": [{"seconds": 2.3792026670416817, "usage": {"completion_tokens": 66, "prompt_tokens": 1630, "total_tokens": 1696, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1089, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 4.331220416934229, "usage": {"completion_tokens": 122, "prompt_tokens": 1786, "total_tokens": 1908, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 45, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1245, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 5.8997378329513595, "usage": {"completion_tokens": 197, "prompt_tokens": 2068, "total_tokens": 2265, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 82, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 282, "cached_tokens": 1245, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 282, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 282, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.367933167028241, "usage": {"completion_tokens": 97, "prompt_tokens": 2384, "total_tokens": 2481, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 316, "cached_tokens": 1527, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 316, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 316, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d3707b5988a269dc5adba9729ff662715d71269fab665837131b890362fd3a1c", "csv_sha256": "9aecc6d231b8b61845f388e456946eb06a5d65c11af1bc0cdb0fe9d6b8a32c56"} diff --git a/bench/accuracy/results/bird-development-v2/gpt62-sol/scores.json b/bench/accuracy/results/bird-development-v2/gpt62-sol/scores.json new file mode 100644 index 00000000..3372bd58 --- /dev/null +++ b/bench/accuracy/results/bird-development-v2/gpt62-sol/scores.json @@ -0,0 +1,102 @@ +[ + { + "instance_id": "bird024", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird036", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird058", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird064", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird087", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird146", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird152", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird179", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird229", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird249", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird260", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird353", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird379", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird389", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird423", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird429", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird449", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird451", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird459", + "score": 0, + "status": "failed" + }, + { + "instance_id": "bird470", + "score": 1, + "status": "predicted" + } +] diff --git a/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird024.sql b/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird024.sql new file mode 100644 index 00000000..e0ad28d0 --- /dev/null +++ b/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird024.sql @@ -0,0 +1,21 @@ +WITH california_schools AS ( + SELECT f."School Type", + COALESCE(f."School Name", s.School) AS "School Name", + COALESCE(f."School Type", s.SOCType) AS type_for_classification, + ' ' || LOWER(REPLACE(REPLACE(COALESCE(f."School Name", s.School), '-', ' '), '.', '')) || ' ' AS name_for_classification, + s.Latitude + FROM schools AS s + LEFT JOIN frpm AS f ON f.CDSCode = s.CDSCode + WHERE s.State = 'CA' AND s.Latitude IS NOT NULL +), middle_schools AS ( + SELECT "School Type", "School Name", Latitude + FROM california_schools + WHERE type_for_classification IN ('Intermediate/Middle Schools (Public)', 'Junior High Schools (Public)') + OR name_for_classification LIKE '% middle %' + OR name_for_classification LIKE '% intermediate %' + OR name_for_classification LIKE '% junior high %' + OR name_for_classification LIKE '% jr high %' +) +SELECT "School Type", "School Name", Latitude +FROM middle_schools +WHERE Latitude = (SELECT MAX(Latitude) FROM middle_schools); diff --git a/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird036.sql b/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird036.sql new file mode 100644 index 00000000..5afc76fd --- /dev/null +++ b/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird036.sql @@ -0,0 +1,32 @@ +WITH eligible_schools AS ( + SELECT s.CDSCode, + s.School AS school_name, + s.Charter AS charter, + s.GSserved AS grades_served, + 1.0 * f."Free Meal Count (K-12)" / f."Enrollment (K-12)" AS free_meal_rate + FROM schools AS s + JOIN frpm AS f ON f.CDSCode = s.CDSCode + WHERE s.County = 'Alameda' + AND (TRIM(s.GSserved) = '12' OR TRIM(s.GSserved) LIKE '%-12') +), top_schools AS ( + SELECT CDSCode, school_name, charter, grades_served, free_meal_rate + FROM eligible_schools + WHERE free_meal_rate = (SELECT MAX(free_meal_rate) FROM eligible_schools) +), sat_totals AS ( + SELECT cds, AvgScrRead + AvgScrMath + AvgScrWrite AS sat_total + FROM satscores + WHERE rtype = 'S' +) +SELECT t.school_name, + ROUND(t.free_meal_rate, 4) AS free_meal_rate, + CASE t.charter WHEN 1 THEN 'Yes' WHEN 0 THEN 'No' ELSE 'Unknown' END AS charter_school, + t.grades_served, + CASE + WHEN a.sat_total IS NULL THEN 'No SAT Data' + WHEN a.sat_total < 1200 THEN 'Below Average' + WHEN a.sat_total <= 1500 THEN 'Average' + ELSE 'Above Average' + END AS sat_performance_level +FROM top_schools AS t +LEFT JOIN sat_totals AS a ON a.cds = t.CDSCode +ORDER BY t.school_name, t.CDSCode; diff --git a/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird058.sql b/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird058.sql new file mode 100644 index 00000000..9bd80533 --- /dev/null +++ b/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird058.sql @@ -0,0 +1,9 @@ +WITH french_printings AS ( + SELECT DISTINCT uuid + FROM foreign_data + WHERE language = 'French' +) +SELECT ROUND(100.0 * COUNT(f.uuid) / COUNT(*), 2) AS percentage_with_french_translation +FROM cards AS c +LEFT JOIN french_printings AS f ON f.uuid = c.uuid +WHERE c.power IS NULL OR c.power LIKE '%*%'; diff --git a/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird064.sql b/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird064.sql new file mode 100644 index 00000000..95175184 --- /dev/null +++ b/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird064.sql @@ -0,0 +1,5 @@ +SELECT COUNT(*) AS card_count +FROM cards +WHERE borderColor = 'black' + AND availability LIKE '%mtgo%' + AND CAST(power AS INTEGER) >= 10; diff --git a/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird087.sql b/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird087.sql new file mode 100644 index 00000000..28bd9bc7 --- /dev/null +++ b/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird087.sql @@ -0,0 +1,7 @@ +SELECT COUNT(*) AS total_rulings +FROM ( + SELECT DISTINCT r.date, r.text + FROM rulings AS r + JOIN cards AS c ON c.uuid = r.uuid + WHERE c.name = 'Fireball' +) AS unique_rulings; diff --git a/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird146.sql b/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird146.sql new file mode 100644 index 00000000..9a6c480a --- /dev/null +++ b/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird146.sql @@ -0,0 +1,19 @@ +WITH RECURSIVE months(month_start) AS ( + SELECT '2010-01-01' + UNION ALL + SELECT date(month_start, '+1 month') + FROM months + WHERE month_start < '2010-12-01' +), monthly_counts AS ( + SELECT date(l.CreationDate, 'start of month') AS month_start, + COUNT(DISTINCT p.Id) AS post_count + FROM postLinks AS l + JOIN posts AS p ON p.Id = l.RelatedPostId + WHERE l.CreationDate >= '2010-01-01' + AND l.CreationDate < '2011-01-01' + AND p.AnswerCount <= 2 + GROUP BY date(l.CreationDate, 'start of month') +) +SELECT ROUND(AVG(COALESCE(c.post_count, 0)), 2) AS average_monthly_posts +FROM months AS m +LEFT JOIN monthly_counts AS c ON c.month_start = m.month_start; diff --git a/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird152.sql b/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird152.sql new file mode 100644 index 00000000..569ec701 --- /dev/null +++ b/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird152.sql @@ -0,0 +1,15 @@ +SELECT COUNT(DISTINCT c.CustomerID) AS customer_count +FROM customers AS c +WHERE c.Currency = 'EUR' + AND EXISTS ( + SELECT 1 + FROM yearmonth AS y + WHERE y.CustomerID = c.CustomerID + AND y.Date >= '201201' AND y.Date < '201301' + ) + AND EXISTS ( + SELECT 1 + FROM yearmonth AS y + WHERE y.CustomerID = c.CustomerID + AND y.Date >= '201301' AND y.Date < '201401' + ); diff --git a/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird179.sql b/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird179.sql new file mode 100644 index 00000000..eb9671f8 --- /dev/null +++ b/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird179.sql @@ -0,0 +1,19 @@ +SELECT p.player_name, + COUNT(m.id) AS matches_played +FROM Player AS p +LEFT JOIN "Match" AS m + ON m.season = '2015/2016' + AND p.player_api_id IN ( + m.home_player_1, m.home_player_2, m.home_player_3, + m.home_player_4, m.home_player_5, m.home_player_6, + m.home_player_7, m.home_player_8, m.home_player_9, + m.home_player_10, m.home_player_11, + m.away_player_1, m.away_player_2, m.away_player_3, + m.away_player_4, m.away_player_5, m.away_player_6, + m.away_player_7, m.away_player_8, m.away_player_9, + m.away_player_10, m.away_player_11 + ) +WHERE p.player_name LIKE 'Adam%' + AND p.weight > 170 +GROUP BY p.id, p.player_name +ORDER BY p.player_name, p.id; diff --git a/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird229.sql b/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird229.sql new file mode 100644 index 00000000..7aaaf254 --- /dev/null +++ b/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird229.sql @@ -0,0 +1,13 @@ +SELECT SUM(CASE t.k_symbol + WHEN 'UROK' THEN t.amount + WHEN 'SANKC. UROK' THEN -t.amount + END) AS net_interest_czk +FROM trans AS t +WHERE t.account_id IN ( + SELECT d.account_id + FROM disp AS d + WHERE d.client_id = 2823 +) + AND t.date >= '1998-01-01' + AND t.date < '1999-01-01' + AND t.k_symbol IN ('UROK', 'SANKC. UROK'); diff --git a/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird249.sql b/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird249.sql new file mode 100644 index 00000000..da88e8ed --- /dev/null +++ b/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird249.sql @@ -0,0 +1,7 @@ +SELECT d.forename || ' ' || d.surname AS full_name +FROM lapTimes AS l +JOIN drivers AS d ON d.driverId = l.driverId +WHERE l.milliseconds IS NOT NULL +GROUP BY d.driverId, d.forename, d.surname +ORDER BY MIN(l.milliseconds) ASC, d.driverId ASC +LIMIT 20; diff --git a/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird260.sql b/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird260.sql new file mode 100644 index 00000000..d3c73dcc --- /dev/null +++ b/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird260.sql @@ -0,0 +1,8 @@ +SELECT d.driverRef, d.nationality, d.dob +FROM qualifying AS q +JOIN races AS r ON r.raceId = q.raceId +JOIN drivers AS d ON d.driverId = q.driverId +WHERE r.year = 2017 + AND r.name = 'Italian Grand Prix' + AND COALESCE(TRIM(q.q2), '') NOT IN ('', '\N') + AND COALESCE(TRIM(q.q3), '') IN ('', '\N'); diff --git a/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird353.sql b/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird353.sql new file mode 100644 index 00000000..c4b97f40 --- /dev/null +++ b/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird353.sql @@ -0,0 +1,11 @@ +WITH powers_per_hero AS ( + SELECT h.id, COUNT(DISTINCT hp.power_id) AS power_count + FROM superhero AS h + JOIN gender AS g ON g.id = h.gender_id + JOIN race AS r ON r.id = h.race_id + LEFT JOIN hero_power AS hp ON hp.hero_id = h.id + WHERE g.gender = 'Male' AND r.race = 'God / Eternal' + GROUP BY h.id +) +SELECT ROUND(AVG(power_count), 2) AS average_superpowers +FROM powers_per_hero; diff --git a/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird379.sql b/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird379.sql new file mode 100644 index 00000000..04ed3803 --- /dev/null +++ b/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird379.sql @@ -0,0 +1,11 @@ +SELECT ROUND(100.0 * COUNT(CASE WHEN a.alignment = 'Good' THEN 1 END) / COUNT(*), 2) AS good_percentage +FROM superhero AS h +JOIN publisher AS p ON p.id = h.publisher_id +LEFT JOIN alignment AS a ON a.id = h.alignment_id +WHERE p.publisher_name = 'Marvel Comics' + AND EXISTS ( + SELECT 1 + FROM hero_power AS hp + JOIN superpower AS sp ON sp.id = hp.power_id + WHERE hp.hero_id = h.id + ); diff --git a/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird389.sql b/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird389.sql new file mode 100644 index 00000000..4296c9d7 --- /dev/null +++ b/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird389.sql @@ -0,0 +1,15 @@ +SELECT COUNT(DISTINCT p.ID) AS patient_count +FROM Patient AS p +WHERE p.SEX = 'F' + AND EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND l.SC170 IN ('negative', '0') + ) + AND NOT EXISTS ( + SELECT 1 + FROM Examination AS e + WHERE e.ID = p.ID + AND e.Symptoms IS NOT NULL + ); diff --git a/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird423.sql b/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird423.sql new file mode 100644 index 00000000..15ea9ed7 --- /dev/null +++ b/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird423.sql @@ -0,0 +1,14 @@ +SELECT COUNT(DISTINCT p.ID) AS patient_count +FROM Patient AS p +WHERE EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND LOWER(TRIM(l.SSA)) NOT IN ('negative', '0') +) +AND EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND LOWER(TRIM(l."U-PRO")) NOT IN ('negative', 'none', '-', '0') +); diff --git a/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird429.sql b/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird429.sql new file mode 100644 index 00000000..dae41550 --- /dev/null +++ b/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird429.sql @@ -0,0 +1,16 @@ +WITH lab_results AS ( + SELECT ID, FG, TRIM("U-PRO") AS protein + FROM Laboratory +) +SELECT COUNT(DISTINCT p.ID) AS eligible_patient_count +FROM Patient AS p +JOIN lab_results AS l ON l.ID = p.ID +WHERE DATE(p.Birthday) > '1980-01-01' + AND ( + (TYPEOF(l.FG) IN ('integer', 'real') AND (l.FG < 150 OR l.FG > 450)) + OR l.protein IN ('3', '4', '3+', '4+') + OR CAST(CASE WHEN SUBSTR(l.protein, 1, 2) = '>=' + THEN TRIM(SUBSTR(l.protein, 3)) + ELSE l.protein + END AS REAL) >= 300 + ); diff --git a/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird449.sql b/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird449.sql new file mode 100644 index 00000000..25bc76af --- /dev/null +++ b/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird449.sql @@ -0,0 +1,34 @@ +WITH urine AS ( + SELECT ID, TRIM("U-PRO") AS result + FROM Laboratory +), protein AS ( + SELECT ID, + CASE + WHEN SUBSTR(result, 1, 2) = '>=' THEN TRIM(SUBSTR(result, 3)) + WHEN SUBSTR(result, 1, 1) = '+' + AND INSTR(result, '(') > 2 + AND SUBSTR(result, -1) = ')' + AND SUBSTR(result, 2, INSTR(result, '(') - 2) NOT GLOB '*[^0-9]*' + THEN TRIM(SUBSTR(result, INSTR(result, '(') + 1, + LENGTH(result) - INSTR(result, '(') - 1)) + ELSE result + END AS mg_dl + FROM urine +) +SELECT p.ID, p.SEX, p.Birthday +FROM Patient AS p +WHERE EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID AND l.LDH >= 500 +) +AND EXISTS ( + SELECT 1 + FROM protein AS u + WHERE u.ID = p.ID + AND u.mg_dl GLOB '*[0-9]*' + AND u.mg_dl NOT GLOB '*[^0-9.]*' + AND u.mg_dl NOT GLOB '*.*.*' + AND CAST(u.mg_dl AS REAL) >= 100 +) +ORDER BY p.ID; diff --git a/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird451.sql b/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird451.sql new file mode 100644 index 00000000..9f275f1e --- /dev/null +++ b/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird451.sql @@ -0,0 +1,6 @@ +SELECT COUNT(DISTINCT "ID") AS female_admitted_patient_count +FROM "Patient" +WHERE "SEX" = 'F' + AND "First Date" >= '1998-01-01' + AND "First Date" < '1999-01-01' + AND "Admission" LIKE '+%'; diff --git a/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird470.sql b/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird470.sql new file mode 100644 index 00000000..76077b53 --- /dev/null +++ b/bench/accuracy/results/bird-development-v2/gpt62-sol/sql/bird470.sql @@ -0,0 +1,15 @@ +WITH element_counts AS ( + SELECT a.element, COUNT(*) AS occurrences + FROM atom AS a + WHERE EXISTS ( + SELECT 1 + FROM molecule AS m + WHERE m.molecule_id = a.molecule_id + AND m.label = '-' + ) + GROUP BY a.element +) +SELECT element +FROM element_counts +WHERE occurrences = (SELECT MIN(occurrences) FROM element_counts) +ORDER BY element; diff --git a/bench/accuracy/results/bird-development-v2/gpt62-sol/status.json b/bench/accuracy/results/bird-development-v2/gpt62-sol/status.json new file mode 100644 index 00000000..3acda21f --- /dev/null +++ b/bench/accuracy/results/bird-development-v2/gpt62-sol/status.json @@ -0,0 +1,4 @@ +{ + "status": "completed", + "wall_seconds": 283.2742854169337 +} diff --git a/bench/accuracy/results/bird-development-v2/manifest.json b/bench/accuracy/results/bird-development-v2/manifest.json new file mode 100644 index 00000000..6e6fb675 --- /dev/null +++ b/bench/accuracy/results/bird-development-v2/manifest.json @@ -0,0 +1,647 @@ +{ + "benchmark": "BIRD Mini-Dev SQLite 500 (2026-10-25)", + "upstream_commit": "5b256b5a9c17478f06ed6912612e9a14d17065c8", + "question_file_sha256": "926af2a0d1b47e5d0d15a7aa8a34d4721007f4550a881555b6a89496b54a2606", + "evaluator_sha256": "da1bbcd4530be83692d7c650c814ea9704bb710d0c953eb75d02ccb38233cf89", + "cases": [ + { + "instance_id": "bird024", + "db": "california_schools", + "question": "We're relocating to far Northern California and want to know how far north California's middle schools reach. A middle school means a school serving the middle grades, the level between elementary school and high school — count it as a middle school if either its school type or its school name marks it as serving the middle grades, so a junior high school whose name says 'Middle' counts. Include both open and closed schools. Please tell me which middle school is located furthest north in California, along with its school type (the value of the field named 'School Type'), its school name, and its latitude in degrees. If several middle schools tie for the highest latitude, list all of them.", + "evidence": "middle school: a school serving the middle grades, the level between elementary school and high school" + }, + { + "instance_id": "bird036", + "db": "california_schools", + "question": "I'm putting together a profile of Alameda County high schools, focusing on economic disadvantage among schools that serve up through 12th grade. Among those schools, can you tell me which one has the highest free meal rate? For each school you identify, give me one line with: the school name, its free meal rate to 4 decimal places, whether it is a charter school (Yes/No/Unknown), the grades it serves, and its SAT performance level (Below Average, Average, Above Average, or No SAT Data). Please use the school's grade span of enrollment from the school directory (the GSserved field of the schools table) both to decide whether it serves up through 12th grade and for the grades-it-serves column-do not use the free-meal program record's Low Grade/High Grade for either. If several schools tie for the highest free meal rate, list every one of them.", + "evidence": "Free meal rate = Free Meal Count (K-12) / Enrollment (K-12). SAT performance level is based on the SAT total (Reading + Math + Writing): Below Average if below 1200, Average if 1200 to 1500, Above Average if above 1500, and 'No SAT Data' if no SAT scores are available." + }, + { + "instance_id": "bird058", + "db": "card_games", + "question": "Among card printings with no recorded power value or a variable power expression, what percentage have a French translation? Round to two decimals.", + "evidence": "An asterisk anywhere in a power expression denotes variable power." + }, + { + "instance_id": "bird064", + "db": "card_games", + "question": "How many black-border cards with power 10 or greater are available on Magic: The Gathering Online? I just want a single number.", + "evidence": "Black-border cards are the tournament-legal Magic cards, excluding the joke silver-bordered sets. Power is the first number in the lower-right corner of a creature card." + }, + { + "instance_id": "bird087", + "db": "card_games", + "question": "I'm compiling the official rulings archive for the Magic: The Gathering card Fireball. How many official rulings have ever been issued for Fireball? I need the total across all time, with no date restriction.", + "evidence": "A ruling is an official clarification issued by Wizards of the Coast about how a card works." + }, + { + "instance_id": "bird146", + "db": "codebase_community", + "question": "For each month of 2010, how many posts that have no more than two answers received a link during that month? A month with none counts as zero. Give me the average across all twelve months of 2010, rounded to two decimals.", + "evidence": "A link is a recorded connection that associates one post with another post of the site." + }, + { + "instance_id": "bird152", + "db": "debit_card_specializing", + "question": "How many customers who pay in EUR and had gas consumption in 2012 also had gas consumption in 2013? I just need a single number: the count of such customers. By 2012 and 2013 I mean those calendar years, and gas consumption in any month of the year counts.", + "evidence": "" + }, + { + "instance_id": "bird179", + "db": "european_football_2", + "question": "I'm putting together a participation report for the 2015/2016 season. For every player whose name starts with Adam and who weighs more than 170, I need the number of matches he played during that season. Please return, one row per qualifying player, the player's name and his number of matches played in the 2015/2016 season, and nothing else. The season I mean is the one labeled '2015/2016'.", + "evidence": "Played a match means being named in that match's lineup, for either the home or the away team." + }, + { + "instance_id": "bird229", + "db": "financial", + "question": "I'm closing the 1998 books for client 2823's account and need to reconcile the interest. What was the net interest on that account for calendar year 1998 (1 January through 31 December 1998) – interest credited minus penalty interest charged, with penalty interest entering as negative – as a single exact amount in CZK, not rounded? Please include everything credited or charged over the year; the client's account is one account, regardless of the disposition it carries.", + "evidence": "'UROK' is the bank's code for interest credited to an account; penalty (sanction) interest charged to an account uses the bank's sanction-interest code, which is built on the same interest code." + }, + { + "instance_id": "bird249", + "db": "formula_1", + "question": "Which 20 drivers recorded the shortest single lap times in Formula 1 races? Give their full names, shortest lap first.", + "evidence": "" + }, + { + "instance_id": "bird260", + "db": "formula_1", + "question": "For the 2017 Italian Grand Prix, I'd like to identify the drivers who completed the second qualifying session (Q2) but were knocked out and did not reach Q3. Please list every such driver - no ranking, cutoff or tie-break, just all of them - showing each driver's reference name, nationality and birthday, and nothing else.", + "evidence": "Formula 1 qualifying is run in three timed sessions, Q1, Q2 and Q3; completing a session means the driver recorded a lap time in that session, and only drivers who complete a session move on to the next. The reference name is the driver's short identifier." + }, + { + "instance_id": "bird353", + "db": "superhero", + "question": "Hey, following up on my count of the God / Eternal heroes – among those who are male, what's the average number of superpowers per hero? Just give me the average rounded to two decimal places.", + "evidence": "A superpower is any power linked to a hero." + }, + { + "instance_id": "bird379", + "db": "superhero", + "question": "What percentage of Marvel Comics superheroes with a recorded superpower are classified as good? Round the percentage to two decimal places, and give me just that single value.", + "evidence": "Good means alignment 'Good'; superpower refers to a hero's recorded power." + }, + { + "instance_id": "bird389", + "db": "thrombosis_prediction", + "question": "How many distinct female patients have a normal anti-Scl-70 result and no recorded non-null symptom on any examination?", + "evidence": "Normal anti-Scl-70 is recorded as 'negative' or '0'." + }, + { + "instance_id": "bird423", + "db": "thrombosis_prediction", + "question": "I'd like to know how many patients on record have both an abnormal anti-SSA antibody result and a positive proteinuria finding at some point in their record. Abnormal anti-SSA means any recorded test result other than negative or zero. Proteinuria counts as positive if any urine test on file returned a result other than negative or none. The two findings don't need to come from the same visit – I'm looking across each patient's entire record. Please just give me the number of such patients.", + "evidence": "anti-SSA: anti-SSA antibody laboratory test; proteinuria: protein found in the urine" + }, + { + "instance_id": "bird429", + "db": "thrombosis_prediction", + "question": "I'm screening our thrombosis cohort for a study and need an eligibility count. How many patients born after 1980-01-01 had at least one abnormal fibrinogen result or at least one severe proteinuria result? A fibrinogen result is abnormal if it's below 150 or above 450; the normal range 150-450 is inclusive. Severe proteinuria means 300 mg/dl or more on the urinalysis scale, i.e., dipstick 3+ or 4+; trace, 1+ and 2+ are not severe. I just need the single count, nothing else.", + "evidence": "Urinalysis protein scale: '-' and '0' mean no protein, 'TR' means trace, grades '1','2','3','4' mean 1+ to 4+, where 3+ is about 300 mg/dl and 4+ about 1000 mg/dl or more; a plain number is a reading in mg/dl, and a '>=' prefix means 'or more'." + }, + { + "instance_id": "bird449", + "db": "thrombosis_prediction", + "question": "I'm putting together a renal-involvement review. Could you pull the demographics of patients who show both marked tissue damage and clinically significant proteinuria? Specifically, I need the patient ID, sex, and birthday of every patient who has at least one LDH result of 500 or higher and at least one urinary protein result of 100 mg/dL or more. A few details: an LDH of exactly 500 counts, and a urinary protein of exactly 100 mg/dL counts. The qualifying LDH and the qualifying urinary protein don't have to come from the same lab visit. Please give me one row per patient, ordered by patient ID, and nothing beyond those three fields.", + "evidence": "Urinary protein is reported in mg/dL; a dipstick grade may carry the equivalent concentration in mg/dL in parentheses, e.g. '+2(100)' is 100 mg/dL. A result written as '>=' followed by a value means at least that many mg/dL, e.g. '>=300' is 300 mg/dL or more. 'TR' means a trace and '-' means none detected; any other marker is not a quantified mg/dL concentration. An LDH of 500 or higher is outside the normal range." + }, + { + "instance_id": "bird451", + "db": "thrombosis_prediction", + "question": "I need the number of female patients whose first visit to the hospital fell in 1998 (1 January 1998 through 31 December 1998) and who were admitted to the hospital. Only count patients whose sex is recorded as female; if there is no sex entry, don't count them.", + "evidence": "An admission mark beginning with a plus sign means the patient was admitted to the hospital; a minus sign means the patient was followed at the outpatient clinic." + }, + { + "instance_id": "bird459", + "db": "thrombosis_prediction", + "question": "I'm studying antiphospholipid antibodies in Sjögren's syndrome (SJS). Could you tell me the average anti-cardiolipin IgM concentration among SJS patients, rounded to two decimal places? To clarify: use only patients with an established SJS diagnosis recorded at the patient level (a diagnosis marked 'susp', such as 'SJS susp', is only a suspicion and those patients should not be included). Include every examination recorded for these patients regardless of date. A recorded anti-cardiolipin IgM value of 0 means the antibody was not detected at that examination, so treat it as no measurement and leave it out of the average - count only examinations where a concentration was detected.", + "evidence": "SJS is the abbreviation used for Sjögren's syndrome; a diagnosis marked 'susp' (e.g. 'SJS susp') is only a suspicion of the disease, not an established diagnosis." + }, + { + "instance_id": "bird470", + "db": "toxicology", + "question": "Which elements have the fewest atom occurrences across non-carcinogenic molecules? Include all elements tied for the minimum.", + "evidence": "A '-' carcinogenicity label means non-carcinogenic." + } + ], + "db_sha256": { + "california_schools": "c0903eec662e63068fd1d14403d3d6c1d473287fc10c4356333ea58f878db983", + "card_games": "c98bdb57fe7474da798b407785544b9af0daaad5d61fd21e2a73309493bc1227", + "codebase_community": "92101be6d2a9f6adceea59d38f6d1c556087f9eea1432432a21268cb1348036d", + "debit_card_specializing": "b3d149ad05746dbbe5116e229e17e18f09c39db43cf117d9ef3441753608b691", + "european_football_2": "f72f5c9b990371417288a67b27a02e601ef904d45525c2c9f7931fb01001c536", + "financial": "d15d89cdb068a202b6f2b99342af44dffc1d52545b39ceaf62efdc0ba570101e", + "formula_1": "79770caf966707e35516fa566e24b40ae515c74ec1ec4631235245645b87b24d", + "student_club": "eb89bcfe97eefa386a27904ec5aa15159811a7eac894ec659a36e48fa9f76b77", + "superhero": "75e94a2c3236ee3bb2c01fb97a1c4b4c1c269bcefd4eab1d04be323d2d0825b1", + "thrombosis_prediction": "87583183c3dc472fba04de702965560a9d7c0a548836613f242317e0eeb83f00", + "toxicology": "4df4094208e0799d5e5f0e2b5bc5c415cf87b1208ebaf8f4c14c7af445b682c5" + }, + "suite": "bird", + "development_ids": [ + "bird058", + "bird024", + "bird451", + "bird229", + "bird146", + "bird389", + "bird152", + "bird353", + "bird064", + "bird087", + "bird260", + "bird449", + "bird249", + "bird470", + "bird379", + "bird179", + "bird036", + "bird429", + "bird459", + "bird423" + ], + "holdout_ids": [ + "bird023", + "bird238", + "bird358", + "bird324", + "bird155", + "bird267", + "bird110", + "bird192", + "bird226", + "bird365", + "bird128", + "bird381", + "bird305", + "bird408", + "bird001", + "bird413", + "bird120", + "bird432", + "bird160", + "bird027", + "bird199", + "bird095", + "bird407", + "bird091", + "bird489", + "bird209", + "bird194", + "bird313", + "bird015", + "bird051", + "bird270", + "bird130", + "bird427", + "bird167", + "bird360", + "bird061", + "bird450", + "bird097", + "bird032", + "bird341", + "bird006", + "bird156", + "bird471", + "bird119", + "bird369", + "bird256", + "bird057", + "bird222", + "bird361", + "bird205", + "bird356", + "bird279", + "bird412", + "bird488", + "bird496", + "bird295", + "bird404", + "bird390", + "bird417", + "bird440", + "bird211", + "bird487", + "bird005", + "bird299", + "bird397", + "bird346", + "bird315", + "bird484", + "bird472", + "bird162", + "bird428", + "bird254", + "bird349", + "bird017", + "bird446", + "bird232", + "bird236", + "bird071", + "bird063", + "bird244", + "bird062", + "bird157", + "bird480", + "bird185", + "bird248", + "bird463", + "bird035", + "bird345", + "bird088", + "bird072", + "bird443", + "bird135", + "bird474", + "bird275", + "bird495", + "bird148", + "bird444", + "bird331", + "bird060", + "bird431", + "bird416", + "bird117", + "bird410", + "bird079", + "bird326", + "bird105", + "bird436", + "bird383", + "bird139", + "bird350", + "bird182", + "bird485", + "bird132", + "bird245", + "bird424", + "bird292", + "bird098", + "bird030", + "bird329", + "bird430", + "bird191", + "bird455", + "bird434", + "bird348", + "bird026", + "bird011", + "bird089", + "bird212", + "bird103", + "bird083", + "bird008", + "bird074", + "bird050", + "bird106", + "bird259", + "bird376", + "bird067", + "bird193", + "bird055", + "bird044", + "bird264", + "bird198", + "bird003", + "bird075", + "bird380", + "bird033", + "bird025", + "bird301", + "bird196", + "bird114", + "bird077", + "bird303", + "bird204", + "bird366", + "bird240", + "bird123", + "bird195", + "bird333", + "bird158", + "bird112", + "bird469", + "bird493", + "bird368", + "bird306", + "bird462", + "bird490", + "bird285", + "bird246", + "bird373", + "bird273", + "bird289", + "bird276", + "bird168", + "bird342", + "bird492", + "bird387", + "bird337", + "bird189", + "bird184", + "bird401", + "bird352", + "bird200", + "bird280", + "bird002", + "bird048", + "bird186", + "bird174", + "bird498", + "bird141", + "bird239", + "bird039", + "bird216", + "bird022", + "bird332", + "bird294", + "bird045", + "bird169", + "bird172", + "bird040", + "bird242", + "bird107", + "bird250", + "bird382", + "bird491", + "bird347", + "bird076", + "bird497", + "bird116", + "bird374", + "bird262", + "bird453", + "bird171", + "bird043", + "bird217", + "bird178", + "bird257", + "bird386", + "bird396", + "bird181", + "bird439", + "bird419", + "bird415", + "bird111", + "bird164", + "bird414", + "bird406", + "bird296", + "bird101", + "bird409", + "bird251", + "bird118", + "bird268", + "bird086", + "bird010", + "bird056", + "bird127", + "bird210", + "bird122", + "bird161", + "bird367", + "bird218", + "bird457", + "bird144", + "bird372", + "bird286", + "bird370", + "bird154", + "bird124", + "bird084", + "bird177", + "bird099", + "bird143", + "bird435", + "bird402", + "bird336", + "bird479", + "bird125", + "bird290", + "bird335", + "bird094", + "bird300", + "bird482", + "bird466", + "bird214", + "bird281", + "bird392", + "bird082", + "bird233", + "bird013", + "bird478", + "bird153", + "bird420", + "bird477", + "bird096", + "bird258", + "bird247", + "bird494", + "bird351", + "bird344", + "bird081", + "bird241", + "bird473", + "bird355", + "bird049", + "bird384", + "bird037", + "bird145", + "bird377", + "bird224", + "bird481", + "bird009", + "bird159", + "bird411", + "bird421", + "bird458", + "bird448", + "bird029", + "bird137", + "bird163", + "bird134", + "bird225", + "bird468", + "bird034", + "bird080", + "bird271", + "bird100", + "bird263", + "bird325", + "bird398", + "bird093", + "bird452", + "bird066", + "bird031", + "bird287", + "bird007", + "bird235", + "bird312", + "bird340", + "bird362", + "bird028", + "bird019", + "bird298", + "bird138", + "bird418", + "bird359", + "bird046", + "bird113", + "bird230", + "bird073", + "bird202", + "bird070", + "bird433", + "bird265", + "bird322", + "bird021", + "bird314", + "bird311", + "bird394", + "bird004", + "bird391", + "bird140", + "bird425", + "bird321", + "bird282", + "bird221", + "bird183", + "bird228", + "bird078", + "bird467", + "bird012", + "bird147", + "bird197", + "bird109", + "bird266", + "bird316", + "bird283", + "bird378", + "bird483", + "bird441", + "bird085", + "bird310", + "bird475", + "bird297", + "bird261", + "bird388", + "bird339", + "bird170", + "bird447", + "bird129", + "bird486", + "bird136", + "bird052", + "bird375", + "bird288", + "bird456", + "bird165", + "bird476", + "bird219", + "bird338", + "bird499", + "bird059", + "bird255", + "bird464", + "bird302", + "bird357", + "bird142", + "bird393", + "bird328", + "bird215", + "bird042", + "bird284", + "bird277", + "bird102", + "bird272", + "bird020", + "bird307", + "bird330", + "bird304", + "bird442", + "bird253", + "bird000", + "bird454", + "bird363", + "bird223", + "bird047", + "bird220", + "bird231", + "bird400", + "bird465", + "bird385", + "bird309", + "bird206", + "bird445", + "bird461", + "bird317", + "bird237", + "bird399", + "bird422", + "bird460", + "bird175", + "bird318", + "bird108", + "bird069", + "bird068", + "bird092", + "bird173", + "bird234", + "bird090", + "bird014", + "bird151", + "bird213", + "bird018", + "bird133", + "bird187", + "bird269", + "bird131", + "bird203", + "bird308", + "bird180", + "bird054", + "bird405", + "bird395", + "bird364", + "bird121", + "bird371", + "bird293", + "bird038", + "bird426", + "bird252", + "bird104", + "bird190", + "bird188", + "bird354", + "bird201", + "bird207", + "bird437", + "bird291", + "bird334", + "bird274", + "bird065", + "bird403", + "bird278", + "bird126", + "bird176", + "bird208", + "bird053", + "bird150", + "bird320", + "bird323", + "bird115", + "bird327", + "bird166", + "bird149", + "bird438", + "bird041", + "bird343", + "bird319", + "bird016", + "bird227", + "bird243" + ], + "split_seed": 20261126 +} diff --git a/bench/accuracy/results/bird-development-v2/settings.json b/bench/accuracy/results/bird-development-v2/settings.json new file mode 100644 index 00000000..90fca905 --- /dev/null +++ b/bench/accuracy/results/bird-development-v2/settings.json @@ -0,0 +1,40 @@ +{ + "profiles": [ + { + "name": "gpt62-sol", + "model": "openai/gpt-6.2-sol", + "api_key_env": "OPEN_AI_KEY", + "max_output_tokens": 8192, + "reasoning_effort": "high" + } + ], + "split": "development", + "product_commit": "4e1b48a", + "manifest_sha256": "a08d40046ae163174d4ceace18633c26449c785366504b502dda42d70d92c7c1", + "sources": { + "bench/ecommerce_demo.py": "f75f4c82e07773a57ee1954d59f0acf35c9eb945430bdaea4ccdd98a35dcc86c", + "bench/oracle_demo.py": "c781b9501dea47b7900bb47e3fe41e2700d2153e85e087dce757f95e3e698b0e", + "bench/oracle_view/rehearse.py": "0114ce65327e435d4e3be6cab60e22b48bfb3ff7f06d97c14a16ea0d8e5602f2", + "bench/oracle_view/long_context.py": "089038788a9b4191946c906e470877bd246850d0a6d535809594a0bddfdcd47e", + "bench/oracle_view/codex_demo.py": "2eea87d833ca6a73a50255fa83927c6c560e2390df6c65e217263b2d3bb966c6", + "bench/oracle_view/summarize_context.py": "707b288be6637a7c8a45b957ef44a81cfb091c7fa5b249e9407a2a9b07e66626", + "bench/oracle_view/evaluate.py": "10685e37fbb2420242ebf5f88f988f3d5bccebc45465151f53ab8454e8fb5a3c", + "bench/oracle_co/session.py": "ff839e7497d9e06ca18a248993bac3c556d256ade7311c604d1f55926c195acb", + "bench/oracle_co/demo.py": "a8ac981bb35d0d77595b2441721cde4e458fb63c3fb7c1748a14bab4a187300a", + "bench/oracle_co/db_preview.py": "9a08766183d5f9542442ba41666d998fe024926e676799ffac5d751237ee0d64", + "bench/accuracy/evaluate.py": "fb63626cf53df8545262ed75284adf2d78d64cbda5f80543661c4a6c2f51bac7", + "bench/oracle_meeting/rehearse.py": "542664b6f04ae6a9606735b550fc2ce2f50df6fc0513384ebf4c654136974cd3", + "bench/oracle_meeting/codex_rehearse.py": "cfa84091da819ab1cb71d083c3ff77cc7fd79b8560de2108626e6d4c3bd8a3aa", + "bench/oracle_meeting/package_fault.py": "c7bb3552f167bafcbc084152deb66e187b3a6fa4de3dfed92cc00c7588bc1fe2", + "bench/spider2/providers.py": "5b8d534084035e44876eb980f2db9873edf82afcd4bec72cafb156821e962301", + "bench/spider2/evaluate.py": "e69628766439b40d4a524d9a23890b9399dd4357f4550fac5ae72f74c2bc91f7" + }, + "limits": { + "max_calls": 16, + "call_timeout": 180, + "case_timeout": 900, + "sql_timeout": 30, + "max_rows": 100000, + "concurrency": 4 + } +} diff --git a/bench/accuracy/results/bird-development-v2/summary.json b/bench/accuracy/results/bird-development-v2/summary.json new file mode 100644 index 00000000..c48e01ba --- /dev/null +++ b/bench/accuracy/results/bird-development-v2/summary.json @@ -0,0 +1,8 @@ +[ + { + "profile": "gpt62-sol", + "correct": 18, + "total": 20, + "accuracy": 0.9 + } +] diff --git a/bench/accuracy/results/bird-gold-health.json b/bench/accuracy/results/bird-gold-health.json new file mode 100644 index 00000000..b7fc177a --- /dev/null +++ b/bench/accuracy/results/bird-gold-health.json @@ -0,0 +1,2502 @@ +[ + { + "id": 0, + "rows": 1, + "status": "ok" + }, + { + "id": 1, + "rows": 57, + "status": "ok" + }, + { + "id": 2, + "rows": 5, + "status": "ok" + }, + { + "id": 3, + "rows": 1, + "status": "ok" + }, + { + "id": 4, + "rows": 1, + "status": "ok" + }, + { + "id": 5, + "rows": 1, + "status": "ok" + }, + { + "id": 6, + "rows": 2, + "status": "ok" + }, + { + "id": 7, + "rows": 1, + "status": "ok" + }, + { + "id": 8, + "rows": 2, + "status": "ok" + }, + { + "id": 9, + "rows": 1, + "status": "ok" + }, + { + "id": 10, + "rows": 1, + "status": "ok" + }, + { + "id": 11, + "rows": 1, + "status": "ok" + }, + { + "id": 12, + "rows": 1, + "status": "ok" + }, + { + "id": 13, + "rows": 1, + "status": "ok" + }, + { + "id": 14, + "rows": 2, + "status": "ok" + }, + { + "id": 15, + "rows": 1, + "status": "ok" + }, + { + "id": 16, + "rows": 1, + "status": "ok" + }, + { + "id": 17, + "rows": 1, + "status": "ok" + }, + { + "id": 18, + "rows": 1, + "status": "ok" + }, + { + "id": 19, + "rows": 1, + "status": "ok" + }, + { + "id": 20, + "rows": 50, + "status": "ok" + }, + { + "id": 21, + "rows": 1, + "status": "ok" + }, + { + "id": 22, + "rows": 1, + "status": "ok" + }, + { + "id": 23, + "rows": 1, + "status": "ok" + }, + { + "id": 24, + "rows": 1, + "status": "ok" + }, + { + "id": 25, + "rows": 1, + "status": "ok" + }, + { + "id": 26, + "rows": 2, + "status": "ok" + }, + { + "id": 27, + "rows": 1, + "status": "ok" + }, + { + "id": 28, + "rows": 1, + "status": "ok" + }, + { + "id": 29, + "rows": 2, + "status": "ok" + }, + { + "id": 30, + "rows": 1, + "status": "ok" + }, + { + "id": 31, + "rows": 1, + "status": "ok" + }, + { + "id": 32, + "rows": 1, + "status": "ok" + }, + { + "id": 33, + "rows": 1, + "status": "ok" + }, + { + "id": 34, + "rows": 1, + "status": "ok" + }, + { + "id": 35, + "rows": 1, + "status": "ok" + }, + { + "id": 36, + "rows": 1, + "status": "ok" + }, + { + "id": 37, + "rows": 1, + "status": "ok" + }, + { + "id": 38, + "rows": 5, + "status": "ok" + }, + { + "id": 39, + "rows": 2, + "status": "ok" + }, + { + "id": 40, + "rows": 3, + "status": "ok" + }, + { + "id": 41, + "rows": 121, + "status": "ok" + }, + { + "id": 42, + "rows": 929, + "status": "ok" + }, + { + "id": 43, + "rows": 56, + "status": "ok" + }, + { + "id": 44, + "rows": 1, + "status": "ok" + }, + { + "id": 45, + "rows": 1, + "status": "ok" + }, + { + "id": 46, + "rows": 32, + "status": "ok" + }, + { + "id": 47, + "rows": 182, + "status": "ok" + }, + { + "id": 48, + "rows": 7, + "status": "ok" + }, + { + "id": 49, + "rows": 72, + "status": "ok" + }, + { + "id": 50, + "rows": 2, + "status": "ok" + }, + { + "id": 51, + "rows": 1, + "status": "ok" + }, + { + "id": 52, + "rows": 1, + "status": "ok" + }, + { + "id": 53, + "rows": 1, + "status": "ok" + }, + { + "id": 54, + "rows": 804, + "status": "ok" + }, + { + "id": 55, + "rows": 1, + "status": "ok" + }, + { + "id": 56, + "rows": 1, + "status": "ok" + }, + { + "id": 57, + "rows": 1, + "status": "ok" + }, + { + "id": 58, + "rows": 1, + "status": "ok" + }, + { + "id": 59, + "rows": 1, + "status": "ok" + }, + { + "id": 60, + "rows": 1, + "status": "ok" + }, + { + "id": 61, + "rows": 102, + "status": "ok" + }, + { + "id": 62, + "rows": 1, + "status": "ok" + }, + { + "id": 63, + "rows": 1, + "status": "ok" + }, + { + "id": 64, + "rows": 1, + "status": "ok" + }, + { + "id": 65, + "rows": 1, + "status": "ok" + }, + { + "id": 66, + "rows": 20, + "status": "ok" + }, + { + "id": 67, + "rows": 1, + "status": "ok" + }, + { + "id": 68, + "rows": 1, + "status": "ok" + }, + { + "id": 69, + "rows": 1, + "status": "ok" + }, + { + "id": 70, + "rows": 1, + "status": "ok" + }, + { + "id": 71, + "rows": 1, + "status": "ok" + }, + { + "id": 72, + "rows": 1, + "status": "ok" + }, + { + "id": 73, + "rows": 2, + "status": "ok" + }, + { + "id": 74, + "rows": 1, + "status": "ok" + }, + { + "id": 75, + "rows": 1, + "status": "ok" + }, + { + "id": 76, + "rows": 1, + "status": "ok" + }, + { + "id": 77, + "rows": 3, + "status": "ok" + }, + { + "id": 78, + "rows": 34, + "status": "ok" + }, + { + "id": 79, + "rows": 1, + "status": "ok" + }, + { + "id": 80, + "rows": 1, + "status": "ok" + }, + { + "id": 81, + "rows": 3, + "status": "ok" + }, + { + "id": 82, + "rows": 1, + "status": "ok" + }, + { + "id": 83, + "rows": 20, + "status": "ok" + }, + { + "id": 84, + "rows": 1, + "status": "ok" + }, + { + "id": 85, + "rows": 1, + "status": "ok" + }, + { + "id": 86, + "rows": 1, + "status": "ok" + }, + { + "id": 87, + "rows": 1, + "status": "ok" + }, + { + "id": 88, + "rows": 1, + "status": "ok" + }, + { + "id": 89, + "rows": 2, + "status": "ok" + }, + { + "id": 90, + "rows": 1, + "status": "ok" + }, + { + "id": 91, + "rows": 1, + "status": "ok" + }, + { + "id": 92, + "rows": 3, + "status": "ok" + }, + { + "id": 93, + "rows": 1, + "status": "ok" + }, + { + "id": 94, + "rows": 1, + "status": "ok" + }, + { + "id": 95, + "rows": 26, + "status": "ok" + }, + { + "id": 96, + "rows": 1, + "status": "ok" + }, + { + "id": 97, + "rows": 127, + "status": "ok" + }, + { + "id": 98, + "rows": 31, + "status": "ok" + }, + { + "id": 99, + "rows": 1, + "status": "ok" + }, + { + "id": 100, + "rows": 1, + "status": "ok" + }, + { + "id": 101, + "rows": 3, + "status": "ok" + }, + { + "id": 102, + "rows": 1, + "status": "ok" + }, + { + "id": 103, + "rows": 34, + "status": "ok" + }, + { + "id": 104, + "rows": 1, + "status": "ok" + }, + { + "id": 105, + "rows": 1, + "status": "ok" + }, + { + "id": 106, + "rows": 2, + "status": "ok" + }, + { + "id": 107, + "rows": 96, + "status": "ok" + }, + { + "id": 108, + "rows": 1, + "status": "ok" + }, + { + "id": 109, + "rows": 1, + "status": "ok" + }, + { + "id": 110, + "rows": 1, + "status": "ok" + }, + { + "id": 111, + "rows": 1, + "status": "ok" + }, + { + "id": 112, + "rows": 1, + "status": "ok" + }, + { + "id": 113, + "rows": 1, + "status": "ok" + }, + { + "id": 114, + "rows": 1, + "status": "ok" + }, + { + "id": 115, + "rows": 1, + "status": "ok" + }, + { + "id": 116, + "rows": 1, + "status": "ok" + }, + { + "id": 117, + "rows": 1, + "status": "ok" + }, + { + "id": 118, + "rows": 1, + "status": "ok" + }, + { + "id": 119, + "rows": 270, + "status": "ok" + }, + { + "id": 120, + "rows": 1, + "status": "ok" + }, + { + "id": 121, + "rows": 1, + "status": "ok" + }, + { + "id": 122, + "rows": 1, + "status": "ok" + }, + { + "id": 123, + "rows": 1, + "status": "ok" + }, + { + "id": 124, + "rows": 10, + "status": "ok" + }, + { + "id": 125, + "rows": 1, + "status": "ok" + }, + { + "id": 126, + "rows": 1, + "status": "ok" + }, + { + "id": 127, + "rows": 1, + "status": "ok" + }, + { + "id": 128, + "rows": 1, + "status": "ok" + }, + { + "id": 129, + "rows": 1, + "status": "ok" + }, + { + "id": 130, + "rows": 1, + "status": "ok" + }, + { + "id": 131, + "rows": 1, + "status": "ok" + }, + { + "id": 132, + "rows": 1, + "status": "ok" + }, + { + "id": 133, + "rows": 1, + "status": "ok" + }, + { + "id": 134, + "rows": 1, + "status": "ok" + }, + { + "id": 135, + "rows": 1, + "status": "ok" + }, + { + "id": 136, + "rows": 1, + "status": "ok" + }, + { + "id": 137, + "rows": 1, + "status": "ok" + }, + { + "id": 138, + "rows": 1, + "status": "ok" + }, + { + "id": 139, + "rows": 1, + "status": "ok" + }, + { + "id": 140, + "rows": 1, + "status": "ok" + }, + { + "id": 141, + "rows": 2, + "status": "ok" + }, + { + "id": 142, + "rows": 1, + "status": "ok" + }, + { + "id": 143, + "rows": 1, + "status": "ok" + }, + { + "id": 144, + "rows": 1, + "status": "ok" + }, + { + "id": 145, + "rows": 1, + "status": "ok" + }, + { + "id": 146, + "rows": 1, + "status": "ok" + }, + { + "id": 147, + "rows": 1, + "status": "ok" + }, + { + "id": 148, + "rows": 1, + "status": "ok" + }, + { + "id": 149, + "rows": 1, + "status": "ok" + }, + { + "id": 150, + "rows": 2, + "status": "ok" + }, + { + "id": 151, + "rows": 1, + "status": "ok" + }, + { + "id": 152, + "rows": 1, + "status": "ok" + }, + { + "id": 153, + "rows": 3, + "status": "ok" + }, + { + "id": 154, + "rows": 3, + "status": "ok" + }, + { + "id": 155, + "rows": 1, + "status": "ok" + }, + { + "id": 156, + "rows": 2, + "status": "ok" + }, + { + "id": 157, + "rows": 1, + "status": "ok" + }, + { + "id": 158, + "rows": 1, + "status": "ok" + }, + { + "id": 159, + "rows": 1, + "status": "ok" + }, + { + "id": 160, + "rows": 1, + "status": "ok" + }, + { + "id": 161, + "rows": 1, + "status": "ok" + }, + { + "id": 162, + "rows": 1, + "status": "ok" + }, + { + "id": 163, + "rows": 2, + "status": "ok" + }, + { + "id": 164, + "rows": 128, + "status": "ok" + }, + { + "id": 165, + "rows": 10, + "status": "ok" + }, + { + "id": 166, + "rows": 11, + "status": "ok" + }, + { + "id": 167, + "rows": 1, + "status": "ok" + }, + { + "id": 168, + "rows": 1, + "status": "ok" + }, + { + "id": 169, + "rows": 1, + "status": "ok" + }, + { + "id": 170, + "rows": 1, + "status": "ok" + }, + { + "id": 171, + "rows": 1, + "status": "ok" + }, + { + "id": 172, + "rows": 1, + "status": "ok" + }, + { + "id": 173, + "rows": 1, + "status": "ok" + }, + { + "id": 174, + "rows": 1, + "status": "ok" + }, + { + "id": 175, + "rows": 1, + "status": "ok" + }, + { + "id": 176, + "rows": 6, + "status": "ok" + }, + { + "id": 177, + "rows": 1, + "status": "ok" + }, + { + "id": 178, + "rows": 1, + "status": "ok" + }, + { + "id": 179, + "rows": 24, + "status": "ok" + }, + { + "id": 180, + "rows": 1, + "status": "ok" + }, + { + "id": 181, + "rows": 65, + "status": "ok" + }, + { + "id": 182, + "rows": 8, + "status": "ok" + }, + { + "id": 183, + "rows": 1, + "status": "ok" + }, + { + "id": 184, + "rows": 2, + "status": "ok" + }, + { + "id": 185, + "rows": 1, + "status": "ok" + }, + { + "id": 186, + "rows": 1, + "status": "ok" + }, + { + "id": 187, + "rows": 1, + "status": "ok" + }, + { + "id": 188, + "rows": 1, + "status": "ok" + }, + { + "id": 189, + "rows": 1, + "status": "ok" + }, + { + "id": 190, + "rows": 6, + "status": "ok" + }, + { + "id": 191, + "rows": 1, + "status": "ok" + }, + { + "id": 192, + "rows": 1, + "status": "ok" + }, + { + "id": 193, + "rows": 1, + "status": "ok" + }, + { + "id": 194, + "rows": 1, + "status": "ok" + }, + { + "id": 195, + "rows": 1, + "status": "ok" + }, + { + "id": 196, + "rows": 1, + "status": "ok" + }, + { + "id": 197, + "rows": 1, + "status": "ok" + }, + { + "id": 198, + "rows": 364, + "status": "ok" + }, + { + "id": 199, + "rows": 29, + "status": "ok" + }, + { + "id": 200, + "rows": 1, + "status": "ok" + }, + { + "id": 201, + "rows": 1, + "status": "ok" + }, + { + "id": 202, + "rows": 1, + "status": "ok" + }, + { + "id": 203, + "rows": 1, + "status": "ok" + }, + { + "id": 204, + "rows": 1, + "status": "ok" + }, + { + "id": 205, + "rows": 5, + "status": "ok" + }, + { + "id": 206, + "rows": 1, + "status": "ok" + }, + { + "id": 207, + "rows": 1, + "status": "ok" + }, + { + "id": 208, + "rows": 1, + "status": "ok" + }, + { + "id": 209, + "rows": 1, + "status": "ok" + }, + { + "id": 210, + "rows": 1, + "status": "ok" + }, + { + "id": 211, + "rows": 1, + "status": "ok" + }, + { + "id": 212, + "rows": 14, + "status": "ok" + }, + { + "id": 213, + "rows": 2, + "status": "ok" + }, + { + "id": 214, + "rows": 1, + "status": "ok" + }, + { + "id": 215, + "rows": 1, + "status": "ok" + }, + { + "id": 216, + "rows": 8, + "status": "ok" + }, + { + "id": 217, + "rows": 3, + "status": "ok" + }, + { + "id": 218, + "rows": 3, + "status": "ok" + }, + { + "id": 219, + "rows": 10, + "status": "ok" + }, + { + "id": 220, + "rows": 1, + "status": "ok" + }, + { + "id": 221, + "rows": 46, + "status": "ok" + }, + { + "id": 222, + "rows": 1, + "status": "ok" + }, + { + "id": 223, + "rows": 2, + "status": "ok" + }, + { + "id": 224, + "rows": 10, + "status": "ok" + }, + { + "id": 225, + "rows": 21, + "status": "ok" + }, + { + "id": 226, + "rows": 3, + "status": "ok" + }, + { + "id": 227, + "rows": 3, + "status": "ok" + }, + { + "id": 228, + "rows": 1, + "status": "ok" + }, + { + "id": 229, + "rows": 1, + "status": "ok" + }, + { + "id": 230, + "rows": 3, + "status": "ok" + }, + { + "id": 231, + "rows": 1, + "status": "ok" + }, + { + "id": 232, + "rows": 1, + "status": "ok" + }, + { + "id": 233, + "rows": 88, + "status": "ok" + }, + { + "id": 234, + "rows": 37, + "status": "ok" + }, + { + "id": 235, + "rows": 77, + "status": "ok" + }, + { + "id": 236, + "rows": 1, + "status": "ok" + }, + { + "id": 237, + "rows": 1, + "status": "ok" + }, + { + "id": 238, + "rows": 1, + "status": "ok" + }, + { + "id": 239, + "rows": 2, + "status": "ok" + }, + { + "id": 240, + "rows": 1, + "status": "ok" + }, + { + "id": 241, + "rows": 1, + "status": "ok" + }, + { + "id": 242, + "rows": 1, + "status": "ok" + }, + { + "id": 243, + "rows": 1, + "status": "ok" + }, + { + "id": 244, + "rows": 1, + "status": "ok" + }, + { + "id": 245, + "rows": 25, + "status": "ok" + }, + { + "id": 246, + "rows": 1, + "status": "ok" + }, + { + "id": 247, + "rows": 1, + "status": "ok" + }, + { + "id": 248, + "rows": 1, + "status": "ok" + }, + { + "id": 249, + "rows": 20, + "status": "ok" + }, + { + "id": 250, + "rows": 2, + "status": "ok" + }, + { + "id": 251, + "rows": 1, + "status": "ok" + }, + { + "id": 252, + "rows": 7, + "status": "ok" + }, + { + "id": 253, + "rows": 1, + "status": "ok" + }, + { + "id": 254, + "rows": 1, + "status": "ok" + }, + { + "id": 255, + "rows": 1, + "status": "ok" + }, + { + "id": 256, + "rows": 1, + "status": "ok" + }, + { + "id": 257, + "rows": 1, + "status": "ok" + }, + { + "id": 258, + "rows": 2, + "status": "ok" + }, + { + "id": 259, + "rows": 1, + "status": "ok" + }, + { + "id": 260, + "rows": 5, + "status": "ok" + }, + { + "id": 261, + "rows": 1, + "status": "ok" + }, + { + "id": 262, + "rows": 1, + "status": "ok" + }, + { + "id": 263, + "rows": 1, + "status": "ok" + }, + { + "id": 264, + "rows": 1, + "status": "ok" + }, + { + "id": 265, + "rows": 1, + "status": "ok" + }, + { + "id": 266, + "rows": 5, + "status": "ok" + }, + { + "id": 267, + "rows": 20, + "status": "ok" + }, + { + "id": 268, + "rows": 1, + "status": "ok" + }, + { + "id": 269, + "rows": 1, + "status": "ok" + }, + { + "id": 270, + "rows": 1, + "status": "ok" + }, + { + "id": 271, + "rows": 1, + "status": "ok" + }, + { + "id": 272, + "rows": 3, + "status": "ok" + }, + { + "id": 273, + "rows": 2, + "status": "ok" + }, + { + "id": 274, + "rows": 1, + "status": "ok" + }, + { + "id": 275, + "rows": 24, + "status": "ok" + }, + { + "id": 276, + "rows": 12, + "status": "ok" + }, + { + "id": 277, + "rows": 1, + "status": "ok" + }, + { + "id": 278, + "rows": 2, + "status": "ok" + }, + { + "id": 279, + "rows": 1, + "status": "ok" + }, + { + "id": 280, + "rows": 1, + "status": "ok" + }, + { + "id": 281, + "rows": 1, + "status": "ok" + }, + { + "id": 282, + "rows": 1, + "status": "ok" + }, + { + "id": 283, + "rows": 1, + "status": "ok" + }, + { + "id": 284, + "rows": 1, + "status": "ok" + }, + { + "id": 285, + "rows": 1, + "status": "ok" + }, + { + "id": 286, + "rows": 1, + "status": "ok" + }, + { + "id": 287, + "rows": 10, + "status": "ok" + }, + { + "id": 288, + "rows": 4, + "status": "ok" + }, + { + "id": 289, + "rows": 7, + "status": "ok" + }, + { + "id": 290, + "rows": 1, + "status": "ok" + }, + { + "id": 291, + "rows": 3, + "status": "ok" + }, + { + "id": 292, + "rows": 5, + "status": "ok" + }, + { + "id": 293, + "rows": 1, + "status": "ok" + }, + { + "id": 294, + "rows": 1, + "status": "ok" + }, + { + "id": 295, + "rows": 1, + "status": "ok" + }, + { + "id": 296, + "rows": 1, + "status": "ok" + }, + { + "id": 297, + "rows": 1, + "status": "ok" + }, + { + "id": 298, + "rows": 1, + "status": "ok" + }, + { + "id": 299, + "rows": 3, + "status": "ok" + }, + { + "id": 300, + "rows": 29, + "status": "ok" + }, + { + "id": 301, + "rows": 3, + "status": "ok" + }, + { + "id": 302, + "rows": 1, + "status": "ok" + }, + { + "id": 303, + "rows": 11, + "status": "ok" + }, + { + "id": 304, + "rows": 8, + "status": "ok" + }, + { + "id": 305, + "rows": 4, + "status": "ok" + }, + { + "id": 306, + "rows": 3, + "status": "ok" + }, + { + "id": 307, + "rows": 1, + "status": "ok" + }, + { + "id": 308, + "rows": 1, + "status": "ok" + }, + { + "id": 309, + "rows": 1, + "status": "ok" + }, + { + "id": 310, + "rows": 2, + "status": "ok" + }, + { + "id": 311, + "rows": 3, + "status": "ok" + }, + { + "id": 312, + "rows": 1, + "status": "ok" + }, + { + "id": 313, + "rows": 1, + "status": "ok" + }, + { + "id": 314, + "rows": 1, + "status": "ok" + }, + { + "id": 315, + "rows": 17, + "status": "ok" + }, + { + "id": 316, + "rows": 1, + "status": "ok" + }, + { + "id": 317, + "rows": 1, + "status": "ok" + }, + { + "id": 318, + "rows": 1, + "status": "ok" + }, + { + "id": 319, + "rows": 3, + "status": "ok" + }, + { + "id": 320, + "rows": 2, + "status": "ok" + }, + { + "id": 321, + "rows": 2, + "status": "ok" + }, + { + "id": 322, + "rows": 1, + "status": "ok" + }, + { + "id": 323, + "rows": 1, + "status": "ok" + }, + { + "id": 324, + "rows": 1, + "status": "ok" + }, + { + "id": 325, + "rows": 2, + "status": "ok" + }, + { + "id": 326, + "rows": 1, + "status": "ok" + }, + { + "id": 327, + "rows": 5, + "status": "ok" + }, + { + "id": 328, + "rows": 42, + "status": "ok" + }, + { + "id": 329, + "rows": 10, + "status": "ok" + }, + { + "id": 330, + "rows": 1, + "status": "ok" + }, + { + "id": 331, + "rows": 1, + "status": "ok" + }, + { + "id": 332, + "rows": 18, + "status": "ok" + }, + { + "id": 333, + "rows": 201, + "status": "ok" + }, + { + "id": 334, + "rows": 1, + "status": "ok" + }, + { + "id": 335, + "rows": 1, + "status": "ok" + }, + { + "id": 336, + "rows": 15, + "status": "ok" + }, + { + "id": 337, + "rows": 1, + "status": "ok" + }, + { + "id": 338, + "rows": 35, + "status": "ok" + }, + { + "id": 339, + "rows": 4, + "status": "ok" + }, + { + "id": 340, + "rows": 1, + "status": "ok" + }, + { + "id": 341, + "rows": 1, + "status": "ok" + }, + { + "id": 342, + "rows": 1, + "status": "ok" + }, + { + "id": 343, + "rows": 1, + "status": "ok" + }, + { + "id": 344, + "rows": 1, + "status": "ok" + }, + { + "id": 345, + "rows": 1, + "status": "ok" + }, + { + "id": 346, + "rows": 1, + "status": "ok" + }, + { + "id": 347, + "rows": 1, + "status": "ok" + }, + { + "id": 348, + "rows": 1, + "status": "ok" + }, + { + "id": 349, + "rows": 2, + "status": "ok" + }, + { + "id": 350, + "rows": 1, + "status": "ok" + }, + { + "id": 351, + "rows": 1, + "status": "ok" + }, + { + "id": 352, + "rows": 1, + "status": "ok" + }, + { + "id": 353, + "rows": 1, + "status": "ok" + }, + { + "id": 354, + "rows": 1, + "status": "ok" + }, + { + "id": 355, + "rows": 1, + "status": "ok" + }, + { + "id": 356, + "rows": 1, + "status": "ok" + }, + { + "id": 357, + "rows": 1, + "status": "ok" + }, + { + "id": 358, + "rows": 1, + "status": "ok" + }, + { + "id": 359, + "rows": 1, + "status": "ok" + }, + { + "id": 360, + "rows": 1, + "status": "ok" + }, + { + "id": 361, + "rows": 1, + "status": "ok" + }, + { + "id": 362, + "rows": 1, + "status": "ok" + }, + { + "id": 363, + "rows": 1, + "status": "ok" + }, + { + "id": 364, + "rows": 1, + "status": "ok" + }, + { + "id": 365, + "rows": 1, + "status": "ok" + }, + { + "id": 366, + "rows": 1, + "status": "ok" + }, + { + "id": 367, + "rows": 1, + "status": "ok" + }, + { + "id": 368, + "rows": 1, + "status": "ok" + }, + { + "id": 369, + "rows": 1, + "status": "ok" + }, + { + "id": 370, + "rows": 1, + "status": "ok" + }, + { + "id": 371, + "rows": 1, + "status": "ok" + }, + { + "id": 372, + "rows": 1, + "status": "ok" + }, + { + "id": 373, + "rows": 1, + "status": "ok" + }, + { + "id": 374, + "rows": 1, + "status": "ok" + }, + { + "id": 375, + "rows": 1, + "status": "ok" + }, + { + "id": 376, + "rows": 29, + "status": "ok" + }, + { + "id": 377, + "rows": 12, + "status": "ok" + }, + { + "id": 378, + "rows": 1, + "status": "ok" + }, + { + "id": 379, + "rows": 1, + "status": "ok" + }, + { + "id": 380, + "rows": 1, + "status": "ok" + }, + { + "id": 381, + "rows": 1, + "status": "ok" + }, + { + "id": 382, + "rows": 1, + "status": "ok" + }, + { + "id": 383, + "rows": 1, + "status": "ok" + }, + { + "id": 384, + "rows": 1, + "status": "ok" + }, + { + "id": 385, + "rows": 13, + "status": "ok" + }, + { + "id": 386, + "rows": 3, + "status": "ok" + }, + { + "id": 387, + "rows": 1, + "status": "ok" + }, + { + "id": 388, + "rows": 1, + "status": "ok" + }, + { + "id": 389, + "rows": 1, + "status": "ok" + }, + { + "id": 390, + "rows": 1, + "status": "ok" + }, + { + "id": 391, + "rows": 1, + "status": "ok" + }, + { + "id": 392, + "rows": 1, + "status": "ok" + }, + { + "id": 393, + "rows": 1, + "status": "ok" + }, + { + "id": 394, + "rows": 1, + "status": "ok" + }, + { + "id": 395, + "rows": 2, + "status": "ok" + }, + { + "id": 396, + "rows": 1, + "status": "ok" + }, + { + "id": 397, + "rows": 2, + "status": "ok" + }, + { + "id": 398, + "rows": 1, + "status": "ok" + }, + { + "id": 399, + "rows": 1, + "status": "ok" + }, + { + "id": 400, + "rows": 1, + "status": "ok" + }, + { + "id": 401, + "rows": 1, + "status": "ok" + }, + { + "id": 402, + "rows": 1, + "status": "ok" + }, + { + "id": 403, + "rows": 2, + "status": "ok" + }, + { + "id": 404, + "rows": 1, + "status": "ok" + }, + { + "id": 405, + "rows": 1, + "status": "ok" + }, + { + "id": 406, + "rows": 1, + "status": "ok" + }, + { + "id": 407, + "rows": 1, + "status": "ok" + }, + { + "id": 408, + "rows": 1, + "status": "ok" + }, + { + "id": 409, + "rows": 1, + "status": "ok" + }, + { + "id": 410, + "rows": 1, + "status": "ok" + }, + { + "id": 411, + "rows": 1, + "status": "ok" + }, + { + "id": 412, + "rows": 1, + "status": "ok" + }, + { + "id": 413, + "rows": 2, + "status": "ok" + }, + { + "id": 414, + "rows": 3, + "status": "ok" + }, + { + "id": 415, + "rows": 1, + "status": "ok" + }, + { + "id": 416, + "rows": 2, + "status": "ok" + }, + { + "id": 417, + "rows": 2, + "status": "ok" + }, + { + "id": 418, + "rows": 3, + "status": "ok" + }, + { + "id": 419, + "rows": 1, + "status": "ok" + }, + { + "id": 420, + "rows": 1, + "status": "ok" + }, + { + "id": 421, + "rows": 1, + "status": "ok" + }, + { + "id": 422, + "rows": 16, + "status": "ok" + }, + { + "id": 423, + "rows": 1, + "status": "ok" + }, + { + "id": 424, + "rows": 1, + "status": "ok" + }, + { + "id": 425, + "rows": 1, + "status": "ok" + }, + { + "id": 426, + "rows": 1, + "status": "ok" + }, + { + "id": 427, + "rows": 2, + "status": "ok" + }, + { + "id": 428, + "rows": 1, + "status": "ok" + }, + { + "id": 429, + "rows": 1, + "status": "ok" + }, + { + "id": 430, + "rows": 2, + "status": "ok" + }, + { + "id": 431, + "rows": 1, + "status": "ok" + }, + { + "id": 432, + "rows": 1, + "status": "ok" + }, + { + "id": 433, + "rows": 1, + "status": "ok" + }, + { + "id": 434, + "rows": 1, + "status": "ok" + }, + { + "id": 435, + "rows": 295, + "status": "ok" + }, + { + "id": 436, + "rows": 7, + "status": "ok" + }, + { + "id": 437, + "rows": 1, + "status": "ok" + }, + { + "id": 438, + "rows": 3, + "status": "ok" + }, + { + "id": 439, + "rows": 1, + "status": "ok" + }, + { + "id": 440, + "rows": 1, + "status": "ok" + }, + { + "id": 441, + "rows": 14, + "status": "ok" + }, + { + "id": 442, + "rows": 2, + "status": "ok" + }, + { + "id": 443, + "rows": 1, + "status": "ok" + }, + { + "id": 444, + "rows": 1, + "status": "ok" + }, + { + "id": 445, + "rows": 2, + "status": "ok" + }, + { + "id": 446, + "rows": 1, + "status": "ok" + }, + { + "id": 447, + "rows": 1, + "status": "ok" + }, + { + "id": 448, + "rows": 1, + "status": "ok" + }, + { + "id": 449, + "rows": 18, + "status": "ok" + }, + { + "id": 450, + "rows": 2, + "status": "ok" + }, + { + "id": 451, + "rows": 1, + "status": "ok" + }, + { + "id": 452, + "rows": 1, + "status": "ok" + }, + { + "id": 453, + "rows": 1, + "status": "ok" + }, + { + "id": 454, + "rows": 1, + "status": "ok" + }, + { + "id": 455, + "rows": 1, + "status": "ok" + }, + { + "id": 456, + "rows": 2, + "status": "ok" + }, + { + "id": 457, + "rows": 2, + "status": "ok" + }, + { + "id": 458, + "rows": 2, + "status": "ok" + }, + { + "id": 459, + "rows": 1, + "status": "ok" + }, + { + "id": 460, + "rows": 1, + "status": "ok" + }, + { + "id": 461, + "rows": 1, + "status": "ok" + }, + { + "id": 462, + "rows": 1, + "status": "ok" + }, + { + "id": 463, + "rows": 5, + "status": "ok" + }, + { + "id": 464, + "rows": 1, + "status": "ok" + }, + { + "id": 465, + "rows": 1, + "status": "ok" + }, + { + "id": 466, + "rows": 1, + "status": "ok" + }, + { + "id": 467, + "rows": 1, + "status": "ok" + }, + { + "id": 468, + "rows": 1, + "status": "ok" + }, + { + "id": 469, + "rows": 1, + "status": "ok" + }, + { + "id": 470, + "rows": 3, + "status": "ok" + }, + { + "id": 471, + "rows": 1, + "status": "ok" + }, + { + "id": 472, + "rows": 1, + "status": "ok" + }, + { + "id": 473, + "rows": 1, + "status": "ok" + }, + { + "id": 474, + "rows": 6, + "status": "ok" + }, + { + "id": 475, + "rows": 5, + "status": "ok" + }, + { + "id": 476, + "rows": 1, + "status": "ok" + }, + { + "id": 477, + "rows": 1, + "status": "ok" + }, + { + "id": 478, + "rows": 1, + "status": "ok" + }, + { + "id": 479, + "rows": 1, + "status": "ok" + }, + { + "id": 480, + "rows": 1, + "status": "ok" + }, + { + "id": 481, + "rows": 1, + "status": "ok" + }, + { + "id": 482, + "rows": 1, + "status": "ok" + }, + { + "id": 483, + "rows": 2, + "status": "ok" + }, + { + "id": 484, + "rows": 1, + "status": "ok" + }, + { + "id": 485, + "rows": 1, + "status": "ok" + }, + { + "id": 486, + "rows": 112, + "status": "ok" + }, + { + "id": 487, + "rows": 1, + "status": "ok" + }, + { + "id": 488, + "rows": 1, + "status": "ok" + }, + { + "id": 489, + "rows": 1, + "status": "ok" + }, + { + "id": 490, + "rows": 3, + "status": "ok" + }, + { + "id": 491, + "rows": 340, + "status": "ok" + }, + { + "id": 492, + "rows": 1, + "status": "ok" + }, + { + "id": 493, + "rows": 1, + "status": "ok" + }, + { + "id": 494, + "rows": 4, + "status": "ok" + }, + { + "id": 495, + "rows": 2, + "status": "ok" + }, + { + "id": 496, + "rows": 3, + "status": "ok" + }, + { + "id": 497, + "rows": 18, + "status": "ok" + }, + { + "id": 498, + "rows": 4, + "status": "ok" + }, + { + "id": 499, + "rows": 6, + "status": "ok" + } +] diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/records.jsonl b/bench/accuracy/results/bird-holdout-final/gpt62-sol/records.jsonl new file mode 100644 index 00000000..807df471 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/records.jsonl @@ -0,0 +1,480 @@ +{"instance_id": "bird000", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT MAX(f.\"Percent (%) Eligible Free (Ages 5-17)\") AS highest_free_meal_eligibility_rate\nFROM frpm AS f\nJOIN satscores AS s ON s.cds = f.CDSCode\nWHERE s.rtype = 'S'\n AND 1.0 * s.NumGE1500 / NULLIF(s.NumTstTakr, 0) > 0.3;\n```", "rows": 1, "sql": "SELECT MAX(f.\"Percent (%) Eligible Free (Ages 5-17)\") AS highest_free_meal_eligibility_rate\nFROM frpm AS f\nJOIN satscores AS s ON s.cds = f.CDSCode\nWHERE s.rtype = 'S'\n AND 1.0 * s.NumGE1500 / NULLIF(s.NumTstTakr, 0) > 0.3;", "seconds": 16.750126542057842, "calls": [{"seconds": 3.3440056670224294, "usage": {"completion_tokens": 53, "prompt_tokens": 1638, "total_tokens": 1691, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1099, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1099, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1099, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.4660275420174, "usage": {"completion_tokens": 231, "prompt_tokens": 2063, "total_tokens": 2294, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 94, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 425, "cached_tokens": 1099, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 425, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 425, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2761254590004683, "usage": {"completion_tokens": 105, "prompt_tokens": 2504, "total_tokens": 2609, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 441, "cached_tokens": 1524, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 441, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 441, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1584755410440266, "usage": {"completion_tokens": 94, "prompt_tokens": 2734, "total_tokens": 2828, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 230, "cached_tokens": 1965, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 230, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 230, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d58aafb51e06940e4b818a5555e7d65d80e05bea55f61184979bf115bcdd9c9c", "csv_sha256": "04eeecf773a33896240b15b015edc1cc20201d58022c1692b12293c15a50b93f"} +{"instance_id": "bird001", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH local_enrollment AS (\n SELECT CDSCode,\n \"Enrollment (K-12)\" - \"Enrollment (Ages 5-17)\" AS enrollment_difference\n FROM frpm\n WHERE \"Charter Funding Type\" = 'Locally funded'\n)\nSELECT s.School, s.DOCType\nFROM local_enrollment AS e\nJOIN schools AS s ON s.CDSCode = e.CDSCode\nWHERE e.enrollment_difference > (\n SELECT AVG(enrollment_difference)\n FROM local_enrollment\n);\n```", "rows": 49, "sql": "WITH local_enrollment AS (\n SELECT CDSCode,\n \"Enrollment (K-12)\" - \"Enrollment (Ages 5-17)\" AS enrollment_difference\n FROM frpm\n WHERE \"Charter Funding Type\" = 'Locally funded'\n)\nSELECT s.School, s.DOCType\nFROM local_enrollment AS e\nJOIN schools AS s ON s.CDSCode = e.CDSCode\nWHERE e.enrollment_difference > (\n SELECT AVG(enrollment_difference)\n FROM local_enrollment\n);", "seconds": 19.861656166962348, "calls": [{"seconds": 2.7988307089544833, "usage": {"completion_tokens": 51, "prompt_tokens": 1623, "total_tokens": 1674, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1084, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1084, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1084, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6198153330478817, "usage": {"completion_tokens": 142, "prompt_tokens": 2278, "total_tokens": 2420, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 655, "cached_tokens": 1084, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 655, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 655, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.324735875008628, "usage": {"completion_tokens": 150, "prompt_tokens": 2658, "total_tokens": 2808, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 45, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 380, "cached_tokens": 1739, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 380, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 380, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.09472129191272, "usage": {"completion_tokens": 168, "prompt_tokens": 2987, "total_tokens": 3155, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 34, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 329, "cached_tokens": 2119, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 329, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 329, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5172207499854267, "usage": {"completion_tokens": 115, "prompt_tokens": 3806, "total_tokens": 3921, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 819, "cached_tokens": 2448, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 819, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 819, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "4638d2e07c8f3d8c466ee4beb30e6a04724af8e4dca6aa23e611e73d30f521b4", "csv_sha256": "b8c4adee323bae81936062dfdc117dfcfe7587858b45759aa42acc073a143a3f"} +{"instance_id": "bird002", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT s.\"School\",\n ROUND(f.\"Percent (%) Eligible FRPM (K-12)\", 6) AS \"K-12 eligible meal rate\"\nFROM schools AS s\nJOIN frpm AS f ON f.\"CDSCode\" = s.\"CDSCode\"\nWHERE s.\"SOC\" = '66'\nORDER BY f.\"FRPM Count (K-12)\" DESC NULLS LAST, s.\"CDSCode\"\nLIMIT 5;\n```", "rows": 5, "sql": "SELECT s.\"School\",\n ROUND(f.\"Percent (%) Eligible FRPM (K-12)\", 6) AS \"K-12 eligible meal rate\"\nFROM schools AS s\nJOIN frpm AS f ON f.\"CDSCode\" = s.\"CDSCode\"\nWHERE s.\"SOC\" = '66'\nORDER BY f.\"FRPM Count (K-12)\" DESC NULLS LAST, s.\"CDSCode\"\nLIMIT 5;", "seconds": 26.05086566694081, "calls": [{"seconds": 3.1714053750038147, "usage": {"completion_tokens": 65, "prompt_tokens": 1625, "total_tokens": 1690, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1086, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1086, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1086, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.167033125064336, "usage": {"completion_tokens": 99, "prompt_tokens": 2322, "total_tokens": 2421, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 82, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 697, "cached_tokens": 1086, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 697, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 697, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.035728625021875, "usage": {"completion_tokens": 338, "prompt_tokens": 2445, "total_tokens": 2783, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 223, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 123, "cached_tokens": 1783, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 123, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 123, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.973937000031583, "usage": {"completion_tokens": 167, "prompt_tokens": 2953, "total_tokens": 3120, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 101, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 508, "cached_tokens": 1906, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 508, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 508, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.196449792012572, "usage": {"completion_tokens": 130, "prompt_tokens": 3205, "total_tokens": 3335, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 29, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 252, "cached_tokens": 2414, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 252, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 252, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5298155b3db3d8e86e15de8ae0beda942dd5463fd7d0f5a9f3921cee8123c42e", "csv_sha256": "3e1f34500c88d5331fd137417e894137fb67b544a5a553838d83783fc12932be"} +{"instance_id": "bird003", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT 1.0 * COUNT(CASE WHEN DOCType = 'Unified School District' THEN 1 END)\n / NULLIF(COUNT(CASE WHEN DOCType = 'Elementary School District' THEN 1 END), 0) AS ratio\nFROM schools\nWHERE County = 'Orange'\n AND StatusType = 'Merged';\n```", "rows": 1, "sql": "SELECT 1.0 * COUNT(CASE WHEN DOCType = 'Unified School District' THEN 1 END)\n / NULLIF(COUNT(CASE WHEN DOCType = 'Elementary School District' THEN 1 END), 0) AS ratio\nFROM schools\nWHERE County = 'Orange'\n AND StatusType = 'Merged';", "seconds": 33.81665587506723, "calls": [{"seconds": 7.526668917038478, "usage": {"completion_tokens": 49, "prompt_tokens": 1607, "total_tokens": 1656, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1068, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1068, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1068, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.787402749992907, "usage": {"completion_tokens": 231, "prompt_tokens": 2013, "total_tokens": 2244, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 154, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 406, "cached_tokens": 1068, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 406, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 406, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 15.836643834016286, "usage": {"completion_tokens": 739, "prompt_tokens": 3002, "total_tokens": 3741, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 650, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 989, "cached_tokens": 1474, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 989, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 989, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1641661659814417, "usage": {"completion_tokens": 76, "prompt_tokens": 3842, "total_tokens": 3918, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 840, "cached_tokens": 2463, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 840, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 840, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a6e6dabe72e8010024d0bbe5548f96d1cc432b8a150d950af5f53c76a9d348f4", "csv_sha256": "9a5db1d00cdd1d45925830f2d67e0672266a64d3be78a1b8785e4f163f2a5a7c"} +{"instance_id": "bird004", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT sc.MailStreet, sc.School\nFROM satscores AS s\nJOIN schools AS sc ON sc.CDSCode = s.cds\nWHERE s.rtype = 'S'\n AND s.AvgScrMath IS NOT NULL\nORDER BY s.AvgScrMath DESC, s.cds\nLIMIT 1 OFFSET 6;\n```", "rows": 1, "sql": "SELECT sc.MailStreet, sc.School\nFROM satscores AS s\nJOIN schools AS sc ON sc.CDSCode = s.cds\nWHERE s.rtype = 'S'\n AND s.AvgScrMath IS NOT NULL\nORDER BY s.AvgScrMath DESC, s.cds\nLIMIT 1 OFFSET 6;", "seconds": 14.491847667028196, "calls": [{"seconds": 2.8381420410005376, "usage": {"completion_tokens": 52, "prompt_tokens": 1608, "total_tokens": 1660, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1069, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1069, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1069, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.669213999994099, "usage": {"completion_tokens": 112, "prompt_tokens": 2084, "total_tokens": 2196, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 23, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 476, "cached_tokens": 1069, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 476, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 476, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.666413375060074, "usage": {"completion_tokens": 158, "prompt_tokens": 2629, "total_tokens": 2787, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 70, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 545, "cached_tokens": 1545, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 545, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 545, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2969907090300694, "usage": {"completion_tokens": 76, "prompt_tokens": 2888, "total_tokens": 2964, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 259, "cached_tokens": 2090, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 259, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 259, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f98da7af96989c19a8335727e76d6c845f85cfde4ced56fe60bf15c9cc1414a9", "csv_sha256": "87d09b834665a5944116ceba6b12b7fe258a9dbfca9ad95a43face358b270522"} +{"instance_id": "bird005", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT CDSCode) AS school_count\nFROM frpm\nWHERE \"County Name\" = 'Los Angeles'\n AND \"Charter School (Y/N)\" = 0\n AND \"Percent (%) Eligible Free (K-12)\" < 0.0018;\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT CDSCode) AS school_count\nFROM frpm\nWHERE \"County Name\" = 'Los Angeles'\n AND \"Charter School (Y/N)\" = 0\n AND \"Percent (%) Eligible Free (K-12)\" < 0.0018;", "seconds": 14.669303083908744, "calls": [{"seconds": 2.172425542026758, "usage": {"completion_tokens": 51, "prompt_tokens": 1613, "total_tokens": 1664, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1074, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1074, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1074, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.176200375077315, "usage": {"completion_tokens": 244, "prompt_tokens": 2268, "total_tokens": 2512, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 61, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 655, "cached_tokens": 1074, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 655, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 655, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6564158339751884, "usage": {"completion_tokens": 79, "prompt_tokens": 2844, "total_tokens": 2923, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 576, "cached_tokens": 1729, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 576, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 576, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.642622416955419, "usage": {"completion_tokens": 67, "prompt_tokens": 3009, "total_tokens": 3076, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 165, "cached_tokens": 2305, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 165, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 165, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2e6fce02a1a35913fc5ba239d8b93c75738becb0c75a18c8d0eeaef0f8c4ed05", "csv_sha256": "4f90ed716396ff6c067372ef24c56732e0fd9447591f411bb96ad11c5370e365"} +{"instance_id": "bird006", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT s.\"School\",\n 100.0 * f.\"FRPM Count (Ages 5-17)\" / NULLIF(f.\"Enrollment (Ages 5-17)\", 0)\n AS \"Percent (%) Eligible FRPM (Ages 5-17)\"\nFROM \"schools\" AS s\nLEFT JOIN \"frpm\" AS f ON f.\"CDSCode\" = s.\"CDSCode\"\nWHERE s.\"County\" = 'Los Angeles'\n AND s.\"GSserved\" = 'K-9';\n```", "rows": 2, "sql": "SELECT s.\"School\",\n 100.0 * f.\"FRPM Count (Ages 5-17)\" / NULLIF(f.\"Enrollment (Ages 5-17)\", 0)\n AS \"Percent (%) Eligible FRPM (Ages 5-17)\"\nFROM \"schools\" AS s\nLEFT JOIN \"frpm\" AS f ON f.\"CDSCode\" = s.\"CDSCode\"\nWHERE s.\"County\" = 'Los Angeles'\n AND s.\"GSserved\" = 'K-9';", "seconds": 18.718067625071853, "calls": [{"seconds": 2.709037541062571, "usage": {"completion_tokens": 51, "prompt_tokens": 1650, "total_tokens": 1701, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1111, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1111, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1111, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6720155410002917, "usage": {"completion_tokens": 112, "prompt_tokens": 2305, "total_tokens": 2417, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 655, "cached_tokens": 1111, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 655, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 655, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.984577666036785, "usage": {"completion_tokens": 194, "prompt_tokens": 2594, "total_tokens": 2788, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 74, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 289, "cached_tokens": 1766, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 289, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 289, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8416639999486506, "usage": {"completion_tokens": 134, "prompt_tokens": 2987, "total_tokens": 3121, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 393, "cached_tokens": 2055, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 393, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 393, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.480350458994508, "usage": {"completion_tokens": 117, "prompt_tokens": 3295, "total_tokens": 3412, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 308, "cached_tokens": 2448, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 308, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 308, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "05792eb71218468d2f4285e75622476a6c6a9650a0aa38f43a1c5438fd73245e", "csv_sha256": "d77890600bf2de2d7b9664fc346a70bacc78690a7d18287568d0a1536f02aa1b"} +{"instance_id": "bird007", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n 100.0 * f.\"Free Meal Count (K-12)\" / NULLIF(f.\"Enrollment (K-12)\", 0) AS \"Percent (%) Eligible Free (K-12)\",\n f.\"District Code\"\nFROM frpm AS f\nJOIN schools AS s ON s.CDSCode = f.CDSCode\nWHERE 'Alusine' IN (s.AdmFName1, s.AdmFName2, s.AdmFName3);\n```", "rows": 1, "sql": "SELECT\n 100.0 * f.\"Free Meal Count (K-12)\" / NULLIF(f.\"Enrollment (K-12)\", 0) AS \"Percent (%) Eligible Free (K-12)\",\n f.\"District Code\"\nFROM frpm AS f\nJOIN schools AS s ON s.CDSCode = f.CDSCode\nWHERE 'Alusine' IN (s.AdmFName1, s.AdmFName2, s.AdmFName3);", "seconds": 9.908662291010842, "calls": [{"seconds": 2.356411874992773, "usage": {"completion_tokens": 51, "prompt_tokens": 1653, "total_tokens": 1704, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1114, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1114, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1114, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5676811250159517, "usage": {"completion_tokens": 122, "prompt_tokens": 2308, "total_tokens": 2430, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 655, "cached_tokens": 1114, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 655, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 655, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.962114250054583, "usage": {"completion_tokens": 140, "prompt_tokens": 2578, "total_tokens": 2718, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 31, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 270, "cached_tokens": 1769, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 270, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 270, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e96346e90bc75ffed13c0f5fe4699a510fb5b1a31f590b0177f1011b885795b6", "csv_sha256": "806f1760dd4ff2d5ef69449716826d1e85454095565b7af5c5b45155e09c5c6f"} +{"instance_id": "bird008", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH matching_schools AS (\n SELECT AdmEmail1, AdmEmail2, AdmEmail3\n FROM schools\n WHERE County = 'San Bernardino'\n AND City = 'San Bernardino'\n AND DOCType = 'Unified School District'\n AND SOCType = 'Intermediate/Middle Schools (Public)'\n AND OpenDate >= '2009-01-01'\n AND OpenDate < '2011-01-01'\n), emails AS (\n SELECT TRIM(AdmEmail1) AS email FROM matching_schools\n UNION\n SELECT TRIM(AdmEmail2) FROM matching_schools\n UNION\n SELECT TRIM(AdmEmail3) FROM matching_schools\n)\nSELECT email\nFROM emails\nWHERE email IS NOT NULL AND email <> ''\nORDER BY email;\n```", "rows": 2, "sql": "WITH matching_schools AS (\n SELECT AdmEmail1, AdmEmail2, AdmEmail3\n FROM schools\n WHERE County = 'San Bernardino'\n AND City = 'San Bernardino'\n AND DOCType = 'Unified School District'\n AND SOCType = 'Intermediate/Middle Schools (Public)'\n AND OpenDate >= '2009-01-01'\n AND OpenDate < '2011-01-01'\n), emails AS (\n SELECT TRIM(AdmEmail1) AS email FROM matching_schools\n UNION\n SELECT TRIM(AdmEmail2) FROM matching_schools\n UNION\n SELECT TRIM(AdmEmail3) FROM matching_schools\n)\nSELECT email\nFROM emails\nWHERE email IS NOT NULL AND email <> ''\nORDER BY email;", "seconds": 17.217511874972843, "calls": [{"seconds": 2.6046792920678854, "usage": {"completion_tokens": 19, "prompt_tokens": 1623, "total_tokens": 1642, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1084, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1084, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1084, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.66511337494012, "usage": {"completion_tokens": 163, "prompt_tokens": 1971, "total_tokens": 2134, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 84, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 348, "cached_tokens": 1084, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 348, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 348, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.5431160419248044, "usage": {"completion_tokens": 196, "prompt_tokens": 2288, "total_tokens": 2484, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 317, "cached_tokens": 1432, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 317, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 317, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.375160707975738, "usage": {"completion_tokens": 175, "prompt_tokens": 2695, "total_tokens": 2870, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 407, "cached_tokens": 1749, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 407, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 407, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8b0cbfca84344a345a75c9673e81bced2a0f308b1158405f281dde0f43002383", "csv_sha256": "7c833c2479617501f627181086d30e9677b73de736536f14a82ce7fff4d555ce"} +{"instance_id": "bird009", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH candidates AS (\n SELECT s.NCESSchool, f.\"Enrollment (Ages 5-17)\" AS enrollment\n FROM schools AS s\n JOIN frpm AS f ON f.CDSCode = s.CDSCode\n WHERE s.CDSCode IN ('01751010130583', '01612910137588', '01611760134270')\n)\nSELECT NCESSchool\nFROM candidates\nWHERE enrollment = (SELECT MAX(enrollment) FROM candidates);\n```", "rows": 1, "sql": "WITH candidates AS (\n SELECT s.NCESSchool, f.\"Enrollment (Ages 5-17)\" AS enrollment\n FROM schools AS s\n JOIN frpm AS f ON f.CDSCode = s.CDSCode\n WHERE s.CDSCode IN ('01751010130583', '01612910137588', '01611760134270')\n)\nSELECT NCESSchool\nFROM candidates\nWHERE enrollment = (SELECT MAX(enrollment) FROM candidates);", "seconds": 15.125256249913946, "calls": [{"seconds": 2.5331275410717353, "usage": {"completion_tokens": 51, "prompt_tokens": 1738, "total_tokens": 1789, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1199, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1199, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1199, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.122559207957238, "usage": {"completion_tokens": 176, "prompt_tokens": 2393, "total_tokens": 2569, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 55, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 655, "cached_tokens": 1199, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 655, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 655, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.8654160420410335, "usage": {"completion_tokens": 184, "prompt_tokens": 2796, "total_tokens": 2980, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 63, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 403, "cached_tokens": 1854, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 403, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 403, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.590995333972387, "usage": {"completion_tokens": 105, "prompt_tokens": 3106, "total_tokens": 3211, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 310, "cached_tokens": 2257, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 310, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 310, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5ae082db8f70f068a8c1112c87b8c00beac5db59dc5f9207758933e83140d78d", "csv_sha256": "0eebe7bb878b686b7e974b17a6a0007b6fb0bbdc97bba64654e558ac9735e2d6"} +{"instance_id": "bird010", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(COALESCE(t.NumTstTakr, 0)), 2) AS avg_sat_test_takers_per_school\nFROM schools AS s\nLEFT JOIN satscores AS t ON t.cds = s.CDSCode\nWHERE s.CharterNum = '0756'\n AND s.MailCity = 'San Diego';\n```", "rows": 1, "sql": "SELECT ROUND(AVG(COALESCE(t.NumTstTakr, 0)), 2) AS avg_sat_test_takers_per_school\nFROM schools AS s\nLEFT JOIN satscores AS t ON t.cds = s.CDSCode\nWHERE s.CharterNum = '0756'\n AND s.MailCity = 'San Diego';", "seconds": 18.53366191603709, "calls": [{"seconds": 2.223022583988495, "usage": {"completion_tokens": 19, "prompt_tokens": 1675, "total_tokens": 1694, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1136, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1136, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1136, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.1814314579823986, "usage": {"completion_tokens": 21, "prompt_tokens": 2023, "total_tokens": 2044, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 348, "cached_tokens": 1136, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 348, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 348, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.477625125087798, "usage": {"completion_tokens": 238, "prompt_tokens": 2141, "total_tokens": 2379, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 120, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 118, "cached_tokens": 1484, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 118, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 118, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.053345583961345, "usage": {"completion_tokens": 118, "prompt_tokens": 2652, "total_tokens": 2770, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 27, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 511, "cached_tokens": 1602, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 511, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 511, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5803235420025885, "usage": {"completion_tokens": 79, "prompt_tokens": 2875, "total_tokens": 2954, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 223, "cached_tokens": 2113, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 223, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 223, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "37ffda09bd7847e9ec42532384cf42a42e3e713e4dc6cb438a6fa5b30bd29b76", "csv_sha256": "61ef7d9f0c0caa1d8cfb45d402aa7d2b94658c39bfa8ca892829d097cde5aaee"} +{"instance_id": "bird011", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH eligible AS (\n SELECT s.School AS school_name,\n TRIM(s.GSserved) AS grade_span_served\n FROM schools AS s\n WHERE s.NCESDist = '0613360'\n AND s.StatusType = 'Active'\n AND s.School IS NOT NULL\n AND (TRIM(s.GSserved) = '12' OR TRIM(s.GSserved) LIKE '%-12')\n AND NOT EXISTS (\n SELECT 1\n FROM satscores AS sat\n WHERE sat.cds = s.CDSCode\n AND sat.NumTstTakr > 0\n )\n), starting_grades AS (\n SELECT school_name,\n grade_span_served,\n CASE\n WHEN INSTR(grade_span_served, '-') = 0 THEN grade_span_served\n ELSE TRIM(SUBSTR(grade_span_served, 1, INSTR(grade_span_served, '-') - 1))\n END AS start_grade\n FROM eligible\n), ranked_grades AS (\n SELECT school_name,\n grade_span_served,\n CASE\n WHEN UPPER(start_grade) IN ('P', 'PK', 'PS', 'PRE', 'PRESCHOOL') THEN -2\n WHEN UPPER(start_grade) = 'TK' THEN -1\n WHEN UPPER(start_grade) = 'K' THEN 0\n ELSE CAST(start_grade AS INTEGER)\n END AS grade_order\n FROM starting_grades\n)\nSELECT school_name, grade_span_served\nFROM ranked_grades\nWHERE grade_order = (SELECT MIN(grade_order) FROM ranked_grades)\nORDER BY school_name COLLATE NOCASE;\n```", "rows": 1, "sql": "WITH eligible AS (\n SELECT s.School AS school_name,\n TRIM(s.GSserved) AS grade_span_served\n FROM schools AS s\n WHERE s.NCESDist = '0613360'\n AND s.StatusType = 'Active'\n AND s.School IS NOT NULL\n AND (TRIM(s.GSserved) = '12' OR TRIM(s.GSserved) LIKE '%-12')\n AND NOT EXISTS (\n SELECT 1\n FROM satscores AS sat\n WHERE sat.cds = s.CDSCode\n AND sat.NumTstTakr > 0\n )\n), starting_grades AS (\n SELECT school_name,\n grade_span_served,\n CASE\n WHEN INSTR(grade_span_served, '-') = 0 THEN grade_span_served\n ELSE TRIM(SUBSTR(grade_span_served, 1, INSTR(grade_span_served, '-') - 1))\n END AS start_grade\n FROM eligible\n), ranked_grades AS (\n SELECT school_name,\n grade_span_served,\n CASE\n WHEN UPPER(start_grade) IN ('P', 'PK', 'PS', 'PRE', 'PRESCHOOL') THEN -2\n WHEN UPPER(start_grade) = 'TK' THEN -1\n WHEN UPPER(start_grade) = 'K' THEN 0\n ELSE CAST(start_grade AS INTEGER)\n END AS grade_order\n FROM starting_grades\n)\nSELECT school_name, grade_span_served\nFROM ranked_grades\nWHERE grade_order = (SELECT MIN(grade_order) FROM ranked_grades)\nORDER BY school_name COLLATE NOCASE;", "seconds": 29.789677332970314, "calls": [{"seconds": 2.977161542046815, "usage": {"completion_tokens": 68, "prompt_tokens": 1777, "total_tokens": 1845, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1238, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1238, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1238, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.780934415990487, "usage": {"completion_tokens": 194, "prompt_tokens": 2544, "total_tokens": 2738, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 29, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 767, "cached_tokens": 1238, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 767, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 767, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.29294974997174, "usage": {"completion_tokens": 137, "prompt_tokens": 3400, "total_tokens": 3537, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 17, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 856, "cached_tokens": 2005, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 856, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 856, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.605227749911137, "usage": {"completion_tokens": 591, "prompt_tokens": 3735, "total_tokens": 4326, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 208, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 335, "cached_tokens": 2861, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 335, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 335, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.105868917074986, "usage": {"completion_tokens": 358, "prompt_tokens": 4714, "total_tokens": 5072, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 979, "cached_tokens": 3196, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 979, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 979, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "58bc5b217926ad0da671bcb5617f23225eeceaa9fb458629bd6c81c5d7bda676", "csv_sha256": "83959f1fb8356ab1fc244ed77e41033f62fc538ce16c9b47342da3d1289a73f2"} +{"instance_id": "bird012", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH eligible AS (\n SELECT s.School, s.MailStreet, a.AvgScrRead\n FROM schools AS s\n JOIN satscores AS a ON a.cds = s.CDSCode\n WHERE s.DOCType = 'State Board of Education'\n AND a.rtype = 'S'\n)\nSELECT School, MailStreet\nFROM eligible\nWHERE AvgScrRead = (SELECT MAX(AvgScrRead) FROM eligible);\n```", "rows": 1, "sql": "WITH eligible AS (\n SELECT s.School, s.MailStreet, a.AvgScrRead\n FROM schools AS s\n JOIN satscores AS a ON a.cds = s.CDSCode\n WHERE s.DOCType = 'State Board of Education'\n AND a.rtype = 'S'\n)\nSELECT School, MailStreet\nFROM eligible\nWHERE AvgScrRead = (SELECT MAX(AvgScrRead) FROM eligible);", "seconds": 21.99151212500874, "calls": [{"seconds": 2.8463583750417456, "usage": {"completion_tokens": 66, "prompt_tokens": 1695, "total_tokens": 1761, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1156, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1156, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1156, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2208704999648035, "usage": {"completion_tokens": 58, "prompt_tokens": 2213, "total_tokens": 2271, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 14, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 518, "cached_tokens": 1156, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 518, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 518, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.054030666011386, "usage": {"completion_tokens": 197, "prompt_tokens": 2461, "total_tokens": 2658, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 106, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 248, "cached_tokens": 1674, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 248, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 248, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.381142333033495, "usage": {"completion_tokens": 264, "prompt_tokens": 2795, "total_tokens": 3059, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 151, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 334, "cached_tokens": 1922, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 334, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 334, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4635814579669386, "usage": {"completion_tokens": 98, "prompt_tokens": 3191, "total_tokens": 3289, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 396, "cached_tokens": 2256, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 396, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 396, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6f6f83696ae58102685c7539d914e389b675dfd47d2a3151a079ae80c6712f4d", "csv_sha256": "a4287f7bdc2c5d06028e4db34a23f4e4600cb9eb49866a89123e888ef0a78b04"} +{"instance_id": "bird013", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT s.City\nFROM schools AS s\nWHERE s.CDSCode = '01611920113902'\n AND s.County = 'Alameda'\n AND s.EILCode = 'HS'\n AND EXISTS (\n SELECT 1\n FROM frpm AS f\n WHERE f.CDSCode = s.CDSCode\n AND f.\"NSLP Provision Status\" = 'Breakfast Provision 2'\n AND f.\"Low Grade\" = '9'\n AND f.\"High Grade\" = '12'\n );\n```", "rows": 1, "sql": "SELECT s.City\nFROM schools AS s\nWHERE s.CDSCode = '01611920113902'\n AND s.County = 'Alameda'\n AND s.EILCode = 'HS'\n AND EXISTS (\n SELECT 1\n FROM frpm AS f\n WHERE f.CDSCode = s.CDSCode\n AND f.\"NSLP Provision Status\" = 'Breakfast Provision 2'\n AND f.\"Low Grade\" = '9'\n AND f.\"High Grade\" = '12'\n );", "seconds": 16.82082854199689, "calls": [{"seconds": 2.6085967909311876, "usage": {"completion_tokens": 51, "prompt_tokens": 1697, "total_tokens": 1748, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1158, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1158, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1158, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8591511249542236, "usage": {"completion_tokens": 134, "prompt_tokens": 2352, "total_tokens": 2486, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 655, "cached_tokens": 1158, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 655, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 655, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.641913375002332, "usage": {"completion_tokens": 103, "prompt_tokens": 2617, "total_tokens": 2720, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 265, "cached_tokens": 1813, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 265, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 265, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4894932080060244, "usage": {"completion_tokens": 134, "prompt_tokens": 2899, "total_tokens": 3033, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 282, "cached_tokens": 2078, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 282, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 282, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2107853749766946, "usage": {"completion_tokens": 118, "prompt_tokens": 3170, "total_tokens": 3288, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 271, "cached_tokens": 2360, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 271, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 271, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "428ffe53e31fbfdf6ef04b9c94c05be2c57885fc88cda92f33f5cd918c065245", "csv_sha256": "16cf20c03a76e3db56e9f1c6255276fba74b1e19c9a6eb4f7dd8d642bc07daea"} +{"instance_id": "bird014", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT s.School AS school_name, s.City AS city\nFROM schools AS s\nJOIN frpm AS f ON f.CDSCode = s.CDSCode\nWHERE s.EILCode = 'HS'\n AND f.\"NSLP Provision Status\" = 'Provision 2'\n AND CAST(f.\"Low Grade\" AS INTEGER) > 9\nORDER BY s.School;\n```", "rows": 2, "sql": "SELECT s.School AS school_name, s.City AS city\nFROM schools AS s\nJOIN frpm AS f ON f.CDSCode = s.CDSCode\nWHERE s.EILCode = 'HS'\n AND f.\"NSLP Provision Status\" = 'Provision 2'\n AND CAST(f.\"Low Grade\" AS INTEGER) > 9\nORDER BY s.School;", "seconds": 17.17200679203961, "calls": [{"seconds": 3.101948583032936, "usage": {"completion_tokens": 51, "prompt_tokens": 1668, "total_tokens": 1719, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1129, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1129, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1129, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.1064144159900025, "usage": {"completion_tokens": 242, "prompt_tokens": 2323, "total_tokens": 2565, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 26, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 655, "cached_tokens": 1129, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 655, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 655, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.71959870797582, "usage": {"completion_tokens": 181, "prompt_tokens": 2996, "total_tokens": 3177, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 81, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 673, "cached_tokens": 1784, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 673, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 673, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2239259170601144, "usage": {"completion_tokens": 96, "prompt_tokens": 3305, "total_tokens": 3401, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 7, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 309, "cached_tokens": 2457, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 309, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 309, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7152f59e1474e08b783b2e795cf2eb03aa0eecb3a080f79bb7aa42e6bdfb3876", "csv_sha256": "d3eb6ec095ff7549849b2274b2062ad84178ebd58ecb81011c16806341dbd03c"} +{"instance_id": "bird015", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH eligible AS (\n SELECT s.School, s.Phone, a.NumGE1500\n FROM schools AS s\n JOIN satscores AS a ON a.cds = s.CDSCode\n WHERE s.DOCType = 'Statewide Benefit Charter'\n AND a.rtype = 'S'\n)\nSELECT School, Phone\nFROM eligible\nWHERE NumGE1500 = (SELECT MAX(NumGE1500) FROM eligible);\n```", "rows": 1, "sql": "WITH eligible AS (\n SELECT s.School, s.Phone, a.NumGE1500\n FROM schools AS s\n JOIN satscores AS a ON a.cds = s.CDSCode\n WHERE s.DOCType = 'Statewide Benefit Charter'\n AND a.rtype = 'S'\n)\nSELECT School, Phone\nFROM eligible\nWHERE NumGE1500 = (SELECT MAX(NumGE1500) FROM eligible);", "seconds": 20.409417666029185, "calls": [{"seconds": 3.2425374160520732, "usage": {"completion_tokens": 52, "prompt_tokens": 1704, "total_tokens": 1756, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1165, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1165, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1165, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9106621670071036, "usage": {"completion_tokens": 50, "prompt_tokens": 2180, "total_tokens": 2230, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 476, "cached_tokens": 1165, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 476, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 476, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4964362090686336, "usage": {"completion_tokens": 85, "prompt_tokens": 2535, "total_tokens": 2620, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 355, "cached_tokens": 1641, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 355, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 355, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.130644834018312, "usage": {"completion_tokens": 142, "prompt_tokens": 3354, "total_tokens": 3496, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 819, "cached_tokens": 1996, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 819, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 819, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.236033249995671, "usage": {"completion_tokens": 111, "prompt_tokens": 4036, "total_tokens": 4147, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 682, "cached_tokens": 2815, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 682, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 682, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.356571707990952, "usage": {"completion_tokens": 98, "prompt_tokens": 4280, "total_tokens": 4378, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 244, "cached_tokens": 3497, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 244, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 244, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1f8b907d7b4982be7c8255f6fe4a0965e34066852ef76b758b7b4a831bfb02b1", "csv_sha256": "fe70ed7f1e16ba99f269b353ebe0c409dc4f6298d10c136fcdab8921b6b01cf8"} +{"instance_id": "bird016", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT sat.AvgScrMath, sat.NumTstTakr\nFROM satscores AS sat\nJOIN schools AS s ON s.CDSCode = sat.cds\nWHERE s.CDSCode = '01611190130609'\n AND s.Charter = 1\n AND s.FundingType = 'Directly funded';\n```", "rows": 1, "sql": "SELECT sat.AvgScrMath, sat.NumTstTakr\nFROM satscores AS sat\nJOIN schools AS s ON s.CDSCode = sat.cds\nWHERE s.CDSCode = '01611190130609'\n AND s.Charter = 1\n AND s.FundingType = 'Directly funded';", "seconds": 23.950770832947455, "calls": [{"seconds": 2.6829361660638824, "usage": {"completion_tokens": 68, "prompt_tokens": 1701, "total_tokens": 1769, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1162, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1162, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1162, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.779271709034219, "usage": {"completion_tokens": 222, "prompt_tokens": 2468, "total_tokens": 2690, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 89, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 767, "cached_tokens": 1162, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 767, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 767, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0208529999945313, "usage": {"completion_tokens": 68, "prompt_tokens": 2825, "total_tokens": 2893, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 357, "cached_tokens": 1929, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 357, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 357, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.1875294169876724, "usage": {"completion_tokens": 192, "prompt_tokens": 3056, "total_tokens": 3248, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 96, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 231, "cached_tokens": 2286, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 231, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 231, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.011821125051938, "usage": {"completion_tokens": 120, "prompt_tokens": 3433, "total_tokens": 3553, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 32, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 377, "cached_tokens": 2517, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 377, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 377, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.237059374921955, "usage": {"completion_tokens": 76, "prompt_tokens": 3660, "total_tokens": 3736, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 227, "cached_tokens": 2894, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 227, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 227, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "de5c92fffc53a688b9dc8fe691cd129f610bd35344527e0f9bd03dc37aaa3b4a", "csv_sha256": "8ddeff496c80e984e62de5a4504165ee8c367d3bc6e48bef792f5bf904b6a226"} +{"instance_id": "bird017", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS school_count\nFROM satscores AS s\nWHERE s.rtype = 'S'\n AND s.cname = 'Contra Costa'\n AND s.NumTstTakr > (\n SELECT t.NumTstTakr\n FROM satscores AS t\n WHERE t.cds = '07618040730051' AND t.rtype = 'S'\n );\n```", "rows": 1, "sql": "SELECT COUNT(*) AS school_count\nFROM satscores AS s\nWHERE s.rtype = 'S'\n AND s.cname = 'Contra Costa'\n AND s.NumTstTakr > (\n SELECT t.NumTstTakr\n FROM satscores AS t\n WHERE t.cds = '07618040730051' AND t.rtype = 'S'\n );", "seconds": 16.53856833302416, "calls": [{"seconds": 2.2691163750132546, "usage": {"completion_tokens": 52, "prompt_tokens": 1701, "total_tokens": 1753, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1162, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1162, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1162, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.847330042044632, "usage": {"completion_tokens": 97, "prompt_tokens": 2177, "total_tokens": 2274, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 476, "cached_tokens": 1162, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 476, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 476, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1391079999739304, "usage": {"completion_tokens": 65, "prompt_tokens": 2426, "total_tokens": 2491, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 17, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 249, "cached_tokens": 1638, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 249, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 249, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.760469499975443, "usage": {"completion_tokens": 101, "prompt_tokens": 2584, "total_tokens": 2685, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 158, "cached_tokens": 1887, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 158, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 158, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5064093749970198, "usage": {"completion_tokens": 88, "prompt_tokens": 2792, "total_tokens": 2880, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 208, "cached_tokens": 2045, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 208, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 208, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5191a6d2827f9834fdf25746f3d83856649cf92307a2a5dbdb007902f01718b0", "csv_sha256": "4f90ed716396ff6c067372ef24c56732e0fd9447591f411bb96ad11c5370e365"} +{"instance_id": "bird018", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT sc.CDSCode) AS qualifying_school_count\nFROM schools AS sc\nJOIN satscores AS sat ON sat.cds = sc.CDSCode\nWHERE sc.MailCity = 'San Francisco'\n AND sc.DOCType IN (\n 'Unified School District',\n 'High School District',\n 'Elementary School District',\n 'County Office of Education (COE)'\n )\n AND sat.rtype = 'S'\n AND sat.AvgScrRead + sat.AvgScrMath + sat.AvgScrWrite >= 1500;\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT sc.CDSCode) AS qualifying_school_count\nFROM schools AS sc\nJOIN satscores AS sat ON sat.cds = sc.CDSCode\nWHERE sc.MailCity = 'San Francisco'\n AND sc.DOCType IN (\n 'Unified School District',\n 'High School District',\n 'Elementary School District',\n 'County Office of Education (COE)'\n )\n AND sat.rtype = 'S'\n AND sat.AvgScrRead + sat.AvgScrMath + sat.AvgScrWrite >= 1500;", "seconds": 18.96998866694048, "calls": [{"seconds": 5.944958291947842, "usage": {"completion_tokens": 52, "prompt_tokens": 1704, "total_tokens": 1756, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1165, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1165, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1165, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.511932875029743, "usage": {"completion_tokens": 140, "prompt_tokens": 2180, "total_tokens": 2320, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 51, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 476, "cached_tokens": 1165, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 476, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 476, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.773044166970067, "usage": {"completion_tokens": 177, "prompt_tokens": 2513, "total_tokens": 2690, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 30, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 333, "cached_tokens": 1641, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 333, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 333, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7166055829729885, "usage": {"completion_tokens": 123, "prompt_tokens": 2834, "total_tokens": 2957, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 321, "cached_tokens": 1974, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 321, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 321, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e8b2acc1a84d2f540ebf106274a92bbba24731efd8fad610f41bcd24d9e994b3", "csv_sha256": "ee9d0a5ec33e4260bede17adc8dbc39ec8c68553bc8f9fd0daac0739c121b23f"} +{"instance_id": "bird019", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH starting_grades AS (\n SELECT TRIM(SUBSTR(GSserved, 1, INSTR(GSserved || '-', '-') - 1)) AS grade_level\n FROM schools\n WHERE NCESDist = '0632640'\n), ranked_grades AS (\n SELECT grade_level,\n CASE\n WHEN grade_level = 'P' THEN -2\n WHEN grade_level = 'TK' THEN -1\n WHEN grade_level = 'K' THEN 0\n WHEN grade_level <> '' AND grade_level NOT GLOB '*[^0-9]*'\n THEN CAST(grade_level AS INTEGER)\n END AS grade_order\n FROM starting_grades\n)\nSELECT grade_level\nFROM ranked_grades\nWHERE grade_order IS NOT NULL\nORDER BY grade_order\nLIMIT 1;\n```", "rows": 1, "sql": "WITH starting_grades AS (\n SELECT TRIM(SUBSTR(GSserved, 1, INSTR(GSserved || '-', '-') - 1)) AS grade_level\n FROM schools\n WHERE NCESDist = '0632640'\n), ranked_grades AS (\n SELECT grade_level,\n CASE\n WHEN grade_level = 'P' THEN -2\n WHEN grade_level = 'TK' THEN -1\n WHEN grade_level = 'K' THEN 0\n WHEN grade_level <> '' AND grade_level NOT GLOB '*[^0-9]*'\n THEN CAST(grade_level AS INTEGER)\n END AS grade_order\n FROM starting_grades\n)\nSELECT grade_level\nFROM ranked_grades\nWHERE grade_order IS NOT NULL\nORDER BY grade_order\nLIMIT 1;", "seconds": 17.63236600009259, "calls": [{"seconds": 2.026611583074555, "usage": {"completion_tokens": 19, "prompt_tokens": 1647, "total_tokens": 1666, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1108, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1108, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1108, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.5300343330018222, "usage": {"completion_tokens": 42, "prompt_tokens": 1995, "total_tokens": 2037, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 348, "cached_tokens": 1108, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 348, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 348, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.822515832958743, "usage": {"completion_tokens": 363, "prompt_tokens": 2112, "total_tokens": 2475, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 171, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 117, "cached_tokens": 1456, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 117, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 117, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.229871208895929, "usage": {"completion_tokens": 175, "prompt_tokens": 2664, "total_tokens": 2839, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 552, "cached_tokens": 1573, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 552, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 552, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1778da6ec374ca88b619e118cc6813350c2789eb6faf80a0840b6aae5bc34d09", "csv_sha256": "01e9f78615508de577518492cd5f99ee55f38250458fb6f2065e1178545c0858"} +{"instance_id": "bird020", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH county_records AS (\n SELECT CDSCode AS cds_code,\n substr(CDSCode, 1, 7) AS district_code,\n District AS district_name,\n DOC,\n School,\n AdmFName1,\n AdmFName2,\n AdmFName3\n FROM schools\n WHERE County IN ('Amador', 'Madera')\n),\npublic_districts AS (\n SELECT DISTINCT district_code, district_name\n FROM county_records\n WHERE substr(cds_code, -7) = '0000000'\n AND DOC IN ('00', '52', '54', '56')\n),\nschool_records AS (\n SELECT cds_code, district_code, AdmFName1, AdmFName2, AdmFName3\n FROM county_records\n WHERE substr(cds_code, -7) <> '0000000'\n AND NULLIF(trim(School), '') IS NOT NULL\n),\nschool_admin_names AS (\n SELECT cds_code, district_code, NULLIF(trim(AdmFName1), '') AS first_name\n FROM school_records\n UNION\n SELECT cds_code, district_code, NULLIF(trim(AdmFName2), '')\n FROM school_records\n UNION\n SELECT cds_code, district_code, NULLIF(trim(AdmFName3), '')\n FROM school_records\n),\ntop_names AS (\n SELECT first_name, COUNT(*) AS total_schools\n FROM school_admin_names\n WHERE first_name IS NOT NULL\n GROUP BY first_name\n ORDER BY total_schools DESC, first_name ASC\n LIMIT 2\n)\nSELECT d.district_name,\n t.first_name,\n COUNT(a.cds_code) AS school_count\nFROM public_districts AS d\nCROSS JOIN top_names AS t\nLEFT JOIN school_admin_names AS a\n ON a.district_code = d.district_code\n AND a.first_name = t.first_name\nGROUP BY d.district_code, d.district_name, t.first_name, t.total_schools\nORDER BY d.district_name, d.district_code, t.total_schools DESC, t.first_name;\n```", "rows": 50, "sql": "WITH county_records AS (\n SELECT CDSCode AS cds_code,\n substr(CDSCode, 1, 7) AS district_code,\n District AS district_name,\n DOC,\n School,\n AdmFName1,\n AdmFName2,\n AdmFName3\n FROM schools\n WHERE County IN ('Amador', 'Madera')\n),\npublic_districts AS (\n SELECT DISTINCT district_code, district_name\n FROM county_records\n WHERE substr(cds_code, -7) = '0000000'\n AND DOC IN ('00', '52', '54', '56')\n),\nschool_records AS (\n SELECT cds_code, district_code, AdmFName1, AdmFName2, AdmFName3\n FROM county_records\n WHERE substr(cds_code, -7) <> '0000000'\n AND NULLIF(trim(School), '') IS NOT NULL\n),\nschool_admin_names AS (\n SELECT cds_code, district_code, NULLIF(trim(AdmFName1), '') AS first_name\n FROM school_records\n UNION\n SELECT cds_code, district_code, NULLIF(trim(AdmFName2), '')\n FROM school_records\n UNION\n SELECT cds_code, district_code, NULLIF(trim(AdmFName3), '')\n FROM school_records\n),\ntop_names AS (\n SELECT first_name, COUNT(*) AS total_schools\n FROM school_admin_names\n WHERE first_name IS NOT NULL\n GROUP BY first_name\n ORDER BY total_schools DESC, first_name ASC\n LIMIT 2\n)\nSELECT d.district_name,\n t.first_name,\n COUNT(a.cds_code) AS school_count\nFROM public_districts AS d\nCROSS JOIN top_names AS t\nLEFT JOIN school_admin_names AS a\n ON a.district_code = d.district_code\n AND a.first_name = t.first_name\nGROUP BY d.district_code, d.district_name, t.first_name, t.total_schools\nORDER BY d.district_name, d.district_code, t.total_schools DESC, t.first_name;", "seconds": 32.739585791016, "calls": [{"seconds": 2.2931071660714224, "usage": {"completion_tokens": 19, "prompt_tokens": 1770, "total_tokens": 1789, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1231, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1231, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1231, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.709100459003821, "usage": {"completion_tokens": 125, "prompt_tokens": 2118, "total_tokens": 2243, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 348, "cached_tokens": 1231, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 348, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 348, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.554387583048083, "usage": {"completion_tokens": 190, "prompt_tokens": 3134, "total_tokens": 3324, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 102, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1016, "cached_tokens": 1579, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1016, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1016, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 13.355319541995414, "usage": {"completion_tokens": 797, "prompt_tokens": 3636, "total_tokens": 4433, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 305, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 502, "cached_tokens": 2595, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 502, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 502, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.78827200003434, "usage": {"completion_tokens": 474, "prompt_tokens": 5489, "total_tokens": 5963, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 19, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1853, "cached_tokens": 3097, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1853, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1853, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "225f2a6ebc817189f10c264b01d06c4f8ef92bf3e6b5f1f7d10b5fb548d14e09", "csv_sha256": "158003b06169d3426bff7e2d5b6b18a6d244dad98d24480869f5f24d55020e9e"} +{"instance_id": "bird021", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(COALESCE(f.\"FRPM Count (Ages 5-17)\", 0)), 2) AS average_eligible_students\nFROM schools AS s\nLEFT JOIN frpm AS f\n ON f.CDSCode = s.CDSCode\n AND f.\"Academic Year\" = '2014-2015'\nWHERE s.SOCType = 'Youth Authority Facilities';\n```", "rows": 1, "sql": "SELECT ROUND(AVG(COALESCE(f.\"FRPM Count (Ages 5-17)\", 0)), 2) AS average_eligible_students\nFROM schools AS s\nLEFT JOIN frpm AS f\n ON f.CDSCode = s.CDSCode\n AND f.\"Academic Year\" = '2014-2015'\nWHERE s.SOCType = 'Youth Authority Facilities';", "seconds": 13.643755084020086, "calls": [{"seconds": 2.9025647500529885, "usage": {"completion_tokens": 51, "prompt_tokens": 1691, "total_tokens": 1742, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1152, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1152, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1152, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9121352080255747, "usage": {"completion_tokens": 145, "prompt_tokens": 2346, "total_tokens": 2491, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 655, "cached_tokens": 1152, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 655, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 655, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8879106250824407, "usage": {"completion_tokens": 101, "prompt_tokens": 2704, "total_tokens": 2805, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 358, "cached_tokens": 1807, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 358, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 358, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.913563625072129, "usage": {"completion_tokens": 90, "prompt_tokens": 2918, "total_tokens": 3008, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 214, "cached_tokens": 2165, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 214, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 214, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5506ec4af4cba9404cb5d7222d3c2caa1c31b77471e5fca86f374314fb680580", "csv_sha256": "d08763f0d6f0745d0470d4b457a1cea60dca20787c31fdaeab88c6b15cabba65"} +{"instance_id": "bird022", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT School, EILName\nFROM schools\nWHERE CDSCode = '01612590136051';\n```", "rows": 1, "sql": "SELECT School, EILName\nFROM schools\nWHERE CDSCode = '01612590136051';", "seconds": 11.494232292054221, "calls": [{"seconds": 2.00031933397986, "usage": {"completion_tokens": 19, "prompt_tokens": 1693, "total_tokens": 1712, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1154, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1154, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1154, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.477816208032891, "usage": {"completion_tokens": 38, "prompt_tokens": 2041, "total_tokens": 2079, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 348, "cached_tokens": 1154, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 348, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 348, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.10328862501774, "usage": {"completion_tokens": 91, "prompt_tokens": 2121, "total_tokens": 2212, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 51, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 80, "cached_tokens": 1502, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 80, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 80, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8935699159046635, "usage": {"completion_tokens": 29, "prompt_tokens": 2271, "total_tokens": 2300, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 150, "cached_tokens": 1582, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 150, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 150, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "84d9b4b3d386e5efe061d1455fe703c2215b1900c894997b5b9d2317bf025dfe", "csv_sha256": "2bcb34ceb3d2988fadac4a2e19121284e9929ad9531a45b038e29b4d5f87475e"} +{"instance_id": "bird023", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH eligible_schools AS (\n SELECT s.School, s.AdmEmail1, sat.NumGE1500\n FROM schools AS s\n JOIN satscores AS sat ON sat.cds = s.CDSCode\n WHERE s.DOCType = 'State Board of Education'\n AND sat.rtype = 'S'\n)\nSELECT School, AdmEmail1\nFROM eligible_schools\nWHERE NumGE1500 = (SELECT MAX(NumGE1500) FROM eligible_schools);\n```", "rows": 1, "sql": "WITH eligible_schools AS (\n SELECT s.School, s.AdmEmail1, sat.NumGE1500\n FROM schools AS s\n JOIN satscores AS sat ON sat.cds = s.CDSCode\n WHERE s.DOCType = 'State Board of Education'\n AND sat.rtype = 'S'\n)\nSELECT School, AdmEmail1\nFROM eligible_schools\nWHERE NumGE1500 = (SELECT MAX(NumGE1500) FROM eligible_schools);", "seconds": 18.113065875018947, "calls": [{"seconds": 2.461124832974747, "usage": {"completion_tokens": 52, "prompt_tokens": 1670, "total_tokens": 1722, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1131, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1131, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1131, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.563750999979675, "usage": {"completion_tokens": 27, "prompt_tokens": 2146, "total_tokens": 2173, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 476, "cached_tokens": 1131, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 476, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 476, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.622679207939655, "usage": {"completion_tokens": 159, "prompt_tokens": 2272, "total_tokens": 2431, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 59, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 126, "cached_tokens": 1607, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 126, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 126, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.43266249995213, "usage": {"completion_tokens": 125, "prompt_tokens": 2593, "total_tokens": 2718, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 321, "cached_tokens": 1733, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 321, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 321, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9948725410504267, "usage": {"completion_tokens": 112, "prompt_tokens": 2871, "total_tokens": 2983, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 2054, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ca7062a5743603c504d440fe6c29f149934ab701c403c7bc6cd530a23041cfb8", "csv_sha256": "31b2bc3af34bd5dd6becb8f1a3a2d3aee85e0f79774bb0db33378904df8dbf7f"} +{"instance_id": "bird025", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(COALESCE(sat.NumTstTakr, 0)), 2) AS avg_sat_test_takers\nFROM schools AS s\nLEFT JOIN satscores AS sat\n ON sat.cds = s.CDSCode AND sat.rtype = 'S'\nWHERE s.County = 'Los Angeles'\n AND s.OpenDate >= '2007-01-01'\n AND s.OpenDate < '2008-01-01'\n AND s.School IS NOT NULL\n AND s.DOCType IN (\n 'County Office of Education (COE)',\n 'Elementary School District',\n 'High School District',\n 'Unified School District'\n );\n```", "rows": 1, "sql": "SELECT ROUND(AVG(COALESCE(sat.NumTstTakr, 0)), 2) AS avg_sat_test_takers\nFROM schools AS s\nLEFT JOIN satscores AS sat\n ON sat.cds = s.CDSCode AND sat.rtype = 'S'\nWHERE s.County = 'Los Angeles'\n AND s.OpenDate >= '2007-01-01'\n AND s.OpenDate < '2008-01-01'\n AND s.School IS NOT NULL\n AND s.DOCType IN (\n 'County Office of Education (COE)',\n 'Elementary School District',\n 'High School District',\n 'Unified School District'\n );", "seconds": 22.8630016669631, "calls": [{"seconds": 2.4179100840119645, "usage": {"completion_tokens": 52, "prompt_tokens": 1729, "total_tokens": 1781, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1190, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1190, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1190, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.351394791970961, "usage": {"completion_tokens": 215, "prompt_tokens": 2205, "total_tokens": 2420, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 92, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 476, "cached_tokens": 1190, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 476, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 476, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9602545419475064, "usage": {"completion_tokens": 149, "prompt_tokens": 2631, "total_tokens": 2780, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 426, "cached_tokens": 1666, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 426, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 426, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.824569417047314, "usage": {"completion_tokens": 253, "prompt_tokens": 3067, "total_tokens": 3320, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 79, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 436, "cached_tokens": 2092, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 436, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 436, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.27349295897875, "usage": {"completion_tokens": 151, "prompt_tokens": 3495, "total_tokens": 3646, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 428, "cached_tokens": 2528, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 428, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 428, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "4b2a7339565b8424b41f55b9033c3a72ccfa5fe7b9ae0e9904aa4fb5fc24dcc1", "csv_sha256": "b181e3f4167c8e7a0f6ea62140174ed30fad014730aac759961f4c270ae46840"} +{"instance_id": "bird026", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n s.FundingType AS funding_category,\n COUNT(*) AS active_charter_school_count,\n SUM(f.\"Enrollment (K-12)\") AS total_k12_enrollment_2014_2015,\n ROUND(100.0 * AVG(f.\"Percent (%) Eligible FRPM (K-12)\"), 2) AS avg_k12_frpm_eligible_pct,\n ROUND(AVG(a.AvgScrRead + a.AvgScrMath + a.AvgScrWrite), 2) AS avg_combined_sat_score\nFROM schools AS s\nLEFT JOIN frpm AS f\n ON f.CDSCode = s.CDSCode\n AND f.\"Academic Year\" = '2014-2015'\nLEFT JOIN satscores AS a\n ON a.cds = s.CDSCode\n AND a.rtype = 'S'\nWHERE s.StatusType = 'Active'\n AND s.Charter = 1\n AND s.FundingType IN ('Directly funded', 'Locally funded')\nGROUP BY s.FundingType\nORDER BY s.FundingType;\n```", "rows": 2, "sql": "SELECT\n s.FundingType AS funding_category,\n COUNT(*) AS active_charter_school_count,\n SUM(f.\"Enrollment (K-12)\") AS total_k12_enrollment_2014_2015,\n ROUND(100.0 * AVG(f.\"Percent (%) Eligible FRPM (K-12)\"), 2) AS avg_k12_frpm_eligible_pct,\n ROUND(AVG(a.AvgScrRead + a.AvgScrMath + a.AvgScrWrite), 2) AS avg_combined_sat_score\nFROM schools AS s\nLEFT JOIN frpm AS f\n ON f.CDSCode = s.CDSCode\n AND f.\"Academic Year\" = '2014-2015'\nLEFT JOIN satscores AS a\n ON a.cds = s.CDSCode\n AND a.rtype = 'S'\nWHERE s.StatusType = 'Active'\n AND s.Charter = 1\n AND s.FundingType IN ('Directly funded', 'Locally funded')\nGROUP BY s.FundingType\nORDER BY s.FundingType;", "seconds": 22.030734917032532, "calls": [{"seconds": 2.4544081250205636, "usage": {"completion_tokens": 68, "prompt_tokens": 1806, "total_tokens": 1874, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1267, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1267, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1267, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.655105832964182, "usage": {"completion_tokens": 328, "prompt_tokens": 2573, "total_tokens": 2901, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 40, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 767, "cached_tokens": 1267, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 767, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 767, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.726529916981235, "usage": {"completion_tokens": 317, "prompt_tokens": 3509, "total_tokens": 3826, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 64, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 936, "cached_tokens": 2034, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 936, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 936, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.157555290963501, "usage": {"completion_tokens": 232, "prompt_tokens": 4165, "total_tokens": 4397, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 656, "cached_tokens": 2970, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 656, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 656, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b74f7b66a1114e1b34b8acfae64dd8b5f4ccedbdc4d23dbf866ac3679f39d94d", "csv_sha256": "6e115db70600b024ac8a35e1f443da12d3aca936e3800b5ad9fcf9868e0d7d6d"} +{"instance_id": "bird027", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n f.\"School Name\" AS school_name,\n f.\"Low Grade\" AS earliest_grade_level,\n f.\"Enrollment (K-12)\" AS k12_enrollment,\n COALESCE(s.NumTstTakr, 0) AS sat_test_takers\nFROM frpm AS f\nLEFT JOIN satscores AS s\n ON s.cds = f.CDSCode AND s.rtype = 'S'\nWHERE f.\"Academic Year\" = '2014-2015'\n AND f.\"School Type\" = 'State Special Schools'\nORDER BY\n CASE f.\"Low Grade\"\n WHEN 'P' THEN -1\n WHEN 'K' THEN 0\n ELSE CAST(f.\"Low Grade\" AS INTEGER)\n END DESC,\n f.\"Enrollment (K-12)\" DESC,\n f.\"School Name\" COLLATE NOCASE ASC\nLIMIT 1;\n```", "rows": 1, "sql": "SELECT\n f.\"School Name\" AS school_name,\n f.\"Low Grade\" AS earliest_grade_level,\n f.\"Enrollment (K-12)\" AS k12_enrollment,\n COALESCE(s.NumTstTakr, 0) AS sat_test_takers\nFROM frpm AS f\nLEFT JOIN satscores AS s\n ON s.cds = f.CDSCode AND s.rtype = 'S'\nWHERE f.\"Academic Year\" = '2014-2015'\n AND f.\"School Type\" = 'State Special Schools'\nORDER BY\n CASE f.\"Low Grade\"\n WHEN 'P' THEN -1\n WHEN 'K' THEN 0\n ELSE CAST(f.\"Low Grade\" AS INTEGER)\n END DESC,\n f.\"Enrollment (K-12)\" DESC,\n f.\"School Name\" COLLATE NOCASE ASC\nLIMIT 1;", "seconds": 24.527219541021623, "calls": [{"seconds": 2.8064454580890015, "usage": {"completion_tokens": 68, "prompt_tokens": 1800, "total_tokens": 1868, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1261, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1261, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1261, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.075713917030953, "usage": {"completion_tokens": 254, "prompt_tokens": 2567, "total_tokens": 2821, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 25, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 767, "cached_tokens": 1261, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 767, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 767, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.1397061250172555, "usage": {"completion_tokens": 153, "prompt_tokens": 3182, "total_tokens": 3335, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 615, "cached_tokens": 2028, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 615, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 615, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.024597374955192, "usage": {"completion_tokens": 274, "prompt_tokens": 3669, "total_tokens": 3943, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 57, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 487, "cached_tokens": 2643, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 487, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 487, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.444615458953194, "usage": {"completion_tokens": 194, "prompt_tokens": 4187, "total_tokens": 4381, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 518, "cached_tokens": 3130, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 518, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 518, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2afb475e442ef0f5df5f9de6c617a40d452e6bd8ca50bfc0de9a3af903ca916b", "csv_sha256": "0a9545f38b0db9a13fc9f4053af490eb7be024b8e0d2979d1fcd703511d5f059"} +{"instance_id": "bird028", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT f.CDSCode) AS school_count\nFROM frpm AS f\nWHERE f.\"Enrollment (K-12)\" > 500\n AND TRIM(f.\"High Grade\") IN ('1', '2', '3', '4', '5', '6', '7', '8')\n AND NULLIF(TRIM(f.\"School Name\"), '') IS NOT NULL\n AND f.\"School Code\" <> '0000000'\n AND NOT EXISTS (\n SELECT 1\n FROM satscores AS s\n WHERE s.cds = f.CDSCode\n AND s.rtype = 'S'\n AND s.NumTstTakr > 0\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT f.CDSCode) AS school_count\nFROM frpm AS f\nWHERE f.\"Enrollment (K-12)\" > 500\n AND TRIM(f.\"High Grade\") IN ('1', '2', '3', '4', '5', '6', '7', '8')\n AND NULLIF(TRIM(f.\"School Name\"), '') IS NOT NULL\n AND f.\"School Code\" <> '0000000'\n AND NOT EXISTS (\n SELECT 1\n FROM satscores AS s\n WHERE s.cds = f.CDSCode\n AND s.rtype = 'S'\n AND s.NumTstTakr > 0\n );", "seconds": 39.6776807080023, "calls": [{"seconds": 3.230252332985401, "usage": {"completion_tokens": 82, "prompt_tokens": 1723, "total_tokens": 1805, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1184, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1184, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1184, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.577424416900612, "usage": {"completion_tokens": 164, "prompt_tokens": 2532, "total_tokens": 2696, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 24, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 809, "cached_tokens": 1184, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 809, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 809, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.623283458990045, "usage": {"completion_tokens": 371, "prompt_tokens": 3455, "total_tokens": 3826, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 923, "cached_tokens": 1993, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 923, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 923, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.982846040977165, "usage": {"completion_tokens": 277, "prompt_tokens": 4400, "total_tokens": 4677, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 88, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 945, "cached_tokens": 2916, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 945, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 945, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.005103749921545, "usage": {"completion_tokens": 348, "prompt_tokens": 4970, "total_tokens": 5318, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 165, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 570, "cached_tokens": 3861, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 570, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 570, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.955367540940642, "usage": {"completion_tokens": 196, "prompt_tokens": 5570, "total_tokens": 5766, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 23, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 600, "cached_tokens": 4431, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 600, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 600, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.239994541974738, "usage": {"completion_tokens": 155, "prompt_tokens": 5941, "total_tokens": 6096, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 371, "cached_tokens": 5031, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 371, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 371, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "66d69f2024b1435f24083bd9cfaea467a3fdac6ac04ffc9b368624cf7043d066", "csv_sha256": "4e46321f5c82687196bab7a993970d44652020b7dced1b455b56031baf931840"} +{"instance_id": "bird029", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n f.\"Charter Funding Type\" AS charter_funding_type,\n COUNT(*) AS active_school_count,\n SUM(f.\"Enrollment (K-12)\") AS total_k12_enrollment,\n SUM(f.\"FRPM Count (K-12)\") AS total_k12_frpm_eligible\nFROM frpm AS f\nJOIN schools AS s ON s.CDSCode = f.CDSCode\nWHERE f.\"District Type\" = 'County Office of Education (COE)'\n AND f.\"Charter School (Y/N)\" = 1\n AND f.\"Charter Funding Type\" IN ('Directly funded', 'Locally funded')\n AND s.StatusType = 'Active'\nGROUP BY f.\"Charter Funding Type\"\nORDER BY CASE f.\"Charter Funding Type\" WHEN 'Directly funded' THEN 1 ELSE 2 END;\n```", "rows": 2, "sql": "SELECT\n f.\"Charter Funding Type\" AS charter_funding_type,\n COUNT(*) AS active_school_count,\n SUM(f.\"Enrollment (K-12)\") AS total_k12_enrollment,\n SUM(f.\"FRPM Count (K-12)\") AS total_k12_frpm_eligible\nFROM frpm AS f\nJOIN schools AS s ON s.CDSCode = f.CDSCode\nWHERE f.\"District Type\" = 'County Office of Education (COE)'\n AND f.\"Charter School (Y/N)\" = 1\n AND f.\"Charter Funding Type\" IN ('Directly funded', 'Locally funded')\n AND s.StatusType = 'Active'\nGROUP BY f.\"Charter Funding Type\"\nORDER BY CASE f.\"Charter Funding Type\" WHEN 'Directly funded' THEN 1 ELSE 2 END;", "seconds": 19.858967292006128, "calls": [{"seconds": 2.1746980829630047, "usage": {"completion_tokens": 51, "prompt_tokens": 1705, "total_tokens": 1756, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1166, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1166, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1166, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.540291375014931, "usage": {"completion_tokens": 303, "prompt_tokens": 2360, "total_tokens": 2663, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 65, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 655, "cached_tokens": 1166, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 655, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 655, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.718212333042175, "usage": {"completion_tokens": 329, "prompt_tokens": 3221, "total_tokens": 3550, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 122, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 861, "cached_tokens": 1821, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 861, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 861, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.38573866605293, "usage": {"completion_tokens": 184, "prompt_tokens": 3816, "total_tokens": 4000, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 595, "cached_tokens": 2682, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 595, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 595, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "39bde034d843466a9c65b7355ade7507fd915801be2a285fa9b3faf96f57edeb", "csv_sha256": "04ed383ded21be29ae2684234830ebe139f7a769198636ce4113cb0487c9c062"} +{"instance_id": "bird030", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH ranked_schools AS (\n SELECT s.School AS school_name,\n s.District AS district,\n s.County AS county,\n sa.AvgScrWrite AS average_sat_writing_score,\n DENSE_RANK() OVER (ORDER BY sa.AvgScrWrite DESC) AS score_rank\n FROM schools AS s\n JOIN satscores AS sa ON sa.cds = s.CDSCode\n WHERE s.StatusType = 'Closed'\n AND sa.rtype = 'S'\n AND sa.AvgScrWrite IS NOT NULL\n)\nSELECT school_name, district, county, average_sat_writing_score\nFROM ranked_schools\nWHERE score_rank = 2\nORDER BY school_name, district, county;\n```", "rows": 1, "sql": "WITH ranked_schools AS (\n SELECT s.School AS school_name,\n s.District AS district,\n s.County AS county,\n sa.AvgScrWrite AS average_sat_writing_score,\n DENSE_RANK() OVER (ORDER BY sa.AvgScrWrite DESC) AS score_rank\n FROM schools AS s\n JOIN satscores AS sa ON sa.cds = s.CDSCode\n WHERE s.StatusType = 'Closed'\n AND sa.rtype = 'S'\n AND sa.AvgScrWrite IS NOT NULL\n)\nSELECT school_name, district, county, average_sat_writing_score\nFROM ranked_schools\nWHERE score_rank = 2\nORDER BY school_name, district, county;", "seconds": 19.6906072080601, "calls": [{"seconds": 2.305913749965839, "usage": {"completion_tokens": 52, "prompt_tokens": 1719, "total_tokens": 1771, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1180, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1180, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1180, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.768798124976456, "usage": {"completion_tokens": 189, "prompt_tokens": 2195, "total_tokens": 2384, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 71, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 476, "cached_tokens": 1180, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 476, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 476, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.4818811659934, "usage": {"completion_tokens": 221, "prompt_tokens": 2580, "total_tokens": 2801, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 42, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 385, "cached_tokens": 1656, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 385, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 385, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.108358124969527, "usage": {"completion_tokens": 242, "prompt_tokens": 3010, "total_tokens": 3252, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 80, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 430, "cached_tokens": 2041, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 430, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 430, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9123076c4b3ef389172bcf622b0529bfcffbef65dbb1c6fef233c74f331b8057", "csv_sha256": "14ed278f6ad9bf9bb20cd200ba00bd3aed18f3b1049bf7a200367b38a09605ea"} +{"instance_id": "bird031", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT s.CDSCode) AS school_count\nFROM schools AS s\nWHERE s.StatusType = 'Active'\n AND s.EILName = 'High School'\n AND NOT EXISTS (\n SELECT 1\n FROM satscores AS sat\n WHERE sat.cds = s.CDSCode\n AND sat.NumTstTakr <> 0\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT s.CDSCode) AS school_count\nFROM schools AS s\nWHERE s.StatusType = 'Active'\n AND s.EILName = 'High School'\n AND NOT EXISTS (\n SELECT 1\n FROM satscores AS sat\n WHERE sat.cds = s.CDSCode\n AND sat.NumTstTakr <> 0\n );", "seconds": 12.542625125031918, "calls": [{"seconds": 2.151763124973513, "usage": {"completion_tokens": 52, "prompt_tokens": 1719, "total_tokens": 1771, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1180, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1180, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1180, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.347361958003603, "usage": {"completion_tokens": 273, "prompt_tokens": 2195, "total_tokens": 2468, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 171, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 476, "cached_tokens": 1180, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 476, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 476, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0225620409473777, "usage": {"completion_tokens": 88, "prompt_tokens": 2575, "total_tokens": 2663, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 380, "cached_tokens": 1656, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 380, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 380, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f7cfd456ed5492be1874103cbb6cc609d79da7d2e59ceedf7f81ccf8ce8dc22e", "csv_sha256": "6a751a63874d7233840c7e4dbbef424e8bd3e557da87b905e12a27d897a7678b"} +{"instance_id": "bird032", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH target_county AS (\n SELECT DISTINCT County\n FROM schools\n WHERE CDSCode = '01612590125716'\n)\nSELECT\n c.County AS county_name,\n COUNT(f.CDSCode) AS school_count,\n ROUND(AVG(ROUND(100.0 * f.\"Free Meal Count (K-12)\" / f.\"Enrollment (K-12)\", 2)), 2) AS avg_free_meal_percentage,\n ROUND(AVG(ROUND(100.0 * f.\"FRPM Count (K-12)\" / f.\"Enrollment (K-12)\", 2)), 2) AS avg_frpm_percentage,\n COUNT(CASE WHEN f.\"Charter School (Y/N)\" = 1 THEN 1 END) AS charter_school_count,\n COUNT(CASE WHEN f.\"Charter School (Y/N)\" = 0 THEN 1 END) AS non_charter_school_count,\n ROUND(AVG(s.AvgScrRead + s.AvgScrMath + s.AvgScrWrite), 2) AS avg_sat_score\nFROM target_county AS c\nLEFT JOIN frpm AS f\n ON f.\"County Name\" = c.County\n AND f.\"Free Meal Count (K-12)\" > 500\n AND f.\"FRPM Count (K-12)\" < 700\nLEFT JOIN satscores AS s ON s.cds = f.CDSCode\nGROUP BY c.County;\n```", "rows": 1, "sql": "WITH target_county AS (\n SELECT DISTINCT County\n FROM schools\n WHERE CDSCode = '01612590125716'\n)\nSELECT\n c.County AS county_name,\n COUNT(f.CDSCode) AS school_count,\n ROUND(AVG(ROUND(100.0 * f.\"Free Meal Count (K-12)\" / f.\"Enrollment (K-12)\", 2)), 2) AS avg_free_meal_percentage,\n ROUND(AVG(ROUND(100.0 * f.\"FRPM Count (K-12)\" / f.\"Enrollment (K-12)\", 2)), 2) AS avg_frpm_percentage,\n COUNT(CASE WHEN f.\"Charter School (Y/N)\" = 1 THEN 1 END) AS charter_school_count,\n COUNT(CASE WHEN f.\"Charter School (Y/N)\" = 0 THEN 1 END) AS non_charter_school_count,\n ROUND(AVG(s.AvgScrRead + s.AvgScrMath + s.AvgScrWrite), 2) AS avg_sat_score\nFROM target_county AS c\nLEFT JOIN frpm AS f\n ON f.\"County Name\" = c.County\n AND f.\"Free Meal Count (K-12)\" > 500\n AND f.\"FRPM Count (K-12)\" < 700\nLEFT JOIN satscores AS s ON s.cds = f.CDSCode\nGROUP BY c.County;", "seconds": 25.205826957942918, "calls": [{"seconds": 2.6563622909598053, "usage": {"completion_tokens": 84, "prompt_tokens": 1875, "total_tokens": 1959, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 14, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1336, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1336, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1336, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.787496707984246, "usage": {"completion_tokens": 319, "prompt_tokens": 2658, "total_tokens": 2977, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 102, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 783, "cached_tokens": 1336, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 783, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 783, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.993835165980272, "usage": {"completion_tokens": 468, "prompt_tokens": 3239, "total_tokens": 3707, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 132, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 581, "cached_tokens": 2119, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 581, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 581, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.7532622090075165, "usage": {"completion_tokens": 308, "prompt_tokens": 4100, "total_tokens": 4408, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 861, "cached_tokens": 2700, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 861, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 861, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "37f96620c459309e76a30f6da577c8a140477fb7dbf5ca3ef0bc726ee23fdb9f", "csv_sha256": "f9433a842c5d9b1a6cd9edb5f4353f1c2d714ffb73bd40691c810dd5dc1bf61e"} +{"instance_id": "bird033", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) / 12.0 AS average_schools_per_month\nFROM schools\nWHERE County = 'San Diego'\n AND DOC IN ('52', '54', '56')\n AND School IS NOT NULL\n AND OpenDate >= '1980-01-01'\n AND OpenDate < '1981-01-01';\n```", "rows": 1, "sql": "SELECT COUNT(*) / 12.0 AS average_schools_per_month\nFROM schools\nWHERE County = 'San Diego'\n AND DOC IN ('52', '54', '56')\n AND School IS NOT NULL\n AND OpenDate >= '1980-01-01'\n AND OpenDate < '1981-01-01';", "seconds": 26.342743874993175, "calls": [{"seconds": 2.0267173330066726, "usage": {"completion_tokens": 19, "prompt_tokens": 1702, "total_tokens": 1721, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1163, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1163, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1163, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.348360207979567, "usage": {"completion_tokens": 227, "prompt_tokens": 2050, "total_tokens": 2277, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 69, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 348, "cached_tokens": 1163, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 348, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 348, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.04808675008826, "usage": {"completion_tokens": 385, "prompt_tokens": 2672, "total_tokens": 3057, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 302, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 622, "cached_tokens": 1511, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 622, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 622, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.762326332973316, "usage": {"completion_tokens": 222, "prompt_tokens": 3281, "total_tokens": 3503, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 127, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 609, "cached_tokens": 2133, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 609, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 609, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1357665830291808, "usage": {"completion_tokens": 80, "prompt_tokens": 3612, "total_tokens": 3692, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 331, "cached_tokens": 2742, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 331, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 331, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e1aa40ce490ddad59eaf71033d2bc700a042aaf5668e89e66beeeabfee9aa032", "csv_sha256": "262be1efa842b7e88c1e063e48f414595f4db15cd3449f1b7605f8794854c7ba"} +{"instance_id": "bird034", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(100.0 * COUNT(CASE WHEN s.Virtual IN ('F', 'P') THEN 1 END) / COUNT(*), 1) AS virtual_percentage\nFROM schools AS s\nJOIN satscores AS t ON t.cds = s.CDSCode\nWHERE s.State = 'CA'\n AND t.rtype = 'S'\n AND t.AvgScrMath > 400;\n```", "rows": 1, "sql": "SELECT ROUND(100.0 * COUNT(CASE WHEN s.Virtual IN ('F', 'P') THEN 1 END) / COUNT(*), 1) AS virtual_percentage\nFROM schools AS s\nJOIN satscores AS t ON t.cds = s.CDSCode\nWHERE s.State = 'CA'\n AND t.rtype = 'S'\n AND t.AvgScrMath > 400;", "seconds": 16.225520416977815, "calls": [{"seconds": 2.255637541995384, "usage": {"completion_tokens": 52, "prompt_tokens": 1657, "total_tokens": 1709, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1118, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1118, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1118, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.798231333959848, "usage": {"completion_tokens": 192, "prompt_tokens": 2133, "total_tokens": 2325, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 84, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 476, "cached_tokens": 1118, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 476, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 476, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.7656331670004874, "usage": {"completion_tokens": 169, "prompt_tokens": 2488, "total_tokens": 2657, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 65, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 355, "cached_tokens": 1594, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 355, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 355, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3901122090173885, "usage": {"completion_tokens": 91, "prompt_tokens": 2769, "total_tokens": 2860, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 281, "cached_tokens": 1949, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 281, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 281, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "23e720fc82fc69b01ac206d843f2c408d8dff6f225b172793a283b5100200b42", "csv_sha256": "ef2af6fc57ee70b82fc0d5b41d8dad7f1f36715ebd38d362fba000a59d93d464"} +{"instance_id": "bird035", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n s.School,\n s.County,\n s.District,\n s.City,\n f.\"Enrollment (K-12)\",\n f.\"FRPM Count (K-12)\",\n f.\"Percent (%) Eligible FRPM (K-12)\",\n sat.NumTstTakr,\n sat.AvgScrRead,\n sat.AvgScrMath,\n sat.AvgScrWrite,\n sat.NumGE1500\nFROM schools AS s\nLEFT JOIN frpm AS f ON f.CDSCode = s.CDSCode\nLEFT JOIN satscores AS sat ON sat.cds = s.CDSCode\nWHERE s.CDSCode = '01612590137943';\n```", "rows": 1, "sql": "SELECT\n s.School,\n s.County,\n s.District,\n s.City,\n f.\"Enrollment (K-12)\",\n f.\"FRPM Count (K-12)\",\n f.\"Percent (%) Eligible FRPM (K-12)\",\n sat.NumTstTakr,\n sat.AvgScrRead,\n sat.AvgScrMath,\n sat.AvgScrWrite,\n sat.NumGE1500\nFROM schools AS s\nLEFT JOIN frpm AS f ON f.CDSCode = s.CDSCode\nLEFT JOIN satscores AS sat ON sat.cds = s.CDSCode\nWHERE s.CDSCode = '01612590137943';", "seconds": 18.569470040965825, "calls": [{"seconds": 2.453004875103943, "usage": {"completion_tokens": 68, "prompt_tokens": 1749, "total_tokens": 1817, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1210, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1210, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1210, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.157963000005111, "usage": {"completion_tokens": 282, "prompt_tokens": 2516, "total_tokens": 2798, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 128, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 767, "cached_tokens": 1210, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 767, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 767, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.522512750001624, "usage": {"completion_tokens": 175, "prompt_tokens": 2998, "total_tokens": 3173, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 482, "cached_tokens": 1977, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 482, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 482, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.424875125056133, "usage": {"completion_tokens": 149, "prompt_tokens": 3463, "total_tokens": 3612, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 465, "cached_tokens": 2459, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 465, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 465, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "402265b711afe222a17c52dcecad10f9a104ea1f6c840ef52f4de2a40ad1082a", "csv_sha256": "687f2b8af29e52ae2b26724ee5b690d2523e488cfaf768940b95c1a02dc82298"} +{"instance_id": "bird037", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH math_benchmark AS (\n SELECT MAX(a.AvgScrMath) AS highest_avg_sat_math\n FROM satscores AS a\n JOIN schools AS s ON s.CDSCode = a.cds\n WHERE s.StatusType = 'Active'\n AND a.rtype = 'S'\n AND a.NumTstTakr >= 10\n)\nSELECT s.School AS school_name,\n s.Phone AS phone_number,\n s.Website AS website,\n a.AvgScrRead AS avg_sat_reading,\n a.AvgScrMath AS avg_sat_math,\n a.AvgScrWrite AS avg_sat_writing,\n (s.Charter = 1) AS is_charter,\n f.\"Enrollment (K-12)\" AS k12_enrollment_2014_2015,\n ROUND(100.0 * f.\"Percent (%) Eligible FRPM (K-12)\", 2) AS pct_eligible_frpm_k12,\n b.highest_avg_sat_math,\n b.highest_avg_sat_math - a.AvgScrMath AS sat_math_points_below_highest\nFROM schools AS s\nLEFT JOIN satscores AS a ON a.cds = s.CDSCode AND a.rtype = 'S'\nLEFT JOIN frpm AS f ON f.CDSCode = s.CDSCode AND f.\"Academic Year\" = '2014-2015'\nCROSS JOIN math_benchmark AS b\nWHERE s.CDSCode = '07618040113118';\n```", "rows": 1, "sql": "WITH math_benchmark AS (\n SELECT MAX(a.AvgScrMath) AS highest_avg_sat_math\n FROM satscores AS a\n JOIN schools AS s ON s.CDSCode = a.cds\n WHERE s.StatusType = 'Active'\n AND a.rtype = 'S'\n AND a.NumTstTakr >= 10\n)\nSELECT s.School AS school_name,\n s.Phone AS phone_number,\n s.Website AS website,\n a.AvgScrRead AS avg_sat_reading,\n a.AvgScrMath AS avg_sat_math,\n a.AvgScrWrite AS avg_sat_writing,\n (s.Charter = 1) AS is_charter,\n f.\"Enrollment (K-12)\" AS k12_enrollment_2014_2015,\n ROUND(100.0 * f.\"Percent (%) Eligible FRPM (K-12)\", 2) AS pct_eligible_frpm_k12,\n b.highest_avg_sat_math,\n b.highest_avg_sat_math - a.AvgScrMath AS sat_math_points_below_highest\nFROM schools AS s\nLEFT JOIN satscores AS a ON a.cds = s.CDSCode AND a.rtype = 'S'\nLEFT JOIN frpm AS f ON f.CDSCode = s.CDSCode AND f.\"Academic Year\" = '2014-2015'\nCROSS JOIN math_benchmark AS b\nWHERE s.CDSCode = '07618040113118';", "seconds": 27.01450258307159, "calls": [{"seconds": 2.436983000021428, "usage": {"completion_tokens": 68, "prompt_tokens": 1759, "total_tokens": 1827, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1220, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1220, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1220, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.693139750044793, "usage": {"completion_tokens": 299, "prompt_tokens": 2526, "total_tokens": 2825, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 48, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 767, "cached_tokens": 1220, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 767, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 767, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.4813272500177845, "usage": {"completion_tokens": 182, "prompt_tokens": 3167, "total_tokens": 3349, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 641, "cached_tokens": 1987, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 641, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 641, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.173417374957353, "usage": {"completion_tokens": 416, "prompt_tokens": 3630, "total_tokens": 4046, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 72, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 463, "cached_tokens": 2628, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 463, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 463, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.192679374944419, "usage": {"completion_tokens": 315, "prompt_tokens": 4503, "total_tokens": 4818, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 873, "cached_tokens": 3091, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 873, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 873, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "392aa05239e5a2a4a4ca35d795120b383988ff6da4bfbc6ddff77e0865e482d0", "csv_sha256": "892ca827e25957992fb9268d3c03284dca3d692c4a041d8a728d640e32bdb6a8"} +{"instance_id": "bird038", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH virtual_schools AS (\n SELECT CDSCode, County, School\n FROM schools\n WHERE Virtual = 'F'\n), county_counts AS (\n SELECT County,\n COUNT(*) AS school_count,\n RANK() OVER (ORDER BY COUNT(*) DESC) AS county_rank\n FROM virtual_schools\n GROUP BY County\n), ranked_reading AS (\n SELECT v.CDSCode, v.County, v.School,\n RANK() OVER (\n PARTITION BY v.County\n ORDER BY t.AvgScrRead DESC\n ) AS reading_rank\n FROM virtual_schools AS v\n JOIN satscores AS t ON t.cds = v.CDSCode\n WHERE t.AvgScrRead IS NOT NULL\n)\nSELECT c.County AS county_name,\n c.school_count AS exclusively_virtual_school_count,\n CASE WHEN r.CDSCode IS NULL THEN 'None' ELSE r.School END AS school_name\nFROM county_counts AS c\nLEFT JOIN ranked_reading AS r\n ON r.County = c.County AND r.reading_rank = 1\nWHERE c.county_rank <= 5\nORDER BY c.school_count DESC, c.County, school_name;\n```", "rows": 5, "sql": "WITH virtual_schools AS (\n SELECT CDSCode, County, School\n FROM schools\n WHERE Virtual = 'F'\n), county_counts AS (\n SELECT County,\n COUNT(*) AS school_count,\n RANK() OVER (ORDER BY COUNT(*) DESC) AS county_rank\n FROM virtual_schools\n GROUP BY County\n), ranked_reading AS (\n SELECT v.CDSCode, v.County, v.School,\n RANK() OVER (\n PARTITION BY v.County\n ORDER BY t.AvgScrRead DESC\n ) AS reading_rank\n FROM virtual_schools AS v\n JOIN satscores AS t ON t.cds = v.CDSCode\n WHERE t.AvgScrRead IS NOT NULL\n)\nSELECT c.County AS county_name,\n c.school_count AS exclusively_virtual_school_count,\n CASE WHEN r.CDSCode IS NULL THEN 'None' ELSE r.School END AS school_name\nFROM county_counts AS c\nLEFT JOIN ranked_reading AS r\n ON r.County = c.County AND r.reading_rank = 1\nWHERE c.county_rank <= 5\nORDER BY c.school_count DESC, c.County, school_name;", "seconds": 22.782488707918674, "calls": [{"seconds": 2.2370431249728426, "usage": {"completion_tokens": 52, "prompt_tokens": 1723, "total_tokens": 1775, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1184, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1184, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1184, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.579263500054367, "usage": {"completion_tokens": 196, "prompt_tokens": 2199, "total_tokens": 2395, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 85, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 476, "cached_tokens": 1184, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 476, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 476, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.745267583057284, "usage": {"completion_tokens": 479, "prompt_tokens": 2560, "total_tokens": 3039, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 205, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 361, "cached_tokens": 1660, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 361, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 361, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.1980934999883175, "usage": {"completion_tokens": 262, "prompt_tokens": 3372, "total_tokens": 3634, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 812, "cached_tokens": 2021, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 812, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 812, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d98cc6af118290ad5b151409c364c00828e5808d121d2acea8481e9906d3e13f", "csv_sha256": "7df623dff2780bab7c0c5c030000130975a45b992774283dd76c964241754f38"} +{"instance_id": "bird039", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH target_counties (county) AS (\n SELECT 'Santa Barbara'\n UNION\n SELECT County\n FROM schools\n WHERE CDSCode = '01100170109835'\n)\nSELECT t.county AS county,\n COUNT(DISTINCT s.CDSCode) AS exclusive_virtual_schools\nFROM target_counties AS t\nLEFT JOIN schools AS s\n ON s.County = t.county AND s.Virtual = 'F'\nGROUP BY t.county\nORDER BY exclusive_virtual_schools DESC, county ASC;\n```", "rows": 2, "sql": "WITH target_counties (county) AS (\n SELECT 'Santa Barbara'\n UNION\n SELECT County\n FROM schools\n WHERE CDSCode = '01100170109835'\n)\nSELECT t.county AS county,\n COUNT(DISTINCT s.CDSCode) AS exclusive_virtual_schools\nFROM target_counties AS t\nLEFT JOIN schools AS s\n ON s.County = t.county AND s.Virtual = 'F'\nGROUP BY t.county\nORDER BY exclusive_virtual_schools DESC, county ASC;", "seconds": 24.468479957897216, "calls": [{"seconds": 2.093514832900837, "usage": {"completion_tokens": 19, "prompt_tokens": 1695, "total_tokens": 1714, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1156, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1156, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1156, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.243284500087611, "usage": {"completion_tokens": 195, "prompt_tokens": 2043, "total_tokens": 2238, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 60, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 348, "cached_tokens": 1156, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 348, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 348, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.552171375020407, "usage": {"completion_tokens": 134, "prompt_tokens": 2386, "total_tokens": 2520, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 49, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 343, "cached_tokens": 1504, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 343, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 343, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.094444749993272, "usage": {"completion_tokens": 141, "prompt_tokens": 2813, "total_tokens": 2954, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 95, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 427, "cached_tokens": 1847, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 427, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 427, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9135402920655906, "usage": {"completion_tokens": 133, "prompt_tokens": 3028, "total_tokens": 3161, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 215, "cached_tokens": 2274, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 215, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 215, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5356026670197025, "usage": {"completion_tokens": 118, "prompt_tokens": 3315, "total_tokens": 3433, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 287, "cached_tokens": 2489, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 287, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 287, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6dfa74f12b0f0fa73361f54648ab554fb8052e05ec1cbcadd8824d3f3fe44167", "csv_sha256": "b3841cd4b32839f24d07cccda47bc724f2ea27947c042be95665fc95f196e05c"} +{"instance_id": "bird040", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH eligible AS (\n SELECT f.CDSCode,\n f.\"Enrollment (K-12)\" AS enrollment,\n f.\"FRPM Count (K-12)\" AS frpm_count,\n 1.0 * f.\"FRPM Count (K-12)\" / f.\"Enrollment (K-12)\" AS frpm_share\n FROM frpm AS f\n WHERE f.\"Educational Option Type\" = 'Traditional'\n AND f.\"Charter School (Y/N)\" = 0\n AND f.\"Enrollment (K-12)\" > 100\n), extremes AS (\n SELECT MAX(frpm_count) AS max_count, MIN(frpm_share) AS min_share\n FROM eligible\n), selected AS (\n SELECT 1 AS part_order, 'largest FRPM-eligible count' AS part, e.*\n FROM eligible AS e CROSS JOIN extremes AS x\n WHERE e.frpm_count = x.max_count\n UNION ALL\n SELECT 2, 'smallest FRPM share', e.*\n FROM eligible AS e CROSS JOIN extremes AS x\n WHERE e.frpm_share = x.min_share\n UNION ALL\n SELECT 3, 'the CDS code from my notes', e.*\n FROM eligible AS e\n WHERE e.CDSCode = '04615150435602'\n)\nSELECT p.part,\n s.School AS school_name,\n s.County AS county,\n s.City AS city,\n s.MailStreet AS mailing_street,\n s.MailCity AS mailing_city,\n s.MailState AS mailing_state,\n s.MailZip AS mailing_zip,\n s.Website AS website,\n p.enrollment AS k12_enrollment,\n p.frpm_count AS frpm_eligible_count,\n p.frpm_share,\n a.AvgScrRead + a.AvgScrMath + a.AvgScrWrite AS avg_total_sat_score,\n 100.0 * a.NumGE1500 / NULLIF(a.NumTstTakr, 0) AS pct_sat_takers_scoring_1500_or_more,\n s.OpenDate AS opening_date,\n CASE WHEN NULLIF(s.ClosedDate, '') IS NOT NULL THEN 'closed' ELSE 'open' END AS status\nFROM selected AS p\nJOIN schools AS s ON s.CDSCode = p.CDSCode\nLEFT JOIN satscores AS a ON a.cds = p.CDSCode AND a.rtype = 'S'\nORDER BY p.part_order, s.School, p.CDSCode;\n```", "rows": 3, "sql": "WITH eligible AS (\n SELECT f.CDSCode,\n f.\"Enrollment (K-12)\" AS enrollment,\n f.\"FRPM Count (K-12)\" AS frpm_count,\n 1.0 * f.\"FRPM Count (K-12)\" / f.\"Enrollment (K-12)\" AS frpm_share\n FROM frpm AS f\n WHERE f.\"Educational Option Type\" = 'Traditional'\n AND f.\"Charter School (Y/N)\" = 0\n AND f.\"Enrollment (K-12)\" > 100\n), extremes AS (\n SELECT MAX(frpm_count) AS max_count, MIN(frpm_share) AS min_share\n FROM eligible\n), selected AS (\n SELECT 1 AS part_order, 'largest FRPM-eligible count' AS part, e.*\n FROM eligible AS e CROSS JOIN extremes AS x\n WHERE e.frpm_count = x.max_count\n UNION ALL\n SELECT 2, 'smallest FRPM share', e.*\n FROM eligible AS e CROSS JOIN extremes AS x\n WHERE e.frpm_share = x.min_share\n UNION ALL\n SELECT 3, 'the CDS code from my notes', e.*\n FROM eligible AS e\n WHERE e.CDSCode = '04615150435602'\n)\nSELECT p.part,\n s.School AS school_name,\n s.County AS county,\n s.City AS city,\n s.MailStreet AS mailing_street,\n s.MailCity AS mailing_city,\n s.MailState AS mailing_state,\n s.MailZip AS mailing_zip,\n s.Website AS website,\n p.enrollment AS k12_enrollment,\n p.frpm_count AS frpm_eligible_count,\n p.frpm_share,\n a.AvgScrRead + a.AvgScrMath + a.AvgScrWrite AS avg_total_sat_score,\n 100.0 * a.NumGE1500 / NULLIF(a.NumTstTakr, 0) AS pct_sat_takers_scoring_1500_or_more,\n s.OpenDate AS opening_date,\n CASE WHEN NULLIF(s.ClosedDate, '') IS NOT NULL THEN 'closed' ELSE 'open' END AS status\nFROM selected AS p\nJOIN schools AS s ON s.CDSCode = p.CDSCode\nLEFT JOIN satscores AS a ON a.cds = p.CDSCode AND a.rtype = 'S'\nORDER BY p.part_order, s.School, p.CDSCode;", "seconds": 35.113046457991004, "calls": [{"seconds": 2.729127874947153, "usage": {"completion_tokens": 82, "prompt_tokens": 1890, "total_tokens": 1972, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1351, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1351, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1351, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.478256833041087, "usage": {"completion_tokens": 378, "prompt_tokens": 2699, "total_tokens": 3077, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 50, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 809, "cached_tokens": 1351, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 809, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 809, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 13.196100209024735, "usage": {"completion_tokens": 728, "prompt_tokens": 3875, "total_tokens": 4603, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 151, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1176, "cached_tokens": 2160, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1176, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1176, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.655054708011448, "usage": {"completion_tokens": 711, "prompt_tokens": 5471, "total_tokens": 6182, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 183, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1596, "cached_tokens": 3336, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1596, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1596, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "cb98418864a7a5338d116a6638fd4715863fb6e282c48002aca4d69b6df60ecd", "csv_sha256": "34e87bf1b2b23c1b60ab377f81db0bc8eed74b10d8dc71ea3b3ea343d7044807"} +{"instance_id": "bird041", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT s.School AS school_name,\n s.Street AS street_address\nFROM frpm AS f\nJOIN schools AS s ON s.CDSCode = f.CDSCode\nWHERE NULLIF(TRIM(s.School), '') IS NOT NULL\n AND f.\"Enrollment (K-12)\" - f.\"Enrollment (Ages 5-17)\" > 30\n AND f.\"High Grade\" IN ('K', '1', '2', '3', '4', '5', '6', '7', '8');\n```", "rows": 121, "sql": "SELECT s.School AS school_name,\n s.Street AS street_address\nFROM frpm AS f\nJOIN schools AS s ON s.CDSCode = f.CDSCode\nWHERE NULLIF(TRIM(s.School), '') IS NOT NULL\n AND f.\"Enrollment (K-12)\" - f.\"Enrollment (Ages 5-17)\" > 30\n AND f.\"High Grade\" IN ('K', '1', '2', '3', '4', '5', '6', '7', '8');", "seconds": 21.066813624929637, "calls": [{"seconds": 2.4814286249456927, "usage": {"completion_tokens": 51, "prompt_tokens": 1739, "total_tokens": 1790, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1200, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1200, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1200, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.07731674995739, "usage": {"completion_tokens": 264, "prompt_tokens": 2394, "total_tokens": 2658, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 655, "cached_tokens": 1200, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 655, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 655, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.857933667022735, "usage": {"completion_tokens": 158, "prompt_tokens": 3092, "total_tokens": 3250, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 698, "cached_tokens": 1855, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 698, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 698, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.133169166976586, "usage": {"completion_tokens": 191, "prompt_tokens": 3684, "total_tokens": 3875, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 59, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 592, "cached_tokens": 2553, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 592, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 592, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4803813750622794, "usage": {"completion_tokens": 120, "prompt_tokens": 4605, "total_tokens": 4725, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 921, "cached_tokens": 3145, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 921, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 921, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ae1b46211f5609462c21e6a0444502e3f8267957537dcaff7442d0dd6348fd46", "csv_sha256": "308d17d0cc7e3869b7d1f48f90a326d947a8de6ebc69967f84a8ed14fe425e11"} +{"instance_id": "bird042", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT s.School, s.Street\nFROM schools AS s\nJOIN frpm AS f ON f.CDSCode = s.CDSCode\nWHERE f.\"Low Grade\" IN ('9', '10', '11', '12')\n AND f.\"Enrollment (K-12)\" - f.\"Enrollment (Ages 5-17)\" > 30\nORDER BY s.CDSCode ASC;\n```", "rows": 929, "sql": "SELECT s.School, s.Street\nFROM schools AS s\nJOIN frpm AS f ON f.CDSCode = s.CDSCode\nWHERE f.\"Low Grade\" IN ('9', '10', '11', '12')\n AND f.\"Enrollment (K-12)\" - f.\"Enrollment (Ages 5-17)\" > 30\nORDER BY s.CDSCode ASC;", "seconds": 14.593964250059798, "calls": [{"seconds": 2.525857124943286, "usage": {"completion_tokens": 51, "prompt_tokens": 1724, "total_tokens": 1775, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1185, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1185, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1185, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.233148333034478, "usage": {"completion_tokens": 143, "prompt_tokens": 2379, "total_tokens": 2522, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 655, "cached_tokens": 1185, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 655, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 655, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4931388329714537, "usage": {"completion_tokens": 108, "prompt_tokens": 2856, "total_tokens": 2964, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 477, "cached_tokens": 1840, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 477, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 477, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.308455749996938, "usage": {"completion_tokens": 163, "prompt_tokens": 3127, "total_tokens": 3290, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 70, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 271, "cached_tokens": 2317, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 271, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 271, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "04babbd97b73ae2fa3d6c50571cb87ae929be8b6cda8bc08c4a0f54c593ded0e", "csv_sha256": "d240e67a6bc4bb23b9d59f29d3fc4b8e3936e2cfd0c261b3c06763f43ea49916"} +{"instance_id": "bird043", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT f.\"County Name\" AS county_name,\n COUNT(DISTINCT f.CDSCode) AS qualifying_schools\nFROM frpm AS f\nWHERE f.\"Academic Year\" = '2014-2015'\n AND CAST(f.\"Free Meal Count (K-12)\" AS REAL) / NULLIF(f.\"Enrollment (K-12)\", 0) > 0.1\n AND EXISTS (\n SELECT 1\n FROM satscores AS s\n WHERE s.cds = f.CDSCode\n AND s.rtype = 'S'\n AND CAST(s.NumGE1500 AS INTEGER) >= 1\n )\nGROUP BY f.\"County Name\"\nORDER BY qualifying_schools DESC, county_name ASC;\n```", "rows": 56, "sql": "SELECT f.\"County Name\" AS county_name,\n COUNT(DISTINCT f.CDSCode) AS qualifying_schools\nFROM frpm AS f\nWHERE f.\"Academic Year\" = '2014-2015'\n AND CAST(f.\"Free Meal Count (K-12)\" AS REAL) / NULLIF(f.\"Enrollment (K-12)\", 0) > 0.1\n AND EXISTS (\n SELECT 1\n FROM satscores AS s\n WHERE s.cds = f.CDSCode\n AND s.rtype = 'S'\n AND CAST(s.NumGE1500 AS INTEGER) >= 1\n )\nGROUP BY f.\"County Name\"\nORDER BY qualifying_schools DESC, county_name ASC;", "seconds": 14.404913624981418, "calls": [{"seconds": 2.852688042097725, "usage": {"completion_tokens": 68, "prompt_tokens": 1743, "total_tokens": 1811, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1204, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1204, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1204, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2547052080044523, "usage": {"completion_tokens": 89, "prompt_tokens": 2510, "total_tokens": 2599, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 767, "cached_tokens": 1204, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 767, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 767, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.093021625070833, "usage": {"completion_tokens": 180, "prompt_tokens": 2757, "total_tokens": 2937, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 247, "cached_tokens": 1971, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 247, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 247, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.177554750000127, "usage": {"completion_tokens": 162, "prompt_tokens": 3441, "total_tokens": 3603, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 684, "cached_tokens": 2218, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 684, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 684, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8480941d4ab62f8bd5f8ee18b42b9204cc36669fdbc2ef4750b31eef61178e0c", "csv_sha256": "536620b02d41e5420af610795ee1570f95613a03702a58dc10a56935dd956e13"} +{"instance_id": "bird044", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT s.AdmFName1, s.AdmLName1\nFROM schools AS ref\nJOIN schools AS s ON s.County = ref.County\nJOIN satscores AS sat ON sat.cds = s.CDSCode\nWHERE ref.CDSCode = '01611430131177'\n AND sat.rtype = 'S'\n AND sat.NumGE1500 IS NOT NULL\nORDER BY sat.NumGE1500 DESC, s.CDSCode ASC\nLIMIT 1;\n```", "rows": 1, "sql": "SELECT s.AdmFName1, s.AdmLName1\nFROM schools AS ref\nJOIN schools AS s ON s.County = ref.County\nJOIN satscores AS sat ON sat.cds = s.CDSCode\nWHERE ref.CDSCode = '01611430131177'\n AND sat.rtype = 'S'\n AND sat.NumGE1500 IS NOT NULL\nORDER BY sat.NumGE1500 DESC, s.CDSCode ASC\nLIMIT 1;", "seconds": 24.020457125036046, "calls": [{"seconds": 2.3497013329761103, "usage": {"completion_tokens": 52, "prompt_tokens": 1705, "total_tokens": 1757, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1166, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1166, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1166, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.361693041981198, "usage": {"completion_tokens": 249, "prompt_tokens": 2181, "total_tokens": 2430, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 128, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 476, "cached_tokens": 1166, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 476, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 476, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.574645832995884, "usage": {"completion_tokens": 107, "prompt_tokens": 2547, "total_tokens": 2654, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 366, "cached_tokens": 1642, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 366, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 366, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.816309541929513, "usage": {"completion_tokens": 114, "prompt_tokens": 2764, "total_tokens": 2878, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 217, "cached_tokens": 2008, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 217, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 217, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.0829391250154, "usage": {"completion_tokens": 151, "prompt_tokens": 3042, "total_tokens": 3193, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 30, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 2225, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.80222491605673, "usage": {"completion_tokens": 108, "prompt_tokens": 3329, "total_tokens": 3437, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 287, "cached_tokens": 2503, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 287, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 287, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8ce23872ab557571d4bc47317169331376ec7897d73e923e482359e39eeae651", "csv_sha256": "bba0bcba0ccfa30ea42c4f8776fbc38b9db34eccefa66f21aafe66c6bc44135d"} +{"instance_id": "bird045", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT a.Street, a.City, a.Zip, a.State\nFROM satscores AS s\nJOIN schools AS a ON a.CDSCode = s.cds\nLEFT JOIN frpm AS f ON f.CDSCode = s.cds\nWHERE s.rtype = 'S'\n AND s.NumTstTakr >= 700\n AND s.NumGE1500 IS NOT NULL\nORDER BY CAST(s.NumGE1500 AS REAL) / s.NumTstTakr ASC,\n CAST(f.\"School Code\" AS INTEGER) ASC NULLS LAST\nLIMIT 1;\n```", "rows": 1, "sql": "SELECT a.Street, a.City, a.Zip, a.State\nFROM satscores AS s\nJOIN schools AS a ON a.CDSCode = s.cds\nLEFT JOIN frpm AS f ON f.CDSCode = s.cds\nWHERE s.rtype = 'S'\n AND s.NumTstTakr >= 700\n AND s.NumGE1500 IS NOT NULL\nORDER BY CAST(s.NumGE1500 AS REAL) / s.NumTstTakr ASC,\n CAST(f.\"School Code\" AS INTEGER) ASC NULLS LAST\nLIMIT 1;", "seconds": 21.39063250005711, "calls": [{"seconds": 2.4825283749960363, "usage": {"completion_tokens": 52, "prompt_tokens": 1701, "total_tokens": 1753, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1162, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1162, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1162, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.376798207988031, "usage": {"completion_tokens": 20, "prompt_tokens": 2177, "total_tokens": 2197, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 476, "cached_tokens": 1162, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 476, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 476, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.647405958967283, "usage": {"completion_tokens": 275, "prompt_tokens": 2474, "total_tokens": 2749, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 40, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 297, "cached_tokens": 1638, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 297, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 297, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.036224750103429, "usage": {"completion_tokens": 258, "prompt_tokens": 3074, "total_tokens": 3332, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 118, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 600, "cached_tokens": 1935, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 600, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 600, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8222087080357596, "usage": {"completion_tokens": 128, "prompt_tokens": 3501, "total_tokens": 3629, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 427, "cached_tokens": 2535, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 427, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 427, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "affa3592c79bc8df7fcbef93e5eb7e8bcde0d270bfaf811eb0c1fa19450a92aa", "csv_sha256": "c12a727e46b668f3a48e61aa2bbcd86cc1bf045a03efd32dc67daf47696ddfb8"} +{"instance_id": "bird046", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT s.City AS city, COUNT(DISTINCT s.CDSCode) AS magnet_school_count\nFROM schools AS s\nJOIN frpm AS f ON f.CDSCode = s.CDSCode\nWHERE s.Magnet = 1\n AND f.\"NSLP Provision Status\" = 'Provision 2'\nGROUP BY s.City\nORDER BY magnet_school_count DESC, city;\n```", "rows": 31, "sql": "SELECT s.City AS city, COUNT(DISTINCT s.CDSCode) AS magnet_school_count\nFROM schools AS s\nJOIN frpm AS f ON f.CDSCode = s.CDSCode\nWHERE s.Magnet = 1\n AND f.\"NSLP Provision Status\" = 'Provision 2'\nGROUP BY s.City\nORDER BY magnet_school_count DESC, city;", "seconds": 24.15553212503437, "calls": [{"seconds": 2.063504458987154, "usage": {"completion_tokens": 19, "prompt_tokens": 1719, "total_tokens": 1738, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1180, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1180, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1180, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.1958636669442058, "usage": {"completion_tokens": 20, "prompt_tokens": 2067, "total_tokens": 2087, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 348, "cached_tokens": 1180, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 348, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 348, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6655023749917746, "usage": {"completion_tokens": 121, "prompt_tokens": 2364, "total_tokens": 2485, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 297, "cached_tokens": 1528, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 297, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 297, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.831956584006548, "usage": {"completion_tokens": 210, "prompt_tokens": 2797, "total_tokens": 3007, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 98, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 433, "cached_tokens": 1825, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 433, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 433, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.088027374935336, "usage": {"completion_tokens": 293, "prompt_tokens": 3203, "total_tokens": 3496, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 195, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 406, "cached_tokens": 2258, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 406, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 406, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.263688499922864, "usage": {"completion_tokens": 86, "prompt_tokens": 3800, "total_tokens": 3886, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 597, "cached_tokens": 2664, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 597, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 597, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "56699e224f7b2fbc324d4333b2cac5c43bdb6b1c04a2271ca4f5d8cd24c47ced", "csv_sha256": "64326cfa3b11e3edbc70c6c034fa002240ccdc2609466a089d7be44a8ca33a16"} +{"instance_id": "bird047", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT s.School AS school_name,\n s.Street AS street_address,\n s.City AS city,\n s.State AS state,\n s.Zip AS zip_code\nFROM frpm AS f\nJOIN schools AS s ON s.CDSCode = f.CDSCode\nWHERE f.\"County Name\" = 'Los Angeles'\n AND f.\"School Type\" IN (\n 'High Schools (Public)',\n 'Continuation High Schools',\n 'High Schools In 1 School Dist. (Public)'\n )\n AND f.\"FRPM Count (Ages 5-17)\" > 500\nORDER BY s.School, s.CDSCode;\n```", "rows": 182, "sql": "SELECT s.School AS school_name,\n s.Street AS street_address,\n s.City AS city,\n s.State AS state,\n s.Zip AS zip_code\nFROM frpm AS f\nJOIN schools AS s ON s.CDSCode = f.CDSCode\nWHERE f.\"County Name\" = 'Los Angeles'\n AND f.\"School Type\" IN (\n 'High Schools (Public)',\n 'Continuation High Schools',\n 'High Schools In 1 School Dist. (Public)'\n )\n AND f.\"FRPM Count (Ages 5-17)\" > 500\nORDER BY s.School, s.CDSCode;", "seconds": 52.20276045810897, "calls": [{"seconds": 2.299326749984175, "usage": {"completion_tokens": 51, "prompt_tokens": 1782, "total_tokens": 1833, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1243, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1243, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1243, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1233652499504387, "usage": {"completion_tokens": 77, "prompt_tokens": 2437, "total_tokens": 2514, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 655, "cached_tokens": 1243, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 655, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 655, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.850126334000379, "usage": {"completion_tokens": 203, "prompt_tokens": 2907, "total_tokens": 3110, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 470, "cached_tokens": 1898, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 470, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 470, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.328455500071868, "usage": {"completion_tokens": 185, "prompt_tokens": 3384, "total_tokens": 3569, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 17, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 477, "cached_tokens": 2368, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 477, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 477, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 37.55008324992377, "usage": {"completion_tokens": 142, "prompt_tokens": 5030, "total_tokens": 5172, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1646, "cached_tokens": 2845, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1646, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1646, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9e9fa2d811944bd59c617c8d7f2465cf7e0539bfb3113393a9ece672a3109252", "csv_sha256": "31b728eeb03549a69a0aeef1d4f78d1a0f669551f5c1e0c9a90a691f70e20703"} +{"instance_id": "bird048", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT s.County AS county_name,\n COALESCE(SUM(t.NumTstTakr), 0) AS total_sat_test_takers\nFROM schools AS s\nJOIN frpm AS f ON f.CDSCode = s.CDSCode\nLEFT JOIN satscores AS t ON t.cds = s.CDSCode AND t.rtype = 'S'\nWHERE f.\"NSLP Provision Status\" = 'Provision 2'\n AND s.Magnet = 1\nGROUP BY s.County;\n```", "rows": 7, "sql": "SELECT s.County AS county_name,\n COALESCE(SUM(t.NumTstTakr), 0) AS total_sat_test_takers\nFROM schools AS s\nJOIN frpm AS f ON f.CDSCode = s.CDSCode\nLEFT JOIN satscores AS t ON t.cds = s.CDSCode AND t.rtype = 'S'\nWHERE f.\"NSLP Provision Status\" = 'Provision 2'\n AND s.Magnet = 1\nGROUP BY s.County;", "seconds": 14.572407959029078, "calls": [{"seconds": 2.5258395000128075, "usage": {"completion_tokens": 68, "prompt_tokens": 1702, "total_tokens": 1770, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1163, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1163, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1163, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.707308541983366, "usage": {"completion_tokens": 125, "prompt_tokens": 2469, "total_tokens": 2594, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 767, "cached_tokens": 1163, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 767, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 767, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.982476457953453, "usage": {"completion_tokens": 171, "prompt_tokens": 2909, "total_tokens": 3080, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 45, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 440, "cached_tokens": 1930, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 440, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 440, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3162178749917075, "usage": {"completion_tokens": 112, "prompt_tokens": 3261, "total_tokens": 3373, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 352, "cached_tokens": 2370, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 352, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 352, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "dc66e964caeaef3dd396aadebdf9a3b92a5798fcf30157732a389247e68488bf", "csv_sha256": "7b2a69dd8804d26d95c0fb5fea78cc88f3a2f5ad497e1883445cdfbf1600da4a"} +{"instance_id": "bird049", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT id\nFROM cards\nWHERE borderColor = 'borderless'\n AND (cardKingdomId IS NULL OR cardKingdomFoilId IS NULL);\n```", "rows": 72, "sql": "SELECT id\nFROM cards\nWHERE borderColor = 'borderless'\n AND (cardKingdomId IS NULL OR cardKingdomFoilId IS NULL);", "seconds": 13.683674708008766, "calls": [{"seconds": 2.259525709087029, "usage": {"completion_tokens": 19, "prompt_tokens": 1620, "total_tokens": 1639, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1072, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1072, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1072, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.722519792034291, "usage": {"completion_tokens": 152, "prompt_tokens": 2166, "total_tokens": 2318, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 56, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1072, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.6549869580194354, "usage": {"completion_tokens": 51, "prompt_tokens": 2523, "total_tokens": 2574, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 357, "cached_tokens": 1618, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 357, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 357, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.758827375015244, "usage": {"completion_tokens": 41, "prompt_tokens": 2787, "total_tokens": 2828, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 264, "cached_tokens": 1975, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 264, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 264, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "203f858b51035a96baaf73fa49e17ab821bd57be1bf75ab6cd326237c174b28f", "csv_sha256": "304b105389e9a64f654c85075aef132a814afa322933d23e5b40c4761d3d730b"} +{"instance_id": "bird050", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH ruling_counts AS (\n SELECT c.uuid, COUNT(r.uuid) AS ruling_count\n FROM cards AS c\n LEFT JOIN rulings AS r ON r.uuid = c.uuid\n GROUP BY c.uuid\n)\nSELECT DISTINCT c.name, c.artist, c.isPromo\nFROM cards AS c\nJOIN ruling_counts AS rc ON rc.uuid = c.uuid\nWHERE rc.ruling_count = (SELECT MAX(ruling_count) FROM ruling_counts)\nORDER BY c.name, c.artist, c.isPromo;\n```", "rows": 2, "sql": "WITH ruling_counts AS (\n SELECT c.uuid, COUNT(r.uuid) AS ruling_count\n FROM cards AS c\n LEFT JOIN rulings AS r ON r.uuid = c.uuid\n GROUP BY c.uuid\n)\nSELECT DISTINCT c.name, c.artist, c.isPromo\nFROM cards AS c\nJOIN ruling_counts AS rc ON rc.uuid = c.uuid\nWHERE rc.ruling_count = (SELECT MAX(ruling_count) FROM ruling_counts)\nORDER BY c.name, c.artist, c.isPromo;", "seconds": 15.229144708951935, "calls": [{"seconds": 2.944930791039951, "usage": {"completion_tokens": 52, "prompt_tokens": 1622, "total_tokens": 1674, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1074, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1074, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1074, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.642086499952711, "usage": {"completion_tokens": 143, "prompt_tokens": 2238, "total_tokens": 2381, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 51, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 616, "cached_tokens": 1074, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 616, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 616, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6186018330045044, "usage": {"completion_tokens": 123, "prompt_tokens": 2515, "total_tokens": 2638, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 277, "cached_tokens": 1690, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 277, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 277, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.611795208067633, "usage": {"completion_tokens": 111, "prompt_tokens": 2798, "total_tokens": 2909, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 283, "cached_tokens": 1967, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 283, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 283, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1659783473c83dea80649646c61c96dfadb83106fe512c6aa9e9d137ecb4d608", "csv_sha256": "a869bf2c7fba8d2748dca27e39d2747b332387026f4b22d402f19bac26f9448b"} +{"instance_id": "bird051", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(\n 100.0 * COUNT(CASE WHEN c.uuid IN (\n SELECT fd.uuid\n FROM foreign_data AS fd\n WHERE fd.language = 'Chinese Simplified'\n ) THEN 1 END) / COUNT(*),\n 2\n) AS percentage\nFROM cards AS c;\n```", "rows": 1, "sql": "SELECT ROUND(\n 100.0 * COUNT(CASE WHEN c.uuid IN (\n SELECT fd.uuid\n FROM foreign_data AS fd\n WHERE fd.language = 'Chinese Simplified'\n ) THEN 1 END) / COUNT(*),\n 2\n) AS percentage\nFROM cards AS c;", "seconds": 14.19585370796267, "calls": [{"seconds": 2.7663672079797834, "usage": {"completion_tokens": 65, "prompt_tokens": 1615, "total_tokens": 1680, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1067, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1067, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1067, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.619586208020337, "usage": {"completion_tokens": 47, "prompt_tokens": 2294, "total_tokens": 2341, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 679, "cached_tokens": 1067, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 679, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 679, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.400450375047512, "usage": {"completion_tokens": 161, "prompt_tokens": 2572, "total_tokens": 2733, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 74, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1746, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9528156250016764, "usage": {"completion_tokens": 71, "prompt_tokens": 2824, "total_tokens": 2895, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 252, "cached_tokens": 2024, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 252, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 252, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "64767aefb80fec8fd58292470bfb9d7e5ef1d6c97ba46feaf88bd716d96f0dde", "csv_sha256": "b61e2c45ed51f08f403812666e44f79b90240f4b810ffbc4fee51a0de15a58c5"} +{"instance_id": "bird052", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT DISTINCT text FROM cards WHERE name = 'Benalish Knight';\n```", "rows": 1, "sql": "SELECT DISTINCT text FROM cards WHERE name = 'Benalish Knight';", "seconds": 18.931582083925605, "calls": [{"seconds": 1.9616225409554318, "usage": {"completion_tokens": 19, "prompt_tokens": 1615, "total_tokens": 1634, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1067, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1067, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1067, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.346595000009984, "usage": {"completion_tokens": 67, "prompt_tokens": 2161, "total_tokens": 2228, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 31, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1067, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.17894512496423, "usage": {"completion_tokens": 296, "prompt_tokens": 2411, "total_tokens": 2707, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 263, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 250, "cached_tokens": 1613, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 250, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 250, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.285316916066222, "usage": {"completion_tokens": 142, "prompt_tokens": 2774, "total_tokens": 2916, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 118, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 363, "cached_tokens": 1863, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 363, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 363, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a1bfed33c75fe21891e9f549beb7a64b8b346bcacf501f454b5129f6c26ed62e", "csv_sha256": "da53e67987801afd23d1c4b4c74d7c1e51b7e6020ea549fc2c4bf02fd6a06290"} +{"instance_id": "bird053", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(100.0 * AVG(EXISTS (\n SELECT 1\n FROM foreign_data AS f\n WHERE f.uuid = c.uuid\n AND f.language = 'French'\n)), 2) AS french_translation_percentage\nFROM cards AS c\nWHERE c.isStorySpotlight = 1;\n```", "rows": 1, "sql": "SELECT ROUND(100.0 * AVG(EXISTS (\n SELECT 1\n FROM foreign_data AS f\n WHERE f.uuid = c.uuid\n AND f.language = 'French'\n)), 2) AS french_translation_percentage\nFROM cards AS c\nWHERE c.isStorySpotlight = 1;", "seconds": 17.17101716599427, "calls": [{"seconds": 2.8415826249402016, "usage": {"completion_tokens": 51, "prompt_tokens": 1616, "total_tokens": 1667, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1068, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1068, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1068, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.786159708048217, "usage": {"completion_tokens": 164, "prompt_tokens": 2253, "total_tokens": 2417, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 72, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 637, "cached_tokens": 1068, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 637, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 637, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.116761540994048, "usage": {"completion_tokens": 82, "prompt_tokens": 2548, "total_tokens": 2630, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 295, "cached_tokens": 1705, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 295, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 295, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.046485250000842, "usage": {"completion_tokens": 71, "prompt_tokens": 2724, "total_tokens": 2795, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 176, "cached_tokens": 2000, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 176, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 176, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6083bfe6b2134b2cd3238b1622f8290982e9653ccee61b6f6227a92264d127e7", "csv_sha256": "93c4ec993deb996564635f34298f3b8277ab03e293f81270887a935f04076f68"} +{"instance_id": "bird054", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT id\nFROM cards\nWHERE duelDeck = 'a';\n```", "rows": 804, "sql": "SELECT id\nFROM cards\nWHERE duelDeck = 'a';", "seconds": 6.784164958051406, "calls": [{"seconds": 2.3296340410597622, "usage": {"completion_tokens": 19, "prompt_tokens": 1610, "total_tokens": 1629, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1062, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1062, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1062, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.2868722080020234, "usage": {"completion_tokens": 30, "prompt_tokens": 2156, "total_tokens": 2186, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1062, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.0850077499635518, "usage": {"completion_tokens": 21, "prompt_tokens": 2379, "total_tokens": 2400, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 223, "cached_tokens": 1608, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 223, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 223, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d40089c9d32c6307cc2c6c13873403eed77361a300f60c1d40790a573037c265", "csv_sha256": "ff4c0d9744171a378e1ab1801412b9a48dd6876b654f454bc4dc8c5ec03f55aa"} +{"instance_id": "bird055", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT c.uuid) AS banned_white_bordered_printings\nFROM cards AS c\nWHERE c.borderColor = 'white'\n AND c.uuid IN (\n SELECT l.uuid\n FROM legalities AS l\n WHERE l.status = 'Banned'\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT c.uuid) AS banned_white_bordered_printings\nFROM cards AS c\nWHERE c.borderColor = 'white'\n AND c.uuid IN (\n SELECT l.uuid\n FROM legalities AS l\n WHERE l.status = 'Banned'\n );", "seconds": 45.410689874901436, "calls": [{"seconds": 3.0898990830173716, "usage": {"completion_tokens": 80, "prompt_tokens": 1613, "total_tokens": 1693, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1065, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1065, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1065, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.4012462919345126, "usage": {"completion_tokens": 192, "prompt_tokens": 2451, "total_tokens": 2643, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 106, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 838, "cached_tokens": 1065, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 838, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 838, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.987479874980636, "usage": {"completion_tokens": 116, "prompt_tokens": 2759, "total_tokens": 2875, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 36, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 308, "cached_tokens": 1903, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 308, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 308, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8350653330562636, "usage": {"completion_tokens": 66, "prompt_tokens": 2965, "total_tokens": 3031, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 206, "cached_tokens": 2211, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 206, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 206, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ad134e2e3b2a4cd131f65f830e300da0d09d6a733f303fb3a4577cf341b64d56", "csv_sha256": "ecb1bdaf43b7fbebbb09d5b5b80a29baa6e57f5c9e0319e66519b9f8cc208f5e"} +{"instance_id": "bird056", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT c.uuid) AS printing_count\nFROM cards AS c\nJOIN (\n SELECT DISTINCT uuid\n FROM rulings\n WHERE text LIKE '%triggered ability%'\n) AS r ON r.uuid = c.uuid\nWHERE c.power IS NULL OR c.power LIKE '%*%';\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT c.uuid) AS printing_count\nFROM cards AS c\nJOIN (\n SELECT DISTINCT uuid\n FROM rulings\n WHERE text LIKE '%triggered ability%'\n) AS r ON r.uuid = c.uuid\nWHERE c.power IS NULL OR c.power LIKE '%*%';", "seconds": 46.68907229194883, "calls": [{"seconds": 2.3907456250162795, "usage": {"completion_tokens": 52, "prompt_tokens": 1640, "total_tokens": 1692, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1092, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1092, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1092, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.3209880830254406, "usage": {"completion_tokens": 21, "prompt_tokens": 2256, "total_tokens": 2277, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 616, "cached_tokens": 1092, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 616, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 616, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.713551041088067, "usage": {"completion_tokens": 127, "prompt_tokens": 2316, "total_tokens": 2443, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 36, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 60, "cached_tokens": 1708, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 60, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 60, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.995121542015113, "usage": {"completion_tokens": 85, "prompt_tokens": 2562, "total_tokens": 2647, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 246, "cached_tokens": 1768, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 246, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 246, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1539806249784306, "usage": {"completion_tokens": 69, "prompt_tokens": 2734, "total_tokens": 2803, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 172, "cached_tokens": 2014, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 172, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 172, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b660c722d8a5c606d3d0158c1472c0952faeddaf8efeb75ce78ac87bc574f9f4", "csv_sha256": "496c0011f3ababe1a1c86141add6ce294b89fb4354c1ed3f4a5b98fd019c0bf6"} +{"instance_id": "bird057", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH commander_legal AS (\n SELECT DISTINCT uuid\n FROM legalities\n WHERE format = 'commander' AND status = 'Legal'\n)\nSELECT 100.0 * AVG(CASE WHEN c.hasContentWarning = 0 THEN 1.0 ELSE 0.0 END)\n AS percentage_without_content_warning\nFROM cards AS c\nJOIN commander_legal AS l ON l.uuid = c.uuid;\n```", "rows": 1, "sql": "WITH commander_legal AS (\n SELECT DISTINCT uuid\n FROM legalities\n WHERE format = 'commander' AND status = 'Legal'\n)\nSELECT 100.0 * AVG(CASE WHEN c.hasContentWarning = 0 THEN 1.0 ELSE 0.0 END)\n AS percentage_without_content_warning\nFROM cards AS c\nJOIN commander_legal AS l ON l.uuid = c.uuid;", "seconds": 46.828713083057664, "calls": [{"seconds": 2.4614501249743626, "usage": {"completion_tokens": 51, "prompt_tokens": 1613, "total_tokens": 1664, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1065, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1065, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1065, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.215659916982986, "usage": {"completion_tokens": 167, "prompt_tokens": 2227, "total_tokens": 2394, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 56, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 614, "cached_tokens": 1065, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 614, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 614, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.297239499981515, "usage": {"completion_tokens": 55, "prompt_tokens": 2537, "total_tokens": 2592, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 310, "cached_tokens": 1679, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 310, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 310, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4285808749264106, "usage": {"completion_tokens": 106, "prompt_tokens": 2659, "total_tokens": 2765, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 122, "cached_tokens": 1989, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 122, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 122, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.167208791943267, "usage": {"completion_tokens": 93, "prompt_tokens": 2881, "total_tokens": 2974, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 222, "cached_tokens": 2111, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 222, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 222, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "bff8670454d28e00570770b5c933cb13484edcff322a15b8ef5a59785954a13f", "csv_sha256": "22168d43063fa0da2a6c4f48053efa817f8ddcc7703fe2c31a0dac3cfc0c5497"} +{"instance_id": "bird059", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS set_count\nFROM sets AS s\nWHERE s.block = 'Ice Age'\n AND EXISTS (\n SELECT 1\n FROM set_translations AS st\n WHERE st.setCode = s.code\n AND st.language = 'Italian'\n );\n```", "rows": 1, "sql": "SELECT COUNT(*) AS set_count\nFROM sets AS s\nWHERE s.block = 'Ice Age'\n AND EXISTS (\n SELECT 1\n FROM set_translations AS st\n WHERE st.setCode = s.code\n AND st.language = 'Italian'\n );", "seconds": 8.440463625011034, "calls": [{"seconds": 2.5210492919432, "usage": {"completion_tokens": 52, "prompt_tokens": 1615, "total_tokens": 1667, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1067, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1067, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1067, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.062264083069749, "usage": {"completion_tokens": 76, "prompt_tokens": 1874, "total_tokens": 1950, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 259, "cached_tokens": 1067, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 259, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 259, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8458541659638286, "usage": {"completion_tokens": 64, "prompt_tokens": 2033, "total_tokens": 2097, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 159, "cached_tokens": 1326, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 159, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 159, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e3006701fe27b70d9251f68c3b10549ed933224bcc94c5482b01b9073819415d", "csv_sha256": "02838770dd1eab89754c7b8c6e81e38bf8203dfb37575a356d3c2702f87e3f1f"} +{"instance_id": "bird060", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT 100.0 * AVG(CASE\n WHEN NULLIF(TRIM(c.cardKingdomId), '') IS NOT NULL\n AND NULLIF(TRIM(c.cardKingdomFoilId), '') IS NOT NULL\n THEN 1 ELSE 0\n END) AS percentage\nFROM cards AS c\nWHERE EXISTS (\n SELECT 1\n FROM sets AS s\n WHERE s.code = c.setCode\n AND s.name = 'Coldsnap'\n);\n```", "rows": 1, "sql": "SELECT 100.0 * AVG(CASE\n WHEN NULLIF(TRIM(c.cardKingdomId), '') IS NOT NULL\n AND NULLIF(TRIM(c.cardKingdomFoilId), '') IS NOT NULL\n THEN 1 ELSE 0\n END) AS percentage\nFROM cards AS c\nWHERE EXISTS (\n SELECT 1\n FROM sets AS s\n WHERE s.code = c.setCode\n AND s.name = 'Coldsnap'\n);", "seconds": 11.30571029195562, "calls": [{"seconds": 2.7261384590528905, "usage": {"completion_tokens": 50, "prompt_tokens": 1619, "total_tokens": 1669, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1071, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1071, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1071, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.156568583101034, "usage": {"completion_tokens": 213, "prompt_tokens": 2363, "total_tokens": 2576, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 93, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 744, "cached_tokens": 1071, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 744, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 744, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3185263329651207, "usage": {"completion_tokens": 107, "prompt_tokens": 2703, "total_tokens": 2810, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 340, "cached_tokens": 1815, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 340, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 340, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "c862a007ccdf26fb32905643823d53580648163051a4e021c34bb34ece376d72", "csv_sha256": "feca70d1d15c20abdf8214fa14d927c5792f63f5ab41ab8d8ab5a4475733a5d6"} +{"instance_id": "bird061", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH banned_printings AS (\n SELECT l.format, c.name AS card_name\n FROM legalities AS l\n JOIN cards AS c ON c.uuid = l.uuid\n WHERE l.status = 'Banned'\n), format_counts AS (\n SELECT format, COUNT(*) AS banned_printing_count\n FROM banned_printings\n GROUP BY format\n)\nSELECT DISTINCT b.format, b.card_name\nFROM banned_printings AS b\nJOIN format_counts AS f ON f.format = b.format\nWHERE f.banned_printing_count = (SELECT MAX(banned_printing_count) FROM format_counts)\nORDER BY b.format, b.card_name;\n```", "rows": 102, "sql": "WITH banned_printings AS (\n SELECT l.format, c.name AS card_name\n FROM legalities AS l\n JOIN cards AS c ON c.uuid = l.uuid\n WHERE l.status = 'Banned'\n), format_counts AS (\n SELECT format, COUNT(*) AS banned_printing_count\n FROM banned_printings\n GROUP BY format\n)\nSELECT DISTINCT b.format, b.card_name\nFROM banned_printings AS b\nJOIN format_counts AS f ON f.format = b.format\nWHERE f.banned_printing_count = (SELECT MAX(banned_printing_count) FROM format_counts)\nORDER BY b.format, b.card_name;", "seconds": 19.711184624931775, "calls": [{"seconds": 2.81458725000266, "usage": {"completion_tokens": 65, "prompt_tokens": 1620, "total_tokens": 1685, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1072, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1072, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1072, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.917373709031381, "usage": {"completion_tokens": 256, "prompt_tokens": 2276, "total_tokens": 2532, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 62, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 656, "cached_tokens": 1072, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 656, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 656, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.519565499969758, "usage": {"completion_tokens": 281, "prompt_tokens": 3318, "total_tokens": 3599, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 125, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1042, "cached_tokens": 1728, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1042, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1042, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8392146250698715, "usage": {"completion_tokens": 140, "prompt_tokens": 4083, "total_tokens": 4223, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 765, "cached_tokens": 2770, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 765, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 765, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "bd691978894600014e027d7f12c7cbc77db0f6f527773d1f8404b19b515d2200", "csv_sha256": "a3e0938c85cd6a20b22a29c7883271da3fb7769bb78d2c08bf827d1c679a52b6"} +{"instance_id": "bird062", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT c.name) AS card_count\nFROM cards AS c\nJOIN legalities AS l ON l.uuid = c.uuid\nWHERE l.format = 'brawl'\n AND l.status = 'Legal'\n AND c.leadershipSkills LIKE '%''brawl'': True%'\n AND instr(',' || c.types || ',', ',Creature,') > 0\n AND EXISTS (\n SELECT 1\n FROM cards AS p\n WHERE p.name = c.name AND p.isPromo = 1\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT c.name) AS card_count\nFROM cards AS c\nJOIN legalities AS l ON l.uuid = c.uuid\nWHERE l.format = 'brawl'\n AND l.status = 'Legal'\n AND c.leadershipSkills LIKE '%''brawl'': True%'\n AND instr(',' || c.types || ',', ',Creature,') > 0\n AND EXISTS (\n SELECT 1\n FROM cards AS p\n WHERE p.name = c.name AND p.isPromo = 1\n );", "seconds": 41.262143666041084, "calls": [{"seconds": 2.5990337919211015, "usage": {"completion_tokens": 80, "prompt_tokens": 1691, "total_tokens": 1771, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1143, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1143, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1143, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.491357084014453, "usage": {"completion_tokens": 106, "prompt_tokens": 2529, "total_tokens": 2635, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 838, "cached_tokens": 1143, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 838, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 838, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.914509708061814, "usage": {"completion_tokens": 386, "prompt_tokens": 3097, "total_tokens": 3483, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 62, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 568, "cached_tokens": 1981, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 568, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 568, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.098048583022319, "usage": {"completion_tokens": 259, "prompt_tokens": 3856, "total_tokens": 4115, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 82, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 759, "cached_tokens": 2549, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 759, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 759, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.446429542033002, "usage": {"completion_tokens": 220, "prompt_tokens": 4881, "total_tokens": 5101, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 86, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1025, "cached_tokens": 3308, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1025, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1025, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.888082958990708, "usage": {"completion_tokens": 118, "prompt_tokens": 5238, "total_tokens": 5356, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 357, "cached_tokens": 4333, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 357, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 357, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e731c0afd81b67c41aa3c0a2b7efa9d46a1f989190384d3fd52ed5a8d7d0faf1", "csv_sha256": "60ce1a60ccbc0ae77360e1d29ba06f36e989161d02d1b6ea8ca6182363a75aeb"} +{"instance_id": "bird063", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT MAX(CAST(frameVersion AS INTEGER)) - MIN(CAST(frameVersion AS INTEGER)) AS span_in_years\nFROM cards\nWHERE name = 'Tarmogoyf'\n AND frameVersion GLOB '[0-9][0-9][0-9][0-9]';\n```", "rows": 1, "sql": "SELECT MAX(CAST(frameVersion AS INTEGER)) - MIN(CAST(frameVersion AS INTEGER)) AS span_in_years\nFROM cards\nWHERE name = 'Tarmogoyf'\n AND frameVersion GLOB '[0-9][0-9][0-9][0-9]';", "seconds": 11.104232875048183, "calls": [{"seconds": 1.9155707909958437, "usage": {"completion_tokens": 19, "prompt_tokens": 1673, "total_tokens": 1692, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1125, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1125, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1125, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.42848766699899, "usage": {"completion_tokens": 38, "prompt_tokens": 2219, "total_tokens": 2257, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1125, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.731790874968283, "usage": {"completion_tokens": 116, "prompt_tokens": 2311, "total_tokens": 2427, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 35, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 92, "cached_tokens": 1671, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 92, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 92, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8969364169752225, "usage": {"completion_tokens": 69, "prompt_tokens": 2516, "total_tokens": 2585, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 205, "cached_tokens": 1763, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 205, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 205, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "741a2e6447f7b992aee19f0cfdfc4e8620ae54af4c18e470cbc571349eddadb1", "csv_sha256": "e21e317d4a1f5dff2956e392926ae4b81e12beefd33cbd30e8f24452f4a78639"} +{"instance_id": "bird065", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH translation_counts AS (\n SELECT setCode, COUNT(DISTINCT translation COLLATE BINARY) AS translation_count\n FROM set_translations\n GROUP BY setCode\n)\nSELECT SUM(s.totalSetSize) AS total_cards\nFROM sets AS s\nLEFT JOIN translation_counts AS t ON t.setCode = s.code\nWHERE COALESCE(t.translation_count, 0) < 5;\n```", "rows": 1, "sql": "WITH translation_counts AS (\n SELECT setCode, COUNT(DISTINCT translation COLLATE BINARY) AS translation_count\n FROM set_translations\n GROUP BY setCode\n)\nSELECT SUM(s.totalSetSize) AS total_cards\nFROM sets AS s\nLEFT JOIN translation_counts AS t ON t.setCode = s.code\nWHERE COALESCE(t.translation_count, 0) < 5;", "seconds": 10.79451491695363, "calls": [{"seconds": 2.4349495839560404, "usage": {"completion_tokens": 52, "prompt_tokens": 1761, "total_tokens": 1813, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1213, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1213, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1213, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.322218540939502, "usage": {"completion_tokens": 171, "prompt_tokens": 2020, "total_tokens": 2191, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 68, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 259, "cached_tokens": 1213, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 259, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 259, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.015063124941662, "usage": {"completion_tokens": 90, "prompt_tokens": 2301, "total_tokens": 2391, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 281, "cached_tokens": 1472, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 281, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 281, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "928daddf5e2a4d70f7395891a1ceb5b3eebe51cebbed2874605f78594e278a07", "csv_sha256": "9b99d448e0fcf4da4c3e8468972e2442295d2ac27de1bac11508d8179aaa5b03"} +{"instance_id": "bird066", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH set_status AS (\n SELECT s.type AS set_type,\n s.totalSetSize AS card_count,\n EXISTS (\n SELECT 1\n FROM set_translations AS st\n WHERE st.setCode = s.code\n AND TRIM(st.translation) <> ''\n ) AS has_translation\n FROM sets AS s\n)\nSELECT set_type,\n COUNT(CASE WHEN has_translation THEN 1 END) AS translated_set_count,\n CASE WHEN COUNT(CASE WHEN has_translation THEN 1 END) = 0 THEN 0\n ELSE SUM(CASE WHEN has_translation THEN card_count END)\n END AS total_cards\nFROM set_status\nGROUP BY set_type\nORDER BY set_type;\n```", "rows": 20, "sql": "WITH set_status AS (\n SELECT s.type AS set_type,\n s.totalSetSize AS card_count,\n EXISTS (\n SELECT 1\n FROM set_translations AS st\n WHERE st.setCode = s.code\n AND TRIM(st.translation) <> ''\n ) AS has_translation\n FROM sets AS s\n)\nSELECT set_type,\n COUNT(CASE WHEN has_translation THEN 1 END) AS translated_set_count,\n CASE WHEN COUNT(CASE WHEN has_translation THEN 1 END) = 0 THEN 0\n ELSE SUM(CASE WHEN has_translation THEN card_count END)\n END AS total_cards\nFROM set_status\nGROUP BY set_type\nORDER BY set_type;", "seconds": 11.770612667081878, "calls": [{"seconds": 2.2793621249729767, "usage": {"completion_tokens": 52, "prompt_tokens": 1729, "total_tokens": 1781, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1181, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1181, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1181, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.546185165992938, "usage": {"completion_tokens": 256, "prompt_tokens": 1988, "total_tokens": 2244, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 83, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 259, "cached_tokens": 1181, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 259, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 259, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8255783329950646, "usage": {"completion_tokens": 152, "prompt_tokens": 2612, "total_tokens": 2764, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 624, "cached_tokens": 1440, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 624, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 624, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "faa1c60d4ea079c17fd46b9f7b2eaec43b2983c09cbe29b061831757a597f8cf", "csv_sha256": "5b951c6896d556b708e84c25024e221a6d1f1dfaf8af69434a5f6de90416c831"} +{"instance_id": "bird067", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH factory_rulings AS (\n SELECT DATE(r.date) AS ruling_date, r.text AS ruling_text\n FROM rulings AS r\n WHERE EXISTS (\n SELECT 1\n FROM cards AS c\n WHERE c.uuid = r.uuid\n AND c.name = 'Mishra''s Factory'\n )\n)\nSELECT COUNT(DISTINCT ruling_text) AS ruling_count\nFROM factory_rulings\nWHERE ruling_date = (SELECT MAX(ruling_date) FROM factory_rulings);\n```", "rows": 1, "sql": "WITH factory_rulings AS (\n SELECT DATE(r.date) AS ruling_date, r.text AS ruling_text\n FROM rulings AS r\n WHERE EXISTS (\n SELECT 1\n FROM cards AS c\n WHERE c.uuid = r.uuid\n AND c.name = 'Mishra''s Factory'\n )\n)\nSELECT COUNT(DISTINCT ruling_text) AS ruling_count\nFROM factory_rulings\nWHERE ruling_date = (SELECT MAX(ruling_date) FROM factory_rulings);", "seconds": 12.99045041599311, "calls": [{"seconds": 2.2869134159991518, "usage": {"completion_tokens": 52, "prompt_tokens": 1684, "total_tokens": 1736, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1136, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1136, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1136, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4788529169745743, "usage": {"completion_tokens": 124, "prompt_tokens": 2300, "total_tokens": 2424, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 20, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 616, "cached_tokens": 1136, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 616, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 616, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2996305000269786, "usage": {"completion_tokens": 127, "prompt_tokens": 2829, "total_tokens": 2956, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 529, "cached_tokens": 1752, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 529, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 529, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5574584999121726, "usage": {"completion_tokens": 112, "prompt_tokens": 3088, "total_tokens": 3200, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 259, "cached_tokens": 2281, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 259, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 259, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7169577b155546fc6c3dff755c094d48385fe3a9914cb1c99ad921fba9b935bc", "csv_sha256": "fae45a2f622195d7c553eee771902e9eacf64d54a81691a9db5c0ee7127e8b3d"} +{"instance_id": "bird068", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH artist_counts AS (\n SELECT artist, COUNT(DISTINCT name) AS creature_card_count\n FROM cards\n WHERE ',' || types || ',' LIKE '%,Creature,%'\n AND artist IS NOT NULL\n GROUP BY artist\n)\nSELECT artist, creature_card_count\nFROM artist_counts\nWHERE creature_card_count = (SELECT MAX(creature_card_count) FROM artist_counts)\nORDER BY artist;\n```", "rows": 1, "sql": "WITH artist_counts AS (\n SELECT artist, COUNT(DISTINCT name) AS creature_card_count\n FROM cards\n WHERE ',' || types || ',' LIKE '%,Creature,%'\n AND artist IS NOT NULL\n GROUP BY artist\n)\nSELECT artist, creature_card_count\nFROM artist_counts\nWHERE creature_card_count = (SELECT MAX(creature_card_count) FROM artist_counts)\nORDER BY artist;", "seconds": 13.551278667058796, "calls": [{"seconds": 2.0749759579775855, "usage": {"completion_tokens": 19, "prompt_tokens": 1658, "total_tokens": 1677, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1110, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1110, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1110, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.70219262491446, "usage": {"completion_tokens": 45, "prompt_tokens": 2204, "total_tokens": 2249, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1110, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.078556583030149, "usage": {"completion_tokens": 198, "prompt_tokens": 2354, "total_tokens": 2552, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 93, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 150, "cached_tokens": 1656, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 150, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 150, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5841920420061797, "usage": {"completion_tokens": 90, "prompt_tokens": 2670, "total_tokens": 2760, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 316, "cached_tokens": 1806, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 316, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 316, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "3e4f6c8017fb515fb0c2f4ba5aaae9c9484b3f5e72e13da5690c1c830049199e", "csv_sha256": "23390c742855a81802d5a9be95e7479f9627db145fd6e1017bcf6900e18c23c3"} +{"instance_id": "bird069", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT frameVersion, COUNT(*) AS card_count\nFROM cards\nWHERE frameVersion = (\n SELECT MAX(frameVersion)\n FROM cards\n WHERE convertedManaCost = 0\n)\nGROUP BY frameVersion;\n```", "rows": 1, "sql": "SELECT frameVersion, COUNT(*) AS card_count\nFROM cards\nWHERE frameVersion = (\n SELECT MAX(frameVersion)\n FROM cards\n WHERE convertedManaCost = 0\n)\nGROUP BY frameVersion;", "seconds": 15.105044167023152, "calls": [{"seconds": 2.0600722499657422, "usage": {"completion_tokens": 19, "prompt_tokens": 1703, "total_tokens": 1722, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1155, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1155, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1155, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.5894747079582885, "usage": {"completion_tokens": 60, "prompt_tokens": 2249, "total_tokens": 2309, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1155, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.318830791977234, "usage": {"completion_tokens": 297, "prompt_tokens": 2439, "total_tokens": 2736, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 232, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 190, "cached_tokens": 1701, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 190, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 190, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.025638082996011, "usage": {"completion_tokens": 51, "prompt_tokens": 2814, "total_tokens": 2865, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 375, "cached_tokens": 1891, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 375, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 375, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7a9a03c6015c66f4d4a28dd136234f4c5e1ef62f59aef3a6fa25fbe4622b7bba", "csv_sha256": "f9fed755ca3315d228db8d836ce1ee0a037597807b03796289740118f32406e9"} +{"instance_id": "bird070", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH frame_counts AS (\n SELECT frameVersion,\n COUNT(*) AS printing_count,\n SUM(COUNT(*)) OVER () AS total_printings\n FROM cards\n WHERE name = 'Tarmogoyf'\n GROUP BY frameVersion\n)\nSELECT CAST(frameVersion AS INTEGER) AS frame_year,\n ROUND(100.0 * printing_count / total_printings, 2) AS percentage\nFROM frame_counts\nWHERE frameVersion GLOB '[0-9][0-9][0-9][0-9]'\nORDER BY frame_year DESC\nLIMIT 1;\n```", "rows": 1, "sql": "WITH frame_counts AS (\n SELECT frameVersion,\n COUNT(*) AS printing_count,\n SUM(COUNT(*)) OVER () AS total_printings\n FROM cards\n WHERE name = 'Tarmogoyf'\n GROUP BY frameVersion\n)\nSELECT CAST(frameVersion AS INTEGER) AS frame_year,\n ROUND(100.0 * printing_count / total_printings, 2) AS percentage\nFROM frame_counts\nWHERE frameVersion GLOB '[0-9][0-9][0-9][0-9]'\nORDER BY frame_year DESC\nLIMIT 1;", "seconds": 23.008978792000562, "calls": [{"seconds": 1.8762178749311715, "usage": {"completion_tokens": 19, "prompt_tokens": 1694, "total_tokens": 1713, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1146, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1146, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1146, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.165058000013232, "usage": {"completion_tokens": 145, "prompt_tokens": 2240, "total_tokens": 2385, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 88, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1146, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.00183833297342, "usage": {"completion_tokens": 371, "prompt_tokens": 2516, "total_tokens": 2887, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 225, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 276, "cached_tokens": 1692, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 276, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 276, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.8864782500313595, "usage": {"completion_tokens": 127, "prompt_tokens": 3039, "total_tokens": 3166, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 523, "cached_tokens": 1968, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 523, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 523, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "228461e146b90c9828df881a9732d5e8b36c54ff12464980845ffd9a5ec9aace", "csv_sha256": "8f946425846cf8755d2c3188cdbb8b287f70200e53345aa656b6befaa2bc353c"} +{"instance_id": "bird071", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT c.name) AS card_count\nFROM cards AS c\nJOIN legalities AS l ON l.uuid = c.uuid\nWHERE c.manaCost = '{0}'\n AND l.format = 'commander'\n AND l.status = 'Legal';\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT c.name) AS card_count\nFROM cards AS c\nJOIN legalities AS l ON l.uuid = c.uuid\nWHERE c.manaCost = '{0}'\n AND l.format = 'commander'\n AND l.status = 'Legal';", "seconds": 8.191145249991678, "calls": [{"seconds": 2.4981802499387413, "usage": {"completion_tokens": 51, "prompt_tokens": 1693, "total_tokens": 1744, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1145, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1145, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1145, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.800430125091225, "usage": {"completion_tokens": 75, "prompt_tokens": 2307, "total_tokens": 2382, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 614, "cached_tokens": 1145, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 614, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 614, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.6789387080352753, "usage": {"completion_tokens": 63, "prompt_tokens": 2464, "total_tokens": 2527, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 157, "cached_tokens": 1759, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 157, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 157, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "47141c8c7f6be394859e17d5d4d375a63a6341b1b24b3f3836d1485e695ab62b", "csv_sha256": "cfd50205aa60e831e82cbcf058a18b74c4fa6ffe7d7999148dbef8976b1078fe"} +{"instance_id": "bird072", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS card_count\nFROM cards\nWHERE instr(',' || keywords || ',', ',Flying,') > 0\n AND instr(',' || keywords || ',', ',Cycling,') > 0;\n```", "rows": 1, "sql": "SELECT COUNT(*) AS card_count\nFROM cards\nWHERE instr(',' || keywords || ',', ',Flying,') > 0\n AND instr(',' || keywords || ',', ',Cycling,') > 0;", "seconds": 10.26296345796436, "calls": [{"seconds": 2.088542041950859, "usage": {"completion_tokens": 19, "prompt_tokens": 1657, "total_tokens": 1676, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1109, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1109, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1109, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.550906250020489, "usage": {"completion_tokens": 44, "prompt_tokens": 2203, "total_tokens": 2247, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1109, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.857834875001572, "usage": {"completion_tokens": 59, "prompt_tokens": 2344, "total_tokens": 2403, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 141, "cached_tokens": 1655, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 141, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 141, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.642544124973938, "usage": {"completion_tokens": 50, "prompt_tokens": 2472, "total_tokens": 2522, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 128, "cached_tokens": 1796, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 128, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 128, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "887b0d8d0752cf94bfeb8f83490c94f376b417e4adad277b085d4de37624da72", "csv_sha256": "33a4c0408c0cde53bd7ffc2a4534ac0bfe0289c3d8c64df265a119ccf54361a5"} +{"instance_id": "bird073", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH first_printing AS (\n SELECT s.code, s.name, s.releaseDate\n FROM sets AS s\n WHERE s.releaseDate IS NOT NULL\n AND EXISTS (\n SELECT 1\n FROM cards AS c\n WHERE c.setCode = s.code\n AND c.name = 'Abyssal Horror'\n )\n ORDER BY s.releaseDate ASC, s.code ASC\n LIMIT 1\n),\nlatest_set AS (\n SELECT s.code, s.name, s.releaseDate\n FROM sets AS s\n WHERE s.releaseDate IS NOT NULL\n ORDER BY s.releaseDate DESC, s.code ASC\n LIMIT 1\n),\nselected_sets AS (\n SELECT code, name, releaseDate FROM first_printing\n UNION\n SELECT code, name, releaseDate FROM latest_set\n)\nSELECT s.name AS set_name,\n ROUND(\n 100.0 * COUNT(CASE\n WHEN TRIM(c.manaCost) <> '' AND c.convertedManaCost <= 3 THEN 1\n END) / NULLIF(COUNT(c.setCode), 0),\n 2\n ) AS percentage\nFROM selected_sets AS s\nLEFT JOIN cards AS c ON c.setCode = s.code\nGROUP BY s.code, s.name, s.releaseDate\nORDER BY s.releaseDate, s.code;\n```", "rows": 2, "sql": "WITH first_printing AS (\n SELECT s.code, s.name, s.releaseDate\n FROM sets AS s\n WHERE s.releaseDate IS NOT NULL\n AND EXISTS (\n SELECT 1\n FROM cards AS c\n WHERE c.setCode = s.code\n AND c.name = 'Abyssal Horror'\n )\n ORDER BY s.releaseDate ASC, s.code ASC\n LIMIT 1\n),\nlatest_set AS (\n SELECT s.code, s.name, s.releaseDate\n FROM sets AS s\n WHERE s.releaseDate IS NOT NULL\n ORDER BY s.releaseDate DESC, s.code ASC\n LIMIT 1\n),\nselected_sets AS (\n SELECT code, name, releaseDate FROM first_printing\n UNION\n SELECT code, name, releaseDate FROM latest_set\n)\nSELECT s.name AS set_name,\n ROUND(\n 100.0 * COUNT(CASE\n WHEN TRIM(c.manaCost) <> '' AND c.convertedManaCost <= 3 THEN 1\n END) / NULLIF(COUNT(c.setCode), 0),\n 2\n ) AS percentage\nFROM selected_sets AS s\nLEFT JOIN cards AS c ON c.setCode = s.code\nGROUP BY s.code, s.name, s.releaseDate\nORDER BY s.releaseDate, s.code;", "seconds": 34.44143225008156, "calls": [{"seconds": 2.595458082971163, "usage": {"completion_tokens": 50, "prompt_tokens": 1814, "total_tokens": 1864, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1266, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1266, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1266, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.56197899999097, "usage": {"completion_tokens": 475, "prompt_tokens": 2558, "total_tokens": 3033, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 167, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 744, "cached_tokens": 1266, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 744, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 744, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.48221570905298, "usage": {"completion_tokens": 287, "prompt_tokens": 3359, "total_tokens": 3646, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 801, "cached_tokens": 2010, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 801, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 801, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7111b352773c5d751c694f0d80a010d238640ce62722de61bf03e1f0fdd855a5", "csv_sha256": "82633bdb8f4dbf83007de88dbeca92bd7ad0ebbf458f2a7792aa1522e15411fe"} +{"instance_id": "bird074", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT name) AS release_promo_card_count\nFROM cards\nWHERE isPromo = 1\n AND instr(',' || promoTypes || ',', ',release,') > 0;\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT name) AS release_promo_card_count\nFROM cards\nWHERE isPromo = 1\n AND instr(',' || promoTypes || ',', ',release,') > 0;", "seconds": 15.718285082955845, "calls": [{"seconds": 2.0111868330277503, "usage": {"completion_tokens": 19, "prompt_tokens": 1668, "total_tokens": 1687, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1120, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1120, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1120, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.629111540969461, "usage": {"completion_tokens": 52, "prompt_tokens": 2214, "total_tokens": 2266, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1120, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.033079624990933, "usage": {"completion_tokens": 194, "prompt_tokens": 2470, "total_tokens": 2664, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 120, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 256, "cached_tokens": 1666, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 256, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 256, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.031482834019698, "usage": {"completion_tokens": 57, "prompt_tokens": 2772, "total_tokens": 2829, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 302, "cached_tokens": 1922, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 302, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 302, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8745323750190437, "usage": {"completion_tokens": 49, "prompt_tokens": 2900, "total_tokens": 2949, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 128, "cached_tokens": 2224, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 128, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 128, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "80fbae23accb888137f8815e95202816a2030eb96db553c833a2603f3f49b3bf", "csv_sha256": "a0d1c62bc4e595e1e40f278509408bbe089a747ed977dba6d5d3d0ff3cd96d74"} +{"instance_id": "bird075", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH abzan_cards AS (\n SELECT c.uuid, c.name, c.number,\n RANK() OVER (ORDER BY CAST(c.number AS INTEGER) DESC) AS collector_rank\n FROM cards AS c\n WHERE c.watermark = 'abzan' COLLATE NOCASE\n)\nSELECT a.name,\n a.number AS collector_number,\n (SELECT COUNT(*) FROM foreign_data AS f WHERE f.uuid = a.uuid) AS foreign_language_printings\nFROM abzan_cards AS a\nWHERE a.collector_rank = 1\nORDER BY a.name;\n```", "rows": 1, "sql": "WITH abzan_cards AS (\n SELECT c.uuid, c.name, c.number,\n RANK() OVER (ORDER BY CAST(c.number AS INTEGER) DESC) AS collector_rank\n FROM cards AS c\n WHERE c.watermark = 'abzan' COLLATE NOCASE\n)\nSELECT a.name,\n a.number AS collector_number,\n (SELECT COUNT(*) FROM foreign_data AS f WHERE f.uuid = a.uuid) AS foreign_language_printings\nFROM abzan_cards AS a\nWHERE a.collector_rank = 1\nORDER BY a.name;", "seconds": 19.70194304198958, "calls": [{"seconds": 2.3085158329922706, "usage": {"completion_tokens": 51, "prompt_tokens": 1750, "total_tokens": 1801, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1202, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1202, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1202, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.0288708340376616, "usage": {"completion_tokens": 168, "prompt_tokens": 2387, "total_tokens": 2555, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 83, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 637, "cached_tokens": 1202, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 637, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 637, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.6193487090058625, "usage": {"completion_tokens": 271, "prompt_tokens": 2877, "total_tokens": 3148, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 133, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 490, "cached_tokens": 1839, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 490, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 490, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.596111499937251, "usage": {"completion_tokens": 122, "prompt_tokens": 3310, "total_tokens": 3432, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 433, "cached_tokens": 2329, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 433, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 433, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "cd3800b40239b9a6f14f7599e1ec10e36e68e3f1816da3b334f73a7457cf5b05", "csv_sha256": "f5b90a9492770690e1019fc8c12ea60e1b7d843b46b85f2f61c618d74f474dc8"} +{"instance_id": "bird076", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS card_count\nFROM cards\nWHERE borderColor = 'white'\n AND power NOT LIKE '%*%'\n AND CAST(power AS REAL) < 3;\n```", "rows": 1, "sql": "SELECT COUNT(*) AS card_count\nFROM cards\nWHERE borderColor = 'white'\n AND power NOT LIKE '%*%'\n AND CAST(power AS REAL) < 3;", "seconds": 17.407104041078128, "calls": [{"seconds": 2.08036079199519, "usage": {"completion_tokens": 19, "prompt_tokens": 1671, "total_tokens": 1690, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1123, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1123, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1123, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0600000420818105, "usage": {"completion_tokens": 68, "prompt_tokens": 2217, "total_tokens": 2285, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 31, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1123, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.308353833970614, "usage": {"completion_tokens": 360, "prompt_tokens": 2357, "total_tokens": 2717, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 302, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 140, "cached_tokens": 1669, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 140, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 140, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.881849625031464, "usage": {"completion_tokens": 44, "prompt_tokens": 2781, "total_tokens": 2825, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 424, "cached_tokens": 1809, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 424, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 424, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "46f822cd7bb595252d51eaf0611f065645da91e7ee46f0261334041edbea6edf", "csv_sha256": "b002e31d115902f8d948cc4a93234c8a56d3e2b5808ef5dba3d3468c7f1f7b39"} +{"instance_id": "bird077", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH flash_cards AS (\n SELECT c.name, c.convertedManaCost\n FROM cards AS c\n JOIN sets AS s ON s.code = c.setCode\n WHERE s.name = 'Dark Ascension'\n AND instr(',' || c.keywords || ',', ',Flash,') > 0\n)\nSELECT DISTINCT name\nFROM flash_cards\nWHERE convertedManaCost = (SELECT MAX(convertedManaCost) FROM flash_cards)\nORDER BY name;\n```", "rows": 3, "sql": "WITH flash_cards AS (\n SELECT c.name, c.convertedManaCost\n FROM cards AS c\n JOIN sets AS s ON s.code = c.setCode\n WHERE s.name = 'Dark Ascension'\n AND instr(',' || c.keywords || ',', ',Flash,') > 0\n)\nSELECT DISTINCT name\nFROM flash_cards\nWHERE convertedManaCost = (SELECT MAX(convertedManaCost) FROM flash_cards)\nORDER BY name;", "seconds": 12.079331124899909, "calls": [{"seconds": 2.310860582976602, "usage": {"completion_tokens": 50, "prompt_tokens": 1715, "total_tokens": 1765, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1167, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1167, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1167, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9927861660253257, "usage": {"completion_tokens": 72, "prompt_tokens": 2459, "total_tokens": 2531, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 744, "cached_tokens": 1167, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 744, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 744, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1789859159616753, "usage": {"completion_tokens": 114, "prompt_tokens": 2925, "total_tokens": 3039, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 466, "cached_tokens": 1911, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 466, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 466, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.455560000031255, "usage": {"completion_tokens": 101, "prompt_tokens": 3174, "total_tokens": 3275, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 249, "cached_tokens": 2377, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 249, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 249, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9d42000fe58f13c94bb2712817b5ba69dcedff51faf8a094f44ccc97fd84c977", "csv_sha256": "25ad07c37960a81c63501194ffeedb483a0246596d8c0e9d8d9e48da8d080532"} +{"instance_id": "bird078", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n s.name,\n s.keyruneCode,\n (\n SELECT COUNT(DISTINCT st.language)\n FROM set_translations AS st\n WHERE st.setCode = s.code\n AND NULLIF(TRIM(st.translation), '') IS NOT NULL\n ) AS language_count\nFROM sets AS s\nWHERE s.releaseDate >= '2020-01-01'\n AND s.releaseDate < '2021-01-01'\nORDER BY s.releaseDate, s.name, s.code;\n```", "rows": 34, "sql": "SELECT\n s.name,\n s.keyruneCode,\n (\n SELECT COUNT(DISTINCT st.language)\n FROM set_translations AS st\n WHERE st.setCode = s.code\n AND NULLIF(TRIM(st.translation), '') IS NOT NULL\n ) AS language_count\nFROM sets AS s\nWHERE s.releaseDate >= '2020-01-01'\n AND s.releaseDate < '2021-01-01'\nORDER BY s.releaseDate, s.name, s.code;", "seconds": 14.017660540994257, "calls": [{"seconds": 2.32140137499664, "usage": {"completion_tokens": 52, "prompt_tokens": 1714, "total_tokens": 1766, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1166, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1166, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1166, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.928732709027827, "usage": {"completion_tokens": 159, "prompt_tokens": 1973, "total_tokens": 2132, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 44, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 259, "cached_tokens": 1166, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 259, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 259, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.014437082922086, "usage": {"completion_tokens": 128, "prompt_tokens": 2385, "total_tokens": 2513, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 412, "cached_tokens": 1425, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 412, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 412, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7321977079845965, "usage": {"completion_tokens": 113, "prompt_tokens": 3062, "total_tokens": 3175, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 677, "cached_tokens": 1837, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 677, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 677, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8a3e699a01b3269ec38e92594fad636c7da0867d1f013226d8bcb5fd232ff256", "csv_sha256": "2c7d6b16fac9cb78c67dc6209b5192cc02b96e7e9e86e4c7c49fa883c65e1230"} +{"instance_id": "bird079", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT SUM(s.totalSetSize) AS total_cards\nFROM sets AS s\nWHERE s.releaseDate >= '2017-01-01'\n AND s.releaseDate < '2018-01-01'\n AND EXISTS (\n SELECT 1\n FROM set_translations AS t\n WHERE t.setCode = s.code\n AND TRIM(t.language) <> ''\n AND TRIM(t.language) COLLATE NOCASE <> 'English'\n AND TRIM(t.translation) <> ''\n );\n```", "rows": 1, "sql": "SELECT SUM(s.totalSetSize) AS total_cards\nFROM sets AS s\nWHERE s.releaseDate >= '2017-01-01'\n AND s.releaseDate < '2018-01-01'\n AND EXISTS (\n SELECT 1\n FROM set_translations AS t\n WHERE t.setCode = s.code\n AND TRIM(t.language) <> ''\n AND TRIM(t.language) COLLATE NOCASE <> 'English'\n AND TRIM(t.translation) <> ''\n );", "seconds": 25.126754082972184, "calls": [{"seconds": 3.3628711249912158, "usage": {"completion_tokens": 67, "prompt_tokens": 1740, "total_tokens": 1807, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1192, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1192, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1192, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.857675042003393, "usage": {"completion_tokens": 266, "prompt_tokens": 2539, "total_tokens": 2805, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 123, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 799, "cached_tokens": 1192, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 799, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 799, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.283761958009563, "usage": {"completion_tokens": 263, "prompt_tokens": 4067, "total_tokens": 4330, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 132, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1528, "cached_tokens": 1991, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1528, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1528, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.103082666057162, "usage": {"completion_tokens": 351, "prompt_tokens": 4461, "total_tokens": 4812, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 237, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 394, "cached_tokens": 3519, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 394, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 394, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1d4460399ec641eb647527e522d8a58c6582b7f91edad9d707a8b450927f894b", "csv_sha256": "de3922cb88d49a0b17b6c43e143c7f40b827b3f3811b284fd13e05457cb2d62c"} +{"instance_id": "bird080", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS card_count\nFROM cards\nWHERE duelDeck = 'b'\n AND hasFoil = 0\n AND power = CAST(CAST(power AS INTEGER) AS TEXT)\n AND CAST(power AS INTEGER) < 3;\n```", "rows": 1, "sql": "SELECT COUNT(*) AS card_count\nFROM cards\nWHERE duelDeck = 'b'\n AND hasFoil = 0\n AND power = CAST(CAST(power AS INTEGER) AS TEXT)\n AND CAST(power AS INTEGER) < 3;", "seconds": 13.789198582991958, "calls": [{"seconds": 2.0102047079708427, "usage": {"completion_tokens": 19, "prompt_tokens": 1665, "total_tokens": 1684, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1117, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1117, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1117, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1832537499722093, "usage": {"completion_tokens": 69, "prompt_tokens": 2211, "total_tokens": 2280, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 20, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1117, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.053270958014764, "usage": {"completion_tokens": 169, "prompt_tokens": 2410, "total_tokens": 2579, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 98, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 199, "cached_tokens": 1663, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 199, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 199, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4739373750053346, "usage": {"completion_tokens": 59, "prompt_tokens": 2657, "total_tokens": 2716, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 247, "cached_tokens": 1862, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 247, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 247, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a545b11bc554ea49f04c0f393c897ea927fe000e561ec2b7595af8eb74cd2e81", "csv_sha256": "df955849972331f0da32a0390f30e5d2df7c60c696b0091d15ae149b0c53d5af"} +{"instance_id": "bird081", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH artist_counts AS (\n SELECT artist, COUNT(*) AS card_count\n FROM cards\n WHERE borderColor = 'black'\n AND instr(',' || availability || ',', ',arena,') > 0\n AND trim(power) NOT GLOB '*[^0-9]*'\n AND CAST(trim(power) AS INTEGER) >= 10\n GROUP BY artist\n)\nSELECT artist, card_count\nFROM artist_counts\nWHERE card_count = (SELECT MAX(card_count) FROM artist_counts)\nORDER BY artist;\n```", "rows": 3, "sql": "WITH artist_counts AS (\n SELECT artist, COUNT(*) AS card_count\n FROM cards\n WHERE borderColor = 'black'\n AND instr(',' || availability || ',', ',arena,') > 0\n AND trim(power) NOT GLOB '*[^0-9]*'\n AND CAST(trim(power) AS INTEGER) >= 10\n GROUP BY artist\n)\nSELECT artist, card_count\nFROM artist_counts\nWHERE card_count = (SELECT MAX(card_count) FROM artist_counts)\nORDER BY artist;", "seconds": 18.656341332942247, "calls": [{"seconds": 3.2084666249575093, "usage": {"completion_tokens": 19, "prompt_tokens": 1754, "total_tokens": 1773, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1206, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1206, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1206, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.829977542045526, "usage": {"completion_tokens": 53, "prompt_tokens": 2300, "total_tokens": 2353, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1206, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.987787374993786, "usage": {"completion_tokens": 75, "prompt_tokens": 2455, "total_tokens": 2530, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 155, "cached_tokens": 1752, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 155, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 155, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.9774597499053925, "usage": {"completion_tokens": 247, "prompt_tokens": 3218, "total_tokens": 3465, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 118, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 763, "cached_tokens": 1907, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 763, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 763, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4774541669758037, "usage": {"completion_tokens": 113, "prompt_tokens": 3622, "total_tokens": 3735, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 404, "cached_tokens": 2670, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 404, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 404, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "93314346ac9d5a0d48c349933559d1913614b497de01c0d22eae92ad69fab8c7", "csv_sha256": "1a230de0d744f4b7f4fc64d1b878f3bb68db60deb7bc211d96d7a24c7da13f6e"} +{"instance_id": "bird082", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT c.name) AS card_count\nFROM cards AS c\nWHERE c.hasContentWarning = 1\n AND instr(',' || c.availability || ',', ',paper,') > 0\n AND NOT EXISTS (\n SELECT 1\n FROM cards AS m\n WHERE m.name = c.name\n AND instr(',' || m.availability || ',', ',mtgo,') > 0\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT c.name) AS card_count\nFROM cards AS c\nWHERE c.hasContentWarning = 1\n AND instr(',' || c.availability || ',', ',paper,') > 0\n AND NOT EXISTS (\n SELECT 1\n FROM cards AS m\n WHERE m.name = c.name\n AND instr(',' || m.availability || ',', ',mtgo,') > 0\n );", "seconds": 14.312723000068218, "calls": [{"seconds": 2.5057426660787314, "usage": {"completion_tokens": 19, "prompt_tokens": 1700, "total_tokens": 1719, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1152, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1152, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1152, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9378907079808414, "usage": {"completion_tokens": 68, "prompt_tokens": 2246, "total_tokens": 2314, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1152, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.804028291953728, "usage": {"completion_tokens": 144, "prompt_tokens": 3469, "total_tokens": 3613, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 35, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1223, "cached_tokens": 1698, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1223, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1223, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.375997625058517, "usage": {"completion_tokens": 97, "prompt_tokens": 3729, "total_tokens": 3826, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 260, "cached_tokens": 2921, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 260, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 260, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "45e4d9c34e4722c30220d8340888c25d73ef11409586f1681a973dec5406eb0a", "csv_sha256": "b2daa6972a128f8b5a9ea07f6511b78e95d8e1cc73603c8137c2761ca5c52849"} +{"instance_id": "bird083", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n s.type AS expansion_type,\n COUNT(CASE WHEN EXISTS (\n SELECT 1\n FROM set_translations AS st\n WHERE st.setCode = s.code\n AND st.language = 'Japanese'\n AND TRIM(st.translation) <> ''\n ) THEN 1 END) AS japanese_name_count\nFROM sets AS s\nGROUP BY s.type\nORDER BY s.type;\n```", "rows": 20, "sql": "SELECT\n s.type AS expansion_type,\n COUNT(CASE WHEN EXISTS (\n SELECT 1\n FROM set_translations AS st\n WHERE st.setCode = s.code\n AND st.language = 'Japanese'\n AND TRIM(st.translation) <> ''\n ) THEN 1 END) AS japanese_name_count\nFROM sets AS s\nGROUP BY s.type\nORDER BY s.type;", "seconds": 14.408546375110745, "calls": [{"seconds": 2.314287459012121, "usage": {"completion_tokens": 52, "prompt_tokens": 1751, "total_tokens": 1803, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1203, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1203, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1203, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.683083416079171, "usage": {"completion_tokens": 79, "prompt_tokens": 2010, "total_tokens": 2089, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 49, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 259, "cached_tokens": 1203, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 259, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 259, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.663672249997035, "usage": {"completion_tokens": 144, "prompt_tokens": 2151, "total_tokens": 2295, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 38, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 141, "cached_tokens": 1462, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 141, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 141, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6894185839919373, "usage": {"completion_tokens": 90, "prompt_tokens": 2532, "total_tokens": 2622, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 381, "cached_tokens": 1603, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 381, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 381, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7f17aecfd2823f2ab61f2743b6ea0857a70113c440450bb6c5bf31a5f2bea94b", "csv_sha256": "59dd0840a9d28f049d9aa75dfd5e496cb94111100b745976f1cec260c8f59586"} +{"instance_id": "bird084", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT artist) AS artist_count\nFROM cards\nWHERE borderColor = 'black'\n AND instr(',' || availability || ',', ',arena,') > 0\n AND instr(',' || availability || ',', ',mtgo,') = 0\n AND power <> ''\n AND power NOT GLOB '*[^0-9]*'\n AND CAST(power AS INTEGER) >= 5;\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT artist) AS artist_count\nFROM cards\nWHERE borderColor = 'black'\n AND instr(',' || availability || ',', ',arena,') > 0\n AND instr(',' || availability || ',', ',mtgo,') = 0\n AND power <> ''\n AND power NOT GLOB '*[^0-9]*'\n AND CAST(power AS INTEGER) >= 5;", "seconds": 23.038296665996313, "calls": [{"seconds": 1.964834333048202, "usage": {"completion_tokens": 19, "prompt_tokens": 1749, "total_tokens": 1768, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1201, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1201, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1201, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.390558124985546, "usage": {"completion_tokens": 33, "prompt_tokens": 2295, "total_tokens": 2328, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1201, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.789011959102936, "usage": {"completion_tokens": 214, "prompt_tokens": 2444, "total_tokens": 2658, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 151, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 149, "cached_tokens": 1747, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 149, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 149, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.34979683405254, "usage": {"completion_tokens": 190, "prompt_tokens": 2752, "total_tokens": 2942, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 84, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 308, "cached_tokens": 1896, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 308, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 308, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.01433812500909, "usage": {"completion_tokens": 159, "prompt_tokens": 3209, "total_tokens": 3368, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 53, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 457, "cached_tokens": 2204, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 457, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 457, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.282254208927043, "usage": {"completion_tokens": 91, "prompt_tokens": 3478, "total_tokens": 3569, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 269, "cached_tokens": 2661, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 269, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 269, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7e86d8bfcf17bfd9ab354abd27fe33c185313ca58e7e5c7072a0a9535a2eb3a0", "csv_sha256": "b4c90087e38c10cef7ef162be3a03acce48232b71e9c9e922039e44c09102163"} +{"instance_id": "bird085", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH chosen_sets AS (\n SELECT s.code, s.releaseDate\n FROM sets AS s\n WHERE EXISTS (\n SELECT 1\n FROM cards AS a\n WHERE a.setCode = s.code\n AND a.name = 'Ancestor''s Chosen'\n )\n)\nSELECT COUNT(*) AS creature_count\nFROM cards AS c\nWHERE c.setCode IN (\n SELECT code\n FROM chosen_sets\n WHERE releaseDate = (SELECT MAX(releaseDate) FROM chosen_sets)\n)\n AND (',' || REPLACE(c.types, ' ', '') || ',') LIKE '%,Creature,%'\n AND c.power = CAST(CAST(c.power AS INTEGER) AS TEXT)\n AND c.toughness = CAST(CAST(c.toughness AS INTEGER) AS TEXT)\n AND CAST(c.power AS INTEGER) > CAST(c.toughness AS INTEGER);\n```", "rows": 1, "sql": "WITH chosen_sets AS (\n SELECT s.code, s.releaseDate\n FROM sets AS s\n WHERE EXISTS (\n SELECT 1\n FROM cards AS a\n WHERE a.setCode = s.code\n AND a.name = 'Ancestor''s Chosen'\n )\n)\nSELECT COUNT(*) AS creature_count\nFROM cards AS c\nWHERE c.setCode IN (\n SELECT code\n FROM chosen_sets\n WHERE releaseDate = (SELECT MAX(releaseDate) FROM chosen_sets)\n)\n AND (',' || REPLACE(c.types, ' ', '') || ',') LIKE '%,Creature,%'\n AND c.power = CAST(CAST(c.power AS INTEGER) AS TEXT)\n AND c.toughness = CAST(CAST(c.toughness AS INTEGER) AS TEXT)\n AND CAST(c.power AS INTEGER) > CAST(c.toughness AS INTEGER);", "seconds": 74.35689541592728, "calls": [{"seconds": 2.1400189170381054, "usage": {"completion_tokens": 50, "prompt_tokens": 1696, "total_tokens": 1746, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1148, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1148, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1148, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.109761959058233, "usage": {"completion_tokens": 154, "prompt_tokens": 2440, "total_tokens": 2594, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 744, "cached_tokens": 1148, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 744, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 744, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.599195582908578, "usage": {"completion_tokens": 140, "prompt_tokens": 3212, "total_tokens": 3352, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 88, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 772, "cached_tokens": 1892, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 772, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 772, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.819693750003353, "usage": {"completion_tokens": 402, "prompt_tokens": 3407, "total_tokens": 3809, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 193, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 195, "cached_tokens": 2664, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 195, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 195, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.522533500101417, "usage": {"completion_tokens": 186, "prompt_tokens": 4015, "total_tokens": 4201, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 608, "cached_tokens": 2859, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 608, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 608, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "c066c3eb560e92dfd3c65aa52923062e02784e29761409005aeaeadefcec3658", "csv_sha256": "64fe2a2129fa928b93e24a9318ce94a4df4dca2408c4f32ef8f5cd0d6afa887b"} +{"instance_id": "bird086", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT frameVersion AS frame_year, COUNT(*) AS card_count\nFROM cards\nWHERE cardKingdomId IS NOT NULL\n AND cardKingdomFoilId IS NOT NULL\n AND leadershipSkills LIKE '%''commander'': True%'\n AND frameVersion GLOB '[0-9][0-9][0-9][0-9]'\nGROUP BY frameVersion\nORDER BY frame_year DESC\nLIMIT 1;\n```", "rows": 1, "sql": "SELECT frameVersion AS frame_year, COUNT(*) AS card_count\nFROM cards\nWHERE cardKingdomId IS NOT NULL\n AND cardKingdomFoilId IS NOT NULL\n AND leadershipSkills LIKE '%''commander'': True%'\n AND frameVersion GLOB '[0-9][0-9][0-9][0-9]'\nGROUP BY frameVersion\nORDER BY frame_year DESC\nLIMIT 1;", "seconds": 52.23423450009432, "calls": [{"seconds": 6.094600500073284, "usage": {"completion_tokens": 65, "prompt_tokens": 1730, "total_tokens": 1795, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1182, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1182, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1182, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.250553125049919, "usage": {"completion_tokens": 134, "prompt_tokens": 2386, "total_tokens": 2520, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 57, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 656, "cached_tokens": 1182, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 656, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 656, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.913866499904543, "usage": {"completion_tokens": 292, "prompt_tokens": 2975, "total_tokens": 3267, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 116, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 589, "cached_tokens": 1838, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 589, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 589, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.615288125001825, "usage": {"completion_tokens": 410, "prompt_tokens": 3526, "total_tokens": 3936, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 299, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 551, "cached_tokens": 2427, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 551, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 551, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.550245124963112, "usage": {"completion_tokens": 116, "prompt_tokens": 4056, "total_tokens": 4172, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 18, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 530, "cached_tokens": 2978, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 530, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 530, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1393390edf4de21ab9769bdb1a7617f5f1ba157e2afae06854975510cb49b736", "csv_sha256": "2fb5b03fd8493a067eac36aa380fa7fad76da43390fa0ae35c1b6996b098eee7"} +{"instance_id": "bird088", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH elf_cards AS (\n SELECT DISTINCT name\n FROM cards\n WHERE originalType = 'Creature - Elf'\n), distinct_rulings AS (\n SELECT DISTINCT e.name, r.date, r.text\n FROM elf_cards AS e\n JOIN cards AS c ON c.name = e.name\n JOIN rulings AS r ON r.uuid = c.uuid\n), ruling_counts AS (\n SELECT e.name, COUNT(r.name) AS ruling_count\n FROM elf_cards AS e\n LEFT JOIN distinct_rulings AS r ON r.name = e.name\n GROUP BY e.name\n)\nSELECT name, ruling_count\nFROM ruling_counts\nWHERE ruling_count = (SELECT MAX(ruling_count) FROM ruling_counts)\nORDER BY name;\n```", "rows": 1, "sql": "WITH elf_cards AS (\n SELECT DISTINCT name\n FROM cards\n WHERE originalType = 'Creature - Elf'\n), distinct_rulings AS (\n SELECT DISTINCT e.name, r.date, r.text\n FROM elf_cards AS e\n JOIN cards AS c ON c.name = e.name\n JOIN rulings AS r ON r.uuid = c.uuid\n), ruling_counts AS (\n SELECT e.name, COUNT(r.name) AS ruling_count\n FROM elf_cards AS e\n LEFT JOIN distinct_rulings AS r ON r.name = e.name\n GROUP BY e.name\n)\nSELECT name, ruling_count\nFROM ruling_counts\nWHERE ruling_count = (SELECT MAX(ruling_count) FROM ruling_counts)\nORDER BY name;", "seconds": 24.194553458015434, "calls": [{"seconds": 2.2678125000093132, "usage": {"completion_tokens": 52, "prompt_tokens": 1692, "total_tokens": 1744, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1144, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1144, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1144, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.777531125000678, "usage": {"completion_tokens": 174, "prompt_tokens": 2308, "total_tokens": 2482, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 24, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 616, "cached_tokens": 1144, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 616, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 616, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.116470625041984, "usage": {"completion_tokens": 144, "prompt_tokens": 3277, "total_tokens": 3421, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 14, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 969, "cached_tokens": 1760, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 969, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 969, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.224315125029534, "usage": {"completion_tokens": 333, "prompt_tokens": 3716, "total_tokens": 4049, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 156, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 439, "cached_tokens": 2729, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 439, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 439, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.159241916029714, "usage": {"completion_tokens": 160, "prompt_tokens": 4239, "total_tokens": 4399, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 523, "cached_tokens": 3168, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 523, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 523, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "076156ea5b3babf0be5636b34dae962a84c78cfd1a0c96be3adbec0dde9ac9a2", "csv_sha256": "d8460a6d2dc285c5aeb2d72cd41fa00ba931d5299b3218864923f3a45b2fd725"} +{"instance_id": "bird089", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT c.colors AS card_color,\n COUNT(DISTINCT l.format) AS legal_format_count\nFROM cards AS c\nLEFT JOIN legalities AS l\n ON l.uuid = c.uuid AND l.status = 'Legal'\nWHERE c.id BETWEEN 1 AND 20\nGROUP BY c.colors\nORDER BY c.colors;\n```", "rows": 2, "sql": "SELECT c.colors AS card_color,\n COUNT(DISTINCT l.format) AS legal_format_count\nFROM cards AS c\nLEFT JOIN legalities AS l\n ON l.uuid = c.uuid AND l.status = 'Legal'\nWHERE c.id BETWEEN 1 AND 20\nGROUP BY c.colors\nORDER BY c.colors;", "seconds": 14.816955875023268, "calls": [{"seconds": 2.6580811250023544, "usage": {"completion_tokens": 51, "prompt_tokens": 1710, "total_tokens": 1761, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1162, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1162, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1162, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9472005419665948, "usage": {"completion_tokens": 139, "prompt_tokens": 2324, "total_tokens": 2463, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 38, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 614, "cached_tokens": 1162, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 614, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 614, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7055934999370947, "usage": {"completion_tokens": 85, "prompt_tokens": 3288, "total_tokens": 3373, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 964, "cached_tokens": 1776, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 964, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 964, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.02878812502604, "usage": {"completion_tokens": 74, "prompt_tokens": 3480, "total_tokens": 3554, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 192, "cached_tokens": 2740, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 192, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 192, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6aca317c3500b593a43e3e55c73511c59c8504dce8074df5f69ef00e5d96a5ed", "csv_sha256": "c4d7dd727b51f7de4784f2a30fe658653b253e5b5cd7f0452eec0a9e9fd209bc"} +{"instance_id": "bird090", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH frame_counts AS (\n SELECT CAST(frameVersion AS INTEGER) AS frame_year,\n COUNT(*) AS card_count\n FROM cards\n WHERE artist = 'John Avon'\n AND NULLIF(TRIM(cardKingdomId), '') IS NOT NULL\n AND NULLIF(TRIM(cardKingdomFoilId), '') IS NOT NULL\n AND frameVersion GLOB '[0-9][0-9][0-9][0-9]'\n GROUP BY CAST(frameVersion AS INTEGER)\n)\nSELECT frame_year, card_count\nFROM frame_counts\nWHERE frame_year = (SELECT MAX(frame_year) FROM frame_counts);\n```", "rows": 1, "sql": "WITH frame_counts AS (\n SELECT CAST(frameVersion AS INTEGER) AS frame_year,\n COUNT(*) AS card_count\n FROM cards\n WHERE artist = 'John Avon'\n AND NULLIF(TRIM(cardKingdomId), '') IS NOT NULL\n AND NULLIF(TRIM(cardKingdomFoilId), '') IS NOT NULL\n AND frameVersion GLOB '[0-9][0-9][0-9][0-9]'\n GROUP BY CAST(frameVersion AS INTEGER)\n)\nSELECT frame_year, card_count\nFROM frame_counts\nWHERE frame_year = (SELECT MAX(frame_year) FROM frame_counts);", "seconds": 21.316258249920793, "calls": [{"seconds": 1.9057107089320198, "usage": {"completion_tokens": 19, "prompt_tokens": 1682, "total_tokens": 1701, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1134, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1134, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1134, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.957482666010037, "usage": {"completion_tokens": 261, "prompt_tokens": 2228, "total_tokens": 2489, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 160, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1134, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.610801375005394, "usage": {"completion_tokens": 321, "prompt_tokens": 2643, "total_tokens": 2964, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 167, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 415, "cached_tokens": 1680, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 415, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 415, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7603757079923525, "usage": {"completion_tokens": 136, "prompt_tokens": 3128, "total_tokens": 3264, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 2095, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5bb47177445dc8ef91f89d43efea7cb038cdb99c03741e8d891745d66b30eba2", "csv_sha256": "973de61b10d20758f20ff7bfb4f4327083258c526958cfce868dbb8058bc55dd"} +{"instance_id": "bird091", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS printing_count\nFROM cards AS c\nWHERE c.artist = 'Erica Yang'\n AND INSTR(',' || c.availability || ',', ',paper,') > 0\n AND EXISTS (\n SELECT 1\n FROM legalities AS l\n WHERE l.uuid = c.uuid\n AND l.format = 'pauper'\n AND l.status = 'Legal'\n );\n```", "rows": 1, "sql": "SELECT COUNT(*) AS printing_count\nFROM cards AS c\nWHERE c.artist = 'Erica Yang'\n AND INSTR(',' || c.availability || ',', ',paper,') > 0\n AND EXISTS (\n SELECT 1\n FROM legalities AS l\n WHERE l.uuid = c.uuid\n AND l.format = 'pauper'\n AND l.status = 'Legal'\n );", "seconds": 20.86867783300113, "calls": [{"seconds": 2.274040166987106, "usage": {"completion_tokens": 51, "prompt_tokens": 1717, "total_tokens": 1768, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1169, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1169, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1169, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0692907500779256, "usage": {"completion_tokens": 90, "prompt_tokens": 2331, "total_tokens": 2421, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 614, "cached_tokens": 1169, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 614, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 614, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.942299459013157, "usage": {"completion_tokens": 205, "prompt_tokens": 2635, "total_tokens": 2840, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 81, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 304, "cached_tokens": 1783, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 304, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 304, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.062525291927159, "usage": {"completion_tokens": 141, "prompt_tokens": 3008, "total_tokens": 3149, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 35, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 373, "cached_tokens": 2087, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 373, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 373, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1386811669217423, "usage": {"completion_tokens": 91, "prompt_tokens": 3259, "total_tokens": 3350, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 251, "cached_tokens": 2460, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 251, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 251, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d5d6f08582e822941b379db1d7da277a7be6fa1f95e3199e929305ba33aa1d99", "csv_sha256": "403279e88895371b85b15cd37efa38d11a8f4c4a81a9df749b56ff2d240b7209"} +{"instance_id": "bird092", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT cardKingdomFoilId, cardKingdomId\nFROM cards\nWHERE (',' || types || ',') LIKE '%,Creature,%'\n AND cardKingdomFoilId IS NOT NULL\n AND cardKingdomId IS NOT NULL\nORDER BY cardKingdomFoilId ASC, cardKingdomId ASC\nLIMIT 3;\n```", "rows": 3, "sql": "SELECT cardKingdomFoilId, cardKingdomId\nFROM cards\nWHERE (',' || types || ',') LIKE '%,Creature,%'\n AND cardKingdomFoilId IS NOT NULL\n AND cardKingdomId IS NOT NULL\nORDER BY cardKingdomFoilId ASC, cardKingdomId ASC\nLIMIT 3;", "seconds": 17.491878833970986, "calls": [{"seconds": 1.8708600000245497, "usage": {"completion_tokens": 19, "prompt_tokens": 1735, "total_tokens": 1754, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1187, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1187, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1187, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.013092958019115, "usage": {"completion_tokens": 310, "prompt_tokens": 2281, "total_tokens": 2591, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 218, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1187, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.2207387500675395, "usage": {"completion_tokens": 158, "prompt_tokens": 2940, "total_tokens": 3098, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 62, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 659, "cached_tokens": 1733, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 659, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 659, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2871184169780463, "usage": {"completion_tokens": 80, "prompt_tokens": 3223, "total_tokens": 3303, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 283, "cached_tokens": 2392, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 283, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 283, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f1a6d3139b1bf3dde52e65aa8dd3bffd129147ae1e825db105d775a0d9d970ad", "csv_sha256": "8b0622b07c11e8a42be5b7c2bf6248606a62de611eb9cc576efa9528369e5281"} +{"instance_id": "bird093", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH type_counts AS (\n SELECT c.types AS card_type, COUNT(*) AS card_count\n FROM cards AS c\n WHERE c.watermark = 'boros'\n AND EXISTS (\n SELECT 1\n FROM foreign_data AS f\n WHERE f.uuid = c.uuid\n AND f.language COLLATE NOCASE <> 'English'\n )\n GROUP BY c.types\n)\nSELECT card_type, card_count\nFROM type_counts\nWHERE card_count = (SELECT MAX(card_count) FROM type_counts)\nORDER BY card_type;\n```", "rows": 1, "sql": "WITH type_counts AS (\n SELECT c.types AS card_type, COUNT(*) AS card_count\n FROM cards AS c\n WHERE c.watermark = 'boros'\n AND EXISTS (\n SELECT 1\n FROM foreign_data AS f\n WHERE f.uuid = c.uuid\n AND f.language COLLATE NOCASE <> 'English'\n )\n GROUP BY c.types\n)\nSELECT card_type, card_count\nFROM type_counts\nWHERE card_count = (SELECT MAX(card_count) FROM type_counts)\nORDER BY card_type;", "seconds": 35.84026800002903, "calls": [{"seconds": 2.3140165000222623, "usage": {"completion_tokens": 51, "prompt_tokens": 1687, "total_tokens": 1738, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1139, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1139, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1139, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.845044584013522, "usage": {"completion_tokens": 226, "prompt_tokens": 2324, "total_tokens": 2550, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 102, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 637, "cached_tokens": 1139, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 637, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 637, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.040607082890347, "usage": {"completion_tokens": 232, "prompt_tokens": 2765, "total_tokens": 2997, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 95, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 441, "cached_tokens": 1776, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 441, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 441, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5537817920558155, "usage": {"completion_tokens": 118, "prompt_tokens": 3142, "total_tokens": 3260, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 377, "cached_tokens": 2217, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 377, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 377, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e557d6cdbc40eff6f96b2cbc79a5794a05327c0344265a82d2ea3678531cce37", "csv_sha256": "447dc32e5bf636101affb8d2cea2a2e2762bd4cb599f9ead3a2a47187f4fe577"} +{"instance_id": "bird094", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH guild_counts AS (\n SELECT LOWER(c.watermark) AS guild,\n COUNT(DISTINCT c.uuid) AS card_count\n FROM cards AS c\n WHERE LOWER(c.watermark) IN (\n 'azorius', 'boros', 'dimir', 'golgari', 'gruul',\n 'izzet', 'orzhov', 'rakdos', 'selesnya', 'simic'\n )\n AND c.uuid IN (\n SELECT f.uuid\n FROM foreign_data AS f\n WHERE LOWER(f.language) <> 'english'\n )\n GROUP BY LOWER(c.watermark)\n)\nSELECT UPPER(SUBSTR(guild, 1, 1)) || SUBSTR(guild, 2) AS guild,\n card_count\nFROM guild_counts\nWHERE card_count = (SELECT MAX(card_count) FROM guild_counts)\nORDER BY guild;\n```", "rows": 1, "sql": "WITH guild_counts AS (\n SELECT LOWER(c.watermark) AS guild,\n COUNT(DISTINCT c.uuid) AS card_count\n FROM cards AS c\n WHERE LOWER(c.watermark) IN (\n 'azorius', 'boros', 'dimir', 'golgari', 'gruul',\n 'izzet', 'orzhov', 'rakdos', 'selesnya', 'simic'\n )\n AND c.uuid IN (\n SELECT f.uuid\n FROM foreign_data AS f\n WHERE LOWER(f.language) <> 'english'\n )\n GROUP BY LOWER(c.watermark)\n)\nSELECT UPPER(SUBSTR(guild, 1, 1)) || SUBSTR(guild, 2) AS guild,\n card_count\nFROM guild_counts\nWHERE card_count = (SELECT MAX(card_count) FROM guild_counts)\nORDER BY guild;", "seconds": 48.4543462919537, "calls": [{"seconds": 2.372001791954972, "usage": {"completion_tokens": 51, "prompt_tokens": 1733, "total_tokens": 1784, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1185, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1185, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1185, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.762770291999914, "usage": {"completion_tokens": 220, "prompt_tokens": 2370, "total_tokens": 2590, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 637, "cached_tokens": 1185, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 637, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 637, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.823142083012499, "usage": {"completion_tokens": 298, "prompt_tokens": 2829, "total_tokens": 3127, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 82, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 459, "cached_tokens": 1822, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 459, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 459, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.236507500056177, "usage": {"completion_tokens": 225, "prompt_tokens": 3344, "total_tokens": 3569, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 34, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 515, "cached_tokens": 2281, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 515, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 515, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8eab7b9d7e3a19e07318bdd0eb65cb443025895dbe992497066671654feb5ed3", "csv_sha256": "53ebdab2b5b56a20fa557968c0a0c381d951b937273339513615a594fc426e67"} +{"instance_id": "bird095", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT c.type AS card_type, COUNT(*) AS card_count\nFROM cards AS c\nWHERE c.watermark = 'azorius'\n AND EXISTS (\n SELECT 1\n FROM foreign_data AS f\n WHERE f.uuid = c.uuid\n )\nGROUP BY c.type\nORDER BY card_count DESC, card_type ASC;\n```", "rows": 26, "sql": "SELECT c.type AS card_type, COUNT(*) AS card_count\nFROM cards AS c\nWHERE c.watermark = 'azorius'\n AND EXISTS (\n SELECT 1\n FROM foreign_data AS f\n WHERE f.uuid = c.uuid\n )\nGROUP BY c.type\nORDER BY card_count DESC, card_type ASC;", "seconds": 31.81821904203389, "calls": [{"seconds": 2.5453765830025077, "usage": {"completion_tokens": 65, "prompt_tokens": 1693, "total_tokens": 1758, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1145, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1145, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1145, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.007019417011179, "usage": {"completion_tokens": 142, "prompt_tokens": 2372, "total_tokens": 2514, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 58, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 679, "cached_tokens": 1145, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 679, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 679, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.974177916068584, "usage": {"completion_tokens": 316, "prompt_tokens": 3694, "total_tokens": 4010, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 241, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1322, "cached_tokens": 1824, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1322, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1322, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9512844589771703, "usage": {"completion_tokens": 109, "prompt_tokens": 4299, "total_tokens": 4408, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 31, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 605, "cached_tokens": 3146, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 605, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 605, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "543fe4a9d76240b189fc5323696abe2c48688468e841f4fd848b3a63271b14be", "csv_sha256": "b7371f2409743835fe452f2dc2a0fc2784e1552456b20d7aacf7a6fd0947cbe2"} +{"instance_id": "bird096", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT name) AS card_count\nFROM cards\nWHERE isTextless = 0\n AND CAST(frameVersion AS INTEGER) >= 2015;\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT name) AS card_count\nFROM cards\nWHERE isTextless = 0\n AND CAST(frameVersion AS INTEGER) >= 2015;", "seconds": 9.433537749922834, "calls": [{"seconds": 2.10945908294525, "usage": {"completion_tokens": 19, "prompt_tokens": 1660, "total_tokens": 1679, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1112, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1112, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1112, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.576349791022949, "usage": {"completion_tokens": 147, "prompt_tokens": 2206, "total_tokens": 2353, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 93, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1112, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.632730041979812, "usage": {"completion_tokens": 43, "prompt_tokens": 2416, "total_tokens": 2459, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 210, "cached_tokens": 1658, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 210, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 210, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7be95944559b0ab14f5caeb3b6c8c04a64d5b73b988dc69bd5c15c83af645cb3", "csv_sha256": "89abc532c3d8b27696f7b01f27c342fb44845bc0a0e1039bd63ea7671b6472d6"} +{"instance_id": "bird097", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT DISTINCT name\nFROM cards\nWHERE isPromo = 1\n AND otherFaceIds IS NOT NULL\n AND CAST(frameVersion AS INTEGER) = (\n SELECT MAX(CAST(frameVersion AS INTEGER))\n FROM cards\n )\nORDER BY name;\n```", "rows": 127, "sql": "SELECT DISTINCT name\nFROM cards\nWHERE isPromo = 1\n AND otherFaceIds IS NOT NULL\n AND CAST(frameVersion AS INTEGER) = (\n SELECT MAX(CAST(frameVersion AS INTEGER))\n FROM cards\n )\nORDER BY name;", "seconds": 20.040675958036445, "calls": [{"seconds": 2.109808999928646, "usage": {"completion_tokens": 19, "prompt_tokens": 1734, "total_tokens": 1753, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1186, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1186, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1186, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.187545333988965, "usage": {"completion_tokens": 202, "prompt_tokens": 2280, "total_tokens": 2482, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 123, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1186, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.721862000063993, "usage": {"completion_tokens": 147, "prompt_tokens": 2626, "total_tokens": 2773, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 50, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 346, "cached_tokens": 1732, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 346, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 346, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.845278624910861, "usage": {"completion_tokens": 162, "prompt_tokens": 3019, "total_tokens": 3181, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 81, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 393, "cached_tokens": 2078, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 393, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 393, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9890760000562295, "usage": {"completion_tokens": 61, "prompt_tokens": 3324, "total_tokens": 3385, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 305, "cached_tokens": 2471, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 305, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 305, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9090251aa8735f06512ed48728368b7d49b5dcdd44a1b44906c2ad3027607f24", "csv_sha256": "e9814b119286047e45027ec4cc4bb7c8fed6b99a47bcd2eae645f08d39b06ad6"} +{"instance_id": "bird098", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT DISTINCT name\nFROM cards\nWHERE isPromo = 1\n AND otherFaceIds IS NOT NULL\n AND SUBSTR(originalReleaseDate, 1, 4) = '2019'\nORDER BY name;\n```", "rows": 31, "sql": "SELECT DISTINCT name\nFROM cards\nWHERE isPromo = 1\n AND otherFaceIds IS NOT NULL\n AND SUBSTR(originalReleaseDate, 1, 4) = '2019'\nORDER BY name;", "seconds": 19.67956216703169, "calls": [{"seconds": 1.8851411669747904, "usage": {"completion_tokens": 19, "prompt_tokens": 1719, "total_tokens": 1738, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1171, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1171, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1171, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.686289040953852, "usage": {"completion_tokens": 232, "prompt_tokens": 2265, "total_tokens": 2497, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 84, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1171, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.435276083997451, "usage": {"completion_tokens": 153, "prompt_tokens": 2751, "total_tokens": 2904, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 49, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 486, "cached_tokens": 1717, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 486, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 486, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.849581791087985, "usage": {"completion_tokens": 149, "prompt_tokens": 3089, "total_tokens": 3238, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 83, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 338, "cached_tokens": 2203, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 338, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 338, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.6627242090180516, "usage": {"completion_tokens": 54, "prompt_tokens": 3589, "total_tokens": 3643, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 500, "cached_tokens": 2541, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 500, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 500, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "07bf817917ffb323f0555df6e1a6dfb8c6e40e33c2ad3e86b82e0fd917ad0f90", "csv_sha256": "d138818b5ca13c770b8238f1ce999dc6e0879ccd9f62cb6defeae1b3c16ec46a"} +{"instance_id": "bird099", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT DISTINCT s.name AS set_name, s.releaseDate AS release_date\nFROM cards AS c\nJOIN sets AS s ON s.code = c.setCode\nWHERE c.name = 'Tarmogoyf'\n AND c.isReprint = 1\n AND c.frameVersion GLOB '[0-9][0-9][0-9][0-9]'\n AND CAST(strftime('%Y', s.releaseDate) AS INTEGER)\n - CAST(c.frameVersion AS INTEGER) >= 10\nORDER BY release_date, set_name;\n```", "rows": 1, "sql": "SELECT DISTINCT s.name AS set_name, s.releaseDate AS release_date\nFROM cards AS c\nJOIN sets AS s ON s.code = c.setCode\nWHERE c.name = 'Tarmogoyf'\n AND c.isReprint = 1\n AND c.frameVersion GLOB '[0-9][0-9][0-9][0-9]'\n AND CAST(strftime('%Y', s.releaseDate) AS INTEGER)\n - CAST(c.frameVersion AS INTEGER) >= 10\nORDER BY release_date, set_name;", "seconds": 12.524245749926195, "calls": [{"seconds": 2.2946290000109, "usage": {"completion_tokens": 50, "prompt_tokens": 1740, "total_tokens": 1790, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1192, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1192, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1192, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.300081916968338, "usage": {"completion_tokens": 87, "prompt_tokens": 2484, "total_tokens": 2571, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 744, "cached_tokens": 1192, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 744, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 744, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3939656669972464, "usage": {"completion_tokens": 132, "prompt_tokens": 2816, "total_tokens": 2948, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 332, "cached_tokens": 1936, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 332, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 332, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3923872500890866, "usage": {"completion_tokens": 121, "prompt_tokens": 3101, "total_tokens": 3222, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 285, "cached_tokens": 2268, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 285, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 285, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "71603f07bebd661faef9f70633fd3a567aa0e14ec85cf59fb10fc2d3ecfcdb80", "csv_sha256": "56454fbb992388041d08ffe2f2e96b13f0256ac7277ecf61026a2f993f55e4f9"} +{"instance_id": "bird100", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS printing_count\nFROM (\n SELECT c.setCode, c.number\n FROM cards AS c\n JOIN foreign_data AS f ON f.uuid = c.uuid\n WHERE c.name = 'Counterspell'\n AND f.language IN ('French', 'Italian')\n GROUP BY c.setCode, c.number\n HAVING COUNT(DISTINCT f.language) = 2\n) AS localized_printings;\n```", "rows": 1, "sql": "SELECT COUNT(*) AS printing_count\nFROM (\n SELECT c.setCode, c.number\n FROM cards AS c\n JOIN foreign_data AS f ON f.uuid = c.uuid\n WHERE c.name = 'Counterspell'\n AND f.language IN ('French', 'Italian')\n GROUP BY c.setCode, c.number\n HAVING COUNT(DISTINCT f.language) = 2\n) AS localized_printings;", "seconds": 10.487491584033705, "calls": [{"seconds": 2.809828041936271, "usage": {"completion_tokens": 66, "prompt_tokens": 1669, "total_tokens": 1735, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1121, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1121, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1121, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.2774214170640334, "usage": {"completion_tokens": 155, "prompt_tokens": 2488, "total_tokens": 2643, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 45, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 819, "cached_tokens": 1121, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 819, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 819, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2388345409417525, "usage": {"completion_tokens": 95, "prompt_tokens": 2757, "total_tokens": 2852, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 269, "cached_tokens": 1940, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 269, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 269, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d1febe35d2db71b65521e74bf885109d5fdd4361d2eea4f4cdadcd1060e09027", "csv_sha256": "a825c7487ab71595d133d6e2e5c9b54250b1b2d2715626dcb5dd4e326322f6a7"} +{"instance_id": "bird101", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT s.name, s.releaseDate\nFROM sets AS s\nWHERE s.type IN (\n SELECT ref.type\n FROM sets AS ref\n WHERE ref.name = 'From the Vault: Lore'\n)\nAND NOT EXISTS (\n SELECT 1\n FROM set_translations AS st\n WHERE st.setCode = s.code\n AND TRIM(st.translation) <> ''\n)\nORDER BY s.releaseDate ASC, s.name ASC;\n```", "rows": 3, "sql": "SELECT s.name, s.releaseDate\nFROM sets AS s\nWHERE s.type IN (\n SELECT ref.type\n FROM sets AS ref\n WHERE ref.name = 'From the Vault: Lore'\n)\nAND NOT EXISTS (\n SELECT 1\n FROM set_translations AS st\n WHERE st.setCode = s.code\n AND TRIM(st.translation) <> ''\n)\nORDER BY s.releaseDate ASC, s.name ASC;", "seconds": 10.139054875005968, "calls": [{"seconds": 2.3482101670233533, "usage": {"completion_tokens": 52, "prompt_tokens": 1701, "total_tokens": 1753, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1153, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1153, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1153, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.772450332995504, "usage": {"completion_tokens": 130, "prompt_tokens": 1960, "total_tokens": 2090, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 15, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 259, "cached_tokens": 1153, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 259, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 259, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.005403125076555, "usage": {"completion_tokens": 122, "prompt_tokens": 2249, "total_tokens": 2371, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 23, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 289, "cached_tokens": 1412, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 289, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 289, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "eb17c802129674dea68475b1f48b692a738a1d181d8a407a3bf7258750b8cf9e", "csv_sha256": "d520be4555a397f5d9bcd20a17d5207b72eb5ef930a416f70924645a48f6cad3"} +{"instance_id": "bird102", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH ranked_printings AS (\n SELECT s.name AS set_name,\n s.releaseDate AS release_date,\n DENSE_RANK() OVER (\n ORDER BY CASE c.frameVersion\n WHEN 'future' THEN 2007\n ELSE CAST(c.frameVersion AS INTEGER)\n END DESC,\n s.releaseDate DESC\n ) AS printing_rank\n FROM cards AS c\n JOIN sets AS s ON s.code = c.setCode\n WHERE c.name = 'Aven Mindcensor'\n)\nSELECT DISTINCT set_name, release_date\nFROM ranked_printings\nWHERE printing_rank = 1\nORDER BY set_name;\n```", "rows": 1, "sql": "WITH ranked_printings AS (\n SELECT s.name AS set_name,\n s.releaseDate AS release_date,\n DENSE_RANK() OVER (\n ORDER BY CASE c.frameVersion\n WHEN 'future' THEN 2007\n ELSE CAST(c.frameVersion AS INTEGER)\n END DESC,\n s.releaseDate DESC\n ) AS printing_rank\n FROM cards AS c\n JOIN sets AS s ON s.code = c.setCode\n WHERE c.name = 'Aven Mindcensor'\n)\nSELECT DISTINCT set_name, release_date\nFROM ranked_printings\nWHERE printing_rank = 1\nORDER BY set_name;", "seconds": 19.188902833033353, "calls": [{"seconds": 2.236538374912925, "usage": {"completion_tokens": 50, "prompt_tokens": 1702, "total_tokens": 1752, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1154, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1154, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1154, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.043263958999887, "usage": {"completion_tokens": 177, "prompt_tokens": 2446, "total_tokens": 2623, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 88, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 744, "cached_tokens": 1154, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 744, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 744, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.928596333018504, "usage": {"completion_tokens": 358, "prompt_tokens": 2922, "total_tokens": 3280, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 202, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 476, "cached_tokens": 1898, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 476, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 476, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8406738750636578, "usage": {"completion_tokens": 138, "prompt_tokens": 3455, "total_tokens": 3593, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 533, "cached_tokens": 2374, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 533, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 533, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5af942d5bd5b5f53dc27e4ea3b9b8b1f8919c41df1b68f8670b605ab76496e46", "csv_sha256": "5fb715b23fcf50c24d1b40dfc7809228f41004b5adda592ce1b318a0811b594f"} +{"instance_id": "bird103", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT s.code, s.releaseDate\nFROM sets AS s\nWHERE s.releaseDate >= '2020-01-01'\n AND s.releaseDate < '2021-01-01'\n AND NOT EXISTS (\n SELECT 1\n FROM set_translations AS st\n WHERE st.setCode = s.code\n AND st.language = 'Spanish'\n AND NULLIF(TRIM(st.translation), '') IS NOT NULL\n )\nORDER BY s.releaseDate, s.code;\n```", "rows": 34, "sql": "SELECT s.code, s.releaseDate\nFROM sets AS s\nWHERE s.releaseDate >= '2020-01-01'\n AND s.releaseDate < '2021-01-01'\n AND NOT EXISTS (\n SELECT 1\n FROM set_translations AS st\n WHERE st.setCode = s.code\n AND st.language = 'Spanish'\n AND NULLIF(TRIM(st.translation), '') IS NOT NULL\n )\nORDER BY s.releaseDate, s.code;", "seconds": 11.731335083022714, "calls": [{"seconds": 2.3971834160620347, "usage": {"completion_tokens": 52, "prompt_tokens": 1666, "total_tokens": 1718, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1118, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1118, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1118, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9664875420276076, "usage": {"completion_tokens": 53, "prompt_tokens": 1925, "total_tokens": 1978, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 259, "cached_tokens": 1118, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 259, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 259, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3125495419371873, "usage": {"completion_tokens": 123, "prompt_tokens": 2136, "total_tokens": 2259, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 211, "cached_tokens": 1377, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 211, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 211, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0170150420162827, "usage": {"completion_tokens": 108, "prompt_tokens": 2765, "total_tokens": 2873, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 629, "cached_tokens": 1588, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 629, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 629, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "492814045d38461e2f84b555555cf89e098b4fedfad035641e84e0d90a36c775", "csv_sha256": "090bd82b341d10cc2fbc31d8bf44f03319394e580992de6568a02b330b274324"} +{"instance_id": "bird104", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT SUM(convertedManaCost) AS total_converted_mana_cost\nFROM cards\nWHERE artist = 'Rob Alexander'\n AND originalReleaseDate >= '2013-01-01'\n AND originalReleaseDate < '2014-01-01';\n```", "rows": 1, "sql": "SELECT SUM(convertedManaCost) AS total_converted_mana_cost\nFROM cards\nWHERE artist = 'Rob Alexander'\n AND originalReleaseDate >= '2013-01-01'\n AND originalReleaseDate < '2014-01-01';", "seconds": 9.366673083044589, "calls": [{"seconds": 2.0810714160325006, "usage": {"completion_tokens": 19, "prompt_tokens": 1744, "total_tokens": 1763, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1196, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1196, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1196, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.212962166056968, "usage": {"completion_tokens": 123, "prompt_tokens": 2290, "total_tokens": 2413, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 49, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1196, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9452042499324307, "usage": {"completion_tokens": 61, "prompt_tokens": 2499, "total_tokens": 2560, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 209, "cached_tokens": 1742, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 209, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 209, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2d00a489cf984079d0e63714a78b06e45841b50e240bc07fcd2aadca0b9c8e36", "csv_sha256": "62b82ae42be7a401c0938486a2d5200d32337ecf7f42a7488398e0795ba27725"} +{"instance_id": "bird105", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH language_counts AS (\n SELECT s.id, COUNT(DISTINCT t.language) AS language_count\n FROM sets AS s\n LEFT JOIN set_translations AS t\n ON t.setCode = s.code\n AND TRIM(t.translation) <> ''\n WHERE s.releaseDate >= '2016-01-01'\n AND s.releaseDate < '2017-01-01'\n GROUP BY s.id\n)\nSELECT ROUND(AVG(language_count), 2) AS average_languages\nFROM language_counts;\n```", "rows": 1, "sql": "WITH language_counts AS (\n SELECT s.id, COUNT(DISTINCT t.language) AS language_count\n FROM sets AS s\n LEFT JOIN set_translations AS t\n ON t.setCode = s.code\n AND TRIM(t.translation) <> ''\n WHERE s.releaseDate >= '2016-01-01'\n AND s.releaseDate < '2017-01-01'\n GROUP BY s.id\n)\nSELECT ROUND(AVG(language_count), 2) AS average_languages\nFROM language_counts;", "seconds": 13.285522416932508, "calls": [{"seconds": 2.301093458896503, "usage": {"completion_tokens": 52, "prompt_tokens": 1734, "total_tokens": 1786, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1186, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1186, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1186, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.686985917040147, "usage": {"completion_tokens": 260, "prompt_tokens": 1993, "total_tokens": 2253, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 128, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 259, "cached_tokens": 1186, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 259, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 259, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.275621708948165, "usage": {"completion_tokens": 149, "prompt_tokens": 2389, "total_tokens": 2538, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 32, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 396, "cached_tokens": 1445, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 396, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 396, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a575423b579b0c68f848d5104d3e444915821b211560828c6486d368da541b5d", "csv_sha256": "05dd13c7c75b0f0ffe9967ab1b251ad974d876af6d4eb2b5b2c05817728bbe52"} +{"instance_id": "bird106", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH block_sets AS (\n SELECT s.block, s.baseSetSize,\n EXISTS (\n SELECT 1\n FROM set_translations AS st\n WHERE st.setCode = s.code\n AND st.translation <> ''\n ) AS has_translation\n FROM sets AS s\n WHERE s.block COLLATE BINARY IN ('Masques', 'Mirage')\n)\nSELECT block,\n COUNT(*) FILTER (WHERE has_translation) AS translated_set_count,\n SUM(baseSetSize) FILTER (WHERE has_translation) AS total_base_set_cards\nFROM block_sets\nGROUP BY block\nORDER BY block;\n```", "rows": 2, "sql": "WITH block_sets AS (\n SELECT s.block, s.baseSetSize,\n EXISTS (\n SELECT 1\n FROM set_translations AS st\n WHERE st.setCode = s.code\n AND st.translation <> ''\n ) AS has_translation\n FROM sets AS s\n WHERE s.block COLLATE BINARY IN ('Masques', 'Mirage')\n)\nSELECT block,\n COUNT(*) FILTER (WHERE has_translation) AS translated_set_count,\n SUM(baseSetSize) FILTER (WHERE has_translation) AS total_base_set_cards\nFROM block_sets\nGROUP BY block\nORDER BY block;", "seconds": 29.79609495808836, "calls": [{"seconds": 1.9921515840105712, "usage": {"completion_tokens": 15, "prompt_tokens": 1685, "total_tokens": 1700, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1137, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1137, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1137, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.898205874953419, "usage": {"completion_tokens": 66, "prompt_tokens": 1736, "total_tokens": 1802, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 51, "cached_tokens": 1137, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 51, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 51, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.318533124984242, "usage": {"completion_tokens": 437, "prompt_tokens": 2037, "total_tokens": 2474, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 302, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 301, "cached_tokens": 1188, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 301, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 301, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.925479457946494, "usage": {"completion_tokens": 473, "prompt_tokens": 2797, "total_tokens": 3270, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 321, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 760, "cached_tokens": 1489, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 760, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 760, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.633193166926503, "usage": {"completion_tokens": 158, "prompt_tokens": 3448, "total_tokens": 3606, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 25, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 651, "cached_tokens": 2249, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 651, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 651, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "781c60bbfc528f1c61c2a98611fe05409fc90d00e7289949cb163e393396e580", "csv_sha256": "ec4e000afb775a93bf8e5f3a81321a7ba0eadef19e75323c5cdfc3c37333356f"} +{"instance_id": "bird107", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH japanese_printings AS (\n SELECT f.name AS japanese_name,\n c.type AS english_card_type,\n c.uuid,\n MAX(CASE WHEN c.watermark = 'boros' THEN 1 ELSE 0 END) AS has_boros_watermark\n FROM cards AS c\n JOIN foreign_data AS f ON f.uuid = c.uuid\n WHERE f.language = 'Japanese'\n GROUP BY f.name, c.type, c.uuid\n)\nSELECT p.japanese_name,\n p.english_card_type,\n COUNT(r.id) AS total_rulings\nFROM japanese_printings AS p\nLEFT JOIN rulings AS r ON r.uuid = p.uuid\nGROUP BY p.japanese_name, p.english_card_type\nHAVING MAX(p.has_boros_watermark) = 1\nORDER BY p.japanese_name, p.english_card_type;\n```", "rows": 96, "sql": "WITH japanese_printings AS (\n SELECT f.name AS japanese_name,\n c.type AS english_card_type,\n c.uuid,\n MAX(CASE WHEN c.watermark = 'boros' THEN 1 ELSE 0 END) AS has_boros_watermark\n FROM cards AS c\n JOIN foreign_data AS f ON f.uuid = c.uuid\n WHERE f.language = 'Japanese'\n GROUP BY f.name, c.type, c.uuid\n)\nSELECT p.japanese_name,\n p.english_card_type,\n COUNT(r.id) AS total_rulings\nFROM japanese_printings AS p\nLEFT JOIN rulings AS r ON r.uuid = p.uuid\nGROUP BY p.japanese_name, p.english_card_type\nHAVING MAX(p.has_boros_watermark) = 1\nORDER BY p.japanese_name, p.english_card_type;", "seconds": 24.040129499975592, "calls": [{"seconds": 3.2216730419313535, "usage": {"completion_tokens": 68, "prompt_tokens": 1771, "total_tokens": 1839, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1223, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1223, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1223, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.576035792008042, "usage": {"completion_tokens": 282, "prompt_tokens": 2462, "total_tokens": 2744, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 93, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 691, "cached_tokens": 1223, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 691, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 691, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.198172542033717, "usage": {"completion_tokens": 481, "prompt_tokens": 2974, "total_tokens": 3455, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 272, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 512, "cached_tokens": 1914, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 512, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 512, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.423744500032626, "usage": {"completion_tokens": 186, "prompt_tokens": 4445, "total_tokens": 4631, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1471, "cached_tokens": 2426, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1471, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1471, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b84154bfb1ab66ef73a335c02f938cd99381a1197cd8d1e56e8260161afe4f57", "csv_sha256": "fb903f6f960a8bb03cab38e04cccb6baa85ef06130f7c5f51975abd8b104302b"} +{"instance_id": "bird108", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH set_languages AS (\n SELECT DISTINCT language\n FROM set_translations\n WHERE language IS NOT NULL\n AND TRIM(translation) <> ''\n), printing_counts AS (\n SELECT sl.language, COUNT(DISTINCT fd.uuid) AS printing_count\n FROM set_languages AS sl\n LEFT JOIN foreign_data AS fd\n ON fd.language = sl.language\n AND TRIM(fd.flavorText) <> ''\n GROUP BY sl.language\n)\nSELECT language, printing_count\nFROM printing_counts\nWHERE printing_count = (SELECT MIN(printing_count) FROM printing_counts)\nORDER BY language;\n```", "rows": 1, "sql": "WITH set_languages AS (\n SELECT DISTINCT language\n FROM set_translations\n WHERE language IS NOT NULL\n AND TRIM(translation) <> ''\n), printing_counts AS (\n SELECT sl.language, COUNT(DISTINCT fd.uuid) AS printing_count\n FROM set_languages AS sl\n LEFT JOIN foreign_data AS fd\n ON fd.language = sl.language\n AND TRIM(fd.flavorText) <> ''\n GROUP BY sl.language\n)\nSELECT language, printing_count\nFROM printing_counts\nWHERE printing_count = (SELECT MIN(printing_count) FROM printing_counts)\nORDER BY language;", "seconds": 24.034307374968193, "calls": [{"seconds": 2.058070124941878, "usage": {"completion_tokens": 15, "prompt_tokens": 1693, "total_tokens": 1708, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1145, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1145, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1145, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.054345249896869, "usage": {"completion_tokens": 83, "prompt_tokens": 1744, "total_tokens": 1827, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 51, "cached_tokens": 1145, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 51, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 51, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.170330790919252, "usage": {"completion_tokens": 273, "prompt_tokens": 2618, "total_tokens": 2891, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 52, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 874, "cached_tokens": 1196, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 874, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 874, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.403234625002369, "usage": {"completion_tokens": 322, "prompt_tokens": 3518, "total_tokens": 3840, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 172, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 900, "cached_tokens": 2070, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 900, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 900, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.216705583035946, "usage": {"completion_tokens": 131, "prompt_tokens": 3999, "total_tokens": 4130, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 481, "cached_tokens": 2970, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 481, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 481, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "63b8e1448d93fd44545aba977478f44a9e2545c067b56212b8d34ef7c20425bd", "csv_sha256": "d8fec2d3f3f7bbe0064ae3b245524eff6cf97382fb68969cd97254f830da77ea"} +{"instance_id": "bird109", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT c.name) AS creature_count\nFROM cards AS c\nWHERE (',' || c.types || ',') LIKE '%,Creature,%'\n AND CAST(c.power AS INTEGER) >= 10\n AND EXISTS (\n SELECT 1\n FROM set_translations AS st\n WHERE st.setCode = c.setCode\n AND st.language = 'French'\n AND NULLIF(TRIM(st.translation), '') IS NOT NULL\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT c.name) AS creature_count\nFROM cards AS c\nWHERE (',' || c.types || ',') LIKE '%,Creature,%'\n AND CAST(c.power AS INTEGER) >= 10\n AND EXISTS (\n SELECT 1\n FROM set_translations AS st\n WHERE st.setCode = c.setCode\n AND st.language = 'French'\n AND NULLIF(TRIM(st.translation), '') IS NOT NULL\n );", "seconds": 19.47408104094211, "calls": [{"seconds": 2.6773474169895053, "usage": {"completion_tokens": 67, "prompt_tokens": 1704, "total_tokens": 1771, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1156, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1156, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1156, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.914971624966711, "usage": {"completion_tokens": 112, "prompt_tokens": 2503, "total_tokens": 2615, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 799, "cached_tokens": 1156, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 799, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 799, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9632352920016274, "usage": {"completion_tokens": 142, "prompt_tokens": 2882, "total_tokens": 3024, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 379, "cached_tokens": 1955, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 379, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 379, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.3435751660726964, "usage": {"completion_tokens": 181, "prompt_tokens": 3929, "total_tokens": 4110, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 64, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1047, "cached_tokens": 2334, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1047, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1047, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3939048749161884, "usage": {"completion_tokens": 103, "prompt_tokens": 4233, "total_tokens": 4336, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 304, "cached_tokens": 3381, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 304, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 304, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "dc58070d0f3096c99af323b20faed9198f3b4480662a6b1c8385431b9068301d", "csv_sha256": "be91e061e99a5c93ef5a05f17d786b821adda92c2f0409e212ee5932a948e52b"} +{"instance_id": "bird110", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH eligible_creatures AS (\n SELECT DISTINCT c.name, c.convertedManaCost AS mana_value\n FROM cards AS c\n WHERE c.edhrecRank BETWEEN 1 AND 1000\n AND (',' || REPLACE(c.types, ' ', '') || ',') LIKE '%,Creature,%'\n AND EXISTS (\n SELECT 1\n FROM legalities AS l\n WHERE l.uuid = c.uuid\n AND l.status = 'Banned' COLLATE NOCASE\n )\n)\nSELECT ROUND(AVG(mana_value), 1) AS average_mana_value\nFROM eligible_creatures;\n```", "rows": 1, "sql": "WITH eligible_creatures AS (\n SELECT DISTINCT c.name, c.convertedManaCost AS mana_value\n FROM cards AS c\n WHERE c.edhrecRank BETWEEN 1 AND 1000\n AND (',' || REPLACE(c.types, ' ', '') || ',') LIKE '%,Creature,%'\n AND EXISTS (\n SELECT 1\n FROM legalities AS l\n WHERE l.uuid = c.uuid\n AND l.status = 'Banned' COLLATE NOCASE\n )\n)\nSELECT ROUND(AVG(mana_value), 1) AS average_mana_value\nFROM eligible_creatures;", "seconds": 63.83958687505219, "calls": [{"seconds": 2.4953304999507964, "usage": {"completion_tokens": 51, "prompt_tokens": 1730, "total_tokens": 1781, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1182, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1182, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1182, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.73010670801159, "usage": {"completion_tokens": 155, "prompt_tokens": 2344, "total_tokens": 2499, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 614, "cached_tokens": 1182, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 614, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 614, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.531532375025563, "usage": {"completion_tokens": 226, "prompt_tokens": 3051, "total_tokens": 3277, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 74, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 707, "cached_tokens": 1796, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 707, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 707, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.443704417091794, "usage": {"completion_tokens": 135, "prompt_tokens": 3435, "total_tokens": 3570, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 384, "cached_tokens": 2503, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 384, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 384, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "28378da0c06d9c79e0cf31a9f0821579b534aa7b0e93771c80dd3ce88f83897a", "csv_sha256": "1ffed290ffd16c936baac06c444825888d8e07fbbaceaa752ad933fbdef6411d"} +{"instance_id": "bird111", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS total_printings\nFROM (\n SELECT DISTINCT setCode, number, name\n FROM cards\n WHERE CAST(power AS REAL) > 3\n AND CAST(power AS REAL) <= 10\n) AS matching_printings;\n```", "rows": 1, "sql": "SELECT COUNT(*) AS total_printings\nFROM (\n SELECT DISTINCT setCode, number, name\n FROM cards\n WHERE CAST(power AS REAL) > 3\n AND CAST(power AS REAL) <= 10\n) AS matching_printings;", "seconds": 22.93999312503729, "calls": [{"seconds": 1.9804234579205513, "usage": {"completion_tokens": 19, "prompt_tokens": 1701, "total_tokens": 1720, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1153, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1153, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1153, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.676696500042453, "usage": {"completion_tokens": 164, "prompt_tokens": 2247, "total_tokens": 2411, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 121, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 546, "cached_tokens": 1153, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 546, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 546, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.612586333998479, "usage": {"completion_tokens": 104, "prompt_tokens": 2620, "total_tokens": 2724, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 34, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 373, "cached_tokens": 1699, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 373, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 373, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.702804000000469, "usage": {"completion_tokens": 334, "prompt_tokens": 3029, "total_tokens": 3363, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 263, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 409, "cached_tokens": 2072, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 409, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 409, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.774112124927342, "usage": {"completion_tokens": 182, "prompt_tokens": 3444, "total_tokens": 3626, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 120, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 415, "cached_tokens": 2481, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 415, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 415, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "4a67c09a3341672d59588c98c8b8cd8d5e71be96fdb5c755e0712204e008cc15", "csv_sha256": "fd6505a7887fb116318f3fa06ae52cbbfe28ae9fe49b74a61d7db878c1993cc5"} +{"instance_id": "bird112", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS printing_count\nFROM cards AS c\nWHERE c.originalReleaseDate >= '2014-01-01'\n AND c.originalReleaseDate < '2015-01-01'\n AND EXISTS (\n SELECT 1\n FROM sets AS s\n WHERE s.code = c.setCode\n AND s.mtgoCode IS NOT NULL\n AND TRIM(s.mtgoCode) <> ''\n );\n```", "rows": 1, "sql": "SELECT COUNT(*) AS printing_count\nFROM cards AS c\nWHERE c.originalReleaseDate >= '2014-01-01'\n AND c.originalReleaseDate < '2015-01-01'\n AND EXISTS (\n SELECT 1\n FROM sets AS s\n WHERE s.code = c.setCode\n AND s.mtgoCode IS NOT NULL\n AND TRIM(s.mtgoCode) <> ''\n );", "seconds": 9.733165999990888, "calls": [{"seconds": 2.364500416908413, "usage": {"completion_tokens": 50, "prompt_tokens": 1720, "total_tokens": 1770, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1172, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1172, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1172, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.982849333086051, "usage": {"completion_tokens": 142, "prompt_tokens": 2464, "total_tokens": 2606, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 30, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 744, "cached_tokens": 1172, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 744, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 744, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.286195042077452, "usage": {"completion_tokens": 96, "prompt_tokens": 2721, "total_tokens": 2817, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 257, "cached_tokens": 1916, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 257, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 257, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "41ce8f69c80957604ed2712fcfa16220c270a24d21b581b516831fd6ca930b12", "csv_sha256": "2b478197203aa19c9f5b110081e9bbf3866cb4c74abbeb18b0f2d059dd2d9b5f"} +{"instance_id": "bird113", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH printing_counts AS (\n SELECT f.language, COUNT(*) AS printing_count\n FROM foreign_data AS f\n WHERE f.language <> 'English'\n AND EXISTS (\n SELECT 1\n FROM set_translations AS st\n WHERE st.language = f.language\n )\n GROUP BY f.language\n)\nSELECT language, printing_count\nFROM printing_counts\nWHERE printing_count = (SELECT MIN(printing_count) FROM printing_counts)\nORDER BY language;\n```", "rows": 1, "sql": "WITH printing_counts AS (\n SELECT f.language, COUNT(*) AS printing_count\n FROM foreign_data AS f\n WHERE f.language <> 'English'\n AND EXISTS (\n SELECT 1\n FROM set_translations AS st\n WHERE st.language = f.language\n )\n GROUP BY f.language\n)\nSELECT language, printing_count\nFROM printing_counts\nWHERE printing_count = (SELECT MIN(printing_count) FROM printing_counts)\nORDER BY language;", "seconds": 18.882939749979414, "calls": [{"seconds": 2.2472291250014678, "usage": {"completion_tokens": 15, "prompt_tokens": 1687, "total_tokens": 1702, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1139, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1139, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1139, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.953526792000048, "usage": {"completion_tokens": 83, "prompt_tokens": 1738, "total_tokens": 1821, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 51, "cached_tokens": 1139, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 51, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 51, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.154809333966114, "usage": {"completion_tokens": 159, "prompt_tokens": 2612, "total_tokens": 2771, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 874, "cached_tokens": 1190, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 874, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 874, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.386392999906093, "usage": {"completion_tokens": 118, "prompt_tokens": 3222, "total_tokens": 3340, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 610, "cached_tokens": 2064, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 610, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 610, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.668089417042211, "usage": {"completion_tokens": 239, "prompt_tokens": 3470, "total_tokens": 3709, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 135, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 248, "cached_tokens": 2674, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 248, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 248, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "48557fc19d6dcaa8cd707b4930b57d1701401c058c0cbdbba15312303255a5c3", "csv_sha256": "d5c6c73d54dbb02ba085fd1f4b12d886af5ca3f476f9e4d6fa1340072d76ea4b"} +{"instance_id": "bird114", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS printing_count\nFROM cards AS c\nWHERE EXISTS (\n SELECT 1\n FROM sets AS s\n WHERE s.code = c.setCode\n AND s.name = 'Coldsnap'\n)\nAND EXISTS (\n SELECT 1\n FROM foreign_data AS f\n WHERE f.uuid = c.uuid\n AND f.language = 'Italian'\n AND TRIM(f.text) <> ''\n);\n```", "rows": 1, "sql": "SELECT COUNT(*) AS printing_count\nFROM cards AS c\nWHERE EXISTS (\n SELECT 1\n FROM sets AS s\n WHERE s.code = c.setCode\n AND s.name = 'Coldsnap'\n)\nAND EXISTS (\n SELECT 1\n FROM foreign_data AS f\n WHERE f.uuid = c.uuid\n AND f.language = 'Italian'\n AND TRIM(f.text) <> ''\n);", "seconds": 11.687861916027032, "calls": [{"seconds": 2.5365683750715107, "usage": {"completion_tokens": 66, "prompt_tokens": 1680, "total_tokens": 1746, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1132, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1132, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1132, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2113273330032825, "usage": {"completion_tokens": 111, "prompt_tokens": 2499, "total_tokens": 2610, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 819, "cached_tokens": 1132, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 819, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 819, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9001899999566376, "usage": {"completion_tokens": 95, "prompt_tokens": 2724, "total_tokens": 2819, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 225, "cached_tokens": 1951, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 225, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 225, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2c677bfb1b3c5aeb83769570e4faf9c48fc61b3262fe4e0fb3e0fcc1f1f050ac", "csv_sha256": "2acc23426e88e7a41c164c353c179012650ff6f90bd3c5afc5bb07d7414466f3"} +{"instance_id": "bird115", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH eligible_sets AS (\n SELECT id, code, name, totalSetSize, isForeignOnly\n FROM sets\n WHERE type = 'commander'\n AND releaseDate >= '2020-01-01'\n AND releaseDate < '2021-01-01'\n), top_sets AS (\n SELECT id, code, name, isForeignOnly\n FROM eligible_sets\n WHERE totalSetSize = (SELECT MAX(totalSetSize) FROM eligible_sets)\n), release_languages AS (\n SELECT code, 'English' AS language\n FROM top_sets\n WHERE isForeignOnly = 0\n UNION\n SELECT c.setCode, fd.language\n FROM top_sets AS s\n JOIN cards AS c ON c.setCode = s.code\n JOIN foreign_data AS fd ON fd.uuid = c.uuid\n)\nSELECT s.id, s.name, COUNT(l.language) AS language_count\nFROM top_sets AS s\nLEFT JOIN release_languages AS l ON l.code = s.code\nGROUP BY s.id, s.name\nORDER BY s.id ASC;\n```", "rows": 1, "sql": "WITH eligible_sets AS (\n SELECT id, code, name, totalSetSize, isForeignOnly\n FROM sets\n WHERE type = 'commander'\n AND releaseDate >= '2020-01-01'\n AND releaseDate < '2021-01-01'\n), top_sets AS (\n SELECT id, code, name, isForeignOnly\n FROM eligible_sets\n WHERE totalSetSize = (SELECT MAX(totalSetSize) FROM eligible_sets)\n), release_languages AS (\n SELECT code, 'English' AS language\n FROM top_sets\n WHERE isForeignOnly = 0\n UNION\n SELECT c.setCode, fd.language\n FROM top_sets AS s\n JOIN cards AS c ON c.setCode = s.code\n JOIN foreign_data AS fd ON fd.uuid = c.uuid\n)\nSELECT s.id, s.name, COUNT(l.language) AS language_count\nFROM top_sets AS s\nLEFT JOIN release_languages AS l ON l.code = s.code\nGROUP BY s.id, s.name\nORDER BY s.id ASC;", "seconds": 60.1662475829944, "calls": [{"seconds": 2.613796917023137, "usage": {"completion_tokens": 19, "prompt_tokens": 1732, "total_tokens": 1751, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1184, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1184, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1184, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.5894872080534697, "usage": {"completion_tokens": 52, "prompt_tokens": 1920, "total_tokens": 1972, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 188, "cached_tokens": 1184, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 188, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 188, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 1.905636208015494, "usage": {"completion_tokens": 18, "prompt_tokens": 2537, "total_tokens": 2555, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 617, "cached_tokens": 1372, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 617, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 617, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.587908458081074, "usage": {"completion_tokens": 276, "prompt_tokens": 2585, "total_tokens": 2861, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 129, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1989, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.7472688750131056, "usage": {"completion_tokens": 20, "prompt_tokens": 3103, "total_tokens": 3123, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 518, "cached_tokens": 2037, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 518, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 518, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.346505374996923, "usage": {"completion_tokens": 135, "prompt_tokens": 3184, "total_tokens": 3319, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 54, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 81, "cached_tokens": 2555, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 81, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 81, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.723012375063263, "usage": {"completion_tokens": 248, "prompt_tokens": 3544, "total_tokens": 3792, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 162, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 360, "cached_tokens": 2636, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 360, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 360, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 17.627184959012084, "usage": {"completion_tokens": 747, "prompt_tokens": 4142, "total_tokens": 4889, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 516, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 598, "cached_tokens": 2996, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 598, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 598, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.527479583048262, "usage": {"completion_tokens": 460, "prompt_tokens": 5136, "total_tokens": 5596, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 212, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 994, "cached_tokens": 3594, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 994, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 994, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.832092707976699, "usage": {"completion_tokens": 229, "prompt_tokens": 5860, "total_tokens": 6089, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 724, "cached_tokens": 4588, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 724, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 724, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0f8ed2c052689f6d1efc559512ecb3652b8fc19ae92575ea13a4c5f7e8853c4a", "csv_sha256": "f03cc610afb0396c87680d39e78aeedd2395def9a98aa4fc9f8dfdb0d42972e8"} +{"instance_id": "bird116", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT f.language) AS foreign_language_count\nFROM cards AS c\nJOIN foreign_data AS f ON f.uuid = c.uuid\nWHERE c.name = 'Swamp';\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT f.language) AS foreign_language_count\nFROM cards AS c\nJOIN foreign_data AS f ON f.uuid = c.uuid\nWHERE c.name = 'Swamp';", "seconds": 7.60456620901823, "calls": [{"seconds": 2.139665624941699, "usage": {"completion_tokens": 51, "prompt_tokens": 1650, "total_tokens": 1701, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1102, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1102, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1102, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.7348001670325175, "usage": {"completion_tokens": 55, "prompt_tokens": 2287, "total_tokens": 2342, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 637, "cached_tokens": 1102, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 637, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 637, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.4457119579892606, "usage": {"completion_tokens": 46, "prompt_tokens": 2408, "total_tokens": 2454, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 121, "cached_tokens": 1739, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 121, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 121, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2bb1b01c5ab708be6d9b6dd4a87d490b1d9c10b0d07708a2fabc1e256ca4973c", "csv_sha256": "125eaae2b1e5e14795b0be417c72293e19077ac7784ef26128d07a40cd1c12fb"} +{"instance_id": "bird117", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT c.scryfallOracleId) AS card_count\nFROM cards AS c\nWHERE c.colors = 'B'\n AND instr(',' || c.types || ',', ',Artifact,') > 0\n AND EXISTS (\n SELECT 1\n FROM foreign_data AS f\n WHERE f.uuid = c.uuid\n AND f.language <> 'English'\n AND TRIM(f.flavorText) <> ''\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT c.scryfallOracleId) AS card_count\nFROM cards AS c\nWHERE c.colors = 'B'\n AND instr(',' || c.types || ',', ',Artifact,') > 0\n AND EXISTS (\n SELECT 1\n FROM foreign_data AS f\n WHERE f.uuid = c.uuid\n AND f.language <> 'English'\n AND TRIM(f.flavorText) <> ''\n );", "seconds": 20.085001458064653, "calls": [{"seconds": 2.4281184579012915, "usage": {"completion_tokens": 51, "prompt_tokens": 1717, "total_tokens": 1768, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1169, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1169, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1169, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.792754083056934, "usage": {"completion_tokens": 58, "prompt_tokens": 2354, "total_tokens": 2412, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 637, "cached_tokens": 1169, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 637, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 637, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.545710957958363, "usage": {"completion_tokens": 161, "prompt_tokens": 3516, "total_tokens": 3677, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 29, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1162, "cached_tokens": 1806, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1162, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1162, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.787702417001128, "usage": {"completion_tokens": 112, "prompt_tokens": 4019, "total_tokens": 4131, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 503, "cached_tokens": 2968, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 503, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 503, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5166109999408945, "usage": {"completion_tokens": 98, "prompt_tokens": 4248, "total_tokens": 4346, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 229, "cached_tokens": 3471, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 229, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 229, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9363cfe8d6658740c31730bb94175ff281275631229a832f1aac5954f6b8c991", "csv_sha256": "0a2bf20b79c76e37bc4e792fa6ff1cc2c5678b6502ff66764f9b8a1a9530e7b1"} +{"instance_id": "bird118", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT u.DisplayName\nFROM posts AS p\nJOIN users AS u ON u.Id = p.LastEditorUserId\nWHERE p.Title = 'Examples for teaching: Correlation does not mean causation';\n```", "rows": 1, "sql": "SELECT u.DisplayName\nFROM posts AS p\nJOIN users AS u ON u.Id = p.LastEditorUserId\nWHERE p.Title = 'Examples for teaching: Correlation does not mean causation';", "seconds": 7.9269711669767275, "calls": [{"seconds": 2.5309352909680456, "usage": {"completion_tokens": 50, "prompt_tokens": 1625, "total_tokens": 1675, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1075, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1075, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1075, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.7640241250628605, "usage": {"completion_tokens": 58, "prompt_tokens": 1929, "total_tokens": 1987, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 304, "cached_tokens": 1075, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 304, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 304, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.418224624940194, "usage": {"completion_tokens": 49, "prompt_tokens": 2057, "total_tokens": 2106, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 128, "cached_tokens": 1379, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 128, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 128, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "df89e9f747c1b92e1881dd07a229a2d6c2d85d1096bdb89d41cbac75bd42c124", "csv_sha256": "f3748e70fa131070505aea6de6af284ab601bb04893977f2616c907864f7fb66"} +{"instance_id": "bird119", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT DISTINCT UserId\nFROM (\n SELECT ph.UserId, ph.PostId\n FROM postHistory AS ph\n JOIN posts AS p ON p.Id = ph.PostId\n WHERE p.ViewCount >= 1000\n AND ph.UserId IS NOT NULL\n GROUP BY ph.UserId, ph.PostId\n HAVING COUNT(*) = 1\n) AS qualifying_user_posts;\n```", "rows": 270, "sql": "SELECT DISTINCT UserId\nFROM (\n SELECT ph.UserId, ph.PostId\n FROM postHistory AS ph\n JOIN posts AS p ON p.Id = ph.PostId\n WHERE p.ViewCount >= 1000\n AND ph.UserId IS NOT NULL\n GROUP BY ph.UserId, ph.PostId\n HAVING COUNT(*) = 1\n) AS qualifying_user_posts;", "seconds": 12.244670541025698, "calls": [{"seconds": 2.776741832960397, "usage": {"completion_tokens": 66, "prompt_tokens": 1625, "total_tokens": 1691, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1075, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1075, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1075, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.078252624953166, "usage": {"completion_tokens": 167, "prompt_tokens": 2016, "total_tokens": 2183, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 61, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 391, "cached_tokens": 1075, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 391, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 391, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3868016250198707, "usage": {"completion_tokens": 90, "prompt_tokens": 2310, "total_tokens": 2400, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 294, "cached_tokens": 1466, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 294, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 294, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8ee6b2b7ecbd328dedd06fc453ab9e481f5f4c6cb95162ff2186c9c79fb86d26", "csv_sha256": "2a29debb3e7aebf647592a5d11be936818542e2a5fd871a6ffb53c09acc88ca4"} +{"instance_id": "bird120", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT 100.0 * (\n COUNT(CASE WHEN strftime('%Y', Date) = '2010' THEN 1 END)\n - COUNT(CASE WHEN strftime('%Y', Date) = '2011' THEN 1 END)\n) / NULLIF(COUNT(*), 0) AS difference_percentage_points\nFROM badges\nWHERE Name = 'Student';\n```", "rows": 1, "sql": "SELECT 100.0 * (\n COUNT(CASE WHEN strftime('%Y', Date) = '2010' THEN 1 END)\n - COUNT(CASE WHEN strftime('%Y', Date) = '2011' THEN 1 END)\n) / NULLIF(COUNT(*), 0) AS difference_percentage_points\nFROM badges\nWHERE Name = 'Student';", "seconds": 10.221681165974587, "calls": [{"seconds": 2.364016209030524, "usage": {"completion_tokens": 20, "prompt_tokens": 1633, "total_tokens": 1653, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1083, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1083, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1083, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.599469249951653, "usage": {"completion_tokens": 132, "prompt_tokens": 1693, "total_tokens": 1825, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 33, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 60, "cached_tokens": 1083, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 60, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 60, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2186724999919534, "usage": {"completion_tokens": 85, "prompt_tokens": 1937, "total_tokens": 2022, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 244, "cached_tokens": 1143, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 244, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 244, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0ddfccbc0ed613ace846c2b0d2fed70a58fe3019f9c0431ce0dadf1b8331fd17", "csv_sha256": "87e2245e7ae5f7e7552984222fb88504525d6cfc72cdefc18f9bad57d7cb4dad"} +{"instance_id": "bird121", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(100.0 * AVG(CASE WHEN INSTR(p.Tags, '') > 0 THEN 1 ELSE 0 END), 2) AS percentage\nFROM posts AS p\nJOIN users AS u ON u.Id = p.OwnerUserId\nWHERE u.DisplayName = 'Community';\n```", "rows": 1, "sql": "SELECT ROUND(100.0 * AVG(CASE WHEN INSTR(p.Tags, '') > 0 THEN 1 ELSE 0 END), 2) AS percentage\nFROM posts AS p\nJOIN users AS u ON u.Id = p.OwnerUserId\nWHERE u.DisplayName = 'Community';", "seconds": 22.240115875029005, "calls": [{"seconds": 2.707986459019594, "usage": {"completion_tokens": 65, "prompt_tokens": 1616, "total_tokens": 1681, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1066, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1066, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1066, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.972674416960217, "usage": {"completion_tokens": 18, "prompt_tokens": 1981, "total_tokens": 1999, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 365, "cached_tokens": 1066, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 365, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 365, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6506862500682473, "usage": {"completion_tokens": 124, "prompt_tokens": 2029, "total_tokens": 2153, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1431, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.967944083036855, "usage": {"completion_tokens": 193, "prompt_tokens": 2325, "total_tokens": 2518, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 75, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 296, "cached_tokens": 1479, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 296, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 296, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.554384791990742, "usage": {"completion_tokens": 105, "prompt_tokens": 2763, "total_tokens": 2868, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 23, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 438, "cached_tokens": 1775, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 438, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 438, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0965920829912648, "usage": {"completion_tokens": 71, "prompt_tokens": 2959, "total_tokens": 3030, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 196, "cached_tokens": 2213, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 196, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 196, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7a9525d925ba3ba978ab2668b98bfc164979e5093a3979cf2c266994f121ddc7", "csv_sha256": "0e636d6d0d9c2b62450abfc80c7b750456f1d45a499d890f44836579626b8cd6"} +{"instance_id": "bird122", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT p.Id AS PostId, u.DisplayName AS OwnerDisplayName\nFROM posts AS p\nLEFT JOIN users AS u ON u.Id = p.OwnerUserId\nWHERE p.CreaionDate >= '2010-01-01'\n AND p.CreaionDate < '2011-01-01'\nORDER BY p.FavoriteCount DESC, p.Id ASC\nLIMIT 1;\n```", "rows": 1, "sql": "SELECT p.Id AS PostId, u.DisplayName AS OwnerDisplayName\nFROM posts AS p\nLEFT JOIN users AS u ON u.Id = p.OwnerUserId\nWHERE p.CreaionDate >= '2010-01-01'\n AND p.CreaionDate < '2011-01-01'\nORDER BY p.FavoriteCount DESC, p.Id ASC\nLIMIT 1;", "seconds": 13.348624915932305, "calls": [{"seconds": 2.2446699159918353, "usage": {"completion_tokens": 19, "prompt_tokens": 1620, "total_tokens": 1639, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1070, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1070, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1070, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.23970091692172, "usage": {"completion_tokens": 19, "prompt_tokens": 1795, "total_tokens": 1814, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 175, "cached_tokens": 1070, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 175, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 175, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.646953249932267, "usage": {"completion_tokens": 206, "prompt_tokens": 1914, "total_tokens": 2120, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 104, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 119, "cached_tokens": 1245, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 119, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 119, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.162665707990527, "usage": {"completion_tokens": 89, "prompt_tokens": 2236, "total_tokens": 2325, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 322, "cached_tokens": 1364, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 322, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 322, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "416e0c10eb01e80b09c42a28e0f6d85c3fa5ed4927b65af874be64f6e2d5625d", "csv_sha256": "3e4c6dabe965d0eef4b6648b1fb45f0037db536912841a8066a9c779ff14bb3f"} +{"instance_id": "bird123", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT p.ViewCount,\n COALESCE(u.DisplayName, p.LastEditorDisplayName) AS LastEditorDisplayName\nFROM posts AS p\nLEFT JOIN users AS u ON u.Id = p.LastEditorUserId\nWHERE p.Title = 'Computer game datasets';\n```", "rows": 1, "sql": "SELECT p.ViewCount,\n COALESCE(u.DisplayName, p.LastEditorDisplayName) AS LastEditorDisplayName\nFROM posts AS p\nLEFT JOIN users AS u ON u.Id = p.LastEditorUserId\nWHERE p.Title = 'Computer game datasets';", "seconds": 10.680278333020397, "calls": [{"seconds": 2.434579125023447, "usage": {"completion_tokens": 50, "prompt_tokens": 1620, "total_tokens": 1670, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1070, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1070, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1070, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.712743749958463, "usage": {"completion_tokens": 150, "prompt_tokens": 1924, "total_tokens": 2074, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 76, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 304, "cached_tokens": 1070, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 304, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 304, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4846049998886883, "usage": {"completion_tokens": 62, "prompt_tokens": 2166, "total_tokens": 2228, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 242, "cached_tokens": 1374, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 242, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 242, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9e6b0e6304f0b81bbc552605d37490ba5cc4f17fb5787a63f89d514d0c718da7", "csv_sha256": "fc9908fd3bf792f0032a2c4b82a0e86fd40e76014548dbd4cb4c7ef51f641527"} +{"instance_id": "bird124", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT c.Text, COALESCE(u.DisplayName, c.UserDisplayName) AS DisplayName\nFROM posts AS p\nJOIN comments AS c ON c.PostId = p.Id\nLEFT JOIN users AS u ON u.Id = c.UserId\nWHERE p.Title = 'Analysing wind data with R'\nORDER BY c.CreationDate DESC, c.Id DESC\nLIMIT 10;\n```", "rows": 10, "sql": "SELECT c.Text, COALESCE(u.DisplayName, c.UserDisplayName) AS DisplayName\nFROM posts AS p\nJOIN comments AS c ON c.PostId = p.Id\nLEFT JOIN users AS u ON u.Id = c.UserId\nWHERE p.Title = 'Analysing wind data with R'\nORDER BY c.CreationDate DESC, c.Id DESC\nLIMIT 10;", "seconds": 11.117440500063822, "calls": [{"seconds": 2.802080749999732, "usage": {"completion_tokens": 65, "prompt_tokens": 1627, "total_tokens": 1692, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1077, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1077, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1077, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9199222499737516, "usage": {"completion_tokens": 139, "prompt_tokens": 2002, "total_tokens": 2141, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 35, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 375, "cached_tokens": 1077, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 375, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 375, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.054942499962635, "usage": {"completion_tokens": 88, "prompt_tokens": 2681, "total_tokens": 2769, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 679, "cached_tokens": 1452, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 679, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 679, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2f5f0c89dda656be42be6ab47de6244b81e27c8fcf9c0910b82dec993806c545", "csv_sha256": "f9c611994935fde67e08a1d30872546c32de1f0395694dcea120c7f6077591be"} +{"instance_id": "bird125", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(100.0 * AVG(CASE WHEN p.Score > 50 THEN 1 ELSE 0 END), 2) AS percentage\nFROM posts AS p\nWHERE p.OwnerUserId = (\n SELECT u.Id\n FROM users AS u\n ORDER BY u.Reputation DESC, u.Id\n LIMIT 1\n);\n```", "rows": 1, "sql": "SELECT ROUND(100.0 * AVG(CASE WHEN p.Score > 50 THEN 1 ELSE 0 END), 2) AS percentage\nFROM posts AS p\nWHERE p.OwnerUserId = (\n SELECT u.Id\n FROM users AS u\n ORDER BY u.Reputation DESC, u.Id\n LIMIT 1\n);", "seconds": 13.002612166921608, "calls": [{"seconds": 2.615606166073121, "usage": {"completion_tokens": 50, "prompt_tokens": 1624, "total_tokens": 1674, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1074, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1074, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1074, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.222500417032279, "usage": {"completion_tokens": 259, "prompt_tokens": 1928, "total_tokens": 2187, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 169, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 304, "cached_tokens": 1074, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 304, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 304, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.061832250095904, "usage": {"completion_tokens": 78, "prompt_tokens": 2285, "total_tokens": 2363, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 357, "cached_tokens": 1378, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 357, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 357, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e19d44e3a0b4b24d1f574e2bea6f10a61595725b2c4a30e26a039fb771010d28", "csv_sha256": "3e86ffc3d5b517f71d9d172b6d92c20af964b41b0d9fc294ce142d7bd1c3d7f0"} +{"instance_id": "bird126", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS zero_score_comment_count\nFROM (\n SELECT PostId\n FROM comments\n GROUP BY PostId\n HAVING COUNT(*) = 1 AND MAX(Score) = 0\n) AS single_comment\nWHERE EXISTS (\n SELECT 1\n FROM posts AS p\n WHERE p.Id = single_comment.PostId\n);\n```", "rows": 1, "sql": "SELECT COUNT(*) AS zero_score_comment_count\nFROM (\n SELECT PostId\n FROM comments\n GROUP BY PostId\n HAVING COUNT(*) = 1 AND MAX(Score) = 0\n) AS single_comment\nWHERE EXISTS (\n SELECT 1\n FROM posts AS p\n WHERE p.Id = single_comment.PostId\n);", "seconds": 9.948201749939471, "calls": [{"seconds": 2.7000321249943227, "usage": {"completion_tokens": 50, "prompt_tokens": 1621, "total_tokens": 1671, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1071, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1071, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1071, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.018554167007096, "usage": {"completion_tokens": 134, "prompt_tokens": 1883, "total_tokens": 2017, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 40, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 262, "cached_tokens": 1071, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 262, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 262, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1341546250041574, "usage": {"completion_tokens": 81, "prompt_tokens": 2120, "total_tokens": 2201, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 237, "cached_tokens": 1333, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 237, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 237, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "3ccc17bf5605518016b7807da6da13d7c70cd265cc33058b5ff51b64dab9e8a8", "csv_sha256": "c2b5a989aa5ec03b1b3f7dd5359462be4ea5654ccfe0e691ba6cf6cad859223a"} +{"instance_id": "bird127", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "failed", "answer": "```sql\nSELECT SUM(u.Reputation) AS total_reputation\nFROM users AS u\nWHERE u.Location LIKE '%United Kingdom%'\n AND EXISTS (\n SELECT 1\n FROM posts AS p\n WHERE p.OwnerUserId = u.Id\n );\n```", "error_type": "OperationalError", "seconds": 63.43719358299859, "calls": [{"seconds": 2.8648029590258375, "usage": {"completion_tokens": 50, "prompt_tokens": 1704, "total_tokens": 1754, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1154, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1154, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1154, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.38207799999509, "usage": {"completion_tokens": 113, "prompt_tokens": 2008, "total_tokens": 2121, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 40, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 304, "cached_tokens": 1154, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 304, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 304, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.233079249970615, "usage": {"completion_tokens": 59, "prompt_tokens": 2201, "total_tokens": 2260, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 193, "cached_tokens": 1458, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 193, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 193, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "4d86553a45f36040964fd640b35acf499b27aa56f23a78d7305f7128b27ae575"} +{"instance_id": "bird128", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(u.Age), 2) AS average_age\nFROM users AS u\nWHERE u.Id IN (\n SELECT c.UserId\n FROM comments AS c\n WHERE INSTR(c.Text, 'http://') > 0\n);\n```", "rows": 1, "sql": "SELECT ROUND(AVG(u.Age), 2) AS average_age\nFROM users AS u\nWHERE u.Id IN (\n SELECT c.UserId\n FROM comments AS c\n WHERE INSTR(c.Text, 'http://') > 0\n);", "seconds": 44.6143340410199, "calls": [{"seconds": 2.6186139170313254, "usage": {"completion_tokens": 50, "prompt_tokens": 1664, "total_tokens": 1714, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1114, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1114, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1114, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.665783500066027, "usage": {"completion_tokens": 153, "prompt_tokens": 1870, "total_tokens": 2023, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 74, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 206, "cached_tokens": 1114, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 206, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 206, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.344946999917738, "usage": {"completion_tokens": 71, "prompt_tokens": 2134, "total_tokens": 2205, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 264, "cached_tokens": 1320, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 264, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 264, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.856174583081156, "usage": {"completion_tokens": 61, "prompt_tokens": 2287, "total_tokens": 2348, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 153, "cached_tokens": 1584, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 153, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 153, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "271d1b6659da94b6f0bdab780539f6dc7cbda17a89b5871c6c5faf244e167662", "csv_sha256": "a77007b6a090f0fe7a3494ceb98d1270adebd9f84b1891460af9271b1766dc0a"} +{"instance_id": "bird129", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH organizer_awards AS (\n SELECT b.UserId, MIN(b.Date) AS organizer_date\n FROM badges AS b\n JOIN users AS u ON u.Id = b.UserId\n WHERE b.Name = 'Organizer'\n AND u.Location LIKE '%Germany%'\n GROUP BY b.UserId\n)\nSELECT COUNT(*) AS user_count\nFROM organizer_awards AS o\nWHERE (\n SELECT COUNT(*)\n FROM badges AS b\n WHERE b.UserId = o.UserId\n AND b.Date < o.organizer_date\n) = 5;\n```", "rows": 1, "sql": "WITH organizer_awards AS (\n SELECT b.UserId, MIN(b.Date) AS organizer_date\n FROM badges AS b\n JOIN users AS u ON u.Id = b.UserId\n WHERE b.Name = 'Organizer'\n AND u.Location LIKE '%Germany%'\n GROUP BY b.UserId\n)\nSELECT COUNT(*) AS user_count\nFROM organizer_awards AS o\nWHERE (\n SELECT COUNT(*)\n FROM badges AS b\n WHERE b.UserId = o.UserId\n AND b.Date < o.organizer_date\n) = 5;", "seconds": 20.528947124956176, "calls": [{"seconds": 2.8059997080126777, "usage": {"completion_tokens": 65, "prompt_tokens": 1699, "total_tokens": 1764, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1149, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1149, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1149, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.8813278750749305, "usage": {"completion_tokens": 275, "prompt_tokens": 1930, "total_tokens": 2205, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 180, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 231, "cached_tokens": 1149, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 231, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 231, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.023417541990057, "usage": {"completion_tokens": 231, "prompt_tokens": 2498, "total_tokens": 2729, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 90, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 568, "cached_tokens": 1380, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 568, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 568, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.703391958959401, "usage": {"completion_tokens": 132, "prompt_tokens": 2871, "total_tokens": 3003, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 7, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 373, "cached_tokens": 1948, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 373, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 373, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "53837d52783f9256fd6c38072b849ca8b043d85de3871552d1fb61418463435d", "csv_sha256": "49e18d4faced427cd7e067654c2c599c850da4872039ab988dd89f6792066aa8"} +{"instance_id": "bird130", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH first_posts AS (\n SELECT OwnerUserId, MIN(CreaionDate) AS first_post_at\n FROM posts\n GROUP BY OwnerUserId\n)\nSELECT COUNT(DISTINCT u.Id) AS user_count\nFROM first_posts AS f\nJOIN users AS u ON u.Id = f.OwnerUserId\nWHERE f.first_post_at >= '2010-01-01'\n AND f.first_post_at < '2011-01-01'\n AND (\n LOWER(TRIM(u.Location)) = 'india'\n OR REPLACE(LOWER(TRIM(u.Location)), ', ', ',') LIKE '%,india'\n );\n```", "rows": 1, "sql": "WITH first_posts AS (\n SELECT OwnerUserId, MIN(CreaionDate) AS first_post_at\n FROM posts\n GROUP BY OwnerUserId\n)\nSELECT COUNT(DISTINCT u.Id) AS user_count\nFROM first_posts AS f\nJOIN users AS u ON u.Id = f.OwnerUserId\nWHERE f.first_post_at >= '2010-01-01'\n AND f.first_post_at < '2011-01-01'\n AND (\n LOWER(TRIM(u.Location)) = 'india'\n OR REPLACE(LOWER(TRIM(u.Location)), ', ', ',') LIKE '%,india'\n );", "seconds": 35.15963729203213, "calls": [{"seconds": 2.5757625000551343, "usage": {"completion_tokens": 50, "prompt_tokens": 1701, "total_tokens": 1751, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1151, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1151, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1151, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.465706999995746, "usage": {"completion_tokens": 176, "prompt_tokens": 2005, "total_tokens": 2181, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 49, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 304, "cached_tokens": 1151, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 304, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 304, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.420709124999121, "usage": {"completion_tokens": 222, "prompt_tokens": 2354, "total_tokens": 2576, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 93, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 349, "cached_tokens": 1455, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 349, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 349, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.091153000015765, "usage": {"completion_tokens": 217, "prompt_tokens": 3104, "total_tokens": 3321, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 56, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 750, "cached_tokens": 1804, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 750, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 750, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.247267375001684, "usage": {"completion_tokens": 599, "prompt_tokens": 4457, "total_tokens": 5056, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 442, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1353, "cached_tokens": 2554, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1353, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1353, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9342087919358164, "usage": {"completion_tokens": 139, "prompt_tokens": 5214, "total_tokens": 5353, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 757, "cached_tokens": 3907, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 757, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 757, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e2b3537e5a8a8287d1b2b7f964107e042f62916fd8a81b7fce38ec367ea5c7a2", "csv_sha256": "a2a719e270f6f454970b1ffb93815451e1b6ad2982d8907b8d1a378234707f3d"} +{"instance_id": "bird131", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH qualifying_owners AS (\n SELECT DISTINCT OwnerUserId\n FROM posts\n WHERE Score < 20\n AND INSTR(Tags, '') > 0\n)\nSELECT CAST(ROUND(AVG(u.Reputation)) AS INTEGER) AS average_reputation\nFROM qualifying_owners AS q\nJOIN users AS u ON u.Id = q.OwnerUserId;\n```", "rows": 1, "sql": "WITH qualifying_owners AS (\n SELECT DISTINCT OwnerUserId\n FROM posts\n WHERE Score < 20\n AND INSTR(Tags, '') > 0\n)\nSELECT CAST(ROUND(AVG(u.Reputation)) AS INTEGER) AS average_reputation\nFROM qualifying_owners AS q\nJOIN users AS u ON u.Id = q.OwnerUserId;", "seconds": 47.30399570800364, "calls": [{"seconds": 2.671977624995634, "usage": {"completion_tokens": 65, "prompt_tokens": 1679, "total_tokens": 1744, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1129, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1129, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1129, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.137943000067025, "usage": {"completion_tokens": 93, "prompt_tokens": 2044, "total_tokens": 2137, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 54, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 365, "cached_tokens": 1129, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 365, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 365, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2821462500141934, "usage": {"completion_tokens": 89, "prompt_tokens": 2235, "total_tokens": 2324, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 191, "cached_tokens": 1494, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 191, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 191, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.715438958024606, "usage": {"completion_tokens": 97, "prompt_tokens": 2447, "total_tokens": 2544, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 212, "cached_tokens": 1685, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 212, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 212, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3758520409464836, "usage": {"completion_tokens": 86, "prompt_tokens": 2650, "total_tokens": 2736, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 203, "cached_tokens": 1897, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 203, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 203, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "c62870a66d65b113e0e9c3a7c3c5dbdc753525363b2e36cee14613469c40aaab", "csv_sha256": "64bfacc299ad87a567a287695dbcae74504f469f7a16e66347e1e7a4fd1fb198"} +{"instance_id": "bird132", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH posts_2012 AS (\n SELECT LastEditorUserId, Score\n FROM posts\n WHERE CreaionDate >= '2012-01-01'\n AND CreaionDate < '2013-01-01'\n),\ngerman_editors AS (\n SELECT u.Id, u.Reputation\n FROM users AS u\n JOIN (SELECT DISTINCT LastEditorUserId FROM posts_2012) AS e\n ON e.LastEditorUserId = u.Id\n WHERE LOWER(TRIM(u.Location)) = 'germany'\n OR LOWER(TRIM(u.Location)) LIKE '%, germany'\n OR LOWER(TRIM(u.Location)) = 'munich'\n)\nSELECT\n SUM(p.Score) FILTER (WHERE g.Id IS NOT NULL) AS germany_edited_total_score,\n SUM(p.Score) FILTER (WHERE g.Id IS NULL) AS other_posts_total_score,\n (SELECT COUNT(*) FROM german_editors) AS german_editor_count,\n (SELECT SUM(Reputation) FROM german_editors) AS german_editors_total_reputation\nFROM posts_2012 AS p\nLEFT JOIN german_editors AS g ON g.Id = p.LastEditorUserId;\n```", "rows": 1, "sql": "WITH posts_2012 AS (\n SELECT LastEditorUserId, Score\n FROM posts\n WHERE CreaionDate >= '2012-01-01'\n AND CreaionDate < '2013-01-01'\n),\ngerman_editors AS (\n SELECT u.Id, u.Reputation\n FROM users AS u\n JOIN (SELECT DISTINCT LastEditorUserId FROM posts_2012) AS e\n ON e.LastEditorUserId = u.Id\n WHERE LOWER(TRIM(u.Location)) = 'germany'\n OR LOWER(TRIM(u.Location)) LIKE '%, germany'\n OR LOWER(TRIM(u.Location)) = 'munich'\n)\nSELECT\n SUM(p.Score) FILTER (WHERE g.Id IS NOT NULL) AS germany_edited_total_score,\n SUM(p.Score) FILTER (WHERE g.Id IS NULL) AS other_posts_total_score,\n (SELECT COUNT(*) FROM german_editors) AS german_editor_count,\n (SELECT SUM(Reputation) FROM german_editors) AS german_editors_total_reputation\nFROM posts_2012 AS p\nLEFT JOIN german_editors AS g ON g.Id = p.LastEditorUserId;", "seconds": 47.702027083025314, "calls": [{"seconds": 2.5969514579046518, "usage": {"completion_tokens": 64, "prompt_tokens": 1733, "total_tokens": 1797, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1183, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1183, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1183, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.076753749977797, "usage": {"completion_tokens": 172, "prompt_tokens": 2079, "total_tokens": 2251, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 63, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 346, "cached_tokens": 1183, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 346, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 346, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.654759416007437, "usage": {"completion_tokens": 116, "prompt_tokens": 2755, "total_tokens": 2871, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 676, "cached_tokens": 1529, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 676, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 676, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.565965957939625, "usage": {"completion_tokens": 543, "prompt_tokens": 4392, "total_tokens": 4935, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 310, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1637, "cached_tokens": 2205, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1637, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1637, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 16.215298249968328, "usage": {"completion_tokens": 777, "prompt_tokens": 5490, "total_tokens": 6267, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 506, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1098, "cached_tokens": 3842, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1098, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1098, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.920556292054243, "usage": {"completion_tokens": 363, "prompt_tokens": 6573, "total_tokens": 6936, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 110, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1083, "cached_tokens": 4940, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1083, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1083, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "4ddcc9dcdf9f8805323d24f94de5cdb0da7e181b6f3b3b049af00a476f47b1a2", "csv_sha256": "e8a998cf0474399855c88c4cd34f8b3750a70b7ce282884dfcb6864c8463235c"} +{"instance_id": "bird133", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT SUM(u.Reputation) AS combined_reputation\nFROM users AS u\nJOIN (\n SELECT DISTINCT p.OwnerUserId\n FROM posts AS p\n WHERE p.Score = 10\n AND instr(p.Tags, '') > 0\n) AS owners ON owners.OwnerUserId = u.Id;\n```", "rows": 1, "sql": "SELECT SUM(u.Reputation) AS combined_reputation\nFROM users AS u\nJOIN (\n SELECT DISTINCT p.OwnerUserId\n FROM posts AS p\n WHERE p.Score = 10\n AND instr(p.Tags, '') > 0\n) AS owners ON owners.OwnerUserId = u.Id;", "seconds": 44.52590770809911, "calls": [{"seconds": 2.73865554202348, "usage": {"completion_tokens": 65, "prompt_tokens": 1686, "total_tokens": 1751, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1136, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1136, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1136, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.129999208962545, "usage": {"completion_tokens": 65, "prompt_tokens": 2051, "total_tokens": 2116, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 365, "cached_tokens": 1136, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 365, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 365, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.888387625105679, "usage": {"completion_tokens": 81, "prompt_tokens": 2199, "total_tokens": 2280, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 148, "cached_tokens": 1501, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 148, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 148, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9770281669916585, "usage": {"completion_tokens": 84, "prompt_tokens": 2395, "total_tokens": 2479, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 196, "cached_tokens": 1649, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 196, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 196, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.690971083007753, "usage": {"completion_tokens": 74, "prompt_tokens": 2574, "total_tokens": 2648, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 179, "cached_tokens": 1845, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 179, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 179, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "434686f1baac0511cf15d2faed7088d3fdd4c9ccc6f2589e013a15c380f94225", "csv_sha256": "da76e27796131ba1899c52f1987a726025cf708acbc14cdd4cbaf4f826fc798c"} +{"instance_id": "bird134", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT SUM(u.Reputation) AS combined_reputation\nFROM (\n SELECT DISTINCT p.OwnerUserId\n FROM posts AS p\n WHERE p.LasActivityDate >= '2014-08-27'\n AND p.LasActivityDate < '2014-08-28'\n AND p.Tags LIKE '%%'\n) AS owners\nJOIN users AS u ON u.Id = owners.OwnerUserId;\n```", "rows": 1, "sql": "SELECT SUM(u.Reputation) AS combined_reputation\nFROM (\n SELECT DISTINCT p.OwnerUserId\n FROM posts AS p\n WHERE p.LasActivityDate >= '2014-08-27'\n AND p.LasActivityDate < '2014-08-28'\n AND p.Tags LIKE '%%'\n) AS owners\nJOIN users AS u ON u.Id = owners.OwnerUserId;", "seconds": 46.90688441705424, "calls": [{"seconds": 2.4446890420513228, "usage": {"completion_tokens": 65, "prompt_tokens": 1678, "total_tokens": 1743, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1128, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1128, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1128, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.821299458038993, "usage": {"completion_tokens": 250, "prompt_tokens": 2043, "total_tokens": 2293, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 144, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 365, "cached_tokens": 1128, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 365, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 365, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7335725830635056, "usage": {"completion_tokens": 107, "prompt_tokens": 2428, "total_tokens": 2535, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 385, "cached_tokens": 1493, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 385, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 385, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8250012079952285, "usage": {"completion_tokens": 94, "prompt_tokens": 2650, "total_tokens": 2744, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 222, "cached_tokens": 1878, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 222, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 222, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "624a21b97e1235ecac574bac4ecdad7e0161f6075c3bfc320119b4d51da12922", "csv_sha256": "d001f3bcbc36a7f313e1337b37f389c6f957e875d17920fef2b54e8a0287a688"} +{"instance_id": "bird135", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT SUM(q.Score) AS total_score\nFROM posts AS q\nWHERE q.PostTypeId = 1\n AND q.Tags LIKE '%%'\n AND EXISTS (\n SELECT 1\n FROM postLinks AS l\n JOIN posts AS target ON target.Id = l.RelatedPostId\n WHERE l.PostId = q.Id\n AND target.PostTypeId = 1\n AND target.Title = 'A Probability distribution value exceeding 1 is OK?'\n );\n```", "rows": 1, "sql": "SELECT SUM(q.Score) AS total_score\nFROM posts AS q\nWHERE q.PostTypeId = 1\n AND q.Tags LIKE '%%'\n AND EXISTS (\n SELECT 1\n FROM postLinks AS l\n JOIN posts AS target ON target.Id = l.RelatedPostId\n WHERE l.PostId = q.Id\n AND target.PostTypeId = 1\n AND target.Title = 'A Probability distribution value exceeding 1 is OK?'\n );", "seconds": 18.010331874946132, "calls": [{"seconds": 2.5712749159429222, "usage": {"completion_tokens": 66, "prompt_tokens": 1662, "total_tokens": 1728, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1112, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1112, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1112, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.810654041939415, "usage": {"completion_tokens": 122, "prompt_tokens": 1978, "total_tokens": 2100, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 14, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 316, "cached_tokens": 1112, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 316, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 316, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.519961333018728, "usage": {"completion_tokens": 201, "prompt_tokens": 2891, "total_tokens": 3092, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 77, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 913, "cached_tokens": 1428, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 913, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 913, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7025055409176275, "usage": {"completion_tokens": 110, "prompt_tokens": 3221, "total_tokens": 3331, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 330, "cached_tokens": 2341, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 330, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 330, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8e69ef7e4c8791111b5bb0208b37cc6c1e46cbcb78c7a9baf9641e4fa7b6e44c", "csv_sha256": "e45b08ca5bd5c83ee8be5ce401eb1b4fc86620747908c5da7b06fcaba0f04513"} +{"instance_id": "bird136", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH badge_totals AS (\n SELECT u.Id, u.DisplayName, COUNT(b.Id) AS badge_total\n FROM users AS u\n LEFT JOIN badges AS b ON b.UserId = u.Id\n WHERE LOWER(u.Location) LIKE '%germany%'\n GROUP BY u.Id, u.DisplayName\n), ranked_users AS (\n SELECT DisplayName, badge_total,\n DENSE_RANK() OVER (ORDER BY badge_total DESC) AS badge_rank\n FROM badge_totals\n)\nSELECT DisplayName, badge_total\nFROM ranked_users\nWHERE badge_rank = 2\nORDER BY DisplayName;\n```", "rows": 1, "sql": "WITH badge_totals AS (\n SELECT u.Id, u.DisplayName, COUNT(b.Id) AS badge_total\n FROM users AS u\n LEFT JOIN badges AS b ON b.UserId = u.Id\n WHERE LOWER(u.Location) LIKE '%germany%'\n GROUP BY u.Id, u.DisplayName\n), ranked_users AS (\n SELECT DisplayName, badge_total,\n DENSE_RANK() OVER (ORDER BY badge_total DESC) AS badge_rank\n FROM badge_totals\n)\nSELECT DisplayName, badge_total\nFROM ranked_users\nWHERE badge_rank = 2\nORDER BY DisplayName;", "seconds": 13.873728249920532, "calls": [{"seconds": 3.0630573329981416, "usage": {"completion_tokens": 65, "prompt_tokens": 1693, "total_tokens": 1758, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1143, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1143, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1143, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.627263000002131, "usage": {"completion_tokens": 295, "prompt_tokens": 1924, "total_tokens": 2219, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 145, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 231, "cached_tokens": 1143, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 231, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 231, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.101920415996574, "usage": {"completion_tokens": 156, "prompt_tokens": 2381, "total_tokens": 2537, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 21, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 457, "cached_tokens": 1374, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 457, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 457, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "75cb290cb68fc75bf79cb4d8c36121f17ca728505efec8a684e6f6137d8b6e07", "csv_sha256": "938395a17f48bfd5aa22c86ad6cdf17641e3419c907fe0c545e1a1208fc4950a"} +{"instance_id": "bird137", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH california_users AS (\n SELECT Id, DisplayName, Views, Reputation\n FROM users\n WHERE (' ' || LOWER(Location) || ' ') GLOB '*[^a-z]california[^a-z]*'\n OR (' ' || LOWER(Location) || ' ') GLOB '*[^a-z]ca[^a-z]*'\n)\nSELECT Id, DisplayName, Views, Reputation\nFROM california_users\nWHERE Views = (SELECT MAX(Views) FROM california_users)\nORDER BY Id;\n```", "rows": 1, "sql": "WITH california_users AS (\n SELECT Id, DisplayName, Views, Reputation\n FROM users\n WHERE (' ' || LOWER(Location) || ' ') GLOB '*[^a-z]california[^a-z]*'\n OR (' ' || LOWER(Location) || ' ') GLOB '*[^a-z]ca[^a-z]*'\n)\nSELECT Id, DisplayName, Views, Reputation\nFROM california_users\nWHERE Views = (SELECT MAX(Views) FROM california_users)\nORDER BY Id;", "seconds": 24.07215995795559, "calls": [{"seconds": 2.1880777499172837, "usage": {"completion_tokens": 19, "prompt_tokens": 1690, "total_tokens": 1709, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1140, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1140, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1140, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.887551166000776, "usage": {"completion_tokens": 232, "prompt_tokens": 1809, "total_tokens": 2041, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 153, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 119, "cached_tokens": 1140, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 119, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 119, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3075991660589352, "usage": {"completion_tokens": 70, "prompt_tokens": 2539, "total_tokens": 2609, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 33, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 730, "cached_tokens": 1259, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 730, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 730, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.060234292061068, "usage": {"completion_tokens": 340, "prompt_tokens": 3002, "total_tokens": 3342, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 215, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 463, "cached_tokens": 1989, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 463, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 463, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5601995839970186, "usage": {"completion_tokens": 109, "prompt_tokens": 3493, "total_tokens": 3602, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 491, "cached_tokens": 2452, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 491, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 491, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "df15eda40650477fdad9b89a4cada0852e577afeea28b21719515393bb78dc93", "csv_sha256": "cba3906c03cd97cbd0c5af247eef971e7264a6bfda315609c960df375b3fa146"} +{"instance_id": "bird138", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH york_users AS (\n SELECT Age, Reputation\n FROM users\n WHERE lower(trim(Location)) IN (\n 'york', 'york, england', 'york, united kingdom', 'york, uk',\n 'york, england, united kingdom', 'york, england, uk'\n )\n)\nSELECT Age\nFROM york_users\nWHERE Reputation = (SELECT MAX(Reputation) FROM york_users);\n```", "rows": 1, "sql": "WITH york_users AS (\n SELECT Age, Reputation\n FROM users\n WHERE lower(trim(Location)) IN (\n 'york', 'york, england', 'york, united kingdom', 'york, uk',\n 'york, england, united kingdom', 'york, england, uk'\n )\n)\nSELECT Age\nFROM york_users\nWHERE Reputation = (SELECT MAX(Reputation) FROM york_users);", "seconds": 15.887440708000213, "calls": [{"seconds": 2.0435717080254108, "usage": {"completion_tokens": 19, "prompt_tokens": 1691, "total_tokens": 1710, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1141, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1141, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1141, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9643538339296356, "usage": {"completion_tokens": 54, "prompt_tokens": 1810, "total_tokens": 1864, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 119, "cached_tokens": 1141, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 119, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 119, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.138107208069414, "usage": {"completion_tokens": 266, "prompt_tokens": 2079, "total_tokens": 2345, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 151, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 269, "cached_tokens": 1260, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 269, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 269, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.70115962496493, "usage": {"completion_tokens": 96, "prompt_tokens": 2459, "total_tokens": 2555, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 380, "cached_tokens": 1529, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 380, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 380, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d5765a5af5c23d6096d6356eb5c3d87e8c82ebd016e7e6bf96f01db0fb7d2d59", "csv_sha256": "b1dc4988962f28e92f5445754e15c78ee115a3456c9a7b6b9f05ca34b0cd2e92"} +{"instance_id": "bird139", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT u.Id) AS user_count\nFROM users AS u\nJOIN badges AS b ON b.UserId = u.Id\nWHERE u.Location LIKE '%India%'\n AND b.Name = 'Yearling'\n AND b.Date < '2014-01-01';\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT u.Id) AS user_count\nFROM users AS u\nJOIN badges AS b ON b.UserId = u.Id\nWHERE u.Location LIKE '%India%'\n AND b.Name = 'Yearling'\n AND b.Date < '2014-01-01';", "seconds": 11.662960250047036, "calls": [{"seconds": 2.386563792009838, "usage": {"completion_tokens": 51, "prompt_tokens": 1672, "total_tokens": 1723, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1122, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1122, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1122, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.342596750007942, "usage": {"completion_tokens": 231, "prompt_tokens": 1861, "total_tokens": 2092, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 151, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 189, "cached_tokens": 1122, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 189, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 189, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9009541670093313, "usage": {"completion_tokens": 66, "prompt_tokens": 2177, "total_tokens": 2243, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 316, "cached_tokens": 1311, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 316, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 316, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "293c00ef21433ced2cbd4078adf514f4e02af762716bba8f3792680ea844cd3a", "csv_sha256": "95b5c4ebea3e5fbfd4c0988aed9b870d0481c8e151034f888cc2f253126c472c"} +{"instance_id": "bird140", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT NULLIF(u.DisplayName, 'NaN')) AS distinct_display_names\nFROM users AS u\nWHERE u.Age BETWEEN 19 AND 65\n AND EXISTS (\n SELECT 1\n FROM badges AS b\n WHERE b.UserId = u.Id AND b.Name = 'Supporter'\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT NULLIF(u.DisplayName, 'NaN')) AS distinct_display_names\nFROM users AS u\nWHERE u.Age BETWEEN 19 AND 65\n AND EXISTS (\n SELECT 1\n FROM badges AS b\n WHERE b.UserId = u.Id AND b.Name = 'Supporter'\n );", "seconds": 32.150352749973536, "calls": [{"seconds": 2.744718541041948, "usage": {"completion_tokens": 51, "prompt_tokens": 1674, "total_tokens": 1725, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1124, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1124, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1124, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.3710927499923855, "usage": {"completion_tokens": 203, "prompt_tokens": 1863, "total_tokens": 2066, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 113, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 189, "cached_tokens": 1124, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 189, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 189, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0964522910071537, "usage": {"completion_tokens": 77, "prompt_tokens": 2164, "total_tokens": 2241, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 301, "cached_tokens": 1313, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 301, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 301, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "72e9f1ba1714f3e8909a3a247c618ef065c263afc2e85d6e6bd9f1abcc7c42b6", "csv_sha256": "f92daf42fc49c0131f0b9ff7170842ac5dba673e39a0227f14af145776660937"} +{"instance_id": "bird141", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH matching_posts AS (\n SELECT Id, Title\n FROM posts\n WHERE LOWER(Title) LIKE '%principal component scores%'\n), linked_posts AS (\n SELECT p.Id AS post_id, l.RelatedPostId AS linked_post_id\n FROM matching_posts AS p\n JOIN postLinks AS l ON l.PostId = p.Id\n UNION ALL\n SELECT p.Id AS post_id, l.PostId AS linked_post_id\n FROM matching_posts AS p\n JOIN postLinks AS l ON l.RelatedPostId = p.Id\n), related_counts AS (\n SELECT p.Title, COUNT(DISTINCT l.linked_post_id) AS related_post_count\n FROM matching_posts AS p\n LEFT JOIN linked_posts AS l\n ON l.post_id = p.Id AND l.linked_post_id <> p.Id\n GROUP BY p.Id, p.Title\n)\nSELECT Title, related_post_count\nFROM related_counts\nWHERE related_post_count = (SELECT MAX(related_post_count) FROM related_counts)\nORDER BY Title;\n```", "rows": 1, "sql": "WITH matching_posts AS (\n SELECT Id, Title\n FROM posts\n WHERE LOWER(Title) LIKE '%principal component scores%'\n), linked_posts AS (\n SELECT p.Id AS post_id, l.RelatedPostId AS linked_post_id\n FROM matching_posts AS p\n JOIN postLinks AS l ON l.PostId = p.Id\n UNION ALL\n SELECT p.Id AS post_id, l.PostId AS linked_post_id\n FROM matching_posts AS p\n JOIN postLinks AS l ON l.RelatedPostId = p.Id\n), related_counts AS (\n SELECT p.Title, COUNT(DISTINCT l.linked_post_id) AS related_post_count\n FROM matching_posts AS p\n LEFT JOIN linked_posts AS l\n ON l.post_id = p.Id AND l.linked_post_id <> p.Id\n GROUP BY p.Id, p.Title\n)\nSELECT Title, related_post_count\nFROM related_counts\nWHERE related_post_count = (SELECT MAX(related_post_count) FROM related_counts)\nORDER BY Title;", "seconds": 19.61550025001634, "calls": [{"seconds": 2.5443806670373306, "usage": {"completion_tokens": 51, "prompt_tokens": 1690, "total_tokens": 1741, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1140, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1140, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1140, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.276938832947053, "usage": {"completion_tokens": 719, "prompt_tokens": 1945, "total_tokens": 2664, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 479, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1140, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.648096750024706, "usage": {"completion_tokens": 222, "prompt_tokens": 2918, "total_tokens": 3140, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 973, "cached_tokens": 1395, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 973, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 973, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "c8bf07a026f215cf2f7c738923eb38d9742122ee21a180a0147ed12dab0f4e5c", "csv_sha256": "f2aeead82e3c4c5ccf7d6c2850ee40c0aa5d8d35c11a855154e585d97c47219b"} +{"instance_id": "bird142", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "failed", "answer": "By “youngest,” do you mean the user with the lowest recorded age or the most recently created account?", "error_type": "ValueError", "seconds": 19.125174458953552, "calls": [{"seconds": 2.158718208083883, "usage": {"completion_tokens": 19, "prompt_tokens": 1638, "total_tokens": 1657, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1088, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1088, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1088, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.238506332971156, "usage": {"completion_tokens": 356, "prompt_tokens": 1757, "total_tokens": 2113, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 306, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 119, "cached_tokens": 1088, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 119, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 119, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.718235250096768, "usage": {"completion_tokens": 391, "prompt_tokens": 2167, "total_tokens": 2558, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 363, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 410, "cached_tokens": 1207, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 410, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 410, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "66dff20a8603161bfd6e3d50d5a105e14bb1b9240d6f82e878d38af88d4150e4"} +{"instance_id": "bird143", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT p.OwnerUserId)\n + COUNT(DISTINCT CASE WHEN p.OwnerUserId IS NULL THEN p.OwnerDisplayName END) AS user_count\nFROM votes AS v\nJOIN posts AS p ON p.Id = v.PostId\nWHERE v.BountyAmount >= 30\n AND v.CreationDate >= '2010-01-01'\n AND v.CreationDate < '2011-01-01';\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT p.OwnerUserId)\n + COUNT(DISTINCT CASE WHEN p.OwnerUserId IS NULL THEN p.OwnerDisplayName END) AS user_count\nFROM votes AS v\nJOIN posts AS p ON p.Id = v.PostId\nWHERE v.BountyAmount >= 30\n AND v.CreationDate >= '2010-01-01'\n AND v.CreationDate < '2011-01-01';", "seconds": 17.344783375039697, "calls": [{"seconds": 3.412598542054184, "usage": {"completion_tokens": 50, "prompt_tokens": 1718, "total_tokens": 1768, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1168, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1168, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1168, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.622862334013917, "usage": {"completion_tokens": 479, "prompt_tokens": 1976, "total_tokens": 2455, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 365, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 258, "cached_tokens": 1168, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 258, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 258, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.2918625000165775, "usage": {"completion_tokens": 101, "prompt_tokens": 2575, "total_tokens": 2676, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 599, "cached_tokens": 1426, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 599, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 599, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "3c56b6f1bdbeafc47bb43880575cf0461e5366590251b0372dc5dba2dcf23969", "csv_sha256": "1276d4ee9c59835709dc4990955e09cc8583f064194b85bfd46146c903edb162"} +{"instance_id": "bird144", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH posters AS (\n SELECT DISTINCT OwnerUserId\n FROM posts\n WHERE CreaionDate >= '2010-01-01'\n AND CreaionDate < '2011-01-01'\n)\nSELECT ROUND(AVG(u.Reputation), 2) AS average_reputation\nFROM posters AS p\nJOIN users AS u ON u.Id = p.OwnerUserId\nWHERE LOWER(TRIM(u.Location)) = 'india'\n OR LOWER(TRIM(u.Location)) LIKE '%, india';\n```", "rows": 1, "sql": "WITH posters AS (\n SELECT DISTINCT OwnerUserId\n FROM posts\n WHERE CreaionDate >= '2010-01-01'\n AND CreaionDate < '2011-01-01'\n)\nSELECT ROUND(AVG(u.Reputation), 2) AS average_reputation\nFROM posters AS p\nJOIN users AS u ON u.Id = p.OwnerUserId\nWHERE LOWER(TRIM(u.Location)) = 'india'\n OR LOWER(TRIM(u.Location)) LIKE '%, india';", "seconds": 58.35925020801369, "calls": [{"seconds": 2.758827665937133, "usage": {"completion_tokens": 64, "prompt_tokens": 1692, "total_tokens": 1756, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1142, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1142, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1142, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5260993329575285, "usage": {"completion_tokens": 129, "prompt_tokens": 2038, "total_tokens": 2167, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 346, "cached_tokens": 1142, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 346, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 346, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2819261249387637, "usage": {"completion_tokens": 132, "prompt_tokens": 2323, "total_tokens": 2455, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 285, "cached_tokens": 1488, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 285, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 285, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0085697919130325, "usage": {"completion_tokens": 98, "prompt_tokens": 2956, "total_tokens": 3054, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 633, "cached_tokens": 1773, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 633, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 633, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.465078457957134, "usage": {"completion_tokens": 393, "prompt_tokens": 3378, "total_tokens": 3771, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 422, "cached_tokens": 2406, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 422, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 422, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.375046958914027, "usage": {"completion_tokens": 184, "prompt_tokens": 5033, "total_tokens": 5217, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 55, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1655, "cached_tokens": 2828, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1655, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1655, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6952162500238046, "usage": {"completion_tokens": 112, "prompt_tokens": 5352, "total_tokens": 5464, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 319, "cached_tokens": 4483, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 319, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 319, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8a3c3ee3ff7ca6948e23bb9be28fcbd67380675343e53c706fee930695ba536a", "csv_sha256": "61451a2cebb10f41a7cf87e8297c5c7745536cd65280064eb54bcfda25514ac2"} +{"instance_id": "bird145", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH active_users AS (\n SELECT OwnerUserId\n FROM posts\n WHERE CreaionDate >= '2012-01-01'\n AND CreaionDate < '2013-01-01'\n GROUP BY OwnerUserId\n HAVING COUNT(*) > 10\n)\nSELECT ROUND(AVG(u.UpVotes), 2) AS average_upvotes_cast,\n ROUND(AVG(u.Age), 2) AS average_age\nFROM active_users AS a\nJOIN users AS u ON u.Id = a.OwnerUserId;\n```", "rows": 1, "sql": "WITH active_users AS (\n SELECT OwnerUserId\n FROM posts\n WHERE CreaionDate >= '2012-01-01'\n AND CreaionDate < '2013-01-01'\n GROUP BY OwnerUserId\n HAVING COUNT(*) > 10\n)\nSELECT ROUND(AVG(u.UpVotes), 2) AS average_upvotes_cast,\n ROUND(AVG(u.Age), 2) AS average_age\nFROM active_users AS a\nJOIN users AS u ON u.Id = a.OwnerUserId;", "seconds": 12.344069582992233, "calls": [{"seconds": 3.073956207954325, "usage": {"completion_tokens": 65, "prompt_tokens": 1683, "total_tokens": 1748, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1133, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1133, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1133, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.025277582928538, "usage": {"completion_tokens": 202, "prompt_tokens": 2054, "total_tokens": 2256, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 65, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 371, "cached_tokens": 1133, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 371, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 371, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.131836584070697, "usage": {"completion_tokens": 121, "prompt_tokens": 2410, "total_tokens": 2531, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 356, "cached_tokens": 1504, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 356, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 356, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "876364d637ce2f82dee3bc1805d2098a9099386ce047e49ce8ac86c1f3903714", "csv_sha256": "096de3d05752f7b80ce617b25325e9c27ab110450bf24be1f99f5aad6488bf87"} +{"instance_id": "bird147", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(100.0 * AVG(CASE WHEN NOT EXISTS (\n SELECT 1\n FROM users AS u\n WHERE u.Id = p.OwnerUserId\n AND u.Reputation >= 1000\n) THEN 1 ELSE 0 END), 2) AS percentage\nFROM posts AS p\nWHERE p.CreaionDate >= '2010-01-01'\n AND p.CreaionDate < '2011-01-01'\n AND p.Score > 5;\n```", "rows": 1, "sql": "SELECT ROUND(100.0 * AVG(CASE WHEN NOT EXISTS (\n SELECT 1\n FROM users AS u\n WHERE u.Id = p.OwnerUserId\n AND u.Reputation >= 1000\n) THEN 1 ELSE 0 END), 2) AS percentage\nFROM posts AS p\nWHERE p.CreaionDate >= '2010-01-01'\n AND p.CreaionDate < '2011-01-01'\n AND p.Score > 5;", "seconds": 11.296268000034615, "calls": [{"seconds": 2.3903455840190873, "usage": {"completion_tokens": 50, "prompt_tokens": 1697, "total_tokens": 1747, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1147, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1147, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1147, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.479929291992448, "usage": {"completion_tokens": 244, "prompt_tokens": 2001, "total_tokens": 2245, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 118, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 304, "cached_tokens": 1147, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 304, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 304, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3183261250378564, "usage": {"completion_tokens": 112, "prompt_tokens": 2377, "total_tokens": 2489, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 376, "cached_tokens": 1451, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 376, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 376, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "efcb90fe7a50c7a5b7f8b96985bb9ff54b2cbe59c3c439cfc7ceee409087377b", "csv_sha256": "c2b8d45442af1ba96813f1c39353175c2d93aae722648e513b498f9abd4c685d"} +{"instance_id": "bird148", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH editor_counts AS (\n SELECT u.DisplayName AS display_name,\n COUNT(*) AS edit_comment_count\n FROM posts AS p\n JOIN postHistory AS h ON h.PostId = p.Id\n JOIN users AS u ON u.Id = h.UserId\n WHERE p.Title = 'Why square the difference instead of taking the absolute value in standard deviation?'\n AND NULLIF(TRIM(h.Comment), '') IS NOT NULL\n GROUP BY u.Id, u.DisplayName\n)\nSELECT display_name, edit_comment_count\nFROM editor_counts\nWHERE edit_comment_count = (SELECT MAX(edit_comment_count) FROM editor_counts)\nORDER BY display_name;\n```", "rows": 1, "sql": "WITH editor_counts AS (\n SELECT u.DisplayName AS display_name,\n COUNT(*) AS edit_comment_count\n FROM posts AS p\n JOIN postHistory AS h ON h.PostId = p.Id\n JOIN users AS u ON u.Id = h.UserId\n WHERE p.Title = 'Why square the difference instead of taking the absolute value in standard deviation?'\n AND NULLIF(TRIM(h.Comment), '') IS NOT NULL\n GROUP BY u.Id, u.DisplayName\n)\nSELECT display_name, edit_comment_count\nFROM editor_counts\nWHERE edit_comment_count = (SELECT MAX(edit_comment_count) FROM editor_counts)\nORDER BY display_name;", "seconds": 25.790306792012416, "calls": [{"seconds": 2.619722625007853, "usage": {"completion_tokens": 66, "prompt_tokens": 1724, "total_tokens": 1790, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1174, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1174, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1174, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.444775916985236, "usage": {"completion_tokens": 261, "prompt_tokens": 2115, "total_tokens": 2376, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 136, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 391, "cached_tokens": 1174, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 391, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 391, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.875888249953277, "usage": {"completion_tokens": 536, "prompt_tokens": 3034, "total_tokens": 3570, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 378, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 919, "cached_tokens": 1565, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 919, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 919, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.969579666038044, "usage": {"completion_tokens": 205, "prompt_tokens": 3741, "total_tokens": 3946, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 61, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 707, "cached_tokens": 2484, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 707, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 707, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9b1a0d9eaa99d99949c15ee83cfc48b05614c9faaf00d0a70de9045095db5a26", "csv_sha256": "e7f536982f6cba120d378ae78488a89f926f0874c5387ba46bce86043fb3076d"} +{"instance_id": "bird149", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH customer_totals AS (\n SELECT c.Segment, c.CustomerID, SUM(y.Consumption) AS total_consumption\n FROM customers AS c\n JOIN yearmonth AS y ON y.CustomerID = c.CustomerID\n WHERE c.Currency = 'CZK'\n AND c.Segment IN ('SME', 'LAM', 'KAM')\n AND substr(y.Date, 1, 4) = '2013'\n GROUP BY c.Segment, c.CustomerID\n), ranked AS (\n SELECT Segment, total_consumption,\n ROW_NUMBER() OVER (\n PARTITION BY Segment\n ORDER BY total_consumption ASC NULLS LAST, CustomerID ASC\n ) AS segment_rank\n FROM customer_totals\n), lowest_totals AS (\n SELECT MAX(CASE WHEN Segment = 'SME' THEN total_consumption END) AS sme,\n MAX(CASE WHEN Segment = 'LAM' THEN total_consumption END) AS lam,\n MAX(CASE WHEN Segment = 'KAM' THEN total_consumption END) AS kam\n FROM ranked\n WHERE segment_rank = 1\n)\nSELECT ROUND(sme - lam, 2) AS sme_minus_lam,\n ROUND(lam - kam, 2) AS lam_minus_kam,\n ROUND(kam - sme, 2) AS kam_minus_sme\nFROM lowest_totals;\n```", "rows": 1, "sql": "WITH customer_totals AS (\n SELECT c.Segment, c.CustomerID, SUM(y.Consumption) AS total_consumption\n FROM customers AS c\n JOIN yearmonth AS y ON y.CustomerID = c.CustomerID\n WHERE c.Currency = 'CZK'\n AND c.Segment IN ('SME', 'LAM', 'KAM')\n AND substr(y.Date, 1, 4) = '2013'\n GROUP BY c.Segment, c.CustomerID\n), ranked AS (\n SELECT Segment, total_consumption,\n ROW_NUMBER() OVER (\n PARTITION BY Segment\n ORDER BY total_consumption ASC NULLS LAST, CustomerID ASC\n ) AS segment_rank\n FROM customer_totals\n), lowest_totals AS (\n SELECT MAX(CASE WHEN Segment = 'SME' THEN total_consumption END) AS sme,\n MAX(CASE WHEN Segment = 'LAM' THEN total_consumption END) AS lam,\n MAX(CASE WHEN Segment = 'KAM' THEN total_consumption END) AS kam\n FROM ranked\n WHERE segment_rank = 1\n)\nSELECT ROUND(sme - lam, 2) AS sme_minus_lam,\n ROUND(lam - kam, 2) AS lam_minus_kam,\n ROUND(kam - sme, 2) AS kam_minus_sme\nFROM lowest_totals;", "seconds": 26.455582124996, "calls": [{"seconds": 2.772087875055149, "usage": {"completion_tokens": 69, "prompt_tokens": 1669, "total_tokens": 1738, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1123, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1123, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1123, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.32118674996309, "usage": {"completion_tokens": 18, "prompt_tokens": 1872, "total_tokens": 1890, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 203, "cached_tokens": 1123, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 203, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 203, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.346182874985971, "usage": {"completion_tokens": 190, "prompt_tokens": 1920, "total_tokens": 2110, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 92, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1326, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.240629542036913, "usage": {"completion_tokens": 442, "prompt_tokens": 2254, "total_tokens": 2696, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 125, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 334, "cached_tokens": 1374, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 334, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 334, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.432709249900654, "usage": {"completion_tokens": 292, "prompt_tokens": 3040, "total_tokens": 3332, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 786, "cached_tokens": 1708, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 786, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 786, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7de13a0fd9cda7cce8f556f7f6a091768c49ded5b3cb6067cdf2e36bcfb6b437", "csv_sha256": "3a9346b4d6e3a860e3763a6cbcf0feae5953d6698491fad955b9a7ff5f4639b8"} +{"instance_id": "bird150", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH annual_totals AS (\n SELECT c.Segment,\n SUM(CASE WHEN y.Date >= '201201' AND y.Date < '201301' THEN y.Consumption END) AS total_2012,\n SUM(CASE WHEN y.Date >= '201301' AND y.Date < '201401' THEN y.Consumption END) AS total_2013\n FROM customers AS c\n JOIN yearmonth AS y ON y.CustomerID = c.CustomerID\n WHERE c.Currency = 'EUR'\n AND c.Segment IN ('SME', 'LAM', 'KAM')\n AND y.Date >= '201201' AND y.Date < '201401'\n GROUP BY c.Segment\n), increases AS (\n SELECT Segment,\n 100.0 * (total_2013 - total_2012) / NULLIF(total_2012, 0) AS increase_pct\n FROM annual_totals\n), extremes AS (\n SELECT MIN(increase_pct) AS lowest, MAX(increase_pct) AS highest\n FROM increases\n)\nSELECT i.Segment, ROUND(i.increase_pct, 2) AS increase_percentage\nFROM increases AS i\nCROSS JOIN extremes AS e\nWHERE i.increase_pct IN (e.lowest, e.highest)\nORDER BY i.increase_pct DESC, i.Segment;\n```", "rows": 2, "sql": "WITH annual_totals AS (\n SELECT c.Segment,\n SUM(CASE WHEN y.Date >= '201201' AND y.Date < '201301' THEN y.Consumption END) AS total_2012,\n SUM(CASE WHEN y.Date >= '201301' AND y.Date < '201401' THEN y.Consumption END) AS total_2013\n FROM customers AS c\n JOIN yearmonth AS y ON y.CustomerID = c.CustomerID\n WHERE c.Currency = 'EUR'\n AND c.Segment IN ('SME', 'LAM', 'KAM')\n AND y.Date >= '201201' AND y.Date < '201401'\n GROUP BY c.Segment\n), increases AS (\n SELECT Segment,\n 100.0 * (total_2013 - total_2012) / NULLIF(total_2012, 0) AS increase_pct\n FROM annual_totals\n), extremes AS (\n SELECT MIN(increase_pct) AS lowest, MAX(increase_pct) AS highest\n FROM increases\n)\nSELECT i.Segment, ROUND(i.increase_pct, 2) AS increase_percentage\nFROM increases AS i\nCROSS JOIN extremes AS e\nWHERE i.increase_pct IN (e.lowest, e.highest)\nORDER BY i.increase_pct DESC, i.Segment;", "seconds": 21.652367708971724, "calls": [{"seconds": 3.023685042047873, "usage": {"completion_tokens": 83, "prompt_tokens": 1649, "total_tokens": 1732, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1103, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1103, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1103, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.483135416987352, "usage": {"completion_tokens": 28, "prompt_tokens": 1894, "total_tokens": 1922, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 245, "cached_tokens": 1103, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 245, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 245, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.827272249967791, "usage": {"completion_tokens": 148, "prompt_tokens": 2024, "total_tokens": 2172, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 108, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 130, "cached_tokens": 1348, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 130, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 130, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.644509207922965, "usage": {"completion_tokens": 305, "prompt_tokens": 2231, "total_tokens": 2536, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 207, "cached_tokens": 1478, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 207, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 207, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.563947290997021, "usage": {"completion_tokens": 299, "prompt_tokens": 2856, "total_tokens": 3155, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 13, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 625, "cached_tokens": 1685, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 625, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 625, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "4ca0f5ad724e6e56833b6e3b04c1c76b77f813d767d37ca77efafbd48ca66cea", "csv_sha256": "2783e9eb30aebb5014112dac8df732f303c8e8f198046072400153e4705062af"} +{"instance_id": "bird151", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH annual_totals AS (\n SELECT\n SUM(CASE WHEN substr(ym.Date, 1, 4) = '2012' THEN ym.Consumption END) AS total_2012,\n SUM(CASE WHEN substr(ym.Date, 1, 4) = '2013' THEN ym.Consumption END) AS total_2013\n FROM yearmonth AS ym\n WHERE ym.CustomerID IN (\n SELECT t.CustomerID\n FROM transactions_1k AS t\n WHERE t.Date = '2012-08-25' AND t.Price = 634.8\n )\n AND substr(ym.Date, 1, 4) IN ('2012', '2013')\n)\nSELECT ROUND((total_2013 - total_2012) / NULLIF(total_2012, 0), 4) AS relative_change\nFROM annual_totals;\n```", "rows": 1, "sql": "WITH annual_totals AS (\n SELECT\n SUM(CASE WHEN substr(ym.Date, 1, 4) = '2012' THEN ym.Consumption END) AS total_2012,\n SUM(CASE WHEN substr(ym.Date, 1, 4) = '2013' THEN ym.Consumption END) AS total_2013\n FROM yearmonth AS ym\n WHERE ym.CustomerID IN (\n SELECT t.CustomerID\n FROM transactions_1k AS t\n WHERE t.Date = '2012-08-25' AND t.Price = 634.8\n )\n AND substr(ym.Date, 1, 4) IN ('2012', '2013')\n)\nSELECT ROUND((total_2013 - total_2012) / NULLIF(total_2012, 0), 4) AS relative_change\nFROM annual_totals;", "seconds": 15.818585874978453, "calls": [{"seconds": 2.7873974579852074, "usage": {"completion_tokens": 83, "prompt_tokens": 1653, "total_tokens": 1736, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1107, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1107, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1107, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2169391670031473, "usage": {"completion_tokens": 89, "prompt_tokens": 1898, "total_tokens": 1987, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 245, "cached_tokens": 1107, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 245, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 245, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.399785374989733, "usage": {"completion_tokens": 245, "prompt_tokens": 2306, "total_tokens": 2551, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 31, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 408, "cached_tokens": 1352, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 408, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 408, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.305030875024386, "usage": {"completion_tokens": 195, "prompt_tokens": 2768, "total_tokens": 2963, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 462, "cached_tokens": 1760, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 462, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 462, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "12b8cb195c7c8e6d50dad529cb5f995ad0100ba270657fa4a2afe991448832f0", "csv_sha256": "e0e77653cacf863517954a0fe926454aed438dc02fc7e67ac5ea46ebfb4dfaa1"} +{"instance_id": "bird153", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH qualifying_customers AS (\n SELECT CustomerID\n FROM yearmonth\n WHERE Date >= '201201' AND Date < '201301'\n GROUP BY CustomerID\n HAVING SUM(Consumption) < 30000\n)\nSELECT c.Segment, COUNT(q.CustomerID) AS CustomerCount\nFROM customers AS c\nLEFT JOIN qualifying_customers AS q ON q.CustomerID = c.CustomerID\nGROUP BY c.Segment\nORDER BY c.Segment;\n```", "rows": 3, "sql": "WITH qualifying_customers AS (\n SELECT CustomerID\n FROM yearmonth\n WHERE Date >= '201201' AND Date < '201301'\n GROUP BY CustomerID\n HAVING SUM(Consumption) < 30000\n)\nSELECT c.Segment, COUNT(q.CustomerID) AS CustomerCount\nFROM customers AS c\nLEFT JOIN qualifying_customers AS q ON q.CustomerID = c.CustomerID\nGROUP BY c.Segment\nORDER BY c.Segment;", "seconds": 21.673779833014123, "calls": [{"seconds": 2.6279688749928027, "usage": {"completion_tokens": 69, "prompt_tokens": 1709, "total_tokens": 1778, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1163, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1163, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1163, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.435294834082015, "usage": {"completion_tokens": 85, "prompt_tokens": 1912, "total_tokens": 1997, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 203, "cached_tokens": 1163, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 203, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 203, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.858004749985412, "usage": {"completion_tokens": 297, "prompt_tokens": 2251, "total_tokens": 2548, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 142, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 339, "cached_tokens": 1366, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 339, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 339, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.252330957911909, "usage": {"completion_tokens": 193, "prompt_tokens": 2760, "total_tokens": 2953, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 74, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 509, "cached_tokens": 1705, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 509, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 509, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3164933329680935, "usage": {"completion_tokens": 105, "prompt_tokens": 3099, "total_tokens": 3204, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 339, "cached_tokens": 2214, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 339, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 339, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "64aff80eac627a723550943f008d8ac6a672cb06cd62e76cfd448c202d55d8b0", "csv_sha256": "ad2e0517bf6bfd5538dacfc82c8c26e9f8190c0328cf97a32e015c29bb44218d"} +{"instance_id": "bird154", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT c.Segment AS client_segment,\n COUNT(DISTINCT ym.CustomerID) AS customers_who_consumed_fuel\nFROM customers AS c\nLEFT JOIN yearmonth AS ym\n ON ym.CustomerID = c.CustomerID\n AND ym.Date >= '201301'\n AND ym.Date < '201401'\n AND ym.Consumption IS NOT NULL\nGROUP BY c.Segment;\n```", "rows": 3, "sql": "SELECT c.Segment AS client_segment,\n COUNT(DISTINCT ym.CustomerID) AS customers_who_consumed_fuel\nFROM customers AS c\nLEFT JOIN yearmonth AS ym\n ON ym.CustomerID = c.CustomerID\n AND ym.Date >= '201301'\n AND ym.Date < '201401'\n AND ym.Consumption IS NOT NULL\nGROUP BY c.Segment;", "seconds": 16.450495500001125, "calls": [{"seconds": 2.17725720803719, "usage": {"completion_tokens": 15, "prompt_tokens": 1713, "total_tokens": 1728, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1167, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1167, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1167, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9095696249278262, "usage": {"completion_tokens": 84, "prompt_tokens": 1761, "total_tokens": 1845, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1167, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.994956166949123, "usage": {"completion_tokens": 87, "prompt_tokens": 2005, "total_tokens": 2092, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 244, "cached_tokens": 1215, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 244, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 244, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.8869410830084234, "usage": {"completion_tokens": 175, "prompt_tokens": 2557, "total_tokens": 2732, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 75, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 552, "cached_tokens": 1459, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 552, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 552, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.143865874968469, "usage": {"completion_tokens": 86, "prompt_tokens": 2865, "total_tokens": 2951, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 308, "cached_tokens": 2011, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 308, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 308, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "bcb593ed7ce83b83d1a6a12ac8fc2fb8b36b20198d5cd73cbf7da20c778a6155", "csv_sha256": "19be59f1e474e87c157c75e6a329f5050fceba4b032500014c11f7826ae42c0f"} +{"instance_id": "bird155", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH qualifying_transactions AS (\n SELECT unixepoch(t.Date || ' ' || t.Time) AS transaction_time\n FROM transactions_1k AS t\n JOIN gasstations AS g ON g.GasStationID = t.GasStationID\n WHERE g.Country = 'CZE'\n AND t.Price > 1000\n)\nSELECT (MAX(transaction_time) - MIN(transaction_time)) / 60 AS elapsed_minutes\nFROM qualifying_transactions;\n```", "rows": 1, "sql": "WITH qualifying_transactions AS (\n SELECT unixepoch(t.Date || ' ' || t.Time) AS transaction_time\n FROM transactions_1k AS t\n JOIN gasstations AS g ON g.GasStationID = t.GasStationID\n WHERE g.Country = 'CZE'\n AND t.Price > 1000\n)\nSELECT (MAX(transaction_time) - MIN(transaction_time)) / 60 AS elapsed_minutes\nFROM qualifying_transactions;", "seconds": 20.82770000002347, "calls": [{"seconds": 2.637601332971826, "usage": {"completion_tokens": 83, "prompt_tokens": 1670, "total_tokens": 1753, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1124, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1124, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1124, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.78571483399719, "usage": {"completion_tokens": 187, "prompt_tokens": 1915, "total_tokens": 2102, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 66, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 245, "cached_tokens": 1124, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 245, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 245, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.251349375001155, "usage": {"completion_tokens": 298, "prompt_tokens": 2822, "total_tokens": 3120, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 185, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 907, "cached_tokens": 1369, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 907, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 907, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.137853709049523, "usage": {"completion_tokens": 213, "prompt_tokens": 3239, "total_tokens": 3452, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 112, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 417, "cached_tokens": 2276, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 417, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 417, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8d0361a180deb7e01ac0add2bbc3fb0f412e5017e78c5c352d0443e13841422a", "csv_sha256": "6d3d125689e72546c74bef1c298bc6f6daad97fe4169a1634932437fcc2d1f65"} +{"instance_id": "bird156", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH active_customers AS (\n SELECT CustomerID\n FROM yearmonth\n WHERE Date BETWEEN '201301' AND '201311'\n GROUP BY CustomerID\n HAVING COUNT(DISTINCT Date) = 11\n)\nSELECT c.Currency, COUNT(DISTINCT a.CustomerID) AS customer_count\nFROM customers AS c\nLEFT JOIN active_customers AS a ON a.CustomerID = c.CustomerID\nGROUP BY c.Currency;\n```", "rows": 2, "sql": "WITH active_customers AS (\n SELECT CustomerID\n FROM yearmonth\n WHERE Date BETWEEN '201301' AND '201311'\n GROUP BY CustomerID\n HAVING COUNT(DISTINCT Date) = 11\n)\nSELECT c.Currency, COUNT(DISTINCT a.CustomerID) AS customer_count\nFROM customers AS c\nLEFT JOIN active_customers AS a ON a.CustomerID = c.CustomerID\nGROUP BY c.Currency;", "seconds": 24.854216208099388, "calls": [{"seconds": 1.833460499998182, "usage": {"completion_tokens": 15, "prompt_tokens": 1697, "total_tokens": 1712, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1151, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1151, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1151, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.7480212080990896, "usage": {"completion_tokens": 98, "prompt_tokens": 1745, "total_tokens": 1843, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1151, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5851912499638274, "usage": {"completion_tokens": 109, "prompt_tokens": 2031, "total_tokens": 2140, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 286, "cached_tokens": 1199, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 286, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 286, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.882440791931003, "usage": {"completion_tokens": 286, "prompt_tokens": 2893, "total_tokens": 3179, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 130, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 862, "cached_tokens": 1485, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 862, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 862, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.307611084077507, "usage": {"completion_tokens": 230, "prompt_tokens": 3409, "total_tokens": 3639, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 117, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 516, "cached_tokens": 2347, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 516, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 516, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.209541583084501, "usage": {"completion_tokens": 119, "prompt_tokens": 3770, "total_tokens": 3889, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 18, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 361, "cached_tokens": 2863, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 361, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 361, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0771e73a1911506508bc70dcb32b9ecd37806d2372ecf4bb77ad437378aba6ea", "csv_sha256": "b95e0ccb580653c33c73a42ec1f29b0ea092a9d01d9ac2725a27522ff6d04a9b"} +{"instance_id": "bird157", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH quarterly_consumption AS (\n SELECT CustomerID, SUM(Consumption) AS total_consumption\n FROM yearmonth\n WHERE Date IN ('201304', '201305', '201306')\n AND Consumption IS NOT NULL\n GROUP BY CustomerID\n)\nSELECT c.Currency,\n ROUND(AVG(q.total_consumption), 2) AS average_quarterly_consumption\nFROM quarterly_consumption AS q\nJOIN customers AS c ON c.CustomerID = q.CustomerID\nWHERE c.Currency IN ('EUR', 'CZK')\nGROUP BY c.Currency\nORDER BY c.Currency;\n```", "rows": 2, "sql": "WITH quarterly_consumption AS (\n SELECT CustomerID, SUM(Consumption) AS total_consumption\n FROM yearmonth\n WHERE Date IN ('201304', '201305', '201306')\n AND Consumption IS NOT NULL\n GROUP BY CustomerID\n)\nSELECT c.Currency,\n ROUND(AVG(q.total_consumption), 2) AS average_quarterly_consumption\nFROM quarterly_consumption AS q\nJOIN customers AS c ON c.CustomerID = q.CustomerID\nWHERE c.Currency IN ('EUR', 'CZK')\nGROUP BY c.Currency\nORDER BY c.Currency;", "seconds": 20.455647374968976, "calls": [{"seconds": 3.356175541994162, "usage": {"completion_tokens": 98, "prompt_tokens": 1716, "total_tokens": 1814, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1170, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1170, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1170, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8557292090263218, "usage": {"completion_tokens": 43, "prompt_tokens": 2002, "total_tokens": 2045, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 286, "cached_tokens": 1170, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 286, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 286, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.306768291979097, "usage": {"completion_tokens": 278, "prompt_tokens": 2120, "total_tokens": 2398, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 101, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 118, "cached_tokens": 1456, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 118, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 118, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.0725450000027195, "usage": {"completion_tokens": 144, "prompt_tokens": 2616, "total_tokens": 2760, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 496, "cached_tokens": 1574, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 496, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 496, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7458957500057295, "usage": {"completion_tokens": 128, "prompt_tokens": 2930, "total_tokens": 3058, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 314, "cached_tokens": 2070, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 314, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 314, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "632eeddcda50c04f553bdd67cca396cc6df0bcbf6ddacaf2a4b5645e15fa674c", "csv_sha256": "524e93b54bfcfd0f7203455f61fb0fa3dcc10cffda1976e84aab27ae071a7d66"} +{"instance_id": "bird158", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH monthly_totals AS (\n SELECT \"Date\" AS calendar_month, SUM(Consumption) AS total_consumption\n FROM yearmonth\n WHERE \"Date\" >= '201201' AND \"Date\" < '201401'\n GROUP BY \"Date\"\n)\nSELECT ROUND(\n MAX(CASE WHEN SUBSTR(calendar_month, 1, 4) = '2013' THEN total_consumption END)\n - MAX(CASE WHEN SUBSTR(calendar_month, 1, 4) = '2012' THEN total_consumption END),\n 0\n) AS peak_consumption_difference\nFROM monthly_totals;\n```", "rows": 1, "sql": "WITH monthly_totals AS (\n SELECT \"Date\" AS calendar_month, SUM(Consumption) AS total_consumption\n FROM yearmonth\n WHERE \"Date\" >= '201201' AND \"Date\" < '201401'\n GROUP BY \"Date\"\n)\nSELECT ROUND(\n MAX(CASE WHEN SUBSTR(calendar_month, 1, 4) = '2013' THEN total_consumption END)\n - MAX(CASE WHEN SUBSTR(calendar_month, 1, 4) = '2012' THEN total_consumption END),\n 0\n) AS peak_consumption_difference\nFROM monthly_totals;", "seconds": 15.443340415949933, "calls": [{"seconds": 2.6435831669950858, "usage": {"completion_tokens": 83, "prompt_tokens": 1687, "total_tokens": 1770, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1141, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1141, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1141, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.7517531670164317, "usage": {"completion_tokens": 35, "prompt_tokens": 1932, "total_tokens": 1967, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 245, "cached_tokens": 1141, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 245, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 245, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.033127665985376, "usage": {"completion_tokens": 246, "prompt_tokens": 2035, "total_tokens": 2281, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 90, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 103, "cached_tokens": 1386, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 103, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 103, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8288477919995785, "usage": {"completion_tokens": 137, "prompt_tokens": 2443, "total_tokens": 2580, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 408, "cached_tokens": 1489, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 408, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 408, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e04b09986d651c2897ef665bd93ee97d66c69f35b6bcf51129c04a0d1a3c7030", "csv_sha256": "3c37e2251e2ce0cec92cce2f9da4ce5e7d94c5381a4d588f41a213cb661d1aad"} +{"instance_id": "bird159", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(Consumption), 2) AS average_monthly_fuel_consumption\nFROM yearmonth\nWHERE CustomerID = 15621\n AND Date >= '201301'\n AND Date < '201401'\n AND Consumption > 0;\n```", "rows": 1, "sql": "SELECT ROUND(AVG(Consumption), 2) AS average_monthly_fuel_consumption\nFROM yearmonth\nWHERE CustomerID = 15621\n AND Date >= '201301'\n AND Date < '201401'\n AND Consumption > 0;", "seconds": 17.46989562502131, "calls": [{"seconds": 2.0568753329571337, "usage": {"completion_tokens": 15, "prompt_tokens": 1644, "total_tokens": 1659, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1098, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1098, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1098, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.912916791974567, "usage": {"completion_tokens": 98, "prompt_tokens": 1692, "total_tokens": 1790, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1098, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.765337500022724, "usage": {"completion_tokens": 115, "prompt_tokens": 1978, "total_tokens": 2093, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 68, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 286, "cached_tokens": 1146, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 286, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 286, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.606970624998212, "usage": {"completion_tokens": 130, "prompt_tokens": 2266, "total_tokens": 2396, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 55, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 288, "cached_tokens": 1432, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 288, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 288, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0887675000121817, "usage": {"completion_tokens": 62, "prompt_tokens": 2484, "total_tokens": 2546, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 218, "cached_tokens": 1720, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 218, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 218, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ffd038194e95687fa93af90b2f73f3e4a3d0afb54d2eb2440327c54356e83258", "csv_sha256": "65488542f4058e24208f811993be18b4a54a269869d5d8587af0aaf0b2ab7501"} +{"instance_id": "bird160", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH customer_totals AS (\n SELECT c.CustomerID, c.Currency, SUM(y.Consumption) AS total_consumption\n FROM customers AS c\n JOIN yearmonth AS y ON y.CustomerID = c.CustomerID\n WHERE y.\"Date\" >= '201201' AND y.\"Date\" < '201301'\n AND c.Currency IN ('CZK', 'EUR')\n GROUP BY c.CustomerID, c.Currency\n)\nSELECT CAST(ROUND(\n AVG(CASE WHEN Currency = 'CZK' THEN total_consumption END)\n - AVG(CASE WHEN Currency = 'EUR' THEN total_consumption END)\n) AS INTEGER) AS consumption_difference\nFROM customer_totals;\n```", "rows": 1, "sql": "WITH customer_totals AS (\n SELECT c.CustomerID, c.Currency, SUM(y.Consumption) AS total_consumption\n FROM customers AS c\n JOIN yearmonth AS y ON y.CustomerID = c.CustomerID\n WHERE y.\"Date\" >= '201201' AND y.\"Date\" < '201301'\n AND c.Currency IN ('CZK', 'EUR')\n GROUP BY c.CustomerID, c.Currency\n)\nSELECT CAST(ROUND(\n AVG(CASE WHEN Currency = 'CZK' THEN total_consumption END)\n - AVG(CASE WHEN Currency = 'EUR' THEN total_consumption END)\n) AS INTEGER) AS consumption_difference\nFROM customer_totals;", "seconds": 17.82505125005264, "calls": [{"seconds": 2.941118333954364, "usage": {"completion_tokens": 51, "prompt_tokens": 1726, "total_tokens": 1777, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1180, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1180, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1180, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.936389500042424, "usage": {"completion_tokens": 158, "prompt_tokens": 1844, "total_tokens": 2002, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 61, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 118, "cached_tokens": 1180, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 118, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 118, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.779197208001278, "usage": {"completion_tokens": 247, "prompt_tokens": 2148, "total_tokens": 2395, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 78, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 304, "cached_tokens": 1298, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 304, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 304, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9710915409959853, "usage": {"completion_tokens": 150, "prompt_tokens": 2566, "total_tokens": 2716, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 418, "cached_tokens": 1602, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 418, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 418, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2b03c5d0cdd6cda2ad6f502490f9a9bfd56d7ee3f2a632aeda8e1901347366d1", "csv_sha256": "a7ac2bba30bf54c2090390d9fbff4967350f6b7f83ebd74ebfdfac726d1f095b"} +{"instance_id": "bird161", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS customer_count\nFROM (\n SELECT c.CustomerID\n FROM customers AS c\n JOIN yearmonth AS ym ON ym.CustomerID = c.CustomerID\n WHERE c.Segment = 'KAM'\n AND c.Currency = 'CZK'\n AND ym.Date >= '201301'\n AND ym.Date < '201401'\n GROUP BY c.CustomerID\n HAVING SUM(ym.Consumption) > 1000000\n) AS qualifying_customers;\n```", "rows": 1, "sql": "SELECT COUNT(*) AS customer_count\nFROM (\n SELECT c.CustomerID\n FROM customers AS c\n JOIN yearmonth AS ym ON ym.CustomerID = c.CustomerID\n WHERE c.Segment = 'KAM'\n AND c.Currency = 'CZK'\n AND ym.Date >= '201301'\n AND ym.Date < '201401'\n GROUP BY c.CustomerID\n HAVING SUM(ym.Consumption) > 1000000\n) AS qualifying_customers;", "seconds": 16.110448457999155, "calls": [{"seconds": 3.0676238749874756, "usage": {"completion_tokens": 98, "prompt_tokens": 1665, "total_tokens": 1763, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1119, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1119, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1119, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.7982822499470785, "usage": {"completion_tokens": 172, "prompt_tokens": 1951, "total_tokens": 2123, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 102, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 286, "cached_tokens": 1119, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 286, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 286, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.741112457937561, "usage": {"completion_tokens": 150, "prompt_tokens": 2215, "total_tokens": 2365, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 25, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 264, "cached_tokens": 1405, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 264, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 264, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4219464589841664, "usage": {"completion_tokens": 109, "prompt_tokens": 2493, "total_tokens": 2602, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1669, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2a6d73509e4ef8f09d9fcc414deb2fba8512b84abd8593a80ba85463a1703a1c", "csv_sha256": "c47dd5c256b8c298fed607e7e331dbe573389dbd9ce05bc15a0289feaaf4373c"} +{"instance_id": "bird162", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT c.CustomerID) AS sme_customer_count\nFROM customers AS c\nJOIN yearmonth AS ym ON ym.CustomerID = c.CustomerID\nWHERE c.Segment = 'SME'\n AND ym.Date = '201302'\n AND ym.Consumption > 0;\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT c.CustomerID) AS sme_customer_count\nFROM customers AS c\nJOIN yearmonth AS ym ON ym.CustomerID = c.CustomerID\nWHERE c.Segment = 'SME'\n AND ym.Date = '201302'\n AND ym.Consumption > 0;", "seconds": 20.54484133294318, "calls": [{"seconds": 2.7690492919646204, "usage": {"completion_tokens": 47, "prompt_tokens": 1674, "total_tokens": 1721, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1128, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1128, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1128, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.010292708990164, "usage": {"completion_tokens": 84, "prompt_tokens": 1782, "total_tokens": 1866, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 108, "cached_tokens": 1128, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 108, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 108, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.139857291942462, "usage": {"completion_tokens": 255, "prompt_tokens": 2026, "total_tokens": 2281, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 65, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 244, "cached_tokens": 1236, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 244, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 244, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.435473708086647, "usage": {"completion_tokens": 138, "prompt_tokens": 3409, "total_tokens": 3547, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 57, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1383, "cached_tokens": 1480, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1383, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1383, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.0379839590750635, "usage": {"completion_tokens": 103, "prompt_tokens": 3637, "total_tokens": 3740, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 33, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 228, "cached_tokens": 2863, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 228, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 228, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ebab331dd0d8cb0af8a022e6803dad9ff64c159b0b44e3c1a903d58e5e9a16e9", "csv_sha256": "2ee8e08bac2c1db27ea63897513b45eabf394cf3f5e7881067fea3f31c9a0ed5"} +{"instance_id": "bird163", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH away_win_counts AS (\n SELECT m.away_team_api_id,\n SUM(CASE WHEN m.away_team_goal > m.home_team_goal THEN 1 ELSE 0 END) AS away_wins\n FROM \"Match\" AS m\n JOIN League AS l ON l.id = m.league_id\n WHERE l.name = 'Scotland Premier League'\n AND m.season = '2009/2010'\n GROUP BY m.away_team_api_id\n)\nSELECT t.team_long_name\nFROM away_win_counts AS a\nJOIN Team AS t ON t.team_api_id = a.away_team_api_id\nWHERE a.away_wins = (SELECT MAX(away_wins) FROM away_win_counts)\nORDER BY t.team_long_name;\n```", "rows": 2, "sql": "WITH away_win_counts AS (\n SELECT m.away_team_api_id,\n SUM(CASE WHEN m.away_team_goal > m.home_team_goal THEN 1 ELSE 0 END) AS away_wins\n FROM \"Match\" AS m\n JOIN League AS l ON l.id = m.league_id\n WHERE l.name = 'Scotland Premier League'\n AND m.season = '2009/2010'\n GROUP BY m.away_team_api_id\n)\nSELECT t.team_long_name\nFROM away_win_counts AS a\nJOIN Team AS t ON t.team_api_id = a.away_team_api_id\nWHERE a.away_wins = (SELECT MAX(away_wins) FROM away_win_counts)\nORDER BY t.team_long_name;", "seconds": 19.326308457995765, "calls": [{"seconds": 3.3537474590120837, "usage": {"completion_tokens": 79, "prompt_tokens": 1620, "total_tokens": 1699, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1071, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1071, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1071, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.851985499961302, "usage": {"completion_tokens": 111, "prompt_tokens": 2640, "total_tokens": 2751, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 78, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1020, "cached_tokens": 1071, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1020, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1020, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.3193308329209685, "usage": {"completion_tokens": 254, "prompt_tokens": 2799, "total_tokens": 3053, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 72, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 159, "cached_tokens": 2091, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 159, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 159, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.185615416034125, "usage": {"completion_tokens": 165, "prompt_tokens": 3243, "total_tokens": 3408, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 444, "cached_tokens": 2250, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 444, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 444, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "3766972c59461a28d57addf862a9bafc984a73960f6068e255289a0bbdbf0877", "csv_sha256": "ad11e8a37e66ff04cc75fbcd5684c6100ff1845305a6cb6d0d0f93b023d51c53"} +{"instance_id": "bird164", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH passing_2012 AS (\n SELECT team_api_id, buildUpPlayPassing\n FROM Team_Attributes\n WHERE date >= '2012-01-01' AND date < '2013-01-01'\n)\nSELECT t.team_long_name\nFROM Team AS t\nJOIN passing_2012 AS p ON p.team_api_id = t.team_api_id\nWHERE p.buildUpPlayPassing > (SELECT AVG(buildUpPlayPassing) FROM passing_2012)\nORDER BY t.team_long_name;\n```", "rows": 129, "sql": "WITH passing_2012 AS (\n SELECT team_api_id, buildUpPlayPassing\n FROM Team_Attributes\n WHERE date >= '2012-01-01' AND date < '2013-01-01'\n)\nSELECT t.team_long_name\nFROM Team AS t\nJOIN passing_2012 AS p ON p.team_api_id = t.team_api_id\nWHERE p.buildUpPlayPassing > (SELECT AVG(buildUpPlayPassing) FROM passing_2012)\nORDER BY t.team_long_name;", "seconds": 14.830701207974926, "calls": [{"seconds": 2.9152926249662414, "usage": {"completion_tokens": 52, "prompt_tokens": 1615, "total_tokens": 1667, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1066, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1066, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1066, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.888737582950853, "usage": {"completion_tokens": 97, "prompt_tokens": 1933, "total_tokens": 2030, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 33, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 318, "cached_tokens": 1066, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 318, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 318, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.174712665961124, "usage": {"completion_tokens": 126, "prompt_tokens": 2111, "total_tokens": 2237, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 178, "cached_tokens": 1384, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 178, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 178, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.824245124938898, "usage": {"completion_tokens": 129, "prompt_tokens": 2609, "total_tokens": 2738, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 14, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 498, "cached_tokens": 1562, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 498, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 498, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "60f9e953f150d763fd5f9032c9f73fca98d9f6de051b80eae61b5cf1a800653d", "csv_sha256": "2c448b74dc6e1eb92bdceb01d4622b7660aad6e5b262fbdf1b887811408ecd95"} +{"instance_id": "bird165", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n p.player_api_id,\n p.player_name,\n AVG(a.heading_accuracy) AS mean_heading_accuracy\nFROM Player AS p\nJOIN Player_Attributes AS a\n ON a.player_api_id = p.player_api_id\nWHERE p.height > 180\n AND a.heading_accuracy IS NOT NULL\nGROUP BY p.player_api_id, p.player_name\nORDER BY mean_heading_accuracy DESC, p.player_api_id ASC\nLIMIT 10;\n```", "rows": 10, "sql": "SELECT\n p.player_api_id,\n p.player_name,\n AVG(a.heading_accuracy) AS mean_heading_accuracy\nFROM Player AS p\nJOIN Player_Attributes AS a\n ON a.player_api_id = p.player_api_id\nWHERE p.height > 180\n AND a.heading_accuracy IS NOT NULL\nGROUP BY p.player_api_id, p.player_name\nORDER BY mean_heading_accuracy DESC, p.player_api_id ASC\nLIMIT 10;", "seconds": 17.717371250037104, "calls": [{"seconds": 2.52226362505462, "usage": {"completion_tokens": 52, "prompt_tokens": 1625, "total_tokens": 1677, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1076, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1076, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1076, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.204902000026777, "usage": {"completion_tokens": 354, "prompt_tokens": 2008, "total_tokens": 2362, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 241, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 383, "cached_tokens": 1076, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 383, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 383, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.816402124939486, "usage": {"completion_tokens": 284, "prompt_tokens": 2641, "total_tokens": 2925, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 182, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 633, "cached_tokens": 1459, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 633, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 633, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "442d9d32f36bbed8da9453d40cc402dc19a8f8fcc10a82ff5398ed5175b2443d", "csv_sha256": "e544103d322f22ab5056aca3e700e0686c2ca2543637acd687a08dc23438e3c2"} +{"instance_id": "bird166", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT l.name\nFROM League AS l\nJOIN \"Match\" AS m ON m.league_id = l.id\nWHERE m.season = '2009/2010'\nGROUP BY l.id, l.name\nHAVING AVG(m.home_team_goal) > AVG(m.away_team_goal)\nORDER BY l.name;\n```", "rows": 11, "sql": "SELECT l.name\nFROM League AS l\nJOIN \"Match\" AS m ON m.league_id = l.id\nWHERE m.season = '2009/2010'\nGROUP BY l.id, l.name\nHAVING AVG(m.home_team_goal) > AVG(m.away_team_goal)\nORDER BY l.name;", "seconds": 9.748861417057924, "calls": [{"seconds": 3.050254667061381, "usage": {"completion_tokens": 50, "prompt_tokens": 1627, "total_tokens": 1677, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1078, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1078, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1078, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.357445750036277, "usage": {"completion_tokens": 84, "prompt_tokens": 2542, "total_tokens": 2626, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 915, "cached_tokens": 1078, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 915, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 915, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.7632178750354797, "usage": {"completion_tokens": 73, "prompt_tokens": 2778, "total_tokens": 2851, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 236, "cached_tokens": 1993, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 236, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 236, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d66805d65c3fece8c969684edd646aa7004ed3219e4517de27f90ebb3cdf2e68", "csv_sha256": "e9f31c9e4446ed9697d044a8d05852966015b054d803c2e50ab8ef83f457d03f"} +{"instance_id": "bird167", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH height_bounds AS (\n SELECT MIN(height) AS shortest_height, MAX(height) AS tallest_height\n FROM Player\n), extreme_player_averages AS (\n SELECT p.player_api_id, p.player_name, AVG(pa.finishing) AS avg_finishing\n FROM Player AS p\n JOIN Player_Attributes AS pa ON pa.player_api_id = p.player_api_id\n CROSS JOIN height_bounds AS h\n WHERE p.height IN (h.shortest_height, h.tallest_height)\n GROUP BY p.player_api_id, p.player_name\n)\nSELECT player_name\nFROM extreme_player_averages\nWHERE avg_finishing = (SELECT MAX(avg_finishing) FROM extreme_player_averages);\n```", "rows": 1, "sql": "WITH height_bounds AS (\n SELECT MIN(height) AS shortest_height, MAX(height) AS tallest_height\n FROM Player\n), extreme_player_averages AS (\n SELECT p.player_api_id, p.player_name, AVG(pa.finishing) AS avg_finishing\n FROM Player AS p\n JOIN Player_Attributes AS pa ON pa.player_api_id = p.player_api_id\n CROSS JOIN height_bounds AS h\n WHERE p.height IN (h.shortest_height, h.tallest_height)\n GROUP BY p.player_api_id, p.player_name\n)\nSELECT player_name\nFROM extreme_player_averages\nWHERE avg_finishing = (SELECT MAX(avg_finishing) FROM extreme_player_averages);", "seconds": 14.5897477499675, "calls": [{"seconds": 2.3573197920341045, "usage": {"completion_tokens": 52, "prompt_tokens": 1621, "total_tokens": 1673, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1072, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1072, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1072, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.181701541994698, "usage": {"completion_tokens": 309, "prompt_tokens": 2004, "total_tokens": 2313, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 140, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 383, "cached_tokens": 1072, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 383, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 383, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9566644170554355, "usage": {"completion_tokens": 154, "prompt_tokens": 2487, "total_tokens": 2641, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 483, "cached_tokens": 1455, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 483, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 483, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "82652b07ce43b59cc1f323bfef5b484a72f1ae12511ef610388179b4d0bab990", "csv_sha256": "1be0a18dbb37a50f7fcb471a68ed719ecbc40ff0bfcebac2a63f5bc2a3652c8c"} +{"instance_id": "bird168", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n AVG(CASE WHEN p.player_name = 'Abdou Diallo' THEN pa.ball_control END)\n - AVG(CASE WHEN p.player_name = 'Aaron Appindangoye' THEN pa.ball_control END)\n AS mean_ball_control_difference\nFROM Player AS p\nJOIN Player_Attributes AS pa ON pa.player_api_id = p.player_api_id\nWHERE p.player_name IN ('Abdou Diallo', 'Aaron Appindangoye');\n```", "rows": 1, "sql": "SELECT\n AVG(CASE WHEN p.player_name = 'Abdou Diallo' THEN pa.ball_control END)\n - AVG(CASE WHEN p.player_name = 'Aaron Appindangoye' THEN pa.ball_control END)\n AS mean_ball_control_difference\nFROM Player AS p\nJOIN Player_Attributes AS pa ON pa.player_api_id = p.player_api_id\nWHERE p.player_name IN ('Abdou Diallo', 'Aaron Appindangoye');", "seconds": 9.93738579202909, "calls": [{"seconds": 2.219272374990396, "usage": {"completion_tokens": 52, "prompt_tokens": 1622, "total_tokens": 1674, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1073, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1073, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1073, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.096754334052093, "usage": {"completion_tokens": 144, "prompt_tokens": 2005, "total_tokens": 2149, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 30, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 383, "cached_tokens": 1073, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 383, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 383, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.536851542070508, "usage": {"completion_tokens": 101, "prompt_tokens": 2278, "total_tokens": 2379, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 273, "cached_tokens": 1456, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 273, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 273, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "4510e21957540f00700e51bbcda0e5ff39f8b86d764da3cee4f128c097a46524", "csv_sha256": "10b9a764eef45813521b8e0f2c94b14357b7a0da858ad316046c36dec502dbae"} +{"instance_id": "bird169", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH ranked_ratings AS (\n SELECT p.player_name,\n pa.overall_rating,\n ROW_NUMBER() OVER (\n PARTITION BY p.player_name\n ORDER BY pa.date DESC, pa.id DESC\n ) AS rn\n FROM Player AS p\n JOIN Player_Attributes AS pa ON pa.player_api_id = p.player_api_id\n WHERE p.player_name IN ('Ariel Borysiuk', 'Paulin Puel')\n)\nSELECT ROUND(100.0 * (a.overall_rating - b.overall_rating) / b.overall_rating, 2) AS percentage_higher\nFROM ranked_ratings AS a\nCROSS JOIN ranked_ratings AS b\nWHERE a.player_name = 'Ariel Borysiuk' AND a.rn = 1\n AND b.player_name = 'Paulin Puel' AND b.rn = 1;\n```", "rows": 1, "sql": "WITH ranked_ratings AS (\n SELECT p.player_name,\n pa.overall_rating,\n ROW_NUMBER() OVER (\n PARTITION BY p.player_name\n ORDER BY pa.date DESC, pa.id DESC\n ) AS rn\n FROM Player AS p\n JOIN Player_Attributes AS pa ON pa.player_api_id = p.player_api_id\n WHERE p.player_name IN ('Ariel Borysiuk', 'Paulin Puel')\n)\nSELECT ROUND(100.0 * (a.overall_rating - b.overall_rating) / b.overall_rating, 2) AS percentage_higher\nFROM ranked_ratings AS a\nCROSS JOIN ranked_ratings AS b\nWHERE a.player_name = 'Ariel Borysiuk' AND a.rn = 1\n AND b.player_name = 'Paulin Puel' AND b.rn = 1;", "seconds": 12.160573915927671, "calls": [{"seconds": 2.3200107919983566, "usage": {"completion_tokens": 52, "prompt_tokens": 1630, "total_tokens": 1682, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1081, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1081, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1081, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.3937867500353605, "usage": {"completion_tokens": 256, "prompt_tokens": 2013, "total_tokens": 2269, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 48, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 383, "cached_tokens": 1081, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 383, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 383, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.36015370907262, "usage": {"completion_tokens": 190, "prompt_tokens": 2481, "total_tokens": 2671, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 468, "cached_tokens": 1464, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 468, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 468, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ff8637fc16afb5985c884f51d09e7c6b454b1428756a13fd8911012b98ea340c", "csv_sha256": "8f242be9a4545e7820e80d4d17f1b4fdebc4fa8613ef6809e0fd69ee8c64ea3b"} +{"instance_id": "bird170", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH crossing_records AS (\n SELECT pa.date AS recorded_at, pa.crossing\n FROM Player AS p\n JOIN Player_Attributes AS pa ON pa.player_api_id = p.player_api_id\n WHERE p.player_name = 'Kevin Constant'\n)\nSELECT DATE(MIN(recorded_at)) AS first_highest_crossing_date\nFROM crossing_records\nWHERE crossing = (SELECT MAX(crossing) FROM crossing_records);\n```", "rows": 1, "sql": "WITH crossing_records AS (\n SELECT pa.date AS recorded_at, pa.crossing\n FROM Player AS p\n JOIN Player_Attributes AS pa ON pa.player_api_id = p.player_api_id\n WHERE p.player_name = 'Kevin Constant'\n)\nSELECT DATE(MIN(recorded_at)) AS first_highest_crossing_date\nFROM crossing_records\nWHERE crossing = (SELECT MAX(crossing) FROM crossing_records);", "seconds": 11.501650165999308, "calls": [{"seconds": 2.278210207936354, "usage": {"completion_tokens": 52, "prompt_tokens": 1610, "total_tokens": 1662, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1061, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1061, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1061, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.665280790999532, "usage": {"completion_tokens": 187, "prompt_tokens": 1993, "total_tokens": 2180, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 79, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 383, "cached_tokens": 1061, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 383, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 383, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3866989170201123, "usage": {"completion_tokens": 94, "prompt_tokens": 2302, "total_tokens": 2396, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 309, "cached_tokens": 1444, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 309, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 309, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f5fa23f1290c45f86a15fe3e169a4df027b134dd76077ba5d0e7c5b7903198e7", "csv_sha256": "d22e5d6d24390515e56604623cd057ec8d13a32d8fb13f62eb9f9574491361d9"} +{"instance_id": "bird171", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH qualifying_players AS (\n SELECT DISTINCT player_api_id\n FROM Player_Attributes\n WHERE overall_rating > 70\n)\nSELECT ROUND(\n 100.0 * COUNT(q.player_api_id) / NULLIF(COUNT(*), 0),\n 2\n) AS percentage\nFROM Player AS p\nLEFT JOIN qualifying_players AS q ON q.player_api_id = p.player_api_id\nWHERE p.height < 180;\n```", "rows": 1, "sql": "WITH qualifying_players AS (\n SELECT DISTINCT player_api_id\n FROM Player_Attributes\n WHERE overall_rating > 70\n)\nSELECT ROUND(\n 100.0 * COUNT(q.player_api_id) / NULLIF(COUNT(*), 0),\n 2\n) AS percentage\nFROM Player AS p\nLEFT JOIN qualifying_players AS q ON q.player_api_id = p.player_api_id\nWHERE p.height < 180;", "seconds": 42.40031345898751, "calls": [{"seconds": 2.590975790983066, "usage": {"completion_tokens": 52, "prompt_tokens": 1624, "total_tokens": 1676, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1075, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1075, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1075, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.363289083004929, "usage": {"completion_tokens": 108, "prompt_tokens": 2007, "total_tokens": 2115, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 383, "cached_tokens": 1075, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 383, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 383, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.343397415941581, "usage": {"completion_tokens": 110, "prompt_tokens": 2254, "total_tokens": 2364, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 247, "cached_tokens": 1458, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 247, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 247, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0474853749619797, "usage": {"completion_tokens": 97, "prompt_tokens": 2481, "total_tokens": 2578, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 227, "cached_tokens": 1705, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 227, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 227, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0bf57220de0ab7ec52e8ec0a0b960639ef754f0555e4a9804850b8ec4f1c22b4", "csv_sha256": "47d6beaba5c25e3ed50a6db4b8d2637d33a45d2bfe81edf15d56c48b888d515a"} +{"instance_id": "bird172", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(p.height), 2) AS average_height_cm\nFROM Player AS p\nWHERE p.height > 180\n AND p.player_api_id IN (SELECT m.home_player_3 FROM \"Match\" AS m);\n```", "rows": 1, "sql": "SELECT ROUND(AVG(p.height), 2) AS average_height_cm\nFROM Player AS p\nWHERE p.height > 180\n AND p.player_api_id IN (SELECT m.home_player_3 FROM \"Match\" AS m);", "seconds": 42.76749291701708, "calls": [{"seconds": 2.643327667028643, "usage": {"completion_tokens": 50, "prompt_tokens": 1710, "total_tokens": 1760, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1161, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1161, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1161, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.262701250030659, "usage": {"completion_tokens": 89, "prompt_tokens": 2651, "total_tokens": 2740, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 11, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 941, "cached_tokens": 1161, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 941, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 941, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3659170840401202, "usage": {"completion_tokens": 69, "prompt_tokens": 2850, "total_tokens": 2919, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 199, "cached_tokens": 2102, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 199, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 199, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.96885329100769, "usage": {"completion_tokens": 56, "prompt_tokens": 2996, "total_tokens": 3052, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 146, "cached_tokens": 2301, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 146, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 146, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ddedb1335b26772316f8857f046a614c571547460e93f97d8320fd7f6891b307", "csv_sha256": "c4601b1c96ea8ffcc8cbcfc2690bfeef1acd91ef549163f2907f723df4d98a9b"} +{"instance_id": "bird173", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(\n 100.0 * COUNT(DISTINCT CASE\n WHEN LOWER(TRIM(pa.defensive_work_rate)) = 'high' THEN p.player_api_id\n END) / NULLIF(COUNT(DISTINCT p.player_api_id), 0),\n 2\n) AS high_defensive_work_rate_percentage\nFROM Player AS p\nJOIN Player_Attributes AS pa ON pa.player_api_id = p.player_api_id\nWHERE p.birthday >= '1991-01-01'\n AND LOWER(TRIM(pa.defensive_work_rate)) IN ('low', 'medium', 'high');\n```", "rows": 1, "sql": "SELECT ROUND(\n 100.0 * COUNT(DISTINCT CASE\n WHEN LOWER(TRIM(pa.defensive_work_rate)) = 'high' THEN p.player_api_id\n END) / NULLIF(COUNT(DISTINCT p.player_api_id), 0),\n 2\n) AS high_defensive_work_rate_percentage\nFROM Player AS p\nJOIN Player_Attributes AS pa ON pa.player_api_id = p.player_api_id\nWHERE p.birthday >= '1991-01-01'\n AND LOWER(TRIM(pa.defensive_work_rate)) IN ('low', 'medium', 'high');", "seconds": 12.189759374945424, "calls": [{"seconds": 2.6296684589469805, "usage": {"completion_tokens": 52, "prompt_tokens": 1700, "total_tokens": 1752, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1151, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1151, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1151, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.641830165986903, "usage": {"completion_tokens": 194, "prompt_tokens": 2083, "total_tokens": 2277, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 47, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 383, "cached_tokens": 1151, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 383, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 383, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.743959957966581, "usage": {"completion_tokens": 132, "prompt_tokens": 2434, "total_tokens": 2566, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 351, "cached_tokens": 1534, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 351, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 351, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9d645f3721353032b1a42a02b2181eb7d80d986b481f63c0db2c76cd4fb08653", "csv_sha256": "36b82c6f1e3381d814bec1718ccdb33b18c7e2a5f534386f08d082a574d6b113"} +{"instance_id": "bird174", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH ranked_ratings AS (\n SELECT player_api_id, overall_rating,\n ROW_NUMBER() OVER (\n PARTITION BY player_api_id\n ORDER BY date DESC, id DESC\n ) AS rn\n FROM Player_Attributes\n WHERE date < '2011-01-01'\n), match_counts AS (\n SELECT r.player_api_id, COUNT(DISTINCT m.match_api_id) AS matches_played\n FROM ranked_ratings AS r\n LEFT JOIN Match AS m\n ON m.season = '2010/2011'\n AND r.player_api_id IN (\n m.home_player_1, m.home_player_2, m.home_player_3,\n m.home_player_4, m.home_player_5, m.home_player_6,\n m.home_player_7, m.home_player_8, m.home_player_9,\n m.home_player_10, m.home_player_11,\n m.away_player_1, m.away_player_2, m.away_player_3,\n m.away_player_4, m.away_player_5, m.away_player_6,\n m.away_player_7, m.away_player_8, m.away_player_9,\n m.away_player_10, m.away_player_11\n )\n WHERE r.rn = 1 AND r.overall_rating > 80\n GROUP BY r.player_api_id\n)\nSELECT ROUND(AVG(matches_played), 2) AS average_matches\nFROM match_counts;\n```", "rows": 1, "sql": "WITH ranked_ratings AS (\n SELECT player_api_id, overall_rating,\n ROW_NUMBER() OVER (\n PARTITION BY player_api_id\n ORDER BY date DESC, id DESC\n ) AS rn\n FROM Player_Attributes\n WHERE date < '2011-01-01'\n), match_counts AS (\n SELECT r.player_api_id, COUNT(DISTINCT m.match_api_id) AS matches_played\n FROM ranked_ratings AS r\n LEFT JOIN Match AS m\n ON m.season = '2010/2011'\n AND r.player_api_id IN (\n m.home_player_1, m.home_player_2, m.home_player_3,\n m.home_player_4, m.home_player_5, m.home_player_6,\n m.home_player_7, m.home_player_8, m.home_player_9,\n m.home_player_10, m.home_player_11,\n m.away_player_1, m.away_player_2, m.away_player_3,\n m.away_player_4, m.away_player_5, m.away_player_6,\n m.away_player_7, m.away_player_8, m.away_player_9,\n m.away_player_10, m.away_player_11\n )\n WHERE r.rn = 1 AND r.overall_rating > 80\n GROUP BY r.player_api_id\n)\nSELECT ROUND(AVG(matches_played), 2) AS average_matches\nFROM match_counts;", "seconds": 27.618047624942847, "calls": [{"seconds": 2.804087375057861, "usage": {"completion_tokens": 67, "prompt_tokens": 1657, "total_tokens": 1724, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1108, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1108, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1108, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 14.139908040990122, "usage": {"completion_tokens": 700, "prompt_tokens": 2889, "total_tokens": 3589, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 343, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1232, "cached_tokens": 1108, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1232, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1232, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.293946375022642, "usage": {"completion_tokens": 349, "prompt_tokens": 3939, "total_tokens": 4288, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 18, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1050, "cached_tokens": 2340, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1050, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1050, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "81c22239c83b2bd7950b65136be54ec46ca5d305820ffd1e79033f920eb835dc", "csv_sha256": "a786fa8d26c1be127554ff0be232e2feb260641173adf4f635794a0d34902707"} +{"instance_id": "bird175", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH ranked_ratings AS (\n SELECT player_api_id,\n defensive_work_rate,\n ROW_NUMBER() OVER (\n PARTITION BY player_api_id\n ORDER BY date DESC, id DESC\n ) AS rn\n FROM Player_Attributes\n)\nSELECT ROUND(AVG(p.height), 2) AS average_height_cm\nFROM Player AS p\nJOIN ranked_ratings AS r ON r.player_api_id = p.player_api_id\nWHERE r.rn = 1\n AND r.defensive_work_rate IN ('low', 'high');\n```", "rows": 1, "sql": "WITH ranked_ratings AS (\n SELECT player_api_id,\n defensive_work_rate,\n ROW_NUMBER() OVER (\n PARTITION BY player_api_id\n ORDER BY date DESC, id DESC\n ) AS rn\n FROM Player_Attributes\n)\nSELECT ROUND(AVG(p.height), 2) AS average_height_cm\nFROM Player AS p\nJOIN ranked_ratings AS r ON r.player_api_id = p.player_api_id\nWHERE r.rn = 1\n AND r.defensive_work_rate IN ('low', 'high');", "seconds": 10.403921874938533, "calls": [{"seconds": 2.4277903340989724, "usage": {"completion_tokens": 52, "prompt_tokens": 1661, "total_tokens": 1713, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1112, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1112, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1112, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.084852332947776, "usage": {"completion_tokens": 170, "prompt_tokens": 2044, "total_tokens": 2214, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 35, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 383, "cached_tokens": 1112, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 383, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 383, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6290906670037657, "usage": {"completion_tokens": 119, "prompt_tokens": 2355, "total_tokens": 2474, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 311, "cached_tokens": 1495, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 311, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 311, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f3de7e1055f565ab3c9bf272dd7b542c5eb93124d4026823706ef7f54802698b", "csv_sha256": "97c9d5bba9b8b0ac6cf84cdfd4ee4c10835dabfa174f42bd579600cff5cf2cee"} +{"instance_id": "bird176", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH eligible_clubs AS (\n SELECT t.team_api_id, t.team_short_name\n FROM Team AS t\n WHERE EXISTS (\n SELECT 1\n FROM Team_Attributes AS a\n WHERE a.team_api_id = t.team_api_id\n AND a.chanceCreationPassingClass = 'Risky'\n )\n), ranked_attributes AS (\n SELECT team_api_id, chanceCreationPassing,\n ROW_NUMBER() OVER (\n PARTITION BY team_api_id\n ORDER BY date DESC, id DESC\n ) AS rn\n FROM Team_Attributes\n WHERE date < '2014-09-20'\n)\nSELECT c.team_short_name AS short_name,\n COUNT(*) AS club_count,\n ROUND(AVG(a.chanceCreationPassing), 1) AS avg_passing_risk\nFROM eligible_clubs AS c\nLEFT JOIN ranked_attributes AS a\n ON a.team_api_id = c.team_api_id AND a.rn = 1\nGROUP BY c.team_short_name\nHAVING COUNT(*) > 1\nORDER BY avg_passing_risk DESC, short_name ASC;\n```", "rows": 6, "sql": "WITH eligible_clubs AS (\n SELECT t.team_api_id, t.team_short_name\n FROM Team AS t\n WHERE EXISTS (\n SELECT 1\n FROM Team_Attributes AS a\n WHERE a.team_api_id = t.team_api_id\n AND a.chanceCreationPassingClass = 'Risky'\n )\n), ranked_attributes AS (\n SELECT team_api_id, chanceCreationPassing,\n ROW_NUMBER() OVER (\n PARTITION BY team_api_id\n ORDER BY date DESC, id DESC\n ) AS rn\n FROM Team_Attributes\n WHERE date < '2014-09-20'\n)\nSELECT c.team_short_name AS short_name,\n COUNT(*) AS club_count,\n ROUND(AVG(a.chanceCreationPassing), 1) AS avg_passing_risk\nFROM eligible_clubs AS c\nLEFT JOIN ranked_attributes AS a\n ON a.team_api_id = c.team_api_id AND a.rn = 1\nGROUP BY c.team_short_name\nHAVING COUNT(*) > 1\nORDER BY avg_passing_risk DESC, short_name ASC;", "seconds": 14.869190583005548, "calls": [{"seconds": 2.263955625006929, "usage": {"completion_tokens": 52, "prompt_tokens": 1763, "total_tokens": 1815, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1214, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1214, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1214, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.70942712505348, "usage": {"completion_tokens": 368, "prompt_tokens": 2081, "total_tokens": 2449, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 110, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 318, "cached_tokens": 1214, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 318, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 318, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.859842041041702, "usage": {"completion_tokens": 245, "prompt_tokens": 2775, "total_tokens": 3020, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 8, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 694, "cached_tokens": 1532, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 694, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 694, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a828034c8eb9ac2c36dd02c4d9931678e079c98529a102394e4284ff8d188dfb", "csv_sha256": "648954d26363443ca365d8647b224dda6a475158b5f82f6019490fb7a6152c31"} +{"instance_id": "bird177", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH ranked_grades AS (\n SELECT\n player_api_id,\n LOWER(TRIM(defensive_work_rate)) AS defensive_grade,\n ROW_NUMBER() OVER (\n PARTITION BY player_api_id\n ORDER BY date DESC, id DESC\n ) AS rn\n FROM Player_Attributes\n WHERE LOWER(TRIM(defensive_work_rate)) IN ('low', 'medium', 'high')\n)\nSELECT ROUND(AVG(p.height), 2) AS average_height_cm\nFROM Player AS p\nJOIN ranked_grades AS g ON g.player_api_id = p.player_api_id\nWHERE p.birthday >= '1990-01-01'\n AND p.birthday < '1996-01-01'\n AND g.rn = 1\n AND g.defensive_grade = 'medium';\n```", "rows": 1, "sql": "WITH ranked_grades AS (\n SELECT\n player_api_id,\n LOWER(TRIM(defensive_work_rate)) AS defensive_grade,\n ROW_NUMBER() OVER (\n PARTITION BY player_api_id\n ORDER BY date DESC, id DESC\n ) AS rn\n FROM Player_Attributes\n WHERE LOWER(TRIM(defensive_work_rate)) IN ('low', 'medium', 'high')\n)\nSELECT ROUND(AVG(p.height), 2) AS average_height_cm\nFROM Player AS p\nJOIN ranked_grades AS g ON g.player_api_id = p.player_api_id\nWHERE p.birthday >= '1990-01-01'\n AND p.birthday < '1996-01-01'\n AND g.rn = 1\n AND g.defensive_grade = 'medium';", "seconds": 13.059524292009883, "calls": [{"seconds": 2.3700646249344572, "usage": {"completion_tokens": 52, "prompt_tokens": 1691, "total_tokens": 1743, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1142, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1142, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1142, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.325182208092883, "usage": {"completion_tokens": 281, "prompt_tokens": 2074, "total_tokens": 2355, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 88, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 383, "cached_tokens": 1142, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 383, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 383, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.120816875016317, "usage": {"completion_tokens": 173, "prompt_tokens": 2550, "total_tokens": 2723, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 476, "cached_tokens": 1525, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 476, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 476, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f436c4193d01e75fabbf739302a47cd484e233cc77a7c179c1b9f5770a607df8", "csv_sha256": "27618a3424426caff32edaba66681d07762e64b84658dda5ca815a199705ee24"} +{"instance_id": "bird178", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(p.weight), 1) AS average_weight\nFROM Player AS p\nWHERE p.player_api_id IN (\n SELECT pa.player_api_id\n FROM Player_Attributes AS pa\n WHERE pa.preferred_foot = 'left'\n);\n```", "rows": 1, "sql": "SELECT ROUND(AVG(p.weight), 1) AS average_weight\nFROM Player AS p\nWHERE p.player_api_id IN (\n SELECT pa.player_api_id\n FROM Player_Attributes AS pa\n WHERE pa.preferred_foot = 'left'\n);", "seconds": 42.05287400004454, "calls": [{"seconds": 2.6325275000417605, "usage": {"completion_tokens": 52, "prompt_tokens": 1636, "total_tokens": 1688, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1087, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1087, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1087, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3712141659343615, "usage": {"completion_tokens": 110, "prompt_tokens": 2019, "total_tokens": 2129, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 30, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 383, "cached_tokens": 1087, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 383, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 383, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1631088339490816, "usage": {"completion_tokens": 72, "prompt_tokens": 2240, "total_tokens": 2312, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 221, "cached_tokens": 1470, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 221, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 221, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8359850420383736, "usage": {"completion_tokens": 61, "prompt_tokens": 2394, "total_tokens": 2455, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 154, "cached_tokens": 1691, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 154, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 154, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "38d79db66e09bc2aa104784c8c2ba9ab146376c3a5f67f52ef9839939f054c5c", "csv_sha256": "80c07897f2e2c49a0216a5ad125de9697001bfd67c6087a8455e6dc69f19e037"} +{"instance_id": "bird180", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT DISTINCT ta.buildUpPlayDribblingClass\nFROM Team_Attributes AS ta\nJOIN Team AS t ON t.team_api_id = ta.team_api_id\nWHERE t.team_short_name = 'POR'\n AND date(ta.date) = '2015-09-10'\n AND EXISTS (\n SELECT 1\n FROM Match AS m\n JOIN Country AS c ON c.id = m.country_id\n WHERE c.name = 'England'\n AND t.team_api_id IN (m.home_team_api_id, m.away_team_api_id)\n );\n```", "rows": 1, "sql": "SELECT DISTINCT ta.buildUpPlayDribblingClass\nFROM Team_Attributes AS ta\nJOIN Team AS t ON t.team_api_id = ta.team_api_id\nWHERE t.team_short_name = 'POR'\n AND date(ta.date) = '2015-09-10'\n AND EXISTS (\n SELECT 1\n FROM Match AS m\n JOIN Country AS c ON c.id = m.country_id\n WHERE c.name = 'England'\n AND t.team_api_id IN (m.home_team_api_id, m.away_team_api_id)\n );", "seconds": 11.097349166986533, "calls": [{"seconds": 3.3847713340073824, "usage": {"completion_tokens": 97, "prompt_tokens": 1639, "total_tokens": 1736, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1090, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1090, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1090, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.733816625084728, "usage": {"completion_tokens": 139, "prompt_tokens": 2888, "total_tokens": 3027, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1249, "cached_tokens": 1090, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1249, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1249, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4174978339578956, "usage": {"completion_tokens": 125, "prompt_tokens": 3176, "total_tokens": 3301, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 288, "cached_tokens": 2339, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 288, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 288, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "4ef4e33cc94d9973041a204d11162db3f9b359108b08b5587cf6698faff65b0d", "csv_sha256": "d029182cb260c87279a064b6159b209ddb21801834545ae6613518c667e05042"} +{"instance_id": "bird181", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n t.team_long_name AS club_name,\n t.team_short_name AS short_name,\n COUNT(*) AS home_wins\nFROM \"Match\" AS m\nJOIN Team AS t ON t.team_api_id = m.home_team_api_id\nWHERE m.home_team_goal - m.away_team_goal >= 3\n AND (\n SELECT ta.buildUpPlaySpeedClass\n FROM Team_Attributes AS ta\n WHERE ta.team_api_id = m.home_team_api_id\n AND ta.date <= m.date\n ORDER BY ta.date DESC, ta.id DESC\n LIMIT 1\n ) = 'Fast'\nGROUP BY t.team_api_id, t.team_long_name, t.team_short_name\nORDER BY home_wins DESC, club_name, short_name, t.team_api_id;\n```", "rows": 65, "sql": "SELECT\n t.team_long_name AS club_name,\n t.team_short_name AS short_name,\n COUNT(*) AS home_wins\nFROM \"Match\" AS m\nJOIN Team AS t ON t.team_api_id = m.home_team_api_id\nWHERE m.home_team_goal - m.away_team_goal >= 3\n AND (\n SELECT ta.buildUpPlaySpeedClass\n FROM Team_Attributes AS ta\n WHERE ta.team_api_id = m.home_team_api_id\n AND ta.date <= m.date\n ORDER BY ta.date DESC, ta.id DESC\n LIMIT 1\n ) = 'Fast'\nGROUP BY t.team_api_id, t.team_long_name, t.team_short_name\nORDER BY home_wins DESC, club_name, short_name, t.team_api_id;", "seconds": 18.955089958035387, "calls": [{"seconds": 2.8385190829867497, "usage": {"completion_tokens": 67, "prompt_tokens": 1771, "total_tokens": 1838, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1222, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1222, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1222, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.655537125072442, "usage": {"completion_tokens": 269, "prompt_tokens": 2938, "total_tokens": 3207, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 76, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1167, "cached_tokens": 1222, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1167, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1167, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.015056999982335, "usage": {"completion_tokens": 211, "prompt_tokens": 3437, "total_tokens": 3648, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 25, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 499, "cached_tokens": 2389, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 499, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 499, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.157821291941218, "usage": {"completion_tokens": 172, "prompt_tokens": 4352, "total_tokens": 4524, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 915, "cached_tokens": 2888, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 915, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 915, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a8bb0707702644e3b5b56a14c39e5f263a21abf3486f2aaa5dfcf1196526bb1a", "csv_sha256": "d834da5b110b66aa45a80b00e9268574611cd68278ae615111c86b15856020e2"} +{"instance_id": "bird182", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH heavy_away_defeats AS (\n SELECT season, away_player_1, away_player_2, away_player_3,\n away_player_4, away_player_5, away_player_6, away_player_7,\n away_player_8, away_player_9, away_player_10, away_player_11\n FROM \"Match\"\n WHERE home_team_goal - away_team_goal >= 5\n), away_lineup (season, player_id) AS (\n SELECT season, away_player_1 FROM heavy_away_defeats\n UNION ALL SELECT season, away_player_2 FROM heavy_away_defeats\n UNION ALL SELECT season, away_player_3 FROM heavy_away_defeats\n UNION ALL SELECT season, away_player_4 FROM heavy_away_defeats\n UNION ALL SELECT season, away_player_5 FROM heavy_away_defeats\n UNION ALL SELECT season, away_player_6 FROM heavy_away_defeats\n UNION ALL SELECT season, away_player_7 FROM heavy_away_defeats\n UNION ALL SELECT season, away_player_8 FROM heavy_away_defeats\n UNION ALL SELECT season, away_player_9 FROM heavy_away_defeats\n UNION ALL SELECT season, away_player_10 FROM heavy_away_defeats\n UNION ALL SELECT season, away_player_11 FROM heavy_away_defeats\n)\nSELECT season, COUNT(DISTINCT player_id) AS player_count\nFROM away_lineup\nGROUP BY season\nORDER BY season;\n```", "rows": 8, "sql": "WITH heavy_away_defeats AS (\n SELECT season, away_player_1, away_player_2, away_player_3,\n away_player_4, away_player_5, away_player_6, away_player_7,\n away_player_8, away_player_9, away_player_10, away_player_11\n FROM \"Match\"\n WHERE home_team_goal - away_team_goal >= 5\n), away_lineup (season, player_id) AS (\n SELECT season, away_player_1 FROM heavy_away_defeats\n UNION ALL SELECT season, away_player_2 FROM heavy_away_defeats\n UNION ALL SELECT season, away_player_3 FROM heavy_away_defeats\n UNION ALL SELECT season, away_player_4 FROM heavy_away_defeats\n UNION ALL SELECT season, away_player_5 FROM heavy_away_defeats\n UNION ALL SELECT season, away_player_6 FROM heavy_away_defeats\n UNION ALL SELECT season, away_player_7 FROM heavy_away_defeats\n UNION ALL SELECT season, away_player_8 FROM heavy_away_defeats\n UNION ALL SELECT season, away_player_9 FROM heavy_away_defeats\n UNION ALL SELECT season, away_player_10 FROM heavy_away_defeats\n UNION ALL SELECT season, away_player_11 FROM heavy_away_defeats\n)\nSELECT season, COUNT(DISTINCT player_id) AS player_count\nFROM away_lineup\nGROUP BY season\nORDER BY season;", "seconds": 16.2685974589549, "calls": [{"seconds": 3.285128541989252, "usage": {"completion_tokens": 19, "prompt_tokens": 1681, "total_tokens": 1700, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1132, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1132, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1132, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.5018519590375945, "usage": {"completion_tokens": 378, "prompt_tokens": 2536, "total_tokens": 2914, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 29, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 855, "cached_tokens": 1132, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 855, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 855, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.773854625062086, "usage": {"completion_tokens": 332, "prompt_tokens": 3339, "total_tokens": 3671, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 803, "cached_tokens": 1987, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 803, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 803, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5238311ec8a172b3e0e3f7edc4626d57377b02c4cf17e7ed196e9108ef08eb55", "csv_sha256": "5851f2a7f1fe5d3cdd6600bc330452a6dfe126b41c2409fc0b4360afbf3cc672"} +{"instance_id": "bird183", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH country_counts AS (\n SELECT c.name AS country_name,\n COUNT(DISTINCT p.player_api_id) AS player_count\n FROM Country AS c\n LEFT JOIN League AS l ON l.country_id = c.id\n LEFT JOIN \"Match\" AS m ON m.league_id = l.id\n LEFT JOIN Player AS p\n ON p.weight >= 210\n AND p.player_api_id IN (\n m.home_player_1, m.home_player_2, m.home_player_3,\n m.home_player_4, m.home_player_5, m.home_player_6,\n m.home_player_7, m.home_player_8, m.home_player_9,\n m.home_player_10, m.home_player_11,\n m.away_player_1, m.away_player_2, m.away_player_3,\n m.away_player_4, m.away_player_5, m.away_player_6,\n m.away_player_7, m.away_player_8, m.away_player_9,\n m.away_player_10, m.away_player_11\n )\n GROUP BY c.id, c.name\n)\nSELECT country_name, player_count\nFROM country_counts\nWHERE player_count = (SELECT MAX(player_count) FROM country_counts)\nORDER BY country_name;\n```", "rows": 1, "sql": "WITH country_counts AS (\n SELECT c.name AS country_name,\n COUNT(DISTINCT p.player_api_id) AS player_count\n FROM Country AS c\n LEFT JOIN League AS l ON l.country_id = c.id\n LEFT JOIN \"Match\" AS m ON m.league_id = l.id\n LEFT JOIN Player AS p\n ON p.weight >= 210\n AND p.player_api_id IN (\n m.home_player_1, m.home_player_2, m.home_player_3,\n m.home_player_4, m.home_player_5, m.home_player_6,\n m.home_player_7, m.home_player_8, m.home_player_9,\n m.home_player_10, m.home_player_11,\n m.away_player_1, m.away_player_2, m.away_player_3,\n m.away_player_4, m.away_player_5, m.away_player_6,\n m.away_player_7, m.away_player_8, m.away_player_9,\n m.away_player_10, m.away_player_11\n )\n GROUP BY c.id, c.name\n)\nSELECT country_name, player_count\nFROM country_counts\nWHERE player_count = (SELECT MAX(player_count) FROM country_counts)\nORDER BY country_name;", "seconds": 27.845314332982525, "calls": [{"seconds": 2.9195116669870913, "usage": {"completion_tokens": 80, "prompt_tokens": 1704, "total_tokens": 1784, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1155, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1155, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1155, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 15.241545708035119, "usage": {"completion_tokens": 748, "prompt_tokens": 2727, "total_tokens": 3475, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 435, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1023, "cached_tokens": 1155, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1023, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1023, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.66989120899234, "usage": {"completion_tokens": 288, "prompt_tokens": 3790, "total_tokens": 4078, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1063, "cached_tokens": 2178, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1063, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1063, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8d74997af63df7a7c757c160ca39dc05c0c8754d1bef74543e4efcda65e38d27", "csv_sha256": "402df0c53d59834153618a1c22d911e66754fa5fee54369ba6583e8bdeec4a53"} +{"instance_id": "bird184", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH italian_matches AS (\n SELECT m.*\n FROM \"Match\" AS m\n JOIN League AS l ON l.id = m.league_id\n JOIN Country AS c ON c.id = l.country_id\n WHERE c.name = 'Italy'\n AND m.season IN ('2008/2009', '2015/2016')\n), season_players AS (\n SELECT season, home_player_1 AS player_api_id FROM italian_matches\n UNION SELECT season, home_player_2 FROM italian_matches\n UNION SELECT season, home_player_3 FROM italian_matches\n UNION SELECT season, home_player_4 FROM italian_matches\n UNION SELECT season, home_player_5 FROM italian_matches\n UNION SELECT season, home_player_6 FROM italian_matches\n UNION SELECT season, home_player_7 FROM italian_matches\n UNION SELECT season, home_player_8 FROM italian_matches\n UNION SELECT season, home_player_9 FROM italian_matches\n UNION SELECT season, home_player_10 FROM italian_matches\n UNION SELECT season, home_player_11 FROM italian_matches\n UNION SELECT season, away_player_1 FROM italian_matches\n UNION SELECT season, away_player_2 FROM italian_matches\n UNION SELECT season, away_player_3 FROM italian_matches\n UNION SELECT season, away_player_4 FROM italian_matches\n UNION SELECT season, away_player_5 FROM italian_matches\n UNION SELECT season, away_player_6 FROM italian_matches\n UNION SELECT season, away_player_7 FROM italian_matches\n UNION SELECT season, away_player_8 FROM italian_matches\n UNION SELECT season, away_player_9 FROM italian_matches\n UNION SELECT season, away_player_10 FROM italian_matches\n UNION SELECT season, away_player_11 FROM italian_matches\n)\nSELECT sp.season,\n COUNT(sp.player_api_id) AS player_count,\n ROUND(AVG(p.height), 2) AS average_height_cm\nFROM season_players AS sp\nLEFT JOIN Player AS p ON p.player_api_id = sp.player_api_id\nGROUP BY sp.season\nORDER BY sp.season;\n```", "rows": 2, "sql": "WITH italian_matches AS (\n SELECT m.*\n FROM \"Match\" AS m\n JOIN League AS l ON l.id = m.league_id\n JOIN Country AS c ON c.id = l.country_id\n WHERE c.name = 'Italy'\n AND m.season IN ('2008/2009', '2015/2016')\n), season_players AS (\n SELECT season, home_player_1 AS player_api_id FROM italian_matches\n UNION SELECT season, home_player_2 FROM italian_matches\n UNION SELECT season, home_player_3 FROM italian_matches\n UNION SELECT season, home_player_4 FROM italian_matches\n UNION SELECT season, home_player_5 FROM italian_matches\n UNION SELECT season, home_player_6 FROM italian_matches\n UNION SELECT season, home_player_7 FROM italian_matches\n UNION SELECT season, home_player_8 FROM italian_matches\n UNION SELECT season, home_player_9 FROM italian_matches\n UNION SELECT season, home_player_10 FROM italian_matches\n UNION SELECT season, home_player_11 FROM italian_matches\n UNION SELECT season, away_player_1 FROM italian_matches\n UNION SELECT season, away_player_2 FROM italian_matches\n UNION SELECT season, away_player_3 FROM italian_matches\n UNION SELECT season, away_player_4 FROM italian_matches\n UNION SELECT season, away_player_5 FROM italian_matches\n UNION SELECT season, away_player_6 FROM italian_matches\n UNION SELECT season, away_player_7 FROM italian_matches\n UNION SELECT season, away_player_8 FROM italian_matches\n UNION SELECT season, away_player_9 FROM italian_matches\n UNION SELECT season, away_player_10 FROM italian_matches\n UNION SELECT season, away_player_11 FROM italian_matches\n)\nSELECT sp.season,\n COUNT(sp.player_api_id) AS player_count,\n ROUND(AVG(p.height), 2) AS average_height_cm\nFROM season_players AS sp\nLEFT JOIN Player AS p ON p.player_api_id = sp.player_api_id\nGROUP BY sp.season\nORDER BY sp.season;", "seconds": 21.82138912496157, "calls": [{"seconds": 2.600126832956448, "usage": {"completion_tokens": 80, "prompt_tokens": 1733, "total_tokens": 1813, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1184, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1184, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1184, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.623015249962918, "usage": {"completion_tokens": 589, "prompt_tokens": 2756, "total_tokens": 3345, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 128, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1023, "cached_tokens": 1184, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1023, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1023, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.683544084080495, "usage": {"completion_tokens": 488, "prompt_tokens": 3840, "total_tokens": 4328, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 46, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1084, "cached_tokens": 2207, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1084, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1084, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "db68a93c611b97707328e03ddad7e9a79adb676cd804f5aaa832780c4e405b04", "csv_sha256": "c79710e72e9a536cba3d99ff7a771c4ed5c09196c8489be591a40609de69524a"} +{"instance_id": "bird185", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH ranked_ratings AS (\n SELECT player_api_id,\n volleys,\n ROW_NUMBER() OVER (\n PARTITION BY player_api_id\n ORDER BY date DESC, id DESC\n ) AS rating_rank\n FROM Player_Attributes\n)\nSELECT COUNT(DISTINCT p.player_api_id) AS player_count\nFROM Player AS p\nJOIN ranked_ratings AS r ON r.player_api_id = p.player_api_id\nWHERE r.rating_rank = 1\n AND p.height > 180\n AND r.volleys > 70;\n```", "rows": 1, "sql": "WITH ranked_ratings AS (\n SELECT player_api_id,\n volleys,\n ROW_NUMBER() OVER (\n PARTITION BY player_api_id\n ORDER BY date DESC, id DESC\n ) AS rating_rank\n FROM Player_Attributes\n)\nSELECT COUNT(DISTINCT p.player_api_id) AS player_count\nFROM Player AS p\nJOIN ranked_ratings AS r ON r.player_api_id = p.player_api_id\nWHERE r.rating_rank = 1\n AND p.height > 180\n AND r.volleys > 70;", "seconds": 9.574271042016335, "calls": [{"seconds": 2.1798482920276, "usage": {"completion_tokens": 52, "prompt_tokens": 1722, "total_tokens": 1774, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1173, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1173, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1173, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8006715410156175, "usage": {"completion_tokens": 136, "prompt_tokens": 2105, "total_tokens": 2241, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 383, "cached_tokens": 1173, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 383, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 383, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3635165409650654, "usage": {"completion_tokens": 122, "prompt_tokens": 2382, "total_tokens": 2504, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 277, "cached_tokens": 1556, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 277, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 277, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "fc44f53bf1da9ffbb66f5296c76cb112f38938a12f37eeee0297da1d9c1b4d17", "csv_sha256": "7f73541b98810a90f55e9d962e7f401a76326086c08751bae85839ce7af1772e"} +{"instance_id": "bird186", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH goals_by_player AS (\n SELECT home_player_3 AS player_api_id,\n SUM(home_team_goal) AS total_home_goals\n FROM \"Match\"\n GROUP BY home_player_3\n)\nSELECT ROUND(AVG(COALESCE(g.total_home_goals, 0)), 2) AS average_total_home_goals\nFROM Player AS p\nLEFT JOIN goals_by_player AS g ON g.player_api_id = p.player_api_id;\n```", "rows": 1, "sql": "WITH goals_by_player AS (\n SELECT home_player_3 AS player_api_id,\n SUM(home_team_goal) AS total_home_goals\n FROM \"Match\"\n GROUP BY home_player_3\n)\nSELECT ROUND(AVG(COALESCE(g.total_home_goals, 0)), 2) AS average_total_home_goals\nFROM Player AS p\nLEFT JOIN goals_by_player AS g ON g.player_api_id = p.player_api_id;", "seconds": 10.607961917063221, "calls": [{"seconds": 2.7391302089672536, "usage": {"completion_tokens": 50, "prompt_tokens": 1714, "total_tokens": 1764, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1165, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1165, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1165, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.152685291017406, "usage": {"completion_tokens": 158, "prompt_tokens": 2655, "total_tokens": 2813, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 42, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 941, "cached_tokens": 1165, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 941, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 941, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.667459125048481, "usage": {"completion_tokens": 101, "prompt_tokens": 2938, "total_tokens": 3039, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 283, "cached_tokens": 2106, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 283, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 283, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "309132ee177d79118a26956561586f9ba177c8d248451cc1ecb2ce7c9b843b02", "csv_sha256": "2f97b043d72c9f6fdc55183ea4ccc8c0361d3c5ccd09c95176f2607a41bca6c9"} +{"instance_id": "bird187", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH match_players(country_id, player_api_id) AS (\n SELECT country_id, home_player_1 FROM \"Match\"\n UNION ALL SELECT country_id, home_player_2 FROM \"Match\"\n UNION ALL SELECT country_id, home_player_3 FROM \"Match\"\n UNION ALL SELECT country_id, home_player_4 FROM \"Match\"\n UNION ALL SELECT country_id, home_player_5 FROM \"Match\"\n UNION ALL SELECT country_id, home_player_6 FROM \"Match\"\n UNION ALL SELECT country_id, home_player_7 FROM \"Match\"\n UNION ALL SELECT country_id, home_player_8 FROM \"Match\"\n UNION ALL SELECT country_id, home_player_9 FROM \"Match\"\n UNION ALL SELECT country_id, home_player_10 FROM \"Match\"\n UNION ALL SELECT country_id, home_player_11 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_1 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_2 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_3 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_4 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_5 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_6 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_7 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_8 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_9 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_10 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_11 FROM \"Match\"\n), country_counts AS (\n SELECT c.name AS country_name, COUNT(DISTINCT p.player_api_id) AS player_count\n FROM Country AS c\n JOIN match_players AS mp ON mp.country_id = c.id\n LEFT JOIN Player AS p ON p.player_api_id = mp.player_api_id AND p.weight <= 160\n GROUP BY c.id, c.name\n)\nSELECT country_name\nFROM country_counts\nWHERE player_count = (SELECT MIN(player_count) FROM country_counts)\nORDER BY country_name;\n```", "rows": 1, "sql": "WITH match_players(country_id, player_api_id) AS (\n SELECT country_id, home_player_1 FROM \"Match\"\n UNION ALL SELECT country_id, home_player_2 FROM \"Match\"\n UNION ALL SELECT country_id, home_player_3 FROM \"Match\"\n UNION ALL SELECT country_id, home_player_4 FROM \"Match\"\n UNION ALL SELECT country_id, home_player_5 FROM \"Match\"\n UNION ALL SELECT country_id, home_player_6 FROM \"Match\"\n UNION ALL SELECT country_id, home_player_7 FROM \"Match\"\n UNION ALL SELECT country_id, home_player_8 FROM \"Match\"\n UNION ALL SELECT country_id, home_player_9 FROM \"Match\"\n UNION ALL SELECT country_id, home_player_10 FROM \"Match\"\n UNION ALL SELECT country_id, home_player_11 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_1 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_2 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_3 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_4 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_5 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_6 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_7 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_8 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_9 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_10 FROM \"Match\"\n UNION ALL SELECT country_id, away_player_11 FROM \"Match\"\n), country_counts AS (\n SELECT c.name AS country_name, COUNT(DISTINCT p.player_api_id) AS player_count\n FROM Country AS c\n JOIN match_players AS mp ON mp.country_id = c.id\n LEFT JOIN Player AS p ON p.player_api_id = mp.player_api_id AND p.weight <= 160\n GROUP BY c.id, c.name\n)\nSELECT country_name\nFROM country_counts\nWHERE player_count = (SELECT MIN(player_count) FROM country_counts)\nORDER BY country_name;", "seconds": 25.737808792036958, "calls": [{"seconds": 3.3501975419931114, "usage": {"completion_tokens": 80, "prompt_tokens": 1710, "total_tokens": 1790, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1161, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1161, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1161, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 13.711752082919702, "usage": {"completion_tokens": 747, "prompt_tokens": 2733, "total_tokens": 3480, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 256, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1023, "cached_tokens": 1161, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1023, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1023, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.513193999999203, "usage": {"completion_tokens": 454, "prompt_tokens": 3954, "total_tokens": 4408, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1221, "cached_tokens": 2184, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1221, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1221, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f98794f58448d9902978e0a1441c95103d47a0f338e8805881954c9fa8a94b29", "csv_sha256": "d3f34d062993bb014d1b17dcef5a3ddaa814111be2cb504040bc81dbb3314247"} +{"instance_id": "bird188", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH ranked_attributes AS (\n SELECT preferred_foot,\n attacking_work_rate,\n ROW_NUMBER() OVER (\n PARTITION BY player_api_id\n ORDER BY date DESC, id DESC\n ) AS rn\n FROM Player_Attributes\n WHERE date < '2015-01-02'\n)\nSELECT COUNT(*) AS player_count\nFROM ranked_attributes\nWHERE rn = 1\n AND preferred_foot = 'left'\n AND attacking_work_rate IN ('low', 'medium');\n```", "rows": 1, "sql": "WITH ranked_attributes AS (\n SELECT preferred_foot,\n attacking_work_rate,\n ROW_NUMBER() OVER (\n PARTITION BY player_api_id\n ORDER BY date DESC, id DESC\n ) AS rn\n FROM Player_Attributes\n WHERE date < '2015-01-02'\n)\nSELECT COUNT(*) AS player_count\nFROM ranked_attributes\nWHERE rn = 1\n AND preferred_foot = 'left'\n AND attacking_work_rate IN ('low', 'medium');", "seconds": 12.169421458966099, "calls": [{"seconds": 2.870743167004548, "usage": {"completion_tokens": 52, "prompt_tokens": 1685, "total_tokens": 1737, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1136, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1136, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1136, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.073830583016388, "usage": {"completion_tokens": 199, "prompt_tokens": 2068, "total_tokens": 2267, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 72, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 383, "cached_tokens": 1136, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 383, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 383, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.016697417013347, "usage": {"completion_tokens": 109, "prompt_tokens": 2396, "total_tokens": 2505, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 328, "cached_tokens": 1519, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 328, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 328, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "c932511be1cee84e53495f3d8723ec7c3a9b2f5f6f0e065901969433c8e8bb42", "csv_sha256": "4fded291da8653969835589f68af0a3dc43c9a838e04fbb95adc45f4424e6740"} +{"instance_id": "bird189", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH latest AS (\n SELECT preferred_foot,\n attacking_work_rate,\n ROW_NUMBER() OVER (\n PARTITION BY player_api_id\n ORDER BY date DESC, id DESC\n ) AS rn\n FROM Player_Attributes\n)\nSELECT ROUND(100.0 * COUNT(CASE WHEN attacking_work_rate = 'low' THEN 1 END)\n / NULLIF(COUNT(*), 0), 1) AS percentage\nFROM latest\nWHERE rn = 1\n AND preferred_foot = 'left'\n AND attacking_work_rate IN ('low', 'medium', 'high');\n```", "rows": 1, "sql": "WITH latest AS (\n SELECT preferred_foot,\n attacking_work_rate,\n ROW_NUMBER() OVER (\n PARTITION BY player_api_id\n ORDER BY date DESC, id DESC\n ) AS rn\n FROM Player_Attributes\n)\nSELECT ROUND(100.0 * COUNT(CASE WHEN attacking_work_rate = 'low' THEN 1 END)\n / NULLIF(COUNT(*), 0), 1) AS percentage\nFROM latest\nWHERE rn = 1\n AND preferred_foot = 'left'\n AND attacking_work_rate IN ('low', 'medium', 'high');", "seconds": 16.8535187500529, "calls": [{"seconds": 2.30873533396516, "usage": {"completion_tokens": 52, "prompt_tokens": 1685, "total_tokens": 1737, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1136, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1136, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1136, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.43977062497288, "usage": {"completion_tokens": 148, "prompt_tokens": 2068, "total_tokens": 2216, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 49, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 383, "cached_tokens": 1136, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 383, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 383, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.9923702500527725, "usage": {"completion_tokens": 220, "prompt_tokens": 2365, "total_tokens": 2585, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 71, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 297, "cached_tokens": 1519, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 297, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 297, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.76271599996835, "usage": {"completion_tokens": 131, "prompt_tokens": 2736, "total_tokens": 2867, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 371, "cached_tokens": 1816, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 371, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 371, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "043895caf881e9d163f32d34425b1fa8f5e0013e7c63185adc64f48b60d7696e", "csv_sha256": "03d14bf2edc503d2e1b4e8a9a0fe5540792f68d1ffcf40cba082aee839942b2c"} +{"instance_id": "bird190", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT p.player_name, COUNT(m.id) AS matches_played\nFROM Player AS p\nLEFT JOIN \"Match\" AS m\n ON m.season = '2015/2016'\n AND p.player_api_id IN (\n m.home_player_1, m.home_player_2, m.home_player_3, m.home_player_4,\n m.home_player_5, m.home_player_6, m.home_player_7, m.home_player_8,\n m.home_player_9, m.home_player_10, m.home_player_11,\n m.away_player_1, m.away_player_2, m.away_player_3, m.away_player_4,\n m.away_player_5, m.away_player_6, m.away_player_7, m.away_player_8,\n m.away_player_9, m.away_player_10, m.away_player_11\n )\nWHERE p.birthday >= '1991-01-01'\n AND p.player_name LIKE 'Aaron%'\nGROUP BY p.id, p.player_name\nORDER BY p.player_name;\n```", "rows": 6, "sql": "SELECT p.player_name, COUNT(m.id) AS matches_played\nFROM Player AS p\nLEFT JOIN \"Match\" AS m\n ON m.season = '2015/2016'\n AND p.player_api_id IN (\n m.home_player_1, m.home_player_2, m.home_player_3, m.home_player_4,\n m.home_player_5, m.home_player_6, m.home_player_7, m.home_player_8,\n m.home_player_9, m.home_player_10, m.home_player_11,\n m.away_player_1, m.away_player_2, m.away_player_3, m.away_player_4,\n m.away_player_5, m.away_player_6, m.away_player_7, m.away_player_8,\n m.away_player_9, m.away_player_10, m.away_player_11\n )\nWHERE p.birthday >= '1991-01-01'\n AND p.player_name LIKE 'Aaron%'\nGROUP BY p.id, p.player_name\nORDER BY p.player_name;", "seconds": 15.611667959019542, "calls": [{"seconds": 2.3036477920832112, "usage": {"completion_tokens": 50, "prompt_tokens": 1704, "total_tokens": 1754, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1155, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1155, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1155, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.165464541991241, "usage": {"completion_tokens": 373, "prompt_tokens": 2645, "total_tokens": 3018, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 108, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 941, "cached_tokens": 1155, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 941, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 941, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.5550785419764, "usage": {"completion_tokens": 242, "prompt_tokens": 3329, "total_tokens": 3571, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 684, "cached_tokens": 2096, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 684, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 684, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0b59708e9e870e3b1c57a0175b9a951f02f99be13837ba6d1446be51598e2e41", "csv_sha256": "6deca7449ed41972d26cee9edccd7115e80331e91556363b4de8d3e5e0636a30"} +{"instance_id": "bird191", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT player_api_id) AS player_count\nFROM Player_Attributes\nWHERE jumping >= 80\n AND DATE(date) BETWEEN '2007-02-22' AND '2007-08-30';\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT player_api_id) AS player_count\nFROM Player_Attributes\nWHERE jumping >= 80\n AND DATE(date) BETWEEN '2007-02-22' AND '2007-08-30';", "seconds": 9.861642749980092, "calls": [{"seconds": 2.4251845000544563, "usage": {"completion_tokens": 21, "prompt_tokens": 1679, "total_tokens": 1700, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1130, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1130, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1130, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.617126500001177, "usage": {"completion_tokens": 149, "prompt_tokens": 1976, "total_tokens": 2125, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 83, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 297, "cached_tokens": 1130, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 297, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 297, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.7649157090345398, "usage": {"completion_tokens": 55, "prompt_tokens": 2199, "total_tokens": 2254, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 223, "cached_tokens": 1427, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 223, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 223, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "88e8d931c24fefa971c8243c33c2cdf750540edde935d4ee3c81dfad3484ab38", "csv_sha256": "560e89ad59e9ebf9910c32a25785a6f800321b1b9d9cd3904973226bef92820e"} +{"instance_id": "bird192", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH last_match AS (\n SELECT t.team_api_id, MAX(m.date) AS match_date\n FROM Team AS t\n JOIN \"Match\" AS m\n ON t.team_api_id IN (m.home_team_api_id, m.away_team_api_id)\n WHERE t.team_long_name = 'KSV Cercle Brugge'\n AND m.season = '2012/2013'\n GROUP BY t.team_api_id\n)\nSELECT a.buildUpPlaySpeedClass\nFROM last_match AS lm\nJOIN Team_Attributes AS a\n ON a.team_api_id = lm.team_api_id\n AND a.date <= lm.match_date\nORDER BY a.date DESC, a.id DESC\nLIMIT 1;\n```", "rows": 1, "sql": "WITH last_match AS (\n SELECT t.team_api_id, MAX(m.date) AS match_date\n FROM Team AS t\n JOIN \"Match\" AS m\n ON t.team_api_id IN (m.home_team_api_id, m.away_team_api_id)\n WHERE t.team_long_name = 'KSV Cercle Brugge'\n AND m.season = '2012/2013'\n GROUP BY t.team_api_id\n)\nSELECT a.buildUpPlaySpeedClass\nFROM last_match AS lm\nJOIN Team_Attributes AS a\n ON a.team_api_id = lm.team_api_id\n AND a.date <= lm.match_date\nORDER BY a.date DESC, a.id DESC\nLIMIT 1;", "seconds": 11.404309499892406, "calls": [{"seconds": 2.9934810829581693, "usage": {"completion_tokens": 67, "prompt_tokens": 1702, "total_tokens": 1769, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1153, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1153, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1153, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9698426249669865, "usage": {"completion_tokens": 169, "prompt_tokens": 2869, "total_tokens": 3038, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1167, "cached_tokens": 1153, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1167, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1167, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.375246834009886, "usage": {"completion_tokens": 155, "prompt_tokens": 3211, "total_tokens": 3366, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 342, "cached_tokens": 2320, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 342, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 342, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "30ae08ba2174a760887c8b44be277a5ec7fc016f3f94379914c3092957d03d37", "csv_sha256": "6ba3cacd5161461d19cd62a911aac74843ee3d840a8546dfbb348230dc26d745"} +{"instance_id": "bird193", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH ranked_ratings AS (\n SELECT player_api_id, overall_rating, defensive_work_rate,\n ROW_NUMBER() OVER (\n PARTITION BY player_api_id\n ORDER BY date DESC, id DESC\n ) AS rn\n FROM Player_Attributes\n WHERE date < '2013-07-13'\n)\nSELECT ROUND(\n 100.0 * (MAX(CASE WHEN p.player_name = 'Landon Donovan' THEN r.overall_rating END)\n - AVG(r.overall_rating)) / AVG(r.overall_rating),\n 2\n ) AS percentage_higher\nFROM ranked_ratings AS r\nJOIN Player AS p ON p.player_api_id = r.player_api_id\nWHERE r.rn = 1\n AND LOWER(TRIM(r.defensive_work_rate)) IN ('low', 'medium', 'high');\n```", "rows": 1, "sql": "WITH ranked_ratings AS (\n SELECT player_api_id, overall_rating, defensive_work_rate,\n ROW_NUMBER() OVER (\n PARTITION BY player_api_id\n ORDER BY date DESC, id DESC\n ) AS rn\n FROM Player_Attributes\n WHERE date < '2013-07-13'\n)\nSELECT ROUND(\n 100.0 * (MAX(CASE WHEN p.player_name = 'Landon Donovan' THEN r.overall_rating END)\n - AVG(r.overall_rating)) / AVG(r.overall_rating),\n 2\n ) AS percentage_higher\nFROM ranked_ratings AS r\nJOIN Player AS p ON p.player_api_id = r.player_api_id\nWHERE r.rn = 1\n AND LOWER(TRIM(r.defensive_work_rate)) IN ('low', 'medium', 'high');", "seconds": 13.864922582986765, "calls": [{"seconds": 2.2390682089608163, "usage": {"completion_tokens": 52, "prompt_tokens": 1742, "total_tokens": 1794, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1193, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1193, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1193, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.987667582929134, "usage": {"completion_tokens": 291, "prompt_tokens": 2125, "total_tokens": 2416, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 90, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 383, "cached_tokens": 1193, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 383, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 383, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.438982082996517, "usage": {"completion_tokens": 181, "prompt_tokens": 2619, "total_tokens": 2800, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 494, "cached_tokens": 1576, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 494, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 494, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ef47fe15eda39b3bc7dd61386228b998545d81458d44fba9e36c4de76db70581", "csv_sha256": "f7c061b73fa3abbbadc8a6598b0c989487ad701b92ae49f8fdf8fcb031c15318"} +{"instance_id": "bird194", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH salary_bounds AS (\n SELECT MIN(A11) AS lowest_salary, MAX(A11) AS highest_salary\n FROM district\n), eligible_clients AS (\n SELECT c.client_id, c.birth_date\n FROM client AS c\n JOIN district AS d ON d.district_id = c.district_id\n CROSS JOIN salary_bounds AS s\n WHERE c.gender = 'F' AND d.A11 = s.lowest_salary\n)\nSELECT DISTINCT p.account_id,\n s.highest_salary - s.lowest_salary AS salary_difference\nFROM eligible_clients AS c\nJOIN disp AS p ON p.client_id = c.client_id\nCROSS JOIN salary_bounds AS s\nWHERE c.birth_date = (SELECT MIN(birth_date) FROM eligible_clients)\nORDER BY p.account_id;\n```", "rows": 1, "sql": "WITH salary_bounds AS (\n SELECT MIN(A11) AS lowest_salary, MAX(A11) AS highest_salary\n FROM district\n), eligible_clients AS (\n SELECT c.client_id, c.birth_date\n FROM client AS c\n JOIN district AS d ON d.district_id = c.district_id\n CROSS JOIN salary_bounds AS s\n WHERE c.gender = 'F' AND d.A11 = s.lowest_salary\n)\nSELECT DISTINCT p.account_id,\n s.highest_salary - s.lowest_salary AS salary_difference\nFROM eligible_clients AS c\nJOIN disp AS p ON p.client_id = c.client_id\nCROSS JOIN salary_bounds AS s\nWHERE c.birth_date = (SELECT MIN(birth_date) FROM eligible_clients)\nORDER BY p.account_id;", "seconds": 21.454695124994032, "calls": [{"seconds": 3.176759500056505, "usage": {"completion_tokens": 94, "prompt_tokens": 1628, "total_tokens": 1722, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1081, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1081, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1081, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8694521250436082, "usage": {"completion_tokens": 19, "prompt_tokens": 2020, "total_tokens": 2039, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 392, "cached_tokens": 1081, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 392, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 392, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.4836693750694394, "usage": {"completion_tokens": 15, "prompt_tokens": 2178, "total_tokens": 2193, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 158, "cached_tokens": 1473, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 158, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 158, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.279634958016686, "usage": {"completion_tokens": 19, "prompt_tokens": 2230, "total_tokens": 2249, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 52, "cached_tokens": 1631, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 52, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 52, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.091239542001858, "usage": {"completion_tokens": 267, "prompt_tokens": 2281, "total_tokens": 2548, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 83, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 51, "cached_tokens": 1683, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 51, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 51, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.520240292069502, "usage": {"completion_tokens": 196, "prompt_tokens": 2745, "total_tokens": 2941, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 26, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 464, "cached_tokens": 1734, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 464, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 464, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "11d1cfbc7b61e2ebd3b880df9369c96ef6add3c0a870f410a1566f72cea6b0e4", "csv_sha256": "45bf04af62538a0ae68a85761e0ee9e96a5453a37e2f7175881fbae1f14d4bf9"} +{"instance_id": "bird195", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT d.A2 AS district\nFROM client AS c\nJOIN disp AS p ON p.client_id = c.client_id\nJOIN account AS a ON a.account_id = p.account_id\nJOIN district AS d ON d.district_id = a.district_id\nWHERE c.gender = 'F'\n AND c.birth_date = '1976-01-29'\n AND p.type = 'OWNER';\n```", "rows": 1, "sql": "SELECT d.A2 AS district\nFROM client AS c\nJOIN disp AS p ON p.client_id = c.client_id\nJOIN account AS a ON a.account_id = p.account_id\nJOIN district AS d ON d.district_id = a.district_id\nWHERE c.gender = 'F'\n AND c.birth_date = '1976-01-29'\n AND p.type = 'OWNER';", "seconds": 10.95089470804669, "calls": [{"seconds": 2.696855999995023, "usage": {"completion_tokens": 80, "prompt_tokens": 1615, "total_tokens": 1695, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1068, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1068, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1068, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.231877624988556, "usage": {"completion_tokens": 134, "prompt_tokens": 1965, "total_tokens": 2099, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 31, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 350, "cached_tokens": 1068, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 350, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 350, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.0043166250688955, "usage": {"completion_tokens": 90, "prompt_tokens": 2209, "total_tokens": 2299, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 244, "cached_tokens": 1418, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 244, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 244, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "3b853edcffd11bc3a7fcb396518c286e2698369cacfbee95d8c694593d695fc9", "csv_sha256": "bb7ed1a36df0f950c7a5d27add08dadd71b407e9122c3dbe312bd3c99dde135e"} +{"instance_id": "bird196", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH largest_district AS (\n SELECT district_id\n FROM district\n WHERE A3 = 'south Bohemia'\n ORDER BY CAST(A4 AS INTEGER) DESC, district_id\n LIMIT 1\n)\nSELECT ROUND(\n 100.0 * COUNT(CASE WHEN c.gender = 'M' THEN 1 END) / NULLIF(COUNT(*), 0),\n 2\n) AS male_percentage\nFROM client AS c\nJOIN largest_district AS d ON c.district_id = d.district_id;\n```", "rows": 1, "sql": "WITH largest_district AS (\n SELECT district_id\n FROM district\n WHERE A3 = 'south Bohemia'\n ORDER BY CAST(A4 AS INTEGER) DESC, district_id\n LIMIT 1\n)\nSELECT ROUND(\n 100.0 * COUNT(CASE WHEN c.gender = 'M' THEN 1 END) / NULLIF(COUNT(*), 0),\n 2\n) AS male_percentage\nFROM client AS c\nJOIN largest_district AS d ON c.district_id = d.district_id;", "seconds": 18.241024249931797, "calls": [{"seconds": 2.9347216669702902, "usage": {"completion_tokens": 64, "prompt_tokens": 1623, "total_tokens": 1687, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1076, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1076, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1076, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.368067667004652, "usage": {"completion_tokens": 194, "prompt_tokens": 1898, "total_tokens": 2092, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 71, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 275, "cached_tokens": 1076, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 275, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 275, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.357469792012125, "usage": {"completion_tokens": 127, "prompt_tokens": 2354, "total_tokens": 2481, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 456, "cached_tokens": 1351, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 456, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 456, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.5593529579928145, "usage": {"completion_tokens": 158, "prompt_tokens": 2617, "total_tokens": 2775, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 37, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 263, "cached_tokens": 1807, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 263, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 263, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "faf8c563cde8ddc2ee61c6229fb61b8846fe8bf4de61474d462164b83f1b93c2", "csv_sha256": "cd4174738b8bbd96cb844a75e68eb54e73bf649b422ab299e1cb043fcab9920d"} +{"instance_id": "bird197", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT 100.0 * (ending.balance - starting.balance) / NULLIF(starting.balance, 0) AS percentage_increase\nFROM trans AS starting\nJOIN trans AS ending ON ending.account_id = starting.account_id\nWHERE starting.date = '1993-03-22'\n AND ending.date = '1998-12-27'\n AND EXISTS (\n SELECT 1\n FROM loan AS l\n WHERE l.account_id = starting.account_id\n AND l.date = '1993-07-05'\n );\n```", "rows": 1, "sql": "SELECT 100.0 * (ending.balance - starting.balance) / NULLIF(starting.balance, 0) AS percentage_increase\nFROM trans AS starting\nJOIN trans AS ending ON ending.account_id = starting.account_id\nWHERE starting.date = '1993-03-22'\n AND ending.date = '1998-12-27'\n AND EXISTS (\n SELECT 1\n FROM loan AS l\n WHERE l.account_id = starting.account_id\n AND l.date = '1993-07-05'\n );", "seconds": 13.856288959039375, "calls": [{"seconds": 2.6658084999071434, "usage": {"completion_tokens": 65, "prompt_tokens": 1637, "total_tokens": 1702, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1090, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1090, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1090, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.356097750016488, "usage": {"completion_tokens": 101, "prompt_tokens": 1889, "total_tokens": 1990, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 252, "cached_tokens": 1090, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 252, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 252, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8619261250132695, "usage": {"completion_tokens": 132, "prompt_tokens": 2146, "total_tokens": 2278, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 257, "cached_tokens": 1342, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 257, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 257, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3471917080460116, "usage": {"completion_tokens": 119, "prompt_tokens": 2423, "total_tokens": 2542, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 277, "cached_tokens": 1599, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 277, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 277, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "081bf556e58ee006aff3c4ff23b323f510d74137ef62ed9485e17769cd62e33a", "csv_sha256": "517172990e4b6b18b739d218649591535b01aaa8d4854b0733940a7fdb1ba739"} +{"instance_id": "bird198", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT a.account_id, a.frequency\nFROM account AS a\nJOIN district AS d ON d.district_id = a.district_id\nWHERE d.A3 = 'east Bohemia'\n AND a.date >= '1995-01-01'\n AND a.date < '2001-01-01';\n```", "rows": 364, "sql": "SELECT a.account_id, a.frequency\nFROM account AS a\nJOIN district AS d ON d.district_id = a.district_id\nWHERE d.A3 = 'east Bohemia'\n AND a.date >= '1995-01-01'\n AND a.date < '2001-01-01';", "seconds": 16.617143125040457, "calls": [{"seconds": 2.563211999949999, "usage": {"completion_tokens": 50, "prompt_tokens": 1625, "total_tokens": 1675, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1078, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1078, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1078, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 1.9930540000787005, "usage": {"completion_tokens": 18, "prompt_tokens": 1857, "total_tokens": 1875, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 232, "cached_tokens": 1078, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 232, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 232, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.089133417000994, "usage": {"completion_tokens": 71, "prompt_tokens": 1905, "total_tokens": 1976, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1310, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.52535487501882, "usage": {"completion_tokens": 88, "prompt_tokens": 2385, "total_tokens": 2473, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 480, "cached_tokens": 1358, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 480, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 480, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.425370375043713, "usage": {"completion_tokens": 172, "prompt_tokens": 2668, "total_tokens": 2840, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 97, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 283, "cached_tokens": 1838, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 283, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 283, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0e7967724b02d2f6a9f7693af1e435002f2c7d9b13d368722d20360bcc753397", "csv_sha256": "d0236ef1be4cdf42a2ab18348bb79a6a0c76fd3440f82b2e5f24bd8e60a29236"} +{"instance_id": "bird199", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT d.A2 AS district,\n ROUND(100.0 * (d.A13 - d.A12) / d.A12, 2) AS unemployment_pct_change\nFROM district AS d\nWHERE d.A12 IS NOT NULL\n AND d.A13 IS NOT NULL\n AND EXISTS (\n SELECT 1\n FROM account AS a\n JOIN loan AS l ON l.account_id = a.account_id\n WHERE a.district_id = d.district_id\n AND l.status = 'D'\n );\n```", "rows": 29, "sql": "SELECT d.A2 AS district,\n ROUND(100.0 * (d.A13 - d.A12) / d.A12, 2) AS unemployment_pct_change\nFROM district AS d\nWHERE d.A12 IS NOT NULL\n AND d.A13 IS NOT NULL\n AND EXISTS (\n SELECT 1\n FROM account AS a\n JOIN loan AS l ON l.account_id = a.account_id\n WHERE a.district_id = d.district_id\n AND l.status = 'D'\n );", "seconds": 11.568166209035553, "calls": [{"seconds": 2.680734417052008, "usage": {"completion_tokens": 65, "prompt_tokens": 1665, "total_tokens": 1730, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1118, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1118, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1118, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.615412584040314, "usage": {"completion_tokens": 176, "prompt_tokens": 1976, "total_tokens": 2152, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 45, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 311, "cached_tokens": 1118, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 311, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 311, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.253684374969453, "usage": {"completion_tokens": 117, "prompt_tokens": 2576, "total_tokens": 2693, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 600, "cached_tokens": 1429, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 600, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 600, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0a9487feca043cac934486c3105595be1790c0820f767e204d3baf3c5577a3c8", "csv_sha256": "5346f17bf538ae350dfc666114b72f5ad14cae0096890ab0d4e8cb84591f8772"} +{"instance_id": "bird200", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT d.type,\n COUNT(DISTINCT a.account_id) AS distinct_account_count\nFROM disp AS d\nJOIN account AS a ON a.account_id = d.account_id\nJOIN district AS r ON r.district_id = a.district_id\nWHERE d.type <> 'OWNER'\n AND r.A11 > 8000\n AND r.A11 <= 9000\nGROUP BY d.type;\n```", "rows": 1, "sql": "SELECT d.type,\n COUNT(DISTINCT a.account_id) AS distinct_account_count\nFROM disp AS d\nJOIN account AS a ON a.account_id = d.account_id\nJOIN district AS r ON r.district_id = a.district_id\nWHERE d.type <> 'OWNER'\n AND r.A11 > 8000\n AND r.A11 <= 9000\nGROUP BY d.type;", "seconds": 14.651105249999091, "calls": [{"seconds": 2.8843951660674065, "usage": {"completion_tokens": 65, "prompt_tokens": 1632, "total_tokens": 1697, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1085, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1085, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1085, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.0260968329384923, "usage": {"completion_tokens": 18, "prompt_tokens": 1923, "total_tokens": 1941, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 291, "cached_tokens": 1085, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 291, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 291, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.400090166949667, "usage": {"completion_tokens": 202, "prompt_tokens": 1971, "total_tokens": 2173, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 98, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1376, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3195110409287736, "usage": {"completion_tokens": 91, "prompt_tokens": 2293, "total_tokens": 2384, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 322, "cached_tokens": 1424, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 322, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 322, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "35c24e4fe9d4eef8d2fb23f1d2a5bee460d631cd99e0124cdfb324f3b7dabe21", "csv_sha256": "eec8a08ff38f55c1f9afe37b8923ffafdc7f353a05aa069ae2108adc14c66552"} +{"instance_id": "bird201", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH yearly_totals AS (\n SELECT\n SUM(CASE WHEN l.date < '1997-01-01' THEN l.amount END) AS total_1996,\n SUM(CASE WHEN l.date >= '1997-01-01' THEN l.amount END) AS total_1997\n FROM loan AS l\n WHERE l.date >= '1996-01-01'\n AND l.date < '1998-01-01'\n AND EXISTS (\n SELECT 1\n FROM disp AS d\n JOIN client AS c ON c.client_id = d.client_id\n WHERE d.account_id = l.account_id\n AND d.type = 'OWNER'\n AND c.gender = 'M'\n )\n)\nSELECT 100.0 * (total_1997 - total_1996) / NULLIF(total_1996, 0) AS percentage_growth\nFROM yearly_totals;\n```", "rows": 1, "sql": "WITH yearly_totals AS (\n SELECT\n SUM(CASE WHEN l.date < '1997-01-01' THEN l.amount END) AS total_1996,\n SUM(CASE WHEN l.date >= '1997-01-01' THEN l.amount END) AS total_1997\n FROM loan AS l\n WHERE l.date >= '1996-01-01'\n AND l.date < '1998-01-01'\n AND EXISTS (\n SELECT 1\n FROM disp AS d\n JOIN client AS c ON c.client_id = d.client_id\n WHERE d.account_id = l.account_id\n AND d.type = 'OWNER'\n AND c.gender = 'M'\n )\n)\nSELECT 100.0 * (total_1997 - total_1996) / NULLIF(total_1996, 0) AS percentage_growth\nFROM yearly_totals;", "seconds": 13.893302374985069, "calls": [{"seconds": 2.7376015830086544, "usage": {"completion_tokens": 80, "prompt_tokens": 1631, "total_tokens": 1711, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1084, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1084, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1084, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.620980874984525, "usage": {"completion_tokens": 284, "prompt_tokens": 1908, "total_tokens": 2192, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 65, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 277, "cached_tokens": 1084, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 277, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 277, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.449260583030991, "usage": {"completion_tokens": 198, "prompt_tokens": 2415, "total_tokens": 2613, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 507, "cached_tokens": 1361, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 507, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 507, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d6478478e12a3cf5c50d92d31ef278e2e849c46c2031ef2d2800c7f146821d46", "csv_sha256": "3adc8b6244dd8f64f77f0bf7f17b6c81cfea1c859cb8cfe368a3c1e8224f3a49"} +{"instance_id": "bird202", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT a.frequency AS statement_frequency,\n o.k_symbol AS payment_purpose_code\nFROM account AS a\nJOIN \"order\" AS o ON o.account_id = a.account_id\nWHERE a.account_id = 3\n AND o.amount = 3539;\n```", "rows": 1, "sql": "SELECT a.frequency AS statement_frequency,\n o.k_symbol AS payment_purpose_code\nFROM account AS a\nJOIN \"order\" AS o ON o.account_id = a.account_id\nWHERE a.account_id = 3\n AND o.amount = 3539;", "seconds": 13.157663540914655, "calls": [{"seconds": 2.5293725000228733, "usage": {"completion_tokens": 50, "prompt_tokens": 1622, "total_tokens": 1672, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1075, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1075, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1075, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.210900332895108, "usage": {"completion_tokens": 239, "prompt_tokens": 1777, "total_tokens": 2016, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 167, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 155, "cached_tokens": 1075, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 155, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 155, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.397309000021778, "usage": {"completion_tokens": 62, "prompt_tokens": 2114, "total_tokens": 2176, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 337, "cached_tokens": 1230, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 337, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 337, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0aea0071140ed300c13aaa09feb842252558a4736ea50e3b9e52a2d31d09cefe", "csv_sha256": "8a96f8bb97e114d5c1283c0751fa20ddc46f6eb24e337708a7e9ee3ea5b0f5ca"} +{"instance_id": "bird203", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH first_month AS (\n SELECT DATE(MIN(date), 'start of month') AS month_start\n FROM account\n), eligible_districts AS (\n SELECT DISTINCT a.district_id\n FROM account AS a\n CROSS JOIN first_month AS f\n WHERE a.date >= f.month_start\n AND a.date < DATE(f.month_start, '+1 month')\n), populations AS (\n SELECT d.A2 AS district_name, CAST(d.A4 AS INTEGER) AS population\n FROM eligible_districts AS e\n JOIN district AS d ON d.district_id = e.district_id\n)\nSELECT district_name, population\nFROM populations\nWHERE population = (SELECT MAX(population) FROM populations)\nORDER BY district_name;\n```", "rows": 1, "sql": "WITH first_month AS (\n SELECT DATE(MIN(date), 'start of month') AS month_start\n FROM account\n), eligible_districts AS (\n SELECT DISTINCT a.district_id\n FROM account AS a\n CROSS JOIN first_month AS f\n WHERE a.date >= f.month_start\n AND a.date < DATE(f.month_start, '+1 month')\n), populations AS (\n SELECT d.A2 AS district_name, CAST(d.A4 AS INTEGER) AS population\n FROM eligible_districts AS e\n JOIN district AS d ON d.district_id = e.district_id\n)\nSELECT district_name, population\nFROM populations\nWHERE population = (SELECT MAX(population) FROM populations)\nORDER BY district_name;", "seconds": 14.882038290961646, "calls": [{"seconds": 2.328457250026986, "usage": {"completion_tokens": 50, "prompt_tokens": 1674, "total_tokens": 1724, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1127, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1127, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1127, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.151984125026502, "usage": {"completion_tokens": 172, "prompt_tokens": 1906, "total_tokens": 2078, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 232, "cached_tokens": 1127, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 232, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 232, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.476625040988438, "usage": {"completion_tokens": 197, "prompt_tokens": 2263, "total_tokens": 2460, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 19, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 357, "cached_tokens": 1359, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 357, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 357, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.901577917044051, "usage": {"completion_tokens": 160, "prompt_tokens": 2651, "total_tokens": 2811, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 388, "cached_tokens": 1716, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 388, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 388, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "22299673aaaf6cfe29a8c4a226154a1e9aa836835a8690d05e762a863bf7f7bf", "csv_sha256": "bbdbab08f284b1ef00e45c7d943801a966fd17cc1211a653e73e8dd93c69f6a1"} +{"instance_id": "bird204", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS transaction_count\nFROM trans AS t\nWHERE (t.k_symbol IS NULL OR TRIM(t.k_symbol) = '')\n AND t.account_id IN (\n SELECT d.account_id\n FROM disp AS d\n JOIN client AS c ON c.client_id = d.client_id\n WHERE d.type = 'OWNER'\n AND c.gender = 'M'\n AND c.birth_date >= '1974-01-01'\n AND c.birth_date < '1977-01-01'\n );\n```", "rows": 1, "sql": "SELECT COUNT(*) AS transaction_count\nFROM trans AS t\nWHERE (t.k_symbol IS NULL OR TRIM(t.k_symbol) = '')\n AND t.account_id IN (\n SELECT d.account_id\n FROM disp AS d\n JOIN client AS c ON c.client_id = d.client_id\n WHERE d.type = 'OWNER'\n AND c.gender = 'M'\n AND c.birth_date >= '1974-01-01'\n AND c.birth_date < '1977-01-01'\n );", "seconds": 51.72341154201422, "calls": [{"seconds": 3.1887287499848753, "usage": {"completion_tokens": 94, "prompt_tokens": 1705, "total_tokens": 1799, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1158, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1158, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1158, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.300547291059047, "usage": {"completion_tokens": 89, "prompt_tokens": 2038, "total_tokens": 2127, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 333, "cached_tokens": 1158, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 333, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 333, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.263210374978371, "usage": {"completion_tokens": 288, "prompt_tokens": 2293, "total_tokens": 2581, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 152, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1491, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5836408329196274, "usage": {"completion_tokens": 131, "prompt_tokens": 2743, "total_tokens": 2874, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 450, "cached_tokens": 1746, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 450, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 450, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.099371124990284, "usage": {"completion_tokens": 134, "prompt_tokens": 3009, "total_tokens": 3143, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 17, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 266, "cached_tokens": 2196, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 266, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 266, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "29513d4e10b766c9c93554a91f57efca46fc3da7f31a90c943c0a32700ff96ed", "csv_sha256": "8cb30e8a7e37ba3bf344cd4664c7a100525fb1248f1513e46c68baff7630a02e"} +{"instance_id": "bird205", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH top_districts AS (\n SELECT district_id, A2 AS district_name\n FROM district\n ORDER BY CAST(A4 AS INTEGER) DESC, district_id\n LIMIT 5\n), active_loans_by_account AS (\n SELECT account_id, SUM(amount) AS active_loan_amount\n FROM loan\n WHERE status IN ('C', 'D')\n GROUP BY account_id\n), district_averages AS (\n SELECT d.district_id, d.district_name,\n AVG(CASE WHEN a.account_id IS NOT NULL\n THEN COALESCE(l.active_loan_amount, 0) END) AS avg_active_loan\n FROM top_districts AS d\n LEFT JOIN account AS a ON a.district_id = d.district_id\n LEFT JOIN active_loans_by_account AS l ON l.account_id = a.account_id\n GROUP BY d.district_id, d.district_name\n)\nSELECT district_name,\n CAST(ROUND(avg_active_loan, 0) AS INTEGER) AS avg_active_loan_per_account\nFROM district_averages\nORDER BY avg_active_loan DESC, district_name, district_id;\n```", "rows": 5, "sql": "WITH top_districts AS (\n SELECT district_id, A2 AS district_name\n FROM district\n ORDER BY CAST(A4 AS INTEGER) DESC, district_id\n LIMIT 5\n), active_loans_by_account AS (\n SELECT account_id, SUM(amount) AS active_loan_amount\n FROM loan\n WHERE status IN ('C', 'D')\n GROUP BY account_id\n), district_averages AS (\n SELECT d.district_id, d.district_name,\n AVG(CASE WHEN a.account_id IS NOT NULL\n THEN COALESCE(l.active_loan_amount, 0) END) AS avg_active_loan\n FROM top_districts AS d\n LEFT JOIN account AS a ON a.district_id = d.district_id\n LEFT JOIN active_loans_by_account AS l ON l.account_id = a.account_id\n GROUP BY d.district_id, d.district_name\n)\nSELECT district_name,\n CAST(ROUND(avg_active_loan, 0) AS INTEGER) AS avg_active_loan_per_account\nFROM district_averages\nORDER BY avg_active_loan DESC, district_name, district_id;", "seconds": 22.0749063330004, "calls": [{"seconds": 2.533059582929127, "usage": {"completion_tokens": 65, "prompt_tokens": 1743, "total_tokens": 1808, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1196, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1196, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1196, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 14.48980329092592, "usage": {"completion_tokens": 547, "prompt_tokens": 2054, "total_tokens": 2601, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 278, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 311, "cached_tokens": 1196, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 311, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 311, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.03486775001511, "usage": {"completion_tokens": 250, "prompt_tokens": 2924, "total_tokens": 3174, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 870, "cached_tokens": 1507, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 870, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 870, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7f6468e398f6499899036cdcdeb882fc858e9550c89cdc8512e3619008dc5466", "csv_sha256": "724a53f86787b452090e868326813e2dee378227f840081fca49c1b8461b646c"} +{"instance_id": "bird206", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH regional_totals AS (\n SELECT d.A3 AS region, SUM(l.amount) AS total_approved_amount\n FROM loan AS l\n JOIN account AS a ON a.account_id = l.account_id\n JOIN district AS d ON d.district_id = a.district_id\n WHERE DATE(l.date) <= '1995-12-31'\n AND DATE(l.date, '+' || l.duration || ' months') >= '1995-12-31'\n GROUP BY d.A3\n)\nSELECT region, total_approved_amount\nFROM regional_totals\nWHERE total_approved_amount = (SELECT MAX(total_approved_amount) FROM regional_totals)\nORDER BY region;\n```", "rows": 1, "sql": "WITH regional_totals AS (\n SELECT d.A3 AS region, SUM(l.amount) AS total_approved_amount\n FROM loan AS l\n JOIN account AS a ON a.account_id = l.account_id\n JOIN district AS d ON d.district_id = a.district_id\n WHERE DATE(l.date) <= '1995-12-31'\n AND DATE(l.date, '+' || l.duration || ' months') >= '1995-12-31'\n GROUP BY d.A3\n)\nSELECT region, total_approved_amount\nFROM regional_totals\nWHERE total_approved_amount = (SELECT MAX(total_approved_amount) FROM regional_totals)\nORDER BY region;", "seconds": 15.576665750006214, "calls": [{"seconds": 2.9324997910298407, "usage": {"completion_tokens": 65, "prompt_tokens": 1784, "total_tokens": 1849, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1237, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1237, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1237, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.7282684170641005, "usage": {"completion_tokens": 64, "prompt_tokens": 2095, "total_tokens": 2159, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 311, "cached_tokens": 1237, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 311, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 311, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.649696915992536, "usage": {"completion_tokens": 250, "prompt_tokens": 2334, "total_tokens": 2584, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 84, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 239, "cached_tokens": 1548, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 239, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 239, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.2486585000297055, "usage": {"completion_tokens": 150, "prompt_tokens": 2765, "total_tokens": 2915, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 431, "cached_tokens": 1787, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 431, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 431, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8c2d7600be12d96b09bc8d4eed20ff8343929a8cca4c3592ea5c101fe992feae", "csv_sha256": "932fa232c9f309d3d9fee92dc46fc894f3dc7893a9992efd67f4d50d1652d0f1"} +{"instance_id": "bird207", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS account_count\nFROM account AS a\nJOIN district AS d ON d.district_id = a.district_id\nWHERE d.A3 = 'north Bohemia'\n AND a.date <= '1995-12-31'\n AND a.account_id IN (\n SELECT t.account_id\n FROM trans AS t\n WHERE t.bank = 'AB'\n );\n```", "rows": 1, "sql": "SELECT COUNT(*) AS account_count\nFROM account AS a\nJOIN district AS d ON d.district_id = a.district_id\nWHERE d.A3 = 'north Bohemia'\n AND a.date <= '1995-12-31'\n AND a.account_id IN (\n SELECT t.account_id\n FROM trans AS t\n WHERE t.bank = 'AB'\n );", "seconds": 47.93544133298565, "calls": [{"seconds": 2.7349423749838024, "usage": {"completion_tokens": 65, "prompt_tokens": 1697, "total_tokens": 1762, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1150, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1150, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1150, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.871579416911118, "usage": {"completion_tokens": 153, "prompt_tokens": 2022, "total_tokens": 2175, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 67, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 325, "cached_tokens": 1150, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 325, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 325, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4234632500447333, "usage": {"completion_tokens": 107, "prompt_tokens": 2294, "total_tokens": 2401, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 272, "cached_tokens": 1475, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 272, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 272, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5533001250587404, "usage": {"completion_tokens": 101, "prompt_tokens": 2539, "total_tokens": 2640, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 245, "cached_tokens": 1747, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 245, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 245, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2700009589316323, "usage": {"completion_tokens": 88, "prompt_tokens": 2747, "total_tokens": 2835, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 208, "cached_tokens": 1992, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 208, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 208, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "652b739e6610b5840430465671fc6ba8ce6f13edb1937b15d127e1abb70dfd8c", "csv_sha256": "5fe44d851cdadf9313d4300dca6fe5f9ea70e36f395645256c83397cd35a8f99"} +{"instance_id": "bird208", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(d.A11), 2) AS average_salary,\n COUNT(*) AS district_count\nFROM district AS d\nWHERE d.A3 = 'east Bohemia'\n AND EXISTS (\n SELECT 1\n FROM account AS a\n JOIN disp AS p ON p.account_id = a.account_id\n JOIN client AS c ON c.client_id = p.client_id\n WHERE a.district_id = d.district_id\n AND c.birth_date >= '1980-01-01'\n AND c.birth_date < '1990-01-01'\n );\n```", "rows": 1, "sql": "SELECT ROUND(AVG(d.A11), 2) AS average_salary,\n COUNT(*) AS district_count\nFROM district AS d\nWHERE d.A3 = 'east Bohemia'\n AND EXISTS (\n SELECT 1\n FROM account AS a\n JOIN disp AS p ON p.account_id = a.account_id\n JOIN client AS c ON c.client_id = p.client_id\n WHERE a.district_id = d.district_id\n AND c.birth_date >= '1980-01-01'\n AND c.birth_date < '1990-01-01'\n );", "seconds": 19.511439249967225, "calls": [{"seconds": 3.096001541009173, "usage": {"completion_tokens": 80, "prompt_tokens": 1729, "total_tokens": 1809, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1182, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1182, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1182, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.991384332999587, "usage": {"completion_tokens": 84, "prompt_tokens": 2079, "total_tokens": 2163, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 350, "cached_tokens": 1182, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 350, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 350, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9986115000210702, "usage": {"completion_tokens": 129, "prompt_tokens": 2866, "total_tokens": 2995, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 57, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 787, "cached_tokens": 1532, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 787, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 787, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.417990083107725, "usage": {"completion_tokens": 222, "prompt_tokens": 3078, "total_tokens": 3300, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 75, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 212, "cached_tokens": 2319, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 212, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 212, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9822474580723792, "usage": {"completion_tokens": 131, "prompt_tokens": 3461, "total_tokens": 3592, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 383, "cached_tokens": 2531, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 383, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 383, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9bfed8a74d34013e1cee86b071951c5de7ee88cea4c1b2d8c7286f46194ea70b", "csv_sha256": "37e55ba363ac1ae88bee2940f1a7a4daacf1b9371c45c2849f72c867d2025d2c"} +{"instance_id": "bird209", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(d.A11), 2) AS average_salary\nFROM district AS d\nWHERE d.A3 = 'central Bohemia'\n AND EXISTS (\n SELECT 1\n FROM client AS c\n JOIN disp AS owner ON owner.client_id = c.client_id\n WHERE c.district_id = d.district_id\n AND owner.type = 'OWNER'\n AND NOT EXISTS (\n SELECT 1\n FROM disp AS account_disp\n JOIN card AS cc ON cc.disp_id = account_disp.disp_id\n WHERE account_disp.account_id = owner.account_id\n )\n );\n```", "rows": 1, "sql": "SELECT ROUND(AVG(d.A11), 2) AS average_salary\nFROM district AS d\nWHERE d.A3 = 'central Bohemia'\n AND EXISTS (\n SELECT 1\n FROM client AS c\n JOIN disp AS owner ON owner.client_id = c.client_id\n WHERE c.district_id = d.district_id\n AND owner.type = 'OWNER'\n AND NOT EXISTS (\n SELECT 1\n FROM disp AS account_disp\n JOIN card AS cc ON cc.disp_id = account_disp.disp_id\n WHERE account_disp.account_id = owner.account_id\n )\n );", "seconds": 17.52397929201834, "calls": [{"seconds": 3.3094819999532774, "usage": {"completion_tokens": 95, "prompt_tokens": 1742, "total_tokens": 1837, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1195, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1195, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1195, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 1.8943929160013795, "usage": {"completion_tokens": 18, "prompt_tokens": 2150, "total_tokens": 2168, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 408, "cached_tokens": 1195, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 408, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 408, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5742340839933604, "usage": {"completion_tokens": 83, "prompt_tokens": 2198, "total_tokens": 2281, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 35, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1603, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.256453458103351, "usage": {"completion_tokens": 152, "prompt_tokens": 2528, "total_tokens": 2680, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 330, "cached_tokens": 1651, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 330, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 330, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.200822124956176, "usage": {"completion_tokens": 137, "prompt_tokens": 2839, "total_tokens": 2976, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 311, "cached_tokens": 1981, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 311, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 311, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2dd0a7c6b400eb8f2cbebb6878de21e9900070c33617da307f1233eab540e8c8", "csv_sha256": "0b7befc447a749561d0dd9a7fd8b2438bc4f57494f9acb40d72d355f21cb62be"} +{"instance_id": "bird210", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH loans_per_account AS (\n SELECT a.account_id, COUNT(l.loan_id) AS loan_count\n FROM account AS a\n LEFT JOIN loan AS l ON l.account_id = a.account_id\n WHERE EXISTS (\n SELECT 1\n FROM disp AS d\n JOIN client AS c ON c.client_id = d.client_id\n WHERE d.account_id = a.account_id\n AND d.type = 'OWNER'\n AND c.birth_date < '1950-01-01'\n )\n GROUP BY a.account_id\n)\nSELECT ROUND(AVG(loan_count), 2) AS average_loans_per_account\nFROM loans_per_account;\n```", "rows": 1, "sql": "WITH loans_per_account AS (\n SELECT a.account_id, COUNT(l.loan_id) AS loan_count\n FROM account AS a\n LEFT JOIN loan AS l ON l.account_id = a.account_id\n WHERE EXISTS (\n SELECT 1\n FROM disp AS d\n JOIN client AS c ON c.client_id = d.client_id\n WHERE d.account_id = a.account_id\n AND d.type = 'OWNER'\n AND c.birth_date < '1950-01-01'\n )\n GROUP BY a.account_id\n)\nSELECT ROUND(AVG(loan_count), 2) AS average_loans_per_account\nFROM loans_per_account;", "seconds": 11.431426457944326, "calls": [{"seconds": 2.9481003750115633, "usage": {"completion_tokens": 80, "prompt_tokens": 1741, "total_tokens": 1821, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1194, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1194, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1194, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.848894959082827, "usage": {"completion_tokens": 160, "prompt_tokens": 2018, "total_tokens": 2178, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 277, "cached_tokens": 1194, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 277, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 277, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.093861332978122, "usage": {"completion_tokens": 144, "prompt_tokens": 2346, "total_tokens": 2490, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 328, "cached_tokens": 1471, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 328, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 328, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "88f0c17e3299750d13d2d92f4c0bb0ee689dc12c47f0962af65790c9d18fe9fb", "csv_sha256": "aefeb2abfa3bea02dbedb8660096e3bff39fa5d9e5eec78f3ac54f9053bffd59"} +{"instance_id": "bird211", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n COUNT(CASE WHEN TRIM(t.k_symbol) = 'SIPO' THEN 1 END) AS household_payments,\n COUNT(CASE WHEN NULLIF(TRIM(t.k_symbol), '') <> 'SIPO' THEN 1 END) AS other_purpose_payments\nFROM trans AS t\nWHERE t.amount > 4000\n AND t.type = 'VYDAJ'\n AND EXISTS (\n SELECT 1\n FROM disp AS d\n JOIN client AS c ON c.client_id = d.client_id\n WHERE d.account_id = t.account_id\n AND c.gender = 'M'\n AND c.birth_date >= '1974-01-01'\n AND c.birth_date < '1977-01-01'\n );\n```", "rows": 1, "sql": "SELECT\n COUNT(CASE WHEN TRIM(t.k_symbol) = 'SIPO' THEN 1 END) AS household_payments,\n COUNT(CASE WHEN NULLIF(TRIM(t.k_symbol), '') <> 'SIPO' THEN 1 END) AS other_purpose_payments\nFROM trans AS t\nWHERE t.amount > 4000\n AND t.type = 'VYDAJ'\n AND EXISTS (\n SELECT 1\n FROM disp AS d\n JOIN client AS c ON c.client_id = d.client_id\n WHERE d.account_id = t.account_id\n AND c.gender = 'M'\n AND c.birth_date >= '1974-01-01'\n AND c.birth_date < '1977-01-01'\n );", "seconds": 54.01773224992212, "calls": [{"seconds": 3.233372583054006, "usage": {"completion_tokens": 80, "prompt_tokens": 1777, "total_tokens": 1857, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1230, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1230, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1230, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.705485790967941, "usage": {"completion_tokens": 300, "prompt_tokens": 2068, "total_tokens": 2368, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 154, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 291, "cached_tokens": 1230, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 291, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 291, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.199103582999669, "usage": {"completion_tokens": 385, "prompt_tokens": 2774, "total_tokens": 3159, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 200, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 706, "cached_tokens": 1521, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 706, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 706, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.506180875003338, "usage": {"completion_tokens": 184, "prompt_tokens": 3360, "total_tokens": 3544, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 14, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 586, "cached_tokens": 2227, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 586, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 586, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "05747d50c9c53537829c7dc9259b05bc9fdfa347c5c941974e5f92b72a16797a", "csv_sha256": "d5abcf7aaa8612f792e65c1a2c92bb9f2b68a97afeb52f96b777799efc280672"} +{"instance_id": "bird212", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH loan_totals AS (\n SELECT account_id, SUM(amount) AS total_amount_borrowed\n FROM loan\n GROUP BY account_id\n),\nprachatice_borrowers AS (\n SELECT a.account_id, a.date AS account_opening_date, l.total_amount_borrowed\n FROM account AS a\n JOIN district AS branch ON branch.district_id = a.district_id\n JOIN loan_totals AS l ON l.account_id = a.account_id\n WHERE branch.A2 = 'Prachatice'\n),\ncounterparty_counts AS (\n SELECT t.account_id, COUNT(DISTINCT t.\"account\") AS outside_counterparty_count\n FROM trans AS t\n JOIN prachatice_borrowers AS b ON b.account_id = t.account_id\n WHERE t.operation IN ('PREVOD NA UCET', 'PREVOD Z UCTU')\n GROUP BY t.account_id\n)\nSELECT\n b.account_id AS account_number,\n b.account_opening_date,\n b.total_amount_borrowed,\n COALESCE(cp.outside_counterparty_count, 0) AS outside_counterparty_count,\n home.A2 AS home_district,\n CAST(home.A4 AS INTEGER) AS home_district_population,\n RANK() OVER (ORDER BY CAST(home.A4 AS INTEGER) DESC) AS population_rank\nFROM prachatice_borrowers AS b\nJOIN disp AS d ON d.account_id = b.account_id AND d.type = 'OWNER'\nJOIN client AS c ON c.client_id = d.client_id\nJOIN district AS home ON home.district_id = c.district_id\nLEFT JOIN counterparty_counts AS cp ON cp.account_id = b.account_id\nORDER BY home_district_population DESC, account_number ASC;\n```", "rows": 14, "sql": "WITH loan_totals AS (\n SELECT account_id, SUM(amount) AS total_amount_borrowed\n FROM loan\n GROUP BY account_id\n),\nprachatice_borrowers AS (\n SELECT a.account_id, a.date AS account_opening_date, l.total_amount_borrowed\n FROM account AS a\n JOIN district AS branch ON branch.district_id = a.district_id\n JOIN loan_totals AS l ON l.account_id = a.account_id\n WHERE branch.A2 = 'Prachatice'\n),\ncounterparty_counts AS (\n SELECT t.account_id, COUNT(DISTINCT t.\"account\") AS outside_counterparty_count\n FROM trans AS t\n JOIN prachatice_borrowers AS b ON b.account_id = t.account_id\n WHERE t.operation IN ('PREVOD NA UCET', 'PREVOD Z UCTU')\n GROUP BY t.account_id\n)\nSELECT\n b.account_id AS account_number,\n b.account_opening_date,\n b.total_amount_borrowed,\n COALESCE(cp.outside_counterparty_count, 0) AS outside_counterparty_count,\n home.A2 AS home_district,\n CAST(home.A4 AS INTEGER) AS home_district_population,\n RANK() OVER (ORDER BY CAST(home.A4 AS INTEGER) DESC) AS population_rank\nFROM prachatice_borrowers AS b\nJOIN disp AS d ON d.account_id = b.account_id AND d.type = 'OWNER'\nJOIN client AS c ON c.client_id = d.client_id\nJOIN district AS home ON home.district_id = c.district_id\nLEFT JOIN counterparty_counts AS cp ON cp.account_id = b.account_id\nORDER BY home_district_population DESC, account_number ASC;", "seconds": 35.738270582980476, "calls": [{"seconds": 3.311305125011131, "usage": {"completion_tokens": 110, "prompt_tokens": 1848, "total_tokens": 1958, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1301, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1301, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1301, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.0471576250856742, "usage": {"completion_tokens": 18, "prompt_tokens": 2370, "total_tokens": 2388, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 522, "cached_tokens": 1301, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 522, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 522, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.736867416999303, "usage": {"completion_tokens": 218, "prompt_tokens": 2418, "total_tokens": 2636, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 90, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1823, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.734051415929571, "usage": {"completion_tokens": 222, "prompt_tokens": 2927, "total_tokens": 3149, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 140, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 509, "cached_tokens": 1871, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 509, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 509, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.228405250003561, "usage": {"completion_tokens": 509, "prompt_tokens": 3445, "total_tokens": 3954, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 108, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 518, "cached_tokens": 2380, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 518, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 518, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.883784292032942, "usage": {"completion_tokens": 389, "prompt_tokens": 4789, "total_tokens": 5178, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 14, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1344, "cached_tokens": 2898, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1344, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1344, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8a6c5476b8fd1c45c795f7b3f4b23c489252ba06603855a5cec628db0a6c55ee", "csv_sha256": "e7c90a33a3df5282dfaccd09a620f3a214459e6d8ed0cbc64d8f7d129cfc0cd3"} +{"instance_id": "bird213", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH genders(gender, sort_order) AS (\n VALUES ('F', 1), ('M', 2)\n), qualifying_accounts AS (\n SELECT account_id\n FROM trans\n GROUP BY account_id\n HAVING AVG(balance) > 1000\n), gold_card_accounts AS (\n SELECT DISTINCT card_disp.account_id\n FROM card AS c\n JOIN disp AS card_disp ON card_disp.disp_id = c.disp_id\n WHERE c.type = 'gold'\n), qualifying_districts AS (\n SELECT DISTINCT\n cl.gender,\n d.district_id,\n d.A2 AS district_name,\n CAST(d.A4 AS INTEGER) AS inhabitants,\n d.A11 AS salary,\n d.A10 AS urban_ratio\n FROM gold_card_accounts AS gc\n JOIN qualifying_accounts AS qa ON qa.account_id = gc.account_id\n JOIN account AS a ON a.account_id = gc.account_id\n JOIN disp AS owner ON owner.account_id = a.account_id AND owner.type = 'OWNER'\n JOIN client AS cl ON cl.client_id = owner.client_id\n JOIN district AS d ON d.district_id = a.district_id\n WHERE CAST(d.A4 AS INTEGER) > 100000\n), ranked_districts AS (\n SELECT\n gender,\n district_id,\n district_name,\n inhabitants,\n RANK() OVER (PARTITION BY gender ORDER BY inhabitants DESC) AS population_rank,\n COUNT(*) OVER (PARTITION BY gender) AS district_count,\n ROUND(AVG(salary) OVER (PARTITION BY gender), 2) AS average_salary,\n ROUND(AVG(urban_ratio) OVER (PARTITION BY gender), 2) AS average_urban_ratio\n FROM qualifying_districts\n)\nSELECT\n g.gender,\n COALESCE(r.district_count, 0) AS district_count,\n r.district_name,\n r.inhabitants,\n r.average_salary,\n r.average_urban_ratio\nFROM genders AS g\nLEFT JOIN ranked_districts AS r ON r.gender = g.gender AND r.population_rank = 1\nORDER BY g.sort_order, r.district_name, r.district_id;\n```", "rows": 2, "sql": "WITH genders(gender, sort_order) AS (\n VALUES ('F', 1), ('M', 2)\n), qualifying_accounts AS (\n SELECT account_id\n FROM trans\n GROUP BY account_id\n HAVING AVG(balance) > 1000\n), gold_card_accounts AS (\n SELECT DISTINCT card_disp.account_id\n FROM card AS c\n JOIN disp AS card_disp ON card_disp.disp_id = c.disp_id\n WHERE c.type = 'gold'\n), qualifying_districts AS (\n SELECT DISTINCT\n cl.gender,\n d.district_id,\n d.A2 AS district_name,\n CAST(d.A4 AS INTEGER) AS inhabitants,\n d.A11 AS salary,\n d.A10 AS urban_ratio\n FROM gold_card_accounts AS gc\n JOIN qualifying_accounts AS qa ON qa.account_id = gc.account_id\n JOIN account AS a ON a.account_id = gc.account_id\n JOIN disp AS owner ON owner.account_id = a.account_id AND owner.type = 'OWNER'\n JOIN client AS cl ON cl.client_id = owner.client_id\n JOIN district AS d ON d.district_id = a.district_id\n WHERE CAST(d.A4 AS INTEGER) > 100000\n), ranked_districts AS (\n SELECT\n gender,\n district_id,\n district_name,\n inhabitants,\n RANK() OVER (PARTITION BY gender ORDER BY inhabitants DESC) AS population_rank,\n COUNT(*) OVER (PARTITION BY gender) AS district_count,\n ROUND(AVG(salary) OVER (PARTITION BY gender), 2) AS average_salary,\n ROUND(AVG(urban_ratio) OVER (PARTITION BY gender), 2) AS average_urban_ratio\n FROM qualifying_districts\n)\nSELECT\n g.gender,\n COALESCE(r.district_count, 0) AS district_count,\n r.district_name,\n r.inhabitants,\n r.average_salary,\n r.average_urban_ratio\nFROM genders AS g\nLEFT JOIN ranked_districts AS r ON r.gender = g.gender AND r.population_rank = 1\nORDER BY g.sort_order, r.district_name, r.district_id;", "seconds": 29.23369029199239, "calls": [{"seconds": 3.34528050001245, "usage": {"completion_tokens": 110, "prompt_tokens": 1817, "total_tokens": 1927, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1270, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1270, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1270, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.922437333036214, "usage": {"completion_tokens": 127, "prompt_tokens": 2318, "total_tokens": 2445, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 33, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 501, "cached_tokens": 1270, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 501, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 501, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 14.097590708057396, "usage": {"completion_tokens": 763, "prompt_tokens": 2768, "total_tokens": 3531, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 262, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 450, "cached_tokens": 1771, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 450, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 450, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.602648957981728, "usage": {"completion_tokens": 464, "prompt_tokens": 4089, "total_tokens": 4553, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1321, "cached_tokens": 2221, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1321, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1321, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "cb9daea79a249ca3e64cd6645a8eb6b87d8cdb295d4965defd09f36d086afac7", "csv_sha256": "f48c5cbc40aafb1812d48961f9b204516629bea2e45e66ae2ad2741141fcd2cf"} +{"instance_id": "bird214", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n t.bank AS recipient_bank_code,\n t.account AS recipient_counter_account,\n COUNT(*) AS outgoing_payment_count,\n SUM(t.amount) AS total_amount_paid\nFROM trans AS t\nJOIN account AS a ON a.account_id = t.account_id\nJOIN district AS d ON d.district_id = a.district_id\nWHERE t.type = 'VYDAJ'\n AND t.date >= '1998-01-01'\n AND t.date < '1999-01-01'\n AND CAST(d.A4 AS INTEGER) >= 250000\n AND t.bank IS NOT NULL\n AND t.account IS NOT NULL\n AND EXISTS (\n SELECT 1\n FROM disp AS dp\n JOIN card AS c ON c.disp_id = dp.disp_id\n WHERE dp.account_id = a.account_id\n AND dp.type = 'OWNER'\n AND c.type = 'gold'\n )\nGROUP BY t.bank, t.account\nORDER BY total_amount_paid DESC, recipient_bank_code, recipient_counter_account;\n```", "rows": 11, "sql": "SELECT\n t.bank AS recipient_bank_code,\n t.account AS recipient_counter_account,\n COUNT(*) AS outgoing_payment_count,\n SUM(t.amount) AS total_amount_paid\nFROM trans AS t\nJOIN account AS a ON a.account_id = t.account_id\nJOIN district AS d ON d.district_id = a.district_id\nWHERE t.type = 'VYDAJ'\n AND t.date >= '1998-01-01'\n AND t.date < '1999-01-01'\n AND CAST(d.A4 AS INTEGER) >= 250000\n AND t.bank IS NOT NULL\n AND t.account IS NOT NULL\n AND EXISTS (\n SELECT 1\n FROM disp AS dp\n JOIN card AS c ON c.disp_id = dp.disp_id\n WHERE dp.account_id = a.account_id\n AND dp.type = 'OWNER'\n AND c.type = 'gold'\n )\nGROUP BY t.bank, t.account\nORDER BY total_amount_paid DESC, recipient_bank_code, recipient_counter_account;", "seconds": 25.477904542000033, "calls": [{"seconds": 3.5323247499763966, "usage": {"completion_tokens": 95, "prompt_tokens": 1804, "total_tokens": 1899, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1257, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1257, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1257, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.254558625048958, "usage": {"completion_tokens": 291, "prompt_tokens": 2246, "total_tokens": 2537, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 149, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 442, "cached_tokens": 1257, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 442, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 442, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.206120416056365, "usage": {"completion_tokens": 274, "prompt_tokens": 2955, "total_tokens": 3229, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 23, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 709, "cached_tokens": 1699, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 709, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 709, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.580834167078137, "usage": {"completion_tokens": 258, "prompt_tokens": 3643, "total_tokens": 3901, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 31, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 688, "cached_tokens": 2408, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 688, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 688, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "cf8a802ea1d6e5dabcdd9e50685abb0c568e10ad53483b120b25b6e2855bf030", "csv_sha256": "c39dac75cfe3db8bc482d1e69f9cd598d58911afe946c10858d33fe98d23de9f"} +{"instance_id": "bird215", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(\n 100.0 * SUM(CASE WHEN t.k_symbol = 'SIPO' THEN t.amount ELSE 0 END)\n / NULLIF(SUM(t.amount), 0),\n 2\n) AS sipo_percentage\nFROM trans AS t\nJOIN account AS a ON a.account_id = t.account_id\nJOIN district AS d ON d.district_id = a.district_id\nWHERE d.A2 = 'Pisek'\n AND t.type = 'VYDAJ'\n AND TRIM(t.k_symbol) <> '';\n```", "rows": 1, "sql": "SELECT ROUND(\n 100.0 * SUM(CASE WHEN t.k_symbol = 'SIPO' THEN t.amount ELSE 0 END)\n / NULLIF(SUM(t.amount), 0),\n 2\n) AS sipo_percentage\nFROM trans AS t\nJOIN account AS a ON a.account_id = t.account_id\nJOIN district AS d ON d.district_id = a.district_id\nWHERE d.A2 = 'Pisek'\n AND t.type = 'VYDAJ'\n AND TRIM(t.k_symbol) <> '';", "seconds": 13.399894000031054, "calls": [{"seconds": 2.425223167054355, "usage": {"completion_tokens": 65, "prompt_tokens": 1712, "total_tokens": 1777, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1165, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1165, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1165, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.733072041068226, "usage": {"completion_tokens": 103, "prompt_tokens": 2037, "total_tokens": 2140, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 325, "cached_tokens": 1165, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 325, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 325, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.722378292004578, "usage": {"completion_tokens": 137, "prompt_tokens": 2341, "total_tokens": 2478, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 304, "cached_tokens": 1490, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 304, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 304, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.279167208005674, "usage": {"completion_tokens": 122, "prompt_tokens": 2622, "total_tokens": 2744, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 281, "cached_tokens": 1794, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 281, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 281, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "552c2d3c5ea7d1fabf2cfd50f6e93fa34ec361b8f4c67c7e21bd53e1dddf5321", "csv_sha256": "e8851011e86dd03d1ea4691c935f19516cdaab6c7b64846d5babae3af5d3b851"} +{"instance_id": "bird216", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH qualifying_districts AS (\n SELECT DISTINCT c.district_id\n FROM client AS c\n JOIN disp AS d ON d.client_id = c.client_id\n WHERE c.gender = 'F'\n AND d.type = 'OWNER'\n AND EXISTS (SELECT 1 FROM card AS ca WHERE ca.disp_id = d.disp_id)\n AND EXISTS (SELECT 1 FROM loan AS l WHERE l.account_id = d.account_id)\n), regional_profiles AS (\n SELECT dt.A3 AS region,\n ROUND(AVG(dt.A11) OVER (PARTITION BY dt.A3), 2) AS average_district_salary,\n ROUND(AVG(dt.A13) OVER (PARTITION BY dt.A3), 2) AS average_district_unemployment_1996,\n dt.A2 AS most_populous_district,\n ROW_NUMBER() OVER (\n PARTITION BY dt.A3\n ORDER BY CAST(dt.A4 AS INTEGER) DESC, dt.A2 ASC\n ) AS population_rank\n FROM qualifying_districts AS qd\n JOIN district AS dt ON dt.district_id = qd.district_id\n)\nSELECT region, average_district_salary, average_district_unemployment_1996, most_populous_district\nFROM regional_profiles\nWHERE population_rank = 1\nORDER BY region;\n```", "rows": 8, "sql": "WITH qualifying_districts AS (\n SELECT DISTINCT c.district_id\n FROM client AS c\n JOIN disp AS d ON d.client_id = c.client_id\n WHERE c.gender = 'F'\n AND d.type = 'OWNER'\n AND EXISTS (SELECT 1 FROM card AS ca WHERE ca.disp_id = d.disp_id)\n AND EXISTS (SELECT 1 FROM loan AS l WHERE l.account_id = d.account_id)\n), regional_profiles AS (\n SELECT dt.A3 AS region,\n ROUND(AVG(dt.A11) OVER (PARTITION BY dt.A3), 2) AS average_district_salary,\n ROUND(AVG(dt.A13) OVER (PARTITION BY dt.A3), 2) AS average_district_unemployment_1996,\n dt.A2 AS most_populous_district,\n ROW_NUMBER() OVER (\n PARTITION BY dt.A3\n ORDER BY CAST(dt.A4 AS INTEGER) DESC, dt.A2 ASC\n ) AS population_rank\n FROM qualifying_districts AS qd\n JOIN district AS dt ON dt.district_id = qd.district_id\n)\nSELECT region, average_district_salary, average_district_unemployment_1996, most_populous_district\nFROM regional_profiles\nWHERE population_rank = 1\nORDER BY region;", "seconds": 18.215218249941245, "calls": [{"seconds": 3.475857791956514, "usage": {"completion_tokens": 110, "prompt_tokens": 1818, "total_tokens": 1928, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1271, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1271, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1271, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.192234584013931, "usage": {"completion_tokens": 456, "prompt_tokens": 2305, "total_tokens": 2761, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 149, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 487, "cached_tokens": 1271, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 487, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 487, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.365387666970491, "usage": {"completion_tokens": 284, "prompt_tokens": 3251, "total_tokens": 3535, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 946, "cached_tokens": 1758, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 946, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 946, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2e5228087f291618bb35e03c04a20a08e54deda1e6411b02d73d83824182f0e0", "csv_sha256": "97b0fd1dc0b04a637451c373781e7e8e92a0926f0bbfb47bb50c26bb9a0067c1"} +{"instance_id": "bird217", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE\naccent_map(lower_chars, upper_chars, plain_chars) AS (\n VALUES ('áčďéěíňóřšťúůýž', 'ÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ', 'acdeeinorstuuyz')\n),\ncentral_names(district_name, inhabitants, crimes_1996, sort_name, n) AS (\n SELECT A2, CAST(A4 AS INTEGER), A16, lower(A2), 0\n FROM district\n WHERE A3 = 'central Bohemia'\n UNION ALL\n SELECT district_name, inhabitants, crimes_1996,\n replace(\n replace(sort_name, substr(lower_chars, n + 1, 1), substr(plain_chars, n + 1, 1)),\n substr(upper_chars, n + 1, 1), substr(plain_chars, n + 1, 1)\n ),\n n + 1\n FROM central_names CROSS JOIN accent_map\n WHERE n < length(plain_chars)\n),\ntop_three AS (\n SELECT district_name, inhabitants, crimes_1996, sort_name\n FROM central_names CROSS JOIN accent_map\n WHERE n = length(plain_chars)\n ORDER BY inhabitants DESC, sort_name ASC\n LIMIT 3\n),\naverages AS (\n SELECT (SELECT AVG(crimes_1996) FROM top_three) AS top_three_avg,\n AVG(A16) AS overall_avg\n FROM district\n)\nSELECT district_name,\n crimes_1996,\n ROUND(top_three_avg, 2) AS top_three_avg_1996,\n ROUND(overall_avg, 2) AS overall_avg_1996,\n ROUND(top_three_avg - overall_avg, 2) AS difference_1996\nFROM top_three CROSS JOIN averages\nORDER BY inhabitants DESC, sort_name ASC;\n```", "rows": 3, "sql": "WITH RECURSIVE\naccent_map(lower_chars, upper_chars, plain_chars) AS (\n VALUES ('áčďéěíňóřšťúůýž', 'ÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ', 'acdeeinorstuuyz')\n),\ncentral_names(district_name, inhabitants, crimes_1996, sort_name, n) AS (\n SELECT A2, CAST(A4 AS INTEGER), A16, lower(A2), 0\n FROM district\n WHERE A3 = 'central Bohemia'\n UNION ALL\n SELECT district_name, inhabitants, crimes_1996,\n replace(\n replace(sort_name, substr(lower_chars, n + 1, 1), substr(plain_chars, n + 1, 1)),\n substr(upper_chars, n + 1, 1), substr(plain_chars, n + 1, 1)\n ),\n n + 1\n FROM central_names CROSS JOIN accent_map\n WHERE n < length(plain_chars)\n),\ntop_three AS (\n SELECT district_name, inhabitants, crimes_1996, sort_name\n FROM central_names CROSS JOIN accent_map\n WHERE n = length(plain_chars)\n ORDER BY inhabitants DESC, sort_name ASC\n LIMIT 3\n),\naverages AS (\n SELECT (SELECT AVG(crimes_1996) FROM top_three) AS top_three_avg,\n AVG(A16) AS overall_avg\n FROM district\n)\nSELECT district_name,\n crimes_1996,\n ROUND(top_three_avg, 2) AS top_three_avg_1996,\n ROUND(overall_avg, 2) AS overall_avg_1996,\n ROUND(top_three_avg - overall_avg, 2) AS difference_1996\nFROM top_three CROSS JOIN averages\nORDER BY inhabitants DESC, sort_name ASC;", "seconds": 40.54775274998974, "calls": [{"seconds": 2.213268249994144, "usage": {"completion_tokens": 19, "prompt_tokens": 1755, "total_tokens": 1774, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1208, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1208, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1208, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.383903000038117, "usage": {"completion_tokens": 234, "prompt_tokens": 1913, "total_tokens": 2147, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 187, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 158, "cached_tokens": 1208, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 158, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 158, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 22.435719666071236, "usage": {"completion_tokens": 1104, "prompt_tokens": 3292, "total_tokens": 4396, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 666, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1379, "cached_tokens": 1366, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1379, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1379, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.498845166992396, "usage": {"completion_tokens": 444, "prompt_tokens": 4922, "total_tokens": 5366, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 38, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1630, "cached_tokens": 2745, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1630, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1630, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "71b79e5c43fbed1276e8a2b0bc6aa9bfbd5e004bee44a261a3fc9daa6fe8b581", "csv_sha256": "c1779a1aa5c2daa04748fc8b8184773e26af30631aa6cea9a1535ab760e63cf9"} +{"instance_id": "bird218", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH card_districts AS (\n SELECT DISTINCT\n c.type AS card_type,\n d.district_id,\n d.A2 AS home_district,\n CAST(d.A4 AS INTEGER) AS inhabitants\n FROM card AS c\n JOIN disp AS p ON p.disp_id = c.disp_id\n JOIN client AS cl ON cl.client_id = p.client_id\n JOIN district AS d ON d.district_id = cl.district_id\n WHERE c.type IN ('gold', 'classic', 'junior')\n), ranked AS (\n SELECT card_type, home_district, inhabitants,\n DENSE_RANK() OVER (PARTITION BY card_type ORDER BY inhabitants) AS population_rank\n FROM card_districts\n)\nSELECT card_type, home_district, inhabitants\nFROM ranked\nWHERE population_rank = 1\nORDER BY card_type, home_district;\n```", "rows": 3, "sql": "WITH card_districts AS (\n SELECT DISTINCT\n c.type AS card_type,\n d.district_id,\n d.A2 AS home_district,\n CAST(d.A4 AS INTEGER) AS inhabitants\n FROM card AS c\n JOIN disp AS p ON p.disp_id = c.disp_id\n JOIN client AS cl ON cl.client_id = p.client_id\n JOIN district AS d ON d.district_id = cl.district_id\n WHERE c.type IN ('gold', 'classic', 'junior')\n), ranked AS (\n SELECT card_type, home_district, inhabitants,\n DENSE_RANK() OVER (PARTITION BY card_type ORDER BY inhabitants) AS population_rank\n FROM card_districts\n)\nSELECT card_type, home_district, inhabitants\nFROM ranked\nWHERE population_rank = 1\nORDER BY card_type, home_district;", "seconds": 15.892076916992664, "calls": [{"seconds": 2.7621387090766802, "usage": {"completion_tokens": 80, "prompt_tokens": 1704, "total_tokens": 1784, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1157, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1157, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1157, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.638477250002325, "usage": {"completion_tokens": 361, "prompt_tokens": 2054, "total_tokens": 2415, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 149, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 350, "cached_tokens": 1157, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 350, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 350, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.469598624971695, "usage": {"completion_tokens": 192, "prompt_tokens": 2665, "total_tokens": 2857, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 611, "cached_tokens": 1507, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 611, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 611, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "949db5a9aaaac2e27efc65303e1f5612fb6a143ea3f815012c989bc1d0c613d9", "csv_sha256": "82a1283ab38d6be70604dac69a218d28dabf17644aa99fc5e7e710709f44ab67"} +{"instance_id": "bird219", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH opened_accounts AS (\n SELECT a.account_id, d.district_id, d.A2 AS district_name\n FROM account AS a\n JOIN district AS d ON d.district_id = a.district_id\n WHERE d.A3 IN (SELECT A3 FROM district WHERE A2 = 'Litomerice')\n AND a.date >= '1996-01-01'\n AND a.date < '1997-01-01'\n), ranked_balances AS (\n SELECT a.district_id, a.district_name, t.balance,\n ROW_NUMBER() OVER (\n PARTITION BY a.account_id\n ORDER BY t.date DESC, t.trans_id DESC\n ) AS rn\n FROM opened_accounts AS a\n LEFT JOIN trans AS t\n ON t.account_id = a.account_id AND t.date < '1997-01-01'\n), year_end_balances AS (\n SELECT district_id, district_name, balance\n FROM ranked_balances\n WHERE rn = 1\n), district_stats AS (\n SELECT district_name, COUNT(*) AS accounts_opened_1996,\n AVG(balance) AS avg_balance\n FROM year_end_balances\n GROUP BY district_id, district_name\n)\nSELECT district_name, accounts_opened_1996,\n ROUND(avg_balance, 2) AS district_avg_end_of_1996_balance,\n (SELECT ROUND(AVG(balance), 2) FROM year_end_balances)\n AS region_avg_end_of_1996_balance,\n (SELECT district_name\n FROM district_stats\n WHERE avg_balance IS NOT NULL\n ORDER BY avg_balance DESC, district_name ASC\n LIMIT 1) AS highest_average_district\nFROM district_stats\nORDER BY district_name ASC;\n```", "rows": 10, "sql": "WITH opened_accounts AS (\n SELECT a.account_id, d.district_id, d.A2 AS district_name\n FROM account AS a\n JOIN district AS d ON d.district_id = a.district_id\n WHERE d.A3 IN (SELECT A3 FROM district WHERE A2 = 'Litomerice')\n AND a.date >= '1996-01-01'\n AND a.date < '1997-01-01'\n), ranked_balances AS (\n SELECT a.district_id, a.district_name, t.balance,\n ROW_NUMBER() OVER (\n PARTITION BY a.account_id\n ORDER BY t.date DESC, t.trans_id DESC\n ) AS rn\n FROM opened_accounts AS a\n LEFT JOIN trans AS t\n ON t.account_id = a.account_id AND t.date < '1997-01-01'\n), year_end_balances AS (\n SELECT district_id, district_name, balance\n FROM ranked_balances\n WHERE rn = 1\n), district_stats AS (\n SELECT district_name, COUNT(*) AS accounts_opened_1996,\n AVG(balance) AS avg_balance\n FROM year_end_balances\n GROUP BY district_id, district_name\n)\nSELECT district_name, accounts_opened_1996,\n ROUND(avg_balance, 2) AS district_avg_end_of_1996_balance,\n (SELECT ROUND(AVG(balance), 2) FROM year_end_balances)\n AS region_avg_end_of_1996_balance,\n (SELECT district_name\n FROM district_stats\n WHERE avg_balance IS NOT NULL\n ORDER BY avg_balance DESC, district_name ASC\n LIMIT 1) AS highest_average_district\nFROM district_stats\nORDER BY district_name ASC;", "seconds": 22.98969912494067, "calls": [{"seconds": 2.457613500067964, "usage": {"completion_tokens": 65, "prompt_tokens": 1858, "total_tokens": 1923, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1311, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1311, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1311, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.20062625000719, "usage": {"completion_tokens": 97, "prompt_tokens": 2183, "total_tokens": 2280, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 325, "cached_tokens": 1311, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 325, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 325, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.340178000042215, "usage": {"completion_tokens": 552, "prompt_tokens": 2472, "total_tokens": 3024, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 154, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 289, "cached_tokens": 1636, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 289, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 289, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.528874082956463, "usage": {"completion_tokens": 370, "prompt_tokens": 3684, "total_tokens": 4054, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1212, "cached_tokens": 1925, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1212, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1212, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "899beaa50e9a313c1f586b3c56d3526314b2df1cf1630aed8c530c0dea6bb8d6", "csv_sha256": "bc0c0a6a2a52d0fed4752f60692f88f2f1f12d2f0a20d54b2ad4e98ade1ab6d5"} +{"instance_id": "bird220", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH top_loans AS (\n SELECT a.district_id\n FROM loan AS l\n JOIN account AS a ON a.account_id = l.account_id\n WHERE l.duration = 24\n AND a.frequency = 'POPLATEK TYDNE'\n ORDER BY l.amount DESC, l.loan_id ASC\n LIMIT 10\n), top_districts AS (\n SELECT DISTINCT district_id\n FROM top_loans\n)\nSELECT d.A2 AS district_name,\n CAST(d.A4 AS INTEGER) AS inhabitants,\n ROUND(AVG(d.A11) OVER (), 2) AS avg_yearly_salary\nFROM top_districts AS td\nJOIN district AS d ON d.district_id = td.district_id\nORDER BY inhabitants DESC, d.district_id ASC\nLIMIT 1;\n```", "rows": 1, "sql": "WITH top_loans AS (\n SELECT a.district_id\n FROM loan AS l\n JOIN account AS a ON a.account_id = l.account_id\n WHERE l.duration = 24\n AND a.frequency = 'POPLATEK TYDNE'\n ORDER BY l.amount DESC, l.loan_id ASC\n LIMIT 10\n), top_districts AS (\n SELECT DISTINCT district_id\n FROM top_loans\n)\nSELECT d.A2 AS district_name,\n CAST(d.A4 AS INTEGER) AS inhabitants,\n ROUND(AVG(d.A11) OVER (), 2) AS avg_yearly_salary\nFROM top_districts AS td\nJOIN district AS d ON d.district_id = td.district_id\nORDER BY inhabitants DESC, d.district_id ASC\nLIMIT 1;", "seconds": 19.32738195802085, "calls": [{"seconds": 2.5137367909774184, "usage": {"completion_tokens": 65, "prompt_tokens": 1787, "total_tokens": 1852, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1240, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1240, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1240, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.2514049171004444, "usage": {"completion_tokens": 18, "prompt_tokens": 2098, "total_tokens": 2116, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 311, "cached_tokens": 1240, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 311, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 311, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.250458583934233, "usage": {"completion_tokens": 563, "prompt_tokens": 2146, "total_tokens": 2709, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 370, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1551, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.288820791989565, "usage": {"completion_tokens": 176, "prompt_tokens": 2922, "total_tokens": 3098, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 776, "cached_tokens": 1599, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 776, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 776, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1f0d45bc5ce415a4a4342d637fd80a4ce8eed7e3883d3988b7a380747e1fc81a", "csv_sha256": "1464383c732d61e052462690b0612f81c395ca2c7e56f081dd30ac0930afd9de"} +{"instance_id": "bird221", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH withdrawals_by_district AS (\n SELECT a.district_id, SUM(t.amount) AS total_withdrawn\n FROM account AS a\n JOIN trans AS t ON t.account_id = a.account_id\n WHERE t.type = 'VYDAJ'\n GROUP BY a.district_id\n),\nstanding_orders_by_account AS (\n SELECT account_id, SUM(amount) AS total_debit\n FROM \"order\"\n GROUP BY account_id\n),\nstanding_order_average_by_district AS (\n SELECT a.district_id,\n AVG(COALESCE(s.total_debit, 0.0)) AS average_debit_per_account\n FROM account AS a\n LEFT JOIN standing_orders_by_account AS s ON s.account_id = a.account_id\n GROUP BY a.district_id\n),\ndistrict_metrics AS (\n SELECT d.A2 AS district_name,\n d.A3 AS region,\n CAST(d.A4 AS INTEGER) AS population,\n w.total_withdrawn,\n 1.0 * w.total_withdrawn / CAST(d.A4 AS INTEGER) AS withdrawals_per_inhabitant,\n s.average_debit_per_account\n FROM district AS d\n JOIN withdrawals_by_district AS w ON w.district_id = d.district_id\n JOIN standing_order_average_by_district AS s ON s.district_id = d.district_id\n WHERE CAST(d.A4 AS INTEGER) >= 100000\n)\nSELECT district_name,\n region,\n population,\n total_withdrawn,\n ROUND(withdrawals_per_inhabitant, 2) AS withdrawals_per_inhabitant,\n RANK() OVER (ORDER BY withdrawals_per_inhabitant DESC) AS withdrawal_rank,\n ROUND(average_debit_per_account, 2) AS avg_standing_order_debit_per_account\nFROM district_metrics\nORDER BY withdrawal_rank, district_name;\n```", "rows": 46, "sql": "WITH withdrawals_by_district AS (\n SELECT a.district_id, SUM(t.amount) AS total_withdrawn\n FROM account AS a\n JOIN trans AS t ON t.account_id = a.account_id\n WHERE t.type = 'VYDAJ'\n GROUP BY a.district_id\n),\nstanding_orders_by_account AS (\n SELECT account_id, SUM(amount) AS total_debit\n FROM \"order\"\n GROUP BY account_id\n),\nstanding_order_average_by_district AS (\n SELECT a.district_id,\n AVG(COALESCE(s.total_debit, 0.0)) AS average_debit_per_account\n FROM account AS a\n LEFT JOIN standing_orders_by_account AS s ON s.account_id = a.account_id\n GROUP BY a.district_id\n),\ndistrict_metrics AS (\n SELECT d.A2 AS district_name,\n d.A3 AS region,\n CAST(d.A4 AS INTEGER) AS population,\n w.total_withdrawn,\n 1.0 * w.total_withdrawn / CAST(d.A4 AS INTEGER) AS withdrawals_per_inhabitant,\n s.average_debit_per_account\n FROM district AS d\n JOIN withdrawals_by_district AS w ON w.district_id = d.district_id\n JOIN standing_order_average_by_district AS s ON s.district_id = d.district_id\n WHERE CAST(d.A4 AS INTEGER) >= 100000\n)\nSELECT district_name,\n region,\n population,\n total_withdrawn,\n ROUND(withdrawals_per_inhabitant, 2) AS withdrawals_per_inhabitant,\n RANK() OVER (ORDER BY withdrawals_per_inhabitant DESC) AS withdrawal_rank,\n ROUND(average_debit_per_account, 2) AS avg_standing_order_debit_per_account\nFROM district_metrics\nORDER BY withdrawal_rank, district_name;", "seconds": 25.99346974992659, "calls": [{"seconds": 2.9012948750751093, "usage": {"completion_tokens": 80, "prompt_tokens": 1805, "total_tokens": 1885, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1258, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1258, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1258, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 16.03858650010079, "usage": {"completion_tokens": 815, "prompt_tokens": 2205, "total_tokens": 3020, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 383, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 400, "cached_tokens": 1258, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 400, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 400, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.658714958000928, "usage": {"completion_tokens": 396, "prompt_tokens": 4947, "total_tokens": 5343, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 2742, "cached_tokens": 1658, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 2742, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 2742, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "957465fbeb63ca1ccf08c026513780a5f3706797fd8d28ecf7d8e8e3755b2494", "csv_sha256": "f34835d9f937a6e2020b3da82ae35406dff7b2c737e5cdaef3630b82d82a8940"} +{"instance_id": "bird222", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH accessible_account_ids AS (\n SELECT DISTINCT account_id\n FROM disp\n WHERE client_id = 3541\n),\ntransaction_totals AS (\n SELECT account_id,\n COUNT(*) AS transaction_count,\n SUM(CASE WHEN type = 'PRIJEM' THEN amount ELSE 0 END) AS total_income,\n SUM(CASE WHEN type = 'VYDAJ' THEN amount ELSE 0 END) AS total_expense\n FROM trans\n WHERE account_id IN (SELECT account_id FROM accessible_account_ids)\n GROUP BY account_id\n),\nregional_client_counts AS (\n SELECT d.A3 AS region, COUNT(*) AS regional_client_count\n FROM client AS c\n JOIN district AS d ON d.district_id = c.district_id\n GROUP BY d.A3\n),\ndistrict_populations AS (\n SELECT district_id, A2 AS district_name, A3 AS region,\n A11 AS average_salary, CAST(A4 AS INTEGER) AS inhabitants\n FROM district\n),\nranked_districts AS (\n SELECT d.*,\n RANK() OVER (PARTITION BY region ORDER BY inhabitants DESC) AS population_rank,\n ROW_NUMBER() OVER (\n PARTITION BY region ORDER BY inhabitants DESC, district_id ASC\n ) AS regional_district_number\n FROM district_populations AS d\n)\nSELECT a.account_id,\n a.date AS opened_date,\n a.frequency,\n d.district_name,\n d.region,\n CASE WHEN a.district_id = c.district_id THEN 'Yes' ELSE 'No' END AS is_home_district,\n d.average_salary,\n COALESCE(l.status, 'none') AS loan_repayment_status,\n COALESCE(l.amount, 0) AS loan_amount,\n COALESCE(t.transaction_count, 0) AS transaction_count,\n COALESCE(t.total_income, 0) AS total_income,\n COALESCE(t.total_expense, 0) AS total_expense,\n COALESCE(t.total_income, 0) - COALESCE(t.total_expense, 0) AS net_balance,\n COALESCE(rc.regional_client_count, 0) AS regional_client_count,\n m.district_name AS most_populous_district,\n m.inhabitants AS most_populous_district_inhabitants,\n d.population_rank AS district_population_rank\nFROM accessible_account_ids AS ids\nJOIN account AS a ON a.account_id = ids.account_id\nJOIN client AS c ON c.client_id = 3541\nJOIN ranked_districts AS d ON d.district_id = a.district_id\nJOIN ranked_districts AS m ON m.region = d.region AND m.regional_district_number = 1\nLEFT JOIN loan AS l ON l.account_id = a.account_id\nLEFT JOIN transaction_totals AS t ON t.account_id = a.account_id\nLEFT JOIN regional_client_counts AS rc ON rc.region = d.region\nORDER BY transaction_count DESC, a.account_id ASC;\n```", "rows": 1, "sql": "WITH accessible_account_ids AS (\n SELECT DISTINCT account_id\n FROM disp\n WHERE client_id = 3541\n),\ntransaction_totals AS (\n SELECT account_id,\n COUNT(*) AS transaction_count,\n SUM(CASE WHEN type = 'PRIJEM' THEN amount ELSE 0 END) AS total_income,\n SUM(CASE WHEN type = 'VYDAJ' THEN amount ELSE 0 END) AS total_expense\n FROM trans\n WHERE account_id IN (SELECT account_id FROM accessible_account_ids)\n GROUP BY account_id\n),\nregional_client_counts AS (\n SELECT d.A3 AS region, COUNT(*) AS regional_client_count\n FROM client AS c\n JOIN district AS d ON d.district_id = c.district_id\n GROUP BY d.A3\n),\ndistrict_populations AS (\n SELECT district_id, A2 AS district_name, A3 AS region,\n A11 AS average_salary, CAST(A4 AS INTEGER) AS inhabitants\n FROM district\n),\nranked_districts AS (\n SELECT d.*,\n RANK() OVER (PARTITION BY region ORDER BY inhabitants DESC) AS population_rank,\n ROW_NUMBER() OVER (\n PARTITION BY region ORDER BY inhabitants DESC, district_id ASC\n ) AS regional_district_number\n FROM district_populations AS d\n)\nSELECT a.account_id,\n a.date AS opened_date,\n a.frequency,\n d.district_name,\n d.region,\n CASE WHEN a.district_id = c.district_id THEN 'Yes' ELSE 'No' END AS is_home_district,\n d.average_salary,\n COALESCE(l.status, 'none') AS loan_repayment_status,\n COALESCE(l.amount, 0) AS loan_amount,\n COALESCE(t.transaction_count, 0) AS transaction_count,\n COALESCE(t.total_income, 0) AS total_income,\n COALESCE(t.total_expense, 0) AS total_expense,\n COALESCE(t.total_income, 0) - COALESCE(t.total_expense, 0) AS net_balance,\n COALESCE(rc.regional_client_count, 0) AS regional_client_count,\n m.district_name AS most_populous_district,\n m.inhabitants AS most_populous_district_inhabitants,\n d.population_rank AS district_population_rank\nFROM accessible_account_ids AS ids\nJOIN account AS a ON a.account_id = ids.account_id\nJOIN client AS c ON c.client_id = 3541\nJOIN ranked_districts AS d ON d.district_id = a.district_id\nJOIN ranked_districts AS m ON m.region = d.region AND m.regional_district_number = 1\nLEFT JOIN loan AS l ON l.account_id = a.account_id\nLEFT JOIN transaction_totals AS t ON t.account_id = a.account_id\nLEFT JOIN regional_client_counts AS rc ON rc.region = d.region\nORDER BY transaction_count DESC, a.account_id ASC;", "seconds": 80.95647070801351, "calls": [{"seconds": 3.2890043751103804, "usage": {"completion_tokens": 110, "prompt_tokens": 1839, "total_tokens": 1949, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1292, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1292, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1292, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.893063833937049, "usage": {"completion_tokens": 333, "prompt_tokens": 2361, "total_tokens": 2694, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 209, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 522, "cached_tokens": 1292, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 522, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 522, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.228469292051159, "usage": {"completion_tokens": 164, "prompt_tokens": 2952, "total_tokens": 3116, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 144, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 591, "cached_tokens": 1814, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 591, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 591, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.860862500034273, "usage": {"completion_tokens": 786, "prompt_tokens": 3146, "total_tokens": 3932, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 58, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 194, "cached_tokens": 2405, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 194, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 194, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.796852834057063, "usage": {"completion_tokens": 738, "prompt_tokens": 4652, "total_tokens": 5390, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 59, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1506, "cached_tokens": 2599, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1506, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1506, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.514408542076126, "usage": {"completion_tokens": 630, "prompt_tokens": 6201, "total_tokens": 6831, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1549, "cached_tokens": 4105, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1549, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1549, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a07dce45ea6729180e84e27b257d1b6f405866bd5ce566c440573bb6a740c2ee", "csv_sha256": "63cd798731fd188549b0b024609d540c08a07e1ac42528993f06aaf7eec27023"} +{"instance_id": "bird223", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH loans_by_account AS (\n SELECT account_id, SUM(amount) AS amount_lent\n FROM loan\n GROUP BY account_id\n), district_year AS (\n SELECT\n STRFTIME('%Y', a.date) AS opening_year,\n a.district_id,\n COUNT(*) AS accounts_opened,\n SUM(COALESCE(l.amount_lent, 0)) AS amount_lent\n FROM account AS a\n JOIN district AS d ON d.district_id = a.district_id\n LEFT JOIN loans_by_account AS l ON l.account_id = a.account_id\n WHERE d.A3 = 'central Bohemia'\n AND a.date >= '1996-01-01'\n GROUP BY STRFTIME('%Y', a.date), a.district_id\n)\nSELECT\n opening_year,\n SUM(accounts_opened) AS accounts_opened,\n SUM(amount_lent) AS total_amount_lent,\n ROUND(AVG(CAST(amount_lent AS REAL) / accounts_opened), 2)\n AS avg_district_amount_lent_per_account\nFROM district_year\nGROUP BY opening_year\nORDER BY opening_year;\n```", "rows": 2, "sql": "WITH loans_by_account AS (\n SELECT account_id, SUM(amount) AS amount_lent\n FROM loan\n GROUP BY account_id\n), district_year AS (\n SELECT\n STRFTIME('%Y', a.date) AS opening_year,\n a.district_id,\n COUNT(*) AS accounts_opened,\n SUM(COALESCE(l.amount_lent, 0)) AS amount_lent\n FROM account AS a\n JOIN district AS d ON d.district_id = a.district_id\n LEFT JOIN loans_by_account AS l ON l.account_id = a.account_id\n WHERE d.A3 = 'central Bohemia'\n AND a.date >= '1996-01-01'\n GROUP BY STRFTIME('%Y', a.date), a.district_id\n)\nSELECT\n opening_year,\n SUM(accounts_opened) AS accounts_opened,\n SUM(amount_lent) AS total_amount_lent,\n ROUND(AVG(CAST(amount_lent AS REAL) / accounts_opened), 2)\n AS avg_district_amount_lent_per_account\nFROM district_year\nGROUP BY opening_year\nORDER BY opening_year;", "seconds": 20.21198949997779, "calls": [{"seconds": 2.7085616249823943, "usage": {"completion_tokens": 65, "prompt_tokens": 1744, "total_tokens": 1809, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1197, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1197, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1197, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.693545624963008, "usage": {"completion_tokens": 136, "prompt_tokens": 2055, "total_tokens": 2191, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 53, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 311, "cached_tokens": 1197, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 311, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 311, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.583582084043883, "usage": {"completion_tokens": 354, "prompt_tokens": 2477, "total_tokens": 2831, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 83, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 422, "cached_tokens": 1508, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 422, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 422, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.201142832986079, "usage": {"completion_tokens": 248, "prompt_tokens": 3154, "total_tokens": 3402, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 677, "cached_tokens": 1930, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 677, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 677, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e42c0adc91cef38a07af4df80962f793bc59e74dc6cfcecefb1a499791e844ab", "csv_sha256": "416baf4351a5a30e3fb077064f2b6daffcbd384f6e51224ec7a65ab736698caa"} +{"instance_id": "bird224", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n d.A2 AS district,\n l.amount AS approved_amount,\n l.date AS approval_date,\n (\n SELECT t.balance\n FROM trans AS t\n WHERE t.account_id = l.account_id\n AND t.date <= l.date\n ORDER BY t.date DESC, t.trans_id DESC\n LIMIT 1\n ) AS end_of_day_balance\nFROM loan AS l\nJOIN account AS a ON a.account_id = l.account_id\nJOIN district AS d ON d.district_id = a.district_id\nWHERE l.duration = 24\n AND a.frequency = 'POPLATEK TYDNE'\nORDER BY l.amount DESC, l.date ASC, l.loan_id ASC\nLIMIT 10;\n```", "rows": 10, "sql": "SELECT\n d.A2 AS district,\n l.amount AS approved_amount,\n l.date AS approval_date,\n (\n SELECT t.balance\n FROM trans AS t\n WHERE t.account_id = l.account_id\n AND t.date <= l.date\n ORDER BY t.date DESC, t.trans_id DESC\n LIMIT 1\n ) AS end_of_day_balance\nFROM loan AS l\nJOIN account AS a ON a.account_id = l.account_id\nJOIN district AS d ON d.district_id = a.district_id\nWHERE l.duration = 24\n AND a.frequency = 'POPLATEK TYDNE'\nORDER BY l.amount DESC, l.date ASC, l.loan_id ASC\nLIMIT 10;", "seconds": 13.257890083012171, "calls": [{"seconds": 3.1178044580155984, "usage": {"completion_tokens": 80, "prompt_tokens": 1760, "total_tokens": 1840, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1213, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1213, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1213, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.080356999998912, "usage": {"completion_tokens": 241, "prompt_tokens": 2164, "total_tokens": 2405, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 65, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 404, "cached_tokens": 1213, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 404, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 404, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.034873416996561, "usage": {"completion_tokens": 160, "prompt_tokens": 2791, "total_tokens": 2951, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 627, "cached_tokens": 1617, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 627, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 627, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b353f558e54329b22d0216af9a259c379e2b8e2fa9764f6e5e267a5636a3ea06", "csv_sha256": "c6ba7d606981f19f048bb83ea3fdb12d0868c585195cc7ee7f40d7838c52f482"} +{"instance_id": "bird225", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH cardholders AS (\n SELECT\n cl.client_id,\n cl.gender,\n cl.birth_date,\n ca.type AS card_type,\n CAST(strftime('%Y', ca.issued) AS INTEGER)\n - CAST(strftime('%Y', cl.birth_date) AS INTEGER) AS age_at_issue,\n dp.account_id,\n cl.district_id\n FROM card AS ca\n JOIN disp AS dp ON dp.disp_id = ca.disp_id\n JOIN client AS cl ON cl.client_id = dp.client_id\n WHERE ca.issued >= '1994-01-01' AND ca.issued < '1995-01-01'\n), account_loans AS (\n SELECT account_id, COUNT(*) AS loan_count, SUM(amount) AS total_amount_borrowed\n FROM loan\n GROUP BY account_id\n)\nSELECT\n ch.client_id,\n ch.gender,\n ch.birth_date,\n ch.card_type,\n ch.age_at_issue,\n COALESCE(al.loan_count, 0) AS loan_count,\n COALESCE(al.total_amount_borrowed, 0) AS total_amount_borrowed,\n CASE\n WHEN al.loan_count > 0 AND ch.age_at_issue < 30 THEN 'Young borrower'\n WHEN al.loan_count > 0 AND ch.age_at_issue >= 30 THEN 'Mature borrower'\n ELSE 'Non-borrower'\n END AS borrower_classification,\n d.A2 AS district_name,\n d.A11 AS district_average_salary,\n RANK() OVER (PARTITION BY ch.gender ORDER BY ch.age_at_issue DESC) AS age_rank_within_gender\nFROM cardholders AS ch\nLEFT JOIN account_loans AS al ON al.account_id = ch.account_id\nLEFT JOIN district AS d ON d.district_id = ch.district_id\nORDER BY ch.client_id;\n```", "rows": 21, "sql": "WITH cardholders AS (\n SELECT\n cl.client_id,\n cl.gender,\n cl.birth_date,\n ca.type AS card_type,\n CAST(strftime('%Y', ca.issued) AS INTEGER)\n - CAST(strftime('%Y', cl.birth_date) AS INTEGER) AS age_at_issue,\n dp.account_id,\n cl.district_id\n FROM card AS ca\n JOIN disp AS dp ON dp.disp_id = ca.disp_id\n JOIN client AS cl ON cl.client_id = dp.client_id\n WHERE ca.issued >= '1994-01-01' AND ca.issued < '1995-01-01'\n), account_loans AS (\n SELECT account_id, COUNT(*) AS loan_count, SUM(amount) AS total_amount_borrowed\n FROM loan\n GROUP BY account_id\n)\nSELECT\n ch.client_id,\n ch.gender,\n ch.birth_date,\n ch.card_type,\n ch.age_at_issue,\n COALESCE(al.loan_count, 0) AS loan_count,\n COALESCE(al.total_amount_borrowed, 0) AS total_amount_borrowed,\n CASE\n WHEN al.loan_count > 0 AND ch.age_at_issue < 30 THEN 'Young borrower'\n WHEN al.loan_count > 0 AND ch.age_at_issue >= 30 THEN 'Mature borrower'\n ELSE 'Non-borrower'\n END AS borrower_classification,\n d.A2 AS district_name,\n d.A11 AS district_average_salary,\n RANK() OVER (PARTITION BY ch.gender ORDER BY ch.age_at_issue DESC) AS age_rank_within_gender\nFROM cardholders AS ch\nLEFT JOIN account_loans AS al ON al.account_id = ch.account_id\nLEFT JOIN district AS d ON d.district_id = ch.district_id\nORDER BY ch.client_id;", "seconds": 39.43188004102558, "calls": [{"seconds": 3.773952499963343, "usage": {"completion_tokens": 110, "prompt_tokens": 1790, "total_tokens": 1900, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1243, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1243, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1243, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.116603291942738, "usage": {"completion_tokens": 18, "prompt_tokens": 2277, "total_tokens": 2295, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 487, "cached_tokens": 1243, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 487, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 487, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.984841624973342, "usage": {"completion_tokens": 364, "prompt_tokens": 2325, "total_tokens": 2689, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 278, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1730, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.732852709013969, "usage": {"completion_tokens": 237, "prompt_tokens": 2863, "total_tokens": 3100, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 141, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 538, "cached_tokens": 1778, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 538, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 538, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.474041541921906, "usage": {"completion_tokens": 494, "prompt_tokens": 3223, "total_tokens": 3717, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 61, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 360, "cached_tokens": 2316, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 360, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 360, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.321350208949298, "usage": {"completion_tokens": 418, "prompt_tokens": 5020, "total_tokens": 5438, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 22, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1797, "cached_tokens": 2676, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1797, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1797, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "21b3ef6d4742b8f57c724a96c4963ad42da978446c4e090ba280f52b26446106", "csv_sha256": "c577a2da27ac8c6d27c3ac8cbfe5916d2aaedd61c6b1c19b352cf746ce07b34b"} +{"instance_id": "bird226", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT d.A2 AS branch_name, COUNT(t.trans_id) AS transaction_count\nFROM district AS d\nLEFT JOIN account AS a ON a.district_id = d.district_id\nLEFT JOIN trans AS t ON t.account_id = a.account_id\n AND t.date <= '1998-10-14'\n AND t.k_symbol IS NULL\nWHERE d.A3 = 'north Moravia'\nGROUP BY d.district_id, d.A2\nORDER BY transaction_count DESC, branch_name ASC\nLIMIT 3;\n```", "rows": 3, "sql": "SELECT d.A2 AS branch_name, COUNT(t.trans_id) AS transaction_count\nFROM district AS d\nLEFT JOIN account AS a ON a.district_id = d.district_id\nLEFT JOIN trans AS t ON t.account_id = a.account_id\n AND t.date <= '1998-10-14'\n AND t.k_symbol IS NULL\nWHERE d.A3 = 'north Moravia'\nGROUP BY d.district_id, d.A2\nORDER BY transaction_count DESC, branch_name ASC\nLIMIT 3;", "seconds": 20.4248915000353, "calls": [{"seconds": 2.5963147500297055, "usage": {"completion_tokens": 65, "prompt_tokens": 1725, "total_tokens": 1790, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1178, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1178, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1178, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.036843499983661, "usage": {"completion_tokens": 73, "prompt_tokens": 2050, "total_tokens": 2123, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 325, "cached_tokens": 1178, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 325, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 325, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.48505770904012, "usage": {"completion_tokens": 172, "prompt_tokens": 2512, "total_tokens": 2684, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 108, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 462, "cached_tokens": 1503, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 462, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 462, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.543795041972771, "usage": {"completion_tokens": 172, "prompt_tokens": 2899, "total_tokens": 3071, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 44, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 387, "cached_tokens": 1965, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 387, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 387, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9154281250666827, "usage": {"completion_tokens": 116, "prompt_tokens": 3229, "total_tokens": 3345, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 330, "cached_tokens": 2352, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 330, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 330, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "3f5627b7e3dbfef2994d3b5c19bc869e7f32439ebb903925c98492326820ede2", "csv_sha256": "05c7df42fe514e69cdd8218ec19c6539592fd5aa91a37008fdb4bdbe55d351cf"} +{"instance_id": "bird227", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n t.bank AS bank_code,\n t.account AS account_number,\n COUNT(*) AS outgoing_payment_count,\n SUM(t.amount) AS total_amount_paid\nFROM trans AS t\nWHERE t.type = 'VYDAJ'\n AND t.date < '1996-01-03'\n AND t.bank IS NOT NULL\n AND t.account IS NOT NULL\n AND EXISTS (\n SELECT 1\n FROM loan AS l\n WHERE l.account_id = t.account_id\n AND l.amount = 98832\n AND l.date = '1996-01-03'\n )\nGROUP BY t.bank, t.account\nORDER BY total_amount_paid DESC;\n```", "rows": 3, "sql": "SELECT\n t.bank AS bank_code,\n t.account AS account_number,\n COUNT(*) AS outgoing_payment_count,\n SUM(t.amount) AS total_amount_paid\nFROM trans AS t\nWHERE t.type = 'VYDAJ'\n AND t.date < '1996-01-03'\n AND t.bank IS NOT NULL\n AND t.account IS NOT NULL\n AND EXISTS (\n SELECT 1\n FROM loan AS l\n WHERE l.account_id = t.account_id\n AND l.amount = 98832\n AND l.date = '1996-01-03'\n )\nGROUP BY t.bank, t.account\nORDER BY total_amount_paid DESC;", "seconds": 18.695050374954008, "calls": [{"seconds": 2.4418128749821335, "usage": {"completion_tokens": 65, "prompt_tokens": 1760, "total_tokens": 1825, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1213, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1213, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1213, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.840736582991667, "usage": {"completion_tokens": 209, "prompt_tokens": 2012, "total_tokens": 2221, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 39, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 252, "cached_tokens": 1213, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 252, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 252, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.203030250035226, "usage": {"completion_tokens": 150, "prompt_tokens": 2447, "total_tokens": 2597, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 435, "cached_tokens": 1465, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 435, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 435, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5f48d3f7f7f3a1c93380f93f7c01c43f1084343efd8d62509fdaafc1770889ab", "csv_sha256": "f45c1885d0c9d01f3daaa9e55315443c3f6c89afb85f76f0f754f17d3859fe44"} +{"instance_id": "bird228", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT a.account_id)\nFROM account AS a\nWHERE a.district_id = 1\n AND a.date < '1996-01-01'\n AND EXISTS (\n SELECT 1\n FROM loan AS l\n WHERE l.account_id = a.account_id\n AND l.status IN ('C', 'D')\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT a.account_id)\nFROM account AS a\nWHERE a.district_id = 1\n AND a.date < '1996-01-01'\n AND EXISTS (\n SELECT 1\n FROM loan AS l\n WHERE l.account_id = a.account_id\n AND l.status IN ('C', 'D')\n );", "seconds": 13.478838374954648, "calls": [{"seconds": 2.9625697499141097, "usage": {"completion_tokens": 79, "prompt_tokens": 1713, "total_tokens": 1792, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1166, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1166, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1166, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9902693750336766, "usage": {"completion_tokens": 134, "prompt_tokens": 2066, "total_tokens": 2200, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 90, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 353, "cached_tokens": 1166, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 353, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 353, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3217375830281526, "usage": {"completion_tokens": 96, "prompt_tokens": 2291, "total_tokens": 2387, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 225, "cached_tokens": 1519, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 225, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 225, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.186296375002712, "usage": {"completion_tokens": 82, "prompt_tokens": 2493, "total_tokens": 2575, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 202, "cached_tokens": 1744, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 202, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 202, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5a0d855c476f91a33e87d7eddcd8a8fadc32e811a1756f1c20109832c567e57c", "csv_sha256": "1bec487891f96a98ce081a88d033457188bd40b7a5dd06945ff6efe37eae618a"} +{"instance_id": "bird230", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH ranked_loans AS (\n SELECT l.loan_id, l.account_id, c.client_id, c.birth_date,\n l.amount, l.duration, l.payments, l.status,\n DENSE_RANK() OVER (ORDER BY l.amount DESC) AS amount_rank\n FROM loan AS l\n JOIN disp AS dp ON dp.account_id = l.account_id AND dp.type = 'OWNER'\n JOIN client AS c ON c.client_id = dp.client_id\n WHERE c.gender = 'F'\n), selected_loans AS (\n SELECT * FROM ranked_loans WHERE amount_rank <= 3\n), account_activity AS (\n SELECT t.account_id,\n COUNT(*) AS transaction_count,\n SUM(CASE WHEN t.type = 'PRIJEM' THEN t.amount ELSE 0 END) AS total_deposits\n FROM trans AS t\n WHERE t.account_id IN (SELECT account_id FROM selected_loans)\n GROUP BY t.account_id\n), regional_loan_counts AS (\n SELECT d.A3 AS region, COUNT(*) AS region_loan_count\n FROM loan AS l\n JOIN account AS a ON a.account_id = l.account_id\n JOIN district AS d ON d.district_id = a.district_id\n GROUP BY d.A3\n), regional_salaries AS (\n SELECT A3 AS region, ROUND(AVG(A11), 2) AS region_average_salary\n FROM district\n GROUP BY A3\n)\nSELECT s.client_id,\n ROUND(s.amount, 2) AS loan_amount,\n s.duration AS duration_months,\n ROUND(s.payments * s.duration, 2) AS total_payments,\n ROUND(s.payments * s.duration - s.amount, 2) AS interest_paid,\n s.status AS loan_status,\n d.A2 AS branch_district,\n d.A3 AS branch_region,\n COALESCE(aa.transaction_count, 0) AS transaction_count,\n ROUND(COALESCE(aa.total_deposits, 0), 2) AS total_deposits,\n CASE\n WHEN COALESCE(aa.total_deposits, 0) > 2 * s.amount THEN 'High Income'\n WHEN COALESCE(aa.total_deposits, 0) > s.amount THEN 'Medium Income'\n ELSE 'Low Income'\n END AS income_category,\n rlc.region_loan_count,\n rs.region_average_salary,\n CAST(strftime('%Y', '2026-10-09') AS INTEGER)\n - CAST(strftime('%Y', s.birth_date) AS INTEGER)\n - (strftime('%m-%d', s.birth_date) > strftime('%m-%d', '2026-10-09')) AS completed_age\nFROM selected_loans AS s\nJOIN account AS a ON a.account_id = s.account_id\nJOIN district AS d ON d.district_id = a.district_id\nLEFT JOIN account_activity AS aa ON aa.account_id = s.account_id\nJOIN regional_loan_counts AS rlc ON rlc.region = d.A3\nJOIN regional_salaries AS rs ON rs.region = d.A3\nORDER BY s.amount DESC, s.loan_id, s.client_id;\n```", "rows": 3, "sql": "WITH ranked_loans AS (\n SELECT l.loan_id, l.account_id, c.client_id, c.birth_date,\n l.amount, l.duration, l.payments, l.status,\n DENSE_RANK() OVER (ORDER BY l.amount DESC) AS amount_rank\n FROM loan AS l\n JOIN disp AS dp ON dp.account_id = l.account_id AND dp.type = 'OWNER'\n JOIN client AS c ON c.client_id = dp.client_id\n WHERE c.gender = 'F'\n), selected_loans AS (\n SELECT * FROM ranked_loans WHERE amount_rank <= 3\n), account_activity AS (\n SELECT t.account_id,\n COUNT(*) AS transaction_count,\n SUM(CASE WHEN t.type = 'PRIJEM' THEN t.amount ELSE 0 END) AS total_deposits\n FROM trans AS t\n WHERE t.account_id IN (SELECT account_id FROM selected_loans)\n GROUP BY t.account_id\n), regional_loan_counts AS (\n SELECT d.A3 AS region, COUNT(*) AS region_loan_count\n FROM loan AS l\n JOIN account AS a ON a.account_id = l.account_id\n JOIN district AS d ON d.district_id = a.district_id\n GROUP BY d.A3\n), regional_salaries AS (\n SELECT A3 AS region, ROUND(AVG(A11), 2) AS region_average_salary\n FROM district\n GROUP BY A3\n)\nSELECT s.client_id,\n ROUND(s.amount, 2) AS loan_amount,\n s.duration AS duration_months,\n ROUND(s.payments * s.duration, 2) AS total_payments,\n ROUND(s.payments * s.duration - s.amount, 2) AS interest_paid,\n s.status AS loan_status,\n d.A2 AS branch_district,\n d.A3 AS branch_region,\n COALESCE(aa.transaction_count, 0) AS transaction_count,\n ROUND(COALESCE(aa.total_deposits, 0), 2) AS total_deposits,\n CASE\n WHEN COALESCE(aa.total_deposits, 0) > 2 * s.amount THEN 'High Income'\n WHEN COALESCE(aa.total_deposits, 0) > s.amount THEN 'Medium Income'\n ELSE 'Low Income'\n END AS income_category,\n rlc.region_loan_count,\n rs.region_average_salary,\n CAST(strftime('%Y', '2026-10-09') AS INTEGER)\n - CAST(strftime('%Y', s.birth_date) AS INTEGER)\n - (strftime('%m-%d', s.birth_date) > strftime('%m-%d', '2026-10-09')) AS completed_age\nFROM selected_loans AS s\nJOIN account AS a ON a.account_id = s.account_id\nJOIN district AS d ON d.district_id = a.district_id\nLEFT JOIN account_activity AS aa ON aa.account_id = s.account_id\nJOIN regional_loan_counts AS rlc ON rlc.region = d.A3\nJOIN regional_salaries AS rs ON rs.region = d.A3\nORDER BY s.amount DESC, s.loan_id, s.client_id;", "seconds": 36.17722854099702, "calls": [{"seconds": 3.0086445420747623, "usage": {"completion_tokens": 110, "prompt_tokens": 1899, "total_tokens": 2009, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1352, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1352, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1352, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.611783750005998, "usage": {"completion_tokens": 348, "prompt_tokens": 2421, "total_tokens": 2769, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 147, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 522, "cached_tokens": 1352, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 522, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 522, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 14.41262616601307, "usage": {"completion_tokens": 867, "prompt_tokens": 3074, "total_tokens": 3941, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 149, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 653, "cached_tokens": 1874, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 653, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 653, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.942785750026815, "usage": {"completion_tokens": 747, "prompt_tokens": 4876, "total_tokens": 5623, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 69, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1802, "cached_tokens": 2527, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1802, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1802, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1c886871d2ff67a1c2e85d9cb74c6a6e25ee2669c795e750de64cf77c5de7e21", "csv_sha256": "fa91ab34a428d6bb949c6a273479ae3646c1aab0acae22963a4ec2a8f8d7db3a"} +{"instance_id": "bird231", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "failed", "answer": "❓ Awaiting user: Should every loan longer than 24 months count as a mortgage, or is there a separate mortgage subset? If there is, how is it identified in the database?", "error_type": "ValueError", "seconds": 43.24014162493404, "calls": [{"seconds": 3.15447954100091, "usage": {"completion_tokens": 79, "prompt_tokens": 1727, "total_tokens": 1806, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1180, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1180, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1180, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.903877750039101, "usage": {"completion_tokens": 137, "prompt_tokens": 2080, "total_tokens": 2217, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 120, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 353, "cached_tokens": 1180, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 353, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 353, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 18.49720374995377, "usage": {"completion_tokens": 905, "prompt_tokens": 2254, "total_tokens": 3159, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 729, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 174, "cached_tokens": 1533, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 174, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 174, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.530335457995534, "usage": {"completion_tokens": 136, "prompt_tokens": 3177, "total_tokens": 3313, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 115, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 923, "cached_tokens": 1707, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 923, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 923, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.146075833006762, "usage": {"completion_tokens": 449, "prompt_tokens": 3335, "total_tokens": 3784, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 397, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 158, "cached_tokens": 2630, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 158, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 158, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6951877c7fea769540aff9c897c4fcc96b837fb14405b8bbc494da752b45e390"} +{"instance_id": "bird232", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH monthly_accounts_by_district AS (\n SELECT district_id, COUNT(*) AS account_count\n FROM account\n WHERE frequency = 'POPLATEK MESICNE'\n AND date >= '1997-01-01'\n AND date < '1998-01-01'\n GROUP BY district_id\n)\nSELECT COALESCE(SUM(m.account_count), 0) AS total_monthly_statement_accounts,\n COUNT(*) AS qualifying_district_count,\n ROUND(AVG(d.A11), 2) AS average_salary\nFROM monthly_accounts_by_district AS m\nJOIN district AS d ON d.district_id = m.district_id\nWHERE CAST(d.A4 AS INTEGER) >= 100000;\n```", "rows": 1, "sql": "WITH monthly_accounts_by_district AS (\n SELECT district_id, COUNT(*) AS account_count\n FROM account\n WHERE frequency = 'POPLATEK MESICNE'\n AND date >= '1997-01-01'\n AND date < '1998-01-01'\n GROUP BY district_id\n)\nSELECT COALESCE(SUM(m.account_count), 0) AS total_monthly_statement_accounts,\n COUNT(*) AS qualifying_district_count,\n ROUND(AVG(d.A11), 2) AS average_salary\nFROM monthly_accounts_by_district AS m\nJOIN district AS d ON d.district_id = m.district_id\nWHERE CAST(d.A4 AS INTEGER) >= 100000;", "seconds": 20.471224582986906, "calls": [{"seconds": 2.525232082931325, "usage": {"completion_tokens": 50, "prompt_tokens": 1710, "total_tokens": 1760, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1163, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1163, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1163, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 1.8765813339268789, "usage": {"completion_tokens": 18, "prompt_tokens": 1942, "total_tokens": 1960, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 232, "cached_tokens": 1163, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 232, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 232, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.299106833059341, "usage": {"completion_tokens": 114, "prompt_tokens": 1990, "total_tokens": 2104, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 38, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1395, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.511271875002421, "usage": {"completion_tokens": 288, "prompt_tokens": 2497, "total_tokens": 2785, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 114, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 507, "cached_tokens": 1443, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 507, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 507, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.239145250059664, "usage": {"completion_tokens": 156, "prompt_tokens": 2984, "total_tokens": 3140, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 487, "cached_tokens": 1950, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 487, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 487, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6ab13f35ecd429c4af529db98772e4841f6fb3e78a1aa1665f466b8e9834cf18", "csv_sha256": "9987575e0513c8c98456d420c1e60bc47ceb35f73f5b3eed604c0d6aff68c2fc"} +{"instance_id": "bird233", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH gold_accounts AS (\n SELECT DISTINCT d.account_id\n FROM card AS c\n JOIN disp AS d ON d.disp_id = c.disp_id\n WHERE c.type = 'gold'\n), transaction_totals AS (\n SELECT t.account_id,\n SUM(CASE WHEN t.type = 'PRIJEM' THEN t.amount ELSE 0 END) AS total_received,\n SUM(CASE WHEN t.type = 'VYDAJ' THEN t.amount ELSE 0 END) AS total_withdrawn\n FROM trans AS t\n JOIN gold_accounts AS g ON g.account_id = t.account_id\n GROUP BY t.account_id\n), loan_counts AS (\n SELECT l.account_id, COUNT(*) AS loan_count\n FROM loan AS l\n JOIN gold_accounts AS g ON g.account_id = l.account_id\n GROUP BY l.account_id\n), external_counterparties AS (\n SELECT DISTINCT t.account_id, t.bank, t.\"account\" AS counterparty_account\n FROM trans AS t\n JOIN gold_accounts AS g ON g.account_id = t.account_id\n WHERE t.operation IN ('PREVOD NA UCET', 'PREVOD Z UCTU')\n AND NULLIF(TRIM(t.bank), '') IS NOT NULL\n AND t.\"account\" IS NOT NULL\n), counterparty_counts AS (\n SELECT account_id, COUNT(*) AS external_counterparty_count\n FROM external_counterparties\n GROUP BY account_id\n)\nSELECT g.account_id,\n di.A2 AS district_name,\n di.A3 AS region,\n COALESCE(tt.total_received, 0) AS total_received,\n COALESCE(tt.total_withdrawn, 0) AS total_withdrawn,\n COALESCE(lc.loan_count, 0) AS loan_count,\n COALESCE(cc.external_counterparty_count, 0) AS external_counterparty_count,\n DENSE_RANK() OVER (\n ORDER BY COALESCE(cc.external_counterparty_count, 0) DESC\n ) AS counterparty_rank\nFROM gold_accounts AS g\nJOIN account AS a ON a.account_id = g.account_id\nJOIN district AS di ON di.district_id = a.district_id\nLEFT JOIN transaction_totals AS tt ON tt.account_id = g.account_id\nLEFT JOIN loan_counts AS lc ON lc.account_id = g.account_id\nLEFT JOIN counterparty_counts AS cc ON cc.account_id = g.account_id\nORDER BY counterparty_rank, g.account_id;\n```", "rows": 88, "sql": "WITH gold_accounts AS (\n SELECT DISTINCT d.account_id\n FROM card AS c\n JOIN disp AS d ON d.disp_id = c.disp_id\n WHERE c.type = 'gold'\n), transaction_totals AS (\n SELECT t.account_id,\n SUM(CASE WHEN t.type = 'PRIJEM' THEN t.amount ELSE 0 END) AS total_received,\n SUM(CASE WHEN t.type = 'VYDAJ' THEN t.amount ELSE 0 END) AS total_withdrawn\n FROM trans AS t\n JOIN gold_accounts AS g ON g.account_id = t.account_id\n GROUP BY t.account_id\n), loan_counts AS (\n SELECT l.account_id, COUNT(*) AS loan_count\n FROM loan AS l\n JOIN gold_accounts AS g ON g.account_id = l.account_id\n GROUP BY l.account_id\n), external_counterparties AS (\n SELECT DISTINCT t.account_id, t.bank, t.\"account\" AS counterparty_account\n FROM trans AS t\n JOIN gold_accounts AS g ON g.account_id = t.account_id\n WHERE t.operation IN ('PREVOD NA UCET', 'PREVOD Z UCTU')\n AND NULLIF(TRIM(t.bank), '') IS NOT NULL\n AND t.\"account\" IS NOT NULL\n), counterparty_counts AS (\n SELECT account_id, COUNT(*) AS external_counterparty_count\n FROM external_counterparties\n GROUP BY account_id\n)\nSELECT g.account_id,\n di.A2 AS district_name,\n di.A3 AS region,\n COALESCE(tt.total_received, 0) AS total_received,\n COALESCE(tt.total_withdrawn, 0) AS total_withdrawn,\n COALESCE(lc.loan_count, 0) AS loan_count,\n COALESCE(cc.external_counterparty_count, 0) AS external_counterparty_count,\n DENSE_RANK() OVER (\n ORDER BY COALESCE(cc.external_counterparty_count, 0) DESC\n ) AS counterparty_rank\nFROM gold_accounts AS g\nJOIN account AS a ON a.account_id = g.account_id\nJOIN district AS di ON di.district_id = a.district_id\nLEFT JOIN transaction_totals AS tt ON tt.account_id = g.account_id\nLEFT JOIN loan_counts AS lc ON lc.account_id = g.account_id\nLEFT JOIN counterparty_counts AS cc ON cc.account_id = g.account_id\nORDER BY counterparty_rank, g.account_id;", "seconds": 31.346162916976027, "calls": [{"seconds": 5.798860415932722, "usage": {"completion_tokens": 110, "prompt_tokens": 1793, "total_tokens": 1903, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1246, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1246, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1246, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.960600208025426, "usage": {"completion_tokens": 298, "prompt_tokens": 2314, "total_tokens": 2612, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 101, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 521, "cached_tokens": 1246, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 521, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 521, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.224797707982361, "usage": {"completion_tokens": 594, "prompt_tokens": 3103, "total_tokens": 3697, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 38, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 789, "cached_tokens": 1767, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 789, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 789, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.628650167025626, "usage": {"completion_tokens": 526, "prompt_tokens": 5784, "total_tokens": 6310, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 2681, "cached_tokens": 2556, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 2681, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 2681, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "84351b77a0334a6a891435aa5139e1bfe35013b9a2149b9becc1352bbbff367a", "csv_sha256": "080d22cfbcacfec47a55ccb9be71a2d6f48c40b6f4b5d657ebd5469e91c5ec31"} +{"instance_id": "bird234", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH branch_accounts AS (\n SELECT a.account_id, a.date AS opened_date\n FROM account AS a\n JOIN district AS d ON d.district_id = a.district_id\n WHERE d.A2 = 'Tabor'\n AND a.date < '1997-01-01'\n), card_counts AS (\n SELECT dp.account_id, COUNT(*) AS credit_card_count\n FROM branch_accounts AS a\n JOIN disp AS dp ON dp.account_id = a.account_id\n JOIN card AS ca ON ca.disp_id = dp.disp_id\n WHERE ca.issued < '1997-01-01'\n GROUP BY dp.account_id\n), loan_summary AS (\n SELECT l.account_id,\n COUNT(*) AS loan_count,\n MAX(CASE WHEN l.status = 'B' THEN 1 ELSE 0 END) AS has_default,\n MAX(CASE WHEN l.status IN ('C', 'D') THEN 1 ELSE 0 END) AS has_repaying\n FROM branch_accounts AS a\n JOIN loan AS l ON l.account_id = a.account_id\n WHERE l.date < '1997-01-01'\n GROUP BY l.account_id\n), activity AS (\n SELECT t.account_id,\n COUNT(*) AS transaction_count_1997,\n SUM(CASE WHEN t.type = 'PRIJEM' THEN t.amount ELSE 0 END) AS money_in_1997,\n SUM(CASE WHEN t.type IN ('VYDAJ', 'VYBER') THEN t.amount ELSE 0 END) AS money_out_1997,\n MAX(t.balance) AS peak_balance_1997\n FROM branch_accounts AS a\n JOIN trans AS t ON t.account_id = a.account_id\n WHERE t.date >= '1997-01-01' AND t.date < '1998-01-01'\n GROUP BY t.account_id\n)\nSELECT a.account_id,\n a.opened_date,\n c.gender AS owner_gender,\n 1996 - CAST(strftime('%Y', c.birth_date) AS INTEGER) AS owner_age,\n COALESCE(cc.credit_card_count, 0) AS credit_card_count,\n COALESCE(ls.loan_count, 0) AS loan_count,\n CASE\n WHEN ls.loan_count IS NULL THEN 'no loan'\n WHEN ls.has_default = 1 THEN 'defaulted'\n WHEN ls.has_repaying = 1 THEN 'repaying'\n ELSE 'paid off'\n END AS loan_standing,\n COALESCE(t.transaction_count_1997, 0) AS transaction_count_1997,\n COALESCE(t.money_in_1997, 0) AS money_in_1997,\n COALESCE(t.money_out_1997, 0) AS money_out_1997,\n COALESCE(t.peak_balance_1997, 0) AS peak_balance_1997,\n RANK() OVER (ORDER BY COALESCE(t.peak_balance_1997, 0) DESC) AS peak_balance_rank\nFROM branch_accounts AS a\nJOIN disp AS owner ON owner.account_id = a.account_id AND owner.type = 'OWNER'\nJOIN client AS c ON c.client_id = owner.client_id\nLEFT JOIN card_counts AS cc ON cc.account_id = a.account_id\nLEFT JOIN loan_summary AS ls ON ls.account_id = a.account_id\nLEFT JOIN activity AS t ON t.account_id = a.account_id\nORDER BY peak_balance_rank, a.account_id;\n```", "rows": 37, "sql": "WITH branch_accounts AS (\n SELECT a.account_id, a.date AS opened_date\n FROM account AS a\n JOIN district AS d ON d.district_id = a.district_id\n WHERE d.A2 = 'Tabor'\n AND a.date < '1997-01-01'\n), card_counts AS (\n SELECT dp.account_id, COUNT(*) AS credit_card_count\n FROM branch_accounts AS a\n JOIN disp AS dp ON dp.account_id = a.account_id\n JOIN card AS ca ON ca.disp_id = dp.disp_id\n WHERE ca.issued < '1997-01-01'\n GROUP BY dp.account_id\n), loan_summary AS (\n SELECT l.account_id,\n COUNT(*) AS loan_count,\n MAX(CASE WHEN l.status = 'B' THEN 1 ELSE 0 END) AS has_default,\n MAX(CASE WHEN l.status IN ('C', 'D') THEN 1 ELSE 0 END) AS has_repaying\n FROM branch_accounts AS a\n JOIN loan AS l ON l.account_id = a.account_id\n WHERE l.date < '1997-01-01'\n GROUP BY l.account_id\n), activity AS (\n SELECT t.account_id,\n COUNT(*) AS transaction_count_1997,\n SUM(CASE WHEN t.type = 'PRIJEM' THEN t.amount ELSE 0 END) AS money_in_1997,\n SUM(CASE WHEN t.type IN ('VYDAJ', 'VYBER') THEN t.amount ELSE 0 END) AS money_out_1997,\n MAX(t.balance) AS peak_balance_1997\n FROM branch_accounts AS a\n JOIN trans AS t ON t.account_id = a.account_id\n WHERE t.date >= '1997-01-01' AND t.date < '1998-01-01'\n GROUP BY t.account_id\n)\nSELECT a.account_id,\n a.opened_date,\n c.gender AS owner_gender,\n 1996 - CAST(strftime('%Y', c.birth_date) AS INTEGER) AS owner_age,\n COALESCE(cc.credit_card_count, 0) AS credit_card_count,\n COALESCE(ls.loan_count, 0) AS loan_count,\n CASE\n WHEN ls.loan_count IS NULL THEN 'no loan'\n WHEN ls.has_default = 1 THEN 'defaulted'\n WHEN ls.has_repaying = 1 THEN 'repaying'\n ELSE 'paid off'\n END AS loan_standing,\n COALESCE(t.transaction_count_1997, 0) AS transaction_count_1997,\n COALESCE(t.money_in_1997, 0) AS money_in_1997,\n COALESCE(t.money_out_1997, 0) AS money_out_1997,\n COALESCE(t.peak_balance_1997, 0) AS peak_balance_1997,\n RANK() OVER (ORDER BY COALESCE(t.peak_balance_1997, 0) DESC) AS peak_balance_rank\nFROM branch_accounts AS a\nJOIN disp AS owner ON owner.account_id = a.account_id AND owner.type = 'OWNER'\nJOIN client AS c ON c.client_id = owner.client_id\nLEFT JOIN card_counts AS cc ON cc.account_id = a.account_id\nLEFT JOIN loan_summary AS ls ON ls.account_id = a.account_id\nLEFT JOIN activity AS t ON t.account_id = a.account_id\nORDER BY peak_balance_rank, a.account_id;", "seconds": 46.33057870797347, "calls": [{"seconds": 2.2102355409879237, "usage": {"completion_tokens": 15, "prompt_tokens": 2053, "total_tokens": 2068, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1506, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1506, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1506, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4772356669418514, "usage": {"completion_tokens": 125, "prompt_tokens": 2105, "total_tokens": 2230, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 52, "cached_tokens": 1506, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 52, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 52, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.335523874964565, "usage": {"completion_tokens": 181, "prompt_tokens": 2685, "total_tokens": 2866, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 580, "cached_tokens": 1558, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 580, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 580, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.59217283304315, "usage": {"completion_tokens": 700, "prompt_tokens": 3217, "total_tokens": 3917, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 319, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 532, "cached_tokens": 2138, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 532, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 532, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.35437075002119, "usage": {"completion_tokens": 862, "prompt_tokens": 4350, "total_tokens": 5212, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 80, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1133, "cached_tokens": 2670, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1133, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1133, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.659101707977243, "usage": {"completion_tokens": 738, "prompt_tokens": 7616, "total_tokens": 8354, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 3266, "cached_tokens": 3803, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 3266, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 3266, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ddc3449884c68f1491b6fedb06dc37190d215a987a4800fea5fe0cd9cf07c11c", "csv_sha256": "ea05a5f8588e5ebf6b8fc0dd88b50b4825113503f173f7e272211c6265f16042"} +{"instance_id": "bird235", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH classic_owners AS (\n SELECT DISTINCT a.district_id, a.account_id, d.client_id\n FROM disp AS d\n JOIN account AS a ON a.account_id = d.account_id\n WHERE d.type = 'OWNER'\n AND EXISTS (\n SELECT 1\n FROM card AS c\n WHERE c.disp_id = d.disp_id AND c.type = 'classic'\n )\n), owner_counts AS (\n SELECT district_id, COUNT(DISTINCT client_id) AS client_count\n FROM classic_owners\n GROUP BY district_id\n), classic_accounts AS (\n SELECT DISTINCT district_id, account_id\n FROM classic_owners\n), payments_by_destination AS (\n SELECT a.district_id, t.bank, t.\"account\", SUM(t.amount) AS amount_paid\n FROM classic_accounts AS a\n JOIN trans AS t ON t.account_id = a.account_id\n WHERE t.type = 'VYDAJ'\n AND t.bank IS NOT NULL\n AND t.\"account\" IS NOT NULL\n GROUP BY a.district_id, t.bank, t.\"account\"\n), payment_totals AS (\n SELECT district_id, COUNT(*) AS external_account_count,\n SUM(amount_paid) AS total_amount_paid\n FROM payments_by_destination\n GROUP BY district_id\n)\nSELECT d.A2 AS district_name,\n COALESCE(o.client_count, 0) AS client_count,\n COALESCE(p.external_account_count, 0) AS external_account_count,\n COALESCE(p.total_amount_paid, 0) AS total_amount_paid\nFROM district AS d\nLEFT JOIN owner_counts AS o ON o.district_id = d.district_id\nLEFT JOIN payment_totals AS p ON p.district_id = d.district_id\nORDER BY total_amount_paid DESC, district_name ASC;\n```", "rows": 77, "sql": "WITH classic_owners AS (\n SELECT DISTINCT a.district_id, a.account_id, d.client_id\n FROM disp AS d\n JOIN account AS a ON a.account_id = d.account_id\n WHERE d.type = 'OWNER'\n AND EXISTS (\n SELECT 1\n FROM card AS c\n WHERE c.disp_id = d.disp_id AND c.type = 'classic'\n )\n), owner_counts AS (\n SELECT district_id, COUNT(DISTINCT client_id) AS client_count\n FROM classic_owners\n GROUP BY district_id\n), classic_accounts AS (\n SELECT DISTINCT district_id, account_id\n FROM classic_owners\n), payments_by_destination AS (\n SELECT a.district_id, t.bank, t.\"account\", SUM(t.amount) AS amount_paid\n FROM classic_accounts AS a\n JOIN trans AS t ON t.account_id = a.account_id\n WHERE t.type = 'VYDAJ'\n AND t.bank IS NOT NULL\n AND t.\"account\" IS NOT NULL\n GROUP BY a.district_id, t.bank, t.\"account\"\n), payment_totals AS (\n SELECT district_id, COUNT(*) AS external_account_count,\n SUM(amount_paid) AS total_amount_paid\n FROM payments_by_destination\n GROUP BY district_id\n)\nSELECT d.A2 AS district_name,\n COALESCE(o.client_count, 0) AS client_count,\n COALESCE(p.external_account_count, 0) AS external_account_count,\n COALESCE(p.total_amount_paid, 0) AS total_amount_paid\nFROM district AS d\nLEFT JOIN owner_counts AS o ON o.district_id = d.district_id\nLEFT JOIN payment_totals AS p ON p.district_id = d.district_id\nORDER BY total_amount_paid DESC, district_name ASC;", "seconds": 36.51024583296385, "calls": [{"seconds": 3.480211792048067, "usage": {"completion_tokens": 124, "prompt_tokens": 1832, "total_tokens": 1956, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1285, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1285, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1285, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.337799583096057, "usage": {"completion_tokens": 345, "prompt_tokens": 2375, "total_tokens": 2720, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 189, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 543, "cached_tokens": 1285, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 543, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 543, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 16.000414832960814, "usage": {"completion_tokens": 936, "prompt_tokens": 2958, "total_tokens": 3894, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 516, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 583, "cached_tokens": 1828, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 583, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 583, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.253134332946502, "usage": {"completion_tokens": 410, "prompt_tokens": 5098, "total_tokens": 5508, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 20, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 2140, "cached_tokens": 2411, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 2140, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 2140, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d720a768a904199c8c9238f0097d7678330cde8767a3ab65b19a63a906d32179", "csv_sha256": "8f0285f9e7f59b5d72bc3925a800e71bb89e4c424ad0fc0e632b90f9eadba599"} +{"instance_id": "bird236", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(d.A11), 2) AS average_salary\nFROM district AS d\nWHERE EXISTS (\n SELECT 1\n FROM account AS a\n JOIN disp AS dp ON dp.account_id = a.account_id\n JOIN client AS c ON c.client_id = dp.client_id\n WHERE a.district_id = d.district_id\n AND c.gender = 'F'\n AND DATE(c.birth_date) < '1930-01-01'\n);\n```", "rows": 1, "sql": "SELECT ROUND(AVG(d.A11), 2) AS average_salary\nFROM district AS d\nWHERE EXISTS (\n SELECT 1\n FROM account AS a\n JOIN disp AS dp ON dp.account_id = a.account_id\n JOIN client AS c ON c.client_id = dp.client_id\n WHERE a.district_id = d.district_id\n AND c.gender = 'F'\n AND DATE(c.birth_date) < '1930-01-01'\n);", "seconds": 16.46095725009218, "calls": [{"seconds": 2.590960416942835, "usage": {"completion_tokens": 80, "prompt_tokens": 1690, "total_tokens": 1770, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1143, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1143, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1143, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.63919604208786, "usage": {"completion_tokens": 113, "prompt_tokens": 2040, "total_tokens": 2153, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 93, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 350, "cached_tokens": 1143, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 350, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 350, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.932318042032421, "usage": {"completion_tokens": 214, "prompt_tokens": 2183, "total_tokens": 2397, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 93, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 143, "cached_tokens": 1493, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 143, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 143, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.269274416961707, "usage": {"completion_tokens": 107, "prompt_tokens": 2526, "total_tokens": 2633, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 343, "cached_tokens": 1636, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 343, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 343, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9915c2df1038b84d856cf2b7b3eaac287c722781e87daed7b4ce59e510ba2f7d", "csv_sha256": "0429761234926f1b2e293099ee0aa8c79649372e02934de9f77428d05b2134c5"} +{"instance_id": "bird237", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(d.A11), 2) AS average_district_salary\nFROM district AS d\nWHERE EXISTS (\n SELECT 1\n FROM client AS c\n WHERE c.district_id = d.district_id\n AND c.gender = 'F'\n AND c.birth_date < '1950-01-01'\n);\n```", "rows": 1, "sql": "SELECT ROUND(AVG(d.A11), 2) AS average_district_salary\nFROM district AS d\nWHERE EXISTS (\n SELECT 1\n FROM client AS c\n WHERE c.district_id = d.district_id\n AND c.gender = 'F'\n AND c.birth_date < '1950-01-01'\n);", "seconds": 20.708876333083026, "calls": [{"seconds": 2.5591233749873936, "usage": {"completion_tokens": 50, "prompt_tokens": 1674, "total_tokens": 1724, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1127, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1127, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1127, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.595079249935225, "usage": {"completion_tokens": 152, "prompt_tokens": 1907, "total_tokens": 2059, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 101, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 233, "cached_tokens": 1127, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 233, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 233, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.815693874959834, "usage": {"completion_tokens": 105, "prompt_tokens": 2158, "total_tokens": 2263, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 84, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 251, "cached_tokens": 1360, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 251, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 251, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.08968558406923, "usage": {"completion_tokens": 112, "prompt_tokens": 2285, "total_tokens": 2397, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 19, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 127, "cached_tokens": 1611, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 127, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 127, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.630846417043358, "usage": {"completion_tokens": 79, "prompt_tokens": 2500, "total_tokens": 2579, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 215, "cached_tokens": 1738, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 215, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 215, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6dd6b1ee3ba5bdee7ce41f0d46c265d4ceda464fceea0ed51e73aa21f126b15f", "csv_sha256": "456be9da72b04a8ebf6d0b2d6a296eb466c8e95881d09f6640bf91ba55b5cfd2"} +{"instance_id": "bird238", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(d.A11), 2) AS average_district_salary\nFROM district AS d\nWHERE EXISTS (\n SELECT 1\n FROM account AS a\n JOIN loan AS l ON l.account_id = a.account_id\n WHERE a.district_id = d.district_id\n AND l.amount < 100000\n AND l.status = 'C'\n);\n```", "rows": 1, "sql": "SELECT ROUND(AVG(d.A11), 2) AS average_district_salary\nFROM district AS d\nWHERE EXISTS (\n SELECT 1\n FROM account AS a\n JOIN loan AS l ON l.account_id = a.account_id\n WHERE a.district_id = d.district_id\n AND l.amount < 100000\n AND l.status = 'C'\n);", "seconds": 12.75138666597195, "calls": [{"seconds": 2.4804025419289246, "usage": {"completion_tokens": 65, "prompt_tokens": 1702, "total_tokens": 1767, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1155, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1155, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1155, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9621731659863144, "usage": {"completion_tokens": 49, "prompt_tokens": 2013, "total_tokens": 2062, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 29, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 311, "cached_tokens": 1155, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 311, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 311, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4962673750706017, "usage": {"completion_tokens": 99, "prompt_tokens": 2092, "total_tokens": 2191, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 79, "cached_tokens": 1466, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 79, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 79, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7900757499737665, "usage": {"completion_tokens": 88, "prompt_tokens": 2303, "total_tokens": 2391, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 211, "cached_tokens": 1545, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 211, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 211, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5012bd0834b354b10e6a0fdbb388ff41290ac55036f7339dfc6615b3bc420d46", "csv_sha256": "4ac8a4d96aecac3adb02924da8b6f78dd1ff7a31bd89e4b5ff9b09e18bf32532"} +{"instance_id": "bird239", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH cohorts(cohort, sort_order, start_date, end_date) AS (\n VALUES ('young', 1, '1980-01-01', NULL),\n ('old', 2, NULL, '1920-01-01')\n), cohort_districts AS (\n SELECT DISTINCT c.cohort, a.district_id\n FROM cohorts AS c\n JOIN client AS cl\n ON (c.start_date IS NULL OR cl.birth_date >= c.start_date)\n AND (c.end_date IS NULL OR cl.birth_date < c.end_date)\n JOIN disp AS di ON di.client_id = cl.client_id\n JOIN account AS a ON a.account_id = di.account_id\n)\nSELECT c.cohort, CAST(ROUND(AVG(d.A11)) AS INTEGER) AS average_salary\nFROM cohorts AS c\nLEFT JOIN cohort_districts AS cd ON cd.cohort = c.cohort\nLEFT JOIN district AS d ON d.district_id = cd.district_id\nGROUP BY c.cohort, c.sort_order\nORDER BY c.sort_order;\n```", "rows": 2, "sql": "WITH cohorts(cohort, sort_order, start_date, end_date) AS (\n VALUES ('young', 1, '1980-01-01', NULL),\n ('old', 2, NULL, '1920-01-01')\n), cohort_districts AS (\n SELECT DISTINCT c.cohort, a.district_id\n FROM cohorts AS c\n JOIN client AS cl\n ON (c.start_date IS NULL OR cl.birth_date >= c.start_date)\n AND (c.end_date IS NULL OR cl.birth_date < c.end_date)\n JOIN disp AS di ON di.client_id = cl.client_id\n JOIN account AS a ON a.account_id = di.account_id\n)\nSELECT c.cohort, CAST(ROUND(AVG(d.A11)) AS INTEGER) AS average_salary\nFROM cohorts AS c\nLEFT JOIN cohort_districts AS cd ON cd.cohort = c.cohort\nLEFT JOIN district AS d ON d.district_id = cd.district_id\nGROUP BY c.cohort, c.sort_order\nORDER BY c.sort_order;", "seconds": 24.39350129093509, "calls": [{"seconds": 2.6492462910246104, "usage": {"completion_tokens": 80, "prompt_tokens": 1706, "total_tokens": 1786, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1159, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1159, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1159, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.134262040955946, "usage": {"completion_tokens": 18, "prompt_tokens": 2056, "total_tokens": 2074, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 350, "cached_tokens": 1159, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 350, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 350, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.6000298749422655, "usage": {"completion_tokens": 168, "prompt_tokens": 2104, "total_tokens": 2272, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 93, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1509, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.99584354099352, "usage": {"completion_tokens": 469, "prompt_tokens": 2393, "total_tokens": 2862, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 215, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 289, "cached_tokens": 1557, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 289, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 289, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.993103165994398, "usage": {"completion_tokens": 250, "prompt_tokens": 3130, "total_tokens": 3380, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 14, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 737, "cached_tokens": 1846, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 737, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 737, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0fadbadfceb49bc3f399519100384f704f042bdc90100ab75f7ed1149d227e44", "csv_sha256": "b3ba1861baf5edc79a17f456851ce7ec68c6c04c2f6b78b3a1adbc0210ff827c"} +{"instance_id": "bird240", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH speeds AS (\n SELECT\n MAX(CASE WHEN r.raceId = 853 THEN CAST(r.fastestLapSpeed AS REAL) END) AS speed_853,\n MAX(CASE WHEN r.raceId = 854 THEN CAST(r.fastestLapSpeed AS REAL) END) AS speed_854\n FROM results AS r\n JOIN drivers AS d ON d.driverId = r.driverId\n WHERE d.forename = 'Paul'\n AND d.surname = 'di Resta'\n AND r.raceId IN (853, 854)\n)\nSELECT ROUND(100.0 * (speed_853 - speed_854) / speed_854, 2) AS percentage_higher\nFROM speeds;\n```", "rows": 1, "sql": "WITH speeds AS (\n SELECT\n MAX(CASE WHEN r.raceId = 853 THEN CAST(r.fastestLapSpeed AS REAL) END) AS speed_853,\n MAX(CASE WHEN r.raceId = 854 THEN CAST(r.fastestLapSpeed AS REAL) END) AS speed_854\n FROM results AS r\n JOIN drivers AS d ON d.driverId = r.driverId\n WHERE d.forename = 'Paul'\n AND d.surname = 'di Resta'\n AND r.raceId IN (853, 854)\n)\nSELECT ROUND(100.0 * (speed_853 - speed_854) / speed_854, 2) AS percentage_higher\nFROM speeds;", "seconds": 11.893800458055921, "calls": [{"seconds": 2.437349457992241, "usage": {"completion_tokens": 50, "prompt_tokens": 1653, "total_tokens": 1703, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1088, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1088, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1088, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.510066167102195, "usage": {"completion_tokens": 221, "prompt_tokens": 1907, "total_tokens": 2128, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 45, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 254, "cached_tokens": 1088, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 254, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 254, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.91331633401569, "usage": {"completion_tokens": 159, "prompt_tokens": 2309, "total_tokens": 2468, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 402, "cached_tokens": 1342, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 402, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 402, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2fcf84e491581a4d3e707caacb8b1ed0108e3a1f3ac1a24f69f3ac65340f7747", "csv_sha256": "614aee262a3140ef1392a1d9f318d8721e4f43a7bf01981b0d15aa7019f33a68"} +{"instance_id": "bird241", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(100.0 * (COUNT(*) - COUNT(CASE WHEN re.position = 1 THEN 1 END)) / COUNT(*), 2) AS non_victory_percentage\nFROM results AS re\nJOIN drivers AS d ON d.driverId = re.driverId\nJOIN races AS ra ON ra.raceId = re.raceId\nWHERE d.forename = 'Lewis'\n AND d.surname = 'Hamilton'\n AND ra.year >= 2010;\n```", "rows": 1, "sql": "SELECT ROUND(100.0 * (COUNT(*) - COUNT(CASE WHEN re.position = 1 THEN 1 END)) / COUNT(*), 2) AS non_victory_percentage\nFROM results AS re\nJOIN drivers AS d ON d.driverId = re.driverId\nJOIN races AS ra ON ra.raceId = re.raceId\nWHERE d.forename = 'Lewis'\n AND d.surname = 'Hamilton'\n AND ra.year >= 2010;", "seconds": 10.779178791912273, "calls": [{"seconds": 3.201864833943546, "usage": {"completion_tokens": 80, "prompt_tokens": 1636, "total_tokens": 1716, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1071, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1071, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1071, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9366625839611515, "usage": {"completion_tokens": 142, "prompt_tokens": 2014, "total_tokens": 2156, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 23, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 378, "cached_tokens": 1071, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 378, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 378, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.615438082953915, "usage": {"completion_tokens": 120, "prompt_tokens": 2286, "total_tokens": 2406, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 12, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 272, "cached_tokens": 1449, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 272, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 272, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1dc899b697398025e54b0c586b1bfa523be8156bc455456da1640156854f5562", "csv_sha256": "906cdadc57c26af5b54852f087714b509b3cdc55e6c59d4a6cfcb62a9c908190"} +{"instance_id": "bird242", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH race_wins AS (\n SELECT driverId, COUNT(DISTINCT raceId) AS win_count\n FROM results\n WHERE position = 1\n GROUP BY driverId\n)\nSELECT d.forename AS first_name,\n d.surname AS last_name,\n d.nationality,\n (SELECT MAX(ds.points)\n FROM driverStandings AS ds\n WHERE ds.driverId = d.driverId) AS highest_standings_points\nFROM race_wins AS w\nJOIN drivers AS d ON d.driverId = w.driverId\nWHERE w.win_count = (SELECT MAX(win_count) FROM race_wins);\n```", "rows": 1, "sql": "WITH race_wins AS (\n SELECT driverId, COUNT(DISTINCT raceId) AS win_count\n FROM results\n WHERE position = 1\n GROUP BY driverId\n)\nSELECT d.forename AS first_name,\n d.surname AS last_name,\n d.nationality,\n (SELECT MAX(ds.points)\n FROM driverStandings AS ds\n WHERE ds.driverId = d.driverId) AS highest_standings_points\nFROM race_wins AS w\nJOIN drivers AS d ON d.driverId = w.driverId\nWHERE w.win_count = (SELECT MAX(win_count) FROM race_wins);", "seconds": 12.495346958050504, "calls": [{"seconds": 3.068167958059348, "usage": {"completion_tokens": 83, "prompt_tokens": 1641, "total_tokens": 1724, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1076, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1076, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1076, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.1727338338969275, "usage": {"completion_tokens": 216, "prompt_tokens": 2058, "total_tokens": 2274, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 61, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 417, "cached_tokens": 1076, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 417, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 417, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.224647208000533, "usage": {"completion_tokens": 138, "prompt_tokens": 2457, "total_tokens": 2595, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 399, "cached_tokens": 1493, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 399, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 399, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "c7610f77c3492f5b3cb03e2fe48797fb8a42f5c505afba08cb5307a7b3000620", "csv_sha256": "72132e11c0daba39c30f1cd16712f539c8a63ea59efb8d6f007fd3e9ab493f58"} +{"instance_id": "bird243", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH race_results AS (\n SELECT res.position, res.laps, res.milliseconds, res.statusId\n FROM races AS r\n JOIN results AS res ON res.raceId = r.raceId\n WHERE r.year = 1988 AND r.name = 'Australian Grand Prix'\n), winner AS (\n SELECT laps, milliseconds\n FROM race_results\n WHERE position = 1\n), last_finisher AS (\n SELECT rr.milliseconds\n FROM race_results AS rr\n JOIN winner AS w ON rr.laps = w.laps\n JOIN status AS s ON s.statusId = rr.statusId\n WHERE s.status = 'Finished'\n ORDER BY rr.position DESC\n LIMIT 1\n)\nSELECT ROUND(100.0 * (lf.milliseconds - w.milliseconds) / lf.milliseconds, 2) AS percentage_shorter\nFROM winner AS w\nCROSS JOIN last_finisher AS lf;\n```", "rows": 1, "sql": "WITH race_results AS (\n SELECT res.position, res.laps, res.milliseconds, res.statusId\n FROM races AS r\n JOIN results AS res ON res.raceId = r.raceId\n WHERE r.year = 1988 AND r.name = 'Australian Grand Prix'\n), winner AS (\n SELECT laps, milliseconds\n FROM race_results\n WHERE position = 1\n), last_finisher AS (\n SELECT rr.milliseconds\n FROM race_results AS rr\n JOIN winner AS w ON rr.laps = w.laps\n JOIN status AS s ON s.statusId = rr.statusId\n WHERE s.status = 'Finished'\n ORDER BY rr.position DESC\n LIMIT 1\n)\nSELECT ROUND(100.0 * (lf.milliseconds - w.milliseconds) / lf.milliseconds, 2) AS percentage_shorter\nFROM winner AS w\nCROSS JOIN last_finisher AS lf;", "seconds": 15.685206457972527, "calls": [{"seconds": 2.6599192910362035, "usage": {"completion_tokens": 66, "prompt_tokens": 1656, "total_tokens": 1722, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1091, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1091, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1091, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0311453338945284, "usage": {"completion_tokens": 91, "prompt_tokens": 1949, "total_tokens": 2040, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 293, "cached_tokens": 1091, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 293, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 293, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.498940041987225, "usage": {"completion_tokens": 260, "prompt_tokens": 2656, "total_tokens": 2916, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 41, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 707, "cached_tokens": 1384, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 707, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 707, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.455718209035695, "usage": {"completion_tokens": 214, "prompt_tokens": 3140, "total_tokens": 3354, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 10, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 484, "cached_tokens": 2091, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 484, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 484, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d76fa5e93eb161561a9d003563bcec8c305d6bc3e3d11fec5933dc30dbc48898", "csv_sha256": "973e37f1824d3ed5793f2ea6327ae42ab6de54384789e76b565a734c8d9c0d69"} +{"instance_id": "bird244", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(100.0 * AVG(CASE WHEN EXISTS (\n SELECT 1\n FROM results AS winner\n WHERE winner.raceId = entry.raceId\n AND winner.position = 1\n AND winner.laps = entry.laps\n) THEN 1.0 ELSE 0.0 END), 2) AS percentage\nFROM results AS entry\nJOIN drivers AS driver ON driver.driverId = entry.driverId\nJOIN races AS race ON race.raceId = entry.raceId\nWHERE driver.nationality = 'Japanese'\n AND race.year BETWEEN 2007 AND 2009;\n```", "rows": 1, "sql": "SELECT ROUND(100.0 * AVG(CASE WHEN EXISTS (\n SELECT 1\n FROM results AS winner\n WHERE winner.raceId = entry.raceId\n AND winner.position = 1\n AND winner.laps = entry.laps\n) THEN 1.0 ELSE 0.0 END), 2) AS percentage\nFROM results AS entry\nJOIN drivers AS driver ON driver.driverId = entry.driverId\nJOIN races AS race ON race.raceId = entry.raceId\nWHERE driver.nationality = 'Japanese'\n AND race.year BETWEEN 2007 AND 2009;", "seconds": 11.883803333039396, "calls": [{"seconds": 2.580754208029248, "usage": {"completion_tokens": 66, "prompt_tokens": 1642, "total_tokens": 1708, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1077, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1077, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1077, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.65028641698882, "usage": {"completion_tokens": 241, "prompt_tokens": 1978, "total_tokens": 2219, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 92, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 336, "cached_tokens": 1077, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 336, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 336, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.576914916979149, "usage": {"completion_tokens": 136, "prompt_tokens": 2375, "total_tokens": 2511, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 397, "cached_tokens": 1413, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 397, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 397, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8af8ca7f84b8350ff377abfce5eb772b604adaf590d11292881d07d3010e8911", "csv_sha256": "8d445dca6c1f11aa35195c9ec68208dbcaf784808a44e96739efd9952e7edb5c"} +{"instance_id": "bird245", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH winner_times AS (\n SELECT r.year, r.raceId, MIN(res.milliseconds) AS elapsed_ms\n FROM races AS r\n JOIN results AS res ON res.raceId = r.raceId\n WHERE r.year < 1975\n AND res.position = 1\n AND res.milliseconds IS NOT NULL\n GROUP BY r.year, r.raceId\n)\nSELECT year,\n ((SUM(elapsed_ms) + 5 * COUNT(*)) / (10 * COUNT(*))) / 100.0\n AS mean_winner_elapsed_seconds\nFROM winner_times\nGROUP BY year\nORDER BY year;\n```", "rows": 25, "sql": "WITH winner_times AS (\n SELECT r.year, r.raceId, MIN(res.milliseconds) AS elapsed_ms\n FROM races AS r\n JOIN results AS res ON res.raceId = r.raceId\n WHERE r.year < 1975\n AND res.position = 1\n AND res.milliseconds IS NOT NULL\n GROUP BY r.year, r.raceId\n)\nSELECT year,\n ((SUM(elapsed_ms) + 5 * COUNT(*)) / (10 * COUNT(*))) / 100.0\n AS mean_winner_elapsed_seconds\nFROM winner_times\nGROUP BY year\nORDER BY year;", "seconds": 33.81230712507386, "calls": [{"seconds": 2.508469916996546, "usage": {"completion_tokens": 65, "prompt_tokens": 1660, "total_tokens": 1725, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1095, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1095, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1095, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.075394665938802, "usage": {"completion_tokens": 163, "prompt_tokens": 1954, "total_tokens": 2117, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 32, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 294, "cached_tokens": 1095, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 294, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 294, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.1039046249352396, "usage": {"completion_tokens": 321, "prompt_tokens": 3139, "total_tokens": 3460, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 108, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1185, "cached_tokens": 1389, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1185, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1185, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.130101833958179, "usage": {"completion_tokens": 215, "prompt_tokens": 3670, "total_tokens": 3885, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 97, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 531, "cached_tokens": 2574, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 531, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 531, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8525228339713067, "usage": {"completion_tokens": 121, "prompt_tokens": 4067, "total_tokens": 4188, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 397, "cached_tokens": 3105, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 397, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 397, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.0368912919657305, "usage": {"completion_tokens": 233, "prompt_tokens": 4471, "total_tokens": 4704, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 77, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 404, "cached_tokens": 3502, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 404, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 404, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.0687244170112535, "usage": {"completion_tokens": 172, "prompt_tokens": 5095, "total_tokens": 5267, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 28, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 624, "cached_tokens": 3906, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 624, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 624, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "740cebd6fe495d96b24adb010b678a85bcc5ec91fca7031e73c7d823c2d0835a", "csv_sha256": "6375651b04fa26c45aeb7ba7fe207f8b8688f0901010c9f239c6453dc18752fb"} +{"instance_id": "bird246", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT 100.0 * COUNT(CASE WHEN d.dob < '1985-01-01' AND re.laps > 50 THEN 1 END)\n / NULLIF(COUNT(*), 0) AS percentage\nFROM results AS re\nJOIN races AS ra ON ra.raceId = re.raceId\nLEFT JOIN drivers AS d ON d.driverId = re.driverId\nWHERE ra.year BETWEEN 2000 AND 2005;\n```", "rows": 1, "sql": "SELECT 100.0 * COUNT(CASE WHEN d.dob < '1985-01-01' AND re.laps > 50 THEN 1 END)\n / NULLIF(COUNT(*), 0) AS percentage\nFROM results AS re\nJOIN races AS ra ON ra.raceId = re.raceId\nLEFT JOIN drivers AS d ON d.driverId = re.driverId\nWHERE ra.year BETWEEN 2000 AND 2005;", "seconds": 10.461250166990794, "calls": [{"seconds": 2.811471125110984, "usage": {"completion_tokens": 66, "prompt_tokens": 1643, "total_tokens": 1709, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1078, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1078, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1078, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.079991542035714, "usage": {"completion_tokens": 174, "prompt_tokens": 1979, "total_tokens": 2153, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 60, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 336, "cached_tokens": 1078, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 336, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 336, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.547405792050995, "usage": {"completion_tokens": 102, "prompt_tokens": 2279, "total_tokens": 2381, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 300, "cached_tokens": 1414, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 300, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 300, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8e0a890df92cec69639a45a33291a65910ee31d1b4e655588ab22c184cb3a75d", "csv_sha256": "db14abf9c70d8c13b10d9ad99998e673fce8f11e906f56c74a955be186ff082e"} +{"instance_id": "bird247", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH constructor_scores AS (\n SELECT cr.constructorId, SUM(cr.points) AS score\n FROM constructorResults AS cr\n JOIN races AS r ON r.raceId = cr.raceId\n WHERE r.name = 'Monaco Grand Prix'\n AND r.year BETWEEN 1980 AND 2010\n GROUP BY cr.constructorId\n)\nSELECT cs.score, c.name, c.nationality\nFROM constructor_scores AS cs\nJOIN constructors AS c ON c.constructorId = cs.constructorId\nWHERE cs.score = (SELECT MAX(score) FROM constructor_scores);\n```", "rows": 1, "sql": "WITH constructor_scores AS (\n SELECT cr.constructorId, SUM(cr.points) AS score\n FROM constructorResults AS cr\n JOIN races AS r ON r.raceId = cr.raceId\n WHERE r.name = 'Monaco Grand Prix'\n AND r.year BETWEEN 1980 AND 2010\n GROUP BY cr.constructorId\n)\nSELECT cs.score, c.name, c.nationality\nFROM constructor_scores AS cs\nJOIN constructors AS c ON c.constructorId = cs.constructorId\nWHERE cs.score = (SELECT MAX(score) FROM constructor_scores);", "seconds": 10.76481570804026, "calls": [{"seconds": 2.6415822909912094, "usage": {"completion_tokens": 68, "prompt_tokens": 1642, "total_tokens": 1710, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1077, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1077, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1077, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.505545708001591, "usage": {"completion_tokens": 163, "prompt_tokens": 1872, "total_tokens": 2035, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 24, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 230, "cached_tokens": 1077, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 230, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 230, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.601563125033863, "usage": {"completion_tokens": 125, "prompt_tokens": 2193, "total_tokens": 2318, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 321, "cached_tokens": 1307, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 321, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 321, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9eb2f42757a111befe326afacd0001d42abc835d6d2b50e43697ac9dea7fc812", "csv_sha256": "06eb77ca015ba12fbe74f9c8bfc064307a5178e68a9a97e82f372db204522602"} +{"instance_id": "bird248", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH q3_times AS (\n SELECT q.driverId,\n 60 * CAST(substr(q.q3, 1, instr(q.q3, ':') - 1) AS INTEGER)\n + CAST(substr(q.q3, instr(q.q3, ':') + 1) AS REAL) AS seconds\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n JOIN circuits AS c ON c.circuitId = r.circuitId\n WHERE r.year = 2008\n AND c.name = 'Marina Bay Street Circuit'\n AND instr(q.q3, ':') > 0\n)\nSELECT d.forename, d.surname\nFROM q3_times AS t\nJOIN drivers AS d ON d.driverId = t.driverId\nWHERE t.seconds = (SELECT MIN(seconds) FROM q3_times);\n```", "rows": 1, "sql": "WITH q3_times AS (\n SELECT q.driverId,\n 60 * CAST(substr(q.q3, 1, instr(q.q3, ':') - 1) AS INTEGER)\n + CAST(substr(q.q3, instr(q.q3, ':') + 1) AS REAL) AS seconds\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n JOIN circuits AS c ON c.circuitId = r.circuitId\n WHERE r.year = 2008\n AND c.name = 'Marina Bay Street Circuit'\n AND instr(q.q3, ':') > 0\n)\nSELECT d.forename, d.surname\nFROM q3_times AS t\nJOIN drivers AS d ON d.driverId = t.driverId\nWHERE t.seconds = (SELECT MIN(seconds) FROM q3_times);", "seconds": 14.393066875054501, "calls": [{"seconds": 4.5271963339764625, "usage": {"completion_tokens": 83, "prompt_tokens": 1639, "total_tokens": 1722, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1074, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1074, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1074, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.537189957918599, "usage": {"completion_tokens": 280, "prompt_tokens": 2000, "total_tokens": 2280, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 76, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 361, "cached_tokens": 1074, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 361, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 361, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.306145541951992, "usage": {"completion_tokens": 188, "prompt_tokens": 2494, "total_tokens": 2682, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 494, "cached_tokens": 1435, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 494, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 494, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6b38fbd8ee5865d217ee5a42669a6eeb2415dc8d3609db20b364787b73e05908", "csv_sha256": "1a64a7a38f118891547f1d24d81c6a02bf086986e8e1a6519eaf48c9515f3bfb"} +{"instance_id": "bird250", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH fastest_laps AS (\n SELECT c.circuitId, c.name, MIN(l.milliseconds) AS lap_ms\n FROM circuits AS c\n JOIN races AS r ON r.circuitId = c.circuitId\n JOIN lapTimes AS l ON l.raceId = r.raceId\n WHERE c.country = 'Italy'\n AND l.milliseconds IS NOT NULL\n GROUP BY c.circuitId, c.name\n)\nSELECT name AS circuit_name,\n printf('%d:%02d.%03d', lap_ms / 60000, (lap_ms / 1000) % 60, lap_ms % 1000) AS fastest_lap_time\nFROM fastest_laps\nORDER BY circuit_name;\n```", "rows": 2, "sql": "WITH fastest_laps AS (\n SELECT c.circuitId, c.name, MIN(l.milliseconds) AS lap_ms\n FROM circuits AS c\n JOIN races AS r ON r.circuitId = c.circuitId\n JOIN lapTimes AS l ON l.raceId = r.raceId\n WHERE c.country = 'Italy'\n AND l.milliseconds IS NOT NULL\n GROUP BY c.circuitId, c.name\n)\nSELECT name AS circuit_name,\n printf('%d:%02d.%03d', lap_ms / 60000, (lap_ms / 1000) % 60, lap_ms % 1000) AS fastest_lap_time\nFROM fastest_laps\nORDER BY circuit_name;", "seconds": 11.886507209041156, "calls": [{"seconds": 2.75833808304742, "usage": {"completion_tokens": 68, "prompt_tokens": 1643, "total_tokens": 1711, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1078, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1078, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1078, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.959613792016171, "usage": {"completion_tokens": 209, "prompt_tokens": 1898, "total_tokens": 2107, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 34, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1078, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9847300419351086, "usage": {"completion_tokens": 160, "prompt_tokens": 2324, "total_tokens": 2484, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 426, "cached_tokens": 1333, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 426, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 426, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9c3142a0e8cb46106dac063aec0f4b80883d2e1aa352e0680412c735876d0291", "csv_sha256": "7f0508325330ed4b9aaee999ac361fcc3d1537859839c36d616d5936c8d88f95"} +{"instance_id": "bird251", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH pit_stops_per_race AS (\n SELECT r.raceId, COUNT(p.raceId) AS pit_stop_count\n FROM races AS r\n LEFT JOIN pitStops AS p ON p.raceId = r.raceId\n WHERE r.year = 2017\n AND NOT EXISTS (\n SELECT 1\n FROM races AS r2000\n WHERE r2000.year = 2000\n AND r2000.name = r.name\n )\n GROUP BY r.raceId\n)\nSELECT ROUND(AVG(pit_stop_count), 2) AS average_pit_stops_per_race\nFROM pit_stops_per_race;\n```", "rows": 1, "sql": "WITH pit_stops_per_race AS (\n SELECT r.raceId, COUNT(p.raceId) AS pit_stop_count\n FROM races AS r\n LEFT JOIN pitStops AS p ON p.raceId = r.raceId\n WHERE r.year = 2017\n AND NOT EXISTS (\n SELECT 1\n FROM races AS r2000\n WHERE r2000.year = 2000\n AND r2000.name = r.name\n )\n GROUP BY r.raceId\n)\nSELECT ROUND(AVG(pit_stop_count), 2) AS average_pit_stops_per_race\nFROM pit_stops_per_race;", "seconds": 10.224555708002299, "calls": [{"seconds": 2.254471124964766, "usage": {"completion_tokens": 52, "prompt_tokens": 1689, "total_tokens": 1741, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1124, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1124, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1124, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9983035000041127, "usage": {"completion_tokens": 185, "prompt_tokens": 1870, "total_tokens": 2055, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 21, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 181, "cached_tokens": 1124, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 181, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 181, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.955693625030108, "usage": {"completion_tokens": 148, "prompt_tokens": 2230, "total_tokens": 2378, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 360, "cached_tokens": 1305, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 360, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 360, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0b250af798ae0b0aef62369f8985a23fee5dde26a3314a280e31b91de6a81cfe", "csv_sha256": "96c7f607461bf0f285b01f5f74318172703de076ce8ce3309ca136a977bfd3db"} +{"instance_id": "bird252", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT d.forename,\n d.surname,\n d.url,\n d.dob,\n COUNT(NULLIF(TRIM(q.q3), '')) AS q3_count\nFROM drivers AS d\nLEFT JOIN qualifying AS q ON q.driverId = d.driverId\nWHERE d.nationality = 'German'\n AND d.dob >= '1971-01-01'\n AND d.dob < '1986-01-01'\nGROUP BY d.driverId, d.forename, d.surname, d.url, d.dob\nORDER BY q3_count DESC, d.dob ASC;\n```", "rows": 7, "sql": "SELECT d.forename,\n d.surname,\n d.url,\n d.dob,\n COUNT(NULLIF(TRIM(q.q3), '')) AS q3_count\nFROM drivers AS d\nLEFT JOIN qualifying AS q ON q.driverId = d.driverId\nWHERE d.nationality = 'German'\n AND d.dob >= '1971-01-01'\n AND d.dob < '1986-01-01'\nGROUP BY d.driverId, d.forename, d.surname, d.url, d.dob\nORDER BY q3_count DESC, d.dob ASC;", "seconds": 16.067919375025667, "calls": [{"seconds": 2.6051456250716, "usage": {"completion_tokens": 51, "prompt_tokens": 1772, "total_tokens": 1823, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1207, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1207, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1207, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.319885874981992, "usage": {"completion_tokens": 130, "prompt_tokens": 1968, "total_tokens": 2098, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 196, "cached_tokens": 1207, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 196, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 196, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.998704458936118, "usage": {"completion_tokens": 224, "prompt_tokens": 2257, "total_tokens": 2481, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 79, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 289, "cached_tokens": 1403, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 289, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 289, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.119932665955275, "usage": {"completion_tokens": 162, "prompt_tokens": 2857, "total_tokens": 3019, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 27, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 600, "cached_tokens": 1692, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 600, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 600, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ad360b1cb3170af3d47840bb51ae90f213c9b67f8012191a5e843fdbe75fd231", "csv_sha256": "38ed6a7a94d6c21695df28b479c5d9d2b22c0b8c92b49091f889bbb48d7dceb9"} +{"instance_id": "bird253", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH q1_times AS (\n SELECT q.driverId, q.q1,\n 60 * CAST(SUBSTR(q.q1, 1, INSTR(q.q1, ':') - 1) AS INTEGER)\n + CAST(SUBSTR(q.q1, INSTR(q.q1, ':') + 1) AS REAL) AS elapsed_seconds\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n WHERE r.year = 1995\n AND r.name = 'Japanese Grand Prix'\n AND INSTR(q.q1, ':') > 0\n)\nSELECT d.driverRef, d.nationality, d.dob, t.q1\nFROM q1_times AS t\nJOIN drivers AS d ON d.driverId = t.driverId\nWHERE t.elapsed_seconds = (SELECT MAX(elapsed_seconds) FROM q1_times);\n```", "rows": 1, "sql": "WITH q1_times AS (\n SELECT q.driverId, q.q1,\n 60 * CAST(SUBSTR(q.q1, 1, INSTR(q.q1, ':') - 1) AS INTEGER)\n + CAST(SUBSTR(q.q1, INSTR(q.q1, ':') + 1) AS REAL) AS elapsed_seconds\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n WHERE r.year = 1995\n AND r.name = 'Japanese Grand Prix'\n AND INSTR(q.q1, ':') > 0\n)\nSELECT d.driverRef, d.nationality, d.dob, t.q1\nFROM q1_times AS t\nJOIN drivers AS d ON d.driverId = t.driverId\nWHERE t.elapsed_seconds = (SELECT MAX(elapsed_seconds) FROM q1_times);", "seconds": 14.212114250054583, "calls": [{"seconds": 2.6478110420284793, "usage": {"completion_tokens": 67, "prompt_tokens": 1774, "total_tokens": 1841, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1209, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1209, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1209, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.974207999999635, "usage": {"completion_tokens": 300, "prompt_tokens": 2052, "total_tokens": 2352, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 90, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1209, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.573386540985666, "usage": {"completion_tokens": 194, "prompt_tokens": 2597, "total_tokens": 2791, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 545, "cached_tokens": 1487, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 545, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 545, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a5cc30fb94551813a8d6abe34f093e656e5c579db89701b4eb04b6b68cea63d9", "csv_sha256": "8551079cdd0e81924c875914350c50f4448f48df94f659037237d97991595d68"} +{"instance_id": "bird254", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH q1_times AS (\n SELECT q.driverId,\n 60000 * CAST(substr(q.q1, 1, instr(q.q1, ':') - 1) AS INTEGER)\n + CAST(replace(substr(q.q1, instr(q.q1, ':') + 1), '.', '') AS INTEGER) AS q1_ms\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n WHERE r.year = 1995\n AND r.name = 'Japanese Grand Prix'\n AND q.q1 GLOB '[0-9]*:[0-9][0-9].[0-9][0-9][0-9]'\n)\nSELECT d.nationality\nFROM q1_times AS t\nJOIN drivers AS d ON d.driverId = t.driverId\nWHERE t.q1_ms = (SELECT MAX(q1_ms) FROM q1_times);\n```", "rows": 1, "sql": "WITH q1_times AS (\n SELECT q.driverId,\n 60000 * CAST(substr(q.q1, 1, instr(q.q1, ':') - 1) AS INTEGER)\n + CAST(replace(substr(q.q1, instr(q.q1, ':') + 1), '.', '') AS INTEGER) AS q1_ms\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n WHERE r.year = 1995\n AND r.name = 'Japanese Grand Prix'\n AND q.q1 GLOB '[0-9]*:[0-9][0-9].[0-9][0-9][0-9]'\n)\nSELECT d.nationality\nFROM q1_times AS t\nJOIN drivers AS d ON d.driverId = t.driverId\nWHERE t.q1_ms = (SELECT MAX(q1_ms) FROM q1_times);", "seconds": 18.25958629208617, "calls": [{"seconds": 2.702509875060059, "usage": {"completion_tokens": 67, "prompt_tokens": 1672, "total_tokens": 1739, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1107, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1107, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1107, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.207529040984809, "usage": {"completion_tokens": 144, "prompt_tokens": 1950, "total_tokens": 2094, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 82, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1107, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.853114958968945, "usage": {"completion_tokens": 275, "prompt_tokens": 2306, "total_tokens": 2581, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 59, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 356, "cached_tokens": 1385, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 356, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 356, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.470606917049736, "usage": {"completion_tokens": 198, "prompt_tokens": 2798, "total_tokens": 2996, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 492, "cached_tokens": 1741, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 492, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 492, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ee3301c4bacd9000c2e5981bdc934037050a6c79771eec380074830c7511f001", "csv_sha256": "135f917111645dd9fe0082bee9877a5e7781ad86223a35cbfa4b0b9d320daec7"} +{"instance_id": "bird255", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH q1_times AS (\n SELECT q.driverId, q.q1,\n ROUND(1000 * (\n CASE WHEN INSTR(q.q1, ':') > 0 THEN\n 60 * CAST(SUBSTR(q.q1, 1, INSTR(q.q1, ':') - 1) AS INTEGER)\n + CAST(SUBSTR(q.q1, INSTR(q.q1, ':') + 1) AS REAL)\n ELSE CAST(q.q1 AS REAL)\n END\n )) AS q1_ms\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n WHERE r.year = 1995\n AND r.name = 'Japanese Grand Prix'\n AND q.q1 GLOB '[0-9]*'\n)\nSELECT d.forename, d.surname, t.q1\nFROM q1_times AS t\nJOIN drivers AS d ON d.driverId = t.driverId\nWHERE t.q1_ms = (SELECT MIN(q1_ms) FROM q1_times);\n```", "rows": 1, "sql": "WITH q1_times AS (\n SELECT q.driverId, q.q1,\n ROUND(1000 * (\n CASE WHEN INSTR(q.q1, ':') > 0 THEN\n 60 * CAST(SUBSTR(q.q1, 1, INSTR(q.q1, ':') - 1) AS INTEGER)\n + CAST(SUBSTR(q.q1, INSTR(q.q1, ':') + 1) AS REAL)\n ELSE CAST(q.q1 AS REAL)\n END\n )) AS q1_ms\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n WHERE r.year = 1995\n AND r.name = 'Japanese Grand Prix'\n AND q.q1 GLOB '[0-9]*'\n)\nSELECT d.forename, d.surname, t.q1\nFROM q1_times AS t\nJOIN drivers AS d ON d.driverId = t.driverId\nWHERE t.q1_ms = (SELECT MIN(q1_ms) FROM q1_times);", "seconds": 19.061857666936703, "calls": [{"seconds": 2.40204954193905, "usage": {"completion_tokens": 67, "prompt_tokens": 1709, "total_tokens": 1776, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1144, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1144, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1144, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.757891749963164, "usage": {"completion_tokens": 519, "prompt_tokens": 1987, "total_tokens": 2506, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 272, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1144, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.876395625062287, "usage": {"completion_tokens": 249, "prompt_tokens": 2770, "total_tokens": 3019, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 20, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 783, "cached_tokens": 1422, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 783, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 783, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "c5ccce0ac5d8b29ed9b2e6429bd9d958bf8fb9ded5a8087b4f86144aec8bec4c", "csv_sha256": "102fb6e061ec9a3e87c35edb82c36d698dd863b8d15da3531e91581a906b1119"} +{"instance_id": "bird256", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT opponent.driverId) AS drivers_outqualified\nFROM qualifying AS lucas\nJOIN drivers AS d ON d.driverId = lucas.driverId\nJOIN races AS r ON r.raceId = lucas.raceId\nJOIN qualifying AS opponent\n ON opponent.raceId = lucas.raceId\n AND opponent.driverId <> lucas.driverId\n AND opponent.position > lucas.position\nWHERE d.forename = 'Lucas' COLLATE NOCASE\n AND d.surname = 'di Grassi' COLLATE NOCASE\n AND r.date >= '2010-01-01'\n AND r.date < '2011-01-01';\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT opponent.driverId) AS drivers_outqualified\nFROM qualifying AS lucas\nJOIN drivers AS d ON d.driverId = lucas.driverId\nJOIN races AS r ON r.raceId = lucas.raceId\nJOIN qualifying AS opponent\n ON opponent.raceId = lucas.raceId\n AND opponent.driverId <> lucas.driverId\n AND opponent.position > lucas.position\nWHERE d.forename = 'Lucas' COLLATE NOCASE\n AND d.surname = 'di Grassi' COLLATE NOCASE\n AND r.date >= '2010-01-01'\n AND r.date < '2011-01-01';", "seconds": 11.608085624990053, "calls": [{"seconds": 3.006298499996774, "usage": {"completion_tokens": 67, "prompt_tokens": 1721, "total_tokens": 1788, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1156, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1156, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1156, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.839413332985714, "usage": {"completion_tokens": 238, "prompt_tokens": 1999, "total_tokens": 2237, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 77, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1156, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7421884160721675, "usage": {"completion_tokens": 149, "prompt_tokens": 2406, "total_tokens": 2555, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 407, "cached_tokens": 1434, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 407, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 407, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0b441c79d271bc6b079286f3a5b9e2afcd87d8040986b7066a1d2ffc3b42c5e0", "csv_sha256": "1e0ab5786938f36fcb8aaf9d165168f00584f3501db9c2184d3c666e33c12018"} +{"instance_id": "bird257", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH q2_times AS (\n SELECT q.driverId, q.q2\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n WHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND q.q2 NOT IN ('', '\\N')\n)\nSELECT d.nationality\nFROM q2_times AS t\nJOIN drivers AS d ON d.driverId = t.driverId\nWHERE t.q2 = (SELECT MIN(q2) FROM q2_times);\n```", "rows": 1, "sql": "WITH q2_times AS (\n SELECT q.driverId, q.q2\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n WHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND q.q2 NOT IN ('', '\\N')\n)\nSELECT d.nationality\nFROM q2_times AS t\nJOIN drivers AS d ON d.driverId = t.driverId\nWHERE t.q2 = (SELECT MIN(q2) FROM q2_times);", "seconds": 11.11497795896139, "calls": [{"seconds": 2.3769655419746414, "usage": {"completion_tokens": 67, "prompt_tokens": 1735, "total_tokens": 1802, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1170, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1170, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1170, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.2506669589784, "usage": {"completion_tokens": 228, "prompt_tokens": 2013, "total_tokens": 2241, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 92, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1170, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.472057666978799, "usage": {"completion_tokens": 120, "prompt_tokens": 2380, "total_tokens": 2500, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 367, "cached_tokens": 1448, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 367, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 367, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f077178855b1d03efb2d48fef7eb7bbeb31ccb8d724994a2a770195c272eb025", "csv_sha256": "135f917111645dd9fe0082bee9877a5e7781ad86223a35cbfa4b0b9d320daec7"} +{"instance_id": "bird258", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT d.forename, COUNT(DISTINCT d.driverId) AS runner_up_count\nFROM races AS r\nJOIN results AS res ON res.raceId = r.raceId\nJOIN drivers AS d ON d.driverId = res.driverId\nWHERE r.name = 'Italian Grand Prix'\n AND res.position = 2\nGROUP BY d.forename\nHAVING COUNT(DISTINCT d.driverId) >= 2\nORDER BY runner_up_count DESC, d.forename ASC;\n```", "rows": 2, "sql": "SELECT d.forename, COUNT(DISTINCT d.driverId) AS runner_up_count\nFROM races AS r\nJOIN results AS res ON res.raceId = r.raceId\nJOIN drivers AS d ON d.driverId = res.driverId\nWHERE r.name = 'Italian Grand Prix'\n AND res.position = 2\nGROUP BY d.forename\nHAVING COUNT(DISTINCT d.driverId) >= 2\nORDER BY runner_up_count DESC, d.forename ASC;", "seconds": 10.568131292006, "calls": [{"seconds": 2.7050234579946846, "usage": {"completion_tokens": 66, "prompt_tokens": 1743, "total_tokens": 1809, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1178, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1178, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1178, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.429028000100516, "usage": {"completion_tokens": 163, "prompt_tokens": 2079, "total_tokens": 2242, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 43, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 336, "cached_tokens": 1178, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 336, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 336, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4167993750888854, "usage": {"completion_tokens": 108, "prompt_tokens": 2383, "total_tokens": 2491, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 304, "cached_tokens": 1514, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 304, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 304, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e4d8aea3b1414a9bfbf29233a927d0de40c33308ce5b6cc7e043b4e1370ee7c3", "csv_sha256": "59bda813e0b254e27693419964df3501322adbc07ab33904365a6bbc852dfbf7"} +{"instance_id": "bird259", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT d.forename,\n d.surname,\n strftime('%H:%M:%f', r.date || ' ' || r.time,\n '+4 hours', '+' || (res.milliseconds / 1000.0) || ' seconds') AS local_finish_time,\n d.url\nFROM races AS r\nJOIN results AS res ON res.raceId = r.raceId\nJOIN drivers AS d ON d.driverId = res.driverId\nWHERE r.year = 2017\n AND r.name = 'Azerbaijan Grand Prix'\n AND res.position = 1;\n```", "rows": 1, "sql": "SELECT d.forename,\n d.surname,\n strftime('%H:%M:%f', r.date || ' ' || r.time,\n '+4 hours', '+' || (res.milliseconds / 1000.0) || ' seconds') AS local_finish_time,\n d.url\nFROM races AS r\nJOIN results AS res ON res.raceId = r.raceId\nJOIN drivers AS d ON d.driverId = res.driverId\nWHERE r.year = 2017\n AND r.name = 'Azerbaijan Grand Prix'\n AND res.position = 1;", "seconds": 20.99872354103718, "calls": [{"seconds": 2.948155041085556, "usage": {"completion_tokens": 82, "prompt_tokens": 1705, "total_tokens": 1787, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1140, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1140, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1140, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.1312648330349475, "usage": {"completion_tokens": 222, "prompt_tokens": 2124, "total_tokens": 2346, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 91, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 419, "cached_tokens": 1140, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 419, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 419, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.880861332989298, "usage": {"completion_tokens": 368, "prompt_tokens": 2570, "total_tokens": 2938, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 222, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 446, "cached_tokens": 1559, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 446, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 446, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.009960833005607, "usage": {"completion_tokens": 130, "prompt_tokens": 3128, "total_tokens": 3258, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 558, "cached_tokens": 2005, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 558, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 558, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f3dd575b2f5276e97e87cfe3471bd08e7315368559c9acc545db380ddebbdb14", "csv_sha256": "047b671903b357c99425d820abdd158cf26067eac363d5aad72a9561d3ec6d61"} +{"instance_id": "bird261", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH q2_times AS (\n SELECT q.driverId,\n 60 * CAST(substr(q.q2, 1, instr(q.q2, ':') - 1) AS INTEGER)\n + CAST(substr(q.q2, instr(q.q2, ':') + 1) AS REAL) AS q2_seconds\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n WHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND instr(q.q2, ':') > 0\n), ranked AS (\n SELECT driverId, DENSE_RANK() OVER (ORDER BY q2_seconds) AS time_rank\n FROM q2_times\n)\nSELECT d.nationality\nFROM ranked AS q\nJOIN drivers AS d ON d.driverId = q.driverId\nWHERE q.time_rank = 2;\n```", "rows": 1, "sql": "WITH q2_times AS (\n SELECT q.driverId,\n 60 * CAST(substr(q.q2, 1, instr(q.q2, ':') - 1) AS INTEGER)\n + CAST(substr(q.q2, instr(q.q2, ':') + 1) AS REAL) AS q2_seconds\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n WHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND instr(q.q2, ':') > 0\n), ranked AS (\n SELECT driverId, DENSE_RANK() OVER (ORDER BY q2_seconds) AS time_rank\n FROM q2_times\n)\nSELECT d.nationality\nFROM ranked AS q\nJOIN drivers AS d ON d.driverId = q.driverId\nWHERE q.time_rank = 2;", "seconds": 13.531327834003605, "calls": [{"seconds": 2.4072029169183224, "usage": {"completion_tokens": 67, "prompt_tokens": 1696, "total_tokens": 1763, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1131, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1131, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1131, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.753193291951902, "usage": {"completion_tokens": 320, "prompt_tokens": 1974, "total_tokens": 2294, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 110, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1131, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.3533892090199515, "usage": {"completion_tokens": 193, "prompt_tokens": 2507, "total_tokens": 2700, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 533, "cached_tokens": 1409, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 533, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 533, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5fdba89d1dcc62978023438412fda05bf4fb08216324ae79093eb97a47d20c71", "csv_sha256": "2115b3c4f6e3e177f7492dd6d3cca98799acccd811932e90b963c09ce317be72"} +{"instance_id": "bird262", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT q.driverId) AS driver_count\nFROM qualifying AS q\nJOIN races AS r ON r.raceId = q.raceId\nWHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND INSTR(q.q2, ':') > 0\n AND 60 * CAST(SUBSTR(q.q2, 1, INSTR(q.q2, ':') - 1) AS INTEGER)\n + CAST(SUBSTR(q.q2, INSTR(q.q2, ':') + 1) AS REAL) < 100;\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT q.driverId) AS driver_count\nFROM qualifying AS q\nJOIN races AS r ON r.raceId = q.raceId\nWHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND INSTR(q.q2, ':') > 0\n AND 60 * CAST(SUBSTR(q.q2, 1, INSTR(q.q2, ':') - 1) AS INTEGER)\n + CAST(SUBSTR(q.q2, INSTR(q.q2, ':') + 1) AS REAL) < 100;", "seconds": 11.777648041956127, "calls": [{"seconds": 2.4549867920577526, "usage": {"completion_tokens": 52, "prompt_tokens": 1660, "total_tokens": 1712, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1095, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1095, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1095, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.674160750000738, "usage": {"completion_tokens": 224, "prompt_tokens": 1854, "total_tokens": 2078, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 78, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 194, "cached_tokens": 1095, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 194, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 194, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.633311334066093, "usage": {"completion_tokens": 133, "prompt_tokens": 2230, "total_tokens": 2363, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 376, "cached_tokens": 1289, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 376, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 376, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "765b075cf44fd0724bf079ea7847d3657af2d636bbbd5a218b80f97c1d8d8c1d", "csv_sha256": "08eca44e05be26ae5ca783ef75884f18d0b6b70b479609172e0d55fb0959203e"} +{"instance_id": "bird263", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT c.name AS racetrack_name,\n c.location,\n c.country,\n r.year AS season_year,\n p.duration AS pit_stop_length\nFROM pitStops AS p\nJOIN races AS r ON r.raceId = p.raceId\nJOIN circuits AS c ON c.circuitId = r.circuitId\nWHERE p.milliseconds = (SELECT MAX(milliseconds) FROM pitStops);\n```", "rows": 1, "sql": "SELECT c.name AS racetrack_name,\n c.location,\n c.country,\n r.year AS season_year,\n p.duration AS pit_stop_length\nFROM pitStops AS p\nJOIN races AS r ON r.raceId = p.raceId\nJOIN circuits AS c ON c.circuitId = r.circuitId\nWHERE p.milliseconds = (SELECT MAX(milliseconds) FROM pitStops);", "seconds": 12.701553000020795, "calls": [{"seconds": 2.7836722920183092, "usage": {"completion_tokens": 68, "prompt_tokens": 1717, "total_tokens": 1785, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1152, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1152, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1152, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.72118162503466, "usage": {"completion_tokens": 285, "prompt_tokens": 1981, "total_tokens": 2266, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 181, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 264, "cached_tokens": 1152, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 264, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 264, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.176049083005637, "usage": {"completion_tokens": 89, "prompt_tokens": 2415, "total_tokens": 2504, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 434, "cached_tokens": 1416, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 434, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 434, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "cba98ffa1abf28087231f7000162294128688affdefe0d84f29d81a08ed21aa5", "csv_sha256": "2f7c9db5f773e9a9fcec2ac10ea71092ad57f5da8d73f62c3bce5f2c368699fb"} +{"instance_id": "bird264", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH driver_q3_counts AS (\n SELECT d.driverId, COUNT(NULLIF(TRIM(q.q3), '')) AS q3_count\n FROM drivers AS d\n LEFT JOIN qualifying AS q ON q.driverId = d.driverId\n WHERE d.dob >= '1981-01-01' AND d.dob < '1992-01-01'\n GROUP BY d.driverId\n)\nSELECT ROUND(AVG(q3_count), 2) AS average_q3_lap_times\nFROM driver_q3_counts;\n```", "rows": 1, "sql": "WITH driver_q3_counts AS (\n SELECT d.driverId, COUNT(NULLIF(TRIM(q.q3), '')) AS q3_count\n FROM drivers AS d\n LEFT JOIN qualifying AS q ON q.driverId = d.driverId\n WHERE d.dob >= '1981-01-01' AND d.dob < '1992-01-01'\n GROUP BY d.driverId\n)\nSELECT ROUND(AVG(q3_count), 2) AS average_q3_lap_times\nFROM driver_q3_counts;", "seconds": 15.278256042045541, "calls": [{"seconds": 2.306963417096995, "usage": {"completion_tokens": 51, "prompt_tokens": 1726, "total_tokens": 1777, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1161, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1161, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1161, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.731949333916418, "usage": {"completion_tokens": 144, "prompt_tokens": 1922, "total_tokens": 2066, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 64, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 196, "cached_tokens": 1161, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 196, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 196, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.728250749991275, "usage": {"completion_tokens": 180, "prompt_tokens": 2159, "total_tokens": 2339, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 48, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 237, "cached_tokens": 1357, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 237, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 237, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4884605000261217, "usage": {"completion_tokens": 118, "prompt_tokens": 2482, "total_tokens": 2600, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 323, "cached_tokens": 1594, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 323, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 323, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f6626ae2508a8a3cf1a595cd33c3a6acecfae64666eda6f9a069b4c63af1ef8f", "csv_sha256": "7bd4d6ff6f0f2bf1713dcb0fd42f672d0e2b77f4e5d779f9fc6e9e13d1b67be0"} +{"instance_id": "bird265", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS qualifying_count\nFROM qualifying AS q\nJOIN drivers AS d ON d.driverId = q.driverId\nWHERE d.code IS NULL\n AND EXISTS (\n SELECT 1\n FROM drivers AS other\n WHERE other.forename = d.forename\n AND other.driverId <> d.driverId\n )\n AND INSTR(q.q1, ':') > 0\n AND 60 * CAST(SUBSTR(q.q1, 1, INSTR(q.q1, ':') - 1) AS INTEGER)\n + CAST(SUBSTR(q.q1, INSTR(q.q1, ':') + 1) AS REAL) > 120;\n```", "rows": 1, "sql": "SELECT COUNT(*) AS qualifying_count\nFROM qualifying AS q\nJOIN drivers AS d ON d.driverId = q.driverId\nWHERE d.code IS NULL\n AND EXISTS (\n SELECT 1\n FROM drivers AS other\n WHERE other.forename = d.forename\n AND other.driverId <> d.driverId\n )\n AND INSTR(q.q1, ':') > 0\n AND 60 * CAST(SUBSTR(q.q1, 1, INSTR(q.q1, ':') - 1) AS INTEGER)\n + CAST(SUBSTR(q.q1, INSTR(q.q1, ':') + 1) AS REAL) > 120;", "seconds": 14.189187000039965, "calls": [{"seconds": 2.071184083004482, "usage": {"completion_tokens": 51, "prompt_tokens": 1734, "total_tokens": 1785, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1169, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1169, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1169, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.229932124959305, "usage": {"completion_tokens": 185, "prompt_tokens": 1930, "total_tokens": 2115, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 61, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 196, "cached_tokens": 1169, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 196, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 196, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9905936249997467, "usage": {"completion_tokens": 163, "prompt_tokens": 2287, "total_tokens": 2450, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 357, "cached_tokens": 1365, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 357, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 357, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.874991709017195, "usage": {"completion_tokens": 150, "prompt_tokens": 2620, "total_tokens": 2770, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 333, "cached_tokens": 1722, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 333, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 333, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ebe5a6557a8efba3df2c9dad5794fe21ffd4d96ff2f0359f62488d168c59f83b", "csv_sha256": "c463a0ad93c17455c1a5452dd2a71dd1e2be196b8848cb0e88393bd36197f6a5"} +{"instance_id": "bird266", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n d.driverRef,\n COALESCE(SUM(r.points), 0.0) AS total_points\nFROM drivers AS d\nLEFT JOIN results AS r\n ON r.driverId = d.driverId\n AND EXISTS (\n SELECT 1\n FROM lapTimes AS lt\n WHERE lt.driverId = r.driverId\n AND lt.raceId = r.raceId\n )\nWHERE d.forename = 'Robert'\nGROUP BY d.driverId, d.driverRef;\n```", "rows": 5, "sql": "SELECT\n d.driverRef,\n COALESCE(SUM(r.points), 0.0) AS total_points\nFROM drivers AS d\nLEFT JOIN results AS r\n ON r.driverId = d.driverId\n AND EXISTS (\n SELECT 1\n FROM lapTimes AS lt\n WHERE lt.driverId = r.driverId\n AND lt.raceId = r.raceId\n )\nWHERE d.forename = 'Robert'\nGROUP BY d.driverId, d.driverRef;", "seconds": 10.883257458917797, "calls": [{"seconds": 2.8234525829320773, "usage": {"completion_tokens": 66, "prompt_tokens": 1711, "total_tokens": 1777, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1146, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1146, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1146, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.470114458934404, "usage": {"completion_tokens": 174, "prompt_tokens": 2033, "total_tokens": 2207, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 46, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 322, "cached_tokens": 1146, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 322, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 322, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5495359589112923, "usage": {"completion_tokens": 112, "prompt_tokens": 2383, "total_tokens": 2495, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 350, "cached_tokens": 1468, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 350, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 350, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "198f0de11b4baa59660518a0b290493cb92a907ebf319b6dd2ad4e5827a225c3", "csv_sha256": "c5837498655186a452780bd5002725cbd724a2abbd34fdb7abe0371f4b7beb13"} +{"instance_id": "bird267", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH french_editions AS (\n SELECT raceId, date\n FROM races\n WHERE name = 'French Grand Prix'\n AND year >= 1990\n),\nqualifying_laps AS (\n SELECT lt.raceId, lt.driverId, MIN(lt.milliseconds) AS fastest_ms\n FROM lapTimes AS lt\n JOIN french_editions AS e ON e.raceId = lt.raceId\n GROUP BY lt.raceId, lt.driverId\n HAVING MIN(lt.milliseconds) > 90000\n)\nSELECT e.date,\n d.forename,\n d.surname,\n CASE WHEN q.fastest_ms IS NOT NULL THEN\n printf('%d:%02d.%03d',\n q.fastest_ms / 60000,\n (q.fastest_ms / 1000) % 60,\n q.fastest_ms % 1000)\n END AS fastest_lap_time\nFROM french_editions AS e\nLEFT JOIN qualifying_laps AS q ON q.raceId = e.raceId\nLEFT JOIN drivers AS d ON d.driverId = q.driverId\nORDER BY e.date, d.surname, d.forename;\n```", "rows": 20, "sql": "WITH french_editions AS (\n SELECT raceId, date\n FROM races\n WHERE name = 'French Grand Prix'\n AND year >= 1990\n),\nqualifying_laps AS (\n SELECT lt.raceId, lt.driverId, MIN(lt.milliseconds) AS fastest_ms\n FROM lapTimes AS lt\n JOIN french_editions AS e ON e.raceId = lt.raceId\n GROUP BY lt.raceId, lt.driverId\n HAVING MIN(lt.milliseconds) > 90000\n)\nSELECT e.date,\n d.forename,\n d.surname,\n CASE WHEN q.fastest_ms IS NOT NULL THEN\n printf('%d:%02d.%03d',\n q.fastest_ms / 60000,\n (q.fastest_ms / 1000) % 60,\n q.fastest_ms % 1000)\n END AS fastest_lap_time\nFROM french_editions AS e\nLEFT JOIN qualifying_laps AS q ON q.raceId = e.raceId\nLEFT JOIN drivers AS d ON d.driverId = q.driverId\nORDER BY e.date, d.surname, d.forename;", "seconds": 25.848624791949987, "calls": [{"seconds": 2.7148149580461904, "usage": {"completion_tokens": 82, "prompt_tokens": 1824, "total_tokens": 1906, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1259, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1259, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1259, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.22257391596213, "usage": {"completion_tokens": 535, "prompt_tokens": 2228, "total_tokens": 2763, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 270, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 404, "cached_tokens": 1259, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 404, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 404, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.121120207943022, "usage": {"completion_tokens": 109, "prompt_tokens": 3315, "total_tokens": 3424, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 51, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1087, "cached_tokens": 1663, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1087, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1087, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.69259025005158, "usage": {"completion_tokens": 472, "prompt_tokens": 3516, "total_tokens": 3988, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 216, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 201, "cached_tokens": 2750, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 201, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 201, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "94126993efd518567e78ac74591f09cbc39743ca4c34ad093186d54ccde58b9d", "csv_sha256": "351be1390076022ebfc2f679e8e5b3f7ac4aad5fa0ed2c9d40d6402b80969e80"} +{"instance_id": "bird268", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH timed_laps AS (\n SELECT d.driverId, d.forename, d.surname, q.q3,\n 60000 * CAST(SUBSTR(q.q3, 1, INSTR(q.q3, ':') - 1) AS INTEGER)\n + ROUND(1000 * CAST(SUBSTR(q.q3, INSTR(q.q3, ':') + 1) AS REAL)) AS lap_ms\n FROM qualifying AS q\n JOIN drivers AS d ON d.driverId = q.driverId\n WHERE d.nationality = 'Italian'\n AND INSTR(q.q3, ':') > 0\n)\nSELECT forename, surname, q3\nFROM timed_laps\nWHERE lap_ms = (SELECT MIN(lap_ms) FROM timed_laps)\nGROUP BY driverId, forename, surname, q3\nORDER BY surname, forename;\n```", "rows": 1, "sql": "WITH timed_laps AS (\n SELECT d.driverId, d.forename, d.surname, q.q3,\n 60000 * CAST(SUBSTR(q.q3, 1, INSTR(q.q3, ':') - 1) AS INTEGER)\n + ROUND(1000 * CAST(SUBSTR(q.q3, INSTR(q.q3, ':') + 1) AS REAL)) AS lap_ms\n FROM qualifying AS q\n JOIN drivers AS d ON d.driverId = q.driverId\n WHERE d.nationality = 'Italian'\n AND INSTR(q.q3, ':') > 0\n)\nSELECT forename, surname, q3\nFROM timed_laps\nWHERE lap_ms = (SELECT MIN(lap_ms) FROM timed_laps)\nGROUP BY driverId, forename, surname, q3\nORDER BY surname, forename;", "seconds": 18.71134895796422, "calls": [{"seconds": 2.1425853749969974, "usage": {"completion_tokens": 51, "prompt_tokens": 1732, "total_tokens": 1783, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1167, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1167, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1167, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.037267458043061, "usage": {"completion_tokens": 165, "prompt_tokens": 1928, "total_tokens": 2093, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 88, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 196, "cached_tokens": 1167, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 196, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 196, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.187944959034212, "usage": {"completion_tokens": 354, "prompt_tokens": 2331, "total_tokens": 2685, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 145, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 403, "cached_tokens": 1363, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 403, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 403, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.318304541986436, "usage": {"completion_tokens": 192, "prompt_tokens": 2916, "total_tokens": 3108, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 585, "cached_tokens": 1766, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 585, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 585, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5e554ff61918e86b31d1ea4abcfc888b04aeaa08b50856a75f6487f18e83b406", "csv_sha256": "baf7d7c6dd72114499cc41c15c01f3dd0a59d8b659713ffe34cd90f47c597ddd"} +{"instance_id": "bird269", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH q3_results AS (\n SELECT d.forename || ' ' || d.surname AS driver_full_name,\n r.name AS race_name,\n r.year AS race_year,\n q.q3 AS q3_time,\n 60 * CAST(substr(q.q3, 1, instr(q.q3, ':') - 1) AS INTEGER)\n + CAST(substr(q.q3, instr(q.q3, ':') + 1) AS REAL) AS q3_seconds\n FROM qualifying AS q\n JOIN drivers AS d ON d.driverId = q.driverId\n JOIN races AS r ON r.raceId = q.raceId\n WHERE d.nationality = 'British'\n AND CAST(strftime('%Y', d.dob) AS INTEGER) > 1980\n AND instr(q.q3, ':') > 0\n)\nSELECT driver_full_name, race_name, race_year, q3_time\nFROM q3_results\nWHERE q3_seconds = (SELECT MIN(q3_seconds) FROM q3_results);\n```", "rows": 1, "sql": "WITH q3_results AS (\n SELECT d.forename || ' ' || d.surname AS driver_full_name,\n r.name AS race_name,\n r.year AS race_year,\n q.q3 AS q3_time,\n 60 * CAST(substr(q.q3, 1, instr(q.q3, ':') - 1) AS INTEGER)\n + CAST(substr(q.q3, instr(q.q3, ':') + 1) AS REAL) AS q3_seconds\n FROM qualifying AS q\n JOIN drivers AS d ON d.driverId = q.driverId\n JOIN races AS r ON r.raceId = q.raceId\n WHERE d.nationality = 'British'\n AND CAST(strftime('%Y', d.dob) AS INTEGER) > 1980\n AND instr(q.q3, ':') > 0\n)\nSELECT driver_full_name, race_name, race_year, q3_time\nFROM q3_results\nWHERE q3_seconds = (SELECT MIN(q3_seconds) FROM q3_results);", "seconds": 19.33597783301957, "calls": [{"seconds": 2.6272942080395296, "usage": {"completion_tokens": 67, "prompt_tokens": 1750, "total_tokens": 1817, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1185, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1185, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1185, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.149242458050139, "usage": {"completion_tokens": 201, "prompt_tokens": 2028, "total_tokens": 2229, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 67, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1185, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.782649500062689, "usage": {"completion_tokens": 340, "prompt_tokens": 2403, "total_tokens": 2743, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 96, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 375, "cached_tokens": 1463, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 375, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 375, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.753329416969791, "usage": {"completion_tokens": 225, "prompt_tokens": 3020, "total_tokens": 3245, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 617, "cached_tokens": 1838, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 617, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 617, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d8490b46b0bbe3eb8aa8c197488e1fc751457792c84033d4993ded99b73fe0db", "csv_sha256": "2e25410419ff569230fc59143ac06e4583445e0a4de1c162d3babc8d1be48ab6"} +{"instance_id": "bird270", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH driver_best_laps AS (\n SELECT raceId, driverId, MIN(milliseconds) AS best_lap_ms\n FROM lapTimes\n WHERE milliseconds IS NOT NULL\n GROUP BY raceId, driverId\n), ranked_laps AS (\n SELECT raceId, driverId,\n RANK() OVER (PARTITION BY raceId ORDER BY best_lap_ms) AS lap_rank\n FROM driver_best_laps\n)\nSELECT COUNT(DISTINCT r.driverId) AS driver_count\nFROM ranked_laps AS r\nJOIN drivers AS d ON d.driverId = r.driverId\nWHERE r.lap_rank = 2\n AND d.dob >= '1976-01-01';\n```", "rows": 1, "sql": "WITH driver_best_laps AS (\n SELECT raceId, driverId, MIN(milliseconds) AS best_lap_ms\n FROM lapTimes\n WHERE milliseconds IS NOT NULL\n GROUP BY raceId, driverId\n), ranked_laps AS (\n SELECT raceId, driverId,\n RANK() OVER (PARTITION BY raceId ORDER BY best_lap_ms) AS lap_rank\n FROM driver_best_laps\n)\nSELECT COUNT(DISTINCT r.driverId) AS driver_count\nFROM ranked_laps AS r\nJOIN drivers AS d ON d.driverId = r.driverId\nWHERE r.lap_rank = 2\n AND d.dob >= '1976-01-01';", "seconds": 27.76697045902256, "calls": [{"seconds": 2.6492564589716494, "usage": {"completion_tokens": 66, "prompt_tokens": 1716, "total_tokens": 1782, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1151, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1151, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1151, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.150070916977711, "usage": {"completion_tokens": 350, "prompt_tokens": 2038, "total_tokens": 2388, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 139, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 322, "cached_tokens": 1151, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 322, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 322, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.033025708049536, "usage": {"completion_tokens": 406, "prompt_tokens": 2656, "total_tokens": 3062, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 73, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 618, "cached_tokens": 1473, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 618, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 618, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.682284208014607, "usage": {"completion_tokens": 210, "prompt_tokens": 3430, "total_tokens": 3640, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 42, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 774, "cached_tokens": 2091, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 774, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 774, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9303060830570757, "usage": {"completion_tokens": 153, "prompt_tokens": 3812, "total_tokens": 3965, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 382, "cached_tokens": 2865, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 382, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 382, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6f1a7ab4fa3f32e047cc82638f2f05b1f5fb5da3360cd2f55c951e9e28321daf", "csv_sha256": "509a6ca175ccf15d984fb58f43e81fc937db03cb43d4fec2fb500a934f147944"} +{"instance_id": "bird271", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH q3_times AS (\n SELECT d.driverRef,\n 60 * CAST(SUBSTR(q.q3, 1, INSTR(q.q3, ':') - 1) AS INTEGER)\n + CAST(SUBSTR(q.q3, INSTR(q.q3, ':') + 1) AS REAL) AS elapsed_seconds\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n JOIN drivers AS d ON d.driverId = q.driverId\n WHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND INSTR(q.q3, ':') > 0\n)\nSELECT driverRef\nFROM q3_times\nWHERE elapsed_seconds = (SELECT MIN(elapsed_seconds) FROM q3_times)\nORDER BY driverRef;\n```", "rows": 1, "sql": "WITH q3_times AS (\n SELECT d.driverRef,\n 60 * CAST(SUBSTR(q.q3, 1, INSTR(q.q3, ':') - 1) AS INTEGER)\n + CAST(SUBSTR(q.q3, INSTR(q.q3, ':') + 1) AS REAL) AS elapsed_seconds\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n JOIN drivers AS d ON d.driverId = q.driverId\n WHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND INSTR(q.q3, ':') > 0\n)\nSELECT driverRef\nFROM q3_times\nWHERE elapsed_seconds = (SELECT MIN(elapsed_seconds) FROM q3_times)\nORDER BY driverRef;", "seconds": 11.856495082960464, "calls": [{"seconds": 2.486855374998413, "usage": {"completion_tokens": 67, "prompt_tokens": 1693, "total_tokens": 1760, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1128, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1128, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1128, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.891134083038196, "usage": {"completion_tokens": 255, "prompt_tokens": 1971, "total_tokens": 2226, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 59, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1128, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.463669624994509, "usage": {"completion_tokens": 179, "prompt_tokens": 2426, "total_tokens": 2605, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 455, "cached_tokens": 1406, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 455, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 455, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d96dd983499fd9b0bf160356634df2443fdd02f52c878410a67499a8d6a45856", "csv_sha256": "5edc91bca333cc37297932e0eea3d0fb6bf673ea24907773cd4b1adaafb723ec"} +{"instance_id": "bird272", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH italian_constructors AS (\n SELECT constructorId, name, url\n FROM constructors\n WHERE nationality = 'Italian'\n), season_standings AS (\n SELECT cs.constructorId,\n cs.points,\n ROW_NUMBER() OVER (\n PARTITION BY cs.constructorId, r.year\n ORDER BY r.round DESC, r.raceId DESC\n ) AS season_row\n FROM constructorStandings AS cs\n JOIN races AS r ON r.raceId = cs.raceId\n JOIN italian_constructors AS c ON c.constructorId = cs.constructorId\n), career_totals AS (\n SELECT c.constructorId,\n c.name,\n c.url,\n COALESCE(SUM(s.points), 0.0) AS career_points\n FROM italian_constructors AS c\n LEFT JOIN season_standings AS s\n ON s.constructorId = c.constructorId AND s.season_row = 1\n GROUP BY c.constructorId, c.name, c.url\n), ranked AS (\n SELECT name,\n career_points,\n url,\n RANK() OVER (ORDER BY career_points DESC) AS career_rank\n FROM career_totals\n)\nSELECT name AS constructor_name,\n career_points,\n url AS introduction_website\nFROM ranked\nWHERE career_rank <= 3\nORDER BY career_rank, constructor_name;\n```", "rows": 3, "sql": "WITH italian_constructors AS (\n SELECT constructorId, name, url\n FROM constructors\n WHERE nationality = 'Italian'\n), season_standings AS (\n SELECT cs.constructorId,\n cs.points,\n ROW_NUMBER() OVER (\n PARTITION BY cs.constructorId, r.year\n ORDER BY r.round DESC, r.raceId DESC\n ) AS season_row\n FROM constructorStandings AS cs\n JOIN races AS r ON r.raceId = cs.raceId\n JOIN italian_constructors AS c ON c.constructorId = cs.constructorId\n), career_totals AS (\n SELECT c.constructorId,\n c.name,\n c.url,\n COALESCE(SUM(s.points), 0.0) AS career_points\n FROM italian_constructors AS c\n LEFT JOIN season_standings AS s\n ON s.constructorId = c.constructorId AND s.season_row = 1\n GROUP BY c.constructorId, c.name, c.url\n), ranked AS (\n SELECT name,\n career_points,\n url,\n RANK() OVER (ORDER BY career_points DESC) AS career_rank\n FROM career_totals\n)\nSELECT name AS constructor_name,\n career_points,\n url AS introduction_website\nFROM ranked\nWHERE career_rank <= 3\nORDER BY career_rank, constructor_name;", "seconds": 17.44363249989692, "calls": [{"seconds": 2.9391547919949517, "usage": {"completion_tokens": 85, "prompt_tokens": 1727, "total_tokens": 1812, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1162, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1162, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1162, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.509822207968682, "usage": {"completion_tokens": 478, "prompt_tokens": 2019, "total_tokens": 2497, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 163, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 292, "cached_tokens": 1162, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 292, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 292, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.977583000087179, "usage": {"completion_tokens": 287, "prompt_tokens": 2882, "total_tokens": 3169, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 863, "cached_tokens": 1454, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 863, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 863, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ebcdd6778b67df29793a18848653fedc3782190ad8d1faf461f94a1420db7bab", "csv_sha256": "bca62b4731fa5fa3e2fa6da984bbf3af4741b7125ada5e609fffd5875f095319"} +{"instance_id": "bird273", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n COUNT(DISTINCT CASE WHEN d.forename = 'Peter' THEN d.driverId END) AS Peter,\n COUNT(DISTINCT CASE WHEN d.forename = 'John' THEN d.driverId END) AS John\nFROM drivers AS d\nJOIN results AS r ON r.driverId = d.driverId\nWHERE d.forename IN ('Peter', 'John')\n AND r.position = 1;\n```", "rows": 1, "sql": "SELECT\n COUNT(DISTINCT CASE WHEN d.forename = 'Peter' THEN d.driverId END) AS Peter,\n COUNT(DISTINCT CASE WHEN d.forename = 'John' THEN d.driverId END) AS John\nFROM drivers AS d\nJOIN results AS r ON r.driverId = d.driverId\nWHERE d.forename IN ('Peter', 'John')\n AND r.position = 1;", "seconds": 11.923847084050067, "calls": [{"seconds": 2.1042872079415247, "usage": {"completion_tokens": 50, "prompt_tokens": 1710, "total_tokens": 1760, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1145, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1145, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1145, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.464551499928348, "usage": {"completion_tokens": 268, "prompt_tokens": 1964, "total_tokens": 2232, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 161, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 254, "cached_tokens": 1145, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 254, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 254, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.339980958029628, "usage": {"completion_tokens": 93, "prompt_tokens": 2350, "total_tokens": 2443, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 386, "cached_tokens": 1399, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 386, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 386, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "93539bd4bbe10ca32f303fe58a35a59a02d42b5e4db37da6a7364afeedad36a3", "csv_sha256": "815606f1f53d26107557d8fdb223a985d557d5c56712c72d428d649c9f0fbbbb"} +{"instance_id": "bird274", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT d.nationality\nFROM drivers AS d\nWHERE d.driverId IN (\n SELECT q.driverId\n FROM qualifying AS q\n WHERE q.q3 = (\n SELECT MIN(NULLIF(q3, ''))\n FROM qualifying\n )\n);\n```", "rows": 1, "sql": "SELECT d.nationality\nFROM drivers AS d\nWHERE d.driverId IN (\n SELECT q.driverId\n FROM qualifying AS q\n WHERE q.q3 = (\n SELECT MIN(NULLIF(q3, ''))\n FROM qualifying\n )\n);", "seconds": 13.96426179097034, "calls": [{"seconds": 2.618974708020687, "usage": {"completion_tokens": 51, "prompt_tokens": 1701, "total_tokens": 1752, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1136, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1136, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1136, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.6308350830804557, "usage": {"completion_tokens": 69, "prompt_tokens": 1897, "total_tokens": 1966, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 196, "cached_tokens": 1136, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 196, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 196, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.798083000001498, "usage": {"completion_tokens": 213, "prompt_tokens": 2110, "total_tokens": 2323, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 135, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 213, "cached_tokens": 1332, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 213, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 213, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.899788666050881, "usage": {"completion_tokens": 61, "prompt_tokens": 2404, "total_tokens": 2465, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 294, "cached_tokens": 1545, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 294, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 294, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "61619886d6fb35d172690d3e47e03e72d8be9e6ff7429c5faf3052abd00afe7f", "csv_sha256": "2115b3c4f6e3e177f7492dd6d3cca98799acccd811932e90b963c09ce317be72"} +{"instance_id": "bird275", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH fastest_lap_constructors AS (\n SELECT DISTINCT constructorId\n FROM results\n WHERE rank = 1\n)\nSELECT\n c.nationality,\n COUNT(DISTINCT f.constructorId) AS constructor_count\nFROM constructors AS c\nLEFT JOIN fastest_lap_constructors AS f\n ON f.constructorId = c.constructorId\nGROUP BY c.nationality\nORDER BY c.nationality;\n```", "rows": 24, "sql": "WITH fastest_lap_constructors AS (\n SELECT DISTINCT constructorId\n FROM results\n WHERE rank = 1\n)\nSELECT\n c.nationality,\n COUNT(DISTINCT f.constructorId) AS constructor_count\nFROM constructors AS c\nLEFT JOIN fastest_lap_constructors AS f\n ON f.constructorId = c.constructorId\nGROUP BY c.nationality\nORDER BY c.nationality;", "seconds": 10.032039333018474, "calls": [{"seconds": 2.7423785000573844, "usage": {"completion_tokens": 51, "prompt_tokens": 1725, "total_tokens": 1776, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1160, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1160, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1160, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.046903457958251, "usage": {"completion_tokens": 130, "prompt_tokens": 1958, "total_tokens": 2088, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 22, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 233, "cached_tokens": 1160, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 233, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 233, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.227848874987103, "usage": {"completion_tokens": 94, "prompt_tokens": 2337, "total_tokens": 2431, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 379, "cached_tokens": 1393, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 379, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 379, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "cb1c00b65ab831be8d5c0d8a0bfa240837e5814e5baf192ec36e41d9d4a895b5", "csv_sha256": "857507302cde87b795383f3210eb51a0e4afb05b526318c97fe3b26ae83b1cbc"} +{"instance_id": "bird276", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT s.year AS season_year,\n COUNT(ps.raceId) AS total_pit_stops\nFROM seasons AS s\nLEFT JOIN races AS r\n ON r.year = s.year\n AND EXISTS (\n SELECT 1\n FROM driverStandings AS ds\n JOIN drivers AS d ON d.driverId = ds.driverId\n WHERE ds.raceId = r.raceId\n AND d.nationality = 'Australian'\n AND ds.position BETWEEN 1 AND 19\n )\nLEFT JOIN pitStops AS ps ON ps.raceId = r.raceId\nWHERE s.year BETWEEN 2002 AND 2013\nGROUP BY s.year\nORDER BY s.year;\n```", "rows": 12, "sql": "SELECT s.year AS season_year,\n COUNT(ps.raceId) AS total_pit_stops\nFROM seasons AS s\nLEFT JOIN races AS r\n ON r.year = s.year\n AND EXISTS (\n SELECT 1\n FROM driverStandings AS ds\n JOIN drivers AS d ON d.driverId = ds.driverId\n WHERE ds.raceId = r.raceId\n AND d.nationality = 'Australian'\n AND ds.position BETWEEN 1 AND 19\n )\nLEFT JOIN pitStops AS ps ON ps.raceId = r.raceId\nWHERE s.year BETWEEN 2002 AND 2013\nGROUP BY s.year\nORDER BY s.year;", "seconds": 12.627098666969687, "calls": [{"seconds": 3.2409882920328528, "usage": {"completion_tokens": 100, "prompt_tokens": 1763, "total_tokens": 1863, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1198, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1198, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1198, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.293107333010994, "usage": {"completion_tokens": 240, "prompt_tokens": 2153, "total_tokens": 2393, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 73, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 390, "cached_tokens": 1198, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 390, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 390, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.986733124940656, "usage": {"completion_tokens": 151, "prompt_tokens": 2642, "total_tokens": 2793, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 489, "cached_tokens": 1588, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 489, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 489, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f43a9e1d97ff59d269dc656c06b1adbd73ef2eb030d1d646bf4515024e5e227f", "csv_sha256": "b1c861122ac2919bf82c8394c80ebf688793c0dad119a65825b9bb57c2e5ea0e"} +{"instance_id": "bird277", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT q.driverId) AS driver_count\nFROM qualifying AS q\nJOIN races AS r ON r.raceId = q.raceId\nWHERE r.date >= '1995-01-01'\n AND r.date < '1996-01-01'\n AND INSTR(q.q1, ':') > 0\n AND 60 * CAST(SUBSTR(q.q1, 1, INSTR(q.q1, ':') - 1) AS INTEGER)\n + CAST(SUBSTR(q.q1, INSTR(q.q1, ':') + 1) AS REAL) > 120;\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT q.driverId) AS driver_count\nFROM qualifying AS q\nJOIN races AS r ON r.raceId = q.raceId\nWHERE r.date >= '1995-01-01'\n AND r.date < '1996-01-01'\n AND INSTR(q.q1, ':') > 0\n AND 60 * CAST(SUBSTR(q.q1, 1, INSTR(q.q1, ':') - 1) AS INTEGER)\n + CAST(SUBSTR(q.q1, INSTR(q.q1, ':') + 1) AS REAL) > 120;", "seconds": 15.546498958021402, "calls": [{"seconds": 2.3744395000394434, "usage": {"completion_tokens": 67, "prompt_tokens": 1696, "total_tokens": 1763, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1131, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1131, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1131, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.286043124971911, "usage": {"completion_tokens": 175, "prompt_tokens": 1974, "total_tokens": 2149, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 96, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1131, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.94204441702459, "usage": {"completion_tokens": 152, "prompt_tokens": 2402, "total_tokens": 2554, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 428, "cached_tokens": 1409, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 428, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 428, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9249182919738814, "usage": {"completion_tokens": 140, "prompt_tokens": 2713, "total_tokens": 2853, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 311, "cached_tokens": 1837, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 311, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 311, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "475983d1a2bc8524045057a37e66375666ffcb1a0bfce3de70e71823830313a7", "csv_sha256": "624189edf0ae82c8cf041dde5f5479ac51528a6e02e33698f6b95c08b5a9beb3"} +{"instance_id": "bird278", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH september_stops AS (\n SELECT p.driverId, p.raceId, p.duration, p.milliseconds\n FROM pitStops AS p\n JOIN races AS r ON r.raceId = p.raceId\n WHERE r.date >= '2016-09-01' AND r.date < '2016-10-01'\n)\nSELECT d.forename || ' ' || d.surname AS driver_full_name,\n s.duration AS pit_stop_time,\n r.name AS race_name,\n c.name AS circuit_name,\n c.location AS circuit_location\nFROM september_stops AS s\nJOIN drivers AS d ON d.driverId = s.driverId\nJOIN races AS r ON r.raceId = s.raceId\nJOIN circuits AS c ON c.circuitId = r.circuitId\nWHERE s.milliseconds = (SELECT MIN(milliseconds) FROM september_stops);\n```", "rows": 2, "sql": "WITH september_stops AS (\n SELECT p.driverId, p.raceId, p.duration, p.milliseconds\n FROM pitStops AS p\n JOIN races AS r ON r.raceId = p.raceId\n WHERE r.date >= '2016-09-01' AND r.date < '2016-10-01'\n)\nSELECT d.forename || ' ' || d.surname AS driver_full_name,\n s.duration AS pit_stop_time,\n r.name AS race_name,\n c.name AS circuit_name,\n c.location AS circuit_location\nFROM september_stops AS s\nJOIN drivers AS d ON d.driverId = s.driverId\nJOIN races AS r ON r.raceId = s.raceId\nJOIN circuits AS c ON c.circuitId = r.circuitId\nWHERE s.milliseconds = (SELECT MIN(milliseconds) FROM september_stops);", "seconds": 13.790128624998033, "calls": [{"seconds": 2.780885834014043, "usage": {"completion_tokens": 83, "prompt_tokens": 1726, "total_tokens": 1809, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1161, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1161, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1161, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.1963103340240195, "usage": {"completion_tokens": 284, "prompt_tokens": 2074, "total_tokens": 2358, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 75, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 348, "cached_tokens": 1161, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 348, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 348, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.793244583066553, "usage": {"completion_tokens": 211, "prompt_tokens": 2638, "total_tokens": 2849, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 18, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 564, "cached_tokens": 1509, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 564, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 564, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a1afcaa3186bc488cb0667ff6e9550619145f6e012d4abb98b698557c35cbb52", "csv_sha256": "f0fadf3b8c6f763ad766b4f140c07164bd8ef24c51ed0205fd151fb623279e27"} +{"instance_id": "bird279", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH first_win AS (\n SELECT d.driverId,\n d.forename || ' ' || d.surname AS full_name,\n d.nationality,\n r.name AS first_win_name,\n r.date AS first_win_date\n FROM drivers AS d\n JOIN results AS res ON res.driverId = d.driverId\n JOIN races AS r ON r.raceId = res.raceId\n WHERE res.position = 1\n AND d.dob IS NOT NULL\n AND r.year BETWEEN 1950 AND 2017\n ORDER BY d.dob, full_name, d.driverId, r.date, r.name, r.raceId\n LIMIT 1\n)\nSELECT w.full_name,\n w.nationality,\n w.first_win_name,\n w.first_win_date,\n (\n SELECT COUNT(DISTINCT res.raceId)\n FROM results AS res\n JOIN races AS r ON r.raceId = res.raceId\n WHERE res.driverId = w.driverId\n AND r.year BETWEEN 1950 AND 2017\n AND NOT EXISTS (\n SELECT 1\n FROM status AS s\n WHERE s.statusId = res.statusId\n AND s.status IN ('Did not start', 'Withdrew', 'Did not qualify',\n 'Did not prequalify', '107% Rule')\n )\n ) AS total_races_started\nFROM first_win AS w;\n```", "rows": 1, "sql": "WITH first_win AS (\n SELECT d.driverId,\n d.forename || ' ' || d.surname AS full_name,\n d.nationality,\n r.name AS first_win_name,\n r.date AS first_win_date\n FROM drivers AS d\n JOIN results AS res ON res.driverId = d.driverId\n JOIN races AS r ON r.raceId = res.raceId\n WHERE res.position = 1\n AND d.dob IS NOT NULL\n AND r.year BETWEEN 1950 AND 2017\n ORDER BY d.dob, full_name, d.driverId, r.date, r.name, r.raceId\n LIMIT 1\n)\nSELECT w.full_name,\n w.nationality,\n w.first_win_name,\n w.first_win_date,\n (\n SELECT COUNT(DISTINCT res.raceId)\n FROM results AS res\n JOIN races AS r ON r.raceId = res.raceId\n WHERE res.driverId = w.driverId\n AND r.year BETWEEN 1950 AND 2017\n AND NOT EXISTS (\n SELECT 1\n FROM status AS s\n WHERE s.statusId = res.statusId\n AND s.status IN ('Did not start', 'Withdrew', 'Did not qualify',\n 'Did not prequalify', '107% Rule')\n )\n ) AS total_races_started\nFROM first_win AS w;", "seconds": 53.18050504196435, "calls": [{"seconds": 2.963372709113173, "usage": {"completion_tokens": 95, "prompt_tokens": 1795, "total_tokens": 1890, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1230, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1230, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1230, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.351263249991462, "usage": {"completion_tokens": 241, "prompt_tokens": 2214, "total_tokens": 2455, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 206, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 419, "cached_tokens": 1230, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 419, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 419, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.014252624940127, "usage": {"completion_tokens": 100, "prompt_tokens": 2764, "total_tokens": 2864, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 32, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 550, "cached_tokens": 1649, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 550, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 550, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.063743500038981, "usage": {"completion_tokens": 109, "prompt_tokens": 2982, "total_tokens": 3091, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 60, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 218, "cached_tokens": 2199, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 218, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 218, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.616006958996877, "usage": {"completion_tokens": 427, "prompt_tokens": 3410, "total_tokens": 3837, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 160, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 428, "cached_tokens": 2417, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 428, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 428, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 17.60131237504538, "usage": {"completion_tokens": 832, "prompt_tokens": 4444, "total_tokens": 5276, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 493, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1034, "cached_tokens": 2845, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1034, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1034, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.225665834033862, "usage": {"completion_tokens": 389, "prompt_tokens": 5648, "total_tokens": 6037, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 78, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1204, "cached_tokens": 3879, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1204, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1204, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6d9bfae488650b86a914c10560b7ed83fe08b99de7ad8990647a0945e8a66479", "csv_sha256": "f6d3f17f72c1a59a5b57ba1810329ed82215da0ead2772748fe86059e8d2baa7"} +{"instance_id": "bird280", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT r.raceId) AS runnings\nFROM races AS r\nJOIN results AS res ON res.raceId = r.raceId\nJOIN status AS s ON s.statusId = res.statusId\nWHERE r.name = 'Canadian Grand Prix'\n AND s.status = 'Accident';\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT r.raceId) AS runnings\nFROM races AS r\nJOIN results AS res ON res.raceId = r.raceId\nJOIN status AS s ON s.statusId = res.statusId\nWHERE r.name = 'Canadian Grand Prix'\n AND s.status = 'Accident';", "seconds": 8.259035915951245, "calls": [{"seconds": 2.5973838749341667, "usage": {"completion_tokens": 66, "prompt_tokens": 1696, "total_tokens": 1762, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1131, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1131, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1131, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8412738750921562, "usage": {"completion_tokens": 83, "prompt_tokens": 1989, "total_tokens": 2072, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 293, "cached_tokens": 1131, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 293, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 293, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.797221333021298, "usage": {"completion_tokens": 73, "prompt_tokens": 2165, "total_tokens": 2238, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 176, "cached_tokens": 1424, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 176, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 176, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "55dfa546e809f9ab91c17ea0e38f7490d2bdaec31f952c4db5e68902e43f21c7", "csv_sha256": "cb5cf313cdfbf2c85605f90bdba1981fdd0e9cdd4e3e663c9a20699189a237fe"} +{"instance_id": "bird281", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT d.forename, d.surname, c.name AS constructor_name\nFROM qualifying AS q\nJOIN races AS r ON r.raceId = q.raceId\nJOIN drivers AS d ON d.driverId = q.driverId\nJOIN constructors AS c ON c.constructorId = q.constructorId\nLEFT JOIN results AS res ON res.raceId = q.raceId AND res.driverId = q.driverId\nWHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND INSTR(q.q2, ':') > 0\nORDER BY\n 60000 * CAST(SUBSTR(q.q2, 1, INSTR(q.q2, ':') - 1) AS INTEGER)\n + CAST(REPLACE(SUBSTR(q.q2, INSTR(q.q2, ':') + 1), '.', '') AS INTEGER),\n CASE WHEN res.grid > 0 THEN 0 ELSE 1 END,\n res.grid\nLIMIT 1 OFFSET 1;\n```", "rows": 1, "sql": "SELECT d.forename, d.surname, c.name AS constructor_name\nFROM qualifying AS q\nJOIN races AS r ON r.raceId = q.raceId\nJOIN drivers AS d ON d.driverId = q.driverId\nJOIN constructors AS c ON c.constructorId = q.constructorId\nLEFT JOIN results AS res ON res.raceId = q.raceId AND res.driverId = q.driverId\nWHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND INSTR(q.q2, ':') > 0\nORDER BY\n 60000 * CAST(SUBSTR(q.q2, 1, INSTR(q.q2, ':') - 1) AS INTEGER)\n + CAST(REPLACE(SUBSTR(q.q2, INSTR(q.q2, ':') + 1), '.', '') AS INTEGER),\n CASE WHEN res.grid > 0 THEN 0 ELSE 1 END,\n res.grid\nLIMIT 1 OFFSET 1;", "seconds": 14.59530329098925, "calls": [{"seconds": 3.109500874998048, "usage": {"completion_tokens": 98, "prompt_tokens": 1750, "total_tokens": 1848, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1185, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1185, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1185, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.761670082923956, "usage": {"completion_tokens": 364, "prompt_tokens": 2239, "total_tokens": 2603, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 133, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 489, "cached_tokens": 1185, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 489, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 489, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.694004791905172, "usage": {"completion_tokens": 215, "prompt_tokens": 2849, "total_tokens": 3064, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 610, "cached_tokens": 1674, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 610, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 610, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ff72f20988713c8a4d37088d66f2f70151c124485ad725130e1d3702816eb368", "csv_sha256": "73e44b4c180a32dd86c85d4049c0297ffc1d9bffcfc0d46a8be23e1648a29934"} +{"instance_id": "bird282", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH season_q2 AS (\n SELECT q.driverId,\n r.name AS race_name,\n 60 * CAST(SUBSTR(q.q2, 1, INSTR(q.q2, ':') - 1) AS INTEGER)\n + CAST(SUBSTR(q.q2, INSTR(q.q2, ':') + 1) AS REAL) AS q2_seconds\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n WHERE r.year = 2017\n AND INSTR(q.q2, ':') > 0\n)\nSELECT d.surname, s.race_name\nFROM season_q2 AS s\nJOIN drivers AS d ON d.driverId = s.driverId\nWHERE s.q2_seconds = (SELECT MIN(q2_seconds) FROM season_q2)\nORDER BY d.surname, s.race_name;\n```", "rows": 1, "sql": "WITH season_q2 AS (\n SELECT q.driverId,\n r.name AS race_name,\n 60 * CAST(SUBSTR(q.q2, 1, INSTR(q.q2, ':') - 1) AS INTEGER)\n + CAST(SUBSTR(q.q2, INSTR(q.q2, ':') + 1) AS REAL) AS q2_seconds\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n WHERE r.year = 2017\n AND INSTR(q.q2, ':') > 0\n)\nSELECT d.surname, s.race_name\nFROM season_q2 AS s\nJOIN drivers AS d ON d.driverId = s.driverId\nWHERE s.q2_seconds = (SELECT MIN(q2_seconds) FROM season_q2)\nORDER BY d.surname, s.race_name;", "seconds": 14.04797141707968, "calls": [{"seconds": 2.565290040918626, "usage": {"completion_tokens": 67, "prompt_tokens": 1712, "total_tokens": 1779, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1147, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1147, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1147, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.94632158393506, "usage": {"completion_tokens": 327, "prompt_tokens": 1990, "total_tokens": 2317, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 118, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1147, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.521305209025741, "usage": {"completion_tokens": 192, "prompt_tokens": 2538, "total_tokens": 2730, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 548, "cached_tokens": 1425, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 548, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 548, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7d97bff792b682372e89af3d2c96c4396079d619cdd8aaa6ac503aeca9319908", "csv_sha256": "5a8e23486a024aef2e9c211f0e0424e986847d3cbddc92079731bdb503fc38fa"} +{"instance_id": "bird283", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH q3_times AS (\n SELECT q.driverId,\n 60000 * CAST(SUBSTR(q.q3, 1, INSTR(q.q3, ':') - 1) AS INTEGER)\n + CAST(REPLACE(SUBSTR(q.q3, INSTR(q.q3, ':') + 1), '.', '') AS INTEGER) AS time_ms\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n WHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND q.q3 GLOB '[0-9]*:[0-5][0-9].[0-9][0-9][0-9]'\n)\nSELECT d.number\nFROM q3_times AS t\nJOIN drivers AS d ON d.driverId = t.driverId\nWHERE t.time_ms = (SELECT MIN(time_ms) FROM q3_times)\nORDER BY d.number;\n```", "rows": 1, "sql": "WITH q3_times AS (\n SELECT q.driverId,\n 60000 * CAST(SUBSTR(q.q3, 1, INSTR(q.q3, ':') - 1) AS INTEGER)\n + CAST(REPLACE(SUBSTR(q.q3, INSTR(q.q3, ':') + 1), '.', '') AS INTEGER) AS time_ms\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n WHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND q.q3 GLOB '[0-9]*:[0-5][0-9].[0-9][0-9][0-9]'\n)\nSELECT d.number\nFROM q3_times AS t\nJOIN drivers AS d ON d.driverId = t.driverId\nWHERE t.time_ms = (SELECT MIN(time_ms) FROM q3_times)\nORDER BY d.number;", "seconds": 16.250242166919634, "calls": [{"seconds": 2.333611416979693, "usage": {"completion_tokens": 67, "prompt_tokens": 1725, "total_tokens": 1792, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1160, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1160, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1160, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.25950716692023, "usage": {"completion_tokens": 437, "prompt_tokens": 2003, "total_tokens": 2440, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 214, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1160, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.6383521660463884, "usage": {"completion_tokens": 204, "prompt_tokens": 2662, "total_tokens": 2866, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 659, "cached_tokens": 1438, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 659, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 659, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "46dc6dad4d2510a1baba56087729293adccce2d66107e1e5e1be49512c95de64", "csv_sha256": "bcde7e695601bff747cf7c4baaa2b5857479d7740b7f56503538f45cfc70793e"} +{"instance_id": "bird284", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH ranked_q3 AS (\n SELECT d.code AS driver_code,\n q.q3 AS fastest_q3_time,\n RANK() OVER (\n ORDER BY 60 * CAST(substr(q.q3, 1, instr(q.q3, ':') - 1) AS INTEGER)\n + CAST(substr(q.q3, instr(q.q3, ':') + 1) AS REAL)\n ) AS time_rank\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n JOIN drivers AS d ON d.driverId = q.driverId\n WHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND instr(q.q3, ':') > 0\n)\nSELECT driver_code, fastest_q3_time\nFROM ranked_q3\nWHERE time_rank = 1\nORDER BY driver_code;\n```", "rows": 1, "sql": "WITH ranked_q3 AS (\n SELECT d.code AS driver_code,\n q.q3 AS fastest_q3_time,\n RANK() OVER (\n ORDER BY 60 * CAST(substr(q.q3, 1, instr(q.q3, ':') - 1) AS INTEGER)\n + CAST(substr(q.q3, instr(q.q3, ':') + 1) AS REAL)\n ) AS time_rank\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n JOIN drivers AS d ON d.driverId = q.driverId\n WHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND instr(q.q3, ':') > 0\n)\nSELECT driver_code, fastest_q3_time\nFROM ranked_q3\nWHERE time_rank = 1\nORDER BY driver_code;", "seconds": 17.100189917022362, "calls": [{"seconds": 3.1392701249569654, "usage": {"completion_tokens": 67, "prompt_tokens": 1704, "total_tokens": 1771, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1139, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1139, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1139, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8256944590248168, "usage": {"completion_tokens": 129, "prompt_tokens": 1982, "total_tokens": 2111, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 53, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1139, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.884088833001442, "usage": {"completion_tokens": 282, "prompt_tokens": 2327, "total_tokens": 2609, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 73, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 345, "cached_tokens": 1417, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 345, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 345, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.225087417056784, "usage": {"completion_tokens": 190, "prompt_tokens": 2832, "total_tokens": 3022, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 505, "cached_tokens": 1762, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 505, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 505, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7d4d02c0c2f306a1a14fa38f999edadd9db3446f00c947edcc65e5ee384d150e", "csv_sha256": "04df589f11eb50703ab44d3811b09d6959591b00adc6356e2f6952475831d654"} +{"instance_id": "bird285", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH q3_times AS (\n SELECT q.driverId,\n 60 * CAST(SUBSTR(q.q3, 1, INSTR(q.q3, ':') - 1) AS INTEGER)\n + CAST(SUBSTR(q.q3, INSTR(q.q3, ':') + 1) AS REAL) AS seconds\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n WHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND INSTR(q.q3, ':') > 0\n)\nSELECT d.nationality\nFROM q3_times AS t\nJOIN drivers AS d ON d.driverId = t.driverId\nWHERE t.seconds = (SELECT MIN(seconds) FROM q3_times);\n```", "rows": 1, "sql": "WITH q3_times AS (\n SELECT q.driverId,\n 60 * CAST(SUBSTR(q.q3, 1, INSTR(q.q3, ':') - 1) AS INTEGER)\n + CAST(SUBSTR(q.q3, INSTR(q.q3, ':') + 1) AS REAL) AS seconds\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n WHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND INSTR(q.q3, ':') > 0\n)\nSELECT d.nationality\nFROM q3_times AS t\nJOIN drivers AS d ON d.driverId = t.driverId\nWHERE t.seconds = (SELECT MIN(seconds) FROM q3_times);", "seconds": 15.496672000037506, "calls": [{"seconds": 2.920230916934088, "usage": {"completion_tokens": 67, "prompt_tokens": 1696, "total_tokens": 1763, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1131, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1131, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1131, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.430115875089541, "usage": {"completion_tokens": 349, "prompt_tokens": 1974, "total_tokens": 2323, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 159, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1131, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.128012332948856, "usage": {"completion_tokens": 174, "prompt_tokens": 2516, "total_tokens": 2690, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 542, "cached_tokens": 1409, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 542, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 542, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1338bad6d7ab2dd89fed528cdcb7f334eb7c7fd0cb1cac15027c0ff783bb1a5e", "csv_sha256": "135f917111645dd9fe0082bee9877a5e7781ad86223a35cbfa4b0b9d320daec7"} +{"instance_id": "bird286", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH earliest_edition AS (\n SELECT raceId, year\n FROM races\n WHERE name = 'Chinese Grand Prix'\n AND year BETWEEN 2000 AND 2009\n AND TIME(time) IS NOT NULL\n ORDER BY TIME(time) ASC, year DESC\n LIMIT 1\n)\nSELECT e.year AS season_year, r.time AS runner_up_time_gap\nFROM earliest_edition AS e\nJOIN results AS r ON r.raceId = e.raceId\nWHERE r.position = 2;\n```", "rows": 1, "sql": "WITH earliest_edition AS (\n SELECT raceId, year\n FROM races\n WHERE name = 'Chinese Grand Prix'\n AND year BETWEEN 2000 AND 2009\n AND TIME(time) IS NOT NULL\n ORDER BY TIME(time) ASC, year DESC\n LIMIT 1\n)\nSELECT e.year AS season_year, r.time AS runner_up_time_gap\nFROM earliest_edition AS e\nJOIN results AS r ON r.raceId = e.raceId\nWHERE r.position = 2;", "seconds": 28.41805600002408, "calls": [{"seconds": 2.713976874947548, "usage": {"completion_tokens": 67, "prompt_tokens": 1713, "total_tokens": 1780, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1148, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1148, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1148, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6934759999858215, "usage": {"completion_tokens": 129, "prompt_tokens": 2048, "total_tokens": 2177, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 335, "cached_tokens": 1148, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 335, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 335, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.134905416052788, "usage": {"completion_tokens": 344, "prompt_tokens": 2895, "total_tokens": 3239, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 321, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 847, "cached_tokens": 1483, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 847, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 847, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.23940954101272, "usage": {"completion_tokens": 336, "prompt_tokens": 3261, "total_tokens": 3597, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 206, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 366, "cached_tokens": 2330, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 366, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 366, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5972601249814034, "usage": {"completion_tokens": 116, "prompt_tokens": 3745, "total_tokens": 3861, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 484, "cached_tokens": 2696, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 484, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 484, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2925c8d044a090c15e8925de21a67e4bdda9873d4d2d0a7381dbdbabf8358520", "csv_sha256": "e67401effe38fa762b525cc3ea6e2a63eecbf99716034b32512f79a6b4ed4c28"} +{"instance_id": "bird287", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT d.code\nFROM drivers AS d\nWHERE EXISTS (\n SELECT 1\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n WHERE q.driverId = d.driverId\n AND r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND TRIM(q.q3) NOT IN ('', '\\N')\n)\nORDER BY d.code;\n```", "rows": 10, "sql": "SELECT d.code\nFROM drivers AS d\nWHERE EXISTS (\n SELECT 1\n FROM qualifying AS q\n JOIN races AS r ON r.raceId = q.raceId\n WHERE q.driverId = d.driverId\n AND r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND TRIM(q.q3) NOT IN ('', '\\N')\n)\nORDER BY d.code;", "seconds": 10.560084832948633, "calls": [{"seconds": 2.3971993749728426, "usage": {"completion_tokens": 67, "prompt_tokens": 1698, "total_tokens": 1765, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1133, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1133, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1133, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.577014875016175, "usage": {"completion_tokens": 180, "prompt_tokens": 1976, "total_tokens": 2156, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 67, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1133, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.343377250013873, "usage": {"completion_tokens": 97, "prompt_tokens": 2293, "total_tokens": 2390, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 317, "cached_tokens": 1411, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 317, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 317, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2488ac0644866c576c87ee8d212b8a8e9a23ae40e39286fa5c3825221551a3c2", "csv_sha256": "0fbbdbf470c2196e0892ce548a9e43e9d108a4e571dbfdfc96e600b5bc6cf8ed"} +{"instance_id": "bird288", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT r.year, d.forename, d.surname, res.time AS finish_time\nFROM races AS r\nJOIN results AS res ON res.raceId = r.raceId\nJOIN drivers AS d ON d.driverId = res.driverId\nWHERE r.name = 'Canadian Grand Prix'\n AND r.year BETWEEN 2007 AND 2017\n AND time(r.time) <= '17:00:00'\n AND res.position = 1\nORDER BY r.year;\n```", "rows": 4, "sql": "SELECT r.year, d.forename, d.surname, res.time AS finish_time\nFROM races AS r\nJOIN results AS res ON res.raceId = r.raceId\nJOIN drivers AS d ON d.driverId = res.driverId\nWHERE r.name = 'Canadian Grand Prix'\n AND r.year BETWEEN 2007 AND 2017\n AND time(r.time) <= '17:00:00'\n AND res.position = 1\nORDER BY r.year;", "seconds": 20.538381749996915, "calls": [{"seconds": 2.779658791027032, "usage": {"completion_tokens": 82, "prompt_tokens": 1767, "total_tokens": 1849, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1202, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1202, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1202, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.164884208003059, "usage": {"completion_tokens": 115, "prompt_tokens": 2186, "total_tokens": 2301, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 419, "cached_tokens": 1202, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 419, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 419, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.76224424992688, "usage": {"completion_tokens": 163, "prompt_tokens": 2860, "total_tokens": 3023, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 146, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 674, "cached_tokens": 1621, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 674, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 674, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.43446658400353, "usage": {"completion_tokens": 214, "prompt_tokens": 3082, "total_tokens": 3296, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 94, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 222, "cached_tokens": 2295, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 222, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 222, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.357890542014502, "usage": {"completion_tokens": 108, "prompt_tokens": 3500, "total_tokens": 3608, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 418, "cached_tokens": 2517, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 418, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 418, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "3ea7958cdc0c84b45defbe94db7d7a08260a1b4485b0e17fb01feacf392d973f", "csv_sha256": "db44d519101b98c1127fbb43b373b2711a4b9688ea255797ba5d7355aa988eb2"} +{"instance_id": "bird289", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT d.number, d.surname\nFROM qualifying AS q\nJOIN drivers AS d ON d.driverId = q.driverId\nJOIN races AS r ON r.raceId = q.raceId\nJOIN circuits AS c ON c.circuitId = r.circuitId\nWHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND c.circuitRef = 'monza'\n AND INSTR(q.q3, ':') > 0\n AND 60 * CAST(SUBSTR(q.q3, 1, INSTR(q.q3, ':') - 1) AS INTEGER)\n + CAST(SUBSTR(q.q3, INSTR(q.q3, ':') + 1) AS REAL) < 98.000;\n```", "rows": 7, "sql": "SELECT d.number, d.surname\nFROM qualifying AS q\nJOIN drivers AS d ON d.driverId = q.driverId\nJOIN races AS r ON r.raceId = q.raceId\nJOIN circuits AS c ON c.circuitId = r.circuitId\nWHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND c.circuitRef = 'monza'\n AND INSTR(q.q3, ':') > 0\n AND 60 * CAST(SUBSTR(q.q3, 1, INSTR(q.q3, ':') - 1) AS INTEGER)\n + CAST(SUBSTR(q.q3, INSTR(q.q3, ':') + 1) AS REAL) < 98.000;", "seconds": 16.757050750078633, "calls": [{"seconds": 2.657203375012614, "usage": {"completion_tokens": 83, "prompt_tokens": 1749, "total_tokens": 1832, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1184, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1184, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1184, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.186862167087384, "usage": {"completion_tokens": 337, "prompt_tokens": 2110, "total_tokens": 2447, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 154, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 361, "cached_tokens": 1184, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 361, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 361, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.8897472500102594, "usage": {"completion_tokens": 301, "prompt_tokens": 2672, "total_tokens": 2973, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 130, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 562, "cached_tokens": 1545, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 562, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 562, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8393dcf5227cec7372c106c6e4c198e02408a01d3ec6f02f20784cc5524e04b0", "csv_sha256": "0c0e2b5f81419acf1d3bcf16c9bc30abecae507ca701a67e7b2f328ded604b4c"} +{"instance_id": "bird290", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH local_starts AS (\n SELECT c.circuitRef,\n time(r.time, printf('%+d minutes', CASE\n -- These archive entries already use venue-local time.\n WHEN r.year <= 2006\n OR (c.circuitRef = 'yas_marina' AND r.date = '2017-11-26') THEN 0\n -- UTC offsets on the recorded race dates.\n WHEN c.circuitRef = 'americas' THEN\n CASE WHEN r.date < date(r.year || '-11-01', 'weekday 0')\n THEN -300 ELSE -360 END\n WHEN c.circuitRef = 'rodriguez' THEN -360\n WHEN c.circuitRef IN ('indianapolis', 'villeneuve') THEN -240\n WHEN c.circuitRef = 'interlagos' THEN -120\n WHEN c.circuitRef = 'silverstone' THEN 60\n WHEN c.circuitRef IN ('bahrain', 'istanbul') THEN 180\n WHEN c.circuitRef IN ('BAK', 'yas_marina') THEN 240\n WHEN c.circuitRef = 'sochi' THEN CASE WHEN r.year = 2014 THEN 240 ELSE 180 END\n WHEN c.circuitRef = 'buddh' THEN 330\n WHEN c.circuitRef IN ('marina_bay', 'sepang', 'shanghai') THEN 480\n WHEN c.circuitRef IN ('fuji', 'suzuka', 'yeongam') THEN 540\n WHEN c.circuitRef IN ('catalunya', 'hockenheimring', 'hungaroring',\n 'magny_cours', 'monaco', 'monza', 'nurburgring',\n 'red_bull_ring', 'spa', 'valencia') THEN 120\n END)) AS local_start\n FROM races AS r\n JOIN circuits AS c ON c.circuitId = r.circuitId\n WHERE r.time IS NOT NULL\n), extrema AS (\n SELECT MIN(local_start) AS earliest, MAX(local_start) AS latest\n FROM local_starts\n)\nSELECT (SELECT group_concat(circuitRef, ', ')\n FROM (SELECT DISTINCT circuitRef FROM local_starts\n WHERE local_start = e.earliest ORDER BY circuitRef)) AS earliest_circuit_refs,\n (SELECT group_concat(circuitRef, ', ')\n FROM (SELECT DISTINCT circuitRef FROM local_starts\n WHERE local_start = e.latest ORDER BY circuitRef)) AS latest_circuit_refs,\n CAST(strftime('%s', e.latest) AS INTEGER)\n - CAST(strftime('%s', e.earliest) AS INTEGER) AS gap_seconds\nFROM extrema AS e;\n```", "rows": 1, "sql": "WITH local_starts AS (\n SELECT c.circuitRef,\n time(r.time, printf('%+d minutes', CASE\n -- These archive entries already use venue-local time.\n WHEN r.year <= 2006\n OR (c.circuitRef = 'yas_marina' AND r.date = '2017-11-26') THEN 0\n -- UTC offsets on the recorded race dates.\n WHEN c.circuitRef = 'americas' THEN\n CASE WHEN r.date < date(r.year || '-11-01', 'weekday 0')\n THEN -300 ELSE -360 END\n WHEN c.circuitRef = 'rodriguez' THEN -360\n WHEN c.circuitRef IN ('indianapolis', 'villeneuve') THEN -240\n WHEN c.circuitRef = 'interlagos' THEN -120\n WHEN c.circuitRef = 'silverstone' THEN 60\n WHEN c.circuitRef IN ('bahrain', 'istanbul') THEN 180\n WHEN c.circuitRef IN ('BAK', 'yas_marina') THEN 240\n WHEN c.circuitRef = 'sochi' THEN CASE WHEN r.year = 2014 THEN 240 ELSE 180 END\n WHEN c.circuitRef = 'buddh' THEN 330\n WHEN c.circuitRef IN ('marina_bay', 'sepang', 'shanghai') THEN 480\n WHEN c.circuitRef IN ('fuji', 'suzuka', 'yeongam') THEN 540\n WHEN c.circuitRef IN ('catalunya', 'hockenheimring', 'hungaroring',\n 'magny_cours', 'monaco', 'monza', 'nurburgring',\n 'red_bull_ring', 'spa', 'valencia') THEN 120\n END)) AS local_start\n FROM races AS r\n JOIN circuits AS c ON c.circuitId = r.circuitId\n WHERE r.time IS NOT NULL\n), extrema AS (\n SELECT MIN(local_start) AS earliest, MAX(local_start) AS latest\n FROM local_starts\n)\nSELECT (SELECT group_concat(circuitRef, ', ')\n FROM (SELECT DISTINCT circuitRef FROM local_starts\n WHERE local_start = e.earliest ORDER BY circuitRef)) AS earliest_circuit_refs,\n (SELECT group_concat(circuitRef, ', ')\n FROM (SELECT DISTINCT circuitRef FROM local_starts\n WHERE local_start = e.latest ORDER BY circuitRef)) AS latest_circuit_refs,\n CAST(strftime('%s', e.latest) AS INTEGER)\n - CAST(strftime('%s', e.earliest) AS INTEGER) AS gap_seconds\nFROM extrema AS e;", "seconds": 84.46250670903828, "calls": [{"seconds": 2.847979334066622, "usage": {"completion_tokens": 68, "prompt_tokens": 1717, "total_tokens": 1785, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1152, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1152, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1152, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.1469404590316117, "usage": {"completion_tokens": 18, "prompt_tokens": 1948, "total_tokens": 1966, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 231, "cached_tokens": 1152, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 231, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 231, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.4537402499699965, "usage": {"completion_tokens": 132, "prompt_tokens": 1996, "total_tokens": 2128, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 58, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1383, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5881711669499055, "usage": {"completion_tokens": 92, "prompt_tokens": 2272, "total_tokens": 2364, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 276, "cached_tokens": 1431, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 276, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 276, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.646436291048303, "usage": {"completion_tokens": 127, "prompt_tokens": 3368, "total_tokens": 3495, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 70, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1096, "cached_tokens": 1707, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1096, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1096, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.32443779206369, "usage": {"completion_tokens": 283, "prompt_tokens": 4450, "total_tokens": 4733, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 156, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1082, "cached_tokens": 2803, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1082, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1082, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 15.028781207976863, "usage": {"completion_tokens": 625, "prompt_tokens": 5652, "total_tokens": 6277, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 516, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1202, "cached_tokens": 3885, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1202, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1202, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.685143999988213, "usage": {"completion_tokens": 414, "prompt_tokens": 7082, "total_tokens": 7496, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 325, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1430, "cached_tokens": 5087, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1430, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1430, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 21.55672350001987, "usage": {"completion_tokens": 1099, "prompt_tokens": 7615, "total_tokens": 8714, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 484, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 533, "cached_tokens": 6517, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 533, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 533, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.1314855000237, "usage": {"completion_tokens": 623, "prompt_tokens": 9346, "total_tokens": 9969, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 35, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1731, "cached_tokens": 7050, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1731, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1731, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0f1cf3a846dd089b6b794edfad48f0b7ad427d2ca76981ce3cd88e12beebcba9", "csv_sha256": "9b14f2b1e93e017170a6a0c9ca9c364b7d4937c612e24f2227d723036f605008"} +{"instance_id": "bird291", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT d.forename, d.surname\nFROM drivers AS d\nJOIN results AS r ON r.driverId = d.driverId\nWHERE d.dob >= '1980-01-01'\n AND d.dob < '1990-01-01'\n AND TRIM(r.fastestLapSpeed) NOT IN ('', '\\N')\nGROUP BY d.driverId, d.forename, d.surname, d.dob\nORDER BY MAX(CAST(r.fastestLapSpeed AS REAL)) DESC,\n d.dob ASC,\n d.surname ASC\nLIMIT 3;\n```", "rows": 3, "sql": "SELECT d.forename, d.surname\nFROM drivers AS d\nJOIN results AS r ON r.driverId = d.driverId\nWHERE d.dob >= '1980-01-01'\n AND d.dob < '1990-01-01'\n AND TRIM(r.fastestLapSpeed) NOT IN ('', '\\N')\nGROUP BY d.driverId, d.forename, d.surname, d.dob\nORDER BY MAX(CAST(r.fastestLapSpeed AS REAL)) DESC,\n d.dob ASC,\n d.surname ASC\nLIMIT 3;", "seconds": 12.000773000065237, "calls": [{"seconds": 2.2496811660239473, "usage": {"completion_tokens": 50, "prompt_tokens": 1767, "total_tokens": 1817, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1202, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1202, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1202, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.759470458026044, "usage": {"completion_tokens": 231, "prompt_tokens": 2021, "total_tokens": 2252, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 86, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 254, "cached_tokens": 1202, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 254, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 254, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.959889416000806, "usage": {"completion_tokens": 128, "prompt_tokens": 2413, "total_tokens": 2541, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 392, "cached_tokens": 1456, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 392, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 392, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b602c01e7c63492960d8511e89e38af83b6a9d00727b830983130f10a8af554a", "csv_sha256": "e2c86ff572c42d787aef2bf77810b6fd1ff4c081f03eea73c820b31fcfb9dc68"} +{"instance_id": "bird292", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT d.driverRef\nFROM qualifying AS q\nJOIN races AS r ON r.raceId = q.raceId\nJOIN drivers AS d ON d.driverId = q.driverId\nWHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND (q.q2 IS NULL OR TRIM(q.q2) = '')\nORDER BY CAST(SUBSTR(q.q1, 1, INSTR(q.q1, ':') - 1) AS INTEGER) DESC,\n CAST(SUBSTR(q.q1, INSTR(q.q1, ':') + 1) AS REAL) DESC,\n q.driverId ASC;\n```", "rows": 5, "sql": "SELECT d.driverRef\nFROM qualifying AS q\nJOIN races AS r ON r.raceId = q.raceId\nJOIN drivers AS d ON d.driverId = q.driverId\nWHERE r.year = 2017\n AND r.name = 'Italian Grand Prix'\n AND (q.q2 IS NULL OR TRIM(q.q2) = '')\nORDER BY CAST(SUBSTR(q.q1, 1, INSTR(q.q1, ':') - 1) AS INTEGER) DESC,\n CAST(SUBSTR(q.q1, INSTR(q.q1, ':') + 1) AS REAL) DESC,\n q.driverId ASC;", "seconds": 19.553200750029646, "calls": [{"seconds": 2.66744683298748, "usage": {"completion_tokens": 67, "prompt_tokens": 1714, "total_tokens": 1781, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1149, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1149, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1149, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0382205829955637, "usage": {"completion_tokens": 75, "prompt_tokens": 1992, "total_tokens": 2067, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1149, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.625060958904214, "usage": {"completion_tokens": 414, "prompt_tokens": 2518, "total_tokens": 2932, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 255, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 526, "cached_tokens": 1427, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 526, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 526, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.193824041052721, "usage": {"completion_tokens": 143, "prompt_tokens": 3116, "total_tokens": 3259, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 598, "cached_tokens": 1953, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 598, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 598, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7158ced49f67b61b78a444bb56ba97821023601e4fe18165fc705c0350c367e9", "csv_sha256": "8eb914d73ea88d0010c8dac478aac3e0bd3508b4e3c9ef7174e2810bb3982826"} +{"instance_id": "bird293", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT res.driverId)\nFROM results AS res\nJOIN races AS r ON r.raceId = res.raceId\nJOIN status AS s ON s.statusId = res.statusId\nWHERE r.year = 1962\n AND r.name = 'British Grand Prix'\n AND s.status = 'Withdrew';\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT res.driverId)\nFROM results AS res\nJOIN races AS r ON r.raceId = res.raceId\nJOIN status AS s ON s.statusId = res.statusId\nWHERE r.year = 1962\n AND r.name = 'British Grand Prix'\n AND s.status = 'Withdrew';", "seconds": 8.131024000002071, "calls": [{"seconds": 2.3623523339629173, "usage": {"completion_tokens": 66, "prompt_tokens": 1677, "total_tokens": 1743, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1112, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1112, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1112, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.845199750037864, "usage": {"completion_tokens": 89, "prompt_tokens": 1970, "total_tokens": 2059, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 293, "cached_tokens": 1112, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 293, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 293, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.898564500035718, "usage": {"completion_tokens": 78, "prompt_tokens": 2161, "total_tokens": 2239, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 191, "cached_tokens": 1405, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 191, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 191, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "81cb2e91e7d030919ffaf7d22085e431ee17dcf56de1df39fee3df380b3fc733", "csv_sha256": "f5a48a1a9b2733668866135b4908fb99a9d60273c4cb4aefafced128de2f8872"} +{"instance_id": "bird294", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(\n 100.0 * COUNT(DISTINCT CASE\n WHEN s.status = 'Finished' OR s.status LIKE '+% Lap%' THEN re.driverId\n END) / COUNT(DISTINCT re.driverId),\n 2\n) AS classified_finisher_percentage\nFROM races AS r\nJOIN results AS re ON re.raceId = r.raceId\nJOIN status AS s ON s.statusId = re.statusId\nWHERE r.year = 1957\n AND r.name = 'British Grand Prix'\n AND re.positionText <> 'W';\n```", "rows": 1, "sql": "SELECT ROUND(\n 100.0 * COUNT(DISTINCT CASE\n WHEN s.status = 'Finished' OR s.status LIKE '+% Lap%' THEN re.driverId\n END) / COUNT(DISTINCT re.driverId),\n 2\n) AS classified_finisher_percentage\nFROM races AS r\nJOIN results AS re ON re.raceId = r.raceId\nJOIN status AS s ON s.statusId = re.statusId\nWHERE r.year = 1957\n AND r.name = 'British Grand Prix'\n AND re.positionText <> 'W';", "seconds": 16.14090912498068, "calls": [{"seconds": 2.601652374956757, "usage": {"completion_tokens": 66, "prompt_tokens": 1715, "total_tokens": 1781, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1150, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1150, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1150, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0511524160392582, "usage": {"completion_tokens": 87, "prompt_tokens": 2008, "total_tokens": 2095, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 293, "cached_tokens": 1150, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 293, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 293, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.931151124997996, "usage": {"completion_tokens": 291, "prompt_tokens": 2492, "total_tokens": 2783, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 157, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 484, "cached_tokens": 1443, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 484, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 484, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.515958833973855, "usage": {"completion_tokens": 127, "prompt_tokens": 2928, "total_tokens": 3055, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 436, "cached_tokens": 1927, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 436, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 436, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0fc58ec763e213ac6e0048fd35b948881e6feac4c22705c5a84579815983c5c5", "csv_sha256": "15349e29aca5c010a39b5d6c9f1788f563e3610e198cd2d39d463193f2a5348a"} +{"instance_id": "bird295", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH event_totals AS (\n SELECT v.event_id, SUM(e.cost) AS total_expense\n FROM expense AS e\n JOIN member AS m ON m.member_id = e.link_to_member\n JOIN budget AS b ON b.budget_id = e.link_to_budget\n JOIN event AS v ON v.event_id = b.link_to_event\n WHERE m.first_name = 'Elijah'\n AND m.last_name = 'Allen'\n AND strftime('%m', e.expense_date) IN ('09', '10')\n GROUP BY v.event_id\n)\nSELECT ROUND(AVG(total_expense), 2) AS mean_total_expense_per_event\nFROM event_totals;\n```", "rows": 1, "sql": "WITH event_totals AS (\n SELECT v.event_id, SUM(e.cost) AS total_expense\n FROM expense AS e\n JOIN member AS m ON m.member_id = e.link_to_member\n JOIN budget AS b ON b.budget_id = e.link_to_budget\n JOIN event AS v ON v.event_id = b.link_to_event\n WHERE m.first_name = 'Elijah'\n AND m.last_name = 'Allen'\n AND strftime('%m', e.expense_date) IN ('09', '10')\n GROUP BY v.event_id\n)\nSELECT ROUND(AVG(total_expense), 2) AS mean_total_expense_per_event\nFROM event_totals;", "seconds": 18.52683641691692, "calls": [{"seconds": 2.7614639160456136, "usage": {"completion_tokens": 79, "prompt_tokens": 1619, "total_tokens": 1698, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1071, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1071, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1071, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.732949124998413, "usage": {"completion_tokens": 50, "prompt_tokens": 1900, "total_tokens": 1950, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 281, "cached_tokens": 1071, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 281, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 281, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.995934125036001, "usage": {"completion_tokens": 136, "prompt_tokens": 2031, "total_tokens": 2167, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 24, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 131, "cached_tokens": 1352, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 131, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 131, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.90797083301004, "usage": {"completion_tokens": 220, "prompt_tokens": 2817, "total_tokens": 3037, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 52, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 786, "cached_tokens": 1483, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 786, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 786, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.0920505420072, "usage": {"completion_tokens": 151, "prompt_tokens": 3213, "total_tokens": 3364, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 396, "cached_tokens": 2269, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 396, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 396, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a3d68fe74145032911b854d47a12415b6a7f0e18beceea7a8ad15a84c430505b", "csv_sha256": "fbbf79e63ee702f115d99159323e49f58c4d792dbc2ee829e5465975c79f9010"} +{"instance_id": "bird296", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT SUM(b.spent) FILTER (WHERE e.event_date < '2020-01-01')\n - SUM(b.spent) FILTER (WHERE e.event_date >= '2020-01-01') AS spending_difference\nFROM event AS e\nJOIN budget AS b ON b.link_to_event = e.event_id\nWHERE e.event_date >= '2019-01-01'\n AND e.event_date < '2021-01-01';\n```", "rows": 1, "sql": "SELECT SUM(b.spent) FILTER (WHERE e.event_date < '2020-01-01')\n - SUM(b.spent) FILTER (WHERE e.event_date >= '2020-01-01') AS spending_difference\nFROM event AS e\nJOIN budget AS b ON b.link_to_event = e.event_id\nWHERE e.event_date >= '2019-01-01'\n AND e.event_date < '2021-01-01';", "seconds": 16.98286741692573, "calls": [{"seconds": 2.836980125051923, "usage": {"completion_tokens": 79, "prompt_tokens": 1621, "total_tokens": 1700, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1073, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1073, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1073, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.672360124997795, "usage": {"completion_tokens": 133, "prompt_tokens": 1888, "total_tokens": 2021, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 67, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 267, "cached_tokens": 1073, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 267, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 267, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.231093334034085, "usage": {"completion_tokens": 227, "prompt_tokens": 2316, "total_tokens": 2543, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 112, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 428, "cached_tokens": 1340, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 428, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 428, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2198926670243964, "usage": {"completion_tokens": 101, "prompt_tokens": 2667, "total_tokens": 2768, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 351, "cached_tokens": 1768, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 351, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 351, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "c3d9150153aea660c5bdadc314cc5e659b19b581269a6db8530ac35b17d4ae07", "csv_sha256": "d64cc717d4d3e2286e11f8c8bce4f3848e39e380df9f68d043ba0cefcebe383a"} +{"instance_id": "bird297", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT notes\nFROM income\nWHERE date(date_received) = '2019-09-14'\n AND source LIKE '%fundrais%';\n```", "rows": 1, "sql": "SELECT notes\nFROM income\nWHERE date(date_received) = '2019-09-14'\n AND source LIKE '%fundrais%';", "seconds": 7.803787292097695, "calls": [{"seconds": 2.244319290970452, "usage": {"completion_tokens": 19, "prompt_tokens": 1614, "total_tokens": 1633, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1066, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1066, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1066, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.669575082953088, "usage": {"completion_tokens": 47, "prompt_tokens": 1682, "total_tokens": 1729, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 68, "cached_tokens": 1066, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 68, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 68, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.874651624937542, "usage": {"completion_tokens": 57, "prompt_tokens": 1791, "total_tokens": 1848, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 18, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 109, "cached_tokens": 1134, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 109, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 109, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5add2623a61453a221e05202176b3ffb55966bbb0d7142743d15c677f4fcc8bf", "csv_sha256": "81f8a68d1147028dc8c52c2630134c95301d174db1283af011d2b29b4f7f471c"} +{"instance_id": "bird298", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT 1.0 * SUM(CASE WHEN e.event_name = 'Yearly Kickoff' THEN b.amount END)\n / NULLIF(SUM(CASE WHEN e.event_name = 'October Meeting' THEN b.amount END), 0) AS advertisement_budget_ratio\nFROM budget AS b\nJOIN event AS e ON e.event_id = b.link_to_event\nWHERE b.category = 'Advertisement'\n AND e.event_name IN ('Yearly Kickoff', 'October Meeting');\n```", "rows": 1, "sql": "SELECT 1.0 * SUM(CASE WHEN e.event_name = 'Yearly Kickoff' THEN b.amount END)\n / NULLIF(SUM(CASE WHEN e.event_name = 'October Meeting' THEN b.amount END), 0) AS advertisement_budget_ratio\nFROM budget AS b\nJOIN event AS e ON e.event_id = b.link_to_event\nWHERE b.category = 'Advertisement'\n AND e.event_name IN ('Yearly Kickoff', 'October Meeting');", "seconds": 12.170659124967642, "calls": [{"seconds": 2.7600420000962913, "usage": {"completion_tokens": 50, "prompt_tokens": 1618, "total_tokens": 1668, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1070, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1070, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1070, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.794748874963261, "usage": {"completion_tokens": 88, "prompt_tokens": 1773, "total_tokens": 1861, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 155, "cached_tokens": 1070, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 155, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 155, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2037160829640925, "usage": {"completion_tokens": 116, "prompt_tokens": 1994, "total_tokens": 2110, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 221, "cached_tokens": 1225, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 221, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 221, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3968167499406263, "usage": {"completion_tokens": 105, "prompt_tokens": 2242, "total_tokens": 2347, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 248, "cached_tokens": 1446, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 248, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 248, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d0d831678ac1080b26d1e2d2764d7edb9a8d10d511cdc0d590520743f4542d45", "csv_sha256": "fcb62319bc4432c3556386a1c6744faab7cf340b5a645589f5b9f544af478483"} +{"instance_id": "bird299", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH event_ratios AS (\n SELECT e.event_name,\n 1.0 * SUM(b.spent) / NULLIF(SUM(b.amount), 0) AS spending_ratio\n FROM event AS e\n JOIN budget AS b ON b.link_to_event = e.event_id\n WHERE e.status = 'Closed'\n GROUP BY e.event_id, e.event_name\n)\nSELECT event_name\nFROM event_ratios\nWHERE spending_ratio = (SELECT MAX(spending_ratio) FROM event_ratios)\nORDER BY event_name;\n```", "rows": 3, "sql": "WITH event_ratios AS (\n SELECT e.event_name,\n 1.0 * SUM(b.spent) / NULLIF(SUM(b.amount), 0) AS spending_ratio\n FROM event AS e\n JOIN budget AS b ON b.link_to_event = e.event_id\n WHERE e.status = 'Closed'\n GROUP BY e.event_id, e.event_name\n)\nSELECT event_name\nFROM event_ratios\nWHERE spending_ratio = (SELECT MAX(spending_ratio) FROM event_ratios)\nORDER BY event_name;", "seconds": 16.870136041077785, "calls": [{"seconds": 2.734297083108686, "usage": {"completion_tokens": 79, "prompt_tokens": 1613, "total_tokens": 1692, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1065, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1065, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1065, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.863939457922243, "usage": {"completion_tokens": 158, "prompt_tokens": 1880, "total_tokens": 2038, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 26, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 267, "cached_tokens": 1065, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 267, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 267, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.643053208012134, "usage": {"completion_tokens": 230, "prompt_tokens": 2231, "total_tokens": 2461, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 97, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 351, "cached_tokens": 1332, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 351, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 351, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6049584159627557, "usage": {"completion_tokens": 117, "prompt_tokens": 2613, "total_tokens": 2730, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 382, "cached_tokens": 1683, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 382, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 382, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9c0a0849aeaab6f7ce5eade63c7186fcb01594eea7e25dcc617bba2adb52d57b", "csv_sha256": "89e62612688e604a8a957775c6c326476a97abe9f2c2299f294c87c4d5b0da78"} +{"instance_id": "bird300", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT m.first_name, m.last_name\nFROM member AS m\nJOIN attendance AS a ON a.link_to_member = m.member_id\nJOIN event AS e ON e.event_id = a.link_to_event\nGROUP BY m.member_id, m.first_name, m.last_name\nHAVING COUNT(DISTINCT e.event_id) > 7;\n```", "rows": 29, "sql": "SELECT m.first_name, m.last_name\nFROM member AS m\nJOIN attendance AS a ON a.link_to_member = m.member_id\nJOIN event AS e ON e.event_id = a.link_to_event\nGROUP BY m.member_id, m.first_name, m.last_name\nHAVING COUNT(DISTINCT e.event_id) > 7;", "seconds": 11.844863458070904, "calls": [{"seconds": 2.017725791898556, "usage": {"completion_tokens": 15, "prompt_tokens": 1610, "total_tokens": 1625, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1062, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1062, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1062, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.5764396670274436, "usage": {"completion_tokens": 65, "prompt_tokens": 1663, "total_tokens": 1728, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 53, "cached_tokens": 1062, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 53, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 53, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.111696874955669, "usage": {"completion_tokens": 153, "prompt_tokens": 1874, "total_tokens": 2027, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 64, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 211, "cached_tokens": 1115, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 211, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 211, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.114708708017133, "usage": {"completion_tokens": 78, "prompt_tokens": 2290, "total_tokens": 2368, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 416, "cached_tokens": 1326, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 416, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 416, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "dcc565b84acd57a7c6291ca75703ae1a80c8a2069d39c5a2e24048ae16dc7021", "csv_sha256": "f82f66eb8f8600540e54a07009c0c4b58b0f3b3215feb5c1b4461181d5abff85"} +{"instance_id": "bird301", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT m.first_name, m.last_name, m.phone\nFROM member AS m\nWHERE EXISTS (\n SELECT 1\n FROM expense AS e\n WHERE e.link_to_member = m.member_id\n AND e.cost > (SELECT AVG(cost) FROM expense)\n);\n```", "rows": 3, "sql": "SELECT m.first_name, m.last_name, m.phone\nFROM member AS m\nWHERE EXISTS (\n SELECT 1\n FROM expense AS e\n WHERE e.link_to_member = m.member_id\n AND e.cost > (SELECT AVG(cost) FROM expense)\n);", "seconds": 8.52884195803199, "calls": [{"seconds": 2.8728692079894245, "usage": {"completion_tokens": 50, "prompt_tokens": 1627, "total_tokens": 1677, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1079, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1079, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1079, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.906287959078327, "usage": {"completion_tokens": 75, "prompt_tokens": 1800, "total_tokens": 1875, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 173, "cached_tokens": 1079, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 173, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 173, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.7359749160241336, "usage": {"completion_tokens": 64, "prompt_tokens": 2004, "total_tokens": 2068, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 204, "cached_tokens": 1252, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 204, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 204, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2392a3a12ad240cfe795b782b38f107aa33a351a0239b9931c47a2731dfdb272", "csv_sha256": "534b2260369b957002d195a35ea5ba4f506e8b91bc9268dba782312a45b50ea1"} +{"instance_id": "bird302", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH fall_event_counts AS (\n SELECT e.event_id,\n e.event_name,\n COUNT(DISTINCT a.link_to_member) AS student_count\n FROM event AS e\n LEFT JOIN attendance AS a ON a.link_to_event = e.event_id\n WHERE e.event_date >= '2019-09-01'\n AND e.event_date < '2019-12-01'\n GROUP BY e.event_id, e.event_name\n), comparison AS (\n SELECT MAX(CASE WHEN event_name = 'Women''s Soccer' THEN student_count END) AS womens_soccer_attendance,\n ROUND(AVG(student_count), 1) AS fall_2019_average_attendance\n FROM fall_event_counts\n)\nSELECT womens_soccer_attendance,\n fall_2019_average_attendance,\n CASE\n WHEN womens_soccer_attendance > fall_2019_average_attendance THEN 'more'\n WHEN womens_soccer_attendance < fall_2019_average_attendance THEN 'fewer'\n WHEN womens_soccer_attendance = fall_2019_average_attendance THEN 'equal'\n END AS verdict\nFROM comparison;\n```", "rows": 1, "sql": "WITH fall_event_counts AS (\n SELECT e.event_id,\n e.event_name,\n COUNT(DISTINCT a.link_to_member) AS student_count\n FROM event AS e\n LEFT JOIN attendance AS a ON a.link_to_event = e.event_id\n WHERE e.event_date >= '2019-09-01'\n AND e.event_date < '2019-12-01'\n GROUP BY e.event_id, e.event_name\n), comparison AS (\n SELECT MAX(CASE WHEN event_name = 'Women''s Soccer' THEN student_count END) AS womens_soccer_attendance,\n ROUND(AVG(student_count), 1) AS fall_2019_average_attendance\n FROM fall_event_counts\n)\nSELECT womens_soccer_attendance,\n fall_2019_average_attendance,\n CASE\n WHEN womens_soccer_attendance > fall_2019_average_attendance THEN 'more'\n WHEN womens_soccer_attendance < fall_2019_average_attendance THEN 'fewer'\n WHEN womens_soccer_attendance = fall_2019_average_attendance THEN 'equal'\n END AS verdict\nFROM comparison;", "seconds": 23.746212249970995, "calls": [{"seconds": 3.149635915993713, "usage": {"completion_tokens": 65, "prompt_tokens": 1779, "total_tokens": 1844, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1231, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1231, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1231, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.795702958013862, "usage": {"completion_tokens": 126, "prompt_tokens": 1990, "total_tokens": 2116, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 69, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 211, "cached_tokens": 1231, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 211, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 211, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.074481999967247, "usage": {"completion_tokens": 134, "prompt_tokens": 2623, "total_tokens": 2757, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 633, "cached_tokens": 1442, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 633, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 633, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.593439333024435, "usage": {"completion_tokens": 307, "prompt_tokens": 2944, "total_tokens": 3251, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 41, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 321, "cached_tokens": 2075, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 321, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 321, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.113419250003062, "usage": {"completion_tokens": 242, "prompt_tokens": 3537, "total_tokens": 3779, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 593, "cached_tokens": 2396, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 593, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 593, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "61326caa8835a1c4cd0d537465ce4963202de1e6f3dc925184f7ffc2ebe3c1df", "csv_sha256": "3858c1b5728ee7eece5107a8203ebef10df49a2b89a0e511ce6b930ed3c66fbf"} +{"instance_id": "bird303", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH college_departments AS (\n SELECT DISTINCT department\n FROM major\n WHERE college = 'College of Humanities and Social Sciences'\n), member_counts AS (\n SELECT link_to_major, COUNT(*) AS member_count\n FROM member\n GROUP BY link_to_major\n), department_majors AS (\n SELECT m.department, m.major_name, COALESCE(mc.member_count, 0) AS member_count\n FROM major AS m\n JOIN college_departments AS d ON d.department = m.department\n LEFT JOIN member_counts AS mc ON mc.link_to_major = m.major_id\n ORDER BY m.department, m.major_name, m.major_id\n)\nSELECT department,\n GROUP_CONCAT(major_name, ', ') AS majors_offered,\n GROUP_CONCAT(major_name, ', ') FILTER (WHERE member_count > 0) AS majors_held_by_members,\n ROUND(AVG(member_count), 2) AS avg_members_per_major\nFROM department_majors\nGROUP BY department\nORDER BY department;\n```", "rows": 11, "sql": "WITH college_departments AS (\n SELECT DISTINCT department\n FROM major\n WHERE college = 'College of Humanities and Social Sciences'\n), member_counts AS (\n SELECT link_to_major, COUNT(*) AS member_count\n FROM member\n GROUP BY link_to_major\n), department_majors AS (\n SELECT m.department, m.major_name, COALESCE(mc.member_count, 0) AS member_count\n FROM major AS m\n JOIN college_departments AS d ON d.department = m.department\n LEFT JOIN member_counts AS mc ON mc.link_to_major = m.major_id\n ORDER BY m.department, m.major_name, m.major_id\n)\nSELECT department,\n GROUP_CONCAT(major_name, ', ') AS majors_offered,\n GROUP_CONCAT(major_name, ', ') FILTER (WHERE member_count > 0) AS majors_held_by_members,\n ROUND(AVG(member_count), 2) AS avg_members_per_major\nFROM department_majors\nGROUP BY department\nORDER BY department;", "seconds": 37.09778591594659, "calls": [{"seconds": 2.4628856669878587, "usage": {"completion_tokens": 50, "prompt_tokens": 1723, "total_tokens": 1773, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1175, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1175, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1175, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.223817707970738, "usage": {"completion_tokens": 198, "prompt_tokens": 1876, "total_tokens": 2074, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 105, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 153, "cached_tokens": 1175, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 153, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 153, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.09701666701585, "usage": {"completion_tokens": 390, "prompt_tokens": 2332, "total_tokens": 2722, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 152, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 456, "cached_tokens": 1328, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 456, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 456, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 21.294482917059213, "usage": {"completion_tokens": 219, "prompt_tokens": 3188, "total_tokens": 3407, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 856, "cached_tokens": 1784, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 856, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 856, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b7efc1e6528667825d8bc147012e01d1ad50ceb353d813cfea83fb294f7b7d78", "csv_sha256": "a713fa1578eae3ef846b0a968b8fa21b8e70f6f70332e503c35a946812eedc9e"} +{"instance_id": "bird304", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH events_2019 AS (\n SELECT event_id, type AS event_type\n FROM event\n WHERE event_date >= '2019-01-01'\n AND event_date < '2020-01-01'\n),\nattendance_by_type AS (\n SELECT e.event_type, COUNT(DISTINCT a.link_to_member) AS members_attended\n FROM events_2019 AS e\n JOIN attendance AS a ON a.link_to_event = e.event_id\n GROUP BY e.event_type\n),\nbudget_by_type AS (\n SELECT e.event_type, COALESCE(SUM(b.amount), 0) AS budgeted_dollars\n FROM events_2019 AS e\n LEFT JOIN budget AS b ON b.link_to_event = e.event_id\n GROUP BY e.event_type\n)\nSELECT b.event_type,\n COALESCE(a.members_attended, 0) AS members_attended,\n b.budgeted_dollars\nFROM budget_by_type AS b\nLEFT JOIN attendance_by_type AS a ON a.event_type IS b.event_type\nORDER BY b.event_type;\n```", "rows": 8, "sql": "WITH events_2019 AS (\n SELECT event_id, type AS event_type\n FROM event\n WHERE event_date >= '2019-01-01'\n AND event_date < '2020-01-01'\n),\nattendance_by_type AS (\n SELECT e.event_type, COUNT(DISTINCT a.link_to_member) AS members_attended\n FROM events_2019 AS e\n JOIN attendance AS a ON a.link_to_event = e.event_id\n GROUP BY e.event_type\n),\nbudget_by_type AS (\n SELECT e.event_type, COALESCE(SUM(b.amount), 0) AS budgeted_dollars\n FROM events_2019 AS e\n LEFT JOIN budget AS b ON b.link_to_event = e.event_id\n GROUP BY e.event_type\n)\nSELECT b.event_type,\n COALESCE(a.members_attended, 0) AS members_attended,\n b.budgeted_dollars\nFROM budget_by_type AS b\nLEFT JOIN attendance_by_type AS a ON a.event_type IS b.event_type\nORDER BY b.event_type;", "seconds": 28.8286275829887, "calls": [{"seconds": 2.875484791933559, "usage": {"completion_tokens": 94, "prompt_tokens": 1726, "total_tokens": 1820, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1178, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1178, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1178, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.277535790926777, "usage": {"completion_tokens": 270, "prompt_tokens": 2046, "total_tokens": 2316, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 93, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 320, "cached_tokens": 1178, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 320, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 320, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.9190072499914095, "usage": {"completion_tokens": 199, "prompt_tokens": 2703, "total_tokens": 2902, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 81, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 657, "cached_tokens": 1498, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 657, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 657, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.827732792007737, "usage": {"completion_tokens": 420, "prompt_tokens": 3836, "total_tokens": 4256, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 164, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1133, "cached_tokens": 2155, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1133, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1133, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.899508584057912, "usage": {"completion_tokens": 233, "prompt_tokens": 4586, "total_tokens": 4819, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 750, "cached_tokens": 3288, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 750, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 750, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0fce4d790caca475e1a83c5dfae82725465b95db1d5e076495159bbeae3a3ed0", "csv_sha256": "5f96d29d2af150561f3256dc0a3e3d06bb892f48f2628eadb662e4e7f45a7312"} +{"instance_id": "bird305", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT mj.department, COALESCE(SUM(i.amount), 0) AS total_dues\nFROM major AS mj\nLEFT JOIN member AS m\n ON m.link_to_major = mj.major_id\n AND m.position = 'Member'\n AND EXISTS (\n SELECT 1\n FROM attendance AS a\n JOIN event AS e ON e.event_id = a.link_to_event\n WHERE a.link_to_member = m.member_id\n )\nLEFT JOIN income AS i\n ON i.link_to_member = m.member_id\n AND i.source = 'Dues'\nWHERE mj.college IN (\n SELECT college\n FROM major\n WHERE department = 'Electrical and Computer Engineering Department'\n)\nGROUP BY mj.department\nORDER BY mj.department;\n```", "rows": 4, "sql": "SELECT mj.department, COALESCE(SUM(i.amount), 0) AS total_dues\nFROM major AS mj\nLEFT JOIN member AS m\n ON m.link_to_major = mj.major_id\n AND m.position = 'Member'\n AND EXISTS (\n SELECT 1\n FROM attendance AS a\n JOIN event AS e ON e.event_id = a.link_to_event\n WHERE a.link_to_member = m.member_id\n )\nLEFT JOIN income AS i\n ON i.link_to_member = m.member_id\n AND i.source = 'Dues'\nWHERE mj.college IN (\n SELECT college\n FROM major\n WHERE department = 'Electrical and Computer Engineering Department'\n)\nGROUP BY mj.department\nORDER BY mj.department;", "seconds": 23.97415187500883, "calls": [{"seconds": 3.0169631669996306, "usage": {"completion_tokens": 95, "prompt_tokens": 1722, "total_tokens": 1817, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1174, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1174, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1174, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.458046125015244, "usage": {"completion_tokens": 193, "prompt_tokens": 2045, "total_tokens": 2238, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 147, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 323, "cached_tokens": 1174, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 323, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 323, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.5739534170134, "usage": {"completion_tokens": 446, "prompt_tokens": 2298, "total_tokens": 2744, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 268, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 253, "cached_tokens": 1497, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 253, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 253, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8975487499265, "usage": {"completion_tokens": 159, "prompt_tokens": 2960, "total_tokens": 3119, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 662, "cached_tokens": 1750, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 662, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 662, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "55a27833ce7c9e9aab5ba83a90b2547cc3806080b6a3292e1f5cbbc2be0a7060", "csv_sha256": "4d2845c2694fa416e04318a4e85a59da2d99e7f355568eabd60934d0500e5343"} +{"instance_id": "bird306", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH qualifying_member_budgets AS (\n SELECT DISTINCT link_to_member, link_to_budget\n FROM expense\n WHERE cost > 50\n)\nSELECT m.first_name,\n m.last_name,\n ROUND(SUM(b.amount - b.spent), 2) AS total_amount_left\nFROM qualifying_member_budgets AS q\nJOIN member AS m ON m.member_id = q.link_to_member\nJOIN budget AS b ON b.budget_id = q.link_to_budget\nGROUP BY m.member_id, m.first_name, m.last_name\nORDER BY total_amount_left DESC, m.last_name ASC, m.first_name ASC;\n```", "rows": 3, "sql": "WITH qualifying_member_budgets AS (\n SELECT DISTINCT link_to_member, link_to_budget\n FROM expense\n WHERE cost > 50\n)\nSELECT m.first_name,\n m.last_name,\n ROUND(SUM(b.amount - b.spent), 2) AS total_amount_left\nFROM qualifying_member_budgets AS q\nJOIN member AS m ON m.member_id = q.link_to_member\nJOIN budget AS b ON b.budget_id = q.link_to_budget\nGROUP BY m.member_id, m.first_name, m.last_name\nORDER BY total_amount_left DESC, m.last_name ASC, m.first_name ASC;", "seconds": 11.436456708004698, "calls": [{"seconds": 2.433775792014785, "usage": {"completion_tokens": 65, "prompt_tokens": 1777, "total_tokens": 1842, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1229, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1229, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1229, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.151748958043754, "usage": {"completion_tokens": 219, "prompt_tokens": 2017, "total_tokens": 2236, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 67, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 240, "cached_tokens": 1229, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 240, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 240, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.828683333005756, "usage": {"completion_tokens": 137, "prompt_tokens": 2431, "total_tokens": 2568, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 414, "cached_tokens": 1469, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 414, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 414, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d8e015a97cd42468d4cc6be7694cad16ce233561dbc71e109b2a7449c9285c56", "csv_sha256": "8578792dca788bb0a1af583ea2d3542409fecee7cf62c2d8344f579584113a6b"} +{"instance_id": "bird307", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT SUM(i.amount) AS total_dues_dollars\nFROM income AS i\nWHERE i.source = 'Dues'\n AND EXISTS (\n SELECT 1\n FROM attendance AS a\n JOIN event AS e ON e.event_id = a.link_to_event\n WHERE a.link_to_member = i.link_to_member\n AND e.event_name = 'Football game'\n );\n```", "rows": 1, "sql": "SELECT SUM(i.amount) AS total_dues_dollars\nFROM income AS i\nWHERE i.source = 'Dues'\n AND EXISTS (\n SELECT 1\n FROM attendance AS a\n JOIN event AS e ON e.event_id = a.link_to_event\n WHERE a.link_to_member = i.link_to_member\n AND e.event_name = 'Football game'\n );", "seconds": 14.859211707953364, "calls": [{"seconds": 3.34389762498904, "usage": {"completion_tokens": 80, "prompt_tokens": 1656, "total_tokens": 1736, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1108, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1108, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1108, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.758721624966711, "usage": {"completion_tokens": 116, "prompt_tokens": 1929, "total_tokens": 2045, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 75, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 273, "cached_tokens": 1108, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 273, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 273, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.473019874887541, "usage": {"completion_tokens": 130, "prompt_tokens": 2156, "total_tokens": 2286, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 29, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 227, "cached_tokens": 1381, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 227, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 227, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.261723250034265, "usage": {"completion_tokens": 87, "prompt_tokens": 2396, "total_tokens": 2483, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 240, "cached_tokens": 1608, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 240, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 240, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e0d48ac8333108e1a84f03c9fc1b9fb061f924486a55515087afa78d94da8b7c", "csv_sha256": "6fb728767667e5a627673da75f5ef4dec8fda8dc997fdcdd000425ff0cba4df1"} +{"instance_id": "bird308", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH tyler_college AS (\n SELECT mj.college\n FROM member AS m\n JOIN major AS mj ON mj.major_id = m.link_to_major\n WHERE m.first_name = 'Tyler' AND m.last_name = 'Hewitt'\n), majors_without_members AS (\n SELECT mj.major_name\n FROM major AS mj\n LEFT JOIN member AS m ON m.link_to_major = mj.major_id\n WHERE mj.college IN (SELECT college FROM tyler_college)\n GROUP BY mj.major_name\n HAVING COUNT(m.link_to_major) = 0\n)\nSELECT COUNT(*) AS majors_without_enrolled_members\nFROM majors_without_members;\n```", "rows": 1, "sql": "WITH tyler_college AS (\n SELECT mj.college\n FROM member AS m\n JOIN major AS mj ON mj.major_id = m.link_to_major\n WHERE m.first_name = 'Tyler' AND m.last_name = 'Hewitt'\n), majors_without_members AS (\n SELECT mj.major_name\n FROM major AS mj\n LEFT JOIN member AS m ON m.link_to_major = mj.major_id\n WHERE mj.college IN (SELECT college FROM tyler_college)\n GROUP BY mj.major_name\n HAVING COUNT(m.link_to_major) = 0\n)\nSELECT COUNT(*) AS majors_without_enrolled_members\nFROM majors_without_members;", "seconds": 18.329511292045936, "calls": [{"seconds": 2.62458229099866, "usage": {"completion_tokens": 50, "prompt_tokens": 1648, "total_tokens": 1698, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1100, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1100, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1100, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.210818500025198, "usage": {"completion_tokens": 373, "prompt_tokens": 1801, "total_tokens": 2174, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 210, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 153, "cached_tokens": 1100, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 153, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 153, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.475555083947256, "usage": {"completion_tokens": 147, "prompt_tokens": 2344, "total_tokens": 2491, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 543, "cached_tokens": 1253, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 543, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 543, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "aa9ccba4bf79cd9532b575b5989298cf57f60a787655244e1e33a9b80e75bf81", "csv_sha256": "2c37f3c444a633bf0c13ee15e29dc13c363c91eae1d11d92e658c7b8a22299e4"} +{"instance_id": "bird309", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH event_attendance AS (\n SELECT e.event_id, COUNT(DISTINCT a.link_to_member) AS member_count\n FROM event AS e\n LEFT JOIN attendance AS a ON a.link_to_event = e.event_id\n WHERE EXISTS (\n SELECT 1\n FROM budget AS b\n WHERE b.link_to_event = e.event_id\n AND b.category = 'Advertisement'\n )\n GROUP BY e.event_id\n)\nSELECT ROUND(AVG(member_count), 2) AS average_members_attended\nFROM event_attendance;\n```", "rows": 1, "sql": "WITH event_attendance AS (\n SELECT e.event_id, COUNT(DISTINCT a.link_to_member) AS member_count\n FROM event AS e\n LEFT JOIN attendance AS a ON a.link_to_event = e.event_id\n WHERE EXISTS (\n SELECT 1\n FROM budget AS b\n WHERE b.link_to_event = e.event_id\n AND b.category = 'Advertisement'\n )\n GROUP BY e.event_id\n)\nSELECT ROUND(AVG(member_count), 2) AS average_members_attended\nFROM event_attendance;", "seconds": 17.78610100003425, "calls": [{"seconds": 2.7705352080520242, "usage": {"completion_tokens": 80, "prompt_tokens": 1672, "total_tokens": 1752, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1124, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1124, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1124, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.19741129106842, "usage": {"completion_tokens": 182, "prompt_tokens": 1950, "total_tokens": 2132, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 40, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1124, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8479951249901205, "usage": {"completion_tokens": 42, "prompt_tokens": 2279, "total_tokens": 2321, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 329, "cached_tokens": 1402, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 329, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 329, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.673313207924366, "usage": {"completion_tokens": 135, "prompt_tokens": 2422, "total_tokens": 2557, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 143, "cached_tokens": 1731, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 143, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 143, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2642942080274224, "usage": {"completion_tokens": 120, "prompt_tokens": 2700, "total_tokens": 2820, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1874, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f98d8c45b91f8344f604d1e9a58a49e61eec655773f21ccdf6cd26954b3b081f", "csv_sha256": "45e8c28cadb550c5428dd1dedcf1a5630d162abfb7abe593d67bdb01d38ccbf8"} +{"instance_id": "bird310", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n e.event_name,\n e.location,\n COUNT(DISTINCT a.link_to_member) AS members_attended\nFROM event AS e\nLEFT JOIN attendance AS a ON a.link_to_event = e.event_id\nWHERE e.type = 'Budget'\nGROUP BY e.event_id, e.event_name, e.location;\n```", "rows": 2, "sql": "SELECT\n e.event_name,\n e.location,\n COUNT(DISTINCT a.link_to_member) AS members_attended\nFROM event AS e\nLEFT JOIN attendance AS a ON a.link_to_event = e.event_id\nWHERE e.type = 'Budget'\nGROUP BY e.event_id, e.event_name, e.location;", "seconds": 23.745521540986374, "calls": [{"seconds": 2.4363322500139475, "usage": {"completion_tokens": 65, "prompt_tokens": 1665, "total_tokens": 1730, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1117, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1117, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1117, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.38401741697453, "usage": {"completion_tokens": 128, "prompt_tokens": 1876, "total_tokens": 2004, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 29, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 211, "cached_tokens": 1117, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 211, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 211, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.376202000072226, "usage": {"completion_tokens": 185, "prompt_tokens": 2207, "total_tokens": 2392, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 115, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 331, "cached_tokens": 1328, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 331, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 331, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.348963874974288, "usage": {"completion_tokens": 261, "prompt_tokens": 2503, "total_tokens": 2764, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 179, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 296, "cached_tokens": 1659, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 296, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 296, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1722805419703946, "usage": {"completion_tokens": 74, "prompt_tokens": 2887, "total_tokens": 2961, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 384, "cached_tokens": 1955, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 384, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 384, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "119a9cb958506e34023f64d313cccd9723ae0b9db418dbe7aef90793da7fbd9b", "csv_sha256": "28395d1fa52bba24fc724151df55d6434f37455c52733e58221fda5236e6b6bf"} +{"instance_id": "bird311", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH major_counts AS (\n SELECT mj.major_name, COUNT(DISTINCT m.member_id) AS attendee_count\n FROM attendance AS a\n JOIN event AS e ON e.event_id = a.link_to_event\n JOIN member AS m ON m.member_id = a.link_to_member\n JOIN major AS mj ON mj.major_id = m.link_to_major\n WHERE e.event_name = 'Football game'\n GROUP BY mj.major_id, mj.major_name\n)\nSELECT major_name, attendee_count\nFROM major_counts\nWHERE attendee_count = (SELECT MAX(attendee_count) FROM major_counts)\nORDER BY major_name ASC;\n```", "rows": 3, "sql": "WITH major_counts AS (\n SELECT mj.major_name, COUNT(DISTINCT m.member_id) AS attendee_count\n FROM attendance AS a\n JOIN event AS e ON e.event_id = a.link_to_event\n JOIN member AS m ON m.member_id = a.link_to_member\n JOIN major AS mj ON mj.major_id = m.link_to_major\n WHERE e.event_name = 'Football game'\n GROUP BY mj.major_id, mj.major_name\n)\nSELECT major_name, attendee_count\nFROM major_counts\nWHERE attendee_count = (SELECT MAX(attendee_count) FROM major_counts)\nORDER BY major_name ASC;", "seconds": 12.33007554197684, "calls": [{"seconds": 3.3675267919898033, "usage": {"completion_tokens": 80, "prompt_tokens": 1684, "total_tokens": 1764, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1136, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1136, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1136, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.217312499997206, "usage": {"completion_tokens": 203, "prompt_tokens": 1945, "total_tokens": 2148, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 52, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 261, "cached_tokens": 1136, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 261, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 261, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7195248750504106, "usage": {"completion_tokens": 136, "prompt_tokens": 2327, "total_tokens": 2463, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 382, "cached_tokens": 1397, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 382, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 382, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "93e6ec5042d3dd45926639a44f20a920911ca1c7de4be8efed0b05f1f3cec455", "csv_sha256": "67ec8847a7b28e440bca903ca464d9c03f97740dc8432b9bae2ae6a31fcc716b"} +{"instance_id": "bird312", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(100.0 * COUNT(CASE WHEN NOT EXISTS (\n SELECT 1\n FROM member AS m\n WHERE m.link_to_major = a.major_id\n) THEN 1 END) / COUNT(*), 2) AS percentage\nFROM major AS a;\n```", "rows": 1, "sql": "SELECT ROUND(100.0 * COUNT(CASE WHEN NOT EXISTS (\n SELECT 1\n FROM member AS m\n WHERE m.link_to_major = a.major_id\n) THEN 1 END) / COUNT(*), 2) AS percentage\nFROM major AS a;", "seconds": 8.897573916008696, "calls": [{"seconds": 2.605401167063974, "usage": {"completion_tokens": 50, "prompt_tokens": 1688, "total_tokens": 1738, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1140, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1140, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1140, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4812320839846507, "usage": {"completion_tokens": 75, "prompt_tokens": 1841, "total_tokens": 1916, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 153, "cached_tokens": 1140, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 153, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 153, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.7978577080648392, "usage": {"completion_tokens": 65, "prompt_tokens": 2001, "total_tokens": 2066, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 160, "cached_tokens": 1293, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 160, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 160, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ff76de1c5ae86c3851dc864482c69948de7976281a9025702e2871c11cf67792", "csv_sha256": "dfe33b64f40eae6a0afb3bb2f54f2dcec84e739307fe9dbe3a52720eb30dbcdc"} +{"instance_id": "bird313", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH member_attendance AS (\n SELECT\n m.member_id,\n CASE WHEN m.position IN ('President', 'Vice President', 'Secretary', 'Treasurer')\n THEN 1 ELSE 0 END AS is_officer,\n COUNT(DISTINCT e.event_id) AS events_attended\n FROM member AS m\n LEFT JOIN attendance AS a ON a.link_to_member = m.member_id\n LEFT JOIN event AS e ON e.event_id = a.link_to_event\n GROUP BY m.member_id, m.position\n)\nSELECT\n ROUND(AVG(CASE WHEN is_officer = 1 THEN events_attended END), 2) AS avg_events_per_officer,\n ROUND(AVG(CASE WHEN is_officer = 0 THEN events_attended END), 2) AS avg_events_per_other_student\nFROM member_attendance;\n```", "rows": 1, "sql": "WITH member_attendance AS (\n SELECT\n m.member_id,\n CASE WHEN m.position IN ('President', 'Vice President', 'Secretary', 'Treasurer')\n THEN 1 ELSE 0 END AS is_officer,\n COUNT(DISTINCT e.event_id) AS events_attended\n FROM member AS m\n LEFT JOIN attendance AS a ON a.link_to_member = m.member_id\n LEFT JOIN event AS e ON e.event_id = a.link_to_event\n GROUP BY m.member_id, m.position\n)\nSELECT\n ROUND(AVG(CASE WHEN is_officer = 1 THEN events_attended END), 2) AS avg_events_per_officer,\n ROUND(AVG(CASE WHEN is_officer = 0 THEN events_attended END), 2) AS avg_events_per_other_student\nFROM member_attendance;", "seconds": 13.33177737495862, "calls": [{"seconds": 2.7919619580497965, "usage": {"completion_tokens": 65, "prompt_tokens": 1725, "total_tokens": 1790, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1177, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1177, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1177, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.182066292036325, "usage": {"completion_tokens": 259, "prompt_tokens": 1936, "total_tokens": 2195, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 58, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 211, "cached_tokens": 1177, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 211, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 211, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.341447917046025, "usage": {"completion_tokens": 183, "prompt_tokens": 2415, "total_tokens": 2598, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 479, "cached_tokens": 1388, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 479, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 479, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1a94771d8d0963cc76bfbf64c2c2a421113135dc5ea3f1dee3922cc1311799e8", "csv_sha256": "b618b0f5ccf460de558c574a478f3065c275e0600e5511e24de95e09509bf16c"} +{"instance_id": "bird314", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE over_budget_events AS (\n SELECT DISTINCT link_to_event\n FROM budget\n WHERE amount - spent < 0\n), purchase_items(rest, item) AS (\n SELECT x.expense_description || ',', NULL\n FROM over_budget_events AS e\n JOIN budget AS b ON b.link_to_event = e.link_to_event\n JOIN expense AS x ON x.link_to_budget = b.budget_id\n WHERE x.expense_description IS NOT NULL\n\n UNION ALL\n\n SELECT substr(rest, instr(rest, ',') + 1),\n lower(trim(substr(rest, 1, instr(rest, ',') - 1)))\n FROM purchase_items\n WHERE rest <> ''\n)\nSELECT COUNT(DISTINCT item) AS item_kind_count\nFROM purchase_items\nWHERE item <> '';\n```", "rows": 1, "sql": "WITH RECURSIVE over_budget_events AS (\n SELECT DISTINCT link_to_event\n FROM budget\n WHERE amount - spent < 0\n), purchase_items(rest, item) AS (\n SELECT x.expense_description || ',', NULL\n FROM over_budget_events AS e\n JOIN budget AS b ON b.link_to_event = e.link_to_event\n JOIN expense AS x ON x.link_to_budget = b.budget_id\n WHERE x.expense_description IS NOT NULL\n\n UNION ALL\n\n SELECT substr(rest, instr(rest, ',') + 1),\n lower(trim(substr(rest, 1, instr(rest, ',') - 1)))\n FROM purchase_items\n WHERE rest <> ''\n)\nSELECT COUNT(DISTINCT item) AS item_kind_count\nFROM purchase_items\nWHERE item <> '';", "seconds": 27.65422883303836, "calls": [{"seconds": 2.9899730409961194, "usage": {"completion_tokens": 65, "prompt_tokens": 1791, "total_tokens": 1856, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1243, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1243, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1243, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.399876749957912, "usage": {"completion_tokens": 112, "prompt_tokens": 2016, "total_tokens": 2128, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 225, "cached_tokens": 1243, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 225, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 225, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.2450178330764174, "usage": {"completion_tokens": 263, "prompt_tokens": 2893, "total_tokens": 3156, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 93, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 877, "cached_tokens": 1468, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 877, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 877, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.500645124935545, "usage": {"completion_tokens": 112, "prompt_tokens": 3473, "total_tokens": 3585, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 580, "cached_tokens": 2345, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 580, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 580, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.567158499965444, "usage": {"completion_tokens": 216, "prompt_tokens": 3971, "total_tokens": 4187, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 20, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 498, "cached_tokens": 2925, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 498, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 498, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.919467917061411, "usage": {"completion_tokens": 174, "prompt_tokens": 4381, "total_tokens": 4555, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 410, "cached_tokens": 3423, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 410, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 410, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "97687b1268bffa545b8e54c68c9ea79ea5b8e3c8c76b955a90dab1c79f28bad5", "csv_sha256": "04ff1a87d00e141f1f1ee9de1f27f7253369d4cc098309f46dbeb44b051c3447"} +{"instance_id": "bird315", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH attendee_counts AS (\n SELECT link_to_event AS event_id,\n COUNT(DISTINCT link_to_member) AS attendee_count\n FROM attendance\n GROUP BY link_to_event\n HAVING COUNT(DISTINCT link_to_member) > 0\n), water_spending AS (\n SELECT b.link_to_event AS event_id,\n SUM(x.cost) AS water_cost\n FROM expense AS x\n JOIN budget AS b ON b.budget_id = x.link_to_budget\n WHERE LOWER(x.expense_description) LIKE '%water%'\n GROUP BY b.link_to_event\n)\nSELECT e.event_name,\n ROUND(1.0 * COALESCE(w.water_cost, 0.00) / a.attendee_count, 2) AS water_cost_per_attendee\nFROM event AS e\nJOIN attendee_counts AS a ON a.event_id = e.event_id\nLEFT JOIN water_spending AS w ON w.event_id = e.event_id\nORDER BY e.event_name, e.event_id;\n```", "rows": 17, "sql": "WITH attendee_counts AS (\n SELECT link_to_event AS event_id,\n COUNT(DISTINCT link_to_member) AS attendee_count\n FROM attendance\n GROUP BY link_to_event\n HAVING COUNT(DISTINCT link_to_member) > 0\n), water_spending AS (\n SELECT b.link_to_event AS event_id,\n SUM(x.cost) AS water_cost\n FROM expense AS x\n JOIN budget AS b ON b.budget_id = x.link_to_budget\n WHERE LOWER(x.expense_description) LIKE '%water%'\n GROUP BY b.link_to_event\n)\nSELECT e.event_name,\n ROUND(1.0 * COALESCE(w.water_cost, 0.00) / a.attendee_count, 2) AS water_cost_per_attendee\nFROM event AS e\nJOIN attendee_counts AS a ON a.event_id = e.event_id\nLEFT JOIN water_spending AS w ON w.event_id = e.event_id\nORDER BY e.event_name, e.event_id;", "seconds": 29.52820979093667, "calls": [{"seconds": 3.03164033300709, "usage": {"completion_tokens": 79, "prompt_tokens": 1712, "total_tokens": 1791, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1164, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1164, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1164, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.346400292008184, "usage": {"completion_tokens": 50, "prompt_tokens": 1954, "total_tokens": 2004, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 242, "cached_tokens": 1164, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 242, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 242, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0329290840309113, "usage": {"completion_tokens": 76, "prompt_tokens": 2124, "total_tokens": 2200, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 170, "cached_tokens": 1406, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 170, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 170, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.289129916927777, "usage": {"completion_tokens": 197, "prompt_tokens": 2408, "total_tokens": 2605, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 284, "cached_tokens": 1576, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 284, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 284, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.42451699997764, "usage": {"completion_tokens": 438, "prompt_tokens": 2856, "total_tokens": 3294, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 205, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 448, "cached_tokens": 1860, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 448, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 448, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.38028608309105, "usage": {"completion_tokens": 334, "prompt_tokens": 3676, "total_tokens": 4010, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 118, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 820, "cached_tokens": 2308, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 820, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 820, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "766bd5783511d71c5e0b5e1a02578fccba1455223645332353e012ca7ce48f93", "csv_sha256": "6d05f7a42c4543701ece49e3f903cd21d818275987b4a3f6a2a56070ffdd7529"} +{"instance_id": "bird316", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH college_departments AS (\n SELECT DISTINCT department\n FROM major\n WHERE college = 'College of Humanities and Social Sciences'\n), roster AS (\n SELECT EXISTS (\n SELECT 1\n FROM major AS j\n JOIN college_departments AS d ON d.department = j.department\n WHERE j.major_id = m.link_to_major\n ) AS in_college\n FROM member AS m\n)\nSELECT COUNT(CASE WHEN in_college = 1 THEN 1 END) AS members_in_college,\n COUNT(CASE WHEN in_college = 0 THEN 1 END) AS members_not_in_college\nFROM roster;\n```", "rows": 1, "sql": "WITH college_departments AS (\n SELECT DISTINCT department\n FROM major\n WHERE college = 'College of Humanities and Social Sciences'\n), roster AS (\n SELECT EXISTS (\n SELECT 1\n FROM major AS j\n JOIN college_departments AS d ON d.department = j.department\n WHERE j.major_id = m.link_to_major\n ) AS in_college\n FROM member AS m\n)\nSELECT COUNT(CASE WHEN in_college = 1 THEN 1 END) AS members_in_college,\n COUNT(CASE WHEN in_college = 0 THEN 1 END) AS members_not_in_college\nFROM roster;", "seconds": 21.4015669580549, "calls": [{"seconds": 3.1865887079620734, "usage": {"completion_tokens": 69, "prompt_tokens": 1722, "total_tokens": 1791, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1174, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1174, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1174, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9221903750440106, "usage": {"completion_tokens": 64, "prompt_tokens": 1914, "total_tokens": 1978, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 29, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 192, "cached_tokens": 1174, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 192, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 192, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.700618957984261, "usage": {"completion_tokens": 140, "prompt_tokens": 2565, "total_tokens": 2705, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 651, "cached_tokens": 1366, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 651, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 651, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.41479474992957, "usage": {"completion_tokens": 232, "prompt_tokens": 2904, "total_tokens": 3136, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 74, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 339, "cached_tokens": 2017, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 339, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 339, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.157106416998431, "usage": {"completion_tokens": 141, "prompt_tokens": 3309, "total_tokens": 3450, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 405, "cached_tokens": 2356, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 405, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 405, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "444413bda62db1734e3ed3e4ccdeac20e8e1f36491aecfa5a3d05c154b9092b0", "csv_sha256": "06d118ecf9a4c6d6b246057e7ba4139a61cf8183a66b36c2eb2378b67fabaa04"} +{"instance_id": "bird317", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH chip_events AS (\n SELECT DISTINCT b.link_to_event AS event_id\n FROM expense AS x\n JOIN budget AS b ON b.budget_id = x.link_to_budget\n WHERE LOWER(x.expense_description) LIKE '%chips%'\n AND x.cost > 0\n), event_maxima AS (\n SELECT e.event_id, e.event_name, MAX(b.amount) AS largest_line\n FROM event AS e\n JOIN chip_events AS c ON c.event_id = e.event_id\n JOIN budget AS b ON b.link_to_event = e.event_id\n GROUP BY e.event_id, e.event_name\n)\nSELECT event_name\nFROM event_maxima\nWHERE largest_line = (SELECT MAX(largest_line) FROM event_maxima)\nORDER BY event_name;\n```", "rows": 1, "sql": "WITH chip_events AS (\n SELECT DISTINCT b.link_to_event AS event_id\n FROM expense AS x\n JOIN budget AS b ON b.budget_id = x.link_to_budget\n WHERE LOWER(x.expense_description) LIKE '%chips%'\n AND x.cost > 0\n), event_maxima AS (\n SELECT e.event_id, e.event_name, MAX(b.amount) AS largest_line\n FROM event AS e\n JOIN chip_events AS c ON c.event_id = e.event_id\n JOIN budget AS b ON b.link_to_event = e.event_id\n GROUP BY e.event_id, e.event_name\n)\nSELECT event_name\nFROM event_maxima\nWHERE largest_line = (SELECT MAX(largest_line) FROM event_maxima)\nORDER BY event_name;", "seconds": 21.62124058394693, "calls": [{"seconds": 3.0340316670481116, "usage": {"completion_tokens": 65, "prompt_tokens": 1669, "total_tokens": 1734, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1121, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1121, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1121, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.93926187499892, "usage": {"completion_tokens": 197, "prompt_tokens": 1894, "total_tokens": 2091, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 95, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 225, "cached_tokens": 1121, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 225, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 225, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.040376249933615, "usage": {"completion_tokens": 309, "prompt_tokens": 2580, "total_tokens": 2889, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 124, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 686, "cached_tokens": 1346, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 686, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 686, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.582727458095178, "usage": {"completion_tokens": 203, "prompt_tokens": 3077, "total_tokens": 3280, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 33, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 497, "cached_tokens": 2032, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 497, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 497, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ac64a006b822b2d4e7e5f8dd7d536d2351a49aa9fbc4647451c130869bc4724a", "csv_sha256": "1782bc551ae7cc980fb643cfd743a86cf70a0a0f5538df24f56c4bbbb90f27bd"} +{"instance_id": "bird318", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH latest_vp_expense AS (\n SELECT MAX(e.expense_date) AS expense_date\n FROM expense AS e\n JOIN member AS m ON m.member_id = e.link_to_member\n WHERE m.position = 'Vice President'\n)\nSELECT e.expense_date, SUM(e.cost) AS total_cost\nFROM expense AS e\nJOIN latest_vp_expense AS v ON e.expense_date = v.expense_date\nGROUP BY e.expense_date;\n```", "rows": 1, "sql": "WITH latest_vp_expense AS (\n SELECT MAX(e.expense_date) AS expense_date\n FROM expense AS e\n JOIN member AS m ON m.member_id = e.link_to_member\n WHERE m.position = 'Vice President'\n)\nSELECT e.expense_date, SUM(e.cost) AS total_cost\nFROM expense AS e\nJOIN latest_vp_expense AS v ON e.expense_date = v.expense_date\nGROUP BY e.expense_date;", "seconds": 10.799888916080818, "calls": [{"seconds": 2.7244487499119714, "usage": {"completion_tokens": 50, "prompt_tokens": 1665, "total_tokens": 1715, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1117, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1117, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1117, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.488027457962744, "usage": {"completion_tokens": 163, "prompt_tokens": 1838, "total_tokens": 2001, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 45, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 173, "cached_tokens": 1117, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 173, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 173, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5729499170556664, "usage": {"completion_tokens": 104, "prompt_tokens": 2143, "total_tokens": 2247, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 305, "cached_tokens": 1290, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 305, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 305, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "115a71a4487579d0ebb52eaf2e9e2fed0a443f79d4a881c7451f2d7b5bc07898", "csv_sha256": "ee5668e4dd668b975735b762b1b448cc2ff1371019ade9adc5902b6597aabf18"} +{"instance_id": "bird319", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT e.type AS event_category,\n COUNT(DISTINCT m.member_id) AS member_count\nFROM event AS e\nLEFT JOIN attendance AS a ON a.link_to_event = e.event_id\nLEFT JOIN member AS m ON m.member_id = a.link_to_member\nWHERE e.location = 'MU 215'\nGROUP BY e.type\nORDER BY e.type;\n```", "rows": 3, "sql": "SELECT e.type AS event_category,\n COUNT(DISTINCT m.member_id) AS member_count\nFROM event AS e\nLEFT JOIN attendance AS a ON a.link_to_event = e.event_id\nLEFT JOIN member AS m ON m.member_id = a.link_to_member\nWHERE e.location = 'MU 215'\nGROUP BY e.type\nORDER BY e.type;", "seconds": 13.79837470909115, "calls": [{"seconds": 2.164274915936403, "usage": {"completion_tokens": 15, "prompt_tokens": 1693, "total_tokens": 1708, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1145, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1145, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1145, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1110965829575434, "usage": {"completion_tokens": 79, "prompt_tokens": 1746, "total_tokens": 1825, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 53, "cached_tokens": 1145, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 53, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 53, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.517159332986921, "usage": {"completion_tokens": 252, "prompt_tokens": 1999, "total_tokens": 2251, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 157, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 253, "cached_tokens": 1198, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 253, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 253, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9901121660368517, "usage": {"completion_tokens": 82, "prompt_tokens": 2371, "total_tokens": 2453, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 372, "cached_tokens": 1451, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 372, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 372, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "75600f4ecdec568c46aa2029df6cf4a5b58c9d42847d08c74b85b40a53b29238", "csv_sha256": "65b70c021669b29a73d5eb71fa8835d2fd74d16b00db2d6bf971beeacfbf41b6"} +{"instance_id": "bird320", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH college_counts AS (\n SELECT ma.college, COUNT(*) AS number_of_majors\n FROM member AS m\n JOIN major AS ma ON ma.major_id = m.link_to_major\n GROUP BY ma.college\n)\nSELECT college, number_of_majors\nFROM college_counts\nWHERE number_of_majors = (SELECT MAX(number_of_majors) FROM college_counts)\nORDER BY college;\n```", "rows": 1, "sql": "WITH college_counts AS (\n SELECT ma.college, COUNT(*) AS number_of_majors\n FROM member AS m\n JOIN major AS ma ON ma.major_id = m.link_to_major\n GROUP BY ma.college\n)\nSELECT college, number_of_majors\nFROM college_counts\nWHERE number_of_majors = (SELECT MAX(number_of_majors) FROM college_counts)\nORDER BY college;", "seconds": 12.38252983300481, "calls": [{"seconds": 2.9600253750104457, "usage": {"completion_tokens": 50, "prompt_tokens": 1733, "total_tokens": 1783, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1185, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1185, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1185, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.279156333999708, "usage": {"completion_tokens": 252, "prompt_tokens": 1886, "total_tokens": 2138, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 144, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 153, "cached_tokens": 1185, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 153, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 153, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.129359915968962, "usage": {"completion_tokens": 94, "prompt_tokens": 2266, "total_tokens": 2360, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 380, "cached_tokens": 1338, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 380, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 380, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b95900f35209bb098f7aeb41a33c038322cebd221a3847021478dac5b0812708", "csv_sha256": "995331364e6bac1a2365de8bdc0a04b7341836b9706bf6efcdf33af71509362c"} +{"instance_id": "bird321", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT e.location,\n COUNT(DISTINCT x.expense_description) AS distinct_things_bought\nFROM event AS e\nLEFT JOIN budget AS b ON b.link_to_event = e.event_id\nLEFT JOIN expense AS x ON x.link_to_budget = b.budget_id\nWHERE EXISTS (\n SELECT 1\n FROM budget AS qualifying_budget\n WHERE qualifying_budget.link_to_event = e.event_id\n AND qualifying_budget.amount > 40\n)\nGROUP BY e.location;\n```", "rows": 2, "sql": "SELECT e.location,\n COUNT(DISTINCT x.expense_description) AS distinct_things_bought\nFROM event AS e\nLEFT JOIN budget AS b ON b.link_to_event = e.event_id\nLEFT JOIN expense AS x ON x.link_to_budget = b.budget_id\nWHERE EXISTS (\n SELECT 1\n FROM budget AS qualifying_budget\n WHERE qualifying_budget.link_to_event = e.event_id\n AND qualifying_budget.amount > 40\n)\nGROUP BY e.location;", "seconds": 14.21952791698277, "calls": [{"seconds": 2.9129687499953434, "usage": {"completion_tokens": 65, "prompt_tokens": 1706, "total_tokens": 1771, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1158, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1158, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1158, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.790016875020228, "usage": {"completion_tokens": 247, "prompt_tokens": 1931, "total_tokens": 2178, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 126, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 225, "cached_tokens": 1158, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 225, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 225, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.501922417082824, "usage": {"completion_tokens": 161, "prompt_tokens": 2322, "total_tokens": 2483, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 52, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 391, "cached_tokens": 1383, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 391, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 391, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8884ae47c13e275c31abdc067cd98a2094729368ba1dee36a50eb2ee15597d53", "csv_sha256": "a408168b20184d257a747926b6d1893b509a4e5fd050253bf8e58fcea65d0e21"} +{"instance_id": "bird322", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT SUM(b.amount) AS total_budgeted\nFROM event AS e\nJOIN budget AS b ON b.link_to_event = e.event_id\nWHERE e.event_date >= '2019-09-01'\n AND e.event_date < '2019-10-01'\n AND EXISTS (\n SELECT 1\n FROM budget AS pizza_budget\n JOIN expense AS x ON x.link_to_budget = pizza_budget.budget_id\n WHERE pizza_budget.link_to_event = e.event_id\n AND x.expense_description = 'Pizza'\n );\n```", "rows": 1, "sql": "SELECT SUM(b.amount) AS total_budgeted\nFROM event AS e\nJOIN budget AS b ON b.link_to_event = e.event_id\nWHERE e.event_date >= '2019-09-01'\n AND e.event_date < '2019-10-01'\n AND EXISTS (\n SELECT 1\n FROM budget AS pizza_budget\n JOIN expense AS x ON x.link_to_budget = pizza_budget.budget_id\n WHERE pizza_budget.link_to_event = e.event_id\n AND x.expense_description = 'Pizza'\n );", "seconds": 16.111892667016946, "calls": [{"seconds": 2.4571713330224156, "usage": {"completion_tokens": 65, "prompt_tokens": 1718, "total_tokens": 1783, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1170, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1170, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1170, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.942560499999672, "usage": {"completion_tokens": 204, "prompt_tokens": 1943, "total_tokens": 2147, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 70, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 225, "cached_tokens": 1170, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 225, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 225, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7045762499328703, "usage": {"completion_tokens": 134, "prompt_tokens": 2475, "total_tokens": 2609, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 532, "cached_tokens": 1395, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 532, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 532, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9898825410054997, "usage": {"completion_tokens": 121, "prompt_tokens": 2750, "total_tokens": 2871, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 275, "cached_tokens": 1927, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 275, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 275, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0ad2468b7ae8c4458c2757c411ee768481e86ffbb76772a46087bf1e60074bae", "csv_sha256": "d56acd8862ae99ac930e012eafadfa5266d2e64aebd9720d97e58b6e48ce7c47"} +{"instance_id": "bird323", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH event_totals AS (\n SELECT e.event_id, COALESCE(SUM(b.spent), 0.0) AS total_spent\n FROM event AS e\n LEFT JOIN budget AS b ON b.link_to_event = e.event_id\n GROUP BY e.event_id\n)\nSELECT ROUND(AVG(total_spent), 2) AS average_spent_per_event_dollars\nFROM event_totals;\n```", "rows": 1, "sql": "WITH event_totals AS (\n SELECT e.event_id, COALESCE(SUM(b.spent), 0.0) AS total_spent\n FROM event AS e\n LEFT JOIN budget AS b ON b.link_to_event = e.event_id\n GROUP BY e.event_id\n)\nSELECT ROUND(AVG(total_spent), 2) AS average_spent_per_event_dollars\nFROM event_totals;", "seconds": 15.110901874955744, "calls": [{"seconds": 2.673780041979626, "usage": {"completion_tokens": 79, "prompt_tokens": 1651, "total_tokens": 1730, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1103, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1103, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1103, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.455327874980867, "usage": {"completion_tokens": 179, "prompt_tokens": 1918, "total_tokens": 2097, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 34, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 267, "cached_tokens": 1103, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 267, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 267, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.0380845830077305, "usage": {"completion_tokens": 132, "prompt_tokens": 2290, "total_tokens": 2422, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 25, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 372, "cached_tokens": 1370, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 372, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 372, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.922410333994776, "usage": {"completion_tokens": 118, "prompt_tokens": 2542, "total_tokens": 2660, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 22, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 252, "cached_tokens": 1742, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 252, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 252, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "3658faed9114c4d4a14e23a7745f29a78db41eab3bfb0b69a1e6bc74539e7fdf", "csv_sha256": "5cc7d850fc9b272727a719c29e016701221ea77299fc1a0b4bae76c4ad53ab4c"} +{"instance_id": "bird324", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH budget_totals AS (\n SELECT link_to_event AS event_id,\n SUM(amount) AS total_budget,\n SUM(spent) AS total_spent\n FROM budget\n GROUP BY link_to_event\n), purchase_totals AS (\n SELECT b.link_to_event AS event_id,\n SUM(CASE\n WHEN NULLIF(TRIM(x.expense_description), '') IS NULL THEN 0\n ELSE 1 + LENGTH(x.expense_description)\n - LENGTH(REPLACE(x.expense_description, ',', ''))\n END) AS purchase_count\n FROM expense AS x\n JOIN budget AS b ON b.budget_id = x.link_to_budget\n GROUP BY b.link_to_event\n)\nSELECT e.event_name\nFROM event AS e\nLEFT JOIN budget_totals AS bt ON bt.event_id = e.event_id\nLEFT JOIN purchase_totals AS pt ON pt.event_id = e.event_id\nWHERE e.status = 'Closed'\n AND COALESCE(bt.total_spent, 0) <= COALESCE(bt.total_budget, 0)\nORDER BY COALESCE(pt.purchase_count, 0) DESC, e.event_id ASC\nLIMIT 1;\n```", "rows": 1, "sql": "WITH budget_totals AS (\n SELECT link_to_event AS event_id,\n SUM(amount) AS total_budget,\n SUM(spent) AS total_spent\n FROM budget\n GROUP BY link_to_event\n), purchase_totals AS (\n SELECT b.link_to_event AS event_id,\n SUM(CASE\n WHEN NULLIF(TRIM(x.expense_description), '') IS NULL THEN 0\n ELSE 1 + LENGTH(x.expense_description)\n - LENGTH(REPLACE(x.expense_description, ',', ''))\n END) AS purchase_count\n FROM expense AS x\n JOIN budget AS b ON b.budget_id = x.link_to_budget\n GROUP BY b.link_to_event\n)\nSELECT e.event_name\nFROM event AS e\nLEFT JOIN budget_totals AS bt ON bt.event_id = e.event_id\nLEFT JOIN purchase_totals AS pt ON pt.event_id = e.event_id\nWHERE e.status = 'Closed'\n AND COALESCE(bt.total_spent, 0) <= COALESCE(bt.total_budget, 0)\nORDER BY COALESCE(pt.purchase_count, 0) DESC, e.event_id ASC\nLIMIT 1;", "seconds": 24.7001266250154, "calls": [{"seconds": 2.4347190000116825, "usage": {"completion_tokens": 65, "prompt_tokens": 1724, "total_tokens": 1789, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1176, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1176, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1176, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9138152920641005, "usage": {"completion_tokens": 131, "prompt_tokens": 1949, "total_tokens": 2080, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 24, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 225, "cached_tokens": 1176, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 225, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 225, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.087339667021297, "usage": {"completion_tokens": 219, "prompt_tokens": 3444, "total_tokens": 3663, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1495, "cached_tokens": 1401, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1495, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1495, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.148319041938521, "usage": {"completion_tokens": 384, "prompt_tokens": 4023, "total_tokens": 4407, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 113, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 579, "cached_tokens": 2896, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 579, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 579, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.086589041049592, "usage": {"completion_tokens": 249, "prompt_tokens": 4674, "total_tokens": 4923, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 651, "cached_tokens": 3475, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 651, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 651, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "273a8be38b3ab37c23369d6034f36b93a6d8fe2749b73aff2673815455bd9480", "csv_sha256": "911cc58a3d1237f36c907af371ace3457249d4995533bff735df43c997fd912c"} +{"instance_id": "bird325", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH members_by_type AS (\n SELECT e.type AS event_type,\n COUNT(DISTINCT a.link_to_member) AS member_count\n FROM event AS e\n LEFT JOIN attendance AS a ON a.link_to_event = e.event_id\n WHERE e.event_date >= '2019-09-01'\n AND e.event_date < '2020-06-01'\n GROUP BY e.type\n)\nSELECT event_type, member_count\nFROM members_by_type\nWHERE member_count = (SELECT MAX(member_count) FROM members_by_type)\nORDER BY event_type;\n```", "rows": 2, "sql": "WITH members_by_type AS (\n SELECT e.type AS event_type,\n COUNT(DISTINCT a.link_to_member) AS member_count\n FROM event AS e\n LEFT JOIN attendance AS a ON a.link_to_event = e.event_id\n WHERE e.event_date >= '2019-09-01'\n AND e.event_date < '2020-06-01'\n GROUP BY e.type\n)\nSELECT event_type, member_count\nFROM members_by_type\nWHERE member_count = (SELECT MAX(member_count) FROM members_by_type)\nORDER BY event_type;", "seconds": 21.32120775000658, "calls": [{"seconds": 2.9828392498893663, "usage": {"completion_tokens": 79, "prompt_tokens": 1727, "total_tokens": 1806, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1179, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1179, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1179, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.412518957979046, "usage": {"completion_tokens": 320, "prompt_tokens": 1980, "total_tokens": 2300, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 235, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 253, "cached_tokens": 1179, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 253, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 253, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.1490392909618095, "usage": {"completion_tokens": 248, "prompt_tokens": 2701, "total_tokens": 2949, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 106, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 721, "cached_tokens": 1432, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 721, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 721, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.747893459047191, "usage": {"completion_tokens": 125, "prompt_tokens": 3106, "total_tokens": 3231, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 405, "cached_tokens": 2153, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 405, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 405, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "502681d351054730bc5ee33f40701bb12ec7f1bcde89345252277216a09635da", "csv_sha256": "4ce16ab0abd18f862b44c3d0e1bf0812498e6c04715eb9e2af636585ea6bb9ce"} +{"instance_id": "bird326", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE items(expense_id, item, rest) AS (\n SELECT e.expense_id, '', REPLACE(e.expense_description, 'Bakery - ', '') || ','\n FROM expense AS e\n WHERE EXISTS (\n SELECT 1\n FROM budget AS b\n WHERE b.budget_id = e.link_to_budget\n AND b.category = 'Food'\n )\n UNION ALL\n SELECT expense_id,\n TRIM(SUBSTR(rest, 1, INSTR(rest, ',') - 1)),\n SUBSTR(rest, INSTR(rest, ',') + 1)\n FROM items\n WHERE rest <> ''\n)\nSELECT MIN(item) AS item_name, COUNT(DISTINCT expense_id) AS record_count\nFROM items\nWHERE item <> '' AND item COLLATE NOCASE <> 'supplies'\nGROUP BY item COLLATE NOCASE\nORDER BY record_count DESC, item_name COLLATE NOCASE ASC\nLIMIT 1;\n```", "rows": 1, "sql": "WITH RECURSIVE items(expense_id, item, rest) AS (\n SELECT e.expense_id, '', REPLACE(e.expense_description, 'Bakery - ', '') || ','\n FROM expense AS e\n WHERE EXISTS (\n SELECT 1\n FROM budget AS b\n WHERE b.budget_id = e.link_to_budget\n AND b.category = 'Food'\n )\n UNION ALL\n SELECT expense_id,\n TRIM(SUBSTR(rest, 1, INSTR(rest, ',') - 1)),\n SUBSTR(rest, INSTR(rest, ',') + 1)\n FROM items\n WHERE rest <> ''\n)\nSELECT MIN(item) AS item_name, COUNT(DISTINCT expense_id) AS record_count\nFROM items\nWHERE item <> '' AND item COLLATE NOCASE <> 'supplies'\nGROUP BY item COLLATE NOCASE\nORDER BY record_count DESC, item_name COLLATE NOCASE ASC\nLIMIT 1;", "seconds": 26.487171749933623, "calls": [{"seconds": 2.4794081249274313, "usage": {"completion_tokens": 50, "prompt_tokens": 1698, "total_tokens": 1748, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1150, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1150, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1150, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.3853829170111567, "usage": {"completion_tokens": 34, "prompt_tokens": 1857, "total_tokens": 1891, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 159, "cached_tokens": 1150, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 159, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 159, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.780924457940273, "usage": {"completion_tokens": 75, "prompt_tokens": 1965, "total_tokens": 2040, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 108, "cached_tokens": 1309, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 108, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 108, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.278813124983571, "usage": {"completion_tokens": 360, "prompt_tokens": 2175, "total_tokens": 2535, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 287, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 210, "cached_tokens": 1417, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 210, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 210, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.885815499932505, "usage": {"completion_tokens": 284, "prompt_tokens": 2628, "total_tokens": 2912, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 50, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 453, "cached_tokens": 1627, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 453, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 453, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.65675987501163, "usage": {"completion_tokens": 219, "prompt_tokens": 3144, "total_tokens": 3363, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 8, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 516, "cached_tokens": 2080, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 516, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 516, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2c5a7638bc54720c6a09fe0d9808186774827fb335ede86e187dc8a4dbb34be3", "csv_sha256": "9d12d16d515424e3b5d2ce4c4fa91aec237417f56ec940c84df0f7b8d687a8f5"} +{"instance_id": "bird327", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE purchase_items(expense_id, category, cost, item_name, rest) AS (\n SELECT ex.expense_id, b.category, ex.cost, '', ex.expense_description || ','\n FROM expense AS ex\n JOIN budget AS b ON b.budget_id = ex.link_to_budget\n JOIN event AS ev ON ev.event_id = b.link_to_event\n WHERE ev.event_name = 'October Meeting'\n AND ex.approved = 'true'\n\n UNION ALL\n\n SELECT expense_id, category, cost,\n TRIM(SUBSTR(rest, 1, INSTR(rest, ',') - 1)),\n SUBSTR(rest, INSTR(rest, ',') + 1)\n FROM purchase_items\n WHERE rest <> ''\n), distinct_purchase_items AS (\n SELECT DISTINCT expense_id, category, cost, item_name\n FROM purchase_items\n WHERE item_name <> ''\n)\nSELECT item_name, category, SUM(cost) AS total_cost\nFROM distinct_purchase_items\nGROUP BY category, item_name\nORDER BY category, item_name;\n```", "rows": 5, "sql": "WITH RECURSIVE purchase_items(expense_id, category, cost, item_name, rest) AS (\n SELECT ex.expense_id, b.category, ex.cost, '', ex.expense_description || ','\n FROM expense AS ex\n JOIN budget AS b ON b.budget_id = ex.link_to_budget\n JOIN event AS ev ON ev.event_id = b.link_to_event\n WHERE ev.event_name = 'October Meeting'\n AND ex.approved = 'true'\n\n UNION ALL\n\n SELECT expense_id, category, cost,\n TRIM(SUBSTR(rest, 1, INSTR(rest, ',') - 1)),\n SUBSTR(rest, INSTR(rest, ',') + 1)\n FROM purchase_items\n WHERE rest <> ''\n), distinct_purchase_items AS (\n SELECT DISTINCT expense_id, category, cost, item_name\n FROM purchase_items\n WHERE item_name <> ''\n)\nSELECT item_name, category, SUM(cost) AS total_cost\nFROM distinct_purchase_items\nGROUP BY category, item_name\nORDER BY category, item_name;", "seconds": 23.87625312502496, "calls": [{"seconds": 1.9023302920395508, "usage": {"completion_tokens": 15, "prompt_tokens": 1766, "total_tokens": 1781, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1218, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1218, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1218, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.87683125003241, "usage": {"completion_tokens": 79, "prompt_tokens": 1819, "total_tokens": 1898, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 53, "cached_tokens": 1218, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 53, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 53, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7347654580371454, "usage": {"completion_tokens": 121, "prompt_tokens": 2086, "total_tokens": 2207, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 14, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 267, "cached_tokens": 1271, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 267, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 267, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.08188416599296, "usage": {"completion_tokens": 395, "prompt_tokens": 2497, "total_tokens": 2892, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 139, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 411, "cached_tokens": 1538, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 411, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 411, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.253994790953584, "usage": {"completion_tokens": 274, "prompt_tokens": 3193, "total_tokens": 3467, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 43, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 696, "cached_tokens": 1949, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 696, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 696, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "00ae1c25c57e8e03a6b8fb6d43835c43d3749fc939e150240e020b7098941625", "csv_sha256": "d1f95dbcc92920c0cdee24135d644aa66f3a472768b590395233f86373622252"} +{"instance_id": "bird328", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n e.event_name,\n e.event_date,\n (\n SELECT SUM(b.amount)\n FROM budget AS b\n WHERE b.link_to_event = e.event_id\n ) AS total_budgeted,\n (\n SELECT COUNT(DISTINCT a.link_to_member)\n FROM attendance AS a\n WHERE a.link_to_event = e.event_id\n ) AS member_attendance_count\nFROM event AS e\nORDER BY e.event_name ASC, e.event_date ASC;\n```", "rows": 42, "sql": "SELECT\n e.event_name,\n e.event_date,\n (\n SELECT SUM(b.amount)\n FROM budget AS b\n WHERE b.link_to_event = e.event_id\n ) AS total_budgeted,\n (\n SELECT COUNT(DISTINCT a.link_to_member)\n FROM attendance AS a\n WHERE a.link_to_event = e.event_id\n ) AS member_attendance_count\nFROM event AS e\nORDER BY e.event_name ASC, e.event_date ASC;", "seconds": 20.547088583931327, "calls": [{"seconds": 3.0963228748878464, "usage": {"completion_tokens": 94, "prompt_tokens": 1651, "total_tokens": 1745, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1103, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1103, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1103, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.651814542012289, "usage": {"completion_tokens": 304, "prompt_tokens": 1971, "total_tokens": 2275, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 146, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 320, "cached_tokens": 1103, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 320, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 320, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.7720133329275995, "usage": {"completion_tokens": 246, "prompt_tokens": 2477, "total_tokens": 2723, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 121, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 506, "cached_tokens": 1423, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 506, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 506, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.008992250077426, "usage": {"completion_tokens": 107, "prompt_tokens": 3848, "total_tokens": 3955, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1371, "cached_tokens": 1929, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1371, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1371, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8ab0f8f1ccab84e6975867f890775917427b39abfc8ea52b4548ade0fcebf396", "csv_sha256": "cc1a2e07c96a4c7e2cee81d72ece56eabe0e952adad9b41aa87f06bbb914847d"} +{"instance_id": "bird329", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE expense_items(expense_id, item_name, remaining) AS (\n SELECT e.expense_id, '',\n CASE WHEN e.expense_description LIKE 'Bakery - %'\n THEN substr(e.expense_description, length('Bakery - ') + 1)\n ELSE e.expense_description\n END || ','\n FROM expense AS e\n JOIN member AS m ON m.member_id = e.link_to_member\n WHERE m.first_name = 'Sacha' AND m.last_name = 'Harrison'\n\n UNION ALL\n\n SELECT expense_id,\n trim(substr(remaining, 1, instr(remaining, ',') - 1)),\n substr(remaining, instr(remaining, ',') + 1)\n FROM expense_items\n WHERE remaining <> ''\n)\nSELECT item_name, COUNT(DISTINCT expense_id) AS purchase_count\nFROM expense_items\nWHERE item_name <> ''\nGROUP BY item_name\nORDER BY item_name COLLATE NOCASE;\n```", "rows": 10, "sql": "WITH RECURSIVE expense_items(expense_id, item_name, remaining) AS (\n SELECT e.expense_id, '',\n CASE WHEN e.expense_description LIKE 'Bakery - %'\n THEN substr(e.expense_description, length('Bakery - ') + 1)\n ELSE e.expense_description\n END || ','\n FROM expense AS e\n JOIN member AS m ON m.member_id = e.link_to_member\n WHERE m.first_name = 'Sacha' AND m.last_name = 'Harrison'\n\n UNION ALL\n\n SELECT expense_id,\n trim(substr(remaining, 1, instr(remaining, ',') - 1)),\n substr(remaining, instr(remaining, ',') + 1)\n FROM expense_items\n WHERE remaining <> ''\n)\nSELECT item_name, COUNT(DISTINCT expense_id) AS purchase_count\nFROM expense_items\nWHERE item_name <> ''\nGROUP BY item_name\nORDER BY item_name COLLATE NOCASE;", "seconds": 20.3286592499353, "calls": [{"seconds": 2.94637970905751, "usage": {"completion_tokens": 50, "prompt_tokens": 1661, "total_tokens": 1711, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1113, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1113, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1113, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0636893330374733, "usage": {"completion_tokens": 61, "prompt_tokens": 1834, "total_tokens": 1895, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 173, "cached_tokens": 1113, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 173, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 173, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.591077541932464, "usage": {"completion_tokens": 432, "prompt_tokens": 2011, "total_tokens": 2443, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 193, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 177, "cached_tokens": 1286, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 177, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 177, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.71123366698157, "usage": {"completion_tokens": 210, "prompt_tokens": 2733, "total_tokens": 2943, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 722, "cached_tokens": 1463, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 722, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 722, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "29c38b6247596c26b1497617d4d21597c45c8e7d172aa93baca671eba369fe7a", "csv_sha256": "ffb5b608fa336dbc0bb11f5bd6d8d13c4a06d072b317bcf76585837a2408b20b"} +{"instance_id": "bird330", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE\nperiod_expenses AS (\n SELECT link_to_member AS member_id, expense_description, cost\n FROM expense\n WHERE expense_date >= '2019-10-01'\n AND expense_date < '2019-12-01'\n),\nitem_parts(member_id, item, rest) AS (\n SELECT member_id, NULL, expense_description || ','\n FROM period_expenses\n UNION ALL\n SELECT member_id,\n SUBSTR(rest, 1, INSTR(rest, ',') - 1),\n SUBSTR(rest, INSTR(rest, ',') + 1)\n FROM item_parts\n WHERE rest <> ''\n),\nitem_counts AS (\n SELECT member_id, COUNT(DISTINCT NULLIF(LOWER(TRIM(item)), '')) AS kind_count\n FROM item_parts\n GROUP BY member_id\n),\nspending AS (\n SELECT member_id, ROUND(SUM(cost), 2) AS total_spending_dollars\n FROM period_expenses\n GROUP BY member_id\n),\nranked AS (\n SELECT m.first_name || ' ' || m.last_name AS full_name,\n i.kind_count,\n s.total_spending_dollars,\n RANK() OVER (ORDER BY i.kind_count DESC) AS kind_rank\n FROM member AS m\n JOIN item_counts AS i ON i.member_id = m.member_id\n JOIN spending AS s ON s.member_id = m.member_id\n)\nSELECT full_name, kind_count, total_spending_dollars\nFROM ranked\nWHERE kind_rank = 1\nORDER BY full_name;\n```", "rows": 1, "sql": "WITH RECURSIVE\nperiod_expenses AS (\n SELECT link_to_member AS member_id, expense_description, cost\n FROM expense\n WHERE expense_date >= '2019-10-01'\n AND expense_date < '2019-12-01'\n),\nitem_parts(member_id, item, rest) AS (\n SELECT member_id, NULL, expense_description || ','\n FROM period_expenses\n UNION ALL\n SELECT member_id,\n SUBSTR(rest, 1, INSTR(rest, ',') - 1),\n SUBSTR(rest, INSTR(rest, ',') + 1)\n FROM item_parts\n WHERE rest <> ''\n),\nitem_counts AS (\n SELECT member_id, COUNT(DISTINCT NULLIF(LOWER(TRIM(item)), '')) AS kind_count\n FROM item_parts\n GROUP BY member_id\n),\nspending AS (\n SELECT member_id, ROUND(SUM(cost), 2) AS total_spending_dollars\n FROM period_expenses\n GROUP BY member_id\n),\nranked AS (\n SELECT m.first_name || ' ' || m.last_name AS full_name,\n i.kind_count,\n s.total_spending_dollars,\n RANK() OVER (ORDER BY i.kind_count DESC) AS kind_rank\n FROM member AS m\n JOIN item_counts AS i ON i.member_id = m.member_id\n JOIN spending AS s ON s.member_id = m.member_id\n)\nSELECT full_name, kind_count, total_spending_dollars\nFROM ranked\nWHERE kind_rank = 1\nORDER BY full_name;", "seconds": 36.58722149999812, "calls": [{"seconds": 2.3009915000293404, "usage": {"completion_tokens": 50, "prompt_tokens": 1701, "total_tokens": 1751, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1153, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1153, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1153, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 1.9167558340122923, "usage": {"completion_tokens": 15, "prompt_tokens": 1874, "total_tokens": 1889, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 173, "cached_tokens": 1153, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 173, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 173, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1533199169207364, "usage": {"completion_tokens": 82, "prompt_tokens": 1927, "total_tokens": 2009, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 42, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 53, "cached_tokens": 1326, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 53, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 53, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.736335458001122, "usage": {"completion_tokens": 60, "prompt_tokens": 2901, "total_tokens": 2961, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 974, "cached_tokens": 1379, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 974, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 974, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.387822833028622, "usage": {"completion_tokens": 371, "prompt_tokens": 3089, "total_tokens": 3460, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 326, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 188, "cached_tokens": 2353, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 188, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 188, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.819010749924928, "usage": {"completion_tokens": 505, "prompt_tokens": 3508, "total_tokens": 4013, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 131, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 419, "cached_tokens": 2541, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 419, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 419, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.248644959065132, "usage": {"completion_tokens": 351, "prompt_tokens": 4392, "total_tokens": 4743, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 12, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 884, "cached_tokens": 2960, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 884, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 884, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d553804e27b3360f23d8cdf1e5b21690e8d1b7ee2ef53620a289968f982d9cdb", "csv_sha256": "e184bb98d3920e303d214f1139cce410a1aac7e6e610af344d089dd0e311ad2d"} +{"instance_id": "bird331", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT j.major_id) AS major_count\nFROM member AS m\nJOIN major AS j ON j.major_id = m.link_to_major\nWHERE j.department = 'Political Science Department';\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT j.major_id) AS major_count\nFROM member AS m\nJOIN major AS j ON j.major_id = m.link_to_major\nWHERE j.department = 'Political Science Department';", "seconds": 14.016324708936736, "calls": [{"seconds": 2.345535583095625, "usage": {"completion_tokens": 50, "prompt_tokens": 1666, "total_tokens": 1716, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1118, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1118, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1118, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7145079580368474, "usage": {"completion_tokens": 73, "prompt_tokens": 1819, "total_tokens": 1892, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 40, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 153, "cached_tokens": 1118, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 153, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 153, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.098653582972474, "usage": {"completion_tokens": 185, "prompt_tokens": 1933, "total_tokens": 2118, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 125, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 114, "cached_tokens": 1271, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 114, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 114, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8394241660134867, "usage": {"completion_tokens": 49, "prompt_tokens": 2186, "total_tokens": 2235, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 253, "cached_tokens": 1385, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 253, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 253, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b9ddb3afdbe1eff892f21db588567af876b5493d9daa33573b03f96c3009c312", "csv_sha256": "fc5c04d7a80cd2febe36b91d0a261ba3f58fd1f0a26bd804b6e31cbed8ede948"} +{"instance_id": "bird332", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH eye_colour_counts AS (\n SELECT c.colour AS eye_colour, COUNT(*) AS hero_count\n FROM superhero AS s\n JOIN publisher AS p ON p.id = s.publisher_id\n JOIN colour AS c ON c.id = s.eye_colour_id\n WHERE p.publisher_name = 'Marvel Comics'\n AND c.colour <> 'No Colour'\n GROUP BY c.colour\n)\nSELECT eye_colour, hero_count,\n RANK() OVER (ORDER BY hero_count DESC) AS rank\nFROM eye_colour_counts\nORDER BY hero_count DESC, eye_colour ASC;\n```", "rows": 18, "sql": "WITH eye_colour_counts AS (\n SELECT c.colour AS eye_colour, COUNT(*) AS hero_count\n FROM superhero AS s\n JOIN publisher AS p ON p.id = s.publisher_id\n JOIN colour AS c ON c.id = s.eye_colour_id\n WHERE p.publisher_name = 'Marvel Comics'\n AND c.colour <> 'No Colour'\n GROUP BY c.colour\n)\nSELECT eye_colour, hero_count,\n RANK() OVER (ORDER BY hero_count DESC) AS rank\nFROM eye_colour_counts\nORDER BY hero_count DESC, eye_colour ASC;", "seconds": 14.564248292008415, "calls": [{"seconds": 2.8909717079950497, "usage": {"completion_tokens": 66, "prompt_tokens": 1644, "total_tokens": 1710, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1090, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1090, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1090, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8243593339575455, "usage": {"completion_tokens": 53, "prompt_tokens": 1854, "total_tokens": 1907, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 210, "cached_tokens": 1090, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 210, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 210, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.882356500020251, "usage": {"completion_tokens": 206, "prompt_tokens": 2380, "total_tokens": 2586, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 63, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 526, "cached_tokens": 1300, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 526, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 526, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.945290458970703, "usage": {"completion_tokens": 127, "prompt_tokens": 2893, "total_tokens": 3020, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 513, "cached_tokens": 1826, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 513, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 513, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f6da7f78afc19bdc54eda946f5a86cd2eaf857f3b5bd95bd31c380a561878818", "csv_sha256": "b05416dcaf345d506a70b3581b56f9235c9fafe4611c94a5278917d4c1b2c1af"} +{"instance_id": "bird333", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT h.superhero_name\nFROM superhero AS h\nJOIN publisher AS p ON p.id = h.publisher_id\nWHERE p.publisher_name = 'Marvel Comics'\n AND EXISTS (\n SELECT 1\n FROM hero_power AS hp\n JOIN superpower AS sp ON sp.id = hp.power_id\n WHERE hp.hero_id = h.id\n AND sp.power_name = 'Super Strength'\n );\n```", "rows": 201, "sql": "SELECT h.superhero_name\nFROM superhero AS h\nJOIN publisher AS p ON p.id = h.publisher_id\nWHERE p.publisher_name = 'Marvel Comics'\n AND EXISTS (\n SELECT 1\n FROM hero_power AS hp\n JOIN superpower AS sp ON sp.id = hp.power_id\n WHERE hp.hero_id = h.id\n AND sp.power_name = 'Super Strength'\n );", "seconds": 11.147109708050266, "calls": [{"seconds": 2.754668042063713, "usage": {"completion_tokens": 83, "prompt_tokens": 1618, "total_tokens": 1701, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1064, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1064, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1064, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.846987457945943, "usage": {"completion_tokens": 165, "prompt_tokens": 1873, "total_tokens": 2038, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 60, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1064, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.428819999913685, "usage": {"completion_tokens": 111, "prompt_tokens": 2313, "total_tokens": 2424, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 18, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 440, "cached_tokens": 1319, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 440, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 440, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "cb41986dc4fa183293ffc20d70a9104c5536d4961a3518dbe53f3aabf7401f41", "csv_sha256": "44a8c9992a613feafaea2c1a424e2d308c046a3259348d69639a0154b16d511f"} +{"instance_id": "bird334", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n ROUND(\n 100.0 * COUNT(CASE WHEN a.alignment = 'Neutral' COLLATE NOCASE THEN 1 END)\n / NULLIF(COUNT(*), 0),\n 2\n ) AS neutral_percentage,\n COUNT(CASE\n WHEN a.alignment = 'Neutral' COLLATE NOCASE\n AND p.publisher_name = 'Marvel Comics' COLLATE NOCASE\n THEN 1\n END) AS neutral_marvel_count\nFROM superhero AS s\nLEFT JOIN alignment AS a ON a.id = s.alignment_id\nLEFT JOIN publisher AS p ON p.id = s.publisher_id;\n```", "rows": 1, "sql": "SELECT\n ROUND(\n 100.0 * COUNT(CASE WHEN a.alignment = 'Neutral' COLLATE NOCASE THEN 1 END)\n / NULLIF(COUNT(*), 0),\n 2\n ) AS neutral_percentage,\n COUNT(CASE\n WHEN a.alignment = 'Neutral' COLLATE NOCASE\n AND p.publisher_name = 'Marvel Comics' COLLATE NOCASE\n THEN 1\n END) AS neutral_marvel_count\nFROM superhero AS s\nLEFT JOIN alignment AS a ON a.id = s.alignment_id\nLEFT JOIN publisher AS p ON p.id = s.publisher_id;", "seconds": 11.443429457955062, "calls": [{"seconds": 2.6928560419473797, "usage": {"completion_tokens": 66, "prompt_tokens": 1631, "total_tokens": 1697, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1077, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1077, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1077, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.124298166949302, "usage": {"completion_tokens": 212, "prompt_tokens": 1841, "total_tokens": 2053, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 74, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 210, "cached_tokens": 1077, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 210, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 210, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6137174590257928, "usage": {"completion_tokens": 140, "prompt_tokens": 2210, "total_tokens": 2350, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 369, "cached_tokens": 1287, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 369, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 369, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ae4944ac1677337e8f1e6ca56913cda04d2249a1332a31825dd3790377ac5d27", "csv_sha256": "a9435ab7303555ca64365f4987bf41b10be5283c6c780a8c6d5a56d820a7a9a2"} +{"instance_id": "bird335", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH publisher_counts AS (\n SELECT p.publisher_name, COUNT(s.id) AS superhero_count\n FROM publisher AS p\n LEFT JOIN superhero AS s ON s.publisher_id = p.id\n WHERE p.publisher_name IN ('Marvel Comics', 'DC Comics')\n GROUP BY p.publisher_name\n), comparison AS (\n SELECT publisher_name, superhero_count,\n MAX(superhero_count) OVER () AS highest_count,\n MIN(superhero_count) OVER () AS lowest_count\n FROM publisher_counts\n)\nSELECT publisher_name, highest_count - lowest_count AS difference\nFROM comparison\nWHERE superhero_count = highest_count;\n```", "rows": 1, "sql": "WITH publisher_counts AS (\n SELECT p.publisher_name, COUNT(s.id) AS superhero_count\n FROM publisher AS p\n LEFT JOIN superhero AS s ON s.publisher_id = p.id\n WHERE p.publisher_name IN ('Marvel Comics', 'DC Comics')\n GROUP BY p.publisher_name\n), comparison AS (\n SELECT publisher_name, superhero_count,\n MAX(superhero_count) OVER () AS highest_count,\n MIN(superhero_count) OVER () AS lowest_count\n FROM publisher_counts\n)\nSELECT publisher_name, highest_count - lowest_count AS difference\nFROM comparison\nWHERE superhero_count = highest_count;", "seconds": 11.662853291956708, "calls": [{"seconds": 2.787714874953963, "usage": {"completion_tokens": 51, "prompt_tokens": 1620, "total_tokens": 1671, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1066, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1066, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1066, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.69354620797094, "usage": {"completion_tokens": 205, "prompt_tokens": 1790, "total_tokens": 1995, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 55, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 170, "cached_tokens": 1066, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 170, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 170, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.171572708990425, "usage": {"completion_tokens": 132, "prompt_tokens": 2154, "total_tokens": 2286, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 364, "cached_tokens": 1236, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 364, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 364, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "43a4220c33684af55f61f63e2efcd2acc59742393da3e958e20eb5a6e393dc3a", "csv_sha256": "ada6d8b4bc0294454b3082cd408ecbb4b88fa820e9da3b709f8a6290cdac1ae4"} +{"instance_id": "bird336", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT s.superhero_name\nFROM superhero AS s\nJOIN colour AS c ON c.id = s.eye_colour_id\nWHERE s.height_cm BETWEEN 170 AND 190\n AND c.colour = 'No Colour';\n```", "rows": 15, "sql": "SELECT s.superhero_name\nFROM superhero AS s\nJOIN colour AS c ON c.id = s.eye_colour_id\nWHERE s.height_cm BETWEEN 170 AND 190\n AND c.colour = 'No Colour';", "seconds": 12.840770624927245, "calls": [{"seconds": 2.5435973750427365, "usage": {"completion_tokens": 51, "prompt_tokens": 1625, "total_tokens": 1676, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1071, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1071, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1071, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.211320500005968, "usage": {"completion_tokens": 27, "prompt_tokens": 1794, "total_tokens": 1821, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 169, "cached_tokens": 1071, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 169, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 169, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.215834499918856, "usage": {"completion_tokens": 110, "prompt_tokens": 2028, "total_tokens": 2138, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 46, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 234, "cached_tokens": 1240, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 234, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 234, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8555395000148565, "usage": {"completion_tokens": 75, "prompt_tokens": 2264, "total_tokens": 2339, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 20, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 236, "cached_tokens": 1474, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 236, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 236, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "05ea275b94c133a6222da050be7d3039f3a6d9e5cc819f713f46bf81d2d398cf", "csv_sha256": "df95fc0453f2b1ae281e79ded1dd51fcb2475fd8e99aacb29278081e9e6e90d7"} +{"instance_id": "bird337", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(100.0 * AVG(CASE WHEN EXISTS (\n SELECT 1\n FROM publisher AS p\n WHERE p.id = s.publisher_id\n AND p.publisher_name = 'Marvel Comics'\n) THEN 1 ELSE 0 END), 2) AS marvel_percentage\nFROM superhero AS s\nWHERE s.height_cm BETWEEN 150 AND 180;\n```", "rows": 1, "sql": "SELECT ROUND(100.0 * AVG(CASE WHEN EXISTS (\n SELECT 1\n FROM publisher AS p\n WHERE p.id = s.publisher_id\n AND p.publisher_name = 'Marvel Comics'\n) THEN 1 ELSE 0 END), 2) AS marvel_percentage\nFROM superhero AS s\nWHERE s.height_cm BETWEEN 150 AND 180;", "seconds": 9.834306542063132, "calls": [{"seconds": 2.3827477500308305, "usage": {"completion_tokens": 51, "prompt_tokens": 1629, "total_tokens": 1680, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1075, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1075, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1075, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.370343083050102, "usage": {"completion_tokens": 138, "prompt_tokens": 1799, "total_tokens": 1937, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 42, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 170, "cached_tokens": 1075, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 170, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 170, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.061416666954756, "usage": {"completion_tokens": 83, "prompt_tokens": 2042, "total_tokens": 2125, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 243, "cached_tokens": 1245, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 243, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 243, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2a885d2dc53620d95ebd8be36058959845c567625d4cd43e898eb35a9e6aad57", "csv_sha256": "1b923f111762e3277968e26e47e0983dcc409dad26578dc6ad1405efe5e4b69a"} +{"instance_id": "bird338", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH strength_scores AS (\n SELECT ha.hero_id, ha.attribute_value\n FROM hero_attribute AS ha\n JOIN attribute AS a ON a.id = ha.attribute_id\n WHERE a.attribute_name = 'Strength'\n)\nSELECT DISTINCT s.full_name\nFROM superhero AS s\nJOIN strength_scores AS ss ON ss.hero_id = s.id\nWHERE ss.attribute_value = (SELECT MAX(attribute_value) FROM strength_scores)\n AND TRIM(s.full_name) NOT IN ('', '-')\nORDER BY s.full_name;\n```", "rows": 35, "sql": "WITH strength_scores AS (\n SELECT ha.hero_id, ha.attribute_value\n FROM hero_attribute AS ha\n JOIN attribute AS a ON a.id = ha.attribute_id\n WHERE a.attribute_name = 'Strength'\n)\nSELECT DISTINCT s.full_name\nFROM superhero AS s\nJOIN strength_scores AS ss ON ss.hero_id = s.id\nWHERE ss.attribute_value = (SELECT MAX(attribute_value) FROM strength_scores)\n AND TRIM(s.full_name) NOT IN ('', '-')\nORDER BY s.full_name;", "seconds": 15.184103165986016, "calls": [{"seconds": 2.8048041670117527, "usage": {"completion_tokens": 67, "prompt_tokens": 1617, "total_tokens": 1684, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1063, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1063, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1063, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.1407132499152794, "usage": {"completion_tokens": 179, "prompt_tokens": 1835, "total_tokens": 2014, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 55, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 218, "cached_tokens": 1063, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 218, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 218, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.471713832928799, "usage": {"completion_tokens": 126, "prompt_tokens": 2417, "total_tokens": 2543, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 582, "cached_tokens": 1281, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 582, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 582, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.742938374984078, "usage": {"completion_tokens": 112, "prompt_tokens": 2833, "total_tokens": 2945, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 416, "cached_tokens": 1863, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 416, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 416, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "259bcdf809f70884c114fdca4f9cef5e62359557d6465c93c54c216f690fc297", "csv_sha256": "07cef3e43f6bb543038e124bbff7c0fdfe966f641b25cf170d2e505bcfea8fd6"} +{"instance_id": "bird339", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT s.superhero_name, p.publisher_name\nFROM superhero AS s\nJOIN colour AS c ON c.id = s.eye_colour_id\nLEFT JOIN publisher AS p ON p.id = s.publisher_id\nWHERE s.eye_colour_id = s.hair_colour_id\n AND s.eye_colour_id = s.skin_colour_id\n AND c.colour <> 'No Colour'\nORDER BY s.superhero_name, p.publisher_name;\n```", "rows": 4, "sql": "SELECT s.superhero_name, p.publisher_name\nFROM superhero AS s\nJOIN colour AS c ON c.id = s.eye_colour_id\nLEFT JOIN publisher AS p ON p.id = s.publisher_id\nWHERE s.eye_colour_id = s.hair_colour_id\n AND s.eye_colour_id = s.skin_colour_id\n AND c.colour <> 'No Colour'\nORDER BY s.superhero_name, p.publisher_name;", "seconds": 14.787135040969588, "calls": [{"seconds": 2.710470833000727, "usage": {"completion_tokens": 66, "prompt_tokens": 1624, "total_tokens": 1690, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1070, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1070, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1070, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.366957459016703, "usage": {"completion_tokens": 30, "prompt_tokens": 1834, "total_tokens": 1864, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 210, "cached_tokens": 1070, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 210, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 210, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.328320791944861, "usage": {"completion_tokens": 235, "prompt_tokens": 2070, "total_tokens": 2305, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 130, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 236, "cached_tokens": 1280, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 236, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 236, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3579139999346808, "usage": {"completion_tokens": 94, "prompt_tokens": 2447, "total_tokens": 2541, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 377, "cached_tokens": 1516, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 377, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 377, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6b88df446e257fa829efd2366c924f7d651681537f34c4a8c3765408b7d0b517", "csv_sha256": "3138d117c0480e650a0d8d2ff22de48752ededa894f76cd750600c415f30dca7"} +{"instance_id": "bird340", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(100.0 * COUNT(CASE WHEN c.colour = 'Blue' THEN 1 END) / COUNT(*), 2) AS percentage\nFROM superhero AS s\nJOIN gender AS g ON g.id = s.gender_id\nLEFT JOIN colour AS c ON c.id = s.skin_colour_id\nWHERE g.gender = 'Female';\n```", "rows": 1, "sql": "SELECT ROUND(100.0 * COUNT(CASE WHEN c.colour = 'Blue' THEN 1 END) / COUNT(*), 2) AS percentage\nFROM superhero AS s\nJOIN gender AS g ON g.id = s.gender_id\nLEFT JOIN colour AS c ON c.id = s.skin_colour_id\nWHERE g.gender = 'Female';", "seconds": 9.100744958035648, "calls": [{"seconds": 2.9341832919744775, "usage": {"completion_tokens": 66, "prompt_tokens": 1618, "total_tokens": 1684, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1064, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1064, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1064, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1525093750096858, "usage": {"completion_tokens": 88, "prompt_tokens": 1827, "total_tokens": 1915, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 209, "cached_tokens": 1064, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 209, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 209, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0001606250880286, "usage": {"completion_tokens": 79, "prompt_tokens": 2014, "total_tokens": 2093, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 187, "cached_tokens": 1273, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 187, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 187, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "3cb8f216851f3b76dd5866f1a3ca62039490424a8f64df57e680c6846f106d64", "csv_sha256": "91868e694cc118fd113d217e233dd296b815556cc4362b76846ceea62b4dca34"} +{"instance_id": "bird341", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(100.0 * COUNT(CASE WHEN p.publisher_name = 'Marvel Comics' THEN 1 END) / NULLIF(COUNT(*), 0), 2) AS percentage\nFROM superhero AS s\nJOIN gender AS g ON g.id = s.gender_id\nLEFT JOIN publisher AS p ON p.id = s.publisher_id\nWHERE g.gender = 'Female';\n```", "rows": 1, "sql": "SELECT ROUND(100.0 * COUNT(CASE WHEN p.publisher_name = 'Marvel Comics' THEN 1 END) / NULLIF(COUNT(*), 0), 2) AS percentage\nFROM superhero AS s\nJOIN gender AS g ON g.id = s.gender_id\nLEFT JOIN publisher AS p ON p.id = s.publisher_id\nWHERE g.gender = 'Female';", "seconds": 10.01906749990303, "calls": [{"seconds": 2.6326665829401463, "usage": {"completion_tokens": 66, "prompt_tokens": 1621, "total_tokens": 1687, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1067, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1067, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1067, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.10262237500865, "usage": {"completion_tokens": 146, "prompt_tokens": 1831, "total_tokens": 1977, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 50, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 210, "cached_tokens": 1067, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 210, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 210, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.26863687497098, "usage": {"completion_tokens": 85, "prompt_tokens": 2082, "total_tokens": 2167, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 251, "cached_tokens": 1277, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 251, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 251, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "c2eada099d40ed0899aea175387c0eba3c777d1a1d686e53b04efad7481200bc", "csv_sha256": "0e80ff6b510abb88f34baf2e11666a780ab6ee2ef1e106f042bf7c1c3b651c0d"} +{"instance_id": "bird342", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH publisher_counts AS (\n SELECT COUNT(CASE WHEN p.publisher_name = 'DC Comics' THEN 1 END) AS dc_count,\n COUNT(CASE WHEN p.publisher_name = 'Marvel Comics' THEN 1 END) AS marvel_count\n FROM superhero AS s\n JOIN publisher AS p ON p.id = s.publisher_id\n WHERE p.publisher_name IN ('DC Comics', 'Marvel Comics')\n)\nSELECT CASE\n WHEN dc_count > marvel_count THEN 'DC Comics'\n WHEN marvel_count > dc_count THEN 'Marvel Comics'\n ELSE 'Tie'\n END AS publisher,\n ABS(dc_count - marvel_count) AS count_difference\nFROM publisher_counts;\n```", "rows": 1, "sql": "WITH publisher_counts AS (\n SELECT COUNT(CASE WHEN p.publisher_name = 'DC Comics' THEN 1 END) AS dc_count,\n COUNT(CASE WHEN p.publisher_name = 'Marvel Comics' THEN 1 END) AS marvel_count\n FROM superhero AS s\n JOIN publisher AS p ON p.id = s.publisher_id\n WHERE p.publisher_name IN ('DC Comics', 'Marvel Comics')\n)\nSELECT CASE\n WHEN dc_count > marvel_count THEN 'DC Comics'\n WHEN marvel_count > dc_count THEN 'Marvel Comics'\n ELSE 'Tie'\n END AS publisher,\n ABS(dc_count - marvel_count) AS count_difference\nFROM publisher_counts;", "seconds": 11.653786583105102, "calls": [{"seconds": 2.447733165929094, "usage": {"completion_tokens": 51, "prompt_tokens": 1627, "total_tokens": 1678, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1073, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1073, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1073, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.184633249999024, "usage": {"completion_tokens": 197, "prompt_tokens": 1797, "total_tokens": 1994, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 32, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 170, "cached_tokens": 1073, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 170, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 170, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.007420583046041, "usage": {"completion_tokens": 145, "prompt_tokens": 2166, "total_tokens": 2311, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 369, "cached_tokens": 1243, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 369, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 369, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5b2e422215d18a3a14d78b3592372b4fdd58f5074029283e306183fedc6bb4f2", "csv_sha256": "e1c1fa4bb50379c812d66c9c819a14f795ed5501485b2245733fa5585a43a069"} +{"instance_id": "bird343", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT AVG(m.height_cm) AS average_height_cm\nFROM superhero AS m\nJOIN publisher AS mp ON mp.id = m.publisher_id\nWHERE mp.publisher_name = 'Marvel Comics'\n AND m.height_cm > 0\n AND EXISTS (\n SELECT 1\n FROM hero_power AS mhp\n JOIN superpower AS sp ON sp.id = mhp.power_id\n WHERE mhp.hero_id = m.id\n AND NOT EXISTS (\n SELECT 1\n FROM hero_power AS dhp\n JOIN superhero AS d ON d.id = dhp.hero_id\n JOIN publisher AS dp ON dp.id = d.publisher_id\n WHERE dp.publisher_name = 'DC Comics'\n AND dhp.power_id = sp.id\n )\n );\n```", "rows": 1, "sql": "SELECT AVG(m.height_cm) AS average_height_cm\nFROM superhero AS m\nJOIN publisher AS mp ON mp.id = m.publisher_id\nWHERE mp.publisher_name = 'Marvel Comics'\n AND m.height_cm > 0\n AND EXISTS (\n SELECT 1\n FROM hero_power AS mhp\n JOIN superpower AS sp ON sp.id = mhp.power_id\n WHERE mhp.hero_id = m.id\n AND NOT EXISTS (\n SELECT 1\n FROM hero_power AS dhp\n JOIN superhero AS d ON d.id = dhp.hero_id\n JOIN publisher AS dp ON dp.id = d.publisher_id\n WHERE dp.publisher_name = 'DC Comics'\n AND dhp.power_id = sp.id\n )\n );", "seconds": 16.767677917028777, "calls": [{"seconds": 2.5962148329708725, "usage": {"completion_tokens": 83, "prompt_tokens": 1682, "total_tokens": 1765, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1128, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1128, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1128, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.166161625063978, "usage": {"completion_tokens": 127, "prompt_tokens": 1937, "total_tokens": 2064, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 34, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1128, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.783868459053338, "usage": {"completion_tokens": 246, "prompt_tokens": 2204, "total_tokens": 2450, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 64, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 267, "cached_tokens": 1383, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 267, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 267, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.048883083974943, "usage": {"completion_tokens": 165, "prompt_tokens": 2641, "total_tokens": 2806, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 437, "cached_tokens": 1650, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 437, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 437, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a0ed1172d07ed780f249df8bbe51127c2cf282c07009f1af0615a1238dd3e9f4", "csv_sha256": "e39a11c647a6dea02459dfe5a427e9fb3610933b6c8e79fe1df8d5675747c9f8"} +{"instance_id": "bird344", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH hero_powers AS (\n SELECT h.id AS hero_id, hp.power_id\n FROM superhero AS h\n JOIN hero_power AS hp ON hp.hero_id = h.id\n), strength_heroes AS (\n SELECT DISTINCT hp.hero_id\n FROM hero_powers AS hp\n JOIN superpower AS p ON p.id = hp.power_id\n WHERE p.power_name = 'Super Strength'\n)\nSELECT COUNT(*) AS power_count\nFROM superpower AS p\nWHERE EXISTS (\n SELECT 1\n FROM hero_powers AS hp\n JOIN strength_heroes AS sh ON sh.hero_id = hp.hero_id\n WHERE hp.power_id = p.id\n)\nAND NOT EXISTS (\n SELECT 1\n FROM hero_powers AS hp\n LEFT JOIN strength_heroes AS sh ON sh.hero_id = hp.hero_id\n WHERE hp.power_id = p.id AND sh.hero_id IS NULL\n);\n```", "rows": 1, "sql": "WITH hero_powers AS (\n SELECT h.id AS hero_id, hp.power_id\n FROM superhero AS h\n JOIN hero_power AS hp ON hp.hero_id = h.id\n), strength_heroes AS (\n SELECT DISTINCT hp.hero_id\n FROM hero_powers AS hp\n JOIN superpower AS p ON p.id = hp.power_id\n WHERE p.power_name = 'Super Strength'\n)\nSELECT COUNT(*) AS power_count\nFROM superpower AS p\nWHERE EXISTS (\n SELECT 1\n FROM hero_powers AS hp\n JOIN strength_heroes AS sh ON sh.hero_id = hp.hero_id\n WHERE hp.power_id = p.id\n)\nAND NOT EXISTS (\n SELECT 1\n FROM hero_powers AS hp\n LEFT JOIN strength_heroes AS sh ON sh.hero_id = hp.hero_id\n WHERE hp.power_id = p.id AND sh.hero_id IS NULL\n);", "seconds": 15.728111208067276, "calls": [{"seconds": 2.7146113750059158, "usage": {"completion_tokens": 68, "prompt_tokens": 1676, "total_tokens": 1744, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1122, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1122, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1122, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.057545791962184, "usage": {"completion_tokens": 332, "prompt_tokens": 1890, "total_tokens": 2222, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 117, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 214, "cached_tokens": 1122, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 214, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 214, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.920433250023052, "usage": {"completion_tokens": 197, "prompt_tokens": 2438, "total_tokens": 2635, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 548, "cached_tokens": 1336, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 548, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 548, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "532da3478c79700a4100b35bf75652281653d961cf9f3ca786932917fd7f0dac", "csv_sha256": "83125621e2d192f7b59622ed3e39bf4f7e264fa3f6864249d5890bc630307222"} +{"instance_id": "bird345", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(s.weight_kg), 1) AS average_weight_kg\nFROM superhero AS s\nJOIN colour AS c ON c.id = s.skin_colour_id\nWHERE LOWER(c.colour) = 'green'\n AND s.weight_kg > 0;\n```", "rows": 1, "sql": "SELECT ROUND(AVG(s.weight_kg), 1) AS average_weight_kg\nFROM superhero AS s\nJOIN colour AS c ON c.id = s.skin_colour_id\nWHERE LOWER(c.colour) = 'green'\n AND s.weight_kg > 0;", "seconds": 16.30041087488644, "calls": [{"seconds": 2.177117457962595, "usage": {"completion_tokens": 51, "prompt_tokens": 1665, "total_tokens": 1716, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1111, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1111, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1111, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.7848102919524536, "usage": {"completion_tokens": 72, "prompt_tokens": 1834, "total_tokens": 1906, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 169, "cached_tokens": 1111, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 169, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 169, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.329417041037232, "usage": {"completion_tokens": 181, "prompt_tokens": 2067, "total_tokens": 2248, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 94, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 233, "cached_tokens": 1280, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 233, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 233, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.211442791041918, "usage": {"completion_tokens": 74, "prompt_tokens": 2408, "total_tokens": 2482, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 341, "cached_tokens": 1513, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 341, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 341, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.7762884999392554, "usage": {"completion_tokens": 64, "prompt_tokens": 2570, "total_tokens": 2634, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 162, "cached_tokens": 1854, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 162, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 162, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d90d1467210cf3525cc5a3ef92035e31017f5f469c5c059bc9a0ee596bf1bd45", "csv_sha256": "190d6238747d91c5b7807711e9c4a6c5f37872189abaffe8445722182b115b62"} +{"instance_id": "bird346", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS superhero_count\nFROM superhero AS s\nJOIN alignment AS a ON a.id = s.alignment_id\nWHERE a.alignment NOT IN ('Good', 'Bad');\n```", "rows": 1, "sql": "SELECT COUNT(*) AS superhero_count\nFROM superhero AS s\nJOIN alignment AS a ON a.id = s.alignment_id\nWHERE a.alignment NOT IN ('Good', 'Bad');", "seconds": 12.517100375029258, "calls": [{"seconds": 2.2959116250276566, "usage": {"completion_tokens": 51, "prompt_tokens": 1686, "total_tokens": 1737, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1132, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1132, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1132, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.6084789159940556, "usage": {"completion_tokens": 63, "prompt_tokens": 1855, "total_tokens": 1918, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 169, "cached_tokens": 1132, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 169, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 169, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.876428374904208, "usage": {"completion_tokens": 150, "prompt_tokens": 2026, "total_tokens": 2176, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 94, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 171, "cached_tokens": 1301, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 171, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 171, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.7200111669953912, "usage": {"completion_tokens": 45, "prompt_tokens": 2241, "total_tokens": 2286, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 215, "cached_tokens": 1472, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 215, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 215, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e73a81b67eacadc557a34c5da0e1a10e5be07b86004b8f878c2643afabe076c5", "csv_sha256": "a77fc7119853a0fd69b663fbd419753ce976912653c3b2150d2591d84f3ad95c"} +{"instance_id": "bird347", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH power_counts AS (\n SELECT sp.power_name, COUNT(DISTINCT h.id) AS hero_count\n FROM superhero AS h\n JOIN publisher AS p ON p.id = h.publisher_id\n JOIN hero_power AS hp ON hp.hero_id = h.id\n JOIN superpower AS sp ON sp.id = hp.power_id\n WHERE p.publisher_name = 'Marvel Comics'\n AND h.full_name IS NOT NULL\n AND TRIM(h.full_name) NOT IN ('', '-')\n GROUP BY sp.id, sp.power_name\n)\nSELECT power_name, hero_count\nFROM power_counts\nWHERE hero_count = (SELECT MAX(hero_count) FROM power_counts)\nORDER BY power_name;\n```", "rows": 1, "sql": "WITH power_counts AS (\n SELECT sp.power_name, COUNT(DISTINCT h.id) AS hero_count\n FROM superhero AS h\n JOIN publisher AS p ON p.id = h.publisher_id\n JOIN hero_power AS hp ON hp.hero_id = h.id\n JOIN superpower AS sp ON sp.id = hp.power_id\n WHERE p.publisher_name = 'Marvel Comics'\n AND h.full_name IS NOT NULL\n AND TRIM(h.full_name) NOT IN ('', '-')\n GROUP BY sp.id, sp.power_name\n)\nSELECT power_name, hero_count\nFROM power_counts\nWHERE hero_count = (SELECT MAX(hero_count) FROM power_counts)\nORDER BY power_name;", "seconds": 21.937923457939178, "calls": [{"seconds": 2.305319542065263, "usage": {"completion_tokens": 15, "prompt_tokens": 1683, "total_tokens": 1698, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1129, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1129, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1129, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.6964201669907197, "usage": {"completion_tokens": 83, "prompt_tokens": 1744, "total_tokens": 1827, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 61, "cached_tokens": 1129, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 61, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 61, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.408062999951653, "usage": {"completion_tokens": 18, "prompt_tokens": 1999, "total_tokens": 2017, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1190, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.335192250087857, "usage": {"completion_tokens": 200, "prompt_tokens": 2047, "total_tokens": 2247, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 35, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1445, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.329343207995407, "usage": {"completion_tokens": 215, "prompt_tokens": 2452, "total_tokens": 2667, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 48, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 405, "cached_tokens": 1493, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 405, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 405, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8402302499162033, "usage": {"completion_tokens": 151, "prompt_tokens": 2846, "total_tokens": 2997, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 394, "cached_tokens": 1898, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 394, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 394, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d6d1a0497368a777afcba8b70d40e08c6c275213cb9db2e1a010f4715eeb24d3", "csv_sha256": "906e6089ed5b29194f74233a678d5ca5a9bc0d63ad392cc3486d73c63149d762"} +{"instance_id": "bird348", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH intelligence_scores AS (\n SELECT ha.hero_id, ha.attribute_value\n FROM hero_attribute AS ha\n JOIN attribute AS a ON a.id = ha.attribute_id\n WHERE a.attribute_name = 'Intelligence'\n), abomination_scores AS (\n SELECT i.attribute_value\n FROM intelligence_scores AS i\n JOIN superhero AS s ON s.id = i.hero_id\n WHERE s.superhero_name = 'Abomination'\n)\nSELECT ROUND(AVG(s.weight_kg), 2) AS average_weight_kg\nFROM superhero AS s\nWHERE s.weight_kg > 0\n AND s.id IN (\n SELECT i.hero_id\n FROM intelligence_scores AS i\n WHERE i.attribute_value IN (SELECT attribute_value FROM abomination_scores)\n );\n```", "rows": 1, "sql": "WITH intelligence_scores AS (\n SELECT ha.hero_id, ha.attribute_value\n FROM hero_attribute AS ha\n JOIN attribute AS a ON a.id = ha.attribute_id\n WHERE a.attribute_name = 'Intelligence'\n), abomination_scores AS (\n SELECT i.attribute_value\n FROM intelligence_scores AS i\n JOIN superhero AS s ON s.id = i.hero_id\n WHERE s.superhero_name = 'Abomination'\n)\nSELECT ROUND(AVG(s.weight_kg), 2) AS average_weight_kg\nFROM superhero AS s\nWHERE s.weight_kg > 0\n AND s.id IN (\n SELECT i.hero_id\n FROM intelligence_scores AS i\n WHERE i.attribute_value IN (SELECT attribute_value FROM abomination_scores)\n );", "seconds": 16.711610749945976, "calls": [{"seconds": 3.084960083011538, "usage": {"completion_tokens": 67, "prompt_tokens": 1668, "total_tokens": 1735, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1114, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1114, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1114, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.509210916934535, "usage": {"completion_tokens": 93, "prompt_tokens": 1886, "total_tokens": 1979, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 35, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 218, "cached_tokens": 1114, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 218, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 218, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.5125251250574365, "usage": {"completion_tokens": 229, "prompt_tokens": 2055, "total_tokens": 2284, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 46, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 169, "cached_tokens": 1332, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 169, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 169, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.58592962496914, "usage": {"completion_tokens": 187, "prompt_tokens": 2472, "total_tokens": 2659, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 20, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 417, "cached_tokens": 1501, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 417, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 417, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "656b55528ad435e1a27122115bfb9a649f478e56611292b9288600766d594a6d", "csv_sha256": "f0f21c071f5353e060ef23d2b9df98fa6338ddef85f4735e89cb659f616c1eb1"} +{"instance_id": "bird349", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH qualified_heroes AS (\n SELECT h.id, h.gender_id\n FROM superhero AS h\n JOIN colour AS c ON c.id = h.hair_colour_id\n JOIN hero_power AS hp ON hp.hero_id = h.id\n WHERE LOWER(c.colour) = 'blue'\n GROUP BY h.id, h.gender_id\n HAVING COUNT(DISTINCT hp.power_id) >= 10\n)\nSELECT g.gender, COUNT(q.id) AS superhero_count\nFROM gender AS g\nLEFT JOIN qualified_heroes AS q ON q.gender_id = g.id\nWHERE LOWER(g.gender) IN ('male', 'female')\nGROUP BY g.gender\nORDER BY g.gender;\n```", "rows": 2, "sql": "WITH qualified_heroes AS (\n SELECT h.id, h.gender_id\n FROM superhero AS h\n JOIN colour AS c ON c.id = h.hair_colour_id\n JOIN hero_power AS hp ON hp.hero_id = h.id\n WHERE LOWER(c.colour) = 'blue'\n GROUP BY h.id, h.gender_id\n HAVING COUNT(DISTINCT hp.power_id) >= 10\n)\nSELECT g.gender, COUNT(q.id) AS superhero_count\nFROM gender AS g\nLEFT JOIN qualified_heroes AS q ON q.gender_id = g.id\nWHERE LOWER(g.gender) IN ('male', 'female')\nGROUP BY g.gender\nORDER BY g.gender;", "seconds": 14.488592999987304, "calls": [{"seconds": 3.115929500083439, "usage": {"completion_tokens": 98, "prompt_tokens": 1672, "total_tokens": 1770, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1118, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1118, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1118, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.598580209072679, "usage": {"completion_tokens": 315, "prompt_tokens": 1966, "total_tokens": 2281, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 150, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 294, "cached_tokens": 1118, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 294, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 294, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7562608330044895, "usage": {"completion_tokens": 149, "prompt_tokens": 2461, "total_tokens": 2610, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 495, "cached_tokens": 1412, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 495, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 495, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7839d033db465698dac8e206974d10d30fae81f3b3002795ffe41b83f38c8b18", "csv_sha256": "19c59d8c205908cc37e45d1604b53ebd4b53d420ffb191756ed517045ea532c5"} +{"instance_id": "bird350", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH hulk_strength AS (\n SELECT ha.attribute_value\n FROM superhero AS h\n JOIN hero_attribute AS ha ON ha.hero_id = h.id\n JOIN attribute AS a ON a.id = ha.attribute_id\n WHERE h.superhero_name = 'Hulk'\n AND a.attribute_name = 'Strength'\n)\nSELECT CAST(ROUND(AVG(s.weight_kg)) AS INTEGER) AS average_weight_kg\nFROM superhero AS s\nWHERE s.weight_kg > 0\n AND EXISTS (\n SELECT 1\n FROM hero_attribute AS ha\n JOIN attribute AS a ON a.id = ha.attribute_id\n WHERE ha.hero_id = s.id\n AND a.attribute_name = 'Strength'\n AND ha.attribute_value IN (SELECT attribute_value FROM hulk_strength)\n );\n```", "rows": 1, "sql": "WITH hulk_strength AS (\n SELECT ha.attribute_value\n FROM superhero AS h\n JOIN hero_attribute AS ha ON ha.hero_id = h.id\n JOIN attribute AS a ON a.id = ha.attribute_id\n WHERE h.superhero_name = 'Hulk'\n AND a.attribute_name = 'Strength'\n)\nSELECT CAST(ROUND(AVG(s.weight_kg)) AS INTEGER) AS average_weight_kg\nFROM superhero AS s\nWHERE s.weight_kg > 0\n AND EXISTS (\n SELECT 1\n FROM hero_attribute AS ha\n JOIN attribute AS a ON a.id = ha.attribute_id\n WHERE ha.hero_id = s.id\n AND a.attribute_name = 'Strength'\n AND ha.attribute_value IN (SELECT attribute_value FROM hulk_strength)\n );", "seconds": 28.20032587496098, "calls": [{"seconds": 2.70772795798257, "usage": {"completion_tokens": 67, "prompt_tokens": 1728, "total_tokens": 1795, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1174, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1174, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1174, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8583374590380117, "usage": {"completion_tokens": 81, "prompt_tokens": 1946, "total_tokens": 2027, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 26, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 218, "cached_tokens": 1174, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 218, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 218, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.503687874996103, "usage": {"completion_tokens": 310, "prompt_tokens": 2104, "total_tokens": 2414, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 120, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 158, "cached_tokens": 1392, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 158, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 158, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.645409333053976, "usage": {"completion_tokens": 276, "prompt_tokens": 2609, "total_tokens": 2885, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 121, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 505, "cached_tokens": 1550, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 505, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 505, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.34511479199864, "usage": {"completion_tokens": 249, "prompt_tokens": 3237, "total_tokens": 3486, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 75, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 628, "cached_tokens": 2055, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 628, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 628, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1e5e9b6a6e18971ac25f0f00267e19da301e75f3b14e2c8ba1f6ab74dfe89c65", "csv_sha256": "828117bf5c1b50a98b811b70091df2755621b5753c08f6d449b20d9a8381cc02"} +{"instance_id": "bird351", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH ranked_heroes AS (\n SELECT id, RANK() OVER (ORDER BY height_cm DESC) AS height_rank\n FROM superhero\n)\nSELECT COUNT(DISTINCT sp.power_name) AS distinct_superpower_count\nFROM ranked_heroes AS rh\nLEFT JOIN hero_power AS hp ON hp.hero_id = rh.id\nLEFT JOIN superpower AS sp ON sp.id = hp.power_id\nWHERE rh.height_rank <= 10;\n```", "rows": 1, "sql": "WITH ranked_heroes AS (\n SELECT id, RANK() OVER (ORDER BY height_cm DESC) AS height_rank\n FROM superhero\n)\nSELECT COUNT(DISTINCT sp.power_name) AS distinct_superpower_count\nFROM ranked_heroes AS rh\nLEFT JOIN hero_power AS hp ON hp.hero_id = rh.id\nLEFT JOIN superpower AS sp ON sp.id = hp.power_id\nWHERE rh.height_rank <= 10;", "seconds": 10.833910125074908, "calls": [{"seconds": 3.123604000080377, "usage": {"completion_tokens": 68, "prompt_tokens": 1717, "total_tokens": 1785, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1163, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1163, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1163, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.251332874991931, "usage": {"completion_tokens": 165, "prompt_tokens": 1931, "total_tokens": 2096, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 56, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 214, "cached_tokens": 1163, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 214, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 214, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.441946499980986, "usage": {"completion_tokens": 96, "prompt_tokens": 2213, "total_tokens": 2309, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 282, "cached_tokens": 1377, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 282, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 282, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ebc947e175dcd570cc4ebbc266161c6f8fdc88624db610f901e1d8f5970969aa", "csv_sha256": "b79a783a400bfe92aa672cf248a087c34295c89e89f5790a50444cce8f1c593e"} +{"instance_id": "bird352", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS character_count\nFROM superhero AS s\nLEFT JOIN race AS r ON r.id = s.race_id\nWHERE s.publisher_id IN (\n SELECT publisher_id\n FROM superhero\n WHERE superhero_name = 'A-Bomb'\n)\nAND (r.race IS NULL OR r.race = '-');\n```", "rows": 1, "sql": "SELECT COUNT(*) AS character_count\nFROM superhero AS s\nLEFT JOIN race AS r ON r.id = s.race_id\nWHERE s.publisher_id IN (\n SELECT publisher_id\n FROM superhero\n WHERE superhero_name = 'A-Bomb'\n)\nAND (r.race IS NULL OR r.race = '-');", "seconds": 16.985918499995023, "calls": [{"seconds": 2.5456030000932515, "usage": {"completion_tokens": 66, "prompt_tokens": 1667, "total_tokens": 1733, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1113, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1113, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1113, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.729217041051015, "usage": {"completion_tokens": 158, "prompt_tokens": 1877, "total_tokens": 2035, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 60, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 210, "cached_tokens": 1113, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 210, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 210, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.342498583020642, "usage": {"completion_tokens": 118, "prompt_tokens": 2259, "total_tokens": 2377, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 30, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 382, "cached_tokens": 1323, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 382, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 382, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.346279708086513, "usage": {"completion_tokens": 148, "prompt_tokens": 2470, "total_tokens": 2618, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 72, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 211, "cached_tokens": 1705, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 211, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 211, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "cc7ee4c890842c8a18b5d20046cc344ad839e291b6e5f89528a990693e2ca6e5", "csv_sha256": "596bc7b2d0a404872e9fce4b7f03adede9234157795a6cfe8b7f8bc19fa8e625"} +{"instance_id": "bird354", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH cryokinesis_holder_powers AS (\n SELECT DISTINCT hp.power_id\n FROM hero_power AS hp\n WHERE hp.hero_id IN (\n SELECT ch.hero_id\n FROM hero_power AS ch\n JOIN superpower AS sp ON sp.id = ch.power_id\n WHERE sp.power_name = 'Cryokinesis'\n )\n), matching_heroes AS (\n SELECT DISTINCT hp.hero_id\n FROM hero_power AS hp\n JOIN cryokinesis_holder_powers AS cp ON cp.power_id = hp.power_id\n), hero_power_counts AS (\n SELECT hp.hero_id, COUNT(DISTINCT hp.power_id) AS power_count\n FROM matching_heroes AS mh\n JOIN superhero AS h ON h.id = mh.hero_id\n JOIN hero_power AS hp ON hp.hero_id = h.id\n GROUP BY hp.hero_id\n)\nSELECT ROUND(AVG(power_count), 1) AS average_superpowers\nFROM hero_power_counts;\n```", "rows": 1, "sql": "WITH cryokinesis_holder_powers AS (\n SELECT DISTINCT hp.power_id\n FROM hero_power AS hp\n WHERE hp.hero_id IN (\n SELECT ch.hero_id\n FROM hero_power AS ch\n JOIN superpower AS sp ON sp.id = ch.power_id\n WHERE sp.power_name = 'Cryokinesis'\n )\n), matching_heroes AS (\n SELECT DISTINCT hp.hero_id\n FROM hero_power AS hp\n JOIN cryokinesis_holder_powers AS cp ON cp.power_id = hp.power_id\n), hero_power_counts AS (\n SELECT hp.hero_id, COUNT(DISTINCT hp.power_id) AS power_count\n FROM matching_heroes AS mh\n JOIN superhero AS h ON h.id = mh.hero_id\n JOIN hero_power AS hp ON hp.hero_id = h.id\n GROUP BY hp.hero_id\n)\nSELECT ROUND(AVG(power_count), 1) AS average_superpowers\nFROM hero_power_counts;", "seconds": 13.223358624964021, "calls": [{"seconds": 2.7998481249669567, "usage": {"completion_tokens": 68, "prompt_tokens": 1702, "total_tokens": 1770, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1148, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1148, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1148, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.012740875012241, "usage": {"completion_tokens": 272, "prompt_tokens": 1916, "total_tokens": 2188, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 49, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 214, "cached_tokens": 1148, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 214, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 214, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.391038459027186, "usage": {"completion_tokens": 204, "prompt_tokens": 2414, "total_tokens": 2618, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 498, "cached_tokens": 1362, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 498, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 498, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1b515713f5287d01bf3a7f240f642100aaa5022c98799204f8d8956462c26b99", "csv_sha256": "ce74df5e4004d78f837b5ecdcb1612ac35a572b5d0b147955cb5f809b3e0634e"} +{"instance_id": "bird355", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT CAST(ROUND(AVG(dc.weight_kg)) AS INTEGER) AS average_weight_kg\nFROM superhero AS dc\nJOIN publisher AS dp ON dp.id = dc.publisher_id\nWHERE dp.publisher_name = 'DC Comics'\n AND dc.weight_kg IS NOT NULL\n AND EXISTS (\n SELECT 1\n FROM superhero AS marvel\n JOIN publisher AS mp ON mp.id = marvel.publisher_id\n WHERE mp.publisher_name = 'Marvel Comics'\n AND marvel.eye_colour_id = dc.eye_colour_id\n );\n```", "rows": 1, "sql": "SELECT CAST(ROUND(AVG(dc.weight_kg)) AS INTEGER) AS average_weight_kg\nFROM superhero AS dc\nJOIN publisher AS dp ON dp.id = dc.publisher_id\nWHERE dp.publisher_name = 'DC Comics'\n AND dc.weight_kg IS NOT NULL\n AND EXISTS (\n SELECT 1\n FROM superhero AS marvel\n JOIN publisher AS mp ON mp.id = marvel.publisher_id\n WHERE mp.publisher_name = 'Marvel Comics'\n AND marvel.eye_colour_id = dc.eye_colour_id\n );", "seconds": 25.167347500100732, "calls": [{"seconds": 2.671120959101245, "usage": {"completion_tokens": 66, "prompt_tokens": 1670, "total_tokens": 1736, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1116, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1116, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1116, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.287005249992944, "usage": {"completion_tokens": 205, "prompt_tokens": 1880, "total_tokens": 2085, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 74, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 210, "cached_tokens": 1116, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 210, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 210, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.111354500055313, "usage": {"completion_tokens": 18, "prompt_tokens": 2284, "total_tokens": 2302, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 404, "cached_tokens": 1326, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 404, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 404, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.277142332983203, "usage": {"completion_tokens": 425, "prompt_tokens": 2332, "total_tokens": 2757, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 295, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1730, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.8050171250943094, "usage": {"completion_tokens": 153, "prompt_tokens": 2894, "total_tokens": 3047, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 35, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 562, "cached_tokens": 1778, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 562, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 562, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "93b9692459ea09424557906bdbb8eacf7fe45730b6d0c487373d100e1fc461ee", "csv_sha256": "d310dd9c2601f4733a00e796b5c889103e64f354a9d15d271a3ef9fa8bbd07e9"} +{"instance_id": "bird356", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(s.height_cm), 1) AS average_height_cm\nFROM superhero AS s\nWHERE s.race_id IN (\n SELECT race_id\n FROM superhero\n WHERE superhero_name = 'A-Bomb'\n)\nAND s.height_cm > 0;\n```", "rows": 1, "sql": "SELECT ROUND(AVG(s.height_cm), 1) AS average_height_cm\nFROM superhero AS s\nWHERE s.race_id IN (\n SELECT race_id\n FROM superhero\n WHERE superhero_name = 'A-Bomb'\n)\nAND s.height_cm > 0;", "seconds": 29.429014875087887, "calls": [{"seconds": 2.6242267910856754, "usage": {"completion_tokens": 51, "prompt_tokens": 1703, "total_tokens": 1754, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1149, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1149, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1149, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.5806549170520157, "usage": {"completion_tokens": 37, "prompt_tokens": 1872, "total_tokens": 1909, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 169, "cached_tokens": 1149, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 169, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 169, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.7876537500414997, "usage": {"completion_tokens": 56, "prompt_tokens": 1975, "total_tokens": 2031, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 103, "cached_tokens": 1318, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 103, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 103, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.922576333046891, "usage": {"completion_tokens": 249, "prompt_tokens": 2240, "total_tokens": 2489, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 171, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 265, "cached_tokens": 1421, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 265, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 265, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.200967791955918, "usage": {"completion_tokens": 177, "prompt_tokens": 2575, "total_tokens": 2752, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 85, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 335, "cached_tokens": 1686, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 335, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 335, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.29205412499141, "usage": {"completion_tokens": 281, "prompt_tokens": 3000, "total_tokens": 3281, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 215, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 425, "cached_tokens": 2021, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 425, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 425, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2ee266eb464af7d21d94c991138b85b42e9ebe9af8ee1bcae3d7783a2716c552", "csv_sha256": "4753fee020acba0a759add2389261be2b619e8630d270b20ac1d183b2077d885"} +{"instance_id": "bird357", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT AVG(h.weight_kg) AS average_weight_kg\nFROM superhero AS h\nJOIN race AS r ON r.id = h.race_id\nWHERE h.weight_kg IS NOT NULL\n AND NOT EXISTS (\n SELECT 1\n FROM superhero AS f\n JOIN gender AS g ON g.id = f.gender_id\n WHERE f.race_id = r.id\n AND g.gender = 'Female'\n );\n```", "rows": 1, "sql": "SELECT AVG(h.weight_kg) AS average_weight_kg\nFROM superhero AS h\nJOIN race AS r ON r.id = h.race_id\nWHERE h.weight_kg IS NOT NULL\n AND NOT EXISTS (\n SELECT 1\n FROM superhero AS f\n JOIN gender AS g ON g.id = f.gender_id\n WHERE f.race_id = r.id\n AND g.gender = 'Female'\n );", "seconds": 18.760552124935202, "calls": [{"seconds": 2.756744333077222, "usage": {"completion_tokens": 66, "prompt_tokens": 1658, "total_tokens": 1724, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1104, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1104, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1104, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.053276999969967, "usage": {"completion_tokens": 214, "prompt_tokens": 1867, "total_tokens": 2081, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 60, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 209, "cached_tokens": 1104, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 209, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 209, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.566858166013844, "usage": {"completion_tokens": 271, "prompt_tokens": 2288, "total_tokens": 2559, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 161, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 421, "cached_tokens": 1313, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 421, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 421, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.355318750021979, "usage": {"completion_tokens": 97, "prompt_tokens": 2680, "total_tokens": 2777, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 392, "cached_tokens": 1734, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 392, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 392, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "376608751b78f3f8c9a8b46e63e8e1aa6319f55abe843a1c496f2ea9bd2965dd", "csv_sha256": "d56cb2ee3f5565a0b80f94a17895439d0f43f59e3eb7389674c62402bb9ed594"} +{"instance_id": "bird358", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "failed", "answer": "❓ Awaiting user: Should I count every named publisher in the database, including individuals like George Lucas and J. R. R. Tolkien, or only publishing companies? If only companies, should Microsoft count?", "error_type": "ValueError", "seconds": 29.41266287502367, "calls": [{"seconds": 2.324015291989781, "usage": {"completion_tokens": 51, "prompt_tokens": 1699, "total_tokens": 1750, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1145, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1145, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1145, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.641616874956526, "usage": {"completion_tokens": 277, "prompt_tokens": 1869, "total_tokens": 2146, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 219, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 170, "cached_tokens": 1145, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 170, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 170, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.614040291984566, "usage": {"completion_tokens": 309, "prompt_tokens": 2257, "total_tokens": 2566, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 231, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 388, "cached_tokens": 1315, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 388, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 388, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.8189662920776755, "usage": {"completion_tokens": 273, "prompt_tokens": 2649, "total_tokens": 2922, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 217, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 392, "cached_tokens": 1703, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 392, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 392, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f0de6fcb8615cf98ea07416c5fde185189bdddefe38933332d2de75c273f406a"} +{"instance_id": "bird359", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS total_count\nFROM superhero AS s\nJOIN alignment AS a ON a.id = s.alignment_id\nJOIN publisher AS p ON p.id = s.publisher_id\nWHERE a.alignment = 'Good'\n AND p.publisher_name <> 'DC Comics';\n```", "rows": 1, "sql": "SELECT COUNT(*) AS total_count\nFROM superhero AS s\nJOIN alignment AS a ON a.id = s.alignment_id\nJOIN publisher AS p ON p.id = s.publisher_id\nWHERE a.alignment = 'Good'\n AND p.publisher_name <> 'DC Comics';", "seconds": 9.972227458958514, "calls": [{"seconds": 2.4891659170389175, "usage": {"completion_tokens": 66, "prompt_tokens": 1663, "total_tokens": 1729, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1109, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1109, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1109, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.729886166984215, "usage": {"completion_tokens": 193, "prompt_tokens": 1873, "total_tokens": 2066, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 118, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 210, "cached_tokens": 1109, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 210, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 210, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.7421249580802396, "usage": {"completion_tokens": 63, "prompt_tokens": 2148, "total_tokens": 2211, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 275, "cached_tokens": 1319, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 275, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 275, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1d7d3e7b24fd4b8e104bba67f5c47a57f08a787fe4ee31f1bbe1000197cd3caf", "csv_sha256": "57da75e149485f9f07e4de873c1475da0e44c39d4fa666d3f585bf4a9cfbb96f"} +{"instance_id": "bird360", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(s.weight_kg), 1) AS average_weight_kg,\n COUNT(s.weight_kg) AS superhero_count\nFROM superhero AS s\nJOIN publisher AS p ON p.id = s.publisher_id\nWHERE p.publisher_name = 'DC Comics';\n```", "rows": 1, "sql": "SELECT ROUND(AVG(s.weight_kg), 1) AS average_weight_kg,\n COUNT(s.weight_kg) AS superhero_count\nFROM superhero AS s\nJOIN publisher AS p ON p.id = s.publisher_id\nWHERE p.publisher_name = 'DC Comics';", "seconds": 22.726108709000982, "calls": [{"seconds": 2.346525750006549, "usage": {"completion_tokens": 51, "prompt_tokens": 1681, "total_tokens": 1732, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1127, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1127, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1127, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.010586709016934, "usage": {"completion_tokens": 18, "prompt_tokens": 1851, "total_tokens": 1869, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 170, "cached_tokens": 1127, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 170, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 170, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.885240833973512, "usage": {"completion_tokens": 326, "prompt_tokens": 1899, "total_tokens": 2225, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 200, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1297, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.7884052080335096, "usage": {"completion_tokens": 191, "prompt_tokens": 2385, "total_tokens": 2576, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 116, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 486, "cached_tokens": 1345, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 486, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 486, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.6780707080615684, "usage": {"completion_tokens": 63, "prompt_tokens": 2670, "total_tokens": 2733, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 285, "cached_tokens": 1831, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 285, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 285, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "81c2d64407a1e6c7c2b5e316b5066ea68c9b390b07f1dd64d7686d4423fa366d", "csv_sha256": "13e7199a37ae2764e6d9c56597da3a711bdcb65fc2b7587559ebe879c248157e"} +{"instance_id": "bird361", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS hero_count\nFROM superhero AS h\nWHERE h.publisher_id IN (\n SELECT b.publisher_id\n FROM superhero AS b\n WHERE b.superhero_name = 'Blackwulf'\n)\nAND EXISTS (\n SELECT 1\n FROM superhero AS other\n JOIN publisher AS p ON p.id = other.publisher_id\n WHERE other.publisher_id <> h.publisher_id\n AND NULLIF(TRIM(p.publisher_name), '') IS NOT NULL\n AND other.eye_colour_id = h.eye_colour_id\n);\n```", "rows": 1, "sql": "SELECT COUNT(*) AS hero_count\nFROM superhero AS h\nWHERE h.publisher_id IN (\n SELECT b.publisher_id\n FROM superhero AS b\n WHERE b.superhero_name = 'Blackwulf'\n)\nAND EXISTS (\n SELECT 1\n FROM superhero AS other\n JOIN publisher AS p ON p.id = other.publisher_id\n WHERE other.publisher_id <> h.publisher_id\n AND NULLIF(TRIM(p.publisher_name), '') IS NOT NULL\n AND other.eye_colour_id = h.eye_colour_id\n);", "seconds": 15.990382500109263, "calls": [{"seconds": 2.447207957971841, "usage": {"completion_tokens": 66, "prompt_tokens": 1700, "total_tokens": 1766, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1146, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1146, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1146, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.5453022920992225, "usage": {"completion_tokens": 137, "prompt_tokens": 1910, "total_tokens": 2047, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 64, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 210, "cached_tokens": 1146, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 210, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 210, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.421743709011935, "usage": {"completion_tokens": 230, "prompt_tokens": 2539, "total_tokens": 2769, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 99, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 629, "cached_tokens": 1356, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 629, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 629, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5604839589213952, "usage": {"completion_tokens": 116, "prompt_tokens": 2904, "total_tokens": 3020, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 365, "cached_tokens": 1985, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 365, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 365, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1897ba9150963e87d7cad9750b61841185b83ec51c60dd281549f78868ecada4", "csv_sha256": "405e0c8fec20f4e38254a488078a071b4c60b481511d9f57af965cbf276e44b8"} +{"instance_id": "bird362", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH race_counts AS (\n SELECT r.race, COUNT(*) AS superhero_count\n FROM superhero AS s\n JOIN race AS r ON r.id = s.race_id\n WHERE s.publisher_id IN (\n SELECT publisher_id\n FROM superhero\n WHERE full_name = 'Charles Chandler'\n )\n AND TRIM(r.race) NOT IN ('', '-')\n GROUP BY r.race\n)\nSELECT race, superhero_count\nFROM race_counts\nWHERE superhero_count = (SELECT MAX(superhero_count) FROM race_counts)\nORDER BY race;\n```", "rows": 1, "sql": "WITH race_counts AS (\n SELECT r.race, COUNT(*) AS superhero_count\n FROM superhero AS s\n JOIN race AS r ON r.id = s.race_id\n WHERE s.publisher_id IN (\n SELECT publisher_id\n FROM superhero\n WHERE full_name = 'Charles Chandler'\n )\n AND TRIM(r.race) NOT IN ('', '-')\n GROUP BY r.race\n)\nSELECT race, superhero_count\nFROM race_counts\nWHERE superhero_count = (SELECT MAX(superhero_count) FROM race_counts)\nORDER BY race;", "seconds": 19.984075207961723, "calls": [{"seconds": 2.975687916041352, "usage": {"completion_tokens": 66, "prompt_tokens": 1702, "total_tokens": 1768, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1148, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1148, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1148, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.3519481249386445, "usage": {"completion_tokens": 108, "prompt_tokens": 1912, "total_tokens": 2020, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 44, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 210, "cached_tokens": 1148, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 210, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 210, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.640874375007115, "usage": {"completion_tokens": 185, "prompt_tokens": 2096, "total_tokens": 2281, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 43, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 184, "cached_tokens": 1358, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 184, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 184, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.997288417071104, "usage": {"completion_tokens": 123, "prompt_tokens": 2430, "total_tokens": 2553, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 334, "cached_tokens": 1542, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 334, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 334, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "21d83c92241edeacbb3b38421a489144a794d8224b37954c5a3f8b7b8b246326", "csv_sha256": "124712c5ec63767c562c7c4813133ab6c3a63d8b9d69123a11c1d976c0f15f87"} +{"instance_id": "bird363", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(s.weight_kg), 2) AS average_weight_kg\nFROM superhero AS s\nJOIN gender AS g ON g.id = s.gender_id\nWHERE g.gender = 'Female'\n AND s.weight_kg IS NOT NULL;\n```", "rows": 1, "sql": "SELECT ROUND(AVG(s.weight_kg), 2) AS average_weight_kg\nFROM superhero AS s\nJOIN gender AS g ON g.id = s.gender_id\nWHERE g.gender = 'Female'\n AND s.weight_kg IS NOT NULL;", "seconds": 16.89536133292131, "calls": [{"seconds": 2.5675248749321327, "usage": {"completion_tokens": 51, "prompt_tokens": 1648, "total_tokens": 1699, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1094, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1094, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1094, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.5765429579187185, "usage": {"completion_tokens": 60, "prompt_tokens": 1817, "total_tokens": 1877, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 169, "cached_tokens": 1094, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 169, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 169, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2935341249685735, "usage": {"completion_tokens": 66, "prompt_tokens": 1965, "total_tokens": 2031, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 46, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 148, "cached_tokens": 1263, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 148, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 148, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.589430541964248, "usage": {"completion_tokens": 177, "prompt_tokens": 2061, "total_tokens": 2238, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 105, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 96, "cached_tokens": 1411, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 96, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 96, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.850336041999981, "usage": {"completion_tokens": 60, "prompt_tokens": 2321, "total_tokens": 2381, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 260, "cached_tokens": 1507, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 260, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 260, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f56a004bbaf072fbc9ad91f59bad84c4f043387774d95948471e0128b279b743", "csv_sha256": "1e64065d989f4254264e0f217355550cdce16125bc7fd2689d96a4b65099796b"} +{"instance_id": "bird364", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(ha.attribute_value), 1) AS average_intelligence\nFROM superhero AS h\nJOIN hero_attribute AS ha ON ha.hero_id = h.id\nJOIN attribute AS a ON a.id = ha.attribute_id\nWHERE LOWER(a.attribute_name) = 'intelligence'\n AND ha.attribute_value IS NOT NULL\n AND EXISTS (\n SELECT 1\n FROM hero_power AS hp\n JOIN superpower AS sp ON sp.id = hp.power_id\n WHERE hp.hero_id = h.id\n AND LOWER(sp.power_name) IN ('super speed', 'death touch')\n );\n```", "rows": 1, "sql": "SELECT ROUND(AVG(ha.attribute_value), 1) AS average_intelligence\nFROM superhero AS h\nJOIN hero_attribute AS ha ON ha.hero_id = h.id\nJOIN attribute AS a ON a.id = ha.attribute_id\nWHERE LOWER(a.attribute_name) = 'intelligence'\n AND ha.attribute_value IS NOT NULL\n AND EXISTS (\n SELECT 1\n FROM hero_power AS hp\n JOIN superpower AS sp ON sp.id = hp.power_id\n WHERE hp.hero_id = h.id\n AND LOWER(sp.power_name) IN ('super speed', 'death touch')\n );", "seconds": 12.94828595907893, "calls": [{"seconds": 3.1288833329454064, "usage": {"completion_tokens": 99, "prompt_tokens": 1695, "total_tokens": 1794, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1141, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1141, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1141, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.569320832961239, "usage": {"completion_tokens": 219, "prompt_tokens": 1998, "total_tokens": 2217, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 72, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 303, "cached_tokens": 1141, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 303, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 303, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7896987920394167, "usage": {"completion_tokens": 132, "prompt_tokens": 2371, "total_tokens": 2503, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 373, "cached_tokens": 1444, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 373, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 373, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "12e395549aa15c56cbffcbbeb0bab0f704b0c4b5b751d3adede15b1bb088ecda", "csv_sha256": "ebf8d2ab726dcfd99bc96f7196ca01799bc3af38a35c41fe4f62af648bf056ea"} +{"instance_id": "bird365", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH power_counts AS (\n SELECT hero_id, COUNT(DISTINCT power_id) AS power_count\n FROM hero_power\n GROUP BY hero_id\n)\nSELECT g.gender,\n ROUND(AVG(COALESCE(p.power_count, 0)), 2) AS average_superpowers\nFROM superhero AS h\nJOIN gender AS g ON g.id = h.gender_id\nLEFT JOIN power_counts AS p ON p.hero_id = h.id\nWHERE g.gender IN ('Male', 'Female')\n AND INSTR(TRIM(h.full_name), ' ') > 0\nGROUP BY g.gender;\n```", "rows": 2, "sql": "WITH power_counts AS (\n SELECT hero_id, COUNT(DISTINCT power_id) AS power_count\n FROM hero_power\n GROUP BY hero_id\n)\nSELECT g.gender,\n ROUND(AVG(COALESCE(p.power_count, 0)), 2) AS average_superpowers\nFROM superhero AS h\nJOIN gender AS g ON g.id = h.gender_id\nLEFT JOIN power_counts AS p ON p.hero_id = h.id\nWHERE g.gender IN ('Male', 'Female')\n AND INSTR(TRIM(h.full_name), ' ') > 0\nGROUP BY g.gender;", "seconds": 77.54696149996016, "calls": [{"seconds": 2.8353475419571623, "usage": {"completion_tokens": 83, "prompt_tokens": 1724, "total_tokens": 1807, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1170, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1170, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1170, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0348518749233335, "usage": {"completion_tokens": 67, "prompt_tokens": 1978, "total_tokens": 2045, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 254, "cached_tokens": 1170, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 254, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 254, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.0539582499768585, "usage": {"completion_tokens": 114, "prompt_tokens": 2501, "total_tokens": 2615, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 523, "cached_tokens": 1424, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 523, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 523, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.742004874977283, "usage": {"completion_tokens": 307, "prompt_tokens": 3004, "total_tokens": 3311, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 19, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 503, "cached_tokens": 1947, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 503, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 503, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.270866332924925, "usage": {"completion_tokens": 357, "prompt_tokens": 4307, "total_tokens": 4664, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 72, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1303, "cached_tokens": 2450, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1303, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1303, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.763359416043386, "usage": {"completion_tokens": 162, "prompt_tokens": 8464, "total_tokens": 8626, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 20, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 4157, "cached_tokens": 3753, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 4157, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 4157, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 26.973484374932013, "usage": {"completion_tokens": 1079, "prompt_tokens": 8815, "total_tokens": 9894, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 937, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 351, "cached_tokens": 7910, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 351, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 351, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 16.35048154206015, "usage": {"completion_tokens": 682, "prompt_tokens": 10204, "total_tokens": 10886, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 536, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1389, "cached_tokens": 8261, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1389, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1389, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.47900974994991, "usage": {"completion_tokens": 165, "prompt_tokens": 11052, "total_tokens": 11217, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 33, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 848, "cached_tokens": 9650, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 848, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 848, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "04d508e9055ce36eb33a3f0ac424cc81a18f708d209be7ead1bfc70abd1cccdf", "csv_sha256": "216200869ae8758c94a2967bc50ef8a42e21bdf2ae3435d74d3dedff314caa68"} +{"instance_id": "bird366", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(NULLIF(s.height_cm, 0)), 2) AS average_height_cm,\n ROUND(AVG(NULLIF(s.weight_kg, 0)), 2) AS average_weight_kg\nFROM superhero AS s\nJOIN alignment AS a ON a.id = s.alignment_id\nJOIN colour AS c ON c.id = s.skin_colour_id\nWHERE a.alignment = 'Bad' COLLATE NOCASE\n AND c.colour = 'Green' COLLATE NOCASE;\n```", "rows": 1, "sql": "SELECT ROUND(AVG(NULLIF(s.height_cm, 0)), 2) AS average_height_cm,\n ROUND(AVG(NULLIF(s.weight_kg, 0)), 2) AS average_weight_kg\nFROM superhero AS s\nJOIN alignment AS a ON a.id = s.alignment_id\nJOIN colour AS c ON c.id = s.skin_colour_id\nWHERE a.alignment = 'Bad' COLLATE NOCASE\n AND c.colour = 'Green' COLLATE NOCASE;", "seconds": 15.787176000070758, "calls": [{"seconds": 2.4945664999540895, "usage": {"completion_tokens": 66, "prompt_tokens": 1748, "total_tokens": 1814, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1194, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1194, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1194, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.633353165932931, "usage": {"completion_tokens": 162, "prompt_tokens": 1957, "total_tokens": 2119, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 57, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 209, "cached_tokens": 1194, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 209, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 209, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.254614834091626, "usage": {"completion_tokens": 188, "prompt_tokens": 2289, "total_tokens": 2477, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 67, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 332, "cached_tokens": 1403, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 332, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 332, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.387953166035004, "usage": {"completion_tokens": 110, "prompt_tokens": 2621, "total_tokens": 2731, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 332, "cached_tokens": 1735, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 332, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 332, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "c5fc20ba7bd5c2078015beeeeb73f96999e2c034f6cd5d01308649e7096cba7c", "csv_sha256": "5820263311ec88dc5929be3844fbe10e28f7edc724aa9d53edd3c4c5a50294dd"} +{"instance_id": "bird367", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n ROUND(AVG(CASE WHEN s.height_cm > 0 THEN s.height_cm END), 1) AS average_height_cm,\n ROUND(AVG(CASE WHEN s.weight_kg > 0 THEN s.weight_kg END), 1) AS average_weight_kg\nFROM superhero AS s\nJOIN publisher AS p ON p.id = s.publisher_id\nWHERE p.publisher_name = 'George Lucas';\n```", "rows": 1, "sql": "SELECT\n ROUND(AVG(CASE WHEN s.height_cm > 0 THEN s.height_cm END), 1) AS average_height_cm,\n ROUND(AVG(CASE WHEN s.weight_kg > 0 THEN s.weight_kg END), 1) AS average_weight_kg\nFROM superhero AS s\nJOIN publisher AS p ON p.id = s.publisher_id\nWHERE p.publisher_name = 'George Lucas';", "seconds": 14.604019041988067, "calls": [{"seconds": 2.904782791971229, "usage": {"completion_tokens": 65, "prompt_tokens": 1678, "total_tokens": 1743, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1124, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1124, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1124, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.829718666966073, "usage": {"completion_tokens": 70, "prompt_tokens": 1890, "total_tokens": 1960, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 212, "cached_tokens": 1124, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 212, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 212, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.229956083931029, "usage": {"completion_tokens": 137, "prompt_tokens": 2274, "total_tokens": 2411, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 32, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 384, "cached_tokens": 1336, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 384, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 384, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.623862833017483, "usage": {"completion_tokens": 130, "prompt_tokens": 2538, "total_tokens": 2668, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 35, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 264, "cached_tokens": 1720, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 264, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 264, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "833c37f8aab1c75521638be42abfc5d90e4c6f5783426fe4bedaef4ba37ce4cb", "csv_sha256": "34436baaa78fb322f333dc26171796f13d61df80ceaf672a77c2c93e94c744b2"} +{"instance_id": "bird368", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(h.height_cm), 1) AS average_height_cm\nFROM superhero AS h\nWHERE h.height_cm > 0\n AND EXISTS (\n SELECT 1\n FROM hero_power AS hp\n JOIN hero_power AS target_hp ON target_hp.power_id = hp.power_id\n JOIN superhero AS target ON target.id = target_hp.hero_id\n WHERE hp.hero_id = h.id\n AND target.superhero_name = '3-D Man'\n AND h.id <> target.id\n );\n```", "rows": 1, "sql": "SELECT ROUND(AVG(h.height_cm), 1) AS average_height_cm\nFROM superhero AS h\nWHERE h.height_cm > 0\n AND EXISTS (\n SELECT 1\n FROM hero_power AS hp\n JOIN hero_power AS target_hp ON target_hp.power_id = hp.power_id\n JOIN superhero AS target ON target.id = target_hp.hero_id\n WHERE hp.hero_id = h.id\n AND target.superhero_name = '3-D Man'\n AND h.id <> target.id\n );", "seconds": 18.700405874988064, "calls": [{"seconds": 2.4411924169398844, "usage": {"completion_tokens": 68, "prompt_tokens": 1664, "total_tokens": 1732, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1110, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1110, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1110, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.0661899170372635, "usage": {"completion_tokens": 119, "prompt_tokens": 1878, "total_tokens": 1997, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 49, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 214, "cached_tokens": 1110, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 214, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 214, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.666150541044772, "usage": {"completion_tokens": 239, "prompt_tokens": 2175, "total_tokens": 2414, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 111, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 297, "cached_tokens": 1324, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 297, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 297, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.4276065829908475, "usage": {"completion_tokens": 177, "prompt_tokens": 2551, "total_tokens": 2728, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 60, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 376, "cached_tokens": 1621, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 376, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 376, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9ef1c21162f4801f173daf322c2192600d4df0a201b61343532bfd873842aa0c", "csv_sha256": "8777fd7effd0612ff1d4a91aaf5f1065ecefdaeaac404399515ee136a2a2244b"} +{"instance_id": "bird369", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT CAST(ROUND(AVG(s.weight_kg)) AS INTEGER) AS average_weight_kg\nFROM superhero AS s\nJOIN alignment AS a ON a.id = s.alignment_id\nJOIN colour AS c ON c.id = s.skin_colour_id\nWHERE a.alignment = 'Bad' COLLATE NOCASE\n AND c.colour = 'Green' COLLATE NOCASE\n AND s.weight_kg > 0\n AND EXISTS (\n SELECT 1\n FROM hero_power AS hp\n JOIN superpower AS p ON p.id = hp.power_id\n WHERE hp.hero_id = s.id\n AND p.power_name = 'Flight' COLLATE NOCASE\n )\n```", "rows": 1, "sql": "SELECT CAST(ROUND(AVG(s.weight_kg)) AS INTEGER) AS average_weight_kg\nFROM superhero AS s\nJOIN alignment AS a ON a.id = s.alignment_id\nJOIN colour AS c ON c.id = s.skin_colour_id\nWHERE a.alignment = 'Bad' COLLATE NOCASE\n AND c.colour = 'Green' COLLATE NOCASE\n AND s.weight_kg > 0\n AND EXISTS (\n SELECT 1\n FROM hero_power AS hp\n JOIN superpower AS p ON p.id = hp.power_id\n WHERE hp.hero_id = s.id\n AND p.power_name = 'Flight' COLLATE NOCASE\n )", "seconds": 18.843893166049384, "calls": [{"seconds": 3.330362083041109, "usage": {"completion_tokens": 112, "prompt_tokens": 1699, "total_tokens": 1811, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1145, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1145, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1145, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.179858583025634, "usage": {"completion_tokens": 186, "prompt_tokens": 2035, "total_tokens": 2221, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 50, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 336, "cached_tokens": 1145, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 336, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 336, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.265071750036441, "usage": {"completion_tokens": 240, "prompt_tokens": 2384, "total_tokens": 2624, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 77, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 349, "cached_tokens": 1481, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 349, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 349, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9185092919506133, "usage": {"completion_tokens": 151, "prompt_tokens": 2796, "total_tokens": 2947, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 412, "cached_tokens": 1830, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 412, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 412, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f563d290518dc72f52fca1d24928b9d0d30733c36f5eba0bae8fc8a2829e417b", "csv_sha256": "377da4ddb52200122f6b045733a2936319f8cf3488859ae9fa35ab1fe8919f96"} +{"instance_id": "bird370", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(h.weight_kg), 2) AS average_weight_kg\nFROM superhero AS h\nJOIN publisher AS p ON p.id = h.publisher_id\nWHERE p.publisher_name = 'George Lucas'\n AND h.weight_kg IS NOT NULL\n AND EXISTS (\n SELECT 1\n FROM hero_power AS hp\n JOIN superpower AS sp ON sp.id = hp.power_id\n WHERE hp.hero_id = h.id\n );\n```", "rows": 1, "sql": "SELECT ROUND(AVG(h.weight_kg), 2) AS average_weight_kg\nFROM superhero AS h\nJOIN publisher AS p ON p.id = h.publisher_id\nWHERE p.publisher_name = 'George Lucas'\n AND h.weight_kg IS NOT NULL\n AND EXISTS (\n SELECT 1\n FROM hero_power AS hp\n JOIN superpower AS sp ON sp.id = hp.power_id\n WHERE hp.hero_id = h.id\n );", "seconds": 9.368248124956153, "calls": [{"seconds": 2.620601583039388, "usage": {"completion_tokens": 83, "prompt_tokens": 1675, "total_tokens": 1758, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1121, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1121, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1121, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.416451375000179, "usage": {"completion_tokens": 114, "prompt_tokens": 1930, "total_tokens": 2044, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1121, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2568835410056636, "usage": {"completion_tokens": 103, "prompt_tokens": 2170, "total_tokens": 2273, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 240, "cached_tokens": 1376, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 240, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 240, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e9e3d03d1e44ab1bfc7a1ef5120110de09c9a49663e39bedc7a4a13fd872d53f", "csv_sha256": "b9e7cdf3b0baa4d5073078dca1bc6d65325ae85c89c4e4ac8b6fb0a1dab58157"} +{"instance_id": "bird371", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(s.weight_kg), 2) AS average_weight_kg\nFROM superhero AS s\nJOIN gender AS g ON g.id = s.gender_id\nJOIN alignment AS a ON a.id = s.alignment_id\nWHERE g.gender = 'Female'\n AND a.alignment = 'Good'\n AND s.weight_kg IS NOT NULL;\n```", "rows": 1, "sql": "SELECT ROUND(AVG(s.weight_kg), 2) AS average_weight_kg\nFROM superhero AS s\nJOIN gender AS g ON g.id = s.gender_id\nJOIN alignment AS a ON a.id = s.alignment_id\nWHERE g.gender = 'Female'\n AND a.alignment = 'Good'\n AND s.weight_kg IS NOT NULL;", "seconds": 19.207942457986064, "calls": [{"seconds": 2.6375823330599815, "usage": {"completion_tokens": 66, "prompt_tokens": 1675, "total_tokens": 1741, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1121, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1121, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1121, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.182536749984138, "usage": {"completion_tokens": 178, "prompt_tokens": 1884, "total_tokens": 2062, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 55, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 209, "cached_tokens": 1121, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 209, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 209, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.191124250064604, "usage": {"completion_tokens": 264, "prompt_tokens": 2358, "total_tokens": 2622, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 169, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 474, "cached_tokens": 1330, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 474, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 474, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1770384169649333, "usage": {"completion_tokens": 82, "prompt_tokens": 2727, "total_tokens": 2809, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 369, "cached_tokens": 1804, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 369, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 369, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "c1706f0463cc57e6ab442f4467371da385ec2a426fea04d2700a8a369506553d", "csv_sha256": "8e30bd461bb27236756fad41482f3deaebda86869acc53156df42adb41605e8f"} +{"instance_id": "bird372", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT p.id) AS superpower_count\nFROM superhero AS s\nJOIN gender AS g ON g.id = s.gender_id\nJOIN hero_power AS hp ON hp.hero_id = s.id\nJOIN superpower AS p ON p.id = hp.power_id\nWHERE g.gender = 'Male'\n AND s.weight_kg > 0\n AND s.weight_kg < 70;\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT p.id) AS superpower_count\nFROM superhero AS s\nJOIN gender AS g ON g.id = s.gender_id\nJOIN hero_power AS hp ON hp.hero_id = s.id\nJOIN superpower AS p ON p.id = hp.power_id\nWHERE g.gender = 'Male'\n AND s.weight_kg > 0\n AND s.weight_kg < 70;", "seconds": 38.714529582997784, "calls": [{"seconds": 2.670327208004892, "usage": {"completion_tokens": 83, "prompt_tokens": 1646, "total_tokens": 1729, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1092, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1092, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1092, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.159986624959856, "usage": {"completion_tokens": 168, "prompt_tokens": 1900, "total_tokens": 2068, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 81, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 254, "cached_tokens": 1092, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 254, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 254, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.431163416942582, "usage": {"completion_tokens": 310, "prompt_tokens": 2176, "total_tokens": 2486, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 193, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 276, "cached_tokens": 1346, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 276, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 276, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 14.593421208090149, "usage": {"completion_tokens": 608, "prompt_tokens": 3204, "total_tokens": 3812, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 505, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1028, "cached_tokens": 1622, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1028, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1028, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.835715582943521, "usage": {"completion_tokens": 282, "prompt_tokens": 3923, "total_tokens": 4205, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 189, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 719, "cached_tokens": 2650, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 719, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 719, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b111312ff21c0a4a0fa57e8a0c9f71e882dc44e3eec39347a58687ab2b0db825", "csv_sha256": "ac302db87cb989e125c9b9f5df6b7eb2bad93a832b6a3421556281b8e1ada91f"} +{"instance_id": "bird373", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT c.colour\nFROM superhero AS s\nJOIN race AS r ON r.id = s.race_id\nLEFT JOIN colour AS c ON c.id = s.hair_colour_id\nWHERE r.race = 'Human'\n AND s.height_cm > 0\nORDER BY s.height_cm, s.id\nLIMIT 1;\n```", "rows": 1, "sql": "SELECT c.colour\nFROM superhero AS s\nJOIN race AS r ON r.id = s.race_id\nLEFT JOIN colour AS c ON c.id = s.hair_colour_id\nWHERE r.race = 'Human'\n AND s.height_cm > 0\nORDER BY s.height_cm, s.id\nLIMIT 1;", "seconds": 15.346713625011034, "calls": [{"seconds": 2.261125707998872, "usage": {"completion_tokens": 20, "prompt_tokens": 1653, "total_tokens": 1673, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1099, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1099, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1099, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8659384170314297, "usage": {"completion_tokens": 50, "prompt_tokens": 1766, "total_tokens": 1816, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 113, "cached_tokens": 1099, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 113, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 113, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0738632089924067, "usage": {"completion_tokens": 64, "prompt_tokens": 1868, "total_tokens": 1932, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 102, "cached_tokens": 1212, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 102, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 102, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.988864624989219, "usage": {"completion_tokens": 133, "prompt_tokens": 2044, "total_tokens": 2177, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 45, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 176, "cached_tokens": 1314, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 176, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 176, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.132130749989301, "usage": {"completion_tokens": 76, "prompt_tokens": 2267, "total_tokens": 2343, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 223, "cached_tokens": 1490, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 223, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 223, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9ce18953a4d5995885d13d8e870d2b8f27ca74a4a5b7e1368aa3f47924e1270e", "csv_sha256": "c9dad7ebb2b1ed87c2cf163707cb4ea5910df4fd30c82c921c42a9b2917af164"} +{"instance_id": "bird374", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH lightest_weight AS (\n SELECT MIN(NULLIF(weight_kg, 0)) AS weight_kg\n FROM superhero\n), hero_power_counts AS (\n SELECT h.id, COUNT(DISTINCT p.power_name) AS power_count\n FROM superhero AS h\n JOIN lightest_weight AS w ON h.weight_kg = w.weight_kg\n LEFT JOIN hero_power AS hp ON hp.hero_id = h.id\n LEFT JOIN superpower AS p ON p.id = hp.power_id\n GROUP BY h.id\n)\nSELECT MAX(power_count) AS max_power_count\nFROM hero_power_counts;\n```", "rows": 1, "sql": "WITH lightest_weight AS (\n SELECT MIN(NULLIF(weight_kg, 0)) AS weight_kg\n FROM superhero\n), hero_power_counts AS (\n SELECT h.id, COUNT(DISTINCT p.power_name) AS power_count\n FROM superhero AS h\n JOIN lightest_weight AS w ON h.weight_kg = w.weight_kg\n LEFT JOIN hero_power AS hp ON hp.hero_id = h.id\n LEFT JOIN superpower AS p ON p.id = hp.power_id\n GROUP BY h.id\n)\nSELECT MAX(power_count) AS max_power_count\nFROM hero_power_counts;", "seconds": 35.12595129199326, "calls": [{"seconds": 2.4509618330048397, "usage": {"completion_tokens": 68, "prompt_tokens": 1680, "total_tokens": 1748, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1126, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1126, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1126, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.547234834055416, "usage": {"completion_tokens": 107, "prompt_tokens": 1894, "total_tokens": 2001, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 63, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 214, "cached_tokens": 1126, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 214, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 214, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.680572040961124, "usage": {"completion_tokens": 192, "prompt_tokens": 2113, "total_tokens": 2305, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 148, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 219, "cached_tokens": 1340, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 219, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 219, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.040677124983631, "usage": {"completion_tokens": 195, "prompt_tokens": 2557, "total_tokens": 2752, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 114, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 444, "cached_tokens": 1559, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 444, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 444, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8574952910421416, "usage": {"completion_tokens": 63, "prompt_tokens": 2875, "total_tokens": 2938, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 19, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 318, "cached_tokens": 2003, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 318, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 318, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.811241666902788, "usage": {"completion_tokens": 238, "prompt_tokens": 3145, "total_tokens": 3383, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 90, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 270, "cached_tokens": 2321, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 270, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 270, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6666945409961045, "usage": {"completion_tokens": 134, "prompt_tokens": 3537, "total_tokens": 3671, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 392, "cached_tokens": 2591, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 392, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 392, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "46d7be3297bfcb4f0bdf5cd35f594b0d9a518a329530799a9755990145a5cb81", "csv_sha256": "efb91dc80d8b0e7df325714e4cb04347502394f5b60b067eeab5d04baf9c2eb0"} +{"instance_id": "bird375", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS hero_count\nFROM superhero AS s\nJOIN alignment AS a ON a.id = s.alignment_id\nWHERE a.alignment = 'Neutral'\n AND TRIM(s.full_name) NOT IN ('', '-');\n```", "rows": 1, "sql": "SELECT COUNT(*) AS hero_count\nFROM superhero AS s\nJOIN alignment AS a ON a.id = s.alignment_id\nWHERE a.alignment = 'Neutral'\n AND TRIM(s.full_name) NOT IN ('', '-');", "seconds": 15.663231124985032, "calls": [{"seconds": 2.520408209064044, "usage": {"completion_tokens": 51, "prompt_tokens": 1657, "total_tokens": 1708, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1103, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1103, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1103, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.723292874987237, "usage": {"completion_tokens": 122, "prompt_tokens": 1826, "total_tokens": 1948, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 169, "cached_tokens": 1103, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 169, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 169, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4381417500553653, "usage": {"completion_tokens": 95, "prompt_tokens": 2139, "total_tokens": 2234, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 41, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 313, "cached_tokens": 1272, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 313, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 313, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1449546669609845, "usage": {"completion_tokens": 65, "prompt_tokens": 2373, "total_tokens": 2438, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 234, "cached_tokens": 1585, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 234, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 234, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8168761249398813, "usage": {"completion_tokens": 55, "prompt_tokens": 2512, "total_tokens": 2567, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 139, "cached_tokens": 1819, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 139, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 139, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5c4c3e0b5d2ecd0ebc60750a55c4e363f2941d339ba0cc9c7477bd6718f33fe0", "csv_sha256": "1c82b92589f1782314f8813f492e4846b2f69f1dd6482e161b1412441ce432d1"} +{"instance_id": "bird376", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH speed AS (\n SELECT ha.hero_id, ha.attribute_value\n FROM hero_attribute AS ha\n JOIN attribute AS a ON a.id = ha.attribute_id\n WHERE a.attribute_name = 'Speed'\n)\nSELECT s.superhero_name, s.full_name\nFROM superhero AS s\nWHERE TRIM(s.full_name) NOT IN ('', '-')\n AND EXISTS (\n SELECT 1\n FROM speed AS sp\n WHERE sp.hero_id = s.id\n AND sp.attribute_value = (SELECT MAX(attribute_value) FROM speed)\n )\nORDER BY s.superhero_name, s.full_name;\n```", "rows": 29, "sql": "WITH speed AS (\n SELECT ha.hero_id, ha.attribute_value\n FROM hero_attribute AS ha\n JOIN attribute AS a ON a.id = ha.attribute_id\n WHERE a.attribute_name = 'Speed'\n)\nSELECT s.superhero_name, s.full_name\nFROM superhero AS s\nWHERE TRIM(s.full_name) NOT IN ('', '-')\n AND EXISTS (\n SELECT 1\n FROM speed AS sp\n WHERE sp.hero_id = s.id\n AND sp.attribute_value = (SELECT MAX(attribute_value) FROM speed)\n )\nORDER BY s.superhero_name, s.full_name;", "seconds": 17.50471337500494, "calls": [{"seconds": 2.3445379169424996, "usage": {"completion_tokens": 67, "prompt_tokens": 1678, "total_tokens": 1745, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1124, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1124, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1124, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.8849262919975445, "usage": {"completion_tokens": 170, "prompt_tokens": 1896, "total_tokens": 2066, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 36, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 218, "cached_tokens": 1124, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 218, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 218, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.468952541006729, "usage": {"completion_tokens": 245, "prompt_tokens": 2508, "total_tokens": 2753, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 94, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 612, "cached_tokens": 1342, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 612, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 612, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6895193749805912, "usage": {"completion_tokens": 132, "prompt_tokens": 3160, "total_tokens": 3292, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 652, "cached_tokens": 1954, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 652, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 652, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "96a33317b514fc7013a3a132c8f8accaae1eada0bf333fb63caf596f24d6ddf7", "csv_sha256": "68b1237168271407dd31344d3e4078046b7e4d251e6061f023a61101814931dd"} +{"instance_id": "bird377", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT eye.colour AS eye_colour,\n COUNT(CASE WHEN hair.colour <> 'Brown' THEN 1 END) AS hero_count\nFROM superhero AS h\nJOIN colour AS eye ON eye.id = h.eye_colour_id\nLEFT JOIN colour AS hair ON hair.id = h.hair_colour_id\nGROUP BY eye.colour\nHAVING COUNT(CASE WHEN hair.colour = 'Brown' THEN 1 END) > 0\nORDER BY hero_count DESC, eye_colour ASC;\n```", "rows": 12, "sql": "SELECT eye.colour AS eye_colour,\n COUNT(CASE WHEN hair.colour <> 'Brown' THEN 1 END) AS hero_count\nFROM superhero AS h\nJOIN colour AS eye ON eye.id = h.eye_colour_id\nLEFT JOIN colour AS hair ON hair.id = h.hair_colour_id\nGROUP BY eye.colour\nHAVING COUNT(CASE WHEN hair.colour = 'Brown' THEN 1 END) > 0\nORDER BY hero_count DESC, eye_colour ASC;", "seconds": 11.146633750060573, "calls": [{"seconds": 2.407167832949199, "usage": {"completion_tokens": 51, "prompt_tokens": 1701, "total_tokens": 1752, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1147, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1147, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1147, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.9091088330606, "usage": {"completion_tokens": 172, "prompt_tokens": 1870, "total_tokens": 2042, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 52, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 169, "cached_tokens": 1147, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 169, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 169, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.815723165986128, "usage": {"completion_tokens": 108, "prompt_tokens": 2236, "total_tokens": 2344, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 366, "cached_tokens": 1316, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 366, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 366, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "c13367f180112f10b12fc69c08d9a0a36dc3abf099c22de0e3a7fe3c3b808b11", "csv_sha256": "dcc22a03e9c65d17dfddcff0207392055470b5552cbd24a74f25251e191e9c43"} +{"instance_id": "bird378", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(100.0 * COUNT(CASE WHEN a.alignment = 'Good' THEN 1 END) / COUNT(*), 2) AS good_percentage\nFROM superhero AS s\nJOIN publisher AS p ON p.id = s.publisher_id\nLEFT JOIN alignment AS a ON a.id = s.alignment_id\nWHERE p.publisher_name = 'Marvel Comics'\n AND INSTR(TRIM(s.full_name), ' ') > 0\n AND TRIM(s.full_name) NOT IN ('Howard (Last name unrevealed)', 'Weapon XI');\n```", "rows": 1, "sql": "SELECT ROUND(100.0 * COUNT(CASE WHEN a.alignment = 'Good' THEN 1 END) / COUNT(*), 2) AS good_percentage\nFROM superhero AS s\nJOIN publisher AS p ON p.id = s.publisher_id\nLEFT JOIN alignment AS a ON a.id = s.alignment_id\nWHERE p.publisher_name = 'Marvel Comics'\n AND INSTR(TRIM(s.full_name), ' ') > 0\n AND TRIM(s.full_name) NOT IN ('Howard (Last name unrevealed)', 'Weapon XI');", "seconds": 62.03098766703624, "calls": [{"seconds": 2.7657436250010505, "usage": {"completion_tokens": 66, "prompt_tokens": 1731, "total_tokens": 1797, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1177, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1177, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1177, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.400876959087327, "usage": {"completion_tokens": 106, "prompt_tokens": 1941, "total_tokens": 2047, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 21, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 210, "cached_tokens": 1177, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 210, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 210, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7687353750225157, "usage": {"completion_tokens": 90, "prompt_tokens": 2518, "total_tokens": 2608, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 577, "cached_tokens": 1387, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 577, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 577, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.912933749961667, "usage": {"completion_tokens": 265, "prompt_tokens": 2732, "total_tokens": 2997, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 214, "cached_tokens": 1964, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 214, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 214, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.511554874945432, "usage": {"completion_tokens": 325, "prompt_tokens": 3989, "total_tokens": 4314, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 36, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1257, "cached_tokens": 2178, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1257, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1257, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 13.75946174992714, "usage": {"completion_tokens": 558, "prompt_tokens": 6488, "total_tokens": 7046, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 419, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 2499, "cached_tokens": 3435, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 2499, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 2499, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.956178875057958, "usage": {"completion_tokens": 243, "prompt_tokens": 7292, "total_tokens": 7535, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 117, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 804, "cached_tokens": 5934, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 804, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 804, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 13.732853541034274, "usage": {"completion_tokens": 509, "prompt_tokens": 7723, "total_tokens": 8232, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 376, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 431, "cached_tokens": 6738, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 431, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 431, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.183057041023858, "usage": {"completion_tokens": 142, "prompt_tokens": 8374, "total_tokens": 8516, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 19, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 651, "cached_tokens": 7169, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 651, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 651, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "86b42abb4efeded1892a3b5d5e9961f023017bb97d13f306adedb015324b4188", "csv_sha256": "e51668ad5925ac0d3a0a9d0439610a8a660407decf70f4b61f9e4f05f46b5a7b"} +{"instance_id": "bird380", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(h.weight_kg), 2) AS average_weight_kg\nFROM superhero AS h\nWHERE h.weight_kg > 0\n AND EXISTS (\n SELECT 1\n FROM superhero AS target\n JOIN hero_power AS tp ON tp.hero_id = target.id\n JOIN hero_power AS hp ON hp.power_id = tp.power_id\n WHERE target.superhero_name = '3-D Man'\n AND hp.hero_id = h.id\n AND h.id <> target.id\n );\n```", "rows": 1, "sql": "SELECT ROUND(AVG(h.weight_kg), 2) AS average_weight_kg\nFROM superhero AS h\nWHERE h.weight_kg > 0\n AND EXISTS (\n SELECT 1\n FROM superhero AS target\n JOIN hero_power AS tp ON tp.hero_id = target.id\n JOIN hero_power AS hp ON hp.power_id = tp.power_id\n WHERE target.superhero_name = '3-D Man'\n AND hp.hero_id = h.id\n AND h.id <> target.id\n );", "seconds": 25.616855500033125, "calls": [{"seconds": 2.716974582988769, "usage": {"completion_tokens": 68, "prompt_tokens": 1669, "total_tokens": 1737, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1115, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1115, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1115, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.942251875065267, "usage": {"completion_tokens": 127, "prompt_tokens": 1883, "total_tokens": 2010, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 25, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 214, "cached_tokens": 1115, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 214, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 214, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.4955507080303505, "usage": {"completion_tokens": 160, "prompt_tokens": 2159, "total_tokens": 2319, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 110, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 276, "cached_tokens": 1329, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 276, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 276, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.4990862080594525, "usage": {"completion_tokens": 245, "prompt_tokens": 2608, "total_tokens": 2853, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 117, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 449, "cached_tokens": 1605, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 449, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 449, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.856184583040886, "usage": {"completion_tokens": 182, "prompt_tokens": 2992, "total_tokens": 3174, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 65, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 384, "cached_tokens": 2054, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 384, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 384, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "abb1c04e9f5a91b429c53ab295b2a85151b58ac1adb25cf3b52e063a48ef1c5e", "csv_sha256": "e2f6df79a893661f432f3adb310b39115fc338d5a0fbece7c5d6b1d6233acd64"} +{"instance_id": "bird381", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(CASE WHEN c.colour = 'No Colour' THEN 1 END)\n - COUNT(CASE WHEN c.colour = 'Blue' THEN 1 END) AS eye_count_difference\nFROM superhero AS s\nJOIN colour AS c ON c.id = s.eye_colour_id\nWHERE s.weight_kg IS NULL;\n```", "rows": 1, "sql": "SELECT COUNT(CASE WHEN c.colour = 'No Colour' THEN 1 END)\n - COUNT(CASE WHEN c.colour = 'Blue' THEN 1 END) AS eye_count_difference\nFROM superhero AS s\nJOIN colour AS c ON c.id = s.eye_colour_id\nWHERE s.weight_kg IS NULL;", "seconds": 13.807725957944058, "calls": [{"seconds": 2.455399249913171, "usage": {"completion_tokens": 51, "prompt_tokens": 1698, "total_tokens": 1749, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1144, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1144, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1144, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.022209040937014, "usage": {"completion_tokens": 89, "prompt_tokens": 1867, "total_tokens": 1956, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 169, "cached_tokens": 1144, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 169, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 169, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.0143843330442905, "usage": {"completion_tokens": 163, "prompt_tokens": 2208, "total_tokens": 2371, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 76, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 341, "cached_tokens": 1313, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 341, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 341, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.300455917022191, "usage": {"completion_tokens": 75, "prompt_tokens": 2466, "total_tokens": 2541, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 258, "cached_tokens": 1654, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 258, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 258, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6e7d69a707d96e7039e2eb5df963e3f5837b258f8fe47d0eb7bb3cb408e856e9", "csv_sha256": "87f57255f3ef410057717d5c3953c2ea6808098fb56725f671a84f1e5b89b93a"} +{"instance_id": "bird382", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n 1.0 * COUNT(DISTINCT CASE WHEN p.SEX = 'M' AND l.UA > 8.0 THEN p.ID END)\n / NULLIF(COUNT(DISTINCT CASE WHEN p.SEX = 'F' AND l.UA > 6.5 THEN p.ID END), 0)\n AS male_to_female_ratio\nFROM Patient AS p\nJOIN Laboratory AS l ON l.ID = p.ID;\n```", "rows": 1, "sql": "SELECT\n 1.0 * COUNT(DISTINCT CASE WHEN p.SEX = 'M' AND l.UA > 8.0 THEN p.ID END)\n / NULLIF(COUNT(DISTINCT CASE WHEN p.SEX = 'F' AND l.UA > 6.5 THEN p.ID END), 0)\n AS male_to_female_ratio\nFROM Patient AS p\nJOIN Laboratory AS l ON l.ID = p.ID;", "seconds": 12.973463083966635, "calls": [{"seconds": 2.8732603329699486, "usage": {"completion_tokens": 51, "prompt_tokens": 1645, "total_tokens": 1696, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1107, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1107, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1107, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.6279919580556452, "usage": {"completion_tokens": 42, "prompt_tokens": 2019, "total_tokens": 2061, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1107, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.080178332980722, "usage": {"completion_tokens": 134, "prompt_tokens": 2146, "total_tokens": 2280, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 19, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 127, "cached_tokens": 1481, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 127, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 127, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.354806958930567, "usage": {"completion_tokens": 102, "prompt_tokens": 2406, "total_tokens": 2508, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 260, "cached_tokens": 1608, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 260, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 260, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6f05397bad01ecf9f826290fa746970762ee188b19d36ab2d21e1ca0b6ba9315", "csv_sha256": "a19518d4d45a46fcf94699840a0c44f20dc27638515767ee5d603231b6c5ea3f"} +{"instance_id": "bird383", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(l.ALB), 4) AS average_alb\nFROM Laboratory AS l\nJOIN Patient AS p ON p.ID = l.ID\nWHERE l.PLT > 400\n AND p.SEX = 'F'\n AND p.Diagnosis LIKE '%SLE%';\n```", "rows": 1, "sql": "SELECT ROUND(AVG(l.ALB), 4) AS average_alb\nFROM Laboratory AS l\nJOIN Patient AS p ON p.ID = l.ID\nWHERE l.PLT > 400\n AND p.SEX = 'F'\n AND p.Diagnosis LIKE '%SLE%';", "seconds": 17.66702895797789, "calls": [{"seconds": 2.200964041054249, "usage": {"completion_tokens": 51, "prompt_tokens": 1620, "total_tokens": 1671, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1082, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1082, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1082, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5603162499610335, "usage": {"completion_tokens": 89, "prompt_tokens": 1994, "total_tokens": 2083, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 37, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1082, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.461955707985908, "usage": {"completion_tokens": 129, "prompt_tokens": 2649, "total_tokens": 2778, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 51, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 655, "cached_tokens": 1456, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 655, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 655, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.060603708028793, "usage": {"completion_tokens": 102, "prompt_tokens": 2878, "total_tokens": 2980, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 21, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 229, "cached_tokens": 2111, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 229, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 229, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.359015207970515, "usage": {"completion_tokens": 69, "prompt_tokens": 3070, "total_tokens": 3139, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 192, "cached_tokens": 2340, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 192, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 192, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "28ab51a7a1f712aa145c6905a28e1bf7961e181cbf2028f73c3f5733dd9caee0", "csv_sha256": "8f90369883648d71cd249918a0a25fe35fa0b7d44d58215efef4aad3a9fb6b64"} +{"instance_id": "bird384", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nJOIN Laboratory AS l ON l.ID = p.ID\nWHERE l.TG >= 200\n AND date(p.Birthday) <= date('2026-10-09', '-51 years');\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nJOIN Laboratory AS l ON l.ID = p.ID\nWHERE l.TG >= 200\n AND date(p.Birthday) <= date('2026-10-09', '-51 years');", "seconds": 14.108738458016887, "calls": [{"seconds": 2.607292291941121, "usage": {"completion_tokens": 67, "prompt_tokens": 1614, "total_tokens": 1681, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1076, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1076, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1076, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.893448375049047, "usage": {"completion_tokens": 259, "prompt_tokens": 2099, "total_tokens": 2358, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 183, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1076, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.583752332953736, "usage": {"completion_tokens": 88, "prompt_tokens": 2442, "total_tokens": 2530, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 21, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 343, "cached_tokens": 1561, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 343, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 343, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a0d6f6d87618734cdd52ce83c00ed1bebc3d6fd7cac68a916c206dee730cd576", "csv_sha256": "a14d6911e0f7aab0e31dddc4f5371185e748de650539d0d4360bdaf77f5d244e"} +{"instance_id": "bird385", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT p.ID AS patient_id,\n p.SEX AS sex,\n CAST(strftime('%Y', '2026-10-09') AS INTEGER)\n - CAST(strftime('%Y', p.Birthday) AS INTEGER)\n - (strftime('%m-%d', p.Birthday) > strftime('%m-%d', '2026-10-09')) AS completed_age\nFROM Patient AS p\nWHERE EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.GLU >= 180\n AND l.\"T-CHO\" < 250\n)\nORDER BY p.ID;\n```", "rows": 13, "sql": "SELECT p.ID AS patient_id,\n p.SEX AS sex,\n CAST(strftime('%Y', '2026-10-09') AS INTEGER)\n - CAST(strftime('%Y', p.Birthday) AS INTEGER)\n - (strftime('%m-%d', p.Birthday) > strftime('%m-%d', '2026-10-09')) AS completed_age\nFROM Patient AS p\nWHERE EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.GLU >= 180\n AND l.\"T-CHO\" < 250\n)\nORDER BY p.ID;", "seconds": 16.177215124946088, "calls": [{"seconds": 2.6678957919357345, "usage": {"completion_tokens": 65, "prompt_tokens": 1624, "total_tokens": 1689, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1086, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1086, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1086, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.22718970803544, "usage": {"completion_tokens": 365, "prompt_tokens": 2040, "total_tokens": 2405, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 202, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 416, "cached_tokens": 1086, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 416, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 416, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.262111500022002, "usage": {"completion_tokens": 160, "prompt_tokens": 2616, "total_tokens": 2776, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 16, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 576, "cached_tokens": 1502, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 576, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 576, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9de48a44e3f8bca6aa5ecaa125c76a17c3e8810cf9b1d3c0c839fa36dfe5e6df", "csv_sha256": "8ec50394ae492d68c29a83da7b7dbc46b7eacfc9b91aeda2958c2e97765deae2"} +{"instance_id": "bird386", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH qualifying_patients AS (\n SELECT ID\n FROM Laboratory\n WHERE HCT >= 52\n GROUP BY ID\n HAVING COUNT(*) >= 2\n)\nSELECT p.ID,\n CAST(strftime('%Y', '2026-10-09') AS INTEGER)\n - CAST(strftime('%Y', p.Birthday) AS INTEGER)\n - (strftime('%m-%d', p.Birthday) > '10-09') AS age\nFROM Patient AS p\nJOIN qualifying_patients AS q ON q.ID = p.ID\nORDER BY p.ID;\n```", "rows": 3, "sql": "WITH qualifying_patients AS (\n SELECT ID\n FROM Laboratory\n WHERE HCT >= 52\n GROUP BY ID\n HAVING COUNT(*) >= 2\n)\nSELECT p.ID,\n CAST(strftime('%Y', '2026-10-09') AS INTEGER)\n - CAST(strftime('%Y', p.Birthday) AS INTEGER)\n - (strftime('%m-%d', p.Birthday) > '10-09') AS age\nFROM Patient AS p\nJOIN qualifying_patients AS q ON q.ID = p.ID\nORDER BY p.ID;", "seconds": 10.824339666985907, "calls": [{"seconds": 2.5416771250311285, "usage": {"completion_tokens": 51, "prompt_tokens": 1618, "total_tokens": 1669, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1080, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1080, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1080, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.337895457982086, "usage": {"completion_tokens": 178, "prompt_tokens": 1992, "total_tokens": 2170, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 35, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1080, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9281699580606073, "usage": {"completion_tokens": 127, "prompt_tokens": 2338, "total_tokens": 2465, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 346, "cached_tokens": 1454, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 346, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 346, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e408d9350be3a6b65077b41532ae53c2a22fb2a0565a655814a6544a0a736461", "csv_sha256": "0cc4a06bfff51665908dd7c574754c25d9a2e67c77528933a426fcdf9b8806e7"} +{"instance_id": "bird387", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(\n 100.0 * COUNT(DISTINCT CASE WHEN p.SEX = 'F' THEN p.ID END)\n / NULLIF(COUNT(DISTINCT p.ID), 0),\n 2\n) AS female_percentage\nFROM Patient AS p\nWHERE DATE(p.Birthday) <= DATE('2026-10-09', '-56 years')\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.PT >= 14\n );\n```", "rows": 1, "sql": "SELECT ROUND(\n 100.0 * COUNT(DISTINCT CASE WHEN p.SEX = 'F' THEN p.ID END)\n / NULLIF(COUNT(DISTINCT p.ID), 0),\n 2\n) AS female_percentage\nFROM Patient AS p\nWHERE DATE(p.Birthday) <= DATE('2026-10-09', '-56 years')\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.PT >= 14\n );", "seconds": 13.518228500033729, "calls": [{"seconds": 2.509102417039685, "usage": {"completion_tokens": 51, "prompt_tokens": 1636, "total_tokens": 1687, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1098, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1098, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1098, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.568822957924567, "usage": {"completion_tokens": 264, "prompt_tokens": 2010, "total_tokens": 2274, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 128, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1098, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.422472749953158, "usage": {"completion_tokens": 118, "prompt_tokens": 2413, "total_tokens": 2531, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 403, "cached_tokens": 1472, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 403, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 403, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "21ccf2aa36ec2ce40f818330b319d44e80ffaef4f069fa843497ac197b37df2a", "csv_sha256": "e4a838d1ee7bd8d78e421f0ea30218d12febb91dc1ec1ff6f8d951bfb031aa6b"} +{"instance_id": "bird388", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE p.Description IS NULL\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.CRP LIKE '%+%'\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE p.Description IS NULL\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.CRP LIKE '%+%'\n );", "seconds": 8.605565749923699, "calls": [{"seconds": 2.3141057500615716, "usage": {"completion_tokens": 51, "prompt_tokens": 1618, "total_tokens": 1669, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1080, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1080, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1080, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4637114169308916, "usage": {"completion_tokens": 77, "prompt_tokens": 1992, "total_tokens": 2069, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1080, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.809544458054006, "usage": {"completion_tokens": 65, "prompt_tokens": 2153, "total_tokens": 2218, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 161, "cached_tokens": 1454, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 161, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 161, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "4739363e2b292030c466027e8c4aa40955e39d400a4cea4995b38fdfcdd76925", "csv_sha256": "4fc3fb54f34c8664f6e08d1ca86b3b8857752d698b641554f9301c9bd1d365ed"} +{"instance_id": "bird390", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(\n 100.0 * COUNT(DISTINCT CASE WHEN p.Admission = '+' THEN p.ID END)\n / NULLIF(COUNT(DISTINCT p.ID), 0),\n 2\n) AS inpatient_percentage\nFROM Patient AS p\nWHERE p.Birthday >= '1930-01-01'\n AND p.Birthday < '1941-01-01'\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n );\n```", "rows": 1, "sql": "SELECT ROUND(\n 100.0 * COUNT(DISTINCT CASE WHEN p.Admission = '+' THEN p.ID END)\n / NULLIF(COUNT(DISTINCT p.ID), 0),\n 2\n) AS inpatient_percentage\nFROM Patient AS p\nWHERE p.Birthday >= '1930-01-01'\n AND p.Birthday < '1941-01-01'\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n );", "seconds": 15.187767541967332, "calls": [{"seconds": 2.278246875037439, "usage": {"completion_tokens": 51, "prompt_tokens": 1655, "total_tokens": 1706, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1117, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1117, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1117, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.797306999913417, "usage": {"completion_tokens": 48, "prompt_tokens": 2029, "total_tokens": 2077, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1117, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.865361125092022, "usage": {"completion_tokens": 207, "prompt_tokens": 2233, "total_tokens": 2440, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 75, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 204, "cached_tokens": 1491, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 204, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 204, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.22878683404997, "usage": {"completion_tokens": 129, "prompt_tokens": 2576, "total_tokens": 2705, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 13, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 343, "cached_tokens": 1695, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 343, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 343, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a12cf49ee459df5a1499b00806004cdb7d9a6e6cab252ae5b10dd6904fdbe8b0", "csv_sha256": "06f4c0760aaaee38c357358edd7dbfb5e2a8a3406d91797ded64189206db1cfa"} +{"instance_id": "bird391", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH highest_rnp_tests AS (\n SELECT ID, Date, \"T-BIL\"\n FROM Laboratory\n WHERE CAST(NULLIF(RNP, 'negative') AS REAL) = (\n SELECT MAX(CAST(NULLIF(RNP, 'negative') AS REAL))\n FROM Laboratory\n )\n)\nSELECT l.\"T-BIL\" AS total_bilirubin,\n l.Date AS test_date,\n l.ID AS patient_id,\n p.SEX AS sex,\n p.Birthday AS birthday\nFROM highest_rnp_tests AS l\nLEFT JOIN Patient AS p ON p.ID = l.ID\nWHERE l.\"T-BIL\" = (SELECT MAX(\"T-BIL\") FROM highest_rnp_tests);\n```", "rows": 1, "sql": "WITH highest_rnp_tests AS (\n SELECT ID, Date, \"T-BIL\"\n FROM Laboratory\n WHERE CAST(NULLIF(RNP, 'negative') AS REAL) = (\n SELECT MAX(CAST(NULLIF(RNP, 'negative') AS REAL))\n FROM Laboratory\n )\n)\nSELECT l.\"T-BIL\" AS total_bilirubin,\n l.Date AS test_date,\n l.ID AS patient_id,\n p.SEX AS sex,\n p.Birthday AS birthday\nFROM highest_rnp_tests AS l\nLEFT JOIN Patient AS p ON p.ID = l.ID\nWHERE l.\"T-BIL\" = (SELECT MAX(\"T-BIL\") FROM highest_rnp_tests);", "seconds": 20.628459624946117, "calls": [{"seconds": 2.6249794169561937, "usage": {"completion_tokens": 67, "prompt_tokens": 1701, "total_tokens": 1768, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1163, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1163, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1163, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.7773246250580996, "usage": {"completion_tokens": 47, "prompt_tokens": 2186, "total_tokens": 2233, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1163, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8444048339733854, "usage": {"completion_tokens": 36, "prompt_tokens": 2334, "total_tokens": 2370, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 148, "cached_tokens": 1648, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 148, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 148, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.170594250084832, "usage": {"completion_tokens": 327, "prompt_tokens": 2428, "total_tokens": 2755, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 152, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 94, "cached_tokens": 1796, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 94, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 94, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.180547416093759, "usage": {"completion_tokens": 152, "prompt_tokens": 2971, "total_tokens": 3123, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 543, "cached_tokens": 1890, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 543, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 543, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e9eadfc9855031a7a38967d39f47e1230a6b3bd3e04ba3e977cc9161a0c16452", "csv_sha256": "70b6d95a69aefa910e2c1d0910ae55e94ae8acfc2e7b91cfa8a6899d2b061edd"} +{"instance_id": "bird392", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT p.ID)\nFROM Patient AS p\nWHERE DATE(p.Birthday) > '1960-01-01'\n AND NOT EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND CAST(l.RNP AS REAL) > 10\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT p.ID)\nFROM Patient AS p\nWHERE DATE(p.Birthday) > '1960-01-01'\n AND NOT EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND CAST(l.RNP AS REAL) > 10\n );", "seconds": 17.126266833976842, "calls": [{"seconds": 2.489981958991848, "usage": {"completion_tokens": 51, "prompt_tokens": 1765, "total_tokens": 1816, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1227, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1227, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1227, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.378854874987155, "usage": {"completion_tokens": 20, "prompt_tokens": 2139, "total_tokens": 2159, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1227, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.827904792036861, "usage": {"completion_tokens": 314, "prompt_tokens": 2256, "total_tokens": 2570, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 225, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 117, "cached_tokens": 1601, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 117, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 117, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4078716669464484, "usage": {"completion_tokens": 75, "prompt_tokens": 2668, "total_tokens": 2743, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 412, "cached_tokens": 1718, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 412, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 412, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0d9bc5eeb38b2ceccb9a55c3143a06aad538b6e1808a73c6b32559f78faea970", "csv_sha256": "1c8b33781bb7164cdc855cdc24dc2015a15bbde0759a44f68ece11920f7ed2c9"} +{"instance_id": "bird393", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH patient_titers AS (\n SELECT l.ID AS patient_id,\n MAX(CAST(l.RNP AS INTEGER)) AS anti_rnp_titer\n FROM Laboratory AS l\n WHERE LOWER(TRIM(l.RNP)) <> 'negative'\n AND EXISTS (\n SELECT 1\n FROM Patient AS p\n WHERE p.ID = l.ID AND p.Admission = '-'\n )\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS s\n WHERE s.ID = l.ID\n AND LOWER(TRIM(s.SSA)) NOT IN ('negative', '0')\n )\n GROUP BY l.ID\n)\nSELECT patient_id, anti_rnp_titer\nFROM patient_titers\nWHERE anti_rnp_titer = (SELECT MAX(anti_rnp_titer) FROM patient_titers)\nORDER BY patient_id;\n```", "rows": 1, "sql": "WITH patient_titers AS (\n SELECT l.ID AS patient_id,\n MAX(CAST(l.RNP AS INTEGER)) AS anti_rnp_titer\n FROM Laboratory AS l\n WHERE LOWER(TRIM(l.RNP)) <> 'negative'\n AND EXISTS (\n SELECT 1\n FROM Patient AS p\n WHERE p.ID = l.ID AND p.Admission = '-'\n )\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS s\n WHERE s.ID = l.ID\n AND LOWER(TRIM(s.SSA)) NOT IN ('negative', '0')\n )\n GROUP BY l.ID\n)\nSELECT patient_id, anti_rnp_titer\nFROM patient_titers\nWHERE anti_rnp_titer = (SELECT MAX(anti_rnp_titer) FROM patient_titers)\nORDER BY patient_id;", "seconds": 17.653110458981246, "calls": [{"seconds": 2.706858459045179, "usage": {"completion_tokens": 67, "prompt_tokens": 1716, "total_tokens": 1783, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1178, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1178, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1178, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.100818291073665, "usage": {"completion_tokens": 75, "prompt_tokens": 2201, "total_tokens": 2276, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1178, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.598343041958287, "usage": {"completion_tokens": 271, "prompt_tokens": 2534, "total_tokens": 2805, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 66, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 333, "cached_tokens": 1663, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 333, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 333, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.217951750033535, "usage": {"completion_tokens": 180, "prompt_tokens": 3017, "total_tokens": 3197, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 483, "cached_tokens": 1996, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 483, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 483, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "03b3ec026080783407319ee41e77fb2dbf2003d313f93299b2703f03b4fe8d37", "csv_sha256": "202ecff8559525d91a81ae0bf3ba944e74a7a9e95306bd5d845e2fae5721b3d7"} +{"instance_id": "bird394", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE TRIM(p.Diagnosis) = 'MCTD'\n AND NOT EXISTS (\n SELECT 1\n FROM Examination AS e\n WHERE e.ID = p.ID\n AND TRIM(e.Diagnosis) NOT IN ('', 'MCTD')\n )\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.PLT BETWEEN 100 AND 400\n )\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND CAST(l.RNP AS REAL) > 5\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE TRIM(p.Diagnosis) = 'MCTD'\n AND NOT EXISTS (\n SELECT 1\n FROM Examination AS e\n WHERE e.ID = p.ID\n AND TRIM(e.Diagnosis) NOT IN ('', 'MCTD')\n )\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.PLT BETWEEN 100 AND 400\n )\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND CAST(l.RNP AS REAL) > 5\n );", "seconds": 32.42000591696706, "calls": [{"seconds": 2.4243054169928655, "usage": {"completion_tokens": 67, "prompt_tokens": 1700, "total_tokens": 1767, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1162, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1162, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1162, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.333852750016376, "usage": {"completion_tokens": 190, "prompt_tokens": 2185, "total_tokens": 2375, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 46, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1162, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.595708291977644, "usage": {"completion_tokens": 100, "prompt_tokens": 2975, "total_tokens": 3075, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 790, "cached_tokens": 1647, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 790, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 790, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.0343127499800175, "usage": {"completion_tokens": 258, "prompt_tokens": 3228, "total_tokens": 3486, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 47, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 253, "cached_tokens": 2437, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 253, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 253, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.152447249973193, "usage": {"completion_tokens": 172, "prompt_tokens": 3733, "total_tokens": 3905, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 63, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 505, "cached_tokens": 2690, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 505, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 505, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.679423458059318, "usage": {"completion_tokens": 177, "prompt_tokens": 4073, "total_tokens": 4250, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 340, "cached_tokens": 3195, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 340, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 340, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.1720175839727744, "usage": {"completion_tokens": 158, "prompt_tokens": 4427, "total_tokens": 4585, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 354, "cached_tokens": 3535, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 354, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 354, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "16d1291673e35032ba09dcd0d7609113a818aef9a3436ea0594a7db9f8e383bd", "csv_sha256": "4968f6e0168988a3898d77453dc4ea49511bce7fc185bfda7038dae7e0821dfe"} +{"instance_id": "bird395", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH patient_lab_dates AS (\n SELECT p.ID, p.SEX, COUNT(DISTINCT l.\"Date\") AS lab_date_count\n FROM Patient AS p\n LEFT JOIN Laboratory AS l ON l.ID = p.ID\n WHERE p.SEX IN ('F', 'M')\n AND NOT EXISTS (\n SELECT 1\n FROM Examination AS e\n WHERE e.ID = p.ID\n )\n GROUP BY p.ID, p.SEX\n)\nSELECT SEX, ROUND(AVG(lab_date_count), 2) AS avg_lab_test_dates\nFROM patient_lab_dates\nGROUP BY SEX\nORDER BY SEX;\n```", "rows": 2, "sql": "WITH patient_lab_dates AS (\n SELECT p.ID, p.SEX, COUNT(DISTINCT l.\"Date\") AS lab_date_count\n FROM Patient AS p\n LEFT JOIN Laboratory AS l ON l.ID = p.ID\n WHERE p.SEX IN ('F', 'M')\n AND NOT EXISTS (\n SELECT 1\n FROM Examination AS e\n WHERE e.ID = p.ID\n )\n GROUP BY p.ID, p.SEX\n)\nSELECT SEX, ROUND(AVG(lab_date_count), 2) AS avg_lab_test_dates\nFROM patient_lab_dates\nGROUP BY SEX\nORDER BY SEX;", "seconds": 13.979771208018064, "calls": [{"seconds": 2.51906683400739, "usage": {"completion_tokens": 67, "prompt_tokens": 1712, "total_tokens": 1779, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1174, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1174, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1174, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.719060583040118, "usage": {"completion_tokens": 323, "prompt_tokens": 2197, "total_tokens": 2520, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 168, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1174, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7209822919685394, "usage": {"completion_tokens": 137, "prompt_tokens": 2694, "total_tokens": 2831, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 497, "cached_tokens": 1659, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 497, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 497, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "277b14fcbd83055220ba5aabae910c3fe5eb16cbb0fc29a9ed317abfa345e8d6", "csv_sha256": "51460cae25ea5b848bdf749c9f86a4353cdc7617037ceb01b0338ad9021a3abe"} +{"instance_id": "bird396", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH eligible_tests AS (\n SELECT l.ID, l.\"Date\", l.DNA, CAST(l.DNA AS REAL) AS dna_level\n FROM Laboratory AS l\n WHERE l.DNA IS NOT NULL\n AND EXISTS (\n SELECT 1\n FROM Patient AS p\n WHERE p.ID = l.ID\n AND p.SEX = 'F'\n AND p.Admission = '+'\n )\n)\nSELECT ID, \"Date\", DNA\nFROM eligible_tests\nWHERE dna_level = (SELECT MAX(dna_level) FROM eligible_tests)\nORDER BY ID;\n```", "rows": 1, "sql": "WITH eligible_tests AS (\n SELECT l.ID, l.\"Date\", l.DNA, CAST(l.DNA AS REAL) AS dna_level\n FROM Laboratory AS l\n WHERE l.DNA IS NOT NULL\n AND EXISTS (\n SELECT 1\n FROM Patient AS p\n WHERE p.ID = l.ID\n AND p.SEX = 'F'\n AND p.Admission = '+'\n )\n)\nSELECT ID, \"Date\", DNA\nFROM eligible_tests\nWHERE dna_level = (SELECT MAX(dna_level) FROM eligible_tests)\nORDER BY ID;", "seconds": 26.550101791042835, "calls": [{"seconds": 2.736786999972537, "usage": {"completion_tokens": 51, "prompt_tokens": 1707, "total_tokens": 1758, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1169, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1169, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1169, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.101331791025586, "usage": {"completion_tokens": 169, "prompt_tokens": 2081, "total_tokens": 2250, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 63, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1169, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9084339999826625, "usage": {"completion_tokens": 90, "prompt_tokens": 2957, "total_tokens": 3047, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 40, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 876, "cached_tokens": 1543, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 876, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 876, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.072532834019512, "usage": {"completion_tokens": 66, "prompt_tokens": 3204, "total_tokens": 3270, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 12, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 247, "cached_tokens": 2419, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 247, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 247, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.505189083982259, "usage": {"completion_tokens": 234, "prompt_tokens": 3326, "total_tokens": 3560, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 89, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 122, "cached_tokens": 2666, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 122, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 122, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.195242583984509, "usage": {"completion_tokens": 144, "prompt_tokens": 3725, "total_tokens": 3869, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 16, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 399, "cached_tokens": 2788, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 399, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 399, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "848036aa77ab0c4e7320b2927abfdf9e249e57a03dfcce7b3953de202dcb0f9c", "csv_sha256": "7284d29bbbf653cf52867dc952b7cec154f017c7588cbf52c5e4fcac1e438949"} +{"instance_id": "bird397", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH care_settings(admission) AS (\n VALUES ('+'), ('-')\n), qualifying_patients AS (\n SELECT p.\"ID\", p.\"Admission\"\n FROM \"Patient\" AS p\n WHERE EXISTS (\n SELECT 1\n FROM \"Laboratory\" AS l\n WHERE l.\"ID\" = p.\"ID\"\n AND CAST(l.\"RNP\" AS REAL) > 16\n )\n)\nSELECT s.admission AS care_setting,\n COUNT(DISTINCT p.\"ID\") AS patient_count\nFROM care_settings AS s\nLEFT JOIN qualifying_patients AS p ON p.\"Admission\" = s.admission\nGROUP BY s.admission\nORDER BY s.admission;\n```", "rows": 2, "sql": "WITH care_settings(admission) AS (\n VALUES ('+'), ('-')\n), qualifying_patients AS (\n SELECT p.\"ID\", p.\"Admission\"\n FROM \"Patient\" AS p\n WHERE EXISTS (\n SELECT 1\n FROM \"Laboratory\" AS l\n WHERE l.\"ID\" = p.\"ID\"\n AND CAST(l.\"RNP\" AS REAL) > 16\n )\n)\nSELECT s.admission AS care_setting,\n COUNT(DISTINCT p.\"ID\") AS patient_count\nFROM care_settings AS s\nLEFT JOIN qualifying_patients AS p ON p.\"Admission\" = s.admission\nGROUP BY s.admission\nORDER BY s.admission;", "seconds": 22.226454374962486, "calls": [{"seconds": 3.0419812500476837, "usage": {"completion_tokens": 20, "prompt_tokens": 1669, "total_tokens": 1689, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1131, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1131, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1131, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8788943329127505, "usage": {"completion_tokens": 49, "prompt_tokens": 1961, "total_tokens": 2010, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 292, "cached_tokens": 1131, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 292, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 292, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.128362292074598, "usage": {"completion_tokens": 113, "prompt_tokens": 2091, "total_tokens": 2204, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 18, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 130, "cached_tokens": 1423, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 130, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 130, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.676886708009988, "usage": {"completion_tokens": 102, "prompt_tokens": 2412, "total_tokens": 2514, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 321, "cached_tokens": 1553, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 321, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 321, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.3585124160163105, "usage": {"completion_tokens": 174, "prompt_tokens": 2649, "total_tokens": 2823, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 237, "cached_tokens": 1874, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 237, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 237, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.106311625102535, "usage": {"completion_tokens": 151, "prompt_tokens": 3005, "total_tokens": 3156, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 356, "cached_tokens": 2111, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 356, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 356, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2abba02281e27a013193ddc0db21c30cacd5b792310aa36220d8fd09617c1865", "csv_sha256": "1f62891666834b46ab134a8277af1f2f1fb652739087ca458560c4254b7ac836"} +{"instance_id": "bird398", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE EXISTS (\n SELECT 1\n FROM Laboratory AS h\n WHERE h.ID = p.ID\n AND (h.HCT <= 29 OR h.HCT >= 52)\n)\nAND EXISTS (\n SELECT 1\n FROM Laboratory AS r\n WHERE r.ID = p.ID\n AND CAST(r.RNP AS REAL) > 16\n);\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE EXISTS (\n SELECT 1\n FROM Laboratory AS h\n WHERE h.ID = p.ID\n AND (h.HCT <= 29 OR h.HCT >= 52)\n)\nAND EXISTS (\n SELECT 1\n FROM Laboratory AS r\n WHERE r.ID = p.ID\n AND CAST(r.RNP AS REAL) > 16\n);", "seconds": 16.758108499925584, "calls": [{"seconds": 3.1353642500471324, "usage": {"completion_tokens": 81, "prompt_tokens": 1726, "total_tokens": 1807, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1188, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1188, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1188, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.312968291924335, "usage": {"completion_tokens": 137, "prompt_tokens": 2253, "total_tokens": 2390, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 74, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 527, "cached_tokens": 1188, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 527, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 527, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.889992709038779, "usage": {"completion_tokens": 216, "prompt_tokens": 2520, "total_tokens": 2736, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 100, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 267, "cached_tokens": 1715, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 267, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 267, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.393809915985912, "usage": {"completion_tokens": 101, "prompt_tokens": 2856, "total_tokens": 2957, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 336, "cached_tokens": 1982, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 336, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 336, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7395711f211fb79539e7163e4a60de52946ccd982bc66cf7b7f44ca65fb44e50", "csv_sha256": "fa8af056caee91dc8f68b6bc6542af8bc7e3c0ae2287748c83000bbf65810168"} +{"instance_id": "bird399", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT MAX(CAST(NULLIF(l.RNP, 'negative') AS NUMERIC)) AS highest_anti_rnp\nFROM Laboratory AS l\nJOIN Patient AS p ON p.ID = l.ID\nWHERE p.Admission = '-';\n```", "rows": 1, "sql": "SELECT MAX(CAST(NULLIF(l.RNP, 'negative') AS NUMERIC)) AS highest_anti_rnp\nFROM Laboratory AS l\nJOIN Patient AS p ON p.ID = l.ID\nWHERE p.Admission = '-';", "seconds": 30.79549504199531, "calls": [{"seconds": 2.640554416924715, "usage": {"completion_tokens": 67, "prompt_tokens": 1647, "total_tokens": 1714, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1109, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1109, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1109, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.253554041963071, "usage": {"completion_tokens": 85, "prompt_tokens": 2132, "total_tokens": 2217, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 65, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1109, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.487705959007144, "usage": {"completion_tokens": 218, "prompt_tokens": 2247, "total_tokens": 2465, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 177, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 115, "cached_tokens": 1594, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 115, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 115, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.422003917046823, "usage": {"completion_tokens": 278, "prompt_tokens": 2531, "total_tokens": 2809, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 155, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 284, "cached_tokens": 1709, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 284, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 284, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.95033941604197, "usage": {"completion_tokens": 205, "prompt_tokens": 2953, "total_tokens": 3158, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 139, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 422, "cached_tokens": 1993, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 422, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 422, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.017384583945386, "usage": {"completion_tokens": 55, "prompt_tokens": 3235, "total_tokens": 3290, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 282, "cached_tokens": 2415, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 282, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 282, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "49bc76440ee22abef16e576c889f2c208821af0a210f043cd6b1ba71fccecaf1", "csv_sha256": "bddf229719c9f94854ceb618f276c398aa2add5c18ea22eef91a74b67faec983"} +{"instance_id": "bird400", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE diagnosis_parts (ID, diagnosis, remaining) AS (\n SELECT ID, NULL,\n CASE\n WHEN TRIM(UPPER(Diagnosis)) IN ('RA SJS', 'SJS RA') THEN 'RA,SJS'\n ELSE REPLACE(UPPER(Diagnosis), CHAR(29), ',')\n END || ','\n FROM Patient\n WHERE Diagnosis IS NOT NULL\n\n UNION ALL\n\n SELECT ID,\n TRIM(SUBSTR(remaining, 1, INSTR(remaining, ',') - 1), ' ' || CHAR(9, 10, 11, 13)),\n SUBSTR(remaining, INSTR(remaining, ',') + 1)\n FROM diagnosis_parts\n WHERE remaining <> ''\n), overlap_patients AS (\n SELECT ID\n FROM diagnosis_parts\n WHERE diagnosis <> ''\n AND diagnosis NOT LIKE '% SUSP'\n AND diagnosis NOT LIKE '% SUSP.'\n GROUP BY ID\n HAVING COUNT(DISTINCT diagnosis) = 2\n AND MAX(diagnosis = 'RA') = 1\n AND MAX(diagnosis = 'SJS') = 1\n), platelet_history AS (\n SELECT p.ID, EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.PLT > 100\n AND l.PLT < 400\n ) AS has_normal_platelet\n FROM overlap_patients AS p\n)\nSELECT COUNT(CASE WHEN has_normal_platelet = 1 THEN 1 END) AS ever_normal_platelet,\n COUNT(CASE WHEN has_normal_platelet = 0 THEN 1 END) AS never_normal_platelet\nFROM platelet_history;\n```", "rows": 1, "sql": "WITH RECURSIVE diagnosis_parts (ID, diagnosis, remaining) AS (\n SELECT ID, NULL,\n CASE\n WHEN TRIM(UPPER(Diagnosis)) IN ('RA SJS', 'SJS RA') THEN 'RA,SJS'\n ELSE REPLACE(UPPER(Diagnosis), CHAR(29), ',')\n END || ','\n FROM Patient\n WHERE Diagnosis IS NOT NULL\n\n UNION ALL\n\n SELECT ID,\n TRIM(SUBSTR(remaining, 1, INSTR(remaining, ',') - 1), ' ' || CHAR(9, 10, 11, 13)),\n SUBSTR(remaining, INSTR(remaining, ',') + 1)\n FROM diagnosis_parts\n WHERE remaining <> ''\n), overlap_patients AS (\n SELECT ID\n FROM diagnosis_parts\n WHERE diagnosis <> ''\n AND diagnosis NOT LIKE '% SUSP'\n AND diagnosis NOT LIKE '% SUSP.'\n GROUP BY ID\n HAVING COUNT(DISTINCT diagnosis) = 2\n AND MAX(diagnosis = 'RA') = 1\n AND MAX(diagnosis = 'SJS') = 1\n), platelet_history AS (\n SELECT p.ID, EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.PLT > 100\n AND l.PLT < 400\n ) AS has_normal_platelet\n FROM overlap_patients AS p\n)\nSELECT COUNT(CASE WHEN has_normal_platelet = 1 THEN 1 END) AS ever_normal_platelet,\n COUNT(CASE WHEN has_normal_platelet = 0 THEN 1 END) AS never_normal_platelet\nFROM platelet_history;", "seconds": 44.024540666956455, "calls": [{"seconds": 2.8453679169761017, "usage": {"completion_tokens": 67, "prompt_tokens": 1757, "total_tokens": 1824, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1219, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1219, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1219, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0813138749217615, "usage": {"completion_tokens": 61, "prompt_tokens": 2242, "total_tokens": 2303, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1219, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.984648792073131, "usage": {"completion_tokens": 235, "prompt_tokens": 2593, "total_tokens": 2828, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 70, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 351, "cached_tokens": 1704, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 351, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 351, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.782893125084229, "usage": {"completion_tokens": 232, "prompt_tokens": 4259, "total_tokens": 4491, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1666, "cached_tokens": 2055, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1666, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1666, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 19.351009875070304, "usage": {"completion_tokens": 1017, "prompt_tokens": 6277, "total_tokens": 7294, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 611, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 2018, "cached_tokens": 3721, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 2018, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 2018, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.945233250036836, "usage": {"completion_tokens": 371, "prompt_tokens": 7696, "total_tokens": 8067, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1419, "cached_tokens": 5739, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1419, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1419, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2647779901417e4cc6b889b0ee3129b62e8faf25c8d563c1b78fccdadd93b32b", "csv_sha256": "6603eb186c376be9e7c2ee388c51c048d76ad5e446fe21fb9444736d238f819a"} +{"instance_id": "bird401", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(l.TP - 8.5), 3) AS average_tp_deviation\nFROM Laboratory AS l\nWHERE l.TP > 8.5\n AND EXISTS (\n SELECT 1\n FROM Patient AS p\n WHERE p.ID = l.ID AND p.SEX = 'F'\n )\n AND EXISTS (\n SELECT 1\n FROM Examination AS e\n WHERE e.ID = l.ID\n AND ',' || REPLACE(REPLACE(REPLACE(UPPER(e.Diagnosis), ' ', ''), '+', ','), '->', ',') || ',' LIKE '%,SLE,%'\n );\n```", "rows": 1, "sql": "SELECT ROUND(AVG(l.TP - 8.5), 3) AS average_tp_deviation\nFROM Laboratory AS l\nWHERE l.TP > 8.5\n AND EXISTS (\n SELECT 1\n FROM Patient AS p\n WHERE p.ID = l.ID AND p.SEX = 'F'\n )\n AND EXISTS (\n SELECT 1\n FROM Examination AS e\n WHERE e.ID = l.ID\n AND ',' || REPLACE(REPLACE(REPLACE(UPPER(e.Diagnosis), ' ', ''), '+', ','), '->', ',') || ',' LIKE '%,SLE,%'\n );", "seconds": 29.224500583019108, "calls": [{"seconds": 2.5641457500169054, "usage": {"completion_tokens": 67, "prompt_tokens": 1774, "total_tokens": 1841, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1236, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1236, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1236, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.020856249961071, "usage": {"completion_tokens": 168, "prompt_tokens": 2259, "total_tokens": 2427, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 105, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1236, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.779589999932796, "usage": {"completion_tokens": 181, "prompt_tokens": 2630, "total_tokens": 2811, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 58, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 371, "cached_tokens": 1721, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 371, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 371, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.897993208025582, "usage": {"completion_tokens": 477, "prompt_tokens": 2987, "total_tokens": 3464, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 318, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 357, "cached_tokens": 2092, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 357, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 357, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.933386250049807, "usage": {"completion_tokens": 152, "prompt_tokens": 3629, "total_tokens": 3781, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 8, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 642, "cached_tokens": 2449, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 642, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 642, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b36347d3796a9b658c5e4adf6a0dccf98d86dcb6399fa4c4eb5548c9254afd62", "csv_sha256": "e180b59e348393a5b08d1656e500f2e9f5bb6fa4ff644e57c740e9a572848863"} +{"instance_id": "bird402", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(\n 100.0 * COUNT(DISTINCT CASE WHEN Birthday >= '1960-01-01' THEN ID END)\n / NULLIF(COUNT(DISTINCT ID), 0),\n 1\n) AS percentage\nFROM Patient\nWHERE LOWER(TRIM(Diagnosis)) = 'psoriatic arthritis';\n```", "rows": 1, "sql": "SELECT ROUND(\n 100.0 * COUNT(DISTINCT CASE WHEN Birthday >= '1960-01-01' THEN ID END)\n / NULLIF(COUNT(DISTINCT ID), 0),\n 1\n) AS percentage\nFROM Patient\nWHERE LOWER(TRIM(Diagnosis)) = 'psoriatic arthritis';", "seconds": 12.243765374994837, "calls": [{"seconds": 2.6105072079226375, "usage": {"completion_tokens": 19, "prompt_tokens": 1642, "total_tokens": 1661, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1104, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1104, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1104, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1016224999912083, "usage": {"completion_tokens": 77, "prompt_tokens": 1714, "total_tokens": 1791, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 72, "cached_tokens": 1104, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 72, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 72, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0990862500621006, "usage": {"completion_tokens": 79, "prompt_tokens": 1935, "total_tokens": 2014, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 221, "cached_tokens": 1176, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 221, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 221, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4181083750445396, "usage": {"completion_tokens": 77, "prompt_tokens": 2104, "total_tokens": 2181, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 169, "cached_tokens": 1397, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 169, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 169, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "faf18d44579d061be50433e12a27bda3dfcdf1b318ec177e4e4a654c46e985d5", "csv_sha256": "7f53c3844d121617b93eb2dd881ba757a4d095fd99e8dcf22bb1e9cf471ee78a"} +{"instance_id": "bird403", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH sex_groups(sex) AS (\n VALUES ('F'), ('M')\n)\nSELECT s.sex, COUNT(DISTINCT p.ID) AS patient_count\nFROM sex_groups AS s\nLEFT JOIN Patient AS p\n ON p.SEX = s.sex\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID AND l.ALB < 3.5\n )\nGROUP BY s.sex\nORDER BY s.sex;\n```", "rows": 2, "sql": "WITH sex_groups(sex) AS (\n VALUES ('F'), ('M')\n)\nSELECT s.sex, COUNT(DISTINCT p.ID) AS patient_count\nFROM sex_groups AS s\nLEFT JOIN Patient AS p\n ON p.SEX = s.sex\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID AND l.ALB < 3.5\n )\nGROUP BY s.sex\nORDER BY s.sex;", "seconds": 11.046848958008923, "calls": [{"seconds": 2.52416087500751, "usage": {"completion_tokens": 51, "prompt_tokens": 1663, "total_tokens": 1714, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1125, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1125, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1125, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.367746750009246, "usage": {"completion_tokens": 212, "prompt_tokens": 2037, "total_tokens": 2249, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 89, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1125, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1352135420311242, "usage": {"completion_tokens": 105, "prompt_tokens": 2385, "total_tokens": 2490, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 348, "cached_tokens": 1499, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 348, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 348, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d0a1d1cddafd7f0bedffcd8df82e48fa970d04867b8b4e6acc0b526e0a6d5123", "csv_sha256": "1d5d05b78770efb92193922becc24999b3ff0c277a87ad10a1c36161062b9122"} +{"instance_id": "bird404", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(\n 100.0 * COUNT(DISTINCT CASE WHEN CAST(TRIM(l.RNP) AS INTEGER) > 64 THEN p.ID END)\n / NULLIF(COUNT(DISTINCT p.ID), 0),\n 2\n) AS elevated_rnp_percentage\nFROM Patient AS p\nJOIN Laboratory AS l ON l.ID = p.ID\nWHERE p.SEX = 'F'\n AND NULLIF(TRIM(l.RNP), '') IS NOT NULL;\n```", "rows": 1, "sql": "SELECT ROUND(\n 100.0 * COUNT(DISTINCT CASE WHEN CAST(TRIM(l.RNP) AS INTEGER) > 64 THEN p.ID END)\n / NULLIF(COUNT(DISTINCT p.ID), 0),\n 2\n) AS elevated_rnp_percentage\nFROM Patient AS p\nJOIN Laboratory AS l ON l.ID = p.ID\nWHERE p.SEX = 'F'\n AND NULLIF(TRIM(l.RNP), '') IS NOT NULL;", "seconds": 19.040771792060696, "calls": [{"seconds": 2.457812875043601, "usage": {"completion_tokens": 67, "prompt_tokens": 1738, "total_tokens": 1805, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1200, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1200, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1200, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.41272741695866, "usage": {"completion_tokens": 253, "prompt_tokens": 2223, "total_tokens": 2476, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 80, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1200, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.2016925000352785, "usage": {"completion_tokens": 221, "prompt_tokens": 2983, "total_tokens": 3204, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 99, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 760, "cached_tokens": 1685, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 760, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 760, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9373427919344977, "usage": {"completion_tokens": 130, "prompt_tokens": 3335, "total_tokens": 3465, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 22, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 352, "cached_tokens": 2445, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 352, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 352, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d6f6abf47de20653341ebbaebd7349842d75502b57e23fae4d1b6cb2bbd04239", "csv_sha256": "31137bcabe11a8b94004dc59ad6b97802bfb1106abd25986403c6e44c8538e16"} +{"instance_id": "bird405", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT AVG(1999 - CAST(strftime('%Y', p.Birthday) AS INTEGER)) AS average_age_years\nFROM Patient AS p\nWHERE EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.\"U-PRO\" IN ('3', '4', '300', '>=300', '1000', '>=1000')\n);\n```", "rows": 1, "sql": "SELECT AVG(1999 - CAST(strftime('%Y', p.Birthday) AS INTEGER)) AS average_age_years\nFROM Patient AS p\nWHERE EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.\"U-PRO\" IN ('3', '4', '300', '>=300', '1000', '>=1000')\n);", "seconds": 17.425307750003412, "calls": [{"seconds": 2.690379208070226, "usage": {"completion_tokens": 51, "prompt_tokens": 1714, "total_tokens": 1765, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1176, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1176, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1176, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.954451334080659, "usage": {"completion_tokens": 64, "prompt_tokens": 2088, "total_tokens": 2152, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1176, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.8571104580769315, "usage": {"completion_tokens": 142, "prompt_tokens": 2607, "total_tokens": 2749, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 82, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 519, "cached_tokens": 1550, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 519, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 519, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.782332041999325, "usage": {"completion_tokens": 104, "prompt_tokens": 2849, "total_tokens": 2953, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 242, "cached_tokens": 2069, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 242, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 242, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1129385840613395, "usage": {"completion_tokens": 92, "prompt_tokens": 3072, "total_tokens": 3164, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 223, "cached_tokens": 2311, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 223, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 223, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "97645f7c45f05f0cb151d03a197931a2d3a05fd3c43274344a78020d3118d6b1", "csv_sha256": "31f3ee49bfc34f6af198be8f06213d55f842707e6d63ecd7d0299bd1a56e6a0b"} +{"instance_id": "bird406", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n COUNT(DISTINCT CASE WHEN p.SEX = 'F' THEN p.ID END) AS women,\n COUNT(DISTINCT CASE WHEN p.SEX = 'M' THEN p.ID END) AS men\nFROM Patient AS p\nWHERE EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND CAST(l.RNP AS REAL) > 32\n);\n```", "rows": 1, "sql": "SELECT\n COUNT(DISTINCT CASE WHEN p.SEX = 'F' THEN p.ID END) AS women,\n COUNT(DISTINCT CASE WHEN p.SEX = 'M' THEN p.ID END) AS men\nFROM Patient AS p\nWHERE EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND CAST(l.RNP AS REAL) > 32\n);", "seconds": 14.257604375015944, "calls": [{"seconds": 2.2917229579761624, "usage": {"completion_tokens": 51, "prompt_tokens": 1675, "total_tokens": 1726, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1137, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1137, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1137, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.471165374969132, "usage": {"completion_tokens": 109, "prompt_tokens": 2049, "total_tokens": 2158, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 59, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1137, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.241801374941133, "usage": {"completion_tokens": 138, "prompt_tokens": 2254, "total_tokens": 2392, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 30, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 205, "cached_tokens": 1511, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 205, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 205, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.23288608295843, "usage": {"completion_tokens": 95, "prompt_tokens": 2512, "total_tokens": 2607, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 258, "cached_tokens": 1716, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 258, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 258, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6ea5a4ef51482382bd19f5aa300ec5b436a0f2b8a1fd695ef7765a9aad986f57", "csv_sha256": "ccdda43fee87a413b56afa16335fb342c741f0a4624d913a56fc9640211b5420"} +{"instance_id": "bird407", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT MIN(CAST(strftime('%Y', l.\"Date\") AS INTEGER) - CAST(strftime('%Y', p.Birthday) AS INTEGER)) AS youngest_age\nFROM Laboratory AS l\nJOIN Patient AS p ON p.ID = l.ID\nWHERE CAST(l.RNP AS INTEGER) >= 64;\n```", "rows": 1, "sql": "SELECT MIN(CAST(strftime('%Y', l.\"Date\") AS INTEGER) - CAST(strftime('%Y', p.Birthday) AS INTEGER)) AS youngest_age\nFROM Laboratory AS l\nJOIN Patient AS p ON p.ID = l.ID\nWHERE CAST(l.RNP AS INTEGER) >= 64;", "seconds": 19.158432916970924, "calls": [{"seconds": 2.362044042092748, "usage": {"completion_tokens": 51, "prompt_tokens": 1719, "total_tokens": 1770, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1181, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1181, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1181, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.969126666896045, "usage": {"completion_tokens": 97, "prompt_tokens": 2093, "total_tokens": 2190, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 32, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1181, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.0974908330244943, "usage": {"completion_tokens": 20, "prompt_tokens": 2442, "total_tokens": 2462, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 349, "cached_tokens": 1555, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 349, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 349, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5305644589243457, "usage": {"completion_tokens": 89, "prompt_tokens": 2559, "total_tokens": 2648, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 34, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 117, "cached_tokens": 1904, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 117, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 117, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.127109957975335, "usage": {"completion_tokens": 117, "prompt_tokens": 2750, "total_tokens": 2867, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 37, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 191, "cached_tokens": 2021, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 191, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 191, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.039412457961589, "usage": {"completion_tokens": 70, "prompt_tokens": 2957, "total_tokens": 3027, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 207, "cached_tokens": 2212, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 207, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 207, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "19e41ad1f32c8fdb4fb54295438211e6db5f7252bc2c4f739c8b375b58b1ec98", "csv_sha256": "a95ea5420feef54219455435d225083ef87d3a65a59450c52edb124304f5122b"} +{"instance_id": "bird408", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH diagnosed_patients AS (\n SELECT DISTINCT ID\n FROM Patient\n WHERE TRIM(Diagnosis) = 'Psoriatic arthritis' COLLATE NOCASE\n)\nSELECT COUNT(l.ID) AS total_laboratory_tests,\n COUNT(DISTINCT CASE WHEN l.ID IS NULL THEN p.ID END) AS patients_with_no_laboratory_tests\nFROM diagnosed_patients AS p\nLEFT JOIN Laboratory AS l ON l.ID = p.ID;\n```", "rows": 1, "sql": "WITH diagnosed_patients AS (\n SELECT DISTINCT ID\n FROM Patient\n WHERE TRIM(Diagnosis) = 'Psoriatic arthritis' COLLATE NOCASE\n)\nSELECT COUNT(l.ID) AS total_laboratory_tests,\n COUNT(DISTINCT CASE WHEN l.ID IS NULL THEN p.ID END) AS patients_with_no_laboratory_tests\nFROM diagnosed_patients AS p\nLEFT JOIN Laboratory AS l ON l.ID = p.ID;", "seconds": 13.468427374958992, "calls": [{"seconds": 2.6602059999713674, "usage": {"completion_tokens": 67, "prompt_tokens": 1673, "total_tokens": 1740, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1135, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1135, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1135, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2551319170743227, "usage": {"completion_tokens": 88, "prompt_tokens": 2158, "total_tokens": 2246, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 26, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1135, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.287690624943934, "usage": {"completion_tokens": 152, "prompt_tokens": 2804, "total_tokens": 2956, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 38, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 646, "cached_tokens": 1620, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 646, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 646, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2461051660357043, "usage": {"completion_tokens": 100, "prompt_tokens": 3091, "total_tokens": 3191, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 287, "cached_tokens": 2266, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 287, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 287, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8a69d0becab9273d55a342c850a7e9e8253f49639675f5751f51f9c8b6e19451", "csv_sha256": "e357a1fffd983b170af8164858ae588808ebd45807f9ee3040d0ba78add2daf8"} +{"instance_id": "bird409", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT p.\"ID\") AS patient_count\nFROM \"Patient\" AS p\nJOIN \"Examination\" AS e ON e.\"ID\" = p.\"ID\"\nWHERE e.\"Examination Date\" >= '1997-01-01'\n AND e.\"Examination Date\" < '1998-01-01'\n AND e.\"Thrombosis\" > 0;\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT p.\"ID\") AS patient_count\nFROM \"Patient\" AS p\nJOIN \"Examination\" AS e ON e.\"ID\" = p.\"ID\"\nWHERE e.\"Examination Date\" >= '1997-01-01'\n AND e.\"Examination Date\" < '1998-01-01'\n AND e.\"Thrombosis\" > 0;", "seconds": 17.377401959034614, "calls": [{"seconds": 2.659025791916065, "usage": {"completion_tokens": 65, "prompt_tokens": 1663, "total_tokens": 1728, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1125, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1125, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1125, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.940456458018161, "usage": {"completion_tokens": 189, "prompt_tokens": 1904, "total_tokens": 2093, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 111, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 241, "cached_tokens": 1125, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 241, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 241, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.938617750070989, "usage": {"completion_tokens": 171, "prompt_tokens": 2312, "total_tokens": 2483, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 67, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 408, "cached_tokens": 1366, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 408, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 408, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8247127500362694, "usage": {"completion_tokens": 107, "prompt_tokens": 2592, "total_tokens": 2699, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 15, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 280, "cached_tokens": 1774, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 280, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 280, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d3e46fbd1731ff24bb9afa814acd4b9fa9348f1bf12a667c0b36ac6a82ea4088", "csv_sha256": "3f414037fbf334fb220db2ac8d37fe56c84699347a7489fb47839fc39a0891d5"} +{"instance_id": "bird410", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE patient_diseases(patient_id, disease, remaining) AS (\n SELECT ID, '',\n REPLACE(REPLACE(UPPER(Diagnosis), CHAR(29), ','), 'SLE SJS', 'SLE,SJS') || ','\n FROM Patient\n WHERE Diagnosis IS NOT NULL\n UNION ALL\n SELECT patient_id,\n TRIM(SUBSTR(remaining, 1, INSTR(remaining, ',') - 1)),\n SUBSTR(remaining, INSTR(remaining, ',') + 1)\n FROM patient_diseases\n WHERE remaining <> ''\n)\nSELECT e.Symptoms AS symptom\nFROM Examination AS e\nWHERE e.Thrombosis > 0\n AND NULLIF(TRIM(e.Symptoms), '') IS NOT NULL\n AND EXISTS (\n SELECT 1\n FROM patient_diseases AS d\n WHERE d.patient_id = e.ID\n AND d.disease IN ('SLE', 'SLE (DIFFUSE LE)')\n )\nGROUP BY e.Symptoms\nORDER BY COUNT(*) DESC, symptom COLLATE NOCASE ASC, symptom ASC\nLIMIT 1;\n```", "rows": 1, "sql": "WITH RECURSIVE patient_diseases(patient_id, disease, remaining) AS (\n SELECT ID, '',\n REPLACE(REPLACE(UPPER(Diagnosis), CHAR(29), ','), 'SLE SJS', 'SLE,SJS') || ','\n FROM Patient\n WHERE Diagnosis IS NOT NULL\n UNION ALL\n SELECT patient_id,\n TRIM(SUBSTR(remaining, 1, INSTR(remaining, ',') - 1)),\n SUBSTR(remaining, INSTR(remaining, ',') + 1)\n FROM patient_diseases\n WHERE remaining <> ''\n)\nSELECT e.Symptoms AS symptom\nFROM Examination AS e\nWHERE e.Thrombosis > 0\n AND NULLIF(TRIM(e.Symptoms), '') IS NOT NULL\n AND EXISTS (\n SELECT 1\n FROM patient_diseases AS d\n WHERE d.patient_id = e.ID\n AND d.disease IN ('SLE', 'SLE (DIFFUSE LE)')\n )\nGROUP BY e.Symptoms\nORDER BY COUNT(*) DESC, symptom COLLATE NOCASE ASC, symptom ASC\nLIMIT 1;", "seconds": 33.55428333405871, "calls": [{"seconds": 2.7576670409180224, "usage": {"completion_tokens": 67, "prompt_tokens": 1709, "total_tokens": 1776, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1171, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1171, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1171, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.743416207958944, "usage": {"completion_tokens": 47, "prompt_tokens": 2194, "total_tokens": 2241, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1171, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.894160042051226, "usage": {"completion_tokens": 62, "prompt_tokens": 2339, "total_tokens": 2401, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 145, "cached_tokens": 1656, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 145, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 145, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.268691416014917, "usage": {"completion_tokens": 81, "prompt_tokens": 2838, "total_tokens": 2919, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 499, "cached_tokens": 1801, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 499, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 499, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.852200167020783, "usage": {"completion_tokens": 257, "prompt_tokens": 3168, "total_tokens": 3425, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 168, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 330, "cached_tokens": 2300, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 330, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 330, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.960932167014107, "usage": {"completion_tokens": 397, "prompt_tokens": 3601, "total_tokens": 3998, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 114, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 433, "cached_tokens": 2630, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 433, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 433, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.047183500020765, "usage": {"completion_tokens": 263, "prompt_tokens": 4266, "total_tokens": 4529, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 10, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 665, "cached_tokens": 3063, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 665, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 665, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "01fd19a8caf7169ff4538426363efe158b592f93bd1416ce9d0dd2465a139c77", "csv_sha256": "dd6ef3b14ef75ef4d5a9b7b70ad243a8f1d7d30a44d77c912105cf7523601e46"} +{"instance_id": "bird411", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(\n 100.0 * COUNT(DISTINCT CASE\n WHEN ',' || REPLACE(REPLACE(UPPER(\"Diagnosis\"), ' ', ''), '+', ',') || ',' LIKE '%,SLE,%'\n THEN \"ID\"\n END) / NULLIF(COUNT(DISTINCT \"ID\"), 0),\n 2\n) AS sle_percentage\nFROM \"Examination\"\nWHERE \"Thrombosis\" > 0;\n```", "rows": 1, "sql": "SELECT ROUND(\n 100.0 * COUNT(DISTINCT CASE\n WHEN ',' || REPLACE(REPLACE(UPPER(\"Diagnosis\"), ' ', ''), '+', ',') || ',' LIKE '%,SLE,%'\n THEN \"ID\"\n END) / NULLIF(COUNT(DISTINCT \"ID\"), 0),\n 2\n) AS sle_percentage\nFROM \"Examination\"\nWHERE \"Thrombosis\" > 0;", "seconds": 29.266095540951937, "calls": [{"seconds": 2.7561392090283334, "usage": {"completion_tokens": 65, "prompt_tokens": 1695, "total_tokens": 1760, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1157, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1157, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1157, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.817205915926024, "usage": {"completion_tokens": 164, "prompt_tokens": 1936, "total_tokens": 2100, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 91, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 241, "cached_tokens": 1157, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 241, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 241, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.235425416962244, "usage": {"completion_tokens": 328, "prompt_tokens": 2839, "total_tokens": 3167, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 186, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 903, "cached_tokens": 1398, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 903, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 903, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.764740750077181, "usage": {"completion_tokens": 294, "prompt_tokens": 3538, "total_tokens": 3832, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 176, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 699, "cached_tokens": 2301, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 699, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 699, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6737448329804465, "usage": {"completion_tokens": 114, "prompt_tokens": 3953, "total_tokens": 4067, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 12, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 415, "cached_tokens": 3000, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 415, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 415, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "635847121bacdabf595e417fdda3f2635da7f88d8d5a886f91bfdf4a034e642e", "csv_sha256": "c438a88e8f9341a65a3b15b6994aba9eb07319ebff3246afb8b8833a3eda93a0"} +{"instance_id": "bird412", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH first_examination AS (\n SELECT ID, MIN(JULIANDAY(\"Examination Date\")) AS first_exam_day\n FROM Examination\n GROUP BY ID\n)\nSELECT ROUND(AVG(e.first_exam_day - JULIANDAY(p.\"First Date\"))) AS average_delay_days\nFROM Patient AS p\nJOIN first_examination AS e ON e.ID = p.ID\nWHERE INSTR(p.Admission, '+') > 0;\n```", "rows": 1, "sql": "WITH first_examination AS (\n SELECT ID, MIN(JULIANDAY(\"Examination Date\")) AS first_exam_day\n FROM Examination\n GROUP BY ID\n)\nSELECT ROUND(AVG(e.first_exam_day - JULIANDAY(p.\"First Date\"))) AS average_delay_days\nFROM Patient AS p\nJOIN first_examination AS e ON e.ID = p.ID\nWHERE INSTR(p.Admission, '+') > 0;", "seconds": 24.308573791990057, "calls": [{"seconds": 2.7001078330213204, "usage": {"completion_tokens": 51, "prompt_tokens": 1664, "total_tokens": 1715, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1126, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1126, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1126, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.997099332977086, "usage": {"completion_tokens": 390, "prompt_tokens": 1863, "total_tokens": 2253, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 277, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 199, "cached_tokens": 1126, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 199, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 199, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.544599625049159, "usage": {"completion_tokens": 186, "prompt_tokens": 2374, "total_tokens": 2560, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 147, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 511, "cached_tokens": 1325, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 511, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 511, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.049723875010386, "usage": {"completion_tokens": 134, "prompt_tokens": 2618, "total_tokens": 2752, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 34, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 244, "cached_tokens": 1836, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 244, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 244, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7518c85fea89697909e05b9a5303498f120e4229890417dcbb1f7ff658219550", "csv_sha256": "3bc2201d78fc0cf66c6b3542604e1007d17a0ea2d7a2a155263e1b5734a6c338"} +{"instance_id": "bird413", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH sexes(sex) AS (\n VALUES ('F'), ('M')\n)\nSELECT s.sex, COUNT(DISTINCT l.ID) AS patient_count\nFROM sexes AS s\nLEFT JOIN Patient AS p ON p.SEX = s.sex\nLEFT JOIN Laboratory AS l ON l.ID = p.ID\n AND l.\"Date\" >= '1994-01-01'\n AND l.\"Date\" < '1995-01-01'\n AND l.GOT < 60\nGROUP BY s.sex\nORDER BY s.sex;\n```", "rows": 2, "sql": "WITH sexes(sex) AS (\n VALUES ('F'), ('M')\n)\nSELECT s.sex, COUNT(DISTINCT l.ID) AS patient_count\nFROM sexes AS s\nLEFT JOIN Patient AS p ON p.SEX = s.sex\nLEFT JOIN Laboratory AS l ON l.ID = p.ID\n AND l.\"Date\" >= '1994-01-01'\n AND l.\"Date\" < '1995-01-01'\n AND l.GOT < 60\nGROUP BY s.sex\nORDER BY s.sex;", "seconds": 11.179519583005458, "calls": [{"seconds": 2.3808725000126287, "usage": {"completion_tokens": 51, "prompt_tokens": 1711, "total_tokens": 1762, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1173, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1173, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1173, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.3168732090853155, "usage": {"completion_tokens": 208, "prompt_tokens": 2085, "total_tokens": 2293, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 73, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1173, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4663103750208393, "usage": {"completion_tokens": 118, "prompt_tokens": 2442, "total_tokens": 2560, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 357, "cached_tokens": 1547, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 357, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 357, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5badea3fe16265726ee6d036216e28d55c7524e5ceec747c1a957e44b800c4ce", "csv_sha256": "dc5b5a14d7c452891b3efb5814657a3b1279c6195b5e7f93b95a4f99ff4fa213"} +{"instance_id": "bird414", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH lab_panels AS (\n SELECT ID, LDH, TRIM(\"U-PRO\") AS protein\n FROM Laboratory\n)\nSELECT p.ID AS patient_id,\n 2026 - CAST(STRFTIME('%Y', p.Birthday) AS INTEGER)\n - (STRFTIME('%m-%d', p.Birthday) > '10-09') AS age\nFROM Patient AS p\nWHERE EXISTS (\n SELECT 1\n FROM lab_panels AS l\n WHERE l.ID = p.ID\n AND l.LDH > 600\n AND l.LDH < 800\n AND CAST(CASE\n WHEN l.protein LIKE '>=%' THEN SUBSTR(l.protein, 3)\n WHEN l.protein LIKE '≥%' THEN SUBSTR(l.protein, 2)\n WHEN LOWER(l.protein) LIKE 'at least %' THEN SUBSTR(l.protein, 10)\n ELSE l.protein\n END AS REAL) >= 300\n)\nORDER BY p.ID;\n```", "rows": 3, "sql": "WITH lab_panels AS (\n SELECT ID, LDH, TRIM(\"U-PRO\") AS protein\n FROM Laboratory\n)\nSELECT p.ID AS patient_id,\n 2026 - CAST(STRFTIME('%Y', p.Birthday) AS INTEGER)\n - (STRFTIME('%m-%d', p.Birthday) > '10-09') AS age\nFROM Patient AS p\nWHERE EXISTS (\n SELECT 1\n FROM lab_panels AS l\n WHERE l.ID = p.ID\n AND l.LDH > 600\n AND l.LDH < 800\n AND CAST(CASE\n WHEN l.protein LIKE '>=%' THEN SUBSTR(l.protein, 3)\n WHEN l.protein LIKE '≥%' THEN SUBSTR(l.protein, 2)\n WHEN LOWER(l.protein) LIKE 'at least %' THEN SUBSTR(l.protein, 10)\n ELSE l.protein\n END AS REAL) >= 300\n)\nORDER BY p.ID;", "seconds": 29.015469125006348, "calls": [{"seconds": 2.642342707957141, "usage": {"completion_tokens": 67, "prompt_tokens": 1754, "total_tokens": 1821, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1216, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1216, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1216, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.991829999955371, "usage": {"completion_tokens": 113, "prompt_tokens": 2239, "total_tokens": 2352, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1216, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.297405291930772, "usage": {"completion_tokens": 301, "prompt_tokens": 2656, "total_tokens": 2957, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 225, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 417, "cached_tokens": 1701, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 417, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 417, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.293726041098125, "usage": {"completion_tokens": 337, "prompt_tokens": 3061, "total_tokens": 3398, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 96, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 405, "cached_tokens": 2118, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 405, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 405, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.7610241250367835, "usage": {"completion_tokens": 222, "prompt_tokens": 3662, "total_tokens": 3884, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 601, "cached_tokens": 2523, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 601, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 601, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "4a8c6622f5af93b05b8ff7daccc35698abbe7d6b2e2c73ac6ee559bef7d5f478", "csv_sha256": "51c2e6acea300b7346a09343d24052d7913e0e923bf7058cdac1b542f9bf0747"} +{"instance_id": "bird415", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT CASE WHEN p.SEX = 'F' THEN p.ID END)\n - COUNT(DISTINCT CASE WHEN p.SEX = 'M' THEN p.ID END) AS difference\nFROM Patient AS p\nWHERE p.Diagnosis = 'RA'\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID AND l.UN < 30\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT CASE WHEN p.SEX = 'F' THEN p.ID END)\n - COUNT(DISTINCT CASE WHEN p.SEX = 'M' THEN p.ID END) AS difference\nFROM Patient AS p\nWHERE p.Diagnosis = 'RA'\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID AND l.UN < 30\n );", "seconds": 11.123909375048243, "calls": [{"seconds": 2.4833476250059903, "usage": {"completion_tokens": 67, "prompt_tokens": 1665, "total_tokens": 1732, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1127, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1127, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1127, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.300028499914333, "usage": {"completion_tokens": 160, "prompt_tokens": 2150, "total_tokens": 2310, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 51, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1127, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3248378329444677, "usage": {"completion_tokens": 95, "prompt_tokens": 2423, "total_tokens": 2518, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 273, "cached_tokens": 1612, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 273, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 273, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ba30b3652ac910b07e0479e1bfc59b1e274b64162e73c113b78fb12e63362a78", "csv_sha256": "bac4c05d414ef63b39091cbcd9e8b1f7fb697c5fe23f41479304e62d3fc2a282"} +{"instance_id": "bird416", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH patients_by_sex AS (\n SELECT DISTINCT ID, SEX\n FROM Patient\n WHERE SEX IN ('M', 'F')\n), abnormal_creatinine AS (\n SELECT DISTINCT ID\n FROM Laboratory\n WHERE CRE >= 1.5\n)\nSELECT\n p.SEX AS sex,\n COUNT(a.ID) AS patients_with_abnormal_creatinine,\n COUNT(*) AS total_patients,\n ROUND(100.0 * COUNT(a.ID) / COUNT(*), 1) AS percentage\nFROM patients_by_sex AS p\nLEFT JOIN abnormal_creatinine AS a ON a.ID = p.ID\nGROUP BY p.SEX\nORDER BY p.SEX DESC;\n```", "rows": 2, "sql": "WITH patients_by_sex AS (\n SELECT DISTINCT ID, SEX\n FROM Patient\n WHERE SEX IN ('M', 'F')\n), abnormal_creatinine AS (\n SELECT DISTINCT ID\n FROM Laboratory\n WHERE CRE >= 1.5\n)\nSELECT\n p.SEX AS sex,\n COUNT(a.ID) AS patients_with_abnormal_creatinine,\n COUNT(*) AS total_patients,\n ROUND(100.0 * COUNT(a.ID) / COUNT(*), 1) AS percentage\nFROM patients_by_sex AS p\nLEFT JOIN abnormal_creatinine AS a ON a.ID = p.ID\nGROUP BY p.SEX\nORDER BY p.SEX DESC;", "seconds": 14.87265900010243, "calls": [{"seconds": 2.549505167058669, "usage": {"completion_tokens": 51, "prompt_tokens": 1754, "total_tokens": 1805, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1216, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1216, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1216, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.163440208067186, "usage": {"completion_tokens": 313, "prompt_tokens": 2128, "total_tokens": 2441, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 144, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1216, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.1416239578975365, "usage": {"completion_tokens": 150, "prompt_tokens": 2654, "total_tokens": 2804, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 526, "cached_tokens": 1590, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 526, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 526, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6d73a4a0a096ceed91c4da4d1a91ef6c98c607afa2ab4cfbe78248ce580a6aa2", "csv_sha256": "590fa67390de566b7ba6ee52ce42346c8d3ffef3f6117aae565cb100131c65ed"} +{"instance_id": "bird417", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH ranked_patients AS (\n SELECT MAX(l.\"T-CHO\") AS \"T-CHO\",\n p.Admission,\n p.ID,\n RANK() OVER (\n PARTITION BY p.Admission\n ORDER BY MAX(l.\"T-CHO\") DESC\n ) AS cholesterol_rank\n FROM Patient AS p\n JOIN Laboratory AS l ON l.ID = p.ID\n WHERE p.Admission IN ('+', '-')\n AND l.\"T-CHO\" IS NOT NULL\n GROUP BY p.Admission, p.ID\n)\nSELECT \"T-CHO\", Admission, ID\nFROM ranked_patients\nWHERE cholesterol_rank = 1\nORDER BY CASE Admission WHEN '+' THEN 0 ELSE 1 END, ID;\n```", "rows": 2, "sql": "WITH ranked_patients AS (\n SELECT MAX(l.\"T-CHO\") AS \"T-CHO\",\n p.Admission,\n p.ID,\n RANK() OVER (\n PARTITION BY p.Admission\n ORDER BY MAX(l.\"T-CHO\") DESC\n ) AS cholesterol_rank\n FROM Patient AS p\n JOIN Laboratory AS l ON l.ID = p.ID\n WHERE p.Admission IN ('+', '-')\n AND l.\"T-CHO\" IS NOT NULL\n GROUP BY p.Admission, p.ID\n)\nSELECT \"T-CHO\", Admission, ID\nFROM ranked_patients\nWHERE cholesterol_rank = 1\nORDER BY CASE Admission WHEN '+' THEN 0 ELSE 1 END, ID;", "seconds": 14.483484458061866, "calls": [{"seconds": 2.612607083050534, "usage": {"completion_tokens": 67, "prompt_tokens": 1720, "total_tokens": 1787, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1182, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1182, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1182, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.682246958953328, "usage": {"completion_tokens": 302, "prompt_tokens": 2205, "total_tokens": 2507, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 125, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1182, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.168888374930248, "usage": {"completion_tokens": 159, "prompt_tokens": 2710, "total_tokens": 2869, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 505, "cached_tokens": 1667, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 505, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 505, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "3ca68c52f489582087f6f42dabbc22541c026a1573de54cb7eac9cb4da23d165", "csv_sha256": "2cecaa5e09aaf596c9321fd8a5b0f97483450503ef7c8d9f69f14ef7ef2e2e06"} +{"instance_id": "bird418", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH patient_levels AS (\n SELECT p.ID AS patient_id, MAX(CAST(l.RNP AS INTEGER)) AS anti_rnp_level\n FROM Patient AS p\n JOIN Laboratory AS l ON l.ID = p.ID\n WHERE p.\"First Date\" >= '1991-01-01'\n AND p.\"First Date\" < '1992-01-01'\n AND l.RNP IS NOT NULL\n GROUP BY p.ID\n)\nSELECT patient_id, anti_rnp_level\nFROM patient_levels\nWHERE anti_rnp_level = (SELECT MAX(anti_rnp_level) FROM patient_levels)\nORDER BY patient_id;\n```", "rows": 3, "sql": "WITH patient_levels AS (\n SELECT p.ID AS patient_id, MAX(CAST(l.RNP AS INTEGER)) AS anti_rnp_level\n FROM Patient AS p\n JOIN Laboratory AS l ON l.ID = p.ID\n WHERE p.\"First Date\" >= '1991-01-01'\n AND p.\"First Date\" < '1992-01-01'\n AND l.RNP IS NOT NULL\n GROUP BY p.ID\n)\nSELECT patient_id, anti_rnp_level\nFROM patient_levels\nWHERE anti_rnp_level = (SELECT MAX(anti_rnp_level) FROM patient_levels)\nORDER BY patient_id;", "seconds": 13.627980583929457, "calls": [{"seconds": 2.5291033330140635, "usage": {"completion_tokens": 67, "prompt_tokens": 1675, "total_tokens": 1742, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1137, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1137, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1137, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.145160667016171, "usage": {"completion_tokens": 83, "prompt_tokens": 2160, "total_tokens": 2243, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1137, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.263422957970761, "usage": {"completion_tokens": 153, "prompt_tokens": 2354, "total_tokens": 2507, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 194, "cached_tokens": 1622, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 194, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 194, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6668496249476448, "usage": {"completion_tokens": 139, "prompt_tokens": 2690, "total_tokens": 2829, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 336, "cached_tokens": 1816, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 336, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 336, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "3d63e940702fde2d14fb74cde4616174c689312d3fe8ba67fc924bd0450a4cba", "csv_sha256": "ae7cf61b5dcafa03e50072c5f0db8950d31f85fd9af78163c953d86cecb3258d"} +{"instance_id": "bird419", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT AVG(\"HCT\") AS average_hematocrit\nFROM \"Laboratory\"\nWHERE \"Date\" >= '1991-01-01'\n AND \"Date\" < '1992-01-01'\n AND \"HCT\" IS NOT NULL\n AND CAST(\n CASE\n WHEN TRIM(\"U-PRO\") LIKE '>=%' THEN SUBSTR(TRIM(\"U-PRO\"), 3)\n ELSE TRIM(\"U-PRO\")\n END AS REAL\n ) >= 300;\n```", "rows": 1, "sql": "SELECT AVG(\"HCT\") AS average_hematocrit\nFROM \"Laboratory\"\nWHERE \"Date\" >= '1991-01-01'\n AND \"Date\" < '1992-01-01'\n AND \"HCT\" IS NOT NULL\n AND CAST(\n CASE\n WHEN TRIM(\"U-PRO\") LIKE '>=%' THEN SUBSTR(TRIM(\"U-PRO\"), 3)\n ELSE TRIM(\"U-PRO\")\n END AS REAL\n ) >= 300;", "seconds": 19.217275834060274, "calls": [{"seconds": 2.1914106250042096, "usage": {"completion_tokens": 20, "prompt_tokens": 1722, "total_tokens": 1742, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1184, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1184, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1184, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.7537659580120817, "usage": {"completion_tokens": 75, "prompt_tokens": 2014, "total_tokens": 2089, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 292, "cached_tokens": 1184, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 292, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 292, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.618518832954578, "usage": {"completion_tokens": 414, "prompt_tokens": 2212, "total_tokens": 2626, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 279, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 198, "cached_tokens": 1476, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 198, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 198, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6258892089826986, "usage": {"completion_tokens": 124, "prompt_tokens": 2766, "total_tokens": 2890, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 6, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 554, "cached_tokens": 1674, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 554, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 554, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5440b6c96ca1905fdff186fcba4cb4b83cf7aedf7edd63ad02c0edeb4e770ba4", "csv_sha256": "9109c09714464b0d3c64c80d02b3c0c1fbc093b5dd4f7a0e2285ffe519c0533e"} +{"instance_id": "bird420", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH proteinuria AS (\n SELECT ID,\n CASE\n WHEN TRIM(\"U-PRO\") LIKE '>=%'\n THEN CAST(SUBSTR(TRIM(\"U-PRO\"), 3) AS REAL)\n WHEN TRIM(\"U-PRO\") LIKE '+%(%)'\n THEN CAST(SUBSTR(TRIM(\"U-PRO\"), INSTR(TRIM(\"U-PRO\"), '(') + 1) AS REAL)\n ELSE CAST(\"U-PRO\" AS REAL)\n END AS proteinuria_level\n FROM Laboratory\n)\nSELECT COUNT(DISTINCT CASE WHEN p.Admission = '+' THEN p.ID END) AS admitted_patients,\n COUNT(DISTINCT CASE WHEN p.Admission = '-' THEN p.ID END) AS outpatient_patients\nFROM Patient AS p\nWHERE TRIM(p.Diagnosis) = 'SLE'\n AND EXISTS (\n SELECT 1\n FROM proteinuria AS l\n WHERE l.ID = p.ID\n AND l.proteinuria_level >= 30\n );\n```", "rows": 1, "sql": "WITH proteinuria AS (\n SELECT ID,\n CASE\n WHEN TRIM(\"U-PRO\") LIKE '>=%'\n THEN CAST(SUBSTR(TRIM(\"U-PRO\"), 3) AS REAL)\n WHEN TRIM(\"U-PRO\") LIKE '+%(%)'\n THEN CAST(SUBSTR(TRIM(\"U-PRO\"), INSTR(TRIM(\"U-PRO\"), '(') + 1) AS REAL)\n ELSE CAST(\"U-PRO\" AS REAL)\n END AS proteinuria_level\n FROM Laboratory\n)\nSELECT COUNT(DISTINCT CASE WHEN p.Admission = '+' THEN p.ID END) AS admitted_patients,\n COUNT(DISTINCT CASE WHEN p.Admission = '-' THEN p.ID END) AS outpatient_patients\nFROM Patient AS p\nWHERE TRIM(p.Diagnosis) = 'SLE'\n AND EXISTS (\n SELECT 1\n FROM proteinuria AS l\n WHERE l.ID = p.ID\n AND l.proteinuria_level >= 30\n );", "seconds": 46.389141209074296, "calls": [{"seconds": 2.6802671670448035, "usage": {"completion_tokens": 67, "prompt_tokens": 1680, "total_tokens": 1747, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1142, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1142, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1142, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.3145623749587685, "usage": {"completion_tokens": 238, "prompt_tokens": 2165, "total_tokens": 2403, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 111, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1142, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.185055125039071, "usage": {"completion_tokens": 184, "prompt_tokens": 3153, "total_tokens": 3337, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 988, "cached_tokens": 1627, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 988, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 988, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 13.15772904199548, "usage": {"completion_tokens": 516, "prompt_tokens": 3720, "total_tokens": 4236, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 223, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 567, "cached_tokens": 2615, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 567, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 567, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.601244833087549, "usage": {"completion_tokens": 558, "prompt_tokens": 4618, "total_tokens": 5176, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 314, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 898, "cached_tokens": 3182, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 898, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 898, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.3914568750187755, "usage": {"completion_tokens": 237, "prompt_tokens": 5425, "total_tokens": 5662, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 16, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 807, "cached_tokens": 4080, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 807, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 807, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b55df3836cc79416c80c3eb2ebb52785e1ac5d04cc2004b4a312e3de571ef47d", "csv_sha256": "dc30a517dbcb9ef34851fea41b011f295568797c6c6734815a5b7ab39d12e192"} +{"instance_id": "bird421", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE p.Admission = '-'\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.RA IN ('-', '+-')\n )\n AND NOT EXISTS (\n SELECT 1\n FROM Examination AS e\n WHERE e.ID = p.ID\n AND (e.KCT = '+' OR e.RVVT = '+' OR e.LAC = '+')\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE p.Admission = '-'\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.RA IN ('-', '+-')\n )\n AND NOT EXISTS (\n SELECT 1\n FROM Examination AS e\n WHERE e.ID = p.ID\n AND (e.KCT = '+' OR e.RVVT = '+' OR e.LAC = '+')\n );", "seconds": 15.560218291939236, "calls": [{"seconds": 2.7580831249943003, "usage": {"completion_tokens": 67, "prompt_tokens": 1699, "total_tokens": 1766, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1161, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1161, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1161, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.3666207500500605, "usage": {"completion_tokens": 174, "prompt_tokens": 2184, "total_tokens": 2358, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 111, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1161, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.153952584019862, "usage": {"completion_tokens": 155, "prompt_tokens": 2697, "total_tokens": 2852, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 19, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 513, "cached_tokens": 1646, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 513, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 513, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.242280915961601, "usage": {"completion_tokens": 116, "prompt_tokens": 2987, "total_tokens": 3103, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 290, "cached_tokens": 2159, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 290, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 290, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1c3bbb388e8e0f23dbe354f51166f9f3ad470514f340559d8ab734f78a55fefc", "csv_sha256": "3cec5b986b4cc1a4a2e053c957d6e202d6780f599cff2e31d061ecac8ec489f2"} +{"instance_id": "bird422", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH latest_dates AS (\n SELECT \"ID\",\n MAX(\"Date\") AS latest_sample_date,\n MAX(CASE WHEN \"SC170\" IS NOT NULL THEN \"Date\" END) AS latest_scl70_date\n FROM \"Laboratory\"\n GROUP BY \"ID\"\n)\nSELECT d.\"ID\"\nFROM latest_dates AS d\nJOIN \"Laboratory\" AS l\n ON l.\"ID\" = d.\"ID\"\n AND l.\"Date\" = d.latest_scl70_date\nWHERE d.latest_sample_date > '1997-01-01'\n AND l.\"SC170\" IS NOT NULL\nGROUP BY d.\"ID\"\nHAVING MIN(CASE WHEN l.\"SC170\" IN ('negative', '0') THEN 1 ELSE 0 END) = 1\nORDER BY d.\"ID\";\n```", "rows": 16, "sql": "WITH latest_dates AS (\n SELECT \"ID\",\n MAX(\"Date\") AS latest_sample_date,\n MAX(CASE WHEN \"SC170\" IS NOT NULL THEN \"Date\" END) AS latest_scl70_date\n FROM \"Laboratory\"\n GROUP BY \"ID\"\n)\nSELECT d.\"ID\"\nFROM latest_dates AS d\nJOIN \"Laboratory\" AS l\n ON l.\"ID\" = d.\"ID\"\n AND l.\"Date\" = d.latest_scl70_date\nWHERE d.latest_sample_date > '1997-01-01'\n AND l.\"SC170\" IS NOT NULL\nGROUP BY d.\"ID\"\nHAVING MIN(CASE WHEN l.\"SC170\" IN ('negative', '0') THEN 1 ELSE 0 END) = 1\nORDER BY d.\"ID\";", "seconds": 22.234276707982644, "calls": [{"seconds": 2.5942445000400767, "usage": {"completion_tokens": 51, "prompt_tokens": 1690, "total_tokens": 1741, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1152, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1152, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1152, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.535814250004478, "usage": {"completion_tokens": 82, "prompt_tokens": 2064, "total_tokens": 2146, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1152, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.1788867090363055, "usage": {"completion_tokens": 240, "prompt_tokens": 2399, "total_tokens": 2639, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 92, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 335, "cached_tokens": 1526, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 335, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 335, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.697310124989599, "usage": {"completion_tokens": 241, "prompt_tokens": 2824, "total_tokens": 3065, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 43, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 425, "cached_tokens": 1861, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 425, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 425, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.176168499980122, "usage": {"completion_tokens": 176, "prompt_tokens": 3320, "total_tokens": 3496, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 496, "cached_tokens": 2286, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 496, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 496, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "71b84f8b664b7edc8e1bc78b0282077ebbf769fd9c761ece092310e490dab435", "csv_sha256": "b002d80270dab60e9c46f40cf3371e670ffc75364a6c68d89a5eb923b93e07a7"} +{"instance_id": "bird424", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nJOIN Laboratory AS l ON l.ID = p.ID\nWHERE p.SEX = 'F'\n AND CAST(l.DNA AS REAL) < 8;\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nJOIN Laboratory AS l ON l.ID = p.ID\nWHERE p.SEX = 'F'\n AND CAST(l.DNA AS REAL) < 8;", "seconds": 20.160537958028726, "calls": [{"seconds": 2.219737624982372, "usage": {"completion_tokens": 51, "prompt_tokens": 1669, "total_tokens": 1720, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1131, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1131, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1131, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.1462074590381235, "usage": {"completion_tokens": 18, "prompt_tokens": 2043, "total_tokens": 2061, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1131, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.804691624944098, "usage": {"completion_tokens": 167, "prompt_tokens": 2091, "total_tokens": 2258, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 60, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1505, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.779717667028308, "usage": {"completion_tokens": 121, "prompt_tokens": 2862, "total_tokens": 2983, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 771, "cached_tokens": 1553, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 771, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 771, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1746320829261094, "usage": {"completion_tokens": 67, "prompt_tokens": 3186, "total_tokens": 3253, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 324, "cached_tokens": 2324, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 324, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 324, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9909775420092046, "usage": {"completion_tokens": 57, "prompt_tokens": 3329, "total_tokens": 3386, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 143, "cached_tokens": 2648, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 143, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 143, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "78d7cf3618d84c8b3745cc0d583f902aa9773ae5c0f4bd2ff4cfcd063bafd7c9", "csv_sha256": "3f414037fbf334fb220db2ac8d37fe56c84699347a7489fb47839fc39a0891d5"} +{"instance_id": "bird425", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE p.Admission <> '-'\n AND NOT EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.ALP >= 300\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE p.Admission <> '-'\n AND NOT EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.ALP >= 300\n );", "seconds": 10.79443987493869, "calls": [{"seconds": 2.3949047919595614, "usage": {"completion_tokens": 51, "prompt_tokens": 1681, "total_tokens": 1732, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1143, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1143, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1143, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.505844707950018, "usage": {"completion_tokens": 163, "prompt_tokens": 2055, "total_tokens": 2218, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 83, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1143, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.873938750009984, "usage": {"completion_tokens": 67, "prompt_tokens": 2304, "total_tokens": 2371, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 249, "cached_tokens": 1517, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 249, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 249, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "4d6eadf19ee57951b6c5e2f7d1d6c4019e11380adf3a1c350acb7d0b130db121", "csv_sha256": "84eccf6dc32283919618d822d8f175c5dce174a57dc954a791b95b4826a9b013"} +{"instance_id": "bird426", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT MAX(CAST(NULLIF(RNP, 'negative') AS NUMERIC)) AS highest_anti_rnp\nFROM Laboratory\nWHERE CRE < 1.5;\n```", "rows": 1, "sql": "SELECT MAX(CAST(NULLIF(RNP, 'negative') AS NUMERIC)) AS highest_anti_rnp\nFROM Laboratory\nWHERE CRE < 1.5;", "seconds": 16.21744941698853, "calls": [{"seconds": 3.3919355840189382, "usage": {"completion_tokens": 67, "prompt_tokens": 1662, "total_tokens": 1729, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1124, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1124, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1124, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.795182832982391, "usage": {"completion_tokens": 59, "prompt_tokens": 2147, "total_tokens": 2206, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1124, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.1058599159587175, "usage": {"completion_tokens": 201, "prompt_tokens": 2313, "total_tokens": 2514, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 148, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 166, "cached_tokens": 1609, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 166, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 166, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8907404999481514, "usage": {"completion_tokens": 42, "prompt_tokens": 2578, "total_tokens": 2620, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 265, "cached_tokens": 1775, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 265, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 265, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a8226c2d437e9a17ad117b3ceb4077981d00787c4ffa860a7cfdbace85e016bf", "csv_sha256": "bddf229719c9f94854ceb618f276c398aa2add5c18ea22eef91a74b67faec983"} +{"instance_id": "bird427", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH sexes(code, sex) AS (\n VALUES ('F', 'female'), ('M', 'male')\n)\nSELECT s.sex, COUNT(DISTINCT p.ID) AS patient_count\nFROM sexes AS s\nLEFT JOIN Patient AS p\n ON UPPER(TRIM(p.SEX)) IN (s.code, UPPER(s.sex))\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID AND l.HGB < 7.0\n )\nGROUP BY s.sex\nORDER BY s.sex;\n```", "rows": 2, "sql": "WITH sexes(code, sex) AS (\n VALUES ('F', 'female'), ('M', 'male')\n)\nSELECT s.sex, COUNT(DISTINCT p.ID) AS patient_count\nFROM sexes AS s\nLEFT JOIN Patient AS p\n ON UPPER(TRIM(p.SEX)) IN (s.code, UPPER(s.sex))\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID AND l.HGB < 7.0\n )\nGROUP BY s.sex\nORDER BY s.sex;", "seconds": 14.431337874964811, "calls": [{"seconds": 2.6705855829641223, "usage": {"completion_tokens": 51, "prompt_tokens": 1663, "total_tokens": 1714, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1125, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1125, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1125, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.712015541968867, "usage": {"completion_tokens": 280, "prompt_tokens": 2037, "total_tokens": 2317, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 139, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1125, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.023205750039779, "usage": {"completion_tokens": 121, "prompt_tokens": 2469, "total_tokens": 2590, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 432, "cached_tokens": 1499, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 432, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 432, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d8ac6f7984c262898fdd08ea7de369979ac104089bc4d826ab5093ec4bc69054", "csv_sha256": "6430cb0099342e3f56d5608d77205f8dc8651ed3faf0165a599cdb0e9900b40c"} +{"instance_id": "bird428", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH eligible_tests AS (\n SELECT ID, Date, RNP, CAST(NULLIF(RNP, 'negative') AS INTEGER) AS rnp_value\n FROM Laboratory\n WHERE GOT >= 60\n)\nSELECT ID, Date, RNP\nFROM eligible_tests\nWHERE rnp_value = (SELECT MAX(rnp_value) FROM eligible_tests);\n```", "rows": 1, "sql": "WITH eligible_tests AS (\n SELECT ID, Date, RNP, CAST(NULLIF(RNP, 'negative') AS INTEGER) AS rnp_value\n FROM Laboratory\n WHERE GOT >= 60\n)\nSELECT ID, Date, RNP\nFROM eligible_tests\nWHERE rnp_value = (SELECT MAX(rnp_value) FROM eligible_tests);", "seconds": 19.66854270803742, "calls": [{"seconds": 2.3301832920406014, "usage": {"completion_tokens": 20, "prompt_tokens": 1728, "total_tokens": 1748, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1190, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1190, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1190, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.400294707971625, "usage": {"completion_tokens": 70, "prompt_tokens": 2020, "total_tokens": 2090, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 19, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 292, "cached_tokens": 1190, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 292, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 292, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.505222459090874, "usage": {"completion_tokens": 398, "prompt_tokens": 2183, "total_tokens": 2581, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 306, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 163, "cached_tokens": 1482, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 163, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 163, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.405738209025003, "usage": {"completion_tokens": 79, "prompt_tokens": 2700, "total_tokens": 2779, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 517, "cached_tokens": 1645, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 517, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 517, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "81f1fced39dcf96315cbe46423fe78f8eb545bcdf6bbfc27e1f70dc07fe8eec1", "csv_sha256": "66353e71e8bcb3a081d9cc7f86dc42c95bf57338b07ec21de4f82e8b906bc35b"} +{"instance_id": "bird430", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH patient_groups(admission, patient_group, sort_order) AS (\n VALUES ('+', 'admitted to the hospital', 1),\n ('-', 'followed at the outpatient clinic', 2)\n), patient_admissions AS (\n SELECT DISTINCT ID, Admission\n FROM Patient\n WHERE Admission IN ('+', '-')\n)\nSELECT g.patient_group,\n COUNT(l.LDH) AS normal_ldh_measurements\nFROM patient_groups AS g\nLEFT JOIN patient_admissions AS p ON p.Admission = g.admission\nLEFT JOIN Laboratory AS l ON l.ID = p.ID AND l.LDH < 500\nGROUP BY g.sort_order, g.patient_group\nORDER BY g.sort_order;\n```", "rows": 2, "sql": "WITH patient_groups(admission, patient_group, sort_order) AS (\n VALUES ('+', 'admitted to the hospital', 1),\n ('-', 'followed at the outpatient clinic', 2)\n), patient_admissions AS (\n SELECT DISTINCT ID, Admission\n FROM Patient\n WHERE Admission IN ('+', '-')\n)\nSELECT g.patient_group,\n COUNT(l.LDH) AS normal_ldh_measurements\nFROM patient_groups AS g\nLEFT JOIN patient_admissions AS p ON p.Admission = g.admission\nLEFT JOIN Laboratory AS l ON l.ID = p.ID AND l.LDH < 500\nGROUP BY g.sort_order, g.patient_group\nORDER BY g.sort_order;", "seconds": 14.738384458003566, "calls": [{"seconds": 2.0992781668901443, "usage": {"completion_tokens": 51, "prompt_tokens": 1734, "total_tokens": 1785, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1196, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1196, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1196, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.516883666976355, "usage": {"completion_tokens": 313, "prompt_tokens": 2108, "total_tokens": 2421, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 143, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1196, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.089216125081293, "usage": {"completion_tokens": 151, "prompt_tokens": 2618, "total_tokens": 2769, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 510, "cached_tokens": 1570, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 510, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 510, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a6944ee8173a151aca97de3f821240a33b19213c7f9f0ff6bc7dd7a9fc86950d", "csv_sha256": "e9435d5be4375dddfcce734f6e50bd3a5fc43ed9fc403781bb425ab2866822c2"} +{"instance_id": "bird431", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n COUNT(DISTINCT p.ID) AS patients_with_lab_results,\n COUNT(DISTINCT CASE WHEN l.\"T-BIL\" >= 2.0 THEN p.ID END) AS patients_with_elevated_total_bilirubin\nFROM Patient AS p\nJOIN Laboratory AS l ON l.ID = p.ID\nWHERE p.SEX IS NULL OR p.SEX = '';\n```", "rows": 1, "sql": "SELECT\n COUNT(DISTINCT p.ID) AS patients_with_lab_results,\n COUNT(DISTINCT CASE WHEN l.\"T-BIL\" >= 2.0 THEN p.ID END) AS patients_with_elevated_total_bilirubin\nFROM Patient AS p\nJOIN Laboratory AS l ON l.ID = p.ID\nWHERE p.SEX IS NULL OR p.SEX = '';", "seconds": 31.955647625029087, "calls": [{"seconds": 2.625891458010301, "usage": {"completion_tokens": 51, "prompt_tokens": 1677, "total_tokens": 1728, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1139, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1139, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1139, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.711466084001586, "usage": {"completion_tokens": 179, "prompt_tokens": 2051, "total_tokens": 2230, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 86, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1139, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.996459166053683, "usage": {"completion_tokens": 210, "prompt_tokens": 2347, "total_tokens": 2557, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 132, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 296, "cached_tokens": 1513, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 296, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 296, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.705759207950905, "usage": {"completion_tokens": 312, "prompt_tokens": 2684, "total_tokens": 2996, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 273, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 337, "cached_tokens": 1809, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 337, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 337, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.586892082937993, "usage": {"completion_tokens": 96, "prompt_tokens": 3054, "total_tokens": 3150, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 370, "cached_tokens": 2146, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 370, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 370, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2820492499740794, "usage": {"completion_tokens": 86, "prompt_tokens": 3272, "total_tokens": 3358, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 218, "cached_tokens": 2516, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 218, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 218, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9cc6e09c2c3d8440d599051f7ec406019d9dee56797be32eafac4617842e1225", "csv_sha256": "d07a8030f4c4d867f723c12db064f8b73b74cdee71aabb7d2231713b048ea1f7"} +{"instance_id": "bird432", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nJOIN Examination AS e ON e.ID = p.ID\nWHERE p.SEX = 'F'\n AND p.Admission LIKE '+%'\n AND strftime('%Y', p.Birthday) BETWEEN '1945' AND '1989'\n AND e.\"ANA Pattern\" = 'P';\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nJOIN Examination AS e ON e.ID = p.ID\nWHERE p.SEX = 'F'\n AND p.Admission LIKE '+%'\n AND strftime('%Y', p.Birthday) BETWEEN '1945' AND '1989'\n AND e.\"ANA Pattern\" = 'P';", "seconds": 9.915175874950364, "calls": [{"seconds": 2.507780957967043, "usage": {"completion_tokens": 51, "prompt_tokens": 1676, "total_tokens": 1727, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1138, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1138, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1138, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.360800666967407, "usage": {"completion_tokens": 148, "prompt_tokens": 1875, "total_tokens": 2023, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 49, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 199, "cached_tokens": 1138, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 199, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 199, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0263281249208376, "usage": {"completion_tokens": 84, "prompt_tokens": 2126, "total_tokens": 2210, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 251, "cached_tokens": 1337, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 251, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 251, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6117cd6f5f26b10e052e5b9ba3f5ee4541825bcda23d2037c6aa1ddf919e49ff", "csv_sha256": "9b769ab090625da430bb3b07349f198720aab0e039f5d021892ef2854846e5d9"} +{"instance_id": "bird433", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH patient_peaks AS (\n SELECT p.ID, p.SEX, MAX(CAST(l.RNP AS INTEGER)) AS max_rnp\n FROM Patient AS p\n JOIN Laboratory AS l ON l.ID = p.ID\n WHERE p.Admission = '-'\n AND l.RNP IS NOT NULL\n AND LOWER(TRIM(l.RNP)) <> 'negative'\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS a\n WHERE a.ID = p.ID AND a.HGB < 10\n )\n GROUP BY p.ID, p.SEX\n)\nSELECT ID, SEX, max_rnp\nFROM patient_peaks\nWHERE max_rnp = (SELECT MAX(max_rnp) FROM patient_peaks)\nORDER BY ID;\n```", "rows": 1, "sql": "WITH patient_peaks AS (\n SELECT p.ID, p.SEX, MAX(CAST(l.RNP AS INTEGER)) AS max_rnp\n FROM Patient AS p\n JOIN Laboratory AS l ON l.ID = p.ID\n WHERE p.Admission = '-'\n AND l.RNP IS NOT NULL\n AND LOWER(TRIM(l.RNP)) <> 'negative'\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS a\n WHERE a.ID = p.ID AND a.HGB < 10\n )\n GROUP BY p.ID, p.SEX\n)\nSELECT ID, SEX, max_rnp\nFROM patient_peaks\nWHERE max_rnp = (SELECT MAX(max_rnp) FROM patient_peaks)\nORDER BY ID;", "seconds": 21.992197207990102, "calls": [{"seconds": 2.7376342080533504, "usage": {"completion_tokens": 81, "prompt_tokens": 1728, "total_tokens": 1809, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1190, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1190, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1190, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8230746670160443, "usage": {"completion_tokens": 71, "prompt_tokens": 2255, "total_tokens": 2326, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 527, "cached_tokens": 1190, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 527, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 527, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.156188333989121, "usage": {"completion_tokens": 539, "prompt_tokens": 2517, "total_tokens": 3056, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 357, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 262, "cached_tokens": 1717, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 262, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 262, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.235239541972987, "usage": {"completion_tokens": 198, "prompt_tokens": 3254, "total_tokens": 3452, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 33, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 737, "cached_tokens": 1979, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 737, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 737, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1648dd5a41c6a77dee9f97caedc396304587a2678815a26a4251b854d1aa40a7", "csv_sha256": "f42211bc91d18adfb958945a0ef644ebce95da50a7e2044f9b04cc3af00ecb49"} +{"instance_id": "bird434", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH first_tests AS (\n SELECT ID, MIN(\"Date\") AS first_test_date\n FROM Laboratory\n GROUP BY ID\n)\nSELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nJOIN first_tests AS f ON f.ID = p.ID\nJOIN Laboratory AS l ON l.ID = f.ID AND l.\"Date\" = f.first_test_date\nWHERE l.GOT < 60\n AND CAST(l.RNP AS REAL) > 10;\n```", "rows": 1, "sql": "WITH first_tests AS (\n SELECT ID, MIN(\"Date\") AS first_test_date\n FROM Laboratory\n GROUP BY ID\n)\nSELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nJOIN first_tests AS f ON f.ID = p.ID\nJOIN Laboratory AS l ON l.ID = f.ID AND l.\"Date\" = f.first_test_date\nWHERE l.GOT < 60\n AND CAST(l.RNP AS REAL) > 10;", "seconds": 20.187441874993965, "calls": [{"seconds": 2.4494129159720615, "usage": {"completion_tokens": 51, "prompt_tokens": 1728, "total_tokens": 1779, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1190, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1190, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1190, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9167364169843495, "usage": {"completion_tokens": 70, "prompt_tokens": 2102, "total_tokens": 2172, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 22, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1190, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.562105958932079, "usage": {"completion_tokens": 199, "prompt_tokens": 2349, "total_tokens": 2548, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 247, "cached_tokens": 1564, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 247, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 247, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.916634374996647, "usage": {"completion_tokens": 144, "prompt_tokens": 2789, "total_tokens": 2933, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 25, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 440, "cached_tokens": 1811, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 440, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 440, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.307085125008598, "usage": {"completion_tokens": 107, "prompt_tokens": 3059, "total_tokens": 3166, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 270, "cached_tokens": 2251, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 270, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 270, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8465944c3660ee00bc59bf20db9fe69d6c8dfeaf81cbf26a9bdb548b8921acf9", "csv_sha256": "c0e62aee90c49f0bf5519ac8f038c33ca775f6f228dba32a21955d051a8d5b7a"} +{"instance_id": "bird435", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH latest_proteinuria AS (\n SELECT ID, MAX(\"Date\") AS test_date\n FROM Laboratory\n WHERE \"U-PRO\" IS NOT NULL\n GROUP BY ID\n)\nSELECT p.ID AS patient_id,\n p.SEX AS sex,\n l.\"Date\" AS latest_proteinuria_test_date,\n l.\"U-PRO\" AS proteinuria_level\nFROM latest_proteinuria AS t\nJOIN Laboratory AS l ON l.ID = t.ID AND l.\"Date\" = t.test_date\nJOIN Patient AS p ON p.ID = t.ID\nWHERE l.\"U-PRO\" IS NOT NULL\nORDER BY p.ID;\n```", "rows": 295, "sql": "WITH latest_proteinuria AS (\n SELECT ID, MAX(\"Date\") AS test_date\n FROM Laboratory\n WHERE \"U-PRO\" IS NOT NULL\n GROUP BY ID\n)\nSELECT p.ID AS patient_id,\n p.SEX AS sex,\n l.\"Date\" AS latest_proteinuria_test_date,\n l.\"U-PRO\" AS proteinuria_level\nFROM latest_proteinuria AS t\nJOIN Laboratory AS l ON l.ID = t.ID AND l.\"Date\" = t.test_date\nJOIN Patient AS p ON p.ID = t.ID\nWHERE l.\"U-PRO\" IS NOT NULL\nORDER BY p.ID;", "seconds": 18.470898458966985, "calls": [{"seconds": 2.586553708068095, "usage": {"completion_tokens": 67, "prompt_tokens": 1685, "total_tokens": 1752, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1147, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1147, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1147, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.312798500061035, "usage": {"completion_tokens": 19, "prompt_tokens": 2170, "total_tokens": 2189, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1147, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.967348582926206, "usage": {"completion_tokens": 225, "prompt_tokens": 2211, "total_tokens": 2436, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 24, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 41, "cached_tokens": 1632, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 41, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 41, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.431033208034933, "usage": {"completion_tokens": 160, "prompt_tokens": 2693, "total_tokens": 2853, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 482, "cached_tokens": 1673, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 482, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 482, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.1223891250556335, "usage": {"completion_tokens": 142, "prompt_tokens": 3106, "total_tokens": 3248, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 413, "cached_tokens": 2155, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 413, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 413, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d4a229d7691ecf4a28739d9228b203a99e4fe7215aa3eef72848066ba699ddbd", "csv_sha256": "2d194c07e19c24d17013ea6b05b346b8afb7908967322c6d79a078a5c0502bd2"} +{"instance_id": "bird436", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT DISTINCT p.ID\nFROM Patient AS p\nJOIN Laboratory AS l ON l.ID = p.ID\nWHERE p.Admission = '-'\n AND l.CPK < 250\n AND CAST(l.RNP AS REAL) > 4;\n```", "rows": 7, "sql": "SELECT DISTINCT p.ID\nFROM Patient AS p\nJOIN Laboratory AS l ON l.ID = p.ID\nWHERE p.Admission = '-'\n AND l.CPK < 250\n AND CAST(l.RNP AS REAL) > 4;", "seconds": 19.78428670798894, "calls": [{"seconds": 3.0911443330114707, "usage": {"completion_tokens": 81, "prompt_tokens": 1685, "total_tokens": 1766, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1147, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1147, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1147, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8211825840407982, "usage": {"completion_tokens": 73, "prompt_tokens": 2212, "total_tokens": 2285, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 56, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 527, "cached_tokens": 1147, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 527, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 527, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.393578749964945, "usage": {"completion_tokens": 70, "prompt_tokens": 2307, "total_tokens": 2377, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 95, "cached_tokens": 1674, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 95, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 95, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.02671987505164, "usage": {"completion_tokens": 192, "prompt_tokens": 2575, "total_tokens": 2767, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 122, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 268, "cached_tokens": 1769, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 268, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 268, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4160768339643255, "usage": {"completion_tokens": 80, "prompt_tokens": 2869, "total_tokens": 2949, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 20, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 294, "cached_tokens": 2037, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 294, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 294, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "48f9950eff091b3cb36446ff302e73b3190be895de4144abc5d37d1b288a5098", "csv_sha256": "ae147403b87cf4d86a803547d995faa1a9c1de7b7f8c73147626ac6d1d8e1dcc"} +{"instance_id": "bird437", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT e.ID)\nFROM Examination AS e\nJOIN Laboratory AS l ON l.ID = e.ID\nWHERE CAST(l.RNP AS REAL) > 0\n AND e.Thrombosis = 0;\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT e.ID)\nFROM Examination AS e\nJOIN Laboratory AS l ON l.ID = e.ID\nWHERE CAST(l.RNP AS REAL) > 0\n AND e.Thrombosis = 0;", "seconds": 11.339298458071426, "calls": [{"seconds": 2.51035149989184, "usage": {"completion_tokens": 67, "prompt_tokens": 1654, "total_tokens": 1721, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1116, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1116, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1116, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.933944916003384, "usage": {"completion_tokens": 185, "prompt_tokens": 2139, "total_tokens": 2324, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 119, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1116, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8743206670042127, "usage": {"completion_tokens": 54, "prompt_tokens": 2401, "total_tokens": 2455, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 262, "cached_tokens": 1601, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 262, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 262, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "91f2a0c46eed5a024993cfa779b2f524d5cbce7416a74fd782f0bd7c2b44424b", "csv_sha256": "7c0c44ef4ce07b2d213aa33614b77ebcd977681bb07f33f51bc8225c0974490c"} +{"instance_id": "bird438", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH elevated_rnp AS (\n SELECT DISTINCT ID\n FROM Laboratory\n WHERE CAST(RNP AS REAL) >= 16\n), normal_gpt AS (\n SELECT l.ID, MAX(l.GPT) AS highest_normal_gpt\n FROM Laboratory AS l\n JOIN elevated_rnp AS e ON e.ID = l.ID\n WHERE l.GPT < 60\n GROUP BY l.ID\n)\nSELECT p.Birthday\nFROM normal_gpt AS g\nJOIN Patient AS p ON p.ID = g.ID\nORDER BY g.highest_normal_gpt DESC, g.ID ASC\nLIMIT 3;\n```", "rows": 3, "sql": "WITH elevated_rnp AS (\n SELECT DISTINCT ID\n FROM Laboratory\n WHERE CAST(RNP AS REAL) >= 16\n), normal_gpt AS (\n SELECT l.ID, MAX(l.GPT) AS highest_normal_gpt\n FROM Laboratory AS l\n JOIN elevated_rnp AS e ON e.ID = l.ID\n WHERE l.GPT < 60\n GROUP BY l.ID\n)\nSELECT p.Birthday\nFROM normal_gpt AS g\nJOIN Patient AS p ON p.ID = g.ID\nORDER BY g.highest_normal_gpt DESC, g.ID ASC\nLIMIT 3;", "seconds": 30.518122916924767, "calls": [{"seconds": 2.6734655420295894, "usage": {"completion_tokens": 81, "prompt_tokens": 1741, "total_tokens": 1822, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1203, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1203, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1203, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.706012083101086, "usage": {"completion_tokens": 304, "prompt_tokens": 2268, "total_tokens": 2572, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 255, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 527, "cached_tokens": 1203, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 527, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 527, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.674849292030558, "usage": {"completion_tokens": 229, "prompt_tokens": 2667, "total_tokens": 2896, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 143, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 399, "cached_tokens": 1730, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 399, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 399, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.316733332932927, "usage": {"completion_tokens": 256, "prompt_tokens": 3007, "total_tokens": 3263, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 108, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 340, "cached_tokens": 2129, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 340, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 340, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.103571792016737, "usage": {"completion_tokens": 134, "prompt_tokens": 3430, "total_tokens": 3564, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 423, "cached_tokens": 2469, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 423, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 423, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d18181d68cffaea5e165d46f82b17fd8dd4be208855d7b158cae305443e5e917", "csv_sha256": "f75735197b3e0ea351882d7668bf34db433d98c7322e9b6675ef8028d9b7a052"} +{"instance_id": "bird439", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT p.ID) AS female_patient_count\nFROM Patient AS p\nJOIN Laboratory AS l ON l.ID = p.ID\nWHERE p.SEX = 'F'\n AND l.PT < 14\n AND CAST(l.RNP AS REAL) >= 16;\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT p.ID) AS female_patient_count\nFROM Patient AS p\nJOIN Laboratory AS l ON l.ID = p.ID\nWHERE p.SEX = 'F'\n AND l.PT < 14\n AND CAST(l.RNP AS REAL) >= 16;", "seconds": 14.882850583991967, "calls": [{"seconds": 2.578296334017068, "usage": {"completion_tokens": 67, "prompt_tokens": 1697, "total_tokens": 1764, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1159, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1159, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1159, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.061196208000183, "usage": {"completion_tokens": 130, "prompt_tokens": 2182, "total_tokens": 2312, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 28, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1159, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.65242345794104, "usage": {"completion_tokens": 126, "prompt_tokens": 2497, "total_tokens": 2623, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 47, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 315, "cached_tokens": 1644, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 315, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 315, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5489619999425486, "usage": {"completion_tokens": 93, "prompt_tokens": 2710, "total_tokens": 2803, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 24, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 213, "cached_tokens": 1959, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 213, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 213, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "109513d07b847b0b5f21f55f8796320fed9d0f8aa2384b5713f6a778004717a4", "csv_sha256": "2d6439fd3c8e07ae9e9e3ca0d1c5e68379dafada8324af82f58cc1ee5afc11f5"} +{"instance_id": "bird440", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n CAST(strftime('%Y', l.Date) AS INTEGER)\n - CAST(strftime('%Y', p.Birthday) AS INTEGER)\n - (strftime('%m-%d', l.Date) < strftime('%m-%d', p.Birthday)) AS age,\n p.Diagnosis AS diagnosis\nFROM Laboratory AS l\nJOIN Patient AS p ON p.ID = l.ID\nWHERE p.Admission = '+'\n AND l.DNA IS NOT NULL\nORDER BY CAST(l.DNA AS REAL) DESC, l.Date ASC, l.ID ASC\nLIMIT 1;\n```", "rows": 1, "sql": "SELECT\n CAST(strftime('%Y', l.Date) AS INTEGER)\n - CAST(strftime('%Y', p.Birthday) AS INTEGER)\n - (strftime('%m-%d', l.Date) < strftime('%m-%d', p.Birthday)) AS age,\n p.Diagnosis AS diagnosis\nFROM Laboratory AS l\nJOIN Patient AS p ON p.ID = l.ID\nWHERE p.Admission = '+'\n AND l.DNA IS NOT NULL\nORDER BY CAST(l.DNA AS REAL) DESC, l.Date ASC, l.ID ASC\nLIMIT 1;", "seconds": 23.885031249956228, "calls": [{"seconds": 2.5071136669721454, "usage": {"completion_tokens": 67, "prompt_tokens": 1710, "total_tokens": 1777, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1172, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1172, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1172, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.802856291993521, "usage": {"completion_tokens": 190, "prompt_tokens": 2195, "total_tokens": 2385, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 89, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1172, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.3146088749635965, "usage": {"completion_tokens": 269, "prompt_tokens": 2858, "total_tokens": 3127, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 88, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 663, "cached_tokens": 1657, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 663, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 663, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.335999374976382, "usage": {"completion_tokens": 145, "prompt_tokens": 3284, "total_tokens": 3429, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 426, "cached_tokens": 2320, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 426, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 426, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8784642500104383, "usage": {"completion_tokens": 144, "prompt_tokens": 3578, "total_tokens": 3722, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 14, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 294, "cached_tokens": 2746, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 294, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 294, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a9d4ca85a5093099fa4f9522e8c8b0a9eef4505849caa493689474f6f13fc449", "csv_sha256": "c7c5568829cfa6f95416178e088209ad728de25ba387a7d82141d48510c64cb2"} +{"instance_id": "bird441", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE diagnosis_parts(ID, SEX, diagnosis, remaining) AS (\n SELECT p.ID, p.SEX, '',\n REPLACE(REPLACE(UPPER(p.Diagnosis), CHAR(29), ','), ' ', ',') || ','\n FROM Patient AS p\n WHERE EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID AND l.\"T-BIL\" >= 1.2\n )\n UNION ALL\n SELECT ID, SEX,\n TRIM(SUBSTR(remaining, 1, INSTR(remaining, ',') - 1)),\n SUBSTR(remaining, INSTR(remaining, ',') + 1)\n FROM diagnosis_parts\n WHERE remaining <> ''\n)\nSELECT DISTINCT ID, SEX\nFROM diagnosis_parts\nWHERE diagnosis IN ('SLE', 'SLE (DIFFUSE LE)')\nORDER BY SEX, ID;\n```", "rows": 14, "sql": "WITH RECURSIVE diagnosis_parts(ID, SEX, diagnosis, remaining) AS (\n SELECT p.ID, p.SEX, '',\n REPLACE(REPLACE(UPPER(p.Diagnosis), CHAR(29), ','), ' ', ',') || ','\n FROM Patient AS p\n WHERE EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID AND l.\"T-BIL\" >= 1.2\n )\n UNION ALL\n SELECT ID, SEX,\n TRIM(SUBSTR(remaining, 1, INSTR(remaining, ',') - 1)),\n SUBSTR(remaining, INSTR(remaining, ',') + 1)\n FROM diagnosis_parts\n WHERE remaining <> ''\n)\nSELECT DISTINCT ID, SEX\nFROM diagnosis_parts\nWHERE diagnosis IN ('SLE', 'SLE (DIFFUSE LE)')\nORDER BY SEX, ID;", "seconds": 41.47536645899527, "calls": [{"seconds": 2.4036000419873744, "usage": {"completion_tokens": 67, "prompt_tokens": 1754, "total_tokens": 1821, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1216, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1216, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1216, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.372097000014037, "usage": {"completion_tokens": 67, "prompt_tokens": 2239, "total_tokens": 2306, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 19, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1216, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.82516991707962, "usage": {"completion_tokens": 180, "prompt_tokens": 2619, "total_tokens": 2799, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 132, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 380, "cached_tokens": 1701, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 380, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 380, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.134500290965661, "usage": {"completion_tokens": 431, "prompt_tokens": 3589, "total_tokens": 4020, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 386, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 970, "cached_tokens": 2081, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 970, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 970, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.26508520799689, "usage": {"completion_tokens": 553, "prompt_tokens": 4088, "total_tokens": 4641, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 327, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 499, "cached_tokens": 3051, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 499, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 499, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.426194040919654, "usage": {"completion_tokens": 360, "prompt_tokens": 4942, "total_tokens": 5302, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 160, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 854, "cached_tokens": 3550, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 854, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 854, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "75ccd1c11205c3e0faf16c78bcd39739c3e01de9be84179c3e4faa099166770f", "csv_sha256": "bdd0de89c13bfe36d7e9cae9e52b6a9e3a8102ad7266b06f15ecfe85ddce4457"} +{"instance_id": "bird442", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH care_settings(admission_marker, care_setting) AS (\n VALUES ('+', 'admitted to the hospital'),\n ('-', 'followed at the outpatient clinic')\n), eligible_patients AS (\n SELECT DISTINCT p.ID, p.Admission,\n EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND CAST(l.RNP AS REAL) >= 4\n ) AS has_elevated_rnp\n FROM Patient AS p\n WHERE p.SEX = 'F'\n AND DATE(p.Birthday) <= DATE('2026-10-09', '-50 years')\n AND p.Admission IN ('+', '-')\n)\nSELECT s.care_setting,\n COUNT(CASE WHEN p.has_elevated_rnp = 1 THEN 1 END) AS patients_with_anti_rnp_at_least_4,\n COUNT(CASE WHEN p.has_elevated_rnp = 0 THEN 1 END) AS patients_with_no_anti_rnp_at_least_4\nFROM care_settings AS s\nLEFT JOIN eligible_patients AS p ON p.Admission = s.admission_marker\nGROUP BY s.care_setting\nORDER BY s.care_setting;\n```", "rows": 2, "sql": "WITH care_settings(admission_marker, care_setting) AS (\n VALUES ('+', 'admitted to the hospital'),\n ('-', 'followed at the outpatient clinic')\n), eligible_patients AS (\n SELECT DISTINCT p.ID, p.Admission,\n EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND CAST(l.RNP AS REAL) >= 4\n ) AS has_elevated_rnp\n FROM Patient AS p\n WHERE p.SEX = 'F'\n AND DATE(p.Birthday) <= DATE('2026-10-09', '-50 years')\n AND p.Admission IN ('+', '-')\n)\nSELECT s.care_setting,\n COUNT(CASE WHEN p.has_elevated_rnp = 1 THEN 1 END) AS patients_with_anti_rnp_at_least_4,\n COUNT(CASE WHEN p.has_elevated_rnp = 0 THEN 1 END) AS patients_with_no_anti_rnp_at_least_4\nFROM care_settings AS s\nLEFT JOIN eligible_patients AS p ON p.Admission = s.admission_marker\nGROUP BY s.care_setting\nORDER BY s.care_setting;", "seconds": 19.994190791039728, "calls": [{"seconds": 2.4541491250274703, "usage": {"completion_tokens": 51, "prompt_tokens": 1761, "total_tokens": 1812, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1223, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1223, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1223, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.503737458027899, "usage": {"completion_tokens": 236, "prompt_tokens": 2135, "total_tokens": 2371, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 80, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1223, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.706762874964625, "usage": {"completion_tokens": 334, "prompt_tokens": 2857, "total_tokens": 3191, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 48, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 722, "cached_tokens": 1597, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 722, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 722, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.290266541996971, "usage": {"completion_tokens": 260, "prompt_tokens": 3522, "total_tokens": 3782, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 665, "cached_tokens": 2319, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 665, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 665, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "115c3c6048eee58ab7f7c0e90c7c89bad964aa8688a5ef8c8e64f87e7fa546ea", "csv_sha256": "3390be557054895dfbb927b703ca6237b3937cc0d4ccd7acb4ee30b89b9aa186"} +{"instance_id": "bird443", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH ranked_igg AS (\n SELECT ID, IGG,\n ROW_NUMBER() OVER (PARTITION BY ID ORDER BY \"Date\" DESC) AS rn\n FROM Laboratory\n WHERE IGG IS NOT NULL\n)\nSELECT COUNT(*) AS patient_count\nFROM ranked_igg AS l\nWHERE l.rn = 1\n AND l.IGG >= 2000\n AND EXISTS (\n SELECT 1\n FROM Patient AS p\n WHERE p.ID = l.ID AND p.Admission = '-'\n );\n```", "rows": 1, "sql": "WITH ranked_igg AS (\n SELECT ID, IGG,\n ROW_NUMBER() OVER (PARTITION BY ID ORDER BY \"Date\" DESC) AS rn\n FROM Laboratory\n WHERE IGG IS NOT NULL\n)\nSELECT COUNT(*) AS patient_count\nFROM ranked_igg AS l\nWHERE l.rn = 1\n AND l.IGG >= 2000\n AND EXISTS (\n SELECT 1\n FROM Patient AS p\n WHERE p.ID = l.ID AND p.Admission = '-'\n );", "seconds": 13.587301124935038, "calls": [{"seconds": 2.553289792034775, "usage": {"completion_tokens": 51, "prompt_tokens": 1662, "total_tokens": 1713, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1124, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1124, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1124, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.432681292062625, "usage": {"completion_tokens": 266, "prompt_tokens": 2036, "total_tokens": 2302, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 132, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1124, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5696970829740167, "usage": {"completion_tokens": 118, "prompt_tokens": 2439, "total_tokens": 2557, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 403, "cached_tokens": 1498, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 403, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 403, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "592d889d166d3e94f79c44e15c95aa1b410b462c03bac64fa593ba27a3e11270", "csv_sha256": "12f32d62131d6d4bcbd206ac8453c2259220c0470d5adcdc86a6d85ee452a52d"} +{"instance_id": "bird444", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH sle_results AS (\n SELECT p.ID, p.Diagnosis, l.DNA,\n CAST(l.DNA AS REAL) AS dna_value\n FROM Patient AS p\n JOIN Laboratory AS l ON l.ID = p.ID\n WHERE p.Diagnosis LIKE '%SLE%'\n AND p.Diagnosis NOT LIKE '%SLE susp%'\n AND l.DNA IS NOT NULL\n)\nSELECT ID, Diagnosis, MIN(DNA) AS highest_anti_dna\nFROM sle_results\nWHERE dna_value = (SELECT MAX(dna_value) FROM sle_results)\nGROUP BY ID, Diagnosis\nORDER BY ID;\n```", "rows": 1, "sql": "WITH sle_results AS (\n SELECT p.ID, p.Diagnosis, l.DNA,\n CAST(l.DNA AS REAL) AS dna_value\n FROM Patient AS p\n JOIN Laboratory AS l ON l.ID = p.ID\n WHERE p.Diagnosis LIKE '%SLE%'\n AND p.Diagnosis NOT LIKE '%SLE susp%'\n AND l.DNA IS NOT NULL\n)\nSELECT ID, Diagnosis, MIN(DNA) AS highest_anti_dna\nFROM sle_results\nWHERE dna_value = (SELECT MAX(dna_value) FROM sle_results)\nGROUP BY ID, Diagnosis\nORDER BY ID;", "seconds": 26.71862175001297, "calls": [{"seconds": 2.8034403750207275, "usage": {"completion_tokens": 81, "prompt_tokens": 1700, "total_tokens": 1781, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1162, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1162, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1162, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.611454749945551, "usage": {"completion_tokens": 262, "prompt_tokens": 2227, "total_tokens": 2489, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 39, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 527, "cached_tokens": 1162, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 527, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 527, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.624545666971244, "usage": {"completion_tokens": 187, "prompt_tokens": 3449, "total_tokens": 3636, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1222, "cached_tokens": 1689, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1222, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1222, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.901353167020716, "usage": {"completion_tokens": 402, "prompt_tokens": 4031, "total_tokens": 4433, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 247, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 582, "cached_tokens": 2911, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 582, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 582, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7323632079642266, "usage": {"completion_tokens": 136, "prompt_tokens": 4607, "total_tokens": 4743, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 576, "cached_tokens": 3493, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 576, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 576, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "54935e5af4c450a545b2b2147f1b94351956edbd556fe3feeae2423c4a8cd503", "csv_sha256": "3b28b4b12c113c7c598733b1b7ab0a9020f326ec15e4d4eec11d40eadca37cbb"} +{"instance_id": "bird445", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH ranked_igg AS (\n SELECT ID, IGG,\n ROW_NUMBER() OVER (PARTITION BY ID ORDER BY \"Date\" DESC) AS rn\n FROM Laboratory\n WHERE IGG IS NOT NULL\n)\nSELECT CASE p.Admission\n WHEN '+' THEN 'admitted to the hospital'\n WHEN '-' THEN 'followed at the outpatient clinic'\n END AS care_setting,\n ROUND(100.0 * COUNT(CASE WHEN i.IGG > 900 AND i.IGG < 2000 THEN 1 END)\n / COUNT(*), 1) AS percentage\nFROM Patient AS p\nLEFT JOIN ranked_igg AS i ON i.ID = p.ID AND i.rn = 1\nWHERE p.Admission IN ('+', '-')\nGROUP BY p.Admission\nORDER BY p.Admission;\n```", "rows": 2, "sql": "WITH ranked_igg AS (\n SELECT ID, IGG,\n ROW_NUMBER() OVER (PARTITION BY ID ORDER BY \"Date\" DESC) AS rn\n FROM Laboratory\n WHERE IGG IS NOT NULL\n)\nSELECT CASE p.Admission\n WHEN '+' THEN 'admitted to the hospital'\n WHEN '-' THEN 'followed at the outpatient clinic'\n END AS care_setting,\n ROUND(100.0 * COUNT(CASE WHEN i.IGG > 900 AND i.IGG < 2000 THEN 1 END)\n / COUNT(*), 1) AS percentage\nFROM Patient AS p\nLEFT JOIN ranked_igg AS i ON i.ID = p.ID AND i.rn = 1\nWHERE p.Admission IN ('+', '-')\nGROUP BY p.Admission\nORDER BY p.Admission;", "seconds": 25.054357415996492, "calls": [{"seconds": 2.3963034170446917, "usage": {"completion_tokens": 67, "prompt_tokens": 1736, "total_tokens": 1803, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1198, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1198, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1198, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.91887312498875, "usage": {"completion_tokens": 293, "prompt_tokens": 2221, "total_tokens": 2514, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 89, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1198, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.530965541023761, "usage": {"completion_tokens": 445, "prompt_tokens": 2827, "total_tokens": 3272, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 247, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 606, "cached_tokens": 1683, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 606, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 606, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.158415165962651, "usage": {"completion_tokens": 179, "prompt_tokens": 3495, "total_tokens": 3674, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 668, "cached_tokens": 2289, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 668, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 668, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d7138d69b5873b6a1a7b6c3348126faef85c0ee1ee2a38ab10aebd7d96dd96a5", "csv_sha256": "a5f45c8ef6179094ea3cbc57f6a17480391297a169ebb74e879abe1040a5c03c"} +{"instance_id": "bird446", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH latest_visit AS (\n SELECT ID, MAX(\"Date\") AS visit_date\n FROM Laboratory\n GROUP BY ID\n)\nSELECT COUNT(DISTINCT CASE WHEN p.SEX = 'F' THEN p.ID END)\n - COUNT(DISTINCT CASE WHEN p.SEX = 'M' THEN p.ID END) AS female_minus_male\nFROM latest_visit AS v\nJOIN Laboratory AS l ON l.ID = v.ID AND l.\"Date\" = v.visit_date\nJOIN Patient AS p ON p.ID = v.ID\nWHERE CAST(l.RNP AS REAL) >= 32;\n```", "rows": 1, "sql": "WITH latest_visit AS (\n SELECT ID, MAX(\"Date\") AS visit_date\n FROM Laboratory\n GROUP BY ID\n)\nSELECT COUNT(DISTINCT CASE WHEN p.SEX = 'F' THEN p.ID END)\n - COUNT(DISTINCT CASE WHEN p.SEX = 'M' THEN p.ID END) AS female_minus_male\nFROM latest_visit AS v\nJOIN Laboratory AS l ON l.ID = v.ID AND l.\"Date\" = v.visit_date\nJOIN Patient AS p ON p.ID = v.ID\nWHERE CAST(l.RNP AS REAL) >= 32;", "seconds": 18.94858737499453, "calls": [{"seconds": 2.7439129159320146, "usage": {"completion_tokens": 67, "prompt_tokens": 1730, "total_tokens": 1797, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1192, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1192, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1192, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.4402637500315905, "usage": {"completion_tokens": 41, "prompt_tokens": 2215, "total_tokens": 2256, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1192, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.823485250002705, "usage": {"completion_tokens": 148, "prompt_tokens": 2351, "total_tokens": 2499, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 136, "cached_tokens": 1677, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 136, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 136, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.097669707960449, "usage": {"completion_tokens": 185, "prompt_tokens": 2704, "total_tokens": 2889, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 43, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 353, "cached_tokens": 1813, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 353, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 353, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.794374749995768, "usage": {"completion_tokens": 129, "prompt_tokens": 3039, "total_tokens": 3168, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 335, "cached_tokens": 2166, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 335, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 335, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "4d8d01e691e81309cd0161145dec7bf5fbb8298bb226650fdb7f3156561e9020", "csv_sha256": "e292e0051c01176b3c146bbb4c8df41d6a04fa3540cbab54e70770bc04d819b3"} +{"instance_id": "bird447", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH ranked_measurements AS (\n SELECT l.RNP, l.CPK,\n ROW_NUMBER() OVER (PARTITION BY l.ID ORDER BY l.Date DESC) AS rn\n FROM Laboratory AS l\n JOIN Patient AS p ON p.ID = l.ID\n WHERE p.SEX = 'F' AND l.RNP IS NOT NULL\n)\nSELECT COUNT(*) AS patient_count\nFROM ranked_measurements\nWHERE rn = 1\n AND CAST(RNP AS INTEGER) > 64\n AND CPK < 250;\n```", "rows": 1, "sql": "WITH ranked_measurements AS (\n SELECT l.RNP, l.CPK,\n ROW_NUMBER() OVER (PARTITION BY l.ID ORDER BY l.Date DESC) AS rn\n FROM Laboratory AS l\n JOIN Patient AS p ON p.ID = l.ID\n WHERE p.SEX = 'F' AND l.RNP IS NOT NULL\n)\nSELECT COUNT(*) AS patient_count\nFROM ranked_measurements\nWHERE rn = 1\n AND CAST(RNP AS INTEGER) > 64\n AND CPK < 250;", "seconds": 18.029756416915916, "calls": [{"seconds": 2.5551497499691322, "usage": {"completion_tokens": 51, "prompt_tokens": 1718, "total_tokens": 1769, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1180, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1180, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1180, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.023070583003573, "usage": {"completion_tokens": 254, "prompt_tokens": 2092, "total_tokens": 2346, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1180, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.533371625002474, "usage": {"completion_tokens": 206, "prompt_tokens": 2798, "total_tokens": 3004, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 74, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 706, "cached_tokens": 1554, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 706, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 706, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8733887909911573, "usage": {"completion_tokens": 118, "prompt_tokens": 3141, "total_tokens": 3259, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 343, "cached_tokens": 2260, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 343, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 343, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "50e305a9ec8d63630e4f2d47a75ed8d446b999f9ef1aba82cf87b508e579d5e4", "csv_sha256": "e6a346f080feb22ab5c9ef16688613086ef0744aa770335a912126807dcf0b52"} +{"instance_id": "bird448", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH care_profiles AS (\n SELECT Admission,\n ' ' || UPPER(REPLACE(REPLACE(Diagnosis, ',', ' '), CHAR(29), ' ')) || ' ' AS diagnosis_text\n FROM Patient\n WHERE Admission IN ('+', '-')\n),\nconfirmed_sle AS (\n SELECT Admission\n FROM care_profiles\n WHERE INSTR(REPLACE(diagnosis_text, ' SLE SUSP ', ' '), ' SLE ') > 0\n)\nSELECT COUNT(*) FILTER (WHERE Admission = '+') AS inpatient_count,\n COUNT(*) FILTER (WHERE Admission = '-') AS outpatient_count,\n ROUND(100.0 * COUNT(*) FILTER (WHERE Admission = '+') / NULLIF(COUNT(*), 0), 2) AS inpatient_percentage\nFROM confirmed_sle;\n```", "rows": 1, "sql": "WITH care_profiles AS (\n SELECT Admission,\n ' ' || UPPER(REPLACE(REPLACE(Diagnosis, ',', ' '), CHAR(29), ' ')) || ' ' AS diagnosis_text\n FROM Patient\n WHERE Admission IN ('+', '-')\n),\nconfirmed_sle AS (\n SELECT Admission\n FROM care_profiles\n WHERE INSTR(REPLACE(diagnosis_text, ' SLE SUSP ', ' '), ' SLE ') > 0\n)\nSELECT COUNT(*) FILTER (WHERE Admission = '+') AS inpatient_count,\n COUNT(*) FILTER (WHERE Admission = '-') AS outpatient_count,\n ROUND(100.0 * COUNT(*) FILTER (WHERE Admission = '+') / NULLIF(COUNT(*), 0), 2) AS inpatient_percentage\nFROM confirmed_sle;", "seconds": 32.07438975002151, "calls": [{"seconds": 2.031264790915884, "usage": {"completion_tokens": 19, "prompt_tokens": 1719, "total_tokens": 1738, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1181, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1181, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1181, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0685178749263287, "usage": {"completion_tokens": 45, "prompt_tokens": 1791, "total_tokens": 1836, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 72, "cached_tokens": 1181, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 72, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 72, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.767786124954, "usage": {"completion_tokens": 67, "prompt_tokens": 2331, "total_tokens": 2398, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 540, "cached_tokens": 1253, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 540, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 540, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.232054791995324, "usage": {"completion_tokens": 298, "prompt_tokens": 3213, "total_tokens": 3511, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 248, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 882, "cached_tokens": 1793, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 882, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 882, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.807424957980402, "usage": {"completion_tokens": 444, "prompt_tokens": 3591, "total_tokens": 4035, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 256, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 378, "cached_tokens": 2675, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 378, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 378, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.133198374998756, "usage": {"completion_tokens": 170, "prompt_tokens": 4243, "total_tokens": 4413, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 652, "cached_tokens": 3053, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 652, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 652, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "72fea43ec7eae1d18c9172faaba32f3df90c3fc62818f06f2d3ab96f5ebebfd7", "csv_sha256": "7d7d2d56e01196c5b1d80ce45cb8a8ff9b53d3da10a18d64bc75ca8ca133cf4e"} +{"instance_id": "bird450", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT p.SEX AS sex, COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE p.SEX IN ('F', 'M')\n AND NOT EXISTS (\n SELECT 1\n FROM Examination AS e\n WHERE e.ID = p.ID\n )\nGROUP BY p.SEX\nORDER BY p.SEX;\n```", "rows": 2, "sql": "SELECT p.SEX AS sex, COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE p.SEX IN ('F', 'M')\n AND NOT EXISTS (\n SELECT 1\n FROM Examination AS e\n WHERE e.ID = p.ID\n )\nGROUP BY p.SEX\nORDER BY p.SEX;", "seconds": 10.538347749970853, "calls": [{"seconds": 2.6931752499658614, "usage": {"completion_tokens": 51, "prompt_tokens": 1668, "total_tokens": 1719, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1130, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1130, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1130, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.1718435840448365, "usage": {"completion_tokens": 145, "prompt_tokens": 1867, "total_tokens": 2012, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 49, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 199, "cached_tokens": 1130, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 199, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 199, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6432613750221208, "usage": {"completion_tokens": 80, "prompt_tokens": 2123, "total_tokens": 2203, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 256, "cached_tokens": 1329, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 256, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 256, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "363b547f9f82f1f8d5a99695e0b3722905901859fa96236ff039c72e14f346c3", "csv_sha256": "95073a5e20f33856b7a3974b9b8b96c62b0f5601da8f3e976397b5ee846eb4ca"} +{"instance_id": "bird452", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT e.\"Symptoms\", p.\"Diagnosis\" AS \"Overall Diagnosis\"\nFROM \"Examination\" AS e\nJOIN \"Patient\" AS p ON p.\"ID\" = e.\"ID\"\nWHERE NULLIF(TRIM(e.\"Symptoms\"), '') IS NOT NULL\n AND INSTR(\n ',' || REPLACE(REPLACE(REPLACE(UPPER(e.\"Diagnosis\"), ' ', ''), '+', ','), '->', ',') || ',',\n ',SLE,'\n ) > 0\nORDER BY p.\"Birthday\" DESC, p.\"ID\" ASC, e.\"Examination Date\" DESC\nLIMIT 1;\n```", "rows": 1, "sql": "SELECT e.\"Symptoms\", p.\"Diagnosis\" AS \"Overall Diagnosis\"\nFROM \"Examination\" AS e\nJOIN \"Patient\" AS p ON p.\"ID\" = e.\"ID\"\nWHERE NULLIF(TRIM(e.\"Symptoms\"), '') IS NOT NULL\n AND INSTR(\n ',' || REPLACE(REPLACE(REPLACE(UPPER(e.\"Diagnosis\"), ' ', ''), '+', ','), '->', ',') || ',',\n ',SLE,'\n ) > 0\nORDER BY p.\"Birthday\" DESC, p.\"ID\" ASC, e.\"Examination Date\" DESC\nLIMIT 1;", "seconds": 28.902418332989328, "calls": [{"seconds": 2.658845957950689, "usage": {"completion_tokens": 51, "prompt_tokens": 1730, "total_tokens": 1781, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1192, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1192, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1192, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.580609166994691, "usage": {"completion_tokens": 36, "prompt_tokens": 1929, "total_tokens": 1965, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 199, "cached_tokens": 1192, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 199, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 199, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 13.08019654196687, "usage": {"completion_tokens": 518, "prompt_tokens": 2232, "total_tokens": 2750, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 363, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 303, "cached_tokens": 1391, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 303, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 303, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.545681582996622, "usage": {"completion_tokens": 229, "prompt_tokens": 2987, "total_tokens": 3216, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 77, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 755, "cached_tokens": 1694, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 755, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 755, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.005418249987997, "usage": {"completion_tokens": 135, "prompt_tokens": 3374, "total_tokens": 3509, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 387, "cached_tokens": 2449, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 387, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 387, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "52e85a539cc8950894c038edc8a2d5eb0b79688e720e177c7779d292078e4160", "csv_sha256": "0f56ec5aa2e2a2c20201e1fddd4414bf4236acf40b791f59d40f1667528806fc"} +{"instance_id": "bird453", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT \"Diagnosis\"\nFROM \"Patient\"\nWHERE \"First Date\" >= '1998-02-15'\n AND \"First Date\" < '1998-03-01'\n AND \"Admission\" LIKE '+%'\nORDER BY julianday(\"First Date\") - julianday(\"Birthday\") DESC, \"ID\" ASC\nLIMIT 1;\n```", "rows": 1, "sql": "SELECT \"Diagnosis\"\nFROM \"Patient\"\nWHERE \"First Date\" >= '1998-02-15'\n AND \"First Date\" < '1998-03-01'\n AND \"Admission\" LIKE '+%'\nORDER BY julianday(\"First Date\") - julianday(\"Birthday\") DESC, \"ID\" ASC\nLIMIT 1;", "seconds": 16.96706129203085, "calls": [{"seconds": 2.4558210839750245, "usage": {"completion_tokens": 19, "prompt_tokens": 1696, "total_tokens": 1715, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1158, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1158, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1158, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8792003749404103, "usage": {"completion_tokens": 52, "prompt_tokens": 1768, "total_tokens": 1820, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 72, "cached_tokens": 1158, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 72, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 72, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.388607000000775, "usage": {"completion_tokens": 162, "prompt_tokens": 1977, "total_tokens": 2139, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 62, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 209, "cached_tokens": 1230, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 209, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 209, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1925456249155104, "usage": {"completion_tokens": 93, "prompt_tokens": 2342, "total_tokens": 2435, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 365, "cached_tokens": 1439, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 365, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 365, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0205299160443246, "usage": {"completion_tokens": 78, "prompt_tokens": 2530, "total_tokens": 2608, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 188, "cached_tokens": 1804, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 188, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 188, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "73bb511ad6b7485ef5f0eea0d00f5a2fffd2a2450d2f0469662cb6c5a3f9e556", "csv_sha256": "898f9011789a2577cceffd1d3220c81141a8253133aa5503a6ce5cecd3713696"} +{"instance_id": "bird454", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(\"aCL IgM\"), 1) AS average_acl_igm\nFROM \"Examination\"\nWHERE \"Examination Date\" >= '1993-10-01'\n AND \"Examination Date\" < '1993-11-01'\n AND INSTR(',' || REPLACE(\"Diagnosis\", ' ', '') || ',', ',SLE,') > 0;\n```", "rows": 1, "sql": "SELECT ROUND(AVG(\"aCL IgM\"), 1) AS average_acl_igm\nFROM \"Examination\"\nWHERE \"Examination Date\" >= '1993-10-01'\n AND \"Examination Date\" < '1993-11-01'\n AND INSTR(',' || REPLACE(\"Diagnosis\", ' ', '') || ',', ',SLE,') > 0;", "seconds": 14.92602758295834, "calls": [{"seconds": 2.4335975410649553, "usage": {"completion_tokens": 67, "prompt_tokens": 1680, "total_tokens": 1747, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1142, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1142, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1142, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8772362919989973, "usage": {"completion_tokens": 69, "prompt_tokens": 2165, "total_tokens": 2234, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1142, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.215191208990291, "usage": {"completion_tokens": 236, "prompt_tokens": 2330, "total_tokens": 2566, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 132, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 165, "cached_tokens": 1627, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 165, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 165, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.37376258301083, "usage": {"completion_tokens": 88, "prompt_tokens": 2676, "total_tokens": 2764, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 346, "cached_tokens": 1792, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 346, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 346, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2a1191d77a42e292c2484c6fe10f62dcb8767f6230736181f1ff0ab2be9b3826", "csv_sha256": "be3d50be5eb609b586dece7a08b27b836d4776c623a2178e1ec004e0afa4c6f3"} +{"instance_id": "bird455", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT ID) AS patient_count\nFROM Patient\nWHERE Diagnosis COLLATE NOCASE = 'psoriatic arthritis';\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT ID) AS patient_count\nFROM Patient\nWHERE Diagnosis COLLATE NOCASE = 'psoriatic arthritis';", "seconds": 17.07389462494757, "calls": [{"seconds": 2.072880499996245, "usage": {"completion_tokens": 15, "prompt_tokens": 1658, "total_tokens": 1673, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1120, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1120, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1120, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.0866894169012085, "usage": {"completion_tokens": 19, "prompt_tokens": 1695, "total_tokens": 1714, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 37, "cached_tokens": 1120, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 37, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 37, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.51892741699703, "usage": {"completion_tokens": 131, "prompt_tokens": 1767, "total_tokens": 1898, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 85, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 72, "cached_tokens": 1157, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 72, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 72, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.247543708072044, "usage": {"completion_tokens": 58, "prompt_tokens": 2334, "total_tokens": 2392, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 567, "cached_tokens": 1229, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 567, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 567, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.6304756669560447, "usage": {"completion_tokens": 44, "prompt_tokens": 2480, "total_tokens": 2524, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 146, "cached_tokens": 1796, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 146, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 146, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.480602249968797, "usage": {"completion_tokens": 35, "prompt_tokens": 2578, "total_tokens": 2613, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 98, "cached_tokens": 1942, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 98, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 98, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8cf97a80282ace1f0e750940c42607dc6210efb16a1d2cb584243b8abde473cd", "csv_sha256": "e6a346f080feb22ab5c9ef16688613086ef0744aa770335a912126807dcf0b52"} +{"instance_id": "bird456", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH sexes(code, sex) AS (\n VALUES ('M', 'Male'), ('F', 'Female')\n)\nSELECT s.sex,\n (\n SELECT COUNT(DISTINCT p.ID)\n FROM Patient AS p\n WHERE p.SEX = s.code\n AND NOT EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID AND l.GPT >= 60\n )\n ) AS patient_count\nFROM sexes AS s\nORDER BY s.code DESC;\n```", "rows": 2, "sql": "WITH sexes(code, sex) AS (\n VALUES ('M', 'Male'), ('F', 'Female')\n)\nSELECT s.sex,\n (\n SELECT COUNT(DISTINCT p.ID)\n FROM Patient AS p\n WHERE p.SEX = s.code\n AND NOT EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID AND l.GPT >= 60\n )\n ) AS patient_count\nFROM sexes AS s\nORDER BY s.code DESC;", "seconds": 13.27721524995286, "calls": [{"seconds": 2.3387979170074686, "usage": {"completion_tokens": 51, "prompt_tokens": 1705, "total_tokens": 1756, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1167, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1167, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1167, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.7206844160100445, "usage": {"completion_tokens": 34, "prompt_tokens": 2079, "total_tokens": 2113, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1167, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.78762095910497, "usage": {"completion_tokens": 185, "prompt_tokens": 2174, "total_tokens": 2359, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 53, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 95, "cached_tokens": 1541, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 95, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 95, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.394208375015296, "usage": {"completion_tokens": 111, "prompt_tokens": 2501, "total_tokens": 2612, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 327, "cached_tokens": 1636, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 327, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 327, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "aca1132f68a62521398598c844d0616ae9cac3ead38cabe69a9957db6e345bd6", "csv_sha256": "e6c30e1e1a424b3811a79dba5751ca5a0dc5e84a871fedaafc76a649c202c363"} +{"instance_id": "bird457", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH care_settings(admission) AS (\n VALUES ('+'), ('-')\n), qualifying_patients AS (\n SELECT p.ID,\n p.Admission,\n 2026 - CAST(strftime('%Y', p.Birthday) AS INTEGER)\n - (strftime('%m-%d', p.Birthday) > '10-09') AS completed_age\n FROM Patient AS p\n WHERE EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID AND l.RBC < 3.5\n )\n)\nSELECT s.admission AS care_setting,\n COUNT(p.ID) AS patient_count,\n ROUND(AVG(p.completed_age), 1) AS average_completed_age\nFROM care_settings AS s\nLEFT JOIN qualifying_patients AS p ON p.Admission = s.admission\nGROUP BY s.admission\nORDER BY s.admission;\n```", "rows": 2, "sql": "WITH care_settings(admission) AS (\n VALUES ('+'), ('-')\n), qualifying_patients AS (\n SELECT p.ID,\n p.Admission,\n 2026 - CAST(strftime('%Y', p.Birthday) AS INTEGER)\n - (strftime('%m-%d', p.Birthday) > '10-09') AS completed_age\n FROM Patient AS p\n WHERE EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID AND l.RBC < 3.5\n )\n)\nSELECT s.admission AS care_setting,\n COUNT(p.ID) AS patient_count,\n ROUND(AVG(p.completed_age), 1) AS average_completed_age\nFROM care_settings AS s\nLEFT JOIN qualifying_patients AS p ON p.Admission = s.admission\nGROUP BY s.admission\nORDER BY s.admission;", "seconds": 15.906102875014767, "calls": [{"seconds": 2.6018042910145596, "usage": {"completion_tokens": 67, "prompt_tokens": 1707, "total_tokens": 1774, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1169, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1169, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1169, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.789488167036325, "usage": {"completion_tokens": 388, "prompt_tokens": 2192, "total_tokens": 2580, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 175, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1169, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.484860625001602, "usage": {"completion_tokens": 189, "prompt_tokens": 2817, "total_tokens": 3006, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 625, "cached_tokens": 1654, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 625, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 625, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "03b0fd08ed4812b2960a36d22923ca37dcec021a2e0da7e0b2e15ecfe56f3b43", "csv_sha256": "e8448833fc0388b24c7c381f9985391435ba4cbdc9d5e8b200c7884dca5856a4"} +{"instance_id": "bird458", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH sexes(sex) AS (\n VALUES ('F'), ('M')\n)\nSELECT s.sex, COUNT(DISTINCT p.ID) AS patient_count\nFROM sexes AS s\nLEFT JOIN Patient AS p\n ON p.SEX = s.sex\n AND EXISTS (SELECT 1 FROM Laboratory AS l WHERE l.ID = p.ID)\nGROUP BY s.sex\nORDER BY s.sex;\n```", "rows": 2, "sql": "WITH sexes(sex) AS (\n VALUES ('F'), ('M')\n)\nSELECT s.sex, COUNT(DISTINCT p.ID) AS patient_count\nFROM sexes AS s\nLEFT JOIN Patient AS p\n ON p.SEX = s.sex\n AND EXISTS (SELECT 1 FROM Laboratory AS l WHERE l.ID = p.ID)\nGROUP BY s.sex\nORDER BY s.sex;", "seconds": 12.899014250026084, "calls": [{"seconds": 2.3545718329260126, "usage": {"completion_tokens": 51, "prompt_tokens": 1637, "total_tokens": 1688, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1099, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1099, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1099, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.158209166955203, "usage": {"completion_tokens": 241, "prompt_tokens": 2011, "total_tokens": 2252, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 138, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1099, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3649771249620244, "usage": {"completion_tokens": 87, "prompt_tokens": 2370, "total_tokens": 2457, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 359, "cached_tokens": 1473, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 359, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 359, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "c456ea131008f142e3f5ca87bf9fd27d160f90b1e7f0c20538fd4a745d851913", "csv_sha256": "2c834847728b27234555a97f248099070c279695d6fdb94cc1791d887d75e9bd"} +{"instance_id": "bird460", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nJOIN Examination AS e ON e.ID = p.ID\nWHERE p.SEX = 'F'\n AND INSTR(',' || REPLACE(LOWER(TRIM(e.Diagnosis)), ', ', ',') || ',', ',sjs,') > 0;\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nJOIN Examination AS e ON e.ID = p.ID\nWHERE p.SEX = 'F'\n AND INSTR(',' || REPLACE(LOWER(TRIM(e.Diagnosis)), ', ', ',') || ',', ',sjs,') > 0;", "seconds": 14.183067334000953, "calls": [{"seconds": 2.5117939999327064, "usage": {"completion_tokens": 51, "prompt_tokens": 1668, "total_tokens": 1719, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1130, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1130, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1130, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9745660829357803, "usage": {"completion_tokens": 69, "prompt_tokens": 1867, "total_tokens": 1936, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 199, "cached_tokens": 1130, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 199, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 199, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.5522185830632225, "usage": {"completion_tokens": 207, "prompt_tokens": 2193, "total_tokens": 2400, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 119, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 326, "cached_tokens": 1329, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 326, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 326, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1184328329982236, "usage": {"completion_tokens": 77, "prompt_tokens": 2496, "total_tokens": 2573, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 303, "cached_tokens": 1655, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 303, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 303, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7efcfc763e4b6e61eda395b806851e60a5c383f5f235ddd36e450dff9c0dc313", "csv_sha256": "e3d1497d19170cd96d864f34af085453e9ec776c51c86c27058780bddcda16d0"} +{"instance_id": "bird461", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE p.Admission = '-'\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.RNP IN ('negative', '0')\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nWHERE p.Admission = '-'\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND l.RNP IN ('negative', '0')\n );", "seconds": 16.157927999971434, "calls": [{"seconds": 2.6234206249937415, "usage": {"completion_tokens": 67, "prompt_tokens": 1671, "total_tokens": 1738, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1133, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1133, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1133, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.096861958038062, "usage": {"completion_tokens": 104, "prompt_tokens": 2156, "total_tokens": 2260, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 32, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1133, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.5281794999027625, "usage": {"completion_tokens": 219, "prompt_tokens": 2460, "total_tokens": 2679, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 87, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 304, "cached_tokens": 1618, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 304, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 304, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.871182792005129, "usage": {"completion_tokens": 69, "prompt_tokens": 2823, "total_tokens": 2892, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 363, "cached_tokens": 1922, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 363, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 363, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b6fae5909773c4022ee0fac39929f0ee8be0fe92f3bf3a0d187064811d145523", "csv_sha256": "12f32d62131d6d4bcbd206ac8453c2259220c0470d5adcdc86a6d85ee452a52d"} +{"instance_id": "bird462", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH proteinuria AS (\n SELECT ID,\n CAST(CASE\n WHEN TRIM(\"U-PRO\") IN ('-', 'TR') THEN '0'\n WHEN INSTR(\"U-PRO\", '(') > 0\n THEN SUBSTR(\"U-PRO\", INSTR(\"U-PRO\", '(') + 1)\n ELSE LTRIM(\"U-PRO\", ' >=')\n END AS REAL) AS mg_dl\n FROM Laboratory\n)\nSELECT COUNT(DISTINCT e.ID) AS patient_count\nFROM Examination AS e\nWHERE e.Thrombosis = 0\n AND NOT EXISTS (\n SELECT 1\n FROM Examination AS other\n WHERE other.ID = e.ID AND other.Thrombosis <> 0\n )\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = e.ID AND LOWER(TRIM(l.SM)) IN ('negative', '0')\n )\n AND EXISTS (\n SELECT 1\n FROM proteinuria AS p\n WHERE p.ID = e.ID AND p.mg_dl >= 30\n );\n```", "rows": 1, "sql": "WITH proteinuria AS (\n SELECT ID,\n CAST(CASE\n WHEN TRIM(\"U-PRO\") IN ('-', 'TR') THEN '0'\n WHEN INSTR(\"U-PRO\", '(') > 0\n THEN SUBSTR(\"U-PRO\", INSTR(\"U-PRO\", '(') + 1)\n ELSE LTRIM(\"U-PRO\", ' >=')\n END AS REAL) AS mg_dl\n FROM Laboratory\n)\nSELECT COUNT(DISTINCT e.ID) AS patient_count\nFROM Examination AS e\nWHERE e.Thrombosis = 0\n AND NOT EXISTS (\n SELECT 1\n FROM Examination AS other\n WHERE other.ID = e.ID AND other.Thrombosis <> 0\n )\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = e.ID AND LOWER(TRIM(l.SM)) IN ('negative', '0')\n )\n AND EXISTS (\n SELECT 1\n FROM proteinuria AS p\n WHERE p.ID = e.ID AND p.mg_dl >= 30\n );", "seconds": 30.864025167073123, "calls": [{"seconds": 2.4554105000570416, "usage": {"completion_tokens": 67, "prompt_tokens": 1714, "total_tokens": 1781, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1176, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1176, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1176, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.960237375111319, "usage": {"completion_tokens": 290, "prompt_tokens": 2199, "total_tokens": 2489, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 203, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1176, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 15.36940091708675, "usage": {"completion_tokens": 650, "prompt_tokens": 2800, "total_tokens": 3450, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 386, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 601, "cached_tokens": 1661, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 601, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 601, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.046034542028792, "usage": {"completion_tokens": 257, "prompt_tokens": 3707, "total_tokens": 3964, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 17, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 907, "cached_tokens": 2262, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 907, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 907, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "c9a05ade7c62b1b40c3b2fad9e9be6143b5627a8b50ea08134459492095e8fff", "csv_sha256": "e6a346f080feb22ab5c9ef16688613086ef0744aa770335a912126807dcf0b52"} +{"instance_id": "bird463", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT DISTINCT p.ID\nFROM Patient AS p\nWHERE p.Admission = '-'\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND (l.RBC <= 3.5 OR l.RBC >= 6.0)\n )\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND CAST(l.RNP AS REAL) > 0\n )\nORDER BY p.ID;\n```", "rows": 5, "sql": "SELECT DISTINCT p.ID\nFROM Patient AS p\nWHERE p.Admission = '-'\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND (l.RBC <= 3.5 OR l.RBC >= 6.0)\n )\n AND EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND CAST(l.RNP AS REAL) > 0\n )\nORDER BY p.ID;", "seconds": 13.923950833035633, "calls": [{"seconds": 2.773291707970202, "usage": {"completion_tokens": 67, "prompt_tokens": 1710, "total_tokens": 1777, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1172, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1172, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1172, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4204049590043724, "usage": {"completion_tokens": 85, "prompt_tokens": 2195, "total_tokens": 2280, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 38, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1172, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.012651499942876, "usage": {"completion_tokens": 130, "prompt_tokens": 2379, "total_tokens": 2509, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 184, "cached_tokens": 1657, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 184, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 184, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6776090830098838, "usage": {"completion_tokens": 114, "prompt_tokens": 2659, "total_tokens": 2773, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 280, "cached_tokens": 1841, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 280, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 280, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9cfdec98091907cc8cdc0f38453548a12c4283dea36310f50ced42708a29c210", "csv_sha256": "ef8264960326178eb91d992fd18818553bbbe6a5c02cfe246f186a7664c1bc82"} +{"instance_id": "bird464", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH patient_ages AS (\n SELECT\n CAST(strftime('%Y', '2026-10-09') AS INTEGER)\n - CAST(strftime('%Y', p.Birthday) AS INTEGER)\n - (strftime('%m-%d', p.Birthday) > '10-09') AS age_years\n FROM Patient AS p\n WHERE EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND CAST(l.RNP AS REAL) >= 64\n )\n)\nSELECT ROUND(AVG(age_years), 1) AS average_age\nFROM patient_ages\nWHERE age_years < 70;\n```", "rows": 1, "sql": "WITH patient_ages AS (\n SELECT\n CAST(strftime('%Y', '2026-10-09') AS INTEGER)\n - CAST(strftime('%Y', p.Birthday) AS INTEGER)\n - (strftime('%m-%d', p.Birthday) > '10-09') AS age_years\n FROM Patient AS p\n WHERE EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID\n AND CAST(l.RNP AS REAL) >= 64\n )\n)\nSELECT ROUND(AVG(age_years), 1) AS average_age\nFROM patient_ages\nWHERE age_years < 70;", "seconds": 20.658129750052467, "calls": [{"seconds": 2.7907351249596104, "usage": {"completion_tokens": 51, "prompt_tokens": 1692, "total_tokens": 1743, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1154, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1154, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1154, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.195725791971199, "usage": {"completion_tokens": 215, "prompt_tokens": 2066, "total_tokens": 2281, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 91, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1154, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.881419584038667, "usage": {"completion_tokens": 324, "prompt_tokens": 2497, "total_tokens": 2821, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 159, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 431, "cached_tokens": 1528, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 431, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 431, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7555301249958575, "usage": {"completion_tokens": 147, "prompt_tokens": 2989, "total_tokens": 3136, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 492, "cached_tokens": 1959, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 492, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 492, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1601de1727b20c5b46b123e4d18de3c1e6cda3688c920dccffba5d87b6d7dc9d", "csv_sha256": "f1f3deeaceec4bb703ef910d7d0d78b38cff36409993658a6aed7790a124c848"} +{"instance_id": "bird465", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT p.ID) AS female_patient_count\nFROM Patient AS p\nJOIN Laboratory AS l ON l.ID = p.ID\nWHERE p.SEX = 'F'\n AND l.WBC > 3.5\n AND l.WBC < 9.0\n AND (l.FG <= 150 OR l.FG >= 450)\n AND CAST(l.RNP AS REAL) > 15;\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT p.ID) AS female_patient_count\nFROM Patient AS p\nJOIN Laboratory AS l ON l.ID = p.ID\nWHERE p.SEX = 'F'\n AND l.WBC > 3.5\n AND l.WBC < 9.0\n AND (l.FG <= 150 OR l.FG >= 450)\n AND CAST(l.RNP AS REAL) > 15;", "seconds": 15.211203125072643, "calls": [{"seconds": 2.5855136669706553, "usage": {"completion_tokens": 51, "prompt_tokens": 1683, "total_tokens": 1734, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1145, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1145, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1145, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.750698040938005, "usage": {"completion_tokens": 169, "prompt_tokens": 2057, "total_tokens": 2226, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 69, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1145, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5543079579947516, "usage": {"completion_tokens": 108, "prompt_tokens": 2410, "total_tokens": 2518, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 353, "cached_tokens": 1519, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 353, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 353, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2859608749859035, "usage": {"completion_tokens": 97, "prompt_tokens": 2635, "total_tokens": 2732, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 225, "cached_tokens": 1872, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 225, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 225, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "38b11f01e9f2ed292f9e2708e919bf115133633a49efe91906bff2deb405d87d", "csv_sha256": "e162b80d5d05320de579aa20871167daadf1fefdbc98187132aa1933427ad1f3"} +{"instance_id": "bird466", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(100.0 * COUNT(CASE WHEN p.SEX = 'F' THEN 1 END) / NULLIF(COUNT(*), 0), 1) AS women_percentage\nFROM Patient AS p\nWHERE p.SEX IN ('F', 'M')\n AND strftime('%Y', p.Birthday) BETWEEN '1936' AND '1956'\n AND NOT EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID AND l.CPK >= 250\n );\n```", "rows": 1, "sql": "SELECT ROUND(100.0 * COUNT(CASE WHEN p.SEX = 'F' THEN 1 END) / NULLIF(COUNT(*), 0), 1) AS women_percentage\nFROM Patient AS p\nWHERE p.SEX IN ('F', 'M')\n AND strftime('%Y', p.Birthday) BETWEEN '1936' AND '1956'\n AND NOT EXISTS (\n SELECT 1\n FROM Laboratory AS l\n WHERE l.ID = p.ID AND l.CPK >= 250\n );", "seconds": 13.624917874927633, "calls": [{"seconds": 2.8068034999305382, "usage": {"completion_tokens": 67, "prompt_tokens": 1702, "total_tokens": 1769, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1164, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1164, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1164, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3177205830579624, "usage": {"completion_tokens": 90, "prompt_tokens": 2187, "total_tokens": 2277, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 485, "cached_tokens": 1164, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.011729333898984, "usage": {"completion_tokens": 131, "prompt_tokens": 2486, "total_tokens": 2617, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 299, "cached_tokens": 1649, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 299, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 299, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.456084999954328, "usage": {"completion_tokens": 118, "prompt_tokens": 2756, "total_tokens": 2874, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 270, "cached_tokens": 1948, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 270, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 270, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8d50cccd7e7db1d2112c36e5061aa341e9855d9116ec515cc0748ea94be051be", "csv_sha256": "737a936a1c19d8d672f9b30a75fc6d8ccb41d634e41ebec6c1e3193f0fb55946"} +{"instance_id": "bird467", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nJOIN Laboratory AS l ON l.ID = p.ID\nWHERE date(l.\"Date\") >= '1981-01-01'\n AND date(l.\"Date\") < '1987-01-01'\n AND (\n CAST(strftime('%Y', l.\"Date\") AS INTEGER)\n - CAST(strftime('%Y', p.Birthday) AS INTEGER)\n - (strftime('%m-%d', l.\"Date\") < strftime('%m-%d', p.Birthday))\n ) < 50\n AND l.PLT BETWEEN 100 AND 400\n AND (\n UPPER(TRIM(l.\"U-PRO\")) = 'TR'\n OR TRIM(l.\"U-PRO\") GLOB '%*%'\n OR CAST(TRIM(l.\"U-PRO\") AS REAL) > 0\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT p.ID) AS patient_count\nFROM Patient AS p\nJOIN Laboratory AS l ON l.ID = p.ID\nWHERE date(l.\"Date\") >= '1981-01-01'\n AND date(l.\"Date\") < '1987-01-01'\n AND (\n CAST(strftime('%Y', l.\"Date\") AS INTEGER)\n - CAST(strftime('%Y', p.Birthday) AS INTEGER)\n - (strftime('%m-%d', l.\"Date\") < strftime('%m-%d', p.Birthday))\n ) < 50\n AND l.PLT BETWEEN 100 AND 400\n AND (\n UPPER(TRIM(l.\"U-PRO\")) = 'TR'\n OR TRIM(l.\"U-PRO\") GLOB '%*%'\n OR CAST(TRIM(l.\"U-PRO\") AS REAL) > 0\n );", "seconds": 20.58979487500619, "calls": [{"seconds": 2.480906957993284, "usage": {"completion_tokens": 51, "prompt_tokens": 1758, "total_tokens": 1809, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1220, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1220, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1220, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.224666625028476, "usage": {"completion_tokens": 73, "prompt_tokens": 2132, "total_tokens": 2205, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 374, "cached_tokens": 1220, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 374, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 374, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.396567750023678, "usage": {"completion_tokens": 343, "prompt_tokens": 2311, "total_tokens": 2654, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 125, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 179, "cached_tokens": 1594, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 179, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 179, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.452202874934301, "usage": {"completion_tokens": 195, "prompt_tokens": 2868, "total_tokens": 3063, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 557, "cached_tokens": 1773, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 557, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 557, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "29eaef957fc12450c2f5ea435aba7c297995387189953435953c695ad51f851b", "csv_sha256": "caf1cad46f39c26753b9d56f1c588b4e5ed6184d04b3ad369b9f09bd3510847e"} +{"instance_id": "bird468", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(AVG(oxygen_count), 4) AS avg_oxygen_atoms_per_molecule\nFROM (\n SELECT m.molecule_id, COUNT(a.atom_id) AS oxygen_count\n FROM molecule AS m\n LEFT JOIN atom AS a\n ON a.molecule_id = m.molecule_id AND a.element = 'o'\n WHERE EXISTS (\n SELECT 1\n FROM bond AS b\n WHERE b.molecule_id = m.molecule_id AND b.bond_type = '-'\n )\n GROUP BY m.molecule_id\n) AS molecule_oxygen_counts;\n```", "rows": 1, "sql": "SELECT ROUND(AVG(oxygen_count), 4) AS avg_oxygen_atoms_per_molecule\nFROM (\n SELECT m.molecule_id, COUNT(a.atom_id) AS oxygen_count\n FROM molecule AS m\n LEFT JOIN atom AS a\n ON a.molecule_id = m.molecule_id AND a.element = 'o'\n WHERE EXISTS (\n SELECT 1\n FROM bond AS b\n WHERE b.molecule_id = m.molecule_id AND b.bond_type = '-'\n )\n GROUP BY m.molecule_id\n) AS molecule_oxygen_counts;", "seconds": 14.978311292012222, "calls": [{"seconds": 2.722382916021161, "usage": {"completion_tokens": 81, "prompt_tokens": 1635, "total_tokens": 1716, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1094, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1094, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1094, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.374014833010733, "usage": {"completion_tokens": 34, "prompt_tokens": 1839, "total_tokens": 1873, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 204, "cached_tokens": 1094, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 204, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 204, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.3386731250211596, "usage": {"completion_tokens": 26, "prompt_tokens": 1911, "total_tokens": 1937, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 72, "cached_tokens": 1298, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 72, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 72, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.995134708005935, "usage": {"completion_tokens": 143, "prompt_tokens": 2006, "total_tokens": 2149, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 95, "cached_tokens": 1370, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 95, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 95, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3942793749738485, "usage": {"completion_tokens": 128, "prompt_tokens": 2304, "total_tokens": 2432, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 298, "cached_tokens": 1465, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 298, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 298, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f2274c242f5fc59c7a466a3da5779176d2355b9d7c6ce5a05c56624ea90e803f", "csv_sha256": "de6cee93d9fead183153ef0febe1d09ab2cdac26e73bea3cd202d1d2f6b93951"} +{"instance_id": "bird469", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH single_bond_counts AS (\n SELECT b.molecule_id, COUNT(*) AS single_bond_count\n FROM bond AS b\n WHERE b.bond_type = '-'\n AND EXISTS (\n SELECT 1\n FROM molecule AS m\n WHERE m.molecule_id = b.molecule_id\n AND m.label = '+'\n )\n GROUP BY b.molecule_id\n)\nSELECT AVG(single_bond_count) AS average_single_bonds_per_molecule\nFROM single_bond_counts;\n```", "rows": 1, "sql": "WITH single_bond_counts AS (\n SELECT b.molecule_id, COUNT(*) AS single_bond_count\n FROM bond AS b\n WHERE b.bond_type = '-'\n AND EXISTS (\n SELECT 1\n FROM molecule AS m\n WHERE m.molecule_id = b.molecule_id\n AND m.label = '+'\n )\n GROUP BY b.molecule_id\n)\nSELECT AVG(single_bond_count) AS average_single_bonds_per_molecule\nFROM single_bond_counts;", "seconds": 12.599954000092112, "calls": [{"seconds": 2.8711761670419946, "usage": {"completion_tokens": 20, "prompt_tokens": 1632, "total_tokens": 1652, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1091, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1091, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1091, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.204855249961838, "usage": {"completion_tokens": 19, "prompt_tokens": 1681, "total_tokens": 1700, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 49, "cached_tokens": 1091, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 49, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 49, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.134244584012777, "usage": {"completion_tokens": 160, "prompt_tokens": 1735, "total_tokens": 1895, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 30, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 54, "cached_tokens": 1140, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 54, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 54, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.353656042017974, "usage": {"completion_tokens": 112, "prompt_tokens": 2033, "total_tokens": 2145, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 298, "cached_tokens": 1194, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 298, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 298, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1643201baa681423fde62bbd4314ac51856b07ecb3932cc9ac829b607b7f2540", "csv_sha256": "a31d59cea22b9e08aa32d4c964f7fb726eb150298b9d8777dbcffb4a4811aef0"} +{"instance_id": "bird471", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH single_bond_atoms AS (\n SELECT c.atom_id AS atom_id\n FROM connected AS c\n JOIN bond AS b ON b.bond_id = c.bond_id\n WHERE b.bond_type = '-'\n UNION\n SELECT c.atom_id2 AS atom_id\n FROM connected AS c\n JOIN bond AS b ON b.bond_id = c.bond_id\n WHERE b.bond_type = '-'\n)\nSELECT\n COUNT(DISTINCT CASE WHEN a.element = 'i' THEN a.atom_id END) AS iodine_atoms,\n COUNT(DISTINCT CASE WHEN a.element = 's' THEN a.atom_id END) AS sulfur_atoms\nFROM atom AS a\nJOIN single_bond_atoms AS s ON s.atom_id = a.atom_id\nWHERE a.element IN ('i', 's');\n```", "rows": 1, "sql": "WITH single_bond_atoms AS (\n SELECT c.atom_id AS atom_id\n FROM connected AS c\n JOIN bond AS b ON b.bond_id = c.bond_id\n WHERE b.bond_type = '-'\n UNION\n SELECT c.atom_id2 AS atom_id\n FROM connected AS c\n JOIN bond AS b ON b.bond_id = c.bond_id\n WHERE b.bond_type = '-'\n)\nSELECT\n COUNT(DISTINCT CASE WHEN a.element = 'i' THEN a.atom_id END) AS iodine_atoms,\n COUNT(DISTINCT CASE WHEN a.element = 's' THEN a.atom_id END) AS sulfur_atoms\nFROM atom AS a\nJOIN single_bond_atoms AS s ON s.atom_id = a.atom_id\nWHERE a.element IN ('i', 's');", "seconds": 17.150009167031385, "calls": [{"seconds": 2.6791289589600638, "usage": {"completion_tokens": 80, "prompt_tokens": 1623, "total_tokens": 1703, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1082, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1082, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1082, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.557978167082183, "usage": {"completion_tokens": 50, "prompt_tokens": 1835, "total_tokens": 1885, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 212, "cached_tokens": 1082, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 212, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 212, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.680541916983202, "usage": {"completion_tokens": 133, "prompt_tokens": 1934, "total_tokens": 2067, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 99, "cached_tokens": 1294, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 99, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 99, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.219514333992265, "usage": {"completion_tokens": 193, "prompt_tokens": 2328, "total_tokens": 2521, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 394, "cached_tokens": 1393, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 394, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 394, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9000115840462968, "usage": {"completion_tokens": 179, "prompt_tokens": 2728, "total_tokens": 2907, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 400, "cached_tokens": 1787, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 400, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 400, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "dedccdedbc29ba1872a78068d577f091971c7136ac141462097df657cfe57935", "csv_sha256": "f87feeb22d8a153bb3785121bb6ec30a3406bb061e4976e6e174674765ab0d8a"} +{"instance_id": "bird472", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(100.0 * COUNT(CASE WHEN NOT EXISTS (\n SELECT 1\n FROM atom AS a\n WHERE a.molecule_id = m.molecule_id AND a.element = 'f'\n) THEN 1 END) / COUNT(*), 2) AS percentage\nFROM molecule AS m\nWHERE m.label = '+';\n```", "rows": 1, "sql": "SELECT ROUND(100.0 * COUNT(CASE WHEN NOT EXISTS (\n SELECT 1\n FROM atom AS a\n WHERE a.molecule_id = m.molecule_id AND a.element = 'f'\n) THEN 1 END) / COUNT(*), 2) AS percentage\nFROM molecule AS m\nWHERE m.label = '+';", "seconds": 13.65483333391603, "calls": [{"seconds": 2.729666749946773, "usage": {"completion_tokens": 66, "prompt_tokens": 1622, "total_tokens": 1688, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1081, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1081, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1081, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.63522308296524, "usage": {"completion_tokens": 36, "prompt_tokens": 1778, "total_tokens": 1814, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 156, "cached_tokens": 1081, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 156, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 156, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.105574500048533, "usage": {"completion_tokens": 26, "prompt_tokens": 1854, "total_tokens": 1880, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 76, "cached_tokens": 1237, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 76, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 76, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.154526042053476, "usage": {"completion_tokens": 89, "prompt_tokens": 1949, "total_tokens": 2038, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 95, "cached_tokens": 1313, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 95, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 95, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.897430874989368, "usage": {"completion_tokens": 78, "prompt_tokens": 2136, "total_tokens": 2214, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 187, "cached_tokens": 1408, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 187, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 187, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "164ae503cd6f41fab64d922ccbaa3b77cdaa4b715859f7c0ed7490ca8a8cad48", "csv_sha256": "17dbccfdb2f31440f80a5d86feedc8284523f2656ee1a6432ce3b045c91ffdbf"} +{"instance_id": "bird473", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH bond_counts AS (\n SELECT bond_type, COUNT(*) AS bond_count\n FROM bond\n WHERE molecule_id = 'TR010'\n GROUP BY bond_type\n)\nSELECT bc.bond_type,\n CASE m.label WHEN '+' THEN 'YES' WHEN '-' THEN 'NO' END AS carcinogenic\nFROM molecule AS m\nCROSS JOIN bond_counts AS bc\nWHERE m.molecule_id = 'TR010'\n AND bc.bond_count = (SELECT MAX(bond_count) FROM bond_counts);\n```", "rows": 1, "sql": "WITH bond_counts AS (\n SELECT bond_type, COUNT(*) AS bond_count\n FROM bond\n WHERE molecule_id = 'TR010'\n GROUP BY bond_type\n)\nSELECT bc.bond_type,\n CASE m.label WHEN '+' THEN 'YES' WHEN '-' THEN 'NO' END AS carcinogenic\nFROM molecule AS m\nCROSS JOIN bond_counts AS bc\nWHERE m.molecule_id = 'TR010'\n AND bc.bond_count = (SELECT MAX(bond_count) FROM bond_counts);", "seconds": 12.013908999972045, "calls": [{"seconds": 2.9834864999866113, "usage": {"completion_tokens": 81, "prompt_tokens": 1640, "total_tokens": 1721, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1099, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1099, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1099, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.808574374997988, "usage": {"completion_tokens": 175, "prompt_tokens": 1851, "total_tokens": 2026, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 47, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 211, "cached_tokens": 1099, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 211, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 211, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.2011998750967905, "usage": {"completion_tokens": 112, "prompt_tokens": 2164, "total_tokens": 2276, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 313, "cached_tokens": 1310, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 313, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 313, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "bcfadbdf11ea87c5d4116c4a64d8595603696ce377007476da92c3568d6ae428", "csv_sha256": "302da4931ca2bb3dc9110ef808c01b0a16e53b45e6853aba6207ced1f77b2c22"} +{"instance_id": "bird474", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT DISTINCT b.bond_id\nFROM bond AS b\nJOIN connected AS c ON c.bond_id = b.bond_id\nJOIN atom AS a1 ON a1.atom_id = c.atom_id\nJOIN atom AS a2 ON a2.atom_id = c.atom_id2\nWHERE (a1.element = 'p' AND a2.element = 'n')\n OR (a1.element = 'n' AND a2.element = 'p');\n```", "rows": 6, "sql": "SELECT DISTINCT b.bond_id\nFROM bond AS b\nJOIN connected AS c ON c.bond_id = b.bond_id\nJOIN atom AS a1 ON a1.atom_id = c.atom_id\nJOIN atom AS a2 ON a2.atom_id = c.atom_id2\nWHERE (a1.element = 'p' AND a2.element = 'n')\n OR (a1.element = 'n' AND a2.element = 'p');", "seconds": 17.822252332931384, "calls": [{"seconds": 2.6410790838999674, "usage": {"completion_tokens": 80, "prompt_tokens": 1603, "total_tokens": 1683, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1062, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1062, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1062, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.605508000007831, "usage": {"completion_tokens": 168, "prompt_tokens": 1815, "total_tokens": 1983, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 110, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 212, "cached_tokens": 1062, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 212, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 212, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.6071204169420525, "usage": {"completion_tokens": 29, "prompt_tokens": 2038, "total_tokens": 2067, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 223, "cached_tokens": 1274, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 223, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 223, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4333624580176547, "usage": {"completion_tokens": 112, "prompt_tokens": 2135, "total_tokens": 2247, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 97, "cached_tokens": 1497, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 97, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 97, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4830051669850945, "usage": {"completion_tokens": 101, "prompt_tokens": 2407, "total_tokens": 2508, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 272, "cached_tokens": 1594, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 272, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 272, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b0d7106a3905078e2d2a5557a17ae6870379434470b16dcbcd6e5dfc1daecbdf", "csv_sha256": "2e95b8b47014946cc2755912708b48fbea525552de6f8f49fe353daf4142591e"} +{"instance_id": "bird475", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT DISTINCT a.element\nFROM atom AS a\nWHERE NOT EXISTS (\n SELECT 1\n FROM connected AS c\n WHERE c.atom_id = a.atom_id OR c.atom_id2 = a.atom_id\n);\n```", "rows": 5, "sql": "SELECT DISTINCT a.element\nFROM atom AS a\nWHERE NOT EXISTS (\n SELECT 1\n FROM connected AS c\n WHERE c.atom_id = a.atom_id OR c.atom_id2 = a.atom_id\n);", "seconds": 20.42752762499731, "calls": [{"seconds": 2.760884250048548, "usage": {"completion_tokens": 80, "prompt_tokens": 1603, "total_tokens": 1683, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1062, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1062, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1062, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.73207187501248, "usage": {"completion_tokens": 322, "prompt_tokens": 1815, "total_tokens": 2137, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 257, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 212, "cached_tokens": 1062, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 212, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 212, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.823911082930863, "usage": {"completion_tokens": 53, "prompt_tokens": 2216, "total_tokens": 2269, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 401, "cached_tokens": 1274, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 401, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 401, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "70ec760cddf320e7eea2cfe45d64f88d448dc0f47314840f5f27fb66b68232c2", "csv_sha256": "a74c96bf547c3b6adf10013d1efce662576fac7a4910eab83156a44fd4ddc97e"} +{"instance_id": "bird476", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS atom_count\nFROM atom AS a\nWHERE EXISTS (\n SELECT 1\n FROM bond AS b\n WHERE b.molecule_id = a.molecule_id\n AND b.bond_type = '#'\n)\nAND EXISTS (\n SELECT 1\n FROM atom AS pb\n WHERE pb.molecule_id = a.molecule_id\n AND pb.element IN ('p', 'br')\n);\n```", "rows": 1, "sql": "SELECT COUNT(*) AS atom_count\nFROM atom AS a\nWHERE EXISTS (\n SELECT 1\n FROM bond AS b\n WHERE b.molecule_id = a.molecule_id\n AND b.bond_type = '#'\n)\nAND EXISTS (\n SELECT 1\n FROM atom AS pb\n WHERE pb.molecule_id = a.molecule_id\n AND pb.element IN ('p', 'br')\n);", "seconds": 15.860223458032124, "calls": [{"seconds": 3.103350167046301, "usage": {"completion_tokens": 96, "prompt_tokens": 1626, "total_tokens": 1722, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1085, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1085, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1085, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1959977080114186, "usage": {"completion_tokens": 90, "prompt_tokens": 1881, "total_tokens": 1971, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1085, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.041449874988757, "usage": {"completion_tokens": 109, "prompt_tokens": 2088, "total_tokens": 2197, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 207, "cached_tokens": 1340, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 207, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 207, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1637145000277087, "usage": {"completion_tokens": 94, "prompt_tokens": 2310, "total_tokens": 2404, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 222, "cached_tokens": 1547, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 222, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 222, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7a0b58626a53637cfc48a2ead3384f9247e1c691a655ec5b76352772b361e78b", "csv_sha256": "7b6d631b9d0649bedce9b5c78f83f57a9891a74647c385737cd3f2bf71a39fed"} +{"instance_id": "bird477", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT ROUND(100.0 * COUNT(CASE WHEN a.element = 'cl' THEN 1 END) / COUNT(*), 4) AS chlorine_percentage\nFROM atom AS a\nWHERE EXISTS (\n SELECT 1\n FROM bond AS b\n WHERE b.molecule_id = a.molecule_id\n AND b.bond_type = '-'\n);\n```", "rows": 1, "sql": "SELECT ROUND(100.0 * COUNT(CASE WHEN a.element = 'cl' THEN 1 END) / COUNT(*), 4) AS chlorine_percentage\nFROM atom AS a\nWHERE EXISTS (\n SELECT 1\n FROM bond AS b\n WHERE b.molecule_id = a.molecule_id\n AND b.bond_type = '-'\n);", "seconds": 15.945744250086136, "calls": [{"seconds": 2.5200874579604715, "usage": {"completion_tokens": 81, "prompt_tokens": 1627, "total_tokens": 1708, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1086, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1086, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1086, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.7630349579267204, "usage": {"completion_tokens": 44, "prompt_tokens": 1831, "total_tokens": 1875, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 204, "cached_tokens": 1086, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 204, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 204, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.6507616250310093, "usage": {"completion_tokens": 39, "prompt_tokens": 1923, "total_tokens": 1962, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 92, "cached_tokens": 1290, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 92, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 92, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2555762499105185, "usage": {"completion_tokens": 93, "prompt_tokens": 2101, "total_tokens": 2194, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 178, "cached_tokens": 1382, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 178, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 178, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0226416250225157, "usage": {"completion_tokens": 82, "prompt_tokens": 2299, "total_tokens": 2381, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 198, "cached_tokens": 1560, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 198, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 198, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6c0e09b9192a34a32b0bae5364fe5e6465c762a0401f6268556407cf0adb59d7", "csv_sha256": "51e0e3a7ec17f9670db8f44239e4b5a25710cbe6aa0be663bd3e090a94cac353"} +{"instance_id": "bird478", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT (\n SELECT 1.0 * COUNT(CASE WHEN a.element = 'h' THEN 1 END)\n / NULLIF(COUNT(*), 0)\n FROM atom AS a\n WHERE a.molecule_id = m.molecule_id\n) AS hydrogen_fraction,\n m.label AS carcinogenicity_label\nFROM molecule AS m\nWHERE m.molecule_id = 'TR006';\n```", "rows": 1, "sql": "SELECT (\n SELECT 1.0 * COUNT(CASE WHEN a.element = 'h' THEN 1 END)\n / NULLIF(COUNT(*), 0)\n FROM atom AS a\n WHERE a.molecule_id = m.molecule_id\n) AS hydrogen_fraction,\n m.label AS carcinogenicity_label\nFROM molecule AS m\nWHERE m.molecule_id = 'TR006';", "seconds": 17.857400082983077, "calls": [{"seconds": 1.9218377080978826, "usage": {"completion_tokens": 15, "prompt_tokens": 1614, "total_tokens": 1629, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1073, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1073, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1073, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.860639709047973, "usage": {"completion_tokens": 66, "prompt_tokens": 1657, "total_tokens": 1723, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 43, "cached_tokens": 1073, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 43, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 43, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.0245359590044245, "usage": {"completion_tokens": 133, "prompt_tokens": 1813, "total_tokens": 1946, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 83, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 156, "cached_tokens": 1116, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 156, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 156, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.793088750098832, "usage": {"completion_tokens": 141, "prompt_tokens": 2030, "total_tokens": 2171, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 36, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 217, "cached_tokens": 1272, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 217, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 217, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2294626659713686, "usage": {"completion_tokens": 90, "prompt_tokens": 2296, "total_tokens": 2386, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 266, "cached_tokens": 1489, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 266, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 266, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9914cc1e4b8095da366b9517a266b170024d3c01dcd5af37d0248317f403c6bd", "csv_sha256": "a94de71eda1716af2c33b04ff5d57a519943dbd45a7df0d1645b8a96492fe737"} +{"instance_id": "bird479", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH classified AS (\n SELECT m.label,\n NOT EXISTS (\n SELECT 1\n FROM bond AS b\n WHERE b.molecule_id = m.molecule_id\n AND b.bond_type IS NOT '-'\n ) AS all_single_bonds\n FROM molecule AS m\n)\nSELECT COUNT(*) FILTER (WHERE all_single_bonds AND label = '+')\n - COUNT(*) FILTER (WHERE all_single_bonds AND label = '-') AS all_single_bond_difference,\n COUNT(*) FILTER (WHERE NOT all_single_bonds AND label = '+')\n - COUNT(*) FILTER (WHERE NOT all_single_bonds AND label = '-') AS other_molecule_difference\nFROM classified;\n```", "rows": 1, "sql": "WITH classified AS (\n SELECT m.label,\n NOT EXISTS (\n SELECT 1\n FROM bond AS b\n WHERE b.molecule_id = m.molecule_id\n AND b.bond_type IS NOT '-'\n ) AS all_single_bonds\n FROM molecule AS m\n)\nSELECT COUNT(*) FILTER (WHERE all_single_bonds AND label = '+')\n - COUNT(*) FILTER (WHERE all_single_bonds AND label = '-') AS all_single_bond_difference,\n COUNT(*) FILTER (WHERE NOT all_single_bonds AND label = '+')\n - COUNT(*) FILTER (WHERE NOT all_single_bonds AND label = '-') AS other_molecule_difference\nFROM classified;", "seconds": 13.640889999922365, "calls": [{"seconds": 2.8728519580326974, "usage": {"completion_tokens": 81, "prompt_tokens": 1734, "total_tokens": 1815, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1193, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1193, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1193, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.43268712493591, "usage": {"completion_tokens": 263, "prompt_tokens": 1945, "total_tokens": 2208, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 95, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 211, "cached_tokens": 1193, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 211, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 211, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.013297999976203, "usage": {"completion_tokens": 147, "prompt_tokens": 2387, "total_tokens": 2534, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 442, "cached_tokens": 1404, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 442, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 442, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0189f1c82d2b9e1ba9b863d23a02c132c40485b49377e251f990dc8b6221f7ad", "csv_sha256": "cc41b88f2e107d0474db533f5f999f54e80ef7bbd5a23a346083548684ac9865"} +{"instance_id": "bird480", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(*) AS carbon_carbon_double_bond_pairs\nFROM (\n SELECT DISTINCT m.molecule_id,\n MIN(c.atom_id, c.atom_id2) AS atom_lo,\n MAX(c.atom_id, c.atom_id2) AS atom_hi\n FROM molecule AS m\n JOIN bond AS b ON b.molecule_id = m.molecule_id\n JOIN connected AS c ON c.bond_id = b.bond_id\n JOIN atom AS a1 ON a1.atom_id = c.atom_id AND a1.molecule_id = m.molecule_id\n JOIN atom AS a2 ON a2.atom_id = c.atom_id2 AND a2.molecule_id = m.molecule_id\n WHERE m.label = '+'\n AND b.bond_type = '='\n AND a1.element = 'c'\n AND a2.element = 'c'\n) AS pairs;\n```", "rows": 1, "sql": "SELECT COUNT(*) AS carbon_carbon_double_bond_pairs\nFROM (\n SELECT DISTINCT m.molecule_id,\n MIN(c.atom_id, c.atom_id2) AS atom_lo,\n MAX(c.atom_id, c.atom_id2) AS atom_hi\n FROM molecule AS m\n JOIN bond AS b ON b.molecule_id = m.molecule_id\n JOIN connected AS c ON c.bond_id = b.bond_id\n JOIN atom AS a1 ON a1.atom_id = c.atom_id AND a1.molecule_id = m.molecule_id\n JOIN atom AS a2 ON a2.atom_id = c.atom_id2 AND a2.molecule_id = m.molecule_id\n WHERE m.label = '+'\n AND b.bond_type = '='\n AND a1.element = 'c'\n AND a2.element = 'c'\n) AS pairs;", "seconds": 18.124236791976728, "calls": [{"seconds": 2.943567750044167, "usage": {"completion_tokens": 96, "prompt_tokens": 1675, "total_tokens": 1771, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1134, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1134, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1134, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.78043062495999, "usage": {"completion_tokens": 182, "prompt_tokens": 1930, "total_tokens": 2112, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1134, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.8665567910065874, "usage": {"completion_tokens": 249, "prompt_tokens": 2782, "total_tokens": 3031, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 40, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 852, "cached_tokens": 1389, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 852, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 852, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.489889999968, "usage": {"completion_tokens": 191, "prompt_tokens": 3246, "total_tokens": 3437, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 464, "cached_tokens": 2241, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 464, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 464, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8a94b2f872af9ff8f86150aa7d1376b82e489f72408383998cb659eca65261b7", "csv_sha256": "8172e3e856e5e322fddd6a6a372c066e5ede50bbcf5056f81e736649d7b5879a"} +{"instance_id": "bird481", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH positive_atoms AS (\n SELECT a.atom_id, a.element\n FROM atom AS a\n WHERE EXISTS (\n SELECT 1\n FROM molecule AS m\n WHERE m.molecule_id = a.molecule_id AND m.label = '+'\n )\n), bonded_atom_ids AS (\n SELECT c.atom_id\n FROM connected AS c\n JOIN bond AS b ON b.bond_id = c.bond_id\n UNION\n SELECT c.atom_id2\n FROM connected AS c\n JOIN bond AS b ON b.bond_id = c.bond_id\n), element_counts AS (\n SELECT p.element,\n COUNT(*) AS atom_count,\n COUNT(b.atom_id) AS bonded_atom_count\n FROM positive_atoms AS p\n LEFT JOIN bonded_atom_ids AS b ON b.atom_id = p.atom_id\n GROUP BY p.element\n)\nSELECT element,\n ROUND(100.0 * atom_count / (SELECT SUM(atom_count) FROM element_counts), 2) AS percentage\nFROM element_counts\nWHERE bonded_atom_count > 0\n AND bonded_atom_count = (SELECT MAX(bonded_atom_count) FROM element_counts)\nORDER BY element;\n```", "rows": 1, "sql": "WITH positive_atoms AS (\n SELECT a.atom_id, a.element\n FROM atom AS a\n WHERE EXISTS (\n SELECT 1\n FROM molecule AS m\n WHERE m.molecule_id = a.molecule_id AND m.label = '+'\n )\n), bonded_atom_ids AS (\n SELECT c.atom_id\n FROM connected AS c\n JOIN bond AS b ON b.bond_id = c.bond_id\n UNION\n SELECT c.atom_id2\n FROM connected AS c\n JOIN bond AS b ON b.bond_id = c.bond_id\n), element_counts AS (\n SELECT p.element,\n COUNT(*) AS atom_count,\n COUNT(b.atom_id) AS bonded_atom_count\n FROM positive_atoms AS p\n LEFT JOIN bonded_atom_ids AS b ON b.atom_id = p.atom_id\n GROUP BY p.element\n)\nSELECT element,\n ROUND(100.0 * atom_count / (SELECT SUM(atom_count) FROM element_counts), 2) AS percentage\nFROM element_counts\nWHERE bonded_atom_count > 0\n AND bonded_atom_count = (SELECT MAX(bonded_atom_count) FROM element_counts)\nORDER BY element;", "seconds": 31.08470987493638, "calls": [{"seconds": 2.9862535420106724, "usage": {"completion_tokens": 96, "prompt_tokens": 1675, "total_tokens": 1771, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1134, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1134, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1134, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 1.8499298329697922, "usage": {"completion_tokens": 18, "prompt_tokens": 1930, "total_tokens": 1948, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1134, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.399197457940318, "usage": {"completion_tokens": 219, "prompt_tokens": 1978, "total_tokens": 2197, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 91, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1389, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.6448446250287816, "usage": {"completion_tokens": 32, "prompt_tokens": 2575, "total_tokens": 2607, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 597, "cached_tokens": 1437, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 597, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 597, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.731731334002689, "usage": {"completion_tokens": 588, "prompt_tokens": 2639, "total_tokens": 3227, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 314, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 64, "cached_tokens": 2034, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 64, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 64, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.390959959011525, "usage": {"completion_tokens": 251, "prompt_tokens": 3505, "total_tokens": 3756, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 866, "cached_tokens": 2098, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 866, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 866, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e073c51d9534f87b7e7f58fa07b669af002379c80359e5396c21f506b86de51e", "csv_sha256": "a1255f11f0fa46fd98255c08873e78bb40e25fcaf750acab4bdbf9b6b4a85e7b"} +{"instance_id": "bird482", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n m.molecule_id,\n CASE m.label WHEN '+' THEN 'YES' WHEN '-' THEN 'NO' END AS carcinogenic,\n (\n SELECT COUNT(*)\n FROM bond AS b\n WHERE b.molecule_id = m.molecule_id\n AND b.bond_type IN ('=', '#')\n ) AS multiple_bond_count\nFROM molecule AS m\nWHERE EXISTS (\n SELECT 1\n FROM atom AS a\n WHERE a.atom_id = 'TR041_10'\n AND a.molecule_id = m.molecule_id\n);\n```", "rows": 1, "sql": "SELECT\n m.molecule_id,\n CASE m.label WHEN '+' THEN 'YES' WHEN '-' THEN 'NO' END AS carcinogenic,\n (\n SELECT COUNT(*)\n FROM bond AS b\n WHERE b.molecule_id = m.molecule_id\n AND b.bond_type IN ('=', '#')\n ) AS multiple_bond_count\nFROM molecule AS m\nWHERE EXISTS (\n SELECT 1\n FROM atom AS a\n WHERE a.atom_id = 'TR041_10'\n AND a.molecule_id = m.molecule_id\n);", "seconds": 17.706447000033222, "calls": [{"seconds": 2.9204010410467163, "usage": {"completion_tokens": 81, "prompt_tokens": 1650, "total_tokens": 1731, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1109, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1109, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1109, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.3223875000840053, "usage": {"completion_tokens": 19, "prompt_tokens": 1861, "total_tokens": 1880, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 211, "cached_tokens": 1109, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 211, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 211, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.000959499971941, "usage": {"completion_tokens": 66, "prompt_tokens": 1902, "total_tokens": 1968, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 36, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 41, "cached_tokens": 1320, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 41, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 41, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.8407161249779165, "usage": {"completion_tokens": 183, "prompt_tokens": 2007, "total_tokens": 2190, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 39, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 105, "cached_tokens": 1361, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 105, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 105, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5989824580028653, "usage": {"completion_tokens": 125, "prompt_tokens": 2353, "total_tokens": 2478, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 346, "cached_tokens": 1466, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 346, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 346, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0c220acb87c75cd6542f9c3479c2b19ff0758f9e0a6dda18caa6676aacff4e76", "csv_sha256": "55791d8ed01dae00879baf4d31b35dbb952c9657242eeeaa3bc680662a05db9a"} +{"instance_id": "bird483", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH bond_types(bond_type, sort_order) AS (\n VALUES ('-', 1), ('=', 2), ('#', 3)\n), carcinogenic_carbon_bonds AS (\n SELECT b.bond_id, b.bond_type\n FROM bond AS b\n JOIN molecule AS m ON m.molecule_id = b.molecule_id\n WHERE m.label = '+'\n AND EXISTS (\n SELECT 1\n FROM connected AS c\n JOIN atom AS a1 ON a1.atom_id = c.atom_id\n JOIN atom AS a2 ON a2.atom_id = c.atom_id2\n WHERE c.bond_id = b.bond_id\n AND a1.element = 'c'\n AND a2.element = 'c'\n )\n)\nSELECT t.bond_type, COUNT(b.bond_id) AS bond_count\nFROM bond_types AS t\nLEFT JOIN carcinogenic_carbon_bonds AS b ON b.bond_type = t.bond_type\nGROUP BY t.bond_type, t.sort_order\nORDER BY t.sort_order;\n```", "rows": 3, "sql": "WITH bond_types(bond_type, sort_order) AS (\n VALUES ('-', 1), ('=', 2), ('#', 3)\n), carcinogenic_carbon_bonds AS (\n SELECT b.bond_id, b.bond_type\n FROM bond AS b\n JOIN molecule AS m ON m.molecule_id = b.molecule_id\n WHERE m.label = '+'\n AND EXISTS (\n SELECT 1\n FROM connected AS c\n JOIN atom AS a1 ON a1.atom_id = c.atom_id\n JOIN atom AS a2 ON a2.atom_id = c.atom_id2\n WHERE c.bond_id = b.bond_id\n AND a1.element = 'c'\n AND a2.element = 'c'\n )\n)\nSELECT t.bond_type, COUNT(b.bond_id) AS bond_count\nFROM bond_types AS t\nLEFT JOIN carcinogenic_carbon_bonds AS b ON b.bond_type = t.bond_type\nGROUP BY t.bond_type, t.sort_order\nORDER BY t.sort_order;", "seconds": 26.19324479205534, "calls": [{"seconds": 2.8296807919396088, "usage": {"completion_tokens": 96, "prompt_tokens": 1681, "total_tokens": 1777, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1140, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1140, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1140, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.178079874953255, "usage": {"completion_tokens": 122, "prompt_tokens": 1936, "total_tokens": 2058, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 45, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1140, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.454902042052709, "usage": {"completion_tokens": 394, "prompt_tokens": 2261, "total_tokens": 2655, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 144, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 325, "cached_tokens": 1395, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 325, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 325, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.882129375007935, "usage": {"completion_tokens": 229, "prompt_tokens": 2921, "total_tokens": 3150, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 660, "cached_tokens": 1720, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 660, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 660, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5ebd5540afd474fa1937df234a937c48b7b787b47f030ad7211da4b9a5077773", "csv_sha256": "a782eb5d6c08f513ffff7afbc8d2fd0ae001a974ddceedb7ed38de7a225a0833"} +{"instance_id": "bird484", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH chlorine_neighbors AS (\n SELECT c.atom_id2 AS atom_id\n FROM connected AS c\n JOIN atom AS a ON a.atom_id = c.atom_id\n WHERE a.element = 'cl'\n UNION\n SELECT c.atom_id AS atom_id\n FROM connected AS c\n JOIN atom AS a ON a.atom_id = c.atom_id2\n WHERE a.element = 'cl'\n)\nSELECT COUNT(*) AS atom_count\nFROM atom AS a\nJOIN chlorine_neighbors AS n ON n.atom_id = a.atom_id;\n```", "rows": 1, "sql": "WITH chlorine_neighbors AS (\n SELECT c.atom_id2 AS atom_id\n FROM connected AS c\n JOIN atom AS a ON a.atom_id = c.atom_id\n WHERE a.element = 'cl'\n UNION\n SELECT c.atom_id AS atom_id\n FROM connected AS c\n JOIN atom AS a ON a.atom_id = c.atom_id2\n WHERE a.element = 'cl'\n)\nSELECT COUNT(*) AS atom_count\nFROM atom AS a\nJOIN chlorine_neighbors AS n ON n.atom_id = a.atom_id;", "seconds": 13.399129915982485, "calls": [{"seconds": 2.8138445409713313, "usage": {"completion_tokens": 80, "prompt_tokens": 1643, "total_tokens": 1723, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1102, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1102, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1102, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.029945791931823, "usage": {"completion_tokens": 242, "prompt_tokens": 1855, "total_tokens": 2097, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 108, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 212, "cached_tokens": 1102, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 212, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 212, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5271862919908017, "usage": {"completion_tokens": 119, "prompt_tokens": 2235, "total_tokens": 2354, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 380, "cached_tokens": 1314, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 380, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 380, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a8a1824af858f8dde5a74d464bdb84d30af817af147b74ae3c4fe1af3ee6573b", "csv_sha256": "20569dde6eea0a25308c4990ecce8661ec66392a027e6c7a6aa7346ccf7cf35f"} +{"instance_id": "bird485", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH sulfur_atoms AS (\n SELECT a.atom_id\n FROM atom AS a\n JOIN molecule AS m ON m.molecule_id = a.molecule_id\n WHERE a.element = 's' AND m.label = '+'\n), bonded_atoms AS (\n SELECT c.atom_id2 AS atom_id\n FROM connected AS c\n JOIN sulfur_atoms AS s ON s.atom_id = c.atom_id\n UNION\n SELECT c.atom_id\n FROM connected AS c\n JOIN sulfur_atoms AS s ON s.atom_id = c.atom_id2\n)\nSELECT COUNT(*) AS atom_count\nFROM bonded_atoms;\n```", "rows": 1, "sql": "WITH sulfur_atoms AS (\n SELECT a.atom_id\n FROM atom AS a\n JOIN molecule AS m ON m.molecule_id = a.molecule_id\n WHERE a.element = 's' AND m.label = '+'\n), bonded_atoms AS (\n SELECT c.atom_id2 AS atom_id\n FROM connected AS c\n JOIN sulfur_atoms AS s ON s.atom_id = c.atom_id\n UNION\n SELECT c.atom_id\n FROM connected AS c\n JOIN sulfur_atoms AS s ON s.atom_id = c.atom_id2\n)\nSELECT COUNT(*) AS atom_count\nFROM bonded_atoms;", "seconds": 21.7538840000052, "calls": [{"seconds": 1.9628511249320582, "usage": {"completion_tokens": 15, "prompt_tokens": 1665, "total_tokens": 1680, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1124, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1124, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1124, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.831876917043701, "usage": {"completion_tokens": 96, "prompt_tokens": 1708, "total_tokens": 1804, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 43, "cached_tokens": 1124, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 43, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 43, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.582099625025876, "usage": {"completion_tokens": 297, "prompt_tokens": 1963, "total_tokens": 2260, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 65, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1167, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.369915542076342, "usage": {"completion_tokens": 178, "prompt_tokens": 2538, "total_tokens": 2716, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 29, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 575, "cached_tokens": 1422, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 575, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 575, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.952044958015904, "usage": {"completion_tokens": 134, "prompt_tokens": 2869, "total_tokens": 3003, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 331, "cached_tokens": 1997, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 331, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 331, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a0ce7fcad43dcf13d640510bb1c6d5c240ff7ae520a4efadb90aae43b757cbad", "csv_sha256": "3866a9b6aaaf826b3d7bd4b160b839412be073808f66a5bb4d4a4f357b300130"} +{"instance_id": "bird486", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH unique_elements AS (\n SELECT MIN(molecule_id) AS molecule_id\n FROM atom\n WHERE element IS NOT NULL\n GROUP BY element\n HAVING COUNT(DISTINCT molecule_id) = 1\n)\nSELECT b.bond_id, b.molecule_id\nFROM bond AS b\nJOIN molecule AS m ON m.molecule_id = b.molecule_id\nWHERE m.label = '+'\n AND EXISTS (\n SELECT 1\n FROM unique_elements AS u\n WHERE u.molecule_id = b.molecule_id\n );\n```", "rows": 112, "sql": "WITH unique_elements AS (\n SELECT MIN(molecule_id) AS molecule_id\n FROM atom\n WHERE element IS NOT NULL\n GROUP BY element\n HAVING COUNT(DISTINCT molecule_id) = 1\n)\nSELECT b.bond_id, b.molecule_id\nFROM bond AS b\nJOIN molecule AS m ON m.molecule_id = b.molecule_id\nWHERE m.label = '+'\n AND EXISTS (\n SELECT 1\n FROM unique_elements AS u\n WHERE u.molecule_id = b.molecule_id\n );", "seconds": 46.625333125004545, "calls": [{"seconds": 2.564827708993107, "usage": {"completion_tokens": 81, "prompt_tokens": 1688, "total_tokens": 1769, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1147, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1147, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1147, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.260242042015307, "usage": {"completion_tokens": 256, "prompt_tokens": 1892, "total_tokens": 2148, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 115, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 204, "cached_tokens": 1147, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 204, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 204, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.4896229999139905, "usage": {"completion_tokens": 209, "prompt_tokens": 2391, "total_tokens": 2600, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 72, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 499, "cached_tokens": 1351, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 499, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 499, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7431052080355585, "usage": {"completion_tokens": 122, "prompt_tokens": 3250, "total_tokens": 3372, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 859, "cached_tokens": 1850, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 859, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 859, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "c527c92598af8b105bc26f7ee5ff7123919ec812e51d1529891fb4dfe775eb8e", "csv_sha256": "6dc5183ac7431859dd3d7c53672f0ed6e5366bc81e482ca2c96a58732d2d2297"} +{"instance_id": "bird487", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT m.molecule_id) AS molecule_count\nFROM molecule AS m\nWHERE EXISTS (\n SELECT 1\n FROM atom AS a\n WHERE a.molecule_id = m.molecule_id\n AND a.element = 'n'\n)\nAND NOT EXISTS (\n SELECT 1\n FROM atom AS a\n JOIN connected AS c ON a.atom_id IN (c.atom_id, c.atom_id2)\n JOIN bond AS b ON b.bond_id = c.bond_id\n WHERE a.molecule_id = m.molecule_id\n AND a.element = 'n'\n AND b.bond_type IN ('=', '#')\n);\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT m.molecule_id) AS molecule_count\nFROM molecule AS m\nWHERE EXISTS (\n SELECT 1\n FROM atom AS a\n WHERE a.molecule_id = m.molecule_id\n AND a.element = 'n'\n)\nAND NOT EXISTS (\n SELECT 1\n FROM atom AS a\n JOIN connected AS c ON a.atom_id IN (c.atom_id, c.atom_id2)\n JOIN bond AS b ON b.bond_id = c.bond_id\n WHERE a.molecule_id = m.molecule_id\n AND a.element = 'n'\n AND b.bond_type IN ('=', '#')\n);", "seconds": 14.595678125042468, "calls": [{"seconds": 3.0460884580388665, "usage": {"completion_tokens": 81, "prompt_tokens": 1711, "total_tokens": 1792, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1170, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1170, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1170, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.765120125026442, "usage": {"completion_tokens": 261, "prompt_tokens": 1922, "total_tokens": 2183, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 97, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 211, "cached_tokens": 1170, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 211, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 211, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.799563499982469, "usage": {"completion_tokens": 145, "prompt_tokens": 2348, "total_tokens": 2493, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 426, "cached_tokens": 1381, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 426, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 426, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "4c61f66c61d06f05ac098fc475b3f6b19f761a151e9e9efd0b8672fc929b6287", "csv_sha256": "4777cfaec1836b1c4535c086ba6c5f9e743c9c0e0c42f1f92f849bf68576c329"} +{"instance_id": "bird488", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH chlorine_neighbors AS (\n SELECT c.atom_id2 AS atom_id\n FROM connected AS c\n JOIN atom AS a ON a.atom_id = c.atom_id\n WHERE a.element = 'cl'\n UNION\n SELECT c.atom_id AS atom_id\n FROM connected AS c\n JOIN atom AS a ON a.atom_id = c.atom_id2\n WHERE a.element = 'cl'\n)\nSELECT COUNT(*) AS atom_count\nFROM chlorine_neighbors;\n```", "rows": 1, "sql": "WITH chlorine_neighbors AS (\n SELECT c.atom_id2 AS atom_id\n FROM connected AS c\n JOIN atom AS a ON a.atom_id = c.atom_id\n WHERE a.element = 'cl'\n UNION\n SELECT c.atom_id AS atom_id\n FROM connected AS c\n JOIN atom AS a ON a.atom_id = c.atom_id2\n WHERE a.element = 'cl'\n)\nSELECT COUNT(*) AS atom_count\nFROM chlorine_neighbors;", "seconds": 10.952502458938397, "calls": [{"seconds": 2.9040347089758143, "usage": {"completion_tokens": 65, "prompt_tokens": 1632, "total_tokens": 1697, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1091, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1091, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1091, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.355245542014018, "usage": {"completion_tokens": 153, "prompt_tokens": 1800, "total_tokens": 1953, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 34, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 168, "cached_tokens": 1091, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 168, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 168, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.669401374994777, "usage": {"completion_tokens": 104, "prompt_tokens": 2076, "total_tokens": 2180, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 276, "cached_tokens": 1259, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 276, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 276, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "531352839a1bfc020b26b084ec7c9b5d2a83e7d11d846892435a38a246c13be1", "csv_sha256": "20569dde6eea0a25308c4990ecce8661ec66392a027e6c7a6aa7346ccf7cf35f"} +{"instance_id": "bird489", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n ROUND(100.0 * COUNT(CASE WHEN m.label = '+' THEN 1 END) / COUNT(*), 2) AS carcinogenic_percent,\n ROUND(100.0 * COUNT(CASE WHEN m.label = '-' THEN 1 END) / COUNT(*), 2) AS non_carcinogenic_percent\nFROM molecule AS m\nWHERE m.label IN ('+', '-')\n AND EXISTS (\n SELECT 1\n FROM bond AS b\n WHERE b.molecule_id = m.molecule_id\n AND b.bond_type = '#'\n );\n```", "rows": 1, "sql": "SELECT\n ROUND(100.0 * COUNT(CASE WHEN m.label = '+' THEN 1 END) / COUNT(*), 2) AS carcinogenic_percent,\n ROUND(100.0 * COUNT(CASE WHEN m.label = '-' THEN 1 END) / COUNT(*), 2) AS non_carcinogenic_percent\nFROM molecule AS m\nWHERE m.label IN ('+', '-')\n AND EXISTS (\n SELECT 1\n FROM bond AS b\n WHERE b.molecule_id = m.molecule_id\n AND b.bond_type = '#'\n );", "seconds": 15.450939332949929, "calls": [{"seconds": 3.6080105419969186, "usage": {"completion_tokens": 51, "prompt_tokens": 1670, "total_tokens": 1721, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1129, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1129, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1129, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.5516076249768957, "usage": {"completion_tokens": 32, "prompt_tokens": 1783, "total_tokens": 1815, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 113, "cached_tokens": 1129, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 113, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 113, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.4393922090530396, "usage": {"completion_tokens": 215, "prompt_tokens": 1878, "total_tokens": 2093, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 72, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 95, "cached_tokens": 1242, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 95, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 95, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7056270830798894, "usage": {"completion_tokens": 128, "prompt_tokens": 2258, "total_tokens": 2386, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 380, "cached_tokens": 1337, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 380, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 380, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f79552f7f83bd13cf5fe6502a9c8f7596daa569434af2147ef00d2721110c528", "csv_sha256": "ca17b58a68e6034ea26482bd4bc35b468fcc7f7cda9168056d06154ffbb1dda1"} +{"instance_id": "bird490", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH rare_elements AS (\n SELECT element\n FROM atom\n WHERE element IS NOT NULL\n GROUP BY element\n HAVING COUNT(DISTINCT molecule_id) = 1\n)\nSELECT m.molecule_id, COUNT(DISTINCT b.bond_id) AS bond_count\nFROM molecule AS m\nJOIN atom AS a ON a.molecule_id = m.molecule_id\nJOIN rare_elements AS r ON r.element = a.element\nLEFT JOIN connected AS c ON c.atom_id = a.atom_id OR c.atom_id2 = a.atom_id\nLEFT JOIN bond AS b ON b.bond_id = c.bond_id AND b.molecule_id = m.molecule_id\nWHERE m.label = '+'\nGROUP BY m.molecule_id\nORDER BY m.molecule_id;\n```", "rows": 3, "sql": "WITH rare_elements AS (\n SELECT element\n FROM atom\n WHERE element IS NOT NULL\n GROUP BY element\n HAVING COUNT(DISTINCT molecule_id) = 1\n)\nSELECT m.molecule_id, COUNT(DISTINCT b.bond_id) AS bond_count\nFROM molecule AS m\nJOIN atom AS a ON a.molecule_id = m.molecule_id\nJOIN rare_elements AS r ON r.element = a.element\nLEFT JOIN connected AS c ON c.atom_id = a.atom_id OR c.atom_id2 = a.atom_id\nLEFT JOIN bond AS b ON b.bond_id = c.bond_id AND b.molecule_id = m.molecule_id\nWHERE m.label = '+'\nGROUP BY m.molecule_id\nORDER BY m.molecule_id;", "seconds": 18.201953749987297, "calls": [{"seconds": 3.683021125034429, "usage": {"completion_tokens": 96, "prompt_tokens": 1725, "total_tokens": 1821, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1184, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1184, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1184, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.017757624969818, "usage": {"completion_tokens": 274, "prompt_tokens": 1980, "total_tokens": 2254, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 45, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1184, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.072082541999407, "usage": {"completion_tokens": 180, "prompt_tokens": 2654, "total_tokens": 2834, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 674, "cached_tokens": 1439, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 674, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 674, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.38328199996613, "usage": {"completion_tokens": 168, "prompt_tokens": 3043, "total_tokens": 3211, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 389, "cached_tokens": 2113, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 389, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 389, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7a1b221670a4a189cb84148efeef5cb094be3c5ca6f1c54300ddb63a7ae550b1", "csv_sha256": "81a6c71da0bb63069c81967fbb724a66d55db98d35c868e0b292bb62acc375b4"} +{"instance_id": "bird491", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH atom_counts AS (\n SELECT molecule_id,\n COUNT(*) AS atom_count,\n COUNT(CASE WHEN element = 'c' THEN 1 END) AS carbon_atom_count,\n COUNT(CASE WHEN element = 'cl' THEN 1 END) AS chlorine_atom_count\n FROM atom\n GROUP BY molecule_id\n HAVING COUNT(CASE WHEN element = 'c' THEN 1 END) > 0\n), carbon_bonds AS (\n SELECT DISTINCT c.bond_id\n FROM connected AS c\n JOIN atom AS a\n ON a.atom_id IN (c.atom_id, c.atom_id2)\n WHERE a.element = 'c'\n), bond_counts AS (\n SELECT b.molecule_id,\n COUNT(*) AS bond_count,\n COUNT(cb.bond_id) AS carbon_touching_bond_count,\n COUNT(CASE WHEN b.bond_type IN ('=', '#') THEN 1 END) AS multiple_bond_count\n FROM bond AS b\n LEFT JOIN carbon_bonds AS cb ON cb.bond_id = b.bond_id\n GROUP BY b.molecule_id\n)\nSELECT ROW_NUMBER() OVER (\n ORDER BY COALESCE(bc.carbon_touching_bond_count, 0) DESC,\n ac.atom_count DESC,\n m.molecule_id ASC\n ) AS rank_position,\n m.molecule_id,\n m.label AS carcinogenicity_label,\n ac.atom_count,\n COALESCE(bc.bond_count, 0) AS bond_count,\n ac.carbon_atom_count,\n ac.chlorine_atom_count,\n COALESCE(bc.carbon_touching_bond_count, 0) AS carbon_touching_bond_count,\n COALESCE(bc.multiple_bond_count, 0) AS multiple_bond_count\nFROM molecule AS m\nJOIN atom_counts AS ac ON ac.molecule_id = m.molecule_id\nLEFT JOIN bond_counts AS bc ON bc.molecule_id = m.molecule_id\nORDER BY rank_position;\n```", "rows": 340, "sql": "WITH atom_counts AS (\n SELECT molecule_id,\n COUNT(*) AS atom_count,\n COUNT(CASE WHEN element = 'c' THEN 1 END) AS carbon_atom_count,\n COUNT(CASE WHEN element = 'cl' THEN 1 END) AS chlorine_atom_count\n FROM atom\n GROUP BY molecule_id\n HAVING COUNT(CASE WHEN element = 'c' THEN 1 END) > 0\n), carbon_bonds AS (\n SELECT DISTINCT c.bond_id\n FROM connected AS c\n JOIN atom AS a\n ON a.atom_id IN (c.atom_id, c.atom_id2)\n WHERE a.element = 'c'\n), bond_counts AS (\n SELECT b.molecule_id,\n COUNT(*) AS bond_count,\n COUNT(cb.bond_id) AS carbon_touching_bond_count,\n COUNT(CASE WHEN b.bond_type IN ('=', '#') THEN 1 END) AS multiple_bond_count\n FROM bond AS b\n LEFT JOIN carbon_bonds AS cb ON cb.bond_id = b.bond_id\n GROUP BY b.molecule_id\n)\nSELECT ROW_NUMBER() OVER (\n ORDER BY COALESCE(bc.carbon_touching_bond_count, 0) DESC,\n ac.atom_count DESC,\n m.molecule_id ASC\n ) AS rank_position,\n m.molecule_id,\n m.label AS carcinogenicity_label,\n ac.atom_count,\n COALESCE(bc.bond_count, 0) AS bond_count,\n ac.carbon_atom_count,\n ac.chlorine_atom_count,\n COALESCE(bc.carbon_touching_bond_count, 0) AS carbon_touching_bond_count,\n COALESCE(bc.multiple_bond_count, 0) AS multiple_bond_count\nFROM molecule AS m\nJOIN atom_counts AS ac ON ac.molecule_id = m.molecule_id\nLEFT JOIN bond_counts AS bc ON bc.molecule_id = m.molecule_id\nORDER BY rank_position;", "seconds": 34.488872915972024, "calls": [{"seconds": 2.9029605420073494, "usage": {"completion_tokens": 96, "prompt_tokens": 1780, "total_tokens": 1876, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1239, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1239, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1239, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.8137296250788495, "usage": {"completion_tokens": 161, "prompt_tokens": 2035, "total_tokens": 2196, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 69, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1239, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.59864183398895, "usage": {"completion_tokens": 275, "prompt_tokens": 2474, "total_tokens": 2749, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 439, "cached_tokens": 1494, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 439, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 439, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.76218645798508, "usage": {"completion_tokens": 609, "prompt_tokens": 3093, "total_tokens": 3702, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 145, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 619, "cached_tokens": 1933, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 619, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 619, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.30500208295416, "usage": {"completion_tokens": 469, "prompt_tokens": 4444, "total_tokens": 4913, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 41, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1351, "cached_tokens": 2552, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1351, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1351, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "4a85a0a4b98c0a95b8341791e31f219dcd76f61202dbd09d0231238c7b7cda2b", "csv_sha256": "21e60eaf2041b5f0807061f2cc84bf87159b142e635f4092ca1983fcee863b74"} +{"instance_id": "bird492", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT b.bond_id) AS hydrogen_bond_count\nFROM bond AS b\nWHERE EXISTS (\n SELECT 1\n FROM atom AS y\n WHERE y.molecule_id = b.molecule_id AND y.element = 'y'\n)\nAND EXISTS (\n SELECT 1\n FROM connected AS c\n JOIN atom AS h ON h.atom_id IN (c.atom_id, c.atom_id2)\n WHERE c.bond_id = b.bond_id\n AND h.molecule_id = b.molecule_id\n AND h.element = 'h'\n);\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT b.bond_id) AS hydrogen_bond_count\nFROM bond AS b\nWHERE EXISTS (\n SELECT 1\n FROM atom AS y\n WHERE y.molecule_id = b.molecule_id AND y.element = 'y'\n)\nAND EXISTS (\n SELECT 1\n FROM connected AS c\n JOIN atom AS h ON h.atom_id IN (c.atom_id, c.atom_id2)\n WHERE c.bond_id = b.bond_id\n AND h.molecule_id = b.molecule_id\n AND h.element = 'h'\n);", "seconds": 24.935554665978998, "calls": [{"seconds": 2.7600854999618605, "usage": {"completion_tokens": 96, "prompt_tokens": 1652, "total_tokens": 1748, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1111, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1111, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1111, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.945933832903393, "usage": {"completion_tokens": 221, "prompt_tokens": 1907, "total_tokens": 2128, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 75, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1111, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5616207499988377, "usage": {"completion_tokens": 56, "prompt_tokens": 2279, "total_tokens": 2335, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 12, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 372, "cached_tokens": 1366, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 372, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 372, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.861671624938026, "usage": {"completion_tokens": 144, "prompt_tokens": 2399, "total_tokens": 2543, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 120, "cached_tokens": 1738, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 120, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 120, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8442386250244454, "usage": {"completion_tokens": 129, "prompt_tokens": 2694, "total_tokens": 2823, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 295, "cached_tokens": 1858, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 295, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 295, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "345458b2bdd6afc1a0bf59897b045feb3d98f4b87cf3c660d68dcfb7b6911a94", "csv_sha256": "f2103fa4ff6e5cc0b08c7aeebbcf9c17864afcd9c8699bb21a85e7957e99ef45"} +{"instance_id": "bird493", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH bond_endpoints AS (\n SELECT c.atom_id, c.bond_id\n FROM connected AS c\n JOIN bond AS b ON b.bond_id = c.bond_id\n WHERE b.molecule_id = 'TR397'\n UNION\n SELECT c.atom_id2 AS atom_id, c.bond_id\n FROM connected AS c\n JOIN bond AS b ON b.bond_id = c.bond_id\n WHERE b.molecule_id = 'TR397'\n), atom_degrees AS (\n SELECT COUNT(e.bond_id) AS bond_count\n FROM atom AS a\n LEFT JOIN bond_endpoints AS e ON e.atom_id = a.atom_id\n WHERE a.molecule_id = 'TR397'\n GROUP BY a.atom_id\n)\nSELECT ROUND(AVG(bond_count), 2) AS average_bonds_per_atom\nFROM atom_degrees;\n```", "rows": 1, "sql": "WITH bond_endpoints AS (\n SELECT c.atom_id, c.bond_id\n FROM connected AS c\n JOIN bond AS b ON b.bond_id = c.bond_id\n WHERE b.molecule_id = 'TR397'\n UNION\n SELECT c.atom_id2 AS atom_id, c.bond_id\n FROM connected AS c\n JOIN bond AS b ON b.bond_id = c.bond_id\n WHERE b.molecule_id = 'TR397'\n), atom_degrees AS (\n SELECT COUNT(e.bond_id) AS bond_count\n FROM atom AS a\n LEFT JOIN bond_endpoints AS e ON e.atom_id = a.atom_id\n WHERE a.molecule_id = 'TR397'\n GROUP BY a.atom_id\n)\nSELECT ROUND(AVG(bond_count), 2) AS average_bonds_per_atom\nFROM atom_degrees;", "seconds": 18.51131695904769, "calls": [{"seconds": 2.817005665972829, "usage": {"completion_tokens": 81, "prompt_tokens": 1638, "total_tokens": 1719, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1097, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1097, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1097, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.541173915960826, "usage": {"completion_tokens": 183, "prompt_tokens": 1849, "total_tokens": 2032, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 90, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 211, "cached_tokens": 1097, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 211, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 211, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.468487667036243, "usage": {"completion_tokens": 245, "prompt_tokens": 2384, "total_tokens": 2629, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 36, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 535, "cached_tokens": 1308, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 535, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 535, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.663862791960128, "usage": {"completion_tokens": 192, "prompt_tokens": 2845, "total_tokens": 3037, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 461, "cached_tokens": 1843, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 461, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 461, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "049d1194a98102073ce4b7e382d71aba29af4b65d078d1fd76e629e025299b50", "csv_sha256": "598e83e0a1440a3a5165337a4bab5992a05feffe9d53c7484acae547aed7fc4b"} +{"instance_id": "bird494", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH noncarcinogenic_atoms AS (\n SELECT a.atom_id, a.molecule_id, a.element\n FROM atom AS a\n JOIN molecule AS m ON m.molecule_id = a.molecule_id\n WHERE m.label = '-'\n), qualifying_bonds AS (\n SELECT DISTINCT b.molecule_id, b.bond_id,\n CASE WHEN a1.element = 'c' THEN a2.element ELSE a1.element END AS element\n FROM bond AS b\n JOIN connected AS c ON c.bond_id = b.bond_id\n JOIN noncarcinogenic_atoms AS a1 ON a1.atom_id = c.atom_id AND a1.molecule_id = b.molecule_id\n JOIN noncarcinogenic_atoms AS a2 ON a2.atom_id = c.atom_id2 AND a2.molecule_id = b.molecule_id\n WHERE b.bond_type IN ('=', '#')\n AND (a1.element = 'c' OR a2.element = 'c')\n)\nSELECT e.element, COUNT(q.bond_id) AS bond_count\nFROM (SELECT DISTINCT element FROM noncarcinogenic_atoms) AS e\nLEFT JOIN qualifying_bonds AS q ON q.element = e.element\nGROUP BY e.element\nORDER BY e.element;\n```", "rows": 15, "sql": "WITH noncarcinogenic_atoms AS (\n SELECT a.atom_id, a.molecule_id, a.element\n FROM atom AS a\n JOIN molecule AS m ON m.molecule_id = a.molecule_id\n WHERE m.label = '-'\n), qualifying_bonds AS (\n SELECT DISTINCT b.molecule_id, b.bond_id,\n CASE WHEN a1.element = 'c' THEN a2.element ELSE a1.element END AS element\n FROM bond AS b\n JOIN connected AS c ON c.bond_id = b.bond_id\n JOIN noncarcinogenic_atoms AS a1 ON a1.atom_id = c.atom_id AND a1.molecule_id = b.molecule_id\n JOIN noncarcinogenic_atoms AS a2 ON a2.atom_id = c.atom_id2 AND a2.molecule_id = b.molecule_id\n WHERE b.bond_type IN ('=', '#')\n AND (a1.element = 'c' OR a2.element = 'c')\n)\nSELECT e.element, COUNT(q.bond_id) AS bond_count\nFROM (SELECT DISTINCT element FROM noncarcinogenic_atoms) AS e\nLEFT JOIN qualifying_bonds AS q ON q.element = e.element\nGROUP BY e.element\nORDER BY e.element;", "seconds": 31.07771441701334, "calls": [{"seconds": 3.048898166976869, "usage": {"completion_tokens": 96, "prompt_tokens": 1671, "total_tokens": 1767, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1130, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1130, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1130, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8039125420618802, "usage": {"completion_tokens": 115, "prompt_tokens": 1926, "total_tokens": 2041, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1130, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.865522957989015, "usage": {"completion_tokens": 341, "prompt_tokens": 2351, "total_tokens": 2692, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 162, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 425, "cached_tokens": 1385, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 425, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 425, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.575824041035958, "usage": {"completion_tokens": 496, "prompt_tokens": 3039, "total_tokens": 3535, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 208, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 688, "cached_tokens": 1810, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 688, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 688, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.708073084009811, "usage": {"completion_tokens": 284, "prompt_tokens": 3899, "total_tokens": 4183, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 14, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 860, "cached_tokens": 2498, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 860, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 860, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b04c2988529641d4e78fffde51a283575a7fab5d1e189eac9414534943765219", "csv_sha256": "0de2ed0a2c142e834e28d2fe1565382b543ed18315395a1e1d22ff8453e4a274"} +{"instance_id": "bird495", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH molecule_bonds AS (\n SELECT b.bond_id, b.molecule_id, b.bond_type, m.label\n FROM bond AS b\n JOIN molecule AS m ON m.molecule_id = b.molecule_id\n WHERE m.molecule_id = 'TR377'\n AND b.bond_type IN ('-', '=')\n), element_pairs AS (\n SELECT DISTINCT mb.bond_type,\n MIN(a1.element, a2.element) AS element_1,\n MAX(a1.element, a2.element) AS element_2\n FROM molecule_bonds AS mb\n JOIN connected AS c ON c.bond_id = mb.bond_id\n JOIN atom AS a1 ON a1.atom_id = c.atom_id AND a1.molecule_id = mb.molecule_id\n JOIN atom AS a2 ON a2.atom_id = c.atom_id2 AND a2.molecule_id = mb.molecule_id\n WHERE a1.element IS NOT NULL AND a2.element IS NOT NULL\n)\nSELECT mb.bond_type AS bond_kind,\n COUNT(DISTINCT mb.bond_id) AS bond_count,\n (SELECT COUNT(*) FROM element_pairs AS ep WHERE ep.bond_type = mb.bond_type) AS element_pair_count,\n mb.label AS carcinogenicity_label\nFROM molecule_bonds AS mb\nGROUP BY mb.bond_type, mb.label\nORDER BY bond_count DESC, bond_kind ASC;\n```", "rows": 2, "sql": "WITH molecule_bonds AS (\n SELECT b.bond_id, b.molecule_id, b.bond_type, m.label\n FROM bond AS b\n JOIN molecule AS m ON m.molecule_id = b.molecule_id\n WHERE m.molecule_id = 'TR377'\n AND b.bond_type IN ('-', '=')\n), element_pairs AS (\n SELECT DISTINCT mb.bond_type,\n MIN(a1.element, a2.element) AS element_1,\n MAX(a1.element, a2.element) AS element_2\n FROM molecule_bonds AS mb\n JOIN connected AS c ON c.bond_id = mb.bond_id\n JOIN atom AS a1 ON a1.atom_id = c.atom_id AND a1.molecule_id = mb.molecule_id\n JOIN atom AS a2 ON a2.atom_id = c.atom_id2 AND a2.molecule_id = mb.molecule_id\n WHERE a1.element IS NOT NULL AND a2.element IS NOT NULL\n)\nSELECT mb.bond_type AS bond_kind,\n COUNT(DISTINCT mb.bond_id) AS bond_count,\n (SELECT COUNT(*) FROM element_pairs AS ep WHERE ep.bond_type = mb.bond_type) AS element_pair_count,\n mb.label AS carcinogenicity_label\nFROM molecule_bonds AS mb\nGROUP BY mb.bond_type, mb.label\nORDER BY bond_count DESC, bond_kind ASC;", "seconds": 20.93953774997499, "calls": [{"seconds": 2.705718500073999, "usage": {"completion_tokens": 81, "prompt_tokens": 1714, "total_tokens": 1795, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1173, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1173, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1173, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.174522415967658, "usage": {"completion_tokens": 554, "prompt_tokens": 1925, "total_tokens": 2479, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 230, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 211, "cached_tokens": 1173, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 211, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 211, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.006737999967299, "usage": {"completion_tokens": 302, "prompt_tokens": 2834, "total_tokens": 3136, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 909, "cached_tokens": 1384, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 909, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 909, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8cfecd7068ad8949d842d0e4b87a598c5ce73e769a6352314dfef10aeb124eb9", "csv_sha256": "7b7e8f604c0d850ada360a8faade69ae597c7c7e8009770871c890d0d10d1c43"} +{"instance_id": "bird496", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT DISTINCT m.molecule_id\nFROM molecule AS m\nWHERE m.label = '-'\n AND EXISTS (\n SELECT 1\n FROM atom AS a\n WHERE a.molecule_id = m.molecule_id\n AND a.element IN ('na', 'k', 'ca', 'cu', 'zn', 'sn', 'pb', 'mg', 'li')\n )\n AND EXISTS (\n SELECT 1\n FROM bond AS b\n WHERE b.molecule_id = m.molecule_id\n AND b.bond_type = '-'\n )\nORDER BY m.molecule_id ASC\nLIMIT 3;\n```", "rows": 3, "sql": "SELECT DISTINCT m.molecule_id\nFROM molecule AS m\nWHERE m.label = '-'\n AND EXISTS (\n SELECT 1\n FROM atom AS a\n WHERE a.molecule_id = m.molecule_id\n AND a.element IN ('na', 'k', 'ca', 'cu', 'zn', 'sn', 'pb', 'mg', 'li')\n )\n AND EXISTS (\n SELECT 1\n FROM bond AS b\n WHERE b.molecule_id = m.molecule_id\n AND b.bond_type = '-'\n )\nORDER BY m.molecule_id ASC\nLIMIT 3;", "seconds": 14.856151166022755, "calls": [{"seconds": 1.9983787910314277, "usage": {"completion_tokens": 15, "prompt_tokens": 1718, "total_tokens": 1733, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1177, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1177, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1177, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9840957920532674, "usage": {"completion_tokens": 96, "prompt_tokens": 1761, "total_tokens": 1857, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 43, "cached_tokens": 1177, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 43, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 43, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.9963179170154035, "usage": {"completion_tokens": 256, "prompt_tokens": 2016, "total_tokens": 2272, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 98, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1220, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.781454666983336, "usage": {"completion_tokens": 137, "prompt_tokens": 2432, "total_tokens": 2569, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 416, "cached_tokens": 1475, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 416, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 416, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9e70bee28bdbd72051101543705e8caa6f3c1671bdde4993e40b5cf4c490f295", "csv_sha256": "40f624ee15bc33f4309f46beb4690c6da84fff796d2146c31ce458cbeed2e150"} +{"instance_id": "bird497", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH incident_bonds AS (\n SELECT atom_id, bond_id FROM connected\n UNION ALL\n SELECT atom_id2 AS atom_id, bond_id FROM connected\n), single_bond_atoms AS (\n SELECT i.atom_id\n FROM incident_bonds AS i\n JOIN bond AS b ON b.bond_id = i.bond_id\n GROUP BY i.atom_id\n HAVING MIN(CASE WHEN b.bond_type = '-' THEN 1 ELSE 0 END) = 1\n)\nSELECT a.element AS element_symbol,\n COUNT(s.atom_id) AS atom_count\nFROM atom AS a\nLEFT JOIN single_bond_atoms AS s ON s.atom_id = a.atom_id\nGROUP BY a.element\nORDER BY a.element;\n```", "rows": 18, "sql": "WITH incident_bonds AS (\n SELECT atom_id, bond_id FROM connected\n UNION ALL\n SELECT atom_id2 AS atom_id, bond_id FROM connected\n), single_bond_atoms AS (\n SELECT i.atom_id\n FROM incident_bonds AS i\n JOIN bond AS b ON b.bond_id = i.bond_id\n GROUP BY i.atom_id\n HAVING MIN(CASE WHEN b.bond_type = '-' THEN 1 ELSE 0 END) = 1\n)\nSELECT a.element AS element_symbol,\n COUNT(s.atom_id) AS atom_count\nFROM atom AS a\nLEFT JOIN single_bond_atoms AS s ON s.atom_id = a.atom_id\nGROUP BY a.element\nORDER BY a.element;", "seconds": 25.481904749991372, "calls": [{"seconds": 2.7889888749923557, "usage": {"completion_tokens": 96, "prompt_tokens": 1757, "total_tokens": 1853, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1216, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1216, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1216, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.751338041969575, "usage": {"completion_tokens": 252, "prompt_tokens": 2012, "total_tokens": 2264, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 39, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1216, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.074149415944703, "usage": {"completion_tokens": 304, "prompt_tokens": 2845, "total_tokens": 3149, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 208, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 833, "cached_tokens": 1471, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 833, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 833, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.848054416012019, "usage": {"completion_tokens": 174, "prompt_tokens": 3275, "total_tokens": 3449, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 430, "cached_tokens": 2304, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 430, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 430, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.917803000076674, "usage": {"completion_tokens": 161, "prompt_tokens": 3724, "total_tokens": 3885, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 449, "cached_tokens": 2734, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 449, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 449, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b856bde242f7baa869f145b3d5aff655bcd3f98a2862a3fbebad16235bc945cf", "csv_sha256": "e37b5b0ef1c79b5f230a640c19f5c4fa00dba9f4ce0172862898e47bf172427c"} +{"instance_id": "bird498", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH triple_bond_elements AS (\n SELECT DISTINCT a.element\n FROM bond AS b\n JOIN connected AS c ON c.bond_id = b.bond_id\n JOIN atom AS a ON a.atom_id IN (c.atom_id, c.atom_id2)\n WHERE b.bond_type = '#'\n)\nSELECT a.element AS element_symbol,\n COUNT(DISTINCT m.molecule_id) AS molecule_count\nFROM triple_bond_elements AS t\nJOIN atom AS a ON a.element = t.element\nJOIN molecule AS m ON m.molecule_id = a.molecule_id\nGROUP BY a.element\nORDER BY molecule_count DESC, element_symbol ASC;\n```", "rows": 4, "sql": "WITH triple_bond_elements AS (\n SELECT DISTINCT a.element\n FROM bond AS b\n JOIN connected AS c ON c.bond_id = b.bond_id\n JOIN atom AS a ON a.atom_id IN (c.atom_id, c.atom_id2)\n WHERE b.bond_type = '#'\n)\nSELECT a.element AS element_symbol,\n COUNT(DISTINCT m.molecule_id) AS molecule_count\nFROM triple_bond_elements AS t\nJOIN atom AS a ON a.element = t.element\nJOIN molecule AS m ON m.molecule_id = a.molecule_id\nGROUP BY a.element\nORDER BY molecule_count DESC, element_symbol ASC;", "seconds": 18.867340375087224, "calls": [{"seconds": 1.7596349579980597, "usage": {"completion_tokens": 15, "prompt_tokens": 1677, "total_tokens": 1692, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1136, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1136, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1136, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.239273832994513, "usage": {"completion_tokens": 96, "prompt_tokens": 1720, "total_tokens": 1816, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 43, "cached_tokens": 1136, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 43, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 43, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.824132208013907, "usage": {"completion_tokens": 356, "prompt_tokens": 1975, "total_tokens": 2331, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 197, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1179, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.994448999990709, "usage": {"completion_tokens": 143, "prompt_tokens": 2516, "total_tokens": 2659, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 541, "cached_tokens": 1434, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 541, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 541, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "194255a0c7068680f0e1654fa06e37880e6c9f5d9754c637a40c5b9ec1a7fe4d", "csv_sha256": "115882faf125f2c8b33dfa2e23d279cd3c06d6b8b363d432b5766d6045f53c16"} +{"instance_id": "bird499", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT a.element,\n COUNT(DISTINCT CASE WHEN EXISTS (\n SELECT 1\n FROM connected AS c\n JOIN bond AS b ON b.bond_id = c.bond_id\n WHERE c.atom_id = a.atom_id OR c.atom_id2 = a.atom_id\n ) THEN a.atom_id END) AS bonded_atom_count\nFROM atom AS a\nWHERE a.molecule_id = 'TR397'\nGROUP BY a.element\nORDER BY a.element;\n```", "rows": 6, "sql": "SELECT a.element,\n COUNT(DISTINCT CASE WHEN EXISTS (\n SELECT 1\n FROM connected AS c\n JOIN bond AS b ON b.bond_id = c.bond_id\n WHERE c.atom_id = a.atom_id OR c.atom_id2 = a.atom_id\n ) THEN a.atom_id END) AS bonded_atom_count\nFROM atom AS a\nWHERE a.molecule_id = 'TR397'\nGROUP BY a.element\nORDER BY a.element;", "seconds": 15.317427041940391, "calls": [{"seconds": 2.9316144170006737, "usage": {"completion_tokens": 96, "prompt_tokens": 1709, "total_tokens": 1805, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1168, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1168, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1168, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.806605292018503, "usage": {"completion_tokens": 390, "prompt_tokens": 1964, "total_tokens": 2354, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 271, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1168, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4370887499535456, "usage": {"completion_tokens": 105, "prompt_tokens": 2511, "total_tokens": 2616, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 547, "cached_tokens": 1423, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 547, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 547, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "eb593ffe1331e150930ee8a0de4845fcce7def7700c749f6ff7b5234e37fac4f", "csv_sha256": "a88bdb2ba55882015b2619db8d3b0663406bde052bf828335ae8ebd07524ad5b"} diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/scores.json b/bench/accuracy/results/bird-holdout-final/gpt62-sol/scores.json new file mode 100644 index 00000000..67d98c98 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/scores.json @@ -0,0 +1,2402 @@ +[ + { + "instance_id": "bird000", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird001", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird002", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird003", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird004", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird005", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird006", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird007", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird008", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird009", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird010", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird011", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird012", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird013", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird014", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird015", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird016", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird017", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird018", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird019", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird020", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird021", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird022", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird023", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird025", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird026", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird027", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird028", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird029", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird030", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird031", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird032", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird033", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird034", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird035", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird037", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird038", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird039", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird040", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird041", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird042", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird043", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird044", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird045", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird046", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird047", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird048", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird049", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird050", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird051", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird052", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird053", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird054", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird055", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird056", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird057", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird059", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird060", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird061", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird062", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird063", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird065", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird066", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird067", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird068", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird069", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird070", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird071", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird072", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird073", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird074", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird075", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird076", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird077", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird078", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird079", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird080", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird081", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird082", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird083", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird084", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird085", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird086", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird088", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird089", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird090", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird091", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird092", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird093", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird094", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird095", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird096", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird097", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird098", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird099", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird100", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird101", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird102", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird103", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird104", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird105", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird106", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird107", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird108", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird109", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird110", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird111", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird112", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird113", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird114", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird115", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird116", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird117", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird118", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird119", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird120", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird121", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird122", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird123", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird124", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird125", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird126", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird127", + "score": 0, + "status": "failed" + }, + { + "instance_id": "bird128", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird129", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird130", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird131", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird132", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird133", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird134", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird135", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird136", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird137", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird138", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird139", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird140", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird141", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird142", + "score": 0, + "status": "failed" + }, + { + "instance_id": "bird143", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird144", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird145", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird147", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird148", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird149", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird150", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird151", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird153", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird154", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird155", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird156", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird157", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird158", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird159", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird160", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird161", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird162", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird163", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird164", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird165", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird166", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird167", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird168", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird169", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird170", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird171", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird172", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird173", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird174", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird175", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird176", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird177", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird178", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird180", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird181", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird182", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird183", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird184", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird185", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird186", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird187", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird188", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird189", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird190", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird191", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird192", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird193", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird194", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird195", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird196", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird197", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird198", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird199", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird200", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird201", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird202", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird203", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird204", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird205", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird206", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird207", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird208", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird209", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird210", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird211", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird212", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird213", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird214", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird215", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird216", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird217", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird218", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird219", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird220", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird221", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird222", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird223", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird224", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird225", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird226", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird227", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird228", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird230", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird231", + "score": 0, + "status": "failed" + }, + { + "instance_id": "bird232", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird233", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird234", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird235", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird236", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird237", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird238", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird239", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird240", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird241", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird242", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird243", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird244", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird245", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird246", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird247", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird248", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird250", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird251", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird252", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird253", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird254", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird255", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird256", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird257", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird258", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird259", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird261", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird262", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird263", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird264", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird265", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird266", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird267", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird268", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird269", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird270", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird271", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird272", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird273", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird274", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird275", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird276", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird277", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird278", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird279", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird280", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird281", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird282", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird283", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird284", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird285", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird286", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird287", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird288", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird289", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird290", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird291", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird292", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird293", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird294", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird295", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird296", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird297", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird298", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird299", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird300", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird301", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird302", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird303", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird304", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird305", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird306", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird307", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird308", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird309", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird310", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird311", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird312", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird313", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird314", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird315", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird316", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird317", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird318", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird319", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird320", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird321", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird322", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird323", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird324", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird325", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird326", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird327", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird328", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird329", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird330", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird331", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird332", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird333", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird334", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird335", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird336", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird337", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird338", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird339", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird340", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird341", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird342", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird343", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird344", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird345", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird346", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird347", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird348", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird349", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird350", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird351", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird352", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird354", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird355", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird356", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird357", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird358", + "score": 0, + "status": "failed" + }, + { + "instance_id": "bird359", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird360", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird361", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird362", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird363", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird364", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird365", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird366", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird367", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird368", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird369", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird370", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird371", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird372", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird373", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird374", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird375", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird376", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird377", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird378", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird380", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird381", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird382", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird383", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird384", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird385", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird386", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird387", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird388", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird390", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird391", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird392", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird393", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird394", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird395", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird396", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird397", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird398", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird399", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird400", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird401", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird402", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird403", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird404", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird405", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird406", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird407", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird408", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird409", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird410", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird411", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird412", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird413", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird414", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird415", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird416", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird417", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird418", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird419", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird420", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird421", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird422", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird424", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird425", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird426", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird427", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird428", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird430", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird431", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird432", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird433", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird434", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird435", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird436", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird437", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird438", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird439", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird440", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird441", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird442", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird443", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird444", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird445", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird446", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird447", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird448", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird450", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird452", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird453", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird454", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird455", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird456", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird457", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird458", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird460", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird461", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird462", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird463", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird464", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird465", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird466", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird467", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird468", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird469", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird471", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird472", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird473", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird474", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird475", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird476", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird477", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird478", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird479", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird480", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird481", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird482", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird483", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird484", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird485", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird486", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird487", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird488", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird489", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird490", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird491", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird492", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird493", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird494", + "score": 0, + "status": "predicted" + }, + { + "instance_id": "bird495", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird496", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird497", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird498", + "score": 1, + "status": "predicted" + }, + { + "instance_id": "bird499", + "score": 1, + "status": "predicted" + } +] diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird000.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird000.sql new file mode 100644 index 00000000..858d36a0 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird000.sql @@ -0,0 +1,5 @@ +SELECT MAX(f."Percent (%) Eligible Free (Ages 5-17)") AS highest_free_meal_eligibility_rate +FROM frpm AS f +JOIN satscores AS s ON s.cds = f.CDSCode +WHERE s.rtype = 'S' + AND 1.0 * s.NumGE1500 / NULLIF(s.NumTstTakr, 0) > 0.3; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird001.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird001.sql new file mode 100644 index 00000000..b892d764 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird001.sql @@ -0,0 +1,13 @@ +WITH local_enrollment AS ( + SELECT CDSCode, + "Enrollment (K-12)" - "Enrollment (Ages 5-17)" AS enrollment_difference + FROM frpm + WHERE "Charter Funding Type" = 'Locally funded' +) +SELECT s.School, s.DOCType +FROM local_enrollment AS e +JOIN schools AS s ON s.CDSCode = e.CDSCode +WHERE e.enrollment_difference > ( + SELECT AVG(enrollment_difference) + FROM local_enrollment +); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird002.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird002.sql new file mode 100644 index 00000000..00ce4983 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird002.sql @@ -0,0 +1,7 @@ +SELECT s."School", + ROUND(f."Percent (%) Eligible FRPM (K-12)", 6) AS "K-12 eligible meal rate" +FROM schools AS s +JOIN frpm AS f ON f."CDSCode" = s."CDSCode" +WHERE s."SOC" = '66' +ORDER BY f."FRPM Count (K-12)" DESC NULLS LAST, s."CDSCode" +LIMIT 5; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird003.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird003.sql new file mode 100644 index 00000000..ea70d8f4 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird003.sql @@ -0,0 +1,5 @@ +SELECT 1.0 * COUNT(CASE WHEN DOCType = 'Unified School District' THEN 1 END) + / NULLIF(COUNT(CASE WHEN DOCType = 'Elementary School District' THEN 1 END), 0) AS ratio +FROM schools +WHERE County = 'Orange' + AND StatusType = 'Merged'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird004.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird004.sql new file mode 100644 index 00000000..aa331594 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird004.sql @@ -0,0 +1,7 @@ +SELECT sc.MailStreet, sc.School +FROM satscores AS s +JOIN schools AS sc ON sc.CDSCode = s.cds +WHERE s.rtype = 'S' + AND s.AvgScrMath IS NOT NULL +ORDER BY s.AvgScrMath DESC, s.cds +LIMIT 1 OFFSET 6; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird005.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird005.sql new file mode 100644 index 00000000..25aece31 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird005.sql @@ -0,0 +1,5 @@ +SELECT COUNT(DISTINCT CDSCode) AS school_count +FROM frpm +WHERE "County Name" = 'Los Angeles' + AND "Charter School (Y/N)" = 0 + AND "Percent (%) Eligible Free (K-12)" < 0.0018; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird006.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird006.sql new file mode 100644 index 00000000..cd6707f5 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird006.sql @@ -0,0 +1,7 @@ +SELECT s."School", + 100.0 * f."FRPM Count (Ages 5-17)" / NULLIF(f."Enrollment (Ages 5-17)", 0) + AS "Percent (%) Eligible FRPM (Ages 5-17)" +FROM "schools" AS s +LEFT JOIN "frpm" AS f ON f."CDSCode" = s."CDSCode" +WHERE s."County" = 'Los Angeles' + AND s."GSserved" = 'K-9'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird007.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird007.sql new file mode 100644 index 00000000..bbc4b9ce --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird007.sql @@ -0,0 +1,6 @@ +SELECT + 100.0 * f."Free Meal Count (K-12)" / NULLIF(f."Enrollment (K-12)", 0) AS "Percent (%) Eligible Free (K-12)", + f."District Code" +FROM frpm AS f +JOIN schools AS s ON s.CDSCode = f.CDSCode +WHERE 'Alusine' IN (s.AdmFName1, s.AdmFName2, s.AdmFName3); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird008.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird008.sql new file mode 100644 index 00000000..c3634d80 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird008.sql @@ -0,0 +1,20 @@ +WITH matching_schools AS ( + SELECT AdmEmail1, AdmEmail2, AdmEmail3 + FROM schools + WHERE County = 'San Bernardino' + AND City = 'San Bernardino' + AND DOCType = 'Unified School District' + AND SOCType = 'Intermediate/Middle Schools (Public)' + AND OpenDate >= '2009-01-01' + AND OpenDate < '2011-01-01' +), emails AS ( + SELECT TRIM(AdmEmail1) AS email FROM matching_schools + UNION + SELECT TRIM(AdmEmail2) FROM matching_schools + UNION + SELECT TRIM(AdmEmail3) FROM matching_schools +) +SELECT email +FROM emails +WHERE email IS NOT NULL AND email <> '' +ORDER BY email; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird009.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird009.sql new file mode 100644 index 00000000..afeab681 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird009.sql @@ -0,0 +1,9 @@ +WITH candidates AS ( + SELECT s.NCESSchool, f."Enrollment (Ages 5-17)" AS enrollment + FROM schools AS s + JOIN frpm AS f ON f.CDSCode = s.CDSCode + WHERE s.CDSCode IN ('01751010130583', '01612910137588', '01611760134270') +) +SELECT NCESSchool +FROM candidates +WHERE enrollment = (SELECT MAX(enrollment) FROM candidates); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird010.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird010.sql new file mode 100644 index 00000000..172a76ff --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird010.sql @@ -0,0 +1,5 @@ +SELECT ROUND(AVG(COALESCE(t.NumTstTakr, 0)), 2) AS avg_sat_test_takers_per_school +FROM schools AS s +LEFT JOIN satscores AS t ON t.cds = s.CDSCode +WHERE s.CharterNum = '0756' + AND s.MailCity = 'San Diego'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird011.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird011.sql new file mode 100644 index 00000000..c70c0965 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird011.sql @@ -0,0 +1,37 @@ +WITH eligible AS ( + SELECT s.School AS school_name, + TRIM(s.GSserved) AS grade_span_served + FROM schools AS s + WHERE s.NCESDist = '0613360' + AND s.StatusType = 'Active' + AND s.School IS NOT NULL + AND (TRIM(s.GSserved) = '12' OR TRIM(s.GSserved) LIKE '%-12') + AND NOT EXISTS ( + SELECT 1 + FROM satscores AS sat + WHERE sat.cds = s.CDSCode + AND sat.NumTstTakr > 0 + ) +), starting_grades AS ( + SELECT school_name, + grade_span_served, + CASE + WHEN INSTR(grade_span_served, '-') = 0 THEN grade_span_served + ELSE TRIM(SUBSTR(grade_span_served, 1, INSTR(grade_span_served, '-') - 1)) + END AS start_grade + FROM eligible +), ranked_grades AS ( + SELECT school_name, + grade_span_served, + CASE + WHEN UPPER(start_grade) IN ('P', 'PK', 'PS', 'PRE', 'PRESCHOOL') THEN -2 + WHEN UPPER(start_grade) = 'TK' THEN -1 + WHEN UPPER(start_grade) = 'K' THEN 0 + ELSE CAST(start_grade AS INTEGER) + END AS grade_order + FROM starting_grades +) +SELECT school_name, grade_span_served +FROM ranked_grades +WHERE grade_order = (SELECT MIN(grade_order) FROM ranked_grades) +ORDER BY school_name COLLATE NOCASE; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird012.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird012.sql new file mode 100644 index 00000000..9222c2ac --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird012.sql @@ -0,0 +1,10 @@ +WITH eligible AS ( + SELECT s.School, s.MailStreet, a.AvgScrRead + FROM schools AS s + JOIN satscores AS a ON a.cds = s.CDSCode + WHERE s.DOCType = 'State Board of Education' + AND a.rtype = 'S' +) +SELECT School, MailStreet +FROM eligible +WHERE AvgScrRead = (SELECT MAX(AvgScrRead) FROM eligible); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird013.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird013.sql new file mode 100644 index 00000000..ebcb99da --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird013.sql @@ -0,0 +1,13 @@ +SELECT s.City +FROM schools AS s +WHERE s.CDSCode = '01611920113902' + AND s.County = 'Alameda' + AND s.EILCode = 'HS' + AND EXISTS ( + SELECT 1 + FROM frpm AS f + WHERE f.CDSCode = s.CDSCode + AND f."NSLP Provision Status" = 'Breakfast Provision 2' + AND f."Low Grade" = '9' + AND f."High Grade" = '12' + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird014.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird014.sql new file mode 100644 index 00000000..1095594f --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird014.sql @@ -0,0 +1,7 @@ +SELECT s.School AS school_name, s.City AS city +FROM schools AS s +JOIN frpm AS f ON f.CDSCode = s.CDSCode +WHERE s.EILCode = 'HS' + AND f."NSLP Provision Status" = 'Provision 2' + AND CAST(f."Low Grade" AS INTEGER) > 9 +ORDER BY s.School; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird015.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird015.sql new file mode 100644 index 00000000..cf369438 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird015.sql @@ -0,0 +1,10 @@ +WITH eligible AS ( + SELECT s.School, s.Phone, a.NumGE1500 + FROM schools AS s + JOIN satscores AS a ON a.cds = s.CDSCode + WHERE s.DOCType = 'Statewide Benefit Charter' + AND a.rtype = 'S' +) +SELECT School, Phone +FROM eligible +WHERE NumGE1500 = (SELECT MAX(NumGE1500) FROM eligible); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird016.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird016.sql new file mode 100644 index 00000000..6755520e --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird016.sql @@ -0,0 +1,6 @@ +SELECT sat.AvgScrMath, sat.NumTstTakr +FROM satscores AS sat +JOIN schools AS s ON s.CDSCode = sat.cds +WHERE s.CDSCode = '01611190130609' + AND s.Charter = 1 + AND s.FundingType = 'Directly funded'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird017.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird017.sql new file mode 100644 index 00000000..5e9891c3 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird017.sql @@ -0,0 +1,9 @@ +SELECT COUNT(*) AS school_count +FROM satscores AS s +WHERE s.rtype = 'S' + AND s.cname = 'Contra Costa' + AND s.NumTstTakr > ( + SELECT t.NumTstTakr + FROM satscores AS t + WHERE t.cds = '07618040730051' AND t.rtype = 'S' + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird018.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird018.sql new file mode 100644 index 00000000..a84052d8 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird018.sql @@ -0,0 +1,12 @@ +SELECT COUNT(DISTINCT sc.CDSCode) AS qualifying_school_count +FROM schools AS sc +JOIN satscores AS sat ON sat.cds = sc.CDSCode +WHERE sc.MailCity = 'San Francisco' + AND sc.DOCType IN ( + 'Unified School District', + 'High School District', + 'Elementary School District', + 'County Office of Education (COE)' + ) + AND sat.rtype = 'S' + AND sat.AvgScrRead + sat.AvgScrMath + sat.AvgScrWrite >= 1500; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird019.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird019.sql new file mode 100644 index 00000000..fcf76e55 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird019.sql @@ -0,0 +1,20 @@ +WITH starting_grades AS ( + SELECT TRIM(SUBSTR(GSserved, 1, INSTR(GSserved || '-', '-') - 1)) AS grade_level + FROM schools + WHERE NCESDist = '0632640' +), ranked_grades AS ( + SELECT grade_level, + CASE + WHEN grade_level = 'P' THEN -2 + WHEN grade_level = 'TK' THEN -1 + WHEN grade_level = 'K' THEN 0 + WHEN grade_level <> '' AND grade_level NOT GLOB '*[^0-9]*' + THEN CAST(grade_level AS INTEGER) + END AS grade_order + FROM starting_grades +) +SELECT grade_level +FROM ranked_grades +WHERE grade_order IS NOT NULL +ORDER BY grade_order +LIMIT 1; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird020.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird020.sql new file mode 100644 index 00000000..d0ae0856 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird020.sql @@ -0,0 +1,52 @@ +WITH county_records AS ( + SELECT CDSCode AS cds_code, + substr(CDSCode, 1, 7) AS district_code, + District AS district_name, + DOC, + School, + AdmFName1, + AdmFName2, + AdmFName3 + FROM schools + WHERE County IN ('Amador', 'Madera') +), +public_districts AS ( + SELECT DISTINCT district_code, district_name + FROM county_records + WHERE substr(cds_code, -7) = '0000000' + AND DOC IN ('00', '52', '54', '56') +), +school_records AS ( + SELECT cds_code, district_code, AdmFName1, AdmFName2, AdmFName3 + FROM county_records + WHERE substr(cds_code, -7) <> '0000000' + AND NULLIF(trim(School), '') IS NOT NULL +), +school_admin_names AS ( + SELECT cds_code, district_code, NULLIF(trim(AdmFName1), '') AS first_name + FROM school_records + UNION + SELECT cds_code, district_code, NULLIF(trim(AdmFName2), '') + FROM school_records + UNION + SELECT cds_code, district_code, NULLIF(trim(AdmFName3), '') + FROM school_records +), +top_names AS ( + SELECT first_name, COUNT(*) AS total_schools + FROM school_admin_names + WHERE first_name IS NOT NULL + GROUP BY first_name + ORDER BY total_schools DESC, first_name ASC + LIMIT 2 +) +SELECT d.district_name, + t.first_name, + COUNT(a.cds_code) AS school_count +FROM public_districts AS d +CROSS JOIN top_names AS t +LEFT JOIN school_admin_names AS a + ON a.district_code = d.district_code + AND a.first_name = t.first_name +GROUP BY d.district_code, d.district_name, t.first_name, t.total_schools +ORDER BY d.district_name, d.district_code, t.total_schools DESC, t.first_name; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird021.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird021.sql new file mode 100644 index 00000000..952d9a70 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird021.sql @@ -0,0 +1,6 @@ +SELECT ROUND(AVG(COALESCE(f."FRPM Count (Ages 5-17)", 0)), 2) AS average_eligible_students +FROM schools AS s +LEFT JOIN frpm AS f + ON f.CDSCode = s.CDSCode + AND f."Academic Year" = '2014-2015' +WHERE s.SOCType = 'Youth Authority Facilities'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird022.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird022.sql new file mode 100644 index 00000000..ea4967fc --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird022.sql @@ -0,0 +1,3 @@ +SELECT School, EILName +FROM schools +WHERE CDSCode = '01612590136051'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird023.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird023.sql new file mode 100644 index 00000000..d2d389bc --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird023.sql @@ -0,0 +1,10 @@ +WITH eligible_schools AS ( + SELECT s.School, s.AdmEmail1, sat.NumGE1500 + FROM schools AS s + JOIN satscores AS sat ON sat.cds = s.CDSCode + WHERE s.DOCType = 'State Board of Education' + AND sat.rtype = 'S' +) +SELECT School, AdmEmail1 +FROM eligible_schools +WHERE NumGE1500 = (SELECT MAX(NumGE1500) FROM eligible_schools); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird025.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird025.sql new file mode 100644 index 00000000..e20f9ba3 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird025.sql @@ -0,0 +1,14 @@ +SELECT ROUND(AVG(COALESCE(sat.NumTstTakr, 0)), 2) AS avg_sat_test_takers +FROM schools AS s +LEFT JOIN satscores AS sat + ON sat.cds = s.CDSCode AND sat.rtype = 'S' +WHERE s.County = 'Los Angeles' + AND s.OpenDate >= '2007-01-01' + AND s.OpenDate < '2008-01-01' + AND s.School IS NOT NULL + AND s.DOCType IN ( + 'County Office of Education (COE)', + 'Elementary School District', + 'High School District', + 'Unified School District' + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird026.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird026.sql new file mode 100644 index 00000000..e277b400 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird026.sql @@ -0,0 +1,18 @@ +SELECT + s.FundingType AS funding_category, + COUNT(*) AS active_charter_school_count, + SUM(f."Enrollment (K-12)") AS total_k12_enrollment_2014_2015, + ROUND(100.0 * AVG(f."Percent (%) Eligible FRPM (K-12)"), 2) AS avg_k12_frpm_eligible_pct, + ROUND(AVG(a.AvgScrRead + a.AvgScrMath + a.AvgScrWrite), 2) AS avg_combined_sat_score +FROM schools AS s +LEFT JOIN frpm AS f + ON f.CDSCode = s.CDSCode + AND f."Academic Year" = '2014-2015' +LEFT JOIN satscores AS a + ON a.cds = s.CDSCode + AND a.rtype = 'S' +WHERE s.StatusType = 'Active' + AND s.Charter = 1 + AND s.FundingType IN ('Directly funded', 'Locally funded') +GROUP BY s.FundingType +ORDER BY s.FundingType; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird027.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird027.sql new file mode 100644 index 00000000..fb6b6fcd --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird027.sql @@ -0,0 +1,19 @@ +SELECT + f."School Name" AS school_name, + f."Low Grade" AS earliest_grade_level, + f."Enrollment (K-12)" AS k12_enrollment, + COALESCE(s.NumTstTakr, 0) AS sat_test_takers +FROM frpm AS f +LEFT JOIN satscores AS s + ON s.cds = f.CDSCode AND s.rtype = 'S' +WHERE f."Academic Year" = '2014-2015' + AND f."School Type" = 'State Special Schools' +ORDER BY + CASE f."Low Grade" + WHEN 'P' THEN -1 + WHEN 'K' THEN 0 + ELSE CAST(f."Low Grade" AS INTEGER) + END DESC, + f."Enrollment (K-12)" DESC, + f."School Name" COLLATE NOCASE ASC +LIMIT 1; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird028.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird028.sql new file mode 100644 index 00000000..4be41cec --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird028.sql @@ -0,0 +1,13 @@ +SELECT COUNT(DISTINCT f.CDSCode) AS school_count +FROM frpm AS f +WHERE f."Enrollment (K-12)" > 500 + AND TRIM(f."High Grade") IN ('1', '2', '3', '4', '5', '6', '7', '8') + AND NULLIF(TRIM(f."School Name"), '') IS NOT NULL + AND f."School Code" <> '0000000' + AND NOT EXISTS ( + SELECT 1 + FROM satscores AS s + WHERE s.cds = f.CDSCode + AND s.rtype = 'S' + AND s.NumTstTakr > 0 + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird029.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird029.sql new file mode 100644 index 00000000..7a551eda --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird029.sql @@ -0,0 +1,13 @@ +SELECT + f."Charter Funding Type" AS charter_funding_type, + COUNT(*) AS active_school_count, + SUM(f."Enrollment (K-12)") AS total_k12_enrollment, + SUM(f."FRPM Count (K-12)") AS total_k12_frpm_eligible +FROM frpm AS f +JOIN schools AS s ON s.CDSCode = f.CDSCode +WHERE f."District Type" = 'County Office of Education (COE)' + AND f."Charter School (Y/N)" = 1 + AND f."Charter Funding Type" IN ('Directly funded', 'Locally funded') + AND s.StatusType = 'Active' +GROUP BY f."Charter Funding Type" +ORDER BY CASE f."Charter Funding Type" WHEN 'Directly funded' THEN 1 ELSE 2 END; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird030.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird030.sql new file mode 100644 index 00000000..fbc7b41b --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird030.sql @@ -0,0 +1,16 @@ +WITH ranked_schools AS ( + SELECT s.School AS school_name, + s.District AS district, + s.County AS county, + sa.AvgScrWrite AS average_sat_writing_score, + DENSE_RANK() OVER (ORDER BY sa.AvgScrWrite DESC) AS score_rank + FROM schools AS s + JOIN satscores AS sa ON sa.cds = s.CDSCode + WHERE s.StatusType = 'Closed' + AND sa.rtype = 'S' + AND sa.AvgScrWrite IS NOT NULL +) +SELECT school_name, district, county, average_sat_writing_score +FROM ranked_schools +WHERE score_rank = 2 +ORDER BY school_name, district, county; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird031.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird031.sql new file mode 100644 index 00000000..3ef8fdde --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird031.sql @@ -0,0 +1,10 @@ +SELECT COUNT(DISTINCT s.CDSCode) AS school_count +FROM schools AS s +WHERE s.StatusType = 'Active' + AND s.EILName = 'High School' + AND NOT EXISTS ( + SELECT 1 + FROM satscores AS sat + WHERE sat.cds = s.CDSCode + AND sat.NumTstTakr <> 0 + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird032.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird032.sql new file mode 100644 index 00000000..30c2e46c --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird032.sql @@ -0,0 +1,20 @@ +WITH target_county AS ( + SELECT DISTINCT County + FROM schools + WHERE CDSCode = '01612590125716' +) +SELECT + c.County AS county_name, + COUNT(f.CDSCode) AS school_count, + ROUND(AVG(ROUND(100.0 * f."Free Meal Count (K-12)" / f."Enrollment (K-12)", 2)), 2) AS avg_free_meal_percentage, + ROUND(AVG(ROUND(100.0 * f."FRPM Count (K-12)" / f."Enrollment (K-12)", 2)), 2) AS avg_frpm_percentage, + COUNT(CASE WHEN f."Charter School (Y/N)" = 1 THEN 1 END) AS charter_school_count, + COUNT(CASE WHEN f."Charter School (Y/N)" = 0 THEN 1 END) AS non_charter_school_count, + ROUND(AVG(s.AvgScrRead + s.AvgScrMath + s.AvgScrWrite), 2) AS avg_sat_score +FROM target_county AS c +LEFT JOIN frpm AS f + ON f."County Name" = c.County + AND f."Free Meal Count (K-12)" > 500 + AND f."FRPM Count (K-12)" < 700 +LEFT JOIN satscores AS s ON s.cds = f.CDSCode +GROUP BY c.County; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird033.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird033.sql new file mode 100644 index 00000000..fcff8c03 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird033.sql @@ -0,0 +1,7 @@ +SELECT COUNT(*) / 12.0 AS average_schools_per_month +FROM schools +WHERE County = 'San Diego' + AND DOC IN ('52', '54', '56') + AND School IS NOT NULL + AND OpenDate >= '1980-01-01' + AND OpenDate < '1981-01-01'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird034.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird034.sql new file mode 100644 index 00000000..83b8c038 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird034.sql @@ -0,0 +1,6 @@ +SELECT ROUND(100.0 * COUNT(CASE WHEN s.Virtual IN ('F', 'P') THEN 1 END) / COUNT(*), 1) AS virtual_percentage +FROM schools AS s +JOIN satscores AS t ON t.cds = s.CDSCode +WHERE s.State = 'CA' + AND t.rtype = 'S' + AND t.AvgScrMath > 400; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird035.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird035.sql new file mode 100644 index 00000000..a4dba338 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird035.sql @@ -0,0 +1,17 @@ +SELECT + s.School, + s.County, + s.District, + s.City, + f."Enrollment (K-12)", + f."FRPM Count (K-12)", + f."Percent (%) Eligible FRPM (K-12)", + sat.NumTstTakr, + sat.AvgScrRead, + sat.AvgScrMath, + sat.AvgScrWrite, + sat.NumGE1500 +FROM schools AS s +LEFT JOIN frpm AS f ON f.CDSCode = s.CDSCode +LEFT JOIN satscores AS sat ON sat.cds = s.CDSCode +WHERE s.CDSCode = '01612590137943'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird037.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird037.sql new file mode 100644 index 00000000..34a98132 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird037.sql @@ -0,0 +1,24 @@ +WITH math_benchmark AS ( + SELECT MAX(a.AvgScrMath) AS highest_avg_sat_math + FROM satscores AS a + JOIN schools AS s ON s.CDSCode = a.cds + WHERE s.StatusType = 'Active' + AND a.rtype = 'S' + AND a.NumTstTakr >= 10 +) +SELECT s.School AS school_name, + s.Phone AS phone_number, + s.Website AS website, + a.AvgScrRead AS avg_sat_reading, + a.AvgScrMath AS avg_sat_math, + a.AvgScrWrite AS avg_sat_writing, + (s.Charter = 1) AS is_charter, + f."Enrollment (K-12)" AS k12_enrollment_2014_2015, + ROUND(100.0 * f."Percent (%) Eligible FRPM (K-12)", 2) AS pct_eligible_frpm_k12, + b.highest_avg_sat_math, + b.highest_avg_sat_math - a.AvgScrMath AS sat_math_points_below_highest +FROM schools AS s +LEFT JOIN satscores AS a ON a.cds = s.CDSCode AND a.rtype = 'S' +LEFT JOIN frpm AS f ON f.CDSCode = s.CDSCode AND f."Academic Year" = '2014-2015' +CROSS JOIN math_benchmark AS b +WHERE s.CDSCode = '07618040113118'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird038.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird038.sql new file mode 100644 index 00000000..3e240fa0 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird038.sql @@ -0,0 +1,28 @@ +WITH virtual_schools AS ( + SELECT CDSCode, County, School + FROM schools + WHERE Virtual = 'F' +), county_counts AS ( + SELECT County, + COUNT(*) AS school_count, + RANK() OVER (ORDER BY COUNT(*) DESC) AS county_rank + FROM virtual_schools + GROUP BY County +), ranked_reading AS ( + SELECT v.CDSCode, v.County, v.School, + RANK() OVER ( + PARTITION BY v.County + ORDER BY t.AvgScrRead DESC + ) AS reading_rank + FROM virtual_schools AS v + JOIN satscores AS t ON t.cds = v.CDSCode + WHERE t.AvgScrRead IS NOT NULL +) +SELECT c.County AS county_name, + c.school_count AS exclusively_virtual_school_count, + CASE WHEN r.CDSCode IS NULL THEN 'None' ELSE r.School END AS school_name +FROM county_counts AS c +LEFT JOIN ranked_reading AS r + ON r.County = c.County AND r.reading_rank = 1 +WHERE c.county_rank <= 5 +ORDER BY c.school_count DESC, c.County, school_name; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird039.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird039.sql new file mode 100644 index 00000000..da2093d4 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird039.sql @@ -0,0 +1,14 @@ +WITH target_counties (county) AS ( + SELECT 'Santa Barbara' + UNION + SELECT County + FROM schools + WHERE CDSCode = '01100170109835' +) +SELECT t.county AS county, + COUNT(DISTINCT s.CDSCode) AS exclusive_virtual_schools +FROM target_counties AS t +LEFT JOIN schools AS s + ON s.County = t.county AND s.Virtual = 'F' +GROUP BY t.county +ORDER BY exclusive_virtual_schools DESC, county ASC; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird040.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird040.sql new file mode 100644 index 00000000..33033a62 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird040.sql @@ -0,0 +1,45 @@ +WITH eligible AS ( + SELECT f.CDSCode, + f."Enrollment (K-12)" AS enrollment, + f."FRPM Count (K-12)" AS frpm_count, + 1.0 * f."FRPM Count (K-12)" / f."Enrollment (K-12)" AS frpm_share + FROM frpm AS f + WHERE f."Educational Option Type" = 'Traditional' + AND f."Charter School (Y/N)" = 0 + AND f."Enrollment (K-12)" > 100 +), extremes AS ( + SELECT MAX(frpm_count) AS max_count, MIN(frpm_share) AS min_share + FROM eligible +), selected AS ( + SELECT 1 AS part_order, 'largest FRPM-eligible count' AS part, e.* + FROM eligible AS e CROSS JOIN extremes AS x + WHERE e.frpm_count = x.max_count + UNION ALL + SELECT 2, 'smallest FRPM share', e.* + FROM eligible AS e CROSS JOIN extremes AS x + WHERE e.frpm_share = x.min_share + UNION ALL + SELECT 3, 'the CDS code from my notes', e.* + FROM eligible AS e + WHERE e.CDSCode = '04615150435602' +) +SELECT p.part, + s.School AS school_name, + s.County AS county, + s.City AS city, + s.MailStreet AS mailing_street, + s.MailCity AS mailing_city, + s.MailState AS mailing_state, + s.MailZip AS mailing_zip, + s.Website AS website, + p.enrollment AS k12_enrollment, + p.frpm_count AS frpm_eligible_count, + p.frpm_share, + a.AvgScrRead + a.AvgScrMath + a.AvgScrWrite AS avg_total_sat_score, + 100.0 * a.NumGE1500 / NULLIF(a.NumTstTakr, 0) AS pct_sat_takers_scoring_1500_or_more, + s.OpenDate AS opening_date, + CASE WHEN NULLIF(s.ClosedDate, '') IS NOT NULL THEN 'closed' ELSE 'open' END AS status +FROM selected AS p +JOIN schools AS s ON s.CDSCode = p.CDSCode +LEFT JOIN satscores AS a ON a.cds = p.CDSCode AND a.rtype = 'S' +ORDER BY p.part_order, s.School, p.CDSCode; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird041.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird041.sql new file mode 100644 index 00000000..77daae94 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird041.sql @@ -0,0 +1,7 @@ +SELECT s.School AS school_name, + s.Street AS street_address +FROM frpm AS f +JOIN schools AS s ON s.CDSCode = f.CDSCode +WHERE NULLIF(TRIM(s.School), '') IS NOT NULL + AND f."Enrollment (K-12)" - f."Enrollment (Ages 5-17)" > 30 + AND f."High Grade" IN ('K', '1', '2', '3', '4', '5', '6', '7', '8'); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird042.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird042.sql new file mode 100644 index 00000000..77a7783e --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird042.sql @@ -0,0 +1,6 @@ +SELECT s.School, s.Street +FROM schools AS s +JOIN frpm AS f ON f.CDSCode = s.CDSCode +WHERE f."Low Grade" IN ('9', '10', '11', '12') + AND f."Enrollment (K-12)" - f."Enrollment (Ages 5-17)" > 30 +ORDER BY s.CDSCode ASC; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird043.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird043.sql new file mode 100644 index 00000000..b1ab9fd4 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird043.sql @@ -0,0 +1,14 @@ +SELECT f."County Name" AS county_name, + COUNT(DISTINCT f.CDSCode) AS qualifying_schools +FROM frpm AS f +WHERE f."Academic Year" = '2014-2015' + AND CAST(f."Free Meal Count (K-12)" AS REAL) / NULLIF(f."Enrollment (K-12)", 0) > 0.1 + AND EXISTS ( + SELECT 1 + FROM satscores AS s + WHERE s.cds = f.CDSCode + AND s.rtype = 'S' + AND CAST(s.NumGE1500 AS INTEGER) >= 1 + ) +GROUP BY f."County Name" +ORDER BY qualifying_schools DESC, county_name ASC; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird044.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird044.sql new file mode 100644 index 00000000..54a2e9e0 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird044.sql @@ -0,0 +1,9 @@ +SELECT s.AdmFName1, s.AdmLName1 +FROM schools AS ref +JOIN schools AS s ON s.County = ref.County +JOIN satscores AS sat ON sat.cds = s.CDSCode +WHERE ref.CDSCode = '01611430131177' + AND sat.rtype = 'S' + AND sat.NumGE1500 IS NOT NULL +ORDER BY sat.NumGE1500 DESC, s.CDSCode ASC +LIMIT 1; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird045.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird045.sql new file mode 100644 index 00000000..249357e4 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird045.sql @@ -0,0 +1,10 @@ +SELECT a.Street, a.City, a.Zip, a.State +FROM satscores AS s +JOIN schools AS a ON a.CDSCode = s.cds +LEFT JOIN frpm AS f ON f.CDSCode = s.cds +WHERE s.rtype = 'S' + AND s.NumTstTakr >= 700 + AND s.NumGE1500 IS NOT NULL +ORDER BY CAST(s.NumGE1500 AS REAL) / s.NumTstTakr ASC, + CAST(f."School Code" AS INTEGER) ASC NULLS LAST +LIMIT 1; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird046.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird046.sql new file mode 100644 index 00000000..a3f3691b --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird046.sql @@ -0,0 +1,7 @@ +SELECT s.City AS city, COUNT(DISTINCT s.CDSCode) AS magnet_school_count +FROM schools AS s +JOIN frpm AS f ON f.CDSCode = s.CDSCode +WHERE s.Magnet = 1 + AND f."NSLP Provision Status" = 'Provision 2' +GROUP BY s.City +ORDER BY magnet_school_count DESC, city; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird047.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird047.sql new file mode 100644 index 00000000..130a20c0 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird047.sql @@ -0,0 +1,15 @@ +SELECT s.School AS school_name, + s.Street AS street_address, + s.City AS city, + s.State AS state, + s.Zip AS zip_code +FROM frpm AS f +JOIN schools AS s ON s.CDSCode = f.CDSCode +WHERE f."County Name" = 'Los Angeles' + AND f."School Type" IN ( + 'High Schools (Public)', + 'Continuation High Schools', + 'High Schools In 1 School Dist. (Public)' + ) + AND f."FRPM Count (Ages 5-17)" > 500 +ORDER BY s.School, s.CDSCode; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird048.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird048.sql new file mode 100644 index 00000000..0789c414 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird048.sql @@ -0,0 +1,8 @@ +SELECT s.County AS county_name, + COALESCE(SUM(t.NumTstTakr), 0) AS total_sat_test_takers +FROM schools AS s +JOIN frpm AS f ON f.CDSCode = s.CDSCode +LEFT JOIN satscores AS t ON t.cds = s.CDSCode AND t.rtype = 'S' +WHERE f."NSLP Provision Status" = 'Provision 2' + AND s.Magnet = 1 +GROUP BY s.County; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird049.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird049.sql new file mode 100644 index 00000000..3dcd78c0 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird049.sql @@ -0,0 +1,4 @@ +SELECT id +FROM cards +WHERE borderColor = 'borderless' + AND (cardKingdomId IS NULL OR cardKingdomFoilId IS NULL); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird050.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird050.sql new file mode 100644 index 00000000..96e9ba9c --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird050.sql @@ -0,0 +1,11 @@ +WITH ruling_counts AS ( + SELECT c.uuid, COUNT(r.uuid) AS ruling_count + FROM cards AS c + LEFT JOIN rulings AS r ON r.uuid = c.uuid + GROUP BY c.uuid +) +SELECT DISTINCT c.name, c.artist, c.isPromo +FROM cards AS c +JOIN ruling_counts AS rc ON rc.uuid = c.uuid +WHERE rc.ruling_count = (SELECT MAX(ruling_count) FROM ruling_counts) +ORDER BY c.name, c.artist, c.isPromo; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird051.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird051.sql new file mode 100644 index 00000000..f072e180 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird051.sql @@ -0,0 +1,9 @@ +SELECT ROUND( + 100.0 * COUNT(CASE WHEN c.uuid IN ( + SELECT fd.uuid + FROM foreign_data AS fd + WHERE fd.language = 'Chinese Simplified' + ) THEN 1 END) / COUNT(*), + 2 +) AS percentage +FROM cards AS c; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird052.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird052.sql new file mode 100644 index 00000000..966dabcb --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird052.sql @@ -0,0 +1 @@ +SELECT DISTINCT text FROM cards WHERE name = 'Benalish Knight'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird053.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird053.sql new file mode 100644 index 00000000..4d9d9921 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird053.sql @@ -0,0 +1,8 @@ +SELECT ROUND(100.0 * AVG(EXISTS ( + SELECT 1 + FROM foreign_data AS f + WHERE f.uuid = c.uuid + AND f.language = 'French' +)), 2) AS french_translation_percentage +FROM cards AS c +WHERE c.isStorySpotlight = 1; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird054.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird054.sql new file mode 100644 index 00000000..33562a0e --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird054.sql @@ -0,0 +1,3 @@ +SELECT id +FROM cards +WHERE duelDeck = 'a'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird055.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird055.sql new file mode 100644 index 00000000..06646acc --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird055.sql @@ -0,0 +1,8 @@ +SELECT COUNT(DISTINCT c.uuid) AS banned_white_bordered_printings +FROM cards AS c +WHERE c.borderColor = 'white' + AND c.uuid IN ( + SELECT l.uuid + FROM legalities AS l + WHERE l.status = 'Banned' + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird056.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird056.sql new file mode 100644 index 00000000..14f3a75f --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird056.sql @@ -0,0 +1,8 @@ +SELECT COUNT(DISTINCT c.uuid) AS printing_count +FROM cards AS c +JOIN ( + SELECT DISTINCT uuid + FROM rulings + WHERE text LIKE '%triggered ability%' +) AS r ON r.uuid = c.uuid +WHERE c.power IS NULL OR c.power LIKE '%*%'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird057.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird057.sql new file mode 100644 index 00000000..36fb2cb7 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird057.sql @@ -0,0 +1,9 @@ +WITH commander_legal AS ( + SELECT DISTINCT uuid + FROM legalities + WHERE format = 'commander' AND status = 'Legal' +) +SELECT 100.0 * AVG(CASE WHEN c.hasContentWarning = 0 THEN 1.0 ELSE 0.0 END) + AS percentage_without_content_warning +FROM cards AS c +JOIN commander_legal AS l ON l.uuid = c.uuid; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird059.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird059.sql new file mode 100644 index 00000000..78565b2f --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird059.sql @@ -0,0 +1,9 @@ +SELECT COUNT(*) AS set_count +FROM sets AS s +WHERE s.block = 'Ice Age' + AND EXISTS ( + SELECT 1 + FROM set_translations AS st + WHERE st.setCode = s.code + AND st.language = 'Italian' + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird060.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird060.sql new file mode 100644 index 00000000..2fcaaa2b --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird060.sql @@ -0,0 +1,12 @@ +SELECT 100.0 * AVG(CASE + WHEN NULLIF(TRIM(c.cardKingdomId), '') IS NOT NULL + AND NULLIF(TRIM(c.cardKingdomFoilId), '') IS NOT NULL + THEN 1 ELSE 0 + END) AS percentage +FROM cards AS c +WHERE EXISTS ( + SELECT 1 + FROM sets AS s + WHERE s.code = c.setCode + AND s.name = 'Coldsnap' +); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird061.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird061.sql new file mode 100644 index 00000000..a46573a5 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird061.sql @@ -0,0 +1,15 @@ +WITH banned_printings AS ( + SELECT l.format, c.name AS card_name + FROM legalities AS l + JOIN cards AS c ON c.uuid = l.uuid + WHERE l.status = 'Banned' +), format_counts AS ( + SELECT format, COUNT(*) AS banned_printing_count + FROM banned_printings + GROUP BY format +) +SELECT DISTINCT b.format, b.card_name +FROM banned_printings AS b +JOIN format_counts AS f ON f.format = b.format +WHERE f.banned_printing_count = (SELECT MAX(banned_printing_count) FROM format_counts) +ORDER BY b.format, b.card_name; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird062.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird062.sql new file mode 100644 index 00000000..a436302d --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird062.sql @@ -0,0 +1,12 @@ +SELECT COUNT(DISTINCT c.name) AS card_count +FROM cards AS c +JOIN legalities AS l ON l.uuid = c.uuid +WHERE l.format = 'brawl' + AND l.status = 'Legal' + AND c.leadershipSkills LIKE '%''brawl'': True%' + AND instr(',' || c.types || ',', ',Creature,') > 0 + AND EXISTS ( + SELECT 1 + FROM cards AS p + WHERE p.name = c.name AND p.isPromo = 1 + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird063.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird063.sql new file mode 100644 index 00000000..c4adbee2 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird063.sql @@ -0,0 +1,4 @@ +SELECT MAX(CAST(frameVersion AS INTEGER)) - MIN(CAST(frameVersion AS INTEGER)) AS span_in_years +FROM cards +WHERE name = 'Tarmogoyf' + AND frameVersion GLOB '[0-9][0-9][0-9][0-9]'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird065.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird065.sql new file mode 100644 index 00000000..4bcc8655 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird065.sql @@ -0,0 +1,9 @@ +WITH translation_counts AS ( + SELECT setCode, COUNT(DISTINCT translation COLLATE BINARY) AS translation_count + FROM set_translations + GROUP BY setCode +) +SELECT SUM(s.totalSetSize) AS total_cards +FROM sets AS s +LEFT JOIN translation_counts AS t ON t.setCode = s.code +WHERE COALESCE(t.translation_count, 0) < 5; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird066.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird066.sql new file mode 100644 index 00000000..d2314170 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird066.sql @@ -0,0 +1,19 @@ +WITH set_status AS ( + SELECT s.type AS set_type, + s.totalSetSize AS card_count, + EXISTS ( + SELECT 1 + FROM set_translations AS st + WHERE st.setCode = s.code + AND TRIM(st.translation) <> '' + ) AS has_translation + FROM sets AS s +) +SELECT set_type, + COUNT(CASE WHEN has_translation THEN 1 END) AS translated_set_count, + CASE WHEN COUNT(CASE WHEN has_translation THEN 1 END) = 0 THEN 0 + ELSE SUM(CASE WHEN has_translation THEN card_count END) + END AS total_cards +FROM set_status +GROUP BY set_type +ORDER BY set_type; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird067.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird067.sql new file mode 100644 index 00000000..d4a0f212 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird067.sql @@ -0,0 +1,13 @@ +WITH factory_rulings AS ( + SELECT DATE(r.date) AS ruling_date, r.text AS ruling_text + FROM rulings AS r + WHERE EXISTS ( + SELECT 1 + FROM cards AS c + WHERE c.uuid = r.uuid + AND c.name = 'Mishra''s Factory' + ) +) +SELECT COUNT(DISTINCT ruling_text) AS ruling_count +FROM factory_rulings +WHERE ruling_date = (SELECT MAX(ruling_date) FROM factory_rulings); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird068.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird068.sql new file mode 100644 index 00000000..f670006e --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird068.sql @@ -0,0 +1,11 @@ +WITH artist_counts AS ( + SELECT artist, COUNT(DISTINCT name) AS creature_card_count + FROM cards + WHERE ',' || types || ',' LIKE '%,Creature,%' + AND artist IS NOT NULL + GROUP BY artist +) +SELECT artist, creature_card_count +FROM artist_counts +WHERE creature_card_count = (SELECT MAX(creature_card_count) FROM artist_counts) +ORDER BY artist; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird069.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird069.sql new file mode 100644 index 00000000..874d3afc --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird069.sql @@ -0,0 +1,8 @@ +SELECT frameVersion, COUNT(*) AS card_count +FROM cards +WHERE frameVersion = ( + SELECT MAX(frameVersion) + FROM cards + WHERE convertedManaCost = 0 +) +GROUP BY frameVersion; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird070.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird070.sql new file mode 100644 index 00000000..51bf20c7 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird070.sql @@ -0,0 +1,14 @@ +WITH frame_counts AS ( + SELECT frameVersion, + COUNT(*) AS printing_count, + SUM(COUNT(*)) OVER () AS total_printings + FROM cards + WHERE name = 'Tarmogoyf' + GROUP BY frameVersion +) +SELECT CAST(frameVersion AS INTEGER) AS frame_year, + ROUND(100.0 * printing_count / total_printings, 2) AS percentage +FROM frame_counts +WHERE frameVersion GLOB '[0-9][0-9][0-9][0-9]' +ORDER BY frame_year DESC +LIMIT 1; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird071.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird071.sql new file mode 100644 index 00000000..b519fb06 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird071.sql @@ -0,0 +1,6 @@ +SELECT COUNT(DISTINCT c.name) AS card_count +FROM cards AS c +JOIN legalities AS l ON l.uuid = c.uuid +WHERE c.manaCost = '{0}' + AND l.format = 'commander' + AND l.status = 'Legal'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird072.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird072.sql new file mode 100644 index 00000000..29353efa --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird072.sql @@ -0,0 +1,4 @@ +SELECT COUNT(*) AS card_count +FROM cards +WHERE instr(',' || keywords || ',', ',Flying,') > 0 + AND instr(',' || keywords || ',', ',Cycling,') > 0; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird073.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird073.sql new file mode 100644 index 00000000..a9f557ac --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird073.sql @@ -0,0 +1,36 @@ +WITH first_printing AS ( + SELECT s.code, s.name, s.releaseDate + FROM sets AS s + WHERE s.releaseDate IS NOT NULL + AND EXISTS ( + SELECT 1 + FROM cards AS c + WHERE c.setCode = s.code + AND c.name = 'Abyssal Horror' + ) + ORDER BY s.releaseDate ASC, s.code ASC + LIMIT 1 +), +latest_set AS ( + SELECT s.code, s.name, s.releaseDate + FROM sets AS s + WHERE s.releaseDate IS NOT NULL + ORDER BY s.releaseDate DESC, s.code ASC + LIMIT 1 +), +selected_sets AS ( + SELECT code, name, releaseDate FROM first_printing + UNION + SELECT code, name, releaseDate FROM latest_set +) +SELECT s.name AS set_name, + ROUND( + 100.0 * COUNT(CASE + WHEN TRIM(c.manaCost) <> '' AND c.convertedManaCost <= 3 THEN 1 + END) / NULLIF(COUNT(c.setCode), 0), + 2 + ) AS percentage +FROM selected_sets AS s +LEFT JOIN cards AS c ON c.setCode = s.code +GROUP BY s.code, s.name, s.releaseDate +ORDER BY s.releaseDate, s.code; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird074.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird074.sql new file mode 100644 index 00000000..327fc9a6 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird074.sql @@ -0,0 +1,4 @@ +SELECT COUNT(DISTINCT name) AS release_promo_card_count +FROM cards +WHERE isPromo = 1 + AND instr(',' || promoTypes || ',', ',release,') > 0; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird075.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird075.sql new file mode 100644 index 00000000..04ffeba4 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird075.sql @@ -0,0 +1,12 @@ +WITH abzan_cards AS ( + SELECT c.uuid, c.name, c.number, + RANK() OVER (ORDER BY CAST(c.number AS INTEGER) DESC) AS collector_rank + FROM cards AS c + WHERE c.watermark = 'abzan' COLLATE NOCASE +) +SELECT a.name, + a.number AS collector_number, + (SELECT COUNT(*) FROM foreign_data AS f WHERE f.uuid = a.uuid) AS foreign_language_printings +FROM abzan_cards AS a +WHERE a.collector_rank = 1 +ORDER BY a.name; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird076.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird076.sql new file mode 100644 index 00000000..12a9ea43 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird076.sql @@ -0,0 +1,5 @@ +SELECT COUNT(*) AS card_count +FROM cards +WHERE borderColor = 'white' + AND power NOT LIKE '%*%' + AND CAST(power AS REAL) < 3; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird077.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird077.sql new file mode 100644 index 00000000..51da34f2 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird077.sql @@ -0,0 +1,11 @@ +WITH flash_cards AS ( + SELECT c.name, c.convertedManaCost + FROM cards AS c + JOIN sets AS s ON s.code = c.setCode + WHERE s.name = 'Dark Ascension' + AND instr(',' || c.keywords || ',', ',Flash,') > 0 +) +SELECT DISTINCT name +FROM flash_cards +WHERE convertedManaCost = (SELECT MAX(convertedManaCost) FROM flash_cards) +ORDER BY name; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird078.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird078.sql new file mode 100644 index 00000000..4fd18d83 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird078.sql @@ -0,0 +1,13 @@ +SELECT + s.name, + s.keyruneCode, + ( + SELECT COUNT(DISTINCT st.language) + FROM set_translations AS st + WHERE st.setCode = s.code + AND NULLIF(TRIM(st.translation), '') IS NOT NULL + ) AS language_count +FROM sets AS s +WHERE s.releaseDate >= '2020-01-01' + AND s.releaseDate < '2021-01-01' +ORDER BY s.releaseDate, s.name, s.code; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird079.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird079.sql new file mode 100644 index 00000000..b336ad2d --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird079.sql @@ -0,0 +1,12 @@ +SELECT SUM(s.totalSetSize) AS total_cards +FROM sets AS s +WHERE s.releaseDate >= '2017-01-01' + AND s.releaseDate < '2018-01-01' + AND EXISTS ( + SELECT 1 + FROM set_translations AS t + WHERE t.setCode = s.code + AND TRIM(t.language) <> '' + AND TRIM(t.language) COLLATE NOCASE <> 'English' + AND TRIM(t.translation) <> '' + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird080.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird080.sql new file mode 100644 index 00000000..5d6c7089 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird080.sql @@ -0,0 +1,6 @@ +SELECT COUNT(*) AS card_count +FROM cards +WHERE duelDeck = 'b' + AND hasFoil = 0 + AND power = CAST(CAST(power AS INTEGER) AS TEXT) + AND CAST(power AS INTEGER) < 3; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird081.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird081.sql new file mode 100644 index 00000000..22796b2e --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird081.sql @@ -0,0 +1,13 @@ +WITH artist_counts AS ( + SELECT artist, COUNT(*) AS card_count + FROM cards + WHERE borderColor = 'black' + AND instr(',' || availability || ',', ',arena,') > 0 + AND trim(power) NOT GLOB '*[^0-9]*' + AND CAST(trim(power) AS INTEGER) >= 10 + GROUP BY artist +) +SELECT artist, card_count +FROM artist_counts +WHERE card_count = (SELECT MAX(card_count) FROM artist_counts) +ORDER BY artist; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird082.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird082.sql new file mode 100644 index 00000000..21e182e3 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird082.sql @@ -0,0 +1,10 @@ +SELECT COUNT(DISTINCT c.name) AS card_count +FROM cards AS c +WHERE c.hasContentWarning = 1 + AND instr(',' || c.availability || ',', ',paper,') > 0 + AND NOT EXISTS ( + SELECT 1 + FROM cards AS m + WHERE m.name = c.name + AND instr(',' || m.availability || ',', ',mtgo,') > 0 + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird083.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird083.sql new file mode 100644 index 00000000..f102c1be --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird083.sql @@ -0,0 +1,12 @@ +SELECT + s.type AS expansion_type, + COUNT(CASE WHEN EXISTS ( + SELECT 1 + FROM set_translations AS st + WHERE st.setCode = s.code + AND st.language = 'Japanese' + AND TRIM(st.translation) <> '' + ) THEN 1 END) AS japanese_name_count +FROM sets AS s +GROUP BY s.type +ORDER BY s.type; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird084.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird084.sql new file mode 100644 index 00000000..82b079c0 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird084.sql @@ -0,0 +1,8 @@ +SELECT COUNT(DISTINCT artist) AS artist_count +FROM cards +WHERE borderColor = 'black' + AND instr(',' || availability || ',', ',arena,') > 0 + AND instr(',' || availability || ',', ',mtgo,') = 0 + AND power <> '' + AND power NOT GLOB '*[^0-9]*' + AND CAST(power AS INTEGER) >= 5; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird085.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird085.sql new file mode 100644 index 00000000..11c61b3c --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird085.sql @@ -0,0 +1,21 @@ +WITH chosen_sets AS ( + SELECT s.code, s.releaseDate + FROM sets AS s + WHERE EXISTS ( + SELECT 1 + FROM cards AS a + WHERE a.setCode = s.code + AND a.name = 'Ancestor''s Chosen' + ) +) +SELECT COUNT(*) AS creature_count +FROM cards AS c +WHERE c.setCode IN ( + SELECT code + FROM chosen_sets + WHERE releaseDate = (SELECT MAX(releaseDate) FROM chosen_sets) +) + AND (',' || REPLACE(c.types, ' ', '') || ',') LIKE '%,Creature,%' + AND c.power = CAST(CAST(c.power AS INTEGER) AS TEXT) + AND c.toughness = CAST(CAST(c.toughness AS INTEGER) AS TEXT) + AND CAST(c.power AS INTEGER) > CAST(c.toughness AS INTEGER); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird086.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird086.sql new file mode 100644 index 00000000..2cf54867 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird086.sql @@ -0,0 +1,9 @@ +SELECT frameVersion AS frame_year, COUNT(*) AS card_count +FROM cards +WHERE cardKingdomId IS NOT NULL + AND cardKingdomFoilId IS NOT NULL + AND leadershipSkills LIKE '%''commander'': True%' + AND frameVersion GLOB '[0-9][0-9][0-9][0-9]' +GROUP BY frameVersion +ORDER BY frame_year DESC +LIMIT 1; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird088.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird088.sql new file mode 100644 index 00000000..7fb41db4 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird088.sql @@ -0,0 +1,19 @@ +WITH elf_cards AS ( + SELECT DISTINCT name + FROM cards + WHERE originalType = 'Creature - Elf' +), distinct_rulings AS ( + SELECT DISTINCT e.name, r.date, r.text + FROM elf_cards AS e + JOIN cards AS c ON c.name = e.name + JOIN rulings AS r ON r.uuid = c.uuid +), ruling_counts AS ( + SELECT e.name, COUNT(r.name) AS ruling_count + FROM elf_cards AS e + LEFT JOIN distinct_rulings AS r ON r.name = e.name + GROUP BY e.name +) +SELECT name, ruling_count +FROM ruling_counts +WHERE ruling_count = (SELECT MAX(ruling_count) FROM ruling_counts) +ORDER BY name; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird089.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird089.sql new file mode 100644 index 00000000..682afc22 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird089.sql @@ -0,0 +1,8 @@ +SELECT c.colors AS card_color, + COUNT(DISTINCT l.format) AS legal_format_count +FROM cards AS c +LEFT JOIN legalities AS l + ON l.uuid = c.uuid AND l.status = 'Legal' +WHERE c.id BETWEEN 1 AND 20 +GROUP BY c.colors +ORDER BY c.colors; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird090.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird090.sql new file mode 100644 index 00000000..a0efd5bb --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird090.sql @@ -0,0 +1,13 @@ +WITH frame_counts AS ( + SELECT CAST(frameVersion AS INTEGER) AS frame_year, + COUNT(*) AS card_count + FROM cards + WHERE artist = 'John Avon' + AND NULLIF(TRIM(cardKingdomId), '') IS NOT NULL + AND NULLIF(TRIM(cardKingdomFoilId), '') IS NOT NULL + AND frameVersion GLOB '[0-9][0-9][0-9][0-9]' + GROUP BY CAST(frameVersion AS INTEGER) +) +SELECT frame_year, card_count +FROM frame_counts +WHERE frame_year = (SELECT MAX(frame_year) FROM frame_counts); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird091.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird091.sql new file mode 100644 index 00000000..551cd6f1 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird091.sql @@ -0,0 +1,11 @@ +SELECT COUNT(*) AS printing_count +FROM cards AS c +WHERE c.artist = 'Erica Yang' + AND INSTR(',' || c.availability || ',', ',paper,') > 0 + AND EXISTS ( + SELECT 1 + FROM legalities AS l + WHERE l.uuid = c.uuid + AND l.format = 'pauper' + AND l.status = 'Legal' + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird092.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird092.sql new file mode 100644 index 00000000..d966db10 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird092.sql @@ -0,0 +1,7 @@ +SELECT cardKingdomFoilId, cardKingdomId +FROM cards +WHERE (',' || types || ',') LIKE '%,Creature,%' + AND cardKingdomFoilId IS NOT NULL + AND cardKingdomId IS NOT NULL +ORDER BY cardKingdomFoilId ASC, cardKingdomId ASC +LIMIT 3; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird093.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird093.sql new file mode 100644 index 00000000..bf628864 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird093.sql @@ -0,0 +1,16 @@ +WITH type_counts AS ( + SELECT c.types AS card_type, COUNT(*) AS card_count + FROM cards AS c + WHERE c.watermark = 'boros' + AND EXISTS ( + SELECT 1 + FROM foreign_data AS f + WHERE f.uuid = c.uuid + AND f.language COLLATE NOCASE <> 'English' + ) + GROUP BY c.types +) +SELECT card_type, card_count +FROM type_counts +WHERE card_count = (SELECT MAX(card_count) FROM type_counts) +ORDER BY card_type; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird094.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird094.sql new file mode 100644 index 00000000..49ced640 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird094.sql @@ -0,0 +1,20 @@ +WITH guild_counts AS ( + SELECT LOWER(c.watermark) AS guild, + COUNT(DISTINCT c.uuid) AS card_count + FROM cards AS c + WHERE LOWER(c.watermark) IN ( + 'azorius', 'boros', 'dimir', 'golgari', 'gruul', + 'izzet', 'orzhov', 'rakdos', 'selesnya', 'simic' + ) + AND c.uuid IN ( + SELECT f.uuid + FROM foreign_data AS f + WHERE LOWER(f.language) <> 'english' + ) + GROUP BY LOWER(c.watermark) +) +SELECT UPPER(SUBSTR(guild, 1, 1)) || SUBSTR(guild, 2) AS guild, + card_count +FROM guild_counts +WHERE card_count = (SELECT MAX(card_count) FROM guild_counts) +ORDER BY guild; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird095.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird095.sql new file mode 100644 index 00000000..822d649c --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird095.sql @@ -0,0 +1,10 @@ +SELECT c.type AS card_type, COUNT(*) AS card_count +FROM cards AS c +WHERE c.watermark = 'azorius' + AND EXISTS ( + SELECT 1 + FROM foreign_data AS f + WHERE f.uuid = c.uuid + ) +GROUP BY c.type +ORDER BY card_count DESC, card_type ASC; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird096.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird096.sql new file mode 100644 index 00000000..73f8dea3 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird096.sql @@ -0,0 +1,4 @@ +SELECT COUNT(DISTINCT name) AS card_count +FROM cards +WHERE isTextless = 0 + AND CAST(frameVersion AS INTEGER) >= 2015; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird097.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird097.sql new file mode 100644 index 00000000..930b873d --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird097.sql @@ -0,0 +1,9 @@ +SELECT DISTINCT name +FROM cards +WHERE isPromo = 1 + AND otherFaceIds IS NOT NULL + AND CAST(frameVersion AS INTEGER) = ( + SELECT MAX(CAST(frameVersion AS INTEGER)) + FROM cards + ) +ORDER BY name; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird098.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird098.sql new file mode 100644 index 00000000..ae27ee01 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird098.sql @@ -0,0 +1,6 @@ +SELECT DISTINCT name +FROM cards +WHERE isPromo = 1 + AND otherFaceIds IS NOT NULL + AND SUBSTR(originalReleaseDate, 1, 4) = '2019' +ORDER BY name; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird099.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird099.sql new file mode 100644 index 00000000..8ffafbed --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird099.sql @@ -0,0 +1,9 @@ +SELECT DISTINCT s.name AS set_name, s.releaseDate AS release_date +FROM cards AS c +JOIN sets AS s ON s.code = c.setCode +WHERE c.name = 'Tarmogoyf' + AND c.isReprint = 1 + AND c.frameVersion GLOB '[0-9][0-9][0-9][0-9]' + AND CAST(strftime('%Y', s.releaseDate) AS INTEGER) + - CAST(c.frameVersion AS INTEGER) >= 10 +ORDER BY release_date, set_name; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird100.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird100.sql new file mode 100644 index 00000000..d01a9946 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird100.sql @@ -0,0 +1,10 @@ +SELECT COUNT(*) AS printing_count +FROM ( + SELECT c.setCode, c.number + FROM cards AS c + JOIN foreign_data AS f ON f.uuid = c.uuid + WHERE c.name = 'Counterspell' + AND f.language IN ('French', 'Italian') + GROUP BY c.setCode, c.number + HAVING COUNT(DISTINCT f.language) = 2 +) AS localized_printings; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird101.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird101.sql new file mode 100644 index 00000000..106f387c --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird101.sql @@ -0,0 +1,14 @@ +SELECT s.name, s.releaseDate +FROM sets AS s +WHERE s.type IN ( + SELECT ref.type + FROM sets AS ref + WHERE ref.name = 'From the Vault: Lore' +) +AND NOT EXISTS ( + SELECT 1 + FROM set_translations AS st + WHERE st.setCode = s.code + AND TRIM(st.translation) <> '' +) +ORDER BY s.releaseDate ASC, s.name ASC; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird102.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird102.sql new file mode 100644 index 00000000..d72d43e1 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird102.sql @@ -0,0 +1,18 @@ +WITH ranked_printings AS ( + SELECT s.name AS set_name, + s.releaseDate AS release_date, + DENSE_RANK() OVER ( + ORDER BY CASE c.frameVersion + WHEN 'future' THEN 2007 + ELSE CAST(c.frameVersion AS INTEGER) + END DESC, + s.releaseDate DESC + ) AS printing_rank + FROM cards AS c + JOIN sets AS s ON s.code = c.setCode + WHERE c.name = 'Aven Mindcensor' +) +SELECT DISTINCT set_name, release_date +FROM ranked_printings +WHERE printing_rank = 1 +ORDER BY set_name; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird103.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird103.sql new file mode 100644 index 00000000..d98df45b --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird103.sql @@ -0,0 +1,12 @@ +SELECT s.code, s.releaseDate +FROM sets AS s +WHERE s.releaseDate >= '2020-01-01' + AND s.releaseDate < '2021-01-01' + AND NOT EXISTS ( + SELECT 1 + FROM set_translations AS st + WHERE st.setCode = s.code + AND st.language = 'Spanish' + AND NULLIF(TRIM(st.translation), '') IS NOT NULL + ) +ORDER BY s.releaseDate, s.code; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird104.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird104.sql new file mode 100644 index 00000000..e6d94b54 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird104.sql @@ -0,0 +1,5 @@ +SELECT SUM(convertedManaCost) AS total_converted_mana_cost +FROM cards +WHERE artist = 'Rob Alexander' + AND originalReleaseDate >= '2013-01-01' + AND originalReleaseDate < '2014-01-01'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird105.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird105.sql new file mode 100644 index 00000000..f60f5148 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird105.sql @@ -0,0 +1,12 @@ +WITH language_counts AS ( + SELECT s.id, COUNT(DISTINCT t.language) AS language_count + FROM sets AS s + LEFT JOIN set_translations AS t + ON t.setCode = s.code + AND TRIM(t.translation) <> '' + WHERE s.releaseDate >= '2016-01-01' + AND s.releaseDate < '2017-01-01' + GROUP BY s.id +) +SELECT ROUND(AVG(language_count), 2) AS average_languages +FROM language_counts; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird106.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird106.sql new file mode 100644 index 00000000..dec02991 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird106.sql @@ -0,0 +1,17 @@ +WITH block_sets AS ( + SELECT s.block, s.baseSetSize, + EXISTS ( + SELECT 1 + FROM set_translations AS st + WHERE st.setCode = s.code + AND st.translation <> '' + ) AS has_translation + FROM sets AS s + WHERE s.block COLLATE BINARY IN ('Masques', 'Mirage') +) +SELECT block, + COUNT(*) FILTER (WHERE has_translation) AS translated_set_count, + SUM(baseSetSize) FILTER (WHERE has_translation) AS total_base_set_cards +FROM block_sets +GROUP BY block +ORDER BY block; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird107.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird107.sql new file mode 100644 index 00000000..04aec03e --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird107.sql @@ -0,0 +1,18 @@ +WITH japanese_printings AS ( + SELECT f.name AS japanese_name, + c.type AS english_card_type, + c.uuid, + MAX(CASE WHEN c.watermark = 'boros' THEN 1 ELSE 0 END) AS has_boros_watermark + FROM cards AS c + JOIN foreign_data AS f ON f.uuid = c.uuid + WHERE f.language = 'Japanese' + GROUP BY f.name, c.type, c.uuid +) +SELECT p.japanese_name, + p.english_card_type, + COUNT(r.id) AS total_rulings +FROM japanese_printings AS p +LEFT JOIN rulings AS r ON r.uuid = p.uuid +GROUP BY p.japanese_name, p.english_card_type +HAVING MAX(p.has_boros_watermark) = 1 +ORDER BY p.japanese_name, p.english_card_type; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird108.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird108.sql new file mode 100644 index 00000000..19745011 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird108.sql @@ -0,0 +1,17 @@ +WITH set_languages AS ( + SELECT DISTINCT language + FROM set_translations + WHERE language IS NOT NULL + AND TRIM(translation) <> '' +), printing_counts AS ( + SELECT sl.language, COUNT(DISTINCT fd.uuid) AS printing_count + FROM set_languages AS sl + LEFT JOIN foreign_data AS fd + ON fd.language = sl.language + AND TRIM(fd.flavorText) <> '' + GROUP BY sl.language +) +SELECT language, printing_count +FROM printing_counts +WHERE printing_count = (SELECT MIN(printing_count) FROM printing_counts) +ORDER BY language; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird109.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird109.sql new file mode 100644 index 00000000..e921e6ee --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird109.sql @@ -0,0 +1,11 @@ +SELECT COUNT(DISTINCT c.name) AS creature_count +FROM cards AS c +WHERE (',' || c.types || ',') LIKE '%,Creature,%' + AND CAST(c.power AS INTEGER) >= 10 + AND EXISTS ( + SELECT 1 + FROM set_translations AS st + WHERE st.setCode = c.setCode + AND st.language = 'French' + AND NULLIF(TRIM(st.translation), '') IS NOT NULL + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird110.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird110.sql new file mode 100644 index 00000000..f52e3559 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird110.sql @@ -0,0 +1,14 @@ +WITH eligible_creatures AS ( + SELECT DISTINCT c.name, c.convertedManaCost AS mana_value + FROM cards AS c + WHERE c.edhrecRank BETWEEN 1 AND 1000 + AND (',' || REPLACE(c.types, ' ', '') || ',') LIKE '%,Creature,%' + AND EXISTS ( + SELECT 1 + FROM legalities AS l + WHERE l.uuid = c.uuid + AND l.status = 'Banned' COLLATE NOCASE + ) +) +SELECT ROUND(AVG(mana_value), 1) AS average_mana_value +FROM eligible_creatures; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird111.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird111.sql new file mode 100644 index 00000000..e7dbc445 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird111.sql @@ -0,0 +1,7 @@ +SELECT COUNT(*) AS total_printings +FROM ( + SELECT DISTINCT setCode, number, name + FROM cards + WHERE CAST(power AS REAL) > 3 + AND CAST(power AS REAL) <= 10 +) AS matching_printings; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird112.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird112.sql new file mode 100644 index 00000000..ee2a9f13 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird112.sql @@ -0,0 +1,11 @@ +SELECT COUNT(*) AS printing_count +FROM cards AS c +WHERE c.originalReleaseDate >= '2014-01-01' + AND c.originalReleaseDate < '2015-01-01' + AND EXISTS ( + SELECT 1 + FROM sets AS s + WHERE s.code = c.setCode + AND s.mtgoCode IS NOT NULL + AND TRIM(s.mtgoCode) <> '' + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird113.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird113.sql new file mode 100644 index 00000000..119cdfed --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird113.sql @@ -0,0 +1,15 @@ +WITH printing_counts AS ( + SELECT f.language, COUNT(*) AS printing_count + FROM foreign_data AS f + WHERE f.language <> 'English' + AND EXISTS ( + SELECT 1 + FROM set_translations AS st + WHERE st.language = f.language + ) + GROUP BY f.language +) +SELECT language, printing_count +FROM printing_counts +WHERE printing_count = (SELECT MIN(printing_count) FROM printing_counts) +ORDER BY language; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird114.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird114.sql new file mode 100644 index 00000000..2a2f9c57 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird114.sql @@ -0,0 +1,15 @@ +SELECT COUNT(*) AS printing_count +FROM cards AS c +WHERE EXISTS ( + SELECT 1 + FROM sets AS s + WHERE s.code = c.setCode + AND s.name = 'Coldsnap' +) +AND EXISTS ( + SELECT 1 + FROM foreign_data AS f + WHERE f.uuid = c.uuid + AND f.language = 'Italian' + AND TRIM(f.text) <> '' +); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird115.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird115.sql new file mode 100644 index 00000000..fd17cf80 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird115.sql @@ -0,0 +1,25 @@ +WITH eligible_sets AS ( + SELECT id, code, name, totalSetSize, isForeignOnly + FROM sets + WHERE type = 'commander' + AND releaseDate >= '2020-01-01' + AND releaseDate < '2021-01-01' +), top_sets AS ( + SELECT id, code, name, isForeignOnly + FROM eligible_sets + WHERE totalSetSize = (SELECT MAX(totalSetSize) FROM eligible_sets) +), release_languages AS ( + SELECT code, 'English' AS language + FROM top_sets + WHERE isForeignOnly = 0 + UNION + SELECT c.setCode, fd.language + FROM top_sets AS s + JOIN cards AS c ON c.setCode = s.code + JOIN foreign_data AS fd ON fd.uuid = c.uuid +) +SELECT s.id, s.name, COUNT(l.language) AS language_count +FROM top_sets AS s +LEFT JOIN release_languages AS l ON l.code = s.code +GROUP BY s.id, s.name +ORDER BY s.id ASC; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird116.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird116.sql new file mode 100644 index 00000000..f2ba6468 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird116.sql @@ -0,0 +1,4 @@ +SELECT COUNT(DISTINCT f.language) AS foreign_language_count +FROM cards AS c +JOIN foreign_data AS f ON f.uuid = c.uuid +WHERE c.name = 'Swamp'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird117.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird117.sql new file mode 100644 index 00000000..231893f8 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird117.sql @@ -0,0 +1,11 @@ +SELECT COUNT(DISTINCT c.scryfallOracleId) AS card_count +FROM cards AS c +WHERE c.colors = 'B' + AND instr(',' || c.types || ',', ',Artifact,') > 0 + AND EXISTS ( + SELECT 1 + FROM foreign_data AS f + WHERE f.uuid = c.uuid + AND f.language <> 'English' + AND TRIM(f.flavorText) <> '' + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird118.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird118.sql new file mode 100644 index 00000000..1fe5bf39 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird118.sql @@ -0,0 +1,4 @@ +SELECT u.DisplayName +FROM posts AS p +JOIN users AS u ON u.Id = p.LastEditorUserId +WHERE p.Title = 'Examples for teaching: Correlation does not mean causation'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird119.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird119.sql new file mode 100644 index 00000000..51714ba0 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird119.sql @@ -0,0 +1,10 @@ +SELECT DISTINCT UserId +FROM ( + SELECT ph.UserId, ph.PostId + FROM postHistory AS ph + JOIN posts AS p ON p.Id = ph.PostId + WHERE p.ViewCount >= 1000 + AND ph.UserId IS NOT NULL + GROUP BY ph.UserId, ph.PostId + HAVING COUNT(*) = 1 +) AS qualifying_user_posts; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird120.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird120.sql new file mode 100644 index 00000000..196d9461 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird120.sql @@ -0,0 +1,6 @@ +SELECT 100.0 * ( + COUNT(CASE WHEN strftime('%Y', Date) = '2010' THEN 1 END) + - COUNT(CASE WHEN strftime('%Y', Date) = '2011' THEN 1 END) +) / NULLIF(COUNT(*), 0) AS difference_percentage_points +FROM badges +WHERE Name = 'Student'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird121.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird121.sql new file mode 100644 index 00000000..c14492e5 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird121.sql @@ -0,0 +1,4 @@ +SELECT ROUND(100.0 * AVG(CASE WHEN INSTR(p.Tags, '') > 0 THEN 1 ELSE 0 END), 2) AS percentage +FROM posts AS p +JOIN users AS u ON u.Id = p.OwnerUserId +WHERE u.DisplayName = 'Community'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird122.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird122.sql new file mode 100644 index 00000000..387f3108 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird122.sql @@ -0,0 +1,7 @@ +SELECT p.Id AS PostId, u.DisplayName AS OwnerDisplayName +FROM posts AS p +LEFT JOIN users AS u ON u.Id = p.OwnerUserId +WHERE p.CreaionDate >= '2010-01-01' + AND p.CreaionDate < '2011-01-01' +ORDER BY p.FavoriteCount DESC, p.Id ASC +LIMIT 1; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird123.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird123.sql new file mode 100644 index 00000000..2840d590 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird123.sql @@ -0,0 +1,5 @@ +SELECT p.ViewCount, + COALESCE(u.DisplayName, p.LastEditorDisplayName) AS LastEditorDisplayName +FROM posts AS p +LEFT JOIN users AS u ON u.Id = p.LastEditorUserId +WHERE p.Title = 'Computer game datasets'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird124.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird124.sql new file mode 100644 index 00000000..313b3ef4 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird124.sql @@ -0,0 +1,7 @@ +SELECT c.Text, COALESCE(u.DisplayName, c.UserDisplayName) AS DisplayName +FROM posts AS p +JOIN comments AS c ON c.PostId = p.Id +LEFT JOIN users AS u ON u.Id = c.UserId +WHERE p.Title = 'Analysing wind data with R' +ORDER BY c.CreationDate DESC, c.Id DESC +LIMIT 10; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird125.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird125.sql new file mode 100644 index 00000000..edc0b2e8 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird125.sql @@ -0,0 +1,8 @@ +SELECT ROUND(100.0 * AVG(CASE WHEN p.Score > 50 THEN 1 ELSE 0 END), 2) AS percentage +FROM posts AS p +WHERE p.OwnerUserId = ( + SELECT u.Id + FROM users AS u + ORDER BY u.Reputation DESC, u.Id + LIMIT 1 +); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird126.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird126.sql new file mode 100644 index 00000000..6750fdee --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird126.sql @@ -0,0 +1,12 @@ +SELECT COUNT(*) AS zero_score_comment_count +FROM ( + SELECT PostId + FROM comments + GROUP BY PostId + HAVING COUNT(*) = 1 AND MAX(Score) = 0 +) AS single_comment +WHERE EXISTS ( + SELECT 1 + FROM posts AS p + WHERE p.Id = single_comment.PostId +); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird127.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird127.sql new file mode 100644 index 00000000..3af29e42 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird127.sql @@ -0,0 +1,8 @@ +SELECT SUM(u.Reputation) AS total_reputation +FROM users AS u +WHERE u.Location LIKE '%United Kingdom%' + AND EXISTS ( + SELECT 1 + FROM posts AS p + WHERE p.OwnerUserId = u.Id + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird128.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird128.sql new file mode 100644 index 00000000..030e31ae --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird128.sql @@ -0,0 +1,7 @@ +SELECT ROUND(AVG(u.Age), 2) AS average_age +FROM users AS u +WHERE u.Id IN ( + SELECT c.UserId + FROM comments AS c + WHERE INSTR(c.Text, 'http://') > 0 +); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird129.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird129.sql new file mode 100644 index 00000000..31d2b6d6 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird129.sql @@ -0,0 +1,16 @@ +WITH organizer_awards AS ( + SELECT b.UserId, MIN(b.Date) AS organizer_date + FROM badges AS b + JOIN users AS u ON u.Id = b.UserId + WHERE b.Name = 'Organizer' + AND u.Location LIKE '%Germany%' + GROUP BY b.UserId +) +SELECT COUNT(*) AS user_count +FROM organizer_awards AS o +WHERE ( + SELECT COUNT(*) + FROM badges AS b + WHERE b.UserId = o.UserId + AND b.Date < o.organizer_date +) = 5; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird130.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird130.sql new file mode 100644 index 00000000..796d4ea2 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird130.sql @@ -0,0 +1,14 @@ +WITH first_posts AS ( + SELECT OwnerUserId, MIN(CreaionDate) AS first_post_at + FROM posts + GROUP BY OwnerUserId +) +SELECT COUNT(DISTINCT u.Id) AS user_count +FROM first_posts AS f +JOIN users AS u ON u.Id = f.OwnerUserId +WHERE f.first_post_at >= '2010-01-01' + AND f.first_post_at < '2011-01-01' + AND ( + LOWER(TRIM(u.Location)) = 'india' + OR REPLACE(LOWER(TRIM(u.Location)), ', ', ',') LIKE '%,india' + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird131.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird131.sql new file mode 100644 index 00000000..1f7ab54a --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird131.sql @@ -0,0 +1,9 @@ +WITH qualifying_owners AS ( + SELECT DISTINCT OwnerUserId + FROM posts + WHERE Score < 20 + AND INSTR(Tags, '') > 0 +) +SELECT CAST(ROUND(AVG(u.Reputation)) AS INTEGER) AS average_reputation +FROM qualifying_owners AS q +JOIN users AS u ON u.Id = q.OwnerUserId; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird132.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird132.sql new file mode 100644 index 00000000..d4bf7388 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird132.sql @@ -0,0 +1,22 @@ +WITH posts_2012 AS ( + SELECT LastEditorUserId, Score + FROM posts + WHERE CreaionDate >= '2012-01-01' + AND CreaionDate < '2013-01-01' +), +german_editors AS ( + SELECT u.Id, u.Reputation + FROM users AS u + JOIN (SELECT DISTINCT LastEditorUserId FROM posts_2012) AS e + ON e.LastEditorUserId = u.Id + WHERE LOWER(TRIM(u.Location)) = 'germany' + OR LOWER(TRIM(u.Location)) LIKE '%, germany' + OR LOWER(TRIM(u.Location)) = 'munich' +) +SELECT + SUM(p.Score) FILTER (WHERE g.Id IS NOT NULL) AS germany_edited_total_score, + SUM(p.Score) FILTER (WHERE g.Id IS NULL) AS other_posts_total_score, + (SELECT COUNT(*) FROM german_editors) AS german_editor_count, + (SELECT SUM(Reputation) FROM german_editors) AS german_editors_total_reputation +FROM posts_2012 AS p +LEFT JOIN german_editors AS g ON g.Id = p.LastEditorUserId; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird133.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird133.sql new file mode 100644 index 00000000..ec7f1d8f --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird133.sql @@ -0,0 +1,8 @@ +SELECT SUM(u.Reputation) AS combined_reputation +FROM users AS u +JOIN ( + SELECT DISTINCT p.OwnerUserId + FROM posts AS p + WHERE p.Score = 10 + AND instr(p.Tags, '') > 0 +) AS owners ON owners.OwnerUserId = u.Id; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird134.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird134.sql new file mode 100644 index 00000000..893f5238 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird134.sql @@ -0,0 +1,9 @@ +SELECT SUM(u.Reputation) AS combined_reputation +FROM ( + SELECT DISTINCT p.OwnerUserId + FROM posts AS p + WHERE p.LasActivityDate >= '2014-08-27' + AND p.LasActivityDate < '2014-08-28' + AND p.Tags LIKE '%%' +) AS owners +JOIN users AS u ON u.Id = owners.OwnerUserId; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird135.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird135.sql new file mode 100644 index 00000000..c748094b --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird135.sql @@ -0,0 +1,12 @@ +SELECT SUM(q.Score) AS total_score +FROM posts AS q +WHERE q.PostTypeId = 1 + AND q.Tags LIKE '%%' + AND EXISTS ( + SELECT 1 + FROM postLinks AS l + JOIN posts AS target ON target.Id = l.RelatedPostId + WHERE l.PostId = q.Id + AND target.PostTypeId = 1 + AND target.Title = 'A Probability distribution value exceeding 1 is OK?' + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird136.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird136.sql new file mode 100644 index 00000000..85b7f5c1 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird136.sql @@ -0,0 +1,15 @@ +WITH badge_totals AS ( + SELECT u.Id, u.DisplayName, COUNT(b.Id) AS badge_total + FROM users AS u + LEFT JOIN badges AS b ON b.UserId = u.Id + WHERE LOWER(u.Location) LIKE '%germany%' + GROUP BY u.Id, u.DisplayName +), ranked_users AS ( + SELECT DisplayName, badge_total, + DENSE_RANK() OVER (ORDER BY badge_total DESC) AS badge_rank + FROM badge_totals +) +SELECT DisplayName, badge_total +FROM ranked_users +WHERE badge_rank = 2 +ORDER BY DisplayName; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird137.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird137.sql new file mode 100644 index 00000000..bdf59e93 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird137.sql @@ -0,0 +1,10 @@ +WITH california_users AS ( + SELECT Id, DisplayName, Views, Reputation + FROM users + WHERE (' ' || LOWER(Location) || ' ') GLOB '*[^a-z]california[^a-z]*' + OR (' ' || LOWER(Location) || ' ') GLOB '*[^a-z]ca[^a-z]*' +) +SELECT Id, DisplayName, Views, Reputation +FROM california_users +WHERE Views = (SELECT MAX(Views) FROM california_users) +ORDER BY Id; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird138.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird138.sql new file mode 100644 index 00000000..b575cb6f --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird138.sql @@ -0,0 +1,11 @@ +WITH york_users AS ( + SELECT Age, Reputation + FROM users + WHERE lower(trim(Location)) IN ( + 'york', 'york, england', 'york, united kingdom', 'york, uk', + 'york, england, united kingdom', 'york, england, uk' + ) +) +SELECT Age +FROM york_users +WHERE Reputation = (SELECT MAX(Reputation) FROM york_users); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird139.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird139.sql new file mode 100644 index 00000000..3f7598a4 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird139.sql @@ -0,0 +1,6 @@ +SELECT COUNT(DISTINCT u.Id) AS user_count +FROM users AS u +JOIN badges AS b ON b.UserId = u.Id +WHERE u.Location LIKE '%India%' + AND b.Name = 'Yearling' + AND b.Date < '2014-01-01'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird140.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird140.sql new file mode 100644 index 00000000..cb992a5c --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird140.sql @@ -0,0 +1,8 @@ +SELECT COUNT(DISTINCT NULLIF(u.DisplayName, 'NaN')) AS distinct_display_names +FROM users AS u +WHERE u.Age BETWEEN 19 AND 65 + AND EXISTS ( + SELECT 1 + FROM badges AS b + WHERE b.UserId = u.Id AND b.Name = 'Supporter' + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird141.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird141.sql new file mode 100644 index 00000000..d2a5240f --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird141.sql @@ -0,0 +1,23 @@ +WITH matching_posts AS ( + SELECT Id, Title + FROM posts + WHERE LOWER(Title) LIKE '%principal component scores%' +), linked_posts AS ( + SELECT p.Id AS post_id, l.RelatedPostId AS linked_post_id + FROM matching_posts AS p + JOIN postLinks AS l ON l.PostId = p.Id + UNION ALL + SELECT p.Id AS post_id, l.PostId AS linked_post_id + FROM matching_posts AS p + JOIN postLinks AS l ON l.RelatedPostId = p.Id +), related_counts AS ( + SELECT p.Title, COUNT(DISTINCT l.linked_post_id) AS related_post_count + FROM matching_posts AS p + LEFT JOIN linked_posts AS l + ON l.post_id = p.Id AND l.linked_post_id <> p.Id + GROUP BY p.Id, p.Title +) +SELECT Title, related_post_count +FROM related_counts +WHERE related_post_count = (SELECT MAX(related_post_count) FROM related_counts) +ORDER BY Title; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird143.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird143.sql new file mode 100644 index 00000000..54139128 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird143.sql @@ -0,0 +1,7 @@ +SELECT COUNT(DISTINCT p.OwnerUserId) + + COUNT(DISTINCT CASE WHEN p.OwnerUserId IS NULL THEN p.OwnerDisplayName END) AS user_count +FROM votes AS v +JOIN posts AS p ON p.Id = v.PostId +WHERE v.BountyAmount >= 30 + AND v.CreationDate >= '2010-01-01' + AND v.CreationDate < '2011-01-01'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird144.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird144.sql new file mode 100644 index 00000000..aa8fdeaa --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird144.sql @@ -0,0 +1,11 @@ +WITH posters AS ( + SELECT DISTINCT OwnerUserId + FROM posts + WHERE CreaionDate >= '2010-01-01' + AND CreaionDate < '2011-01-01' +) +SELECT ROUND(AVG(u.Reputation), 2) AS average_reputation +FROM posters AS p +JOIN users AS u ON u.Id = p.OwnerUserId +WHERE LOWER(TRIM(u.Location)) = 'india' + OR LOWER(TRIM(u.Location)) LIKE '%, india'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird145.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird145.sql new file mode 100644 index 00000000..5da79e1e --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird145.sql @@ -0,0 +1,12 @@ +WITH active_users AS ( + SELECT OwnerUserId + FROM posts + WHERE CreaionDate >= '2012-01-01' + AND CreaionDate < '2013-01-01' + GROUP BY OwnerUserId + HAVING COUNT(*) > 10 +) +SELECT ROUND(AVG(u.UpVotes), 2) AS average_upvotes_cast, + ROUND(AVG(u.Age), 2) AS average_age +FROM active_users AS a +JOIN users AS u ON u.Id = a.OwnerUserId; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird147.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird147.sql new file mode 100644 index 00000000..c427929e --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird147.sql @@ -0,0 +1,10 @@ +SELECT ROUND(100.0 * AVG(CASE WHEN NOT EXISTS ( + SELECT 1 + FROM users AS u + WHERE u.Id = p.OwnerUserId + AND u.Reputation >= 1000 +) THEN 1 ELSE 0 END), 2) AS percentage +FROM posts AS p +WHERE p.CreaionDate >= '2010-01-01' + AND p.CreaionDate < '2011-01-01' + AND p.Score > 5; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird148.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird148.sql new file mode 100644 index 00000000..1c3c2b26 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird148.sql @@ -0,0 +1,14 @@ +WITH editor_counts AS ( + SELECT u.DisplayName AS display_name, + COUNT(*) AS edit_comment_count + FROM posts AS p + JOIN postHistory AS h ON h.PostId = p.Id + JOIN users AS u ON u.Id = h.UserId + WHERE p.Title = 'Why square the difference instead of taking the absolute value in standard deviation?' + AND NULLIF(TRIM(h.Comment), '') IS NOT NULL + GROUP BY u.Id, u.DisplayName +) +SELECT display_name, edit_comment_count +FROM editor_counts +WHERE edit_comment_count = (SELECT MAX(edit_comment_count) FROM editor_counts) +ORDER BY display_name; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird149.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird149.sql new file mode 100644 index 00000000..8ef1e74b --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird149.sql @@ -0,0 +1,26 @@ +WITH customer_totals AS ( + SELECT c.Segment, c.CustomerID, SUM(y.Consumption) AS total_consumption + FROM customers AS c + JOIN yearmonth AS y ON y.CustomerID = c.CustomerID + WHERE c.Currency = 'CZK' + AND c.Segment IN ('SME', 'LAM', 'KAM') + AND substr(y.Date, 1, 4) = '2013' + GROUP BY c.Segment, c.CustomerID +), ranked AS ( + SELECT Segment, total_consumption, + ROW_NUMBER() OVER ( + PARTITION BY Segment + ORDER BY total_consumption ASC NULLS LAST, CustomerID ASC + ) AS segment_rank + FROM customer_totals +), lowest_totals AS ( + SELECT MAX(CASE WHEN Segment = 'SME' THEN total_consumption END) AS sme, + MAX(CASE WHEN Segment = 'LAM' THEN total_consumption END) AS lam, + MAX(CASE WHEN Segment = 'KAM' THEN total_consumption END) AS kam + FROM ranked + WHERE segment_rank = 1 +) +SELECT ROUND(sme - lam, 2) AS sme_minus_lam, + ROUND(lam - kam, 2) AS lam_minus_kam, + ROUND(kam - sme, 2) AS kam_minus_sme +FROM lowest_totals; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird150.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird150.sql new file mode 100644 index 00000000..9e8dd21d --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird150.sql @@ -0,0 +1,23 @@ +WITH annual_totals AS ( + SELECT c.Segment, + SUM(CASE WHEN y.Date >= '201201' AND y.Date < '201301' THEN y.Consumption END) AS total_2012, + SUM(CASE WHEN y.Date >= '201301' AND y.Date < '201401' THEN y.Consumption END) AS total_2013 + FROM customers AS c + JOIN yearmonth AS y ON y.CustomerID = c.CustomerID + WHERE c.Currency = 'EUR' + AND c.Segment IN ('SME', 'LAM', 'KAM') + AND y.Date >= '201201' AND y.Date < '201401' + GROUP BY c.Segment +), increases AS ( + SELECT Segment, + 100.0 * (total_2013 - total_2012) / NULLIF(total_2012, 0) AS increase_pct + FROM annual_totals +), extremes AS ( + SELECT MIN(increase_pct) AS lowest, MAX(increase_pct) AS highest + FROM increases +) +SELECT i.Segment, ROUND(i.increase_pct, 2) AS increase_percentage +FROM increases AS i +CROSS JOIN extremes AS e +WHERE i.increase_pct IN (e.lowest, e.highest) +ORDER BY i.increase_pct DESC, i.Segment; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird151.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird151.sql new file mode 100644 index 00000000..616c4a06 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird151.sql @@ -0,0 +1,14 @@ +WITH annual_totals AS ( + SELECT + SUM(CASE WHEN substr(ym.Date, 1, 4) = '2012' THEN ym.Consumption END) AS total_2012, + SUM(CASE WHEN substr(ym.Date, 1, 4) = '2013' THEN ym.Consumption END) AS total_2013 + FROM yearmonth AS ym + WHERE ym.CustomerID IN ( + SELECT t.CustomerID + FROM transactions_1k AS t + WHERE t.Date = '2012-08-25' AND t.Price = 634.8 + ) + AND substr(ym.Date, 1, 4) IN ('2012', '2013') +) +SELECT ROUND((total_2013 - total_2012) / NULLIF(total_2012, 0), 4) AS relative_change +FROM annual_totals; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird153.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird153.sql new file mode 100644 index 00000000..d554920e --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird153.sql @@ -0,0 +1,12 @@ +WITH qualifying_customers AS ( + SELECT CustomerID + FROM yearmonth + WHERE Date >= '201201' AND Date < '201301' + GROUP BY CustomerID + HAVING SUM(Consumption) < 30000 +) +SELECT c.Segment, COUNT(q.CustomerID) AS CustomerCount +FROM customers AS c +LEFT JOIN qualifying_customers AS q ON q.CustomerID = c.CustomerID +GROUP BY c.Segment +ORDER BY c.Segment; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird154.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird154.sql new file mode 100644 index 00000000..525d7430 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird154.sql @@ -0,0 +1,9 @@ +SELECT c.Segment AS client_segment, + COUNT(DISTINCT ym.CustomerID) AS customers_who_consumed_fuel +FROM customers AS c +LEFT JOIN yearmonth AS ym + ON ym.CustomerID = c.CustomerID + AND ym.Date >= '201301' + AND ym.Date < '201401' + AND ym.Consumption IS NOT NULL +GROUP BY c.Segment; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird155.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird155.sql new file mode 100644 index 00000000..c584cc16 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird155.sql @@ -0,0 +1,9 @@ +WITH qualifying_transactions AS ( + SELECT unixepoch(t.Date || ' ' || t.Time) AS transaction_time + FROM transactions_1k AS t + JOIN gasstations AS g ON g.GasStationID = t.GasStationID + WHERE g.Country = 'CZE' + AND t.Price > 1000 +) +SELECT (MAX(transaction_time) - MIN(transaction_time)) / 60 AS elapsed_minutes +FROM qualifying_transactions; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird156.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird156.sql new file mode 100644 index 00000000..aa1c4b8c --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird156.sql @@ -0,0 +1,11 @@ +WITH active_customers AS ( + SELECT CustomerID + FROM yearmonth + WHERE Date BETWEEN '201301' AND '201311' + GROUP BY CustomerID + HAVING COUNT(DISTINCT Date) = 11 +) +SELECT c.Currency, COUNT(DISTINCT a.CustomerID) AS customer_count +FROM customers AS c +LEFT JOIN active_customers AS a ON a.CustomerID = c.CustomerID +GROUP BY c.Currency; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird157.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird157.sql new file mode 100644 index 00000000..b05e6659 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird157.sql @@ -0,0 +1,14 @@ +WITH quarterly_consumption AS ( + SELECT CustomerID, SUM(Consumption) AS total_consumption + FROM yearmonth + WHERE Date IN ('201304', '201305', '201306') + AND Consumption IS NOT NULL + GROUP BY CustomerID +) +SELECT c.Currency, + ROUND(AVG(q.total_consumption), 2) AS average_quarterly_consumption +FROM quarterly_consumption AS q +JOIN customers AS c ON c.CustomerID = q.CustomerID +WHERE c.Currency IN ('EUR', 'CZK') +GROUP BY c.Currency +ORDER BY c.Currency; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird158.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird158.sql new file mode 100644 index 00000000..83ed9642 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird158.sql @@ -0,0 +1,12 @@ +WITH monthly_totals AS ( + SELECT "Date" AS calendar_month, SUM(Consumption) AS total_consumption + FROM yearmonth + WHERE "Date" >= '201201' AND "Date" < '201401' + GROUP BY "Date" +) +SELECT ROUND( + MAX(CASE WHEN SUBSTR(calendar_month, 1, 4) = '2013' THEN total_consumption END) + - MAX(CASE WHEN SUBSTR(calendar_month, 1, 4) = '2012' THEN total_consumption END), + 0 +) AS peak_consumption_difference +FROM monthly_totals; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird159.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird159.sql new file mode 100644 index 00000000..9647edbd --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird159.sql @@ -0,0 +1,6 @@ +SELECT ROUND(AVG(Consumption), 2) AS average_monthly_fuel_consumption +FROM yearmonth +WHERE CustomerID = 15621 + AND Date >= '201301' + AND Date < '201401' + AND Consumption > 0; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird160.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird160.sql new file mode 100644 index 00000000..fb5438c3 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird160.sql @@ -0,0 +1,13 @@ +WITH customer_totals AS ( + SELECT c.CustomerID, c.Currency, SUM(y.Consumption) AS total_consumption + FROM customers AS c + JOIN yearmonth AS y ON y.CustomerID = c.CustomerID + WHERE y."Date" >= '201201' AND y."Date" < '201301' + AND c.Currency IN ('CZK', 'EUR') + GROUP BY c.CustomerID, c.Currency +) +SELECT CAST(ROUND( + AVG(CASE WHEN Currency = 'CZK' THEN total_consumption END) + - AVG(CASE WHEN Currency = 'EUR' THEN total_consumption END) +) AS INTEGER) AS consumption_difference +FROM customer_totals; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird161.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird161.sql new file mode 100644 index 00000000..1fda3a4d --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird161.sql @@ -0,0 +1,12 @@ +SELECT COUNT(*) AS customer_count +FROM ( + SELECT c.CustomerID + FROM customers AS c + JOIN yearmonth AS ym ON ym.CustomerID = c.CustomerID + WHERE c.Segment = 'KAM' + AND c.Currency = 'CZK' + AND ym.Date >= '201301' + AND ym.Date < '201401' + GROUP BY c.CustomerID + HAVING SUM(ym.Consumption) > 1000000 +) AS qualifying_customers; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird162.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird162.sql new file mode 100644 index 00000000..a9f048d2 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird162.sql @@ -0,0 +1,6 @@ +SELECT COUNT(DISTINCT c.CustomerID) AS sme_customer_count +FROM customers AS c +JOIN yearmonth AS ym ON ym.CustomerID = c.CustomerID +WHERE c.Segment = 'SME' + AND ym.Date = '201302' + AND ym.Consumption > 0; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird163.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird163.sql new file mode 100644 index 00000000..314383a9 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird163.sql @@ -0,0 +1,14 @@ +WITH away_win_counts AS ( + SELECT m.away_team_api_id, + SUM(CASE WHEN m.away_team_goal > m.home_team_goal THEN 1 ELSE 0 END) AS away_wins + FROM "Match" AS m + JOIN League AS l ON l.id = m.league_id + WHERE l.name = 'Scotland Premier League' + AND m.season = '2009/2010' + GROUP BY m.away_team_api_id +) +SELECT t.team_long_name +FROM away_win_counts AS a +JOIN Team AS t ON t.team_api_id = a.away_team_api_id +WHERE a.away_wins = (SELECT MAX(away_wins) FROM away_win_counts) +ORDER BY t.team_long_name; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird164.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird164.sql new file mode 100644 index 00000000..eac39c05 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird164.sql @@ -0,0 +1,10 @@ +WITH passing_2012 AS ( + SELECT team_api_id, buildUpPlayPassing + FROM Team_Attributes + WHERE date >= '2012-01-01' AND date < '2013-01-01' +) +SELECT t.team_long_name +FROM Team AS t +JOIN passing_2012 AS p ON p.team_api_id = t.team_api_id +WHERE p.buildUpPlayPassing > (SELECT AVG(buildUpPlayPassing) FROM passing_2012) +ORDER BY t.team_long_name; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird165.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird165.sql new file mode 100644 index 00000000..da074b13 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird165.sql @@ -0,0 +1,12 @@ +SELECT + p.player_api_id, + p.player_name, + AVG(a.heading_accuracy) AS mean_heading_accuracy +FROM Player AS p +JOIN Player_Attributes AS a + ON a.player_api_id = p.player_api_id +WHERE p.height > 180 + AND a.heading_accuracy IS NOT NULL +GROUP BY p.player_api_id, p.player_name +ORDER BY mean_heading_accuracy DESC, p.player_api_id ASC +LIMIT 10; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird166.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird166.sql new file mode 100644 index 00000000..5e492211 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird166.sql @@ -0,0 +1,7 @@ +SELECT l.name +FROM League AS l +JOIN "Match" AS m ON m.league_id = l.id +WHERE m.season = '2009/2010' +GROUP BY l.id, l.name +HAVING AVG(m.home_team_goal) > AVG(m.away_team_goal) +ORDER BY l.name; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird167.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird167.sql new file mode 100644 index 00000000..bced284a --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird167.sql @@ -0,0 +1,14 @@ +WITH height_bounds AS ( + SELECT MIN(height) AS shortest_height, MAX(height) AS tallest_height + FROM Player +), extreme_player_averages AS ( + SELECT p.player_api_id, p.player_name, AVG(pa.finishing) AS avg_finishing + FROM Player AS p + JOIN Player_Attributes AS pa ON pa.player_api_id = p.player_api_id + CROSS JOIN height_bounds AS h + WHERE p.height IN (h.shortest_height, h.tallest_height) + GROUP BY p.player_api_id, p.player_name +) +SELECT player_name +FROM extreme_player_averages +WHERE avg_finishing = (SELECT MAX(avg_finishing) FROM extreme_player_averages); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird168.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird168.sql new file mode 100644 index 00000000..29216940 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird168.sql @@ -0,0 +1,7 @@ +SELECT + AVG(CASE WHEN p.player_name = 'Abdou Diallo' THEN pa.ball_control END) + - AVG(CASE WHEN p.player_name = 'Aaron Appindangoye' THEN pa.ball_control END) + AS mean_ball_control_difference +FROM Player AS p +JOIN Player_Attributes AS pa ON pa.player_api_id = p.player_api_id +WHERE p.player_name IN ('Abdou Diallo', 'Aaron Appindangoye'); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird169.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird169.sql new file mode 100644 index 00000000..5ae555a8 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird169.sql @@ -0,0 +1,16 @@ +WITH ranked_ratings AS ( + SELECT p.player_name, + pa.overall_rating, + ROW_NUMBER() OVER ( + PARTITION BY p.player_name + ORDER BY pa.date DESC, pa.id DESC + ) AS rn + FROM Player AS p + JOIN Player_Attributes AS pa ON pa.player_api_id = p.player_api_id + WHERE p.player_name IN ('Ariel Borysiuk', 'Paulin Puel') +) +SELECT ROUND(100.0 * (a.overall_rating - b.overall_rating) / b.overall_rating, 2) AS percentage_higher +FROM ranked_ratings AS a +CROSS JOIN ranked_ratings AS b +WHERE a.player_name = 'Ariel Borysiuk' AND a.rn = 1 + AND b.player_name = 'Paulin Puel' AND b.rn = 1; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird170.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird170.sql new file mode 100644 index 00000000..7ea5f337 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird170.sql @@ -0,0 +1,9 @@ +WITH crossing_records AS ( + SELECT pa.date AS recorded_at, pa.crossing + FROM Player AS p + JOIN Player_Attributes AS pa ON pa.player_api_id = p.player_api_id + WHERE p.player_name = 'Kevin Constant' +) +SELECT DATE(MIN(recorded_at)) AS first_highest_crossing_date +FROM crossing_records +WHERE crossing = (SELECT MAX(crossing) FROM crossing_records); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird171.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird171.sql new file mode 100644 index 00000000..726042db --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird171.sql @@ -0,0 +1,12 @@ +WITH qualifying_players AS ( + SELECT DISTINCT player_api_id + FROM Player_Attributes + WHERE overall_rating > 70 +) +SELECT ROUND( + 100.0 * COUNT(q.player_api_id) / NULLIF(COUNT(*), 0), + 2 +) AS percentage +FROM Player AS p +LEFT JOIN qualifying_players AS q ON q.player_api_id = p.player_api_id +WHERE p.height < 180; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird172.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird172.sql new file mode 100644 index 00000000..631986db --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird172.sql @@ -0,0 +1,4 @@ +SELECT ROUND(AVG(p.height), 2) AS average_height_cm +FROM Player AS p +WHERE p.height > 180 + AND p.player_api_id IN (SELECT m.home_player_3 FROM "Match" AS m); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird173.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird173.sql new file mode 100644 index 00000000..24ea2c1d --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird173.sql @@ -0,0 +1,10 @@ +SELECT ROUND( + 100.0 * COUNT(DISTINCT CASE + WHEN LOWER(TRIM(pa.defensive_work_rate)) = 'high' THEN p.player_api_id + END) / NULLIF(COUNT(DISTINCT p.player_api_id), 0), + 2 +) AS high_defensive_work_rate_percentage +FROM Player AS p +JOIN Player_Attributes AS pa ON pa.player_api_id = p.player_api_id +WHERE p.birthday >= '1991-01-01' + AND LOWER(TRIM(pa.defensive_work_rate)) IN ('low', 'medium', 'high'); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird174.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird174.sql new file mode 100644 index 00000000..e9507356 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird174.sql @@ -0,0 +1,28 @@ +WITH ranked_ratings AS ( + SELECT player_api_id, overall_rating, + ROW_NUMBER() OVER ( + PARTITION BY player_api_id + ORDER BY date DESC, id DESC + ) AS rn + FROM Player_Attributes + WHERE date < '2011-01-01' +), match_counts AS ( + SELECT r.player_api_id, COUNT(DISTINCT m.match_api_id) AS matches_played + FROM ranked_ratings AS r + LEFT JOIN Match AS m + ON m.season = '2010/2011' + AND r.player_api_id IN ( + m.home_player_1, m.home_player_2, m.home_player_3, + m.home_player_4, m.home_player_5, m.home_player_6, + m.home_player_7, m.home_player_8, m.home_player_9, + m.home_player_10, m.home_player_11, + m.away_player_1, m.away_player_2, m.away_player_3, + m.away_player_4, m.away_player_5, m.away_player_6, + m.away_player_7, m.away_player_8, m.away_player_9, + m.away_player_10, m.away_player_11 + ) + WHERE r.rn = 1 AND r.overall_rating > 80 + GROUP BY r.player_api_id +) +SELECT ROUND(AVG(matches_played), 2) AS average_matches +FROM match_counts; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird175.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird175.sql new file mode 100644 index 00000000..07197215 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird175.sql @@ -0,0 +1,14 @@ +WITH ranked_ratings AS ( + SELECT player_api_id, + defensive_work_rate, + ROW_NUMBER() OVER ( + PARTITION BY player_api_id + ORDER BY date DESC, id DESC + ) AS rn + FROM Player_Attributes +) +SELECT ROUND(AVG(p.height), 2) AS average_height_cm +FROM Player AS p +JOIN ranked_ratings AS r ON r.player_api_id = p.player_api_id +WHERE r.rn = 1 + AND r.defensive_work_rate IN ('low', 'high'); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird176.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird176.sql new file mode 100644 index 00000000..98e5f5ce --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird176.sql @@ -0,0 +1,27 @@ +WITH eligible_clubs AS ( + SELECT t.team_api_id, t.team_short_name + FROM Team AS t + WHERE EXISTS ( + SELECT 1 + FROM Team_Attributes AS a + WHERE a.team_api_id = t.team_api_id + AND a.chanceCreationPassingClass = 'Risky' + ) +), ranked_attributes AS ( + SELECT team_api_id, chanceCreationPassing, + ROW_NUMBER() OVER ( + PARTITION BY team_api_id + ORDER BY date DESC, id DESC + ) AS rn + FROM Team_Attributes + WHERE date < '2014-09-20' +) +SELECT c.team_short_name AS short_name, + COUNT(*) AS club_count, + ROUND(AVG(a.chanceCreationPassing), 1) AS avg_passing_risk +FROM eligible_clubs AS c +LEFT JOIN ranked_attributes AS a + ON a.team_api_id = c.team_api_id AND a.rn = 1 +GROUP BY c.team_short_name +HAVING COUNT(*) > 1 +ORDER BY avg_passing_risk DESC, short_name ASC; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird177.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird177.sql new file mode 100644 index 00000000..6673fd2c --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird177.sql @@ -0,0 +1,18 @@ +WITH ranked_grades AS ( + SELECT + player_api_id, + LOWER(TRIM(defensive_work_rate)) AS defensive_grade, + ROW_NUMBER() OVER ( + PARTITION BY player_api_id + ORDER BY date DESC, id DESC + ) AS rn + FROM Player_Attributes + WHERE LOWER(TRIM(defensive_work_rate)) IN ('low', 'medium', 'high') +) +SELECT ROUND(AVG(p.height), 2) AS average_height_cm +FROM Player AS p +JOIN ranked_grades AS g ON g.player_api_id = p.player_api_id +WHERE p.birthday >= '1990-01-01' + AND p.birthday < '1996-01-01' + AND g.rn = 1 + AND g.defensive_grade = 'medium'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird178.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird178.sql new file mode 100644 index 00000000..9c809c80 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird178.sql @@ -0,0 +1,7 @@ +SELECT ROUND(AVG(p.weight), 1) AS average_weight +FROM Player AS p +WHERE p.player_api_id IN ( + SELECT pa.player_api_id + FROM Player_Attributes AS pa + WHERE pa.preferred_foot = 'left' +); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird180.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird180.sql new file mode 100644 index 00000000..857afa2e --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird180.sql @@ -0,0 +1,12 @@ +SELECT DISTINCT ta.buildUpPlayDribblingClass +FROM Team_Attributes AS ta +JOIN Team AS t ON t.team_api_id = ta.team_api_id +WHERE t.team_short_name = 'POR' + AND date(ta.date) = '2015-09-10' + AND EXISTS ( + SELECT 1 + FROM Match AS m + JOIN Country AS c ON c.id = m.country_id + WHERE c.name = 'England' + AND t.team_api_id IN (m.home_team_api_id, m.away_team_api_id) + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird181.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird181.sql new file mode 100644 index 00000000..534c425d --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird181.sql @@ -0,0 +1,17 @@ +SELECT + t.team_long_name AS club_name, + t.team_short_name AS short_name, + COUNT(*) AS home_wins +FROM "Match" AS m +JOIN Team AS t ON t.team_api_id = m.home_team_api_id +WHERE m.home_team_goal - m.away_team_goal >= 3 + AND ( + SELECT ta.buildUpPlaySpeedClass + FROM Team_Attributes AS ta + WHERE ta.team_api_id = m.home_team_api_id + AND ta.date <= m.date + ORDER BY ta.date DESC, ta.id DESC + LIMIT 1 + ) = 'Fast' +GROUP BY t.team_api_id, t.team_long_name, t.team_short_name +ORDER BY home_wins DESC, club_name, short_name, t.team_api_id; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird182.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird182.sql new file mode 100644 index 00000000..d3c34bc0 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird182.sql @@ -0,0 +1,23 @@ +WITH heavy_away_defeats AS ( + SELECT season, away_player_1, away_player_2, away_player_3, + away_player_4, away_player_5, away_player_6, away_player_7, + away_player_8, away_player_9, away_player_10, away_player_11 + FROM "Match" + WHERE home_team_goal - away_team_goal >= 5 +), away_lineup (season, player_id) AS ( + SELECT season, away_player_1 FROM heavy_away_defeats + UNION ALL SELECT season, away_player_2 FROM heavy_away_defeats + UNION ALL SELECT season, away_player_3 FROM heavy_away_defeats + UNION ALL SELECT season, away_player_4 FROM heavy_away_defeats + UNION ALL SELECT season, away_player_5 FROM heavy_away_defeats + UNION ALL SELECT season, away_player_6 FROM heavy_away_defeats + UNION ALL SELECT season, away_player_7 FROM heavy_away_defeats + UNION ALL SELECT season, away_player_8 FROM heavy_away_defeats + UNION ALL SELECT season, away_player_9 FROM heavy_away_defeats + UNION ALL SELECT season, away_player_10 FROM heavy_away_defeats + UNION ALL SELECT season, away_player_11 FROM heavy_away_defeats +) +SELECT season, COUNT(DISTINCT player_id) AS player_count +FROM away_lineup +GROUP BY season +ORDER BY season; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird183.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird183.sql new file mode 100644 index 00000000..08034c71 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird183.sql @@ -0,0 +1,24 @@ +WITH country_counts AS ( + SELECT c.name AS country_name, + COUNT(DISTINCT p.player_api_id) AS player_count + FROM Country AS c + LEFT JOIN League AS l ON l.country_id = c.id + LEFT JOIN "Match" AS m ON m.league_id = l.id + LEFT JOIN Player AS p + ON p.weight >= 210 + AND p.player_api_id IN ( + m.home_player_1, m.home_player_2, m.home_player_3, + m.home_player_4, m.home_player_5, m.home_player_6, + m.home_player_7, m.home_player_8, m.home_player_9, + m.home_player_10, m.home_player_11, + m.away_player_1, m.away_player_2, m.away_player_3, + m.away_player_4, m.away_player_5, m.away_player_6, + m.away_player_7, m.away_player_8, m.away_player_9, + m.away_player_10, m.away_player_11 + ) + GROUP BY c.id, c.name +) +SELECT country_name, player_count +FROM country_counts +WHERE player_count = (SELECT MAX(player_count) FROM country_counts) +ORDER BY country_name; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird184.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird184.sql new file mode 100644 index 00000000..6040beb5 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird184.sql @@ -0,0 +1,38 @@ +WITH italian_matches AS ( + SELECT m.* + FROM "Match" AS m + JOIN League AS l ON l.id = m.league_id + JOIN Country AS c ON c.id = l.country_id + WHERE c.name = 'Italy' + AND m.season IN ('2008/2009', '2015/2016') +), season_players AS ( + SELECT season, home_player_1 AS player_api_id FROM italian_matches + UNION SELECT season, home_player_2 FROM italian_matches + UNION SELECT season, home_player_3 FROM italian_matches + UNION SELECT season, home_player_4 FROM italian_matches + UNION SELECT season, home_player_5 FROM italian_matches + UNION SELECT season, home_player_6 FROM italian_matches + UNION SELECT season, home_player_7 FROM italian_matches + UNION SELECT season, home_player_8 FROM italian_matches + UNION SELECT season, home_player_9 FROM italian_matches + UNION SELECT season, home_player_10 FROM italian_matches + UNION SELECT season, home_player_11 FROM italian_matches + UNION SELECT season, away_player_1 FROM italian_matches + UNION SELECT season, away_player_2 FROM italian_matches + UNION SELECT season, away_player_3 FROM italian_matches + UNION SELECT season, away_player_4 FROM italian_matches + UNION SELECT season, away_player_5 FROM italian_matches + UNION SELECT season, away_player_6 FROM italian_matches + UNION SELECT season, away_player_7 FROM italian_matches + UNION SELECT season, away_player_8 FROM italian_matches + UNION SELECT season, away_player_9 FROM italian_matches + UNION SELECT season, away_player_10 FROM italian_matches + UNION SELECT season, away_player_11 FROM italian_matches +) +SELECT sp.season, + COUNT(sp.player_api_id) AS player_count, + ROUND(AVG(p.height), 2) AS average_height_cm +FROM season_players AS sp +LEFT JOIN Player AS p ON p.player_api_id = sp.player_api_id +GROUP BY sp.season +ORDER BY sp.season; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird185.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird185.sql new file mode 100644 index 00000000..6ca5cd58 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird185.sql @@ -0,0 +1,15 @@ +WITH ranked_ratings AS ( + SELECT player_api_id, + volleys, + ROW_NUMBER() OVER ( + PARTITION BY player_api_id + ORDER BY date DESC, id DESC + ) AS rating_rank + FROM Player_Attributes +) +SELECT COUNT(DISTINCT p.player_api_id) AS player_count +FROM Player AS p +JOIN ranked_ratings AS r ON r.player_api_id = p.player_api_id +WHERE r.rating_rank = 1 + AND p.height > 180 + AND r.volleys > 70; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird186.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird186.sql new file mode 100644 index 00000000..f5cd113c --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird186.sql @@ -0,0 +1,9 @@ +WITH goals_by_player AS ( + SELECT home_player_3 AS player_api_id, + SUM(home_team_goal) AS total_home_goals + FROM "Match" + GROUP BY home_player_3 +) +SELECT ROUND(AVG(COALESCE(g.total_home_goals, 0)), 2) AS average_total_home_goals +FROM Player AS p +LEFT JOIN goals_by_player AS g ON g.player_api_id = p.player_api_id; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird187.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird187.sql new file mode 100644 index 00000000..2ce38395 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird187.sql @@ -0,0 +1,34 @@ +WITH match_players(country_id, player_api_id) AS ( + SELECT country_id, home_player_1 FROM "Match" + UNION ALL SELECT country_id, home_player_2 FROM "Match" + UNION ALL SELECT country_id, home_player_3 FROM "Match" + UNION ALL SELECT country_id, home_player_4 FROM "Match" + UNION ALL SELECT country_id, home_player_5 FROM "Match" + UNION ALL SELECT country_id, home_player_6 FROM "Match" + UNION ALL SELECT country_id, home_player_7 FROM "Match" + UNION ALL SELECT country_id, home_player_8 FROM "Match" + UNION ALL SELECT country_id, home_player_9 FROM "Match" + UNION ALL SELECT country_id, home_player_10 FROM "Match" + UNION ALL SELECT country_id, home_player_11 FROM "Match" + UNION ALL SELECT country_id, away_player_1 FROM "Match" + UNION ALL SELECT country_id, away_player_2 FROM "Match" + UNION ALL SELECT country_id, away_player_3 FROM "Match" + UNION ALL SELECT country_id, away_player_4 FROM "Match" + UNION ALL SELECT country_id, away_player_5 FROM "Match" + UNION ALL SELECT country_id, away_player_6 FROM "Match" + UNION ALL SELECT country_id, away_player_7 FROM "Match" + UNION ALL SELECT country_id, away_player_8 FROM "Match" + UNION ALL SELECT country_id, away_player_9 FROM "Match" + UNION ALL SELECT country_id, away_player_10 FROM "Match" + UNION ALL SELECT country_id, away_player_11 FROM "Match" +), country_counts AS ( + SELECT c.name AS country_name, COUNT(DISTINCT p.player_api_id) AS player_count + FROM Country AS c + JOIN match_players AS mp ON mp.country_id = c.id + LEFT JOIN Player AS p ON p.player_api_id = mp.player_api_id AND p.weight <= 160 + GROUP BY c.id, c.name +) +SELECT country_name +FROM country_counts +WHERE player_count = (SELECT MIN(player_count) FROM country_counts) +ORDER BY country_name; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird188.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird188.sql new file mode 100644 index 00000000..a2ad3547 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird188.sql @@ -0,0 +1,15 @@ +WITH ranked_attributes AS ( + SELECT preferred_foot, + attacking_work_rate, + ROW_NUMBER() OVER ( + PARTITION BY player_api_id + ORDER BY date DESC, id DESC + ) AS rn + FROM Player_Attributes + WHERE date < '2015-01-02' +) +SELECT COUNT(*) AS player_count +FROM ranked_attributes +WHERE rn = 1 + AND preferred_foot = 'left' + AND attacking_work_rate IN ('low', 'medium'); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird189.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird189.sql new file mode 100644 index 00000000..f60dbfca --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird189.sql @@ -0,0 +1,15 @@ +WITH latest AS ( + SELECT preferred_foot, + attacking_work_rate, + ROW_NUMBER() OVER ( + PARTITION BY player_api_id + ORDER BY date DESC, id DESC + ) AS rn + FROM Player_Attributes +) +SELECT ROUND(100.0 * COUNT(CASE WHEN attacking_work_rate = 'low' THEN 1 END) + / NULLIF(COUNT(*), 0), 1) AS percentage +FROM latest +WHERE rn = 1 + AND preferred_foot = 'left' + AND attacking_work_rate IN ('low', 'medium', 'high'); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird190.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird190.sql new file mode 100644 index 00000000..d9a22142 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird190.sql @@ -0,0 +1,16 @@ +SELECT p.player_name, COUNT(m.id) AS matches_played +FROM Player AS p +LEFT JOIN "Match" AS m + ON m.season = '2015/2016' + AND p.player_api_id IN ( + m.home_player_1, m.home_player_2, m.home_player_3, m.home_player_4, + m.home_player_5, m.home_player_6, m.home_player_7, m.home_player_8, + m.home_player_9, m.home_player_10, m.home_player_11, + m.away_player_1, m.away_player_2, m.away_player_3, m.away_player_4, + m.away_player_5, m.away_player_6, m.away_player_7, m.away_player_8, + m.away_player_9, m.away_player_10, m.away_player_11 + ) +WHERE p.birthday >= '1991-01-01' + AND p.player_name LIKE 'Aaron%' +GROUP BY p.id, p.player_name +ORDER BY p.player_name; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird191.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird191.sql new file mode 100644 index 00000000..f770b909 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird191.sql @@ -0,0 +1,4 @@ +SELECT COUNT(DISTINCT player_api_id) AS player_count +FROM Player_Attributes +WHERE jumping >= 80 + AND DATE(date) BETWEEN '2007-02-22' AND '2007-08-30'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird192.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird192.sql new file mode 100644 index 00000000..817ad78c --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird192.sql @@ -0,0 +1,16 @@ +WITH last_match AS ( + SELECT t.team_api_id, MAX(m.date) AS match_date + FROM Team AS t + JOIN "Match" AS m + ON t.team_api_id IN (m.home_team_api_id, m.away_team_api_id) + WHERE t.team_long_name = 'KSV Cercle Brugge' + AND m.season = '2012/2013' + GROUP BY t.team_api_id +) +SELECT a.buildUpPlaySpeedClass +FROM last_match AS lm +JOIN Team_Attributes AS a + ON a.team_api_id = lm.team_api_id + AND a.date <= lm.match_date +ORDER BY a.date DESC, a.id DESC +LIMIT 1; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird193.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird193.sql new file mode 100644 index 00000000..a074a32c --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird193.sql @@ -0,0 +1,18 @@ +WITH ranked_ratings AS ( + SELECT player_api_id, overall_rating, defensive_work_rate, + ROW_NUMBER() OVER ( + PARTITION BY player_api_id + ORDER BY date DESC, id DESC + ) AS rn + FROM Player_Attributes + WHERE date < '2013-07-13' +) +SELECT ROUND( + 100.0 * (MAX(CASE WHEN p.player_name = 'Landon Donovan' THEN r.overall_rating END) + - AVG(r.overall_rating)) / AVG(r.overall_rating), + 2 + ) AS percentage_higher +FROM ranked_ratings AS r +JOIN Player AS p ON p.player_api_id = r.player_api_id +WHERE r.rn = 1 + AND LOWER(TRIM(r.defensive_work_rate)) IN ('low', 'medium', 'high'); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird194.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird194.sql new file mode 100644 index 00000000..e1e4aa9d --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird194.sql @@ -0,0 +1,17 @@ +WITH salary_bounds AS ( + SELECT MIN(A11) AS lowest_salary, MAX(A11) AS highest_salary + FROM district +), eligible_clients AS ( + SELECT c.client_id, c.birth_date + FROM client AS c + JOIN district AS d ON d.district_id = c.district_id + CROSS JOIN salary_bounds AS s + WHERE c.gender = 'F' AND d.A11 = s.lowest_salary +) +SELECT DISTINCT p.account_id, + s.highest_salary - s.lowest_salary AS salary_difference +FROM eligible_clients AS c +JOIN disp AS p ON p.client_id = c.client_id +CROSS JOIN salary_bounds AS s +WHERE c.birth_date = (SELECT MIN(birth_date) FROM eligible_clients) +ORDER BY p.account_id; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird195.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird195.sql new file mode 100644 index 00000000..0ec53197 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird195.sql @@ -0,0 +1,8 @@ +SELECT d.A2 AS district +FROM client AS c +JOIN disp AS p ON p.client_id = c.client_id +JOIN account AS a ON a.account_id = p.account_id +JOIN district AS d ON d.district_id = a.district_id +WHERE c.gender = 'F' + AND c.birth_date = '1976-01-29' + AND p.type = 'OWNER'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird196.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird196.sql new file mode 100644 index 00000000..ce3498ce --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird196.sql @@ -0,0 +1,13 @@ +WITH largest_district AS ( + SELECT district_id + FROM district + WHERE A3 = 'south Bohemia' + ORDER BY CAST(A4 AS INTEGER) DESC, district_id + LIMIT 1 +) +SELECT ROUND( + 100.0 * COUNT(CASE WHEN c.gender = 'M' THEN 1 END) / NULLIF(COUNT(*), 0), + 2 +) AS male_percentage +FROM client AS c +JOIN largest_district AS d ON c.district_id = d.district_id; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird197.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird197.sql new file mode 100644 index 00000000..62a8903b --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird197.sql @@ -0,0 +1,11 @@ +SELECT 100.0 * (ending.balance - starting.balance) / NULLIF(starting.balance, 0) AS percentage_increase +FROM trans AS starting +JOIN trans AS ending ON ending.account_id = starting.account_id +WHERE starting.date = '1993-03-22' + AND ending.date = '1998-12-27' + AND EXISTS ( + SELECT 1 + FROM loan AS l + WHERE l.account_id = starting.account_id + AND l.date = '1993-07-05' + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird198.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird198.sql new file mode 100644 index 00000000..a2c8b6e7 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird198.sql @@ -0,0 +1,6 @@ +SELECT a.account_id, a.frequency +FROM account AS a +JOIN district AS d ON d.district_id = a.district_id +WHERE d.A3 = 'east Bohemia' + AND a.date >= '1995-01-01' + AND a.date < '2001-01-01'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird199.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird199.sql new file mode 100644 index 00000000..73a3542b --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird199.sql @@ -0,0 +1,12 @@ +SELECT d.A2 AS district, + ROUND(100.0 * (d.A13 - d.A12) / d.A12, 2) AS unemployment_pct_change +FROM district AS d +WHERE d.A12 IS NOT NULL + AND d.A13 IS NOT NULL + AND EXISTS ( + SELECT 1 + FROM account AS a + JOIN loan AS l ON l.account_id = a.account_id + WHERE a.district_id = d.district_id + AND l.status = 'D' + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird200.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird200.sql new file mode 100644 index 00000000..8ad1ee25 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird200.sql @@ -0,0 +1,9 @@ +SELECT d.type, + COUNT(DISTINCT a.account_id) AS distinct_account_count +FROM disp AS d +JOIN account AS a ON a.account_id = d.account_id +JOIN district AS r ON r.district_id = a.district_id +WHERE d.type <> 'OWNER' + AND r.A11 > 8000 + AND r.A11 <= 9000 +GROUP BY d.type; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird201.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird201.sql new file mode 100644 index 00000000..9f0ee64d --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird201.sql @@ -0,0 +1,18 @@ +WITH yearly_totals AS ( + SELECT + SUM(CASE WHEN l.date < '1997-01-01' THEN l.amount END) AS total_1996, + SUM(CASE WHEN l.date >= '1997-01-01' THEN l.amount END) AS total_1997 + FROM loan AS l + WHERE l.date >= '1996-01-01' + AND l.date < '1998-01-01' + AND EXISTS ( + SELECT 1 + FROM disp AS d + JOIN client AS c ON c.client_id = d.client_id + WHERE d.account_id = l.account_id + AND d.type = 'OWNER' + AND c.gender = 'M' + ) +) +SELECT 100.0 * (total_1997 - total_1996) / NULLIF(total_1996, 0) AS percentage_growth +FROM yearly_totals; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird202.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird202.sql new file mode 100644 index 00000000..382e1b87 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird202.sql @@ -0,0 +1,6 @@ +SELECT a.frequency AS statement_frequency, + o.k_symbol AS payment_purpose_code +FROM account AS a +JOIN "order" AS o ON o.account_id = a.account_id +WHERE a.account_id = 3 + AND o.amount = 3539; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird203.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird203.sql new file mode 100644 index 00000000..4200430d --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird203.sql @@ -0,0 +1,18 @@ +WITH first_month AS ( + SELECT DATE(MIN(date), 'start of month') AS month_start + FROM account +), eligible_districts AS ( + SELECT DISTINCT a.district_id + FROM account AS a + CROSS JOIN first_month AS f + WHERE a.date >= f.month_start + AND a.date < DATE(f.month_start, '+1 month') +), populations AS ( + SELECT d.A2 AS district_name, CAST(d.A4 AS INTEGER) AS population + FROM eligible_districts AS e + JOIN district AS d ON d.district_id = e.district_id +) +SELECT district_name, population +FROM populations +WHERE population = (SELECT MAX(population) FROM populations) +ORDER BY district_name; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird204.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird204.sql new file mode 100644 index 00000000..a77e96fa --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird204.sql @@ -0,0 +1,12 @@ +SELECT COUNT(*) AS transaction_count +FROM trans AS t +WHERE (t.k_symbol IS NULL OR TRIM(t.k_symbol) = '') + AND t.account_id IN ( + SELECT d.account_id + FROM disp AS d + JOIN client AS c ON c.client_id = d.client_id + WHERE d.type = 'OWNER' + AND c.gender = 'M' + AND c.birth_date >= '1974-01-01' + AND c.birth_date < '1977-01-01' + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird205.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird205.sql new file mode 100644 index 00000000..ce9aef5c --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird205.sql @@ -0,0 +1,23 @@ +WITH top_districts AS ( + SELECT district_id, A2 AS district_name + FROM district + ORDER BY CAST(A4 AS INTEGER) DESC, district_id + LIMIT 5 +), active_loans_by_account AS ( + SELECT account_id, SUM(amount) AS active_loan_amount + FROM loan + WHERE status IN ('C', 'D') + GROUP BY account_id +), district_averages AS ( + SELECT d.district_id, d.district_name, + AVG(CASE WHEN a.account_id IS NOT NULL + THEN COALESCE(l.active_loan_amount, 0) END) AS avg_active_loan + FROM top_districts AS d + LEFT JOIN account AS a ON a.district_id = d.district_id + LEFT JOIN active_loans_by_account AS l ON l.account_id = a.account_id + GROUP BY d.district_id, d.district_name +) +SELECT district_name, + CAST(ROUND(avg_active_loan, 0) AS INTEGER) AS avg_active_loan_per_account +FROM district_averages +ORDER BY avg_active_loan DESC, district_name, district_id; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird206.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird206.sql new file mode 100644 index 00000000..8bf70391 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird206.sql @@ -0,0 +1,13 @@ +WITH regional_totals AS ( + SELECT d.A3 AS region, SUM(l.amount) AS total_approved_amount + FROM loan AS l + JOIN account AS a ON a.account_id = l.account_id + JOIN district AS d ON d.district_id = a.district_id + WHERE DATE(l.date) <= '1995-12-31' + AND DATE(l.date, '+' || l.duration || ' months') >= '1995-12-31' + GROUP BY d.A3 +) +SELECT region, total_approved_amount +FROM regional_totals +WHERE total_approved_amount = (SELECT MAX(total_approved_amount) FROM regional_totals) +ORDER BY region; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird207.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird207.sql new file mode 100644 index 00000000..a7271f05 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird207.sql @@ -0,0 +1,10 @@ +SELECT COUNT(*) AS account_count +FROM account AS a +JOIN district AS d ON d.district_id = a.district_id +WHERE d.A3 = 'north Bohemia' + AND a.date <= '1995-12-31' + AND a.account_id IN ( + SELECT t.account_id + FROM trans AS t + WHERE t.bank = 'AB' + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird208.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird208.sql new file mode 100644 index 00000000..c448252a --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird208.sql @@ -0,0 +1,13 @@ +SELECT ROUND(AVG(d.A11), 2) AS average_salary, + COUNT(*) AS district_count +FROM district AS d +WHERE d.A3 = 'east Bohemia' + AND EXISTS ( + SELECT 1 + FROM account AS a + JOIN disp AS p ON p.account_id = a.account_id + JOIN client AS c ON c.client_id = p.client_id + WHERE a.district_id = d.district_id + AND c.birth_date >= '1980-01-01' + AND c.birth_date < '1990-01-01' + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird209.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird209.sql new file mode 100644 index 00000000..9d021efb --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird209.sql @@ -0,0 +1,16 @@ +SELECT ROUND(AVG(d.A11), 2) AS average_salary +FROM district AS d +WHERE d.A3 = 'central Bohemia' + AND EXISTS ( + SELECT 1 + FROM client AS c + JOIN disp AS owner ON owner.client_id = c.client_id + WHERE c.district_id = d.district_id + AND owner.type = 'OWNER' + AND NOT EXISTS ( + SELECT 1 + FROM disp AS account_disp + JOIN card AS cc ON cc.disp_id = account_disp.disp_id + WHERE account_disp.account_id = owner.account_id + ) + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird210.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird210.sql new file mode 100644 index 00000000..a5650d95 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird210.sql @@ -0,0 +1,16 @@ +WITH loans_per_account AS ( + SELECT a.account_id, COUNT(l.loan_id) AS loan_count + FROM account AS a + LEFT JOIN loan AS l ON l.account_id = a.account_id + WHERE EXISTS ( + SELECT 1 + FROM disp AS d + JOIN client AS c ON c.client_id = d.client_id + WHERE d.account_id = a.account_id + AND d.type = 'OWNER' + AND c.birth_date < '1950-01-01' + ) + GROUP BY a.account_id +) +SELECT ROUND(AVG(loan_count), 2) AS average_loans_per_account +FROM loans_per_account; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird211.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird211.sql new file mode 100644 index 00000000..b5576f14 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird211.sql @@ -0,0 +1,15 @@ +SELECT + COUNT(CASE WHEN TRIM(t.k_symbol) = 'SIPO' THEN 1 END) AS household_payments, + COUNT(CASE WHEN NULLIF(TRIM(t.k_symbol), '') <> 'SIPO' THEN 1 END) AS other_purpose_payments +FROM trans AS t +WHERE t.amount > 4000 + AND t.type = 'VYDAJ' + AND EXISTS ( + SELECT 1 + FROM disp AS d + JOIN client AS c ON c.client_id = d.client_id + WHERE d.account_id = t.account_id + AND c.gender = 'M' + AND c.birth_date >= '1974-01-01' + AND c.birth_date < '1977-01-01' + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird212.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird212.sql new file mode 100644 index 00000000..2f97ecc3 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird212.sql @@ -0,0 +1,33 @@ +WITH loan_totals AS ( + SELECT account_id, SUM(amount) AS total_amount_borrowed + FROM loan + GROUP BY account_id +), +prachatice_borrowers AS ( + SELECT a.account_id, a.date AS account_opening_date, l.total_amount_borrowed + FROM account AS a + JOIN district AS branch ON branch.district_id = a.district_id + JOIN loan_totals AS l ON l.account_id = a.account_id + WHERE branch.A2 = 'Prachatice' +), +counterparty_counts AS ( + SELECT t.account_id, COUNT(DISTINCT t."account") AS outside_counterparty_count + FROM trans AS t + JOIN prachatice_borrowers AS b ON b.account_id = t.account_id + WHERE t.operation IN ('PREVOD NA UCET', 'PREVOD Z UCTU') + GROUP BY t.account_id +) +SELECT + b.account_id AS account_number, + b.account_opening_date, + b.total_amount_borrowed, + COALESCE(cp.outside_counterparty_count, 0) AS outside_counterparty_count, + home.A2 AS home_district, + CAST(home.A4 AS INTEGER) AS home_district_population, + RANK() OVER (ORDER BY CAST(home.A4 AS INTEGER) DESC) AS population_rank +FROM prachatice_borrowers AS b +JOIN disp AS d ON d.account_id = b.account_id AND d.type = 'OWNER' +JOIN client AS c ON c.client_id = d.client_id +JOIN district AS home ON home.district_id = c.district_id +LEFT JOIN counterparty_counts AS cp ON cp.account_id = b.account_id +ORDER BY home_district_population DESC, account_number ASC; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird213.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird213.sql new file mode 100644 index 00000000..0e15b4f5 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird213.sql @@ -0,0 +1,49 @@ +WITH genders(gender, sort_order) AS ( + VALUES ('F', 1), ('M', 2) +), qualifying_accounts AS ( + SELECT account_id + FROM trans + GROUP BY account_id + HAVING AVG(balance) > 1000 +), gold_card_accounts AS ( + SELECT DISTINCT card_disp.account_id + FROM card AS c + JOIN disp AS card_disp ON card_disp.disp_id = c.disp_id + WHERE c.type = 'gold' +), qualifying_districts AS ( + SELECT DISTINCT + cl.gender, + d.district_id, + d.A2 AS district_name, + CAST(d.A4 AS INTEGER) AS inhabitants, + d.A11 AS salary, + d.A10 AS urban_ratio + FROM gold_card_accounts AS gc + JOIN qualifying_accounts AS qa ON qa.account_id = gc.account_id + JOIN account AS a ON a.account_id = gc.account_id + JOIN disp AS owner ON owner.account_id = a.account_id AND owner.type = 'OWNER' + JOIN client AS cl ON cl.client_id = owner.client_id + JOIN district AS d ON d.district_id = a.district_id + WHERE CAST(d.A4 AS INTEGER) > 100000 +), ranked_districts AS ( + SELECT + gender, + district_id, + district_name, + inhabitants, + RANK() OVER (PARTITION BY gender ORDER BY inhabitants DESC) AS population_rank, + COUNT(*) OVER (PARTITION BY gender) AS district_count, + ROUND(AVG(salary) OVER (PARTITION BY gender), 2) AS average_salary, + ROUND(AVG(urban_ratio) OVER (PARTITION BY gender), 2) AS average_urban_ratio + FROM qualifying_districts +) +SELECT + g.gender, + COALESCE(r.district_count, 0) AS district_count, + r.district_name, + r.inhabitants, + r.average_salary, + r.average_urban_ratio +FROM genders AS g +LEFT JOIN ranked_districts AS r ON r.gender = g.gender AND r.population_rank = 1 +ORDER BY g.sort_order, r.district_name, r.district_id; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird214.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird214.sql new file mode 100644 index 00000000..83e28a11 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird214.sql @@ -0,0 +1,24 @@ +SELECT + t.bank AS recipient_bank_code, + t.account AS recipient_counter_account, + COUNT(*) AS outgoing_payment_count, + SUM(t.amount) AS total_amount_paid +FROM trans AS t +JOIN account AS a ON a.account_id = t.account_id +JOIN district AS d ON d.district_id = a.district_id +WHERE t.type = 'VYDAJ' + AND t.date >= '1998-01-01' + AND t.date < '1999-01-01' + AND CAST(d.A4 AS INTEGER) >= 250000 + AND t.bank IS NOT NULL + AND t.account IS NOT NULL + AND EXISTS ( + SELECT 1 + FROM disp AS dp + JOIN card AS c ON c.disp_id = dp.disp_id + WHERE dp.account_id = a.account_id + AND dp.type = 'OWNER' + AND c.type = 'gold' + ) +GROUP BY t.bank, t.account +ORDER BY total_amount_paid DESC, recipient_bank_code, recipient_counter_account; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird215.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird215.sql new file mode 100644 index 00000000..950b84b0 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird215.sql @@ -0,0 +1,11 @@ +SELECT ROUND( + 100.0 * SUM(CASE WHEN t.k_symbol = 'SIPO' THEN t.amount ELSE 0 END) + / NULLIF(SUM(t.amount), 0), + 2 +) AS sipo_percentage +FROM trans AS t +JOIN account AS a ON a.account_id = t.account_id +JOIN district AS d ON d.district_id = a.district_id +WHERE d.A2 = 'Pisek' + AND t.type = 'VYDAJ' + AND TRIM(t.k_symbol) <> ''; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird216.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird216.sql new file mode 100644 index 00000000..9f13c1b2 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird216.sql @@ -0,0 +1,24 @@ +WITH qualifying_districts AS ( + SELECT DISTINCT c.district_id + FROM client AS c + JOIN disp AS d ON d.client_id = c.client_id + WHERE c.gender = 'F' + AND d.type = 'OWNER' + AND EXISTS (SELECT 1 FROM card AS ca WHERE ca.disp_id = d.disp_id) + AND EXISTS (SELECT 1 FROM loan AS l WHERE l.account_id = d.account_id) +), regional_profiles AS ( + SELECT dt.A3 AS region, + ROUND(AVG(dt.A11) OVER (PARTITION BY dt.A3), 2) AS average_district_salary, + ROUND(AVG(dt.A13) OVER (PARTITION BY dt.A3), 2) AS average_district_unemployment_1996, + dt.A2 AS most_populous_district, + ROW_NUMBER() OVER ( + PARTITION BY dt.A3 + ORDER BY CAST(dt.A4 AS INTEGER) DESC, dt.A2 ASC + ) AS population_rank + FROM qualifying_districts AS qd + JOIN district AS dt ON dt.district_id = qd.district_id +) +SELECT region, average_district_salary, average_district_unemployment_1996, most_populous_district +FROM regional_profiles +WHERE population_rank = 1 +ORDER BY region; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird217.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird217.sql new file mode 100644 index 00000000..9f979979 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird217.sql @@ -0,0 +1,37 @@ +WITH RECURSIVE +accent_map(lower_chars, upper_chars, plain_chars) AS ( + VALUES ('áčďéěíňóřšťúůýž', 'ÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ', 'acdeeinorstuuyz') +), +central_names(district_name, inhabitants, crimes_1996, sort_name, n) AS ( + SELECT A2, CAST(A4 AS INTEGER), A16, lower(A2), 0 + FROM district + WHERE A3 = 'central Bohemia' + UNION ALL + SELECT district_name, inhabitants, crimes_1996, + replace( + replace(sort_name, substr(lower_chars, n + 1, 1), substr(plain_chars, n + 1, 1)), + substr(upper_chars, n + 1, 1), substr(plain_chars, n + 1, 1) + ), + n + 1 + FROM central_names CROSS JOIN accent_map + WHERE n < length(plain_chars) +), +top_three AS ( + SELECT district_name, inhabitants, crimes_1996, sort_name + FROM central_names CROSS JOIN accent_map + WHERE n = length(plain_chars) + ORDER BY inhabitants DESC, sort_name ASC + LIMIT 3 +), +averages AS ( + SELECT (SELECT AVG(crimes_1996) FROM top_three) AS top_three_avg, + AVG(A16) AS overall_avg + FROM district +) +SELECT district_name, + crimes_1996, + ROUND(top_three_avg, 2) AS top_three_avg_1996, + ROUND(overall_avg, 2) AS overall_avg_1996, + ROUND(top_three_avg - overall_avg, 2) AS difference_1996 +FROM top_three CROSS JOIN averages +ORDER BY inhabitants DESC, sort_name ASC; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird218.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird218.sql new file mode 100644 index 00000000..54fced73 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird218.sql @@ -0,0 +1,20 @@ +WITH card_districts AS ( + SELECT DISTINCT + c.type AS card_type, + d.district_id, + d.A2 AS home_district, + CAST(d.A4 AS INTEGER) AS inhabitants + FROM card AS c + JOIN disp AS p ON p.disp_id = c.disp_id + JOIN client AS cl ON cl.client_id = p.client_id + JOIN district AS d ON d.district_id = cl.district_id + WHERE c.type IN ('gold', 'classic', 'junior') +), ranked AS ( + SELECT card_type, home_district, inhabitants, + DENSE_RANK() OVER (PARTITION BY card_type ORDER BY inhabitants) AS population_rank + FROM card_districts +) +SELECT card_type, home_district, inhabitants +FROM ranked +WHERE population_rank = 1 +ORDER BY card_type, home_district; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird219.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird219.sql new file mode 100644 index 00000000..e80e6597 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird219.sql @@ -0,0 +1,37 @@ +WITH opened_accounts AS ( + SELECT a.account_id, d.district_id, d.A2 AS district_name + FROM account AS a + JOIN district AS d ON d.district_id = a.district_id + WHERE d.A3 IN (SELECT A3 FROM district WHERE A2 = 'Litomerice') + AND a.date >= '1996-01-01' + AND a.date < '1997-01-01' +), ranked_balances AS ( + SELECT a.district_id, a.district_name, t.balance, + ROW_NUMBER() OVER ( + PARTITION BY a.account_id + ORDER BY t.date DESC, t.trans_id DESC + ) AS rn + FROM opened_accounts AS a + LEFT JOIN trans AS t + ON t.account_id = a.account_id AND t.date < '1997-01-01' +), year_end_balances AS ( + SELECT district_id, district_name, balance + FROM ranked_balances + WHERE rn = 1 +), district_stats AS ( + SELECT district_name, COUNT(*) AS accounts_opened_1996, + AVG(balance) AS avg_balance + FROM year_end_balances + GROUP BY district_id, district_name +) +SELECT district_name, accounts_opened_1996, + ROUND(avg_balance, 2) AS district_avg_end_of_1996_balance, + (SELECT ROUND(AVG(balance), 2) FROM year_end_balances) + AS region_avg_end_of_1996_balance, + (SELECT district_name + FROM district_stats + WHERE avg_balance IS NOT NULL + ORDER BY avg_balance DESC, district_name ASC + LIMIT 1) AS highest_average_district +FROM district_stats +ORDER BY district_name ASC; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird220.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird220.sql new file mode 100644 index 00000000..c6314077 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird220.sql @@ -0,0 +1,19 @@ +WITH top_loans AS ( + SELECT a.district_id + FROM loan AS l + JOIN account AS a ON a.account_id = l.account_id + WHERE l.duration = 24 + AND a.frequency = 'POPLATEK TYDNE' + ORDER BY l.amount DESC, l.loan_id ASC + LIMIT 10 +), top_districts AS ( + SELECT DISTINCT district_id + FROM top_loans +) +SELECT d.A2 AS district_name, + CAST(d.A4 AS INTEGER) AS inhabitants, + ROUND(AVG(d.A11) OVER (), 2) AS avg_yearly_salary +FROM top_districts AS td +JOIN district AS d ON d.district_id = td.district_id +ORDER BY inhabitants DESC, d.district_id ASC +LIMIT 1; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird221.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird221.sql new file mode 100644 index 00000000..be0c925b --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird221.sql @@ -0,0 +1,40 @@ +WITH withdrawals_by_district AS ( + SELECT a.district_id, SUM(t.amount) AS total_withdrawn + FROM account AS a + JOIN trans AS t ON t.account_id = a.account_id + WHERE t.type = 'VYDAJ' + GROUP BY a.district_id +), +standing_orders_by_account AS ( + SELECT account_id, SUM(amount) AS total_debit + FROM "order" + GROUP BY account_id +), +standing_order_average_by_district AS ( + SELECT a.district_id, + AVG(COALESCE(s.total_debit, 0.0)) AS average_debit_per_account + FROM account AS a + LEFT JOIN standing_orders_by_account AS s ON s.account_id = a.account_id + GROUP BY a.district_id +), +district_metrics AS ( + SELECT d.A2 AS district_name, + d.A3 AS region, + CAST(d.A4 AS INTEGER) AS population, + w.total_withdrawn, + 1.0 * w.total_withdrawn / CAST(d.A4 AS INTEGER) AS withdrawals_per_inhabitant, + s.average_debit_per_account + FROM district AS d + JOIN withdrawals_by_district AS w ON w.district_id = d.district_id + JOIN standing_order_average_by_district AS s ON s.district_id = d.district_id + WHERE CAST(d.A4 AS INTEGER) >= 100000 +) +SELECT district_name, + region, + population, + total_withdrawn, + ROUND(withdrawals_per_inhabitant, 2) AS withdrawals_per_inhabitant, + RANK() OVER (ORDER BY withdrawals_per_inhabitant DESC) AS withdrawal_rank, + ROUND(average_debit_per_account, 2) AS avg_standing_order_debit_per_account +FROM district_metrics +ORDER BY withdrawal_rank, district_name; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird222.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird222.sql new file mode 100644 index 00000000..9ad4ecbb --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird222.sql @@ -0,0 +1,59 @@ +WITH accessible_account_ids AS ( + SELECT DISTINCT account_id + FROM disp + WHERE client_id = 3541 +), +transaction_totals AS ( + SELECT account_id, + COUNT(*) AS transaction_count, + SUM(CASE WHEN type = 'PRIJEM' THEN amount ELSE 0 END) AS total_income, + SUM(CASE WHEN type = 'VYDAJ' THEN amount ELSE 0 END) AS total_expense + FROM trans + WHERE account_id IN (SELECT account_id FROM accessible_account_ids) + GROUP BY account_id +), +regional_client_counts AS ( + SELECT d.A3 AS region, COUNT(*) AS regional_client_count + FROM client AS c + JOIN district AS d ON d.district_id = c.district_id + GROUP BY d.A3 +), +district_populations AS ( + SELECT district_id, A2 AS district_name, A3 AS region, + A11 AS average_salary, CAST(A4 AS INTEGER) AS inhabitants + FROM district +), +ranked_districts AS ( + SELECT d.*, + RANK() OVER (PARTITION BY region ORDER BY inhabitants DESC) AS population_rank, + ROW_NUMBER() OVER ( + PARTITION BY region ORDER BY inhabitants DESC, district_id ASC + ) AS regional_district_number + FROM district_populations AS d +) +SELECT a.account_id, + a.date AS opened_date, + a.frequency, + d.district_name, + d.region, + CASE WHEN a.district_id = c.district_id THEN 'Yes' ELSE 'No' END AS is_home_district, + d.average_salary, + COALESCE(l.status, 'none') AS loan_repayment_status, + COALESCE(l.amount, 0) AS loan_amount, + COALESCE(t.transaction_count, 0) AS transaction_count, + COALESCE(t.total_income, 0) AS total_income, + COALESCE(t.total_expense, 0) AS total_expense, + COALESCE(t.total_income, 0) - COALESCE(t.total_expense, 0) AS net_balance, + COALESCE(rc.regional_client_count, 0) AS regional_client_count, + m.district_name AS most_populous_district, + m.inhabitants AS most_populous_district_inhabitants, + d.population_rank AS district_population_rank +FROM accessible_account_ids AS ids +JOIN account AS a ON a.account_id = ids.account_id +JOIN client AS c ON c.client_id = 3541 +JOIN ranked_districts AS d ON d.district_id = a.district_id +JOIN ranked_districts AS m ON m.region = d.region AND m.regional_district_number = 1 +LEFT JOIN loan AS l ON l.account_id = a.account_id +LEFT JOIN transaction_totals AS t ON t.account_id = a.account_id +LEFT JOIN regional_client_counts AS rc ON rc.region = d.region +ORDER BY transaction_count DESC, a.account_id ASC; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird223.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird223.sql new file mode 100644 index 00000000..ab07185a --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird223.sql @@ -0,0 +1,26 @@ +WITH loans_by_account AS ( + SELECT account_id, SUM(amount) AS amount_lent + FROM loan + GROUP BY account_id +), district_year AS ( + SELECT + STRFTIME('%Y', a.date) AS opening_year, + a.district_id, + COUNT(*) AS accounts_opened, + SUM(COALESCE(l.amount_lent, 0)) AS amount_lent + FROM account AS a + JOIN district AS d ON d.district_id = a.district_id + LEFT JOIN loans_by_account AS l ON l.account_id = a.account_id + WHERE d.A3 = 'central Bohemia' + AND a.date >= '1996-01-01' + GROUP BY STRFTIME('%Y', a.date), a.district_id +) +SELECT + opening_year, + SUM(accounts_opened) AS accounts_opened, + SUM(amount_lent) AS total_amount_lent, + ROUND(AVG(CAST(amount_lent AS REAL) / accounts_opened), 2) + AS avg_district_amount_lent_per_account +FROM district_year +GROUP BY opening_year +ORDER BY opening_year; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird224.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird224.sql new file mode 100644 index 00000000..6c2a4ca3 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird224.sql @@ -0,0 +1,19 @@ +SELECT + d.A2 AS district, + l.amount AS approved_amount, + l.date AS approval_date, + ( + SELECT t.balance + FROM trans AS t + WHERE t.account_id = l.account_id + AND t.date <= l.date + ORDER BY t.date DESC, t.trans_id DESC + LIMIT 1 + ) AS end_of_day_balance +FROM loan AS l +JOIN account AS a ON a.account_id = l.account_id +JOIN district AS d ON d.district_id = a.district_id +WHERE l.duration = 24 + AND a.frequency = 'POPLATEK TYDNE' +ORDER BY l.amount DESC, l.date ASC, l.loan_id ASC +LIMIT 10; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird225.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird225.sql new file mode 100644 index 00000000..b89b9d63 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird225.sql @@ -0,0 +1,39 @@ +WITH cardholders AS ( + SELECT + cl.client_id, + cl.gender, + cl.birth_date, + ca.type AS card_type, + CAST(strftime('%Y', ca.issued) AS INTEGER) + - CAST(strftime('%Y', cl.birth_date) AS INTEGER) AS age_at_issue, + dp.account_id, + cl.district_id + FROM card AS ca + JOIN disp AS dp ON dp.disp_id = ca.disp_id + JOIN client AS cl ON cl.client_id = dp.client_id + WHERE ca.issued >= '1994-01-01' AND ca.issued < '1995-01-01' +), account_loans AS ( + SELECT account_id, COUNT(*) AS loan_count, SUM(amount) AS total_amount_borrowed + FROM loan + GROUP BY account_id +) +SELECT + ch.client_id, + ch.gender, + ch.birth_date, + ch.card_type, + ch.age_at_issue, + COALESCE(al.loan_count, 0) AS loan_count, + COALESCE(al.total_amount_borrowed, 0) AS total_amount_borrowed, + CASE + WHEN al.loan_count > 0 AND ch.age_at_issue < 30 THEN 'Young borrower' + WHEN al.loan_count > 0 AND ch.age_at_issue >= 30 THEN 'Mature borrower' + ELSE 'Non-borrower' + END AS borrower_classification, + d.A2 AS district_name, + d.A11 AS district_average_salary, + RANK() OVER (PARTITION BY ch.gender ORDER BY ch.age_at_issue DESC) AS age_rank_within_gender +FROM cardholders AS ch +LEFT JOIN account_loans AS al ON al.account_id = ch.account_id +LEFT JOIN district AS d ON d.district_id = ch.district_id +ORDER BY ch.client_id; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird226.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird226.sql new file mode 100644 index 00000000..92efce67 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird226.sql @@ -0,0 +1,10 @@ +SELECT d.A2 AS branch_name, COUNT(t.trans_id) AS transaction_count +FROM district AS d +LEFT JOIN account AS a ON a.district_id = d.district_id +LEFT JOIN trans AS t ON t.account_id = a.account_id + AND t.date <= '1998-10-14' + AND t.k_symbol IS NULL +WHERE d.A3 = 'north Moravia' +GROUP BY d.district_id, d.A2 +ORDER BY transaction_count DESC, branch_name ASC +LIMIT 3; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird227.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird227.sql new file mode 100644 index 00000000..4b76e39d --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird227.sql @@ -0,0 +1,19 @@ +SELECT + t.bank AS bank_code, + t.account AS account_number, + COUNT(*) AS outgoing_payment_count, + SUM(t.amount) AS total_amount_paid +FROM trans AS t +WHERE t.type = 'VYDAJ' + AND t.date < '1996-01-03' + AND t.bank IS NOT NULL + AND t.account IS NOT NULL + AND EXISTS ( + SELECT 1 + FROM loan AS l + WHERE l.account_id = t.account_id + AND l.amount = 98832 + AND l.date = '1996-01-03' + ) +GROUP BY t.bank, t.account +ORDER BY total_amount_paid DESC; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird228.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird228.sql new file mode 100644 index 00000000..a5688b39 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird228.sql @@ -0,0 +1,10 @@ +SELECT COUNT(DISTINCT a.account_id) +FROM account AS a +WHERE a.district_id = 1 + AND a.date < '1996-01-01' + AND EXISTS ( + SELECT 1 + FROM loan AS l + WHERE l.account_id = a.account_id + AND l.status IN ('C', 'D') + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird230.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird230.sql new file mode 100644 index 00000000..1bc9dbeb --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird230.sql @@ -0,0 +1,55 @@ +WITH ranked_loans AS ( + SELECT l.loan_id, l.account_id, c.client_id, c.birth_date, + l.amount, l.duration, l.payments, l.status, + DENSE_RANK() OVER (ORDER BY l.amount DESC) AS amount_rank + FROM loan AS l + JOIN disp AS dp ON dp.account_id = l.account_id AND dp.type = 'OWNER' + JOIN client AS c ON c.client_id = dp.client_id + WHERE c.gender = 'F' +), selected_loans AS ( + SELECT * FROM ranked_loans WHERE amount_rank <= 3 +), account_activity AS ( + SELECT t.account_id, + COUNT(*) AS transaction_count, + SUM(CASE WHEN t.type = 'PRIJEM' THEN t.amount ELSE 0 END) AS total_deposits + FROM trans AS t + WHERE t.account_id IN (SELECT account_id FROM selected_loans) + GROUP BY t.account_id +), regional_loan_counts AS ( + SELECT d.A3 AS region, COUNT(*) AS region_loan_count + FROM loan AS l + JOIN account AS a ON a.account_id = l.account_id + JOIN district AS d ON d.district_id = a.district_id + GROUP BY d.A3 +), regional_salaries AS ( + SELECT A3 AS region, ROUND(AVG(A11), 2) AS region_average_salary + FROM district + GROUP BY A3 +) +SELECT s.client_id, + ROUND(s.amount, 2) AS loan_amount, + s.duration AS duration_months, + ROUND(s.payments * s.duration, 2) AS total_payments, + ROUND(s.payments * s.duration - s.amount, 2) AS interest_paid, + s.status AS loan_status, + d.A2 AS branch_district, + d.A3 AS branch_region, + COALESCE(aa.transaction_count, 0) AS transaction_count, + ROUND(COALESCE(aa.total_deposits, 0), 2) AS total_deposits, + CASE + WHEN COALESCE(aa.total_deposits, 0) > 2 * s.amount THEN 'High Income' + WHEN COALESCE(aa.total_deposits, 0) > s.amount THEN 'Medium Income' + ELSE 'Low Income' + END AS income_category, + rlc.region_loan_count, + rs.region_average_salary, + CAST(strftime('%Y', '2026-10-09') AS INTEGER) + - CAST(strftime('%Y', s.birth_date) AS INTEGER) + - (strftime('%m-%d', s.birth_date) > strftime('%m-%d', '2026-10-09')) AS completed_age +FROM selected_loans AS s +JOIN account AS a ON a.account_id = s.account_id +JOIN district AS d ON d.district_id = a.district_id +LEFT JOIN account_activity AS aa ON aa.account_id = s.account_id +JOIN regional_loan_counts AS rlc ON rlc.region = d.A3 +JOIN regional_salaries AS rs ON rs.region = d.A3 +ORDER BY s.amount DESC, s.loan_id, s.client_id; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird232.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird232.sql new file mode 100644 index 00000000..ce4b4cfc --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird232.sql @@ -0,0 +1,14 @@ +WITH monthly_accounts_by_district AS ( + SELECT district_id, COUNT(*) AS account_count + FROM account + WHERE frequency = 'POPLATEK MESICNE' + AND date >= '1997-01-01' + AND date < '1998-01-01' + GROUP BY district_id +) +SELECT COALESCE(SUM(m.account_count), 0) AS total_monthly_statement_accounts, + COUNT(*) AS qualifying_district_count, + ROUND(AVG(d.A11), 2) AS average_salary +FROM monthly_accounts_by_district AS m +JOIN district AS d ON d.district_id = m.district_id +WHERE CAST(d.A4 AS INTEGER) >= 100000; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird233.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird233.sql new file mode 100644 index 00000000..233e2081 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird233.sql @@ -0,0 +1,46 @@ +WITH gold_accounts AS ( + SELECT DISTINCT d.account_id + FROM card AS c + JOIN disp AS d ON d.disp_id = c.disp_id + WHERE c.type = 'gold' +), transaction_totals AS ( + SELECT t.account_id, + SUM(CASE WHEN t.type = 'PRIJEM' THEN t.amount ELSE 0 END) AS total_received, + SUM(CASE WHEN t.type = 'VYDAJ' THEN t.amount ELSE 0 END) AS total_withdrawn + FROM trans AS t + JOIN gold_accounts AS g ON g.account_id = t.account_id + GROUP BY t.account_id +), loan_counts AS ( + SELECT l.account_id, COUNT(*) AS loan_count + FROM loan AS l + JOIN gold_accounts AS g ON g.account_id = l.account_id + GROUP BY l.account_id +), external_counterparties AS ( + SELECT DISTINCT t.account_id, t.bank, t."account" AS counterparty_account + FROM trans AS t + JOIN gold_accounts AS g ON g.account_id = t.account_id + WHERE t.operation IN ('PREVOD NA UCET', 'PREVOD Z UCTU') + AND NULLIF(TRIM(t.bank), '') IS NOT NULL + AND t."account" IS NOT NULL +), counterparty_counts AS ( + SELECT account_id, COUNT(*) AS external_counterparty_count + FROM external_counterparties + GROUP BY account_id +) +SELECT g.account_id, + di.A2 AS district_name, + di.A3 AS region, + COALESCE(tt.total_received, 0) AS total_received, + COALESCE(tt.total_withdrawn, 0) AS total_withdrawn, + COALESCE(lc.loan_count, 0) AS loan_count, + COALESCE(cc.external_counterparty_count, 0) AS external_counterparty_count, + DENSE_RANK() OVER ( + ORDER BY COALESCE(cc.external_counterparty_count, 0) DESC + ) AS counterparty_rank +FROM gold_accounts AS g +JOIN account AS a ON a.account_id = g.account_id +JOIN district AS di ON di.district_id = a.district_id +LEFT JOIN transaction_totals AS tt ON tt.account_id = g.account_id +LEFT JOIN loan_counts AS lc ON lc.account_id = g.account_id +LEFT JOIN counterparty_counts AS cc ON cc.account_id = g.account_id +ORDER BY counterparty_rank, g.account_id; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird234.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird234.sql new file mode 100644 index 00000000..45179158 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird234.sql @@ -0,0 +1,57 @@ +WITH branch_accounts AS ( + SELECT a.account_id, a.date AS opened_date + FROM account AS a + JOIN district AS d ON d.district_id = a.district_id + WHERE d.A2 = 'Tabor' + AND a.date < '1997-01-01' +), card_counts AS ( + SELECT dp.account_id, COUNT(*) AS credit_card_count + FROM branch_accounts AS a + JOIN disp AS dp ON dp.account_id = a.account_id + JOIN card AS ca ON ca.disp_id = dp.disp_id + WHERE ca.issued < '1997-01-01' + GROUP BY dp.account_id +), loan_summary AS ( + SELECT l.account_id, + COUNT(*) AS loan_count, + MAX(CASE WHEN l.status = 'B' THEN 1 ELSE 0 END) AS has_default, + MAX(CASE WHEN l.status IN ('C', 'D') THEN 1 ELSE 0 END) AS has_repaying + FROM branch_accounts AS a + JOIN loan AS l ON l.account_id = a.account_id + WHERE l.date < '1997-01-01' + GROUP BY l.account_id +), activity AS ( + SELECT t.account_id, + COUNT(*) AS transaction_count_1997, + SUM(CASE WHEN t.type = 'PRIJEM' THEN t.amount ELSE 0 END) AS money_in_1997, + SUM(CASE WHEN t.type IN ('VYDAJ', 'VYBER') THEN t.amount ELSE 0 END) AS money_out_1997, + MAX(t.balance) AS peak_balance_1997 + FROM branch_accounts AS a + JOIN trans AS t ON t.account_id = a.account_id + WHERE t.date >= '1997-01-01' AND t.date < '1998-01-01' + GROUP BY t.account_id +) +SELECT a.account_id, + a.opened_date, + c.gender AS owner_gender, + 1996 - CAST(strftime('%Y', c.birth_date) AS INTEGER) AS owner_age, + COALESCE(cc.credit_card_count, 0) AS credit_card_count, + COALESCE(ls.loan_count, 0) AS loan_count, + CASE + WHEN ls.loan_count IS NULL THEN 'no loan' + WHEN ls.has_default = 1 THEN 'defaulted' + WHEN ls.has_repaying = 1 THEN 'repaying' + ELSE 'paid off' + END AS loan_standing, + COALESCE(t.transaction_count_1997, 0) AS transaction_count_1997, + COALESCE(t.money_in_1997, 0) AS money_in_1997, + COALESCE(t.money_out_1997, 0) AS money_out_1997, + COALESCE(t.peak_balance_1997, 0) AS peak_balance_1997, + RANK() OVER (ORDER BY COALESCE(t.peak_balance_1997, 0) DESC) AS peak_balance_rank +FROM branch_accounts AS a +JOIN disp AS owner ON owner.account_id = a.account_id AND owner.type = 'OWNER' +JOIN client AS c ON c.client_id = owner.client_id +LEFT JOIN card_counts AS cc ON cc.account_id = a.account_id +LEFT JOIN loan_summary AS ls ON ls.account_id = a.account_id +LEFT JOIN activity AS t ON t.account_id = a.account_id +ORDER BY peak_balance_rank, a.account_id; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird235.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird235.sql new file mode 100644 index 00000000..ac83c6ac --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird235.sql @@ -0,0 +1,39 @@ +WITH classic_owners AS ( + SELECT DISTINCT a.district_id, a.account_id, d.client_id + FROM disp AS d + JOIN account AS a ON a.account_id = d.account_id + WHERE d.type = 'OWNER' + AND EXISTS ( + SELECT 1 + FROM card AS c + WHERE c.disp_id = d.disp_id AND c.type = 'classic' + ) +), owner_counts AS ( + SELECT district_id, COUNT(DISTINCT client_id) AS client_count + FROM classic_owners + GROUP BY district_id +), classic_accounts AS ( + SELECT DISTINCT district_id, account_id + FROM classic_owners +), payments_by_destination AS ( + SELECT a.district_id, t.bank, t."account", SUM(t.amount) AS amount_paid + FROM classic_accounts AS a + JOIN trans AS t ON t.account_id = a.account_id + WHERE t.type = 'VYDAJ' + AND t.bank IS NOT NULL + AND t."account" IS NOT NULL + GROUP BY a.district_id, t.bank, t."account" +), payment_totals AS ( + SELECT district_id, COUNT(*) AS external_account_count, + SUM(amount_paid) AS total_amount_paid + FROM payments_by_destination + GROUP BY district_id +) +SELECT d.A2 AS district_name, + COALESCE(o.client_count, 0) AS client_count, + COALESCE(p.external_account_count, 0) AS external_account_count, + COALESCE(p.total_amount_paid, 0) AS total_amount_paid +FROM district AS d +LEFT JOIN owner_counts AS o ON o.district_id = d.district_id +LEFT JOIN payment_totals AS p ON p.district_id = d.district_id +ORDER BY total_amount_paid DESC, district_name ASC; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird236.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird236.sql new file mode 100644 index 00000000..8070cadf --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird236.sql @@ -0,0 +1,11 @@ +SELECT ROUND(AVG(d.A11), 2) AS average_salary +FROM district AS d +WHERE EXISTS ( + SELECT 1 + FROM account AS a + JOIN disp AS dp ON dp.account_id = a.account_id + JOIN client AS c ON c.client_id = dp.client_id + WHERE a.district_id = d.district_id + AND c.gender = 'F' + AND DATE(c.birth_date) < '1930-01-01' +); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird237.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird237.sql new file mode 100644 index 00000000..c15497ba --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird237.sql @@ -0,0 +1,9 @@ +SELECT ROUND(AVG(d.A11), 2) AS average_district_salary +FROM district AS d +WHERE EXISTS ( + SELECT 1 + FROM client AS c + WHERE c.district_id = d.district_id + AND c.gender = 'F' + AND c.birth_date < '1950-01-01' +); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird238.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird238.sql new file mode 100644 index 00000000..2a420b79 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird238.sql @@ -0,0 +1,10 @@ +SELECT ROUND(AVG(d.A11), 2) AS average_district_salary +FROM district AS d +WHERE EXISTS ( + SELECT 1 + FROM account AS a + JOIN loan AS l ON l.account_id = a.account_id + WHERE a.district_id = d.district_id + AND l.amount < 100000 + AND l.status = 'C' +); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird239.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird239.sql new file mode 100644 index 00000000..f8190bf2 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird239.sql @@ -0,0 +1,18 @@ +WITH cohorts(cohort, sort_order, start_date, end_date) AS ( + VALUES ('young', 1, '1980-01-01', NULL), + ('old', 2, NULL, '1920-01-01') +), cohort_districts AS ( + SELECT DISTINCT c.cohort, a.district_id + FROM cohorts AS c + JOIN client AS cl + ON (c.start_date IS NULL OR cl.birth_date >= c.start_date) + AND (c.end_date IS NULL OR cl.birth_date < c.end_date) + JOIN disp AS di ON di.client_id = cl.client_id + JOIN account AS a ON a.account_id = di.account_id +) +SELECT c.cohort, CAST(ROUND(AVG(d.A11)) AS INTEGER) AS average_salary +FROM cohorts AS c +LEFT JOIN cohort_districts AS cd ON cd.cohort = c.cohort +LEFT JOIN district AS d ON d.district_id = cd.district_id +GROUP BY c.cohort, c.sort_order +ORDER BY c.sort_order; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird240.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird240.sql new file mode 100644 index 00000000..c2e67488 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird240.sql @@ -0,0 +1,12 @@ +WITH speeds AS ( + SELECT + MAX(CASE WHEN r.raceId = 853 THEN CAST(r.fastestLapSpeed AS REAL) END) AS speed_853, + MAX(CASE WHEN r.raceId = 854 THEN CAST(r.fastestLapSpeed AS REAL) END) AS speed_854 + FROM results AS r + JOIN drivers AS d ON d.driverId = r.driverId + WHERE d.forename = 'Paul' + AND d.surname = 'di Resta' + AND r.raceId IN (853, 854) +) +SELECT ROUND(100.0 * (speed_853 - speed_854) / speed_854, 2) AS percentage_higher +FROM speeds; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird241.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird241.sql new file mode 100644 index 00000000..e78744e6 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird241.sql @@ -0,0 +1,7 @@ +SELECT ROUND(100.0 * (COUNT(*) - COUNT(CASE WHEN re.position = 1 THEN 1 END)) / COUNT(*), 2) AS non_victory_percentage +FROM results AS re +JOIN drivers AS d ON d.driverId = re.driverId +JOIN races AS ra ON ra.raceId = re.raceId +WHERE d.forename = 'Lewis' + AND d.surname = 'Hamilton' + AND ra.year >= 2010; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird242.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird242.sql new file mode 100644 index 00000000..153d1722 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird242.sql @@ -0,0 +1,15 @@ +WITH race_wins AS ( + SELECT driverId, COUNT(DISTINCT raceId) AS win_count + FROM results + WHERE position = 1 + GROUP BY driverId +) +SELECT d.forename AS first_name, + d.surname AS last_name, + d.nationality, + (SELECT MAX(ds.points) + FROM driverStandings AS ds + WHERE ds.driverId = d.driverId) AS highest_standings_points +FROM race_wins AS w +JOIN drivers AS d ON d.driverId = w.driverId +WHERE w.win_count = (SELECT MAX(win_count) FROM race_wins); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird243.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird243.sql new file mode 100644 index 00000000..400568c7 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird243.sql @@ -0,0 +1,21 @@ +WITH race_results AS ( + SELECT res.position, res.laps, res.milliseconds, res.statusId + FROM races AS r + JOIN results AS res ON res.raceId = r.raceId + WHERE r.year = 1988 AND r.name = 'Australian Grand Prix' +), winner AS ( + SELECT laps, milliseconds + FROM race_results + WHERE position = 1 +), last_finisher AS ( + SELECT rr.milliseconds + FROM race_results AS rr + JOIN winner AS w ON rr.laps = w.laps + JOIN status AS s ON s.statusId = rr.statusId + WHERE s.status = 'Finished' + ORDER BY rr.position DESC + LIMIT 1 +) +SELECT ROUND(100.0 * (lf.milliseconds - w.milliseconds) / lf.milliseconds, 2) AS percentage_shorter +FROM winner AS w +CROSS JOIN last_finisher AS lf; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird244.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird244.sql new file mode 100644 index 00000000..3bc09391 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird244.sql @@ -0,0 +1,12 @@ +SELECT ROUND(100.0 * AVG(CASE WHEN EXISTS ( + SELECT 1 + FROM results AS winner + WHERE winner.raceId = entry.raceId + AND winner.position = 1 + AND winner.laps = entry.laps +) THEN 1.0 ELSE 0.0 END), 2) AS percentage +FROM results AS entry +JOIN drivers AS driver ON driver.driverId = entry.driverId +JOIN races AS race ON race.raceId = entry.raceId +WHERE driver.nationality = 'Japanese' + AND race.year BETWEEN 2007 AND 2009; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird245.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird245.sql new file mode 100644 index 00000000..504350bd --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird245.sql @@ -0,0 +1,15 @@ +WITH winner_times AS ( + SELECT r.year, r.raceId, MIN(res.milliseconds) AS elapsed_ms + FROM races AS r + JOIN results AS res ON res.raceId = r.raceId + WHERE r.year < 1975 + AND res.position = 1 + AND res.milliseconds IS NOT NULL + GROUP BY r.year, r.raceId +) +SELECT year, + ((SUM(elapsed_ms) + 5 * COUNT(*)) / (10 * COUNT(*))) / 100.0 + AS mean_winner_elapsed_seconds +FROM winner_times +GROUP BY year +ORDER BY year; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird246.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird246.sql new file mode 100644 index 00000000..334c178f --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird246.sql @@ -0,0 +1,6 @@ +SELECT 100.0 * COUNT(CASE WHEN d.dob < '1985-01-01' AND re.laps > 50 THEN 1 END) + / NULLIF(COUNT(*), 0) AS percentage +FROM results AS re +JOIN races AS ra ON ra.raceId = re.raceId +LEFT JOIN drivers AS d ON d.driverId = re.driverId +WHERE ra.year BETWEEN 2000 AND 2005; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird247.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird247.sql new file mode 100644 index 00000000..c80a0f4e --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird247.sql @@ -0,0 +1,12 @@ +WITH constructor_scores AS ( + SELECT cr.constructorId, SUM(cr.points) AS score + FROM constructorResults AS cr + JOIN races AS r ON r.raceId = cr.raceId + WHERE r.name = 'Monaco Grand Prix' + AND r.year BETWEEN 1980 AND 2010 + GROUP BY cr.constructorId +) +SELECT cs.score, c.name, c.nationality +FROM constructor_scores AS cs +JOIN constructors AS c ON c.constructorId = cs.constructorId +WHERE cs.score = (SELECT MAX(score) FROM constructor_scores); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird248.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird248.sql new file mode 100644 index 00000000..03e589d7 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird248.sql @@ -0,0 +1,15 @@ +WITH q3_times AS ( + SELECT q.driverId, + 60 * CAST(substr(q.q3, 1, instr(q.q3, ':') - 1) AS INTEGER) + + CAST(substr(q.q3, instr(q.q3, ':') + 1) AS REAL) AS seconds + FROM qualifying AS q + JOIN races AS r ON r.raceId = q.raceId + JOIN circuits AS c ON c.circuitId = r.circuitId + WHERE r.year = 2008 + AND c.name = 'Marina Bay Street Circuit' + AND instr(q.q3, ':') > 0 +) +SELECT d.forename, d.surname +FROM q3_times AS t +JOIN drivers AS d ON d.driverId = t.driverId +WHERE t.seconds = (SELECT MIN(seconds) FROM q3_times); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird250.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird250.sql new file mode 100644 index 00000000..08629651 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird250.sql @@ -0,0 +1,13 @@ +WITH fastest_laps AS ( + SELECT c.circuitId, c.name, MIN(l.milliseconds) AS lap_ms + FROM circuits AS c + JOIN races AS r ON r.circuitId = c.circuitId + JOIN lapTimes AS l ON l.raceId = r.raceId + WHERE c.country = 'Italy' + AND l.milliseconds IS NOT NULL + GROUP BY c.circuitId, c.name +) +SELECT name AS circuit_name, + printf('%d:%02d.%03d', lap_ms / 60000, (lap_ms / 1000) % 60, lap_ms % 1000) AS fastest_lap_time +FROM fastest_laps +ORDER BY circuit_name; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird251.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird251.sql new file mode 100644 index 00000000..3fe49227 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird251.sql @@ -0,0 +1,15 @@ +WITH pit_stops_per_race AS ( + SELECT r.raceId, COUNT(p.raceId) AS pit_stop_count + FROM races AS r + LEFT JOIN pitStops AS p ON p.raceId = r.raceId + WHERE r.year = 2017 + AND NOT EXISTS ( + SELECT 1 + FROM races AS r2000 + WHERE r2000.year = 2000 + AND r2000.name = r.name + ) + GROUP BY r.raceId +) +SELECT ROUND(AVG(pit_stop_count), 2) AS average_pit_stops_per_race +FROM pit_stops_per_race; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird252.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird252.sql new file mode 100644 index 00000000..e20cbb99 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird252.sql @@ -0,0 +1,12 @@ +SELECT d.forename, + d.surname, + d.url, + d.dob, + COUNT(NULLIF(TRIM(q.q3), '')) AS q3_count +FROM drivers AS d +LEFT JOIN qualifying AS q ON q.driverId = d.driverId +WHERE d.nationality = 'German' + AND d.dob >= '1971-01-01' + AND d.dob < '1986-01-01' +GROUP BY d.driverId, d.forename, d.surname, d.url, d.dob +ORDER BY q3_count DESC, d.dob ASC; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird253.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird253.sql new file mode 100644 index 00000000..494183eb --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird253.sql @@ -0,0 +1,14 @@ +WITH q1_times AS ( + SELECT q.driverId, q.q1, + 60 * CAST(SUBSTR(q.q1, 1, INSTR(q.q1, ':') - 1) AS INTEGER) + + CAST(SUBSTR(q.q1, INSTR(q.q1, ':') + 1) AS REAL) AS elapsed_seconds + FROM qualifying AS q + JOIN races AS r ON r.raceId = q.raceId + WHERE r.year = 1995 + AND r.name = 'Japanese Grand Prix' + AND INSTR(q.q1, ':') > 0 +) +SELECT d.driverRef, d.nationality, d.dob, t.q1 +FROM q1_times AS t +JOIN drivers AS d ON d.driverId = t.driverId +WHERE t.elapsed_seconds = (SELECT MAX(elapsed_seconds) FROM q1_times); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird254.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird254.sql new file mode 100644 index 00000000..7a41f98f --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird254.sql @@ -0,0 +1,14 @@ +WITH q1_times AS ( + SELECT q.driverId, + 60000 * CAST(substr(q.q1, 1, instr(q.q1, ':') - 1) AS INTEGER) + + CAST(replace(substr(q.q1, instr(q.q1, ':') + 1), '.', '') AS INTEGER) AS q1_ms + FROM qualifying AS q + JOIN races AS r ON r.raceId = q.raceId + WHERE r.year = 1995 + AND r.name = 'Japanese Grand Prix' + AND q.q1 GLOB '[0-9]*:[0-9][0-9].[0-9][0-9][0-9]' +) +SELECT d.nationality +FROM q1_times AS t +JOIN drivers AS d ON d.driverId = t.driverId +WHERE t.q1_ms = (SELECT MAX(q1_ms) FROM q1_times); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird255.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird255.sql new file mode 100644 index 00000000..97a911ad --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird255.sql @@ -0,0 +1,19 @@ +WITH q1_times AS ( + SELECT q.driverId, q.q1, + ROUND(1000 * ( + CASE WHEN INSTR(q.q1, ':') > 0 THEN + 60 * CAST(SUBSTR(q.q1, 1, INSTR(q.q1, ':') - 1) AS INTEGER) + + CAST(SUBSTR(q.q1, INSTR(q.q1, ':') + 1) AS REAL) + ELSE CAST(q.q1 AS REAL) + END + )) AS q1_ms + FROM qualifying AS q + JOIN races AS r ON r.raceId = q.raceId + WHERE r.year = 1995 + AND r.name = 'Japanese Grand Prix' + AND q.q1 GLOB '[0-9]*' +) +SELECT d.forename, d.surname, t.q1 +FROM q1_times AS t +JOIN drivers AS d ON d.driverId = t.driverId +WHERE t.q1_ms = (SELECT MIN(q1_ms) FROM q1_times); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird256.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird256.sql new file mode 100644 index 00000000..ecde4f8d --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird256.sql @@ -0,0 +1,12 @@ +SELECT COUNT(DISTINCT opponent.driverId) AS drivers_outqualified +FROM qualifying AS lucas +JOIN drivers AS d ON d.driverId = lucas.driverId +JOIN races AS r ON r.raceId = lucas.raceId +JOIN qualifying AS opponent + ON opponent.raceId = lucas.raceId + AND opponent.driverId <> lucas.driverId + AND opponent.position > lucas.position +WHERE d.forename = 'Lucas' COLLATE NOCASE + AND d.surname = 'di Grassi' COLLATE NOCASE + AND r.date >= '2010-01-01' + AND r.date < '2011-01-01'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird257.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird257.sql new file mode 100644 index 00000000..14b4362e --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird257.sql @@ -0,0 +1,12 @@ +WITH q2_times AS ( + SELECT q.driverId, q.q2 + FROM qualifying AS q + JOIN races AS r ON r.raceId = q.raceId + WHERE r.year = 2017 + AND r.name = 'Italian Grand Prix' + AND q.q2 NOT IN ('', '\N') +) +SELECT d.nationality +FROM q2_times AS t +JOIN drivers AS d ON d.driverId = t.driverId +WHERE t.q2 = (SELECT MIN(q2) FROM q2_times); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird258.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird258.sql new file mode 100644 index 00000000..15bebfd2 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird258.sql @@ -0,0 +1,9 @@ +SELECT d.forename, COUNT(DISTINCT d.driverId) AS runner_up_count +FROM races AS r +JOIN results AS res ON res.raceId = r.raceId +JOIN drivers AS d ON d.driverId = res.driverId +WHERE r.name = 'Italian Grand Prix' + AND res.position = 2 +GROUP BY d.forename +HAVING COUNT(DISTINCT d.driverId) >= 2 +ORDER BY runner_up_count DESC, d.forename ASC; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird259.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird259.sql new file mode 100644 index 00000000..6b045343 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird259.sql @@ -0,0 +1,11 @@ +SELECT d.forename, + d.surname, + strftime('%H:%M:%f', r.date || ' ' || r.time, + '+4 hours', '+' || (res.milliseconds / 1000.0) || ' seconds') AS local_finish_time, + d.url +FROM races AS r +JOIN results AS res ON res.raceId = r.raceId +JOIN drivers AS d ON d.driverId = res.driverId +WHERE r.year = 2017 + AND r.name = 'Azerbaijan Grand Prix' + AND res.position = 1; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird261.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird261.sql new file mode 100644 index 00000000..c5e578ba --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird261.sql @@ -0,0 +1,17 @@ +WITH q2_times AS ( + SELECT q.driverId, + 60 * CAST(substr(q.q2, 1, instr(q.q2, ':') - 1) AS INTEGER) + + CAST(substr(q.q2, instr(q.q2, ':') + 1) AS REAL) AS q2_seconds + FROM qualifying AS q + JOIN races AS r ON r.raceId = q.raceId + WHERE r.year = 2017 + AND r.name = 'Italian Grand Prix' + AND instr(q.q2, ':') > 0 +), ranked AS ( + SELECT driverId, DENSE_RANK() OVER (ORDER BY q2_seconds) AS time_rank + FROM q2_times +) +SELECT d.nationality +FROM ranked AS q +JOIN drivers AS d ON d.driverId = q.driverId +WHERE q.time_rank = 2; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird262.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird262.sql new file mode 100644 index 00000000..5028b9a7 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird262.sql @@ -0,0 +1,8 @@ +SELECT COUNT(DISTINCT q.driverId) AS driver_count +FROM qualifying AS q +JOIN races AS r ON r.raceId = q.raceId +WHERE r.year = 2017 + AND r.name = 'Italian Grand Prix' + AND INSTR(q.q2, ':') > 0 + AND 60 * CAST(SUBSTR(q.q2, 1, INSTR(q.q2, ':') - 1) AS INTEGER) + + CAST(SUBSTR(q.q2, INSTR(q.q2, ':') + 1) AS REAL) < 100; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird263.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird263.sql new file mode 100644 index 00000000..46181984 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird263.sql @@ -0,0 +1,9 @@ +SELECT c.name AS racetrack_name, + c.location, + c.country, + r.year AS season_year, + p.duration AS pit_stop_length +FROM pitStops AS p +JOIN races AS r ON r.raceId = p.raceId +JOIN circuits AS c ON c.circuitId = r.circuitId +WHERE p.milliseconds = (SELECT MAX(milliseconds) FROM pitStops); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird264.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird264.sql new file mode 100644 index 00000000..79052188 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird264.sql @@ -0,0 +1,9 @@ +WITH driver_q3_counts AS ( + SELECT d.driverId, COUNT(NULLIF(TRIM(q.q3), '')) AS q3_count + FROM drivers AS d + LEFT JOIN qualifying AS q ON q.driverId = d.driverId + WHERE d.dob >= '1981-01-01' AND d.dob < '1992-01-01' + GROUP BY d.driverId +) +SELECT ROUND(AVG(q3_count), 2) AS average_q3_lap_times +FROM driver_q3_counts; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird265.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird265.sql new file mode 100644 index 00000000..85d012ff --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird265.sql @@ -0,0 +1,13 @@ +SELECT COUNT(*) AS qualifying_count +FROM qualifying AS q +JOIN drivers AS d ON d.driverId = q.driverId +WHERE d.code IS NULL + AND EXISTS ( + SELECT 1 + FROM drivers AS other + WHERE other.forename = d.forename + AND other.driverId <> d.driverId + ) + AND INSTR(q.q1, ':') > 0 + AND 60 * CAST(SUBSTR(q.q1, 1, INSTR(q.q1, ':') - 1) AS INTEGER) + + CAST(SUBSTR(q.q1, INSTR(q.q1, ':') + 1) AS REAL) > 120; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird266.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird266.sql new file mode 100644 index 00000000..f1c46139 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird266.sql @@ -0,0 +1,14 @@ +SELECT + d.driverRef, + COALESCE(SUM(r.points), 0.0) AS total_points +FROM drivers AS d +LEFT JOIN results AS r + ON r.driverId = d.driverId + AND EXISTS ( + SELECT 1 + FROM lapTimes AS lt + WHERE lt.driverId = r.driverId + AND lt.raceId = r.raceId + ) +WHERE d.forename = 'Robert' +GROUP BY d.driverId, d.driverRef; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird267.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird267.sql new file mode 100644 index 00000000..d013b588 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird267.sql @@ -0,0 +1,26 @@ +WITH french_editions AS ( + SELECT raceId, date + FROM races + WHERE name = 'French Grand Prix' + AND year >= 1990 +), +qualifying_laps AS ( + SELECT lt.raceId, lt.driverId, MIN(lt.milliseconds) AS fastest_ms + FROM lapTimes AS lt + JOIN french_editions AS e ON e.raceId = lt.raceId + GROUP BY lt.raceId, lt.driverId + HAVING MIN(lt.milliseconds) > 90000 +) +SELECT e.date, + d.forename, + d.surname, + CASE WHEN q.fastest_ms IS NOT NULL THEN + printf('%d:%02d.%03d', + q.fastest_ms / 60000, + (q.fastest_ms / 1000) % 60, + q.fastest_ms % 1000) + END AS fastest_lap_time +FROM french_editions AS e +LEFT JOIN qualifying_laps AS q ON q.raceId = e.raceId +LEFT JOIN drivers AS d ON d.driverId = q.driverId +ORDER BY e.date, d.surname, d.forename; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird268.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird268.sql new file mode 100644 index 00000000..760b024b --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird268.sql @@ -0,0 +1,14 @@ +WITH timed_laps AS ( + SELECT d.driverId, d.forename, d.surname, q.q3, + 60000 * CAST(SUBSTR(q.q3, 1, INSTR(q.q3, ':') - 1) AS INTEGER) + + ROUND(1000 * CAST(SUBSTR(q.q3, INSTR(q.q3, ':') + 1) AS REAL)) AS lap_ms + FROM qualifying AS q + JOIN drivers AS d ON d.driverId = q.driverId + WHERE d.nationality = 'Italian' + AND INSTR(q.q3, ':') > 0 +) +SELECT forename, surname, q3 +FROM timed_laps +WHERE lap_ms = (SELECT MIN(lap_ms) FROM timed_laps) +GROUP BY driverId, forename, surname, q3 +ORDER BY surname, forename; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird269.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird269.sql new file mode 100644 index 00000000..981bd242 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird269.sql @@ -0,0 +1,17 @@ +WITH q3_results AS ( + SELECT d.forename || ' ' || d.surname AS driver_full_name, + r.name AS race_name, + r.year AS race_year, + q.q3 AS q3_time, + 60 * CAST(substr(q.q3, 1, instr(q.q3, ':') - 1) AS INTEGER) + + CAST(substr(q.q3, instr(q.q3, ':') + 1) AS REAL) AS q3_seconds + FROM qualifying AS q + JOIN drivers AS d ON d.driverId = q.driverId + JOIN races AS r ON r.raceId = q.raceId + WHERE d.nationality = 'British' + AND CAST(strftime('%Y', d.dob) AS INTEGER) > 1980 + AND instr(q.q3, ':') > 0 +) +SELECT driver_full_name, race_name, race_year, q3_time +FROM q3_results +WHERE q3_seconds = (SELECT MIN(q3_seconds) FROM q3_results); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird270.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird270.sql new file mode 100644 index 00000000..81a896af --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird270.sql @@ -0,0 +1,15 @@ +WITH driver_best_laps AS ( + SELECT raceId, driverId, MIN(milliseconds) AS best_lap_ms + FROM lapTimes + WHERE milliseconds IS NOT NULL + GROUP BY raceId, driverId +), ranked_laps AS ( + SELECT raceId, driverId, + RANK() OVER (PARTITION BY raceId ORDER BY best_lap_ms) AS lap_rank + FROM driver_best_laps +) +SELECT COUNT(DISTINCT r.driverId) AS driver_count +FROM ranked_laps AS r +JOIN drivers AS d ON d.driverId = r.driverId +WHERE r.lap_rank = 2 + AND d.dob >= '1976-01-01'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird271.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird271.sql new file mode 100644 index 00000000..e6893046 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird271.sql @@ -0,0 +1,15 @@ +WITH q3_times AS ( + SELECT d.driverRef, + 60 * CAST(SUBSTR(q.q3, 1, INSTR(q.q3, ':') - 1) AS INTEGER) + + CAST(SUBSTR(q.q3, INSTR(q.q3, ':') + 1) AS REAL) AS elapsed_seconds + FROM qualifying AS q + JOIN races AS r ON r.raceId = q.raceId + JOIN drivers AS d ON d.driverId = q.driverId + WHERE r.year = 2017 + AND r.name = 'Italian Grand Prix' + AND INSTR(q.q3, ':') > 0 +) +SELECT driverRef +FROM q3_times +WHERE elapsed_seconds = (SELECT MIN(elapsed_seconds) FROM q3_times) +ORDER BY driverRef; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird272.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird272.sql new file mode 100644 index 00000000..95734916 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird272.sql @@ -0,0 +1,36 @@ +WITH italian_constructors AS ( + SELECT constructorId, name, url + FROM constructors + WHERE nationality = 'Italian' +), season_standings AS ( + SELECT cs.constructorId, + cs.points, + ROW_NUMBER() OVER ( + PARTITION BY cs.constructorId, r.year + ORDER BY r.round DESC, r.raceId DESC + ) AS season_row + FROM constructorStandings AS cs + JOIN races AS r ON r.raceId = cs.raceId + JOIN italian_constructors AS c ON c.constructorId = cs.constructorId +), career_totals AS ( + SELECT c.constructorId, + c.name, + c.url, + COALESCE(SUM(s.points), 0.0) AS career_points + FROM italian_constructors AS c + LEFT JOIN season_standings AS s + ON s.constructorId = c.constructorId AND s.season_row = 1 + GROUP BY c.constructorId, c.name, c.url +), ranked AS ( + SELECT name, + career_points, + url, + RANK() OVER (ORDER BY career_points DESC) AS career_rank + FROM career_totals +) +SELECT name AS constructor_name, + career_points, + url AS introduction_website +FROM ranked +WHERE career_rank <= 3 +ORDER BY career_rank, constructor_name; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird273.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird273.sql new file mode 100644 index 00000000..3d4486ac --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird273.sql @@ -0,0 +1,7 @@ +SELECT + COUNT(DISTINCT CASE WHEN d.forename = 'Peter' THEN d.driverId END) AS Peter, + COUNT(DISTINCT CASE WHEN d.forename = 'John' THEN d.driverId END) AS John +FROM drivers AS d +JOIN results AS r ON r.driverId = d.driverId +WHERE d.forename IN ('Peter', 'John') + AND r.position = 1; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird274.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird274.sql new file mode 100644 index 00000000..70694b52 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird274.sql @@ -0,0 +1,10 @@ +SELECT d.nationality +FROM drivers AS d +WHERE d.driverId IN ( + SELECT q.driverId + FROM qualifying AS q + WHERE q.q3 = ( + SELECT MIN(NULLIF(q3, '')) + FROM qualifying + ) +); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird275.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird275.sql new file mode 100644 index 00000000..741530b0 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird275.sql @@ -0,0 +1,13 @@ +WITH fastest_lap_constructors AS ( + SELECT DISTINCT constructorId + FROM results + WHERE rank = 1 +) +SELECT + c.nationality, + COUNT(DISTINCT f.constructorId) AS constructor_count +FROM constructors AS c +LEFT JOIN fastest_lap_constructors AS f + ON f.constructorId = c.constructorId +GROUP BY c.nationality +ORDER BY c.nationality; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird276.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird276.sql new file mode 100644 index 00000000..95cf0c7b --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird276.sql @@ -0,0 +1,17 @@ +SELECT s.year AS season_year, + COUNT(ps.raceId) AS total_pit_stops +FROM seasons AS s +LEFT JOIN races AS r + ON r.year = s.year + AND EXISTS ( + SELECT 1 + FROM driverStandings AS ds + JOIN drivers AS d ON d.driverId = ds.driverId + WHERE ds.raceId = r.raceId + AND d.nationality = 'Australian' + AND ds.position BETWEEN 1 AND 19 + ) +LEFT JOIN pitStops AS ps ON ps.raceId = r.raceId +WHERE s.year BETWEEN 2002 AND 2013 +GROUP BY s.year +ORDER BY s.year; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird277.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird277.sql new file mode 100644 index 00000000..31b5e1ce --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird277.sql @@ -0,0 +1,8 @@ +SELECT COUNT(DISTINCT q.driverId) AS driver_count +FROM qualifying AS q +JOIN races AS r ON r.raceId = q.raceId +WHERE r.date >= '1995-01-01' + AND r.date < '1996-01-01' + AND INSTR(q.q1, ':') > 0 + AND 60 * CAST(SUBSTR(q.q1, 1, INSTR(q.q1, ':') - 1) AS INTEGER) + + CAST(SUBSTR(q.q1, INSTR(q.q1, ':') + 1) AS REAL) > 120; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird278.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird278.sql new file mode 100644 index 00000000..7db80690 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird278.sql @@ -0,0 +1,16 @@ +WITH september_stops AS ( + SELECT p.driverId, p.raceId, p.duration, p.milliseconds + FROM pitStops AS p + JOIN races AS r ON r.raceId = p.raceId + WHERE r.date >= '2016-09-01' AND r.date < '2016-10-01' +) +SELECT d.forename || ' ' || d.surname AS driver_full_name, + s.duration AS pit_stop_time, + r.name AS race_name, + c.name AS circuit_name, + c.location AS circuit_location +FROM september_stops AS s +JOIN drivers AS d ON d.driverId = s.driverId +JOIN races AS r ON r.raceId = s.raceId +JOIN circuits AS c ON c.circuitId = r.circuitId +WHERE s.milliseconds = (SELECT MIN(milliseconds) FROM september_stops); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird279.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird279.sql new file mode 100644 index 00000000..59a02c0d --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird279.sql @@ -0,0 +1,34 @@ +WITH first_win AS ( + SELECT d.driverId, + d.forename || ' ' || d.surname AS full_name, + d.nationality, + r.name AS first_win_name, + r.date AS first_win_date + FROM drivers AS d + JOIN results AS res ON res.driverId = d.driverId + JOIN races AS r ON r.raceId = res.raceId + WHERE res.position = 1 + AND d.dob IS NOT NULL + AND r.year BETWEEN 1950 AND 2017 + ORDER BY d.dob, full_name, d.driverId, r.date, r.name, r.raceId + LIMIT 1 +) +SELECT w.full_name, + w.nationality, + w.first_win_name, + w.first_win_date, + ( + SELECT COUNT(DISTINCT res.raceId) + FROM results AS res + JOIN races AS r ON r.raceId = res.raceId + WHERE res.driverId = w.driverId + AND r.year BETWEEN 1950 AND 2017 + AND NOT EXISTS ( + SELECT 1 + FROM status AS s + WHERE s.statusId = res.statusId + AND s.status IN ('Did not start', 'Withdrew', 'Did not qualify', + 'Did not prequalify', '107% Rule') + ) + ) AS total_races_started +FROM first_win AS w; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird280.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird280.sql new file mode 100644 index 00000000..87115ebe --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird280.sql @@ -0,0 +1,6 @@ +SELECT COUNT(DISTINCT r.raceId) AS runnings +FROM races AS r +JOIN results AS res ON res.raceId = r.raceId +JOIN status AS s ON s.statusId = res.statusId +WHERE r.name = 'Canadian Grand Prix' + AND s.status = 'Accident'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird281.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird281.sql new file mode 100644 index 00000000..b0616e0c --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird281.sql @@ -0,0 +1,15 @@ +SELECT d.forename, d.surname, c.name AS constructor_name +FROM qualifying AS q +JOIN races AS r ON r.raceId = q.raceId +JOIN drivers AS d ON d.driverId = q.driverId +JOIN constructors AS c ON c.constructorId = q.constructorId +LEFT JOIN results AS res ON res.raceId = q.raceId AND res.driverId = q.driverId +WHERE r.year = 2017 + AND r.name = 'Italian Grand Prix' + AND INSTR(q.q2, ':') > 0 +ORDER BY + 60000 * CAST(SUBSTR(q.q2, 1, INSTR(q.q2, ':') - 1) AS INTEGER) + + CAST(REPLACE(SUBSTR(q.q2, INSTR(q.q2, ':') + 1), '.', '') AS INTEGER), + CASE WHEN res.grid > 0 THEN 0 ELSE 1 END, + res.grid +LIMIT 1 OFFSET 1; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird282.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird282.sql new file mode 100644 index 00000000..a959144c --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird282.sql @@ -0,0 +1,15 @@ +WITH season_q2 AS ( + SELECT q.driverId, + r.name AS race_name, + 60 * CAST(SUBSTR(q.q2, 1, INSTR(q.q2, ':') - 1) AS INTEGER) + + CAST(SUBSTR(q.q2, INSTR(q.q2, ':') + 1) AS REAL) AS q2_seconds + FROM qualifying AS q + JOIN races AS r ON r.raceId = q.raceId + WHERE r.year = 2017 + AND INSTR(q.q2, ':') > 0 +) +SELECT d.surname, s.race_name +FROM season_q2 AS s +JOIN drivers AS d ON d.driverId = s.driverId +WHERE s.q2_seconds = (SELECT MIN(q2_seconds) FROM season_q2) +ORDER BY d.surname, s.race_name; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird283.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird283.sql new file mode 100644 index 00000000..e52726d7 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird283.sql @@ -0,0 +1,15 @@ +WITH q3_times AS ( + SELECT q.driverId, + 60000 * CAST(SUBSTR(q.q3, 1, INSTR(q.q3, ':') - 1) AS INTEGER) + + CAST(REPLACE(SUBSTR(q.q3, INSTR(q.q3, ':') + 1), '.', '') AS INTEGER) AS time_ms + FROM qualifying AS q + JOIN races AS r ON r.raceId = q.raceId + WHERE r.year = 2017 + AND r.name = 'Italian Grand Prix' + AND q.q3 GLOB '[0-9]*:[0-5][0-9].[0-9][0-9][0-9]' +) +SELECT d.number +FROM q3_times AS t +JOIN drivers AS d ON d.driverId = t.driverId +WHERE t.time_ms = (SELECT MIN(time_ms) FROM q3_times) +ORDER BY d.number; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird284.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird284.sql new file mode 100644 index 00000000..1a6e9d62 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird284.sql @@ -0,0 +1,18 @@ +WITH ranked_q3 AS ( + SELECT d.code AS driver_code, + q.q3 AS fastest_q3_time, + RANK() OVER ( + ORDER BY 60 * CAST(substr(q.q3, 1, instr(q.q3, ':') - 1) AS INTEGER) + + CAST(substr(q.q3, instr(q.q3, ':') + 1) AS REAL) + ) AS time_rank + FROM qualifying AS q + JOIN races AS r ON r.raceId = q.raceId + JOIN drivers AS d ON d.driverId = q.driverId + WHERE r.year = 2017 + AND r.name = 'Italian Grand Prix' + AND instr(q.q3, ':') > 0 +) +SELECT driver_code, fastest_q3_time +FROM ranked_q3 +WHERE time_rank = 1 +ORDER BY driver_code; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird285.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird285.sql new file mode 100644 index 00000000..2f29e9a2 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird285.sql @@ -0,0 +1,14 @@ +WITH q3_times AS ( + SELECT q.driverId, + 60 * CAST(SUBSTR(q.q3, 1, INSTR(q.q3, ':') - 1) AS INTEGER) + + CAST(SUBSTR(q.q3, INSTR(q.q3, ':') + 1) AS REAL) AS seconds + FROM qualifying AS q + JOIN races AS r ON r.raceId = q.raceId + WHERE r.year = 2017 + AND r.name = 'Italian Grand Prix' + AND INSTR(q.q3, ':') > 0 +) +SELECT d.nationality +FROM q3_times AS t +JOIN drivers AS d ON d.driverId = t.driverId +WHERE t.seconds = (SELECT MIN(seconds) FROM q3_times); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird286.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird286.sql new file mode 100644 index 00000000..47eadcdf --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird286.sql @@ -0,0 +1,13 @@ +WITH earliest_edition AS ( + SELECT raceId, year + FROM races + WHERE name = 'Chinese Grand Prix' + AND year BETWEEN 2000 AND 2009 + AND TIME(time) IS NOT NULL + ORDER BY TIME(time) ASC, year DESC + LIMIT 1 +) +SELECT e.year AS season_year, r.time AS runner_up_time_gap +FROM earliest_edition AS e +JOIN results AS r ON r.raceId = e.raceId +WHERE r.position = 2; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird287.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird287.sql new file mode 100644 index 00000000..54fbcd45 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird287.sql @@ -0,0 +1,12 @@ +SELECT d.code +FROM drivers AS d +WHERE EXISTS ( + SELECT 1 + FROM qualifying AS q + JOIN races AS r ON r.raceId = q.raceId + WHERE q.driverId = d.driverId + AND r.year = 2017 + AND r.name = 'Italian Grand Prix' + AND TRIM(q.q3) NOT IN ('', '\N') +) +ORDER BY d.code; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird288.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird288.sql new file mode 100644 index 00000000..2588a4a9 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird288.sql @@ -0,0 +1,9 @@ +SELECT r.year, d.forename, d.surname, res.time AS finish_time +FROM races AS r +JOIN results AS res ON res.raceId = r.raceId +JOIN drivers AS d ON d.driverId = res.driverId +WHERE r.name = 'Canadian Grand Prix' + AND r.year BETWEEN 2007 AND 2017 + AND time(r.time) <= '17:00:00' + AND res.position = 1 +ORDER BY r.year; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird289.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird289.sql new file mode 100644 index 00000000..ccfa8c48 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird289.sql @@ -0,0 +1,11 @@ +SELECT d.number, d.surname +FROM qualifying AS q +JOIN drivers AS d ON d.driverId = q.driverId +JOIN races AS r ON r.raceId = q.raceId +JOIN circuits AS c ON c.circuitId = r.circuitId +WHERE r.year = 2017 + AND r.name = 'Italian Grand Prix' + AND c.circuitRef = 'monza' + AND INSTR(q.q3, ':') > 0 + AND 60 * CAST(SUBSTR(q.q3, 1, INSTR(q.q3, ':') - 1) AS INTEGER) + + CAST(SUBSTR(q.q3, INSTR(q.q3, ':') + 1) AS REAL) < 98.000; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird290.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird290.sql new file mode 100644 index 00000000..531457d6 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird290.sql @@ -0,0 +1,40 @@ +WITH local_starts AS ( + SELECT c.circuitRef, + time(r.time, printf('%+d minutes', CASE + -- These archive entries already use venue-local time. + WHEN r.year <= 2006 + OR (c.circuitRef = 'yas_marina' AND r.date = '2017-11-26') THEN 0 + -- UTC offsets on the recorded race dates. + WHEN c.circuitRef = 'americas' THEN + CASE WHEN r.date < date(r.year || '-11-01', 'weekday 0') + THEN -300 ELSE -360 END + WHEN c.circuitRef = 'rodriguez' THEN -360 + WHEN c.circuitRef IN ('indianapolis', 'villeneuve') THEN -240 + WHEN c.circuitRef = 'interlagos' THEN -120 + WHEN c.circuitRef = 'silverstone' THEN 60 + WHEN c.circuitRef IN ('bahrain', 'istanbul') THEN 180 + WHEN c.circuitRef IN ('BAK', 'yas_marina') THEN 240 + WHEN c.circuitRef = 'sochi' THEN CASE WHEN r.year = 2014 THEN 240 ELSE 180 END + WHEN c.circuitRef = 'buddh' THEN 330 + WHEN c.circuitRef IN ('marina_bay', 'sepang', 'shanghai') THEN 480 + WHEN c.circuitRef IN ('fuji', 'suzuka', 'yeongam') THEN 540 + WHEN c.circuitRef IN ('catalunya', 'hockenheimring', 'hungaroring', + 'magny_cours', 'monaco', 'monza', 'nurburgring', + 'red_bull_ring', 'spa', 'valencia') THEN 120 + END)) AS local_start + FROM races AS r + JOIN circuits AS c ON c.circuitId = r.circuitId + WHERE r.time IS NOT NULL +), extrema AS ( + SELECT MIN(local_start) AS earliest, MAX(local_start) AS latest + FROM local_starts +) +SELECT (SELECT group_concat(circuitRef, ', ') + FROM (SELECT DISTINCT circuitRef FROM local_starts + WHERE local_start = e.earliest ORDER BY circuitRef)) AS earliest_circuit_refs, + (SELECT group_concat(circuitRef, ', ') + FROM (SELECT DISTINCT circuitRef FROM local_starts + WHERE local_start = e.latest ORDER BY circuitRef)) AS latest_circuit_refs, + CAST(strftime('%s', e.latest) AS INTEGER) + - CAST(strftime('%s', e.earliest) AS INTEGER) AS gap_seconds +FROM extrema AS e; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird291.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird291.sql new file mode 100644 index 00000000..426b5c59 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird291.sql @@ -0,0 +1,11 @@ +SELECT d.forename, d.surname +FROM drivers AS d +JOIN results AS r ON r.driverId = d.driverId +WHERE d.dob >= '1980-01-01' + AND d.dob < '1990-01-01' + AND TRIM(r.fastestLapSpeed) NOT IN ('', '\N') +GROUP BY d.driverId, d.forename, d.surname, d.dob +ORDER BY MAX(CAST(r.fastestLapSpeed AS REAL)) DESC, + d.dob ASC, + d.surname ASC +LIMIT 3; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird292.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird292.sql new file mode 100644 index 00000000..e8cc05a6 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird292.sql @@ -0,0 +1,10 @@ +SELECT d.driverRef +FROM qualifying AS q +JOIN races AS r ON r.raceId = q.raceId +JOIN drivers AS d ON d.driverId = q.driverId +WHERE r.year = 2017 + AND r.name = 'Italian Grand Prix' + AND (q.q2 IS NULL OR TRIM(q.q2) = '') +ORDER BY CAST(SUBSTR(q.q1, 1, INSTR(q.q1, ':') - 1) AS INTEGER) DESC, + CAST(SUBSTR(q.q1, INSTR(q.q1, ':') + 1) AS REAL) DESC, + q.driverId ASC; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird293.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird293.sql new file mode 100644 index 00000000..45ade327 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird293.sql @@ -0,0 +1,7 @@ +SELECT COUNT(DISTINCT res.driverId) +FROM results AS res +JOIN races AS r ON r.raceId = res.raceId +JOIN status AS s ON s.statusId = res.statusId +WHERE r.year = 1962 + AND r.name = 'British Grand Prix' + AND s.status = 'Withdrew'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird294.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird294.sql new file mode 100644 index 00000000..be6b9407 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird294.sql @@ -0,0 +1,12 @@ +SELECT ROUND( + 100.0 * COUNT(DISTINCT CASE + WHEN s.status = 'Finished' OR s.status LIKE '+% Lap%' THEN re.driverId + END) / COUNT(DISTINCT re.driverId), + 2 +) AS classified_finisher_percentage +FROM races AS r +JOIN results AS re ON re.raceId = r.raceId +JOIN status AS s ON s.statusId = re.statusId +WHERE r.year = 1957 + AND r.name = 'British Grand Prix' + AND re.positionText <> 'W'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird295.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird295.sql new file mode 100644 index 00000000..08d83a34 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird295.sql @@ -0,0 +1,13 @@ +WITH event_totals AS ( + SELECT v.event_id, SUM(e.cost) AS total_expense + FROM expense AS e + JOIN member AS m ON m.member_id = e.link_to_member + JOIN budget AS b ON b.budget_id = e.link_to_budget + JOIN event AS v ON v.event_id = b.link_to_event + WHERE m.first_name = 'Elijah' + AND m.last_name = 'Allen' + AND strftime('%m', e.expense_date) IN ('09', '10') + GROUP BY v.event_id +) +SELECT ROUND(AVG(total_expense), 2) AS mean_total_expense_per_event +FROM event_totals; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird296.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird296.sql new file mode 100644 index 00000000..9e7baf61 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird296.sql @@ -0,0 +1,6 @@ +SELECT SUM(b.spent) FILTER (WHERE e.event_date < '2020-01-01') + - SUM(b.spent) FILTER (WHERE e.event_date >= '2020-01-01') AS spending_difference +FROM event AS e +JOIN budget AS b ON b.link_to_event = e.event_id +WHERE e.event_date >= '2019-01-01' + AND e.event_date < '2021-01-01'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird297.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird297.sql new file mode 100644 index 00000000..d1522dcf --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird297.sql @@ -0,0 +1,4 @@ +SELECT notes +FROM income +WHERE date(date_received) = '2019-09-14' + AND source LIKE '%fundrais%'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird298.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird298.sql new file mode 100644 index 00000000..e4d5a461 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird298.sql @@ -0,0 +1,6 @@ +SELECT 1.0 * SUM(CASE WHEN e.event_name = 'Yearly Kickoff' THEN b.amount END) + / NULLIF(SUM(CASE WHEN e.event_name = 'October Meeting' THEN b.amount END), 0) AS advertisement_budget_ratio +FROM budget AS b +JOIN event AS e ON e.event_id = b.link_to_event +WHERE b.category = 'Advertisement' + AND e.event_name IN ('Yearly Kickoff', 'October Meeting'); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird299.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird299.sql new file mode 100644 index 00000000..d0c97edc --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird299.sql @@ -0,0 +1,12 @@ +WITH event_ratios AS ( + SELECT e.event_name, + 1.0 * SUM(b.spent) / NULLIF(SUM(b.amount), 0) AS spending_ratio + FROM event AS e + JOIN budget AS b ON b.link_to_event = e.event_id + WHERE e.status = 'Closed' + GROUP BY e.event_id, e.event_name +) +SELECT event_name +FROM event_ratios +WHERE spending_ratio = (SELECT MAX(spending_ratio) FROM event_ratios) +ORDER BY event_name; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird300.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird300.sql new file mode 100644 index 00000000..7b21331e --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird300.sql @@ -0,0 +1,6 @@ +SELECT m.first_name, m.last_name +FROM member AS m +JOIN attendance AS a ON a.link_to_member = m.member_id +JOIN event AS e ON e.event_id = a.link_to_event +GROUP BY m.member_id, m.first_name, m.last_name +HAVING COUNT(DISTINCT e.event_id) > 7; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird301.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird301.sql new file mode 100644 index 00000000..af84b8f3 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird301.sql @@ -0,0 +1,8 @@ +SELECT m.first_name, m.last_name, m.phone +FROM member AS m +WHERE EXISTS ( + SELECT 1 + FROM expense AS e + WHERE e.link_to_member = m.member_id + AND e.cost > (SELECT AVG(cost) FROM expense) +); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird302.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird302.sql new file mode 100644 index 00000000..410a4f11 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird302.sql @@ -0,0 +1,22 @@ +WITH fall_event_counts AS ( + SELECT e.event_id, + e.event_name, + COUNT(DISTINCT a.link_to_member) AS student_count + FROM event AS e + LEFT JOIN attendance AS a ON a.link_to_event = e.event_id + WHERE e.event_date >= '2019-09-01' + AND e.event_date < '2019-12-01' + GROUP BY e.event_id, e.event_name +), comparison AS ( + SELECT MAX(CASE WHEN event_name = 'Women''s Soccer' THEN student_count END) AS womens_soccer_attendance, + ROUND(AVG(student_count), 1) AS fall_2019_average_attendance + FROM fall_event_counts +) +SELECT womens_soccer_attendance, + fall_2019_average_attendance, + CASE + WHEN womens_soccer_attendance > fall_2019_average_attendance THEN 'more' + WHEN womens_soccer_attendance < fall_2019_average_attendance THEN 'fewer' + WHEN womens_soccer_attendance = fall_2019_average_attendance THEN 'equal' + END AS verdict +FROM comparison; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird303.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird303.sql new file mode 100644 index 00000000..22041326 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird303.sql @@ -0,0 +1,22 @@ +WITH college_departments AS ( + SELECT DISTINCT department + FROM major + WHERE college = 'College of Humanities and Social Sciences' +), member_counts AS ( + SELECT link_to_major, COUNT(*) AS member_count + FROM member + GROUP BY link_to_major +), department_majors AS ( + SELECT m.department, m.major_name, COALESCE(mc.member_count, 0) AS member_count + FROM major AS m + JOIN college_departments AS d ON d.department = m.department + LEFT JOIN member_counts AS mc ON mc.link_to_major = m.major_id + ORDER BY m.department, m.major_name, m.major_id +) +SELECT department, + GROUP_CONCAT(major_name, ', ') AS majors_offered, + GROUP_CONCAT(major_name, ', ') FILTER (WHERE member_count > 0) AS majors_held_by_members, + ROUND(AVG(member_count), 2) AS avg_members_per_major +FROM department_majors +GROUP BY department +ORDER BY department; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird304.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird304.sql new file mode 100644 index 00000000..24f2cfe9 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird304.sql @@ -0,0 +1,24 @@ +WITH events_2019 AS ( + SELECT event_id, type AS event_type + FROM event + WHERE event_date >= '2019-01-01' + AND event_date < '2020-01-01' +), +attendance_by_type AS ( + SELECT e.event_type, COUNT(DISTINCT a.link_to_member) AS members_attended + FROM events_2019 AS e + JOIN attendance AS a ON a.link_to_event = e.event_id + GROUP BY e.event_type +), +budget_by_type AS ( + SELECT e.event_type, COALESCE(SUM(b.amount), 0) AS budgeted_dollars + FROM events_2019 AS e + LEFT JOIN budget AS b ON b.link_to_event = e.event_id + GROUP BY e.event_type +) +SELECT b.event_type, + COALESCE(a.members_attended, 0) AS members_attended, + b.budgeted_dollars +FROM budget_by_type AS b +LEFT JOIN attendance_by_type AS a ON a.event_type IS b.event_type +ORDER BY b.event_type; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird305.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird305.sql new file mode 100644 index 00000000..fa7d9372 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird305.sql @@ -0,0 +1,21 @@ +SELECT mj.department, COALESCE(SUM(i.amount), 0) AS total_dues +FROM major AS mj +LEFT JOIN member AS m + ON m.link_to_major = mj.major_id + AND m.position = 'Member' + AND EXISTS ( + SELECT 1 + FROM attendance AS a + JOIN event AS e ON e.event_id = a.link_to_event + WHERE a.link_to_member = m.member_id + ) +LEFT JOIN income AS i + ON i.link_to_member = m.member_id + AND i.source = 'Dues' +WHERE mj.college IN ( + SELECT college + FROM major + WHERE department = 'Electrical and Computer Engineering Department' +) +GROUP BY mj.department +ORDER BY mj.department; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird306.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird306.sql new file mode 100644 index 00000000..da6e3982 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird306.sql @@ -0,0 +1,13 @@ +WITH qualifying_member_budgets AS ( + SELECT DISTINCT link_to_member, link_to_budget + FROM expense + WHERE cost > 50 +) +SELECT m.first_name, + m.last_name, + ROUND(SUM(b.amount - b.spent), 2) AS total_amount_left +FROM qualifying_member_budgets AS q +JOIN member AS m ON m.member_id = q.link_to_member +JOIN budget AS b ON b.budget_id = q.link_to_budget +GROUP BY m.member_id, m.first_name, m.last_name +ORDER BY total_amount_left DESC, m.last_name ASC, m.first_name ASC; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird307.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird307.sql new file mode 100644 index 00000000..35e59597 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird307.sql @@ -0,0 +1,10 @@ +SELECT SUM(i.amount) AS total_dues_dollars +FROM income AS i +WHERE i.source = 'Dues' + AND EXISTS ( + SELECT 1 + FROM attendance AS a + JOIN event AS e ON e.event_id = a.link_to_event + WHERE a.link_to_member = i.link_to_member + AND e.event_name = 'Football game' + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird308.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird308.sql new file mode 100644 index 00000000..72da9d55 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird308.sql @@ -0,0 +1,15 @@ +WITH tyler_college AS ( + SELECT mj.college + FROM member AS m + JOIN major AS mj ON mj.major_id = m.link_to_major + WHERE m.first_name = 'Tyler' AND m.last_name = 'Hewitt' +), majors_without_members AS ( + SELECT mj.major_name + FROM major AS mj + LEFT JOIN member AS m ON m.link_to_major = mj.major_id + WHERE mj.college IN (SELECT college FROM tyler_college) + GROUP BY mj.major_name + HAVING COUNT(m.link_to_major) = 0 +) +SELECT COUNT(*) AS majors_without_enrolled_members +FROM majors_without_members; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird309.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird309.sql new file mode 100644 index 00000000..0584b7d9 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird309.sql @@ -0,0 +1,14 @@ +WITH event_attendance AS ( + SELECT e.event_id, COUNT(DISTINCT a.link_to_member) AS member_count + FROM event AS e + LEFT JOIN attendance AS a ON a.link_to_event = e.event_id + WHERE EXISTS ( + SELECT 1 + FROM budget AS b + WHERE b.link_to_event = e.event_id + AND b.category = 'Advertisement' + ) + GROUP BY e.event_id +) +SELECT ROUND(AVG(member_count), 2) AS average_members_attended +FROM event_attendance; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird310.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird310.sql new file mode 100644 index 00000000..72c29cd7 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird310.sql @@ -0,0 +1,8 @@ +SELECT + e.event_name, + e.location, + COUNT(DISTINCT a.link_to_member) AS members_attended +FROM event AS e +LEFT JOIN attendance AS a ON a.link_to_event = e.event_id +WHERE e.type = 'Budget' +GROUP BY e.event_id, e.event_name, e.location; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird311.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird311.sql new file mode 100644 index 00000000..e7d0c33e --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird311.sql @@ -0,0 +1,13 @@ +WITH major_counts AS ( + SELECT mj.major_name, COUNT(DISTINCT m.member_id) AS attendee_count + FROM attendance AS a + JOIN event AS e ON e.event_id = a.link_to_event + JOIN member AS m ON m.member_id = a.link_to_member + JOIN major AS mj ON mj.major_id = m.link_to_major + WHERE e.event_name = 'Football game' + GROUP BY mj.major_id, mj.major_name +) +SELECT major_name, attendee_count +FROM major_counts +WHERE attendee_count = (SELECT MAX(attendee_count) FROM major_counts) +ORDER BY major_name ASC; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird312.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird312.sql new file mode 100644 index 00000000..f2c20f15 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird312.sql @@ -0,0 +1,6 @@ +SELECT ROUND(100.0 * COUNT(CASE WHEN NOT EXISTS ( + SELECT 1 + FROM member AS m + WHERE m.link_to_major = a.major_id +) THEN 1 END) / COUNT(*), 2) AS percentage +FROM major AS a; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird313.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird313.sql new file mode 100644 index 00000000..ba31ba88 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird313.sql @@ -0,0 +1,15 @@ +WITH member_attendance AS ( + SELECT + m.member_id, + CASE WHEN m.position IN ('President', 'Vice President', 'Secretary', 'Treasurer') + THEN 1 ELSE 0 END AS is_officer, + COUNT(DISTINCT e.event_id) AS events_attended + FROM member AS m + LEFT JOIN attendance AS a ON a.link_to_member = m.member_id + LEFT JOIN event AS e ON e.event_id = a.link_to_event + GROUP BY m.member_id, m.position +) +SELECT + ROUND(AVG(CASE WHEN is_officer = 1 THEN events_attended END), 2) AS avg_events_per_officer, + ROUND(AVG(CASE WHEN is_officer = 0 THEN events_attended END), 2) AS avg_events_per_other_student +FROM member_attendance; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird314.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird314.sql new file mode 100644 index 00000000..f5d01eb4 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird314.sql @@ -0,0 +1,21 @@ +WITH RECURSIVE over_budget_events AS ( + SELECT DISTINCT link_to_event + FROM budget + WHERE amount - spent < 0 +), purchase_items(rest, item) AS ( + SELECT x.expense_description || ',', NULL + FROM over_budget_events AS e + JOIN budget AS b ON b.link_to_event = e.link_to_event + JOIN expense AS x ON x.link_to_budget = b.budget_id + WHERE x.expense_description IS NOT NULL + + UNION ALL + + SELECT substr(rest, instr(rest, ',') + 1), + lower(trim(substr(rest, 1, instr(rest, ',') - 1))) + FROM purchase_items + WHERE rest <> '' +) +SELECT COUNT(DISTINCT item) AS item_kind_count +FROM purchase_items +WHERE item <> ''; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird315.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird315.sql new file mode 100644 index 00000000..43088b49 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird315.sql @@ -0,0 +1,20 @@ +WITH attendee_counts AS ( + SELECT link_to_event AS event_id, + COUNT(DISTINCT link_to_member) AS attendee_count + FROM attendance + GROUP BY link_to_event + HAVING COUNT(DISTINCT link_to_member) > 0 +), water_spending AS ( + SELECT b.link_to_event AS event_id, + SUM(x.cost) AS water_cost + FROM expense AS x + JOIN budget AS b ON b.budget_id = x.link_to_budget + WHERE LOWER(x.expense_description) LIKE '%water%' + GROUP BY b.link_to_event +) +SELECT e.event_name, + ROUND(1.0 * COALESCE(w.water_cost, 0.00) / a.attendee_count, 2) AS water_cost_per_attendee +FROM event AS e +JOIN attendee_counts AS a ON a.event_id = e.event_id +LEFT JOIN water_spending AS w ON w.event_id = e.event_id +ORDER BY e.event_name, e.event_id; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird316.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird316.sql new file mode 100644 index 00000000..dae3c0c1 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird316.sql @@ -0,0 +1,16 @@ +WITH college_departments AS ( + SELECT DISTINCT department + FROM major + WHERE college = 'College of Humanities and Social Sciences' +), roster AS ( + SELECT EXISTS ( + SELECT 1 + FROM major AS j + JOIN college_departments AS d ON d.department = j.department + WHERE j.major_id = m.link_to_major + ) AS in_college + FROM member AS m +) +SELECT COUNT(CASE WHEN in_college = 1 THEN 1 END) AS members_in_college, + COUNT(CASE WHEN in_college = 0 THEN 1 END) AS members_not_in_college +FROM roster; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird317.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird317.sql new file mode 100644 index 00000000..5524a6e2 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird317.sql @@ -0,0 +1,17 @@ +WITH chip_events AS ( + SELECT DISTINCT b.link_to_event AS event_id + FROM expense AS x + JOIN budget AS b ON b.budget_id = x.link_to_budget + WHERE LOWER(x.expense_description) LIKE '%chips%' + AND x.cost > 0 +), event_maxima AS ( + SELECT e.event_id, e.event_name, MAX(b.amount) AS largest_line + FROM event AS e + JOIN chip_events AS c ON c.event_id = e.event_id + JOIN budget AS b ON b.link_to_event = e.event_id + GROUP BY e.event_id, e.event_name +) +SELECT event_name +FROM event_maxima +WHERE largest_line = (SELECT MAX(largest_line) FROM event_maxima) +ORDER BY event_name; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird318.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird318.sql new file mode 100644 index 00000000..5e102dea --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird318.sql @@ -0,0 +1,10 @@ +WITH latest_vp_expense AS ( + SELECT MAX(e.expense_date) AS expense_date + FROM expense AS e + JOIN member AS m ON m.member_id = e.link_to_member + WHERE m.position = 'Vice President' +) +SELECT e.expense_date, SUM(e.cost) AS total_cost +FROM expense AS e +JOIN latest_vp_expense AS v ON e.expense_date = v.expense_date +GROUP BY e.expense_date; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird319.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird319.sql new file mode 100644 index 00000000..349ba904 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird319.sql @@ -0,0 +1,8 @@ +SELECT e.type AS event_category, + COUNT(DISTINCT m.member_id) AS member_count +FROM event AS e +LEFT JOIN attendance AS a ON a.link_to_event = e.event_id +LEFT JOIN member AS m ON m.member_id = a.link_to_member +WHERE e.location = 'MU 215' +GROUP BY e.type +ORDER BY e.type; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird320.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird320.sql new file mode 100644 index 00000000..637caeb9 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird320.sql @@ -0,0 +1,10 @@ +WITH college_counts AS ( + SELECT ma.college, COUNT(*) AS number_of_majors + FROM member AS m + JOIN major AS ma ON ma.major_id = m.link_to_major + GROUP BY ma.college +) +SELECT college, number_of_majors +FROM college_counts +WHERE number_of_majors = (SELECT MAX(number_of_majors) FROM college_counts) +ORDER BY college; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird321.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird321.sql new file mode 100644 index 00000000..2f876f70 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird321.sql @@ -0,0 +1,12 @@ +SELECT e.location, + COUNT(DISTINCT x.expense_description) AS distinct_things_bought +FROM event AS e +LEFT JOIN budget AS b ON b.link_to_event = e.event_id +LEFT JOIN expense AS x ON x.link_to_budget = b.budget_id +WHERE EXISTS ( + SELECT 1 + FROM budget AS qualifying_budget + WHERE qualifying_budget.link_to_event = e.event_id + AND qualifying_budget.amount > 40 +) +GROUP BY e.location; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird322.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird322.sql new file mode 100644 index 00000000..167e4471 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird322.sql @@ -0,0 +1,12 @@ +SELECT SUM(b.amount) AS total_budgeted +FROM event AS e +JOIN budget AS b ON b.link_to_event = e.event_id +WHERE e.event_date >= '2019-09-01' + AND e.event_date < '2019-10-01' + AND EXISTS ( + SELECT 1 + FROM budget AS pizza_budget + JOIN expense AS x ON x.link_to_budget = pizza_budget.budget_id + WHERE pizza_budget.link_to_event = e.event_id + AND x.expense_description = 'Pizza' + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird323.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird323.sql new file mode 100644 index 00000000..629becd7 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird323.sql @@ -0,0 +1,8 @@ +WITH event_totals AS ( + SELECT e.event_id, COALESCE(SUM(b.spent), 0.0) AS total_spent + FROM event AS e + LEFT JOIN budget AS b ON b.link_to_event = e.event_id + GROUP BY e.event_id +) +SELECT ROUND(AVG(total_spent), 2) AS average_spent_per_event_dollars +FROM event_totals; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird324.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird324.sql new file mode 100644 index 00000000..573c27ff --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird324.sql @@ -0,0 +1,25 @@ +WITH budget_totals AS ( + SELECT link_to_event AS event_id, + SUM(amount) AS total_budget, + SUM(spent) AS total_spent + FROM budget + GROUP BY link_to_event +), purchase_totals AS ( + SELECT b.link_to_event AS event_id, + SUM(CASE + WHEN NULLIF(TRIM(x.expense_description), '') IS NULL THEN 0 + ELSE 1 + LENGTH(x.expense_description) + - LENGTH(REPLACE(x.expense_description, ',', '')) + END) AS purchase_count + FROM expense AS x + JOIN budget AS b ON b.budget_id = x.link_to_budget + GROUP BY b.link_to_event +) +SELECT e.event_name +FROM event AS e +LEFT JOIN budget_totals AS bt ON bt.event_id = e.event_id +LEFT JOIN purchase_totals AS pt ON pt.event_id = e.event_id +WHERE e.status = 'Closed' + AND COALESCE(bt.total_spent, 0) <= COALESCE(bt.total_budget, 0) +ORDER BY COALESCE(pt.purchase_count, 0) DESC, e.event_id ASC +LIMIT 1; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird325.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird325.sql new file mode 100644 index 00000000..69f11b63 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird325.sql @@ -0,0 +1,13 @@ +WITH members_by_type AS ( + SELECT e.type AS event_type, + COUNT(DISTINCT a.link_to_member) AS member_count + FROM event AS e + LEFT JOIN attendance AS a ON a.link_to_event = e.event_id + WHERE e.event_date >= '2019-09-01' + AND e.event_date < '2020-06-01' + GROUP BY e.type +) +SELECT event_type, member_count +FROM members_by_type +WHERE member_count = (SELECT MAX(member_count) FROM members_by_type) +ORDER BY event_type; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird326.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird326.sql new file mode 100644 index 00000000..3f62f0a9 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird326.sql @@ -0,0 +1,22 @@ +WITH RECURSIVE items(expense_id, item, rest) AS ( + SELECT e.expense_id, '', REPLACE(e.expense_description, 'Bakery - ', '') || ',' + FROM expense AS e + WHERE EXISTS ( + SELECT 1 + FROM budget AS b + WHERE b.budget_id = e.link_to_budget + AND b.category = 'Food' + ) + UNION ALL + SELECT expense_id, + TRIM(SUBSTR(rest, 1, INSTR(rest, ',') - 1)), + SUBSTR(rest, INSTR(rest, ',') + 1) + FROM items + WHERE rest <> '' +) +SELECT MIN(item) AS item_name, COUNT(DISTINCT expense_id) AS record_count +FROM items +WHERE item <> '' AND item COLLATE NOCASE <> 'supplies' +GROUP BY item COLLATE NOCASE +ORDER BY record_count DESC, item_name COLLATE NOCASE ASC +LIMIT 1; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird327.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird327.sql new file mode 100644 index 00000000..5d53c5ac --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird327.sql @@ -0,0 +1,24 @@ +WITH RECURSIVE purchase_items(expense_id, category, cost, item_name, rest) AS ( + SELECT ex.expense_id, b.category, ex.cost, '', ex.expense_description || ',' + FROM expense AS ex + JOIN budget AS b ON b.budget_id = ex.link_to_budget + JOIN event AS ev ON ev.event_id = b.link_to_event + WHERE ev.event_name = 'October Meeting' + AND ex.approved = 'true' + + UNION ALL + + SELECT expense_id, category, cost, + TRIM(SUBSTR(rest, 1, INSTR(rest, ',') - 1)), + SUBSTR(rest, INSTR(rest, ',') + 1) + FROM purchase_items + WHERE rest <> '' +), distinct_purchase_items AS ( + SELECT DISTINCT expense_id, category, cost, item_name + FROM purchase_items + WHERE item_name <> '' +) +SELECT item_name, category, SUM(cost) AS total_cost +FROM distinct_purchase_items +GROUP BY category, item_name +ORDER BY category, item_name; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird328.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird328.sql new file mode 100644 index 00000000..6adae3ae --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird328.sql @@ -0,0 +1,15 @@ +SELECT + e.event_name, + e.event_date, + ( + SELECT SUM(b.amount) + FROM budget AS b + WHERE b.link_to_event = e.event_id + ) AS total_budgeted, + ( + SELECT COUNT(DISTINCT a.link_to_member) + FROM attendance AS a + WHERE a.link_to_event = e.event_id + ) AS member_attendance_count +FROM event AS e +ORDER BY e.event_name ASC, e.event_date ASC; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird329.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird329.sql new file mode 100644 index 00000000..8faf36c6 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird329.sql @@ -0,0 +1,23 @@ +WITH RECURSIVE expense_items(expense_id, item_name, remaining) AS ( + SELECT e.expense_id, '', + CASE WHEN e.expense_description LIKE 'Bakery - %' + THEN substr(e.expense_description, length('Bakery - ') + 1) + ELSE e.expense_description + END || ',' + FROM expense AS e + JOIN member AS m ON m.member_id = e.link_to_member + WHERE m.first_name = 'Sacha' AND m.last_name = 'Harrison' + + UNION ALL + + SELECT expense_id, + trim(substr(remaining, 1, instr(remaining, ',') - 1)), + substr(remaining, instr(remaining, ',') + 1) + FROM expense_items + WHERE remaining <> '' +) +SELECT item_name, COUNT(DISTINCT expense_id) AS purchase_count +FROM expense_items +WHERE item_name <> '' +GROUP BY item_name +ORDER BY item_name COLLATE NOCASE; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird330.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird330.sql new file mode 100644 index 00000000..61e20254 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird330.sql @@ -0,0 +1,40 @@ +WITH RECURSIVE +period_expenses AS ( + SELECT link_to_member AS member_id, expense_description, cost + FROM expense + WHERE expense_date >= '2019-10-01' + AND expense_date < '2019-12-01' +), +item_parts(member_id, item, rest) AS ( + SELECT member_id, NULL, expense_description || ',' + FROM period_expenses + UNION ALL + SELECT member_id, + SUBSTR(rest, 1, INSTR(rest, ',') - 1), + SUBSTR(rest, INSTR(rest, ',') + 1) + FROM item_parts + WHERE rest <> '' +), +item_counts AS ( + SELECT member_id, COUNT(DISTINCT NULLIF(LOWER(TRIM(item)), '')) AS kind_count + FROM item_parts + GROUP BY member_id +), +spending AS ( + SELECT member_id, ROUND(SUM(cost), 2) AS total_spending_dollars + FROM period_expenses + GROUP BY member_id +), +ranked AS ( + SELECT m.first_name || ' ' || m.last_name AS full_name, + i.kind_count, + s.total_spending_dollars, + RANK() OVER (ORDER BY i.kind_count DESC) AS kind_rank + FROM member AS m + JOIN item_counts AS i ON i.member_id = m.member_id + JOIN spending AS s ON s.member_id = m.member_id +) +SELECT full_name, kind_count, total_spending_dollars +FROM ranked +WHERE kind_rank = 1 +ORDER BY full_name; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird331.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird331.sql new file mode 100644 index 00000000..e2aa0e6b --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird331.sql @@ -0,0 +1,4 @@ +SELECT COUNT(DISTINCT j.major_id) AS major_count +FROM member AS m +JOIN major AS j ON j.major_id = m.link_to_major +WHERE j.department = 'Political Science Department'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird332.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird332.sql new file mode 100644 index 00000000..1c0d5a76 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird332.sql @@ -0,0 +1,13 @@ +WITH eye_colour_counts AS ( + SELECT c.colour AS eye_colour, COUNT(*) AS hero_count + FROM superhero AS s + JOIN publisher AS p ON p.id = s.publisher_id + JOIN colour AS c ON c.id = s.eye_colour_id + WHERE p.publisher_name = 'Marvel Comics' + AND c.colour <> 'No Colour' + GROUP BY c.colour +) +SELECT eye_colour, hero_count, + RANK() OVER (ORDER BY hero_count DESC) AS rank +FROM eye_colour_counts +ORDER BY hero_count DESC, eye_colour ASC; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird333.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird333.sql new file mode 100644 index 00000000..181109c0 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird333.sql @@ -0,0 +1,11 @@ +SELECT h.superhero_name +FROM superhero AS h +JOIN publisher AS p ON p.id = h.publisher_id +WHERE p.publisher_name = 'Marvel Comics' + AND EXISTS ( + SELECT 1 + FROM hero_power AS hp + JOIN superpower AS sp ON sp.id = hp.power_id + WHERE hp.hero_id = h.id + AND sp.power_name = 'Super Strength' + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird334.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird334.sql new file mode 100644 index 00000000..1f114613 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird334.sql @@ -0,0 +1,14 @@ +SELECT + ROUND( + 100.0 * COUNT(CASE WHEN a.alignment = 'Neutral' COLLATE NOCASE THEN 1 END) + / NULLIF(COUNT(*), 0), + 2 + ) AS neutral_percentage, + COUNT(CASE + WHEN a.alignment = 'Neutral' COLLATE NOCASE + AND p.publisher_name = 'Marvel Comics' COLLATE NOCASE + THEN 1 + END) AS neutral_marvel_count +FROM superhero AS s +LEFT JOIN alignment AS a ON a.id = s.alignment_id +LEFT JOIN publisher AS p ON p.id = s.publisher_id; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird335.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird335.sql new file mode 100644 index 00000000..73762111 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird335.sql @@ -0,0 +1,15 @@ +WITH publisher_counts AS ( + SELECT p.publisher_name, COUNT(s.id) AS superhero_count + FROM publisher AS p + LEFT JOIN superhero AS s ON s.publisher_id = p.id + WHERE p.publisher_name IN ('Marvel Comics', 'DC Comics') + GROUP BY p.publisher_name +), comparison AS ( + SELECT publisher_name, superhero_count, + MAX(superhero_count) OVER () AS highest_count, + MIN(superhero_count) OVER () AS lowest_count + FROM publisher_counts +) +SELECT publisher_name, highest_count - lowest_count AS difference +FROM comparison +WHERE superhero_count = highest_count; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird336.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird336.sql new file mode 100644 index 00000000..e87f0893 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird336.sql @@ -0,0 +1,5 @@ +SELECT s.superhero_name +FROM superhero AS s +JOIN colour AS c ON c.id = s.eye_colour_id +WHERE s.height_cm BETWEEN 170 AND 190 + AND c.colour = 'No Colour'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird337.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird337.sql new file mode 100644 index 00000000..77d8514d --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird337.sql @@ -0,0 +1,8 @@ +SELECT ROUND(100.0 * AVG(CASE WHEN EXISTS ( + SELECT 1 + FROM publisher AS p + WHERE p.id = s.publisher_id + AND p.publisher_name = 'Marvel Comics' +) THEN 1 ELSE 0 END), 2) AS marvel_percentage +FROM superhero AS s +WHERE s.height_cm BETWEEN 150 AND 180; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird338.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird338.sql new file mode 100644 index 00000000..5409009d --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird338.sql @@ -0,0 +1,12 @@ +WITH strength_scores AS ( + SELECT ha.hero_id, ha.attribute_value + FROM hero_attribute AS ha + JOIN attribute AS a ON a.id = ha.attribute_id + WHERE a.attribute_name = 'Strength' +) +SELECT DISTINCT s.full_name +FROM superhero AS s +JOIN strength_scores AS ss ON ss.hero_id = s.id +WHERE ss.attribute_value = (SELECT MAX(attribute_value) FROM strength_scores) + AND TRIM(s.full_name) NOT IN ('', '-') +ORDER BY s.full_name; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird339.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird339.sql new file mode 100644 index 00000000..033d6313 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird339.sql @@ -0,0 +1,8 @@ +SELECT s.superhero_name, p.publisher_name +FROM superhero AS s +JOIN colour AS c ON c.id = s.eye_colour_id +LEFT JOIN publisher AS p ON p.id = s.publisher_id +WHERE s.eye_colour_id = s.hair_colour_id + AND s.eye_colour_id = s.skin_colour_id + AND c.colour <> 'No Colour' +ORDER BY s.superhero_name, p.publisher_name; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird340.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird340.sql new file mode 100644 index 00000000..aaf75828 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird340.sql @@ -0,0 +1,5 @@ +SELECT ROUND(100.0 * COUNT(CASE WHEN c.colour = 'Blue' THEN 1 END) / COUNT(*), 2) AS percentage +FROM superhero AS s +JOIN gender AS g ON g.id = s.gender_id +LEFT JOIN colour AS c ON c.id = s.skin_colour_id +WHERE g.gender = 'Female'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird341.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird341.sql new file mode 100644 index 00000000..f556dfae --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird341.sql @@ -0,0 +1,5 @@ +SELECT ROUND(100.0 * COUNT(CASE WHEN p.publisher_name = 'Marvel Comics' THEN 1 END) / NULLIF(COUNT(*), 0), 2) AS percentage +FROM superhero AS s +JOIN gender AS g ON g.id = s.gender_id +LEFT JOIN publisher AS p ON p.id = s.publisher_id +WHERE g.gender = 'Female'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird342.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird342.sql new file mode 100644 index 00000000..71eea8b1 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird342.sql @@ -0,0 +1,14 @@ +WITH publisher_counts AS ( + SELECT COUNT(CASE WHEN p.publisher_name = 'DC Comics' THEN 1 END) AS dc_count, + COUNT(CASE WHEN p.publisher_name = 'Marvel Comics' THEN 1 END) AS marvel_count + FROM superhero AS s + JOIN publisher AS p ON p.id = s.publisher_id + WHERE p.publisher_name IN ('DC Comics', 'Marvel Comics') +) +SELECT CASE + WHEN dc_count > marvel_count THEN 'DC Comics' + WHEN marvel_count > dc_count THEN 'Marvel Comics' + ELSE 'Tie' + END AS publisher, + ABS(dc_count - marvel_count) AS count_difference +FROM publisher_counts; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird343.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird343.sql new file mode 100644 index 00000000..56f0e740 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird343.sql @@ -0,0 +1,19 @@ +SELECT AVG(m.height_cm) AS average_height_cm +FROM superhero AS m +JOIN publisher AS mp ON mp.id = m.publisher_id +WHERE mp.publisher_name = 'Marvel Comics' + AND m.height_cm > 0 + AND EXISTS ( + SELECT 1 + FROM hero_power AS mhp + JOIN superpower AS sp ON sp.id = mhp.power_id + WHERE mhp.hero_id = m.id + AND NOT EXISTS ( + SELECT 1 + FROM hero_power AS dhp + JOIN superhero AS d ON d.id = dhp.hero_id + JOIN publisher AS dp ON dp.id = d.publisher_id + WHERE dp.publisher_name = 'DC Comics' + AND dhp.power_id = sp.id + ) + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird344.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird344.sql new file mode 100644 index 00000000..3e614c48 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird344.sql @@ -0,0 +1,24 @@ +WITH hero_powers AS ( + SELECT h.id AS hero_id, hp.power_id + FROM superhero AS h + JOIN hero_power AS hp ON hp.hero_id = h.id +), strength_heroes AS ( + SELECT DISTINCT hp.hero_id + FROM hero_powers AS hp + JOIN superpower AS p ON p.id = hp.power_id + WHERE p.power_name = 'Super Strength' +) +SELECT COUNT(*) AS power_count +FROM superpower AS p +WHERE EXISTS ( + SELECT 1 + FROM hero_powers AS hp + JOIN strength_heroes AS sh ON sh.hero_id = hp.hero_id + WHERE hp.power_id = p.id +) +AND NOT EXISTS ( + SELECT 1 + FROM hero_powers AS hp + LEFT JOIN strength_heroes AS sh ON sh.hero_id = hp.hero_id + WHERE hp.power_id = p.id AND sh.hero_id IS NULL +); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird345.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird345.sql new file mode 100644 index 00000000..ed2062d2 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird345.sql @@ -0,0 +1,5 @@ +SELECT ROUND(AVG(s.weight_kg), 1) AS average_weight_kg +FROM superhero AS s +JOIN colour AS c ON c.id = s.skin_colour_id +WHERE LOWER(c.colour) = 'green' + AND s.weight_kg > 0; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird346.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird346.sql new file mode 100644 index 00000000..fa235027 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird346.sql @@ -0,0 +1,4 @@ +SELECT COUNT(*) AS superhero_count +FROM superhero AS s +JOIN alignment AS a ON a.id = s.alignment_id +WHERE a.alignment NOT IN ('Good', 'Bad'); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird347.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird347.sql new file mode 100644 index 00000000..4fcb11cf --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird347.sql @@ -0,0 +1,15 @@ +WITH power_counts AS ( + SELECT sp.power_name, COUNT(DISTINCT h.id) AS hero_count + FROM superhero AS h + JOIN publisher AS p ON p.id = h.publisher_id + JOIN hero_power AS hp ON hp.hero_id = h.id + JOIN superpower AS sp ON sp.id = hp.power_id + WHERE p.publisher_name = 'Marvel Comics' + AND h.full_name IS NOT NULL + AND TRIM(h.full_name) NOT IN ('', '-') + GROUP BY sp.id, sp.power_name +) +SELECT power_name, hero_count +FROM power_counts +WHERE hero_count = (SELECT MAX(hero_count) FROM power_counts) +ORDER BY power_name; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird348.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird348.sql new file mode 100644 index 00000000..784a95b0 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird348.sql @@ -0,0 +1,19 @@ +WITH intelligence_scores AS ( + SELECT ha.hero_id, ha.attribute_value + FROM hero_attribute AS ha + JOIN attribute AS a ON a.id = ha.attribute_id + WHERE a.attribute_name = 'Intelligence' +), abomination_scores AS ( + SELECT i.attribute_value + FROM intelligence_scores AS i + JOIN superhero AS s ON s.id = i.hero_id + WHERE s.superhero_name = 'Abomination' +) +SELECT ROUND(AVG(s.weight_kg), 2) AS average_weight_kg +FROM superhero AS s +WHERE s.weight_kg > 0 + AND s.id IN ( + SELECT i.hero_id + FROM intelligence_scores AS i + WHERE i.attribute_value IN (SELECT attribute_value FROM abomination_scores) + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird349.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird349.sql new file mode 100644 index 00000000..8c07bbeb --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird349.sql @@ -0,0 +1,15 @@ +WITH qualified_heroes AS ( + SELECT h.id, h.gender_id + FROM superhero AS h + JOIN colour AS c ON c.id = h.hair_colour_id + JOIN hero_power AS hp ON hp.hero_id = h.id + WHERE LOWER(c.colour) = 'blue' + GROUP BY h.id, h.gender_id + HAVING COUNT(DISTINCT hp.power_id) >= 10 +) +SELECT g.gender, COUNT(q.id) AS superhero_count +FROM gender AS g +LEFT JOIN qualified_heroes AS q ON q.gender_id = g.id +WHERE LOWER(g.gender) IN ('male', 'female') +GROUP BY g.gender +ORDER BY g.gender; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird350.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird350.sql new file mode 100644 index 00000000..fecc05ff --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird350.sql @@ -0,0 +1,19 @@ +WITH hulk_strength AS ( + SELECT ha.attribute_value + FROM superhero AS h + JOIN hero_attribute AS ha ON ha.hero_id = h.id + JOIN attribute AS a ON a.id = ha.attribute_id + WHERE h.superhero_name = 'Hulk' + AND a.attribute_name = 'Strength' +) +SELECT CAST(ROUND(AVG(s.weight_kg)) AS INTEGER) AS average_weight_kg +FROM superhero AS s +WHERE s.weight_kg > 0 + AND EXISTS ( + SELECT 1 + FROM hero_attribute AS ha + JOIN attribute AS a ON a.id = ha.attribute_id + WHERE ha.hero_id = s.id + AND a.attribute_name = 'Strength' + AND ha.attribute_value IN (SELECT attribute_value FROM hulk_strength) + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird351.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird351.sql new file mode 100644 index 00000000..d7514d73 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird351.sql @@ -0,0 +1,9 @@ +WITH ranked_heroes AS ( + SELECT id, RANK() OVER (ORDER BY height_cm DESC) AS height_rank + FROM superhero +) +SELECT COUNT(DISTINCT sp.power_name) AS distinct_superpower_count +FROM ranked_heroes AS rh +LEFT JOIN hero_power AS hp ON hp.hero_id = rh.id +LEFT JOIN superpower AS sp ON sp.id = hp.power_id +WHERE rh.height_rank <= 10; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird352.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird352.sql new file mode 100644 index 00000000..44366680 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird352.sql @@ -0,0 +1,9 @@ +SELECT COUNT(*) AS character_count +FROM superhero AS s +LEFT JOIN race AS r ON r.id = s.race_id +WHERE s.publisher_id IN ( + SELECT publisher_id + FROM superhero + WHERE superhero_name = 'A-Bomb' +) +AND (r.race IS NULL OR r.race = '-'); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird354.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird354.sql new file mode 100644 index 00000000..1bf0a76d --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird354.sql @@ -0,0 +1,22 @@ +WITH cryokinesis_holder_powers AS ( + SELECT DISTINCT hp.power_id + FROM hero_power AS hp + WHERE hp.hero_id IN ( + SELECT ch.hero_id + FROM hero_power AS ch + JOIN superpower AS sp ON sp.id = ch.power_id + WHERE sp.power_name = 'Cryokinesis' + ) +), matching_heroes AS ( + SELECT DISTINCT hp.hero_id + FROM hero_power AS hp + JOIN cryokinesis_holder_powers AS cp ON cp.power_id = hp.power_id +), hero_power_counts AS ( + SELECT hp.hero_id, COUNT(DISTINCT hp.power_id) AS power_count + FROM matching_heroes AS mh + JOIN superhero AS h ON h.id = mh.hero_id + JOIN hero_power AS hp ON hp.hero_id = h.id + GROUP BY hp.hero_id +) +SELECT ROUND(AVG(power_count), 1) AS average_superpowers +FROM hero_power_counts; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird355.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird355.sql new file mode 100644 index 00000000..658d027a --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird355.sql @@ -0,0 +1,12 @@ +SELECT CAST(ROUND(AVG(dc.weight_kg)) AS INTEGER) AS average_weight_kg +FROM superhero AS dc +JOIN publisher AS dp ON dp.id = dc.publisher_id +WHERE dp.publisher_name = 'DC Comics' + AND dc.weight_kg IS NOT NULL + AND EXISTS ( + SELECT 1 + FROM superhero AS marvel + JOIN publisher AS mp ON mp.id = marvel.publisher_id + WHERE mp.publisher_name = 'Marvel Comics' + AND marvel.eye_colour_id = dc.eye_colour_id + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird356.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird356.sql new file mode 100644 index 00000000..3f936a71 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird356.sql @@ -0,0 +1,8 @@ +SELECT ROUND(AVG(s.height_cm), 1) AS average_height_cm +FROM superhero AS s +WHERE s.race_id IN ( + SELECT race_id + FROM superhero + WHERE superhero_name = 'A-Bomb' +) +AND s.height_cm > 0; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird357.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird357.sql new file mode 100644 index 00000000..4434a659 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird357.sql @@ -0,0 +1,11 @@ +SELECT AVG(h.weight_kg) AS average_weight_kg +FROM superhero AS h +JOIN race AS r ON r.id = h.race_id +WHERE h.weight_kg IS NOT NULL + AND NOT EXISTS ( + SELECT 1 + FROM superhero AS f + JOIN gender AS g ON g.id = f.gender_id + WHERE f.race_id = r.id + AND g.gender = 'Female' + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird359.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird359.sql new file mode 100644 index 00000000..33661aca --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird359.sql @@ -0,0 +1,6 @@ +SELECT COUNT(*) AS total_count +FROM superhero AS s +JOIN alignment AS a ON a.id = s.alignment_id +JOIN publisher AS p ON p.id = s.publisher_id +WHERE a.alignment = 'Good' + AND p.publisher_name <> 'DC Comics'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird360.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird360.sql new file mode 100644 index 00000000..fc6361ea --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird360.sql @@ -0,0 +1,5 @@ +SELECT ROUND(AVG(s.weight_kg), 1) AS average_weight_kg, + COUNT(s.weight_kg) AS superhero_count +FROM superhero AS s +JOIN publisher AS p ON p.id = s.publisher_id +WHERE p.publisher_name = 'DC Comics'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird361.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird361.sql new file mode 100644 index 00000000..37b40fd7 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird361.sql @@ -0,0 +1,15 @@ +SELECT COUNT(*) AS hero_count +FROM superhero AS h +WHERE h.publisher_id IN ( + SELECT b.publisher_id + FROM superhero AS b + WHERE b.superhero_name = 'Blackwulf' +) +AND EXISTS ( + SELECT 1 + FROM superhero AS other + JOIN publisher AS p ON p.id = other.publisher_id + WHERE other.publisher_id <> h.publisher_id + AND NULLIF(TRIM(p.publisher_name), '') IS NOT NULL + AND other.eye_colour_id = h.eye_colour_id +); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird362.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird362.sql new file mode 100644 index 00000000..32ad282d --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird362.sql @@ -0,0 +1,16 @@ +WITH race_counts AS ( + SELECT r.race, COUNT(*) AS superhero_count + FROM superhero AS s + JOIN race AS r ON r.id = s.race_id + WHERE s.publisher_id IN ( + SELECT publisher_id + FROM superhero + WHERE full_name = 'Charles Chandler' + ) + AND TRIM(r.race) NOT IN ('', '-') + GROUP BY r.race +) +SELECT race, superhero_count +FROM race_counts +WHERE superhero_count = (SELECT MAX(superhero_count) FROM race_counts) +ORDER BY race; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird363.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird363.sql new file mode 100644 index 00000000..91a14d8a --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird363.sql @@ -0,0 +1,5 @@ +SELECT ROUND(AVG(s.weight_kg), 2) AS average_weight_kg +FROM superhero AS s +JOIN gender AS g ON g.id = s.gender_id +WHERE g.gender = 'Female' + AND s.weight_kg IS NOT NULL; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird364.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird364.sql new file mode 100644 index 00000000..520897db --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird364.sql @@ -0,0 +1,13 @@ +SELECT ROUND(AVG(ha.attribute_value), 1) AS average_intelligence +FROM superhero AS h +JOIN hero_attribute AS ha ON ha.hero_id = h.id +JOIN attribute AS a ON a.id = ha.attribute_id +WHERE LOWER(a.attribute_name) = 'intelligence' + AND ha.attribute_value IS NOT NULL + AND EXISTS ( + SELECT 1 + FROM hero_power AS hp + JOIN superpower AS sp ON sp.id = hp.power_id + WHERE hp.hero_id = h.id + AND LOWER(sp.power_name) IN ('super speed', 'death touch') + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird365.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird365.sql new file mode 100644 index 00000000..cc0b816d --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird365.sql @@ -0,0 +1,13 @@ +WITH power_counts AS ( + SELECT hero_id, COUNT(DISTINCT power_id) AS power_count + FROM hero_power + GROUP BY hero_id +) +SELECT g.gender, + ROUND(AVG(COALESCE(p.power_count, 0)), 2) AS average_superpowers +FROM superhero AS h +JOIN gender AS g ON g.id = h.gender_id +LEFT JOIN power_counts AS p ON p.hero_id = h.id +WHERE g.gender IN ('Male', 'Female') + AND INSTR(TRIM(h.full_name), ' ') > 0 +GROUP BY g.gender; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird366.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird366.sql new file mode 100644 index 00000000..394ec01c --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird366.sql @@ -0,0 +1,7 @@ +SELECT ROUND(AVG(NULLIF(s.height_cm, 0)), 2) AS average_height_cm, + ROUND(AVG(NULLIF(s.weight_kg, 0)), 2) AS average_weight_kg +FROM superhero AS s +JOIN alignment AS a ON a.id = s.alignment_id +JOIN colour AS c ON c.id = s.skin_colour_id +WHERE a.alignment = 'Bad' COLLATE NOCASE + AND c.colour = 'Green' COLLATE NOCASE; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird367.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird367.sql new file mode 100644 index 00000000..5d71944e --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird367.sql @@ -0,0 +1,6 @@ +SELECT + ROUND(AVG(CASE WHEN s.height_cm > 0 THEN s.height_cm END), 1) AS average_height_cm, + ROUND(AVG(CASE WHEN s.weight_kg > 0 THEN s.weight_kg END), 1) AS average_weight_kg +FROM superhero AS s +JOIN publisher AS p ON p.id = s.publisher_id +WHERE p.publisher_name = 'George Lucas'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird368.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird368.sql new file mode 100644 index 00000000..20026887 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird368.sql @@ -0,0 +1,12 @@ +SELECT ROUND(AVG(h.height_cm), 1) AS average_height_cm +FROM superhero AS h +WHERE h.height_cm > 0 + AND EXISTS ( + SELECT 1 + FROM hero_power AS hp + JOIN hero_power AS target_hp ON target_hp.power_id = hp.power_id + JOIN superhero AS target ON target.id = target_hp.hero_id + WHERE hp.hero_id = h.id + AND target.superhero_name = '3-D Man' + AND h.id <> target.id + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird369.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird369.sql new file mode 100644 index 00000000..d509a322 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird369.sql @@ -0,0 +1,14 @@ +SELECT CAST(ROUND(AVG(s.weight_kg)) AS INTEGER) AS average_weight_kg +FROM superhero AS s +JOIN alignment AS a ON a.id = s.alignment_id +JOIN colour AS c ON c.id = s.skin_colour_id +WHERE a.alignment = 'Bad' COLLATE NOCASE + AND c.colour = 'Green' COLLATE NOCASE + AND s.weight_kg > 0 + AND EXISTS ( + SELECT 1 + FROM hero_power AS hp + JOIN superpower AS p ON p.id = hp.power_id + WHERE hp.hero_id = s.id + AND p.power_name = 'Flight' COLLATE NOCASE + ) diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird370.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird370.sql new file mode 100644 index 00000000..1dc9e947 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird370.sql @@ -0,0 +1,11 @@ +SELECT ROUND(AVG(h.weight_kg), 2) AS average_weight_kg +FROM superhero AS h +JOIN publisher AS p ON p.id = h.publisher_id +WHERE p.publisher_name = 'George Lucas' + AND h.weight_kg IS NOT NULL + AND EXISTS ( + SELECT 1 + FROM hero_power AS hp + JOIN superpower AS sp ON sp.id = hp.power_id + WHERE hp.hero_id = h.id + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird371.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird371.sql new file mode 100644 index 00000000..7a3f7ed4 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird371.sql @@ -0,0 +1,7 @@ +SELECT ROUND(AVG(s.weight_kg), 2) AS average_weight_kg +FROM superhero AS s +JOIN gender AS g ON g.id = s.gender_id +JOIN alignment AS a ON a.id = s.alignment_id +WHERE g.gender = 'Female' + AND a.alignment = 'Good' + AND s.weight_kg IS NOT NULL; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird372.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird372.sql new file mode 100644 index 00000000..e560cccc --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird372.sql @@ -0,0 +1,8 @@ +SELECT COUNT(DISTINCT p.id) AS superpower_count +FROM superhero AS s +JOIN gender AS g ON g.id = s.gender_id +JOIN hero_power AS hp ON hp.hero_id = s.id +JOIN superpower AS p ON p.id = hp.power_id +WHERE g.gender = 'Male' + AND s.weight_kg > 0 + AND s.weight_kg < 70; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird373.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird373.sql new file mode 100644 index 00000000..b159d464 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird373.sql @@ -0,0 +1,8 @@ +SELECT c.colour +FROM superhero AS s +JOIN race AS r ON r.id = s.race_id +LEFT JOIN colour AS c ON c.id = s.hair_colour_id +WHERE r.race = 'Human' + AND s.height_cm > 0 +ORDER BY s.height_cm, s.id +LIMIT 1; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird374.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird374.sql new file mode 100644 index 00000000..e75bd96f --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird374.sql @@ -0,0 +1,13 @@ +WITH lightest_weight AS ( + SELECT MIN(NULLIF(weight_kg, 0)) AS weight_kg + FROM superhero +), hero_power_counts AS ( + SELECT h.id, COUNT(DISTINCT p.power_name) AS power_count + FROM superhero AS h + JOIN lightest_weight AS w ON h.weight_kg = w.weight_kg + LEFT JOIN hero_power AS hp ON hp.hero_id = h.id + LEFT JOIN superpower AS p ON p.id = hp.power_id + GROUP BY h.id +) +SELECT MAX(power_count) AS max_power_count +FROM hero_power_counts; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird375.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird375.sql new file mode 100644 index 00000000..cad934bb --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird375.sql @@ -0,0 +1,5 @@ +SELECT COUNT(*) AS hero_count +FROM superhero AS s +JOIN alignment AS a ON a.id = s.alignment_id +WHERE a.alignment = 'Neutral' + AND TRIM(s.full_name) NOT IN ('', '-'); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird376.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird376.sql new file mode 100644 index 00000000..00f1ee88 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird376.sql @@ -0,0 +1,16 @@ +WITH speed AS ( + SELECT ha.hero_id, ha.attribute_value + FROM hero_attribute AS ha + JOIN attribute AS a ON a.id = ha.attribute_id + WHERE a.attribute_name = 'Speed' +) +SELECT s.superhero_name, s.full_name +FROM superhero AS s +WHERE TRIM(s.full_name) NOT IN ('', '-') + AND EXISTS ( + SELECT 1 + FROM speed AS sp + WHERE sp.hero_id = s.id + AND sp.attribute_value = (SELECT MAX(attribute_value) FROM speed) + ) +ORDER BY s.superhero_name, s.full_name; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird377.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird377.sql new file mode 100644 index 00000000..a9a8cc49 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird377.sql @@ -0,0 +1,8 @@ +SELECT eye.colour AS eye_colour, + COUNT(CASE WHEN hair.colour <> 'Brown' THEN 1 END) AS hero_count +FROM superhero AS h +JOIN colour AS eye ON eye.id = h.eye_colour_id +LEFT JOIN colour AS hair ON hair.id = h.hair_colour_id +GROUP BY eye.colour +HAVING COUNT(CASE WHEN hair.colour = 'Brown' THEN 1 END) > 0 +ORDER BY hero_count DESC, eye_colour ASC; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird378.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird378.sql new file mode 100644 index 00000000..0b17ac5e --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird378.sql @@ -0,0 +1,7 @@ +SELECT ROUND(100.0 * COUNT(CASE WHEN a.alignment = 'Good' THEN 1 END) / COUNT(*), 2) AS good_percentage +FROM superhero AS s +JOIN publisher AS p ON p.id = s.publisher_id +LEFT JOIN alignment AS a ON a.id = s.alignment_id +WHERE p.publisher_name = 'Marvel Comics' + AND INSTR(TRIM(s.full_name), ' ') > 0 + AND TRIM(s.full_name) NOT IN ('Howard (Last name unrevealed)', 'Weapon XI'); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird380.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird380.sql new file mode 100644 index 00000000..3c4c2dc5 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird380.sql @@ -0,0 +1,12 @@ +SELECT ROUND(AVG(h.weight_kg), 2) AS average_weight_kg +FROM superhero AS h +WHERE h.weight_kg > 0 + AND EXISTS ( + SELECT 1 + FROM superhero AS target + JOIN hero_power AS tp ON tp.hero_id = target.id + JOIN hero_power AS hp ON hp.power_id = tp.power_id + WHERE target.superhero_name = '3-D Man' + AND hp.hero_id = h.id + AND h.id <> target.id + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird381.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird381.sql new file mode 100644 index 00000000..ae698b7a --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird381.sql @@ -0,0 +1,5 @@ +SELECT COUNT(CASE WHEN c.colour = 'No Colour' THEN 1 END) + - COUNT(CASE WHEN c.colour = 'Blue' THEN 1 END) AS eye_count_difference +FROM superhero AS s +JOIN colour AS c ON c.id = s.eye_colour_id +WHERE s.weight_kg IS NULL; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird382.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird382.sql new file mode 100644 index 00000000..73f76688 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird382.sql @@ -0,0 +1,6 @@ +SELECT + 1.0 * COUNT(DISTINCT CASE WHEN p.SEX = 'M' AND l.UA > 8.0 THEN p.ID END) + / NULLIF(COUNT(DISTINCT CASE WHEN p.SEX = 'F' AND l.UA > 6.5 THEN p.ID END), 0) + AS male_to_female_ratio +FROM Patient AS p +JOIN Laboratory AS l ON l.ID = p.ID; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird383.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird383.sql new file mode 100644 index 00000000..8545033e --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird383.sql @@ -0,0 +1,6 @@ +SELECT ROUND(AVG(l.ALB), 4) AS average_alb +FROM Laboratory AS l +JOIN Patient AS p ON p.ID = l.ID +WHERE l.PLT > 400 + AND p.SEX = 'F' + AND p.Diagnosis LIKE '%SLE%'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird384.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird384.sql new file mode 100644 index 00000000..e019772b --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird384.sql @@ -0,0 +1,5 @@ +SELECT COUNT(DISTINCT p.ID) AS patient_count +FROM Patient AS p +JOIN Laboratory AS l ON l.ID = p.ID +WHERE l.TG >= 200 + AND date(p.Birthday) <= date('2026-10-09', '-51 years'); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird385.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird385.sql new file mode 100644 index 00000000..f147de75 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird385.sql @@ -0,0 +1,14 @@ +SELECT p.ID AS patient_id, + p.SEX AS sex, + CAST(strftime('%Y', '2026-10-09') AS INTEGER) + - CAST(strftime('%Y', p.Birthday) AS INTEGER) + - (strftime('%m-%d', p.Birthday) > strftime('%m-%d', '2026-10-09')) AS completed_age +FROM Patient AS p +WHERE EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND l.GLU >= 180 + AND l."T-CHO" < 250 +) +ORDER BY p.ID; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird386.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird386.sql new file mode 100644 index 00000000..914fe952 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird386.sql @@ -0,0 +1,14 @@ +WITH qualifying_patients AS ( + SELECT ID + FROM Laboratory + WHERE HCT >= 52 + GROUP BY ID + HAVING COUNT(*) >= 2 +) +SELECT p.ID, + CAST(strftime('%Y', '2026-10-09') AS INTEGER) + - CAST(strftime('%Y', p.Birthday) AS INTEGER) + - (strftime('%m-%d', p.Birthday) > '10-09') AS age +FROM Patient AS p +JOIN qualifying_patients AS q ON q.ID = p.ID +ORDER BY p.ID; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird387.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird387.sql new file mode 100644 index 00000000..5cb5ff2d --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird387.sql @@ -0,0 +1,13 @@ +SELECT ROUND( + 100.0 * COUNT(DISTINCT CASE WHEN p.SEX = 'F' THEN p.ID END) + / NULLIF(COUNT(DISTINCT p.ID), 0), + 2 +) AS female_percentage +FROM Patient AS p +WHERE DATE(p.Birthday) <= DATE('2026-10-09', '-56 years') + AND EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND l.PT >= 14 + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird388.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird388.sql new file mode 100644 index 00000000..f53e5dba --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird388.sql @@ -0,0 +1,9 @@ +SELECT COUNT(DISTINCT p.ID) AS patient_count +FROM Patient AS p +WHERE p.Description IS NULL + AND EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND l.CRP LIKE '%+%' + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird390.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird390.sql new file mode 100644 index 00000000..9d0cedb1 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird390.sql @@ -0,0 +1,13 @@ +SELECT ROUND( + 100.0 * COUNT(DISTINCT CASE WHEN p.Admission = '+' THEN p.ID END) + / NULLIF(COUNT(DISTINCT p.ID), 0), + 2 +) AS inpatient_percentage +FROM Patient AS p +WHERE p.Birthday >= '1930-01-01' + AND p.Birthday < '1941-01-01' + AND EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird391.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird391.sql new file mode 100644 index 00000000..3918eb92 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird391.sql @@ -0,0 +1,16 @@ +WITH highest_rnp_tests AS ( + SELECT ID, Date, "T-BIL" + FROM Laboratory + WHERE CAST(NULLIF(RNP, 'negative') AS REAL) = ( + SELECT MAX(CAST(NULLIF(RNP, 'negative') AS REAL)) + FROM Laboratory + ) +) +SELECT l."T-BIL" AS total_bilirubin, + l.Date AS test_date, + l.ID AS patient_id, + p.SEX AS sex, + p.Birthday AS birthday +FROM highest_rnp_tests AS l +LEFT JOIN Patient AS p ON p.ID = l.ID +WHERE l."T-BIL" = (SELECT MAX("T-BIL") FROM highest_rnp_tests); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird392.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird392.sql new file mode 100644 index 00000000..ed8c5405 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird392.sql @@ -0,0 +1,9 @@ +SELECT COUNT(DISTINCT p.ID) +FROM Patient AS p +WHERE DATE(p.Birthday) > '1960-01-01' + AND NOT EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND CAST(l.RNP AS REAL) > 10 + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird393.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird393.sql new file mode 100644 index 00000000..a2e3d969 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird393.sql @@ -0,0 +1,22 @@ +WITH patient_titers AS ( + SELECT l.ID AS patient_id, + MAX(CAST(l.RNP AS INTEGER)) AS anti_rnp_titer + FROM Laboratory AS l + WHERE LOWER(TRIM(l.RNP)) <> 'negative' + AND EXISTS ( + SELECT 1 + FROM Patient AS p + WHERE p.ID = l.ID AND p.Admission = '-' + ) + AND EXISTS ( + SELECT 1 + FROM Laboratory AS s + WHERE s.ID = l.ID + AND LOWER(TRIM(s.SSA)) NOT IN ('negative', '0') + ) + GROUP BY l.ID +) +SELECT patient_id, anti_rnp_titer +FROM patient_titers +WHERE anti_rnp_titer = (SELECT MAX(anti_rnp_titer) FROM patient_titers) +ORDER BY patient_id; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird394.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird394.sql new file mode 100644 index 00000000..6c5e4d1f --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird394.sql @@ -0,0 +1,21 @@ +SELECT COUNT(DISTINCT p.ID) AS patient_count +FROM Patient AS p +WHERE TRIM(p.Diagnosis) = 'MCTD' + AND NOT EXISTS ( + SELECT 1 + FROM Examination AS e + WHERE e.ID = p.ID + AND TRIM(e.Diagnosis) NOT IN ('', 'MCTD') + ) + AND EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND l.PLT BETWEEN 100 AND 400 + ) + AND EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND CAST(l.RNP AS REAL) > 5 + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird395.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird395.sql new file mode 100644 index 00000000..b6706e40 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird395.sql @@ -0,0 +1,16 @@ +WITH patient_lab_dates AS ( + SELECT p.ID, p.SEX, COUNT(DISTINCT l."Date") AS lab_date_count + FROM Patient AS p + LEFT JOIN Laboratory AS l ON l.ID = p.ID + WHERE p.SEX IN ('F', 'M') + AND NOT EXISTS ( + SELECT 1 + FROM Examination AS e + WHERE e.ID = p.ID + ) + GROUP BY p.ID, p.SEX +) +SELECT SEX, ROUND(AVG(lab_date_count), 2) AS avg_lab_test_dates +FROM patient_lab_dates +GROUP BY SEX +ORDER BY SEX; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird396.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird396.sql new file mode 100644 index 00000000..295a9b34 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird396.sql @@ -0,0 +1,16 @@ +WITH eligible_tests AS ( + SELECT l.ID, l."Date", l.DNA, CAST(l.DNA AS REAL) AS dna_level + FROM Laboratory AS l + WHERE l.DNA IS NOT NULL + AND EXISTS ( + SELECT 1 + FROM Patient AS p + WHERE p.ID = l.ID + AND p.SEX = 'F' + AND p.Admission = '+' + ) +) +SELECT ID, "Date", DNA +FROM eligible_tests +WHERE dna_level = (SELECT MAX(dna_level) FROM eligible_tests) +ORDER BY ID; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird397.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird397.sql new file mode 100644 index 00000000..70de4181 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird397.sql @@ -0,0 +1,18 @@ +WITH care_settings(admission) AS ( + VALUES ('+'), ('-') +), qualifying_patients AS ( + SELECT p."ID", p."Admission" + FROM "Patient" AS p + WHERE EXISTS ( + SELECT 1 + FROM "Laboratory" AS l + WHERE l."ID" = p."ID" + AND CAST(l."RNP" AS REAL) > 16 + ) +) +SELECT s.admission AS care_setting, + COUNT(DISTINCT p."ID") AS patient_count +FROM care_settings AS s +LEFT JOIN qualifying_patients AS p ON p."Admission" = s.admission +GROUP BY s.admission +ORDER BY s.admission; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird398.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird398.sql new file mode 100644 index 00000000..f9ff0ce9 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird398.sql @@ -0,0 +1,14 @@ +SELECT COUNT(DISTINCT p.ID) AS patient_count +FROM Patient AS p +WHERE EXISTS ( + SELECT 1 + FROM Laboratory AS h + WHERE h.ID = p.ID + AND (h.HCT <= 29 OR h.HCT >= 52) +) +AND EXISTS ( + SELECT 1 + FROM Laboratory AS r + WHERE r.ID = p.ID + AND CAST(r.RNP AS REAL) > 16 +); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird399.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird399.sql new file mode 100644 index 00000000..3ee3a35f --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird399.sql @@ -0,0 +1,4 @@ +SELECT MAX(CAST(NULLIF(l.RNP, 'negative') AS NUMERIC)) AS highest_anti_rnp +FROM Laboratory AS l +JOIN Patient AS p ON p.ID = l.ID +WHERE p.Admission = '-'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird400.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird400.sql new file mode 100644 index 00000000..d3a7810f --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird400.sql @@ -0,0 +1,39 @@ +WITH RECURSIVE diagnosis_parts (ID, diagnosis, remaining) AS ( + SELECT ID, NULL, + CASE + WHEN TRIM(UPPER(Diagnosis)) IN ('RA SJS', 'SJS RA') THEN 'RA,SJS' + ELSE REPLACE(UPPER(Diagnosis), CHAR(29), ',') + END || ',' + FROM Patient + WHERE Diagnosis IS NOT NULL + + UNION ALL + + SELECT ID, + TRIM(SUBSTR(remaining, 1, INSTR(remaining, ',') - 1), ' ' || CHAR(9, 10, 11, 13)), + SUBSTR(remaining, INSTR(remaining, ',') + 1) + FROM diagnosis_parts + WHERE remaining <> '' +), overlap_patients AS ( + SELECT ID + FROM diagnosis_parts + WHERE diagnosis <> '' + AND diagnosis NOT LIKE '% SUSP' + AND diagnosis NOT LIKE '% SUSP.' + GROUP BY ID + HAVING COUNT(DISTINCT diagnosis) = 2 + AND MAX(diagnosis = 'RA') = 1 + AND MAX(diagnosis = 'SJS') = 1 +), platelet_history AS ( + SELECT p.ID, EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND l.PLT > 100 + AND l.PLT < 400 + ) AS has_normal_platelet + FROM overlap_patients AS p +) +SELECT COUNT(CASE WHEN has_normal_platelet = 1 THEN 1 END) AS ever_normal_platelet, + COUNT(CASE WHEN has_normal_platelet = 0 THEN 1 END) AS never_normal_platelet +FROM platelet_history; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird401.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird401.sql new file mode 100644 index 00000000..932eb2cf --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird401.sql @@ -0,0 +1,14 @@ +SELECT ROUND(AVG(l.TP - 8.5), 3) AS average_tp_deviation +FROM Laboratory AS l +WHERE l.TP > 8.5 + AND EXISTS ( + SELECT 1 + FROM Patient AS p + WHERE p.ID = l.ID AND p.SEX = 'F' + ) + AND EXISTS ( + SELECT 1 + FROM Examination AS e + WHERE e.ID = l.ID + AND ',' || REPLACE(REPLACE(REPLACE(UPPER(e.Diagnosis), ' ', ''), '+', ','), '->', ',') || ',' LIKE '%,SLE,%' + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird402.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird402.sql new file mode 100644 index 00000000..e016539b --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird402.sql @@ -0,0 +1,7 @@ +SELECT ROUND( + 100.0 * COUNT(DISTINCT CASE WHEN Birthday >= '1960-01-01' THEN ID END) + / NULLIF(COUNT(DISTINCT ID), 0), + 1 +) AS percentage +FROM Patient +WHERE LOWER(TRIM(Diagnosis)) = 'psoriatic arthritis'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird403.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird403.sql new file mode 100644 index 00000000..9c1259e0 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird403.sql @@ -0,0 +1,14 @@ +WITH sex_groups(sex) AS ( + VALUES ('F'), ('M') +) +SELECT s.sex, COUNT(DISTINCT p.ID) AS patient_count +FROM sex_groups AS s +LEFT JOIN Patient AS p + ON p.SEX = s.sex + AND EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID AND l.ALB < 3.5 + ) +GROUP BY s.sex +ORDER BY s.sex; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird404.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird404.sql new file mode 100644 index 00000000..6b623253 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird404.sql @@ -0,0 +1,9 @@ +SELECT ROUND( + 100.0 * COUNT(DISTINCT CASE WHEN CAST(TRIM(l.RNP) AS INTEGER) > 64 THEN p.ID END) + / NULLIF(COUNT(DISTINCT p.ID), 0), + 2 +) AS elevated_rnp_percentage +FROM Patient AS p +JOIN Laboratory AS l ON l.ID = p.ID +WHERE p.SEX = 'F' + AND NULLIF(TRIM(l.RNP), '') IS NOT NULL; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird405.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird405.sql new file mode 100644 index 00000000..0b965ec4 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird405.sql @@ -0,0 +1,8 @@ +SELECT AVG(1999 - CAST(strftime('%Y', p.Birthday) AS INTEGER)) AS average_age_years +FROM Patient AS p +WHERE EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND l."U-PRO" IN ('3', '4', '300', '>=300', '1000', '>=1000') +); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird406.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird406.sql new file mode 100644 index 00000000..da2a31cb --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird406.sql @@ -0,0 +1,10 @@ +SELECT + COUNT(DISTINCT CASE WHEN p.SEX = 'F' THEN p.ID END) AS women, + COUNT(DISTINCT CASE WHEN p.SEX = 'M' THEN p.ID END) AS men +FROM Patient AS p +WHERE EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND CAST(l.RNP AS REAL) > 32 +); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird407.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird407.sql new file mode 100644 index 00000000..ec3c9046 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird407.sql @@ -0,0 +1,4 @@ +SELECT MIN(CAST(strftime('%Y', l."Date") AS INTEGER) - CAST(strftime('%Y', p.Birthday) AS INTEGER)) AS youngest_age +FROM Laboratory AS l +JOIN Patient AS p ON p.ID = l.ID +WHERE CAST(l.RNP AS INTEGER) >= 64; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird408.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird408.sql new file mode 100644 index 00000000..ca2d79f2 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird408.sql @@ -0,0 +1,9 @@ +WITH diagnosed_patients AS ( + SELECT DISTINCT ID + FROM Patient + WHERE TRIM(Diagnosis) = 'Psoriatic arthritis' COLLATE NOCASE +) +SELECT COUNT(l.ID) AS total_laboratory_tests, + COUNT(DISTINCT CASE WHEN l.ID IS NULL THEN p.ID END) AS patients_with_no_laboratory_tests +FROM diagnosed_patients AS p +LEFT JOIN Laboratory AS l ON l.ID = p.ID; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird409.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird409.sql new file mode 100644 index 00000000..421b205e --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird409.sql @@ -0,0 +1,6 @@ +SELECT COUNT(DISTINCT p."ID") AS patient_count +FROM "Patient" AS p +JOIN "Examination" AS e ON e."ID" = p."ID" +WHERE e."Examination Date" >= '1997-01-01' + AND e."Examination Date" < '1998-01-01' + AND e."Thrombosis" > 0; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird410.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird410.sql new file mode 100644 index 00000000..e45c8708 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird410.sql @@ -0,0 +1,25 @@ +WITH RECURSIVE patient_diseases(patient_id, disease, remaining) AS ( + SELECT ID, '', + REPLACE(REPLACE(UPPER(Diagnosis), CHAR(29), ','), 'SLE SJS', 'SLE,SJS') || ',' + FROM Patient + WHERE Diagnosis IS NOT NULL + UNION ALL + SELECT patient_id, + TRIM(SUBSTR(remaining, 1, INSTR(remaining, ',') - 1)), + SUBSTR(remaining, INSTR(remaining, ',') + 1) + FROM patient_diseases + WHERE remaining <> '' +) +SELECT e.Symptoms AS symptom +FROM Examination AS e +WHERE e.Thrombosis > 0 + AND NULLIF(TRIM(e.Symptoms), '') IS NOT NULL + AND EXISTS ( + SELECT 1 + FROM patient_diseases AS d + WHERE d.patient_id = e.ID + AND d.disease IN ('SLE', 'SLE (DIFFUSE LE)') + ) +GROUP BY e.Symptoms +ORDER BY COUNT(*) DESC, symptom COLLATE NOCASE ASC, symptom ASC +LIMIT 1; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird411.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird411.sql new file mode 100644 index 00000000..5afe517e --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird411.sql @@ -0,0 +1,9 @@ +SELECT ROUND( + 100.0 * COUNT(DISTINCT CASE + WHEN ',' || REPLACE(REPLACE(UPPER("Diagnosis"), ' ', ''), '+', ',') || ',' LIKE '%,SLE,%' + THEN "ID" + END) / NULLIF(COUNT(DISTINCT "ID"), 0), + 2 +) AS sle_percentage +FROM "Examination" +WHERE "Thrombosis" > 0; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird412.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird412.sql new file mode 100644 index 00000000..3a481065 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird412.sql @@ -0,0 +1,9 @@ +WITH first_examination AS ( + SELECT ID, MIN(JULIANDAY("Examination Date")) AS first_exam_day + FROM Examination + GROUP BY ID +) +SELECT ROUND(AVG(e.first_exam_day - JULIANDAY(p."First Date"))) AS average_delay_days +FROM Patient AS p +JOIN first_examination AS e ON e.ID = p.ID +WHERE INSTR(p.Admission, '+') > 0; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird413.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird413.sql new file mode 100644 index 00000000..e2f37918 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird413.sql @@ -0,0 +1,12 @@ +WITH sexes(sex) AS ( + VALUES ('F'), ('M') +) +SELECT s.sex, COUNT(DISTINCT l.ID) AS patient_count +FROM sexes AS s +LEFT JOIN Patient AS p ON p.SEX = s.sex +LEFT JOIN Laboratory AS l ON l.ID = p.ID + AND l."Date" >= '1994-01-01' + AND l."Date" < '1995-01-01' + AND l.GOT < 60 +GROUP BY s.sex +ORDER BY s.sex; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird414.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird414.sql new file mode 100644 index 00000000..baf27d28 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird414.sql @@ -0,0 +1,22 @@ +WITH lab_panels AS ( + SELECT ID, LDH, TRIM("U-PRO") AS protein + FROM Laboratory +) +SELECT p.ID AS patient_id, + 2026 - CAST(STRFTIME('%Y', p.Birthday) AS INTEGER) + - (STRFTIME('%m-%d', p.Birthday) > '10-09') AS age +FROM Patient AS p +WHERE EXISTS ( + SELECT 1 + FROM lab_panels AS l + WHERE l.ID = p.ID + AND l.LDH > 600 + AND l.LDH < 800 + AND CAST(CASE + WHEN l.protein LIKE '>=%' THEN SUBSTR(l.protein, 3) + WHEN l.protein LIKE '≥%' THEN SUBSTR(l.protein, 2) + WHEN LOWER(l.protein) LIKE 'at least %' THEN SUBSTR(l.protein, 10) + ELSE l.protein + END AS REAL) >= 300 +) +ORDER BY p.ID; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird415.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird415.sql new file mode 100644 index 00000000..f572f7b6 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird415.sql @@ -0,0 +1,9 @@ +SELECT COUNT(DISTINCT CASE WHEN p.SEX = 'F' THEN p.ID END) + - COUNT(DISTINCT CASE WHEN p.SEX = 'M' THEN p.ID END) AS difference +FROM Patient AS p +WHERE p.Diagnosis = 'RA' + AND EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID AND l.UN < 30 + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird416.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird416.sql new file mode 100644 index 00000000..38a297ac --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird416.sql @@ -0,0 +1,18 @@ +WITH patients_by_sex AS ( + SELECT DISTINCT ID, SEX + FROM Patient + WHERE SEX IN ('M', 'F') +), abnormal_creatinine AS ( + SELECT DISTINCT ID + FROM Laboratory + WHERE CRE >= 1.5 +) +SELECT + p.SEX AS sex, + COUNT(a.ID) AS patients_with_abnormal_creatinine, + COUNT(*) AS total_patients, + ROUND(100.0 * COUNT(a.ID) / COUNT(*), 1) AS percentage +FROM patients_by_sex AS p +LEFT JOIN abnormal_creatinine AS a ON a.ID = p.ID +GROUP BY p.SEX +ORDER BY p.SEX DESC; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird417.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird417.sql new file mode 100644 index 00000000..4851920b --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird417.sql @@ -0,0 +1,18 @@ +WITH ranked_patients AS ( + SELECT MAX(l."T-CHO") AS "T-CHO", + p.Admission, + p.ID, + RANK() OVER ( + PARTITION BY p.Admission + ORDER BY MAX(l."T-CHO") DESC + ) AS cholesterol_rank + FROM Patient AS p + JOIN Laboratory AS l ON l.ID = p.ID + WHERE p.Admission IN ('+', '-') + AND l."T-CHO" IS NOT NULL + GROUP BY p.Admission, p.ID +) +SELECT "T-CHO", Admission, ID +FROM ranked_patients +WHERE cholesterol_rank = 1 +ORDER BY CASE Admission WHEN '+' THEN 0 ELSE 1 END, ID; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird418.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird418.sql new file mode 100644 index 00000000..7a4d2426 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird418.sql @@ -0,0 +1,13 @@ +WITH patient_levels AS ( + SELECT p.ID AS patient_id, MAX(CAST(l.RNP AS INTEGER)) AS anti_rnp_level + FROM Patient AS p + JOIN Laboratory AS l ON l.ID = p.ID + WHERE p."First Date" >= '1991-01-01' + AND p."First Date" < '1992-01-01' + AND l.RNP IS NOT NULL + GROUP BY p.ID +) +SELECT patient_id, anti_rnp_level +FROM patient_levels +WHERE anti_rnp_level = (SELECT MAX(anti_rnp_level) FROM patient_levels) +ORDER BY patient_id; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird419.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird419.sql new file mode 100644 index 00000000..89a68dbe --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird419.sql @@ -0,0 +1,11 @@ +SELECT AVG("HCT") AS average_hematocrit +FROM "Laboratory" +WHERE "Date" >= '1991-01-01' + AND "Date" < '1992-01-01' + AND "HCT" IS NOT NULL + AND CAST( + CASE + WHEN TRIM("U-PRO") LIKE '>=%' THEN SUBSTR(TRIM("U-PRO"), 3) + ELSE TRIM("U-PRO") + END AS REAL + ) >= 300; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird420.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird420.sql new file mode 100644 index 00000000..fc15bd96 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird420.sql @@ -0,0 +1,21 @@ +WITH proteinuria AS ( + SELECT ID, + CASE + WHEN TRIM("U-PRO") LIKE '>=%' + THEN CAST(SUBSTR(TRIM("U-PRO"), 3) AS REAL) + WHEN TRIM("U-PRO") LIKE '+%(%)' + THEN CAST(SUBSTR(TRIM("U-PRO"), INSTR(TRIM("U-PRO"), '(') + 1) AS REAL) + ELSE CAST("U-PRO" AS REAL) + END AS proteinuria_level + FROM Laboratory +) +SELECT COUNT(DISTINCT CASE WHEN p.Admission = '+' THEN p.ID END) AS admitted_patients, + COUNT(DISTINCT CASE WHEN p.Admission = '-' THEN p.ID END) AS outpatient_patients +FROM Patient AS p +WHERE TRIM(p.Diagnosis) = 'SLE' + AND EXISTS ( + SELECT 1 + FROM proteinuria AS l + WHERE l.ID = p.ID + AND l.proteinuria_level >= 30 + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird421.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird421.sql new file mode 100644 index 00000000..cf3be291 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird421.sql @@ -0,0 +1,15 @@ +SELECT COUNT(DISTINCT p.ID) AS patient_count +FROM Patient AS p +WHERE p.Admission = '-' + AND EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND l.RA IN ('-', '+-') + ) + AND NOT EXISTS ( + SELECT 1 + FROM Examination AS e + WHERE e.ID = p.ID + AND (e.KCT = '+' OR e.RVVT = '+' OR e.LAC = '+') + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird422.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird422.sql new file mode 100644 index 00000000..0f891ea0 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird422.sql @@ -0,0 +1,17 @@ +WITH latest_dates AS ( + SELECT "ID", + MAX("Date") AS latest_sample_date, + MAX(CASE WHEN "SC170" IS NOT NULL THEN "Date" END) AS latest_scl70_date + FROM "Laboratory" + GROUP BY "ID" +) +SELECT d."ID" +FROM latest_dates AS d +JOIN "Laboratory" AS l + ON l."ID" = d."ID" + AND l."Date" = d.latest_scl70_date +WHERE d.latest_sample_date > '1997-01-01' + AND l."SC170" IS NOT NULL +GROUP BY d."ID" +HAVING MIN(CASE WHEN l."SC170" IN ('negative', '0') THEN 1 ELSE 0 END) = 1 +ORDER BY d."ID"; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird424.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird424.sql new file mode 100644 index 00000000..53b50c7e --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird424.sql @@ -0,0 +1,5 @@ +SELECT COUNT(DISTINCT p.ID) AS patient_count +FROM Patient AS p +JOIN Laboratory AS l ON l.ID = p.ID +WHERE p.SEX = 'F' + AND CAST(l.DNA AS REAL) < 8; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird425.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird425.sql new file mode 100644 index 00000000..6e9eee30 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird425.sql @@ -0,0 +1,9 @@ +SELECT COUNT(DISTINCT p.ID) AS patient_count +FROM Patient AS p +WHERE p.Admission <> '-' + AND NOT EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND l.ALP >= 300 + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird426.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird426.sql new file mode 100644 index 00000000..2bf4c699 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird426.sql @@ -0,0 +1,3 @@ +SELECT MAX(CAST(NULLIF(RNP, 'negative') AS NUMERIC)) AS highest_anti_rnp +FROM Laboratory +WHERE CRE < 1.5; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird427.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird427.sql new file mode 100644 index 00000000..5317cbac --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird427.sql @@ -0,0 +1,14 @@ +WITH sexes(code, sex) AS ( + VALUES ('F', 'female'), ('M', 'male') +) +SELECT s.sex, COUNT(DISTINCT p.ID) AS patient_count +FROM sexes AS s +LEFT JOIN Patient AS p + ON UPPER(TRIM(p.SEX)) IN (s.code, UPPER(s.sex)) + AND EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID AND l.HGB < 7.0 + ) +GROUP BY s.sex +ORDER BY s.sex; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird428.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird428.sql new file mode 100644 index 00000000..ee119272 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird428.sql @@ -0,0 +1,8 @@ +WITH eligible_tests AS ( + SELECT ID, Date, RNP, CAST(NULLIF(RNP, 'negative') AS INTEGER) AS rnp_value + FROM Laboratory + WHERE GOT >= 60 +) +SELECT ID, Date, RNP +FROM eligible_tests +WHERE rnp_value = (SELECT MAX(rnp_value) FROM eligible_tests); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird430.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird430.sql new file mode 100644 index 00000000..484142fb --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird430.sql @@ -0,0 +1,15 @@ +WITH patient_groups(admission, patient_group, sort_order) AS ( + VALUES ('+', 'admitted to the hospital', 1), + ('-', 'followed at the outpatient clinic', 2) +), patient_admissions AS ( + SELECT DISTINCT ID, Admission + FROM Patient + WHERE Admission IN ('+', '-') +) +SELECT g.patient_group, + COUNT(l.LDH) AS normal_ldh_measurements +FROM patient_groups AS g +LEFT JOIN patient_admissions AS p ON p.Admission = g.admission +LEFT JOIN Laboratory AS l ON l.ID = p.ID AND l.LDH < 500 +GROUP BY g.sort_order, g.patient_group +ORDER BY g.sort_order; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird431.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird431.sql new file mode 100644 index 00000000..ea4639b6 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird431.sql @@ -0,0 +1,6 @@ +SELECT + COUNT(DISTINCT p.ID) AS patients_with_lab_results, + COUNT(DISTINCT CASE WHEN l."T-BIL" >= 2.0 THEN p.ID END) AS patients_with_elevated_total_bilirubin +FROM Patient AS p +JOIN Laboratory AS l ON l.ID = p.ID +WHERE p.SEX IS NULL OR p.SEX = ''; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird432.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird432.sql new file mode 100644 index 00000000..89ef7724 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird432.sql @@ -0,0 +1,7 @@ +SELECT COUNT(DISTINCT p.ID) AS patient_count +FROM Patient AS p +JOIN Examination AS e ON e.ID = p.ID +WHERE p.SEX = 'F' + AND p.Admission LIKE '+%' + AND strftime('%Y', p.Birthday) BETWEEN '1945' AND '1989' + AND e."ANA Pattern" = 'P'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird433.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird433.sql new file mode 100644 index 00000000..4b1338b8 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird433.sql @@ -0,0 +1,18 @@ +WITH patient_peaks AS ( + SELECT p.ID, p.SEX, MAX(CAST(l.RNP AS INTEGER)) AS max_rnp + FROM Patient AS p + JOIN Laboratory AS l ON l.ID = p.ID + WHERE p.Admission = '-' + AND l.RNP IS NOT NULL + AND LOWER(TRIM(l.RNP)) <> 'negative' + AND EXISTS ( + SELECT 1 + FROM Laboratory AS a + WHERE a.ID = p.ID AND a.HGB < 10 + ) + GROUP BY p.ID, p.SEX +) +SELECT ID, SEX, max_rnp +FROM patient_peaks +WHERE max_rnp = (SELECT MAX(max_rnp) FROM patient_peaks) +ORDER BY ID; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird434.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird434.sql new file mode 100644 index 00000000..4c03e75d --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird434.sql @@ -0,0 +1,11 @@ +WITH first_tests AS ( + SELECT ID, MIN("Date") AS first_test_date + FROM Laboratory + GROUP BY ID +) +SELECT COUNT(DISTINCT p.ID) AS patient_count +FROM Patient AS p +JOIN first_tests AS f ON f.ID = p.ID +JOIN Laboratory AS l ON l.ID = f.ID AND l."Date" = f.first_test_date +WHERE l.GOT < 60 + AND CAST(l.RNP AS REAL) > 10; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird435.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird435.sql new file mode 100644 index 00000000..40089bd0 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird435.sql @@ -0,0 +1,15 @@ +WITH latest_proteinuria AS ( + SELECT ID, MAX("Date") AS test_date + FROM Laboratory + WHERE "U-PRO" IS NOT NULL + GROUP BY ID +) +SELECT p.ID AS patient_id, + p.SEX AS sex, + l."Date" AS latest_proteinuria_test_date, + l."U-PRO" AS proteinuria_level +FROM latest_proteinuria AS t +JOIN Laboratory AS l ON l.ID = t.ID AND l."Date" = t.test_date +JOIN Patient AS p ON p.ID = t.ID +WHERE l."U-PRO" IS NOT NULL +ORDER BY p.ID; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird436.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird436.sql new file mode 100644 index 00000000..fd0df550 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird436.sql @@ -0,0 +1,6 @@ +SELECT DISTINCT p.ID +FROM Patient AS p +JOIN Laboratory AS l ON l.ID = p.ID +WHERE p.Admission = '-' + AND l.CPK < 250 + AND CAST(l.RNP AS REAL) > 4; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird437.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird437.sql new file mode 100644 index 00000000..2473f9d6 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird437.sql @@ -0,0 +1,5 @@ +SELECT COUNT(DISTINCT e.ID) +FROM Examination AS e +JOIN Laboratory AS l ON l.ID = e.ID +WHERE CAST(l.RNP AS REAL) > 0 + AND e.Thrombosis = 0; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird438.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird438.sql new file mode 100644 index 00000000..377e5490 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird438.sql @@ -0,0 +1,16 @@ +WITH elevated_rnp AS ( + SELECT DISTINCT ID + FROM Laboratory + WHERE CAST(RNP AS REAL) >= 16 +), normal_gpt AS ( + SELECT l.ID, MAX(l.GPT) AS highest_normal_gpt + FROM Laboratory AS l + JOIN elevated_rnp AS e ON e.ID = l.ID + WHERE l.GPT < 60 + GROUP BY l.ID +) +SELECT p.Birthday +FROM normal_gpt AS g +JOIN Patient AS p ON p.ID = g.ID +ORDER BY g.highest_normal_gpt DESC, g.ID ASC +LIMIT 3; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird439.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird439.sql new file mode 100644 index 00000000..fd141804 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird439.sql @@ -0,0 +1,6 @@ +SELECT COUNT(DISTINCT p.ID) AS female_patient_count +FROM Patient AS p +JOIN Laboratory AS l ON l.ID = p.ID +WHERE p.SEX = 'F' + AND l.PT < 14 + AND CAST(l.RNP AS REAL) >= 16; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird440.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird440.sql new file mode 100644 index 00000000..d64a3be4 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird440.sql @@ -0,0 +1,11 @@ +SELECT + CAST(strftime('%Y', l.Date) AS INTEGER) + - CAST(strftime('%Y', p.Birthday) AS INTEGER) + - (strftime('%m-%d', l.Date) < strftime('%m-%d', p.Birthday)) AS age, + p.Diagnosis AS diagnosis +FROM Laboratory AS l +JOIN Patient AS p ON p.ID = l.ID +WHERE p.Admission = '+' + AND l.DNA IS NOT NULL +ORDER BY CAST(l.DNA AS REAL) DESC, l.Date ASC, l.ID ASC +LIMIT 1; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird441.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird441.sql new file mode 100644 index 00000000..61650ac7 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird441.sql @@ -0,0 +1,20 @@ +WITH RECURSIVE diagnosis_parts(ID, SEX, diagnosis, remaining) AS ( + SELECT p.ID, p.SEX, '', + REPLACE(REPLACE(UPPER(p.Diagnosis), CHAR(29), ','), ' ', ',') || ',' + FROM Patient AS p + WHERE EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID AND l."T-BIL" >= 1.2 + ) + UNION ALL + SELECT ID, SEX, + TRIM(SUBSTR(remaining, 1, INSTR(remaining, ',') - 1)), + SUBSTR(remaining, INSTR(remaining, ',') + 1) + FROM diagnosis_parts + WHERE remaining <> '' +) +SELECT DISTINCT ID, SEX +FROM diagnosis_parts +WHERE diagnosis IN ('SLE', 'SLE (DIFFUSE LE)') +ORDER BY SEX, ID; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird442.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird442.sql new file mode 100644 index 00000000..6c416ca9 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird442.sql @@ -0,0 +1,23 @@ +WITH care_settings(admission_marker, care_setting) AS ( + VALUES ('+', 'admitted to the hospital'), + ('-', 'followed at the outpatient clinic') +), eligible_patients AS ( + SELECT DISTINCT p.ID, p.Admission, + EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND CAST(l.RNP AS REAL) >= 4 + ) AS has_elevated_rnp + FROM Patient AS p + WHERE p.SEX = 'F' + AND DATE(p.Birthday) <= DATE('2026-10-09', '-50 years') + AND p.Admission IN ('+', '-') +) +SELECT s.care_setting, + COUNT(CASE WHEN p.has_elevated_rnp = 1 THEN 1 END) AS patients_with_anti_rnp_at_least_4, + COUNT(CASE WHEN p.has_elevated_rnp = 0 THEN 1 END) AS patients_with_no_anti_rnp_at_least_4 +FROM care_settings AS s +LEFT JOIN eligible_patients AS p ON p.Admission = s.admission_marker +GROUP BY s.care_setting +ORDER BY s.care_setting; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird443.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird443.sql new file mode 100644 index 00000000..b9e3dcda --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird443.sql @@ -0,0 +1,15 @@ +WITH ranked_igg AS ( + SELECT ID, IGG, + ROW_NUMBER() OVER (PARTITION BY ID ORDER BY "Date" DESC) AS rn + FROM Laboratory + WHERE IGG IS NOT NULL +) +SELECT COUNT(*) AS patient_count +FROM ranked_igg AS l +WHERE l.rn = 1 + AND l.IGG >= 2000 + AND EXISTS ( + SELECT 1 + FROM Patient AS p + WHERE p.ID = l.ID AND p.Admission = '-' + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird444.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird444.sql new file mode 100644 index 00000000..9691a87f --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird444.sql @@ -0,0 +1,14 @@ +WITH sle_results AS ( + SELECT p.ID, p.Diagnosis, l.DNA, + CAST(l.DNA AS REAL) AS dna_value + FROM Patient AS p + JOIN Laboratory AS l ON l.ID = p.ID + WHERE p.Diagnosis LIKE '%SLE%' + AND p.Diagnosis NOT LIKE '%SLE susp%' + AND l.DNA IS NOT NULL +) +SELECT ID, Diagnosis, MIN(DNA) AS highest_anti_dna +FROM sle_results +WHERE dna_value = (SELECT MAX(dna_value) FROM sle_results) +GROUP BY ID, Diagnosis +ORDER BY ID; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird445.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird445.sql new file mode 100644 index 00000000..732e4973 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird445.sql @@ -0,0 +1,17 @@ +WITH ranked_igg AS ( + SELECT ID, IGG, + ROW_NUMBER() OVER (PARTITION BY ID ORDER BY "Date" DESC) AS rn + FROM Laboratory + WHERE IGG IS NOT NULL +) +SELECT CASE p.Admission + WHEN '+' THEN 'admitted to the hospital' + WHEN '-' THEN 'followed at the outpatient clinic' + END AS care_setting, + ROUND(100.0 * COUNT(CASE WHEN i.IGG > 900 AND i.IGG < 2000 THEN 1 END) + / COUNT(*), 1) AS percentage +FROM Patient AS p +LEFT JOIN ranked_igg AS i ON i.ID = p.ID AND i.rn = 1 +WHERE p.Admission IN ('+', '-') +GROUP BY p.Admission +ORDER BY p.Admission; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird446.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird446.sql new file mode 100644 index 00000000..20b419c3 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird446.sql @@ -0,0 +1,11 @@ +WITH latest_visit AS ( + SELECT ID, MAX("Date") AS visit_date + FROM Laboratory + GROUP BY ID +) +SELECT COUNT(DISTINCT CASE WHEN p.SEX = 'F' THEN p.ID END) + - COUNT(DISTINCT CASE WHEN p.SEX = 'M' THEN p.ID END) AS female_minus_male +FROM latest_visit AS v +JOIN Laboratory AS l ON l.ID = v.ID AND l."Date" = v.visit_date +JOIN Patient AS p ON p.ID = v.ID +WHERE CAST(l.RNP AS REAL) >= 32; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird447.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird447.sql new file mode 100644 index 00000000..edf09f38 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird447.sql @@ -0,0 +1,12 @@ +WITH ranked_measurements AS ( + SELECT l.RNP, l.CPK, + ROW_NUMBER() OVER (PARTITION BY l.ID ORDER BY l.Date DESC) AS rn + FROM Laboratory AS l + JOIN Patient AS p ON p.ID = l.ID + WHERE p.SEX = 'F' AND l.RNP IS NOT NULL +) +SELECT COUNT(*) AS patient_count +FROM ranked_measurements +WHERE rn = 1 + AND CAST(RNP AS INTEGER) > 64 + AND CPK < 250; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird448.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird448.sql new file mode 100644 index 00000000..b9d634d1 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird448.sql @@ -0,0 +1,15 @@ +WITH care_profiles AS ( + SELECT Admission, + ' ' || UPPER(REPLACE(REPLACE(Diagnosis, ',', ' '), CHAR(29), ' ')) || ' ' AS diagnosis_text + FROM Patient + WHERE Admission IN ('+', '-') +), +confirmed_sle AS ( + SELECT Admission + FROM care_profiles + WHERE INSTR(REPLACE(diagnosis_text, ' SLE SUSP ', ' '), ' SLE ') > 0 +) +SELECT COUNT(*) FILTER (WHERE Admission = '+') AS inpatient_count, + COUNT(*) FILTER (WHERE Admission = '-') AS outpatient_count, + ROUND(100.0 * COUNT(*) FILTER (WHERE Admission = '+') / NULLIF(COUNT(*), 0), 2) AS inpatient_percentage +FROM confirmed_sle; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird450.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird450.sql new file mode 100644 index 00000000..2ab21c06 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird450.sql @@ -0,0 +1,10 @@ +SELECT p.SEX AS sex, COUNT(DISTINCT p.ID) AS patient_count +FROM Patient AS p +WHERE p.SEX IN ('F', 'M') + AND NOT EXISTS ( + SELECT 1 + FROM Examination AS e + WHERE e.ID = p.ID + ) +GROUP BY p.SEX +ORDER BY p.SEX; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird452.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird452.sql new file mode 100644 index 00000000..a4ce6edf --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird452.sql @@ -0,0 +1,10 @@ +SELECT e."Symptoms", p."Diagnosis" AS "Overall Diagnosis" +FROM "Examination" AS e +JOIN "Patient" AS p ON p."ID" = e."ID" +WHERE NULLIF(TRIM(e."Symptoms"), '') IS NOT NULL + AND INSTR( + ',' || REPLACE(REPLACE(REPLACE(UPPER(e."Diagnosis"), ' ', ''), '+', ','), '->', ',') || ',', + ',SLE,' + ) > 0 +ORDER BY p."Birthday" DESC, p."ID" ASC, e."Examination Date" DESC +LIMIT 1; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird453.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird453.sql new file mode 100644 index 00000000..aa86e5fa --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird453.sql @@ -0,0 +1,7 @@ +SELECT "Diagnosis" +FROM "Patient" +WHERE "First Date" >= '1998-02-15' + AND "First Date" < '1998-03-01' + AND "Admission" LIKE '+%' +ORDER BY julianday("First Date") - julianday("Birthday") DESC, "ID" ASC +LIMIT 1; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird454.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird454.sql new file mode 100644 index 00000000..44fd7745 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird454.sql @@ -0,0 +1,5 @@ +SELECT ROUND(AVG("aCL IgM"), 1) AS average_acl_igm +FROM "Examination" +WHERE "Examination Date" >= '1993-10-01' + AND "Examination Date" < '1993-11-01' + AND INSTR(',' || REPLACE("Diagnosis", ' ', '') || ',', ',SLE,') > 0; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird455.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird455.sql new file mode 100644 index 00000000..0ba520e7 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird455.sql @@ -0,0 +1,3 @@ +SELECT COUNT(DISTINCT ID) AS patient_count +FROM Patient +WHERE Diagnosis COLLATE NOCASE = 'psoriatic arthritis'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird456.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird456.sql new file mode 100644 index 00000000..7f2f9652 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird456.sql @@ -0,0 +1,16 @@ +WITH sexes(code, sex) AS ( + VALUES ('M', 'Male'), ('F', 'Female') +) +SELECT s.sex, + ( + SELECT COUNT(DISTINCT p.ID) + FROM Patient AS p + WHERE p.SEX = s.code + AND NOT EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID AND l.GPT >= 60 + ) + ) AS patient_count +FROM sexes AS s +ORDER BY s.code DESC; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird457.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird457.sql new file mode 100644 index 00000000..51fda978 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird457.sql @@ -0,0 +1,21 @@ +WITH care_settings(admission) AS ( + VALUES ('+'), ('-') +), qualifying_patients AS ( + SELECT p.ID, + p.Admission, + 2026 - CAST(strftime('%Y', p.Birthday) AS INTEGER) + - (strftime('%m-%d', p.Birthday) > '10-09') AS completed_age + FROM Patient AS p + WHERE EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID AND l.RBC < 3.5 + ) +) +SELECT s.admission AS care_setting, + COUNT(p.ID) AS patient_count, + ROUND(AVG(p.completed_age), 1) AS average_completed_age +FROM care_settings AS s +LEFT JOIN qualifying_patients AS p ON p.Admission = s.admission +GROUP BY s.admission +ORDER BY s.admission; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird458.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird458.sql new file mode 100644 index 00000000..635314d0 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird458.sql @@ -0,0 +1,10 @@ +WITH sexes(sex) AS ( + VALUES ('F'), ('M') +) +SELECT s.sex, COUNT(DISTINCT p.ID) AS patient_count +FROM sexes AS s +LEFT JOIN Patient AS p + ON p.SEX = s.sex + AND EXISTS (SELECT 1 FROM Laboratory AS l WHERE l.ID = p.ID) +GROUP BY s.sex +ORDER BY s.sex; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird460.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird460.sql new file mode 100644 index 00000000..c8dcc6b5 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird460.sql @@ -0,0 +1,5 @@ +SELECT COUNT(DISTINCT p.ID) AS patient_count +FROM Patient AS p +JOIN Examination AS e ON e.ID = p.ID +WHERE p.SEX = 'F' + AND INSTR(',' || REPLACE(LOWER(TRIM(e.Diagnosis)), ', ', ',') || ',', ',sjs,') > 0; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird461.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird461.sql new file mode 100644 index 00000000..b8f17ed1 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird461.sql @@ -0,0 +1,9 @@ +SELECT COUNT(DISTINCT p.ID) AS patient_count +FROM Patient AS p +WHERE p.Admission = '-' + AND EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND l.RNP IN ('negative', '0') + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird462.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird462.sql new file mode 100644 index 00000000..21093040 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird462.sql @@ -0,0 +1,28 @@ +WITH proteinuria AS ( + SELECT ID, + CAST(CASE + WHEN TRIM("U-PRO") IN ('-', 'TR') THEN '0' + WHEN INSTR("U-PRO", '(') > 0 + THEN SUBSTR("U-PRO", INSTR("U-PRO", '(') + 1) + ELSE LTRIM("U-PRO", ' >=') + END AS REAL) AS mg_dl + FROM Laboratory +) +SELECT COUNT(DISTINCT e.ID) AS patient_count +FROM Examination AS e +WHERE e.Thrombosis = 0 + AND NOT EXISTS ( + SELECT 1 + FROM Examination AS other + WHERE other.ID = e.ID AND other.Thrombosis <> 0 + ) + AND EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = e.ID AND LOWER(TRIM(l.SM)) IN ('negative', '0') + ) + AND EXISTS ( + SELECT 1 + FROM proteinuria AS p + WHERE p.ID = e.ID AND p.mg_dl >= 30 + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird463.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird463.sql new file mode 100644 index 00000000..adc79c5c --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird463.sql @@ -0,0 +1,16 @@ +SELECT DISTINCT p.ID +FROM Patient AS p +WHERE p.Admission = '-' + AND EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND (l.RBC <= 3.5 OR l.RBC >= 6.0) + ) + AND EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND CAST(l.RNP AS REAL) > 0 + ) +ORDER BY p.ID; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird464.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird464.sql new file mode 100644 index 00000000..00e56848 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird464.sql @@ -0,0 +1,16 @@ +WITH patient_ages AS ( + SELECT + CAST(strftime('%Y', '2026-10-09') AS INTEGER) + - CAST(strftime('%Y', p.Birthday) AS INTEGER) + - (strftime('%m-%d', p.Birthday) > '10-09') AS age_years + FROM Patient AS p + WHERE EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID + AND CAST(l.RNP AS REAL) >= 64 + ) +) +SELECT ROUND(AVG(age_years), 1) AS average_age +FROM patient_ages +WHERE age_years < 70; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird465.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird465.sql new file mode 100644 index 00000000..a8cdd271 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird465.sql @@ -0,0 +1,8 @@ +SELECT COUNT(DISTINCT p.ID) AS female_patient_count +FROM Patient AS p +JOIN Laboratory AS l ON l.ID = p.ID +WHERE p.SEX = 'F' + AND l.WBC > 3.5 + AND l.WBC < 9.0 + AND (l.FG <= 150 OR l.FG >= 450) + AND CAST(l.RNP AS REAL) > 15; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird466.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird466.sql new file mode 100644 index 00000000..77c765a4 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird466.sql @@ -0,0 +1,9 @@ +SELECT ROUND(100.0 * COUNT(CASE WHEN p.SEX = 'F' THEN 1 END) / NULLIF(COUNT(*), 0), 1) AS women_percentage +FROM Patient AS p +WHERE p.SEX IN ('F', 'M') + AND strftime('%Y', p.Birthday) BETWEEN '1936' AND '1956' + AND NOT EXISTS ( + SELECT 1 + FROM Laboratory AS l + WHERE l.ID = p.ID AND l.CPK >= 250 + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird467.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird467.sql new file mode 100644 index 00000000..59f4013f --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird467.sql @@ -0,0 +1,16 @@ +SELECT COUNT(DISTINCT p.ID) AS patient_count +FROM Patient AS p +JOIN Laboratory AS l ON l.ID = p.ID +WHERE date(l."Date") >= '1981-01-01' + AND date(l."Date") < '1987-01-01' + AND ( + CAST(strftime('%Y', l."Date") AS INTEGER) + - CAST(strftime('%Y', p.Birthday) AS INTEGER) + - (strftime('%m-%d', l."Date") < strftime('%m-%d', p.Birthday)) + ) < 50 + AND l.PLT BETWEEN 100 AND 400 + AND ( + UPPER(TRIM(l."U-PRO")) = 'TR' + OR TRIM(l."U-PRO") GLOB '%*%' + OR CAST(TRIM(l."U-PRO") AS REAL) > 0 + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird468.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird468.sql new file mode 100644 index 00000000..a2d2ada7 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird468.sql @@ -0,0 +1,13 @@ +SELECT ROUND(AVG(oxygen_count), 4) AS avg_oxygen_atoms_per_molecule +FROM ( + SELECT m.molecule_id, COUNT(a.atom_id) AS oxygen_count + FROM molecule AS m + LEFT JOIN atom AS a + ON a.molecule_id = m.molecule_id AND a.element = 'o' + WHERE EXISTS ( + SELECT 1 + FROM bond AS b + WHERE b.molecule_id = m.molecule_id AND b.bond_type = '-' + ) + GROUP BY m.molecule_id +) AS molecule_oxygen_counts; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird469.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird469.sql new file mode 100644 index 00000000..f31407ed --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird469.sql @@ -0,0 +1,14 @@ +WITH single_bond_counts AS ( + SELECT b.molecule_id, COUNT(*) AS single_bond_count + FROM bond AS b + WHERE b.bond_type = '-' + AND EXISTS ( + SELECT 1 + FROM molecule AS m + WHERE m.molecule_id = b.molecule_id + AND m.label = '+' + ) + GROUP BY b.molecule_id +) +SELECT AVG(single_bond_count) AS average_single_bonds_per_molecule +FROM single_bond_counts; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird471.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird471.sql new file mode 100644 index 00000000..a0343d99 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird471.sql @@ -0,0 +1,17 @@ +WITH single_bond_atoms AS ( + SELECT c.atom_id AS atom_id + FROM connected AS c + JOIN bond AS b ON b.bond_id = c.bond_id + WHERE b.bond_type = '-' + UNION + SELECT c.atom_id2 AS atom_id + FROM connected AS c + JOIN bond AS b ON b.bond_id = c.bond_id + WHERE b.bond_type = '-' +) +SELECT + COUNT(DISTINCT CASE WHEN a.element = 'i' THEN a.atom_id END) AS iodine_atoms, + COUNT(DISTINCT CASE WHEN a.element = 's' THEN a.atom_id END) AS sulfur_atoms +FROM atom AS a +JOIN single_bond_atoms AS s ON s.atom_id = a.atom_id +WHERE a.element IN ('i', 's'); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird472.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird472.sql new file mode 100644 index 00000000..26bc0d73 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird472.sql @@ -0,0 +1,7 @@ +SELECT ROUND(100.0 * COUNT(CASE WHEN NOT EXISTS ( + SELECT 1 + FROM atom AS a + WHERE a.molecule_id = m.molecule_id AND a.element = 'f' +) THEN 1 END) / COUNT(*), 2) AS percentage +FROM molecule AS m +WHERE m.label = '+'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird473.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird473.sql new file mode 100644 index 00000000..31ce3968 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird473.sql @@ -0,0 +1,12 @@ +WITH bond_counts AS ( + SELECT bond_type, COUNT(*) AS bond_count + FROM bond + WHERE molecule_id = 'TR010' + GROUP BY bond_type +) +SELECT bc.bond_type, + CASE m.label WHEN '+' THEN 'YES' WHEN '-' THEN 'NO' END AS carcinogenic +FROM molecule AS m +CROSS JOIN bond_counts AS bc +WHERE m.molecule_id = 'TR010' + AND bc.bond_count = (SELECT MAX(bond_count) FROM bond_counts); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird474.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird474.sql new file mode 100644 index 00000000..2e937f51 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird474.sql @@ -0,0 +1,7 @@ +SELECT DISTINCT b.bond_id +FROM bond AS b +JOIN connected AS c ON c.bond_id = b.bond_id +JOIN atom AS a1 ON a1.atom_id = c.atom_id +JOIN atom AS a2 ON a2.atom_id = c.atom_id2 +WHERE (a1.element = 'p' AND a2.element = 'n') + OR (a1.element = 'n' AND a2.element = 'p'); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird475.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird475.sql new file mode 100644 index 00000000..545cf115 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird475.sql @@ -0,0 +1,7 @@ +SELECT DISTINCT a.element +FROM atom AS a +WHERE NOT EXISTS ( + SELECT 1 + FROM connected AS c + WHERE c.atom_id = a.atom_id OR c.atom_id2 = a.atom_id +); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird476.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird476.sql new file mode 100644 index 00000000..7a88746d --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird476.sql @@ -0,0 +1,14 @@ +SELECT COUNT(*) AS atom_count +FROM atom AS a +WHERE EXISTS ( + SELECT 1 + FROM bond AS b + WHERE b.molecule_id = a.molecule_id + AND b.bond_type = '#' +) +AND EXISTS ( + SELECT 1 + FROM atom AS pb + WHERE pb.molecule_id = a.molecule_id + AND pb.element IN ('p', 'br') +); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird477.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird477.sql new file mode 100644 index 00000000..c1daa4c7 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird477.sql @@ -0,0 +1,8 @@ +SELECT ROUND(100.0 * COUNT(CASE WHEN a.element = 'cl' THEN 1 END) / COUNT(*), 4) AS chlorine_percentage +FROM atom AS a +WHERE EXISTS ( + SELECT 1 + FROM bond AS b + WHERE b.molecule_id = a.molecule_id + AND b.bond_type = '-' +); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird478.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird478.sql new file mode 100644 index 00000000..4147d570 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird478.sql @@ -0,0 +1,9 @@ +SELECT ( + SELECT 1.0 * COUNT(CASE WHEN a.element = 'h' THEN 1 END) + / NULLIF(COUNT(*), 0) + FROM atom AS a + WHERE a.molecule_id = m.molecule_id +) AS hydrogen_fraction, + m.label AS carcinogenicity_label +FROM molecule AS m +WHERE m.molecule_id = 'TR006'; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird479.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird479.sql new file mode 100644 index 00000000..967cdd2f --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird479.sql @@ -0,0 +1,15 @@ +WITH classified AS ( + SELECT m.label, + NOT EXISTS ( + SELECT 1 + FROM bond AS b + WHERE b.molecule_id = m.molecule_id + AND b.bond_type IS NOT '-' + ) AS all_single_bonds + FROM molecule AS m +) +SELECT COUNT(*) FILTER (WHERE all_single_bonds AND label = '+') + - COUNT(*) FILTER (WHERE all_single_bonds AND label = '-') AS all_single_bond_difference, + COUNT(*) FILTER (WHERE NOT all_single_bonds AND label = '+') + - COUNT(*) FILTER (WHERE NOT all_single_bonds AND label = '-') AS other_molecule_difference +FROM classified; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird480.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird480.sql new file mode 100644 index 00000000..e9ce5d54 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird480.sql @@ -0,0 +1,15 @@ +SELECT COUNT(*) AS carbon_carbon_double_bond_pairs +FROM ( + SELECT DISTINCT m.molecule_id, + MIN(c.atom_id, c.atom_id2) AS atom_lo, + MAX(c.atom_id, c.atom_id2) AS atom_hi + FROM molecule AS m + JOIN bond AS b ON b.molecule_id = m.molecule_id + JOIN connected AS c ON c.bond_id = b.bond_id + JOIN atom AS a1 ON a1.atom_id = c.atom_id AND a1.molecule_id = m.molecule_id + JOIN atom AS a2 ON a2.atom_id = c.atom_id2 AND a2.molecule_id = m.molecule_id + WHERE m.label = '+' + AND b.bond_type = '=' + AND a1.element = 'c' + AND a2.element = 'c' +) AS pairs; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird481.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird481.sql new file mode 100644 index 00000000..c1272005 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird481.sql @@ -0,0 +1,30 @@ +WITH positive_atoms AS ( + SELECT a.atom_id, a.element + FROM atom AS a + WHERE EXISTS ( + SELECT 1 + FROM molecule AS m + WHERE m.molecule_id = a.molecule_id AND m.label = '+' + ) +), bonded_atom_ids AS ( + SELECT c.atom_id + FROM connected AS c + JOIN bond AS b ON b.bond_id = c.bond_id + UNION + SELECT c.atom_id2 + FROM connected AS c + JOIN bond AS b ON b.bond_id = c.bond_id +), element_counts AS ( + SELECT p.element, + COUNT(*) AS atom_count, + COUNT(b.atom_id) AS bonded_atom_count + FROM positive_atoms AS p + LEFT JOIN bonded_atom_ids AS b ON b.atom_id = p.atom_id + GROUP BY p.element +) +SELECT element, + ROUND(100.0 * atom_count / (SELECT SUM(atom_count) FROM element_counts), 2) AS percentage +FROM element_counts +WHERE bonded_atom_count > 0 + AND bonded_atom_count = (SELECT MAX(bonded_atom_count) FROM element_counts) +ORDER BY element; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird482.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird482.sql new file mode 100644 index 00000000..70a982ac --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird482.sql @@ -0,0 +1,16 @@ +SELECT + m.molecule_id, + CASE m.label WHEN '+' THEN 'YES' WHEN '-' THEN 'NO' END AS carcinogenic, + ( + SELECT COUNT(*) + FROM bond AS b + WHERE b.molecule_id = m.molecule_id + AND b.bond_type IN ('=', '#') + ) AS multiple_bond_count +FROM molecule AS m +WHERE EXISTS ( + SELECT 1 + FROM atom AS a + WHERE a.atom_id = 'TR041_10' + AND a.molecule_id = m.molecule_id +); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird483.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird483.sql new file mode 100644 index 00000000..cb47fbdd --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird483.sql @@ -0,0 +1,22 @@ +WITH bond_types(bond_type, sort_order) AS ( + VALUES ('-', 1), ('=', 2), ('#', 3) +), carcinogenic_carbon_bonds AS ( + SELECT b.bond_id, b.bond_type + FROM bond AS b + JOIN molecule AS m ON m.molecule_id = b.molecule_id + WHERE m.label = '+' + AND EXISTS ( + SELECT 1 + FROM connected AS c + JOIN atom AS a1 ON a1.atom_id = c.atom_id + JOIN atom AS a2 ON a2.atom_id = c.atom_id2 + WHERE c.bond_id = b.bond_id + AND a1.element = 'c' + AND a2.element = 'c' + ) +) +SELECT t.bond_type, COUNT(b.bond_id) AS bond_count +FROM bond_types AS t +LEFT JOIN carcinogenic_carbon_bonds AS b ON b.bond_type = t.bond_type +GROUP BY t.bond_type, t.sort_order +ORDER BY t.sort_order; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird484.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird484.sql new file mode 100644 index 00000000..a1c42754 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird484.sql @@ -0,0 +1,14 @@ +WITH chlorine_neighbors AS ( + SELECT c.atom_id2 AS atom_id + FROM connected AS c + JOIN atom AS a ON a.atom_id = c.atom_id + WHERE a.element = 'cl' + UNION + SELECT c.atom_id AS atom_id + FROM connected AS c + JOIN atom AS a ON a.atom_id = c.atom_id2 + WHERE a.element = 'cl' +) +SELECT COUNT(*) AS atom_count +FROM atom AS a +JOIN chlorine_neighbors AS n ON n.atom_id = a.atom_id; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird485.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird485.sql new file mode 100644 index 00000000..cc62e29d --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird485.sql @@ -0,0 +1,16 @@ +WITH sulfur_atoms AS ( + SELECT a.atom_id + FROM atom AS a + JOIN molecule AS m ON m.molecule_id = a.molecule_id + WHERE a.element = 's' AND m.label = '+' +), bonded_atoms AS ( + SELECT c.atom_id2 AS atom_id + FROM connected AS c + JOIN sulfur_atoms AS s ON s.atom_id = c.atom_id + UNION + SELECT c.atom_id + FROM connected AS c + JOIN sulfur_atoms AS s ON s.atom_id = c.atom_id2 +) +SELECT COUNT(*) AS atom_count +FROM bonded_atoms; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird486.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird486.sql new file mode 100644 index 00000000..ae71dafc --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird486.sql @@ -0,0 +1,16 @@ +WITH unique_elements AS ( + SELECT MIN(molecule_id) AS molecule_id + FROM atom + WHERE element IS NOT NULL + GROUP BY element + HAVING COUNT(DISTINCT molecule_id) = 1 +) +SELECT b.bond_id, b.molecule_id +FROM bond AS b +JOIN molecule AS m ON m.molecule_id = b.molecule_id +WHERE m.label = '+' + AND EXISTS ( + SELECT 1 + FROM unique_elements AS u + WHERE u.molecule_id = b.molecule_id + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird487.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird487.sql new file mode 100644 index 00000000..f1fc0230 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird487.sql @@ -0,0 +1,17 @@ +SELECT COUNT(DISTINCT m.molecule_id) AS molecule_count +FROM molecule AS m +WHERE EXISTS ( + SELECT 1 + FROM atom AS a + WHERE a.molecule_id = m.molecule_id + AND a.element = 'n' +) +AND NOT EXISTS ( + SELECT 1 + FROM atom AS a + JOIN connected AS c ON a.atom_id IN (c.atom_id, c.atom_id2) + JOIN bond AS b ON b.bond_id = c.bond_id + WHERE a.molecule_id = m.molecule_id + AND a.element = 'n' + AND b.bond_type IN ('=', '#') +); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird488.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird488.sql new file mode 100644 index 00000000..4561b6bf --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird488.sql @@ -0,0 +1,13 @@ +WITH chlorine_neighbors AS ( + SELECT c.atom_id2 AS atom_id + FROM connected AS c + JOIN atom AS a ON a.atom_id = c.atom_id + WHERE a.element = 'cl' + UNION + SELECT c.atom_id AS atom_id + FROM connected AS c + JOIN atom AS a ON a.atom_id = c.atom_id2 + WHERE a.element = 'cl' +) +SELECT COUNT(*) AS atom_count +FROM chlorine_neighbors; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird489.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird489.sql new file mode 100644 index 00000000..dcdde674 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird489.sql @@ -0,0 +1,11 @@ +SELECT + ROUND(100.0 * COUNT(CASE WHEN m.label = '+' THEN 1 END) / COUNT(*), 2) AS carcinogenic_percent, + ROUND(100.0 * COUNT(CASE WHEN m.label = '-' THEN 1 END) / COUNT(*), 2) AS non_carcinogenic_percent +FROM molecule AS m +WHERE m.label IN ('+', '-') + AND EXISTS ( + SELECT 1 + FROM bond AS b + WHERE b.molecule_id = m.molecule_id + AND b.bond_type = '#' + ); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird490.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird490.sql new file mode 100644 index 00000000..4f35b140 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird490.sql @@ -0,0 +1,16 @@ +WITH rare_elements AS ( + SELECT element + FROM atom + WHERE element IS NOT NULL + GROUP BY element + HAVING COUNT(DISTINCT molecule_id) = 1 +) +SELECT m.molecule_id, COUNT(DISTINCT b.bond_id) AS bond_count +FROM molecule AS m +JOIN atom AS a ON a.molecule_id = m.molecule_id +JOIN rare_elements AS r ON r.element = a.element +LEFT JOIN connected AS c ON c.atom_id = a.atom_id OR c.atom_id2 = a.atom_id +LEFT JOIN bond AS b ON b.bond_id = c.bond_id AND b.molecule_id = m.molecule_id +WHERE m.label = '+' +GROUP BY m.molecule_id +ORDER BY m.molecule_id; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird491.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird491.sql new file mode 100644 index 00000000..c5eb2d85 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird491.sql @@ -0,0 +1,40 @@ +WITH atom_counts AS ( + SELECT molecule_id, + COUNT(*) AS atom_count, + COUNT(CASE WHEN element = 'c' THEN 1 END) AS carbon_atom_count, + COUNT(CASE WHEN element = 'cl' THEN 1 END) AS chlorine_atom_count + FROM atom + GROUP BY molecule_id + HAVING COUNT(CASE WHEN element = 'c' THEN 1 END) > 0 +), carbon_bonds AS ( + SELECT DISTINCT c.bond_id + FROM connected AS c + JOIN atom AS a + ON a.atom_id IN (c.atom_id, c.atom_id2) + WHERE a.element = 'c' +), bond_counts AS ( + SELECT b.molecule_id, + COUNT(*) AS bond_count, + COUNT(cb.bond_id) AS carbon_touching_bond_count, + COUNT(CASE WHEN b.bond_type IN ('=', '#') THEN 1 END) AS multiple_bond_count + FROM bond AS b + LEFT JOIN carbon_bonds AS cb ON cb.bond_id = b.bond_id + GROUP BY b.molecule_id +) +SELECT ROW_NUMBER() OVER ( + ORDER BY COALESCE(bc.carbon_touching_bond_count, 0) DESC, + ac.atom_count DESC, + m.molecule_id ASC + ) AS rank_position, + m.molecule_id, + m.label AS carcinogenicity_label, + ac.atom_count, + COALESCE(bc.bond_count, 0) AS bond_count, + ac.carbon_atom_count, + ac.chlorine_atom_count, + COALESCE(bc.carbon_touching_bond_count, 0) AS carbon_touching_bond_count, + COALESCE(bc.multiple_bond_count, 0) AS multiple_bond_count +FROM molecule AS m +JOIN atom_counts AS ac ON ac.molecule_id = m.molecule_id +LEFT JOIN bond_counts AS bc ON bc.molecule_id = m.molecule_id +ORDER BY rank_position; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird492.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird492.sql new file mode 100644 index 00000000..560766fa --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird492.sql @@ -0,0 +1,15 @@ +SELECT COUNT(DISTINCT b.bond_id) AS hydrogen_bond_count +FROM bond AS b +WHERE EXISTS ( + SELECT 1 + FROM atom AS y + WHERE y.molecule_id = b.molecule_id AND y.element = 'y' +) +AND EXISTS ( + SELECT 1 + FROM connected AS c + JOIN atom AS h ON h.atom_id IN (c.atom_id, c.atom_id2) + WHERE c.bond_id = b.bond_id + AND h.molecule_id = b.molecule_id + AND h.element = 'h' +); diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird493.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird493.sql new file mode 100644 index 00000000..b6179818 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird493.sql @@ -0,0 +1,19 @@ +WITH bond_endpoints AS ( + SELECT c.atom_id, c.bond_id + FROM connected AS c + JOIN bond AS b ON b.bond_id = c.bond_id + WHERE b.molecule_id = 'TR397' + UNION + SELECT c.atom_id2 AS atom_id, c.bond_id + FROM connected AS c + JOIN bond AS b ON b.bond_id = c.bond_id + WHERE b.molecule_id = 'TR397' +), atom_degrees AS ( + SELECT COUNT(e.bond_id) AS bond_count + FROM atom AS a + LEFT JOIN bond_endpoints AS e ON e.atom_id = a.atom_id + WHERE a.molecule_id = 'TR397' + GROUP BY a.atom_id +) +SELECT ROUND(AVG(bond_count), 2) AS average_bonds_per_atom +FROM atom_degrees; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird494.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird494.sql new file mode 100644 index 00000000..75cbbafc --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird494.sql @@ -0,0 +1,20 @@ +WITH noncarcinogenic_atoms AS ( + SELECT a.atom_id, a.molecule_id, a.element + FROM atom AS a + JOIN molecule AS m ON m.molecule_id = a.molecule_id + WHERE m.label = '-' +), qualifying_bonds AS ( + SELECT DISTINCT b.molecule_id, b.bond_id, + CASE WHEN a1.element = 'c' THEN a2.element ELSE a1.element END AS element + FROM bond AS b + JOIN connected AS c ON c.bond_id = b.bond_id + JOIN noncarcinogenic_atoms AS a1 ON a1.atom_id = c.atom_id AND a1.molecule_id = b.molecule_id + JOIN noncarcinogenic_atoms AS a2 ON a2.atom_id = c.atom_id2 AND a2.molecule_id = b.molecule_id + WHERE b.bond_type IN ('=', '#') + AND (a1.element = 'c' OR a2.element = 'c') +) +SELECT e.element, COUNT(q.bond_id) AS bond_count +FROM (SELECT DISTINCT element FROM noncarcinogenic_atoms) AS e +LEFT JOIN qualifying_bonds AS q ON q.element = e.element +GROUP BY e.element +ORDER BY e.element; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird495.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird495.sql new file mode 100644 index 00000000..38df8c5f --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird495.sql @@ -0,0 +1,23 @@ +WITH molecule_bonds AS ( + SELECT b.bond_id, b.molecule_id, b.bond_type, m.label + FROM bond AS b + JOIN molecule AS m ON m.molecule_id = b.molecule_id + WHERE m.molecule_id = 'TR377' + AND b.bond_type IN ('-', '=') +), element_pairs AS ( + SELECT DISTINCT mb.bond_type, + MIN(a1.element, a2.element) AS element_1, + MAX(a1.element, a2.element) AS element_2 + FROM molecule_bonds AS mb + JOIN connected AS c ON c.bond_id = mb.bond_id + JOIN atom AS a1 ON a1.atom_id = c.atom_id AND a1.molecule_id = mb.molecule_id + JOIN atom AS a2 ON a2.atom_id = c.atom_id2 AND a2.molecule_id = mb.molecule_id + WHERE a1.element IS NOT NULL AND a2.element IS NOT NULL +) +SELECT mb.bond_type AS bond_kind, + COUNT(DISTINCT mb.bond_id) AS bond_count, + (SELECT COUNT(*) FROM element_pairs AS ep WHERE ep.bond_type = mb.bond_type) AS element_pair_count, + mb.label AS carcinogenicity_label +FROM molecule_bonds AS mb +GROUP BY mb.bond_type, mb.label +ORDER BY bond_count DESC, bond_kind ASC; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird496.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird496.sql new file mode 100644 index 00000000..bffaea3e --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird496.sql @@ -0,0 +1,17 @@ +SELECT DISTINCT m.molecule_id +FROM molecule AS m +WHERE m.label = '-' + AND EXISTS ( + SELECT 1 + FROM atom AS a + WHERE a.molecule_id = m.molecule_id + AND a.element IN ('na', 'k', 'ca', 'cu', 'zn', 'sn', 'pb', 'mg', 'li') + ) + AND EXISTS ( + SELECT 1 + FROM bond AS b + WHERE b.molecule_id = m.molecule_id + AND b.bond_type = '-' + ) +ORDER BY m.molecule_id ASC +LIMIT 3; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird497.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird497.sql new file mode 100644 index 00000000..a18ce94e --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird497.sql @@ -0,0 +1,17 @@ +WITH incident_bonds AS ( + SELECT atom_id, bond_id FROM connected + UNION ALL + SELECT atom_id2 AS atom_id, bond_id FROM connected +), single_bond_atoms AS ( + SELECT i.atom_id + FROM incident_bonds AS i + JOIN bond AS b ON b.bond_id = i.bond_id + GROUP BY i.atom_id + HAVING MIN(CASE WHEN b.bond_type = '-' THEN 1 ELSE 0 END) = 1 +) +SELECT a.element AS element_symbol, + COUNT(s.atom_id) AS atom_count +FROM atom AS a +LEFT JOIN single_bond_atoms AS s ON s.atom_id = a.atom_id +GROUP BY a.element +ORDER BY a.element; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird498.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird498.sql new file mode 100644 index 00000000..444a7551 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird498.sql @@ -0,0 +1,14 @@ +WITH triple_bond_elements AS ( + SELECT DISTINCT a.element + FROM bond AS b + JOIN connected AS c ON c.bond_id = b.bond_id + JOIN atom AS a ON a.atom_id IN (c.atom_id, c.atom_id2) + WHERE b.bond_type = '#' +) +SELECT a.element AS element_symbol, + COUNT(DISTINCT m.molecule_id) AS molecule_count +FROM triple_bond_elements AS t +JOIN atom AS a ON a.element = t.element +JOIN molecule AS m ON m.molecule_id = a.molecule_id +GROUP BY a.element +ORDER BY molecule_count DESC, element_symbol ASC; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird499.sql b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird499.sql new file mode 100644 index 00000000..19f0ac22 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/sql/bird499.sql @@ -0,0 +1,11 @@ +SELECT a.element, + COUNT(DISTINCT CASE WHEN EXISTS ( + SELECT 1 + FROM connected AS c + JOIN bond AS b ON b.bond_id = c.bond_id + WHERE c.atom_id = a.atom_id OR c.atom_id2 = a.atom_id + ) THEN a.atom_id END) AS bonded_atom_count +FROM atom AS a +WHERE a.molecule_id = 'TR397' +GROUP BY a.element +ORDER BY a.element; diff --git a/bench/accuracy/results/bird-holdout-final/gpt62-sol/status.json b/bench/accuracy/results/bird-holdout-final/gpt62-sol/status.json new file mode 100644 index 00000000..0f3e5540 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/gpt62-sol/status.json @@ -0,0 +1,4 @@ +{ + "status": "completed", + "wall_seconds": 2458.0710504159797 +} diff --git a/bench/accuracy/results/bird-holdout-final/manifest.json b/bench/accuracy/results/bird-holdout-final/manifest.json new file mode 100644 index 00000000..9ac2bf0b --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/manifest.json @@ -0,0 +1,3407 @@ +{ + "benchmark": "BIRD Mini-Dev SQLite 500 (2026-10-25)", + "upstream_commit": "5b256b5a9c17478f06ed6912612e9a14d17065c8", + "question_file_sha256": "926af2a0d1b47e5d0d15a7aa8a34d4721007f4550a881555b6a89496b54a2606", + "evaluator_sha256": "da1bbcd4530be83692d7c650c814ea9704bb710d0c953eb75d02ccb38233cf89", + "cases": [ + { + "instance_id": "bird000", + "db": "california_schools", + "question": "Among schools with a school-level SAT excellence rate above 0.3, what is the highest ages-5-17 free-meal eligibility rate?", + "evidence": "SAT excellence rate is the share of test takers scoring at least 1500." + }, + { + "instance_id": "bird001", + "db": "california_schools", + "question": "For locally funded schools whose K-12 minus ages-5-17 enrollment difference exceeds the average such difference among locally funded schools, list each school's directory-listed name and DOC type.", + "evidence": "" + }, + { + "instance_id": "bird002", + "db": "california_schools", + "question": "For the five schools with ownership code 66 and the largest K-12 free-or-reduced-price meal counts, give each school's K-12 eligible meal rate rounded to six decimal places.", + "evidence": "" + }, + { + "instance_id": "bird003", + "db": "california_schools", + "question": "What is the ratio of merged Unified School District schools in Orange County to merged Elementary School District schools?", + "evidence": "" + }, + { + "instance_id": "bird004", + "db": "california_schools", + "question": "What are the mailing street address and name of the school with the seventh-highest recorded average mathematics score?", + "evidence": "" + }, + { + "instance_id": "bird005", + "db": "california_schools", + "question": "How many non-charter schools in Los Angeles County have a K-12 free-meal percentage below 0.18%?", + "evidence": "" + }, + { + "instance_id": "bird006", + "db": "california_schools", + "question": "Which schools served a grade span of Kindergarten to 9th grade in the county of Los Angeles and what is its Percent (%) Eligible FRPM (Ages 5-17)?", + "evidence": "FRPM eligibility percentage is free-or-reduced-price meal recipients divided by same-age-band enrollment, times 100." + }, + { + "instance_id": "bird007", + "db": "california_schools", + "question": "What is the Percent (%) Eligible Free (K-12) in the school administered by an administrator whose first name is Alusine. List the district code of the school.", + "evidence": "K-12 free-meal eligibility percentage is K-12 free-meal recipients divided by K-12 enrollment, times 100." + }, + { + "instance_id": "bird008", + "db": "california_schools", + "question": "List the distinct available administrator email addresses for public intermediate/middle schools in San Bernardino city and county, in a unified school district, opened during 2009 or 2010.", + "evidence": "" + }, + { + "instance_id": "bird009", + "db": "california_schools", + "question": "I'm comparing three high schools in Alameda County and want to focus on the one with the biggest student body. The schools have these CDS codes: 1751010130583, 1612910137588, and 1611760134270. Which of these three schools has the highest enrollment of students aged 5-17? Please give me the 5-digit NCES school identification number for that school. If two or more of them tie for the highest enrollment, give me the NCES identification number of each tied school.", + "evidence": "NCES school identification number: the 5-digit school-level NCES identifier. Enrollment (Ages 5-17): the number of students aged 5 through 17 enrolled at the school." + }, + { + "instance_id": "bird010", + "db": "california_schools", + "question": "I'm profiling the High Tech High charter network in San Diego. For charter number 756, what is the average number of SAT test takers per school across all of its schools with a San Diego mailing city? Count every school regardless of operational status, and treat a school with no SAT record as having zero test takers. Round the average to two decimals.", + "evidence": "Charter number 756 is the state-issued charter number." + }, + { + "instance_id": "bird011", + "db": "california_schools", + "question": "Following up on the SAT participation review: among the currently operating high schools in the district with NCES identification number 0613360 that had no SAT test takers, which one begins serving students at the earliest grade? Please give me each such school's name and grade span served. Note that a high school must actually enroll students through grade 12-offering grade 12 without enrollment doesn't count. A school with no SAT record counts as having zero SAT test takers and should be included; only exclude schools with a positive number of SAT test takers. Compare starting grades as school grades-preschool comes before kindergarten, which comes before grade 1-and use the lowest grade the school actually serves, not just what it offers. If several schools tie at the earliest grade, list them all alphabetically by school name.", + "evidence": "NCES identification number 0613360 is the school district identification number assigned by the National Center for Education Statistics." + }, + { + "instance_id": "bird012", + "db": "california_schools", + "question": "I'm profiling schools run directly by the California State Board of Education. Which of those schools has the highest average SAT reading score? If several tie for the highest, give me all of them. For each school, I need its name and its full mailing street address - the complete address, not an abbreviated one. Only include schools the State Board runs directly, and the score must be the school's own result, not a district-wide figure.", + "evidence": "State Board of Education: the state authority that directly runs and oversees certain California schools." + }, + { + "instance_id": "bird013", + "db": "california_schools", + "question": "I'm trying to verify where a school I was told about is located. It's a high school in Alameda County with Breakfast Provision 2 status, serving grades 9 through 12, and its identification number is 1611920113902. What city is this school in?", + "evidence": "The identification number is the school's CDS code; Educational Instruction Level Code 'HS' identifies a high school; grades 9 through 12 means lowest grade 9 and highest grade 12; Breakfast Provision 2 is a National School Lunch Program provision status." + }, + { + "instance_id": "bird014", + "db": "california_schools", + "question": "I'm reviewing NSLP Provision 2 schools. Can you give me the name and city of every high school (educational instruction level code HS) whose meal-program status is exactly Provision 2 and whose lowest grade served is above ninth grade? One row per school, ordered by school name. Note: only the status named Provision 2 counts-the breakfast and lunch variants are separate statuses and shouldn't be included.", + "evidence": "" + }, + { + "instance_id": "bird015", + "db": "california_schools", + "question": "I'm profiling California's statewide benefit charter networks. Among the schools run by a statewide benefit charter network, which single school had the highest number of SAT test takers who scored 1500 or above? Please give me that school's name and its phone number. If several schools tie for the highest count, list every tied school with its phone number.", + "evidence": "Statewide benefit charter: a charter school network authorized directly by the California State Board of Education to operate schools throughout the state; charter schools authorized by a school district or county office of education are not statewide benefit charters." + }, + { + "instance_id": "bird016", + "db": "california_schools", + "question": "I'm looking at a directly-funded charter high school in California with CDS code 1611190130609. Could you tell me its average SAT math score and how many students took the SAT there? Just that one school's figures. If the school with that CDS code turns out not to be directly funded, then there's no answer.", + "evidence": "CDS code: the identification number the California Department of Education assigns to a county, district, or school. Directly-funded charter school: a charter school that receives its funding directly from the state rather than through its district." + }, + { + "instance_id": "bird017", + "db": "california_schools", + "question": "I'm looking at SAT participation in Contra Costa County. How many schools in the county had more SAT test takers than the school with CDS code 7618040730051? That school is itself a Contra Costa County school, so I just want the count of schools strictly ahead of it by number of SAT test takers, based on the SAT results snapshot in the data. A single number is all I need.", + "evidence": "CDS code: the County-District-School identifier that the California Department of Education assigns to each school and district in the state." + }, + { + "instance_id": "bird018", + "db": "california_schools", + "question": "I'm comparing schools in San Francisco. How many public schools with a San Francisco mailing city had an average total SAT score of at least 1500? Please count only schools whose district type is 'Unified School District', 'High School District', 'Elementary School District', or 'County Office of Education (COE)' - exclude any other district type. I just need the single count of qualifying schools.", + "evidence": "A school's total SAT score is the sum of its average reading, average math, and average writing scores; a school's mailing city is the city in its mailing address." + }, + { + "instance_id": "bird019", + "db": "california_schools", + "question": "What is the lowest grade level at which any school in our district begins serving students? If several schools tie at the lowest grade, just report that single grade level for the whole district. Our district is NCES district ID 0632640.", + "evidence": "'P' stands for preschool." + }, + { + "instance_id": "bird020", + "db": "california_schools", + "question": "I'm reviewing administrator coverage across Amador and Madera counties, and I want to see which administrator first names actually cover the most schools. For the two administrator first names whose holders run the most schools across the two counties (ranking names by the number of schools their holders run, with the alphabetically earlier name ranking higher if two names run equally many schools), please give me one row per public school district in those two counties and per those two first names, showing the district name, the first name, and the number of schools in that district run by an administrator with that first name - including every public school district, even ones where that's zero. Every administrator listed for a school counts, not just the first-listed one. A public school district means a unified school district, an elementary school district, a high school district, or a county office of education, and only Amador and Madera counties are in scope.", + "evidence": "" + }, + { + "instance_id": "bird021", + "db": "california_schools", + "question": "For the 2014-2015 academic year, what was the average number of enrolled students aged 5 to 17 eligible for free or reduced price meals per Youth Authority school? Count every Youth Authority school regardless of its status (active, closed, or merged), and treat a Youth Authority school with no meal-program record as zero. Please give me just that one number, rounded to two decimal places.", + "evidence": "A Youth Authority school is a school the state directory classifies as a Youth Authority Facility." + }, + { + "instance_id": "bird022", + "db": "california_schools", + "question": "I have a school's CDS code from a separate list of Alameda County schools on Breakfast Provision 2, and I need to confirm which school it is. For the school with CDS code 1612590136051, please give me the school name and the educational instruction level name. This CDS code identifies exactly one school, so return only that school.", + "evidence": "Breakfast Provision 2: the NSLP provision status category the school participates in. CDS code 1612590136051: the school identifier being asked about." + }, + { + "instance_id": "bird023", + "db": "california_schools", + "question": "I'm looking at the schools that the State Board of Education directly runs or charters. Which individual school among them had the most students score at least 1500 on the SAT? Please give me that school's name and its administrator's email address. If two schools tie on that count, list both.", + "evidence": "Schools run or chartered by the State Board of Education are identified by their district ownership type." + }, + { + "instance_id": "bird025", + "db": "california_schools", + "question": "I'm working on a story about campuses Los Angeles County opened during 2007 and the SAT participation they drew. What was the average number of SAT test takers per school across Los Angeles County schools that opened during 2007 and are run by a school district? Please give me that single number, rounded to two decimals. A few things to keep in mind: a county office of education counts as the school district for the schools it runs; \"opened during 2007\" means the opening date falls in calendar year 2007; and a school with no SAT record counts as zero test takers.", + "evidence": "SAT test takers: the number of test takers recorded for the school." + }, + { + "instance_id": "bird026", + "db": "california_schools", + "question": "I'm reviewing charter school funding models and want to compare the directly funded and locally funded charters that are currently in operation. For each of the two funding categories, please give me: (1) the number of charter schools currently in operation, counting only schools the directory lists as active (open), not closed or merged; (2) total 2014-2015 K-12 enrollment; (3) the average percentage of students eligible for free or reduced-price meals, on a 0-100 scale, rounded to two decimals; and (4) the average combined SAT score (reading + math + writing) across schools that have reported scores, rounded to two decimals. Note that schools without SAT results should still count in the school count, enrollment total, and meal-eligibility average. Please give me these figures grouped by funding category.", + "evidence": "Directly funded and locally funded are the two charter funding categories. Free or reduced-price meal eligibility is measured by the K-12 eligible percentage. Combined SAT score is the sum of the average reading, math and writing scores." + }, + { + "instance_id": "bird027", + "db": "california_schools", + "question": "Among California's state special schools, which one begins enrolling students at the latest grade level? Please give me: the school's name, the earliest grade level covered by its K-12 enrollment, its K-12 enrollment, and how many SAT test takers it had. In the grade-level codes, P means pre-kindergarten and K means kindergarten, and grades progress from pre-kindergarten to kindergarten to grades 1 through 12 — so a school starting at grade 1 starts later than one starting at kindergarten. If a state special school has no SAT record, still consider it a candidate and report it as having 0 SAT test takers. If two schools start at the same grade level, prefer the one with the larger K-12 enrollment; if still tied, the one whose name comes first alphabetically. The data is for the 2014-2015 school year.", + "evidence": "A state special school is a school operated by the state of California that serves students with special needs, such as the schools for the deaf or the blind." + }, + { + "instance_id": "bird028", + "db": "california_schools", + "question": "I'm putting together a brief on SAT participation among California's larger public schools. How many individual named school sites in the state with a K-12 enrollment over 500 and a highest grade served of 8 or below had no SAT test takers? I just need the school_count, a single whole number. Please count a school as an individual school site with a name - district and county offices of education are not schools. Include every qualifying school site statewide even if it shows no SAT results at all; such a site simply had no test takers. By highest grade served I mean the top grade level the school serves, as a grade number from 1 through 12.", + "evidence": "" + }, + { + "instance_id": "bird029", + "db": "california_schools", + "question": "I'm studying charter schools run by county offices of education. Using the K-12 school meal program records, for the charter schools these county offices operate, broken down by charter funding type (directly funded and locally funded only), I'd like to know: how many are currently operating, their total K-12 enrollment, and their total number of FRPM-eligible K-12 students. A school counts as currently operating only if its status is Active. Please give me one row per funding type, with directly funded first.", + "evidence": "FRPM means free or reduced price meal eligibility." + }, + { + "instance_id": "bird030", + "db": "california_schools", + "question": "I'm documenting now-closed California schools whose students performed best on the SAT writing section, and I need the runner-up. Among schools whose status is Closed (not Active, Merged or Pending), and which have an average SAT writing score, can you tell me which school had the second-highest average SAT writing score? By second-highest I mean the best score strictly below the highest – if several schools share that score, please list them all. For each school, give me its name, its own district and county, and its average SAT writing score.", + "evidence": "SAT writing score: the average writing score of the school's SAT test takers." + }, + { + "instance_id": "bird031", + "db": "california_schools", + "question": "I'm a parent looking at high schools in California, and I want to know how often a school that's still open has no seniors taking the SAT at all. How many currently open public high schools in California had zero students take the SAT? By 'currently open' I mean the school's status is Active, not closed or merged. By 'high school' I mean a school whose educational instruction level is High School. Please count a school that has no SAT record at all as having zero test takers. I just want that one number.", + "evidence": "SAT test takers: the number of test takers recorded for the school in the SAT scores data." + }, + { + "instance_id": "bird032", + "db": "california_schools", + "question": "I'm planning a targeted meal-support pilot and want to compare one school against similar schools in our county. The county I mean is the one where Fremont High (CDS code 1612590125716) is located - please identify the county by that CDS code, not by the school name. For that county, please look at all K-12 schools with more than 500 free meals and fewer than 700 FRPM meals, and give me back: the county name; the number of schools; the average free-meal percentage and the average FRPM percentage, both on a 0-100 scale with each school's own percentage rounded to 2 decimals before averaging; the number of charter schools and the number of non-charter schools (charter vs. non-charter per the charter indicator in the frpm data); and the average SAT score, where a school's SAT score is the sum of its three SAT section averages, counted only for schools that actually have SAT records, with no SAT record meaning the school is simply excluded from that average. Please round the reported averages to 2 decimals.", + "evidence": "Free meal percentage = free meal count (K-12) / enrollment (K-12) * 100; FRPM percentage = FRPM count (K-12) / enrollment (K-12) * 100; charter school = charter indicator 1, non-charter = charter indicator 0." + }, + { + "instance_id": "bird033", + "db": "california_schools", + "question": "I'm studying the 1980 growth of public schooling in San Diego County. What was the average number of schools per month that opened in San Diego County in 1980 under a school district's jurisdiction? I need just that single number. Please average over all 12 months of 1980 (months with no openings count as zero), and give me the exact average without rounding.", + "evidence": "A school district is a local education agency that runs K-12 public schools; it is an elementary school district, a high school district, or a unified school district." + }, + { + "instance_id": "bird034", + "db": "california_schools", + "question": "Among California schools whose students have an average SAT Math score above 400, what percentage offer virtual instruction, either exclusively or in part? Please give me a single percentage value rounded to one decimal place.", + "evidence": "In the school directory, the exclusive-virtual category is coded 'F' and the partial-virtual category is coded 'P'." + }, + { + "instance_id": "bird035", + "db": "california_schools", + "question": "A parent is asking about a school and could only give me the CDS code 1612590137943. Can you look up that school and give me its name, county, district, and city; its K-12 enrollment; the number of K-12 students eligible for free or reduced price meals and the percentage eligible (report the percentage exactly as it appears, without rounding); and the SAT results - number of test takers, average reading score, average math score, average writing score, and the number of test takers whose total score is at least 1500?", + "evidence": "CDS code: the state's County-District-School identification code assigned to each school; FRPM: the Free or Reduced Price Meal program, where the FRPM count is the number of students eligible." + }, + { + "instance_id": "bird037", + "db": "california_schools", + "question": "Could you pull a full profile for the school with CDS code 7618040113118? I need its name, phone number, website, average SAT reading, math and writing scores, whether it is a charter school, its K-12 enrollment for the 2014-2015 academic year, and the percentage of its students eligible for free or reduced price meals on a 0-100 scale rounded to two decimal places. Alongside that, please find the highest average SAT math score achieved by any active school with at least 10 SAT test takers – if several schools tie for the highest, just give me that single score – and how far below that highest score this school's math score falls.", + "evidence": "CDS code is the California Department of Education's school identifier; a charter school is one with charter status recorded as 1." + }, + { + "instance_id": "bird038", + "db": "california_schools", + "question": "I'm mapping where exclusively virtual schools are concentrated. For the five counties with the most exclusively virtual schools - if several counties tie with the fifth-highest count, include all of them - please give me for each county: the county name, how many exclusively virtual schools it has, and the name of the exclusively virtual school in that county with the highest average SAT reading score. If several schools tie for the highest average reading score in a county, list each of them. If none of the county's exclusively virtual schools has a reported reading average, show 'None' as the school name.", + "evidence": "An exclusively virtual school is one whose Virtual field holds the code 'F'." + }, + { + "instance_id": "bird039", + "db": "california_schools", + "question": "I'm comparing online-only schooling options. I'd like to know, for Santa Barbara County and for the county that contains the school with CDS code 1100170109835 (which identifies one school), how many exclusive-virtual schools are in each county. Please give me each county's name with its number of exclusive-virtual schools, listing the county with the larger number first, or alphabetically by county name if they tie.", + "evidence": "A school counts as exclusive-virtual only if its virtual-instruction category is coded 'F'." + }, + { + "instance_id": "bird040", + "db": "california_schools", + "question": "I'm studying how concentrated economic need relates to SAT outcomes in California public schools. Among regular, non-charter schools with more than 100 K-12 students, I'd like two extremes plus one benchmark school: the school with the largest count of FRPM-eligible students, the school with the smallest FRPM share (the proportion of its K-12 enrollment that is FRPM-eligible – smallest by that share, not the raw count), and the school with CDS code 4615150435602 from my notes. If a school answers more than one part, report it once per part, and label each row with which part it answers ('largest FRPM-eligible count', 'smallest FRPM share', or 'the CDS code from my notes', in that order). Include ties. For each school, please give: school name, county, city, full mailing address as four columns (mailing street, mailing city, mailing state, mailing ZIP), website, K-12 enrollment, FRPM-eligible student count, FRPM share, average total SAT score (reading + math + writing) among its SAT takers, percentage of its SAT takers scoring 1500 or more, opening date, and status ('closed' if a closing date is recorded, otherwise 'open'). Nothing else, please.", + "evidence": "CDS code: the California Department of Education's identification code for a school; the benchmark school in my notes is identified by CDS code 4615150435602." + }, + { + "instance_id": "bird041", + "db": "california_schools", + "question": "I'm auditing FRPM enrollment reporting and need to contact some elementary and middle schools. Please list the name and street address of every named school whose K-12 enrollment exceeds its enrollment of students aged 5-17 by more than 30 students, and whose highest grade of enrollment is grade 8 or below. Kindergarten counts as grade 8 or below. Give me one row per school; any order is fine.", + "evidence": "K-12 enrollment is enrollment counted for kindergarten through grade 12. Enrollment of ages 5-17 is enrollment counted for students aged 5 through 17. Highest grade of enrollment is the highest grade level the school enrolls students in (e.g., grade 8 for a school serving kindergarten through grade 8)." + }, + { + "instance_id": "bird042", + "db": "california_schools", + "question": "I'm auditing high-school-level campuses that draw enrollments beyond their surrounding school-age population. Can you give me a list of schools where the K-12 enrollment exceeds the ages-5-17 enrollment by more than 30, limited to schools whose lowest served grade is grade 9 or a later grade (a school's lowest served grade being the low end of the grade range reported in the same enrollment record as its K-12 and ages-5-17 counts)? For each school, I just need the school name and street address. Please order the results by the school's CDS code, smallest first.", + "evidence": "CDS code: a school's identifier in the California schools data." + }, + { + "instance_id": "bird043", + "db": "california_schools", + "question": "I'm researching where high SAT performance coexists with concentrated poverty, to help target college-access support by county. For the 2014-15 academic year, for each county, how many schools had both a K-12 free-meal eligibility rate above 0.1 and at least one SAT taker scoring 1500 or higher on the school's own SAT record? Please list only counties that have at least one such school, with the county name and the number of its qualifying schools, sorted from most such schools to fewest, and alphabetically by county name when counties tie.", + "evidence": "K-12 free-meal eligibility rate: the share of a school's K-12 enrollment that is eligible for free meals (free meal count divided by K-12 enrollment)." + }, + { + "instance_id": "bird044", + "db": "california_schools", + "question": "I have a school on file with CDS code 1611430131177. Find the school in the same county as that school whose own SAT record shows the most students scoring at least 1500 (not a district-wide roll-up). If two schools tie on that count, use the one with the smaller CDS code. Send me that school's administrator's first and last name.", + "evidence": "CDS code: the County-District-School identifier assigned to each school; scoring at least 1500: a test taker whose combined SAT score is 1500 or higher." + }, + { + "instance_id": "bird045", + "db": "california_schools", + "question": "I'm working on a story about the largest schools in the state with the worst SAT excellence rates. Among schools where at least 700 students took the SAT, can you find the school with the lowest SAT excellence rate? If several schools tie for the lowest rate, go with the one with the smallest school code. I just need that school's street, city, ZIP code and state so I can visit and request an interview.", + "evidence": "The SAT excellence rate is the share of SAT test takers scoring at least 1500. A school code is a number." + }, + { + "instance_id": "bird046", + "db": "california_schools", + "question": "I'm planning reviews of Provision 2 meal programs under the NSLP and want to see which cities concentrate magnet schools under that provision. For each city that has at least one, can you give me the number of the city's magnet schools that run a Provision 2 meal program? Use the city where the school is located, not its mailing city. Also, if a school's NSLP entry lists multiple provision types, don't count it as running Provision 2.", + "evidence": "NSLP is the National School Lunch Program. Provision 2 is a federal provision under the NSLP that lets a school serve meals at no charge to all students regardless of family income." + }, + { + "instance_id": "bird047", + "db": "california_schools", + "question": "I'm preparing a mailing campaign and need a list of public high schools in Los Angeles County that have more than 500 free or reduced-price meal recipients ages 5-17. By public high schools I mean every public high-school category in the meal program report - regular high schools, continuation high schools, and high schools in single-school districts - not just regular ones; middle and junior high schools don't count. For each school, please give me the school name exactly as listed in the school directory, plus the campus (physical) street address - not a mailing or post-office address - along with the city, state and ZIP code, each as a separate field. Schools sharing a name are separate schools, so one row per school. Please sort the list by school name.", + "evidence": "'Free or reduced-price meal recipients ages 5-17' refers to the count reported in the meal program report for students ages 5-17 receiving free or reduced-price meals." + }, + { + "instance_id": "bird048", + "db": "california_schools", + "question": "I'd like to compare SAT participation across counties in California that run magnet schools under Provision 2 of the National School Lunch Program. For every county with at least one Provision 2 magnet school, can you give me the county name and the total number of SAT test takers from those schools? Please include every such county even if the total is 0, and list them in any order.", + "evidence": "Provision 2 school: a school whose NSLP Provision Status is Provision 2. Magnet school: a school identified as a magnet school or providing a magnet program." + }, + { + "instance_id": "bird049", + "db": "card_games", + "question": "List the IDs of borderless card printings for which Card Kingdom lacks a regular-version listing or a foil-version listing.", + "evidence": "" + }, + { + "instance_id": "bird050", + "db": "card_games", + "question": "Which distinct combinations of card name, artist, and promotional-printing flag occur among the printings tied for the most rulings?", + "evidence": "" + }, + { + "instance_id": "bird051", + "db": "card_games", + "question": "What percentage of all card printings have a Simplified Chinese translation? Round to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird052", + "db": "card_games", + "question": "What rules text is printed on Benalish Knight? Return the distinct text as one line.", + "evidence": "" + }, + { + "instance_id": "bird053", + "db": "card_games", + "question": "Among all Story Spotlight card printings, what percentage have a French translation? Round to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird054", + "db": "card_games", + "question": "What are the cards belong to duel deck a? List the ID.", + "evidence": "" + }, + { + "instance_id": "bird055", + "db": "card_games", + "question": "How many distinct white-bordered card printings are banned in at least one play format?", + "evidence": "" + }, + { + "instance_id": "bird056", + "db": "card_games", + "question": "How many distinct card printings with no recorded power value or a variable power expression have at least one ruling mentioning 'triggered ability'?", + "evidence": "An asterisk anywhere in a power expression denotes variable power." + }, + { + "instance_id": "bird057", + "db": "card_games", + "question": "What percentage of cards with format commander and legal status do not have a content warning?", + "evidence": "" + }, + { + "instance_id": "bird059", + "db": "card_games", + "question": "Among the sets in the block \"Ice Age\", how many of them have an Italian translation?", + "evidence": "" + }, + { + "instance_id": "bird060", + "db": "card_games", + "question": "What percentage of Coldsnap card printings have both a Card Kingdom regular-product ID and foil-product ID recorded?", + "evidence": "" + }, + { + "instance_id": "bird061", + "db": "card_games", + "question": "Which play format has the most banned card-printing records? Give that format and the distinct names of its banned cards.", + "evidence": "" + }, + { + "instance_id": "bird062", + "db": "card_games", + "question": "I collect promotional printings and play Brawl. How many different creature cards that have a promotional printing can serve as a Brawl commander? I just want a single number back.", + "evidence": "A promotional printing is a printing of a card made as a promotion, as opposed to a regular set printing. Brawl is a Magic: The Gathering format; the deck's commander is the card that leads it, and only certain cards are legal as a Brawl commander." + }, + { + "instance_id": "bird063", + "db": "card_games", + "question": "I'm cataloguing how the frame styles on Tarmogoyf's printings evolved over time. What is the number of years between the oldest and the newest frame style used on the printings of Tarmogoyf? The span in years is the newer year minus the older year.", + "evidence": "Frame style version means the year a card's frame style dates from." + }, + { + "instance_id": "bird065", + "db": "card_games", + "question": "I have the count of sets with fewer than five translations of their name — now I need the gap in cards to size the translation budget. Can you give me the total number of cards contained in those sets? A few things to keep in mind: 'fewer than five' is strict, so a set with exactly five translations doesn't count. All sets count regardless of type or release (core set, expansion, promotional, online-only, etc.). If two languages have the identical translated name string for a set, that's one translation, not two. And a set's card count should be its full size, including promotional and related supplemental printings.", + "evidence": "A 'translation of a set's name' means the localized name of the set in another language, e.g. its French or Simplified Chinese name." + }, + { + "instance_id": "bird066", + "db": "card_games", + "question": "I'm preparing a multilingual catalog and want to gauge how much localizable content exists per kind of set. For every set type, I need the number of sets of that type that have an officially translated name, and the total number of cards in those sets. Please include every set type in the results, even ones where no set has an officially translated name (show zero for both values in that case), and sort the results alphabetically by set type.", + "evidence": "Set type: the expansion type of a set, such as core, expansion or promo. Officially translated name: the set's name rendered in another language, such as Italian or Chinese Traditional." + }, + { + "instance_id": "bird067", + "db": "card_games", + "question": "How many rulings were issued for Mishra's Factory on the latest date any ruling for it exists? By \"latest date\" I mean the most recent calendar date on which any ruling for the card exists, and by Mishra's Factory I mean the card by that name across all of its printings. I only want that count.", + "evidence": "ruling: an official rules statement issued for a card on a given date" + }, + { + "instance_id": "bird068", + "db": "card_games", + "question": "Which artist has illustrated the most different creature cards, and how many different creature cards is that? I'd like each artist's name along with their count of different creature cards. If two artists are tied for the most, list both.", + "evidence": "A creature card is a card whose card types include Creature." + }, + { + "instance_id": "bird069", + "db": "card_games", + "question": "I'm putting together a showcase of zero-mana-cost cards. What is the newest frame version used by any card with a converted mana cost of 0? Please give me that frame version value, and the number of cards in the database that use that frame version. The count should cover all cards in the database, not just the zero-cost ones. If several frame versions tie as the newest, give me each of them with its own count.", + "evidence": "Frame version: the edition of the card frame style a printing uses." + }, + { + "instance_id": "bird070", + "db": "card_games", + "question": "I'm tracking printings of Tarmogoyf. Of all its printings, which frame version is the newest? Please give me the year that identifies that latest frame version, and the percentage of the card's printings that use it, rounded to two decimal places. The percentage should be over all printings of the card.", + "evidence": "A printing is an occurrence of the card in a set; a frame version is the version of the card frame style of a printing." + }, + { + "instance_id": "bird071", + "db": "card_games", + "question": "I'm building an artifact-heavy Commander deck and want to know the size of the pool of zero-cost cards available to me. How many different cards have a printed mana cost of {0} and are legal in Commander? A card is legal in Commander if its Commander legality entry is marked Legal.", + "evidence": "Printed mana cost of 0 means the cost shown on the card is {0}. Commander is a format of play in which any card marked Legal for that format is playable." + }, + { + "instance_id": "bird072", + "db": "card_games", + "question": "I'm brewing and looking for cards that combine two keyword abilities. How many cards in the collection have both Flying and Cycling? Note that each printing counts as its own card, and a card only counts if it has both keywords.", + "evidence": "Flying and Cycling are keyword abilities in Magic: The Gathering." + }, + { + "instance_id": "bird073", + "db": "card_games", + "question": "I'm comparing how mana-cheap Magic: The Gathering sets have become over time. For two sets — the set where Abyssal Horror was first printed, and the most recently released set in the database — I want one row per set with the set name and the percentage of that set's cards that have a mana cost whose converted mana cost is 3 or less, rounded to two decimal places. By \"first printed\", I mean the set with the earliest release date among the sets Abyssal Horror appears in; if several share that earliest date, use the one whose set code comes first alphabetically. For the most recent set, use the latest release date among all sets; if several share that date, again take the one whose set code comes first alphabetically. By \"converted mana cost\" I mean the card's mana value, and a card counts as having a mana cost only if a mana cost is printed on it.", + "evidence": "Converted mana cost means the card's mana value; a card has a mana cost when a mana cost is printed on the card." + }, + { + "instance_id": "bird074", + "db": "card_games", + "question": "How many different cards have ever been printed as a release promotion? I just need a single number, covering all printings across the game's entire history with no time restriction. Note that a prerelease printing is a different promotion type and shouldn't be counted as a release promotion.", + "evidence": "A release promotion is a promotional printing whose promotion type is 'release'." + }, + { + "instance_id": "bird075", + "db": "card_games", + "question": "I'm cataloguing the Abzan clan's cards and need this: among the cards with the Abzan watermark, which one comes last in its set's numbering - i.e. has the highest collector number? Please give me the card's name, its collector number, and how many foreign-language printings exist for that card. If several Abzan-watermarked cards tie for the highest collector number, list every one of them, each with its own count of foreign-language printings. Count each foreign-language edition record of the card as one printing.", + "evidence": "Abzan watermark: the clan mark printed on the card. Collector number: the number of the card within the set it was printed in. Foreign-language printing: the foreign-language edition record of a card." + }, + { + "instance_id": "bird076", + "db": "card_games", + "question": "I'm profiling the weak end of the white-bordered printings. How many white-bordered cards have a power less than 3? I just need that single count - only white-bordered cards are in scope, and please don't include anything else in the answer.", + "evidence": "Power is a card's combat strength. A card whose power is shown as * has no known power." + }, + { + "instance_id": "bird077", + "db": "card_games", + "question": "I'm putting together a showcase of instant-speed cards from Magic: The Gathering. Which cards in the Dark Ascension set have the Flash keyword and, among those, the highest converted mana cost? Please list just the card names, one row per card, alphabetically by name, and include every card that ties on that highest cost.", + "evidence": "Dark Ascension is the Magic: The Gathering set named 'Dark Ascension'. Flash is the keyword that lets a card be cast any time you could cast an instant. Converted mana cost is the total amount of mana a card costs to cast." + }, + { + "instance_id": "bird078", + "db": "card_games", + "question": "I'm preparing localized set icon assets and need to know the foreign-language name coverage of every Magic: The Gathering set released in 2020. For each set released in 2020 (meaning its release date falls within the calendar year 2020), please give me the set's name, its keyrune code, and the number of languages in which the set has an official translated name. Nothing else.", + "evidence": "keyrune code: the code for the set's image icon; official translated name: the set's name rendered in a foreign language by the game's publisher." + }, + { + "instance_id": "bird079", + "db": "card_games", + "question": "I'm sizing a catalogue page of 2017 sets that were localized for international markets. How many cards were there in total across the Magic: The Gathering sets released in 2017 (between January 1 and December 31, 2017) that have a name in a language other than English? A set counts as localized if its name has a foreign-language translation. Include every card in each qualifying set, counting promotional and related supplemental printings as part of the set. I just need the single total across all qualifying sets, not per-set numbers.", + "evidence": "A foreign-language translation is a set's name rendered in a language other than English (e.g. Chinese Simplified, German, Spanish)." + }, + { + "instance_id": "bird080", + "db": "card_games", + "question": "I've already looked at the heavy hitters in duel deck B (the 'b' deck). Now I want to check the light end: how many cards in duel deck B are not available in foil and have attack power below 3? Note that 'below 3' means strictly below 3 — a power of exactly 3 doesn't count.", + "evidence": "" + }, + { + "instance_id": "bird081", + "db": "card_games", + "question": "I'm writing a spotlight piece on card artists, and I need to know: among black-bordered cards that are obtainable on Magic Arena and have a printed power of 10 or greater, which artist illustrated the most of them? Please give me the artist's name and the number of those cards they illustrated. A card counts even if it's also available outside Arena, as long as it can be obtained on Arena. If several artists tie for the most, list every one of them along with that count.", + "evidence": "Black border means the card's border color is black; power is the combat strength printed on a creature card, and '10 or greater' means the printed power reads as a number that is at least 10 (10, 11, 12, and so on)." + }, + { + "instance_id": "bird082", + "db": "card_games", + "question": "I'm going through my paper collection before sharing it publicly, and I want to check something about the cards Wizards of the Coast has flagged. How many different cards are there that carry a sensitive content warning, are available in paper form, and have never been available on Magic Online (MTGO)? I just need that one count.", + "evidence": "MTGO means Magic: The Gathering Online, the official online version of the game. A sensitive content warning means Wizards of the Coast has marked the card for having sensitive content." + }, + { + "instance_id": "bird083", + "db": "card_games", + "question": "Hi! I'm preparing a licensing brief for our Japanese partner about Magic: The Gathering localization coverage. Could you pull a report of every expansion type (core, expansion, promo, etc.), showing for each one how many sets of that type carry a Japanese name entry? A Japanese name entry means the set's name-translations include a Japanese-language entry giving the set's name in Japanese. Please include every expansion type in the report even if none of its sets have such an entry (show 0 for those), and sort the results alphabetically by expansion type. Nothing else needed - just the expansion type and the count.", + "evidence": "Japanese name entry: an entry in the set's name-translations whose language is Japanese and which gives the set's name in Japanese." + }, + { + "instance_id": "bird084", + "db": "card_games", + "question": "I'm cataloguing Arena-exclusive illustrated art of big creatures. How many artists have illustrated at least one black-bordered card that is available on Arena but never on Magic Online and has a fixed printed power of at least 5? I want just the number of artists, nothing else. Count across all printings in the collection with no time restriction. Note that a card whose power varies is not a fixed number, so it shouldn't count as power 5 or more.", + "evidence": "Arena and Magic Online are online platforms; a card's availability lists every platform it can be played on: 'arena' is Arena and 'mtgo' is Magic Online. Power is the attack strength printed on a creature card. Black-bordered refers to the standard card border color black." + }, + { + "instance_id": "bird085", + "db": "card_games", + "question": "I collect trading cards, and one of my favorites is Ancestor's Chosen. Of all the sets that include this card, look at the one released most recently - if several sets share that latest release date, consider them together. How many creature cards in that set (or sets) have power greater than toughness? I just want that single count, nothing else.", + "evidence": "Power is the attack strength printed on a creature card; toughness is the defense strength printed on a creature card." + }, + { + "instance_id": "bird086", + "db": "card_games", + "question": "Among the Commander-leadable cards that the Card Kingdom catalog lists for both a foil printing and a regular non-foil printing – cards listed for only one of the two printings don't count – I want the single most recent card frame year (the latest calendar year among the frame versions), and the count of cards in that group whose frame version is that year. Please return just that one row: the frame year and its card count.", + "evidence": "A card 'may lead a Commander deck' if it can be the deck's commander – the one card that leads the deck and sets its color identity – not merely be included among the deck's other cards." + }, + { + "instance_id": "bird088", + "db": "card_games", + "question": "Which card whose original type is 'Creature - Elf' has received the most rulings, and how many rulings has it received? I want the card name and the number of rulings. A card and all of its printings/reprints count as one and the same card. If several cards tie for the most rulings, list every one of them.", + "evidence": "A ruling is an official rules clarification issued for a card, on the date it was issued." + }, + { + "instance_id": "bird089", + "db": "card_games", + "question": "I'm reviewing the very first cards in the database and want to compare how widely accepted white cards are versus black cards across play formats. For each card color that appears among the cards with ID 1 through 20, please tell me the card color and the number of play formats in which cards of that color are legal. A card only counts as legal in a format if its legality status for that format is 'Legal' - banned or restricted doesn't count.", + "evidence": "Formats of play: the game formats a card is permitted in, such as commander or vintage." + }, + { + "instance_id": "bird090", + "db": "card_games", + "question": "I'm tracking John Avon's artwork. Among his cards that exist as powerful foils, what is the most recent frame year, and how many of those cards carry it? If several years are tied for most recent, give each year with its own count. Match John Avon on the illustrator's name.", + "evidence": "powerful foil: a card whose Card Kingdom identifiers are both present – the regular identifier and the foil identifier." + }, + { + "instance_id": "bird091", + "db": "card_games", + "question": "I play paper Magic and I'm building a pauper deck. How many printings of cards illustrated by Erica Yang are legal in the pauper format and exist as paper (physically printed) cards? I want just a single count of printings, with each printing counted separately.", + "evidence": "Pauper is a Magic: The Gathering format where only common-rarity cards are legal; a printing is a specific physical or digital release of a card in a set; 'legal in pauper' means the card's pauper legality status is Legal; 'paper' means a physical printed card." + }, + { + "instance_id": "bird092", + "db": "card_games", + "question": "I keep a Card Kingdom catalogue and want to list the creature cards that Card Kingdom stocks in both foil and non-foil printings. A card counts as stocked in both printings when both its Card Kingdom Foil id and its Card Kingdom id are present. Please give me one row per card, with each card's Card Kingdom Foil id and Card Kingdom id, and nothing else. I only need the three cards with the lowest Card Kingdom Foil ids in alphabetical order, with ties broken by the Card Kingdom id.", + "evidence": "Card Kingdom Foil id: the retailer's identifier for the foil printing; Card Kingdom id: the retailer's identifier for the non-foil printing." + }, + { + "instance_id": "bird093", + "db": "card_games", + "question": "Among the cards carrying the boros watermark that were printed in a foreign language, which card type is the most common, and how many of those cards have that type? If several types tie for the most, list all of them with their counts.", + "evidence": "\"Boros watermark\" refers to the guild watermark appearing on cards of the Boros guild; \"printed in a foreign language\" means the card was printed in any language other than English." + }, + { + "instance_id": "bird094", + "db": "card_games", + "question": "Among the Magic: The Gathering cards whose watermark is one of the ten Ravnica guild symbols (Azorius, Boros, Dimir, Golgari, Gruul, Izzet, Orzhov, Rakdos, Selesnya, Simic), which guild has the most cards that were printed in another language, and how many of that guild's cards is that? If several guilds tie for the most, give me each tied guild along with the number.", + "evidence": "A Ravnica guild is the guild a card's watermark belongs to; a card 'printed in another language' is a card that exists in a language edition other than English." + }, + { + "instance_id": "bird095", + "db": "card_games", + "question": "I'm cataloguing the guild cards. Among the cards that carry the Azorius watermark and were printed in at least one foreign language, how many cards are there of each card type? For each card type, please give me the card type exactly as printed, including any supertypes and subtypes, along with the number of cards of that type. List every card type that qualifies, sorted from the largest count to the smallest, and alphabetically by card type when counts are equal.", + "evidence": "" + }, + { + "instance_id": "bird096", + "db": "card_games", + "question": "I'm cataloguing modern-frame printings. How many different cards that have a text box were printed with a frame version of 2015 or a later year? I just need that single count.", + "evidence": "Frame version: the version of the card frame style, given as the year the frame style was introduced." + }, + { + "instance_id": "bird097", + "db": "card_games", + "question": "I'm putting together a showcase of promotional cards and need a list of card names. I want the names of the cards that have a promotional printing and have multiple faces on the same card, but only those printed in the most recent card frame version. A card's frame version is the year its frame style was introduced, so the most recent frame version is the one with the latest year - and it should be the newest frame style overall, not just among promotional multi-faced cards. Please list each card's name once.", + "evidence": "A promotional printing is a printing of a card that was given out for promotional purposes. A card with multiple faces has multiple faces printed on the same card." + }, + { + "instance_id": "bird098", + "db": "card_games", + "question": "I'm putting together a retrospective of promotional cards. Can you get me the card name of every promotional card that has multiple faces printed on it (like split, transform, or adventure cards) and was originally released in 2019? By \"originally released\" I mean the card's own first-release date, not the release date of the set its promotional printing belongs to, and \"in 2019\" means January 1 through December 31, 2019. If a card has more than one promotional printing from that year, list it just once. I only want the card names, nothing else.", + "evidence": "" + }, + { + "instance_id": "bird099", + "db": "card_games", + "question": "I'm researching printings of the Magic: The Gathering card Tarmogoyf. I want to identify every reprint of Tarmogoyf that was published in a card frame style that was already at least 10 full years old when the set came out. Please give me the set name and release date of every set that qualifies, not just one. Two rules: the frame version is the year that frame style dates from (the frame style itself, not any frame artwork effects), and 'at least 10 full years' is inclusive, measured between the frame version's year and the set's release year.", + "evidence": "Frame version: the year the card frame style of a printing dates from." + }, + { + "instance_id": "bird100", + "db": "card_games", + "question": "I'm cataloguing European releases of Counterspell. How many of its printings were released with both a French and an Italian localization? I just need the count as a single number.", + "evidence": "A printing is one release of the card identified by its set and its card number in that set; 'Counterspell' is the English card name as catalogued." + }, + { + "instance_id": "bird101", + "db": "card_games", + "question": "I'm putting together a localization report. Find the sets that belong to the same expansion type as \"From the Vault: Lore\" – include that set itself if it qualifies. Among those, which sets never received a name in any foreign language? For each one, give me the set's name and its release date. List each qualifying set once, from the earliest release date to the latest. Don't include anything else.", + "evidence": "Expansion type means the category a set belongs to, such as core, expansion or masters." + }, + { + "instance_id": "bird102", + "db": "card_games", + "question": "Which set contains the Aven Mindcensor printing that uses the newest card frame? I want the set's name and its release date. Count every printing, including promotional and online-only ones. If several printings share the newest frame, use the most recently released one; if the release dates tie too, list each such set once. Please give me the set name, not its code.", + "evidence": "Frame version: the frame style used for a printing; frame styles are identified by the year that style was introduced." + }, + { + "instance_id": "bird103", + "db": "card_games", + "question": "I'm auditing which recent products were never localized for Spanish-speaking markets. Can you find every set released in calendar year 2020 that has no Spanish name? For each of those, I just need the set code and the set's release date.", + "evidence": "By \"Spanish name\" I mean the Spanish-language version of a set's name." + }, + { + "instance_id": "bird104", + "db": "card_games", + "question": "I'm cataloguing special-release printings illustrated by Rob Alexander. What is the total converted mana cost across all cards illustrated by Rob Alexander whose original release falls in 2013? Please give me just that total as a single number. By 'released in 2013' I mean the calendar year from 1 January through 31 December 2013, and a card's original release is the original release date recorded on the card itself—cards with no original release date recorded are out of scope. Each card printing counts separately in the total.", + "evidence": "Converted mana cost: the total numeric mana value of a card, e.g. a card costing {4}{W}{W} has a converted mana cost of 6." + }, + { + "instance_id": "bird105", + "db": "card_games", + "question": "We're planning translation work for upcoming set releases and want to know how extensively a recent release year was localized. What was the average number of languages in which sets released in 2016 had their names translated? By 'released in 2016' I mean the release date falls within calendar year 2016. Every set released in 2016 counts toward the average, including any whose names were translated into no language at all (those count as zero). A language counts for a set when the set's name is rendered in that language. Please give me just that one number, rounded to two decimals.", + "evidence": "Set name translation: the set's name rendered in another language." + }, + { + "instance_id": "bird106", + "db": "card_games", + "question": "For the blocks named exactly \"Masques\" and \"Mirage\", how widely were their sets localized? For each of these two blocks, give me one row with the block's name, how many of its sets have an official translated name, and the total number of cards in the base sets of those sets combined. Base set size means the number of cards in the set's base set, not counting supplementary cards. Nothing else, please.", + "evidence": "" + }, + { + "instance_id": "bird107", + "db": "card_games", + "question": "I'm assembling a Japanese-language boros deck and want to check which cards need careful rules review. For every card that has a boros watermark and a Japanese printing, please give me: the Japanese card name, the English card type, and the total number of official rulings recorded for that card. A card is identified by its Japanese name together with its English card type - printings that share both count as one card, and if either differs they should be listed as separate cards. The ruling total should add up all ruling entries across every printing of that card, and if a card has no rulings, list it with a total of 0.", + "evidence": "Boros watermark means the watermark is marked 'boros' on the card; a Japanese printing is the foreign data entry in Japanese; rulings are the official rules clarifications recorded for a card." + }, + { + "instance_id": "bird108", + "db": "card_games", + "question": "I'm putting together a localization coverage report. Among the languages into which the card sets themselves were translated (i.e., have a set translation), which language has the fewest printings whose flavor text was translated into that language? Please give me the language name and the number of such printings. If several languages tie for the fewest, list all of them, ordered alphabetically by language name.", + "evidence": "Set translation: a card set's official release in another language." + }, + { + "instance_id": "bird109", + "db": "card_games", + "question": "I'm building a French-language cube and want some big finishers for it. How many different creature cards with power 10 or greater have at least one printing in a set whose name has a French translation? Please return just that single number. Note: a set qualifies based on its name having a French translation, no matter when it was released or what type of set it is, and a card counts if any of its printings comes from such a set.", + "evidence": "French translation: the set's name as given in French." + }, + { + "instance_id": "bird110", + "db": "card_games", + "question": "I'm researching the Commander banned list. Can you tell me the average mana value of the creature cards that are banned in at least one play format, considering only cards ranked in EDHRec's top 1000 most popular (ranks 1 through 1000, where rank 1 is the most popular)? Give me the average as a single number rounded to one decimal place. Keep in mind that a card printed in several sets is still just one card with one EDHRec rank and one mana value.", + "evidence": "EDHRec rank: a card's popularity rank on EDHRec, from 1 (most popular) to 1000." + }, + { + "instance_id": "bird111", + "db": "card_games", + "question": "For a stats segment on creature power creep, I want to size the middle-to-big power band: how many card printings have a power greater than 3 and at most 10? Note that 3 itself is out (strictly greater than 3), but 10 itself counts (at most 10). Just the total number of printings, please.", + "evidence": "A printing is one printed appearance of a card in a set – the same card name appearing in different sets counts as several printings." + }, + { + "instance_id": "bird112", + "db": "card_games", + "question": "I want a single number: how many card printings originally released in 2014 belong to a set that carries a Magic: The Gathering Online code. A set counts as MTGO-available only if its MTGO code is present for that set. By 2014 I mean the calendar year 2014 of the printing's original release date. Count each printing separately, even if the same card name appears in more than one set.", + "evidence": "Magic: The Gathering Online (MTGO) is the official digital edition of the game; a set's MTGO code identifies that set within MTGO." + }, + { + "instance_id": "bird113", + "db": "card_games", + "question": "I'm looking at Magic: The Gathering's localization coverage. Which foreign printing language has the fewest card printings overall, and how many printings does it have? Please count only languages in which Magic sets were officially printed—exclude one-off promotional gimmick languages. If several languages tie for the fewest, list each of them with the count.", + "evidence": "A printing language is a language in which Magic: The Gathering sets were officially released." + }, + { + "instance_id": "bird114", + "db": "card_games", + "question": "I'm auditing how thoroughly the Coldsnap expansion was localized into Italian. How many printings in the Coldsnap set have Italian rules text? I just need that single count.", + "evidence": "By 'printing' I mean an individual card entry of a set, and by 'Italian rules text' I mean the Italian-language rules wording recorded for that printing. Coldsnap means the set named Coldsnap." + }, + { + "instance_id": "bird115", + "db": "card_games", + "question": "Among the Commander-type expansion sets released in calendar year 2020 (1 January 2020 to 31 December 2020), I need the one with the highest total card count, so we can plan translation work. Please send me the set's id from the sets listing, its name, and the number of official languages it was released in. The total card count should include promotional and related supplemental products, but exclude Alchemy modifications. If two sets tie for the highest total card count, list each of them, ordered by set id ascending.", + "evidence": "Commander: a multiplayer expansion type of the game. Alchemy modifications: online-only variant versions of cards." + }, + { + "instance_id": "bird116", + "db": "card_games", + "question": "I'm researching Magic: The Gathering's basic land card Swamp. How many foreign languages has it been printed in over its entire history? Count all printings across every set and year.", + "evidence": "Swamp is the name of a Magic: The Gathering card." + }, + { + "instance_id": "bird117", + "db": "card_games", + "question": "I'm putting together a black artifact flavor-showcase section for a trade binder. How many mono-black Artifact cards have a foreign-language printing that shows flavor text in that language? By mono-black I mean black is the card's only colour, and by Artifact cards I include artifacts combined with another card type, like an Artifact Creature. I'm counting cards, not printings – a card is the same card regardless of set, print run, or language. Just give me one number.", + "evidence": "In Magic colour notation, B denotes black, and a card is mono-black when black is its only colour." + }, + { + "instance_id": "bird118", + "db": "codebase_community", + "question": "What is the display name of the user who last edited the post \"Examples for teaching: Correlation does not mean causation\"?", + "evidence": "" + }, + { + "instance_id": "bird119", + "db": "codebase_community", + "question": "Which users made exactly one history entry on at least one post with at least 1,000 views? Return their distinct user IDs.", + "evidence": "" + }, + { + "instance_id": "bird120", + "db": "codebase_community", + "question": "What is the difference in percentage points between the 2010 and 2011 shares of all Student badges, taking the 2010 share minus the 2011 share?", + "evidence": "" + }, + { + "instance_id": "bird121", + "db": "codebase_community", + "question": "What percentage of posts authored by Community use the R-language tag? Round to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird122", + "db": "codebase_community", + "question": "Which post created in 2010 had the most favorites? Return its post ID and its owner's display name.", + "evidence": "" + }, + { + "instance_id": "bird123", + "db": "codebase_community", + "question": "Give the view count of the post titled 'Computer game datasets' and the display name of its last editor.", + "evidence": "" + }, + { + "instance_id": "bird124", + "db": "codebase_community", + "question": "Give the text and author's display name for the latest ten comments on the post titled 'Analysing wind data with R', newest comment first.", + "evidence": "" + }, + { + "instance_id": "bird125", + "db": "codebase_community", + "question": "Among all posts by the user with the highest reputation, what percentage have a score above 50? Round to two decimal places.", + "evidence": "" + }, + { + "instance_id": "bird126", + "db": "codebase_community", + "question": "Among comments attached to existing posts with exactly one comment record in the data, how many have a score of zero?", + "evidence": "" + }, + { + "instance_id": "bird127", + "db": "codebase_community", + "question": "I'd like to gauge the standing of our United Kingdom contributor community on the site. Can you give me the combined reputation of the users based in the United Kingdom who have posted on the site, as a single total? Please write the country by its full name, \"United Kingdom\", and don't substitute abbreviations. I just need the one number, not a per-user list.", + "evidence": "Reputation is the score the site assigns each user. A user who has posted owns at least one item in the site's post collection." + }, + { + "instance_id": "bird128", + "db": "codebase_community", + "question": "I want to profile the users who drop links in comment threads. What is the average age of the users who posted a comment containing a website link? Please round it to two decimal places. That single value is all I need back.", + "evidence": "A comment counts as containing a website if its content contains 'http://'." + }, + { + "instance_id": "bird129", + "db": "codebase_community", + "question": "I'm profiling how seasoned our Organizer badge holders in Germany are. Among the users who earned the Organizer badge and are based in Germany, how many had already earned 5 badges before they got the Organizer badge? Just the count, please. Note: \"before\" means strictly earlier - badges earned at the same moment as the Organizer badge don't count toward the 5, and the Organizer badge itself doesn't count as one of the 5.", + "evidence": "Organizer badge: the badge whose name is Organizer." + }, + { + "instance_id": "bird130", + "db": "codebase_community", + "question": "I'm putting together a report for the site owners on where people who started posting during 2010 were located, with a focus on India. Could you tell me how many of the users whose first post was created in 2010 are located in India? By 2010 I mean the calendar year 2010, and by India I mean the country itself, not any place whose name merely contains the word.", + "evidence": "A user's first post is the earliest-created post among the posts that user owns." + }, + { + "instance_id": "bird131", + "db": "codebase_community", + "question": "I'm profiling the authors behind poorly received R posts to see if they tend to be low-reputation members. Can you give me the average reputation of the users who own posts tagged with the R tag that have a score below 20? Just the single number, rounded to the nearest whole number.", + "evidence": "'r' is the tag used on this site for the R programming language for statistical computing." + }, + { + "instance_id": "bird132", + "db": "codebase_community", + "question": "I'm putting together the yearly activity report with a Germany-focused breakdown of who did the editing, covering posts created in calendar year 2012. For the 2012 posts whose last editor is a user based in Germany, I need the total score; and for all other posts created in 2012, I need their total score as well. Also, how many Germany-based users were the last editor of at least one 2012 post, and what their combined reputation is, as shown on their profiles. A user based in Germany is one whose profile location is in Germany.", + "evidence": "A post's last editor is the user who made its most recent edit." + }, + { + "instance_id": "bird133", + "db": "codebase_community", + "question": "I'm reviewing R-language activity on the site. I'd like to gauge the standing of the community members behind the highly-rated R posts: what is the combined reputation of the users who own a post with a score of exactly 10 that carries the R programming language tag? Please return just that single number. Note that by R I mean the R programming language tag specifically, not any other tag or value that just happens to contain the letter r.", + "evidence": "" + }, + { + "instance_id": "bird134", + "db": "codebase_community", + "question": "I'd like to gauge the standing of the community members behind the R posts on one day. Could you tell me the combined reputation of the users who own the posts tagged R that were last active on 2014-08-27? I just need that one number, covering the whole calendar day 2014-08-27.", + "evidence": "R: the R language for statistical computing." + }, + { + "instance_id": "bird135", + "db": "codebase_community", + "question": "What is the total score of the questions tagged 'r' that link to the question titled \"A Probability distribution value exceeding 1 is OK?\"? I only need the total score of those linking questions.", + "evidence": "'r' here means the R programming language for statistical computing, not the letter on its own." + }, + { + "instance_id": "bird136", + "db": "codebase_community", + "question": "I'm profiling users by where they say they live. Among the users located in Germany, who has the second most badges of all time? By second most I mean the highest badge total strictly below the top holder's total. If several users tie at that total, include all of them. Please give me each such user's display name and their badge total, ordered by display name.", + "evidence": "Badges: the badges a user has obtained, one badge award per record." + }, + { + "instance_id": "bird137", + "db": "codebase_community", + "question": "I'm planning regional outreach and want to know which California-based account draws the most profile attention. Among users whose stated location shows they are based in California, give me the user id, display name, profile view count, and reputation of the user or users with the most profile views. If several such users tie for the most profile views, list every one of them with those same four values.", + "evidence": "CA is the two-letter state code for California." + }, + { + "instance_id": "bird138", + "db": "codebase_community", + "question": "We're profiling our most respected members by where they live, focusing on York, England (the English city itself; a location listed as just \"York\" counts). Who is the most influential user based there – the one with the highest reputation – and what is their age? If several users tie for the highest reputation, give me the age of each of them. Please return only the age, exactly as it stands for each user, even when an age isn't reported.", + "evidence": "" + }, + { + "instance_id": "bird139", + "db": "codebase_community", + "question": "I'm preparing a report on international participation. How many users located in India had earned a Yearling badge before 2014? 'Before 2014' should mean before 1 January 2014. I just need the single count, nothing else.", + "evidence": "'Yearling' is a badge a member earns for a year of activity on the site." + }, + { + "instance_id": "bird140", + "db": "codebase_community", + "question": "I'm putting together a summary of how active badge-holders present themselves on the site. How many different display names appear among the adult users who obtained the Supporter badge? By adult I mean age 19 to 65 inclusive, and please cover all time. I just need that one number.", + "evidence": "NaN stands for a user who never set a display name." + }, + { + "instance_id": "bird141", + "db": "codebase_community", + "question": "Among all posts whose title contains the phrase 'principal component scores', which one has the most related posts linked to it? For each such post, give me the post title and the number of related posts. If several posts tie for the most, list every one of them with their counts. The count should cover related posts across the site's entire history.", + "evidence": "A related post is another post that the community's link records connect to a given post." + }, + { + "instance_id": "bird142", + "db": "codebase_community", + "question": "I'm auditing accounts on the stats forum. What is the id of the youngest user account whose display name is Michael? If two or more such accounts tie as the youngest, give me the smallest id.", + "evidence": "" + }, + { + "instance_id": "bird143", + "db": "codebase_community", + "question": "I'm trying to gauge how many users the bounty feature drew back when it first ran. How many users offered a bounty of 30 or more on some post between 1 January 2010 (inclusive) and 1 January 2011 (exclusive), going by the date the bounty was recorded? By the user who offered a bounty, I mean the post's owner - the owner account where one is recorded, otherwise the owner name on the post. I just need that one count.", + "evidence": "A bounty is a reputation reward a user attaches to a post, recorded as an amount." + }, + { + "instance_id": "bird144", + "db": "codebase_community", + "question": "What was the average reputation of users located in India who created a post in 2010? Please give me a single number rounded to two decimal places. Note: 'in 2010' means the calendar year 2010 based on the post's creation date, and any type of post counts. A user counts as located in India only if their location is actually India - a place that merely contains the word India (like the US state Indiana) doesn't count.", + "evidence": "" + }, + { + "instance_id": "bird145", + "db": "codebase_community", + "question": "I'm profiling our most active contributors of 2012. Among the users who created more than ten posts in 2012 (judged by each post's creation date), what is their average number of up-votes cast and their average age? Please give me a single row with both averages, each rounded to two decimal places.", + "evidence": "Up-vote: a vote a user cast in favor of a post." + }, + { + "instance_id": "bird147", + "db": "codebase_community", + "question": "I'm reviewing our 2010 content. What percentage of posts created in 2010 that have a score above 5 were NOT made by high-reputation users? By high-reputation I mean a user with a reputation of at least 1000. Please give me just the single percentage value, rounded to two decimal places. Use the post's creation date to determine that it's from calendar year 2010.", + "evidence": "high-reputation: reputation of at least 1000" + }, + { + "instance_id": "bird148", + "db": "codebase_community", + "question": "I'm reviewing the history of the question 'Why square the difference instead of taking the absolute value in standard deviation?'. For that post, who left the most edit comments, and how many did they leave? Please give me each editor's display name along with their number of edit comments on that post. If several editors are tied for the most, list each of them with their count. Also, please count every revision as its own event, even when successive revisions carry the same note.", + "evidence": "An edit comment is the note an editor records together with a revision of a post, not a comment posted under the post." + }, + { + "instance_id": "bird149", + "db": "debit_card_specializing", + "question": "For each of the SME, LAM, and KAM segments, identify the CZK customer with the lowest total recorded consumption in 2013, breaking a tie by smaller customer ID. What are the differences between those customers' 2013 totals in SME minus LAM, LAM minus KAM, and KAM minus SME order? Round each to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird150", + "db": "debit_card_specializing", + "question": "Among EUR-paying customers in the SME, LAM, and KAM segments, which segments had the highest and lowest percentage increase in total consumption from 2012 to 2013? Return each extreme segment and its increase percentage, rounded to two decimal places; include ties.", + "evidence": "" + }, + { + "instance_id": "bird151", + "db": "debit_card_specializing", + "question": "For the customer who paid 634.8 on 2012-08-25, what is the relative change in annual consumption from 2012 to 2013, calculated as (2013 total - 2012 total) / 2012 total and rounded to four decimal places?", + "evidence": "" + }, + { + "instance_id": "bird153", + "db": "debit_card_specializing", + "question": "I'm reviewing our 2012 performance and want to see which client segments hold our small-scale customers. For each client segment, can you tell me how many customers had total consumption below 30,000 over the whole of 2012? Please count only customers who used their cards at some point during 2012, and treat 30,000 as a strict limit - someone at exactly 30,000 doesn't count. I just need the client segment and the number of such customers per segment.", + "evidence": "Consumption means the amount spent through a customer's fuel cards." + }, + { + "instance_id": "bird154", + "db": "debit_card_specializing", + "question": "I'm reviewing 2013 uptake and want to know the genuinely active cardholder base in each client segment. For each client segment, how many of that segment's customers consumed any fuel at all during the calendar year 2013? I just need the client segment and the number of customers who consumed fuel in 2013, nothing else.", + "evidence": "A customer's consumption for a month is the amount of fuel recorded against them for that month; by 'consumed any fuel in 2013' I mean they had fuel recorded against them in at least one month of 2013." + }, + { + "instance_id": "bird155", + "db": "debit_card_specializing", + "question": "I want to gauge how spread out our high-value fuelling activity in the Czech Republic was over the recorded window. How many whole minutes elapsed from the first to the last fuel transaction at gas stations in the Czech Republic with a price over 1000? Please round down to whole minutes.", + "evidence": "Czech Republic means the gas station is in the CZE country." + }, + { + "instance_id": "bird156", + "db": "debit_card_specializing", + "question": "I'm preparing a loyalty review of our steadily active customers in 2013. For each currency, I'd like to know how many customers bought fuel in every month from January through November 2013, with both January and November included. Please give me the currency and that customer count. If several currencies tie, list them all – no ranking needed.", + "evidence": "Consumption means the total fuel a customer purchased in a month on their fuel card; a customer counts for a month if they had any consumption that month." + }, + { + "instance_id": "bird157", + "db": "debit_card_specializing", + "question": "I'm putting together currency-specific pricing proposals and need a sense of typical quarterly fuel consumption. Among customers who have fuel consumption recorded in the second quarter of 2013 (April, May and June 2013), what is the average amount of fuel consumed over the whole quarter by an EUR-paying customer, and the same average for a CZK-paying customer? Please round both averages to two decimal places. By EUR-paying / CZK-paying I mean a customer whose account currency is EUR / CZK.", + "evidence": "EUR-paying / CZK-paying: a customer whose account currency is EUR / CZK" + }, + { + "instance_id": "bird158", + "db": "debit_card_specializing", + "question": "I want to see how much our busiest month grew from 2012 to 2013. What was the difference between our peak monthly total consumption in 2013 and our peak monthly total consumption in 2012, in consumption units, rounded to the nearest whole number? By total consumption in a calendar month I mean the consumption of the whole customer base that month, and the peak of a year is the calendar month with the highest total consumption in that year.", + "evidence": "" + }, + { + "instance_id": "bird159", + "db": "debit_card_specializing", + "question": "I'm reviewing customer 15621's fuel spending on the fleet card in 2013. What was their average fuel consumption per month, counting only the months in which they actually purchased fuel? Give me the single average value rounded to two decimal places.", + "evidence": "" + }, + { + "instance_id": "bird160", + "db": "debit_card_specializing", + "question": "I want to compare how much a typical Czech-koruna-billed client spent versus a euro-billed client during 2012, to see whether the two currency segments behave differently. Please give me the difference between the average 2012 consumption of a CZK-paying customer and the average 2012 consumption of an EUR-paying customer, with the EUR average subtracted from the CZK average. Only include customers who had consumption in 2012 in each average, and the period is calendar year 2012. Just send me that one number, rounded to the nearest whole unit.", + "evidence": "Consumption means the monthly consumption amount recorded per customer." + }, + { + "instance_id": "bird161", + "db": "debit_card_specializing", + "question": "I'm sizing a premium offer for our heaviest corporate fuel buyers ahead of renewals. How many KAM-segment customers paying in CZK had total fuel consumption above 1 million (1,000,000) in calendar year 2013? I just need that number of customers.", + "evidence": "KAM is one of our client segments." + }, + { + "instance_id": "bird162", + "db": "debit_card_specializing", + "question": "For my February 2013 activity report: how many SME customers actually purchased gas in February 2013? Please give me just a single whole number - the count of SME customers who consumed gas during the calendar month of February 2013 (Feb 1-28, 2013).", + "evidence": "By \"gas\" I mean gasoline (motor fuel) purchases, not natural gas." + }, + { + "instance_id": "bird163", + "db": "european_football_2", + "question": "Which away teams are tied for the most away wins in the Scottish Premier League 2009/2010 season?", + "evidence": "" + }, + { + "instance_id": "bird164", + "db": "european_football_2", + "question": "List the long name of teams with above-average build-up play passing in 2012.", + "evidence": "" + }, + { + "instance_id": "bird165", + "db": "european_football_2", + "question": "List the ten players taller than 180 cm with the highest mean recorded heading accuracy, highest first. Break mean ties by player API ID.", + "evidence": "" + }, + { + "instance_id": "bird166", + "db": "european_football_2", + "question": "List the name of leagues in which the average goals by the home team is higher than the away team in the 2009/2010 season.", + "evidence": "" + }, + { + "instance_id": "bird167", + "db": "european_football_2", + "question": "Between the tallest and shortest players, who has the higher average finishing attribute across his recorded assessments? Give the player's name.", + "evidence": "" + }, + { + "instance_id": "bird168", + "db": "european_football_2", + "question": "What is Abdou Diallo's mean recorded ball-control score minus Aaron Appindangoye's mean recorded ball-control score?", + "evidence": "" + }, + { + "instance_id": "bird169", + "db": "european_football_2", + "question": "By what percentage is Ariel Borysiuk's overall rating in his latest attribute record higher than Paulin Puel's latest overall rating? Round to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird170", + "db": "european_football_2", + "question": "On what date did Kevin Constant first record his highest crossing score?", + "evidence": "" + }, + { + "instance_id": "bird171", + "db": "european_football_2", + "question": "Among players shorter than 180 cm, what percentage have at least one recorded overall rating above 70? Round to two decimal places.", + "evidence": "" + }, + { + "instance_id": "bird172", + "db": "european_football_2", + "question": "What is the average height, in centimetres, of the players taller than 180 cm who have appeared in the home team's number-3 lineup slot? This should cover the whole recorded match history with no season or date restriction. 'Taller than 180' means strictly taller than 180 cm. Please round the final average to two decimal places and return just that single value.", + "evidence": "Number-3 lineup slot: each match records a home team's starting eleven as eleven ordered player slots; the number-3 slot is the home team's third slot." + }, + { + "instance_id": "bird173", + "db": "european_football_2", + "question": "I'm sizing up how defensive-minded the young generation is. Among players born after 1990 (i.e., born in 1991 or later) who have a defensive work rate rating, what share are rated high? A player counts as rated high if they've been rated high at any point in their career. Give me that share as a percentage rounded to two decimal places - nothing else.", + "evidence": "Defensive work rate: a player's rating for defensive effort, on a low / medium / high scale." + }, + { + "instance_id": "bird174", + "db": "european_football_2", + "question": "I've shortlisted the players whose overall rating as of 31 December 2010 was above 80 - strictly above 80, that is. How many matches did these players play on average during the 2010/2011 season? Please give me just that single average, rounded to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird175", + "db": "european_football_2", + "question": "What is the average height in centimeters of players whose current defensive work rate grade is not medium? Use each player's most recent rating record to determine their current grade, and round the result to two decimal places. I just need that single number.", + "evidence": "Defensive work rate grades run low, medium and high." + }, + { + "instance_id": "bird176", + "db": "european_football_2", + "question": "I'm preparing a report on team playing styles. First, consider only teams whose chance creation passing class was Risky at any point in the recorded history. Among those, I want the short names that are carried by more than one club. For each such short name, please give me: the short name, the number of clubs that carry it, and the average chance creation passing risk of those clubs that was in force on 19 September 2014, rounded to one decimal place. Sort the results by that average, highest first; if two averages are the same, order them alphabetically by short name.", + "evidence": "A team's chance creation passing class is 'Risky' when chanceCreationPassingClass = 'Risky'; its chance creation passing risk is the chanceCreationPassing value in force on the date in question." + }, + { + "instance_id": "bird177", + "db": "european_football_2", + "question": "I want to gauge how tall the current medium-defensive-work players from the 1990-1995 birth cohort are. Please find the average height, in centimetres, of players born from 1990 through 1995 inclusive whose defensive work rating is medium, and round the average to two decimals. A player's rating is the grade on their most recent record that carries a grade.", + "evidence": "The defensive work rating grades are low, medium and high." + }, + { + "instance_id": "bird178", + "db": "european_football_2", + "question": "What is the average weight of all left-footed players? Round the average to one decimal place.", + "evidence": "Left-footed means the player's preferred foot when attacking is the left one." + }, + { + "instance_id": "bird180", + "db": "european_football_2", + "question": "What was the build-up play dribbling class for the team from England with short name POR on 10 September 2015? I just need that single class value for that team on that calendar day.", + "evidence": "" + }, + { + "instance_id": "bird181", + "db": "european_football_2", + "question": "I'm looking at whether a fast attacking build-up actually converts into big results. Which clubs, playing at home, have won a match by at least 3 goals while their build-up play speed was rated fast at the time? For each such club, give me the club name, short name, and how many of those home wins it has - one row per club. Please treat clubs as separate even if two clubs share the same short name, and if several clubs tie on the number of wins, list all of them. The speed rating that counts is the club's most recent rating dated on or before the match's own date.", + "evidence": "A club wins by at least 3 goals when its goal count minus the opponent's goal count is 3 or more; 'fast' means the club's build-up play speed class at that time is Fast." + }, + { + "instance_id": "bird182", + "db": "european_football_2", + "question": "I'm writing a piece about players who've suffered heavy away defeats. For each season, I'd like to know how many different players were in the away team's lineup for a match that the away side lost by five or more goals. Please give me one row per season that had at least one such match, showing the season label (like 2012/2013) and the number of different players, ordered by season label.", + "evidence": "" + }, + { + "instance_id": "bird183", + "db": "european_football_2", + "question": "I want to find out which European league country had the largest group of exceptionally heavy players appear in its matches. For each country, I'm interested in players weighing 210 pounds or more who took part in matches played in that country's league - count players from both teams in each match. Please tell me which country had the most such players and how many there were. If several countries tie for the most, list them all, ordered alphabetically by country name. I just need the country name and the number of qualifying players - nothing more.", + "evidence": "" + }, + { + "instance_id": "bird184", + "db": "european_football_2", + "question": "I'm studying squad physical profiles in Serie A. For the 2008/2009 season and the 2015/2016 season of the Italian league, I'd like to know how many players appeared in matches that season (i.e. were listed in a match's lineup, including players who appeared in both seasons), and the average height of those players in centimeters, rounded to two decimals. One row per season with the season label, the count of players, and their average height.", + "evidence": "A player appeared in a match if he is listed in that match's lineup (eleven home and eleven away players). Italian league = the league of the country Italy." + }, + { + "instance_id": "bird185", + "db": "european_football_2", + "question": "I'm putting together a report on current player abilities. How many players are over 180 cm tall and have a volley score above 70 on their most recent rating record? Judge each player by their current rating only, not their career history. For each player, use the rating record with the latest date; if a player has several rating records on that same latest date, count them only based on the single record with the highest id on that date.", + "evidence": "By volley I mean a player's ability to strike the ball while it is in the air, and a rating record is a dated assessment of a player's attributes." + }, + { + "instance_id": "bird186", + "db": "european_football_2", + "question": "I'm reviewing home-match outcomes by lineup slot and want one number: across the whole player population, what is the average of the total home-team goals scored in the matches where a player appeared as the home team's third listed player? In other words, for each player, take all matches where they were the home team's third listed player and add up the home team's goals in those matches; give me the average of those totals over all players, rounded to two decimal places.", + "evidence": "The home team's third listed player means the player recorded third in the home team's lineup for a match." + }, + { + "instance_id": "bird187", + "db": "european_football_2", + "question": "I'm studying where small, low-weight players are concentrated across European leagues. Which country's league matches featured the fewest players weighing at most 160 pounds? If several countries tie for the fewest, give me every tied country's name. Include all seasons in the database, and count the players who took part in those matches.", + "evidence": "Players are associated with a country through the matches they played in that country's league; all 22 players of a match, the 11 of the home team and the 11 of the away team, took part in it." + }, + { + "instance_id": "bird188", + "db": "european_football_2", + "question": "As of 1 January 2015, how many players preferred their left foot and had an attacking work rate below high (i.e. low or medium)? I just need the count of those players.", + "evidence": "Attacking work rate is a rating on the scale low, medium, high; below high means low or medium. The player's preferred foot and work rate are the ones that held on 1 January 2015." + }, + { + "instance_id": "bird189", + "db": "european_football_2", + "question": "What percentage of left-footed players currently has a low attacking work rate? Use each player's most recent attribute record. Only count left-footed players whose current record includes an attacking work rate rating - those without one should be left out of the share. Give me a single percentage, rounded to one decimal place.", + "evidence": "Attacking work rate: how much effort a player puts into attacking plays, rated low, medium or high." + }, + { + "instance_id": "bird190", + "db": "european_football_2", + "question": "I want to see which of the young Aaron-named players actually got playing time in 2015/2016. For every player born after 1990 whose name begins with 'Aaron', can you give me his name and the number of matches he played in during the 2015/2016 season (the season labelled 2015/2016)? A player counts as having played in a match if he's recorded in either team's starting line-up for that match. One row per player, sorted alphabetically by player name.", + "evidence": "" + }, + { + "instance_id": "bird191", + "db": "european_football_2", + "question": "How many players had a jumping score of 80 or higher in the player fitness assessments made between 22 February 2007 and 30 August 2007, with both of those dates included in the period? For clarity, the jumping score is the player's jumping assessment on a 1-100 scale.", + "evidence": "jumping score: the player's jumping assessment on a 1-100 scale" + }, + { + "instance_id": "bird192", + "db": "european_football_2", + "question": "What was KSV Cercle Brugge's build-up-play speed class at the time of their last match of the 2012/2013 season? The last match of the season is the latest-dated match the team played in that season, and the snapshot in effect at a moment is the latest one dated on or before that moment. I just want that single build-up-play speed class, nothing else.", + "evidence": "Build-up-play speed class: a team's speed class for how quickly attacks are put together." + }, + { + "instance_id": "bird193", + "db": "european_football_2", + "question": "I'm profiling how exceptional Landon Donovan was in the mid-2013 player ratings. By what percentage was his overall rating on 12 July 2013 higher than the average overall rating across all players on that same calendar date, considering every player with the overall rating they carried on that date (not only those updated that day), among players rated low, medium or high for defensive work rate? Return one value only: that percentage, rounded to two decimals (e.g. 12.34 meaning 12.34% higher).", + "evidence": "Defensive work rate: a player's intensity of work in defense, rated low, medium or high. Overall rating: the overall score given to a player in the ratings." + }, + { + "instance_id": "bird194", + "db": "financial", + "question": "Among female clients living in the district with the lowest average salary, give the account IDs of the oldest client and the difference between the highest and lowest district-average salaries.", + "evidence": "" + }, + { + "instance_id": "bird195", + "db": "financial", + "question": "In which district did the female client born on 1976-01-29 open her account?", + "evidence": "" + }, + { + "instance_id": "bird196", + "db": "financial", + "question": "Among south Bohemia districts, in the one with the largest population, what percentage of resident clients are male? Round to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird197", + "db": "financial", + "question": "For the account associated with the loan dated 1993-07-05, what was the percentage increase in its recorded balance from 1993-03-22 to 1998-12-27?", + "evidence": "" + }, + { + "instance_id": "bird198", + "db": "financial", + "question": "For accounts opened from 1995 through 2000 in East Bohemia districts, list each account ID and its statement-issuance frequency.", + "evidence": "" + }, + { + "instance_id": "bird199", + "db": "financial", + "question": "For branch districts of accounts with loans still running in debt and recorded unemployment rates in both 1995 and 1996, list each district and the percentage change in its unemployment rate from 1995 to 1996, rounded to two decimal places.", + "evidence": "Loan status 'D' denotes a running contract with the client in debt." + }, + { + "instance_id": "bird200", + "db": "financial", + "question": "For each account-disposition type other than OWNER found in districts with average salary above 8000 and at most 9000, give the type and the number of distinct associated accounts.", + "evidence": "" + }, + { + "instance_id": "bird201", + "db": "financial", + "question": "For loans dated in 1996 and 1997 across accounts owned by male clients, what was the percentage growth in total loan amount from 1996 to 1997?", + "evidence": "" + }, + { + "instance_id": "bird202", + "db": "financial", + "question": "How often does account 3 receive statements, and what is the recorded payment-purpose code for its scheduled payments totaling 3,539?", + "evidence": "" + }, + { + "instance_id": "bird203", + "db": "financial", + "question": "We're reviewing our first month of operations. Looking at the districts where we opened at least one account during that first month, which district had the largest population, and how many inhabitants does it have? If several districts tie for the largest population, list all of them with their populations.", + "evidence": "The bank's first month of operation is the calendar month in which its earliest account was opened." + }, + { + "instance_id": "bird204", + "db": "financial", + "question": "As part of a data-quality review for a segment report, I need to know how much of the recorded transaction activity for one of our segments has no payment purpose noted. How many transactions are there, over the whole recorded history, on the accounts held by male customers born between 1974 and 1976 (birth years 1974, 1975 and 1976), for which no payment purpose is noted? Please give me just that single number.", + "evidence": "Payment purpose: the stated reason or note recorded for a transaction." + }, + { + "instance_id": "bird205", + "db": "financial", + "question": "Among the bank's five most populous districts (the five with the largest numbers of inhabitants), which carries the heaviest active-lending burden relative to the account base it serves? For each of those five districts, please give me the district name and the average active loan per account, rounded to the nearest whole koruna. An active loan is a running loan contract with status 'C' (repaid OK so far) or status 'D' (client in debt). The average should be taken over every account held in the district, not just accounts with loans, and accounts and their loans count toward the district of the branch that holds the account, not the client's district. If several districts tie for the highest average, list them all.", + "evidence": "" + }, + { + "instance_id": "bird206", + "db": "financial", + "question": "For our 1995 year-end loan review: which of the bank's regions has the largest total approved amount among loans that were still being repaid on 31 December 1995, and what is that total? Only count loans approved on or before that day whose repayment term still covers that day; loans approved after it don't count yet. A loan's term includes both its approval day and its last day. If several regions tie for the largest total, list every tied region with the total. Just give me the region name and the single total figure.", + "evidence": "A loan is repaid over a term that starts on its approval day and lasts the number of months recorded for the loan; the loan is being repaid on every day of its term. Status 'C' means a running contract, OK so far; status 'D' means a running contract, client in debt. The regions are the bank's district regions." + }, + { + "instance_id": "bird207", + "db": "financial", + "question": "I'd like to know how many customer accounts based in North Bohemia as of the end of 1995 have had at least one transaction with partner bank AB at some point in their history. Please give me just that count as a single integer.", + "evidence": "'End of 1995' means the state on 31 December 1995, and the AB transaction may date from any time, before or after that date; 'AB' is the code identifying the partner bank of the transaction." + }, + { + "instance_id": "bird208", + "db": "financial", + "question": "I'm profiling our East Bohemia branch districts that serve younger clients for a youth-product campaign. A district counts as serving a client when the client holds an account at a branch located in that district - it's the branch location that matters, not the client's home district. For the East Bohemia districts that serve at least one client born in the 1980s (birth years 1980 through 1989), please give me: the average of those districts' average salaries, rounded to two decimal places, and the number of such districts.", + "evidence": "East Bohemia refers to the districts in the East Bohemia region of the Czech Republic." + }, + { + "instance_id": "bird209", + "db": "financial", + "question": "I'm planning a card-offer mailing and want to gauge how affluent the home districts of certain clients are. Please give me one number: the average, over the districts where these clients live, of each district's average salary, rounded to two decimal places. The clients are account owners in central Bohemia who hold no credit card for their account. Two things to keep in mind: a client's district is the one recorded with the client, not the district of the account's branch; and a client counts as holding a card for an account if a card is linked to any disposition of that account, not just their own.", + "evidence": "OWNER is the disposition type marking an account's owner; DISPONENT marks other account users." + }, + { + "instance_id": "bird210", + "db": "financial", + "question": "I'm preparing for a client review and want to gauge how indebted our older customers' accounts are, including accounts that never took any loans. Could you give me the average number of loans per account among accounts whose owner was born before 1950? By 'born before 1950' I mean a birth date earlier than 1 January 1950, and all loans should count regardless of when they were approved. Please give me the average rounded to two decimal places, and nothing else.", + "evidence": "The owner of an account is the client with the OWNER disposition; a DISPONENT is a co-holder who does not own it. A loan is a credit granted on the account, recorded with the date it was approved." + }, + { + "instance_id": "bird211", + "db": "financial", + "question": "I'm putting together a periodic report on large payments made by a specific customer cohort, split by what the payment was for. Among payments over $4000 (strictly more than $4000) made from the accounts of male customers born between 1974 and 1976, I need two figures: how many were household payments, and how many were made for a purpose other than household payment. A few rules to keep in mind: born between 1974 and 1976 means the birth year is 1974, 1975 or 1976; a customer's accounts are the ones they hold a disposition on; payments are the individual transactions executed on the account, not standing payment orders; a payment counts as other-purpose only if it has a recorded purpose different from household payment, and a payment with no purpose recorded counts in neither bucket.", + "evidence": "SIPO stands for household payment." + }, + { + "instance_id": "bird212", + "db": "financial", + "question": "I want to find out whether our borrowing households from larger population centres transact differently from local ones. For every account at the Prachatice branch that has taken at least one loan, please give me: the account number, the account opening date, the total amount ever borrowed, how many outside bank counterparties the account has transacted with over its entire history, the owner's home district, the population of that district, and a rank of these borrowing households by home-district population from largest to smallest. Note that a counterparty means a particular bank account at another institution, identified by that account number, not by the bank code, and only transfers to or from another bank count — handling cash at our own branch does not involve a counterparty. A household's home district is the district its owner client is registered in, which is not necessarily Prachatice. For the ranking: largest population first, ties share the same rank and the next rank after a tie is skipped, and among households whose home districts have the same population, list the smaller account number first.", + "evidence": "An outside bank counterparty is a bank account at another institution that money was sent to or received from on a transfer transaction. District population is the number of inhabitants of the district." + }, + { + "instance_id": "bird213", + "db": "financial", + "question": "I'm profiling our gold-card customers for a regional campaign, split by gender. For women first, then men, look at gold-card holders whose card's account has an average balance over 1,000. Among the branch districts holding those accounts, keep only the districts with over 100,000 inhabitants. For each gender, tell me: the number of those districts; which of them has the most inhabitants, with its inhabitants figure - if two districts tie, list both, one row per district; the average salary across those districts, rounded to two decimals; and the average ratio of urban inhabitants across those districts, rounded to two decimals. Nothing else. Please note: 'over' means strictly greater than, and an account's average balance is the mean of its balances after each transaction.", + "evidence": "A gold card is a card of type 'gold', and its holder is the client linked to its account as type 'OWNER'. The district of an account is the district of the branch that holds it; a district's inhabitants, salary and urban-inhabitant ratio are the district's own figures." + }, + { + "instance_id": "bird214", + "db": "financial", + "question": "I'm preparing a partner-bank negotiation and want to focus on our big-city clients. Please tell me, for 1998 (1 January through 31 December 1998), where the money went from gold credit card clients' accounts held at branches in large districts. Specifically: for accounts whose owner has a gold credit card, and whose branch is located in a district with at least 250,000 inhabitants, look at their outgoing payments (debit transactions, type VYDAJ). I need a ranking of the recipient bank and counter-account pairs by the total amount paid. If two pairs tie for the largest total, list both. For each pair, give me: the recipient bank code, the recipient counter-account number, the number of outgoing payments, and the total amount paid.", + "evidence": "Gold credit card means card type 'gold'; account owner means disposition type 'OWNER'; the counter-account is the partner account at another bank to which a payment is sent; the district is the one where the account's branch is located." + }, + { + "instance_id": "bird215", + "db": "financial", + "question": "I'm reviewing what the money leaving our Pisek district branch's accounts is actually used for. What percentage of the total amount of outgoing payments that state a payment purpose went to household bill payments (SIPO)? Please give me a single percentage value, rounded to two decimals. Note this should be based only on payments that state a purpose, not all outgoing payments, and should consider the full transaction history.", + "evidence": "VYDAJ marks a transaction where money leaves the account. SIPO is the code for household bill payments. A payment states its purpose through its transaction characterization." + }, + { + "instance_id": "bird216", + "db": "financial", + "question": "I'm planning a regional campaign for female customers who hold a credit card and a loan, and I need a demographic profile per region. For each region, please give me: the region, the average district salary of the districts where these female clients live, and the average 1996 district unemployment rate of those same districts – both averages rounded to 2 decimal places. I also want the name of the most populous district among those districts in each region, so I know where to focus local advertising. A few rules: count only female clients who own the account (disposition type OWNER) and who have at least one credit card and at least one loan on that account. 'Most populous' means the district with the largest number of inhabitants; if two tie, take the one whose name comes first alphabetically. One row per region, and include every region that has at least one such client – nothing else.", + "evidence": "Disposition type OWNER means the client owns the account. Unemployment rate in 1996 is the district's unemployment rate for 1996; average salary is the district's average salary." + }, + { + "instance_id": "bird217", + "db": "financial", + "question": "I'm reviewing our presence in central Bohemia. Please tell me: the names of the three most populous districts of central Bohemia (largest by inhabitants), the number of crimes committed in 1996 in each of them, the average 1996 crime count across those three districts, the average 1996 crime count across all districts in the country, and the difference between the three-district average and the overall average (three-district average minus overall average). Rank districts by inhabitants, breaking ties by district name alphabetically (ignoring accents). Round all averages and the difference to 2 decimal places. The overall average should cover every district in the country, whether or not it has any accounts.", + "evidence": "Central Bohemia is the region of the Czech Republic surrounding Prague." + }, + { + "instance_id": "bird218", + "db": "financial", + "question": "For planning region-targeted card offers, I need to look at the smallest markets behind each credit card type. For each credit card type (gold, classic and junior), which home district of the clients holding that type has the fewest inhabitants, and how many inhabitants does that district have? Please include all three card types, and if several districts tie for the fewest inhabitants, list them all.", + "evidence": "By \"home district\" I mean the district a client lives in, and a district's inhabitants are its number of inhabitants." + }, + { + "instance_id": "bird219", + "db": "financial", + "question": "I'm reviewing how our branches performed in 1996, and I'd like a picture of the money standing in accounts opened during that year, across the region that Litomerice belongs to (the region as given in the district table's region field).\n\nFor each district in that region where at least one account was opened in 1996 (openings counted by account creation date within the calendar year 1996), please give me:\n- the district name,\n- the number of accounts opened in 1996,\n- the average end-of-1996 balance of those accounts,\nwith rows ordered by district name.\n\nAlso give me:\n- the region-wide average end-of-1996 balance, taken across all those accounts (not as the mean of the district averages),\n- the district with the highest average end-of-1996 balance; if two districts tie, name the one that comes first alphabetically.\n\nBy end-of-1996 balance I mean the balance after the account's last transaction dated on or before 1996-12-31; transactions dated 1997 or later don't count, and if several transactions fall on that last date, the one with the highest transaction id is the one that matters. Please round all averages to two decimals.", + "evidence": "Balance means the balance after a transaction." + }, + { + "instance_id": "bird220", + "db": "financial", + "question": "I want to check whether our biggest short-term loans cluster in populous branch districts and how well-off those areas are. Looking at 24-month loans on accounts with weekly statement issuance, take the ten largest loans ranked by approved amount from highest to lowest — if two loans have the same amount, the one with the smaller loan id ranks first, and ranking continues consecutively after a tie. The district of a loan is the district where the branch managing the loan account is located. Among the districts those ten loans come from, I need: the district with the most inhabitants (if two districts tie on inhabitants, the one with the smaller district id counts as more populous), that district's number of inhabitants, and the average salary across those districts rounded to two decimals.", + "evidence": "Weekly statement issuance means account issuance frequency 'POPLATEK TYDNE'. A district's inhabitants are its number of inhabitants, and its average salary is its average yearly salary." + }, + { + "instance_id": "bird221", + "db": "financial", + "question": "For every district with at least 100,000 inhabitants that has withdrawal transactions, can you show me the district name, region, population, total amount withdrawn in the district, withdrawals per inhabitant (rounded to 2 decimals), the district's rank by withdrawals per inhabitant (highest first), and the average standing-order debit per account held in the district (rounded to 2 decimals)? I want to compare withdrawal pressure and the standing-order burden side by side across our major districts. Please rank all qualifying districts, not just the top few, using competition ranking so tied districts share a rank and the next rank is skipped (e.g. 1, 1, 3). The whole transaction history on record is in scope. For the average standing-order debit per account, every account held in the district counts, including ones with no standing orders – those simply bring no debits.", + "evidence": "Withdrawal transactions are those recorded with type = 'VYDAJ'; a standing order is a recurring payment order that debits the account." + }, + { + "instance_id": "bird222", + "db": "financial", + "question": "I'm preparing a client review for client 3541. For each account this client can access, I need one row with: the account id, the date the account was opened, its frequency, the name and region of the district where the account is held, whether that district is the client's home district (Yes/No), that district's average salary, the loan repayment status (none if there's no loan), the loan amount (0 if no loan), the number of transactions over the account's whole recorded history, total income, total expense, net balance, the number of clients whose home district lies in that region, the name of the most populous district in that region, that district's number of inhabitants, and the account district's population rank within its region. Order the rows by number of transactions, most first, with ties broken by ascending account id. The client's home district is the district recorded for the client, and population means number of inhabitants. For ranks, the most populous district is rank 1; districts with equal population share a rank and the next rank skips.", + "evidence": "PRIJEM = incoming transaction; VYDAJ = outgoing transaction; net balance = total income - total expense" + }, + { + "instance_id": "bird223", + "db": "financial", + "question": "I'm doing a lending review by account-opening year for my region. For accounts opened in the central Bohemia region from 1 January 1996 onward, broken down by the calendar year of the account creation date (as a text string like '1996', not an integer), I need: the number of accounts opened that year in the region, the total amount lent on those accounts, and the average across the districts of the amount lent per account opened in that district, rounded to two decimals. An account with no loan counts as having lent nothing.", + "evidence": "Central Bohemia is the region value recorded for districts in the region data; the amount lent on an account is the total of the loans granted on that account." + }, + { + "instance_id": "bird224", + "db": "financial", + "question": "For a regional risk review, I need to look at our largest 24-month loans. Please find the ten loans with the largest approved amount among loans with a 24-month duration on accounts that have weekly statement issuance. For each of these ten loans, give me: the district of the branch servicing the account, the approved amount, the approval date, and the account balance at the end of the day the loan was approved. Two rules: if two loans have the same approved amount, the one approved earlier counts as larger; and if several transactions share that last day, the one with the higher transaction id counts as the later one. List the results from the largest approved amount down.", + "evidence": "Weekly statement issuance means statement frequency is 'POPLATEK TYDNE'; loan duration is stated in months." + }, + { + "instance_id": "bird225", + "db": "financial", + "question": "I'm putting together a review of our first credit card wave and need a profile of every client who was issued a credit card in 1994 (issue date falling in calendar year 1994). For each such client, please include: client id, gender, birth date, card type, age at card issue (the card's issue year minus the client's birth year), number of loans on their account, total amount borrowed, borrower classification, district name, district average salary, and their age rank within gender. Use these classifications: Young borrower if there's at least one loan on the account and age at card issue is under 30; Mature borrower if there's at least one loan and age at card issue is 30 or more; otherwise Non-borrower. The age rank within gender should be a standard competition rank - equal ages share a rank and the next rank is skipped (e.g. 1, 1, 3). Order the rows by client id.", + "evidence": "" + }, + { + "instance_id": "bird226", + "db": "financial", + "question": "I'm reviewing branches in the north Moravia region ahead of a client meeting. For each branch there, how many transactions dated on or before 14 October 1998 have no characterization recorded? A branch is the district the account belongs to, and the count should cover all of the branch's accounts' transactions. Please list only the top three branches by this count, with the branch name and its count, ranked first to third. If any branches tie on the count, order them alphabetically by branch name and keep three rows after that ordering.", + "evidence": "A transaction with no characterization recorded means the bank did not tag it with any characterization." + }, + { + "instance_id": "bird227", + "db": "financial", + "question": "The loan of 98832 approved on January 3rd, 1996 has one applicant account. For that account, list every counterparty it had paid before January 3rd, 1996. A counterparty means a specific account number at a specific bank, so give me one row per bank code and account number combination. For each counterparty I need the bank code, the account number, the number of outgoing payments made to them, and the total amount paid to them. Count only outgoing payments (VYDAJ, i.e. debits) made before January 3rd, 1996, and sort the counterparties by total amount paid, largest first.", + "evidence": "VYDAJ denotes an outgoing payment (debit); PRIJEM denotes an incoming payment (credit)." + }, + { + "instance_id": "bird228", + "db": "financial", + "question": "For the year-end review of my branch at location 1: how many accounts that were on the branch's books as of 31 December 1995 hold an active loan contract? I want a single integer, nothing else. An account counts only if it belonged to the branch on that date, and only contracts that are still active by their repayment status count - statuses A and B are finished contracts and shouldn't be included.", + "evidence": "Loan status C means an active contract in good standing; loan status D means an active contract with the client in debt. Both are active contracts." + }, + { + "instance_id": "bird230", + "db": "financial", + "question": "I need to profile our three largest loans held by female clients. Please report for each of these loans: the client id, loan amount, duration in months, total payments, interest paid, loan status, the district and region of the branch where the loan's account is held, the account's transaction count and total deposits, an income category, the number of loans the bank has granted in that region, the average of the average salaries of that region's districts, and the client's completed age on 2026-10-09. A few notes: the three largest loans are the three highest approved loan amounts, and if amounts tie, include all tied loans. Total payments is the monthly payment times the duration, and interest paid is total payments minus the approved amount; round money figures to two decimals. The income category is High Income if total deposits exceed twice the loan amount, Medium Income if they exceed the loan amount, and Low Income otherwise. Loans in a region counts every loan the bank has granted in that region for all clients, not only female clients. The region's average salary is the average of the average salaries of the districts in that region, rounded to two decimals. For the age, use the completed age on 2026-10-09, subtracting one if the birthday hasn't occurred by that date.", + "evidence": "Female means client gender = 'F'. Deposits are transactions recorded as PRIJEM (credits to the account). District average salary is the district's average salary figure." + }, + { + "instance_id": "bird231", + "db": "financial", + "question": "I need to find out where our pre-1997 long-term mortgage exposure is concentrated geographically. Long-term means a loan duration of more than 24 months, and \"opened before 1997\" should exclude anything opened during 1997. Please tell me: for each region, which districts have at least one such account, and give me the region whose qualifying districts have the largest combined number of inhabitants. Along with the region's name, I want the number of those districts in it, their combined population, and the total number of those accounts in the region. If two regions tie on combined population, pick the one whose name comes first alphabetically.", + "evidence": "" + }, + { + "instance_id": "bird232", + "db": "financial", + "question": "I'm putting together a market-coverage report on how our 1997 rollout of monthly-statement accounts reached large urban districts. For districts with at least 100,000 inhabitants that had at least one monthly-statement account opened during calendar year 1997, please give me: the total number of monthly-statement accounts opened in those districts during 1997, how many districts are involved, and the average salary across these qualifying districts rounded to two decimals.", + "evidence": "Monthly statement issuance means the account's statement frequency is 'POPLATEK MESICNE'." + }, + { + "instance_id": "bird233", + "db": "financial", + "question": "I'd like to review the breadth of each gold-card account's external payment network. For every account that has a gold credit card, could you list: the account id, the district name and region of the branch, the total amount received, the total amount withdrawn, the number of loans taken, and the number of accounts at other banks that money was transferred to or received from? Then rank the accounts by that number of external counterparties. A few things to keep in mind: if accounts tie on the number, they share a rank and the next rank is not skipped; accounts with no external counterparty transfers should still be included and count as zero; and the totals and counts should cover the full recorded period.", + "evidence": "An external counterparty account is an account at another bank that money was transferred to or received from. Amount received refers to credit transactions, which carry transaction type PRIJEM. Amount withdrawn refers to debit transactions, which carry transaction type VYDAJ." + }, + { + "instance_id": "bird234", + "db": "financial", + "question": "I'm preparing our branch's annual customer review. For every account held at the Tabor branch as of 31 December 1996, I need a one-row profile per account, ordered among tied ranks by ascending account id, showing: the account id; the date the account was opened; the owner's gender and their age at 31 December 1996 in whole completed years; the number of credit cards issued to the account by 31 December 1996 (0 if none); the number of loans approved to the account by 31 December 1996 (0 if none); a loan standing label; the number of transactions on the account during 1997; the total money into the account during 1997; the total money out of the account during 1997; the peak balance reached on the account during 1997 (0 if none); and the account's rank by 1997 peak balance, highest first, with ties sharing a rank and the next rank skipped (e.g. 1, 1, 3). All 'as of' figures are taken at 31 December 1996; activity figures cover the calendar year 1997. A card or loan counts as held if it was issued or approved on or before 31 December 1996. The loan standing label is: 'no loan' if the account had no loans approved by 31 December 1996; otherwise 'defaulted' if any of its loans has repayment status B; otherwise 'repaying' if any has status C or D; otherwise 'paid off'. Money in is the sum of credit transaction amounts; money out is the sum of debit and cash-withdrawal transaction amounts. The account owner is the person with the 'OWNER' disposition on the account; other dispositions are just additional users. Nothing beyond these fields, please.", + "evidence": "Loan repayment status codes: A means the contract finished and was paid off, B means the loan was not repaid (default), C means the loan is running and being repaid, D means the loan is running and the client is in debt on it. Transaction types: a credit transaction brings money into the account, a debit transaction takes money out, and a cash withdrawal takes money out in cash." + }, + { + "instance_id": "bird235", + "db": "financial", + "question": "I'd like a district-by-district picture of where our classic-card-holding account owners send money outside the bank. For every district, give me: the district name, the number of clients who own an account and hold a classic credit card, the number of external accounts at other banks those clients paid through outgoing payments, and the total amount of those outgoing payments. A district means the district of the branch where the owned account is held — not the client's home district — and each client and every outgoing payment from the account they own counts toward that account's branch district. Include every district, even ones with no such clients or no such outgoing payments (show zeros). Use the whole recorded payment history. Order by total amount paid from highest to lowest, and alphabetically by district name when totals tie. Don't round the totals.", + "evidence": "An account owner is the client recorded as 'OWNER' on the account. An outgoing payment is a transaction recorded with type 'VYDAJ' (money paid out of the account). An external account is an account held at another bank to which the account holder sends money; the receiving bank together with the receiving account number identifies it." + }, + { + "instance_id": "bird236", + "db": "financial", + "question": "I'm planning services for our older female customers. For the clients who are female and were born before 1930, please look at the branches that hold their accounts, and then the districts those branches are located in. What is the average salary of those districts? Round the result to 2 decimal places. Note: born before 1930 means calendar birth dates before 1 January 1930.", + "evidence": "Average salary refers to the district attribute describing average salary." + }, + { + "instance_id": "bird237", + "db": "financial", + "question": "I'm preparing a campaign for senior female clients and want a sense of the economic profile of their home districts. Could you tell me the average of the average salaries of the districts where our female clients born before 1950 live? Please give me just that single figure, rounded to two decimal places.", + "evidence": "Average salary means the average yearly salary recorded for a district, in CZK." + }, + { + "instance_id": "bird238", + "db": "financial", + "question": "I want to know whether our small, healthy loans are concentrated in richer or poorer districts before we decide where to grow the small-loan business. Please give me one number: the average district salary, rounded to two decimals, across the districts where the accounts holding these loans are located. The cohort is loans with an approved amount below 100,000 that are still running without issues.", + "evidence": "Loan status C means the contract is running with no problems so far. District average salary is the average salary recorded for a district." + }, + { + "instance_id": "bird239", + "db": "financial", + "question": "I'm studying how client age relates to branch location. For each of two client cohorts, I want the cohort label and the average salary across the districts where the branches holding that cohort's accounts are located, rounded to the nearest whole number. A client's cohort is based on birth date: born 1980 or later is the young cohort, born 1919 or earlier is the old cohort. Note the district of an account is the district of its branch, not the client's home district. Give me one row per cohort, young cohort first. Nothing else.", + "evidence": "" + }, + { + "instance_id": "bird240", + "db": "formula_1", + "question": "By what percentage was Paul di Resta's fastest-lap speed in race 853 higher than in race 854? Use the speed in race 854 as the baseline and round to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird241", + "db": "formula_1", + "question": "What percentage of Lewis Hamilton's recorded race entries from 2010 onward were not victories? Round to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird242", + "db": "formula_1", + "question": "Which driver won the most recorded races? Give their first name, last name, nationality, and highest recorded driver-standings points total.", + "evidence": "" + }, + { + "instance_id": "bird243", + "db": "formula_1", + "question": "In the 1988 Australian Grand Prix, by what percentage was the winner's elapsed time shorter than the last full-distance finisher's? Use the last finisher's time as denominator and round to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird244", + "db": "formula_1", + "question": "What percentage of Japanese-driver race entries from 2007 through 2009 matched their race winner's recorded lap count? Round to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird245", + "db": "formula_1", + "question": "For each year before 1975 with recorded winner times, what was the mean race winner elapsed time in seconds? Round the exact mean to two decimal places; if it is exactly halfway, round away from zero. Order by year.", + "evidence": "" + }, + { + "instance_id": "bird246", + "db": "formula_1", + "question": "From 2000 through 2005, what percentage of race results were by drivers born before 1985 who completed more than 50 laps?", + "evidence": "" + }, + { + "instance_id": "bird247", + "db": "formula_1", + "question": "Which constructor scored most points from Monaco Grand Prix between 1980 and 2010? List the score, name and nationality of this team.", + "evidence": "" + }, + { + "instance_id": "bird248", + "db": "formula_1", + "question": "Who recorded the fastest Q3 qualifying time at Marina Bay Street Circuit in 2008? Give the driver's first and last name.", + "evidence": "" + }, + { + "instance_id": "bird250", + "db": "formula_1", + "question": "For each Formula 1 circuit in Italy with recorded laps, give the circuit name and its fastest recorded lap time in minutes:seconds.milliseconds format.", + "evidence": "" + }, + { + "instance_id": "bird251", + "db": "formula_1", + "question": "I'm comparing pit stop activity at the newer Grand Prix weekends. Among the 2017 races that were not hosted in 2000, what was the average number of pit stops per race? Please take the average of all of those races and round it to two decimal places.", + "evidence": "Hosted in 2000 means the race was on the 2000 race calendar." + }, + { + "instance_id": "bird252", + "db": "formula_1", + "question": "I'm writing a retrospective on German F1 drivers born between 1971 and 1985, and I'd like to quantify how often each of them reached the final part of qualifying. For every German driver born in 1971 through 1985 inclusive, over their entire career (every race on record), please give me their forename, surname, Wikipedia page link, date of birth, and the number of Q3 times they set. Sort the list from most Q3 times to fewest, and where two drivers have the same number, put the older one (by date of birth) first.", + "evidence": "Q3 is the third and final part of the qualifying session that sets the starting grid; a driver's Q3 time is the lap time recorded for them in that part." + }, + { + "instance_id": "bird253", + "db": "formula_1", + "question": "I'm writing a retrospective on the 1995 Japanese Grand Prix and want to highlight how far off the pace the slowest qualifier was. Could you tell me who set the slowest time in the first qualifying session (Q1) of that race? For that driver (or drivers, if two share the same slowest time, please list them all), I'd like their short reference name, nationality, birthday, and their Q1 time. To be clear, I mean the race named 'Japanese Grand Prix' in the 1995 season. Nothing else needed.", + "evidence": "By 'reference name' I mean the short driver code like 'hamilton'; by 'Q1' I mean the first of the three qualifying sessions; by 'birthday' I mean the driver's date of birth." + }, + { + "instance_id": "bird254", + "db": "formula_1", + "question": "For qualifying at the 1995 Japanese Grand Prix, I need the nationality of the driver who set the slowest time in Q1. If two drivers tie for the slowest Q1 time, give me each of their nationalities. I only want the nationality value(s), nothing else.", + "evidence": "" + }, + { + "instance_id": "bird255", + "db": "formula_1", + "question": "Who set the fastest time in Q1 at the 1995 Japanese Grand Prix, and what was that time? Please give me the driver's forename and surname, and the Q1 time. By '1995 Japanese Grand Prix' I mean the race of the 1995 season named 'Japanese Grand Prix'. If two drivers tied for the fastest Q1 time, list them all.", + "evidence": "Q1: the time a driver set in the first qualifying session." + }, + { + "instance_id": "bird256", + "db": "formula_1", + "question": "For the 2010 Formula 1 season, how many drivers did Lucas di Grassi qualify ahead of? I want a single number: the count of drivers he out-qualified over the whole season. By 'qualify ahead of' I mean recording a better qualifying position than that driver in the same race, with a lower position number being better. The 2010 season means the races held in the year 2010.", + "evidence": "qualifying position: the starting slot a driver earns in the qualifying session before a race" + }, + { + "instance_id": "bird257", + "db": "formula_1", + "question": "I'm writing a recap of the 2017 Italian Grand Prix and want to credit the country of the quickest driver in the second qualifying session. Can you give me the nationality of the driver who set the fastest Q2 lap time in qualifying for the 2017 edition of the Italian Grand Prix? If two or more drivers tied for the fastest Q2 lap time, give me the nationality of each of them. I just need that nationality (or nationalities, in case of a tie), and nothing else.", + "evidence": "Q2: the second of the knockout qualifying sessions of a Grand Prix weekend." + }, + { + "instance_id": "bird258", + "db": "formula_1", + "question": "I'm writing an article about the Italian Grand Prix and want to know which first names recur among the drivers who finished second in that race. For every forename carried by two or more runners-up of the Italian Grand Prix across all its editions in the data, please give me one row with the forename and the number of runners-up who carried it. Order the rows from the most runners-up to the fewest, and alphabetically by forename when two forenames are tied. Leave out any forename held by only one runner-up.", + "evidence": "A runner-up is the driver who finished second in an edition of the Italian Grand Prix." + }, + { + "instance_id": "bird259", + "db": "formula_1", + "question": "Who won the 2017 Azerbaijan Grand Prix? I'd like the winner's forename and surname, the local clock time (hours:minutes:seconds.milliseconds) at the circuit at which he crossed the finish line, and the url of his information page, so I can compare the moment the race ended with the TV coverage.", + "evidence": "A driver's race time is the duration from the start of the race to the moment he crosses the finish line." + }, + { + "instance_id": "bird261", + "db": "formula_1", + "question": "For the 2017 Italian Grand Prix qualifying, what is the nationality of the driver with the second fastest Q2 time? Only drivers who took part in Q2 count, and by second fastest I mean the second smallest Q2 time. If several drivers share that time, list each of their nationalities.", + "evidence": "Q2 is the second qualifying session of a Grand Prix weekend, after Q1." + }, + { + "instance_id": "bird262", + "db": "formula_1", + "question": "For qualifying at the 2017 Italian Grand Prix, how many drivers set a time in the second qualifying session (Q2) faster than 1:40.000? I just need the count of drivers as a single number.", + "evidence": "" + }, + { + "instance_id": "bird263", + "db": "formula_1", + "question": "I'm reviewing the longest service pauses in races across the sport's whole history. Which racetrack saw the longest single pit stop ever? Please give me the racetrack name, location, country, the season year of that race, and the pit stop length. Consider all seasons in the data, and if several pit stops tie for the longest, give me one row for each of them.", + "evidence": "pit stop: a recorded pit-stop entry in a race; pit stop length: how long that pit stop lasted" + }, + { + "instance_id": "bird264", + "db": "formula_1", + "question": "I'm researching the generation of drivers born in the 1980s and want to know how much final-session qualifying that generation actually did as a whole cohort. How many Q3 lap times did a driver born between 1981 and 1991 set on average? Count every driver born in that period in the average, including any who never set a Q3 lap time. Please give me the average rounded to two decimal places.", + "evidence": "Q3: the third and final qualifying session of a race weekend, whose times decide the top starting grid positions." + }, + { + "instance_id": "bird265", + "db": "formula_1", + "question": "I'm profiling drivers whose first name alone doesn't identify them. Across all races in the dataset throughout Formula 1 history, how many qualifying 1 times slower than two minutes were set by drivers who share their first name with at least one other driver and who have no code? I want just that single count.", + "evidence": "A driver's code is their three-letter abbreviation (e.g. 'HAM'); having no code means no such abbreviation is on record for them. The qualifying 1 time is the time a driver set in the first qualifying session of a race, one per race they took part in." + }, + { + "instance_id": "bird266", + "db": "formula_1", + "question": "I'm checking how much of the championship points for drivers named Robert came from races covered by the lap-by-lap timing archive. For every driver whose forename is Robert, I need their reference name and the total points they scored in races where lap-by-lap timing data exists for that driver in that race. The totals should cover all seasons and races on record.", + "evidence": "The reference name is the driver's short identifier, and points are championship points recorded for that driver's race result." + }, + { + "instance_id": "bird267", + "db": "formula_1", + "question": "For every edition of the French Grand Prix from the 1990 season through the most recent edition, I'd like to know which drivers set a fastest lap of the race slower than 90 seconds. For each such driver, give me the date of the edition, the driver's forename and surname, and their fastest lap time of that race in m:ss.mmm form. If several drivers in an edition clear that 90-second mark, list one row per driver. If an edition has no driver over 90 seconds, still show the edition with its date, but no driver or lap time. Please order the rows from the earliest edition date to the latest, and within an edition by driver surname alphabetically - if two drivers share the same fastest-lap time, order them by forename alphabetically.", + "evidence": "A driver's fastest lap in an edition means the shortest time they took to complete any single lap of that race, measured from the start of that lap; the 90-second threshold applies to that fastest lap, not to an average." + }, + { + "instance_id": "bird268", + "db": "formula_1", + "question": "I'm putting together a trivia fact about Italian drivers in Formula 1. Who holds the fastest lap time set in Q3 - the third and final part of qualifying - by an Italian driver, across the sport's entire history? Please give me the driver's forename, surname, and the fastest Q3 lap time exactly as it appears in the data. Only consider drivers who have a Q3 lap time recorded for some race, and if several Italian drivers share the exact same fastest Q3 time, list all of them.", + "evidence": "Q3 is the third and final part of qualifying." + }, + { + "instance_id": "bird269", + "db": "formula_1", + "question": "I'm writing a piece on the new generation of British Formula 1 talent. Among British F1 drivers born after 1980, who set the fastest Q3 qualifying time, what was that time, and at which race and in which year was it set? Please give me the driver's full name, the race name, the race year, and the Q3 time. By 'born after 1980' I mean the year of birth is later than 1980. If two qualifying results tie for the fastest Q3 time, I'd like a row for each.", + "evidence": "Q3 is the final part of the qualifying session that decides the front of the starting grid." + }, + { + "instance_id": "bird270", + "db": "formula_1", + "question": "We're writing a piece on F1's younger generation and want a number for it: how many drivers born in 1976 or later (born from 1 January 1976 onwards) have ever set the second-fastest lap of a race at any point in the history covered by the data? I just need the single count of such drivers.", + "evidence": "By second-fastest lap of a race I mean the driver's own fastest lap in that race was the second quickest among all drivers in that race." + }, + { + "instance_id": "bird271", + "db": "formula_1", + "question": "Who set the fastest time in Q3 (the final qualifying session) at the 2017 Italian Grand Prix? Please give me the driver's reference name (the short identifier like 'hamilton') as the result. If two drivers set the same fastest Q3 time, give me both of their reference names.", + "evidence": "Q3: the final qualifying session of a Grand Prix weekend" + }, + { + "instance_id": "bird272", + "db": "formula_1", + "question": "Can you rank the Italian Formula 1 constructors by career points and give me the three highest-placed ones? For each, I'd like the constructor name, their career points, and their introduction website. Career points means the total of the points the constructor finished each season with (a season being one calendar year of racing). Constructors with no points still count, ranked with 0. If there are ties, they share a rank and the next rank is skipped (so 1, 1, 3), and I'd like every constructor within the top three ranks returned.", + "evidence": "" + }, + { + "instance_id": "bird273", + "db": "formula_1", + "question": "I'm writing a piece about how the same common forenames recur across Formula 1 history. Could you tell me how many different drivers named Peter have ever won a Formula 1 race, and the same for drivers named John? Please give me one count per forename, so I can compare the two — if they turn out to be equal, just report both counts side by side. Nothing else needed.", + "evidence": "A race win means the driver finished first in that race." + }, + { + "instance_id": "bird274", + "db": "formula_1", + "question": "I'm working on a story about qualifying records. Across all races, which driver set the fastest time in Q3 (the final part of qualifying)? I'd like the nationality of that driver - and if more than one driver shares the fastest Q3 time, please give me every such driver's nationality. I don't need anything else, just the nationality or nationalities.", + "evidence": "Q3: the third and final part of the qualifying session." + }, + { + "instance_id": "bird275", + "db": "formula_1", + "question": "I'm putting together a historical note on constructor nationalities in Formula 1. For each constructor nationality, how many constructors from that nationality have recorded the fastest lap of a race? Please include every nationality in the result, with a count of 0 for nationalities where no constructor has done so. Count a constructor only when it is officially credited with the quickest single lap time in a race's recorded result - don't compute lap times yourself.", + "evidence": "Fastest lap: the constructor officially credited with the quickest single lap time in a race's recorded result." + }, + { + "instance_id": "bird276", + "db": "formula_1", + "question": "I'm studying how pit stop activity changed across the refuelling-rule change for Australia's F1 drivers. For each season from 2002 through 2013, can you give me the total number of pit stops made at the races of that season where, after the race, at least one Australian driver was placed better than 20th in the driver standings? I'd like the season year and the total pit stop count for each season. The pit stop total should cover every driver who pitted at those races, not just the Australian drivers.", + "evidence": "Better than 20th in the driver standings means a position of 1 through 19 after that race. A pit stop is any recorded pit stop made by any driver at the race." + }, + { + "instance_id": "bird277", + "db": "formula_1", + "question": "For the 1995 season (races held in the calendar year 1995), how many drivers set a Q1 lap time of more than two minutes - i.e., strictly longer than 2:00.000? I just need the number of drivers.", + "evidence": "Q1: the first of the qualifying sessions; a Q1 time is the lap time a driver set in that session." + }, + { + "instance_id": "bird278", + "db": "formula_1", + "question": "For my monthly recap I need the fastest pit stop made during any F1 race held in September 2016. Please tell me the driver's full name, the pit stop time, the name of the race where it happened, the circuit name, and the circuit location. If two or more pit stops share the fastest time, list each of them with its own driver, race, circuit name and circuit location.", + "evidence": "By pit stop time I mean the elapsed time of a pit stop, from the car arriving at its pit to rejoining the race." + }, + { + "instance_id": "bird279", + "db": "formula_1", + "question": "I'm profiling the oldest driver ever to win a Formula 1 race. Please identify the winning driver with the earliest date of birth - if two winning drivers share that birth date, use the one whose full name (forename then surname) comes first alphabetically. For that driver, return his full name (forename then surname), his nationality, the name and date of the first race he won (the earliest date; if two of his wins share that date, the one whose race name comes first alphabetically), and the total number of races he started over his entire career. A win means finishing in position 1 in a race. The career covers every race in the database, from 1950 through 2017. Return a single row.", + "evidence": "Grand Prix: any race event in the database, whatever its name is; some race names do not contain the words 'Grand Prix'." + }, + { + "instance_id": "bird280", + "db": "formula_1", + "question": "Across the history of the Canadian Grand Prix, how many runnings of the race have had at least one car retire with an accident? Please note that a crash in which the driver was killed is recorded as its own status and should not count as an accident here. I just need the single number of runnings, nothing else.", + "evidence": "accident: a car's race ends because of a crash" + }, + { + "instance_id": "bird281", + "db": "formula_1", + "question": "For the 2017 Italian Grand Prix, which driver set the second-fastest time in the second qualifying session (Q2), and which constructor did he drive for that weekend? By second-fastest I mean the driver whose Q2 time comes next after the quickest one, counting every driver who took part in that session. If two drivers tie on Q2 time, the one who started the race higher up the grid counts as the faster of the two. Please give me the driver's forename, the driver's surname, and the constructor name.", + "evidence": "Q2: the second of the weekend's qualifying sessions; its times are measured to the thousandth of a second." + }, + { + "instance_id": "bird282", + "db": "formula_1", + "question": "I'm writing a season review piece and need the outright quickest Q2 time of the 2017 Formula One season – the fastest single Q2 time set at any race that year. Please give me the surname of the driver who set it and the name of the race where it was set. If two drivers share that fastest Q2 time, list every one of them along with the race names.", + "evidence": "Q2: the second of the three qualifying sessions of a Grand Prix weekend." + }, + { + "instance_id": "bird283", + "db": "formula_1", + "question": "I'm writing a race report and need to name the pole-sitter by their permanent race number. Who set the fastest Q3 qualifying time at the 2017 Italian Grand Prix (the race named 'Italian Grand Prix' in the 2017 season)? Please give me just that driver's permanent number. If two or more drivers share that fastest time, give me the numbers of all of them and nothing else.", + "evidence": "Q3 is the final part of qualifying, whose times decide the top starting positions; the fastest Q3 time earns pole position." + }, + { + "instance_id": "bird284", + "db": "formula_1", + "question": "For the 2017 Italian Grand Prix, who set the fastest lap time in Q3 (the final qualifying session), and what was that time? Give me the driver code along with the fastest Q3 time. If two or more drivers tie for the fastest Q3 time, list every tied driver.", + "evidence": "Q3: the third and final qualifying session; a driver's Q3 time is the lap time that driver set in that session" + }, + { + "instance_id": "bird285", + "db": "formula_1", + "question": "I'm writing a report on the 2017 Italian Grand Prix (the one held in the 2017 season). Could you tell me the nationality of the driver who set the fastest time in Q3, the final part of qualifying? If several drivers share the same fastest Q3 time, please give each of their nationalities.", + "evidence": "Q3 is the third and final part of the qualifying session." + }, + { + "instance_id": "bird286", + "db": "formula_1", + "question": "Which Chinese Grand Prix edition from the 2000s (2000–2009 seasons) had the earliest scheduled local start time? Give me the season year of that edition and the runner-up's time gap to the winner (the runner-up being the driver classified second at the finish). If several editions share the earliest scheduled local start time, use the most recent one.", + "evidence": "Scheduled local start time: the time of day the race was scheduled to start, local to the circuit." + }, + { + "instance_id": "bird287", + "db": "formula_1", + "question": "I'm writing a qualifying report. Can you give me the driver codes of all drivers who set a time in the third qualifying session at the 2017 Italian Grand Prix? One row per driver who set such a time, and please list the codes in alphabetical order. Nothing else needed.", + "evidence": "The third qualifying session is the final segment of the race weekend's qualifying, in which only the fastest drivers take part." + }, + { + "instance_id": "bird288", + "db": "formula_1", + "question": "I'm writing about how the Canadian Grand Prix moved to early-evening starts. Could you find the editions of the Canadian Grand Prix from 2007 through 2017 (both years included) that began at 17:00 local time or earlier - a race that began exactly at 17:00 counts. For each one, give me the race year, the winner's forename, the winner's surname, and the winner's finish time. The winner is the single driver classified first at the finish. Nothing else, please.", + "evidence": "An edition is one running of the Canadian Grand Prix in a given year; local start time is the clock time of day, local to the circuit, at which the race began, on the 24-hour clock." + }, + { + "instance_id": "bird289", + "db": "formula_1", + "question": "I'm writing a retrospective on the 2017 Italian Grand Prix at Monza. For the Q3 session of that race's qualifying, can you give me the permanent career race number and surname of every driver whose Q3 lap time was strictly faster than 1 minute 38.000 seconds? I want all drivers under that mark, not just the fastest, and no particular order. Note that by permanent career race number I mean the number a driver carries throughout his career, not a one-off entry number for that weekend.", + "evidence": "Q3 is the third and final qualifying session; a driver only has a Q3 time if he actually took part in that session." + }, + { + "instance_id": "bird290", + "db": "formula_1", + "question": "Across all seasons in the database, which circuit's Grand Prix started earliest in the day, and which started latest? I'd like the circuit reference name of the earliest one, the circuit reference name of the latest one, and the gap between those two start times in seconds. Include every season, and if several circuits share the earliest start time, list them all - same for the latest.", + "evidence": "By \"start time of the day\" I mean the local clock time at the venue at which the race started." + }, + { + "instance_id": "bird291", + "db": "formula_1", + "question": "I'm looking into fastest race laps recorded by drivers born in the 1980s. Can you tell me which three drivers born between 1980 and 1990 reached the highest single fastest-lap speed at any point in their career? I'd like their first and last names, ranked from the highest career-high speed down, and if two drivers are tied on that speed, list the one born earlier first, and then the one whose last name comes first alphabetically. Please give me just the three names, nothing else.", + "evidence": "Fastest lap speed: the average speed, in km/h, that a driver recorded on their single fastest lap of a race. A driver's career-high speed is based on that one lap, not an average across their laps." + }, + { + "instance_id": "bird292", + "db": "formula_1", + "question": "For the 2017 Italian Grand Prix, I need the list of drivers who were eliminated after the first qualifying session. Give me one row per eliminated driver with their reference name, ordered by their first-segment time from slowest to fastest. If two eliminated drivers have the same first-segment time, list the one with the lower driverId first.", + "evidence": "Eliminated after the first qualifying session means the driver took part in qualifying but did not go out in the second qualifying session." + }, + { + "instance_id": "bird293", + "db": "formula_1", + "question": "For my retrospective on the 1962 British Grand Prix – the race named 'British Grand Prix' in the 1962 season – how many drivers withdrew from that race? I just need a single whole number.", + "evidence": "A driver who withdrew from a race is recorded with the status 'Withdrew'." + }, + { + "instance_id": "bird294", + "db": "formula_1", + "question": "For the 1957 British Grand Prix, what percentage of the drivers who took part in the race were classified finishers, rounded to two decimals? By classified finisher I mean a driver whose race record shows them finishing the race, whether on the lead lap or one or more laps behind the winner. I just need the one percentage figure.", + "evidence": "classified finisher: a driver whose race record shows them finishing the race, whether on the lead lap or one or more laps behind the winner" + }, + { + "instance_id": "bird295", + "db": "student_club", + "question": "What was Elijah Allen's mean total expense per event for expenses dated in September or October? Round to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird296", + "db": "student_club", + "question": "What is the total amount spent on Student Club events in 2019 minus the total spent on events in 2020?", + "evidence": "" + }, + { + "instance_id": "bird297", + "db": "student_club", + "question": "What note was recorded for the fundraising proceeds received on September 14, 2019?", + "evidence": "" + }, + { + "instance_id": "bird298", + "db": "student_club", + "question": "What is the ratio of the Advertisement budget for the Yearly Kickoff meeting to that for the October Meeting?", + "evidence": "" + }, + { + "instance_id": "bird299", + "db": "student_club", + "question": "Which closed events are tied for the highest ratio of total spending to total budget amount?", + "evidence": "" + }, + { + "instance_id": "bird300", + "db": "student_club", + "question": "List the name of students that have attended more than 7 events.", + "evidence": "" + }, + { + "instance_id": "bird301", + "db": "student_club", + "question": "Which members incurred at least one expense above the overall average expense cost? Give each member's first name, last name, and phone number as separate fields.", + "evidence": "" + }, + { + "instance_id": "bird302", + "db": "student_club", + "question": "I'm putting together a review of last fall's activities and want to see how the Women's Soccer game compared to a typical event that semester. Please give me one row with: the number of students who attended the Women's Soccer event, the average number of students who attended events held in fall 2019 rounded to one decimal place, and a verdict of 'more', 'fewer' or 'equal' comparing the Women's Soccer head count to that average. Fall 2019 means events from 1 September 2019 through 30 November 2019 inclusive, and every event that semester counts toward the average even if nobody attended it. The verdict should compare the Women's Soccer head count to the rounded average: above it is 'more', below is 'fewer', exactly equal is 'equal'.", + "evidence": "Women's Soccer is an event name; attendance at an event is the number of members who attended it." + }, + { + "instance_id": "bird303", + "db": "student_club", + "question": "I'm reviewing our roster against the catalog and want to see how much of the College of Humanities and Social Sciences' coverage our members actually hold, department by department. For each department in that college, give me: the department's name, the majors it offers, the majors held by at least one of our members, and the average members per major it offers, rounded to two decimals. Membership is as currently listed in the member records, and count a department as belonging to the college when any of its majors sits in the college.", + "evidence": "College of Humanities and Social Sciences: one of the colleges that houses departments offering majors." + }, + { + "instance_id": "bird304", + "db": "student_club", + "question": "I'm putting together our yearly report and need a breakdown of our 2019 events by event type. For each type of event we held in 2019, please give me: the event type, how many members attended that type's events during 2019, and the total amount budgeted for that type's events in dollars. A few notes: 2019 means the calendar year; the budgeted amount is the planned amount, not what was actually spent. If nothing was budgeted for a type's events, or no member attended them, just show zero. Please list one row per event type, in alphabetical order by event type.", + "evidence": "" + }, + { + "instance_id": "bird305", + "db": "student_club", + "question": "I'm putting together a financial overview for the college that houses the Electrical and Computer Engineering Department. For each department of that college, can you tell me the total dues the club actually received from that department's enrolled members who took part in the club's events, in dollars? Please include every department of the college, showing zero if we received no such dues from it. Just the department name and the total dues per department.", + "evidence": "'Dues' is the income source label for membership dues a member pays to the club; 'Member' is the club position of an enrolled member, as opposed to officer or inactive positions." + }, + { + "instance_id": "bird306", + "db": "student_club", + "question": "For the mid-year budget review: I need to see, for each member who had to spend more than fifty dollars on an expense, how much room was still left in the budget lines those purchases were charged against. Please give me, per member, their first name, last name, and the total amount left across those budget lines in dollars rounded to two decimals. Order the results from the largest total down to the smallest; if two members have the same total, list them alphabetically by last name and then first name. The totals should cover all expenses on record, and if a budget line ended up overdrawn, its negative remaining amount should count toward the total.", + "evidence": "Spending more than fifty dollars on an expense means the expense's dollar cost is over 50. The amount left in a budget line is the amount budgeted for that line minus the amount spent against it." + }, + { + "instance_id": "bird307", + "db": "student_club", + "question": "I'm putting together our year-end budget summary. How much did we collect in membership dues, in total dollars, from the students who attended the Football game? Membership dues are the payments recorded under the source 'Dues'.", + "evidence": "membership dues: payments recorded under the source 'Dues'" + }, + { + "instance_id": "bird308", + "db": "student_club", + "question": "How many majors offered by the college that offers Tyler Hewitt's major currently have no enrolled members in the club? Count every major that college offers, by major name.", + "evidence": "Enrolled members are the people recorded in the club's membership list." + }, + { + "instance_id": "bird309", + "db": "student_club", + "question": "For our end-of-year report, I need one figure: the average number of members who attended each event that carried a budget line for advertising, covering every such event across the club's records regardless of when it took place. Please give it as a single number rounded to two decimal places.", + "evidence": "A budget line for advertising means a budget entry whose category is advertising." + }, + { + "instance_id": "bird310", + "db": "student_club", + "question": "For every budget review event the club has held, can you give me the event name, its location, and the number of members who attended? I need this for the year-end report.", + "evidence": "'Budget' is the club's event type for its budget review events, such as the Fall Budget Review and the Spring Budget Review." + }, + { + "instance_id": "bird311", + "db": "student_club", + "question": "I'm planning study-partner pairings around our biggest social-attendance event. Can you tell me which academic majors were most represented among the members who attended the football game? For each major, give me the major name and the number of attendees in that major. If several majors tie for the highest attendee count, list all of them, ordered alphabetically by major name.", + "evidence": "Football game: the event named 'Football game'" + }, + { + "instance_id": "bird312", + "db": "student_club", + "question": "I want to gauge how much of the university's range of academic programs our club is failing to reach. Out of every major offered by the university - including majors where we have no members - what percentage have no club member studying them? Please give me just that single percentage, between 0 and 100, rounded to two decimal places.", + "evidence": "Major: an academic program offered by the university, as listed in the club's records of majors." + }, + { + "instance_id": "bird313", + "db": "student_club", + "question": "Our officer team wants to settle a debate about whether we pull more weight than the rest of the club, so we need the attendance numbers before the next meeting. Could you tell us two things: the average number of events attended per officer, and the average number of events attended per other student, each rounded to two decimal places? To be clear on who counts where: officers are the members holding the position of President, Vice President, Secretary, or Treasurer, and everyone else in the club counts as an other student. Each average should cover every member of its group, and include every event in the club's records - there's no date cutoff.", + "evidence": "" + }, + { + "instance_id": "bird314", + "db": "student_club", + "question": "I'm finalizing the semester wrap-up report and need one number: how many different kinds of things the club bought for events that went over budget this semester. A few things to keep in mind: an event counts as over budget if, in at least one of its budgeted categories, we spent more than we budgeted for that category - the budgeted amount minus what was actually spent came out below zero. Also, a single purchase can cover several kinds of things at once, and the purchase description lists what it bought, so make sure each kind is counted. The answer should cover the whole semester shown in the records, and I just need the single integer count, nothing else.", + "evidence": "went over budget: a budgeted category of the event ended with more spent than was budgeted for it, i.e. the amount budgeted minus the amount spent is below zero; kind of thing: a type of item bought, like water, pizza or posters" + }, + { + "instance_id": "bird315", + "db": "student_club", + "question": "For every event in our records that had at least one attendee, I need the amount spent per attendee on bottled drinking water, in dollars and cents rounded to two decimals. Give me one row per event with the event name and that amount; if an attended event had no water purchases, show 0.00, and if two events share a name, list them separately. Include all events regardless of status, across the club's entire history. A purchase that included water along with other items counts fully toward water.", + "evidence": "water: bottled drinking water bought for attendees" + }, + { + "instance_id": "bird316", + "db": "student_club", + "question": "For my report on the club's academic makeup, could you tell me how many members on the club roster major in a department of the College of Humanities and Social Sciences, and how many members do not? The two counts together should cover every member on the roster, with each member counted in exactly one of the two groups. A member counts as majoring in the college only if the department offering their major belongs to the College of Humanities and Social Sciences.", + "evidence": "The College of Humanities and Social Sciences is a college made up of certain departments; membership in the college is determined by which department offers a member's major." + }, + { + "instance_id": "bird317", + "db": "student_club", + "question": "For our snack budget planning: among the events that spent money on chips, which event has the highest budget amount? By budget amount I mean a single budget line, not a total across lines - compare events by their largest single budgeted line. If several events tie on that largest line, list all of their names. Please just give me the event name(s).", + "evidence": "" + }, + { + "instance_id": "bird318", + "db": "student_club", + "question": "What is the date of the Vice President's most recent expense on record, and what is the total cost of all expenses incurred on that date? Consider all expenses on record with no earlier cut-off, and give the total exactly as it appears in the records, without rounding.", + "evidence": "Vice President is a position of the Student Club." + }, + { + "instance_id": "bird319", + "db": "student_club", + "question": "I'm reviewing member engagement for our club's events in MU 215. Can you give me, for each event category of events held at MU 215, the number of club members who attended those events? Please count events regardless of their status (planning, open, or closed), and make sure every category that had events at MU 215 shows up, even if none of its events had any attendees.", + "evidence": "MU 215: the room name as the event location." + }, + { + "instance_id": "bird320", + "db": "student_club", + "question": "I'm putting together a recruitment report for the colleges and want to know which parts of the university our club's membership actually draws from. For every person on the roster-regardless of their position in the club-look at their major, and the college that houses the department offering that major. Which college or colleges do the most majors on our roster come from, and how many majors is that? If there's a tie at the top, give me every college tied at that count. Please list the colleges in alphabetical order by college name, and return just each college's name and its number of majors.", + "evidence": "Major: a field of study offered by a department housed in a college." + }, + { + "instance_id": "bird321", + "db": "student_club", + "question": "I want to review what the money actually went on for the well-funded events, by venue. For events that had a budget line of more than forty dollars, how many different things were bought for them at each location? Please give me, for each location, the location of the event and the number of different things bought for such events at that location, and nothing else. Note that a budget line of more than forty dollars means a single budgeted amount strictly over 40 dollars, and all qualifying events held at a location should be pooled together.", + "evidence": "" + }, + { + "instance_id": "bird322", + "db": "student_club", + "question": "I'm reconciling what we budgeted for September events against what we actually spent. Can you give me the total amount budgeted for the September 2019 events that served pizza? By September 2019 I mean events dated September 1 through September 30, 2019. An event counts as having served pizza if pizza was among the expenses booked to it. Please include every budget line for those events, whatever the category - not just the food lines. All I need back is the single dollar figure for that total.", + "evidence": "A pizza expense means an expense whose description is Pizza." + }, + { + "instance_id": "bird323", + "db": "student_club", + "question": "Hi - I need one overall figure for the budget next year: what's the average total amount we've actually spent per event, counting all budget categories, across every event we've ever recorded? Please give me the average in dollars, rounded to two decimal places, with no date restriction.", + "evidence": "" + }, + { + "instance_id": "bird324", + "db": "student_club", + "question": "Among our closed events that stayed within budget (total spending not exceeding total budget), which one had the most purchases? Please give me just that event's name. Consider every closed event that didn't go over budget, including events with no purchases at all. If two events tie for the most purchases, report only the one with the alphabetically first event ID.", + "evidence": "A purchase is a single item recorded on an expense record; one expense record may list several items. Total budget is the sum of budgeted amounts across all budget lines of the event; total spending is the sum of spent amounts across all budget lines of the event." + }, + { + "instance_id": "bird325", + "db": "student_club", + "question": "For our year-end review, I want to know which event formats bring in the most people. Looking at our whole club year (every event from September 2019 through May 2020), which event type was attended by the most members, and how many members attended that type's events? If several event types tie for the most, list every one of them. Just give me the event type and the number of members for it - nothing else.", + "evidence": "By \"attended\" I mean a member coming to an event; event type is the kind of event, e.g. Meeting, Social, Game, Election, Community Service." + }, + { + "instance_id": "bird326", + "db": "student_club", + "question": "I'm putting together next semester's purchasing plan and want to know which food and drink item the club buys most often. Among purchases made under the food budget only, which single item appears on the most purchase records, and how many purchase records mention it? If two items are tied, go with the one whose name comes first alphabetically. Please give me just the item's name and that record count.", + "evidence": "A purchase record is an entry in the club's expense records for money spent on a purchase." + }, + { + "instance_id": "bird327", + "db": "student_club", + "question": "I'm wrapping up the October Meeting and need the final numbers broken down by what we actually bought, not just by budget category. For every item bought with approved money for the October Meeting, can you give me: the item's name, the budget category of the purchase that included the item, and the total cost in dollars of the approved October Meeting purchases that included the item? Only expenses marked as approved count - an expense without an approval mark doesn't. If an item was included in approved purchases recorded under more than one budget category, give me one row per category. Costs should be plain sums in US dollars with no rounding, and please sort the list by category and then by item name.", + "evidence": "An item is a single thing bought with club money, such as water, pizza or posters. A purchase is an expense recorded for the event." + }, + { + "instance_id": "bird328", + "db": "student_club", + "question": "For every event in the club's records, can you give me the event name, event date, total amount budgeted for the event, and the number of members who attended it? Please sort the list by event name, then by event date, both in ascending order.", + "evidence": "" + }, + { + "instance_id": "bird329", + "db": "student_club", + "question": "I'm preparing the year-end audit of club spending. For each item Sacha Harrison bought with club money, I need the item name and how many times she bought it. Can you give me that list?", + "evidence": "By \"item\" I mean an individual thing named in a record of what money was spent for." + }, + { + "instance_id": "bird330", + "db": "student_club", + "question": "I'm putting together the end-of-term spending review. Who bought the most different kinds of items in October or November 2019? Please give me that member's full name, how many different kinds of items they bought in those two months, and their total spending in dollars over the same period. If two members tie for the most kinds, list every tied member with their kind count and spending.", + "evidence": "An item is one of the individual things a purchase covered, such as a pizza or a bottle of water." + }, + { + "instance_id": "bird331", + "db": "student_club", + "question": "For our department report, I need to know how many different fields of study our club members from the Political Science Department represent. Only count members of the Political Science Department - members from other departments don't count. Just give me the number of different majors studied by those members.", + "evidence": "A major is a field of study offered by a department." + }, + { + "instance_id": "bird332", + "db": "superhero", + "question": "Among Marvel Comics superheroes with a known eye colour, rank the eye colours by number of superheroes. Give each colour, its hero count, and its rank, most common first; break display-order ties alphabetically.", + "evidence": "" + }, + { + "instance_id": "bird333", + "db": "superhero", + "question": "List the superheroes from Marvel Comics who have the super power of 'Super Strength'.", + "evidence": "" + }, + { + "instance_id": "bird334", + "db": "superhero", + "question": "What percentage of all superheroes have Neutral alignment, and how many of those Neutral superheroes were published by Marvel Comics? Round the percentage to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird335", + "db": "superhero", + "question": "Between Marvel Comics and DC Comics, which publisher has more superheroes, and by how many?", + "evidence": "" + }, + { + "instance_id": "bird336", + "db": "superhero", + "question": "Among superheroes from 170 through 190 cm tall whose recorded eye-colour category is unknown, list their names.", + "evidence": "" + }, + { + "instance_id": "bird337", + "db": "superhero", + "question": "Among all superheroes with recorded height from 150 through 180 cm, what percentage were published by Marvel Comics? Round to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird338", + "db": "superhero", + "question": "What known full names belong to superheroes tied for the highest strength attribute value?", + "evidence": "" + }, + { + "instance_id": "bird339", + "db": "superhero", + "question": "List superheroes whose known eye, hair and skin colours are all the same, along with any recorded publisher name.", + "evidence": "" + }, + { + "instance_id": "bird340", + "db": "superhero", + "question": "Among all female superheroes, what percentage have blue skin? Round to two decimals.", + "evidence": "" + }, + { + "instance_id": "bird341", + "db": "superhero", + "question": "Among all female superheroes, what percentage were published by Marvel Comics? Round to two decimal places.", + "evidence": "" + }, + { + "instance_id": "bird342", + "db": "superhero", + "question": "Which publisher has more superheroes, DC Comics or Marvel Comics, and by how many? Return Tie if their counts are equal.", + "evidence": "" + }, + { + "instance_id": "bird343", + "db": "superhero", + "question": "I'm comparing Marvel and DC rosters and want to quantify how tall Marvel's roster is for characters whose abilities DC cannot match. What is the average height, in centimetres, of Marvel Comics characters who have at least one power that no DC Comics character has? Only characters with a measured height count.", + "evidence": "A \"power\" is any single ability listed for a character in the database." + }, + { + "instance_id": "bird344", + "db": "superhero", + "question": "For a segment on strength heroes, I want to know how many superpowers are held only by heroes who have Super Strength. A power counts as held only if at least one hero who has Super Strength holds it, and Super Strength itself should be included if it meets that condition. Just give me the count.", + "evidence": "Super Strength is a super power name." + }, + { + "instance_id": "bird345", + "db": "superhero", + "question": "I'm setting a typical weight for a green-skinned creature class. Can you tell me the average weight in kg of the heroes with green skin? Count only heroes whose weight is known, and give me one number rounded to one decimal place.", + "evidence": "Green skin means the hero's skin colour is green." + }, + { + "instance_id": "bird346", + "db": "superhero", + "question": "I'm writing an article about heroes who fall outside the classic good-versus-evil divide. How many superheroes in the database have an alignment that is neither good nor bad? Please give me just that count. Note that this should cover all superheroes in the database.", + "evidence": "good: a superhero whose alignment is Good; bad: a superhero whose alignment is Bad; alignment: the moral category assigned to a superhero" + }, + { + "instance_id": "bird347", + "db": "superhero", + "question": "I'm building a fact box on Marvel heroes' civilian identities. Among Marvel Comics superheroes whose full name (their civilian identity, like 'Richard Milhouse Jones') is known, which superpower is the most common, and how many of those heroes have it? If several superpowers tie for most common, list all of them with their counts. Just give me the superpower name(s) and the counts.", + "evidence": "" + }, + { + "instance_id": "bird348", + "db": "superhero", + "question": "I want to profile the cohort of heroes whose Intelligence score matches Abomination's Intelligence score. What is their average measured weight in kg? Please round the average to two decimals.", + "evidence": "Intelligence is one of the six attribute scores a hero has (Intelligence, Strength, Speed, Durability, Power, Combat)" + }, + { + "instance_id": "bird349", + "db": "superhero", + "question": "I'm putting together a trivia page profiling blue-haired heroes by their abilities. For each gender, male and female, how many blue-haired superheroes have at least ten listed powers? I need the count for both groups, and by 'at least ten' I mean ten or more.", + "evidence": "Listed powers: the superpowers recorded for a hero." + }, + { + "instance_id": "bird350", + "db": "superhero", + "question": "I'm putting together a comparison of the heaviest brick-strength characters. What is the average weight, in kilograms, of all superheroes whose Strength score equals the Hulk's? I just need a single integer rounded to the nearest kilogram. Include every superhero in the database, no restrictions on publisher or alignment. If a hero's weight is unknown, leave them out and average only over the heroes whose weight has actually been measured.", + "evidence": "Strength is one of the six measured hero attributes, each scored on a 1-100 scale; the Hulk is the superhero named 'Hulk'; weight is the superhero's weight in kilograms." + }, + { + "instance_id": "bird351", + "db": "superhero", + "question": "For my 'giants of the genre' feature, I want to headline how varied the abilities of the tallest heroes are. How many different superpowers appear among the ten tallest superheroes? Rank heroes by height and take the top ten; if several heroes tie at the tenth-tallest height, include all of them. A hero counts among the ten tallest even if no powers are on file for them. Please give me just that single number.", + "evidence": "superpower = an ability such as Agility or Accelerated Healing, as named in the superpower list" + }, + { + "instance_id": "bird352", + "db": "superhero", + "question": "How many characters published by A-Bomb's publisher have no race listed? I just need a single count. (By A-Bomb's publisher, I mean the publisher that publishes the character A-Bomb.)", + "evidence": "race: the character's race or group, e.g. Human, Alien, Mutant" + }, + { + "instance_id": "bird354", + "db": "superhero", + "question": "For my cryokinesis page, I want to know how broad the power portfolios are around ice-powered heroes. Consider all heroes who share at least one superpower with a cryokinesis holder - including the cryokinesis holders themselves, since they share cryokinesis with each other. What is the average number of superpowers these heroes have, rounded to one decimal place? Please send back just that single number.", + "evidence": "Cryokinesis is the superpower to generate and control ice." + }, + { + "instance_id": "bird355", + "db": "superhero", + "question": "What is the average weight in kilograms of the DC Comics heroes whose eye colour is also shared by at least one Marvel Comics hero? Leave out any heroes whose weight is unknown, round the result to the nearest kilogram, and treat 'No Colour' as an eye colour like any other when matching between publishers. I just want that single number.", + "evidence": "" + }, + { + "instance_id": "bird356", + "db": "superhero", + "question": "I'm researching heroes like A-Bomb. What is the average height in centimetres of the superheroes in A-Bomb's group? Please give me just that single number, rounded to one decimal place. Note that A-Bomb itself belongs to its group and should be included, and only heroes whose height is actually on record should count toward the average-anyone without a recorded height should be left out rather than counted as some height.", + "evidence": "In this request, \"group\" refers to race." + }, + { + "instance_id": "bird357", + "db": "superhero", + "question": "What is the average weight, in kg, of the heroes who belong to races in which no hero is female? Heroes whose weight is not recorded should not count toward the average. I just need that single value.", + "evidence": "female: the hero's gender is female" + }, + { + "instance_id": "bird358", + "db": "superhero", + "question": "I'm writing a piece about which real publishing companies have put out very tall heroes. How many publishers in the database have released at least one hero taller than 200 cm? Note that taller than 200 cm means strictly more than 200 cm, and it counts if even one of their heroes is that tall. I just need the number of publishers, nothing else.", + "evidence": "A hero's publisher being 'released' means the publisher the hero is attributed to in the database." + }, + { + "instance_id": "bird359", + "db": "superhero", + "question": "For a licensing survey of non-DC heroic characters, I need a single total count of superheroes whose alignment is Good and who are not published by DC Comics. Just that one number, please.", + "evidence": "Good means the hero's alignment is Good; DC Comics means the publisher named DC Comics." + }, + { + "instance_id": "bird360", + "db": "superhero", + "question": "I'm comparing superhero body weights to typical human weights for an article. What is the average weight in kilograms of superheroes published by DC Comics, rounded to one decimal place, and how many DC Comics superheroes is that average based on? Only superheroes with a known weight should count toward the average, so the count should be the number of superheroes it's based on. DC Comics means the publisher named DC Comics.", + "evidence": "" + }, + { + "instance_id": "bird361", + "db": "superhero", + "question": "How many heroes published by Blackwulf's publisher have an eye colour that at least one hero from a different publisher also has? By \"that publisher's heroes\" I mean all of its heroes, not just Blackwulf. A different publisher means any other publisher, and heroes with no publisher listed shouldn't count as coming from a different publisher. I just want that single count back.", + "evidence": "Eye colour: the colour of a hero's eyes as catalogued for that hero." + }, + { + "instance_id": "bird362", + "db": "superhero", + "question": "Which race is the most common among the superheroes published by the same publisher as the superhero whose full name is Charles Chandler? I'd like, for that publisher's superheroes only, the name of the most common race and the count of that publisher's superheroes of that race. Ignore any superhero with no race recorded. If several races tie for most common, list every tied race with its count.", + "evidence": "Race: the superhero's species or type, e.g. Human, Mutant, Alien." + }, + { + "instance_id": "bird363", + "db": "superhero", + "question": "What is the average weight in kg of the Female heroes in the database? Round it to two decimal places, and skip any heroes whose weight is unknown. I just need that single number.", + "evidence": "kg: kilograms" + }, + { + "instance_id": "bird364", + "db": "superhero", + "question": "I'm writing a power-profile feature on heroes with super speed or death touch. Can you give me one number: the average intelligence score of the superheroes who have either of those powers? Round it to one decimal place, and only count the heroes who actually have an intelligence score in the database.", + "evidence": "\"Super speed\" and \"death touch\" are superpower names as used in the database; \"intelligence\" is the hero attribute by that name." + }, + { + "instance_id": "bird365", + "db": "superhero", + "question": "I'm comparing how power-rich male and female heroes are. For all male heroes and all female heroes that have a documented real full name, what is the average number of superpowers per hero for each gender? Please compute each average over the entire hero population of that gender, not just the heroes that happen to have power records. Give me both averages, each rounded to two decimal places, and nothing else.", + "evidence": "Full name: the hero's real, full personal name (first name plus last name, and optionally middle names); single names such as mononyms or aliases are not a full name." + }, + { + "instance_id": "bird366", + "db": "superhero", + "question": "I'm putting together a physical profile of the green-skinned villain corner of the universe for a fan wiki page. Could you tell me the average height in centimetres and the average weight in kilograms of the green-skinned villains? Please average only over the characters whose measurement is actually on record - a character with no recorded height or weight shouldn't drag the average down - and round each average to two decimals. I just need those two numbers.", + "evidence": "By 'villain' I mean a character whose alignment is Bad, and by 'green-skinned' I mean a character whose skin colour is Green. Height in centimetres and weight in kilograms are the character's height_cm and weight_kg as commonly understood physical measurements." + }, + { + "instance_id": "bird367", + "db": "superhero", + "question": "I'm profiling publisher rosters and now want to look at the physical build of George Lucas's heroes. What is the average height of the heroes he created, in centimetres, and their average weight, in kilograms? Please round each average to one decimal place, and only include heroes whose height (for the height average) or weight (for the weight average) is actually known.", + "evidence": "" + }, + { + "instance_id": "bird368", + "db": "superhero", + "question": "I'd like to know how tall the heroes are who share at least one superpower with 3-D Man. Can you give me the average height in centimetres of those heroes, rounded to one decimal place? Please leave 3-D Man himself out of it, and don't count heroes whose height isn't known.", + "evidence": "" + }, + { + "instance_id": "bird369", + "db": "superhero", + "question": "I'm writing an article about green-skinned flying villains and need a body-statistics fact. What is the average weight, in kilograms, of all green-skinned villains who can fly? By villain I mean a character whose moral affiliation is Bad. Please include only characters whose weight was actually measured-any character whose weight was never measured should be left out of the average. Give me just the single number, rounded to the nearest kilogram.", + "evidence": "Flight: the power to fly." + }, + { + "instance_id": "bird370", + "db": "superhero", + "question": "I'm doing a physical-profile breakdown of the George Lucas catalogue. For the heroes published by George Lucas that have at least one superpower in the database, what is their average weight in kilograms, counting only the heroes whose weight is recorded? Please give me just that one number, rounded to two decimal places.", + "evidence": "George Lucas refers to the publisher name." + }, + { + "instance_id": "bird371", + "db": "superhero", + "question": "For the article I'm writing on heroic female characters, I'd like a physique stat for the trivia box: what is the average weight in kilograms of female superheroes whose alignment is good? Only count superheroes whose weight is known. Please round the result to two decimal places.", + "evidence": "Alignment: the superhero's moral category, e.g. good, bad, neutral." + }, + { + "instance_id": "bird372", + "db": "superhero", + "question": "I'm picking powers for a lightweight male hero archetype. How many different superpowers are held by at least one male superhero who weighs under 70 kilograms? Heroes whose weight isn't recorded shouldn't count as weighing under 70.", + "evidence": "" + }, + { + "instance_id": "bird373", + "db": "superhero", + "question": "I'm putting together a trivia fact box on tiny heroes. Could you tell me the hair colour of the shortest human superhero? Please treat heroes with no recorded height as unmeasured rather than as being the shortest. I just need the colour, nothing else.", + "evidence": "" + }, + { + "instance_id": "bird374", + "db": "superhero", + "question": "I want to know about the lightest superhero whose weight has actually been recorded. Among all heroes sharing that lightest weight, give me the largest number of superpowers any of them has. If such a hero has no powers, that counts as 0. Please return just that one number.", + "evidence": "A superpower is one power a hero has, identified by its name." + }, + { + "instance_id": "bird375", + "db": "superhero", + "question": "I'm auditing identity info on our hero profile pages. How many neutral-alignment heroes have a known full name? Just give me the count.", + "evidence": "By \"full name\" I mean the hero's real-world identity name, not the superhero/costume name." + }, + { + "instance_id": "bird376", + "db": "superhero", + "question": "I'm building a profile page crediting the fastest characters. Among all superheroes that share the top Speed attribute value (everyone tied at the highest Speed value counts), can you list the ones whose real name is known? For each, I need the superhero name and the full name — the civilian identity behind the mask — and nothing else. Please leave out anyone whose real name isn't identifiable.", + "evidence": "" + }, + { + "instance_id": "bird377", + "db": "superhero", + "question": "I'm looking at how designers pair hair and eye colours. For every eye colour that appears on at least one brown-haired hero, how many heroes have that eye colour while their hair is NOT brown? Just give me each eye colour and that count, listing the eye colour with the highest count first. If two eye colours have the same count, the one whose name comes first alphabetically should come first.", + "evidence": "By a brown-haired hero I mean a hero whose hair colour is Brown." + }, + { + "instance_id": "bird378", + "db": "superhero", + "question": "I'm preparing a report on Marvel's roster and want to gauge how heroic their catalogued heroes are. Among Marvel Comics superheroes whose civilian full name is documented, what percentage are good? Please give me just that single percentage, rounded to two decimal places. Note: the percentage should be taken over all Marvel Comics superheroes with a known full name - those whose moral alignment is unknown still count toward the total, just not as good.", + "evidence": "Good refers to alignment = 'Good'. A full name means the hero's real-world civilian identity, i.e. an actual person's name such as 'Charles Chandler' or 'Richard Milhouse Jones'." + }, + { + "instance_id": "bird380", + "db": "superhero", + "question": "I'm comparing the builds of heroes whose power sets overlap with 3-D Man's. What is the average weight in kg of the heroes other than 3-D Man that share at least one superpower with him? Please round it to two decimal places, leave out any heroes whose weight isn't recorded, and return just that single number.", + "evidence": "" + }, + { + "instance_id": "bird381", + "db": "superhero", + "question": "Among superheroes whose weight is not recorded, how many more have the 'No Colour' eye category than have blue eyes? I want a single whole number: the count of 'No Colour' eyes minus the count of blue eyes in that group - it can be negative if blue is more common. Please give me just that one number, with no other results or breakdowns.", + "evidence": "'No Colour' is an eye category meaning the hero's eye colour is unspecified." + }, + { + "instance_id": "bird382", + "db": "thrombosis_prediction", + "question": "Among distinct patients with at least one uric-acid result above the sex-specific upper limit, what is the ratio of male to female patients?", + "evidence": "For this task, the uric-acid upper limit is 8.0 for males and 6.5 for females." + }, + { + "instance_id": "bird383", + "db": "thrombosis_prediction", + "question": "Across laboratory records with PLT > 400 for female patients whose patient profile lists an SLE diagnosis, what is the average ALB value rounded to four decimal places?", + "evidence": "" + }, + { + "instance_id": "bird384", + "db": "thrombosis_prediction", + "question": "How many distinct patients with a triglyceride result of at least 200 were older than 50 on 2026-10-09?", + "evidence": "" + }, + { + "instance_id": "bird385", + "db": "thrombosis_prediction", + "question": "List patient IDs, sex, and completed age on 2026-10-09 for patients with at least one laboratory record showing glucose at least 180 and total cholesterol below 250.", + "evidence": "" + }, + { + "instance_id": "bird386", + "db": "thrombosis_prediction", + "question": "List the IDs and completed ages on 2026-10-09 of patients with at least two laboratory results having hematocrit of 52 or higher.", + "evidence": "" + }, + { + "instance_id": "bird387", + "db": "thrombosis_prediction", + "question": "Among patients older than 55 on 2026-10-09 who have at least one abnormal PT result, what percentage are female? Round to two decimals.", + "evidence": "For this task, PT of at least 14 is abnormal." + }, + { + "instance_id": "bird388", + "db": "thrombosis_prediction", + "question": "How many distinct patients have at least one positive CRP laboratory result and no recorded patient description?", + "evidence": "Plus-marked CRP results indicate positivity." + }, + { + "instance_id": "bird390", + "db": "thrombosis_prediction", + "question": "Among patients in the thrombosis registry born between 1930 and 1940 inclusive who had laboratory tests, what percentage were inpatients? Please give me just the percentage rounded to two decimal places.", + "evidence": "An inpatient is a patient who was admitted to the hospital; an outpatient is a patient who was followed at the outpatient clinic." + }, + { + "instance_id": "bird391", + "db": "thrombosis_prediction", + "question": "Among the lab tests with the strongest anti-ribonuclear protein result (i.e., the highest result value), find the highest total bilirubin level and give me that test's total bilirubin level, the date of the lab test, the patient's ID, sex, and birthday. If several of those tests share the highest total bilirubin level, list each of them, one row per test.", + "evidence": "Anti-ribonuclear protein refers to the anti-RNP antibody lab test; total bilirubin refers to the total serum bilirubin lab test (a liver marker)." + }, + { + "instance_id": "bird392", + "db": "thrombosis_prediction", + "question": "I'm describing our young-patient group and want to show how unusual a raised RNP antibody is in these patients. Could you tell me how many patients in the thrombosis cohort born after 1 January 1960 never had a raised RNP antibody result? A few points: the group should cover every patient born after that date, including patients with no laboratory results at all - they count as never having had a raised result. \"Raised\" means a result strictly above 10, so a result of exactly 10 doesn't count, and a result of \"negative\" (no antibody detected) is never raised. Please return just one row with a single integer: the number of these patients.", + "evidence": "RNP: anti-ribonuclear protein antibody; a result of \"negative\" means no antibody was detected. A raised RNP result is a laboratory result strictly above 10." + }, + { + "instance_id": "bird393", + "db": "thrombosis_prediction", + "question": "Among patients followed at the outpatient clinic who ever had an abnormal anti-SSA result, which one showed the highest anti-RNP titer? Please give me the patient's ID and the anti-RNP titer value. This should cover the hospital's full records across all years, and if several patients tie for the highest anti-RNP titer, list every one of them.", + "evidence": "Abnormal anti-SSA means any SSA result other than negative or 0. \"Followed at the outpatient clinic\" is the admission status marked with a minus sign. Anti-RNP titer is the strength of the anti-ribonuclear protein result." + }, + { + "instance_id": "bird394", + "db": "thrombosis_prediction", + "question": "I'm studying antibody and platelet profiles in mixed connective tissue disease (MCTD). Can you tell me how many patients diagnosed with MCTD alone - meaning MCTD is their only recorded diagnosis - have had at least one platelet reading within the normal range and at least one anti-RNP antibody level above 5 (strictly greater than 5)? I just need the patient count.", + "evidence": "A platelet level within the normal range means from 100 to 400, both ends included; below 100 or above 400 is outside the normal range." + }, + { + "instance_id": "bird395", + "db": "thrombosis_prediction", + "question": "As part of the data-completeness review, I'd like to know how much laboratory follow-up our never-examined patients actually have, split by sex. Could you give me, for each sex (F and M), the average number of laboratory test dates recorded for the patients of that sex who have no examination record at all? Please cover the whole registry, all years, and round the averages to two decimal places. Nothing else needed beyond the two averages.", + "evidence": "F denotes a female patient and M denotes a male patient. A laboratory test date is a date on which laboratory tests were recorded for a patient." + }, + { + "instance_id": "bird396", + "db": "thrombosis_prediction", + "question": "I'm reviewing autoimmune antibody profiles in our thrombosis registry. Among the female patients who were admitted to the hospital as inpatients, I need to find the laboratory test record with the highest anti-DNA antibody level, for a case review. Please give me the patient ID, the laboratory test date of that record, and the anti-DNA antibody level reported in it - nothing else. Order the results by patient ID, and if several lab test records share the highest level, list each of them.", + "evidence": "Anti-DNA antibody level means the anti-DNA test result recorded in the laboratory tests." + }, + { + "instance_id": "bird397", + "db": "thrombosis_prediction", + "question": "Among patients who have ever had an anti-ribonuclear protein (anti-RNP) antibody result above 16 on any laboratory reading, whenever it was taken, how many were admitted to the hospital and how many were followed at the outpatient clinic? Please give one row per care setting, using '+' for admitted to the hospital and '-' for followed at the outpatient clinic, showing the number of such patients in each setting.", + "evidence": "" + }, + { + "instance_id": "bird398", + "db": "thrombosis_prediction", + "question": "Among the thrombosis registry patients followed at the outpatient clinic, how many have a non-normal hematocrit and an anti-ribonuclear protein measurement above 16? I need a single count. A patient counts if they have at least one hematocrit reading outside the normal range, regardless of test date, and at least one anti-ribonuclear protein reading above 16, regardless of test date. Include every patient in the registry, not only those with a recorded thrombosis event.", + "evidence": "Hematocrit is normal when the value lies strictly between 29 and 52; outside that range it is abnormal. A negative anti-ribonuclear protein result means none was detected." + }, + { + "instance_id": "bird399", + "db": "thrombosis_prediction", + "question": "For the patients followed at our thrombosis unit's outpatient clinic, what is the highest anti-ribonuclear protein value on record? I just need that single highest value for my review.", + "evidence": "Anti-ribonuclear protein (anti-RNP) is a blood antibody test result recorded for patients." + }, + { + "instance_id": "bird400", + "db": "thrombosis_prediction", + "question": "I'm studying patients who carry exactly the rheumatoid arthritis and Sjögren's syndrome overlap. Please look at each patient's own record and find those whose record names exactly rheumatoid arthritis and Sjögren's syndrome, in either order, and no other disease – a disease recorded only as suspected does not count as a diagnosis. For those patients, considering their whole recorded laboratory history regardless of date, I need two numbers: how many have had at least one laboratory result showing a normal platelet level, and how many have never had a laboratory result showing a normal platelet level – count a patient with no laboratory results at all as never having had a normal platelet result.", + "evidence": "Rheumatoid arthritis is recorded as the code RA and Sjögren's syndrome as the code SJS. A normal platelet level means a platelet count above 100 and below 400." + }, + { + "instance_id": "bird401", + "db": "thrombosis_prediction", + "question": "I'm writing a report section on abnormal total protein in female SLE patients and need one summary figure. Among the laboratory records of female patients diagnosed with systemic lupus erythematosus at an examination visit, where total protein is above the normal bound of 8.5, what is the average deviation of total protein from that bound across all qualifying records, rounded to three decimal places? A few points: an examination visit counts as an SLE diagnosis when systemic lupus erythematosus is among the diseases that visit's diagnosis lists, whether it's the only one or appears alongside others; the normal bound is 8.5, and a record counts as above the bound only when its TP is greater than 8.5; a record's deviation is its TP minus 8.5; and the average should cover all qualifying laboratory records across all dates.", + "evidence": "SLE: systemic lupus erythematosus." + }, + { + "instance_id": "bird402", + "db": "thrombosis_prediction", + "question": "What percentage of patients in the registry with a diagnosis of psoriatic arthritis were born in 1960 or later? Please give a single percentage rounded to one decimal place.", + "evidence": "Psoriatic arthritis is a rheumatologic diagnosis recorded for patients in the registry." + }, + { + "instance_id": "bird403", + "db": "thrombosis_prediction", + "question": "I'm putting together a demographic summary of our low-albumin patients. Could you tell me how many patients with an albumin measurement below 3.5 are female and how many are male? I'd like one row per sex group showing the sex (F or M) and the number of patients in that group.", + "evidence": "F stands for female and M stands for male." + }, + { + "instance_id": "bird404", + "db": "thrombosis_prediction", + "question": "I'm preparing a department audit on how often anti-ribonuclear protein testing comes back clearly elevated among the women in the thrombosis cohort. Among the women in the cohort, what percentage of those with an available anti-ribonuclear protein test result had a clearly elevated result? Please give me the percentage rounded to two decimal places on the 0-100 scale. Note: elevated means a titer strictly above 1:64. Patients never tested for anti-ribonuclear protein should be excluded from both the numerator and the denominator, while a negative reading counts as an available result and is never elevated.", + "evidence": "Anti-ribonuclear protein is a serology test reported as a titer reading; a negative reading is a result of zero titer." + }, + { + "instance_id": "bird405", + "db": "thrombosis_prediction", + "question": "What was the average age of the register's patients in 1999, considering all patients who ever had marked or worse proteinuria on a lab test? Age in 1999 means 1999 minus the patient's year of birth. Marked or worse proteinuria means grade 3 or 4 on the original scale, or 300, 1000 or above on the scale used since 1987; traces and grades 1 and 2 don't count. I just need the one average number, in years.", + "evidence": "U-PRO = proteinuria result of a laboratory test; TR = traces of proteinuria." + }, + { + "instance_id": "bird406", + "db": "thrombosis_prediction", + "question": "I'm looking at patients whose anti-ribonuclear protein antibody measurement came out higher than 32. Of those patients, how many were women and how many were men? Note that 'higher than 32' means strictly above 32, not equal to it, and a patient qualifies if any of their laboratory measurements exceeded 32.", + "evidence": "A woman means a patient recorded as F, and a man means a patient recorded as M." + }, + { + "instance_id": "bird407", + "db": "thrombosis_prediction", + "question": "I'm studying how early in life a patient in the thrombosis cohort can show a high anti-ribonuclear protein (RNP) reading. Please tell me the youngest age, in whole years, at which a patient had a laboratory test showing an anti-RNP result of at least 64. Age in whole years means the year of the test minus the year of birth. If several patients or tests share that youngest age, report that age once. I just need that single youngest age value, nothing else.", + "evidence": "Anti-ribonuclear protein (RNP): an antibody measured in the laboratory panel, reported as a titer number or as negative." + }, + { + "instance_id": "bird408", + "db": "thrombosis_prediction", + "question": "For the patients in the registry with a diagnosis of psoriatic arthritis, I'd like to know: (1) the total number of laboratory tests recorded for these patients, counting tests from all dates, and (2) how many of these patients have no laboratory tests recorded at all (i.e., patients with no laboratory record count as having no laboratory tests).", + "evidence": "Psoriatic arthritis: a rheumatic disease diagnosis." + }, + { + "instance_id": "bird409", + "db": "thrombosis_prediction", + "question": "For our annual report, I need the count of patients in the thrombosis cohort who showed thrombosis at any examination performed between 01/01/1997 and 12/31/1997, inclusive. Please give me just that number of patients.", + "evidence": "Thrombosis refers to the formation of blood clots, recorded at each examination as a graded finding." + }, + { + "instance_id": "bird410", + "db": "thrombosis_prediction", + "question": "I'm putting together a monitoring checklist for SLE patients. Among the thrombotic episodes recorded for patients diagnosed with SLE, which single symptom appears most frequently? I just need the symptom name back. Please count all recorded episodes with no date restriction. If two symptoms are equally frequent, give the one that comes first alphabetically. Note that a patient counts as having SLE only if their own diagnosis record names SLE among their diseases.", + "evidence": "SLE: systemic lupus erythematosus, an autoimmune disease. Thrombotic episode: an episode in which the patient experienced thrombosis." + }, + { + "instance_id": "bird411", + "db": "thrombosis_prediction", + "question": "In our autoimmune disease cohort, what percentage of thrombosis patients were diagnosed with SLE at the examination visit? I need the percentage on a 0-100 scale, rounded to two decimal places. Please use the diagnosis recorded at the examination visit, not the diagnosis on the patient's overall file. This is for a write-up on which diagnoses accompany thrombotic events in this cohort.", + "evidence": "SLE: systemic lupus erythematosus, an autoimmune disease; thrombosis: formation of a blood clot within a blood vessel" + }, + { + "instance_id": "bird412", + "db": "thrombosis_prediction", + "question": "For the thrombosis cohort, I need to describe how long admitted patients typically wait from their first hospital visit until their first examination. Please give me the average delay in days across admitted patients, based on each patient's own first visit and first examination, rounded to the nearest whole number. A patient counts as admitted whenever her admission entry carries a plus sign, regardless of anything else in that entry.", + "evidence": "" + }, + { + "instance_id": "bird413", + "db": "thrombosis_prediction", + "question": "For a demographics summary of our 1994 laboratory cohort: how many female patients and how many male patients had a normal AST glutamic oxaloacetic transaminase (GOT) index on laboratory tests done during the calendar year 1994? Please give me the patient count for each sex (F and M) and nothing else. The calendar year 1994 means laboratory test dates from 1994-01-01 through 1994-12-31.", + "evidence": "AST glutamic oxaloacetic transaminase (GOT) index within normal range means a value below 60." + }, + { + "instance_id": "bird414", + "db": "thrombosis_prediction", + "question": "I'm reviewing thrombosis ward patients and need a chart-review list. Can you give me, for every patient who had a single lab visit where the panel showed both an LDH result strictly between 600 and 800 and urine protein of 300 mg/dL or more, the patient ID and their completed age in years as of 2026-10-09? If any one visit's panel shows both findings, that patient qualifies. Please note that a proteinuria result reported as \"at least\" a level counts at that stated level (e.g., \"at least 300\" counts as 300 mg/dL or more), and a plain number is in mg/dL. Nothing else needed, just patient ID and completed age.", + "evidence": "Proteinuria result codes: '-' means negative, 'TR' means trace." + }, + { + "instance_id": "bird415", + "db": "thrombosis_prediction", + "question": "For the RA patients whose urea nitrogen was within the normal index, how many more women are there than men? Please give me a single integer: the count of women minus the count of men. Women means sex F and men means sex M, and the difference may be negative.", + "evidence": "Within the UN normal index means UN < 30; RA means a Diagnosis of RA." + }, + { + "instance_id": "bird416", + "db": "thrombosis_prediction", + "question": "I'm reviewing renal function in the thrombosis cohort and want to compare how often creatinine runs out of the normal range between men and women. For each sex (M and F), please give me: the number of patients of that sex with at least one creatinine result out of the normal range, the total number of patients of that sex, and the share those patients represent of that sex's total as a percentage rounded to one decimal place. Rules: out of the normal range means a creatinine result of 1.5 or higher; the total per sex counts every patient of that sex on file whether or not any lab result exists for them.", + "evidence": "Creatinine out of the normal range: a CRE value of 1.5 or higher. Male is SEX = 'M'; female is SEX = 'F'." + }, + { + "instance_id": "bird417", + "db": "thrombosis_prediction", + "question": "In this cohort, I want to compare the most extreme total cholesterol (T-CHO) readings between patients admitted to the hospital and those followed at the outpatient clinic. Please give me, for each of the two groups, the single highest T-CHO reading, along with the admission status ('+' admitted, '-' outpatient) and the patient ID whose reading is the group's highest. List the admitted group's row first, then the outpatient group's. If several patients tie at a group's highest reading, list each of them.", + "evidence": "T-CHO: total cholesterol. '+': the patient was admitted to the hospital. '-': the patient was followed at the outpatient clinic." + }, + { + "instance_id": "bird418", + "db": "thrombosis_prediction", + "question": "Among patients whose first visit to the hospital was in 1991, which patients mounted the strongest anti-ribonuclear protein (RNP) response? Please give me the patient ID and anti-RNP level for every patient tied at the highest recorded level. Only consider patients for whom a level was actually recorded.", + "evidence": "anti-ribonuclear protein (RNP): an antibody titer; a higher titer means a higher level." + }, + { + "instance_id": "bird419", + "db": "thrombosis_prediction", + "question": "I'm reviewing the 1991 lab records of the thrombosis cohort, checking whether heavy proteinuria went hand in hand with lower hematocrit that year, as a sign of anemia in kidney involvement. Among the laboratory tests done in 1991 that reported proteinuria of at least 300 mg/dL, what was the average hematocrit value? Please note: proteinuria levels are measured in mg/dL; a proteinuria result reported only as a lower bound that the reading reached or exceeded still counts as being at least that level; a trace result is below 30 mg/dL; and tests without a hematocrit reading should be left out of the average.", + "evidence": "" + }, + { + "instance_id": "bird420", + "db": "thrombosis_prediction", + "question": "I'm putting together a care-setting summary of severe SLE cases for the rheumatology department. Among patients diagnosed with SLE, considering only those whose only diagnosis is SLE and who had abnormally high proteinuria, how many were admitted to the hospital and how many were followed at the outpatient clinic? Please count each patient based on their full history at the hospital.", + "evidence": "Abnormally high proteinuria means a proteinuria level of 30 or higher." + }, + { + "instance_id": "bird421", + "db": "thrombosis_prediction", + "question": "How many patients in our thrombosis ward are followed at the outpatient clinic (rather than admitted) with a normal Rheumatoid Factor and no positive measure of degree of coagulation? Please give me a single number. For context: a normal Rheumatoid Factor is '-' or '+-', a positive measure of degree of coagulation is '+' on any of the coagulation measures (KCT, RVVT, LAC), and an outpatient-clinic patient is one with Admission = '-'. If a patient has no recorded coagulation measure, count them as having no positive measure.", + "evidence": "" + }, + { + "instance_id": "bird422", + "db": "thrombosis_prediction", + "question": "I'm reviewing our cohort and need to identify patients whose most recent laboratory sample on file was collected after 1 January 1997 (strictly later than that date) and whose most recent anti-Scl-70 result on file was normal. Please return only the patient IDs for these patients.", + "evidence": "anti-Scl-70: anti-topoisomerase I antibody, an autoantibody measured in the laboratory. A normal anti-Scl-70 result is a result of 'negative' or 0." + }, + { + "instance_id": "bird424", + "db": "thrombosis_prediction", + "question": "For a study of laboratory test patterns, I need to size a cohort. How many female patients have at least one anti-DNA antibody level below 8 (the upper bound of the normal range)? Any laboratory visit of the patient qualifies; there is no time scope. I just need that single count back.", + "evidence": "anti-DNA level: the anti-DNA antibody concentration measured in the laboratory tests" + }, + { + "instance_id": "bird425", + "db": "thrombosis_prediction", + "question": "For patients admitted to the hospital, how many never had an alkaliphosphatase level above the normal ceiling in their lab results? I just need that single count.", + "evidence": "A patient is admitted when their status is anything other than the outpatient-clinic code; the outpatient-clinic code is '-' and admitted is '+'. A normal alkaliphosphatase level is below 300; a level of 300 or more is above the normal ceiling." + }, + { + "instance_id": "bird426", + "db": "thrombosis_prediction", + "question": "Among patients in the thrombosis prediction database whose creatinine level is normal (below 1.5), what is the highest anti-RNP antibody level recorded? Please return just that single number; if several measurements tie for the highest, the tied value is the answer.", + "evidence": "Anti-RNP antibody = anti-ribonuclear protein antibody, measured by the laboratory panel." + }, + { + "instance_id": "bird427", + "db": "thrombosis_prediction", + "question": "I'd like to see how severe anemia is distributed across the sexes in the registry. Please give me, for each sex, the number of patients of that sex who ever showed severe anemia on any lab test, with the rows labeled 'female' and 'male'.", + "evidence": "Severe anemia means a hemoglobin value below 7.0 g/dL on a lab test." + }, + { + "instance_id": "bird428", + "db": "thrombosis_prediction", + "question": "Among the laboratory tests whose AST glutamic oxaloacetic transaminase (GOT) index was above the normal range (60 or higher), I want to find the test with the highest anti-ribonuclear protein reading. Please give me the patient's identification, the date of the laboratory test, and the anti-ribonuclear protein reading for that test. If several tests tie for the highest anti-ribonuclear protein reading, list every one of them. The date should be the date the laboratory test was performed.", + "evidence": "AST glutamic oxaloacetic transaminase (GOT) index: a liver enzyme measurement; values of 60 or higher are considered above the normal range." + }, + { + "instance_id": "bird430", + "db": "thrombosis_prediction", + "question": "In the thrombosis and autoimmune-disease cohort, I want to compare how often lactate dehydrogenase stays in the normal range between patients admitted to the hospital and patients followed at the outpatient clinic. Please give me one row per patient group showing the number of lactate dehydrogenase measurements within the normal range recorded for that group, with the admitted group's row first. Label the rows 'admitted to the hospital' for the Admission = '+' group and 'followed at the outpatient clinic' for the Admission = '-' group. Every laboratory measurement recorded for those patients across the whole study period counts. Nothing else is needed.", + "evidence": "The normal range for lactate dehydrogenase means a value below 500." + }, + { + "instance_id": "bird431", + "db": "thrombosis_prediction", + "question": "For patients whose sex is not recorded in the registry, I need two counts for the annual quality report: how many have at least one laboratory result on file, and of those, how many have at least one laboratory result showing elevated total bilirubin. The report covers all dates.", + "evidence": "A patient's sex is not recorded when the registry holds no sex entry for that patient. Total bilirubin of 2.0 or higher counts as elevated." + }, + { + "instance_id": "bird432", + "db": "thrombosis_prediction", + "question": "For an audit, I need the number of admitted female patients born between 1945 and 1989 (inclusive) who have an ANA examination where the observed pattern is exactly P, with no other pattern alongside it. Please return just that single count.", + "evidence": "ANA pattern: the pattern observed in the ANA examination, e.g. 'P' or 'P,S'; the admission mark starting with a plus indicates the patient was admitted." + }, + { + "instance_id": "bird433", + "db": "thrombosis_prediction", + "question": "I'm screening outpatient clinic patients with anemia for rheumatologic autoimmunity. Among patients who were followed as outpatients (rather than admitted to the hospital) and who ever had a hemoglobin value below 10 on any lab test, who showed the strongest anti-ribonuclear protein antibody response? Please return, for every patient whose anti-ribonuclear protein antibody level reached the highest point ever recorded on their lab tests (list all of them if several share that highest level): the patient ID, the patient's sex, and that highest-ever recorded anti-ribonuclear protein antibody level. Nothing else.", + "evidence": "Anti-ribonuclear protein refers to the antibody measured in the laboratory tests (anti-RNP)." + }, + { + "instance_id": "bird434", + "db": "thrombosis_prediction", + "question": "Among the patients in the thrombosis prediction data, how many have a first laboratory record showing both a normal glutamic oxaloacetic transaminase (GOT) level and an elevated anti-ribonuclear protein (RNP) concentration? By normal GOT I mean a value below 60, and by elevated RNP I mean a value above 10. By first laboratory record I mean the one with the earliest laboratory test date for that patient. I need just a single count of these patients.", + "evidence": "GOT stands for glutamic oxaloacetic transaminase (also known as aspartate aminotransferase, AST); RNP stands for anti-ribonuclear protein." + }, + { + "instance_id": "bird435", + "db": "thrombosis_prediction", + "question": "I'm reviewing the current kidney involvement status of the thrombosis prediction cohort. For every patient who has had a proteinuria test, I need their patient identifier, sex, the date of their most recent proteinuria test, and the proteinuria level measured on that test. \"Most recent\" means the latest proteinuria test by test date.", + "evidence": "A proteinuria test is a test that measures the level of protein in the urine; the proteinuria level is the result value it reports." + }, + { + "instance_id": "bird436", + "db": "thrombosis_prediction", + "question": "I'm screening the thrombosis cohort for a follow-up panel. Can you give me the patient ids of outpatients (patients followed at the outpatient clinic rather than admitted) whose creatinine phosphokinase is in the normal range (below 250) but whose anti-ribonuclear protein antibody level is above 4 (strictly greater than 4)? Please note that an anti-ribonuclear protein result reported as negative means no antibody was detected. I just need the patient ids, nothing else.", + "evidence": "" + }, + { + "instance_id": "bird437", + "db": "thrombosis_prediction", + "question": "I'd like to know how many patients in the cohort have a positive anti-ribonuclear protein (RNP) result but no thrombosis. A positive RNP result means the anti-ribonuclear protein level is above 0, and no thrombosis means the thrombosis degree is 0. Please return just the number of such patients.", + "evidence": "" + }, + { + "instance_id": "bird438", + "db": "thrombosis_prediction", + "question": "I'm reviewing patients with an elevated anti-ribonuclear protein result. Among patients who ever had an anti-ribonuclear protein result of 16 or higher, I want to follow up the three whose liver enzymes stayed in the normal range. The normal range for GPT is below 60. For each patient, take their highest GPT value among their laboratory tests that fall in the normal range. Rank patients from that highest value down; if two patients share the same value, the one with the smaller patient ID comes first. Please return exactly three patients, one row per patient, with only each patient's Birthday.", + "evidence": "GPT stands for glutamic pyruvic transaminase, a liver enzyme; anti-ribonuclear protein is an autoantibody measured in laboratory tests." + }, + { + "instance_id": "bird439", + "db": "thrombosis_prediction", + "question": "I'm trying to size a subgroup in the thrombosis cohort: how many female patients had a normal prothrombin time (below 14 seconds) along with an elevated anti-ribonuclear protein level (16 or higher)? Please use the prothrombin time and anti-ribonuclear protein level from the same laboratory record for each patient. I just need the count of such female patients.", + "evidence": "Normal prothrombin time: below 14 seconds. Elevated anti-ribonuclear protein: a measured level of 16 or higher." + }, + { + "instance_id": "bird440", + "db": "thrombosis_prediction", + "question": "Among inpatients (admission marked '+'), find the laboratory anti-DNA antibody test with the highest recorded level, and report the patient's age in completed years at that test date and the patient's diagnosis. If several tests share the highest level, use the one with the earliest test date.", + "evidence": "An inpatient is a patient admitted to the hospital: the Admission record is marked '+' (a '-' marks an outpatient followed at the clinic). Age in completed years means the age at the last birthday reached on or before the test date. The anti-DNA antibody level is a laboratory reading reported alongside the other antibody tests." + }, + { + "instance_id": "bird441", + "db": "thrombosis_prediction", + "question": "I need to find lupus patients with liver lab abnormalities. Can you give me the ID and sex of every patient who has at least one total bilirubin (T-BIL) result at or above the upper normal limit of 1.2 mg/dL, and who has a confirmed diagnosis of systemic lupus erythematosus (SLE)? SLE counts if it's among the patient's confirmed diagnoses, even when other diseases are diagnosed or suspected alongside it, but a suspected SLE alone doesn't count. The diagnosis should be the patient's overall diagnosis, not something noted at a single examination. Please order results by sex, then patient ID, and return only the ID and sex.", + "evidence": "T-BIL: total bilirubin; SLE: systemic lupus erythematosus; susp.: suspected, not a confirmed diagnosis" + }, + { + "instance_id": "bird442", + "db": "thrombosis_prediction", + "question": "I'm reviewing how often older female patients show elevated anti-RNP antibody results, split by whether they were admitted to the hospital or followed at the outpatient clinic. For female patients aged at least 50 as of 2026-10-09, please give me a two-row breakdown by care setting (admitted to the hospital vs. followed at the outpatient clinic), showing for each setting how many patients had at least one anti-RNP laboratory result of at least 4, and how many had no such result. A patient's admission marker of '+' counts as admitted to the hospital and '-' counts as followed at the outpatient clinic; patients with any other admission marker are out of scope. Order the two rows alphabetically by care setting.", + "evidence": "anti-RNP: anti-ribonuclear protein antibody, measured in laboratory results; admission marker: the patient's recorded admission sign." + }, + { + "instance_id": "bird443", + "db": "thrombosis_prediction", + "question": "I'm putting together a cohort summary and need one number: how many patients followed at the outpatient clinic (admission marker '-') have a most recent IgG lab result of 2000 or higher? By most recent, I mean the IgG measurement with the greatest laboratory date for that patient - since a patient has at most one lab record per date, there should be no ambiguity.", + "evidence": "" + }, + { + "instance_id": "bird444", + "db": "thrombosis_prediction", + "question": "Among all patients diagnosed with systemic lupus erythematosus, I want to find the patient whose anti-DNA test result was the strongest ever recorded for that disease. Please report the patient's identifier, the patient's diagnosis, and that patient's highest anti-DNA test result, using the number exactly as the test wrote it. If several patients tie for the highest anti-DNA result, list every tied patient.", + "evidence": "Systemic lupus erythematosus (SLE) is an autoimmune disease; anti-DNA is an antibody test reported as a number." + }, + { + "instance_id": "bird445", + "db": "thrombosis_prediction", + "question": "For our thrombosis study cohort, I'd like to know how often patients have a normal IgG status at their most recent check, broken down by care setting. Please give me, for patients admitted to the hospital and for patients followed at the outpatient clinic, the percentage of that setting's patients whose most recent IgG measurement was normal. The percentage should be out of every patient in that setting, so patients who never had an IgG measurement count toward the denominator but not the numerator. Please round to one decimal place, and label the two results exactly as 'admitted to the hospital' and 'followed at the outpatient clinic'.", + "evidence": "An IgG measurement is considered normal when it is above 900 and below 2000." + }, + { + "instance_id": "bird446", + "db": "thrombosis_prediction", + "question": "In the thrombosis prediction cohort, I'd like to know whether the female predominance I saw for strongly positive anti-RNP results across follow-up also holds at patients' current status. Please give me a single integer: the number of female patients whose most recent visit shows a strongly positive anti-RNP result, minus the number of male patients whose most recent visit shows such a result. Use only the result at each patient's most recent visit, not earlier visits. A strongly positive anti-RNP result means a level of 32 or higher.", + "evidence": "anti-ribonuclear protein (RNP): an autoantibody measured in the laboratory work-up; visit: a date on which the patient's laboratory tests were performed" + }, + { + "instance_id": "bird447", + "db": "thrombosis_prediction", + "question": "In the thrombosis prediction cohort, I want to gauge how often the most recent anti-ribonuclear protein measurement among female patients was markedly elevated while CPK stayed low at that same measurement. Please give me a single integer: the number of female patients whose most recent anti-ribonuclear protein titer was above 64 and whose CPK from that same laboratory record was below 250. Above 64 means strictly greater than 64, and below 250 means strictly less than 250.", + "evidence": "Anti-ribonuclear protein is an autoantibody measured as a titer in the blood; a negative result means the antibody was not detected." + }, + { + "instance_id": "bird448", + "db": "thrombosis_prediction", + "question": "I'm preparing a capacity report for the lupus service. Among the patients whose profile lists a confirmed SLE diagnosis (not just suspected), I need: (1) how many were admitted to the hospital as inpatients, (2) how many were followed at the outpatient clinic, and (3) what percentage of the confirmed-SLE patients who were in one of these two care settings were inpatients. Please round the percentage to two decimals.", + "evidence": "SLE means systemic lupus erythematosus. A disease name followed by 'susp' (e.g., 'SLE susp') means only suspected, not confirmed, and does not count." + }, + { + "instance_id": "bird450", + "db": "thrombosis_prediction", + "question": "Some registered patients have unknown thrombosis status because no examination has ever been recorded under their patient number. How many of these patients are women and how many are men? Please give me one row per sex with the sex of the patients and the number of such patients of that sex, and nothing else.", + "evidence": "F is the code for female and M is the code for male in the patient profile." + }, + { + "instance_id": "bird452", + "db": "thrombosis_prediction", + "question": "I'm reviewing confirmed SLE cases for a study of neurologic involvement. Among patients whose examination lists SLE among the diagnosed diseases and who have a symptom recorded at such an examination, I need the case detail of the youngest such patient. Please send me the symptom recorded at that qualifying examination and that patient's overall diagnosis (their overall diagnosis, not the diagnosis written at the examination). If two patients share the same birth date, use the one with the smaller patient ID; and if that patient has more than one qualifying examination, use the most recent one.", + "evidence": "SLE is systemic lupus erythematosus. A disease name followed by 'susp' means the disease was only suspected, not diagnosed." + }, + { + "instance_id": "bird453", + "db": "thrombosis_prediction", + "question": "I'm auditing inpatient intake during the February 1998 admission wave. Among patients first seen at the hospital in the second half of February 1998 (visit date from 15 to 28 February 1998), find the oldest inpatient at first presentation and give me that patient's diagnosis only. If two patients tie in age, use the one with the smaller patient ID.", + "evidence": "'Inpatient' means the patient was admitted to the hospital rather than followed at the outpatient clinic, regardless of whether the record notes extra detail about the admission." + }, + { + "instance_id": "bird454", + "db": "thrombosis_prediction", + "question": "I'm summarizing anti-cardiolipin IgM levels for lupus patients. What was the average anti-cardiolipin IgM concentration across examinations performed between 1993-10-01 and 1993-10-31 (both days inclusive) in which systemic lupus erythematosus (SLE) was diagnosed? Please round the average to 1 decimal place.", + "evidence": "SLE = systemic lupus erythematosus" + }, + { + "instance_id": "bird455", + "db": "thrombosis_prediction", + "question": "How many patients in the thrombosis prediction cohort have a diagnosis of psoriatic arthritis? The count should cover every patient ever recorded in the registry, with no restriction to a time period or follow-up status. I just need that single number.", + "evidence": "Psoriatic arthritis: a chronic inflammatory joint and skin disease belonging to the rheumatic diagnoses." + }, + { + "instance_id": "bird456", + "db": "thrombosis_prediction", + "question": "I need to size a comparison group for my study of liver-enzyme abnormalities. How many patients in the registry have never had an ALT result above the normal range? Please give me the count broken down by sex: the number of male patients and the number of female patients. Every patient in the registry counts, including patients with no laboratory results at all, since they have never had an abnormal result. The report should cover exactly the two sexes, male and female.", + "evidence": "ALT is measured by the GPT laboratory value; a GPT result of 60 or higher exceeds the normal range." + }, + { + "instance_id": "bird457", + "db": "thrombosis_prediction", + "question": "For patients with at least one red-blood-cell result below 3.5 (RBC), I need a breakdown by care setting: how many patients were admitted to the hospital (+) versus followed at the outpatient clinic (-), and the average completed age of each group on 2026-10-09, rounded to one decimal place. Age means completed years on 2026-10-09.", + "evidence": "Red-blood-cell result below 3.5 (RBC); admission status + marks a patient admitted to the hospital, - marks a patient followed at the outpatient clinic." + }, + { + "instance_id": "bird458", + "db": "thrombosis_prediction", + "question": "Among the patients who have laboratory test records on file, how many are female and how many are male? Please give me one line for the female patients and one line for the male patients, each showing the sex and the number of patients of that sex.", + "evidence": "" + }, + { + "instance_id": "bird460", + "db": "thrombosis_prediction", + "question": "How many female patients have a Sjögren's syndrome diagnosis recorded in a medical examination? Please count across the full examination history with no date restriction, and note that suspected cases don't count—only an actual SjS diagnosis should be included. I just need that single number.", + "evidence": "SjS is the standard medical abbreviation for Sjögren's syndrome, and the diagnosis is recorded under that abbreviation." + }, + { + "instance_id": "bird461", + "db": "thrombosis_prediction", + "question": "How many patients who were never admitted to the hospital (outpatient follow-up only) had at least one normal anti-ribonuclear protein (RNP) result? A normal RNP result means the test found no anti-ribonuclear protein antibody: a negative result, or a measured value of zero. I just need a single number.", + "evidence": "anti-ribonuclear protein (RNP): an antibody test" + }, + { + "instance_id": "bird462", + "db": "thrombosis_prediction", + "question": "I'd like to know, among patients who have at least one normal anti-SM laboratory result (recorded as 'negative' or '0') and whose examinations show no thrombosis, how many have ever had significant proteinuria on any laboratory record. Significant proteinuria means 30 mg/dl or more; '-' and 'TR' count as no proteinuria. I only need the number of such patients.", + "evidence": "anti-SM: normal is recorded as 'negative' or '0'; proteinuria is measured semi-quantitatively as '-', 'TR', or the approximate daily urinary protein excretion in mg/dl" + }, + { + "instance_id": "bird463", + "db": "thrombosis_prediction", + "question": "Which patients followed at the outpatient clinic have both an abnormal red blood cell count and a positive anti-ribonuclear protein antibody result? Please return the patient IDs. Note: the two findings don't need to be from the same laboratory visit - a patient qualifies if at least one lab test shows an abnormal RBC and at least one, possibly different, lab test shows a positive anti-ribonuclear protein antibody. Here, a positive anti-ribonuclear protein antibody means a titer above zero, an abnormal RBC means RBC <= 3.5 or RBC >= 6.0, and outpatient follow-up means Admission = '-'.", + "evidence": "" + }, + { + "instance_id": "bird464", + "db": "thrombosis_prediction", + "question": "In our autoimmune-cohort registry, I'm profiling young patients with strongly positive anti-RNP findings. What is the average age, in years, of the patients who were younger than 70 as of 2026-10-09 and who have at least one anti-RNP result of 64 or higher? Please give the average as a single number to one decimal place.", + "evidence": "anti-ribonuclear protein (anti-RNP) result: the reading recorded for a patient's anti-RNP test in the laboratory record" + }, + { + "instance_id": "bird465", + "db": "thrombosis_prediction", + "question": "I'd like a single number: how many female patients in the thrombosis prediction data have a laboratory record showing a normal white blood cell count, an abnormal fibrinogen level, and an anti-ribonuclear protein (RNP) reading above 15, considering all recorded laboratory dates?", + "evidence": "A normal white blood cell count means strictly between 3.5 and 9.0; an abnormal fibrinogen level means at most 150 or at least 450." + }, + { + "instance_id": "bird466", + "db": "thrombosis_prediction", + "question": "As part of our clinical audit I'm profiling patients born between 1936 and 1956 inclusive who never had a creatinine phosphokinase (CPK) result above the normal range. A CPK of 250 or higher counts as above the normal range, and patients with no CPK results on record count as never having exceeded it. For that group, please give me the women's percentage of the group's men and women, rounded to one decimal place.", + "evidence": "Creatinine phosphokinase (CPK) of 250 or higher is above the normal range." + }, + { + "instance_id": "bird467", + "db": "thrombosis_prediction", + "question": "I'm preparing a case series on early renal involvement and need to size my cohort. How many patients were under age 50 on the day of a laboratory test performed between 1 January 1981 and 31 December 1986 inclusive, had a platelet count from 100 through 400 at that test, and showed proteinuria at that test? Age means completed years on the day of the test, so under 50 is strictly below 50. The platelet range is inclusive. I just need the number of patients satisfying all conditions.", + "evidence": "A patient showed proteinuria at a test when that test's dipstick reading reports protein: a dash or zero means no protein was found, a number is the amount of protein found, TR stands for trace protein, and a reading written in percent signs is the dipstick saturated, the strongest reading." + }, + { + "instance_id": "bird468", + "db": "toxicology", + "question": "Among molecules containing at least one single bond, what is the average number of oxygen atoms per molecule? Include molecules with no oxygen and round to four decimal places.", + "evidence": "The '-' bond-type symbol denotes a single bond." + }, + { + "instance_id": "bird469", + "db": "toxicology", + "question": "Among carcinogenic molecules with at least one single bond, what is the average number of single bonds per molecule?", + "evidence": "In this dataset, '+' denotes a carcinogenic molecule and '-' denotes a single bond." + }, + { + "instance_id": "bird471", + "db": "toxicology", + "question": "How many distinct iodine atoms and distinct sulfur atoms, respectively, participate in at least one single bond?", + "evidence": "The '-' bond-type symbol denotes a single bond." + }, + { + "instance_id": "bird472", + "db": "toxicology", + "question": "Among carcinogenic molecules, what percentage contain no fluorine atoms? Round to two decimal places.", + "evidence": "A '+' carcinogenicity label means carcinogenic." + }, + { + "instance_id": "bird473", + "db": "toxicology", + "question": "What is the most common bond type in molecule TR010, and is that molecule carcinogenic? Return the bond type and YES or NO.", + "evidence": "In this dataset, a molecule labeled '+' is carcinogenic; a molecule labeled '-' is not." + }, + { + "instance_id": "bird474", + "db": "toxicology", + "question": "What are the bonds that have phosphorus and nitrogen as their atom elements?", + "evidence": "" + }, + { + "instance_id": "bird475", + "db": "toxicology", + "question": "List the distinct elements of atoms that do not participate in any bond.", + "evidence": "" + }, + { + "instance_id": "bird476", + "db": "toxicology", + "question": "How many atoms occur in molecules that have at least one triple bond and at least one phosphorus or bromine atom?", + "evidence": "The '#' bond-type symbol denotes a triple bond." + }, + { + "instance_id": "bird477", + "db": "toxicology", + "question": "Among all atoms in molecules containing at least one single bond, what percentage are chlorine atoms? Round to four decimal places.", + "evidence": "The '-' bond-type symbol denotes a single bond." + }, + { + "instance_id": "bird478", + "db": "toxicology", + "question": "What fraction of all atoms in molecule TR006 are hydrogen? Give the fraction and the molecule's recorded carcinogenicity label.", + "evidence": "" + }, + { + "instance_id": "bird479", + "db": "toxicology", + "question": "I want to know whether molecular saturation is associated with carcinogenicity in our compound library. Please report, for molecules in which every bond is a single bond: the number of carcinogenic molecules minus the number of non-carcinogenic molecules. And for all other molecules: the same difference (carcinogenic count minus non-carcinogenic count). Rules: label '+' means the molecule is carcinogenic; label '-' means non-carcinogenic; bond type '-' denotes a single bond; each molecule belongs to exactly one of the two groups.", + "evidence": "In the labels, '+' indicates a carcinogenic molecule and '-' indicates a non-carcinogenic molecule; for bond types, '-' indicates a single bond." + }, + { + "instance_id": "bird480", + "db": "toxicology", + "question": "In our toxicology library, how many carbon-carbon pairs joined by a double bond are there in total across the carcinogenic compounds? I want a single number for the whole library.", + "evidence": "A compound is carcinogenic when its label is '+' and non-carcinogenic when its label is '-'. In the bond notation, '-' is a single bond, '=' is a double bond, and '#' is a triple bond." + }, + { + "instance_id": "bird481", + "db": "toxicology", + "question": "Among the molecules labeled '+' (carcinogenic), which chemical element is the most common among the atoms that take part in at least one bond? Also give the percentage of all atoms in those '+' molecules that this element accounts for, rounded to two decimal places. Count the percentage over every atom of the '+' molecules, whether or not it takes part in a bond. If several elements tie for most common, report each of them.", + "evidence": "" + }, + { + "instance_id": "bird482", + "db": "toxicology", + "question": "For the molecule containing atom TR041_10, I'd like to know the molecule id, whether it's carcinogenic (YES or NO), and the number of multiple bonds in that molecule. Please use the rule that a molecule labeled '+' is carcinogenic (YES) and one labeled '-' is not (NO).", + "evidence": "" + }, + { + "instance_id": "bird483", + "db": "toxicology", + "question": "For the carcinogenic molecules in the toxicology database, how many carbon-carbon bonds are there of each bond type (single, double, and triple)? Please give me the bond type and the corresponding count.", + "evidence": "A molecule labelled '+' is carcinogenic. Bond types are recorded as follows: a single bond as '-', a double bond as '=', and a triple bond as '#'. A carbon-carbon bond is a bond whose two bonded atoms are both carbon." + }, + { + "instance_id": "bird484", + "db": "toxicology", + "question": "I want to know how widely chlorine atoms bond to other atoms across the toxicology database. Please give me a single number: the count of atoms that bond with chlorine atoms. Nothing else.", + "evidence": "Chlorine means the element recorded under the code cl." + }, + { + "instance_id": "bird485", + "db": "toxicology", + "question": "I'm studying the immediate chemical environment of sulfur atoms in carcinogenic molecules. Please tell me, as a single number, how many atoms are directly bonded to a sulfur atom in carcinogenic molecules. A molecule labeled '+' is carcinogenic; a molecule labeled '-' is not.", + "evidence": "Sulfur refers to the element 's'. A direct bond is a bond between two atoms." + }, + { + "instance_id": "bird486", + "db": "toxicology", + "question": "I'm compiling bond records of unusual carcinogenic molecules for a structural alert review. Please find the bonds that belong to carcinogenic molecules (labelled '+') that contain an element recorded for no other molecule in the dataset. Note that this search covers the whole dataset, so an element counts as belonging to no other molecule when no molecule other than the one at hand records it. For each such bond, return only the bond id and molecule id.", + "evidence": "A '+' label means carcinogenic." + }, + { + "instance_id": "bird487", + "db": "toxicology", + "question": "I'm building a control group of nitrogen-containing structures for a carcinogenicity review. How many molecules in the database contain at least one nitrogen atom, where none of those nitrogen atoms takes part in a double bond or a triple bond? A nitrogen held only by single bonds is fine; any nitrogen in a double or triple bond disqualifies the molecule. Molecules with no nitrogen at all don't count. I just need the single number of such molecules.", + "evidence": "Nitrogen refers to the element code 'n'; '=' denotes a double bond; '#' denotes a triple bond; '-' denotes a single bond." + }, + { + "instance_id": "bird488", + "db": "toxicology", + "question": "In the toxicology database, how many atoms are bonded to chlorine atoms, taken across all molecules? I want a single number. By chlorine I mean the element 'cl'.", + "evidence": "cl: chlorine" + }, + { + "instance_id": "bird489", + "db": "toxicology", + "question": "For a report on structural features of carcinogenic compounds, I'm looking at compounds that form a triple bond. Among those, what percent are labeled carcinogenic and what percent are labeled non-carcinogenic, each rounded to two decimal places? The two percents should sum to 100, apart from rounding.", + "evidence": "Label '+' means carcinogenic; label '-' means non-carcinogenic." + }, + { + "instance_id": "bird490", + "db": "toxicology", + "question": "I'm characterizing how strongly rare chemical elements are integrated into the molecular skeleton of carcinogenic compounds. For every carcinogenic molecule that contains at least one atom of an element that appears in no other molecule in the database, I want the number of bonds its atoms of that element take part in. Please judge an element's rarity over every molecule in the database, carcinogenic or not. Return the molecule_id and that bond count for each qualifying molecule, one row per molecule, sorted by molecule_id.", + "evidence": "'+' is the label of a carcinogenic molecule, '-' of a non-carcinogenic one; a bond is a link between two atoms of a molecule." + }, + { + "instance_id": "bird491", + "db": "toxicology", + "question": "I'd like a ranked inventory of every molecule in the toxicology database that contains at least one carbon atom. For each qualifying molecule, give me its molecule id, carcinogenicity label, number of atoms, number of bonds, number of carbon atoms, number of chlorine atoms, number of carbon-touching bonds, and number of multiple bonds - one row per molecule, including molecules where some of these counts are zero. Rank the rows from the most carbon-touching bonds to the fewest; break ties by larger total atom count, then by molecule id ascending. Give consecutive rank positions 1, 2, 3, ... with no gaps after ties.", + "evidence": "A carbon-touching bond is a bond with a carbon atom at one of its ends; a bond between two carbon atoms counts as one bond. A multiple bond is a double or triple bond. The carcinogenicity label '+' means carcinogenic, '-' means not carcinogenic." + }, + { + "instance_id": "bird492", + "db": "toxicology", + "question": "I'm studying the hydrogen bonding pattern of the molecule that contains the yttrium atom. How many bonds in that molecule have a hydrogen atom at one end? Just give me the single overall count, please.", + "evidence": "An yttrium atom has element symbol Y; a hydrogen atom has element symbol H." + }, + { + "instance_id": "bird493", + "db": "toxicology", + "question": "As part of a connectivity review, I'd like to know how heavily atoms are connected in molecule TR397: what is the average number of bonds an atom of TR397 has? Please give me just that one number, rounded to two decimal places.", + "evidence": "" + }, + { + "instance_id": "bird494", + "db": "toxicology", + "question": "I'm studying bond patterns in compounds that are not carcinogenic. For each element, how many double or triple bonds join a carbon atom to an atom of that element, across all non-carcinogenic molecules? Give me one row per element with the element and its count of such bonds—nothing else.", + "evidence": "A molecule labeled '-' is not carcinogenic; a molecule labeled '+' is carcinogenic." + }, + { + "instance_id": "bird495", + "db": "toxicology", + "question": "For molecule TR377, I'd like a profile of its bond composition, covering single and double bonds only. For each bond kind, please give me: the bond kind symbol, the number of bonds of that kind in the molecule, and the number of element pairs that bond kind joins. Also include the molecule's carcinogenicity label. List the bond kinds from most frequent to least; if two kinds are equally frequent, list them alphabetically by symbol.", + "evidence": "A single bond is shown as the symbol '-' and a double bond as '='; a molecule label '+' means carcinogenic and '-' means not carcinogenic." + }, + { + "instance_id": "bird496", + "db": "toxicology", + "question": "I'm screening for molecules to flag for follow-up. Can you give me the molecule_id of the first three molecules, in alphabetical order, that are non-carcinogenic, contain at least one metal atom, and have single bonds between their atoms? Please return only the molecule ids.", + "evidence": "A molecule label of '-' means the molecule is non-carcinogenic. A bond type of '-' means a single bond between two atoms. The metals are sodium (na), potassium (k), calcium (ca), copper (cu), zinc (zn), tin (sn), lead (pb), magnesium (mg) and lithium (li)." + }, + { + "instance_id": "bird497", + "db": "toxicology", + "question": "I'm profiling the compound library and want to size the fully saturated portion of each element's atom population - atoms attached only by single bonds behave differently from unsaturated sites. For each element symbol in the database, how many atoms are connected only by single bonds and never part of any multiple bond? Please give me one row per element symbol with the element symbol and the number of such atoms, sorted alphabetically by element symbol. This should cover all compounds in the database. Note that an atom with no bonds at all doesn't count as being connected by single bonds, so exclude those.", + "evidence": "A single bond is a bond between two atoms sharing exactly one electron pair, denoted by the bond-type symbol '-'. A multiple bond is a double or triple bond, i.e. a bond between two atoms sharing more than one electron pair." + }, + { + "instance_id": "bird498", + "db": "toxicology", + "question": "In the toxicology compound database, which elements take part in a triple bond, and how widely are they distributed across the tested compounds? For each such element, give me its element symbol and the number of molecules that contain that element. Order the results from the most widespread element to the least; where two elements have equal counts, list them alphabetically by element symbol.", + "evidence": "The '#' bond-type symbol denotes a triple bond." + }, + { + "instance_id": "bird499", + "db": "toxicology", + "question": "For molecule TR397, I want to see which elements form the bonding skeleton. For each element present among its atoms, how many atoms of that element take part in at least one bond? Please report two things per row: the element symbol (e.g. c, h, o) and the number of that element's atoms in TR397 that take part in a bond. One row per element, ordered alphabetically by element symbol. Only atoms belonging to TR397 should count.", + "evidence": "Takes part in a bond: the atom is one of the two atoms a bond joins." + } + ], + "db_sha256": { + "california_schools": "c0903eec662e63068fd1d14403d3d6c1d473287fc10c4356333ea58f878db983", + "card_games": "c98bdb57fe7474da798b407785544b9af0daaad5d61fd21e2a73309493bc1227", + "codebase_community": "92101be6d2a9f6adceea59d38f6d1c556087f9eea1432432a21268cb1348036d", + "debit_card_specializing": "b3d149ad05746dbbe5116e229e17e18f09c39db43cf117d9ef3441753608b691", + "european_football_2": "f72f5c9b990371417288a67b27a02e601ef904d45525c2c9f7931fb01001c536", + "financial": "d15d89cdb068a202b6f2b99342af44dffc1d52545b39ceaf62efdc0ba570101e", + "formula_1": "79770caf966707e35516fa566e24b40ae515c74ec1ec4631235245645b87b24d", + "student_club": "eb89bcfe97eefa386a27904ec5aa15159811a7eac894ec659a36e48fa9f76b77", + "superhero": "75e94a2c3236ee3bb2c01fb97a1c4b4c1c269bcefd4eab1d04be323d2d0825b1", + "thrombosis_prediction": "87583183c3dc472fba04de702965560a9d7c0a548836613f242317e0eeb83f00", + "toxicology": "4df4094208e0799d5e5f0e2b5bc5c415cf87b1208ebaf8f4c14c7af445b682c5" + }, + "suite": "bird", + "development_ids": [ + "bird058", + "bird024", + "bird451", + "bird229", + "bird146", + "bird389", + "bird152", + "bird353", + "bird064", + "bird087", + "bird260", + "bird449", + "bird249", + "bird470", + "bird379", + "bird179", + "bird036", + "bird429", + "bird459", + "bird423" + ], + "holdout_ids": [ + "bird023", + "bird238", + "bird358", + "bird324", + "bird155", + "bird267", + "bird110", + "bird192", + "bird226", + "bird365", + "bird128", + "bird381", + "bird305", + "bird408", + "bird001", + "bird413", + "bird120", + "bird432", + "bird160", + "bird027", + "bird199", + "bird095", + "bird407", + "bird091", + "bird489", + "bird209", + "bird194", + "bird313", + "bird015", + "bird051", + "bird270", + "bird130", + "bird427", + "bird167", + "bird360", + "bird061", + "bird450", + "bird097", + "bird032", + "bird341", + "bird006", + "bird156", + "bird471", + "bird119", + "bird369", + "bird256", + "bird057", + "bird222", + "bird361", + "bird205", + "bird356", + "bird279", + "bird412", + "bird488", + "bird496", + "bird295", + "bird404", + "bird390", + "bird417", + "bird440", + "bird211", + "bird487", + "bird005", + "bird299", + "bird397", + "bird346", + "bird315", + "bird484", + "bird472", + "bird162", + "bird428", + "bird254", + "bird349", + "bird017", + "bird446", + "bird232", + "bird236", + "bird071", + "bird063", + "bird244", + "bird062", + "bird157", + "bird480", + "bird185", + "bird248", + "bird463", + "bird035", + "bird345", + "bird088", + "bird072", + "bird443", + "bird135", + "bird474", + "bird275", + "bird495", + "bird148", + "bird444", + "bird331", + "bird060", + "bird431", + "bird416", + "bird117", + "bird410", + "bird079", + "bird326", + "bird105", + "bird436", + "bird383", + "bird139", + "bird350", + "bird182", + "bird485", + "bird132", + "bird245", + "bird424", + "bird292", + "bird098", + "bird030", + "bird329", + "bird430", + "bird191", + "bird455", + "bird434", + "bird348", + "bird026", + "bird011", + "bird089", + "bird212", + "bird103", + "bird083", + "bird008", + "bird074", + "bird050", + "bird106", + "bird259", + "bird376", + "bird067", + "bird193", + "bird055", + "bird044", + "bird264", + "bird198", + "bird003", + "bird075", + "bird380", + "bird033", + "bird025", + "bird301", + "bird196", + "bird114", + "bird077", + "bird303", + "bird204", + "bird366", + "bird240", + "bird123", + "bird195", + "bird333", + "bird158", + "bird112", + "bird469", + "bird493", + "bird368", + "bird306", + "bird462", + "bird490", + "bird285", + "bird246", + "bird373", + "bird273", + "bird289", + "bird276", + "bird168", + "bird342", + "bird492", + "bird387", + "bird337", + "bird189", + "bird184", + "bird401", + "bird352", + "bird200", + "bird280", + "bird002", + "bird048", + "bird186", + "bird174", + "bird498", + "bird141", + "bird239", + "bird039", + "bird216", + "bird022", + "bird332", + "bird294", + "bird045", + "bird169", + "bird172", + "bird040", + "bird242", + "bird107", + "bird250", + "bird382", + "bird491", + "bird347", + "bird076", + "bird497", + "bird116", + "bird374", + "bird262", + "bird453", + "bird171", + "bird043", + "bird217", + "bird178", + "bird257", + "bird386", + "bird396", + "bird181", + "bird439", + "bird419", + "bird415", + "bird111", + "bird164", + "bird414", + "bird406", + "bird296", + "bird101", + "bird409", + "bird251", + "bird118", + "bird268", + "bird086", + "bird010", + "bird056", + "bird127", + "bird210", + "bird122", + "bird161", + "bird367", + "bird218", + "bird457", + "bird144", + "bird372", + "bird286", + "bird370", + "bird154", + "bird124", + "bird084", + "bird177", + "bird099", + "bird143", + "bird435", + "bird402", + "bird336", + "bird479", + "bird125", + "bird290", + "bird335", + "bird094", + "bird300", + "bird482", + "bird466", + "bird214", + "bird281", + "bird392", + "bird082", + "bird233", + "bird013", + "bird478", + "bird153", + "bird420", + "bird477", + "bird096", + "bird258", + "bird247", + "bird494", + "bird351", + "bird344", + "bird081", + "bird241", + "bird473", + "bird355", + "bird049", + "bird384", + "bird037", + "bird145", + "bird377", + "bird224", + "bird481", + "bird009", + "bird159", + "bird411", + "bird421", + "bird458", + "bird448", + "bird029", + "bird137", + "bird163", + "bird134", + "bird225", + "bird468", + "bird034", + "bird080", + "bird271", + "bird100", + "bird263", + "bird325", + "bird398", + "bird093", + "bird452", + "bird066", + "bird031", + "bird287", + "bird007", + "bird235", + "bird312", + "bird340", + "bird362", + "bird028", + "bird019", + "bird298", + "bird138", + "bird418", + "bird359", + "bird046", + "bird113", + "bird230", + "bird073", + "bird202", + "bird070", + "bird433", + "bird265", + "bird322", + "bird021", + "bird314", + "bird311", + "bird394", + "bird004", + "bird391", + "bird140", + "bird425", + "bird321", + "bird282", + "bird221", + "bird183", + "bird228", + "bird078", + "bird467", + "bird012", + "bird147", + "bird197", + "bird109", + "bird266", + "bird316", + "bird283", + "bird378", + "bird483", + "bird441", + "bird085", + "bird310", + "bird475", + "bird297", + "bird261", + "bird388", + "bird339", + "bird170", + "bird447", + "bird129", + "bird486", + "bird136", + "bird052", + "bird375", + "bird288", + "bird456", + "bird165", + "bird476", + "bird219", + "bird338", + "bird499", + "bird059", + "bird255", + "bird464", + "bird302", + "bird357", + "bird142", + "bird393", + "bird328", + "bird215", + "bird042", + "bird284", + "bird277", + "bird102", + "bird272", + "bird020", + "bird307", + "bird330", + "bird304", + "bird442", + "bird253", + "bird000", + "bird454", + "bird363", + "bird223", + "bird047", + "bird220", + "bird231", + "bird400", + "bird465", + "bird385", + "bird309", + "bird206", + "bird445", + "bird461", + "bird317", + "bird237", + "bird399", + "bird422", + "bird460", + "bird175", + "bird318", + "bird108", + "bird069", + "bird068", + "bird092", + "bird173", + "bird234", + "bird090", + "bird014", + "bird151", + "bird213", + "bird018", + "bird133", + "bird187", + "bird269", + "bird131", + "bird203", + "bird308", + "bird180", + "bird054", + "bird405", + "bird395", + "bird364", + "bird121", + "bird371", + "bird293", + "bird038", + "bird426", + "bird252", + "bird104", + "bird190", + "bird188", + "bird354", + "bird201", + "bird207", + "bird437", + "bird291", + "bird334", + "bird274", + "bird065", + "bird403", + "bird278", + "bird126", + "bird176", + "bird208", + "bird053", + "bird150", + "bird320", + "bird323", + "bird115", + "bird327", + "bird166", + "bird149", + "bird438", + "bird041", + "bird343", + "bird319", + "bird016", + "bird227", + "bird243" + ], + "split_seed": 20261126 +} diff --git a/bench/accuracy/results/bird-holdout-final/settings.json b/bench/accuracy/results/bird-holdout-final/settings.json new file mode 100644 index 00000000..a045fd23 --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/settings.json @@ -0,0 +1,45 @@ +{ + "profiles": [ + { + "name": "gpt62-sol", + "model": "openai/gpt-6.2-sol", + "api_key_env": "OPEN_AI_KEY", + "max_output_tokens": 8192, + "reasoning_effort": "high", + "transport_retries": 1, + "retry_delay_seconds": 1 + } + ], + "split": "holdout", + "product_commit": "4e1b48a", + "manifest_sha256": "a08d40046ae163174d4ceace18633c26449c785366504b502dda42d70d92c7c1", + "sources": { + "bench/ecommerce_demo.py": "f75f4c82e07773a57ee1954d59f0acf35c9eb945430bdaea4ccdd98a35dcc86c", + "bench/oracle_demo.py": "c781b9501dea47b7900bb47e3fe41e2700d2153e85e087dce757f95e3e698b0e", + "bench/oracle_view/rehearse.py": "0114ce65327e435d4e3be6cab60e22b48bfb3ff7f06d97c14a16ea0d8e5602f2", + "bench/oracle_view/long_context.py": "089038788a9b4191946c906e470877bd246850d0a6d535809594a0bddfdcd47e", + "bench/oracle_view/codex_demo.py": "2eea87d833ca6a73a50255fa83927c6c560e2390df6c65e217263b2d3bb966c6", + "bench/oracle_view/summarize_context.py": "707b288be6637a7c8a45b957ef44a81cfb091c7fa5b249e9407a2a9b07e66626", + "bench/oracle_view/evaluate.py": "10685e37fbb2420242ebf5f88f988f3d5bccebc45465151f53ab8454e8fb5a3c", + "bench/oracle_co/session.py": "ff839e7497d9e06ca18a248993bac3c556d256ade7311c604d1f55926c195acb", + "bench/oracle_co/demo.py": "a8ac981bb35d0d77595b2441721cde4e458fb63c3fb7c1748a14bab4a187300a", + "bench/oracle_co/db_preview.py": "9a08766183d5f9542442ba41666d998fe024926e676799ffac5d751237ee0d64", + "bench/accuracy/evaluate.py": "fb63626cf53df8545262ed75284adf2d78d64cbda5f80543661c4a6c2f51bac7", + "bench/oracle_meeting/rehearse.py": "542664b6f04ae6a9606735b550fc2ce2f50df6fc0513384ebf4c654136974cd3", + "bench/oracle_meeting/codex_rehearse.py": "cfa84091da819ab1cb71d083c3ff77cc7fd79b8560de2108626e6d4c3bd8a3aa", + "bench/oracle_meeting/package_fault.py": "c7bb3552f167bafcbc084152deb66e187b3a6fa4de3dfed92cc00c7588bc1fe2", + "bench/spider2/providers.py": "56dec4b5de751acb31a686a2ec6a279be9a8be32dc7939d20487ec428d130aef", + "bench/spider2/evaluate.py": "e69628766439b40d4a524d9a23890b9399dd4357f4550fac5ae72f74c2bc91f7", + "bench/accuracy/results/source-v1/bench/accuracy/evaluate.py": "a3632f408d6c461429e9e8ff9d04c83a421338ff8d2ec60a17cae5775f851fe4", + "bench/accuracy/results/source-v1/bench/spider2/providers.py": "8fac5ecaab6fb3f4795907b709985a2db900db23545b01044b4dd549dd221fa3", + "bench/accuracy/results/source-v1/bench/spider2/evaluate.py": "a0a76f1c9977703c9f083b8f256e0ef191f52a280a2e0f3a45100a467e37e3b4" + }, + "limits": { + "max_calls": 16, + "call_timeout": 180, + "case_timeout": 900, + "sql_timeout": 30, + "max_rows": 100000, + "concurrency": 4 + } +} diff --git a/bench/accuracy/results/bird-holdout-final/summary.json b/bench/accuracy/results/bird-holdout-final/summary.json new file mode 100644 index 00000000..8bdc60dc --- /dev/null +++ b/bench/accuracy/results/bird-holdout-final/summary.json @@ -0,0 +1,8 @@ +[ + { + "profile": "gpt62-sol", + "correct": 416, + "total": 480, + "accuracy": 0.8666666666666667 + } +] diff --git a/bench/accuracy/results/file-input-audit.json b/bench/accuracy/results/file-input-audit.json new file mode 100644 index 00000000..7a572ab1 --- /dev/null +++ b/bench/accuracy/results/file-input-audit.json @@ -0,0 +1,11 @@ +{ + "external_bundle_enabled": false, + "file_tool_attempts": [ + { + "case": "bird194", + "ref": "district", + "file_not_found": true + } + ], + "successful_file_tool_reads": 0 +} \ No newline at end of file diff --git a/bench/accuracy/results/final-report.json b/bench/accuracy/results/final-report.json new file mode 100644 index 00000000..e0c87955 --- /dev/null +++ b/bench/accuracy/results/final-report.json @@ -0,0 +1,130 @@ +[ + { + "run": "spider-development-final", + "profile": "gpt62-sol", + "status": "completed", + "correct": 10, + "total": 20, + "accuracy": 0.5, + "failed_predictions": 1, + "failure_types": { + "ValueError": 1 + }, + "api_calls": 95, + "seconds": 677.4601834162604, + "wall_seconds": 203.45982200000435, + "prompt_tokens": 263261, + "completion_tokens": 26868, + "usage_missing_calls": 0, + "cost_usd": null, + "ci95_wilson": [ + 0.2992980081982123, + 0.7007019918017877 + ], + "api_error_attempts": 0, + "api_attempts": 95, + "transport_retries": 0, + "input_tokens": 263261, + "output_tokens": 26868 + }, + { + "run": "spider-holdout-final", + "profile": "gpt62-sol", + "status": "completed", + "correct": 71, + "total": 115, + "accuracy": 0.6173913043478261, + "failed_predictions": 11, + "failure_types": { + "ValueError": 11 + }, + "api_calls": 533, + "seconds": 3644.1261835035402, + "wall_seconds": 947.3976113749668, + "prompt_tokens": 1502970, + "completion_tokens": 145465, + "usage_missing_calls": 0, + "cost_usd": null, + "ci95_wilson": [ + 0.5261324102277726, + 0.7010610310841278 + ], + "api_error_attempts": 0, + "api_attempts": 533, + "transport_retries": 0, + "input_tokens": 1502970, + "output_tokens": 145465 + }, + { + "run": "spider-all-final", + "profile": "gpt62-sol", + "status": "completed", + "correct": 81, + "total": 135, + "accuracy": 0.6, + "aggregation": "Union of disjoint officially scored partitions; no answer selection or repeated inference.", + "ci95_wilson": [ + 0.5156981593276376, + 0.6787682502688573 + ], + "failed_predictions": 12, + "api_error_attempts": 0, + "api_attempts": 628, + "transport_retries": 0, + "input_tokens": 1766231, + "output_tokens": 172333 + }, + { + "run": "bird-development-final", + "profile": "gpt62-sol", + "correct": 18, + "total": 20, + "accuracy": 0.9, + "ci95_wilson": [ + 0.6989663547715128, + 0.9721335187862319 + ], + "failed_predictions": 0, + "api_error_attempts": 0, + "api_attempts": 86, + "transport_retries": 0, + "input_tokens": 216889, + "output_tokens": 12013 + }, + { + "run": "bird-holdout-final", + "profile": "gpt62-sol", + "correct": 416, + "total": 480, + "accuracy": 0.8666666666666667, + "ci95_wilson": [ + 0.8333264516157958, + 0.8941845823868672 + ], + "failed_predictions": 4, + "api_error_attempts": 0, + "api_attempts": 1980, + "transport_retries": 0, + "input_tokens": 4780359, + "output_tokens": 310636 + }, + { + "run": "bird-all-final", + "profile": "gpt62-sol", + "status": "completed", + "correct": 434, + "total": 500, + "accuracy": 0.868, + "aggregation": "Union of disjoint officially scored partitions; no answer selection or repeated inference.", + "ci95_wilson": [ + 0.8355052092686175, + 0.8948832761516801 + ], + "failed_predictions": 4, + "api_error_attempts": 0, + "api_attempts": 2066, + "transport_retries": 0, + "input_tokens": 4997248, + "output_tokens": 322649 + } +] diff --git a/bench/accuracy/results/primitives-equivalence.json b/bench/accuracy/results/primitives-equivalence.json new file mode 100644 index 00000000..4804b1ee --- /dev/null +++ b/bench/accuracy/results/primitives-equivalence.json @@ -0,0 +1,21 @@ +{ + "removed_unused_entrypoints": [ + "prepare", + "run", + "main" + ], + "retained_function_ast_unchanged": true, + "function_ast_sha256": { + "digest": "72ab28a452b23ead76cb9c9fc06e3259a3e1fc705a1324a05565394a6c915da4", + "write_json": "76c2ba537577fbe60b2fb5c3195ddbbb72814d34bbdc983942953a58433a7bed", + "final_sql": "3915929f5f06946f0ea75c87ded7bd2aa9affd331d5adc406c06ca15e29f0f40", + "read_connection": "60dc8204a7dcf2cb2ebad2bc5fb6a4514c1c41563b40e81f4a4d51d2b9a4b324", + "export_result": "3e21294981f5a753a958d269923a9abd80ca9ddf6e4f7f3a6451badcc3fc6fbf", + "run_case": "28ade1a502f76f7b7c4c9fb39dfc55da0350a76cbcfcf074d1862be58eb624fe", + "validate_manifest": "1e4f065b8e31ad95a76b3e4adf032b99ebd2043a841b10209c039a7593529147", + "score": "6c29e1384da3be367d56e003a8b217894468bef55b1ae16ac9086bc13e54bbc1" + }, + "executed_sources": "source-final/; hashes in ../frozen-final.json", + "executed_runner_commit": "0260422", + "final_instruction_unchanged": true +} diff --git a/bench/accuracy/results/runtime.json b/bench/accuracy/results/runtime.json new file mode 100644 index 00000000..2f9fdea5 --- /dev/null +++ b/bench/accuracy/results/runtime.json @@ -0,0 +1,12 @@ +{ + "python": "3.13.13 (main, Apr 14 2026, 14:32:41) [Clang 22.1.3 ]", + "sqlite": "3.50.4", + "packages": { + "litellm": "1.109.1", + "openai": "3.51.0", + "sqlalchemy": "2.0.50", + "pandas": "2.3.3", + "python-dotenv": "1.2.4", + "httpx": "0.28.1" + } +} \ No newline at end of file diff --git a/bench/accuracy/results/source-final/bench/accuracy/evaluate.py.txt b/bench/accuracy/results/source-final/bench/accuracy/evaluate.py.txt new file mode 100644 index 00000000..532c3baa --- /dev/null +++ b/bench/accuracy/results/source-final/bench/accuracy/evaluate.py.txt @@ -0,0 +1,301 @@ +"""Pinned Spider2/BIRD execution accuracy over the real Lang2SQL harness. + +Gold SQL is loaded only by score; inference uses an allowlisted input manifest. +The existing Spider runner owns provider calls, read-only execution and records. +""" + +from __future__ import annotations + +import argparse +import ast +import asyncio +import json +import logging +import os +import random +import subprocess +import time +from pathlib import Path + +from bench.spider2.evaluate import ( + digest, + read_connection, + run_case, + validate_manifest, + write_json, +) +from bench.spider2.evaluate import ( + score as score_spider, +) + +logger = logging.getLogger(__name__) +BIRD_REVISION = "5b256b5a9c17478f06ed6912612e9a14d17065c8" +BIRD_QUESTIONS_SHA = "926af2a0d1b47e5d0d15a7aa8a34d4721007f4550a881555b6a89496b54a2606" +SEED = 20261126 +INPUT_KEYS = { + "instance_id", + "db", + "question", + "evidence", + "external_knowledge", + "document_sha256", +} + + +def split_manifest(manifest, pilot_size): + """Freeze development IDs before model generation or inspection of errors.""" + ids = sorted(c["instance_id"] for c in manifest["cases"]) + random.Random(SEED).shuffle(ids) + manifest["development_ids"] = ids[:pilot_size] + manifest["holdout_ids"] = ids[pilot_size:] + manifest["split_seed"] = SEED + return manifest + + +def prepare(args): + if args.benchmark == "spider2": + manifest = json.loads(Path("bench/spider2/manifest-sqlite135.json").read_text()) + validate_manifest(manifest, args.root, args.db_dir) + else: + if digest(args.questions) != BIRD_QUESTIONS_SHA: + raise ValueError("BIRD annotations differ from pinned release") + rows = [json.loads(line) for line in args.questions.read_text().splitlines()] + # Do not retain gold SQL or any other annotation in inference input. + cases = [ + { + "instance_id": f"bird{r['question_id']:03d}", + "db": r["db_id"], + "question": r["question"], + "evidence": r["evidence"], + } + for r in rows + ] + manifest = { + "benchmark": "BIRD Mini-Dev SQLite 500 (2026-10-25)", + "upstream_commit": BIRD_REVISION, + "question_file_sha256": digest(args.questions), + "evaluator_sha256": digest(args.evaluator), + "cases": cases, + "db_sha256": { + db: digest(args.db_dir / (db + ".sqlite")) + for db in sorted({c["db"] for c in cases}) + }, + } + manifest["suite"] = args.benchmark + write_json(args.output, split_manifest(manifest, args.pilot_size)) + + +def validate_inputs(manifest, db_dir): + ids = [c["instance_id"] for c in manifest["cases"]] + if not ids or len(ids) != len(set(ids)): + raise ValueError("Empty or duplicate cases") + for case in manifest["cases"]: + if set(case) - INPUT_KEYS: + raise ValueError("Unexpected inference fields; gold must never be supplied") + for db, sha in manifest["db_sha256"].items(): + if digest(db_dir / (db + ".sqlite")) != sha: + raise ValueError("Database changed: " + db) + + +async def run(args): + from dotenv import dotenv_values + + manifest = json.loads(args.manifest.read_text()) + validate_inputs(manifest, args.db_dir) + if manifest["suite"] == "spider2": + validate_manifest(manifest, args.root, args.db_dir) + if args.split != "all": + selected = set(manifest[args.split + "_ids"]) + manifest["cases"] = [ + c for c in manifest["cases"] if c["instance_id"] in selected + ] + # A fixed product revision is required; benchmark source is hashed separately. + await asyncio.to_thread( + subprocess.run, + ["git", "diff", "--exit-code", args.product_commit, "--", "src"], + check=True, + ) + if args.output.exists(): + raise ValueError("Output exists; never overwrite or cherry-pick attempts") + profiles = json.loads(args.profiles.read_text()) + env = {**os.environ, **(dotenv_values(args.env_file) if args.env_file else {})} + if not profiles or any(not env.get(p["api_key_env"]) for p in profiles): + raise ValueError("All requested profiles need credentials before starting") + args.output.mkdir(parents=True) + settings = { + "profiles": profiles, + "split": args.split, + "product_commit": args.product_commit, + "manifest_sha256": digest(args.manifest), + "sources": {str(p): digest(p) for p in Path("bench").rglob("*.py")}, + "limits": { + k: getattr(args, k) + for k in ( + "max_calls", + "call_timeout", + "case_timeout", + "sql_timeout", + "max_rows", + "concurrency", + ) + }, + } + write_json(args.output / "manifest.json", manifest) + write_json(args.output / "settings.json", settings) + for profile in profiles: + directory = args.output / profile["name"] + for sub in ("sql", "csv", "records"): + (directory / sub).mkdir(parents=True) + semaphore = asyncio.Semaphore(args.concurrency) + + async def bounded( + case, semaphore=semaphore, directory=directory, profile=profile + ): + async with semaphore: + await run_case( + case, + args.root, + args.db_dir, + directory, + profile, + env[profile["api_key_env"]], + args, + ) + + started = time.monotonic() + await asyncio.gather(*(bounded(case) for case in manifest["cases"])) + write_json( + directory / "status.json", + {"status": "completed", "wall_seconds": time.monotonic() - started}, + ) + + +def load_bird_comparator(path, expected_sha): + """Execute only the pinned upstream pure calculate_ex function, unchanged.""" + if digest(path) != expected_sha: + raise ValueError("BIRD evaluator changed") + module = ast.parse(path.read_text()) + functions = [ + n + for n in module.body + if isinstance(n, ast.FunctionDef) and n.name == "calculate_ex" + ] + if len(functions) != 1: + raise ValueError("Missing official calculate_ex") + namespace = {} + exec( # noqa: S102 — only the hash-pinned upstream comparator + compile(ast.Module(body=functions, type_ignores=[]), str(path), "exec"), + namespace, + ) + return namespace["calculate_ex"] + + +def query_rows(db, sql, timeout, max_rows): + conn = read_connection(db, time.monotonic() + timeout) + try: + rows = conn.execute(sql).fetchmany(max_rows + 1) + if len(rows) > max_rows: + raise ValueError("Row budget exceeded") + return rows + finally: + conn.close() + + +def score(args): + manifest = json.loads((args.output / "manifest.json").read_text()) + validate_inputs(manifest, args.db_dir) + if manifest["suite"] == "spider2": + return score_spider(args.root, args.output) + if digest(args.questions) != manifest["question_file_sha256"]: + raise ValueError("Gold annotations changed") + comparator = load_bird_comparator(args.evaluator, manifest["evaluator_sha256"]) + gold = { + f"bird{r['question_id']:03d}": r + for r in map(json.loads, args.questions.read_text().splitlines()) + } + settings = json.loads((args.output / "settings.json").read_text()) + summaries = [] + for profile in settings["profiles"]: + directory = args.output / profile["name"] + if json.loads((directory / "status.json").read_text())["status"] != "completed": + raise ValueError("Cannot publish partial-run accuracy") + results = [] + for case in manifest["cases"]: + ident = case["instance_id"] + record = json.loads((directory / "records" / (ident + ".json")).read_text()) + db = args.db_dir / (case["db"] + ".sqlite") + # A broken gold/database pairing invalidates scoring, never drops a case. + reference = query_rows( + db, gold[ident]["SQL"], args.sql_timeout, args.max_rows + ) + result = {"instance_id": ident, "score": 0, "status": record["status"]} + if record["status"] == "predicted": + try: + predicted = query_rows( + db, record["sql"], args.sql_timeout, args.max_rows + ) + result["score"] = comparator(predicted, reference) + except Exception as exc: # noqa: BLE001 — prediction errors remain in denominator + result["error_type"] = type(exc).__name__ + logger.warning( + "Scoring prediction failed id=%s error=%s", + ident, + type(exc).__name__, + ) + results.append(result) + write_json(directory / "scores.json", results) + summary = { + "profile": profile["name"], + "correct": sum(r["score"] for r in results), + "total": len(results), + "accuracy": sum(r["score"] for r in results) / len(results), + } + summaries.append(summary) + write_json(args.output / "summary.json", summaries) + print(json.dumps(summaries, indent=2)) + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("command", choices=["prepare", "run", "score"]) + parser.add_argument("--benchmark", choices=["spider2", "bird"]) + for name in ( + "root", + "db-dir", + "output", + "manifest", + "profiles", + "env-file", + "questions", + "evaluator", + ): + parser.add_argument("--" + name, type=Path) + parser.add_argument( + "--split", choices=["development", "holdout", "all"], default="development" + ) + parser.add_argument( + "--product-commit", default="e7f0b0644883b6e3fa760e706fd396cc6730e846" + ) + parser.add_argument("--pilot-size", type=int, default=20) + parser.add_argument("--max-calls", type=int, default=16) + parser.add_argument("--call-timeout", type=float, default=180) + parser.add_argument("--case-timeout", type=float, default=900) + parser.add_argument("--sql-timeout", type=float, default=30) + parser.add_argument("--max-rows", type=int, default=100000) + parser.add_argument("--concurrency", type=int, default=4) + args = parser.parse_args() + if args.root: + args.root = args.root.resolve() + if args.output: + args.output = args.output.resolve() + logging.basicConfig(level=logging.INFO) + if args.command == "run": + asyncio.run(run(args)) + elif args.command == "prepare": + prepare(args) + else: + score(args) + + +if __name__ == "__main__": + main() diff --git a/bench/accuracy/results/source-final/bench/accuracy/models.json.txt b/bench/accuracy/results/source-final/bench/accuracy/models.json.txt new file mode 100644 index 00000000..32b13449 --- /dev/null +++ b/bench/accuracy/results/source-final/bench/accuracy/models.json.txt @@ -0,0 +1,11 @@ +[ + { + "name": "gpt62-sol", + "model": "openai/gpt-6.2-sol", + "api_key_env": "OPEN_AI_KEY", + "max_output_tokens": 8192, + "reasoning_effort": "high", + "transport_retries": 1, + "retry_delay_seconds": 1 + } +] diff --git a/bench/accuracy/results/source-final/bench/spider2/evaluate.py.txt b/bench/accuracy/results/source-final/bench/spider2/evaluate.py.txt new file mode 100644 index 00000000..c9e610d5 --- /dev/null +++ b/bench/accuracy/results/source-final/bench/spider2/evaluate.py.txt @@ -0,0 +1,502 @@ +"""Pin, run and officially score Spider 2.0-Lite SQLite with unchanged Lang2SQL.""" + +from __future__ import annotations + +import argparse +import asyncio +import csv +import hashlib +import importlib.util +import json +import logging +import os +import random +import re +import sqlite3 +import subprocess +import sys +import time +from collections import Counter +from dataclasses import asdict +from pathlib import Path + +from lang2sql.adapters.db.sqlalchemy_explorer import SqlAlchemyExplorer +from lang2sql.core.identity import Identity +from lang2sql.harness.loop import agent_loop +from lang2sql.tenancy.concierge import ContextConcierge + +from .providers import MeasuredLLM + +logger = logging.getLogger(__name__) +UPSTREAM_COMMIT = "cafb867313aab4e674652054198f383cf4018943" +BASELINE_COMMIT = "e0a7fb1" +INSTRUCTION = "\nReturn your final answer as exactly one fenced ```sql block containing the single read-only SQLite SELECT/WITH query that answers the question. Do not include exploratory SQL in the final answer. Use the supplied documentation; no user simulator is available." + + +def digest(path: Path) -> str: + h = hashlib.sha256() + with path.open("rb") as f: + for chunk in iter(lambda: f.read(1024 * 1024), b""): + h.update(chunk) + return h.hexdigest() + + +def write_json(path: Path, value): + path.parent.mkdir(parents=True, exist_ok=True) + tmp = path.with_suffix(path.suffix + ".tmp") + tmp.write_text(json.dumps(value, ensure_ascii=False, indent=2) + "\n") + tmp.replace(path) + + +def prepare(root: Path, db_dir: Path, output: Path, limit: int, seed: int): + commit = subprocess.check_output( + ["git", "-C", str(root), "rev-parse", "HEAD"], text=True + ).strip() + if commit != UPSTREAM_COMMIT: + raise ValueError("Spider2 checkout does not match pinned commit") + lite = root / "spider2-lite" + cases = [ + json.loads(s) for s in (lite / "spider2-lite.jsonl").read_text().splitlines() + ] + cases = sorted( + [c for c in cases if c["instance_id"].startswith("local")], + key=lambda c: c["instance_id"], + ) + random.Random(seed).shuffle(cases) + if limit: + cases = cases[:limit] + hashes = {} + gold_hashes = {} + for case in cases: + db = db_dir / (case["db"] + ".sqlite") + if not db.is_file(): + raise FileNotFoundError(db) + if case["db"] not in hashes: + hashes[case["db"]] = digest(db) + ident = case["instance_id"] + gold_files = [ + f + for f in (lite / "evaluation_suite/gold/exec_result").glob(ident + "*.csv") + if f.stem == ident or re.fullmatch(re.escape(ident) + "_[a-z]", f.stem) + ] + if not gold_files: + raise ValueError("Missing official gold: " + ident) + gold_hashes.update({f.name: digest(f) for f in gold_files}) + doc = case.get("external_knowledge") + case["document_sha256"] = ( + digest(lite / "resource/documents" / doc) if doc else None + ) + write_json( + output, + { + "benchmark": "Spider 2.0-Lite SQLite subset", + "upstream_commit": commit, + "baseline_commit": BASELINE_COMMIT, + "seed": seed, + "selection": "seeded shuffle of local IDs before inference", + "question_file_sha256": digest(lite / "spider2-lite.jsonl"), + "evaluator_sha256": digest(lite / "evaluation_suite/evaluate.py"), + "db_sha256": hashes, + "gold_sha256": gold_hashes, + "gold_config_sha256": digest( + lite / "evaluation_suite/gold/spider2lite_eval.jsonl" + ), + "cases": cases, + }, + ) + + +def final_sql(answer: str) -> str: + blocks = re.findall(r"```sql\s*\n?(.*?)```", answer, re.IGNORECASE | re.DOTALL) + if len(blocks) != 1: + raise ValueError( + "Final answer must contain exactly one SQL block; no last-tool fallback" + ) + sql = blocks[0].strip() + if not re.match(r"^(SELECT|WITH)\b", sql, re.IGNORECASE): + raise ValueError("Final SQL is not SELECT/WITH") + return sql + + +def read_connection(db: Path, deadline: float): + conn = sqlite3.connect( + db.resolve().as_uri() + "?mode=ro", uri=True, check_same_thread=False + ) + conn.execute("PRAGMA query_only=ON") + + def authorize(action, *args): + if action in (sqlite3.SQLITE_ATTACH, sqlite3.SQLITE_DETACH): + return sqlite3.SQLITE_DENY + return sqlite3.SQLITE_OK + + conn.set_authorizer(authorize) + conn.set_progress_handler(lambda: int(time.monotonic() > deadline), 1000) + return conn + + +def export_result(db: Path, sql: str, output: Path, timeout: float, max_rows: int): + conn = read_connection(db, time.monotonic() + timeout) + try: + cursor = conn.execute(sql) + if cursor.description is None: + raise ValueError("Query returned no columns") + with output.open("w", newline="") as f: + writer = csv.writer(f) + writer.writerow([c[0] for c in cursor.description]) + count = 0 + for row in cursor: + count += 1 + if count > max_rows: + raise ValueError( + "Result exceeds configured row budget; not silently truncated" + ) + writer.writerow(row) + return count + except Exception: + output.unlink(missing_ok=True) + raise + finally: + conn.close() + + +async def run_case(case, root, db_dir, directory, profile, key, args): + from sqlalchemy import event + + started = time.monotonic() + llm = MeasuredLLM(profile, key, args.call_timeout, args.max_calls) + db = db_dir / (case["db"] + ".sqlite") + explorer = SqlAlchemyExplorer("sqlite://") + # Existing adapter/harness, but benchmark DB connections are physically read-only. + from sqlalchemy import create_engine + from sqlalchemy.pool import NullPool + + explorer._engine = create_engine( + "sqlite://", + poolclass=NullPool, + creator=lambda: read_connection(db, time.monotonic() + args.sql_timeout), + ) + + @event.listens_for(explorer._engine, "before_cursor_execute") + def deadline(connection, cursor, statement, parameters, context, executemany): + until = time.monotonic() + args.sql_timeout + cursor.connection.set_progress_handler( + lambda: int(time.monotonic() > until), 1000 + ) + + concierge = ContextConcierge(llm=llm, explorer=explorer, max_turns=args.max_calls) + ctx = await concierge.build_context( + Identity( + user_id="benchmark", guild_id=case["instance_id"], channel_id="baseline" + ) + ) + prompt = case["question"] + if case.get("external_knowledge"): + prompt += ( + "\n\nProvided benchmark documentation:\n" + + ( + root / "spider2-lite/resource/documents" / case["external_knowledge"] + ).read_text() + ) + if case.get("evidence"): + prompt += "\n\nProvided benchmark evidence:\n" + case["evidence"] + prompt += INSTRUCTION + record = { + "instance_id": case["instance_id"], + "profile": profile["name"], + "model": profile["model"], + "status": "started", + } + try: + answer = await asyncio.wait_for(agent_loop(ctx, prompt), args.case_timeout) + record["answer"] = answer + sql = final_sql(answer) + (directory / "sql" / f"{case['instance_id']}.sql").write_text(sql + "\n") + record["rows"] = await asyncio.to_thread( + export_result, + db, + sql, + directory / "csv" / f"{case['instance_id']}.csv", + args.sql_timeout, + args.max_rows, + ) + record.update(status="predicted", sql=sql) + except Exception as exc: # noqa: BLE001 — record all model/SQL failures + # Error text from providers may contain request secrets. Persist type only. + record.update(status="failed", error_type=type(exc).__name__) + logger.error( + "case failed model=%s id=%s error=%s", + profile["name"], + case["instance_id"], + type(exc).__name__, + ) + finally: + record.update( + seconds=time.monotonic() - started, + calls=llm.calls, + transcript=[asdict(m) for m in ctx.session.history()], + ) + write_json(directory / "records" / f"{case['instance_id']}.json", record) + concierge.store.close() + await asyncio.to_thread(explorer._engine.dispose) + logger.info( + "case finished model=%s id=%s status=%s", + profile["name"], + case["instance_id"], + record["status"], + ) + + +def validate_manifest(manifest, root, db_dir): + lite = root / "spider2-lite" + if digest(lite / "spider2-lite.jsonl") != manifest["question_file_sha256"]: + raise ValueError("Question file changed") + if digest(lite / "evaluation_suite/evaluate.py") != manifest["evaluator_sha256"]: + raise ValueError("Official evaluator changed") + for db, sha in manifest["db_sha256"].items(): + if digest(db_dir / (db + ".sqlite")) != sha: + raise ValueError("Database hash changed: " + db) + questions = { + c["instance_id"]: c + for c in map(json.loads, (lite / "spider2-lite.jsonl").read_text().splitlines()) + } + ids = [c["instance_id"] for c in manifest["cases"]] + if not ids or len(set(ids)) != len(ids): + raise ValueError("Manifest cases must be nonempty and unique") + for c in manifest["cases"]: + original = questions.get(c["instance_id"], {}) + if not c["instance_id"].startswith("local") or any( + c.get(k) != original.get(k) + for k in ("question", "db", "external_knowledge") + ): + raise ValueError("Manifest case differs from upstream") + if ( + c.get("external_knowledge") + and digest(lite / "resource/documents" / c["external_knowledge"]) + != c["document_sha256"] + ): + raise ValueError("Document hash changed") + + +async def run(args, env: dict[str, str]): + manifest = json.loads(args.manifest.read_text()) + profiles = json.loads(args.profiles.read_text()) + names = [p["name"] for p in profiles] + if len(set(names)) != len(names): + raise ValueError("Duplicate model profile names") + if await asyncio.to_thread( + subprocess.check_output, ["git", "diff", BASELINE_COMMIT, "--", "src"] + ): + raise ValueError("Product source differs from the pinned baseline") + validate_manifest(manifest, args.root, args.db_dir) + if args.output.exists(): + raise ValueError( + "Output directory already exists; use a new run ID to prevent mixed results" + ) + args.output.mkdir(parents=True) + write_json(args.output / "manifest.json", manifest) + write_json( + args.output / "settings.json", + { + "profiles": profiles, + "max_calls": args.max_calls, + "call_timeout": args.call_timeout, + "case_timeout": args.case_timeout, + "sql_timeout": args.sql_timeout, + "max_rows": args.max_rows, + "concurrency": args.concurrency, + "instruction": INSTRUCTION, + "max_output_tokens": 4096, + "runner_sha256": digest(Path(__file__)), + "provider_sha256": digest(Path(__file__).with_name("providers.py")), + "git_commit": ( + await asyncio.to_thread( + subprocess.check_output, ["git", "rev-parse", "HEAD"], text=True + ) + ).strip(), + }, + ) + for profile in profiles: + if not re.fullmatch(r"[A-Za-z0-9_-]+", profile["name"]): + raise ValueError("Unsafe profile name") + directory = args.output / profile["name"] + for sub in ("sql", "csv", "records"): + (directory / sub).mkdir(parents=True) + key = env.get(profile["api_key_env"]) + if not key: + write_json( + directory / "status.json", + {"status": "blocked_missing_key", "env": profile["api_key_env"]}, + ) + logger.error( + "profile blocked missing key name=%s env=%s", + profile["name"], + profile["api_key_env"], + ) + continue + semaphore = asyncio.Semaphore(args.concurrency) + + async def bounded( + case, semaphore=semaphore, directory=directory, profile=profile, key=key + ): + async with semaphore: + await run_case( + case, args.root, args.db_dir, directory, profile, key, args + ) + + model_started = time.monotonic() + await asyncio.gather(*(bounded(case) for case in manifest["cases"])) + write_json( + directory / "status.json", + {"status": "completed", "wall_seconds": time.monotonic() - model_started}, + ) + + +def score(root: Path, output: Path): + manifest = json.loads((output / "manifest.json").read_text()) + settings = json.loads((output / "settings.json").read_text()) + script = root / "spider2-lite/evaluation_suite/evaluate.py" + if digest(script) != manifest["evaluator_sha256"]: + raise ValueError("Official evaluator hash mismatch") + spec = importlib.util.spec_from_file_location("spider2_official", script) + official = importlib.util.module_from_spec(spec) + oldout, olderr = sys.stdout, sys.stderr + oldcwd = Path.cwd() + try: + os.chdir(output) + spec.loader.exec_module(official) + tee = sys.stdout + finally: + sys.stdout, sys.stderr = oldout, olderr + os.chdir(oldcwd) + tee.close() + gold = script.parent / "gold" + for name, expected in manifest.get("gold_sha256", {}).items(): + if digest(gold / "exec_result" / name) != expected: + raise ValueError("Gold result changed: " + name) + if ( + manifest.get("gold_config_sha256") + and digest(gold / "spider2lite_eval.jsonl") != manifest["gold_config_sha256"] + ): + raise ValueError("Gold evaluation settings changed") + standards = official.load_jsonl_to_dict(str(gold / "spider2lite_eval.jsonl")) + summaries = [] + for profile in settings["profiles"]: + directory = output / profile["name"] + status_path = directory / "status.json" + status = ( + json.loads(status_path.read_text()) + if status_path.exists() + else {"status": "incomplete"} + ) + if status["status"] != "completed": + summaries.append( + { + "profile": profile["name"], + "status": status["status"], + "accuracy": None, + } + ) + continue + results = [] + failure_types = Counter() + calls = [] + seconds = 0 + for c in manifest["cases"]: + ident = c["instance_id"] + if ( + ident not in standards + or not official.resolve_gold_paths(ident, str(gold / "exec_result"))[0] + ): + raise ValueError("Missing official gold: " + ident) + record = json.loads((directory / "records" / f"{ident}.json").read_text()) + calls.extend(record["calls"]) + seconds += record["seconds"] + if record["status"] != "predicted": + failure_types[record.get("error_type", "missing_prediction")] += 1 + result = { + "instance_id": ident, + "score": 0, + "error_info": record.get("error_type", "missing_prediction"), + } + else: + result = official.evaluate_single_exec_result_instance( + ident, standards, str(directory / "csv"), str(gold / "exec_result") + ) + results.append(result) + write_json(directory / "scores.json", results) + known = [c["usage"] for c in calls if c.get("usage")] + summary = { + "profile": profile["name"], + "status": "completed", + "correct": sum(r["score"] for r in results), + "total": len(results), + "accuracy": sum(r["score"] for r in results) / len(results), + "failed_predictions": sum(failure_types.values()), + "failure_types": dict(failure_types), + "api_calls": len(calls), + "seconds": seconds, + "wall_seconds": status.get("wall_seconds"), + "prompt_tokens": sum(u.get("prompt_tokens", 0) for u in known), + "completion_tokens": sum(u.get("completion_tokens", 0) for u in known), + "usage_missing_calls": len(calls) - len(known), + "cost_usd": None, + } + summaries.append(summary) + write_json(output / "summary.json", summaries) + print(json.dumps(summaries, ensure_ascii=False, indent=2)) + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + sub = parser.add_subparsers(dest="command", required=True) + for name in ("prepare", "run", "score"): + p = sub.add_parser(name) + p.add_argument("--root", type=Path, required=True) + p.add_argument("--output", type=Path, required=True) + if name != "score": + p.add_argument("--db-dir", type=Path, required=True) + if name == "prepare": + p.add_argument("--limit", type=int, default=0) + p.add_argument("--seed", type=int, default=20261114) + if name == "run": + p.add_argument("--manifest", type=Path, required=True) + p.add_argument("--profiles", type=Path, required=True) + p.add_argument("--max-calls", type=int, default=8) + p.add_argument("--concurrency", type=int, default=2) + p.add_argument("--call-timeout", type=float, default=120) + p.add_argument("--case-timeout", type=float, default=480) + p.add_argument("--sql-timeout", type=float, default=30) + p.add_argument("--max-rows", type=int, default=100000) + p.add_argument("--env-file", type=Path) + args = parser.parse_args() + logging.basicConfig(level=logging.INFO) + args.root = args.root.resolve() + args.output = args.output.resolve() + if args.command == "prepare": + if args.limit < 0: + parser.error("limit must be nonnegative") + prepare(args.root, args.db_dir, args.output, args.limit, args.seed) + elif args.command == "run": + if ( + min( + args.concurrency, + args.max_calls, + args.call_timeout, + args.case_timeout, + args.sql_timeout, + args.max_rows, + ) + <= 0 + ): + parser.error("budgets must be positive") + if args.env_file: + from dotenv import load_dotenv + + load_dotenv(args.env_file, override=False) + asyncio.run(run(args, dict(os.environ))) + else: + score(args.root, args.output) + + +if __name__ == "__main__": + main() diff --git a/bench/accuracy/results/source-final/bench/spider2/providers.py.txt b/bench/accuracy/results/source-final/bench/spider2/providers.py.txt new file mode 100644 index 00000000..2e40a4b8 --- /dev/null +++ b/bench/accuracy/results/source-final/bench/spider2/providers.py.txt @@ -0,0 +1,109 @@ +"""Benchmark-only multi-provider port; reuse Lang2SQL's message/response mapping.""" + +from __future__ import annotations + +import asyncio +import logging +import time +from collections.abc import Sequence + +from lang2sql.adapters.llm.openai_ import ( + _decode_completion, + _encode_message, + _encode_tool, +) +from lang2sql.core.types import Message, ToolSpec + +logger = logging.getLogger(__name__) + + +class MeasuredLLM: + def __init__(self, profile: dict, key: str, timeout: float, max_calls: int): + self.profile, self.key = profile, key + self.timeout, self.max_calls = timeout, max_calls + self.calls: list[dict] = [] + self.provider_messages: dict[str, dict] = {} + + async def complete( + self, messages: Sequence[Message], tools: Sequence[ToolSpec] = () + ): + from litellm import APIConnectionError, RateLimitError, Timeout, acompletion + + if len(self.calls) >= self.max_calls: + raise RuntimeError( + "Total model-call budget exhausted (including auxiliary tools)" + ) + wire = [] + for m in messages: + # Preserve provider-specific tool-call metadata (e.g. Gemini thought signatures) + # without changing core domain types or exposing it to other components. + saved = ( + self.provider_messages.get(m.tool_calls[0].id) if m.tool_calls else None + ) + wire.append(saved if saved is not None else _encode_message(m)) + kwargs = { + "model": self.profile["model"], + "api_key": self.key, + "messages": wire, + "timeout": self.timeout, + "num_retries": 0, + "max_completion_tokens": self.profile.get("max_output_tokens", 8192), + } + if self.profile.get("reasoning_effort"): + kwargs["reasoning_effort"] = self.profile["reasoning_effort"] + if self.profile.get("api_base"): + kwargs["api_base"] = self.profile["api_base"] + if tools: + kwargs["tools"] = [_encode_tool(t) for t in tools] + retries = self.profile.get("transport_retries", 0) + for attempt in range(retries + 1): + if len(self.calls) >= self.max_calls: + raise RuntimeError( + "Total model-call budget exhausted, including transport retries" + ) + entry = { + "seconds": 0.0, + "usage": None, + "status": "started", + "attempt": attempt + 1, + } + self.calls.append(entry) + start = time.monotonic() + try: + response = await acompletion(**kwargs) + raw = response.model_dump() + entry.update( + status="ok", usage=raw.get("usage"), response_model=raw.get("model") + ) + msg = raw["choices"][0]["message"] + for call in msg.get("tool_calls") or []: + self.provider_messages[call["id"]] = { + k: v for k, v in msg.items() if v is not None + } + return _decode_completion(raw) + except Exception as exc: + entry.update(status="error", error_type=type(exc).__name__) + retry = ( + isinstance(exc, (Timeout, APIConnectionError, RateLimitError)) + and attempt < retries + ) + # Provider exception text may contain credentials; record type, never raw text. + if retry: + logger.warning( + "API transport retry profile=%s attempt=%d error=%s", + self.profile["name"], + attempt + 1, + type(exc).__name__, + ) + entry["retry_scheduled"] = True + await asyncio.sleep(self.profile.get("retry_delay_seconds", 1.0)) + else: + logger.error( + "API failed profile=%s error=%s", + self.profile["name"], + type(exc).__name__, + ) + raise + finally: + entry["seconds"] = time.monotonic() - start + raise AssertionError("Unreachable retry loop") diff --git a/bench/accuracy/results/source-final/src/lang2sql/harness/system_prompt.py.txt b/bench/accuracy/results/source-final/src/lang2sql/harness/system_prompt.py.txt new file mode 100644 index 00000000..e0e45fe0 --- /dev/null +++ b/bench/accuracy/results/source-final/src/lang2sql/harness/system_prompt.py.txt @@ -0,0 +1,107 @@ +"""Assemble the system prompt for one turn. + +Per v4.1 §2.1 the prompt injects: (1) the agent's role/rules, (2) the effective +semantic layer for the current scope, (3) recalled facts, (4) DB schema. V1 +keeps each section simple; later versions enrich them without changing the +loop. Sections are suppressed when empty. +""" + +from __future__ import annotations + +import json + +from .context import HarnessContext + +_BASE = """\ +You are Lang2SQL, a read-only data analytics agent. + +Rules: +- Only ever read data. Never modify the database. +- When you need data, call the run_sql tool with a single SELECT/WITH query. +- Discover schema with explore_schema before guessing table or column names. +- Prefer definitions from the semantic layer below over your own assumptions. +- Answer concisely. Show only the final successful SQL you ran, not intermediate attempts. + +Query correctness: +- Before constructing SQL, identify the requested output columns, row grain, population, time boundaries, and aggregation. Return only requested columns, not diagnostic identifiers or intermediate statistics. +- Inspect all relevant tables and join keys. Check relationship direction and join multiplicity; do not replace a declared business identifier with a database's implicit row identifier. +- Do not add unstated filters, exclude zero-valued records, or fill missing values unless the question or supplied definitions require it. Check whether ties and empty groups must be retained. +- Preserve result types: round numeric results numerically; format numbers as text only when explicitly requested. Before returning, check that the executed result matches the requested output contract. + +Clarification rule: +- If the user's query contains business terms (e.g. '활성고객', '월매출', '신규유저') that are NOT defined in the semantic layer and whose meaning is ambiguous, ask ONE concise clarifying question BEFORE running any SQL. Do not guess. +- After answering with SQL results, if you had to infer a term's meaning yourself, suggest the user save it: "이 정의를 저장하려면 `/term_custom`으로 등록해두세요. 다음 질문부터 자동 적용됩니다." +""" + + +async def build_system_prompt(ctx: HarnessContext) -> str: + parts: list[str] = [_BASE] + + if ctx.explorer is not None: + dialect = getattr(ctx.explorer, "dialect", "") + if dialect: + parts.append(f"## SQL dialect\n{dialect}") + if dialect == "oracle": + parts.append( + "Use Oracle SQL: DATE 'YYYY-MM-DD' literals and FETCH FIRST n ROWS ONLY, " + "not LIMIT. Preserve schema-qualified table names. " + "On a permission denial, explain the denial without changing credentials " + "or searching other tables for the denied data." + ) + tables = await ctx.explorer.list_tables() + if tables: + scope = ctx.identity.kv_scope if ctx.store else None + has_enrichment = bool( + scope and ctx.store and ctx.store.kv_get(scope, "schema_relationships") + ) + + if has_enrichment and scope and ctx.store: + schema_lines: list[str] = [] + for tbl in tables: + try: + described = await ctx.explorer.describe_table(tbl.name) + except Exception: + schema_lines.append(f"- {tbl.qualified}") + continue + col_lines = [] + for col in described.columns: + desc = ( + col.description + or ctx.store.kv_get( + scope, f"enriched_desc:{tbl.name}:{col.name}" + ) + or "" + ) + col_lines.append(f" - {col.name}{': ' + desc if desc else ''}") + schema_lines.append(f"- {tbl.qualified}\n" + "\n".join(col_lines)) + parts.append( + "## Known tables (with column descriptions)\n" + + "\n".join(schema_lines) + ) + else: + names = ", ".join(t.qualified for t in tables) + parts.append("## Known tables\n" + names) + + if ctx.store is not None: + scope = ctx.identity.kv_scope + raw = ctx.store.kv_get(scope, "schema_relationships") + if raw: + try: + rels = json.loads(raw) + if rels: + rel_text = "\n".join(f"- {r}" for r in rels) + parts.append( + "## Table relationships (use these for JOINs)\n" + rel_text + ) + except (ValueError, TypeError): + pass + + from ..tools.semantic_federation import build_prompt_section + + user_id = ctx.identity.user_id or "unknown" + channel_id = ctx.identity.effective_channel_id + semfed_section = build_prompt_section(ctx.store, scope, channel_id, user_id) + if semfed_section: + parts.append(semfed_section) + + return "\n\n".join(parts) diff --git a/bench/accuracy/results/source-v1/bench/accuracy/evaluate.py.txt b/bench/accuracy/results/source-v1/bench/accuracy/evaluate.py.txt new file mode 100644 index 00000000..1cafbe7c --- /dev/null +++ b/bench/accuracy/results/source-v1/bench/accuracy/evaluate.py.txt @@ -0,0 +1,209 @@ +"""Pinned Spider2/BIRD execution accuracy over the real Lang2SQL harness. + +Gold SQL is loaded only by score; inference uses an allowlisted input manifest. +The existing Spider runner owns provider calls, read-only execution and records. +""" +from __future__ import annotations + +import argparse +import ast +import asyncio +import json +import logging +import os +from pathlib import Path +import random +import subprocess +import time + +from bench.spider2.evaluate import ( + digest, write_json, run_case, read_connection, score as score_spider, + validate_manifest, +) + +logger = logging.getLogger(__name__) +BIRD_REVISION = "5b256b5a9c17478f06ed6912612e9a14d17065c8" +BIRD_QUESTIONS_SHA = "926af2a0d1b47e5d0d15a7aa8a34d4721007f4550a881555b6a89496b54a2606" +SEED = 20261126 +INPUT_KEYS = {"instance_id", "db", "question", "evidence", "external_knowledge", "document_sha256"} + + +def split_manifest(manifest, pilot_size): + """Freeze development IDs before model generation or inspection of errors.""" + ids = sorted(c["instance_id"] for c in manifest["cases"]) + random.Random(SEED).shuffle(ids) + manifest["development_ids"] = ids[:pilot_size] + manifest["holdout_ids"] = ids[pilot_size:] + manifest["split_seed"] = SEED + return manifest + + +def prepare(args): + if args.benchmark == "spider2": + manifest = json.loads(Path("bench/spider2/manifest-sqlite135.json").read_text()) + validate_manifest(manifest, args.root, args.db_dir) + else: + if digest(args.questions) != BIRD_QUESTIONS_SHA: + raise ValueError("BIRD annotations differ from pinned release") + rows = [json.loads(line) for line in args.questions.read_text().splitlines()] + # Do not retain gold SQL or any other annotation in inference input. + cases = [dict(instance_id=f"bird{r['question_id']:03d}", db=r["db_id"], + question=r["question"], evidence=r["evidence"]) for r in rows] + manifest = dict(benchmark="BIRD Mini-Dev SQLite 500 (2026-10-25)", + upstream_commit=BIRD_REVISION, question_file_sha256=digest(args.questions), + evaluator_sha256=digest(args.evaluator), cases=cases, + db_sha256={db: digest(args.db_dir / (db + ".sqlite")) + for db in sorted({c["db"] for c in cases})}) + manifest["suite"] = args.benchmark + write_json(args.output, split_manifest(manifest, args.pilot_size)) + + +def validate_inputs(manifest, db_dir): + ids = [c["instance_id"] for c in manifest["cases"]] + if not ids or len(ids) != len(set(ids)): + raise ValueError("Empty or duplicate cases") + for case in manifest["cases"]: + if set(case) - INPUT_KEYS: + raise ValueError("Unexpected inference fields; gold must never be supplied") + for db, sha in manifest["db_sha256"].items(): + if digest(db_dir / (db + ".sqlite")) != sha: + raise ValueError("Database changed: " + db) + + +async def run(args): + from dotenv import dotenv_values + + manifest = json.loads(args.manifest.read_text()) + validate_inputs(manifest, args.db_dir) + if manifest["suite"] == "spider2": + validate_manifest(manifest, args.root, args.db_dir) + if args.split != "all": + selected = set(manifest[args.split + "_ids"]) + manifest["cases"] = [c for c in manifest["cases"] if c["instance_id"] in selected] + # A fixed product revision is required; benchmark source is hashed separately. + subprocess.run(["git", "diff", "--exit-code", args.product_commit, "--", "src"], check=True) + if args.output.exists(): + raise ValueError("Output exists; never overwrite or cherry-pick attempts") + profiles = json.loads(args.profiles.read_text()) + env = {**os.environ, **(dotenv_values(args.env_file) if args.env_file else {})} + if not profiles or any(not env.get(p["api_key_env"]) for p in profiles): + raise ValueError("All requested profiles need credentials before starting") + args.output.mkdir(parents=True) + settings = dict(profiles=profiles, split=args.split, product_commit=args.product_commit, + manifest_sha256=digest(args.manifest), + sources={str(p): digest(p) for p in Path("bench").rglob("*.py")}, + limits={k: getattr(args, k) for k in ( + "max_calls", "call_timeout", "case_timeout", "sql_timeout", "max_rows", "concurrency")}) + write_json(args.output / "manifest.json", manifest) + write_json(args.output / "settings.json", settings) + for profile in profiles: + directory = args.output / profile["name"] + for sub in ("sql", "csv", "records"): + (directory / sub).mkdir(parents=True) + semaphore = asyncio.Semaphore(args.concurrency) + + async def bounded(case): + async with semaphore: + await run_case(case, args.root, args.db_dir, directory, profile, + env[profile["api_key_env"]], args) + + started = time.monotonic() + await asyncio.gather(*(bounded(case) for case in manifest["cases"])) + write_json(directory / "status.json", dict(status="completed", wall_seconds=time.monotonic()-started)) + + +def load_bird_comparator(path, expected_sha): + """Execute only the pinned upstream pure calculate_ex function, unchanged.""" + if digest(path) != expected_sha: + raise ValueError("BIRD evaluator changed") + module = ast.parse(path.read_text()) + functions = [n for n in module.body if isinstance(n, ast.FunctionDef) and n.name == "calculate_ex"] + if len(functions) != 1: + raise ValueError("Missing official calculate_ex") + namespace = {} + exec(compile(ast.Module(body=functions, type_ignores=[]), str(path), "exec"), namespace) + return namespace["calculate_ex"] + + +def query_rows(db, sql, timeout, max_rows): + conn = read_connection(db, time.monotonic() + timeout) + try: + rows = conn.execute(sql).fetchmany(max_rows + 1) + if len(rows) > max_rows: + raise ValueError("Row budget exceeded") + return rows + finally: + conn.close() + + +def score(args): + manifest = json.loads((args.output / "manifest.json").read_text()) + validate_inputs(manifest, args.db_dir) + if manifest["suite"] == "spider2": + return score_spider(args.root, args.output) + if digest(args.questions) != manifest["question_file_sha256"]: + raise ValueError("Gold annotations changed") + comparator = load_bird_comparator(args.evaluator, manifest["evaluator_sha256"]) + gold = {f"bird{r['question_id']:03d}": r for r in + map(json.loads, args.questions.read_text().splitlines())} + settings = json.loads((args.output / "settings.json").read_text()) + summaries = [] + for profile in settings["profiles"]: + directory = args.output / profile["name"] + if json.loads((directory / "status.json").read_text())["status"] != "completed": + raise ValueError("Cannot publish partial-run accuracy") + results = [] + for case in manifest["cases"]: + ident = case["instance_id"] + record = json.loads((directory / "records" / (ident + ".json")).read_text()) + db = args.db_dir / (case["db"] + ".sqlite") + # A broken gold/database pairing invalidates scoring, never drops a case. + reference = query_rows(db, gold[ident]["SQL"], args.sql_timeout, args.max_rows) + result = dict(instance_id=ident, score=0, status=record["status"]) + if record["status"] == "predicted": + try: + predicted = query_rows(db, record["sql"], args.sql_timeout, args.max_rows) + result["score"] = comparator(predicted, reference) + except Exception as exc: + result["error_type"] = type(exc).__name__ + logger.warning("Scoring prediction failed id=%s error=%s", ident, type(exc).__name__) + results.append(result) + write_json(directory / "scores.json", results) + summary = dict(profile=profile["name"], correct=sum(r["score"] for r in results), + total=len(results), accuracy=sum(r["score"] for r in results)/len(results)) + summaries.append(summary) + write_json(args.output / "summary.json", summaries) + print(json.dumps(summaries, indent=2)) + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("command", choices=["prepare", "run", "score"]) + parser.add_argument("--benchmark", choices=["spider2", "bird"]) + for name in ("root", "db-dir", "output", "manifest", "profiles", "env-file", "questions", "evaluator"): + parser.add_argument("--" + name, type=Path) + parser.add_argument("--split", choices=["development", "holdout", "all"], default="development") + parser.add_argument("--product-commit", default="e7f0b0644883b6e3fa760e706fd396cc6730e846") + parser.add_argument("--pilot-size", type=int, default=20) + parser.add_argument("--max-calls", type=int, default=16) + parser.add_argument("--call-timeout", type=float, default=180) + parser.add_argument("--case-timeout", type=float, default=900) + parser.add_argument("--sql-timeout", type=float, default=30) + parser.add_argument("--max-rows", type=int, default=100000) + parser.add_argument("--concurrency", type=int, default=4) + args = parser.parse_args() + if args.root: + args.root = args.root.resolve() + if args.output: + args.output = args.output.resolve() + logging.basicConfig(level=logging.INFO) + if args.command == "run": + asyncio.run(run(args)) + elif args.command == "prepare": + prepare(args) + else: + score(args) + + +if __name__ == "__main__": + main() diff --git a/bench/accuracy/results/source-v1/bench/spider2/evaluate.py.txt b/bench/accuracy/results/source-v1/bench/spider2/evaluate.py.txt new file mode 100644 index 00000000..840ab93f --- /dev/null +++ b/bench/accuracy/results/source-v1/bench/spider2/evaluate.py.txt @@ -0,0 +1,490 @@ +"""Pin, run and officially score Spider 2.0-Lite SQLite with unchanged Lang2SQL.""" + +from __future__ import annotations +import argparse +import asyncio +import csv +from collections import Counter +import hashlib +import importlib.util +import json +import logging +import os +from pathlib import Path +import random +import re +import sqlite3 +import subprocess +import sys +import time +from dataclasses import asdict + +from lang2sql.adapters.db.sqlalchemy_explorer import SqlAlchemyExplorer +from lang2sql.core.identity import Identity +from lang2sql.harness.loop import agent_loop +from lang2sql.tenancy.concierge import ContextConcierge +from .providers import MeasuredLLM + +logger = logging.getLogger(__name__) +UPSTREAM_COMMIT = "cafb867313aab4e674652054198f383cf4018943" +BASELINE_COMMIT = "e0a7fb1" +INSTRUCTION = "\nReturn your final answer as exactly one fenced ```sql block containing the single read-only SQLite SELECT/WITH query that answers the question. Do not include exploratory SQL in the final answer. Use the supplied documentation; no user simulator is available." + + +def digest(path: Path) -> str: + h = hashlib.sha256() + with path.open("rb") as f: + for chunk in iter(lambda: f.read(1024 * 1024), b""): + h.update(chunk) + return h.hexdigest() + + +def write_json(path: Path, value): + path.parent.mkdir(parents=True, exist_ok=True) + tmp = path.with_suffix(path.suffix + ".tmp") + tmp.write_text(json.dumps(value, ensure_ascii=False, indent=2) + "\n") + tmp.replace(path) + + +def prepare(root: Path, db_dir: Path, output: Path, limit: int, seed: int): + commit = subprocess.check_output( + ["git", "-C", str(root), "rev-parse", "HEAD"], text=True + ).strip() + if commit != UPSTREAM_COMMIT: + raise ValueError("Spider2 checkout does not match pinned commit") + lite = root / "spider2-lite" + cases = [ + json.loads(s) for s in (lite / "spider2-lite.jsonl").read_text().splitlines() + ] + cases = sorted( + [c for c in cases if c["instance_id"].startswith("local")], + key=lambda c: c["instance_id"], + ) + random.Random(seed).shuffle(cases) + if limit: + cases = cases[:limit] + hashes = {} + gold_hashes = {} + for case in cases: + db = db_dir / (case["db"] + ".sqlite") + if not db.is_file(): + raise FileNotFoundError(db) + if case["db"] not in hashes: + hashes[case["db"]] = digest(db) + ident = case["instance_id"] + gold_files = [ + f + for f in (lite / "evaluation_suite/gold/exec_result").glob(ident + "*.csv") + if f.stem == ident or re.fullmatch(re.escape(ident) + "_[a-z]", f.stem) + ] + if not gold_files: + raise ValueError("Missing official gold: " + ident) + gold_hashes.update({f.name: digest(f) for f in gold_files}) + doc = case.get("external_knowledge") + case["document_sha256"] = ( + digest(lite / "resource/documents" / doc) if doc else None + ) + write_json( + output, + dict( + benchmark="Spider 2.0-Lite SQLite subset", + upstream_commit=commit, + baseline_commit=BASELINE_COMMIT, + seed=seed, + selection="seeded shuffle of local IDs before inference", + question_file_sha256=digest(lite / "spider2-lite.jsonl"), + evaluator_sha256=digest(lite / "evaluation_suite/evaluate.py"), + db_sha256=hashes, + gold_sha256=gold_hashes, + gold_config_sha256=digest( + lite / "evaluation_suite/gold/spider2lite_eval.jsonl" + ), + cases=cases, + ), + ) + + +def final_sql(answer: str) -> str: + blocks = re.findall(r"```sql\s*\n?(.*?)```", answer, re.I | re.S) + if len(blocks) != 1: + raise ValueError( + "Final answer must contain exactly one SQL block; no last-tool fallback" + ) + sql = blocks[0].strip() + if not re.match(r"^(SELECT|WITH)\b", sql, re.I): + raise ValueError("Final SQL is not SELECT/WITH") + return sql + + +def read_connection(db: Path, deadline: float): + conn = sqlite3.connect( + db.resolve().as_uri() + "?mode=ro", uri=True, check_same_thread=False + ) + conn.execute("PRAGMA query_only=ON") + + def authorize(action, *args): + if action in (sqlite3.SQLITE_ATTACH, sqlite3.SQLITE_DETACH): + return sqlite3.SQLITE_DENY + return sqlite3.SQLITE_OK + + conn.set_authorizer(authorize) + conn.set_progress_handler(lambda: int(time.monotonic() > deadline), 1000) + return conn + + +def export_result(db: Path, sql: str, output: Path, timeout: float, max_rows: int): + conn = read_connection(db, time.monotonic() + timeout) + try: + cursor = conn.execute(sql) + if cursor.description is None: + raise ValueError("Query returned no columns") + with output.open("w", newline="") as f: + writer = csv.writer(f) + writer.writerow([c[0] for c in cursor.description]) + count = 0 + for row in cursor: + count += 1 + if count > max_rows: + raise ValueError( + "Result exceeds configured row budget; not silently truncated" + ) + writer.writerow(row) + return count + except Exception: + output.unlink(missing_ok=True) + raise + finally: + conn.close() + + +async def run_case(case, root, db_dir, directory, profile, key, args): + from sqlalchemy import event + + started = time.monotonic() + llm = MeasuredLLM(profile, key, args.call_timeout, args.max_calls) + db = db_dir / (case["db"] + ".sqlite") + explorer = SqlAlchemyExplorer("sqlite://") + # Existing adapter/harness, but benchmark DB connections are physically read-only. + from sqlalchemy import create_engine + from sqlalchemy.pool import NullPool + + explorer._engine = create_engine( + "sqlite://", + poolclass=NullPool, + creator=lambda: read_connection(db, time.monotonic() + args.sql_timeout), + ) + + @event.listens_for(explorer._engine, "before_cursor_execute") + def deadline(connection, cursor, statement, parameters, context, executemany): + until = time.monotonic() + args.sql_timeout + cursor.connection.set_progress_handler( + lambda: int(time.monotonic() > until), 1000 + ) + + concierge = ContextConcierge(llm=llm, explorer=explorer, max_turns=args.max_calls) + ctx = await concierge.build_context( + Identity( + user_id="benchmark", guild_id=case["instance_id"], channel_id="baseline" + ) + ) + prompt = case["question"] + if case.get("external_knowledge"): + prompt += ( + "\n\nProvided benchmark documentation:\n" + + ( + root / "spider2-lite/resource/documents" / case["external_knowledge"] + ).read_text() + ) + if case.get("evidence"): + prompt += "\n\nProvided benchmark evidence:\n" + case["evidence"] + prompt += INSTRUCTION + record = dict( + instance_id=case["instance_id"], + profile=profile["name"], + model=profile["model"], + status="started", + ) + try: + answer = await asyncio.wait_for(agent_loop(ctx, prompt), args.case_timeout) + record["answer"] = answer + sql = final_sql(answer) + (directory / "sql" / f"{case['instance_id']}.sql").write_text(sql + "\n") + record["rows"] = await asyncio.to_thread( + export_result, + db, + sql, + directory / "csv" / f"{case['instance_id']}.csv", + args.sql_timeout, + args.max_rows, + ) + record.update(status="predicted", sql=sql) + except Exception as exc: + # Error text from providers may contain request secrets. Persist type only. + record.update(status="failed", error_type=type(exc).__name__) + logger.error( + "case failed model=%s id=%s error=%s", + profile["name"], + case["instance_id"], + type(exc).__name__, + ) + finally: + record.update( + seconds=time.monotonic() - started, + calls=llm.calls, + transcript=[asdict(m) for m in ctx.session.history()], + ) + write_json(directory / "records" / f"{case['instance_id']}.json", record) + concierge.store.close() + await asyncio.to_thread(explorer._engine.dispose) + logger.info( + "case finished model=%s id=%s status=%s", + profile["name"], + case["instance_id"], + record["status"], + ) + + +def validate_manifest(manifest, root, db_dir): + lite = root / "spider2-lite" + if digest(lite / "spider2-lite.jsonl") != manifest["question_file_sha256"]: + raise ValueError("Question file changed") + if digest(lite / "evaluation_suite/evaluate.py") != manifest["evaluator_sha256"]: + raise ValueError("Official evaluator changed") + for db, sha in manifest["db_sha256"].items(): + if digest(db_dir / (db + ".sqlite")) != sha: + raise ValueError("Database hash changed: " + db) + questions = { + c["instance_id"]: c + for c in map(json.loads, (lite / "spider2-lite.jsonl").read_text().splitlines()) + } + ids = [c["instance_id"] for c in manifest["cases"]] + if not ids or len(set(ids)) != len(ids): + raise ValueError("Manifest cases must be nonempty and unique") + for c in manifest["cases"]: + original = questions.get(c["instance_id"], {}) + if not c["instance_id"].startswith("local") or any( + c.get(k) != original.get(k) + for k in ("question", "db", "external_knowledge") + ): + raise ValueError("Manifest case differs from upstream") + if ( + c.get("external_knowledge") + and digest(lite / "resource/documents" / c["external_knowledge"]) + != c["document_sha256"] + ): + raise ValueError("Document hash changed") + + +async def run(args, env: dict[str, str]): + manifest = json.loads(args.manifest.read_text()) + profiles = json.loads(args.profiles.read_text()) + names = [p["name"] for p in profiles] + if len(set(names)) != len(names): + raise ValueError("Duplicate model profile names") + if subprocess.check_output(["git", "diff", BASELINE_COMMIT, "--", "src"]): + raise ValueError("Product source differs from the pinned baseline") + validate_manifest(manifest, args.root, args.db_dir) + if args.output.exists(): + raise ValueError( + "Output directory already exists; use a new run ID to prevent mixed results" + ) + args.output.mkdir(parents=True) + write_json(args.output / "manifest.json", manifest) + write_json( + args.output / "settings.json", + dict( + profiles=profiles, + max_calls=args.max_calls, + call_timeout=args.call_timeout, + case_timeout=args.case_timeout, + sql_timeout=args.sql_timeout, + max_rows=args.max_rows, + concurrency=args.concurrency, + instruction=INSTRUCTION, + max_output_tokens=4096, + runner_sha256=digest(Path(__file__)), + provider_sha256=digest(Path(__file__).with_name("providers.py")), + git_commit=subprocess.check_output( + ["git", "rev-parse", "HEAD"], text=True + ).strip(), + ), + ) + for profile in profiles: + if not re.fullmatch(r"[A-Za-z0-9_-]+", profile["name"]): + raise ValueError("Unsafe profile name") + directory = args.output / profile["name"] + for sub in ("sql", "csv", "records"): + (directory / sub).mkdir(parents=True) + key = env.get(profile["api_key_env"]) + if not key: + write_json( + directory / "status.json", + dict(status="blocked_missing_key", env=profile["api_key_env"]), + ) + logger.error( + "profile blocked missing key name=%s env=%s", + profile["name"], + profile["api_key_env"], + ) + continue + semaphore = asyncio.Semaphore(args.concurrency) + + async def bounded(case): + async with semaphore: + await run_case( + case, args.root, args.db_dir, directory, profile, key, args + ) + + model_started = time.monotonic() + await asyncio.gather(*(bounded(case) for case in manifest["cases"])) + write_json( + directory / "status.json", + dict(status="completed", wall_seconds=time.monotonic() - model_started), + ) + + +def score(root: Path, output: Path): + manifest = json.loads((output / "manifest.json").read_text()) + settings = json.loads((output / "settings.json").read_text()) + script = root / "spider2-lite/evaluation_suite/evaluate.py" + if digest(script) != manifest["evaluator_sha256"]: + raise ValueError("Official evaluator hash mismatch") + spec = importlib.util.spec_from_file_location("spider2_official", script) + official = importlib.util.module_from_spec(spec) + oldout, olderr = sys.stdout, sys.stderr + oldcwd = Path.cwd() + try: + os.chdir(output) + spec.loader.exec_module(official) + tee = sys.stdout + finally: + sys.stdout, sys.stderr = oldout, olderr + os.chdir(oldcwd) + tee.close() + gold = script.parent / "gold" + for name, expected in manifest.get("gold_sha256", {}).items(): + if digest(gold / "exec_result" / name) != expected: + raise ValueError("Gold result changed: " + name) + if ( + manifest.get("gold_config_sha256") + and digest(gold / "spider2lite_eval.jsonl") != manifest["gold_config_sha256"] + ): + raise ValueError("Gold evaluation settings changed") + standards = official.load_jsonl_to_dict(str(gold / "spider2lite_eval.jsonl")) + summaries = [] + for profile in settings["profiles"]: + directory = output / profile["name"] + status_path = directory / "status.json" + status = ( + json.loads(status_path.read_text()) + if status_path.exists() + else {"status": "incomplete"} + ) + if status["status"] != "completed": + summaries.append( + dict(profile=profile["name"], status=status["status"], accuracy=None) + ) + continue + results = [] + failure_types = Counter() + calls = [] + seconds = 0 + for c in manifest["cases"]: + ident = c["instance_id"] + if ( + ident not in standards + or not official.resolve_gold_paths(ident, str(gold / "exec_result"))[0] + ): + raise ValueError("Missing official gold: " + ident) + record = json.loads((directory / "records" / f"{ident}.json").read_text()) + calls.extend(record["calls"]) + seconds += record["seconds"] + if record["status"] != "predicted": + failure_types[record.get("error_type", "missing_prediction")] += 1 + result = dict( + instance_id=ident, + score=0, + error_info=record.get("error_type", "missing_prediction"), + ) + else: + result = official.evaluate_single_exec_result_instance( + ident, standards, str(directory / "csv"), str(gold / "exec_result") + ) + results.append(result) + write_json(directory / "scores.json", results) + known = [c["usage"] for c in calls if c.get("usage")] + summary = dict( + profile=profile["name"], + status="completed", + correct=sum(r["score"] for r in results), + total=len(results), + accuracy=sum(r["score"] for r in results) / len(results), + failed_predictions=sum(failure_types.values()), + failure_types=dict(failure_types), + api_calls=len(calls), + seconds=seconds, + wall_seconds=status.get("wall_seconds"), + prompt_tokens=sum(u.get("prompt_tokens", 0) for u in known), + completion_tokens=sum(u.get("completion_tokens", 0) for u in known), + usage_missing_calls=len(calls) - len(known), + cost_usd=None, + ) + summaries.append(summary) + write_json(output / "summary.json", summaries) + print(json.dumps(summaries, ensure_ascii=False, indent=2)) + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + sub = parser.add_subparsers(dest="command", required=True) + for name in ("prepare", "run", "score"): + p = sub.add_parser(name) + p.add_argument("--root", type=Path, required=True) + p.add_argument("--output", type=Path, required=True) + if name != "score": + p.add_argument("--db-dir", type=Path, required=True) + if name == "prepare": + p.add_argument("--limit", type=int, default=0) + p.add_argument("--seed", type=int, default=20261114) + if name == "run": + p.add_argument("--manifest", type=Path, required=True) + p.add_argument("--profiles", type=Path, required=True) + p.add_argument("--max-calls", type=int, default=8) + p.add_argument("--concurrency", type=int, default=2) + p.add_argument("--call-timeout", type=float, default=120) + p.add_argument("--case-timeout", type=float, default=480) + p.add_argument("--sql-timeout", type=float, default=30) + p.add_argument("--max-rows", type=int, default=100000) + p.add_argument("--env-file", type=Path) + args = parser.parse_args() + logging.basicConfig(level=logging.INFO) + args.root = args.root.resolve() + args.output = args.output.resolve() + if args.command == "prepare": + if args.limit < 0: + parser.error("limit must be nonnegative") + prepare(args.root, args.db_dir, args.output, args.limit, args.seed) + elif args.command == "run": + if ( + min( + args.concurrency, + args.max_calls, + args.call_timeout, + args.case_timeout, + args.sql_timeout, + args.max_rows, + ) + <= 0 + ): + parser.error("budgets must be positive") + if args.env_file: + from dotenv import load_dotenv + + load_dotenv(args.env_file, override=False) + asyncio.run(run(args, dict(os.environ))) + else: + score(args.root, args.output) + + +if __name__ == "__main__": + main() diff --git a/bench/accuracy/results/source-v1/bench/spider2/providers.py.txt b/bench/accuracy/results/source-v1/bench/spider2/providers.py.txt new file mode 100644 index 00000000..3cb2adf5 --- /dev/null +++ b/bench/accuracy/results/source-v1/bench/spider2/providers.py.txt @@ -0,0 +1,79 @@ +"""Benchmark-only multi-provider port; reuse Lang2SQL's message/response mapping.""" + +from __future__ import annotations +import logging +import time +from typing import Sequence +from lang2sql.adapters.llm.openai_ import ( + _encode_message, + _encode_tool, + _decode_completion, +) +from lang2sql.core.types import Message, ToolSpec + +logger = logging.getLogger(__name__) + + +class MeasuredLLM: + def __init__(self, profile: dict, key: str, timeout: float, max_calls: int): + self.profile, self.key = profile, key + self.timeout, self.max_calls = timeout, max_calls + self.calls: list[dict] = [] + self.provider_messages: dict[str, dict] = {} + + async def complete( + self, messages: Sequence[Message], tools: Sequence[ToolSpec] = () + ): + from litellm import acompletion + + if len(self.calls) >= self.max_calls: + raise RuntimeError( + "Total model-call budget exhausted (including auxiliary tools)" + ) + wire = [] + for m in messages: + # Preserve provider-specific tool-call metadata (e.g. Gemini thought signatures) + # without changing core domain types or exposing it to other components. + saved = ( + self.provider_messages.get(m.tool_calls[0].id) if m.tool_calls else None + ) + wire.append(saved if saved is not None else _encode_message(m)) + kwargs = dict( + model=self.profile["model"], + api_key=self.key, + messages=wire, + timeout=self.timeout, + num_retries=0, + max_completion_tokens=self.profile.get("max_output_tokens", 8192), + ) + if self.profile.get("reasoning_effort"): + kwargs["reasoning_effort"] = self.profile["reasoning_effort"] + if self.profile.get("api_base"): + kwargs["api_base"] = self.profile["api_base"] + if tools: + kwargs["tools"] = [_encode_tool(t) for t in tools] + entry = {"seconds": 0.0, "usage": None, "status": "started"} + self.calls.append(entry) + start = time.monotonic() + try: + response = await acompletion(**kwargs) + raw = response.model_dump() + entry.update( + status="ok", usage=raw.get("usage"), response_model=raw.get("model") + ) + msg = raw["choices"][0]["message"] + for call in msg.get("tool_calls") or []: + self.provider_messages[call["id"]] = { + k: v for k, v in msg.items() if v is not None + } + return _decode_completion(raw) + except Exception as exc: + entry.update(status="error", error_type=type(exc).__name__) + logger.error( + "API failed profile=%s error=%s", + self.profile["name"], + type(exc).__name__, + ) + raise + finally: + entry["seconds"] = time.monotonic() - start diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/records.jsonl b/bench/accuracy/results/spider-all-final/gpt62-sol/records.jsonl new file mode 100644 index 00000000..f183226b --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/records.jsonl @@ -0,0 +1,135 @@ +{"instance_id": "local002", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "failed", "answer": "❓ Awaiting user: For the regression, should daily toy sales mean the number of toy items sold or the total item price of toys sold?", "error_type": "ValueError", "seconds": 22.025956208002754, "calls": [{"seconds": 3.66687291697599, "usage": {"completion_tokens": 98, "prompt_tokens": 1680, "total_tokens": 1778, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1116, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1116, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1116, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 18.348830500035547, "usage": {"completion_tokens": 388, "prompt_tokens": 2051, "total_tokens": 2439, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 345, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 371, "cached_tokens": 1116, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 371, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 371, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "217f4b0b34fb790ab69f0d56bd0f6d007ba6361b4a5f271dcc66838682855aef"} +{"instance_id": "local003", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH delivered_orders AS (\n SELECT o.order_id, c.customer_unique_id, o.order_purchase_timestamp\n FROM orders AS o\n JOIN customers AS c ON c.customer_id = o.customer_id\n WHERE o.order_status = 'delivered'\n),\norder_spend AS (\n -- Sum all recorded payments for an order before counting orders.\n SELECT p.order_id,\n CASE WHEN COUNT(p.payment_value) = COUNT(*)\n THEN SUM(p.payment_value) END AS spend\n FROM order_payments AS p\n JOIN delivered_orders AS d ON d.order_id = p.order_id\n GROUP BY p.order_id\n),\ncustomer_totals AS (\n SELECT d.customer_unique_id,\n MAX(d.order_purchase_timestamp) AS latest_purchase_timestamp,\n COUNT(*) AS order_count,\n -- Keep every delivered order; spend is unknown if any order lacks payment data.\n CASE WHEN COUNT(p.spend) = COUNT(*)\n THEN ROUND(SUM(p.spend), 2) END AS total_spend\n FROM delivered_orders AS d\n LEFT JOIN order_spend AS p ON p.order_id = d.order_id\n GROUP BY d.customer_unique_id\n),\ncustomer_rfm AS (\n -- Recency is elapsed days from the customer's latest delivered-order purchase\n -- to the latest delivered-order purchase in the full dataset.\n SELECT *,\n JULIANDAY(MAX(latest_purchase_timestamp) OVER ())\n - JULIANDAY(latest_purchase_timestamp) AS recency_days\n FROM customer_totals\n),\npercentiles AS (\n -- Rank best to worst. CUME_DIST keeps equal values in the same percentile band.\n SELECT *,\n CUME_DIST() OVER (ORDER BY recency_days) AS r_pct,\n CUME_DIST() OVER (ORDER BY order_count DESC) AS f_pct,\n CUME_DIST() OVER (\n PARTITION BY total_spend IS NULL ORDER BY total_spend DESC\n ) AS m_pct\n FROM customer_rfm\n),\nscores AS (\n -- Scores 1–5 use the 20%, 40%, 60%, and 80% cumulative percentile cutoffs.\n SELECT customer_unique_id, order_count, total_spend,\n 1 + (r_pct > 0.2) + (r_pct > 0.4) + (r_pct > 0.6) + (r_pct > 0.8) AS r,\n 1 + (f_pct > 0.2) + (f_pct > 0.4) + (f_pct > 0.6) + (f_pct > 0.8)\n + CASE WHEN total_spend IS NOT NULL THEN\n 1 + (m_pct > 0.2) + (m_pct > 0.4) + (m_pct > 0.6) + (m_pct > 0.8)\n END AS fm\n FROM percentiles\n),\nsegmented AS (\n SELECT customer_unique_id, order_count, total_spend,\n CASE\n WHEN r = 1 AND fm BETWEEN 1 AND 4 THEN 'Champions'\n WHEN r IN (4, 5) AND fm BETWEEN 1 AND 2 THEN 'Can''t Lose Them'\n WHEN r IN (4, 5) AND fm BETWEEN 3 AND 6 THEN 'Hibernating'\n WHEN r IN (4, 5) AND fm BETWEEN 7 AND 10 THEN 'Lost'\n WHEN r IN (2, 3) AND fm BETWEEN 1 AND 4 THEN 'Loyal Customers'\n WHEN r = 3 AND fm BETWEEN 5 AND 6 THEN 'Needs Attention'\n WHEN r = 1 AND fm BETWEEN 7 AND 8 THEN 'Recent Users'\n WHEN (r = 1 AND fm BETWEEN 5 AND 6)\n OR (r = 2 AND fm BETWEEN 5 AND 8) THEN 'Potential Loyalists'\n WHEN r = 1 AND fm BETWEEN 9 AND 10 THEN 'Price Sensitive'\n WHEN r = 2 AND fm BETWEEN 9 AND 10 THEN 'Promising'\n WHEN r = 3 AND fm BETWEEN 7 AND 10 THEN 'About to Sleep'\n ELSE 'Unclassified (missing spend)'\n END AS rfm_segment\n FROM scores\n)\nSELECT customer_unique_id,\n rfm_segment,\n ROUND(total_spend / order_count, 2) AS avg_sales_per_order,\n -- Compare segments by pooled spend / pooled orders, not by averaging customer ratios.\n ROUND(SUM(total_spend) OVER segment / SUM(order_count) OVER segment, 2)\n AS segment_avg_sales_per_order\nFROM segmented\nWINDOW segment AS (PARTITION BY rfm_segment)\nORDER BY segment_avg_sales_per_order DESC, rfm_segment, customer_unique_id;\n```", "rows": 93358, "sql": "WITH delivered_orders AS (\n SELECT o.order_id, c.customer_unique_id, o.order_purchase_timestamp\n FROM orders AS o\n JOIN customers AS c ON c.customer_id = o.customer_id\n WHERE o.order_status = 'delivered'\n),\norder_spend AS (\n -- Sum all recorded payments for an order before counting orders.\n SELECT p.order_id,\n CASE WHEN COUNT(p.payment_value) = COUNT(*)\n THEN SUM(p.payment_value) END AS spend\n FROM order_payments AS p\n JOIN delivered_orders AS d ON d.order_id = p.order_id\n GROUP BY p.order_id\n),\ncustomer_totals AS (\n SELECT d.customer_unique_id,\n MAX(d.order_purchase_timestamp) AS latest_purchase_timestamp,\n COUNT(*) AS order_count,\n -- Keep every delivered order; spend is unknown if any order lacks payment data.\n CASE WHEN COUNT(p.spend) = COUNT(*)\n THEN ROUND(SUM(p.spend), 2) END AS total_spend\n FROM delivered_orders AS d\n LEFT JOIN order_spend AS p ON p.order_id = d.order_id\n GROUP BY d.customer_unique_id\n),\ncustomer_rfm AS (\n -- Recency is elapsed days from the customer's latest delivered-order purchase\n -- to the latest delivered-order purchase in the full dataset.\n SELECT *,\n JULIANDAY(MAX(latest_purchase_timestamp) OVER ())\n - JULIANDAY(latest_purchase_timestamp) AS recency_days\n FROM customer_totals\n),\npercentiles AS (\n -- Rank best to worst. CUME_DIST keeps equal values in the same percentile band.\n SELECT *,\n CUME_DIST() OVER (ORDER BY recency_days) AS r_pct,\n CUME_DIST() OVER (ORDER BY order_count DESC) AS f_pct,\n CUME_DIST() OVER (\n PARTITION BY total_spend IS NULL ORDER BY total_spend DESC\n ) AS m_pct\n FROM customer_rfm\n),\nscores AS (\n -- Scores 1–5 use the 20%, 40%, 60%, and 80% cumulative percentile cutoffs.\n SELECT customer_unique_id, order_count, total_spend,\n 1 + (r_pct > 0.2) + (r_pct > 0.4) + (r_pct > 0.6) + (r_pct > 0.8) AS r,\n 1 + (f_pct > 0.2) + (f_pct > 0.4) + (f_pct > 0.6) + (f_pct > 0.8)\n + CASE WHEN total_spend IS NOT NULL THEN\n 1 + (m_pct > 0.2) + (m_pct > 0.4) + (m_pct > 0.6) + (m_pct > 0.8)\n END AS fm\n FROM percentiles\n),\nsegmented AS (\n SELECT customer_unique_id, order_count, total_spend,\n CASE\n WHEN r = 1 AND fm BETWEEN 1 AND 4 THEN 'Champions'\n WHEN r IN (4, 5) AND fm BETWEEN 1 AND 2 THEN 'Can''t Lose Them'\n WHEN r IN (4, 5) AND fm BETWEEN 3 AND 6 THEN 'Hibernating'\n WHEN r IN (4, 5) AND fm BETWEEN 7 AND 10 THEN 'Lost'\n WHEN r IN (2, 3) AND fm BETWEEN 1 AND 4 THEN 'Loyal Customers'\n WHEN r = 3 AND fm BETWEEN 5 AND 6 THEN 'Needs Attention'\n WHEN r = 1 AND fm BETWEEN 7 AND 8 THEN 'Recent Users'\n WHEN (r = 1 AND fm BETWEEN 5 AND 6)\n OR (r = 2 AND fm BETWEEN 5 AND 8) THEN 'Potential Loyalists'\n WHEN r = 1 AND fm BETWEEN 9 AND 10 THEN 'Price Sensitive'\n WHEN r = 2 AND fm BETWEEN 9 AND 10 THEN 'Promising'\n WHEN r = 3 AND fm BETWEEN 7 AND 10 THEN 'About to Sleep'\n ELSE 'Unclassified (missing spend)'\n END AS rfm_segment\n FROM scores\n)\nSELECT customer_unique_id,\n rfm_segment,\n ROUND(total_spend / order_count, 2) AS avg_sales_per_order,\n -- Compare segments by pooled spend / pooled orders, not by averaging customer ratios.\n ROUND(SUM(total_spend) OVER segment / SUM(order_count) OVER segment, 2)\n AS segment_avg_sales_per_order\nFROM segmented\nWINDOW segment AS (PARTITION BY rfm_segment)\nORDER BY segment_avg_sales_per_order DESC, rfm_segment, customer_unique_id;", "seconds": 75.10050345899072, "calls": [{"seconds": 4.355649541947059, "usage": {"completion_tokens": 97, "prompt_tokens": 3001, "total_tokens": 3098, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 2437, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 21.038209000020288, "usage": {"completion_tokens": 981, "prompt_tokens": 3352, "total_tokens": 4333, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 642, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 351, "cached_tokens": 2437, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 351, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 351, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 30.841548625030555, "usage": {"completion_tokens": 1924, "prompt_tokens": 4774, "total_tokens": 6698, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 833, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1422, "cached_tokens": 2788, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1422, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1422, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 14.179442542023025, "usage": {"completion_tokens": 1083, "prompt_tokens": 7904, "total_tokens": 8987, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 71, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 3130, "cached_tokens": 4210, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 3130, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 3130, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "42c3eed7333a6b5b0193a02a20f94e7c7d9ace2e466b2f1f3b25e605638dea14", "csv_sha256": "6cf147e3489befc94ac2dab57b93d6be7e285f9f0d4f9584bc9eba8223699173"} +{"instance_id": "local004", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH payments_by_order AS (\n SELECT order_id, SUM(payment_value) AS order_payment\n FROM order_payments\n GROUP BY order_id\n)\nSELECT\n COUNT(*) AS number_of_orders,\n AVG(p.order_payment) AS average_payment_per_order,\n MAX(1.0, (\n JULIANDAY(MAX(DATE(o.order_purchase_timestamp)))\n - JULIANDAY(MIN(DATE(o.order_purchase_timestamp)))\n ) / 7.0) AS customer_lifespan_weeks\nFROM orders AS o\nJOIN customers AS c ON c.customer_id = o.customer_id\nLEFT JOIN payments_by_order AS p ON p.order_id = o.order_id\nGROUP BY c.customer_unique_id\nORDER BY average_payment_per_order DESC, c.customer_unique_id\nLIMIT 3;\n```", "rows": 3, "sql": "WITH payments_by_order AS (\n SELECT order_id, SUM(payment_value) AS order_payment\n FROM order_payments\n GROUP BY order_id\n)\nSELECT\n COUNT(*) AS number_of_orders,\n AVG(p.order_payment) AS average_payment_per_order,\n MAX(1.0, (\n JULIANDAY(MAX(DATE(o.order_purchase_timestamp)))\n - JULIANDAY(MIN(DATE(o.order_purchase_timestamp)))\n ) / 7.0) AS customer_lifespan_weeks\nFROM orders AS o\nJOIN customers AS c ON c.customer_id = o.customer_id\nLEFT JOIN payments_by_order AS p ON p.order_id = o.order_id\nGROUP BY c.customer_unique_id\nORDER BY average_payment_per_order DESC, c.customer_unique_id\nLIMIT 3;", "seconds": 16.47555087506771, "calls": [{"seconds": 3.186542083043605, "usage": {"completion_tokens": 67, "prompt_tokens": 1686, "total_tokens": 1753, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1122, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.775889292010106, "usage": {"completion_tokens": 339, "prompt_tokens": 1922, "total_tokens": 2261, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 147, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1358, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.121554541983642, "usage": {"completion_tokens": 172, "prompt_tokens": 2502, "total_tokens": 2674, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 580, "cached_tokens": 1358, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 580, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 580, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8b6b75f3bd644f11b1cc35665b60e906527f33e745332468d4b62728568a4c98", "csv_sha256": "dbf250502ef4fa6211211420536ecb2347191f1d66ace7952102e677e5faa61c"} +{"instance_id": "local007", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH career_spans AS (\n SELECT ROUND(ABS(CAST(strftime('%Y', final_game) AS INTEGER) - CAST(strftime('%Y', debut) AS INTEGER)), 2)\n + ROUND(ABS(CAST(strftime('%m', final_game) AS INTEGER) - CAST(strftime('%m', debut) AS INTEGER)) / 12.0, 2)\n + ROUND(ABS(CAST(strftime('%d', final_game) AS INTEGER) - CAST(strftime('%d', debut) AS INTEGER)) / 365.0, 2) AS career_span_years\n FROM player\n)\nSELECT ROUND(AVG(career_span_years), 2) AS average_career_span_years\nFROM career_spans;\n```", "rows": 1, "sql": "WITH career_spans AS (\n SELECT ROUND(ABS(CAST(strftime('%Y', final_game) AS INTEGER) - CAST(strftime('%Y', debut) AS INTEGER)), 2)\n + ROUND(ABS(CAST(strftime('%m', final_game) AS INTEGER) - CAST(strftime('%m', debut) AS INTEGER)) / 12.0, 2)\n + ROUND(ABS(CAST(strftime('%d', final_game) AS INTEGER) - CAST(strftime('%d', debut) AS INTEGER)) / 365.0, 2) AS career_span_years\n FROM player\n)\nSELECT ROUND(AVG(career_span_years), 2) AS average_career_span_years\nFROM career_spans;", "seconds": 16.427494875038974, "calls": [{"seconds": 2.794526166981086, "usage": {"completion_tokens": 19, "prompt_tokens": 1777, "total_tokens": 1796, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1162, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1162, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1162, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.61961104196962, "usage": {"completion_tokens": 507, "prompt_tokens": 1959, "total_tokens": 2466, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 330, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 182, "cached_tokens": 1162, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 182, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 182, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9422437079483643, "usage": {"completion_tokens": 162, "prompt_tokens": 2653, "total_tokens": 2815, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 694, "cached_tokens": 1344, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 694, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 694, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "644e3ef02c9dd32ab615522f0651da842c8e1ccacf5a971caddda56fce89322a", "csv_sha256": "76654997185dff6420b191309632da82d0632818eae5df4a2aabd262273627c0"} +{"instance_id": "local008", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH maxima AS (\n SELECT MAX(g) AS max_g,\n MAX(NULLIF(r, '')) AS max_r,\n MAX(NULLIF(h, '')) AS max_h,\n MAX(NULLIF(hr, '')) AS max_hr\n FROM batting\n), leaders AS (\n SELECT 'games played' AS statistic, b.player_id, b.g AS score\n FROM batting AS b JOIN maxima AS m ON b.g = m.max_g\n UNION\n SELECT 'runs', b.player_id, b.r\n FROM batting AS b JOIN maxima AS m ON b.r = m.max_r\n UNION\n SELECT 'hits', b.player_id, b.h\n FROM batting AS b JOIN maxima AS m ON b.h = m.max_h\n UNION\n SELECT 'home runs', b.player_id, b.hr\n FROM batting AS b JOIN maxima AS m ON b.hr = m.max_hr\n)\nSELECT p.name_given, l.statistic, l.score\nFROM leaders AS l\nJOIN player AS p ON p.player_id = l.player_id\nORDER BY CASE l.statistic\n WHEN 'games played' THEN 1\n WHEN 'runs' THEN 2\n WHEN 'hits' THEN 3\n WHEN 'home runs' THEN 4\nEND, p.name_given;\n```", "rows": 4, "sql": "WITH maxima AS (\n SELECT MAX(g) AS max_g,\n MAX(NULLIF(r, '')) AS max_r,\n MAX(NULLIF(h, '')) AS max_h,\n MAX(NULLIF(hr, '')) AS max_hr\n FROM batting\n), leaders AS (\n SELECT 'games played' AS statistic, b.player_id, b.g AS score\n FROM batting AS b JOIN maxima AS m ON b.g = m.max_g\n UNION\n SELECT 'runs', b.player_id, b.r\n FROM batting AS b JOIN maxima AS m ON b.r = m.max_r\n UNION\n SELECT 'hits', b.player_id, b.h\n FROM batting AS b JOIN maxima AS m ON b.h = m.max_h\n UNION\n SELECT 'home runs', b.player_id, b.hr\n FROM batting AS b JOIN maxima AS m ON b.hr = m.max_hr\n)\nSELECT p.name_given, l.statistic, l.score\nFROM leaders AS l\nJOIN player AS p ON p.player_id = l.player_id\nORDER BY CASE l.statistic\n WHEN 'games played' THEN 1\n WHEN 'runs' THEN 2\n WHEN 'hits' THEN 3\n WHEN 'home runs' THEN 4\nEND, p.name_given;", "seconds": 39.43275216699112, "calls": [{"seconds": 2.947786375065334, "usage": {"completion_tokens": 67, "prompt_tokens": 1698, "total_tokens": 1765, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1083, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1083, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1083, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 17.958348625106737, "usage": {"completion_tokens": 794, "prompt_tokens": 2230, "total_tokens": 3024, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 516, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 532, "cached_tokens": 1083, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 532, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 532, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.757032458088361, "usage": {"completion_tokens": 167, "prompt_tokens": 3633, "total_tokens": 3800, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 38, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1403, "cached_tokens": 1615, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1403, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1403, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.77182304195594, "usage": {"completion_tokens": 332, "prompt_tokens": 4044, "total_tokens": 4376, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 36, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 411, "cached_tokens": 3018, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 411, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 411, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.45917920791544, "usage": {"completion_tokens": 327, "prompt_tokens": 4715, "total_tokens": 5042, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 46, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 671, "cached_tokens": 3429, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 671, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 671, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1de7d75936f218aa0dbef9d05b6ea005a3bd18d604a48d1547dc386b820614a8", "csv_sha256": "95cf80dcdddfcb912367d01ae274a44ce40acbb7e27f23fa0c66d754a9b6fa31"} +{"instance_id": "local009", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH airport_points AS (\n SELECT airport_code,\n json_extract(city, '$.en') AS city_name,\n trim(coordinates, '()') AS point\n FROM airports_data\n), airports AS (\n SELECT airport_code,\n city_name,\n radians(CAST(substr(point, 1, instr(point, ',') - 1) AS REAL)) AS lon,\n radians(CAST(substr(point, instr(point, ',') + 1) AS REAL)) AS lat\n FROM airport_points\n), flight_distances AS (\n SELECT min(dep.city_name, arr.city_name) AS city1,\n max(dep.city_name, arr.city_name) AS city2,\n 2 * 6371 * asin(sqrt(min(1.0,\n pow(sin((arr.lat - dep.lat) / 2), 2)\n + cos(dep.lat) * cos(arr.lat)\n * pow(sin((arr.lon - dep.lon) / 2), 2)\n ))) AS distance_km\n FROM flights AS f\n JOIN airports AS dep ON dep.airport_code = f.departure_airport\n JOIN airports AS arr ON arr.airport_code = f.arrival_airport\n WHERE dep.city_name = 'Abakan' OR arr.city_name = 'Abakan'\n), route_distances AS (\n SELECT AVG(distance_km) AS avg_distance_km\n FROM flight_distances\n GROUP BY city1, city2\n)\nSELECT MAX(avg_distance_km) AS longest_route_distance_km\nFROM route_distances;\n```", "rows": 1, "sql": "WITH airport_points AS (\n SELECT airport_code,\n json_extract(city, '$.en') AS city_name,\n trim(coordinates, '()') AS point\n FROM airports_data\n), airports AS (\n SELECT airport_code,\n city_name,\n radians(CAST(substr(point, 1, instr(point, ',') - 1) AS REAL)) AS lon,\n radians(CAST(substr(point, instr(point, ',') + 1) AS REAL)) AS lat\n FROM airport_points\n), flight_distances AS (\n SELECT min(dep.city_name, arr.city_name) AS city1,\n max(dep.city_name, arr.city_name) AS city2,\n 2 * 6371 * asin(sqrt(min(1.0,\n pow(sin((arr.lat - dep.lat) / 2), 2)\n + cos(dep.lat) * cos(arr.lat)\n * pow(sin((arr.lon - dep.lon) / 2), 2)\n ))) AS distance_km\n FROM flights AS f\n JOIN airports AS dep ON dep.airport_code = f.departure_airport\n JOIN airports AS arr ON arr.airport_code = f.arrival_airport\n WHERE dep.city_name = 'Abakan' OR arr.city_name = 'Abakan'\n), route_distances AS (\n SELECT AVG(distance_km) AS avg_distance_km\n FROM flight_distances\n GROUP BY city1, city2\n)\nSELECT MAX(avg_distance_km) AS longest_route_distance_km\nFROM route_distances;", "seconds": 23.05376341601368, "calls": [{"seconds": 2.7112535840133205, "usage": {"completion_tokens": 53, "prompt_tokens": 2344, "total_tokens": 2397, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1789, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1789, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1789, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.4487944160355255, "usage": {"completion_tokens": 46, "prompt_tokens": 2570, "total_tokens": 2616, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 226, "cached_tokens": 1789, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 226, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 226, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.264276082976721, "usage": {"completion_tokens": 181, "prompt_tokens": 2952, "total_tokens": 3133, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 120, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 382, "cached_tokens": 2015, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 382, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 382, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.276965541066602, "usage": {"completion_tokens": 359, "prompt_tokens": 3223, "total_tokens": 3582, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 271, "cached_tokens": 2397, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 271, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 271, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.290946000022814, "usage": {"completion_tokens": 333, "prompt_tokens": 3944, "total_tokens": 4277, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 721, "cached_tokens": 2668, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 721, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 721, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "733eddcf98dd63404181b8fa8319f36dd0549dd1ce56431f648722ffef7c44d4", "csv_sha256": "14e24072ca200f8ed5eb3e5fb65447d13d10b6aef46cd7538b5b403f89fe3060"} +{"instance_id": "local010", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH airport_coords AS (\n SELECT airport_code,\n json_extract(city, '$.en') AS city_name,\n radians(CAST(substr(coordinates, 2, instr(coordinates, ',') - 2) AS REAL)) AS lon,\n radians(CAST(substr(coordinates, instr(coordinates, ',') + 1,\n length(coordinates) - instr(coordinates, ',') - 1) AS REAL)) AS lat\n FROM airports_data\n), flight_haversines AS (\n SELECT min(d.city_name, a.city_name) AS city1,\n max(d.city_name, a.city_name) AS city2,\n pow(sin((a.lat - d.lat) / 2.0), 2)\n + cos(d.lat) * cos(a.lat) * pow(sin((a.lon - d.lon) / 2.0), 2) AS h\n FROM flights AS f\n JOIN airport_coords AS d ON d.airport_code = f.departure_airport\n JOIN airport_coords AS a ON a.airport_code = f.arrival_airport\n), city_pair_distances AS (\n SELECT AVG(2.0 * 6371 * asin(sqrt(min(1.0, h)))) AS avg_km\n FROM flight_haversines\n GROUP BY city1, city2\n), distance_ranges(lower_km, upper_km) AS (\n VALUES (0, 1000), (1000, 2000), (2000, 3000), (3000, 4000),\n (4000, 5000), (5000, 6000), (6000, NULL)\n), range_counts AS (\n SELECT COUNT(p.avg_km) AS pair_count\n FROM distance_ranges AS r\n LEFT JOIN city_pair_distances AS p\n ON p.avg_km >= r.lower_km\n AND (p.avg_km < r.upper_km OR r.upper_km IS NULL)\n GROUP BY r.lower_km\n)\nSELECT MIN(pair_count) AS fewest_unique_city_pairs\nFROM range_counts;\n```", "rows": 1, "sql": "WITH airport_coords AS (\n SELECT airport_code,\n json_extract(city, '$.en') AS city_name,\n radians(CAST(substr(coordinates, 2, instr(coordinates, ',') - 2) AS REAL)) AS lon,\n radians(CAST(substr(coordinates, instr(coordinates, ',') + 1,\n length(coordinates) - instr(coordinates, ',') - 1) AS REAL)) AS lat\n FROM airports_data\n), flight_haversines AS (\n SELECT min(d.city_name, a.city_name) AS city1,\n max(d.city_name, a.city_name) AS city2,\n pow(sin((a.lat - d.lat) / 2.0), 2)\n + cos(d.lat) * cos(a.lat) * pow(sin((a.lon - d.lon) / 2.0), 2) AS h\n FROM flights AS f\n JOIN airport_coords AS d ON d.airport_code = f.departure_airport\n JOIN airport_coords AS a ON a.airport_code = f.arrival_airport\n), city_pair_distances AS (\n SELECT AVG(2.0 * 6371 * asin(sqrt(min(1.0, h)))) AS avg_km\n FROM flight_haversines\n GROUP BY city1, city2\n), distance_ranges(lower_km, upper_km) AS (\n VALUES (0, 1000), (1000, 2000), (2000, 3000), (3000, 4000),\n (4000, 5000), (5000, 6000), (6000, NULL)\n), range_counts AS (\n SELECT COUNT(p.avg_km) AS pair_count\n FROM distance_ranges AS r\n LEFT JOIN city_pair_distances AS p\n ON p.avg_km >= r.lower_km\n AND (p.avg_km < r.upper_km OR r.upper_km IS NULL)\n GROUP BY r.lower_km\n)\nSELECT MIN(pair_count) AS fewest_unique_city_pairs\nFROM range_counts;", "seconds": 27.18072791607119, "calls": [{"seconds": 2.6634922500234097, "usage": {"completion_tokens": 53, "prompt_tokens": 2391, "total_tokens": 2444, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1836, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1836, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1836, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.5983369579771534, "usage": {"completion_tokens": 47, "prompt_tokens": 2617, "total_tokens": 2664, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 226, "cached_tokens": 1836, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 226, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 226, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.191928582964465, "usage": {"completion_tokens": 186, "prompt_tokens": 2981, "total_tokens": 3167, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 68, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 364, "cached_tokens": 2062, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 364, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 364, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.947263167006895, "usage": {"completion_tokens": 530, "prompt_tokens": 3325, "total_tokens": 3855, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 56, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 344, "cached_tokens": 2426, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 344, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 344, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.604089875007048, "usage": {"completion_tokens": 446, "prompt_tokens": 4323, "total_tokens": 4769, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 998, "cached_tokens": 2770, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 998, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 998, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "4490b577d48abd90d2bdb029a1d9bd1f4a52ad54aa58db60d603ce0fe7dac721", "csv_sha256": "a3e81ec98db032954e947b5a623342f4b4a9cdc4ea6d96972f2891347f9dcbc1"} +{"instance_id": "local015", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH helmet_by_collision AS (\n SELECT\n case_id,\n MAX(CASE WHEN party_safety_equipment_1 IN (\n 'driver, motorcycle helmet used', 'passenger, motorcycle helmet used'\n ) OR party_safety_equipment_2 IN (\n 'driver, motorcycle helmet used', 'passenger, motorcycle helmet used'\n ) THEN 1 ELSE 0 END) AS helmet_used,\n MAX(CASE WHEN party_safety_equipment_1 IN (\n 'driver, motorcycle helmet not used', 'passenger, motorcycle helmet not used'\n ) OR party_safety_equipment_2 IN (\n 'driver, motorcycle helmet not used', 'passenger, motorcycle helmet not used'\n ) THEN 1 ELSE 0 END) AS helmet_not_used\n FROM parties\n GROUP BY case_id\n)\nSELECT\n 100.0 * SUM(CASE WHEN h.helmet_used = 1 THEN c.motorcyclist_killed_count END)\n / NULLIF(COUNT(CASE WHEN h.helmet_used = 1 THEN 1 END), 0) AS helmet_used_fatality_pct,\n 100.0 * SUM(CASE WHEN h.helmet_not_used = 1 THEN c.motorcyclist_killed_count END)\n / NULLIF(COUNT(CASE WHEN h.helmet_not_used = 1 THEN 1 END), 0) AS helmet_not_used_fatality_pct\nFROM collisions AS c\nJOIN helmet_by_collision AS h ON h.case_id = c.case_id\nWHERE c.motorcycle_collision = 1;\n```", "rows": 1, "sql": "WITH helmet_by_collision AS (\n SELECT\n case_id,\n MAX(CASE WHEN party_safety_equipment_1 IN (\n 'driver, motorcycle helmet used', 'passenger, motorcycle helmet used'\n ) OR party_safety_equipment_2 IN (\n 'driver, motorcycle helmet used', 'passenger, motorcycle helmet used'\n ) THEN 1 ELSE 0 END) AS helmet_used,\n MAX(CASE WHEN party_safety_equipment_1 IN (\n 'driver, motorcycle helmet not used', 'passenger, motorcycle helmet not used'\n ) OR party_safety_equipment_2 IN (\n 'driver, motorcycle helmet not used', 'passenger, motorcycle helmet not used'\n ) THEN 1 ELSE 0 END) AS helmet_not_used\n FROM parties\n GROUP BY case_id\n)\nSELECT\n 100.0 * SUM(CASE WHEN h.helmet_used = 1 THEN c.motorcyclist_killed_count END)\n / NULLIF(COUNT(CASE WHEN h.helmet_used = 1 THEN 1 END), 0) AS helmet_used_fatality_pct,\n 100.0 * SUM(CASE WHEN h.helmet_not_used = 1 THEN c.motorcyclist_killed_count END)\n / NULLIF(COUNT(CASE WHEN h.helmet_not_used = 1 THEN 1 END), 0) AS helmet_not_used_fatality_pct\nFROM collisions AS c\nJOIN helmet_by_collision AS h ON h.case_id = c.case_id\nWHERE c.motorcycle_collision = 1;", "seconds": 35.582436249940656, "calls": [{"seconds": 2.040301291970536, "usage": {"completion_tokens": 15, "prompt_tokens": 1695, "total_tokens": 1710, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1155, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1155, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1155, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8425016660476103, "usage": {"completion_tokens": 82, "prompt_tokens": 1736, "total_tokens": 1818, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 41, "cached_tokens": 1155, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 41, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 41, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.357324291020632, "usage": {"completion_tokens": 205, "prompt_tokens": 2770, "total_tokens": 2975, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 87, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1034, "cached_tokens": 1196, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1034, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1034, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.850494665908627, "usage": {"completion_tokens": 147, "prompt_tokens": 3749, "total_tokens": 3896, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 97, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 979, "cached_tokens": 2230, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 979, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 979, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.839570458047092, "usage": {"completion_tokens": 582, "prompt_tokens": 3978, "total_tokens": 4560, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 219, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 229, "cached_tokens": 3209, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 229, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 229, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.102753333980218, "usage": {"completion_tokens": 386, "prompt_tokens": 4936, "total_tokens": 5322, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 51, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 958, "cached_tokens": 3438, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 958, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 958, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e0496bfb55ab99dcf58a444998a56550ce3b6592bf8fe5f8ca24a21f12e0df77", "csv_sha256": "c892cea1c91379218c873a561b9b318113bd393c11098b19f2476f2edf13edff"} +{"instance_id": "local017", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH cause_counts AS (\n SELECT CAST(strftime('%Y', collision_date) AS INTEGER) AS year,\n pcf_violation_category AS cause,\n COUNT(*) AS accident_count\n FROM collisions\n WHERE strftime('%Y', collision_date) IS NOT NULL\n AND pcf_violation_category IS NOT NULL\n GROUP BY year, cause\n), ranked_causes AS (\n SELECT year, cause,\n ROW_NUMBER() OVER (\n PARTITION BY year ORDER BY accident_count DESC, cause\n ) AS cause_rank\n FROM cause_counts\n), yearly_pairs AS (\n SELECT year, MIN(cause) AS cause_a, MAX(cause) AS cause_b\n FROM ranked_causes\n WHERE cause_rank <= 2\n GROUP BY year\n HAVING COUNT(*) = 2\n), pair_frequency AS (\n SELECT year,\n COUNT(*) OVER (PARTITION BY cause_a, cause_b) AS years_with_pair\n FROM yearly_pairs\n)\nSELECT year\nFROM pair_frequency\nWHERE years_with_pair = 1;\n```", "rows": 1, "sql": "WITH cause_counts AS (\n SELECT CAST(strftime('%Y', collision_date) AS INTEGER) AS year,\n pcf_violation_category AS cause,\n COUNT(*) AS accident_count\n FROM collisions\n WHERE strftime('%Y', collision_date) IS NOT NULL\n AND pcf_violation_category IS NOT NULL\n GROUP BY year, cause\n), ranked_causes AS (\n SELECT year, cause,\n ROW_NUMBER() OVER (\n PARTITION BY year ORDER BY accident_count DESC, cause\n ) AS cause_rank\n FROM cause_counts\n), yearly_pairs AS (\n SELECT year, MIN(cause) AS cause_a, MAX(cause) AS cause_b\n FROM ranked_causes\n WHERE cause_rank <= 2\n GROUP BY year\n HAVING COUNT(*) = 2\n), pair_frequency AS (\n SELECT year,\n COUNT(*) OVER (PARTITION BY cause_a, cause_b) AS years_with_pair\n FROM yearly_pairs\n)\nSELECT year\nFROM pair_frequency\nWHERE years_with_pair = 1;", "seconds": 41.411995707894675, "calls": [{"seconds": 2.5464033329626545, "usage": {"completion_tokens": 20, "prompt_tokens": 1607, "total_tokens": 1627, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1067, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1067, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1067, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.0575142920715734, "usage": {"completion_tokens": 18, "prompt_tokens": 2187, "total_tokens": 2205, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 580, "cached_tokens": 1067, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 580, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 580, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.295659707975574, "usage": {"completion_tokens": 223, "prompt_tokens": 2235, "total_tokens": 2458, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 53, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1647, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.924295875011012, "usage": {"completion_tokens": 323, "prompt_tokens": 3373, "total_tokens": 3696, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 87, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1138, "cached_tokens": 1695, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1138, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1138, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 14.46337262506131, "usage": {"completion_tokens": 550, "prompt_tokens": 4126, "total_tokens": 4676, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 303, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 753, "cached_tokens": 2833, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 753, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 753, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.7273914580000564, "usage": {"completion_tokens": 280, "prompt_tokens": 4921, "total_tokens": 5201, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 52, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 795, "cached_tokens": 3586, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 795, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 795, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "aea6c69d4790e36c1bd5a55eefda782843a19eb8d096efea8074ad88e8c1a50c", "csv_sha256": "b4b5cc224a71276653b3cfc612e44086ee578e55b33abbcecbb601b9abb93c99"} +{"instance_id": "local018", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH category_counts AS (\n SELECT pcf_violation_category,\n COUNT(*) FILTER (WHERE collision_date >= '2011-01-01' AND collision_date < '2012-01-01') AS incidents_2011,\n COUNT(*) FILTER (WHERE collision_date >= '2021-01-01' AND collision_date < '2022-01-01') AS incidents_2021\n FROM collisions\n WHERE (collision_date >= '2011-01-01' AND collision_date < '2012-01-01')\n OR (collision_date >= '2021-01-01' AND collision_date < '2022-01-01')\n GROUP BY pcf_violation_category\n), annual_totals AS (\n SELECT *,\n SUM(incidents_2011) OVER () AS total_2011,\n SUM(incidents_2021) OVER () AS total_2021\n FROM category_counts\n)\nSELECT 100.0 * incidents_2011 / NULLIF(total_2011, 0)\n - 100.0 * incidents_2021 / NULLIF(total_2021, 0) AS percentage_point_decrease\nFROM annual_totals\nWHERE pcf_violation_category IS NOT NULL\n AND incidents_2021 > 0\nORDER BY incidents_2021 DESC, pcf_violation_category\nLIMIT 1;\n```", "rows": 1, "sql": "WITH category_counts AS (\n SELECT pcf_violation_category,\n COUNT(*) FILTER (WHERE collision_date >= '2011-01-01' AND collision_date < '2012-01-01') AS incidents_2011,\n COUNT(*) FILTER (WHERE collision_date >= '2021-01-01' AND collision_date < '2022-01-01') AS incidents_2021\n FROM collisions\n WHERE (collision_date >= '2011-01-01' AND collision_date < '2012-01-01')\n OR (collision_date >= '2021-01-01' AND collision_date < '2022-01-01')\n GROUP BY pcf_violation_category\n), annual_totals AS (\n SELECT *,\n SUM(incidents_2011) OVER () AS total_2011,\n SUM(incidents_2021) OVER () AS total_2021\n FROM category_counts\n)\nSELECT 100.0 * incidents_2011 / NULLIF(total_2011, 0)\n - 100.0 * incidents_2021 / NULLIF(total_2021, 0) AS percentage_point_decrease\nFROM annual_totals\nWHERE pcf_violation_category IS NOT NULL\n AND incidents_2021 > 0\nORDER BY incidents_2021 DESC, pcf_violation_category\nLIMIT 1;", "seconds": 32.750951625057496, "calls": [{"seconds": 1.9132167499046773, "usage": {"completion_tokens": 20, "prompt_tokens": 1634, "total_tokens": 1654, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1094, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1094, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1094, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5923696249956265, "usage": {"completion_tokens": 98, "prompt_tokens": 2214, "total_tokens": 2312, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 51, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 580, "cached_tokens": 1094, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 580, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 580, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.930763666983694, "usage": {"completion_tokens": 562, "prompt_tokens": 2548, "total_tokens": 3110, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 241, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 334, "cached_tokens": 1674, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 334, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 334, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.875660166959278, "usage": {"completion_tokens": 206, "prompt_tokens": 3431, "total_tokens": 3637, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 50, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 883, "cached_tokens": 2008, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 883, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 883, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.369061792036518, "usage": {"completion_tokens": 610, "prompt_tokens": 4030, "total_tokens": 4640, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 311, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 599, "cached_tokens": 2891, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 599, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 599, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d003bc471285cabbbd7c283d9893cb78aa33f33fce0014e9f593fd2cfd19f444", "csv_sha256": "3abc3f3c046e8fa6f357f97eba380065727c42aa5bebcf2c303fb128dc1e35c6"} +{"instance_id": "local019", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT winner.name AS winner_name, loser.name AS loser_name\nFROM Matches AS m\nJOIN Belts AS b ON b.id = m.title_id\nJOIN Wrestlers AS winner ON winner.id = m.winner_id\nJOIN Wrestlers AS loser ON loser.id = m.loser_id\nWHERE b.name LIKE '%NXT%'\n AND m.title_change = 0\n AND instr(m.duration, ':') > 0\nORDER BY 60 * CAST(substr(m.duration, 1, instr(m.duration, ':') - 1) AS INTEGER)\n + CAST(substr(m.duration, instr(m.duration, ':') + 1) AS INTEGER),\n m.id\nLIMIT 1;\n```", "rows": 1, "sql": "SELECT winner.name AS winner_name, loser.name AS loser_name\nFROM Matches AS m\nJOIN Belts AS b ON b.id = m.title_id\nJOIN Wrestlers AS winner ON winner.id = m.winner_id\nJOIN Wrestlers AS loser ON loser.id = m.loser_id\nWHERE b.name LIKE '%NXT%'\n AND m.title_change = 0\n AND instr(m.duration, ':') > 0\nORDER BY 60 * CAST(substr(m.duration, 1, instr(m.duration, ':') - 1) AS INTEGER)\n + CAST(substr(m.duration, instr(m.duration, ':') + 1) AS INTEGER),\n m.id\nLIMIT 1;", "seconds": 28.63926808303222, "calls": [{"seconds": 2.3251789159839973, "usage": {"completion_tokens": 15, "prompt_tokens": 1630, "total_tokens": 1645, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1077, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1077, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1077, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.571344209020026, "usage": {"completion_tokens": 85, "prompt_tokens": 1689, "total_tokens": 1774, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 59, "cached_tokens": 1077, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 59, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 59, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.124375791987404, "usage": {"completion_tokens": 146, "prompt_tokens": 1924, "total_tokens": 2070, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 19, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 235, "cached_tokens": 1136, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 235, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 235, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.789216625038534, "usage": {"completion_tokens": 159, "prompt_tokens": 3161, "total_tokens": 3320, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1237, "cached_tokens": 1371, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1237, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1237, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.422944249934517, "usage": {"completion_tokens": 164, "prompt_tokens": 4156, "total_tokens": 4320, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 995, "cached_tokens": 2608, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 995, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 995, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.216874082922004, "usage": {"completion_tokens": 150, "prompt_tokens": 4495, "total_tokens": 4645, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 339, "cached_tokens": 3603, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 339, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 339, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8d12892b6b457df5670699f9ae65a809ac0b91a422504ae0c60870ad50438c54", "csv_sha256": "bb8f4bcfd9e9042fbcc32c3d272254c87273756e104766889349b476ffc7a99e"} +{"instance_id": "local020", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH bowler_totals AS (\n SELECT\n b.bowler AS player_id,\n SUM(COALESCE(s.runs_scored, 0) +\n CASE WHEN e.extra_type IN ('wides', 'noballs')\n THEN COALESCE(e.extra_runs, 0) ELSE 0 END) AS runs_conceded,\n SUM(CASE WHEN w.kind_out IN ('bowled', 'caught', 'caught and bowled',\n 'hit wicket', 'lbw', 'stumped')\n THEN 1 ELSE 0 END) AS wickets\n FROM ball_by_ball AS b\n LEFT JOIN batsman_scored AS s USING (match_id, over_id, ball_id, innings_no)\n LEFT JOIN extra_runs AS e USING (match_id, over_id, ball_id, innings_no)\n LEFT JOIN wicket_taken AS w USING (match_id, over_id, ball_id, innings_no)\n GROUP BY b.bowler\n), ranked_bowlers AS (\n SELECT p.player_name,\n RANK() OVER (ORDER BY 1.0 * t.runs_conceded / t.wickets) AS average_rank\n FROM bowler_totals AS t\n JOIN player AS p ON p.player_id = t.player_id\n WHERE t.wickets > 0\n)\nSELECT player_name\nFROM ranked_bowlers\nWHERE average_rank = 1\nORDER BY player_name;\n```", "rows": 1, "sql": "WITH bowler_totals AS (\n SELECT\n b.bowler AS player_id,\n SUM(COALESCE(s.runs_scored, 0) +\n CASE WHEN e.extra_type IN ('wides', 'noballs')\n THEN COALESCE(e.extra_runs, 0) ELSE 0 END) AS runs_conceded,\n SUM(CASE WHEN w.kind_out IN ('bowled', 'caught', 'caught and bowled',\n 'hit wicket', 'lbw', 'stumped')\n THEN 1 ELSE 0 END) AS wickets\n FROM ball_by_ball AS b\n LEFT JOIN batsman_scored AS s USING (match_id, over_id, ball_id, innings_no)\n LEFT JOIN extra_runs AS e USING (match_id, over_id, ball_id, innings_no)\n LEFT JOIN wicket_taken AS w USING (match_id, over_id, ball_id, innings_no)\n GROUP BY b.bowler\n), ranked_bowlers AS (\n SELECT p.player_name,\n RANK() OVER (ORDER BY 1.0 * t.runs_conceded / t.wickets) AS average_rank\n FROM bowler_totals AS t\n JOIN player AS p ON p.player_id = t.player_id\n WHERE t.wickets > 0\n)\nSELECT player_name\nFROM ranked_bowlers\nWHERE average_rank = 1\nORDER BY player_name;", "seconds": 32.674555417033844, "calls": [{"seconds": 3.7236134581035003, "usage": {"completion_tokens": 118, "prompt_tokens": 1615, "total_tokens": 1733, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1060, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1060, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1060, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.572566084098071, "usage": {"completion_tokens": 119, "prompt_tokens": 2072, "total_tokens": 2191, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 52, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 457, "cached_tokens": 1060, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 457, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 457, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.24717474996578, "usage": {"completion_tokens": 258, "prompt_tokens": 2437, "total_tokens": 2695, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 191, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 365, "cached_tokens": 1517, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 365, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 365, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.849027417018078, "usage": {"completion_tokens": 440, "prompt_tokens": 3086, "total_tokens": 3526, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 108, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 649, "cached_tokens": 1882, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 649, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 649, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.666423792019486, "usage": {"completion_tokens": 304, "prompt_tokens": 3851, "total_tokens": 4155, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 765, "cached_tokens": 2531, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 765, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 765, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "840baf2530a2ba1af701b938c6d796fa2dae0bb483aefa23f07786ad84cf4629", "csv_sha256": "aa8f4c6ec515255bd4a36a248f63722a9aed50f3df546ca05681e6433c9344cd"} +{"instance_id": "local021", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH striker_match_runs AS (\n SELECT b.striker, b.match_id, SUM(s.runs_scored) AS match_runs\n FROM ball_by_ball AS b\n JOIN batsman_scored AS s\n ON s.match_id = b.match_id\n AND s.innings_no = b.innings_no\n AND s.over_id = b.over_id\n AND s.ball_id = b.ball_id\n WHERE b.striker IS NOT NULL\n GROUP BY b.striker, b.match_id\n), qualifying_striker_totals AS (\n SELECT SUM(match_runs) AS total_runs\n FROM striker_match_runs\n GROUP BY striker\n HAVING MAX(match_runs) > 50\n)\nSELECT AVG(total_runs) AS average_total_runs\nFROM qualifying_striker_totals;\n```", "rows": 1, "sql": "WITH striker_match_runs AS (\n SELECT b.striker, b.match_id, SUM(s.runs_scored) AS match_runs\n FROM ball_by_ball AS b\n JOIN batsman_scored AS s\n ON s.match_id = b.match_id\n AND s.innings_no = b.innings_no\n AND s.over_id = b.over_id\n AND s.ball_id = b.ball_id\n WHERE b.striker IS NOT NULL\n GROUP BY b.striker, b.match_id\n), qualifying_striker_totals AS (\n SELECT SUM(match_runs) AS total_runs\n FROM striker_match_runs\n GROUP BY striker\n HAVING MAX(match_runs) > 50\n)\nSELECT AVG(total_runs) AS average_total_runs\nFROM qualifying_striker_totals;", "seconds": 23.60078229091596, "calls": [{"seconds": 1.8964962500613183, "usage": {"completion_tokens": 15, "prompt_tokens": 1630, "total_tokens": 1645, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1075, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0832102090353146, "usage": {"completion_tokens": 70, "prompt_tokens": 1690, "total_tokens": 1760, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1135, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.425275082932785, "usage": {"completion_tokens": 461, "prompt_tokens": 1934, "total_tokens": 2395, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 312, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 244, "cached_tokens": 1135, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 244, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 244, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.720205958001316, "usage": {"completion_tokens": 243, "prompt_tokens": 2567, "total_tokens": 2810, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 57, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 633, "cached_tokens": 1379, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 633, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 633, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.303346625063568, "usage": {"completion_tokens": 172, "prompt_tokens": 3008, "total_tokens": 3180, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 441, "cached_tokens": 2012, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 441, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 441, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2eff3211e80847ac6cb5da7b7a3348f36a7eedb29872bc6631450843a2385bde", "csv_sha256": "88bf0f7b9192711976006e104341ed38903ce346d26b929784dca265916621a8"} +{"instance_id": "local022", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH qualifying_batters AS (\n SELECT b.striker AS player_id\n FROM ball_by_ball AS b\n JOIN batsman_scored AS s\n ON s.match_id = b.match_id\n AND s.innings_no = b.innings_no\n AND s.over_id = b.over_id\n AND s.ball_id = b.ball_id\n JOIN \"match\" AS m\n ON m.match_id = b.match_id\n WHERE (b.team_batting = m.team_1 AND m.match_winner = m.team_2)\n OR (b.team_batting = m.team_2 AND m.match_winner = m.team_1)\n GROUP BY b.match_id, b.striker\n HAVING SUM(s.runs_scored) >= 100\n)\nSELECT DISTINCT p.player_name\nFROM qualifying_batters AS q\nJOIN player AS p ON p.player_id = q.player_id;\n```", "rows": 7, "sql": "WITH qualifying_batters AS (\n SELECT b.striker AS player_id\n FROM ball_by_ball AS b\n JOIN batsman_scored AS s\n ON s.match_id = b.match_id\n AND s.innings_no = b.innings_no\n AND s.over_id = b.over_id\n AND s.ball_id = b.ball_id\n JOIN \"match\" AS m\n ON m.match_id = b.match_id\n WHERE (b.team_batting = m.team_1 AND m.match_winner = m.team_2)\n OR (b.team_batting = m.team_2 AND m.match_winner = m.team_1)\n GROUP BY b.match_id, b.striker\n HAVING SUM(s.runs_scored) >= 100\n)\nSELECT DISTINCT p.player_name\nFROM qualifying_batters AS q\nJOIN player AS p ON p.player_id = q.player_id;", "seconds": 15.418483542045578, "calls": [{"seconds": 3.499311999999918, "usage": {"completion_tokens": 102, "prompt_tokens": 1629, "total_tokens": 1731, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1074, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1074, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1074, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.231600207975134, "usage": {"completion_tokens": 291, "prompt_tokens": 2063, "total_tokens": 2354, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 76, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 434, "cached_tokens": 1074, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 434, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 434, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.525452625006437, "usage": {"completion_tokens": 200, "prompt_tokens": 2598, "total_tokens": 2798, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 535, "cached_tokens": 1508, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 535, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 535, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "29e7b886bf0b33086a7d99de0d0603928e2f43891ae64042ca2fcc77bc54ccb7", "csv_sha256": "3a892d4f1fcf57fae8387b06b496cc2b35990c08c456302b6fd1e3602a8815e7"} +{"instance_id": "local023", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH season_matches AS (\n SELECT DISTINCT match_id\n FROM \"match\"\n WHERE season_id = 5\n), appearances AS (\n SELECT pm.player_id, COUNT(DISTINCT pm.match_id) AS matches_played\n FROM player_match AS pm\n JOIN season_matches AS sm ON sm.match_id = pm.match_id\n GROUP BY pm.player_id\n), batting_runs AS (\n SELECT b.striker AS player_id, SUM(s.runs_scored) AS total_runs\n FROM ball_by_ball AS b\n JOIN season_matches AS sm ON sm.match_id = b.match_id\n JOIN batsman_scored AS s\n ON s.match_id = b.match_id\n AND s.innings_no = b.innings_no\n AND s.over_id = b.over_id\n AND s.ball_id = b.ball_id\n GROUP BY b.striker\n), dismissals AS (\n SELECT w.player_out AS player_id, COUNT(*) AS times_out\n FROM wicket_taken AS w\n JOIN season_matches AS sm ON sm.match_id = w.match_id\n WHERE w.kind_out <> 'retired hurt'\n GROUP BY w.player_out\n)\nSELECT p.player_name,\n ROUND(1.0 * COALESCE(r.total_runs, 0) / NULLIF(d.times_out, 0), 2) AS batting_average\nFROM appearances AS a\nJOIN player AS p ON p.player_id = a.player_id\nLEFT JOIN batting_runs AS r ON r.player_id = a.player_id\nLEFT JOIN dismissals AS d ON d.player_id = a.player_id\nORDER BY 1.0 * COALESCE(r.total_runs, 0) / a.matches_played DESC,\n a.player_id\nLIMIT 5;\n```", "rows": 5, "sql": "WITH season_matches AS (\n SELECT DISTINCT match_id\n FROM \"match\"\n WHERE season_id = 5\n), appearances AS (\n SELECT pm.player_id, COUNT(DISTINCT pm.match_id) AS matches_played\n FROM player_match AS pm\n JOIN season_matches AS sm ON sm.match_id = pm.match_id\n GROUP BY pm.player_id\n), batting_runs AS (\n SELECT b.striker AS player_id, SUM(s.runs_scored) AS total_runs\n FROM ball_by_ball AS b\n JOIN season_matches AS sm ON sm.match_id = b.match_id\n JOIN batsman_scored AS s\n ON s.match_id = b.match_id\n AND s.innings_no = b.innings_no\n AND s.over_id = b.over_id\n AND s.ball_id = b.ball_id\n GROUP BY b.striker\n), dismissals AS (\n SELECT w.player_out AS player_id, COUNT(*) AS times_out\n FROM wicket_taken AS w\n JOIN season_matches AS sm ON sm.match_id = w.match_id\n WHERE w.kind_out <> 'retired hurt'\n GROUP BY w.player_out\n)\nSELECT p.player_name,\n ROUND(1.0 * COALESCE(r.total_runs, 0) / NULLIF(d.times_out, 0), 2) AS batting_average\nFROM appearances AS a\nJOIN player AS p ON p.player_id = a.player_id\nLEFT JOIN batting_runs AS r ON r.player_id = a.player_id\nLEFT JOIN dismissals AS d ON d.player_id = a.player_id\nORDER BY 1.0 * COALESCE(r.total_runs, 0) / a.matches_played DESC,\n a.player_id\nLIMIT 5;", "seconds": 46.63111479207873, "calls": [{"seconds": 1.9754177500726655, "usage": {"completion_tokens": 18, "prompt_tokens": 1632, "total_tokens": 1650, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1077, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1077, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1077, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 1.9646454999456182, "usage": {"completion_tokens": 15, "prompt_tokens": 1680, "total_tokens": 1695, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1077, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5290090839844197, "usage": {"completion_tokens": 119, "prompt_tokens": 1740, "total_tokens": 1859, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 60, "cached_tokens": 1125, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 60, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 60, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.788266082992777, "usage": {"completion_tokens": 649, "prompt_tokens": 2250, "total_tokens": 2899, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 395, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 510, "cached_tokens": 1185, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 510, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 510, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 19.778182625072077, "usage": {"completion_tokens": 603, "prompt_tokens": 3268, "total_tokens": 3871, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 212, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1018, "cached_tokens": 1695, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1018, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1018, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.483112541027367, "usage": {"completion_tokens": 371, "prompt_tokens": 4303, "total_tokens": 4674, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1035, "cached_tokens": 2713, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1035, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1035, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2c3875f53671abb0f614d9b287eaa46bb64b9fdf78e45396c6790e868e4a1c15", "csv_sha256": "44b2831f09ae91e33907cfe6e1058f7144b98df4e152c7da09d8924693a7740e"} +{"instance_id": "local024", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH appearances AS (\n SELECT DISTINCT player_id, match_id\n FROM player_match\n), runs_by_player_match AS (\n SELECT b.striker AS player_id, b.match_id, SUM(s.runs_scored) AS match_runs\n FROM ball_by_ball AS b\n JOIN batsman_scored AS s\n ON s.match_id = b.match_id\n AND s.innings_no = b.innings_no\n AND s.over_id = b.over_id\n AND s.ball_id = b.ball_id\n GROUP BY b.striker, b.match_id\n), player_averages AS (\n SELECT a.player_id, AVG(COALESCE(r.match_runs, 0)) AS avg_runs_per_match\n FROM appearances AS a\n LEFT JOIN runs_by_player_match AS r\n ON r.player_id = a.player_id AND r.match_id = a.match_id\n GROUP BY a.player_id\n)\nSELECT p.country_name, AVG(pa.avg_runs_per_match) AS country_batting_average\nFROM player_averages AS pa\nJOIN player AS p ON p.player_id = pa.player_id\nGROUP BY p.country_name\nORDER BY country_batting_average DESC, p.country_name ASC\nLIMIT 5;\n```", "rows": 5, "sql": "WITH appearances AS (\n SELECT DISTINCT player_id, match_id\n FROM player_match\n), runs_by_player_match AS (\n SELECT b.striker AS player_id, b.match_id, SUM(s.runs_scored) AS match_runs\n FROM ball_by_ball AS b\n JOIN batsman_scored AS s\n ON s.match_id = b.match_id\n AND s.innings_no = b.innings_no\n AND s.over_id = b.over_id\n AND s.ball_id = b.ball_id\n GROUP BY b.striker, b.match_id\n), player_averages AS (\n SELECT a.player_id, AVG(COALESCE(r.match_runs, 0)) AS avg_runs_per_match\n FROM appearances AS a\n LEFT JOIN runs_by_player_match AS r\n ON r.player_id = a.player_id AND r.match_id = a.match_id\n GROUP BY a.player_id\n)\nSELECT p.country_name, AVG(pa.avg_runs_per_match) AS country_batting_average\nFROM player_averages AS pa\nJOIN player AS p ON p.player_id = pa.player_id\nGROUP BY p.country_name\nORDER BY country_batting_average DESC, p.country_name ASC\nLIMIT 5;", "seconds": 15.712763375020586, "calls": [{"seconds": 3.0830321250250563, "usage": {"completion_tokens": 87, "prompt_tokens": 1670, "total_tokens": 1757, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1115, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.744386125006713, "usage": {"completion_tokens": 333, "prompt_tokens": 1992, "total_tokens": 2325, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 56, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1437, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.7057047500275075, "usage": {"completion_tokens": 288, "prompt_tokens": 2665, "total_tokens": 2953, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 24, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 673, "cached_tokens": 1437, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 673, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 673, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "c211c910e31da1ce6cdf8389399f6657de58d9747d5437cd725d81be012c2ac3", "csv_sha256": "d2b419f6ccb842c7a9f8fbee56796590a1cd65202a6bfc66efd074ab91fde020"} +{"instance_id": "local025", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH run_entries AS (\n SELECT match_id, innings_no, over_id, runs_scored AS runs\n FROM batsman_scored\n UNION ALL\n SELECT match_id, innings_no, over_id, extra_runs AS runs\n FROM extra_runs\n), over_totals AS (\n SELECT match_id, innings_no, over_id, SUM(runs) AS total_runs\n FROM run_entries\n GROUP BY match_id, innings_no, over_id\n), over_bowlers AS (\n SELECT match_id, innings_no, over_id,\n JSON_GROUP_ARRAY(DISTINCT bowler)\n FILTER (WHERE bowler IS NOT NULL) AS bowler_ids\n FROM ball_by_ball\n GROUP BY match_id, innings_no, over_id\n), ranked_overs AS (\n SELECT b.match_id, b.innings_no, b.over_id, b.bowler_ids, t.total_runs,\n ROW_NUMBER() OVER (\n PARTITION BY b.match_id\n ORDER BY t.total_runs DESC, b.innings_no, b.over_id\n ) AS over_rank\n FROM over_bowlers AS b\n LEFT JOIN over_totals AS t USING (match_id, innings_no, over_id)\n)\nSELECT match_id, innings_no, over_id, bowler_ids,\n total_runs AS highest_over_runs,\n AVG(total_runs) OVER () AS avg_highest_over_runs\nFROM ranked_overs\nWHERE over_rank = 1\nORDER BY match_id;\n```", "rows": 568, "sql": "WITH run_entries AS (\n SELECT match_id, innings_no, over_id, runs_scored AS runs\n FROM batsman_scored\n UNION ALL\n SELECT match_id, innings_no, over_id, extra_runs AS runs\n FROM extra_runs\n), over_totals AS (\n SELECT match_id, innings_no, over_id, SUM(runs) AS total_runs\n FROM run_entries\n GROUP BY match_id, innings_no, over_id\n), over_bowlers AS (\n SELECT match_id, innings_no, over_id,\n JSON_GROUP_ARRAY(DISTINCT bowler)\n FILTER (WHERE bowler IS NOT NULL) AS bowler_ids\n FROM ball_by_ball\n GROUP BY match_id, innings_no, over_id\n), ranked_overs AS (\n SELECT b.match_id, b.innings_no, b.over_id, b.bowler_ids, t.total_runs,\n ROW_NUMBER() OVER (\n PARTITION BY b.match_id\n ORDER BY t.total_runs DESC, b.innings_no, b.over_id\n ) AS over_rank\n FROM over_bowlers AS b\n LEFT JOIN over_totals AS t USING (match_id, innings_no, over_id)\n)\nSELECT match_id, innings_no, over_id, bowler_ids,\n total_runs AS highest_over_runs,\n AVG(total_runs) OVER () AS avg_highest_over_runs\nFROM ranked_overs\nWHERE over_rank = 1\nORDER BY match_id;", "seconds": 64.40466604102403, "calls": [{"seconds": 3.337794665945694, "usage": {"completion_tokens": 87, "prompt_tokens": 1676, "total_tokens": 1763, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1121, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1121, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1121, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.070773291983642, "usage": {"completion_tokens": 511, "prompt_tokens": 2064, "total_tokens": 2575, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 146, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 388, "cached_tokens": 1121, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 388, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 388, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.1823187089758, "usage": {"completion_tokens": 550, "prompt_tokens": 2978, "total_tokens": 3528, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 171, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 914, "cached_tokens": 1509, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 914, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 914, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 16.878835249925032, "usage": {"completion_tokens": 833, "prompt_tokens": 4067, "total_tokens": 4900, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 457, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1089, "cached_tokens": 2423, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1089, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1089, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.064529458060861, "usage": {"completion_tokens": 215, "prompt_tokens": 5536, "total_tokens": 5751, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 53, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1469, "cached_tokens": 3512, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1469, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1469, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.248985541984439, "usage": {"completion_tokens": 689, "prompt_tokens": 5915, "total_tokens": 6604, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 348, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 379, "cached_tokens": 4981, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 379, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 379, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.0584666669601575, "usage": {"completion_tokens": 314, "prompt_tokens": 7089, "total_tokens": 7403, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1174, "cached_tokens": 5360, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1174, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1174, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "4625cbd89374f0f91baa143a4ab32207b2de4cc80c8e21fd1e0b658d14fdb4c6", "csv_sha256": "424e6cb2cfa007cd4fbcea535d8d73017133518b8c798123f40eba9a63664686"} +{"instance_id": "local026", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH bowler_overs AS (\n SELECT b.match_id, b.innings_no, b.over_id, b.bowler,\n SUM(COALESCE(s.runs_scored, 0) +\n CASE WHEN e.extra_type IN ('wides', 'noballs')\n THEN COALESCE(e.extra_runs, 0) ELSE 0 END) AS runs_conceded\n FROM ball_by_ball AS b\n LEFT JOIN batsman_scored AS s\n ON s.match_id = b.match_id AND s.innings_no = b.innings_no\n AND s.over_id = b.over_id AND s.ball_id = b.ball_id\n LEFT JOIN extra_runs AS e\n ON e.match_id = b.match_id AND e.innings_no = b.innings_no\n AND e.over_id = b.over_id AND e.ball_id = b.ball_id\n GROUP BY b.match_id, b.innings_no, b.over_id, b.bowler\n), over_totals AS (\n SELECT *, SUM(runs_conceded) OVER (\n PARTITION BY match_id, innings_no, over_id\n ) AS over_runs_conceded\n FROM bowler_overs\n), match_maxima AS (\n SELECT *, MAX(over_runs_conceded) OVER (PARTITION BY match_id) AS match_max\n FROM over_totals\n), bowler_bests AS (\n SELECT *, ROW_NUMBER() OVER (\n PARTITION BY bowler\n ORDER BY runs_conceded DESC, match_id, innings_no, over_id\n ) AS bowler_rank\n FROM match_maxima\n WHERE over_runs_conceded = match_max\n)\nSELECT p.player_name AS bowler_name, b.match_id, b.runs_conceded\nFROM bowler_bests AS b\nJOIN player AS p ON p.player_id = b.bowler\nWHERE b.bowler_rank = 1\nORDER BY b.runs_conceded DESC, b.bowler\nLIMIT 3;\n```", "rows": 3, "sql": "WITH bowler_overs AS (\n SELECT b.match_id, b.innings_no, b.over_id, b.bowler,\n SUM(COALESCE(s.runs_scored, 0) +\n CASE WHEN e.extra_type IN ('wides', 'noballs')\n THEN COALESCE(e.extra_runs, 0) ELSE 0 END) AS runs_conceded\n FROM ball_by_ball AS b\n LEFT JOIN batsman_scored AS s\n ON s.match_id = b.match_id AND s.innings_no = b.innings_no\n AND s.over_id = b.over_id AND s.ball_id = b.ball_id\n LEFT JOIN extra_runs AS e\n ON e.match_id = b.match_id AND e.innings_no = b.innings_no\n AND e.over_id = b.over_id AND e.ball_id = b.ball_id\n GROUP BY b.match_id, b.innings_no, b.over_id, b.bowler\n), over_totals AS (\n SELECT *, SUM(runs_conceded) OVER (\n PARTITION BY match_id, innings_no, over_id\n ) AS over_runs_conceded\n FROM bowler_overs\n), match_maxima AS (\n SELECT *, MAX(over_runs_conceded) OVER (PARTITION BY match_id) AS match_max\n FROM over_totals\n), bowler_bests AS (\n SELECT *, ROW_NUMBER() OVER (\n PARTITION BY bowler\n ORDER BY runs_conceded DESC, match_id, innings_no, over_id\n ) AS bowler_rank\n FROM match_maxima\n WHERE over_runs_conceded = match_max\n)\nSELECT p.player_name AS bowler_name, b.match_id, b.runs_conceded\nFROM bowler_bests AS b\nJOIN player AS p ON p.player_id = b.bowler\nWHERE b.bowler_rank = 1\nORDER BY b.runs_conceded DESC, b.bowler\nLIMIT 3;", "seconds": 31.06267979205586, "calls": [{"seconds": 1.8416395829990506, "usage": {"completion_tokens": 15, "prompt_tokens": 1693, "total_tokens": 1708, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1138, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1138, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1138, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.154121999978088, "usage": {"completion_tokens": 102, "prompt_tokens": 1753, "total_tokens": 1855, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 60, "cached_tokens": 1138, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 60, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 60, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.658121500047855, "usage": {"completion_tokens": 466, "prompt_tokens": 2204, "total_tokens": 2670, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 141, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 451, "cached_tokens": 1198, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 451, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 451, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.440685832989402, "usage": {"completion_tokens": 597, "prompt_tokens": 3086, "total_tokens": 3683, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 150, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 882, "cached_tokens": 1649, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 882, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 882, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.667817958979867, "usage": {"completion_tokens": 493, "prompt_tokens": 4169, "total_tokens": 4662, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 66, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1083, "cached_tokens": 2531, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1083, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1083, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2bdf3b89645dea0c828adf126d1cbe1603f26d792fe2319e2f12c1f17dd14d14", "csv_sha256": "aa4dddac06ffd9c245ad9eb056c1402207b19f2ebfd21f1bb7d2fdf6c595c745"} +{"instance_id": "local028", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH months(month) AS (\n VALUES ('01'), ('02'), ('03'), ('04'), ('05'), ('06'),\n ('07'), ('08'), ('09'), ('10'), ('11'), ('12')\n), deliveries AS (\n SELECT strftime('%m', order_delivered_customer_date) AS month,\n strftime('%Y', order_delivered_customer_date) AS year\n FROM olist_orders\n WHERE order_status = 'delivered'\n AND order_delivered_customer_date >= '2016-01-01'\n AND order_delivered_customer_date < '2019-01-01'\n)\nSELECT m.month,\n COUNT(CASE WHEN d.year = '2016' THEN 1 END) AS \"2016\",\n COUNT(CASE WHEN d.year = '2017' THEN 1 END) AS \"2017\",\n COUNT(CASE WHEN d.year = '2018' THEN 1 END) AS \"2018\"\nFROM months AS m\nLEFT JOIN deliveries AS d ON d.month = m.month\nGROUP BY m.month\nORDER BY m.month;\n```", "rows": 12, "sql": "WITH months(month) AS (\n VALUES ('01'), ('02'), ('03'), ('04'), ('05'), ('06'),\n ('07'), ('08'), ('09'), ('10'), ('11'), ('12')\n), deliveries AS (\n SELECT strftime('%m', order_delivered_customer_date) AS month,\n strftime('%Y', order_delivered_customer_date) AS year\n FROM olist_orders\n WHERE order_status = 'delivered'\n AND order_delivered_customer_date >= '2016-01-01'\n AND order_delivered_customer_date < '2019-01-01'\n)\nSELECT m.month,\n COUNT(CASE WHEN d.year = '2016' THEN 1 END) AS \"2016\",\n COUNT(CASE WHEN d.year = '2017' THEN 1 END) AS \"2017\",\n COUNT(CASE WHEN d.year = '2018' THEN 1 END) AS \"2018\"\nFROM months AS m\nLEFT JOIN deliveries AS d ON d.month = m.month\nGROUP BY m.month\nORDER BY m.month;", "seconds": 18.51047587499488, "calls": [{"seconds": 2.577485542045906, "usage": {"completion_tokens": 50, "prompt_tokens": 1671, "total_tokens": 1721, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1092, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1092, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1092, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.565322750015184, "usage": {"completion_tokens": 517, "prompt_tokens": 1826, "total_tokens": 2343, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 258, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 155, "cached_tokens": 1092, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 155, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 155, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.845673332922161, "usage": {"completion_tokens": 250, "prompt_tokens": 2761, "total_tokens": 3011, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 15, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 935, "cached_tokens": 1247, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 935, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 935, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "01e4ff8c64636ba9da967bf4e9adcd2d8416d5b004dba600124b8d7a9f528f0f", "csv_sha256": "3a8acf46c769e139c8666fd569bd12591bbcd06633a7a413447defd2fcad281e"} +{"instance_id": "local029", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH top_customers AS (\n SELECT c.customer_unique_id, COUNT(DISTINCT o.order_id) AS delivered_order_count\n FROM olist_customers AS c\n JOIN olist_orders AS o ON o.customer_id = c.customer_id\n WHERE o.order_status = 'delivered'\n GROUP BY c.customer_unique_id\n ORDER BY delivered_order_count DESC, c.customer_unique_id\n LIMIT 3\n), ranked_orders AS MATERIALIZED (\n SELECT c.customer_unique_id, c.customer_city, c.customer_state, o.order_id,\n ROW_NUMBER() OVER (\n PARTITION BY c.customer_unique_id\n ORDER BY o.order_purchase_timestamp DESC, o.order_id DESC\n ) AS location_rank\n FROM olist_customers AS c\n JOIN olist_orders AS o ON o.customer_id = c.customer_id\n WHERE o.order_status = 'delivered'\n AND c.customer_unique_id IN (SELECT customer_unique_id FROM top_customers)\n), relevant_payments AS MATERIALIZED (\n SELECT order_id, payment_value\n FROM olist_order_payments\n WHERE order_id IN (SELECT order_id FROM ranked_orders)\n)\nSELECT t.customer_unique_id,\n AVG(p.payment_value) AS average_payment_value,\n MAX(CASE WHEN r.location_rank = 1 THEN r.customer_city END) AS customer_city,\n MAX(CASE WHEN r.location_rank = 1 THEN r.customer_state END) AS customer_state\nFROM top_customers AS t\nJOIN ranked_orders AS r ON r.customer_unique_id = t.customer_unique_id\nLEFT JOIN relevant_payments AS p ON p.order_id = r.order_id\nGROUP BY t.customer_unique_id, t.delivered_order_count\nORDER BY t.delivered_order_count DESC, t.customer_unique_id;\n```", "rows": 3, "sql": "WITH top_customers AS (\n SELECT c.customer_unique_id, COUNT(DISTINCT o.order_id) AS delivered_order_count\n FROM olist_customers AS c\n JOIN olist_orders AS o ON o.customer_id = c.customer_id\n WHERE o.order_status = 'delivered'\n GROUP BY c.customer_unique_id\n ORDER BY delivered_order_count DESC, c.customer_unique_id\n LIMIT 3\n), ranked_orders AS MATERIALIZED (\n SELECT c.customer_unique_id, c.customer_city, c.customer_state, o.order_id,\n ROW_NUMBER() OVER (\n PARTITION BY c.customer_unique_id\n ORDER BY o.order_purchase_timestamp DESC, o.order_id DESC\n ) AS location_rank\n FROM olist_customers AS c\n JOIN olist_orders AS o ON o.customer_id = c.customer_id\n WHERE o.order_status = 'delivered'\n AND c.customer_unique_id IN (SELECT customer_unique_id FROM top_customers)\n), relevant_payments AS MATERIALIZED (\n SELECT order_id, payment_value\n FROM olist_order_payments\n WHERE order_id IN (SELECT order_id FROM ranked_orders)\n)\nSELECT t.customer_unique_id,\n AVG(p.payment_value) AS average_payment_value,\n MAX(CASE WHEN r.location_rank = 1 THEN r.customer_city END) AS customer_city,\n MAX(CASE WHEN r.location_rank = 1 THEN r.customer_state END) AS customer_state\nFROM top_customers AS t\nJOIN ranked_orders AS r ON r.customer_unique_id = t.customer_unique_id\nLEFT JOIN relevant_payments AS p ON p.order_id = r.order_id\nGROUP BY t.customer_unique_id, t.delivered_order_count\nORDER BY t.delivered_order_count DESC, t.customer_unique_id;", "seconds": 84.38303058291785, "calls": [{"seconds": 3.042860041023232, "usage": {"completion_tokens": 85, "prompt_tokens": 1667, "total_tokens": 1752, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1088, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 15.047794083948247, "usage": {"completion_tokens": 568, "prompt_tokens": 1956, "total_tokens": 2524, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 386, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1377, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 15.54531995789148, "usage": {"completion_tokens": 878, "prompt_tokens": 2839, "total_tokens": 3717, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 544, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 883, "cached_tokens": 1377, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 883, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 883, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.235520416055806, "usage": {"completion_tokens": 655, "prompt_tokens": 4073, "total_tokens": 4728, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 260, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1234, "cached_tokens": 2260, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1234, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1234, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.81637487502303, "usage": {"completion_tokens": 395, "prompt_tokens": 5231, "total_tokens": 5626, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 22, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1158, "cached_tokens": 3494, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1158, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1158, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9e1d46ae0d35207894d0839654becb623b897e822b76318d1098f5eba448947e", "csv_sha256": "a4dff07e4f8f75b1f9e21341cea31a57a4c82544787d1565cb382182da95f646"} +{"instance_id": "local030", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH order_payments AS (\n SELECT order_id, SUM(payment_value) AS total_payment\n FROM olist_order_payments\n GROUP BY order_id\n), city_totals AS (\n SELECT c.customer_city,\n SUM(p.total_payment) AS total_payments,\n COUNT(DISTINCT o.order_id) AS delivered_order_count\n FROM olist_orders AS o\n JOIN olist_customers AS c ON c.customer_id = o.customer_id\n LEFT JOIN order_payments AS p ON p.order_id = o.order_id\n WHERE o.order_status = 'delivered'\n GROUP BY c.customer_city\n), bottom_five AS (\n SELECT total_payments, delivered_order_count\n FROM city_totals\n ORDER BY total_payments ASC NULLS LAST, customer_city ASC\n LIMIT 5\n)\nSELECT AVG(total_payments) AS avg_total_payments,\n AVG(delivered_order_count) AS avg_delivered_order_count\nFROM bottom_five;\n```", "rows": 1, "sql": "WITH order_payments AS (\n SELECT order_id, SUM(payment_value) AS total_payment\n FROM olist_order_payments\n GROUP BY order_id\n), city_totals AS (\n SELECT c.customer_city,\n SUM(p.total_payment) AS total_payments,\n COUNT(DISTINCT o.order_id) AS delivered_order_count\n FROM olist_orders AS o\n JOIN olist_customers AS c ON c.customer_id = o.customer_id\n LEFT JOIN order_payments AS p ON p.order_id = o.order_id\n WHERE o.order_status = 'delivered'\n GROUP BY c.customer_city\n), bottom_five AS (\n SELECT total_payments, delivered_order_count\n FROM city_totals\n ORDER BY total_payments ASC NULLS LAST, customer_city ASC\n LIMIT 5\n)\nSELECT AVG(total_payments) AS avg_total_payments,\n AVG(delivered_order_count) AS avg_delivered_order_count\nFROM bottom_five;", "seconds": 13.753223999985494, "calls": [{"seconds": 2.753121000016108, "usage": {"completion_tokens": 85, "prompt_tokens": 1663, "total_tokens": 1748, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1084, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1084, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1084, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.688975375029258, "usage": {"completion_tokens": 332, "prompt_tokens": 1952, "total_tokens": 2284, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 102, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 289, "cached_tokens": 1084, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 289, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 289, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.59118650003802, "usage": {"completion_tokens": 211, "prompt_tokens": 2531, "total_tokens": 2742, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 579, "cached_tokens": 1373, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 579, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 579, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "bc72d0b44af48e5e456518a9a0a75b6cf6c74ac514d736ab1010a62bce999577", "csv_sha256": "2c791e8c108d89e7f2d66611c06ae5baf3fc45bb1718157e2e359050f6616975"} +{"instance_id": "local031", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH monthly AS (\n SELECT strftime('%Y', order_delivered_customer_date) AS delivery_year,\n strftime('%Y-%m', order_delivered_customer_date) AS delivery_month,\n COUNT(*) AS delivered_orders\n FROM olist_orders\n WHERE order_status = 'delivered'\n AND order_delivered_customer_date >= '2016-01-01'\n AND order_delivered_customer_date < '2019-01-01'\n GROUP BY 1, 2\n), annual AS (\n SELECT delivery_year, SUM(delivered_orders) AS delivered_orders\n FROM monthly\n GROUP BY delivery_year\n)\nSELECT MAX(m.delivered_orders) AS highest_monthly_delivered_orders\nFROM monthly AS m\nJOIN annual AS a ON a.delivery_year = m.delivery_year\nWHERE a.delivered_orders = (SELECT MIN(delivered_orders) FROM annual);\n```", "rows": 1, "sql": "WITH monthly AS (\n SELECT strftime('%Y', order_delivered_customer_date) AS delivery_year,\n strftime('%Y-%m', order_delivered_customer_date) AS delivery_month,\n COUNT(*) AS delivered_orders\n FROM olist_orders\n WHERE order_status = 'delivered'\n AND order_delivered_customer_date >= '2016-01-01'\n AND order_delivered_customer_date < '2019-01-01'\n GROUP BY 1, 2\n), annual AS (\n SELECT delivery_year, SUM(delivered_orders) AS delivered_orders\n FROM monthly\n GROUP BY delivery_year\n)\nSELECT MAX(m.delivered_orders) AS highest_monthly_delivered_orders\nFROM monthly AS m\nJOIN annual AS a ON a.delivery_year = m.delivery_year\nWHERE a.delivered_orders = (SELECT MIN(delivered_orders) FROM annual);", "seconds": 24.38577804202214, "calls": [{"seconds": 2.217558874981478, "usage": {"completion_tokens": 20, "prompt_tokens": 1659, "total_tokens": 1679, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1080, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1080, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1080, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.0991367080714554, "usage": {"completion_tokens": 18, "prompt_tokens": 1756, "total_tokens": 1774, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 97, "cached_tokens": 1080, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 97, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 97, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 14.330719999969006, "usage": {"completion_tokens": 701, "prompt_tokens": 1804, "total_tokens": 2505, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 494, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1177, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.581454457947984, "usage": {"completion_tokens": 239, "prompt_tokens": 2716, "total_tokens": 2955, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 49, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 912, "cached_tokens": 1225, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 912, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 912, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "bf1c1c794514745761727e4fd1573c4be992bdbb22720a1e6e54e838337a72ed", "csv_sha256": "95621287232ce7735aec789172a605d025f9f24a554ea72ccfcdd3ddab032e33"} +{"instance_id": "local032", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH seller_orders AS (\n SELECT i.seller_id,\n o.order_id,\n o.customer_id,\n SUM(i.price - i.freight_value) AS order_profit\n FROM olist_orders AS o\n JOIN olist_order_items AS i ON i.order_id = o.order_id\n WHERE o.order_status = 'delivered'\n GROUP BY i.seller_id, o.order_id, o.customer_id\n), five_star_reviews AS (\n SELECT order_id, COUNT(*) AS rating_count\n FROM olist_order_reviews\n WHERE review_score = 5\n GROUP BY order_id\n), seller_totals AS (\n SELECT so.seller_id,\n COUNT(DISTINCT c.customer_unique_id) AS customer_count,\n SUM(so.order_profit) AS profit,\n COUNT(DISTINCT so.order_id) AS order_count,\n SUM(COALESCE(r.rating_count, 0)) AS five_star_count\n FROM seller_orders AS so\n LEFT JOIN olist_customers AS c ON c.customer_id = so.customer_id\n LEFT JOIN five_star_reviews AS r ON r.order_id = so.order_id\n GROUP BY so.seller_id\n), ranked AS (\n SELECT seller_id, customer_count, profit, order_count, five_star_count,\n ROW_NUMBER() OVER (ORDER BY customer_count DESC, seller_id) AS customer_rank,\n ROW_NUMBER() OVER (ORDER BY profit DESC, seller_id) AS profit_rank,\n ROW_NUMBER() OVER (ORDER BY order_count DESC, seller_id) AS order_rank,\n ROW_NUMBER() OVER (ORDER BY five_star_count DESC, seller_id) AS rating_rank\n FROM seller_totals\n), achievements AS (\n SELECT 1 AS position, 'Most distinct customer unique IDs' AS achievement,\n seller_id, customer_count AS value\n FROM ranked WHERE customer_rank = 1\n UNION ALL\n SELECT 2, 'Highest profit (price minus freight value)', seller_id, ROUND(profit, 2)\n FROM ranked WHERE profit_rank = 1\n UNION ALL\n SELECT 3, 'Most distinct orders', seller_id, order_count\n FROM ranked WHERE order_rank = 1\n UNION ALL\n SELECT 4, 'Most 5-star ratings', seller_id, five_star_count\n FROM ranked WHERE rating_rank = 1\n)\nSELECT achievement, seller_id, value\nFROM achievements\nORDER BY position;\n```", "rows": 4, "sql": "WITH seller_orders AS (\n SELECT i.seller_id,\n o.order_id,\n o.customer_id,\n SUM(i.price - i.freight_value) AS order_profit\n FROM olist_orders AS o\n JOIN olist_order_items AS i ON i.order_id = o.order_id\n WHERE o.order_status = 'delivered'\n GROUP BY i.seller_id, o.order_id, o.customer_id\n), five_star_reviews AS (\n SELECT order_id, COUNT(*) AS rating_count\n FROM olist_order_reviews\n WHERE review_score = 5\n GROUP BY order_id\n), seller_totals AS (\n SELECT so.seller_id,\n COUNT(DISTINCT c.customer_unique_id) AS customer_count,\n SUM(so.order_profit) AS profit,\n COUNT(DISTINCT so.order_id) AS order_count,\n SUM(COALESCE(r.rating_count, 0)) AS five_star_count\n FROM seller_orders AS so\n LEFT JOIN olist_customers AS c ON c.customer_id = so.customer_id\n LEFT JOIN five_star_reviews AS r ON r.order_id = so.order_id\n GROUP BY so.seller_id\n), ranked AS (\n SELECT seller_id, customer_count, profit, order_count, five_star_count,\n ROW_NUMBER() OVER (ORDER BY customer_count DESC, seller_id) AS customer_rank,\n ROW_NUMBER() OVER (ORDER BY profit DESC, seller_id) AS profit_rank,\n ROW_NUMBER() OVER (ORDER BY order_count DESC, seller_id) AS order_rank,\n ROW_NUMBER() OVER (ORDER BY five_star_count DESC, seller_id) AS rating_rank\n FROM seller_totals\n), achievements AS (\n SELECT 1 AS position, 'Most distinct customer unique IDs' AS achievement,\n seller_id, customer_count AS value\n FROM ranked WHERE customer_rank = 1\n UNION ALL\n SELECT 2, 'Highest profit (price minus freight value)', seller_id, ROUND(profit, 2)\n FROM ranked WHERE profit_rank = 1\n UNION ALL\n SELECT 3, 'Most distinct orders', seller_id, order_count\n FROM ranked WHERE order_rank = 1\n UNION ALL\n SELECT 4, 'Most 5-star ratings', seller_id, five_star_count\n FROM ranked WHERE rating_rank = 1\n)\nSELECT achievement, seller_id, value\nFROM achievements\nORDER BY position;", "seconds": 39.4812197079882, "calls": [{"seconds": 3.2047904999926686, "usage": {"completion_tokens": 104, "prompt_tokens": 1718, "total_tokens": 1822, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1139, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1139, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1139, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 15.965512041933835, "usage": {"completion_tokens": 952, "prompt_tokens": 2111, "total_tokens": 3063, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 431, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 393, "cached_tokens": 1139, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 393, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 393, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.71250579203479, "usage": {"completion_tokens": 674, "prompt_tokens": 3707, "total_tokens": 4381, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 132, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1596, "cached_tokens": 1532, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1596, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1596, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.8448520420352, "usage": {"completion_tokens": 511, "prompt_tokens": 5045, "total_tokens": 5556, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1338, "cached_tokens": 3128, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1338, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1338, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "da208a8c31a74d336852c7128d5fa4d3e4fad483ccdf0a600e1a0f198538190d", "csv_sha256": "f765fd3e07af2836cdb63b1f67473dfc2e9d827551bce4b649d171ce83ca0d66"} +{"instance_id": "local034", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH order_categories AS (\n SELECT DISTINCT oi.order_id, p.product_category_name\n FROM olist_order_items AS oi\n JOIN olist_products AS p ON p.product_id = oi.product_id\n), payment_counts AS (\n SELECT oc.product_category_name, op.payment_type, COUNT(*) AS payment_count\n FROM order_categories AS oc\n JOIN olist_order_payments AS op ON op.order_id = oc.order_id\n GROUP BY oc.product_category_name, op.payment_type\n), category_maxima AS (\n SELECT product_category_name, MAX(payment_count) AS preferred_payment_count\n FROM payment_counts\n GROUP BY product_category_name\n)\nSELECT AVG(preferred_payment_count) AS average_preferred_payment_count\nFROM category_maxima;\n```", "rows": 1, "sql": "WITH order_categories AS (\n SELECT DISTINCT oi.order_id, p.product_category_name\n FROM olist_order_items AS oi\n JOIN olist_products AS p ON p.product_id = oi.product_id\n), payment_counts AS (\n SELECT oc.product_category_name, op.payment_type, COUNT(*) AS payment_count\n FROM order_categories AS oc\n JOIN olist_order_payments AS op ON op.order_id = oc.order_id\n GROUP BY oc.product_category_name, op.payment_type\n), category_maxima AS (\n SELECT product_category_name, MAX(payment_count) AS preferred_payment_count\n FROM payment_counts\n GROUP BY product_category_name\n)\nSELECT AVG(preferred_payment_count) AS average_preferred_payment_count\nFROM category_maxima;", "seconds": 22.12947883293964, "calls": [{"seconds": 3.3495904160663486, "usage": {"completion_tokens": 102, "prompt_tokens": 1671, "total_tokens": 1773, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1092, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1092, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1092, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 14.341460208059289, "usage": {"completion_tokens": 693, "prompt_tokens": 2081, "total_tokens": 2774, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 516, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 410, "cached_tokens": 1092, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 410, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 410, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9893824589671567, "usage": {"completion_tokens": 162, "prompt_tokens": 2965, "total_tokens": 3127, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 884, "cached_tokens": 1502, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 884, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 884, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b5d457093b4e8bd483461fe7d4876bc1282838a236ef7745f6576de2b00dd0ca", "csv_sha256": "417c4e4395f72ca226cb7db04605425b48579fee33ff805c5851ba6476732d80"} +{"instance_id": "local035", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH ordered_locations AS (\n SELECT\n geolocation_city AS city,\n LAG(geolocation_city) OVER city_order AS previous_city,\n RADIANS(geolocation_lat) AS lat_rad,\n RADIANS(geolocation_lng) AS lng_rad,\n LAG(RADIANS(geolocation_lat)) OVER city_order AS previous_lat_rad,\n LAG(RADIANS(geolocation_lng)) OVER city_order AS previous_lng_rad\n FROM olist_geolocation\n WINDOW city_order AS (\n ORDER BY geolocation_state, geolocation_city,\n geolocation_zip_code_prefix, geolocation_lat, geolocation_lng\n )\n), distances AS (\n SELECT previous_city, city,\n 6371 * ACOS(MIN(1.0, MAX(-1.0,\n COS(previous_lat_rad) * COS(lat_rad) * COS(lng_rad - previous_lng_rad)\n + SIN(previous_lat_rad) * SIN(lat_rad)\n ))) AS distance_km\n FROM ordered_locations\n)\nSELECT previous_city, city\nFROM distances\nWHERE distance_km IS NOT NULL\nORDER BY distance_km DESC, previous_city, city\nLIMIT 1;\n```", "rows": 1, "sql": "WITH ordered_locations AS (\n SELECT\n geolocation_city AS city,\n LAG(geolocation_city) OVER city_order AS previous_city,\n RADIANS(geolocation_lat) AS lat_rad,\n RADIANS(geolocation_lng) AS lng_rad,\n LAG(RADIANS(geolocation_lat)) OVER city_order AS previous_lat_rad,\n LAG(RADIANS(geolocation_lng)) OVER city_order AS previous_lng_rad\n FROM olist_geolocation\n WINDOW city_order AS (\n ORDER BY geolocation_state, geolocation_city,\n geolocation_zip_code_prefix, geolocation_lat, geolocation_lng\n )\n), distances AS (\n SELECT previous_city, city,\n 6371 * ACOS(MIN(1.0, MAX(-1.0,\n COS(previous_lat_rad) * COS(lat_rad) * COS(lng_rad - previous_lng_rad)\n + SIN(previous_lat_rad) * SIN(lat_rad)\n ))) AS distance_km\n FROM ordered_locations\n)\nSELECT previous_city, city\nFROM distances\nWHERE distance_km IS NOT NULL\nORDER BY distance_km DESC, previous_city, city\nLIMIT 1;", "seconds": 23.674387875013053, "calls": [{"seconds": 2.285571541986428, "usage": {"completion_tokens": 21, "prompt_tokens": 1925, "total_tokens": 1946, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1346, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1346, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1346, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 13.07890545798, "usage": {"completion_tokens": 639, "prompt_tokens": 2002, "total_tokens": 2641, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 353, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 77, "cached_tokens": 1346, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 77, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 77, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.0278302079532295, "usage": {"completion_tokens": 259, "prompt_tokens": 2930, "total_tokens": 3189, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 928, "cached_tokens": 1423, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 928, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 928, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0ff0d925dd0ce8d00bdd2d8f33beb894b521b21e7fdb9c3ff680606232559f0b", "csv_sha256": "35d9a4e2ca45452d6081a2582234227ee1ff0355f1e0ba034985a0a55619c102"} +{"instance_id": "local037", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH order_categories AS (\n SELECT DISTINCT oi.order_id, p.product_category_name\n FROM olist_order_items AS oi\n JOIN olist_products AS p ON p.product_id = oi.product_id\n WHERE p.product_category_name IS NOT NULL\n), payment_counts AS (\n SELECT oc.product_category_name, op.payment_type, COUNT(*) AS payment_count\n FROM order_categories AS oc\n JOIN olist_order_payments AS op ON op.order_id = oc.order_id\n GROUP BY oc.product_category_name, op.payment_type\n), ranked AS (\n SELECT product_category_name, payment_type, payment_count,\n ROW_NUMBER() OVER (\n PARTITION BY product_category_name\n ORDER BY payment_count DESC, payment_type\n ) AS payment_type_rank\n FROM payment_counts\n)\nSELECT COALESCE(t.product_category_name_english, r.product_category_name) AS product_category,\n r.payment_type,\n r.payment_count\nFROM ranked AS r\nLEFT JOIN product_category_name_translation AS t\n ON t.product_category_name = r.product_category_name\nWHERE r.payment_type_rank = 1\nORDER BY r.payment_count DESC, r.product_category_name\nLIMIT 3;\n```", "rows": 3, "sql": "WITH order_categories AS (\n SELECT DISTINCT oi.order_id, p.product_category_name\n FROM olist_order_items AS oi\n JOIN olist_products AS p ON p.product_id = oi.product_id\n WHERE p.product_category_name IS NOT NULL\n), payment_counts AS (\n SELECT oc.product_category_name, op.payment_type, COUNT(*) AS payment_count\n FROM order_categories AS oc\n JOIN olist_order_payments AS op ON op.order_id = oc.order_id\n GROUP BY oc.product_category_name, op.payment_type\n), ranked AS (\n SELECT product_category_name, payment_type, payment_count,\n ROW_NUMBER() OVER (\n PARTITION BY product_category_name\n ORDER BY payment_count DESC, payment_type\n ) AS payment_type_rank\n FROM payment_counts\n)\nSELECT COALESCE(t.product_category_name_english, r.product_category_name) AS product_category,\n r.payment_type,\n r.payment_count\nFROM ranked AS r\nLEFT JOIN product_category_name_translation AS t\n ON t.product_category_name = r.product_category_name\nWHERE r.payment_type_rank = 1\nORDER BY r.payment_count DESC, r.product_category_name\nLIMIT 3;", "seconds": 20.773888917057775, "calls": [{"seconds": 2.032763374969363, "usage": {"completion_tokens": 15, "prompt_tokens": 1664, "total_tokens": 1679, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1085, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1085, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1085, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5363300000317395, "usage": {"completion_tokens": 106, "prompt_tokens": 1751, "total_tokens": 1857, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 87, "cached_tokens": 1085, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 87, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 87, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.138580000028014, "usage": {"completion_tokens": 469, "prompt_tokens": 2169, "total_tokens": 2638, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 197, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 418, "cached_tokens": 1172, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 418, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 418, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.003393499995582, "usage": {"completion_tokens": 253, "prompt_tokens": 2949, "total_tokens": 3202, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 780, "cached_tokens": 1590, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 780, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 780, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "4c074e7c77c8dbda17b9bb2cd41eaae53c41203276097a9213e5ed04c2c339b6", "csv_sha256": "3869f28acb851b5e9ded8435f7e37726e827116cbef57601407c0f6c4ff796e2"} +{"instance_id": "local038", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH actor_counts AS (\n SELECT a.actor_id,\n a.first_name || ' ' || a.last_name AS full_name,\n COUNT(DISTINCT f.film_id) AS film_count\n FROM actor AS a\n JOIN film_actor AS fa ON fa.actor_id = a.actor_id\n JOIN film AS f ON f.film_id = fa.film_id\n JOIN language AS l ON l.language_id = f.language_id\n JOIN film_category AS fc ON fc.film_id = f.film_id\n JOIN category AS c ON c.category_id = fc.category_id\n WHERE TRIM(l.name) = 'English'\n AND c.name = 'Children'\n AND f.rating IN ('G', 'PG')\n AND f.length <= 120\n AND CAST(f.release_year AS INTEGER) BETWEEN 2000 AND 2010\n GROUP BY a.actor_id, a.first_name, a.last_name\n)\nSELECT full_name\nFROM actor_counts\nWHERE film_count = (SELECT MAX(film_count) FROM actor_counts)\nORDER BY full_name;\n```", "rows": 1, "sql": "WITH actor_counts AS (\n SELECT a.actor_id,\n a.first_name || ' ' || a.last_name AS full_name,\n COUNT(DISTINCT f.film_id) AS film_count\n FROM actor AS a\n JOIN film_actor AS fa ON fa.actor_id = a.actor_id\n JOIN film AS f ON f.film_id = fa.film_id\n JOIN language AS l ON l.language_id = f.language_id\n JOIN film_category AS fc ON fc.film_id = f.film_id\n JOIN category AS c ON c.category_id = fc.category_id\n WHERE TRIM(l.name) = 'English'\n AND c.name = 'Children'\n AND f.rating IN ('G', 'PG')\n AND f.length <= 120\n AND CAST(f.release_year AS INTEGER) BETWEEN 2000 AND 2010\n GROUP BY a.actor_id, a.first_name, a.last_name\n)\nSELECT full_name\nFROM actor_counts\nWHERE film_count = (SELECT MAX(film_count) FROM actor_counts)\nORDER BY full_name;", "seconds": 15.571090959012508, "calls": [{"seconds": 3.176337833981961, "usage": {"completion_tokens": 112, "prompt_tokens": 1688, "total_tokens": 1800, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1103, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1103, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1103, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.574680750025436, "usage": {"completion_tokens": 333, "prompt_tokens": 2146, "total_tokens": 2479, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 83, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 458, "cached_tokens": 1103, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 458, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 458, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.782966083032079, "usage": {"completion_tokens": 230, "prompt_tokens": 2731, "total_tokens": 2961, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 585, "cached_tokens": 1561, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 585, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 585, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8b989b5ded8bfb50045fa1513fb4c99a95cd7013f1bb403e7c49ab308c7da400", "csv_sha256": "79bdca383fb5f969d3d5bd34d2f9201d50d4d904f1f4991610a2f14350db7aaf"} +{"instance_id": "local039", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT c.name AS category\nFROM rental AS r\nJOIN inventory AS i ON i.inventory_id = r.inventory_id\nJOIN film_category AS fc ON fc.film_id = i.film_id\nJOIN category AS c ON c.category_id = fc.category_id\nJOIN customer AS cu ON cu.customer_id = r.customer_id\nJOIN address AS a ON a.address_id = cu.address_id\nJOIN city AS ci ON ci.city_id = a.city_id\nWHERE ci.city LIKE 'A%' OR ci.city LIKE '%-%'\nGROUP BY c.category_id, c.name\nORDER BY SUM(strftime('%s', r.return_date) - strftime('%s', r.rental_date)) / 3600.0 DESC,\n c.name ASC\nLIMIT 1;\n```", "rows": 1, "sql": "SELECT c.name AS category\nFROM rental AS r\nJOIN inventory AS i ON i.inventory_id = r.inventory_id\nJOIN film_category AS fc ON fc.film_id = i.film_id\nJOIN category AS c ON c.category_id = fc.category_id\nJOIN customer AS cu ON cu.customer_id = r.customer_id\nJOIN address AS a ON a.address_id = cu.address_id\nJOIN city AS ci ON ci.city_id = a.city_id\nWHERE ci.city LIKE 'A%' OR ci.city LIKE '%-%'\nGROUP BY c.category_id, c.name\nORDER BY SUM(strftime('%s', r.return_date) - strftime('%s', r.rental_date)) / 3600.0 DESC,\n c.name ASC\nLIMIT 1;", "seconds": 33.07332858396694, "calls": [{"seconds": 2.256023457972333, "usage": {"completion_tokens": 15, "prompt_tokens": 1665, "total_tokens": 1680, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1080, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1080, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1080, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.003756208112463, "usage": {"completion_tokens": 156, "prompt_tokens": 1779, "total_tokens": 1935, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 114, "cached_tokens": 1080, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 114, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 114, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.588336666929536, "usage": {"completion_tokens": 456, "prompt_tokens": 2439, "total_tokens": 2895, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 268, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 660, "cached_tokens": 1194, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 660, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 660, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.170416250010021, "usage": {"completion_tokens": 405, "prompt_tokens": 3100, "total_tokens": 3505, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 229, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 661, "cached_tokens": 1854, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 661, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 661, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.951548833982088, "usage": {"completion_tokens": 276, "prompt_tokens": 3682, "total_tokens": 3958, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 111, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 582, "cached_tokens": 2515, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 582, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 582, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "50d135049716d5a71dedcbdc6b58af251e15780175edae725dd46abb20dcf036", "csv_sha256": "442a3b70db359d4c1294c1c07a74c2ec9fe75377a6d45baa7551b28c73fb22ab"} +{"instance_id": "local040", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH combined AS (\n SELECT t.tree_id,\n TRIM(t.boroname) AS borough,\n COALESCE(t.zipcode, i.zipcode) AS zipcode,\n i.Estimate_Median_income AS median_income,\n i.Estimate_Mean_income AS mean_income\n FROM trees AS t\n LEFT JOIN income_trees AS i ON t.zipcode = i.zipcode\n UNION\n SELECT t.tree_id,\n TRIM(t.boroname),\n COALESCE(t.zipcode, i.zipcode),\n i.Estimate_Median_income,\n i.Estimate_Mean_income\n FROM income_trees AS i\n LEFT JOIN trees AS t ON t.zipcode = i.zipcode\n WHERE t.zipcode IS NULL\n)\nSELECT borough,\n AVG(mean_income) AS average_mean_income\nFROM combined\nWHERE median_income > 0\n AND mean_income > 0\n AND borough IS NOT NULL\n AND borough <> ''\nGROUP BY borough\nORDER BY COUNT(tree_id) DESC, borough\nLIMIT 3;\n```", "rows": 3, "sql": "WITH combined AS (\n SELECT t.tree_id,\n TRIM(t.boroname) AS borough,\n COALESCE(t.zipcode, i.zipcode) AS zipcode,\n i.Estimate_Median_income AS median_income,\n i.Estimate_Mean_income AS mean_income\n FROM trees AS t\n LEFT JOIN income_trees AS i ON t.zipcode = i.zipcode\n UNION\n SELECT t.tree_id,\n TRIM(t.boroname),\n COALESCE(t.zipcode, i.zipcode),\n i.Estimate_Median_income,\n i.Estimate_Mean_income\n FROM income_trees AS i\n LEFT JOIN trees AS t ON t.zipcode = i.zipcode\n WHERE t.zipcode IS NULL\n)\nSELECT borough,\n AVG(mean_income) AS average_mean_income\nFROM combined\nWHERE median_income > 0\n AND mean_income > 0\n AND borough IS NOT NULL\n AND borough <> ''\nGROUP BY borough\nORDER BY COUNT(tree_id) DESC, borough\nLIMIT 3;", "seconds": 53.74432370800059, "calls": [{"seconds": 3.079439833993092, "usage": {"completion_tokens": 81, "prompt_tokens": 1715, "total_tokens": 1796, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1118, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1118, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1118, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.1821154160425067, "usage": {"completion_tokens": 15, "prompt_tokens": 2039, "total_tokens": 2054, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 324, "cached_tokens": 1118, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 324, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 324, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.610141540993936, "usage": {"completion_tokens": 165, "prompt_tokens": 2150, "total_tokens": 2315, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 111, "cached_tokens": 1442, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 111, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 111, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5191391659900546, "usage": {"completion_tokens": 137, "prompt_tokens": 2661, "total_tokens": 2798, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 511, "cached_tokens": 1553, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 511, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 511, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.300745667074807, "usage": {"completion_tokens": 335, "prompt_tokens": 3594, "total_tokens": 3929, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 203, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 933, "cached_tokens": 2064, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 933, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 933, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 14.731561499997042, "usage": {"completion_tokens": 650, "prompt_tokens": 4115, "total_tokens": 4765, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 389, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 521, "cached_tokens": 2997, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 521, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 521, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.820681374985725, "usage": {"completion_tokens": 350, "prompt_tokens": 5069, "total_tokens": 5419, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 97, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 954, "cached_tokens": 3518, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 954, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 954, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.918404291034676, "usage": {"completion_tokens": 227, "prompt_tokens": 5699, "total_tokens": 5926, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 630, "cached_tokens": 4472, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 630, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 630, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d3cea54c16b1ce3b386d954c084995f5733dc984d401f25fa4dd822b822905ae", "csv_sha256": "41cbc24993ccf5210cf0d3b6e7aa412b0dce1d533b6852e86b9e9cb24e51f971"} +{"instance_id": "local041", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT 100.0 * COUNT(CASE WHEN health = 'Good' THEN 1 END) / COUNT(*) AS percentage_good\nFROM trees\nWHERE boroname = 'Bronx';\n```", "rows": 1, "sql": "SELECT 100.0 * COUNT(CASE WHEN health = 'Good' THEN 1 END) / COUNT(*) AS percentage_good\nFROM trees\nWHERE boroname = 'Bronx';", "seconds": 8.66506166709587, "calls": [{"seconds": 2.6054520410252735, "usage": {"completion_tokens": 19, "prompt_tokens": 1659, "total_tokens": 1678, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1062, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1612245000433177, "usage": {"completion_tokens": 75, "prompt_tokens": 1787, "total_tokens": 1862, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 17, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1190, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.786301792017184, "usage": {"completion_tokens": 47, "prompt_tokens": 1934, "total_tokens": 1981, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 147, "cached_tokens": 1190, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 147, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 147, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "cf19aac9b1b379e8bf4bc61aa5e76ea6844d001aaab5e2648b1fff1064072244", "csv_sha256": "e60e03eaf79a25527c91bae79763501a7edae27535b9f8a188a925a79590d1ef"} +{"instance_id": "local049", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "failed", "answer": "❓ Awaiting user: Should I define the top industry as the one with the most companies that reached unicorn status from 2019 through 2021, using `date_joined` as the date they reached that status?", "error_type": "ValueError", "seconds": 12.302753624971956, "calls": [{"seconds": 2.943447208032012, "usage": {"completion_tokens": 85, "prompt_tokens": 1672, "total_tokens": 1757, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1075, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1075, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1075, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.355214999988675, "usage": {"completion_tokens": 367, "prompt_tokens": 1887, "total_tokens": 2254, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 308, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 215, "cached_tokens": 1075, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 215, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 215, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ccf2c8119ef84ed218f887f85682be12b9a100e4e2af85f98ecb8c0189ff6992"} +{"instance_id": "local050", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH monthly_sales AS (\n SELECT s.prod_id,\n co.country_name,\n t.calendar_year AS sales_year,\n t.calendar_month_number AS sales_month,\n SUM(s.amount_sold) AS sales_amount\n FROM sales AS s\n JOIN times AS t ON t.time_id = s.time_id\n JOIN customers AS cu ON cu.cust_id = s.cust_id\n JOIN countries AS co ON co.country_id = cu.country_id\n JOIN promotions AS p ON p.promo_id = s.promo_id\n JOIN channels AS ch ON ch.channel_id = s.channel_id\n WHERE co.country_name = 'France'\n AND p.promo_total_id = 1\n AND ch.channel_total_id = 1\n AND t.calendar_year BETWEEN 2019 AND 2021\n GROUP BY s.prod_id, co.country_name, t.calendar_year, t.calendar_month_number\n), monthly_averages AS (\n SELECT target.sales_month,\n ROUND(AVG(\n (sy20.sales_amount + (sy20.sales_amount - sy19.sales_amount)\n / NULLIF(sy19.sales_amount, 0) * sy20.sales_amount)\n * COALESCE(fx.to_us, 1.0)\n ), 2) AS avg_projected_sales_usd\n FROM monthly_sales AS target\n LEFT JOIN monthly_sales AS sy19\n ON sy19.prod_id = target.prod_id\n AND sy19.country_name = target.country_name\n AND sy19.sales_month = target.sales_month\n AND sy19.sales_year = 2019\n LEFT JOIN monthly_sales AS sy20\n ON sy20.prod_id = target.prod_id\n AND sy20.country_name = target.country_name\n AND sy20.sales_month = target.sales_month\n AND sy20.sales_year = 2020\n LEFT JOIN currency AS fx\n ON fx.country = target.country_name\n AND fx.year = target.sales_year\n AND fx.month = target.sales_month\n WHERE target.sales_year = 2021\n GROUP BY target.sales_month\n), ranked AS (\n SELECT avg_projected_sales_usd,\n ROW_NUMBER() OVER (ORDER BY avg_projected_sales_usd) AS rn,\n COUNT(*) OVER () AS n\n FROM monthly_averages\n WHERE avg_projected_sales_usd IS NOT NULL\n)\nSELECT AVG(avg_projected_sales_usd) AS median_avg_monthly_projected_sales_usd\nFROM ranked\nWHERE rn IN ((n + 1) / 2, (n + 2) / 2);\n```", "rows": 1, "sql": "WITH monthly_sales AS (\n SELECT s.prod_id,\n co.country_name,\n t.calendar_year AS sales_year,\n t.calendar_month_number AS sales_month,\n SUM(s.amount_sold) AS sales_amount\n FROM sales AS s\n JOIN times AS t ON t.time_id = s.time_id\n JOIN customers AS cu ON cu.cust_id = s.cust_id\n JOIN countries AS co ON co.country_id = cu.country_id\n JOIN promotions AS p ON p.promo_id = s.promo_id\n JOIN channels AS ch ON ch.channel_id = s.channel_id\n WHERE co.country_name = 'France'\n AND p.promo_total_id = 1\n AND ch.channel_total_id = 1\n AND t.calendar_year BETWEEN 2019 AND 2021\n GROUP BY s.prod_id, co.country_name, t.calendar_year, t.calendar_month_number\n), monthly_averages AS (\n SELECT target.sales_month,\n ROUND(AVG(\n (sy20.sales_amount + (sy20.sales_amount - sy19.sales_amount)\n / NULLIF(sy19.sales_amount, 0) * sy20.sales_amount)\n * COALESCE(fx.to_us, 1.0)\n ), 2) AS avg_projected_sales_usd\n FROM monthly_sales AS target\n LEFT JOIN monthly_sales AS sy19\n ON sy19.prod_id = target.prod_id\n AND sy19.country_name = target.country_name\n AND sy19.sales_month = target.sales_month\n AND sy19.sales_year = 2019\n LEFT JOIN monthly_sales AS sy20\n ON sy20.prod_id = target.prod_id\n AND sy20.country_name = target.country_name\n AND sy20.sales_month = target.sales_month\n AND sy20.sales_year = 2020\n LEFT JOIN currency AS fx\n ON fx.country = target.country_name\n AND fx.year = target.sales_year\n AND fx.month = target.sales_month\n WHERE target.sales_year = 2021\n GROUP BY target.sales_month\n), ranked AS (\n SELECT avg_projected_sales_usd,\n ROW_NUMBER() OVER (ORDER BY avg_projected_sales_usd) AS rn,\n COUNT(*) OVER () AS n\n FROM monthly_averages\n WHERE avg_projected_sales_usd IS NOT NULL\n)\nSELECT AVG(avg_projected_sales_usd) AS median_avg_monthly_projected_sales_usd\nFROM ranked\nWHERE rn IN ((n + 1) / 2, (n + 2) / 2);", "seconds": 54.11261299997568, "calls": [{"seconds": 2.1740587080130354, "usage": {"completion_tokens": 15, "prompt_tokens": 2255, "total_tokens": 2270, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1688, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1688, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1688, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6591090409783646, "usage": {"completion_tokens": 155, "prompt_tokens": 2339, "total_tokens": 2494, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 84, "cached_tokens": 1688, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 84, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 84, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.823660416994244, "usage": {"completion_tokens": 416, "prompt_tokens": 3695, "total_tokens": 4111, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 114, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1356, "cached_tokens": 1772, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1356, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1356, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.065234999987297, "usage": {"completion_tokens": 463, "prompt_tokens": 5769, "total_tokens": 6232, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 39, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 2074, "cached_tokens": 3128, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 2074, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 2074, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 20.643527999985963, "usage": {"completion_tokens": 1080, "prompt_tokens": 6960, "total_tokens": 8040, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 501, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1191, "cached_tokens": 5202, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1191, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1191, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.15576129197143, "usage": {"completion_tokens": 639, "prompt_tokens": 8616, "total_tokens": 9255, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 89, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1656, "cached_tokens": 6393, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1656, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1656, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a78a618662d90a7c40a28a0bae33590aa4fbd3e5815c176da781ff2715d30989", "csv_sha256": "b26e4b0b68c35417dbed7f5125d1ca9e4126dc90b7b2f02816f31f306ee66ae7"} +{"instance_id": "local054", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH artist_sales AS (\n SELECT a.ArtistId, SUM(ii.Quantity) AS units_sold\n FROM invoice_items AS ii\n JOIN tracks AS t ON t.TrackId = ii.TrackId\n JOIN albums AS a ON a.AlbumId = t.AlbumId\n GROUP BY a.ArtistId\n), best_selling_artists AS (\n SELECT ArtistId\n FROM artist_sales\n WHERE units_sold = (SELECT MAX(units_sold) FROM artist_sales)\n)\nSELECT c.FirstName,\n ROUND(SUM(ii.UnitPrice * ii.Quantity), 2) AS AmountSpent\nFROM customers AS c\nJOIN invoices AS i ON i.CustomerId = c.CustomerId\nJOIN invoice_items AS ii ON ii.InvoiceId = i.InvoiceId\nJOIN tracks AS t ON t.TrackId = ii.TrackId\nJOIN albums AS a ON a.AlbumId = t.AlbumId\nJOIN best_selling_artists AS b ON b.ArtistId = a.ArtistId\nGROUP BY c.CustomerId, c.FirstName\nHAVING AmountSpent < 1.00\nORDER BY c.FirstName, c.CustomerId;\n```", "rows": 5, "sql": "WITH artist_sales AS (\n SELECT a.ArtistId, SUM(ii.Quantity) AS units_sold\n FROM invoice_items AS ii\n JOIN tracks AS t ON t.TrackId = ii.TrackId\n JOIN albums AS a ON a.AlbumId = t.AlbumId\n GROUP BY a.ArtistId\n), best_selling_artists AS (\n SELECT ArtistId\n FROM artist_sales\n WHERE units_sold = (SELECT MAX(units_sold) FROM artist_sales)\n)\nSELECT c.FirstName,\n ROUND(SUM(ii.UnitPrice * ii.Quantity), 2) AS AmountSpent\nFROM customers AS c\nJOIN invoices AS i ON i.CustomerId = c.CustomerId\nJOIN invoice_items AS ii ON ii.InvoiceId = i.InvoiceId\nJOIN tracks AS t ON t.TrackId = ii.TrackId\nJOIN albums AS a ON a.AlbumId = t.AlbumId\nJOIN best_selling_artists AS b ON b.ArtistId = a.ArtistId\nGROUP BY c.CustomerId, c.FirstName\nHAVING AmountSpent < 1.00\nORDER BY c.FirstName, c.CustomerId;", "seconds": 24.652082999935374, "calls": [{"seconds": 2.287015000008978, "usage": {"completion_tokens": 18, "prompt_tokens": 1634, "total_tokens": 1652, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1078, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1078, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1078, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 1.8545002080500126, "usage": {"completion_tokens": 15, "prompt_tokens": 1682, "total_tokens": 1697, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1078, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.243768749991432, "usage": {"completion_tokens": 112, "prompt_tokens": 1746, "total_tokens": 1858, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 64, "cached_tokens": 1126, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 64, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 64, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.64750512491446, "usage": {"completion_tokens": 506, "prompt_tokens": 2307, "total_tokens": 2813, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 247, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 561, "cached_tokens": 1190, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 561, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 561, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.5815540419425815, "usage": {"completion_tokens": 309, "prompt_tokens": 3119, "total_tokens": 3428, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 64, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 812, "cached_tokens": 1751, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 812, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 812, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "bb46842974c975096820f832925a0e58ee921c62fb1ab14a89346dd0f1cadeb8", "csv_sha256": "7f14a532391550c20ed016944bb1393ad019cc04cf19e39d880b93627ca4492e"} +{"instance_id": "local055", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH customer_artist_spending AS (\n SELECT a.ArtistId,\n i.CustomerId,\n SUM(ii.UnitPrice * ii.Quantity) AS spending\n FROM invoice_items AS ii\n JOIN invoices AS i ON i.InvoiceId = ii.InvoiceId\n JOIN tracks AS t ON t.TrackId = ii.TrackId\n JOIN albums AS a ON a.AlbumId = t.AlbumId\n GROUP BY a.ArtistId, i.CustomerId\n), artist_sales AS (\n SELECT ar.ArtistId,\n ar.Name,\n ROUND(SUM(cas.spending), 2) AS total_sales\n FROM customer_artist_spending AS cas\n JOIN artists AS ar ON ar.ArtistId = cas.ArtistId\n GROUP BY ar.ArtistId, ar.Name\n), selected_artists AS (\n SELECT (\n SELECT ArtistId\n FROM artist_sales\n ORDER BY total_sales DESC, Name ASC, ArtistId ASC\n LIMIT 1\n ) AS top_artist_id,\n (\n SELECT ArtistId\n FROM artist_sales\n ORDER BY total_sales ASC, Name ASC, ArtistId ASC\n LIMIT 1\n ) AS bottom_artist_id\n)\nSELECT ABS(\n AVG(CASE WHEN cas.ArtistId = sa.top_artist_id THEN cas.spending END) -\n AVG(CASE WHEN cas.ArtistId = sa.bottom_artist_id THEN cas.spending END)\n ) AS absolute_average_spending_difference\nFROM customer_artist_spending AS cas\nJOIN selected_artists AS sa\n ON cas.ArtistId IN (sa.top_artist_id, sa.bottom_artist_id);\n```", "rows": 1, "sql": "WITH customer_artist_spending AS (\n SELECT a.ArtistId,\n i.CustomerId,\n SUM(ii.UnitPrice * ii.Quantity) AS spending\n FROM invoice_items AS ii\n JOIN invoices AS i ON i.InvoiceId = ii.InvoiceId\n JOIN tracks AS t ON t.TrackId = ii.TrackId\n JOIN albums AS a ON a.AlbumId = t.AlbumId\n GROUP BY a.ArtistId, i.CustomerId\n), artist_sales AS (\n SELECT ar.ArtistId,\n ar.Name,\n ROUND(SUM(cas.spending), 2) AS total_sales\n FROM customer_artist_spending AS cas\n JOIN artists AS ar ON ar.ArtistId = cas.ArtistId\n GROUP BY ar.ArtistId, ar.Name\n), selected_artists AS (\n SELECT (\n SELECT ArtistId\n FROM artist_sales\n ORDER BY total_sales DESC, Name ASC, ArtistId ASC\n LIMIT 1\n ) AS top_artist_id,\n (\n SELECT ArtistId\n FROM artist_sales\n ORDER BY total_sales ASC, Name ASC, ArtistId ASC\n LIMIT 1\n ) AS bottom_artist_id\n)\nSELECT ABS(\n AVG(CASE WHEN cas.ArtistId = sa.top_artist_id THEN cas.spending END) -\n AVG(CASE WHEN cas.ArtistId = sa.bottom_artist_id THEN cas.spending END)\n ) AS absolute_average_spending_difference\nFROM customer_artist_spending AS cas\nJOIN selected_artists AS sa\n ON cas.ArtistId IN (sa.top_artist_id, sa.bottom_artist_id);", "seconds": 26.415902000037022, "calls": [{"seconds": 3.4435936249792576, "usage": {"completion_tokens": 126, "prompt_tokens": 1695, "total_tokens": 1821, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1139, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1139, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1139, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.766390249948017, "usage": {"completion_tokens": 604, "prompt_tokens": 2298, "total_tokens": 2902, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 238, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 603, "cached_tokens": 1139, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 603, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 603, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.179940000060014, "usage": {"completion_tokens": 570, "prompt_tokens": 3270, "total_tokens": 3840, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 228, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 972, "cached_tokens": 1742, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 972, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 972, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9a72d48ff3ec2628f786a82a13ee7c91e8524d4adb3510893918d21f2e2def88", "csv_sha256": "e9ffcbfc92d3a7279a885a3a853a717f1b2e11f0cab5332a4d52b1f11190d948"} +{"instance_id": "local056", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH monthly_payments AS (\n SELECT customer_id,\n CAST(strftime('%Y', payment_date) AS INTEGER) * 12\n + CAST(strftime('%m', payment_date) AS INTEGER) AS month_number,\n SUM(CAST(ROUND(amount * 100) AS INTEGER)) AS total_cents\n FROM payment\n GROUP BY customer_id, month_number\n), customer_changes AS (\n SELECT curr.customer_id,\n AVG(curr.total_cents - prev.total_cents) AS avg_monthly_change\n FROM monthly_payments AS curr\n JOIN monthly_payments AS prev\n ON prev.customer_id = curr.customer_id\n AND prev.month_number = curr.month_number - 1\n GROUP BY curr.customer_id\n), ranked_customers AS (\n SELECT customer_id,\n DENSE_RANK() OVER (ORDER BY avg_monthly_change DESC) AS change_rank\n FROM customer_changes\n)\nSELECT c.first_name || ' ' || c.last_name AS full_name\nFROM ranked_customers AS r\nJOIN customer AS c ON c.customer_id = r.customer_id\nWHERE r.change_rank = 1;\n```", "rows": 1, "sql": "WITH monthly_payments AS (\n SELECT customer_id,\n CAST(strftime('%Y', payment_date) AS INTEGER) * 12\n + CAST(strftime('%m', payment_date) AS INTEGER) AS month_number,\n SUM(CAST(ROUND(amount * 100) AS INTEGER)) AS total_cents\n FROM payment\n GROUP BY customer_id, month_number\n), customer_changes AS (\n SELECT curr.customer_id,\n AVG(curr.total_cents - prev.total_cents) AS avg_monthly_change\n FROM monthly_payments AS curr\n JOIN monthly_payments AS prev\n ON prev.customer_id = curr.customer_id\n AND prev.month_number = curr.month_number - 1\n GROUP BY curr.customer_id\n), ranked_customers AS (\n SELECT customer_id,\n DENSE_RANK() OVER (ORDER BY avg_monthly_change DESC) AS change_rank\n FROM customer_changes\n)\nSELECT c.first_name || ' ' || c.last_name AS full_name\nFROM ranked_customers AS r\nJOIN customer AS c ON c.customer_id = r.customer_id\nWHERE r.change_rank = 1;", "seconds": 25.073047125013545, "calls": [{"seconds": 2.9237520419992507, "usage": {"completion_tokens": 64, "prompt_tokens": 1651, "total_tokens": 1715, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1066, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1066, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1066, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 15.027913540950976, "usage": {"completion_tokens": 739, "prompt_tokens": 1915, "total_tokens": 2654, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 479, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 264, "cached_tokens": 1066, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 264, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 264, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.080436749965884, "usage": {"completion_tokens": 347, "prompt_tokens": 2918, "total_tokens": 3265, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 104, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1003, "cached_tokens": 1330, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1003, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1003, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "619cc21a473d249045f8c88018afe885fa4bd6c530403d38f1ea31cbaa41a89a", "csv_sha256": "41f872475c3b04689319a165a2b38316d5c946f606dbd291d40892b7de618f73"} +{"instance_id": "local058", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH segment_counts AS (\n SELECT p.segment,\n COUNT(DISTINCT CASE WHEN s.fiscal_year = 2020 THEN s.product_code END) AS unique_products_2020,\n COUNT(DISTINCT CASE WHEN s.fiscal_year = 2021 THEN s.product_code END) AS unique_products_2021\n FROM hardware_dim_product AS p\n LEFT JOIN hardware_fact_sales_monthly AS s\n ON s.product_code = p.product_code\n AND s.fiscal_year IN (2020, 2021)\n GROUP BY p.segment\n)\nSELECT segment, unique_products_2020\nFROM segment_counts\nORDER BY 100.0 * (unique_products_2021 - unique_products_2020)\n / NULLIF(unique_products_2020, 0) DESC,\n segment;\n```", "rows": 6, "sql": "WITH segment_counts AS (\n SELECT p.segment,\n COUNT(DISTINCT CASE WHEN s.fiscal_year = 2020 THEN s.product_code END) AS unique_products_2020,\n COUNT(DISTINCT CASE WHEN s.fiscal_year = 2021 THEN s.product_code END) AS unique_products_2021\n FROM hardware_dim_product AS p\n LEFT JOIN hardware_fact_sales_monthly AS s\n ON s.product_code = p.product_code\n AND s.fiscal_year IN (2020, 2021)\n GROUP BY p.segment\n)\nSELECT segment, unique_products_2020\nFROM segment_counts\nORDER BY 100.0 * (unique_products_2021 - unique_products_2020)\n / NULLIF(unique_products_2020, 0) DESC,\n segment;", "seconds": 18.768895625020377, "calls": [{"seconds": 3.262635082937777, "usage": {"completion_tokens": 70, "prompt_tokens": 1698, "total_tokens": 1768, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1091, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1091, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1091, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.113244874984957, "usage": {"completion_tokens": 407, "prompt_tokens": 1890, "total_tokens": 2297, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 213, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 192, "cached_tokens": 1091, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 192, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 192, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.716904500033706, "usage": {"completion_tokens": 191, "prompt_tokens": 2528, "total_tokens": 2719, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 13, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 638, "cached_tokens": 1283, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 638, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 638, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d54bdd32d062beffa9c9a3716d276cb4da1a8d6fb6c89de86d5897860c9d9616", "csv_sha256": "a064820dc807c795c695c9204c19f99e077c74b37fe6b52610205ba99b251624"} +{"instance_id": "local059", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH product_totals AS (\n SELECT p.division, p.product_code, SUM(s.sold_quantity) AS total_quantity_sold\n FROM hardware_fact_sales_monthly AS s\n JOIN hardware_dim_product AS p ON p.product_code = s.product_code\n WHERE s.date >= '2021-01-01' AND s.date < '2022-01-01'\n GROUP BY p.division, p.product_code\n), ranked_products AS (\n SELECT total_quantity_sold,\n ROW_NUMBER() OVER (\n PARTITION BY division\n ORDER BY total_quantity_sold DESC, product_code\n ) AS sales_rank\n FROM product_totals\n)\nSELECT AVG(total_quantity_sold) AS overall_average_quantity_sold\nFROM ranked_products\nWHERE sales_rank <= 3;\n```", "rows": 1, "sql": "WITH product_totals AS (\n SELECT p.division, p.product_code, SUM(s.sold_quantity) AS total_quantity_sold\n FROM hardware_fact_sales_monthly AS s\n JOIN hardware_dim_product AS p ON p.product_code = s.product_code\n WHERE s.date >= '2021-01-01' AND s.date < '2022-01-01'\n GROUP BY p.division, p.product_code\n), ranked_products AS (\n SELECT total_quantity_sold,\n ROW_NUMBER() OVER (\n PARTITION BY division\n ORDER BY total_quantity_sold DESC, product_code\n ) AS sales_rank\n FROM product_totals\n)\nSELECT AVG(total_quantity_sold) AS overall_average_quantity_sold\nFROM ranked_products\nWHERE sales_rank <= 3;", "seconds": 21.18044558307156, "calls": [{"seconds": 2.7553054169984534, "usage": {"completion_tokens": 70, "prompt_tokens": 1688, "total_tokens": 1758, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1081, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1081, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1081, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.43318258295767, "usage": {"completion_tokens": 211, "prompt_tokens": 1880, "total_tokens": 2091, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 50, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 192, "cached_tokens": 1081, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 192, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 192, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.800660167005844, "usage": {"completion_tokens": 323, "prompt_tokens": 2294, "total_tokens": 2617, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 134, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 414, "cached_tokens": 1273, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 414, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 414, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.846678499947302, "usage": {"completion_tokens": 200, "prompt_tokens": 2817, "total_tokens": 3017, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 26, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 523, "cached_tokens": 1687, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 523, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 523, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1b5e426c626ce551d1ceb3708615df4145fa677ce9414d3ddadc91e47ea31c46", "csv_sha256": "0f4dea29469666e7d668fd75eaf0efe4799265dd31821e5938d6e1dde720ad42"} +{"instance_id": "local060", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH city_product_sales AS (\n SELECT c.cust_state_province_id,\n c.cust_city_id,\n s.prod_id,\n SUM(CASE WHEN t.calendar_year = 2019 THEN s.amount_sold ELSE 0.0 END) AS sales_2019,\n SUM(CASE WHEN t.calendar_year = 2020 THEN s.amount_sold ELSE 0.0 END) AS sales_2020\n FROM sales AS s\n JOIN customers AS c ON c.cust_id = s.cust_id\n JOIN countries AS co ON co.country_id = c.country_id\n JOIN times AS t ON t.time_id = s.time_id\n JOIN promotions AS pr ON pr.promo_id = s.promo_id\n WHERE co.country_iso_code = 'US'\n AND pr.promo_name = 'NO PROMOTION #'\n AND t.calendar_quarter_number = 4\n AND t.calendar_year IN (2019, 2020)\n GROUP BY c.cust_state_province_id, c.cust_city_id, s.prod_id\n), qualifying_cities AS (\n SELECT cust_state_province_id, cust_city_id\n FROM city_product_sales\n GROUP BY cust_state_province_id, cust_city_id\n HAVING SUM(sales_2019) > 0\n AND SUM(sales_2020) >= 1.20 * SUM(sales_2019)\n), product_sales AS (\n SELECT cps.prod_id,\n SUM(cps.sales_2019) AS sales_2019,\n SUM(cps.sales_2020) AS sales_2020\n FROM city_product_sales AS cps\n JOIN qualifying_cities AS qc\n ON qc.cust_state_province_id = cps.cust_state_province_id\n AND qc.cust_city_id = cps.cust_city_id\n GROUP BY cps.prod_id\n), ranked_shares AS (\n SELECT prod_id,\n NTILE(5) OVER (ORDER BY sales_2019 + sales_2020 DESC, prod_id) AS sales_quintile,\n sales_2019 / NULLIF(SUM(sales_2019) OVER (), 0) AS share_q4_2019,\n sales_2020 / NULLIF(SUM(sales_2020) OVER (), 0) AS share_q4_2020\n FROM product_sales\n)\nSELECT p.prod_name,\n r.share_q4_2019,\n r.share_q4_2020,\n r.share_q4_2020 - r.share_q4_2019 AS share_change\nFROM ranked_shares AS r\nJOIN products AS p ON p.prod_id = r.prod_id\nWHERE r.sales_quintile = 1\nORDER BY share_change DESC, r.prod_id;\n```", "rows": 4, "sql": "WITH city_product_sales AS (\n SELECT c.cust_state_province_id,\n c.cust_city_id,\n s.prod_id,\n SUM(CASE WHEN t.calendar_year = 2019 THEN s.amount_sold ELSE 0.0 END) AS sales_2019,\n SUM(CASE WHEN t.calendar_year = 2020 THEN s.amount_sold ELSE 0.0 END) AS sales_2020\n FROM sales AS s\n JOIN customers AS c ON c.cust_id = s.cust_id\n JOIN countries AS co ON co.country_id = c.country_id\n JOIN times AS t ON t.time_id = s.time_id\n JOIN promotions AS pr ON pr.promo_id = s.promo_id\n WHERE co.country_iso_code = 'US'\n AND pr.promo_name = 'NO PROMOTION #'\n AND t.calendar_quarter_number = 4\n AND t.calendar_year IN (2019, 2020)\n GROUP BY c.cust_state_province_id, c.cust_city_id, s.prod_id\n), qualifying_cities AS (\n SELECT cust_state_province_id, cust_city_id\n FROM city_product_sales\n GROUP BY cust_state_province_id, cust_city_id\n HAVING SUM(sales_2019) > 0\n AND SUM(sales_2020) >= 1.20 * SUM(sales_2019)\n), product_sales AS (\n SELECT cps.prod_id,\n SUM(cps.sales_2019) AS sales_2019,\n SUM(cps.sales_2020) AS sales_2020\n FROM city_product_sales AS cps\n JOIN qualifying_cities AS qc\n ON qc.cust_state_province_id = cps.cust_state_province_id\n AND qc.cust_city_id = cps.cust_city_id\n GROUP BY cps.prod_id\n), ranked_shares AS (\n SELECT prod_id,\n NTILE(5) OVER (ORDER BY sales_2019 + sales_2020 DESC, prod_id) AS sales_quintile,\n sales_2019 / NULLIF(SUM(sales_2019) OVER (), 0) AS share_q4_2019,\n sales_2020 / NULLIF(SUM(sales_2020) OVER (), 0) AS share_q4_2020\n FROM product_sales\n)\nSELECT p.prod_name,\n r.share_q4_2019,\n r.share_q4_2020,\n r.share_q4_2020 - r.share_q4_2019 AS share_change\nFROM ranked_shares AS r\nJOIN products AS p ON p.prod_id = r.prod_id\nWHERE r.sales_quintile = 1\nORDER BY share_change DESC, r.prod_id;", "seconds": 43.59057183400728, "calls": [{"seconds": 3.592014125082642, "usage": {"completion_tokens": 125, "prompt_tokens": 1743, "total_tokens": 1868, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1176, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1176, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1176, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.731583791901357, "usage": {"completion_tokens": 258, "prompt_tokens": 2972, "total_tokens": 3230, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 241, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1229, "cached_tokens": 1176, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1229, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1229, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.719639166956767, "usage": {"completion_tokens": 343, "prompt_tokens": 3299, "total_tokens": 3642, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 37, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 327, "cached_tokens": 2405, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 327, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 327, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 14.574194083106704, "usage": {"completion_tokens": 908, "prompt_tokens": 4141, "total_tokens": 5049, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 288, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 842, "cached_tokens": 2732, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 842, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 842, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.402510417043231, "usage": {"completion_tokens": 618, "prompt_tokens": 5822, "total_tokens": 6440, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 28, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1681, "cached_tokens": 3574, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1681, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1681, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d8a1d1ab6a70e6f7afc426e680fe3d4868206df6ff58e455e1e2974c4aaf25e5", "csv_sha256": "ad2e6db00ffdbbc2085200bc3dd8dbdfde19505553f76560f9304fe439761dba"} +{"instance_id": "local061", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH monthly_sales AS (\n SELECT\n s.prod_id,\n co.country_name AS country,\n t.calendar_year AS sales_year,\n t.calendar_month_number AS month,\n SUM(s.amount_sold) AS sales_amount\n FROM sales AS s\n JOIN customers AS cu ON cu.cust_id = s.cust_id\n JOIN countries AS co ON co.country_id = cu.country_id\n JOIN times AS t ON t.time_id = s.time_id\n JOIN promotions AS p ON p.promo_id = s.promo_id\n JOIN channels AS ch ON ch.channel_id = s.channel_id\n WHERE co.country_name = 'France'\n AND p.promo_total_id = 1\n AND ch.channel_total_id = 1\n AND t.calendar_year BETWEEN 2019 AND 2021\n GROUP BY s.prod_id, co.country_name, t.calendar_year, t.calendar_month_number\n), projections AS (\n SELECT\n target.country,\n target.month,\n y20.sales_amount +\n ((y20.sales_amount - y19.sales_amount) / NULLIF(y19.sales_amount, 0))\n * y20.sales_amount AS projected_sales\n FROM monthly_sales AS target\n LEFT JOIN monthly_sales AS y19\n ON y19.prod_id = target.prod_id\n AND y19.country = target.country\n AND y19.month = target.month\n AND y19.sales_year = 2019\n LEFT JOIN monthly_sales AS y20\n ON y20.prod_id = target.prod_id\n AND y20.country = target.country\n AND y20.month = target.month\n AND y20.sales_year = 2020\n WHERE target.sales_year = 2021\n)\nSELECT\n p.month,\n ROUND(AVG(p.projected_sales * COALESCE(c.to_us, 1.0)), 2) AS avg_projected_sales_usd\nFROM projections AS p\nLEFT JOIN currency AS c\n ON c.country = p.country\n AND c.year = 2021\n AND c.month = p.month\nGROUP BY p.month\nORDER BY p.month;\n```", "rows": 12, "sql": "WITH monthly_sales AS (\n SELECT\n s.prod_id,\n co.country_name AS country,\n t.calendar_year AS sales_year,\n t.calendar_month_number AS month,\n SUM(s.amount_sold) AS sales_amount\n FROM sales AS s\n JOIN customers AS cu ON cu.cust_id = s.cust_id\n JOIN countries AS co ON co.country_id = cu.country_id\n JOIN times AS t ON t.time_id = s.time_id\n JOIN promotions AS p ON p.promo_id = s.promo_id\n JOIN channels AS ch ON ch.channel_id = s.channel_id\n WHERE co.country_name = 'France'\n AND p.promo_total_id = 1\n AND ch.channel_total_id = 1\n AND t.calendar_year BETWEEN 2019 AND 2021\n GROUP BY s.prod_id, co.country_name, t.calendar_year, t.calendar_month_number\n), projections AS (\n SELECT\n target.country,\n target.month,\n y20.sales_amount +\n ((y20.sales_amount - y19.sales_amount) / NULLIF(y19.sales_amount, 0))\n * y20.sales_amount AS projected_sales\n FROM monthly_sales AS target\n LEFT JOIN monthly_sales AS y19\n ON y19.prod_id = target.prod_id\n AND y19.country = target.country\n AND y19.month = target.month\n AND y19.sales_year = 2019\n LEFT JOIN monthly_sales AS y20\n ON y20.prod_id = target.prod_id\n AND y20.country = target.country\n AND y20.month = target.month\n AND y20.sales_year = 2020\n WHERE target.sales_year = 2021\n)\nSELECT\n p.month,\n ROUND(AVG(p.projected_sales * COALESCE(c.to_us, 1.0)), 2) AS avg_projected_sales_usd\nFROM projections AS p\nLEFT JOIN currency AS c\n ON c.country = p.country\n AND c.year = 2021\n AND c.month = p.month\nGROUP BY p.month\nORDER BY p.month;", "seconds": 31.32162004103884, "calls": [{"seconds": 3.6119102499214932, "usage": {"completion_tokens": 141, "prompt_tokens": 2280, "total_tokens": 2421, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1713, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1713, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1713, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.646797540946864, "usage": {"completion_tokens": 599, "prompt_tokens": 3594, "total_tokens": 4193, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 93, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1314, "cached_tokens": 1713, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1314, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1314, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.087995916954242, "usage": {"completion_tokens": 593, "prompt_tokens": 5686, "total_tokens": 6279, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 114, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 2092, "cached_tokens": 3027, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 2092, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 2092, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.746582583989948, "usage": {"completion_tokens": 482, "prompt_tokens": 6853, "total_tokens": 7335, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 27, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1167, "cached_tokens": 5119, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1167, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1167, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "3cf5f56f0eab5b3e3ab35eb17624d42748c984defac3fc3ca0893a87140b27b7", "csv_sha256": "8da409142ab778656c31e8bdc5c0d7b22304c2df54235c0d71b1feffc0dc7852"} +{"instance_id": "local062", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE\nitalian_customers AS (\n SELECT c.cust_id\n FROM customers AS c\n JOIN countries AS co ON co.country_id = c.country_id\n WHERE co.country_name = 'Italy'\n),\ndecember_profit AS (\n SELECT p.cust_id,\n SUM(p.quantity_sold * (p.unit_price - p.unit_cost)) AS total_profit\n FROM profits AS p\n JOIN italian_customers AS c ON c.cust_id = p.cust_id\n WHERE p.time_id >= '2021-12-01' AND p.time_id < '2022-01-01'\n GROUP BY p.cust_id\n),\ncustomer_profit AS (\n SELECT c.cust_id, COALESCE(p.total_profit, 0.0) AS total_profit\n FROM italian_customers AS c\n LEFT JOIN december_profit AS p ON p.cust_id = c.cust_id\n),\nprofit_range AS (\n SELECT MIN(total_profit) AS min_profit, MAX(total_profit) AS max_profit\n FROM customer_profit\n),\nassigned AS (\n SELECT cp.total_profit,\n CASE\n WHEN r.min_profit = r.max_profit THEN 1\n ELSE MIN(10, 1 + CAST(10.0 * (cp.total_profit - r.min_profit)\n / (r.max_profit - r.min_profit) AS INTEGER))\n END AS bucket\n FROM customer_profit AS cp\n CROSS JOIN profit_range AS r\n),\nbuckets(bucket) AS (\n SELECT 1\n UNION ALL\n SELECT bucket + 1 FROM buckets WHERE bucket < 10\n)\nSELECT b.bucket,\n COUNT(a.bucket) AS customer_count,\n MIN(a.total_profit) AS min_total_profit,\n MAX(a.total_profit) AS max_total_profit\nFROM buckets AS b\nLEFT JOIN assigned AS a ON a.bucket = b.bucket\nGROUP BY b.bucket\nORDER BY b.bucket;\n```", "rows": 10, "sql": "WITH RECURSIVE\nitalian_customers AS (\n SELECT c.cust_id\n FROM customers AS c\n JOIN countries AS co ON co.country_id = c.country_id\n WHERE co.country_name = 'Italy'\n),\ndecember_profit AS (\n SELECT p.cust_id,\n SUM(p.quantity_sold * (p.unit_price - p.unit_cost)) AS total_profit\n FROM profits AS p\n JOIN italian_customers AS c ON c.cust_id = p.cust_id\n WHERE p.time_id >= '2021-12-01' AND p.time_id < '2022-01-01'\n GROUP BY p.cust_id\n),\ncustomer_profit AS (\n SELECT c.cust_id, COALESCE(p.total_profit, 0.0) AS total_profit\n FROM italian_customers AS c\n LEFT JOIN december_profit AS p ON p.cust_id = c.cust_id\n),\nprofit_range AS (\n SELECT MIN(total_profit) AS min_profit, MAX(total_profit) AS max_profit\n FROM customer_profit\n),\nassigned AS (\n SELECT cp.total_profit,\n CASE\n WHEN r.min_profit = r.max_profit THEN 1\n ELSE MIN(10, 1 + CAST(10.0 * (cp.total_profit - r.min_profit)\n / (r.max_profit - r.min_profit) AS INTEGER))\n END AS bucket\n FROM customer_profit AS cp\n CROSS JOIN profit_range AS r\n),\nbuckets(bucket) AS (\n SELECT 1\n UNION ALL\n SELECT bucket + 1 FROM buckets WHERE bucket < 10\n)\nSELECT b.bucket,\n COUNT(a.bucket) AS customer_count,\n MIN(a.total_profit) AS min_total_profit,\n MAX(a.total_profit) AS max_total_profit\nFROM buckets AS b\nLEFT JOIN assigned AS a ON a.bucket = b.bucket\nGROUP BY b.bucket\nORDER BY b.bucket;", "seconds": 79.8722219580086, "calls": [{"seconds": 1.9045624170685187, "usage": {"completion_tokens": 15, "prompt_tokens": 1693, "total_tokens": 1708, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1126, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6091148339910433, "usage": {"completion_tokens": 125, "prompt_tokens": 1777, "total_tokens": 1902, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1210, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.343535125022754, "usage": {"completion_tokens": 387, "prompt_tokens": 2835, "total_tokens": 3222, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 181, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1058, "cached_tokens": 1210, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1058, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1058, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.445223374990746, "usage": {"completion_tokens": 202, "prompt_tokens": 3453, "total_tokens": 3655, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 27, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 618, "cached_tokens": 2268, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 618, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 618, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.819044374977238, "usage": {"completion_tokens": 623, "prompt_tokens": 4638, "total_tokens": 5261, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 179, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1185, "cached_tokens": 2886, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1185, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1185, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.243480750010349, "usage": {"completion_tokens": 427, "prompt_tokens": 5920, "total_tokens": 6347, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 173, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1282, "cached_tokens": 4071, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1282, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1282, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.306160000036471, "usage": {"completion_tokens": 419, "prompt_tokens": 6625, "total_tokens": 7044, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 10, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 705, "cached_tokens": 5353, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 705, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 705, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5ec449a629496c5bb075a097dd65093087ece4163d67d730e3cf0be68cc8676a", "csv_sha256": "afd76e4239779a82cbd20afca8862f78e7fb76a2ba0e0bd161556ee31f655db8"} +{"instance_id": "local063", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH scoped_sales AS (\n SELECT c.cust_city_id, s.prod_id, t.calendar_quarter_id, s.amount_sold\n FROM sales AS s\n JOIN times AS t ON t.time_id = s.time_id\n JOIN customers AS c ON c.cust_id = s.cust_id\n JOIN countries AS co ON co.country_id = c.country_id\n WHERE co.country_iso_code = 'US'\n AND s.promo_id = 999\n AND t.calendar_quarter_id IN (1772, 1776)\n),\ncity_totals AS (\n SELECT cust_city_id,\n SUM(CASE WHEN calendar_quarter_id = 1772 THEN amount_sold ELSE 0 END) AS sales_2019,\n SUM(CASE WHEN calendar_quarter_id = 1776 THEN amount_sold ELSE 0 END) AS sales_2020\n FROM scoped_sales\n GROUP BY cust_city_id\n),\nproduct_totals AS (\n SELECT s.prod_id,\n SUM(CASE WHEN s.calendar_quarter_id = 1772 THEN s.amount_sold ELSE 0 END) AS sales_2019,\n SUM(CASE WHEN s.calendar_quarter_id = 1776 THEN s.amount_sold ELSE 0 END) AS sales_2020\n FROM scoped_sales AS s\n JOIN city_totals AS c ON c.cust_city_id = s.cust_city_id\n WHERE 1.0 * c.sales_2020 / NULLIF(c.sales_2019, 0) >= 1.2\n GROUP BY s.prod_id\n),\nranked_products AS (\n SELECT prod_id, sales_2019, sales_2020,\n SUM(sales_2019) OVER () AS total_2019,\n SUM(sales_2020) OVER () AS total_2020,\n RANK() OVER (ORDER BY sales_2019 + sales_2020 DESC) AS sales_rank,\n COUNT(*) OVER () AS product_count\n FROM product_totals\n)\nSELECT p.prod_name\nFROM ranked_products AS r\nJOIN products AS p ON p.prod_id = r.prod_id\nWHERE r.sales_rank <= (r.product_count + 4) / 5\n AND r.total_2019 <> 0\n AND r.total_2020 <> 0\nORDER BY ABS(100.0 * (r.sales_2020 / r.total_2020 - r.sales_2019 / r.total_2019)),\n r.prod_id\nLIMIT 1;\n```", "rows": 1, "sql": "WITH scoped_sales AS (\n SELECT c.cust_city_id, s.prod_id, t.calendar_quarter_id, s.amount_sold\n FROM sales AS s\n JOIN times AS t ON t.time_id = s.time_id\n JOIN customers AS c ON c.cust_id = s.cust_id\n JOIN countries AS co ON co.country_id = c.country_id\n WHERE co.country_iso_code = 'US'\n AND s.promo_id = 999\n AND t.calendar_quarter_id IN (1772, 1776)\n),\ncity_totals AS (\n SELECT cust_city_id,\n SUM(CASE WHEN calendar_quarter_id = 1772 THEN amount_sold ELSE 0 END) AS sales_2019,\n SUM(CASE WHEN calendar_quarter_id = 1776 THEN amount_sold ELSE 0 END) AS sales_2020\n FROM scoped_sales\n GROUP BY cust_city_id\n),\nproduct_totals AS (\n SELECT s.prod_id,\n SUM(CASE WHEN s.calendar_quarter_id = 1772 THEN s.amount_sold ELSE 0 END) AS sales_2019,\n SUM(CASE WHEN s.calendar_quarter_id = 1776 THEN s.amount_sold ELSE 0 END) AS sales_2020\n FROM scoped_sales AS s\n JOIN city_totals AS c ON c.cust_city_id = s.cust_city_id\n WHERE 1.0 * c.sales_2020 / NULLIF(c.sales_2019, 0) >= 1.2\n GROUP BY s.prod_id\n),\nranked_products AS (\n SELECT prod_id, sales_2019, sales_2020,\n SUM(sales_2019) OVER () AS total_2019,\n SUM(sales_2020) OVER () AS total_2020,\n RANK() OVER (ORDER BY sales_2019 + sales_2020 DESC) AS sales_rank,\n COUNT(*) OVER () AS product_count\n FROM product_totals\n)\nSELECT p.prod_name\nFROM ranked_products AS r\nJOIN products AS p ON p.prod_id = r.prod_id\nWHERE r.sales_rank <= (r.product_count + 4) / 5\n AND r.total_2019 <> 0\n AND r.total_2020 <> 0\nORDER BY ABS(100.0 * (r.sales_2020 / r.total_2020 - r.sales_2019 / r.total_2019)),\n r.prod_id\nLIMIT 1;", "seconds": 47.13547604205087, "calls": [{"seconds": 3.377966666012071, "usage": {"completion_tokens": 109, "prompt_tokens": 1702, "total_tokens": 1811, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1135, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1135, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1135, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 15.639622832997702, "usage": {"completion_tokens": 659, "prompt_tokens": 2806, "total_tokens": 3465, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 510, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1104, "cached_tokens": 1135, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1104, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1104, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 15.06874370900914, "usage": {"completion_tokens": 945, "prompt_tokens": 3687, "total_tokens": 4632, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 376, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 881, "cached_tokens": 2239, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 881, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 881, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.215764957945794, "usage": {"completion_tokens": 535, "prompt_tokens": 5185, "total_tokens": 5720, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1498, "cached_tokens": 3120, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1498, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1498, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "cdef8311b328d11d7b5e86e18cf341c108ba337ecf49c26a00eeb2661fee7af3", "csv_sha256": "388d5f5f61575848ed38370015765e5e641e30dbd776655c5ec21b38f1fd547f"} +{"instance_id": "local064", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE months(month_start) AS (\n VALUES ('2020-01-01')\n UNION ALL\n SELECT date(month_start, '+1 month')\n FROM months\n WHERE month_start < '2020-12-01'\n), customers AS (\n SELECT DISTINCT customer_id\n FROM customer_nodes\n), monthly_transactions AS (\n SELECT customer_id,\n date(txn_date, 'start of month') AS month_start,\n SUM(CASE txn_type\n WHEN 'deposit' THEN txn_amount\n WHEN 'withdrawal' THEN -txn_amount\n END) AS balance\n FROM customer_transactions\n WHERE txn_date >= '2020-01-01'\n AND txn_date < '2021-01-01'\n AND txn_type IN ('deposit', 'withdrawal')\n GROUP BY customer_id, date(txn_date, 'start of month')\n), customer_month_balances AS (\n SELECT m.month_start,\n COALESCE(t.balance, 0) AS balance\n FROM months AS m\n CROSS JOIN customers AS c\n LEFT JOIN monthly_transactions AS t\n ON t.customer_id = c.customer_id\n AND t.month_start = m.month_start\n), monthly_summary AS (\n SELECT month_start,\n COUNT(CASE WHEN balance > 0 THEN 1 END) AS positive_customer_count,\n AVG(balance) AS average_balance\n FROM customer_month_balances\n GROUP BY month_start\n), extremes AS (\n SELECT MAX(positive_customer_count) AS highest_count,\n MIN(positive_customer_count) AS lowest_count\n FROM monthly_summary\n)\nSELECT strftime('%Y-%m', h.month_start) AS highest_count_month,\n strftime('%Y-%m', l.month_start) AS lowest_count_month,\n h.average_balance AS highest_count_month_average_balance,\n l.average_balance AS lowest_count_month_average_balance,\n h.average_balance - l.average_balance AS average_balance_difference\nFROM extremes AS e\nJOIN monthly_summary AS h ON h.positive_customer_count = e.highest_count\nJOIN monthly_summary AS l ON l.positive_customer_count = e.lowest_count\nORDER BY h.month_start, l.month_start;\n```", "rows": 8, "sql": "WITH RECURSIVE months(month_start) AS (\n VALUES ('2020-01-01')\n UNION ALL\n SELECT date(month_start, '+1 month')\n FROM months\n WHERE month_start < '2020-12-01'\n), customers AS (\n SELECT DISTINCT customer_id\n FROM customer_nodes\n), monthly_transactions AS (\n SELECT customer_id,\n date(txn_date, 'start of month') AS month_start,\n SUM(CASE txn_type\n WHEN 'deposit' THEN txn_amount\n WHEN 'withdrawal' THEN -txn_amount\n END) AS balance\n FROM customer_transactions\n WHERE txn_date >= '2020-01-01'\n AND txn_date < '2021-01-01'\n AND txn_type IN ('deposit', 'withdrawal')\n GROUP BY customer_id, date(txn_date, 'start of month')\n), customer_month_balances AS (\n SELECT m.month_start,\n COALESCE(t.balance, 0) AS balance\n FROM months AS m\n CROSS JOIN customers AS c\n LEFT JOIN monthly_transactions AS t\n ON t.customer_id = c.customer_id\n AND t.month_start = m.month_start\n), monthly_summary AS (\n SELECT month_start,\n COUNT(CASE WHEN balance > 0 THEN 1 END) AS positive_customer_count,\n AVG(balance) AS average_balance\n FROM customer_month_balances\n GROUP BY month_start\n), extremes AS (\n SELECT MAX(positive_customer_count) AS highest_count,\n MIN(positive_customer_count) AS lowest_count\n FROM monthly_summary\n)\nSELECT strftime('%Y-%m', h.month_start) AS highest_count_month,\n strftime('%Y-%m', l.month_start) AS lowest_count_month,\n h.average_balance AS highest_count_month_average_balance,\n l.average_balance AS lowest_count_month_average_balance,\n h.average_balance - l.average_balance AS average_balance_difference\nFROM extremes AS e\nJOIN monthly_summary AS h ON h.positive_customer_count = e.highest_count\nJOIN monthly_summary AS l ON l.positive_customer_count = e.lowest_count\nORDER BY h.month_start, l.month_start;", "seconds": 29.358122750069015, "calls": [{"seconds": 2.2673445830587298, "usage": {"completion_tokens": 15, "prompt_tokens": 1741, "total_tokens": 1756, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1136, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.4055122500285506, "usage": {"completion_tokens": 52, "prompt_tokens": 1862, "total_tokens": 1914, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 121, "cached_tokens": 1136, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 121, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 121, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.527892458019778, "usage": {"completion_tokens": 268, "prompt_tokens": 1998, "total_tokens": 2266, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 95, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 136, "cached_tokens": 1257, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 136, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 136, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.54342049988918, "usage": {"completion_tokens": 634, "prompt_tokens": 2497, "total_tokens": 3131, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 135, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 499, "cached_tokens": 1393, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 499, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 499, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.0892477500019595, "usage": {"completion_tokens": 460, "prompt_tokens": 3845, "total_tokens": 4305, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1348, "cached_tokens": 1892, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1348, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1348, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "80b826435489c23f4a551289ada1f03860c6b5b796baa7f8d932516ec760ecc3", "csv_sha256": "2fc0dd88f6488a98b450c5a60e5628cf9fabba2f5465948a9c35cb9254a37c9b"} +{"instance_id": "local065", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COALESCE(SUM(\n CASE p.pizza_name\n WHEN 'Meatlovers' THEN 12\n WHEN 'Vegetarian' THEN 10\n END\n + CASE\n WHEN TRIM(COALESCE(c.extras, '')) = '' THEN 0\n ELSE 1 + LENGTH(c.extras) - LENGTH(REPLACE(c.extras, ',', ''))\n END\n), 0) AS total_income\nFROM pizza_clean_customer_orders AS c\nJOIN pizza_names AS p ON p.pizza_id = c.pizza_id\nWHERE EXISTS (\n SELECT 1\n FROM pizza_clean_runner_orders AS r\n WHERE r.order_id = c.order_id\n AND r.cancellation IS NULL\n);\n```", "rows": 1, "sql": "SELECT COALESCE(SUM(\n CASE p.pizza_name\n WHEN 'Meatlovers' THEN 12\n WHEN 'Vegetarian' THEN 10\n END\n + CASE\n WHEN TRIM(COALESCE(c.extras, '')) = '' THEN 0\n ELSE 1 + LENGTH(c.extras) - LENGTH(REPLACE(c.extras, ',', ''))\n END\n), 0) AS total_income\nFROM pizza_clean_customer_orders AS c\nJOIN pizza_names AS p ON p.pizza_id = c.pizza_id\nWHERE EXISTS (\n SELECT 1\n FROM pizza_clean_runner_orders AS r\n WHERE r.order_id = c.order_id\n AND r.cancellation IS NULL\n);", "seconds": 19.094653957989067, "calls": [{"seconds": 3.307745791040361, "usage": {"completion_tokens": 107, "prompt_tokens": 1692, "total_tokens": 1799, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1095, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1095, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1095, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5850548750022426, "usage": {"completion_tokens": 123, "prompt_tokens": 1992, "total_tokens": 2115, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 300, "cached_tokens": 1095, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 300, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 300, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.782473249942996, "usage": {"completion_tokens": 306, "prompt_tokens": 2701, "total_tokens": 3007, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 129, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 709, "cached_tokens": 1395, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 709, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 709, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.40697899996303, "usage": {"completion_tokens": 162, "prompt_tokens": 3188, "total_tokens": 3350, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 487, "cached_tokens": 2104, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 487, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 487, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "43a843d4ca2dfcb300d10d10bf523c82f7ba76faa6e3c40d4183a5c36cc58dc8", "csv_sha256": "a763c14204b04edfc5542e12789ebea323ec9560c752afe47ce458d5ca0bd9f6"} +{"instance_id": "local066", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH delivered_pizzas AS (\n SELECT c.pizza_id, c.exclusions, c.extras\n FROM pizza_clean_customer_orders AS c\n WHERE EXISTS (\n SELECT 1\n FROM pizza_clean_runner_orders AS r\n WHERE r.order_id = c.order_id\n AND r.cancellation IS NULL\n )\n), ingredient_usage AS (\n SELECT base.value AS topping_id\n FROM delivered_pizzas AS p\n JOIN pizza_recipes AS r ON r.pizza_id = p.pizza_id\n CROSS JOIN json_each('[' || r.toppings || ']') AS base\n WHERE NOT EXISTS (\n SELECT 1\n FROM json_each('[' || COALESCE(p.exclusions, '') || ']') AS excluded\n WHERE excluded.value = base.value\n )\n UNION ALL\n SELECT extra.value AS topping_id\n FROM delivered_pizzas AS p\n CROSS JOIN json_each('[' || COALESCE(p.extras, '') || ']') AS extra\n)\nSELECT t.topping_name AS name, COUNT(*) AS quantity\nFROM ingredient_usage AS u\nJOIN pizza_toppings AS t ON t.topping_id = u.topping_id\nGROUP BY t.topping_id, t.topping_name\nORDER BY name;\n```", "rows": 12, "sql": "WITH delivered_pizzas AS (\n SELECT c.pizza_id, c.exclusions, c.extras\n FROM pizza_clean_customer_orders AS c\n WHERE EXISTS (\n SELECT 1\n FROM pizza_clean_runner_orders AS r\n WHERE r.order_id = c.order_id\n AND r.cancellation IS NULL\n )\n), ingredient_usage AS (\n SELECT base.value AS topping_id\n FROM delivered_pizzas AS p\n JOIN pizza_recipes AS r ON r.pizza_id = p.pizza_id\n CROSS JOIN json_each('[' || r.toppings || ']') AS base\n WHERE NOT EXISTS (\n SELECT 1\n FROM json_each('[' || COALESCE(p.exclusions, '') || ']') AS excluded\n WHERE excluded.value = base.value\n )\n UNION ALL\n SELECT extra.value AS topping_id\n FROM delivered_pizzas AS p\n CROSS JOIN json_each('[' || COALESCE(p.extras, '') || ']') AS extra\n)\nSELECT t.topping_name AS name, COUNT(*) AS quantity\nFROM ingredient_usage AS u\nJOIN pizza_toppings AS t ON t.topping_id = u.topping_id\nGROUP BY t.topping_id, t.topping_name\nORDER BY name;", "seconds": 24.149723666952923, "calls": [{"seconds": 1.9287923750234768, "usage": {"completion_tokens": 15, "prompt_tokens": 1676, "total_tokens": 1691, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1079, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1079, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1079, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9820027080131695, "usage": {"completion_tokens": 140, "prompt_tokens": 1787, "total_tokens": 1927, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 111, "cached_tokens": 1079, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 111, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 111, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.2605541669763625, "usage": {"completion_tokens": 196, "prompt_tokens": 2188, "total_tokens": 2384, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 401, "cached_tokens": 1190, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 401, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 401, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.72740266600158, "usage": {"completion_tokens": 472, "prompt_tokens": 3623, "total_tokens": 4095, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 181, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1435, "cached_tokens": 1591, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1435, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1435, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.223242333042435, "usage": {"completion_tokens": 271, "prompt_tokens": 4461, "total_tokens": 4732, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 838, "cached_tokens": 3026, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 838, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 838, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "13e42dab6eb3e7dbea176b1d6d17458ddfc368d4fc4aa59051f5e8d5a62da4c5", "csv_sha256": "9988967077e38e2e5e432810ee5dbbbc6b29a2fdf5aa0e26cf921980af0b7e3a"} +{"instance_id": "local067", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH customer_profits AS (\n SELECT p.cust_id,\n SUM(p.amount_sold - p.total_cost) AS december_profit\n FROM profits AS p\n JOIN customers AS c ON c.cust_id = p.cust_id\n JOIN countries AS co ON co.country_id = c.country_id\n WHERE co.country_name = 'Italy'\n AND p.time_id >= '2021-12-01'\n AND p.time_id < '2022-01-01'\n GROUP BY p.cust_id\n), tiered_customers AS (\n SELECT december_profit,\n NTILE(10) OVER (ORDER BY december_profit DESC, cust_id) AS tier\n FROM customer_profits\n)\nSELECT tier,\n MAX(december_profit) AS highest_profit,\n MIN(december_profit) AS lowest_profit\nFROM tiered_customers\nGROUP BY tier\nORDER BY tier;\n```", "rows": 10, "sql": "WITH customer_profits AS (\n SELECT p.cust_id,\n SUM(p.amount_sold - p.total_cost) AS december_profit\n FROM profits AS p\n JOIN customers AS c ON c.cust_id = p.cust_id\n JOIN countries AS co ON co.country_id = c.country_id\n WHERE co.country_name = 'Italy'\n AND p.time_id >= '2021-12-01'\n AND p.time_id < '2022-01-01'\n GROUP BY p.cust_id\n), tiered_customers AS (\n SELECT december_profit,\n NTILE(10) OVER (ORDER BY december_profit DESC, cust_id) AS tier\n FROM customer_profits\n)\nSELECT tier,\n MAX(december_profit) AS highest_profit,\n MIN(december_profit) AS lowest_profit\nFROM tiered_customers\nGROUP BY tier\nORDER BY tier;", "seconds": 19.938794667017646, "calls": [{"seconds": 3.209935541031882, "usage": {"completion_tokens": 94, "prompt_tokens": 1642, "total_tokens": 1736, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1075, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1075, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1075, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.655628417036496, "usage": {"completion_tokens": 384, "prompt_tokens": 2536, "total_tokens": 2920, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 170, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 894, "cached_tokens": 1075, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 894, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 894, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.287180624902248, "usage": {"completion_tokens": 193, "prompt_tokens": 3333, "total_tokens": 3526, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 797, "cached_tokens": 1969, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 797, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 797, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "bd7fb6aafcc429cc7e22b9bf62be9b4b2b44cf82aa7b8a5b6c57323b61085d65", "csv_sha256": "a487e0e350f592389e45567c13c79a42c5ee9c6fad6d8c1a1bc80041f3ca040f"} +{"instance_id": "local068", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH years(year) AS (\n VALUES (2021), (2022), (2023)\n), months(month) AS (\n VALUES (4), (5), (6)\n), monthly_counts AS (\n SELECT y.year, m.month, COUNT(c.insert_date) AS monthly_total\n FROM years AS y\n CROSS JOIN months AS m\n LEFT JOIN cities AS c\n ON c.insert_date >= printf('%04d-%02d-01', y.year, m.month)\n AND c.insert_date < printf('%04d-%02d-01', y.year, m.month + 1)\n GROUP BY y.year, m.month\n), running_totals AS (\n SELECT year, month, monthly_total,\n SUM(monthly_total) OVER (\n PARTITION BY month ORDER BY year\n ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW\n ) AS running_total\n FROM monthly_counts\n), prior_year AS (\n SELECT year, month, monthly_total, running_total,\n LAG(monthly_total) OVER (PARTITION BY month ORDER BY year) AS prev_monthly_total,\n LAG(running_total) OVER (PARTITION BY month ORDER BY year) AS prev_running_total\n FROM running_totals\n)\nSELECT year, month, monthly_total, running_total,\n ROUND(100.0 * (monthly_total - prev_monthly_total) /\n NULLIF(prev_monthly_total, 0), 2) AS monthly_yoy_growth_pct,\n ROUND(100.0 * (running_total - prev_running_total) /\n NULLIF(prev_running_total, 0), 2) AS running_yoy_growth_pct\nFROM prior_year\nWHERE year IN (2022, 2023)\nORDER BY year, month;\n```", "rows": 6, "sql": "WITH years(year) AS (\n VALUES (2021), (2022), (2023)\n), months(month) AS (\n VALUES (4), (5), (6)\n), monthly_counts AS (\n SELECT y.year, m.month, COUNT(c.insert_date) AS monthly_total\n FROM years AS y\n CROSS JOIN months AS m\n LEFT JOIN cities AS c\n ON c.insert_date >= printf('%04d-%02d-01', y.year, m.month)\n AND c.insert_date < printf('%04d-%02d-01', y.year, m.month + 1)\n GROUP BY y.year, m.month\n), running_totals AS (\n SELECT year, month, monthly_total,\n SUM(monthly_total) OVER (\n PARTITION BY month ORDER BY year\n ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW\n ) AS running_total\n FROM monthly_counts\n), prior_year AS (\n SELECT year, month, monthly_total, running_total,\n LAG(monthly_total) OVER (PARTITION BY month ORDER BY year) AS prev_monthly_total,\n LAG(running_total) OVER (PARTITION BY month ORDER BY year) AS prev_running_total\n FROM running_totals\n)\nSELECT year, month, monthly_total, running_total,\n ROUND(100.0 * (monthly_total - prev_monthly_total) /\n NULLIF(prev_monthly_total, 0), 2) AS monthly_yoy_growth_pct,\n ROUND(100.0 * (running_total - prev_running_total) /\n NULLIF(prev_running_total, 0), 2) AS running_yoy_growth_pct\nFROM prior_year\nWHERE year IN (2022, 2023)\nORDER BY year, month;", "seconds": 19.682351249968633, "calls": [{"seconds": 2.2464122499804944, "usage": {"completion_tokens": 19, "prompt_tokens": 1802, "total_tokens": 1821, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1223, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1223, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1223, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.757876083953306, "usage": {"completion_tokens": 580, "prompt_tokens": 1882, "total_tokens": 2462, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 173, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 80, "cached_tokens": 1223, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 80, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 80, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.5880548330023885, "usage": {"completion_tokens": 401, "prompt_tokens": 3029, "total_tokens": 3430, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 22, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1147, "cached_tokens": 1303, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1147, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1147, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "159380c6b6de1cd3847bdcb7212fbd96648e1df9cc877676c55a460c76de1160", "csv_sha256": "779921632ee2535109d26b8f58735469c8e076e03e2a1cd8b434720597c6b485"} +{"instance_id": "local070", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH july_entries AS (\n SELECT date(insert_date) AS entry_date, city_id, city_name\n FROM cities\n WHERE country_code_2 = 'cn'\n AND date(insert_date) >= '2021-07-01'\n AND date(insert_date) < '2021-08-01'\n), ranked_entries AS (\n SELECT entry_date, city_name,\n ROW_NUMBER() OVER (PARTITION BY entry_date ORDER BY city_id, city_name) AS daily_rank\n FROM july_entries\n), streak_days AS (\n SELECT entry_date, city_name,\n julianday(entry_date) - ROW_NUMBER() OVER (ORDER BY entry_date) AS streak_id\n FROM ranked_entries\n WHERE daily_rank = 1\n), streak_lengths AS (\n SELECT entry_date, city_name,\n COUNT(*) OVER (PARTITION BY streak_id) AS streak_length\n FROM streak_days\n), extremes AS (\n SELECT MIN(streak_length) AS shortest, MAX(streak_length) AS longest\n FROM streak_lengths\n)\nSELECT entry_date AS insert_date,\n upper(substr(city_name, 1, 1)) || lower(substr(city_name, 2)) AS city_name\nFROM streak_lengths\nCROSS JOIN extremes\nWHERE streak_length IN (shortest, longest)\nORDER BY entry_date;\n```", "rows": 15, "sql": "WITH july_entries AS (\n SELECT date(insert_date) AS entry_date, city_id, city_name\n FROM cities\n WHERE country_code_2 = 'cn'\n AND date(insert_date) >= '2021-07-01'\n AND date(insert_date) < '2021-08-01'\n), ranked_entries AS (\n SELECT entry_date, city_name,\n ROW_NUMBER() OVER (PARTITION BY entry_date ORDER BY city_id, city_name) AS daily_rank\n FROM july_entries\n), streak_days AS (\n SELECT entry_date, city_name,\n julianday(entry_date) - ROW_NUMBER() OVER (ORDER BY entry_date) AS streak_id\n FROM ranked_entries\n WHERE daily_rank = 1\n), streak_lengths AS (\n SELECT entry_date, city_name,\n COUNT(*) OVER (PARTITION BY streak_id) AS streak_length\n FROM streak_days\n), extremes AS (\n SELECT MIN(streak_length) AS shortest, MAX(streak_length) AS longest\n FROM streak_lengths\n)\nSELECT entry_date AS insert_date,\n upper(substr(city_name, 1, 1)) || lower(substr(city_name, 2)) AS city_name\nFROM streak_lengths\nCROSS JOIN extremes\nWHERE streak_length IN (shortest, longest)\nORDER BY entry_date;", "seconds": 19.50301320804283, "calls": [{"seconds": 1.9161730830091983, "usage": {"completion_tokens": 15, "prompt_tokens": 1727, "total_tokens": 1742, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1148, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1148, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1148, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.191021666978486, "usage": {"completion_tokens": 52, "prompt_tokens": 1818, "total_tokens": 1870, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 91, "cached_tokens": 1148, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 91, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 91, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.076168500003405, "usage": {"completion_tokens": 421, "prompt_tokens": 1997, "total_tokens": 2418, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 117, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 179, "cached_tokens": 1239, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 179, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 179, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.299979500006884, "usage": {"completion_tokens": 319, "prompt_tokens": 2883, "total_tokens": 3202, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 38, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 886, "cached_tokens": 1418, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 886, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 886, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e56e93d30e0fdf75050c7c61519d024dfc85f5746798cf29fa116b21b0251953", "csv_sha256": "f7f4e71035388f2f05dd14e3a1c470576777a885d219ad06e116840f7a093955"} +{"instance_id": "local071", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH city_days AS (\n SELECT DISTINCT country_code_2, DATE(insert_date) AS inserted_day\n FROM cities\n WHERE DATE(insert_date) >= '2022-06-01'\n AND DATE(insert_date) < '2022-07-01'\n AND LENGTH(country_code_2) = 2\n), streak_days AS (\n SELECT country_code_2,\n JULIANDAY(inserted_day) - ROW_NUMBER() OVER (\n PARTITION BY country_code_2 ORDER BY inserted_day\n ) AS streak_id\n FROM city_days\n), streaks AS (\n SELECT country_code_2, COUNT(*) AS streak_length\n FROM streak_days\n GROUP BY country_code_2, streak_id\n)\nSELECT DISTINCT country_code_2\nFROM streaks\nWHERE streak_length = (SELECT MAX(streak_length) FROM streaks)\nORDER BY country_code_2;\n```", "rows": 3, "sql": "WITH city_days AS (\n SELECT DISTINCT country_code_2, DATE(insert_date) AS inserted_day\n FROM cities\n WHERE DATE(insert_date) >= '2022-06-01'\n AND DATE(insert_date) < '2022-07-01'\n AND LENGTH(country_code_2) = 2\n), streak_days AS (\n SELECT country_code_2,\n JULIANDAY(inserted_day) - ROW_NUMBER() OVER (\n PARTITION BY country_code_2 ORDER BY inserted_day\n ) AS streak_id\n FROM city_days\n), streaks AS (\n SELECT country_code_2, COUNT(*) AS streak_length\n FROM streak_days\n GROUP BY country_code_2, streak_id\n)\nSELECT DISTINCT country_code_2\nFROM streaks\nWHERE streak_length = (SELECT MAX(streak_length) FROM streaks)\nORDER BY country_code_2;", "seconds": 17.30777837499045, "calls": [{"seconds": 2.2047080830670893, "usage": {"completion_tokens": 19, "prompt_tokens": 1664, "total_tokens": 1683, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1085, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1085, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1085, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.302492000046186, "usage": {"completion_tokens": 21, "prompt_tokens": 1744, "total_tokens": 1765, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 80, "cached_tokens": 1085, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 80, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 80, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.239442458958365, "usage": {"completion_tokens": 364, "prompt_tokens": 1833, "total_tokens": 2197, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 150, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 89, "cached_tokens": 1165, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 89, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 89, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.540116208023392, "usage": {"completion_tokens": 194, "prompt_tokens": 2416, "total_tokens": 2610, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 583, "cached_tokens": 1254, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 583, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 583, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "666b69aea1cb8a0d19c84e8f3207caeafafdaa6b350376b20f9906a5f893ee52", "csv_sha256": "d51170b8ea75e0f5ac9e8fe1e772a9531bfb96dbe118ddf03266fc5aa0d92bb4"} +{"instance_id": "local072", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH january_entries AS (\n SELECT country_code_2, DATE(insert_date) AS insertion_day, capital\n FROM cities\n WHERE DATE(insert_date) >= '2022-01-01'\n AND DATE(insert_date) < '2022-02-01'\n), insertion_days AS (\n SELECT DISTINCT country_code_2, insertion_day\n FROM january_entries\n), matching_countries AS (\n SELECT country_code_2\n FROM insertion_days\n GROUP BY country_code_2\n HAVING COUNT(*) = 9\n), numbered_days AS (\n SELECT d.country_code_2, d.insertion_day,\n JULIANDAY(d.insertion_day) - ROW_NUMBER() OVER (\n PARTITION BY d.country_code_2 ORDER BY d.insertion_day\n ) AS streak_key\n FROM insertion_days AS d\n JOIN matching_countries AS m ON m.country_code_2 = d.country_code_2\n), streaks AS (\n SELECT country_code_2, MIN(insertion_day) AS period_start,\n MAX(insertion_day) AS period_end, COUNT(*) AS streak_days\n FROM numbered_days\n GROUP BY country_code_2, streak_key\n), ranked_streaks AS (\n SELECT country_code_2, period_start, period_end,\n DENSE_RANK() OVER (\n PARTITION BY country_code_2 ORDER BY streak_days DESC\n ) AS streak_rank\n FROM streaks\n)\nSELECT c.country_name, s.period_start, s.period_end,\n AVG(CASE WHEN e.capital = 1 THEN 1.0 ELSE 0.0 END) AS capital_proportion\nFROM ranked_streaks AS s\nJOIN january_entries AS e\n ON e.country_code_2 = s.country_code_2\n AND e.insertion_day BETWEEN s.period_start AND s.period_end\nJOIN cities_countries AS c ON c.country_code_2 = s.country_code_2\nWHERE s.streak_rank = 1\nGROUP BY s.country_code_2, c.country_name, s.period_start, s.period_end;\n```", "rows": 1, "sql": "WITH january_entries AS (\n SELECT country_code_2, DATE(insert_date) AS insertion_day, capital\n FROM cities\n WHERE DATE(insert_date) >= '2022-01-01'\n AND DATE(insert_date) < '2022-02-01'\n), insertion_days AS (\n SELECT DISTINCT country_code_2, insertion_day\n FROM january_entries\n), matching_countries AS (\n SELECT country_code_2\n FROM insertion_days\n GROUP BY country_code_2\n HAVING COUNT(*) = 9\n), numbered_days AS (\n SELECT d.country_code_2, d.insertion_day,\n JULIANDAY(d.insertion_day) - ROW_NUMBER() OVER (\n PARTITION BY d.country_code_2 ORDER BY d.insertion_day\n ) AS streak_key\n FROM insertion_days AS d\n JOIN matching_countries AS m ON m.country_code_2 = d.country_code_2\n), streaks AS (\n SELECT country_code_2, MIN(insertion_day) AS period_start,\n MAX(insertion_day) AS period_end, COUNT(*) AS streak_days\n FROM numbered_days\n GROUP BY country_code_2, streak_key\n), ranked_streaks AS (\n SELECT country_code_2, period_start, period_end,\n DENSE_RANK() OVER (\n PARTITION BY country_code_2 ORDER BY streak_days DESC\n ) AS streak_rank\n FROM streaks\n)\nSELECT c.country_name, s.period_start, s.period_end,\n AVG(CASE WHEN e.capital = 1 THEN 1.0 ELSE 0.0 END) AS capital_proportion\nFROM ranked_streaks AS s\nJOIN january_entries AS e\n ON e.country_code_2 = s.country_code_2\n AND e.insertion_day BETWEEN s.period_start AND s.period_end\nJOIN cities_countries AS c ON c.country_code_2 = s.country_code_2\nWHERE s.streak_rank = 1\nGROUP BY s.country_code_2, c.country_name, s.period_start, s.period_end;", "seconds": 31.671325500006787, "calls": [{"seconds": 1.9942561249481514, "usage": {"completion_tokens": 15, "prompt_tokens": 1682, "total_tokens": 1697, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1103, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.265195165993646, "usage": {"completion_tokens": 118, "prompt_tokens": 1773, "total_tokens": 1891, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1194, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2312762910733, "usage": {"completion_tokens": 111, "prompt_tokens": 2251, "total_tokens": 2362, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1672, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3562125000171363, "usage": {"completion_tokens": 60, "prompt_tokens": 2530, "total_tokens": 2590, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 279, "cached_tokens": 1672, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 279, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 279, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.14998812507838, "usage": {"completion_tokens": 733, "prompt_tokens": 2678, "total_tokens": 3411, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 266, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 148, "cached_tokens": 1951, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 148, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 148, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.626400000066496, "usage": {"completion_tokens": 441, "prompt_tokens": 3908, "total_tokens": 4349, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1230, "cached_tokens": 2099, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1230, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1230, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "381a8fa4256fe3df210f78f84e5c537fbf50ae61cafece5b2b19aad19341be64", "csv_sha256": "e1e4683f28f03af72b34eb149aa309e39213f36392bc677d6cae46fac3ef0e2f"} +{"instance_id": "local073", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE\norder_lines AS (\n SELECT o.rowid AS row_id, o.order_id, o.customer_id, n.pizza_name,\n o.order_time, o.exclusions, o.extras,\n CASE WHEN n.pizza_name = 'Meatlovers' THEN 1 ELSE 2 END AS pizza_id\n FROM pizza_clean_customer_orders AS o\n JOIN pizza_names AS n ON n.pizza_id = o.pizza_id\n),\ntopping_lists AS (\n SELECT o.row_id, 'recipe' AS kind, r.toppings AS csv\n FROM order_lines AS o\n JOIN pizza_recipes AS r ON r.pizza_id = o.pizza_id\n UNION ALL\n SELECT row_id, 'exclusion', exclusions FROM order_lines\n UNION ALL\n SELECT row_id, 'extra', extras FROM order_lines\n),\nsplit(row_id, kind, topping_id, rest) AS (\n SELECT row_id, kind, NULL, csv || ','\n FROM topping_lists\n WHERE csv IS NOT NULL AND TRIM(csv) <> ''\n UNION ALL\n SELECT row_id, kind,\n CAST(NULLIF(TRIM(SUBSTR(rest, 1, INSTR(rest, ',') - 1)), '') AS INTEGER),\n SUBSTR(rest, INSTR(rest, ',') + 1)\n FROM split\n WHERE rest <> ''\n),\ntopping_counts AS (\n SELECT s.row_id, t.topping_name, COUNT(*) AS copies\n FROM split AS s\n JOIN pizza_toppings AS t ON t.topping_id = s.topping_id\n WHERE s.kind = 'extra'\n OR (s.kind = 'recipe' AND NOT EXISTS (\n SELECT 1\n FROM split AS x\n WHERE x.row_id = s.row_id\n AND x.kind = 'exclusion'\n AND x.topping_id = s.topping_id\n ))\n GROUP BY s.row_id, t.topping_name\n),\nformatted AS (\n SELECT row_id,\n GROUP_CONCAT(\n CASE WHEN copies > 1 THEN '2x' ELSE '' END || topping_name, ', '\n ) OVER (\n PARTITION BY row_id\n ORDER BY (copies > 1) DESC, topping_name COLLATE NOCASE\n ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING\n ) AS topping_string\n FROM topping_counts\n)\nSELECT o.row_id, o.order_id, o.customer_id, o.pizza_name,\n o.pizza_name || ': ' || COALESCE(MAX(f.topping_string), '') AS ingredients\nFROM order_lines AS o\nLEFT JOIN formatted AS f ON f.row_id = o.row_id\nGROUP BY o.row_id, o.order_id, o.customer_id, o.pizza_name, o.order_time\nORDER BY o.row_id ASC;\n```", "rows": 14, "sql": "WITH RECURSIVE\norder_lines AS (\n SELECT o.rowid AS row_id, o.order_id, o.customer_id, n.pizza_name,\n o.order_time, o.exclusions, o.extras,\n CASE WHEN n.pizza_name = 'Meatlovers' THEN 1 ELSE 2 END AS pizza_id\n FROM pizza_clean_customer_orders AS o\n JOIN pizza_names AS n ON n.pizza_id = o.pizza_id\n),\ntopping_lists AS (\n SELECT o.row_id, 'recipe' AS kind, r.toppings AS csv\n FROM order_lines AS o\n JOIN pizza_recipes AS r ON r.pizza_id = o.pizza_id\n UNION ALL\n SELECT row_id, 'exclusion', exclusions FROM order_lines\n UNION ALL\n SELECT row_id, 'extra', extras FROM order_lines\n),\nsplit(row_id, kind, topping_id, rest) AS (\n SELECT row_id, kind, NULL, csv || ','\n FROM topping_lists\n WHERE csv IS NOT NULL AND TRIM(csv) <> ''\n UNION ALL\n SELECT row_id, kind,\n CAST(NULLIF(TRIM(SUBSTR(rest, 1, INSTR(rest, ',') - 1)), '') AS INTEGER),\n SUBSTR(rest, INSTR(rest, ',') + 1)\n FROM split\n WHERE rest <> ''\n),\ntopping_counts AS (\n SELECT s.row_id, t.topping_name, COUNT(*) AS copies\n FROM split AS s\n JOIN pizza_toppings AS t ON t.topping_id = s.topping_id\n WHERE s.kind = 'extra'\n OR (s.kind = 'recipe' AND NOT EXISTS (\n SELECT 1\n FROM split AS x\n WHERE x.row_id = s.row_id\n AND x.kind = 'exclusion'\n AND x.topping_id = s.topping_id\n ))\n GROUP BY s.row_id, t.topping_name\n),\nformatted AS (\n SELECT row_id,\n GROUP_CONCAT(\n CASE WHEN copies > 1 THEN '2x' ELSE '' END || topping_name, ', '\n ) OVER (\n PARTITION BY row_id\n ORDER BY (copies > 1) DESC, topping_name COLLATE NOCASE\n ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING\n ) AS topping_string\n FROM topping_counts\n)\nSELECT o.row_id, o.order_id, o.customer_id, o.pizza_name,\n o.pizza_name || ': ' || COALESCE(MAX(f.topping_string), '') AS ingredients\nFROM order_lines AS o\nLEFT JOIN formatted AS f ON f.row_id = o.row_id\nGROUP BY o.row_id, o.order_id, o.customer_id, o.pizza_name, o.order_time\nORDER BY o.row_id ASC;", "seconds": 49.08565537503455, "calls": [{"seconds": 4.461512791924179, "usage": {"completion_tokens": 141, "prompt_tokens": 1815, "total_tokens": 1956, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1218, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.091606082976796, "usage": {"completion_tokens": 187, "prompt_tokens": 2215, "total_tokens": 2402, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1618, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 29.144510332960635, "usage": {"completion_tokens": 1574, "prompt_tokens": 3885, "total_tokens": 5459, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 927, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1670, "cached_tokens": 1618, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1670, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1670, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.864599334076047, "usage": {"completion_tokens": 662, "prompt_tokens": 6577, "total_tokens": 7239, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 57, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 2692, "cached_tokens": 3288, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 2692, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 2692, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1cffedcd76b158ae3f00474f9c14f357d72aa7f4030027127ef65257560d9e2b", "csv_sha256": "9de7744f9d1cdb202c0399031844b31a0a16944405c2baab6d28a9e20a5401c8"} +{"instance_id": "local074", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE\nmonth_bounds AS (\n SELECT\n date(MIN(txn_date), 'start of month') AS first_month,\n date(MAX(txn_date), 'start of month') AS last_month\n FROM customer_transactions\n),\nmonths(month_start) AS (\n SELECT first_month\n FROM month_bounds\n WHERE first_month IS NOT NULL\n\n UNION ALL\n\n SELECT date(m.month_start, '+1 month')\n FROM months AS m\n CROSS JOIN month_bounds AS b\n WHERE m.month_start < b.last_month\n),\ncustomers AS (\n SELECT DISTINCT customer_id\n FROM customer_transactions\n),\nmonthly_transactions AS (\n SELECT\n customer_id,\n date(txn_date, 'start of month') AS month_start,\n SUM(CASE txn_type\n WHEN 'deposit' THEN txn_amount\n WHEN 'withdrawal' THEN -txn_amount\n WHEN 'purchase' THEN -txn_amount\n END) AS monthly_change\n FROM customer_transactions\n GROUP BY customer_id, date(txn_date, 'start of month')\n),\ncustomer_months AS (\n SELECT\n c.customer_id,\n m.month_start,\n COALESCE(t.monthly_change, 0) AS monthly_change\n FROM customers AS c\n CROSS JOIN months AS m\n LEFT JOIN monthly_transactions AS t\n ON t.customer_id = c.customer_id\n AND t.month_start = m.month_start\n)\nSELECT\n customer_id,\n date(month_start, '+1 month', '-1 day') AS month_end,\n monthly_change,\n SUM(monthly_change) OVER (\n PARTITION BY customer_id\n ORDER BY month_start\n ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW\n ) AS closing_balance\nFROM customer_months\nORDER BY customer_id, month_start;\n```", "rows": 2000, "sql": "WITH RECURSIVE\nmonth_bounds AS (\n SELECT\n date(MIN(txn_date), 'start of month') AS first_month,\n date(MAX(txn_date), 'start of month') AS last_month\n FROM customer_transactions\n),\nmonths(month_start) AS (\n SELECT first_month\n FROM month_bounds\n WHERE first_month IS NOT NULL\n\n UNION ALL\n\n SELECT date(m.month_start, '+1 month')\n FROM months AS m\n CROSS JOIN month_bounds AS b\n WHERE m.month_start < b.last_month\n),\ncustomers AS (\n SELECT DISTINCT customer_id\n FROM customer_transactions\n),\nmonthly_transactions AS (\n SELECT\n customer_id,\n date(txn_date, 'start of month') AS month_start,\n SUM(CASE txn_type\n WHEN 'deposit' THEN txn_amount\n WHEN 'withdrawal' THEN -txn_amount\n WHEN 'purchase' THEN -txn_amount\n END) AS monthly_change\n FROM customer_transactions\n GROUP BY customer_id, date(txn_date, 'start of month')\n),\ncustomer_months AS (\n SELECT\n c.customer_id,\n m.month_start,\n COALESCE(t.monthly_change, 0) AS monthly_change\n FROM customers AS c\n CROSS JOIN months AS m\n LEFT JOIN monthly_transactions AS t\n ON t.customer_id = c.customer_id\n AND t.month_start = m.month_start\n)\nSELECT\n customer_id,\n date(month_start, '+1 month', '-1 day') AS month_end,\n monthly_change,\n SUM(monthly_change) OVER (\n PARTITION BY customer_id\n ORDER BY month_start\n ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW\n ) AS closing_balance\nFROM customer_months\nORDER BY customer_id, month_start;", "seconds": 23.018822000012733, "calls": [{"seconds": 2.642416915972717, "usage": {"completion_tokens": 66, "prompt_tokens": 1710, "total_tokens": 1776, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1105, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1105, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1105, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.887811625027098, "usage": {"completion_tokens": 192, "prompt_tokens": 1888, "total_tokens": 2080, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 126, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 178, "cached_tokens": 1105, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 178, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 178, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.463436707970686, "usage": {"completion_tokens": 484, "prompt_tokens": 2253, "total_tokens": 2737, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 52, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 365, "cached_tokens": 1283, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 365, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 365, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.987803584081121, "usage": {"completion_tokens": 414, "prompt_tokens": 3350, "total_tokens": 3764, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 23, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1097, "cached_tokens": 1648, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1097, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1097, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "40398efc838c6067b0683aa2bc6ade19cbb898854b349491a4fd6537bd733985", "csv_sha256": "3303664cd02285e540ce6e157676415e171ee583ab7eac5856709f834a42d468"} +{"instance_id": "local075", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH purchase_visits AS (\n SELECT DISTINCT visit_id\n FROM shopping_cart_events\n WHERE event_type = 3\n)\nSELECT\n p.page_name AS product_name,\n COUNT(CASE WHEN e.event_type = 1 THEN 1 END) AS views,\n COUNT(CASE WHEN e.event_type = 2 THEN 1 END) AS cart_adds,\n COUNT(CASE WHEN e.event_type = 2 AND pv.visit_id IS NULL THEN 1 END) AS abandoned_cart_adds,\n COUNT(CASE WHEN e.event_type = 2 AND pv.visit_id IS NOT NULL THEN 1 END) AS purchases\nFROM shopping_cart_page_hierarchy AS p\nLEFT JOIN shopping_cart_events AS e\n ON e.page_id = p.page_id AND e.event_type IN (1, 2)\nLEFT JOIN purchase_visits AS pv\n ON pv.visit_id = e.visit_id\nWHERE p.page_id NOT IN (1, 2, 12, 13)\nGROUP BY p.page_id, p.page_name\nORDER BY p.page_id;\n```", "rows": 9, "sql": "WITH purchase_visits AS (\n SELECT DISTINCT visit_id\n FROM shopping_cart_events\n WHERE event_type = 3\n)\nSELECT\n p.page_name AS product_name,\n COUNT(CASE WHEN e.event_type = 1 THEN 1 END) AS views,\n COUNT(CASE WHEN e.event_type = 2 THEN 1 END) AS cart_adds,\n COUNT(CASE WHEN e.event_type = 2 AND pv.visit_id IS NULL THEN 1 END) AS abandoned_cart_adds,\n COUNT(CASE WHEN e.event_type = 2 AND pv.visit_id IS NOT NULL THEN 1 END) AS purchases\nFROM shopping_cart_page_hierarchy AS p\nLEFT JOIN shopping_cart_events AS e\n ON e.page_id = p.page_id AND e.event_type IN (1, 2)\nLEFT JOIN purchase_visits AS pv\n ON pv.visit_id = e.visit_id\nWHERE p.page_id NOT IN (1, 2, 12, 13)\nGROUP BY p.page_id, p.page_name\nORDER BY p.page_id;", "seconds": 29.79384541604668, "calls": [{"seconds": 3.5607379160355777, "usage": {"completion_tokens": 88, "prompt_tokens": 1729, "total_tokens": 1817, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1124, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1124, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1124, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.773522292030975, "usage": {"completion_tokens": 189, "prompt_tokens": 1967, "total_tokens": 2156, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 85, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 238, "cached_tokens": 1124, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 238, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 238, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.379835832980461, "usage": {"completion_tokens": 285, "prompt_tokens": 2382, "total_tokens": 2667, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 33, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 415, "cached_tokens": 1362, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 415, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 415, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.853479375015013, "usage": {"completion_tokens": 338, "prompt_tokens": 3138, "total_tokens": 3476, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 91, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 756, "cached_tokens": 1777, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 756, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 756, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.11399820796214, "usage": {"completion_tokens": 258, "prompt_tokens": 3889, "total_tokens": 4147, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 28, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 751, "cached_tokens": 2533, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 751, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 751, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "70f3469f945ff84017eed876b69c57bfedf36fd24cfc74bc4132fc312349e3e6", "csv_sha256": "5ae5a600c95f250b577c9932fc5a49171125216a5655aa41aa59292505939d41"} +{"instance_id": "local077", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH interest_monthly AS (\n SELECT printf('%04d-%02d-01', _year, _month) AS month_date,\n interest_id,\n AVG(1.0 * composition / NULLIF(index_value, 0)) AS index_composition\n FROM interest_metrics\n WHERE _year * 100 + _month BETWEEN 201807 AND 201908\n GROUP BY 1, 2\n), ranked AS (\n SELECT month_date,\n interest_id,\n index_composition,\n ROW_NUMBER() OVER (\n PARTITION BY month_date\n ORDER BY index_composition DESC, interest_id\n ) AS monthly_rank\n FROM interest_monthly\n), monthly_top AS (\n SELECT r.month_date,\n m.interest_name,\n r.index_composition AS max_index_composition\n FROM ranked AS r\n JOIN interest_map AS m ON m.id = r.interest_id\n WHERE r.monthly_rank = 1\n), history AS (\n SELECT month_date,\n interest_name,\n max_index_composition,\n AVG(max_index_composition) OVER (\n ORDER BY month_date ROWS BETWEEN 2 PRECEDING AND CURRENT ROW\n ) AS three_month_rolling_avg,\n LAG(interest_name, 1) OVER (ORDER BY month_date) AS one_month_ago_interest_name,\n LAG(max_index_composition, 1) OVER (ORDER BY month_date) AS one_month_ago_max_index_composition,\n LAG(interest_name, 2) OVER (ORDER BY month_date) AS two_months_ago_interest_name,\n LAG(max_index_composition, 2) OVER (ORDER BY month_date) AS two_months_ago_max_index_composition\n FROM monthly_top\n)\nSELECT month_date,\n interest_name,\n ROUND(max_index_composition, 2) AS max_index_composition,\n ROUND(three_month_rolling_avg, 2) AS three_month_rolling_avg,\n one_month_ago_interest_name,\n ROUND(one_month_ago_max_index_composition, 2) AS one_month_ago_max_index_composition,\n two_months_ago_interest_name,\n ROUND(two_months_ago_max_index_composition, 2) AS two_months_ago_max_index_composition\nFROM history\nWHERE month_date >= '2018-09-01' AND month_date < '2019-09-01'\nORDER BY month_date;\n```", "rows": 12, "sql": "WITH interest_monthly AS (\n SELECT printf('%04d-%02d-01', _year, _month) AS month_date,\n interest_id,\n AVG(1.0 * composition / NULLIF(index_value, 0)) AS index_composition\n FROM interest_metrics\n WHERE _year * 100 + _month BETWEEN 201807 AND 201908\n GROUP BY 1, 2\n), ranked AS (\n SELECT month_date,\n interest_id,\n index_composition,\n ROW_NUMBER() OVER (\n PARTITION BY month_date\n ORDER BY index_composition DESC, interest_id\n ) AS monthly_rank\n FROM interest_monthly\n), monthly_top AS (\n SELECT r.month_date,\n m.interest_name,\n r.index_composition AS max_index_composition\n FROM ranked AS r\n JOIN interest_map AS m ON m.id = r.interest_id\n WHERE r.monthly_rank = 1\n), history AS (\n SELECT month_date,\n interest_name,\n max_index_composition,\n AVG(max_index_composition) OVER (\n ORDER BY month_date ROWS BETWEEN 2 PRECEDING AND CURRENT ROW\n ) AS three_month_rolling_avg,\n LAG(interest_name, 1) OVER (ORDER BY month_date) AS one_month_ago_interest_name,\n LAG(max_index_composition, 1) OVER (ORDER BY month_date) AS one_month_ago_max_index_composition,\n LAG(interest_name, 2) OVER (ORDER BY month_date) AS two_months_ago_interest_name,\n LAG(max_index_composition, 2) OVER (ORDER BY month_date) AS two_months_ago_max_index_composition\n FROM monthly_top\n)\nSELECT month_date,\n interest_name,\n ROUND(max_index_composition, 2) AS max_index_composition,\n ROUND(three_month_rolling_avg, 2) AS three_month_rolling_avg,\n one_month_ago_interest_name,\n ROUND(one_month_ago_max_index_composition, 2) AS one_month_ago_max_index_composition,\n two_months_ago_interest_name,\n ROUND(two_months_ago_max_index_composition, 2) AS two_months_ago_max_index_composition\nFROM history\nWHERE month_date >= '2018-09-01' AND month_date < '2019-09-01'\nORDER BY month_date;", "seconds": 36.195044917054474, "calls": [{"seconds": 2.347252874984406, "usage": {"completion_tokens": 52, "prompt_tokens": 1770, "total_tokens": 1822, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1165, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1165, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1165, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.579087583930232, "usage": {"completion_tokens": 540, "prompt_tokens": 1928, "total_tokens": 2468, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 290, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 158, "cached_tokens": 1165, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 158, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 158, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 15.147291166009381, "usage": {"completion_tokens": 886, "prompt_tokens": 3163, "total_tokens": 4049, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 328, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1235, "cached_tokens": 1323, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1235, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1235, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.053863415960222, "usage": {"completion_tokens": 591, "prompt_tokens": 5159, "total_tokens": 5750, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 71, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1996, "cached_tokens": 2558, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1996, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1996, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6042fafa23b2940cfe0c899c4ef7cd01a4768e20ace05c524c1caa7a63a86fd4", "csv_sha256": "42ca8e53aa1a2a5fea4d0dd93a7da0acd0726aa6c70df7f645f1dc0e261f0aaa"} +{"instance_id": "local078", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH monthly_peaks AS (\n SELECT\n im.id AS interest_id,\n im.interest_name,\n m._month,\n m._year,\n m.composition,\n ROW_NUMBER() OVER (\n PARTITION BY im.id\n ORDER BY m.composition DESC, m._year ASC NULLS LAST, m._month ASC NULLS LAST\n ) AS month_rank\n FROM interest_metrics AS m\n JOIN interest_map AS im ON im.id = m.interest_id\n WHERE m.composition IS NOT NULL\n), ranked_interests AS (\n SELECT\n CASE WHEN _month IS NOT NULL AND _year IS NOT NULL\n THEN printf('%02d-%04d', _month, _year)\n END AS time,\n interest_name,\n composition,\n ROW_NUMBER() OVER (ORDER BY composition DESC, interest_id) AS top_rank,\n ROW_NUMBER() OVER (ORDER BY composition ASC, interest_id) AS bottom_rank\n FROM monthly_peaks\n WHERE month_rank = 1\n), selected_interests AS (\n SELECT time, interest_name, composition, 1 AS sort_group, top_rank AS sort_rank\n FROM ranked_interests\n WHERE top_rank <= 10\n UNION ALL\n SELECT time, interest_name, composition, 2 AS sort_group, bottom_rank AS sort_rank\n FROM ranked_interests\n WHERE bottom_rank <= 10\n)\nSELECT time, interest_name, composition\nFROM selected_interests\nORDER BY sort_group, sort_rank;\n```", "rows": 20, "sql": "WITH monthly_peaks AS (\n SELECT\n im.id AS interest_id,\n im.interest_name,\n m._month,\n m._year,\n m.composition,\n ROW_NUMBER() OVER (\n PARTITION BY im.id\n ORDER BY m.composition DESC, m._year ASC NULLS LAST, m._month ASC NULLS LAST\n ) AS month_rank\n FROM interest_metrics AS m\n JOIN interest_map AS im ON im.id = m.interest_id\n WHERE m.composition IS NOT NULL\n), ranked_interests AS (\n SELECT\n CASE WHEN _month IS NOT NULL AND _year IS NOT NULL\n THEN printf('%02d-%04d', _month, _year)\n END AS time,\n interest_name,\n composition,\n ROW_NUMBER() OVER (ORDER BY composition DESC, interest_id) AS top_rank,\n ROW_NUMBER() OVER (ORDER BY composition ASC, interest_id) AS bottom_rank\n FROM monthly_peaks\n WHERE month_rank = 1\n), selected_interests AS (\n SELECT time, interest_name, composition, 1 AS sort_group, top_rank AS sort_rank\n FROM ranked_interests\n WHERE top_rank <= 10\n UNION ALL\n SELECT time, interest_name, composition, 2 AS sort_group, bottom_rank AS sort_rank\n FROM ranked_interests\n WHERE bottom_rank <= 10\n)\nSELECT time, interest_name, composition\nFROM selected_interests\nORDER BY sort_group, sort_rank;", "seconds": 20.80638404202182, "calls": [{"seconds": 2.806585207930766, "usage": {"completion_tokens": 52, "prompt_tokens": 1694, "total_tokens": 1746, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1089, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1089, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1089, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.980003000004217, "usage": {"completion_tokens": 610, "prompt_tokens": 1852, "total_tokens": 2462, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 257, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 158, "cached_tokens": 1089, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 158, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 158, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.959572416031733, "usage": {"completion_tokens": 347, "prompt_tokens": 3115, "total_tokens": 3462, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 22, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1263, "cached_tokens": 1247, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1263, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1263, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9426bace5328a32edb9ab84b71a621f5ecbf0035bd83595affed9211c17a3525", "csv_sha256": "cbb917027c8111e7f2bf8c880085907629b0be0480a80acfed97f9c344a10afc"} +{"instance_id": "local081", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH customer_spending AS (\n SELECT o.customerid,\n COALESCE(SUM(od.unitprice * od.quantity), 0) AS total_spent\n FROM orders AS o\n LEFT JOIN order_details AS od ON od.orderid = o.orderid\n WHERE o.orderdate >= '1998-01-01'\n AND o.orderdate < '1999-01-01'\n AND o.customerid IS NOT NULL\n GROUP BY o.customerid\n)\nSELECT t.groupname AS spending_group,\n COUNT(s.customerid) AS customer_count,\n 100.0 * COUNT(s.customerid) /\n NULLIF((SELECT COUNT(*) FROM customer_spending), 0) AS percentage_of_customers\nFROM customergroupthreshold AS t\nLEFT JOIN customer_spending AS s\n ON s.total_spent BETWEEN t.rangebottom AND t.rangetop\nGROUP BY t.groupname, t.rangebottom\nORDER BY t.rangebottom;\n```", "rows": 4, "sql": "WITH customer_spending AS (\n SELECT o.customerid,\n COALESCE(SUM(od.unitprice * od.quantity), 0) AS total_spent\n FROM orders AS o\n LEFT JOIN order_details AS od ON od.orderid = o.orderid\n WHERE o.orderdate >= '1998-01-01'\n AND o.orderdate < '1999-01-01'\n AND o.customerid IS NOT NULL\n GROUP BY o.customerid\n)\nSELECT t.groupname AS spending_group,\n COUNT(s.customerid) AS customer_count,\n 100.0 * COUNT(s.customerid) /\n NULLIF((SELECT COUNT(*) FROM customer_spending), 0) AS percentage_of_customers\nFROM customergroupthreshold AS t\nLEFT JOIN customer_spending AS s\n ON s.total_spent BETWEEN t.rangebottom AND t.rangetop\nGROUP BY t.groupname, t.rangebottom\nORDER BY t.rangebottom;", "seconds": 21.24882658291608, "calls": [{"seconds": 3.575126708019525, "usage": {"completion_tokens": 84, "prompt_tokens": 1709, "total_tokens": 1793, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1132, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.6241685829591006, "usage": {"completion_tokens": 35, "prompt_tokens": 2067, "total_tokens": 2102, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1490, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.452220750041306, "usage": {"completion_tokens": 462, "prompt_tokens": 2209, "total_tokens": 2671, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 235, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 142, "cached_tokens": 1490, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 142, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 142, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.581850624992512, "usage": {"completion_tokens": 208, "prompt_tokens": 2966, "total_tokens": 3174, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 757, "cached_tokens": 1632, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 757, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 757, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b6afd99dfc7ab35b1bfb00580f3486dc6e77340a5bb2d3e7634cb1a17bb41cd2", "csv_sha256": "6a37c27e5606a007ced4e380a9ab728f25d47e8a4fecec22c8aae94d4dbea889"} +{"instance_id": "local085", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH employee_order_counts AS (\n SELECT o.employeeid,\n COUNT(*) AS total_orders,\n SUM(CASE WHEN DATE(o.shippeddate) >= DATE(o.requireddate) THEN 1 ELSE 0 END) AS late_orders\n FROM orders AS o\n JOIN employees AS e ON e.employeeid = o.employeeid\n GROUP BY o.employeeid\n HAVING COUNT(*) > 50\n)\nSELECT employeeid,\n late_orders,\n 100.0 * late_orders / total_orders AS late_order_percentage\nFROM employee_order_counts\nORDER BY late_order_percentage DESC, employeeid\nLIMIT 3;\n```", "rows": 3, "sql": "WITH employee_order_counts AS (\n SELECT o.employeeid,\n COUNT(*) AS total_orders,\n SUM(CASE WHEN DATE(o.shippeddate) >= DATE(o.requireddate) THEN 1 ELSE 0 END) AS late_orders\n FROM orders AS o\n JOIN employees AS e ON e.employeeid = o.employeeid\n GROUP BY o.employeeid\n HAVING COUNT(*) > 50\n)\nSELECT employeeid,\n late_orders,\n 100.0 * late_orders / total_orders AS late_order_percentage\nFROM employee_order_counts\nORDER BY late_order_percentage DESC, employeeid\nLIMIT 3;", "seconds": 13.606924916966818, "calls": [{"seconds": 2.2922444159630686, "usage": {"completion_tokens": 19, "prompt_tokens": 1684, "total_tokens": 1703, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1107, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1107, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1107, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.1646399170858786, "usage": {"completion_tokens": 19, "prompt_tokens": 1806, "total_tokens": 1825, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 122, "cached_tokens": 1107, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 122, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 122, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.2662431669887155, "usage": {"completion_tokens": 220, "prompt_tokens": 1947, "total_tokens": 2167, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 66, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 141, "cached_tokens": 1229, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 141, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 141, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8725540419109166, "usage": {"completion_tokens": 137, "prompt_tokens": 2371, "total_tokens": 2508, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 424, "cached_tokens": 1370, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 424, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 424, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "910e3854c743729c0eb069e81fda420d5c50d7d279bffd9385229ef3d1130fe2", "csv_sha256": "c8e009da1876029de74b88a2535ef5a829818ad452dd0df55f5186f33c0b8dd6"} +{"instance_id": "local096", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH female_only_casts AS (\n SELECT c.MID\n FROM M_Cast AS c\n LEFT JOIN Person AS p ON p.PID = TRIM(c.PID)\n GROUP BY c.MID\n HAVING MIN(CASE WHEN p.Gender = 'Female' THEN 1 ELSE 0 END) = 1\n)\nSELECT CAST(SUBSTR(m.year, -4) AS INTEGER) AS year,\n COUNT(*) AS total_movies,\n 100.0 * COUNT(f.MID) / COUNT(*) AS percentage_exclusively_female\nFROM Movie AS m\nLEFT JOIN female_only_casts AS f ON f.MID = m.MID\nGROUP BY CAST(SUBSTR(m.year, -4) AS INTEGER)\nORDER BY year;\n```", "rows": 78, "sql": "WITH female_only_casts AS (\n SELECT c.MID\n FROM M_Cast AS c\n LEFT JOIN Person AS p ON p.PID = TRIM(c.PID)\n GROUP BY c.MID\n HAVING MIN(CASE WHEN p.Gender = 'Female' THEN 1 ELSE 0 END) = 1\n)\nSELECT CAST(SUBSTR(m.year, -4) AS INTEGER) AS year,\n COUNT(*) AS total_movies,\n 100.0 * COUNT(f.MID) / COUNT(*) AS percentage_exclusively_female\nFROM Movie AS m\nLEFT JOIN female_only_casts AS f ON f.MID = m.MID\nGROUP BY CAST(SUBSTR(m.year, -4) AS INTEGER)\nORDER BY year;", "seconds": 25.73293762502726, "calls": [{"seconds": 2.6827011660207063, "usage": {"completion_tokens": 67, "prompt_tokens": 1716, "total_tokens": 1783, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1143, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.7830274580046535, "usage": {"completion_tokens": 234, "prompt_tokens": 1897, "total_tokens": 2131, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 102, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1324, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.968604583060369, "usage": {"completion_tokens": 271, "prompt_tokens": 2502, "total_tokens": 2773, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 127, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 605, "cached_tokens": 1324, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 605, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 605, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.107930375030264, "usage": {"completion_tokens": 187, "prompt_tokens": 2981, "total_tokens": 3168, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 479, "cached_tokens": 1929, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 479, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 479, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.010218624956906, "usage": {"completion_tokens": 167, "prompt_tokens": 3921, "total_tokens": 4088, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 940, "cached_tokens": 2408, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 940, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 940, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "80b2066c8139a09974660a95be15b825b731acf3cc3855cb70e15acec4163c49", "csv_sha256": "1d38194dac82f4731e7d923a018778ab99b8365fc1d8918ad06a542c181b45ed"} +{"instance_id": "local097", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH yearly_counts AS (\n SELECT CAST(SUBSTR(TRIM(year), -4) AS INTEGER) AS release_year,\n COUNT(*) AS film_count\n FROM Movie\n GROUP BY release_year\n)\nSELECT s.release_year AS start_year,\n SUM(y.film_count) AS total_count\nFROM yearly_counts AS s\nJOIN yearly_counts AS y\n ON y.release_year >= s.release_year\n AND y.release_year < s.release_year + 10\nGROUP BY s.release_year\nORDER BY total_count DESC, start_year ASC\nLIMIT 1;\n```", "rows": 1, "sql": "WITH yearly_counts AS (\n SELECT CAST(SUBSTR(TRIM(year), -4) AS INTEGER) AS release_year,\n COUNT(*) AS film_count\n FROM Movie\n GROUP BY release_year\n)\nSELECT s.release_year AS start_year,\n SUM(y.film_count) AS total_count\nFROM yearly_counts AS s\nJOIN yearly_counts AS y\n ON y.release_year >= s.release_year\n AND y.release_year < s.release_year + 10\nGROUP BY s.release_year\nORDER BY total_count DESC, start_year ASC\nLIMIT 1;", "seconds": 18.58884666697122, "calls": [{"seconds": 2.095562750007957, "usage": {"completion_tokens": 19, "prompt_tokens": 1674, "total_tokens": 1693, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1101, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1101, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1101, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.784726333920844, "usage": {"completion_tokens": 107, "prompt_tokens": 1739, "total_tokens": 1846, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 36, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 65, "cached_tokens": 1101, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 65, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 65, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4169524590251967, "usage": {"completion_tokens": 87, "prompt_tokens": 2163, "total_tokens": 2250, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 424, "cached_tokens": 1166, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 424, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 424, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.201611208030954, "usage": {"completion_tokens": 180, "prompt_tokens": 2369, "total_tokens": 2549, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 41, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 206, "cached_tokens": 1590, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 206, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 206, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.070834917016327, "usage": {"completion_tokens": 124, "prompt_tokens": 2698, "total_tokens": 2822, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 329, "cached_tokens": 1796, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 329, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 329, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "43d838ad682a109b0f5272c47453466bf27eabf89dc51319ef95feeceddf41a8", "csv_sha256": "bbc24a5d6c7f144cb9df4fefe0757201b00e8a3b2d63b2614ccc3c76256e4361"} +{"instance_id": "local098", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH appearance_years AS (\n SELECT DISTINCT\n TRIM(c.PID) AS actor_id,\n CAST(SUBSTR(TRIM(m.year), -4) AS INTEGER) AS film_year\n FROM M_Cast AS c\n JOIN Movie AS m ON m.MID = c.MID\n WHERE TRIM(c.PID) <> ''\n AND SUBSTR(TRIM(m.year), -4) GLOB '[0-9][0-9][0-9][0-9]'\n), consecutive_appearances AS (\n SELECT actor_id, film_year,\n LAG(film_year) OVER (PARTITION BY actor_id ORDER BY film_year) AS previous_year\n FROM appearance_years\n)\nSELECT COUNT(*) AS actor_count\nFROM (\n SELECT actor_id\n FROM consecutive_appearances\n GROUP BY actor_id\n HAVING MAX(CASE WHEN film_year - previous_year > 4 THEN 1 ELSE 0 END) = 0\n) AS qualifying_actors;\n```", "rows": 1, "sql": "WITH appearance_years AS (\n SELECT DISTINCT\n TRIM(c.PID) AS actor_id,\n CAST(SUBSTR(TRIM(m.year), -4) AS INTEGER) AS film_year\n FROM M_Cast AS c\n JOIN Movie AS m ON m.MID = c.MID\n WHERE TRIM(c.PID) <> ''\n AND SUBSTR(TRIM(m.year), -4) GLOB '[0-9][0-9][0-9][0-9]'\n), consecutive_appearances AS (\n SELECT actor_id, film_year,\n LAG(film_year) OVER (PARTITION BY actor_id ORDER BY film_year) AS previous_year\n FROM appearance_years\n)\nSELECT COUNT(*) AS actor_count\nFROM (\n SELECT actor_id\n FROM consecutive_appearances\n GROUP BY actor_id\n HAVING MAX(CASE WHEN film_year - previous_year > 4 THEN 1 ELSE 0 END) = 0\n) AS qualifying_actors;", "seconds": 58.53766170900781, "calls": [{"seconds": 2.809459083015099, "usage": {"completion_tokens": 81, "prompt_tokens": 1678, "total_tokens": 1759, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1105, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1105, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1105, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.64190604200121, "usage": {"completion_tokens": 36, "prompt_tokens": 1901, "total_tokens": 1937, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 223, "cached_tokens": 1105, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 223, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 223, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.825577999930829, "usage": {"completion_tokens": 161, "prompt_tokens": 2131, "total_tokens": 2292, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 230, "cached_tokens": 1328, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 230, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 230, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.965043624979444, "usage": {"completion_tokens": 62, "prompt_tokens": 2489, "total_tokens": 2551, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 358, "cached_tokens": 1558, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 358, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 358, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.9743407919304445, "usage": {"completion_tokens": 215, "prompt_tokens": 3003, "total_tokens": 3218, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 54, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 514, "cached_tokens": 1916, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 514, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 514, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.1826779580442235, "usage": {"completion_tokens": 280, "prompt_tokens": 3427, "total_tokens": 3707, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 43, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 424, "cached_tokens": 2430, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 424, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 424, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.8232314579654485, "usage": {"completion_tokens": 217, "prompt_tokens": 3944, "total_tokens": 4161, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 517, "cached_tokens": 2854, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 517, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 517, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e48524df228de5285e7c97543ef236586976fb8261823cc96c7bc24889f93eba", "csv_sha256": "fe04c7013075fa9580c344007864af353b978fe27b37f8c258a40828ce6424db"} +{"instance_id": "local099", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH yash_chopra AS (\n SELECT DISTINCT TRIM(PID) AS director_id\n FROM Person\n WHERE TRIM(Name) = 'Yash Chopra' COLLATE NOCASE\n), collaboration_counts AS (\n SELECT TRIM(c.PID) AS actor_id,\n TRIM(d.PID) AS director_id,\n COUNT(DISTINCT c.MID) AS film_count\n FROM M_Cast AS c\n JOIN M_Director AS d ON d.MID = c.MID\n GROUP BY TRIM(c.PID), TRIM(d.PID)\n)\nSELECT COUNT(DISTINCT y.actor_id) AS actor_count\nFROM collaboration_counts AS y\nJOIN yash_chopra AS p ON p.director_id = y.director_id\nWHERE NOT EXISTS (\n SELECT 1\n FROM collaboration_counts AS other\n WHERE other.actor_id = y.actor_id\n AND other.director_id <> y.director_id\n AND other.film_count >= y.film_count\n);\n```", "rows": 1, "sql": "WITH yash_chopra AS (\n SELECT DISTINCT TRIM(PID) AS director_id\n FROM Person\n WHERE TRIM(Name) = 'Yash Chopra' COLLATE NOCASE\n), collaboration_counts AS (\n SELECT TRIM(c.PID) AS actor_id,\n TRIM(d.PID) AS director_id,\n COUNT(DISTINCT c.MID) AS film_count\n FROM M_Cast AS c\n JOIN M_Director AS d ON d.MID = c.MID\n GROUP BY TRIM(c.PID), TRIM(d.PID)\n)\nSELECT COUNT(DISTINCT y.actor_id) AS actor_count\nFROM collaboration_counts AS y\nJOIN yash_chopra AS p ON p.director_id = y.director_id\nWHERE NOT EXISTS (\n SELECT 1\n FROM collaboration_counts AS other\n WHERE other.actor_id = y.actor_id\n AND other.director_id <> y.director_id\n AND other.film_count >= y.film_count\n);", "seconds": 25.736083875061013, "calls": [{"seconds": 3.0117750419303775, "usage": {"completion_tokens": 85, "prompt_tokens": 1662, "total_tokens": 1747, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1089, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1089, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1089, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.427130208001472, "usage": {"completion_tokens": 155, "prompt_tokens": 1897, "total_tokens": 2052, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 51, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 235, "cached_tokens": 1089, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 235, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 235, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.843490917002782, "usage": {"completion_tokens": 277, "prompt_tokens": 2210, "total_tokens": 2487, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 121, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 313, "cached_tokens": 1324, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 313, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 313, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.294326875009574, "usage": {"completion_tokens": 295, "prompt_tokens": 2694, "total_tokens": 2989, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 59, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 484, "cached_tokens": 1637, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 484, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 484, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.915912416996434, "usage": {"completion_tokens": 218, "prompt_tokens": 3226, "total_tokens": 3444, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 532, "cached_tokens": 2121, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 532, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 532, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6fa92997be778d9c588f8e42ad80b3de71e3caaf4358e577b334c1f089124d8c", "csv_sha256": "8c77ea949d31829a9cdd5750efff43c7cba22705f13479efaa592f32b245f586"} +{"instance_id": "local100", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH shahrukh AS (\n SELECT TRIM(PID) AS pid\n FROM Person\n WHERE TRIM(Name) = 'Shah Rukh Khan'\n), cast_credits AS (\n SELECT MID, TRIM(PID) AS pid\n FROM M_Cast\n WHERE PID IS NOT NULL\n), within_one_hop AS (\n SELECT DISTINCT coactor.pid\n FROM shahrukh AS s\n JOIN cast_credits AS starring ON starring.pid = s.pid\n JOIN cast_credits AS coactor ON coactor.MID = starring.MID\n), exactly_two_hops AS (\n SELECT candidate.pid\n FROM within_one_hop AS w\n JOIN cast_credits AS bridge ON bridge.pid = w.pid\n JOIN cast_credits AS candidate ON candidate.MID = bridge.MID\n EXCEPT\n SELECT pid FROM within_one_hop\n)\nSELECT COUNT(*) AS actor_count\nFROM exactly_two_hops;\n```", "rows": 1, "sql": "WITH shahrukh AS (\n SELECT TRIM(PID) AS pid\n FROM Person\n WHERE TRIM(Name) = 'Shah Rukh Khan'\n), cast_credits AS (\n SELECT MID, TRIM(PID) AS pid\n FROM M_Cast\n WHERE PID IS NOT NULL\n), within_one_hop AS (\n SELECT DISTINCT coactor.pid\n FROM shahrukh AS s\n JOIN cast_credits AS starring ON starring.pid = s.pid\n JOIN cast_credits AS coactor ON coactor.MID = starring.MID\n), exactly_two_hops AS (\n SELECT candidate.pid\n FROM within_one_hop AS w\n JOIN cast_credits AS bridge ON bridge.pid = w.pid\n JOIN cast_credits AS candidate ON candidate.MID = bridge.MID\n EXCEPT\n SELECT pid FROM within_one_hop\n)\nSELECT COUNT(*) AS actor_count\nFROM exactly_two_hops;", "seconds": 68.04657616605982, "calls": [{"seconds": 2.7639474580064416, "usage": {"completion_tokens": 67, "prompt_tokens": 1661, "total_tokens": 1728, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1088, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1088, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1088, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.961875833105296, "usage": {"completion_tokens": 61, "prompt_tokens": 1842, "total_tokens": 1903, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 181, "cached_tokens": 1088, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 181, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 181, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.038099959027022, "usage": {"completion_tokens": 111, "prompt_tokens": 1984, "total_tokens": 2095, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 33, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 142, "cached_tokens": 1269, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 142, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 142, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.593891374999657, "usage": {"completion_tokens": 161, "prompt_tokens": 2212, "total_tokens": 2373, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 67, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 228, "cached_tokens": 1411, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 228, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 228, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5621080830460414, "usage": {"completion_tokens": 83, "prompt_tokens": 2500, "total_tokens": 2583, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 288, "cached_tokens": 1639, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 288, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 288, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.47350025002379, "usage": {"completion_tokens": 123, "prompt_tokens": 2699, "total_tokens": 2822, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 64, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 199, "cached_tokens": 1927, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 199, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 199, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.622787999920547, "usage": {"completion_tokens": 381, "prompt_tokens": 2903, "total_tokens": 3284, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 159, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 204, "cached_tokens": 2126, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 204, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 204, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.361150708049536, "usage": {"completion_tokens": 205, "prompt_tokens": 3509, "total_tokens": 3714, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 606, "cached_tokens": 2330, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 606, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 606, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0998fec8c87db19f7fcfc982278b002c9d917708e4fc41ef57e6ea36aa934f0b", "csv_sha256": "43dae7db0a5d2a52ed3b1e65f8fb52dc0fd068aa95c7cb26cba7e06c941ea8ab"} +{"instance_id": "local114", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH rep_sales AS (\n SELECT sr.region_id,\n sr.id AS rep_id,\n sr.name AS rep_name,\n COUNT(o.id) AS order_count,\n SUM(o.total_amt_usd) AS rep_sales_amount\n FROM web_sales_reps AS sr\n JOIN web_accounts AS a ON a.sales_rep_id = sr.id\n JOIN web_orders AS o ON o.account_id = a.id\n GROUP BY sr.region_id, sr.id, sr.name\n), region_sales AS (\n SELECT region_id,\n SUM(order_count) AS order_count,\n SUM(rep_sales_amount) AS total_sales_amount,\n MAX(rep_sales_amount) AS highest_rep_sales_amount\n FROM rep_sales\n GROUP BY region_id\n)\nSELECT r.name AS region,\n COALESCE(rs.order_count, 0) AS order_count,\n rs.total_sales_amount,\n s.rep_name AS top_sales_rep,\n s.rep_sales_amount AS top_sales_rep_amount\nFROM web_region AS r\nLEFT JOIN region_sales AS rs ON rs.region_id = r.id\nLEFT JOIN rep_sales AS s ON s.region_id = r.id\n AND s.rep_sales_amount = rs.highest_rep_sales_amount\nORDER BY r.name, s.rep_name, s.rep_id;\n```", "rows": 4, "sql": "WITH rep_sales AS (\n SELECT sr.region_id,\n sr.id AS rep_id,\n sr.name AS rep_name,\n COUNT(o.id) AS order_count,\n SUM(o.total_amt_usd) AS rep_sales_amount\n FROM web_sales_reps AS sr\n JOIN web_accounts AS a ON a.sales_rep_id = sr.id\n JOIN web_orders AS o ON o.account_id = a.id\n GROUP BY sr.region_id, sr.id, sr.name\n), region_sales AS (\n SELECT region_id,\n SUM(order_count) AS order_count,\n SUM(rep_sales_amount) AS total_sales_amount,\n MAX(rep_sales_amount) AS highest_rep_sales_amount\n FROM rep_sales\n GROUP BY region_id\n)\nSELECT r.name AS region,\n COALESCE(rs.order_count, 0) AS order_count,\n rs.total_sales_amount,\n s.rep_name AS top_sales_rep,\n s.rep_sales_amount AS top_sales_rep_amount\nFROM web_region AS r\nLEFT JOIN region_sales AS rs ON rs.region_id = r.id\nLEFT JOIN rep_sales AS s ON s.region_id = r.id\n AND s.rep_sales_amount = rs.highest_rep_sales_amount\nORDER BY r.name, s.rep_name, s.rep_id;", "seconds": 24.627267125062644, "calls": [{"seconds": 3.4928568339673802, "usage": {"completion_tokens": 100, "prompt_tokens": 1705, "total_tokens": 1805, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1098, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1098, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1098, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.864517042064108, "usage": {"completion_tokens": 554, "prompt_tokens": 2030, "total_tokens": 2584, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 261, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 325, "cached_tokens": 1098, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 325, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 325, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.253179375082254, "usage": {"completion_tokens": 401, "prompt_tokens": 2996, "total_tokens": 3397, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 131, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 966, "cached_tokens": 1423, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 966, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 966, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "824e0a5aac9e1cafd5719169aab2c3b666ff8b7d4238302506ecd9024a6d1d72", "csv_sha256": "3ef7216c100dfe19331a8aed24f7ea3abfc63497bcb9f0358713ee12b62bf75f"} +{"instance_id": "local128", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH qualifying_games AS (\n SELECT s.BowlerID,\n s.MatchID,\n s.GameNumber,\n s.HandiCapScore,\n t.TourneyDate,\n t.TourneyLocation\n FROM Bowler_Scores AS s\n JOIN Tourney_Matches AS m ON m.MatchID = s.MatchID\n JOIN Tournaments AS t ON t.TourneyID = m.TourneyID\n WHERE s.WonGame = 1\n AND s.HandiCapScore <= 190\n AND t.TourneyLocation IN ('Thunderbird Lanes', 'Totem Lanes', 'Bolero Lanes')\n), qualifying_bowlers AS (\n SELECT BowlerID\n FROM qualifying_games\n GROUP BY BowlerID\n HAVING COUNT(DISTINCT TourneyLocation) = 3\n)\nSELECT b.BowlerID,\n b.BowlerFirstName,\n b.BowlerLastName,\n g.MatchID,\n g.GameNumber,\n g.HandiCapScore,\n g.TourneyDate,\n g.TourneyLocation\nFROM qualifying_games AS g\nJOIN qualifying_bowlers AS q ON q.BowlerID = g.BowlerID\nJOIN Bowlers AS b ON b.BowlerID = g.BowlerID\nORDER BY b.BowlerID, g.MatchID, g.GameNumber;\n```", "rows": 11, "sql": "WITH qualifying_games AS (\n SELECT s.BowlerID,\n s.MatchID,\n s.GameNumber,\n s.HandiCapScore,\n t.TourneyDate,\n t.TourneyLocation\n FROM Bowler_Scores AS s\n JOIN Tourney_Matches AS m ON m.MatchID = s.MatchID\n JOIN Tournaments AS t ON t.TourneyID = m.TourneyID\n WHERE s.WonGame = 1\n AND s.HandiCapScore <= 190\n AND t.TourneyLocation IN ('Thunderbird Lanes', 'Totem Lanes', 'Bolero Lanes')\n), qualifying_bowlers AS (\n SELECT BowlerID\n FROM qualifying_games\n GROUP BY BowlerID\n HAVING COUNT(DISTINCT TourneyLocation) = 3\n)\nSELECT b.BowlerID,\n b.BowlerFirstName,\n b.BowlerLastName,\n g.MatchID,\n g.GameNumber,\n g.HandiCapScore,\n g.TourneyDate,\n g.TourneyLocation\nFROM qualifying_games AS g\nJOIN qualifying_bowlers AS q ON q.BowlerID = g.BowlerID\nJOIN Bowlers AS b ON b.BowlerID = g.BowlerID\nORDER BY b.BowlerID, g.MatchID, g.GameNumber;", "seconds": 16.299869291950017, "calls": [{"seconds": 3.535967417061329, "usage": {"completion_tokens": 120, "prompt_tokens": 1721, "total_tokens": 1841, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1139, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1139, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1139, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.585512749967165, "usage": {"completion_tokens": 368, "prompt_tokens": 2186, "total_tokens": 2554, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 57, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 465, "cached_tokens": 1139, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 465, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 465, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.1572777080582455, "usage": {"completion_tokens": 314, "prompt_tokens": 3212, "total_tokens": 3526, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 29, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1026, "cached_tokens": 1604, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1026, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1026, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d126fddb716328394335d5207a1cfb413293aa82ecbf5e2ee4a553bd955449e7", "csv_sha256": "f60d585c7d1ee6d5489b1908827f4e607fa5fb2bb38e55b014be31dca0ae3376"} +{"instance_id": "local130", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH completed_english AS (\n SELECT st.StudentID, st.StudLastName, ss.ClassID, ss.Grade\n FROM Student_Schedules AS ss\n JOIN Students AS st ON st.StudentID = ss.StudentID\n JOIN Classes AS c ON c.ClassID = ss.ClassID\n JOIN Subjects AS s ON s.SubjectID = c.SubjectID\n WHERE ss.ClassStatus = 2\n AND s.CategoryID = 'ENG'\n), student_total AS (\n SELECT COUNT(DISTINCT StudentID) AS student_count\n FROM completed_english\n), ranked AS (\n SELECT e.*,\n 1.0 * (\n SELECT COUNT(DISTINCT peer.StudentID)\n FROM completed_english AS peer\n WHERE peer.Grade >= e.Grade\n ) / t.student_count AS rank_fraction\n FROM completed_english AS e\n CROSS JOIN student_total AS t\n)\nSELECT StudLastName,\n CASE\n WHEN Grade IS NULL THEN NULL\n WHEN rank_fraction <= 0.20 THEN 'First'\n WHEN rank_fraction <= 0.40 THEN 'Second'\n WHEN rank_fraction <= 0.60 THEN 'Third'\n WHEN rank_fraction <= 0.80 THEN 'Fourth'\n ELSE 'Fifth'\n END AS Quintile\nFROM ranked\nORDER BY Grade IS NULL, rank_fraction, Grade DESC, StudLastName, StudentID, ClassID;\n```", "rows": 18, "sql": "WITH completed_english AS (\n SELECT st.StudentID, st.StudLastName, ss.ClassID, ss.Grade\n FROM Student_Schedules AS ss\n JOIN Students AS st ON st.StudentID = ss.StudentID\n JOIN Classes AS c ON c.ClassID = ss.ClassID\n JOIN Subjects AS s ON s.SubjectID = c.SubjectID\n WHERE ss.ClassStatus = 2\n AND s.CategoryID = 'ENG'\n), student_total AS (\n SELECT COUNT(DISTINCT StudentID) AS student_count\n FROM completed_english\n), ranked AS (\n SELECT e.*,\n 1.0 * (\n SELECT COUNT(DISTINCT peer.StudentID)\n FROM completed_english AS peer\n WHERE peer.Grade >= e.Grade\n ) / t.student_count AS rank_fraction\n FROM completed_english AS e\n CROSS JOIN student_total AS t\n)\nSELECT StudLastName,\n CASE\n WHEN Grade IS NULL THEN NULL\n WHEN rank_fraction <= 0.20 THEN 'First'\n WHEN rank_fraction <= 0.40 THEN 'Second'\n WHEN rank_fraction <= 0.60 THEN 'Third'\n WHEN rank_fraction <= 0.80 THEN 'Fourth'\n ELSE 'Fifth'\n END AS Quintile\nFROM ranked\nORDER BY Grade IS NULL, rank_fraction, Grade DESC, StudLastName, StudentID, ClassID;", "seconds": 29.91664683399722, "calls": [{"seconds": 3.3873074169969186, "usage": {"completion_tokens": 114, "prompt_tokens": 1777, "total_tokens": 1891, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1201, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1201, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1201, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.262165582971647, "usage": {"completion_tokens": 134, "prompt_tokens": 2242, "total_tokens": 2376, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 57, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 465, "cached_tokens": 1201, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 465, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 465, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.622836875030771, "usage": {"completion_tokens": 131, "prompt_tokens": 2567, "total_tokens": 2698, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 325, "cached_tokens": 1666, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 325, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 325, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.883227083017118, "usage": {"completion_tokens": 692, "prompt_tokens": 2863, "total_tokens": 3555, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 365, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 296, "cached_tokens": 1991, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 296, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 296, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.724122749990784, "usage": {"completion_tokens": 302, "prompt_tokens": 3973, "total_tokens": 4275, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1110, "cached_tokens": 2287, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1110, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1110, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b7a6c8b87cca8860ed677c8c380638f04314f5053c0a644eb799e7050ceb0b86", "csv_sha256": "248e7302dec11c1447f6c4cf3746e7efb13d3555f5061f1118a68ee2917cc004"} +{"instance_id": "local131", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n s.StyleName,\n COUNT(CASE WHEN p.PreferenceSeq = 1 THEN 1 END) AS FirstPreferenceCount,\n COUNT(CASE WHEN p.PreferenceSeq = 2 THEN 1 END) AS SecondPreferenceCount,\n COUNT(CASE WHEN p.PreferenceSeq = 3 THEN 1 END) AS ThirdPreferenceCount\nFROM Musical_Styles AS s\nLEFT JOIN Musical_Preferences AS p ON p.StyleID = s.StyleID\nGROUP BY s.StyleID, s.StyleName\nORDER BY s.StyleName, s.StyleID;\n```", "rows": 25, "sql": "SELECT\n s.StyleName,\n COUNT(CASE WHEN p.PreferenceSeq = 1 THEN 1 END) AS FirstPreferenceCount,\n COUNT(CASE WHEN p.PreferenceSeq = 2 THEN 1 END) AS SecondPreferenceCount,\n COUNT(CASE WHEN p.PreferenceSeq = 3 THEN 1 END) AS ThirdPreferenceCount\nFROM Musical_Styles AS s\nLEFT JOIN Musical_Preferences AS p ON p.StyleID = s.StyleID\nGROUP BY s.StyleID, s.StyleName\nORDER BY s.StyleName, s.StyleID;", "seconds": 10.645633499952964, "calls": [{"seconds": 3.1022034999914467, "usage": {"completion_tokens": 56, "prompt_tokens": 1664, "total_tokens": 1720, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1083, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1083, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1083, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.777866833959706, "usage": {"completion_tokens": 133, "prompt_tokens": 1798, "total_tokens": 1931, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 134, "cached_tokens": 1083, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 134, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 134, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7534212090540677, "usage": {"completion_tokens": 121, "prompt_tokens": 2399, "total_tokens": 2520, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 601, "cached_tokens": 1217, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 601, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 601, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "c75f19b9e34bc0fb4fcf00774de3037ce64b6c337724648835f590c37fd7ccb7", "csv_sha256": "f4da1061f3a733d29c649fd2eadc81b791ba3637d66a8f2028291ae995cc767d"} +{"instance_id": "local132", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH MatchingPairs AS (\n SELECT DISTINCT es1.EntertainerID, mp1.CustomerID\n FROM Entertainer_Styles AS es1\n JOIN Entertainer_Styles AS es2\n ON es2.EntertainerID = es1.EntertainerID\n AND es2.StyleStrength = 2\n JOIN Musical_Preferences AS mp1\n ON mp1.PreferenceSeq = 1\n AND mp1.StyleID IN (es1.StyleID, es2.StyleID)\n JOIN Musical_Preferences AS mp2\n ON mp2.CustomerID = mp1.CustomerID\n AND mp2.PreferenceSeq = 2\n WHERE es1.StyleStrength = 1\n AND (\n (mp1.StyleID = es1.StyleID AND mp2.StyleID = es2.StyleID)\n OR (mp1.StyleID = es2.StyleID AND mp2.StyleID = es1.StyleID)\n )\n AND es1.EntertainerID IN (\n SELECT EntertainerID\n FROM Entertainer_Styles\n GROUP BY EntertainerID\n HAVING COUNT(*) <= 3\n )\n AND mp1.CustomerID IN (\n SELECT CustomerID\n FROM Musical_Preferences\n GROUP BY CustomerID\n HAVING COUNT(*) <= 3\n )\n)\nSELECT e.EntStageName, c.CustLastName\nFROM MatchingPairs AS p\nJOIN Entertainers AS e ON e.EntertainerID = p.EntertainerID\nJOIN Customers AS c ON c.CustomerID = p.CustomerID;\n```", "rows": 6, "sql": "WITH MatchingPairs AS (\n SELECT DISTINCT es1.EntertainerID, mp1.CustomerID\n FROM Entertainer_Styles AS es1\n JOIN Entertainer_Styles AS es2\n ON es2.EntertainerID = es1.EntertainerID\n AND es2.StyleStrength = 2\n JOIN Musical_Preferences AS mp1\n ON mp1.PreferenceSeq = 1\n AND mp1.StyleID IN (es1.StyleID, es2.StyleID)\n JOIN Musical_Preferences AS mp2\n ON mp2.CustomerID = mp1.CustomerID\n AND mp2.PreferenceSeq = 2\n WHERE es1.StyleStrength = 1\n AND (\n (mp1.StyleID = es1.StyleID AND mp2.StyleID = es2.StyleID)\n OR (mp1.StyleID = es2.StyleID AND mp2.StyleID = es1.StyleID)\n )\n AND es1.EntertainerID IN (\n SELECT EntertainerID\n FROM Entertainer_Styles\n GROUP BY EntertainerID\n HAVING COUNT(*) <= 3\n )\n AND mp1.CustomerID IN (\n SELECT CustomerID\n FROM Musical_Preferences\n GROUP BY CustomerID\n HAVING COUNT(*) <= 3\n )\n)\nSELECT e.EntStageName, c.CustLastName\nFROM MatchingPairs AS p\nJOIN Entertainers AS e ON e.EntertainerID = p.EntertainerID\nJOIN Customers AS c ON c.CustomerID = p.CustomerID;", "seconds": 25.78764933301136, "calls": [{"seconds": 2.9124954999424517, "usage": {"completion_tokens": 89, "prompt_tokens": 1687, "total_tokens": 1776, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1106, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1106, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1106, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.176328583038412, "usage": {"completion_tokens": 138, "prompt_tokens": 2059, "total_tokens": 2197, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 60, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 372, "cached_tokens": 1106, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 372, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 372, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.307577957981266, "usage": {"completion_tokens": 723, "prompt_tokens": 2356, "total_tokens": 3079, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 363, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 297, "cached_tokens": 1478, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 297, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 297, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.36462083295919, "usage": {"completion_tokens": 336, "prompt_tokens": 3484, "total_tokens": 3820, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1128, "cached_tokens": 1775, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1128, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1128, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ead7e0100eb7d4bd3261a1e7ac4235d9f61c29f8dd535ff3c55545e11b64f3e9", "csv_sha256": "79c820de19c85d4ccfcb5bd41ea363a597589a69b30b2181c2e4b9e20676fa8d"} +{"instance_id": "local133", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH style_scores AS (\n SELECT StyleID,\n SUM(CASE PreferenceSeq\n WHEN 1 THEN 3\n WHEN 2 THEN 2\n WHEN 3 THEN 1\n ELSE 0\n END) AS total_weighted_score\n FROM Musical_Preferences\n GROUP BY StyleID\n)\nSELECT ms.StyleName,\n ss.total_weighted_score,\n ABS(ss.total_weighted_score - AVG(ss.total_weighted_score) OVER ()) AS absolute_difference\nFROM style_scores AS ss\nJOIN Musical_Styles AS ms ON ms.StyleID = ss.StyleID;\n```", "rows": 20, "sql": "WITH style_scores AS (\n SELECT StyleID,\n SUM(CASE PreferenceSeq\n WHEN 1 THEN 3\n WHEN 2 THEN 2\n WHEN 3 THEN 1\n ELSE 0\n END) AS total_weighted_score\n FROM Musical_Preferences\n GROUP BY StyleID\n)\nSELECT ms.StyleName,\n ss.total_weighted_score,\n ABS(ss.total_weighted_score - AVG(ss.total_weighted_score) OVER ()) AS absolute_difference\nFROM style_scores AS ss\nJOIN Musical_Styles AS ms ON ms.StyleID = ss.StyleID;", "seconds": 13.283229875029065, "calls": [{"seconds": 2.5422556669218466, "usage": {"completion_tokens": 56, "prompt_tokens": 1759, "total_tokens": 1815, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1178, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1178, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1178, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.263642624951899, "usage": {"completion_tokens": 267, "prompt_tokens": 1893, "total_tokens": 2160, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 121, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 134, "cached_tokens": 1178, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 134, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 134, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.463062167051248, "usage": {"completion_tokens": 130, "prompt_tokens": 2604, "total_tokens": 2734, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 711, "cached_tokens": 1312, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 711, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 711, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "50bc15a3296cbe355263ae789e2afab6245ca0841d66e374eb5b90587e8bb3b7", "csv_sha256": "d3fcb793be8e1e9c0e5e2509ed9ef8997ebb65ac31188ee017d7e6a56a823661"} +{"instance_id": "local141", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH annual_sales AS (\n SELECT salespersonid AS salesperson_id,\n CAST(strftime('%Y', orderdate) AS INTEGER) AS sales_year,\n SUM(totaldue) AS total_sales\n FROM salesorderheader\n WHERE salespersonid IS NOT NULL\n GROUP BY salespersonid, CAST(strftime('%Y', orderdate) AS INTEGER)\n), annual_quotas AS (\n SELECT BusinessEntityID AS salesperson_id,\n CAST(strftime('%Y', QuotaDate) AS INTEGER) AS sales_year,\n SUM(SalesQuota) AS annual_quota\n FROM SalesPersonQuotaHistory\n GROUP BY BusinessEntityID, CAST(strftime('%Y', QuotaDate) AS INTEGER)\n)\nSELECT s.salesperson_id,\n s.sales_year,\n s.total_sales - q.annual_quota AS sales_minus_quota\nFROM annual_sales AS s\nLEFT JOIN annual_quotas AS q\n ON q.salesperson_id = s.salesperson_id\n AND q.sales_year = s.sales_year\nORDER BY s.salesperson_id, s.sales_year;\n```", "rows": 62, "sql": "WITH annual_sales AS (\n SELECT salespersonid AS salesperson_id,\n CAST(strftime('%Y', orderdate) AS INTEGER) AS sales_year,\n SUM(totaldue) AS total_sales\n FROM salesorderheader\n WHERE salespersonid IS NOT NULL\n GROUP BY salespersonid, CAST(strftime('%Y', orderdate) AS INTEGER)\n), annual_quotas AS (\n SELECT BusinessEntityID AS salesperson_id,\n CAST(strftime('%Y', QuotaDate) AS INTEGER) AS sales_year,\n SUM(SalesQuota) AS annual_quota\n FROM SalesPersonQuotaHistory\n GROUP BY BusinessEntityID, CAST(strftime('%Y', QuotaDate) AS INTEGER)\n)\nSELECT s.salesperson_id,\n s.sales_year,\n s.total_sales - q.annual_quota AS sales_minus_quota\nFROM annual_sales AS s\nLEFT JOIN annual_quotas AS q\n ON q.salesperson_id = s.salesperson_id\n AND q.sales_year = s.sales_year\nORDER BY s.salesperson_id, s.sales_year;", "seconds": 36.277976291952655, "calls": [{"seconds": 3.1780762089183554, "usage": {"completion_tokens": 85, "prompt_tokens": 1661, "total_tokens": 1746, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1083, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1083, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1083, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.79491208307445, "usage": {"completion_tokens": 607, "prompt_tokens": 2069, "total_tokens": 2676, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 390, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 408, "cached_tokens": 1083, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 408, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 408, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.148579666973092, "usage": {"completion_tokens": 494, "prompt_tokens": 3001, "total_tokens": 3495, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 245, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 932, "cached_tokens": 1491, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 932, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 932, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.107843457954004, "usage": {"completion_tokens": 608, "prompt_tokens": 4486, "total_tokens": 5094, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 379, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1485, "cached_tokens": 2423, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "c8efe92c98b25cb20e7f59dc48a5be7f6ad8eb0bb2f4892e059b90b7440f2b85", "csv_sha256": "c1e7dda4dd5becae4995e4688cf2797a9669e7e9a64acee386758e6d772a6b62"} +{"instance_id": "local152", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH director_movies AS (\n SELECT\n dm.name_id AS director_id,\n m.id AS movie_id,\n julianday(m.date_published) AS release_day,\n m.duration,\n r.avg_rating,\n r.total_votes\n FROM director_mapping AS dm\n JOIN movies AS m ON m.id = dm.movie_id\n LEFT JOIN ratings AS r ON r.movie_id = m.id\n), release_gaps AS (\n SELECT\n *,\n release_day - LAG(release_day) OVER (\n PARTITION BY director_id\n ORDER BY release_day, movie_id\n ) AS days_since_previous_movie\n FROM director_movies\n)\nSELECT\n g.director_id,\n n.name AS director_name,\n COUNT(*) AS number_of_movies,\n CAST(ROUND(AVG(g.days_since_previous_movie)) AS INTEGER) AS avg_inter_movie_days,\n ROUND(AVG(g.avg_rating), 2) AS avg_rating,\n SUM(g.total_votes) AS total_votes,\n MIN(g.avg_rating) AS min_rating,\n MAX(g.avg_rating) AS max_rating,\n SUM(g.duration) AS total_movie_duration\nFROM release_gaps AS g\nLEFT JOIN names AS n ON n.id = g.director_id\nGROUP BY g.director_id, n.name\nORDER BY number_of_movies DESC, total_movie_duration DESC, g.director_id\nLIMIT 9;\n```", "rows": 9, "sql": "WITH director_movies AS (\n SELECT\n dm.name_id AS director_id,\n m.id AS movie_id,\n julianday(m.date_published) AS release_day,\n m.duration,\n r.avg_rating,\n r.total_votes\n FROM director_mapping AS dm\n JOIN movies AS m ON m.id = dm.movie_id\n LEFT JOIN ratings AS r ON r.movie_id = m.id\n), release_gaps AS (\n SELECT\n *,\n release_day - LAG(release_day) OVER (\n PARTITION BY director_id\n ORDER BY release_day, movie_id\n ) AS days_since_previous_movie\n FROM director_movies\n)\nSELECT\n g.director_id,\n n.name AS director_name,\n COUNT(*) AS number_of_movies,\n CAST(ROUND(AVG(g.days_since_previous_movie)) AS INTEGER) AS avg_inter_movie_days,\n ROUND(AVG(g.avg_rating), 2) AS avg_rating,\n SUM(g.total_votes) AS total_votes,\n MIN(g.avg_rating) AS min_rating,\n MAX(g.avg_rating) AS max_rating,\n SUM(g.duration) AS total_movie_duration\nFROM release_gaps AS g\nLEFT JOIN names AS n ON n.id = g.director_id\nGROUP BY g.director_id, n.name\nORDER BY number_of_movies DESC, total_movie_duration DESC, g.director_id\nLIMIT 9;", "seconds": 25.008170041954145, "calls": [{"seconds": 3.4534586659865454, "usage": {"completion_tokens": 111, "prompt_tokens": 1672, "total_tokens": 1783, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1124, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1124, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1124, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.87331962492317, "usage": {"completion_tokens": 161, "prompt_tokens": 2108, "total_tokens": 2269, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 129, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 436, "cached_tokens": 1124, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 436, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 436, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.354180082911626, "usage": {"completion_tokens": 483, "prompt_tokens": 3098, "total_tokens": 3581, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 154, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 990, "cached_tokens": 1560, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 990, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 990, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.260263167088851, "usage": {"completion_tokens": 378, "prompt_tokens": 4269, "total_tokens": 4647, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 81, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1171, "cached_tokens": 2550, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1171, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1171, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "c6f1f24804b2250cd4415c96ab96aa96847840a3783b22f2026fc484e0f3156e", "csv_sha256": "8d89d669c52b85f86a844046ca838b9eff056cb06656ae53f8bb766ac130dc26"} +{"instance_id": "local156", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH annual_prices AS (\n SELECT\n CAST(substr(t.txn_date, -4) AS INTEGER) AS purchase_year,\n m.region,\n SUM(t.quantity * p.price) / NULLIF(SUM(t.quantity), 0) AS avg_purchase_price\n FROM bitcoin_transactions AS t\n JOIN bitcoin_members AS m ON m.member_id = t.member_id\n JOIN bitcoin_prices AS p ON p.ticker = t.ticker AND p.market_date = t.txn_date\n WHERE t.ticker = 'BTC' AND t.txn_type = 'BUY'\n GROUP BY CAST(substr(t.txn_date, -4) AS INTEGER), m.region\n), regional_history AS (\n SELECT\n purchase_year,\n region,\n avg_purchase_price,\n LAG(purchase_year) OVER regional_years AS previous_year,\n LAG(avg_purchase_price) OVER regional_years AS previous_avg_price\n FROM annual_prices\n WINDOW regional_years AS (PARTITION BY region ORDER BY purchase_year)\n)\nSELECT\n purchase_year,\n region,\n avg_purchase_price,\n RANK() OVER (PARTITION BY purchase_year ORDER BY avg_purchase_price DESC) AS price_rank,\n CASE WHEN previous_year = purchase_year - 1 THEN\n 100.0 * (avg_purchase_price - previous_avg_price) / NULLIF(previous_avg_price, 0)\n END AS annual_pct_change\nFROM regional_history\nWHERE previous_year IS NOT NULL\nORDER BY purchase_year, price_rank, region;\n```", "rows": 20, "sql": "WITH annual_prices AS (\n SELECT\n CAST(substr(t.txn_date, -4) AS INTEGER) AS purchase_year,\n m.region,\n SUM(t.quantity * p.price) / NULLIF(SUM(t.quantity), 0) AS avg_purchase_price\n FROM bitcoin_transactions AS t\n JOIN bitcoin_members AS m ON m.member_id = t.member_id\n JOIN bitcoin_prices AS p ON p.ticker = t.ticker AND p.market_date = t.txn_date\n WHERE t.ticker = 'BTC' AND t.txn_type = 'BUY'\n GROUP BY CAST(substr(t.txn_date, -4) AS INTEGER), m.region\n), regional_history AS (\n SELECT\n purchase_year,\n region,\n avg_purchase_price,\n LAG(purchase_year) OVER regional_years AS previous_year,\n LAG(avg_purchase_price) OVER regional_years AS previous_avg_price\n FROM annual_prices\n WINDOW regional_years AS (PARTITION BY region ORDER BY purchase_year)\n)\nSELECT\n purchase_year,\n region,\n avg_purchase_price,\n RANK() OVER (PARTITION BY purchase_year ORDER BY avg_purchase_price DESC) AS price_rank,\n CASE WHEN previous_year = purchase_year - 1 THEN\n 100.0 * (avg_purchase_price - previous_avg_price) / NULLIF(previous_avg_price, 0)\n END AS annual_pct_change\nFROM regional_history\nWHERE previous_year IS NOT NULL\nORDER BY purchase_year, price_rank, region;", "seconds": 35.73179625009652, "calls": [{"seconds": 2.770060583949089, "usage": {"completion_tokens": 68, "prompt_tokens": 1722, "total_tokens": 1790, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1117, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1117, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1117, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.658705999958329, "usage": {"completion_tokens": 174, "prompt_tokens": 1938, "total_tokens": 2112, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 154, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 216, "cached_tokens": 1117, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 216, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 216, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.595687958062626, "usage": {"completion_tokens": 266, "prompt_tokens": 2142, "total_tokens": 2408, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 58, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 204, "cached_tokens": 1333, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 204, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 204, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.8290664999512956, "usage": {"completion_tokens": 266, "prompt_tokens": 2750, "total_tokens": 3016, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 70, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 608, "cached_tokens": 1537, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 608, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 608, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.949307582923211, "usage": {"completion_tokens": 433, "prompt_tokens": 3334, "total_tokens": 3767, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 83, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 584, "cached_tokens": 2145, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 584, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 584, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.849247416947037, "usage": {"completion_tokens": 320, "prompt_tokens": 4651, "total_tokens": 4971, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1317, "cached_tokens": 2729, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1317, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1317, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b48b9897e5745080d6838446543304fffdf678a7d78134ec4115f0f6108358e4", "csv_sha256": "f9fb4f77c870ba47a25c22a22b1c49b0cbc0a7f13c008143bb3b20b99b3bf2b3"} +{"instance_id": "local157", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH parsed AS (\n SELECT ticker,\n SUBSTR(market_date, 7, 4) || '-' || SUBSTR(market_date, 4, 2) || '-' || SUBSTR(market_date, 1, 2) AS market_date,\n UPPER(TRIM(volume)) AS volume_text\n FROM bitcoin_prices\n), normalized AS (\n SELECT ticker, market_date,\n CASE\n WHEN volume_text = '-' THEN 0.0\n WHEN SUBSTR(volume_text, -1) = 'K'\n THEN CAST(SUBSTR(volume_text, 1, LENGTH(volume_text) - 1) AS REAL) * 1000.0\n WHEN SUBSTR(volume_text, -1) = 'M'\n THEN CAST(SUBSTR(volume_text, 1, LENGTH(volume_text) - 1) AS REAL) * 1000000.0\n ELSE CAST(volume_text AS REAL)\n END AS trading_volume\n FROM parsed\n WHERE market_date < '2021-08-11'\n), previous_dates AS (\n SELECT ticker, market_date, trading_volume,\n MAX(CASE WHEN trading_volume <> 0 THEN market_date END) OVER (\n PARTITION BY ticker ORDER BY market_date\n ROWS BETWEEN UNBOUNDED PRECEDING AND 1 PRECEDING\n ) AS previous_nonzero_date\n FROM normalized\n)\nSELECT d.ticker,\n d.market_date,\n 100.0 * (d.trading_volume - p.trading_volume) / p.trading_volume AS daily_volume_pct_change\nFROM previous_dates AS d\nLEFT JOIN normalized AS p\n ON p.ticker = d.ticker AND p.market_date = d.previous_nonzero_date\nWHERE d.market_date >= '2021-08-01' AND d.market_date < '2021-08-11'\nORDER BY d.ticker, d.market_date;\n```", "rows": 20, "sql": "WITH parsed AS (\n SELECT ticker,\n SUBSTR(market_date, 7, 4) || '-' || SUBSTR(market_date, 4, 2) || '-' || SUBSTR(market_date, 1, 2) AS market_date,\n UPPER(TRIM(volume)) AS volume_text\n FROM bitcoin_prices\n), normalized AS (\n SELECT ticker, market_date,\n CASE\n WHEN volume_text = '-' THEN 0.0\n WHEN SUBSTR(volume_text, -1) = 'K'\n THEN CAST(SUBSTR(volume_text, 1, LENGTH(volume_text) - 1) AS REAL) * 1000.0\n WHEN SUBSTR(volume_text, -1) = 'M'\n THEN CAST(SUBSTR(volume_text, 1, LENGTH(volume_text) - 1) AS REAL) * 1000000.0\n ELSE CAST(volume_text AS REAL)\n END AS trading_volume\n FROM parsed\n WHERE market_date < '2021-08-11'\n), previous_dates AS (\n SELECT ticker, market_date, trading_volume,\n MAX(CASE WHEN trading_volume <> 0 THEN market_date END) OVER (\n PARTITION BY ticker ORDER BY market_date\n ROWS BETWEEN UNBOUNDED PRECEDING AND 1 PRECEDING\n ) AS previous_nonzero_date\n FROM normalized\n)\nSELECT d.ticker,\n d.market_date,\n 100.0 * (d.trading_volume - p.trading_volume) / p.trading_volume AS daily_volume_pct_change\nFROM previous_dates AS d\nLEFT JOIN normalized AS p\n ON p.ticker = d.ticker AND p.market_date = d.previous_nonzero_date\nWHERE d.market_date >= '2021-08-01' AND d.market_date < '2021-08-11'\nORDER BY d.ticker, d.market_date;", "seconds": 26.34660829103086, "calls": [{"seconds": 2.627940334030427, "usage": {"completion_tokens": 20, "prompt_tokens": 1738, "total_tokens": 1758, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1133, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1133, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1133, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.85669320798479, "usage": {"completion_tokens": 155, "prompt_tokens": 1815, "total_tokens": 1970, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 119, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 77, "cached_tokens": 1133, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 77, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 77, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.215256458031945, "usage": {"completion_tokens": 108, "prompt_tokens": 2252, "total_tokens": 2360, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 19, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 437, "cached_tokens": 1210, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 437, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 437, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.796959540923126, "usage": {"completion_tokens": 481, "prompt_tokens": 2513, "total_tokens": 2994, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 46, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 261, "cached_tokens": 1647, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 261, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 261, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.775170417036861, "usage": {"completion_tokens": 404, "prompt_tokens": 3804, "total_tokens": 4208, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1291, "cached_tokens": 1908, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1291, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1291, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8864274b108581a86eb91a16b2bceed6dda35376df249126c41f04848deb583a", "csv_sha256": "ce9ce014ff985a29d7a9410680a36b100a7867e72faf02726e9f6f44e01a9455"} +{"instance_id": "local163", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH salary_distances AS (\n SELECT FacRank, FacFirstName, FacLastName, FacSalary,\n ABS(FacSalary - AVG(FacSalary) OVER (PARTITION BY FacRank)) AS salary_distance\n FROM university_faculty\n), rank_minimums AS (\n SELECT FacRank, FacFirstName, FacLastName, FacSalary, salary_distance,\n MIN(salary_distance) OVER (PARTITION BY FacRank) AS min_distance\n FROM salary_distances\n)\nSELECT FacRank, FacFirstName, FacLastName, FacSalary\nFROM rank_minimums\nWHERE salary_distance = min_distance\nORDER BY FacRank, FacLastName, FacFirstName;\n```", "rows": 4, "sql": "WITH salary_distances AS (\n SELECT FacRank, FacFirstName, FacLastName, FacSalary,\n ABS(FacSalary - AVG(FacSalary) OVER (PARTITION BY FacRank)) AS salary_distance\n FROM university_faculty\n), rank_minimums AS (\n SELECT FacRank, FacFirstName, FacLastName, FacSalary, salary_distance,\n MIN(salary_distance) OVER (PARTITION BY FacRank) AS min_distance\n FROM salary_distances\n)\nSELECT FacRank, FacFirstName, FacLastName, FacSalary\nFROM rank_minimums\nWHERE salary_distance = min_distance\nORDER BY FacRank, FacLastName, FacFirstName;", "seconds": 13.937167083029635, "calls": [{"seconds": 2.8150938750477508, "usage": {"completion_tokens": 22, "prompt_tokens": 1688, "total_tokens": 1710, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1081, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.038486458011903, "usage": {"completion_tokens": 306, "prompt_tokens": 1798, "total_tokens": 2104, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 139, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1191, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.073395415907726, "usage": {"completion_tokens": 151, "prompt_tokens": 2345, "total_tokens": 2496, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 547, "cached_tokens": 1191, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 547, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 547, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6488834f21397ce836885bce30db204e88333ca7dc46818cc2d4afcdfbce419e", "csv_sha256": "79585ba9819c14d162618ea6c4edcca741736d9267f4a3e2dcd9797b3a4298c8"} +{"instance_id": "local167", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH ranked_terms AS (\n SELECT t.id_bioguide,\n t.state,\n ROW_NUMBER() OVER (\n PARTITION BY t.id_bioguide\n ORDER BY t.term_start, t.term_number, t.state\n ) AS term_rank\n FROM legislators_terms AS t\n WHERE EXISTS (\n SELECT 1\n FROM legislators AS l\n WHERE l.id_bioguide = t.id_bioguide\n AND l.gender = 'F'\n )\n)\nSELECT r.state AS state_abbreviation,\n COUNT(*) AS legislator_count\nFROM ranked_terms AS r\nWHERE r.term_rank = 1\n AND EXISTS (\n SELECT 1\n FROM legislators_terms AS t\n WHERE t.id_bioguide = r.id_bioguide\n AND date(t.term_start, 'start of year', '+1 year', '-1 day')\n BETWEEN date(t.term_start) AND date(t.term_end)\n )\nGROUP BY r.state\nORDER BY legislator_count DESC, state_abbreviation\nLIMIT 1;\n```", "rows": 1, "sql": "WITH ranked_terms AS (\n SELECT t.id_bioguide,\n t.state,\n ROW_NUMBER() OVER (\n PARTITION BY t.id_bioguide\n ORDER BY t.term_start, t.term_number, t.state\n ) AS term_rank\n FROM legislators_terms AS t\n WHERE EXISTS (\n SELECT 1\n FROM legislators AS l\n WHERE l.id_bioguide = t.id_bioguide\n AND l.gender = 'F'\n )\n)\nSELECT r.state AS state_abbreviation,\n COUNT(*) AS legislator_count\nFROM ranked_terms AS r\nWHERE r.term_rank = 1\n AND EXISTS (\n SELECT 1\n FROM legislators_terms AS t\n WHERE t.id_bioguide = r.id_bioguide\n AND date(t.term_start, 'start of year', '+1 year', '-1 day')\n BETWEEN date(t.term_start) AND date(t.term_end)\n )\nGROUP BY r.state\nORDER BY legislator_count DESC, state_abbreviation\nLIMIT 1;", "seconds": 59.52204233396333, "calls": [{"seconds": 2.716686792089604, "usage": {"completion_tokens": 73, "prompt_tokens": 1670, "total_tokens": 1743, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1091, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1091, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1091, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.864924666937441, "usage": {"completion_tokens": 184, "prompt_tokens": 2135, "total_tokens": 2319, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 69, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 465, "cached_tokens": 1091, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 465, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 465, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.38712900003884, "usage": {"completion_tokens": 405, "prompt_tokens": 2528, "total_tokens": 2933, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 149, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 393, "cached_tokens": 1556, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 393, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 393, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.969648916972801, "usage": {"completion_tokens": 252, "prompt_tokens": 3187, "total_tokens": 3439, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 21, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 659, "cached_tokens": 1949, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 659, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 659, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0e34542e955e114cfdc54479e219ee8ce190edcb2614f229dbf9063d1d370772", "csv_sha256": "99f7e65d56212c13feef8035dcf1e6695848cd62b387acebb4761be0340d82b9"} +{"instance_id": "local168", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH eligible_jobs AS (\n SELECT job_id, salary_year_avg\n FROM job_postings_fact\n WHERE job_title_short = 'Data Analyst'\n AND salary_year_avg IS NOT NULL\n AND job_work_from_home = 1\n), top_skills AS (\n SELECT sj.skill_id\n FROM skills_job_dim AS sj\n JOIN eligible_jobs AS j ON j.job_id = sj.job_id\n GROUP BY sj.skill_id\n ORDER BY COUNT(DISTINCT sj.job_id) DESC, sj.skill_id\n LIMIT 3\n)\nSELECT AVG(j.salary_year_avg) AS overall_avg_salary\nFROM eligible_jobs AS j\nWHERE EXISTS (\n SELECT 1\n FROM skills_job_dim AS sj\n JOIN top_skills AS ts ON ts.skill_id = sj.skill_id\n WHERE sj.job_id = j.job_id\n);\n```", "rows": 1, "sql": "WITH eligible_jobs AS (\n SELECT job_id, salary_year_avg\n FROM job_postings_fact\n WHERE job_title_short = 'Data Analyst'\n AND salary_year_avg IS NOT NULL\n AND job_work_from_home = 1\n), top_skills AS (\n SELECT sj.skill_id\n FROM skills_job_dim AS sj\n JOIN eligible_jobs AS j ON j.job_id = sj.job_id\n GROUP BY sj.skill_id\n ORDER BY COUNT(DISTINCT sj.job_id) DESC, sj.skill_id\n LIMIT 3\n)\nSELECT AVG(j.salary_year_avg) AS overall_avg_salary\nFROM eligible_jobs AS j\nWHERE EXISTS (\n SELECT 1\n FROM skills_job_dim AS sj\n JOIN top_skills AS ts ON ts.skill_id = sj.skill_id\n WHERE sj.job_id = j.job_id\n);", "seconds": 16.870995790930465, "calls": [{"seconds": 2.9486372499959543, "usage": {"completion_tokens": 85, "prompt_tokens": 1669, "total_tokens": 1754, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1090, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1090, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1090, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.393799332901835, "usage": {"completion_tokens": 339, "prompt_tokens": 1967, "total_tokens": 2306, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 139, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 298, "cached_tokens": 1090, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 298, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 298, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.368317415937781, "usage": {"completion_tokens": 184, "prompt_tokens": 2516, "total_tokens": 2700, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 549, "cached_tokens": 1388, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 549, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 549, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b9bc7bb9fad83d19b08ef37540d1eeb2ccbc93bc79c81236aa20398233d971ef", "csv_sha256": "12349c088c81a6189c820632a48e394ae90c361e0cac033d7886d593f56f65ef"} +{"instance_id": "local169", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE periods(period) AS (\n SELECT 1\n UNION ALL\n SELECT period + 1 FROM periods WHERE period < 20\n),\nfirst_terms AS (\n SELECT id_bioguide, MIN(term_start) AS first_term_start\n FROM legislators_terms\n GROUP BY id_bioguide\n),\ncohort AS (\n SELECT id_bioguide, CAST(strftime('%Y', first_term_start) AS INTEGER) AS start_year\n FROM first_terms\n WHERE first_term_start >= '1917-01-01'\n AND first_term_start < '2000-01-01'\n)\nSELECT p.period,\n 1.0 * COUNT(DISTINCT t.id_bioguide)\n / NULLIF((SELECT COUNT(*) FROM cohort), 0) AS retention_rate\nFROM periods AS p\nLEFT JOIN cohort AS c ON 1 = 1\nLEFT JOIN legislators_terms AS t\n ON t.id_bioguide = c.id_bioguide\n AND printf('%04d-12-31', c.start_year + p.period - 1)\n BETWEEN t.term_start AND t.term_end\nGROUP BY p.period\nORDER BY p.period;\n```", "rows": 20, "sql": "WITH RECURSIVE periods(period) AS (\n SELECT 1\n UNION ALL\n SELECT period + 1 FROM periods WHERE period < 20\n),\nfirst_terms AS (\n SELECT id_bioguide, MIN(term_start) AS first_term_start\n FROM legislators_terms\n GROUP BY id_bioguide\n),\ncohort AS (\n SELECT id_bioguide, CAST(strftime('%Y', first_term_start) AS INTEGER) AS start_year\n FROM first_terms\n WHERE first_term_start >= '1917-01-01'\n AND first_term_start < '2000-01-01'\n)\nSELECT p.period,\n 1.0 * COUNT(DISTINCT t.id_bioguide)\n / NULLIF((SELECT COUNT(*) FROM cohort), 0) AS retention_rate\nFROM periods AS p\nLEFT JOIN cohort AS c ON 1 = 1\nLEFT JOIN legislators_terms AS t\n ON t.id_bioguide = c.id_bioguide\n AND printf('%04d-12-31', c.start_year + p.period - 1)\n BETWEEN t.term_start AND t.term_end\nGROUP BY p.period\nORDER BY p.period;", "seconds": 47.47783691599034, "calls": [{"seconds": 3.497304040938616, "usage": {"completion_tokens": 87, "prompt_tokens": 1708, "total_tokens": 1795, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1129, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1129, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1129, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.52408354205545, "usage": {"completion_tokens": 245, "prompt_tokens": 2215, "total_tokens": 2460, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 84, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 507, "cached_tokens": 1129, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 507, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 507, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.868975209072232, "usage": {"completion_tokens": 418, "prompt_tokens": 2710, "total_tokens": 3128, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 286, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 495, "cached_tokens": 1636, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 495, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 495, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 20.21647679200396, "usage": {"completion_tokens": 964, "prompt_tokens": 3302, "total_tokens": 4266, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 676, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 592, "cached_tokens": 2131, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 592, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 592, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.631596167106181, "usage": {"completion_tokens": 278, "prompt_tokens": 4786, "total_tokens": 5064, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 15, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1484, "cached_tokens": 2723, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1484, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1484, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "53b9f056f0988e303807cc080fb0882cfa4ceae70973d862f7fa388fd0c7533d", "csv_sha256": "8117b7b784cf24073dd3aca34b829347a3538858b51962c32ff37b2cb7ab8643"} +{"instance_id": "local170", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH first_terms AS (\n SELECT id_bioguide, state, term_start,\n ROW_NUMBER() OVER (\n PARTITION BY id_bioguide ORDER BY term_start, term_number, term_id\n ) AS term_order\n FROM legislators_terms\n WHERE term_start IS NOT NULL\n),\nintervals(years_after_start) AS (\n VALUES (0), (2), (4), (6), (8), (10)\n),\ncheckpoints AS (\n SELECT f.id_bioguide, f.state, l.gender, i.years_after_start,\n date(f.term_start, 'start of year',\n printf('+%d years', i.years_after_start), '+1 year', '-1 day') AS dec_31\n FROM first_terms AS f\n JOIN legislators AS l ON l.id_bioguide = f.id_bioguide\n CROSS JOIN intervals AS i\n WHERE f.term_order = 1\n AND f.state IS NOT NULL\n AND l.gender IN ('M', 'F')\n),\nnonzero_retention AS (\n SELECT DISTINCT c.state, c.gender, c.years_after_start\n FROM checkpoints AS c\n JOIN legislators_terms AS t\n ON t.id_bioguide = c.id_bioguide\n AND c.dec_31 BETWEEN t.term_start AND t.term_end\n)\nSELECT state\nFROM nonzero_retention\nGROUP BY state\nHAVING COUNT(*) = 12\nORDER BY state;\n```", "rows": 34, "sql": "WITH first_terms AS (\n SELECT id_bioguide, state, term_start,\n ROW_NUMBER() OVER (\n PARTITION BY id_bioguide ORDER BY term_start, term_number, term_id\n ) AS term_order\n FROM legislators_terms\n WHERE term_start IS NOT NULL\n),\nintervals(years_after_start) AS (\n VALUES (0), (2), (4), (6), (8), (10)\n),\ncheckpoints AS (\n SELECT f.id_bioguide, f.state, l.gender, i.years_after_start,\n date(f.term_start, 'start of year',\n printf('+%d years', i.years_after_start), '+1 year', '-1 day') AS dec_31\n FROM first_terms AS f\n JOIN legislators AS l ON l.id_bioguide = f.id_bioguide\n CROSS JOIN intervals AS i\n WHERE f.term_order = 1\n AND f.state IS NOT NULL\n AND l.gender IN ('M', 'F')\n),\nnonzero_retention AS (\n SELECT DISTINCT c.state, c.gender, c.years_after_start\n FROM checkpoints AS c\n JOIN legislators_terms AS t\n ON t.id_bioguide = c.id_bioguide\n AND c.dec_31 BETWEEN t.term_start AND t.term_end\n)\nSELECT state\nFROM nonzero_retention\nGROUP BY state\nHAVING COUNT(*) = 12\nORDER BY state;", "seconds": 35.02182183403056, "calls": [{"seconds": 2.9405055000679567, "usage": {"completion_tokens": 87, "prompt_tokens": 1723, "total_tokens": 1810, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1144, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1144, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1144, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.610579207888804, "usage": {"completion_tokens": 485, "prompt_tokens": 2230, "total_tokens": 2715, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 242, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 507, "cached_tokens": 1144, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 507, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 507, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.39646504202392, "usage": {"completion_tokens": 598, "prompt_tokens": 3032, "total_tokens": 3630, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 250, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 802, "cached_tokens": 1651, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 802, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 802, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.741195541922934, "usage": {"completion_tokens": 417, "prompt_tokens": 4032, "total_tokens": 4449, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 97, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1000, "cached_tokens": 2453, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1000, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1000, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "87cc2bf1003e539108d8fc47fcc8772019ecb81b195ea6279ae20b42db8c67e4", "csv_sha256": "1ca502fccfdd468ecfcac37a75b8f1f3c2c59c4635eb503459d304d8889f44b4"} +{"instance_id": "local171", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH first_terms AS (\n SELECT id_bioguide, MIN(term_start) AS first_term_start\n FROM legislators_terms\n GROUP BY id_bioguide\n), year_end_service AS (\n SELECT lt.id_bioguide,\n CAST(strftime('%Y', d.date) AS INTEGER)\n - CAST(strftime('%Y', ft.first_term_start) AS INTEGER) AS years_since_first_term\n FROM legislators_terms AS lt\n JOIN first_terms AS ft ON ft.id_bioguide = lt.id_bioguide\n JOIN legislators AS l ON l.id_bioguide = lt.id_bioguide\n JOIN legislation_date_dim AS d ON d.date BETWEEN lt.term_start AND lt.term_end\n WHERE l.gender = 'M'\n AND lt.state = 'LA'\n AND d.month_name = 'December'\n AND d.day_of_month = 31\n)\nSELECT years_since_first_term,\n COUNT(DISTINCT id_bioguide) AS legislator_count\nFROM year_end_service\nWHERE years_since_first_term > 30 AND years_since_first_term < 50\nGROUP BY years_since_first_term\nORDER BY years_since_first_term;\n```", "rows": 8, "sql": "WITH first_terms AS (\n SELECT id_bioguide, MIN(term_start) AS first_term_start\n FROM legislators_terms\n GROUP BY id_bioguide\n), year_end_service AS (\n SELECT lt.id_bioguide,\n CAST(strftime('%Y', d.date) AS INTEGER)\n - CAST(strftime('%Y', ft.first_term_start) AS INTEGER) AS years_since_first_term\n FROM legislators_terms AS lt\n JOIN first_terms AS ft ON ft.id_bioguide = lt.id_bioguide\n JOIN legislators AS l ON l.id_bioguide = lt.id_bioguide\n JOIN legislation_date_dim AS d ON d.date BETWEEN lt.term_start AND lt.term_end\n WHERE l.gender = 'M'\n AND lt.state = 'LA'\n AND d.month_name = 'December'\n AND d.day_of_month = 31\n)\nSELECT years_since_first_term,\n COUNT(DISTINCT id_bioguide) AS legislator_count\nFROM year_end_service\nWHERE years_since_first_term > 30 AND years_since_first_term < 50\nGROUP BY years_since_first_term\nORDER BY years_since_first_term;", "seconds": 26.669834750005975, "calls": [{"seconds": 2.6936456670518965, "usage": {"completion_tokens": 87, "prompt_tokens": 1680, "total_tokens": 1767, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1101, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1101, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1101, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 14.706540125072934, "usage": {"completion_tokens": 738, "prompt_tokens": 2187, "total_tokens": 2925, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 463, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 507, "cached_tokens": 1101, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 507, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 507, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.186771958018653, "usage": {"completion_tokens": 531, "prompt_tokens": 3245, "total_tokens": 3776, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 274, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1058, "cached_tokens": 1608, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1058, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1058, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2737edb3fb99db2efe60fb473f1e65940d8b1807fe973c8bb1fa24cbb4c9657a", "csv_sha256": "efe3504bf65d88e6a04e75d1e43d89ec6383fcbfcad1c0ed07dde095fd439359"} +{"instance_id": "local193", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH purchases AS (\n SELECT customer_id,\n amount,\n unixepoch(payment_date) AS purchase_second\n FROM payment\n), timed_purchases AS (\n SELECT customer_id,\n amount,\n purchase_second - MIN(purchase_second) OVER (PARTITION BY customer_id) AS elapsed_seconds\n FROM purchases\n), customer_ltv AS (\n SELECT customer_id,\n SUM(amount) AS total_ltv,\n SUM(CASE WHEN elapsed_seconds < 7 * 86400 THEN amount ELSE 0 END) AS sales_7_days,\n SUM(CASE WHEN elapsed_seconds < 30 * 86400 THEN amount ELSE 0 END) AS sales_30_days\n FROM timed_purchases\n GROUP BY customer_id\n HAVING SUM(amount) <> 0\n)\nSELECT AVG(100.0 * sales_7_days / total_ltv) AS avg_ltv_pct_first_7_days,\n AVG(100.0 * sales_30_days / total_ltv) AS avg_ltv_pct_first_30_days,\n AVG(total_ltv) AS avg_total_ltv\nFROM customer_ltv;\n```", "rows": 1, "sql": "WITH purchases AS (\n SELECT customer_id,\n amount,\n unixepoch(payment_date) AS purchase_second\n FROM payment\n), timed_purchases AS (\n SELECT customer_id,\n amount,\n purchase_second - MIN(purchase_second) OVER (PARTITION BY customer_id) AS elapsed_seconds\n FROM purchases\n), customer_ltv AS (\n SELECT customer_id,\n SUM(amount) AS total_ltv,\n SUM(CASE WHEN elapsed_seconds < 7 * 86400 THEN amount ELSE 0 END) AS sales_7_days,\n SUM(CASE WHEN elapsed_seconds < 30 * 86400 THEN amount ELSE 0 END) AS sales_30_days\n FROM timed_purchases\n GROUP BY customer_id\n HAVING SUM(amount) <> 0\n)\nSELECT AVG(100.0 * sales_7_days / total_ltv) AS avg_ltv_pct_first_7_days,\n AVG(100.0 * sales_30_days / total_ltv) AS avg_ltv_pct_first_30_days,\n AVG(total_ltv) AS avg_total_ltv\nFROM customer_ltv;", "seconds": 20.330147915985435, "calls": [{"seconds": 2.9277702500112355, "usage": {"completion_tokens": 80, "prompt_tokens": 1713, "total_tokens": 1793, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1128, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1128, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1128, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.313879041932523, "usage": {"completion_tokens": 566, "prompt_tokens": 2065, "total_tokens": 2631, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 303, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 352, "cached_tokens": 1128, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 352, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 352, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.04340812494047, "usage": {"completion_tokens": 258, "prompt_tokens": 2937, "total_tokens": 3195, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 17, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 872, "cached_tokens": 1480, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 872, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 872, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "86a9ffd74a85dac609296f5d44b3cace98f87d687095b48ea1b23f843409a20a", "csv_sha256": "05732a1326a1b7ef4de05b65a5e3a9a20561c6a21022e14bed55fe7f4b8bcf68"} +{"instance_id": "local194", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH cast_members AS (\n SELECT DISTINCT film_id, actor_id\n FROM film_actor\n), cast_sizes AS (\n SELECT film_id, COUNT(*) AS actor_count\n FROM cast_members\n GROUP BY film_id\n), film_revenues AS (\n SELECT f.film_id, f.title,\n ROUND(TOTAL(p.amount), 2) AS total_revenue\n FROM film AS f\n LEFT JOIN inventory AS i ON i.film_id = f.film_id\n LEFT JOIN rental AS r ON r.inventory_id = i.inventory_id\n LEFT JOIN payment AS p ON p.rental_id = r.rental_id\n GROUP BY f.film_id, f.title\n), ranked_films AS (\n SELECT cm.actor_id, fr.title,\n fr.total_revenue / cs.actor_count AS average_revenue_per_actor,\n ROW_NUMBER() OVER (\n PARTITION BY cm.actor_id\n ORDER BY fr.total_revenue DESC, fr.film_id\n ) AS revenue_rank\n FROM cast_members AS cm\n JOIN cast_sizes AS cs ON cs.film_id = cm.film_id\n JOIN film_revenues AS fr ON fr.film_id = cm.film_id\n)\nSELECT a.first_name || ' ' || a.last_name AS actor_name,\n rf.title AS film_title,\n rf.average_revenue_per_actor\nFROM ranked_films AS rf\nJOIN actor AS a ON a.actor_id = rf.actor_id\nWHERE rf.revenue_rank <= 3\nORDER BY a.last_name, a.first_name, a.actor_id, rf.revenue_rank;\n```", "rows": 600, "sql": "WITH cast_members AS (\n SELECT DISTINCT film_id, actor_id\n FROM film_actor\n), cast_sizes AS (\n SELECT film_id, COUNT(*) AS actor_count\n FROM cast_members\n GROUP BY film_id\n), film_revenues AS (\n SELECT f.film_id, f.title,\n ROUND(TOTAL(p.amount), 2) AS total_revenue\n FROM film AS f\n LEFT JOIN inventory AS i ON i.film_id = f.film_id\n LEFT JOIN rental AS r ON r.inventory_id = i.inventory_id\n LEFT JOIN payment AS p ON p.rental_id = r.rental_id\n GROUP BY f.film_id, f.title\n), ranked_films AS (\n SELECT cm.actor_id, fr.title,\n fr.total_revenue / cs.actor_count AS average_revenue_per_actor,\n ROW_NUMBER() OVER (\n PARTITION BY cm.actor_id\n ORDER BY fr.total_revenue DESC, fr.film_id\n ) AS revenue_rank\n FROM cast_members AS cm\n JOIN cast_sizes AS cs ON cs.film_id = cm.film_id\n JOIN film_revenues AS fr ON fr.film_id = cm.film_id\n)\nSELECT a.first_name || ' ' || a.last_name AS actor_name,\n rf.title AS film_title,\n rf.average_revenue_per_actor\nFROM ranked_films AS rf\nJOIN actor AS a ON a.actor_id = rf.actor_id\nWHERE rf.revenue_rank <= 3\nORDER BY a.last_name, a.first_name, a.actor_id, rf.revenue_rank;", "seconds": 33.98695900000166, "calls": [{"seconds": 5.559867208008654, "usage": {"completion_tokens": 243, "prompt_tokens": 1675, "total_tokens": 1918, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 110, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1090, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.4729923750273883, "usage": {"completion_tokens": 28, "prompt_tokens": 2366, "total_tokens": 2394, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 8, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 691, "cached_tokens": 1090, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 691, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 691, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 18.21707404195331, "usage": {"completion_tokens": 949, "prompt_tokens": 2424, "total_tokens": 3373, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 586, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 58, "cached_tokens": 1781, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 58, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 58, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.6514472080161795, "usage": {"completion_tokens": 423, "prompt_tokens": 4005, "total_tokens": 4428, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 84, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1581, "cached_tokens": 1839, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1581, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1581, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b8ded5821d7ec601d25f52f71e6d781ee441533a1fccbb588b65f90974205c87", "csv_sha256": "ba59a542324105e0565a4199d02ce225d76968e3fc4acfdf455aa1da8915f056"} +{"instance_id": "local195", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "failed", "answer": "❓ Awaiting user: What should determine the top five actors: total rentals of their films, number of distinct customers who rented their films, or another measure?", "error_type": "ValueError", "seconds": 6.7217356249457225, "calls": [{"seconds": 1.98796733294148, "usage": {"completion_tokens": 18, "prompt_tokens": 1659, "total_tokens": 1677, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1074, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1074, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1074, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 1.8500052499584854, "usage": {"completion_tokens": 15, "prompt_tokens": 1707, "total_tokens": 1722, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1074, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8758102919673547, "usage": {"completion_tokens": 44, "prompt_tokens": 1821, "total_tokens": 1865, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 114, "cached_tokens": 1122, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 114, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 114, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "660639c4a4cc28f0a2110197a9149eec94bc8fc7bf2a234a43f547c715da6679"} +{"instance_id": "local196", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH ranked_rental_payments AS (\n SELECT\n p.customer_id,\n r.inventory_id,\n ROW_NUMBER() OVER (\n PARTITION BY p.customer_id\n ORDER BY p.payment_date, p.payment_id\n ) AS payment_rank\n FROM payment AS p\n JOIN rental AS r\n ON r.rental_id = p.rental_id\n AND r.customer_id = p.customer_id\n), customer_spending AS (\n SELECT customer_id, SUM(amount) AS total_amount_spent\n FROM payment\n GROUP BY customer_id\n), customer_rentals AS (\n SELECT customer_id, COUNT(*) - 1 AS subsequent_rentals\n FROM rental\n GROUP BY customer_id\n)\nSELECT\n f.rating,\n AVG(s.total_amount_spent) AS avg_total_amount_spent,\n AVG(cr.subsequent_rentals) AS avg_subsequent_rentals\nFROM ranked_rental_payments AS rp\nJOIN inventory AS i ON i.inventory_id = rp.inventory_id\nJOIN film AS f ON f.film_id = i.film_id\nJOIN customer_spending AS s ON s.customer_id = rp.customer_id\nJOIN customer_rentals AS cr ON cr.customer_id = rp.customer_id\nWHERE rp.payment_rank = 1\nGROUP BY f.rating\nORDER BY f.rating;\n```", "rows": 5, "sql": "WITH ranked_rental_payments AS (\n SELECT\n p.customer_id,\n r.inventory_id,\n ROW_NUMBER() OVER (\n PARTITION BY p.customer_id\n ORDER BY p.payment_date, p.payment_id\n ) AS payment_rank\n FROM payment AS p\n JOIN rental AS r\n ON r.rental_id = p.rental_id\n AND r.customer_id = p.customer_id\n), customer_spending AS (\n SELECT customer_id, SUM(amount) AS total_amount_spent\n FROM payment\n GROUP BY customer_id\n), customer_rentals AS (\n SELECT customer_id, COUNT(*) - 1 AS subsequent_rentals\n FROM rental\n GROUP BY customer_id\n)\nSELECT\n f.rating,\n AVG(s.total_amount_spent) AS avg_total_amount_spent,\n AVG(cr.subsequent_rentals) AS avg_subsequent_rentals\nFROM ranked_rental_payments AS rp\nJOIN inventory AS i ON i.inventory_id = rp.inventory_id\nJOIN film AS f ON f.film_id = i.film_id\nJOIN customer_spending AS s ON s.customer_id = rp.customer_id\nJOIN customer_rentals AS cr ON cr.customer_id = rp.customer_id\nWHERE rp.payment_rank = 1\nGROUP BY f.rating\nORDER BY f.rating;", "seconds": 16.39058254205156, "calls": [{"seconds": 3.122875791043043, "usage": {"completion_tokens": 96, "prompt_tokens": 1700, "total_tokens": 1796, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1115, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1115, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1115, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.21326533309184, "usage": {"completion_tokens": 445, "prompt_tokens": 2216, "total_tokens": 2661, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 141, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 516, "cached_tokens": 1115, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 516, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 516, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.981983416946605, "usage": {"completion_tokens": 284, "prompt_tokens": 3078, "total_tokens": 3362, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 862, "cached_tokens": 1631, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 862, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 862, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "71b96cbacc4e988e4d4a24bee4d6752232080958e729d1948ca37d3a925a0a20", "csv_sha256": "f48740401dddb6a04b0391e12baa32310e431f95afbd22598dad182641d33004"} +{"instance_id": "local197", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH monthly_payments AS (\n SELECT customer_id,\n DATE(payment_date, 'start of month') AS payment_month,\n SUM(CAST(ROUND(amount * 100) AS INTEGER)) AS total_cents\n FROM payment\n GROUP BY customer_id, DATE(payment_date, 'start of month')\n), top_customers AS (\n SELECT customer_id\n FROM monthly_payments\n GROUP BY customer_id\n ORDER BY SUM(total_cents) DESC, customer_id\n LIMIT 10\n), monthly_comparison AS (\n SELECT m.customer_id,\n m.payment_month,\n m.total_cents,\n LAG(m.payment_month) OVER customer_months AS previous_month,\n LAG(m.total_cents) OVER customer_months AS previous_total_cents\n FROM monthly_payments AS m\n JOIN top_customers AS t ON t.customer_id = m.customer_id\n WINDOW customer_months AS (\n PARTITION BY m.customer_id ORDER BY m.payment_month\n )\n), differences AS (\n SELECT customer_id,\n payment_month,\n ABS(total_cents - previous_total_cents) AS difference_cents\n FROM monthly_comparison\n WHERE payment_month = DATE(previous_month, '+1 month')\n)\nSELECT c.first_name || ' ' || c.last_name AS customer_name,\n STRFTIME('%Y-%m', d.payment_month) AS payment_month,\n ROUND(d.difference_cents / 100.0, 2) AS payment_difference\nFROM differences AS d\nJOIN customer AS c ON c.customer_id = d.customer_id\nWHERE d.difference_cents = (SELECT MAX(difference_cents) FROM differences)\nORDER BY d.payment_month, c.customer_id;\n```", "rows": 1, "sql": "WITH monthly_payments AS (\n SELECT customer_id,\n DATE(payment_date, 'start of month') AS payment_month,\n SUM(CAST(ROUND(amount * 100) AS INTEGER)) AS total_cents\n FROM payment\n GROUP BY customer_id, DATE(payment_date, 'start of month')\n), top_customers AS (\n SELECT customer_id\n FROM monthly_payments\n GROUP BY customer_id\n ORDER BY SUM(total_cents) DESC, customer_id\n LIMIT 10\n), monthly_comparison AS (\n SELECT m.customer_id,\n m.payment_month,\n m.total_cents,\n LAG(m.payment_month) OVER customer_months AS previous_month,\n LAG(m.total_cents) OVER customer_months AS previous_total_cents\n FROM monthly_payments AS m\n JOIN top_customers AS t ON t.customer_id = m.customer_id\n WINDOW customer_months AS (\n PARTITION BY m.customer_id ORDER BY m.payment_month\n )\n), differences AS (\n SELECT customer_id,\n payment_month,\n ABS(total_cents - previous_total_cents) AS difference_cents\n FROM monthly_comparison\n WHERE payment_month = DATE(previous_month, '+1 month')\n)\nSELECT c.first_name || ' ' || c.last_name AS customer_name,\n STRFTIME('%Y-%m', d.payment_month) AS payment_month,\n ROUND(d.difference_cents / 100.0, 2) AS payment_difference\nFROM differences AS d\nJOIN customer AS c ON c.customer_id = d.customer_id\nWHERE d.difference_cents = (SELECT MAX(difference_cents) FROM differences)\nORDER BY d.payment_month, c.customer_id;", "seconds": 22.92595658299979, "calls": [{"seconds": 2.6678446249570698, "usage": {"completion_tokens": 64, "prompt_tokens": 1688, "total_tokens": 1752, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1103, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1103, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1103, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 13.622240916010924, "usage": {"completion_tokens": 706, "prompt_tokens": 1952, "total_tokens": 2658, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 316, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 264, "cached_tokens": 1103, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 264, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 264, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.600940959062427, "usage": {"completion_tokens": 400, "prompt_tokens": 3060, "total_tokens": 3460, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 37, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1108, "cached_tokens": 1367, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1108, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1108, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "25e7bea366705dfa3ede8dab12ebb4d26d275999216c077cce384b0062f9da05", "csv_sha256": "603b54a879142cf5d0645bd292e0a4b6cef2d6586d49b404711578c163f0bbea"} +{"instance_id": "local198", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH eligible_countries AS (\n SELECT Country\n FROM customers\n GROUP BY Country\n HAVING COUNT(*) > 4\n), country_sales AS (\n SELECT c.Country, ROUND(SUM(i.Total), 2) AS total_sales\n FROM eligible_countries AS e\n JOIN customers AS c ON c.Country = e.Country\n JOIN invoices AS i ON i.CustomerId = c.CustomerId\n GROUP BY c.Country\n), ranked_sales AS (\n SELECT total_sales,\n ROW_NUMBER() OVER (ORDER BY total_sales) AS rn,\n COUNT(*) OVER () AS country_count\n FROM country_sales\n)\nSELECT ROUND(AVG(total_sales), 3) AS median_total_sales\nFROM ranked_sales\nWHERE rn IN ((country_count + 1) / 2, (country_count + 2) / 2);\n```", "rows": 1, "sql": "WITH eligible_countries AS (\n SELECT Country\n FROM customers\n GROUP BY Country\n HAVING COUNT(*) > 4\n), country_sales AS (\n SELECT c.Country, ROUND(SUM(i.Total), 2) AS total_sales\n FROM eligible_countries AS e\n JOIN customers AS c ON c.Country = e.Country\n JOIN invoices AS i ON i.CustomerId = c.CustomerId\n GROUP BY c.Country\n), ranked_sales AS (\n SELECT total_sales,\n ROW_NUMBER() OVER (ORDER BY total_sales) AS rn,\n COUNT(*) OVER () AS country_count\n FROM country_sales\n)\nSELECT ROUND(AVG(total_sales), 3) AS median_total_sales\nFROM ranked_sales\nWHERE rn IN ((country_count + 1) / 2, (country_count + 2) / 2);", "seconds": 19.03967737511266, "calls": [{"seconds": 2.972268959041685, "usage": {"completion_tokens": 65, "prompt_tokens": 1631, "total_tokens": 1696, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1075, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1075, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1075, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.059652957948856, "usage": {"completion_tokens": 492, "prompt_tokens": 1953, "total_tokens": 2445, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 293, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 322, "cached_tokens": 1075, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 322, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 322, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.9954329170286655, "usage": {"completion_tokens": 217, "prompt_tokens": 2649, "total_tokens": 2866, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 33, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 696, "cached_tokens": 1397, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 696, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 696, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "cb5cb0dc8f42b2cc589b307292a033cc3dd709e50d5dafdfdc3c345f6ea9626f", "csv_sha256": "c0cccc3d8984f36b263a504e3c693d46132f1e3132f1ebfdd87031679ba58e36"} +{"instance_id": "local199", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH monthly_rentals AS (\n SELECT s.store_id,\n CAST(strftime('%Y', r.rental_date) AS INTEGER) AS year,\n CAST(strftime('%m', r.rental_date) AS INTEGER) AS month,\n COUNT(*) AS total_rentals\n FROM rental AS r\n JOIN staff AS st ON st.staff_id = r.staff_id\n JOIN store AS s ON s.store_id = st.store_id\n GROUP BY s.store_id, year, month\n), ranked_months AS (\n SELECT store_id, year, month, total_rentals,\n RANK() OVER (PARTITION BY store_id ORDER BY total_rentals DESC) AS rental_rank\n FROM monthly_rentals\n)\nSELECT store_id, year, month, total_rentals\nFROM ranked_months\nWHERE rental_rank = 1\nORDER BY store_id, year, month;\n```", "rows": 2, "sql": "WITH monthly_rentals AS (\n SELECT s.store_id,\n CAST(strftime('%Y', r.rental_date) AS INTEGER) AS year,\n CAST(strftime('%m', r.rental_date) AS INTEGER) AS month,\n COUNT(*) AS total_rentals\n FROM rental AS r\n JOIN staff AS st ON st.staff_id = r.staff_id\n JOIN store AS s ON s.store_id = st.store_id\n GROUP BY s.store_id, year, month\n), ranked_months AS (\n SELECT store_id, year, month, total_rentals,\n RANK() OVER (PARTITION BY store_id ORDER BY total_rentals DESC) AS rental_rank\n FROM monthly_rentals\n)\nSELECT store_id, year, month, total_rentals\nFROM ranked_months\nWHERE rental_rank = 1\nORDER BY store_id, year, month;", "seconds": 12.564573374926113, "calls": [{"seconds": 2.806790125090629, "usage": {"completion_tokens": 66, "prompt_tokens": 1675, "total_tokens": 1741, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1090, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1090, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1090, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.889104874921031, "usage": {"completion_tokens": 252, "prompt_tokens": 1970, "total_tokens": 2222, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 38, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 295, "cached_tokens": 1090, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 295, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 295, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.798080499982461, "usage": {"completion_tokens": 196, "prompt_tokens": 2476, "total_tokens": 2672, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 506, "cached_tokens": 1385, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 506, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 506, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1f5989fa7142dac3bbc85a29a38b0efad69d997cf1ac743cfb5da68844d6c4bd", "csv_sha256": "ec0f6548a87fdb6fbc9b9c80c6b33ace0208c1d06ae439b97da45e68866d112b"} +{"instance_id": "local201", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH dictionary AS (\n SELECT DISTINCT words COLLATE BINARY AS word\n FROM word_list\n WHERE length(words) BETWEEN 4 AND 5\n), positions(pos) AS (\n VALUES (1), (2), (3), (4), (5)\n), signatures AS (\n SELECT word, pos,\n group_concat(substr(word, pos, 1), '') OVER (\n PARTITION BY word COLLATE BINARY\n ORDER BY substr(word, pos, 1) COLLATE BINARY\n ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING\n ) AS signature\n FROM dictionary\n JOIN positions ON pos <= length(word)\n), counts AS (\n SELECT word,\n count(*) OVER (PARTITION BY signature COLLATE BINARY) - 1 AS anagram_count\n FROM signatures\n WHERE pos = 1\n)\nSELECT word, anagram_count\nFROM counts\nWHERE substr(word, 1, 1) COLLATE BINARY = 'r'\n AND anagram_count > 0\nORDER BY word COLLATE BINARY\nLIMIT 10;\n```", "rows": 10, "sql": "WITH dictionary AS (\n SELECT DISTINCT words COLLATE BINARY AS word\n FROM word_list\n WHERE length(words) BETWEEN 4 AND 5\n), positions(pos) AS (\n VALUES (1), (2), (3), (4), (5)\n), signatures AS (\n SELECT word, pos,\n group_concat(substr(word, pos, 1), '') OVER (\n PARTITION BY word COLLATE BINARY\n ORDER BY substr(word, pos, 1) COLLATE BINARY\n ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING\n ) AS signature\n FROM dictionary\n JOIN positions ON pos <= length(word)\n), counts AS (\n SELECT word,\n count(*) OVER (PARTITION BY signature COLLATE BINARY) - 1 AS anagram_count\n FROM signatures\n WHERE pos = 1\n)\nSELECT word, anagram_count\nFROM counts\nWHERE substr(word, 1, 1) COLLATE BINARY = 'r'\n AND anagram_count > 0\nORDER BY word COLLATE BINARY\nLIMIT 10;", "seconds": 17.791342000011355, "calls": [{"seconds": 2.2796293750870973, "usage": {"completion_tokens": 20, "prompt_tokens": 1699, "total_tokens": 1719, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1102, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1102, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1102, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.876872083055787, "usage": {"completion_tokens": 445, "prompt_tokens": 1740, "total_tokens": 2185, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 182, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 41, "cached_tokens": 1102, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 41, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 41, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.3075876670191064, "usage": {"completion_tokens": 241, "prompt_tokens": 2502, "total_tokens": 2743, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 762, "cached_tokens": 1143, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 762, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 762, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d4ecc97821e798456afdb1e5c5bb7c046cb43fd0d1f57a2dd552d72fbbb7d395", "csv_sha256": "46ef527c8b7ff2d27684d6dc5357c9af85d78757d2f76c9e5cdd9d6f4c8fc1d3"} +{"instance_id": "local202", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "failed", "answer": "❓ Awaiting user: Which values of `alien_data.aggressive` count as friendly and which count as hostile?", "error_type": "ValueError", "seconds": 22.43785662506707, "calls": [{"seconds": 2.144739417009987, "usage": {"completion_tokens": 20, "prompt_tokens": 1662, "total_tokens": 1682, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1083, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.025501040974632, "usage": {"completion_tokens": 18, "prompt_tokens": 1785, "total_tokens": 1803, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1206, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.564260208979249, "usage": {"completion_tokens": 106, "prompt_tokens": 1833, "total_tokens": 1939, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 34, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1254, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.206798332976177, "usage": {"completion_tokens": 124, "prompt_tokens": 2073, "total_tokens": 2197, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 107, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 240, "cached_tokens": 1254, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 240, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 240, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.488116457941942, "usage": {"completion_tokens": 296, "prompt_tokens": 2273, "total_tokens": 2569, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 259, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 200, "cached_tokens": 1494, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 200, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 200, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "4321bb0f31a000574794cae7863fdafd73bba7c660d8091a6d5fb75bfdae194b"} +{"instance_id": "local209", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH store_totals AS (\n SELECT s.store_id, s.store_name, COUNT(*) AS total_orders\n FROM orders AS o\n JOIN stores AS s ON s.store_id = o.store_id\n GROUP BY s.store_id, s.store_name\n), top_stores AS (\n SELECT store_id, store_name, total_orders\n FROM store_totals\n WHERE total_orders = (SELECT MAX(total_orders) FROM store_totals)\n), delivered AS (\n SELECT DISTINCT delivery_order_id\n FROM deliveries\n WHERE delivery_status = 'DELIVERED'\n)\nSELECT t.store_name,\n 1.0 * COUNT(d.delivery_order_id) / t.total_orders AS delivered_order_ratio\nFROM top_stores AS t\nJOIN orders AS o ON o.store_id = t.store_id\nLEFT JOIN delivered AS d ON d.delivery_order_id = o.delivery_order_id\nGROUP BY t.store_id, t.store_name, t.total_orders\nORDER BY t.store_id;\n```", "rows": 1, "sql": "WITH store_totals AS (\n SELECT s.store_id, s.store_name, COUNT(*) AS total_orders\n FROM orders AS o\n JOIN stores AS s ON s.store_id = o.store_id\n GROUP BY s.store_id, s.store_name\n), top_stores AS (\n SELECT store_id, store_name, total_orders\n FROM store_totals\n WHERE total_orders = (SELECT MAX(total_orders) FROM store_totals)\n), delivered AS (\n SELECT DISTINCT delivery_order_id\n FROM deliveries\n WHERE delivery_status = 'DELIVERED'\n)\nSELECT t.store_name,\n 1.0 * COUNT(d.delivery_order_id) / t.total_orders AS delivered_order_ratio\nFROM top_stores AS t\nJOIN orders AS o ON o.store_id = t.store_id\nLEFT JOIN delivered AS d ON d.delivery_order_id = o.delivery_order_id\nGROUP BY t.store_id, t.store_name, t.total_orders\nORDER BY t.store_id;", "seconds": 49.70339908392634, "calls": [{"seconds": 3.210051125031896, "usage": {"completion_tokens": 66, "prompt_tokens": 1648, "total_tokens": 1714, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1103, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1103, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1103, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.5776915000751615, "usage": {"completion_tokens": 247, "prompt_tokens": 2166, "total_tokens": 2413, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 65, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 518, "cached_tokens": 1103, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 518, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 518, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.874656917061657, "usage": {"completion_tokens": 224, "prompt_tokens": 2620, "total_tokens": 2844, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 454, "cached_tokens": 1621, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 454, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 454, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.239483957993798, "usage": {"completion_tokens": 208, "prompt_tokens": 3092, "total_tokens": 3300, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 472, "cached_tokens": 2075, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 472, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 472, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ddc3d0143e159279d00d680a15b88fe178aa0becdf199e445106e7262c1c1497", "csv_sha256": "3db88d516453b0e56c7596a1cf1ac6fc7fd38ad53ed76aceaef8fbe41e101cd3"} +{"instance_id": "local210", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH hub_order_counts AS (\n SELECT\n h.hub_id,\n h.hub_name,\n COUNT(CASE WHEN o.order_created_month = 2 THEN 1 END) AS february_orders,\n COUNT(CASE WHEN o.order_created_month = 3 THEN 1 END) AS march_orders\n FROM orders AS o\n JOIN stores AS s ON s.store_id = o.store_id\n JOIN hubs AS h ON h.hub_id = s.hub_id\n WHERE o.order_status = 'FINISHED'\n AND o.order_created_month IN (2, 3)\n GROUP BY h.hub_id, h.hub_name\n)\nSELECT hub_name\nFROM hub_order_counts\nWHERE february_orders > 0\n AND 5 * march_orders > 6 * february_orders\nORDER BY hub_name;\n```", "rows": 21, "sql": "WITH hub_order_counts AS (\n SELECT\n h.hub_id,\n h.hub_name,\n COUNT(CASE WHEN o.order_created_month = 2 THEN 1 END) AS february_orders,\n COUNT(CASE WHEN o.order_created_month = 3 THEN 1 END) AS march_orders\n FROM orders AS o\n JOIN stores AS s ON s.store_id = o.store_id\n JOIN hubs AS h ON h.hub_id = s.hub_id\n WHERE o.order_status = 'FINISHED'\n AND o.order_created_month IN (2, 3)\n GROUP BY h.hub_id, h.hub_name\n)\nSELECT hub_name\nFROM hub_order_counts\nWHERE february_orders > 0\n AND 5 * march_orders > 6 * february_orders\nORDER BY hub_name;", "seconds": 27.85244320903439, "calls": [{"seconds": 2.6372861249838024, "usage": {"completion_tokens": 47, "prompt_tokens": 1615, "total_tokens": 1662, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1070, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1070, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1070, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.764957582927309, "usage": {"completion_tokens": 66, "prompt_tokens": 1724, "total_tokens": 1790, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 109, "cached_tokens": 1070, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 109, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 109, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.341405874933116, "usage": {"completion_tokens": 111, "prompt_tokens": 2257, "total_tokens": 2368, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 38, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 533, "cached_tokens": 1179, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 533, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 533, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.797855874989182, "usage": {"completion_tokens": 168, "prompt_tokens": 2519, "total_tokens": 2687, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 88, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 262, "cached_tokens": 1712, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 262, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 262, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.844721624976955, "usage": {"completion_tokens": 303, "prompt_tokens": 2796, "total_tokens": 3099, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 103, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 277, "cached_tokens": 1974, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 277, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 277, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.15367095801048, "usage": {"completion_tokens": 275, "prompt_tokens": 3405, "total_tokens": 3680, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 91, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 609, "cached_tokens": 2251, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 609, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 609, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "862d0082a63a0dcd9fab2e810d71f6a948ea01199f89d5ceb51f122fc36d95e1", "csv_sha256": "b4024d006e7f955f96b50316bf9c690f15f5e69919b6f4254d0b277b7d06fae3"} +{"instance_id": "local212", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "failed", "answer": "❓ Awaiting user: For the daily average, which delivery statuses should count, should I use the order date or the delivery date, and should days with zero deliveries be included?", "error_type": "ValueError", "seconds": 38.66942941606976, "calls": [{"seconds": 3.4167913750279695, "usage": {"completion_tokens": 65, "prompt_tokens": 1609, "total_tokens": 1674, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1064, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1064, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1064, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.3548960420303047, "usage": {"completion_tokens": 19, "prompt_tokens": 1796, "total_tokens": 1815, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 187, "cached_tokens": 1064, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 187, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 187, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.00027408299502, "usage": {"completion_tokens": 234, "prompt_tokens": 2130, "total_tokens": 2364, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 110, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 334, "cached_tokens": 1251, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 334, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 334, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.532182124909014, "usage": {"completion_tokens": 388, "prompt_tokens": 2584, "total_tokens": 2972, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 302, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 454, "cached_tokens": 1585, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 454, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 454, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 14.596661041956395, "usage": {"completion_tokens": 529, "prompt_tokens": 3461, "total_tokens": 3990, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 479, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 877, "cached_tokens": 2039, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 877, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 877, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1cc83a266cc2af331c55a802c54a6a0963851b138b614181ec1dfa1132d5515c"} +{"instance_id": "local218", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH match_goals AS (\n SELECT season, home_team_api_id AS team_api_id, home_team_goal AS goals\n FROM \"Match\"\n UNION ALL\n SELECT season, away_team_api_id AS team_api_id, away_team_goal AS goals\n FROM \"Match\"\n), season_totals AS (\n SELECT team_api_id, season, SUM(goals) AS season_goals\n FROM match_goals\n GROUP BY team_api_id, season\n), team_peaks AS (\n SELECT team_api_id, MAX(season_goals) AS highest_season_goals\n FROM season_totals\n GROUP BY team_api_id\n), ranked AS (\n SELECT highest_season_goals,\n ROW_NUMBER() OVER (ORDER BY highest_season_goals) AS rn,\n COUNT(*) OVER () AS n\n FROM team_peaks\n)\nSELECT AVG(highest_season_goals) AS median_highest_season_goals\nFROM ranked\nWHERE rn IN ((n + 1) / 2, (n + 2) / 2);\n```", "rows": 1, "sql": "WITH match_goals AS (\n SELECT season, home_team_api_id AS team_api_id, home_team_goal AS goals\n FROM \"Match\"\n UNION ALL\n SELECT season, away_team_api_id AS team_api_id, away_team_goal AS goals\n FROM \"Match\"\n), season_totals AS (\n SELECT team_api_id, season, SUM(goals) AS season_goals\n FROM match_goals\n GROUP BY team_api_id, season\n), team_peaks AS (\n SELECT team_api_id, MAX(season_goals) AS highest_season_goals\n FROM season_totals\n GROUP BY team_api_id\n), ranked AS (\n SELECT highest_season_goals,\n ROW_NUMBER() OVER (ORDER BY highest_season_goals) AS rn,\n COUNT(*) OVER () AS n\n FROM team_peaks\n)\nSELECT AVG(highest_season_goals) AS median_highest_season_goals\nFROM ranked\nWHERE rn IN ((n + 1) / 2, (n + 2) / 2);", "seconds": 17.772341749980114, "calls": [{"seconds": 2.108486375072971, "usage": {"completion_tokens": 15, "prompt_tokens": 1614, "total_tokens": 1629, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1062, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.780452459002845, "usage": {"completion_tokens": 66, "prompt_tokens": 1674, "total_tokens": 1740, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 60, "cached_tokens": 1062, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 60, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 60, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.362891500000842, "usage": {"completion_tokens": 340, "prompt_tokens": 2904, "total_tokens": 3244, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 90, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1230, "cached_tokens": 1122, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1230, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1230, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.707164042047225, "usage": {"completion_tokens": 230, "prompt_tokens": 3500, "total_tokens": 3730, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 596, "cached_tokens": 2352, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 596, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 596, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "991757641e9826335d2384f5dde5bba7aef137f9b5be6aaa45e3a86ebec0626e", "csv_sha256": "e97b74006c8fda942a913a29bd461f5980e14c37801b78ffddd4a2881389aaed"} +{"instance_id": "local219", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH appearances AS (\n SELECT league_id, home_team_api_id AS team_api_id,\n CASE WHEN home_team_goal > away_team_goal THEN 1 ELSE 0 END AS won\n FROM \"Match\"\n UNION ALL\n SELECT league_id, away_team_api_id AS team_api_id,\n CASE WHEN away_team_goal > home_team_goal THEN 1 ELSE 0 END AS won\n FROM \"Match\"\n), win_totals AS (\n SELECT league_id, team_api_id, SUM(won) AS total_wins\n FROM appearances\n GROUP BY league_id, team_api_id\n), ranked AS (\n SELECT w.league_id, t.team_long_name AS team_name, w.total_wins,\n ROW_NUMBER() OVER (\n PARTITION BY w.league_id\n ORDER BY w.total_wins, w.team_api_id, t.id\n ) AS league_rank\n FROM win_totals AS w\n JOIN Team AS t ON t.team_api_id = w.team_api_id\n)\nSELECT l.name AS league_name, r.team_name, r.total_wins\nFROM ranked AS r\nJOIN League AS l ON l.id = r.league_id\nWHERE r.league_rank = 1\nORDER BY l.name, l.id;\n```", "rows": 11, "sql": "WITH appearances AS (\n SELECT league_id, home_team_api_id AS team_api_id,\n CASE WHEN home_team_goal > away_team_goal THEN 1 ELSE 0 END AS won\n FROM \"Match\"\n UNION ALL\n SELECT league_id, away_team_api_id AS team_api_id,\n CASE WHEN away_team_goal > home_team_goal THEN 1 ELSE 0 END AS won\n FROM \"Match\"\n), win_totals AS (\n SELECT league_id, team_api_id, SUM(won) AS total_wins\n FROM appearances\n GROUP BY league_id, team_api_id\n), ranked AS (\n SELECT w.league_id, t.team_long_name AS team_name, w.total_wins,\n ROW_NUMBER() OVER (\n PARTITION BY w.league_id\n ORDER BY w.total_wins, w.team_api_id, t.id\n ) AS league_rank\n FROM win_totals AS w\n JOIN Team AS t ON t.team_api_id = w.team_api_id\n)\nSELECT l.name AS league_name, r.team_name, r.total_wins\nFROM ranked AS r\nJOIN League AS l ON l.id = r.league_id\nWHERE r.league_rank = 1\nORDER BY l.name, l.id;", "seconds": 15.781093375058845, "calls": [{"seconds": 2.731538875028491, "usage": {"completion_tokens": 65, "prompt_tokens": 1653, "total_tokens": 1718, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1101, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1101, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1101, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.053161500021815, "usage": {"completion_tokens": 378, "prompt_tokens": 2661, "total_tokens": 3039, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 88, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1008, "cached_tokens": 1101, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1008, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1008, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.253826332977042, "usage": {"completion_tokens": 278, "prompt_tokens": 3488, "total_tokens": 3766, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 7, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 827, "cached_tokens": 2109, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 827, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 827, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "42d7474095540d16ce7b85a621aed1f4c07eb4cf9e9daeb54b5658078ad10bff", "csv_sha256": "3f9006c359e32dcb4b3200269a6125ae0057947bfc2c7cfaba11c43c56b21178"} +{"instance_id": "local220", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH slots(slot) AS (\n VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11),\n (12), (13), (14), (15), (16), (17), (18), (19), (20), (21), (22)\n), appearances AS (\n SELECT m.id AS match_id,\n CASE s.slot\n WHEN 1 THEN m.home_player_1\n WHEN 2 THEN m.home_player_2\n WHEN 3 THEN m.home_player_3\n WHEN 4 THEN m.home_player_4\n WHEN 5 THEN m.home_player_5\n WHEN 6 THEN m.home_player_6\n WHEN 7 THEN m.home_player_7\n WHEN 8 THEN m.home_player_8\n WHEN 9 THEN m.home_player_9\n WHEN 10 THEN m.home_player_10\n WHEN 11 THEN m.home_player_11\n WHEN 12 THEN m.away_player_1\n WHEN 13 THEN m.away_player_2\n WHEN 14 THEN m.away_player_3\n WHEN 15 THEN m.away_player_4\n WHEN 16 THEN m.away_player_5\n WHEN 17 THEN m.away_player_6\n WHEN 18 THEN m.away_player_7\n WHEN 19 THEN m.away_player_8\n WHEN 20 THEN m.away_player_9\n WHEN 21 THEN m.away_player_10\n WHEN 22 THEN m.away_player_11\n END AS player_api_id,\n CASE\n WHEN s.slot <= 11 AND m.home_team_goal > m.away_team_goal THEN 'Win'\n WHEN s.slot > 11 AND m.away_team_goal > m.home_team_goal THEN 'Win'\n ELSE 'Loss'\n END AS outcome\n FROM \"Match\" AS m\n CROSS JOIN slots AS s\n WHERE m.home_team_goal <> m.away_team_goal\n), ranked AS (\n SELECT player_api_id, outcome,\n DENSE_RANK() OVER (\n PARTITION BY outcome ORDER BY COUNT(DISTINCT match_id) DESC\n ) AS outcome_rank\n FROM appearances\n WHERE player_api_id IS NOT NULL\n GROUP BY player_api_id, outcome\n)\nSELECT r.outcome, p.player_name\nFROM ranked AS r\nJOIN Player AS p ON p.player_api_id = r.player_api_id\nWHERE r.outcome_rank = 1\nORDER BY r.outcome DESC, p.player_name;\n```", "rows": 2, "sql": "WITH slots(slot) AS (\n VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11),\n (12), (13), (14), (15), (16), (17), (18), (19), (20), (21), (22)\n), appearances AS (\n SELECT m.id AS match_id,\n CASE s.slot\n WHEN 1 THEN m.home_player_1\n WHEN 2 THEN m.home_player_2\n WHEN 3 THEN m.home_player_3\n WHEN 4 THEN m.home_player_4\n WHEN 5 THEN m.home_player_5\n WHEN 6 THEN m.home_player_6\n WHEN 7 THEN m.home_player_7\n WHEN 8 THEN m.home_player_8\n WHEN 9 THEN m.home_player_9\n WHEN 10 THEN m.home_player_10\n WHEN 11 THEN m.home_player_11\n WHEN 12 THEN m.away_player_1\n WHEN 13 THEN m.away_player_2\n WHEN 14 THEN m.away_player_3\n WHEN 15 THEN m.away_player_4\n WHEN 16 THEN m.away_player_5\n WHEN 17 THEN m.away_player_6\n WHEN 18 THEN m.away_player_7\n WHEN 19 THEN m.away_player_8\n WHEN 20 THEN m.away_player_9\n WHEN 21 THEN m.away_player_10\n WHEN 22 THEN m.away_player_11\n END AS player_api_id,\n CASE\n WHEN s.slot <= 11 AND m.home_team_goal > m.away_team_goal THEN 'Win'\n WHEN s.slot > 11 AND m.away_team_goal > m.home_team_goal THEN 'Win'\n ELSE 'Loss'\n END AS outcome\n FROM \"Match\" AS m\n CROSS JOIN slots AS s\n WHERE m.home_team_goal <> m.away_team_goal\n), ranked AS (\n SELECT player_api_id, outcome,\n DENSE_RANK() OVER (\n PARTITION BY outcome ORDER BY COUNT(DISTINCT match_id) DESC\n ) AS outcome_rank\n FROM appearances\n WHERE player_api_id IS NOT NULL\n GROUP BY player_api_id, outcome\n)\nSELECT r.outcome, p.player_name\nFROM ranked AS r\nJOIN Player AS p ON p.player_api_id = r.player_api_id\nWHERE r.outcome_rank = 1\nORDER BY r.outcome DESC, p.player_name;", "seconds": 41.05834883300122, "calls": [{"seconds": 3.7259288750356063, "usage": {"completion_tokens": 66, "prompt_tokens": 1647, "total_tokens": 1713, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1095, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1095, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1095, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 26.260424750042148, "usage": {"completion_tokens": 870, "prompt_tokens": 2884, "total_tokens": 3754, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 277, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1237, "cached_tokens": 1095, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1237, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1237, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.690809374907985, "usage": {"completion_tokens": 568, "prompt_tokens": 4358, "total_tokens": 4926, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1474, "cached_tokens": 2332, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1474, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1474, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d992cb22ab95c919be22f16baaac427a162ed1cc3ff8d1cb97e3ca634c06805b", "csv_sha256": "3f396bc4c94ff1449c20898bcb459bd28aad7bc76323cfe65dd2588e88652049"} +{"instance_id": "local221", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH match_winners AS (\n SELECT home_team_api_id AS team_api_id\n FROM \"Match\"\n WHERE home_team_goal > away_team_goal\n UNION ALL\n SELECT away_team_api_id AS team_api_id\n FROM \"Match\"\n WHERE away_team_goal > home_team_goal\n)\nSELECT t.team_long_name AS team, COUNT(w.team_api_id) AS wins\nFROM Team AS t\nLEFT JOIN match_winners AS w ON w.team_api_id = t.team_api_id\nGROUP BY t.team_api_id, t.team_long_name\nORDER BY wins DESC, team ASC, t.team_api_id ASC\nLIMIT 10;\n```", "rows": 10, "sql": "WITH match_winners AS (\n SELECT home_team_api_id AS team_api_id\n FROM \"Match\"\n WHERE home_team_goal > away_team_goal\n UNION ALL\n SELECT away_team_api_id AS team_api_id\n FROM \"Match\"\n WHERE away_team_goal > home_team_goal\n)\nSELECT t.team_long_name AS team, COUNT(w.team_api_id) AS wins\nFROM Team AS t\nLEFT JOIN match_winners AS w ON w.team_api_id = t.team_api_id\nGROUP BY t.team_api_id, t.team_long_name\nORDER BY wins DESC, team ASC, t.team_api_id ASC\nLIMIT 10;", "seconds": 19.297285874956287, "calls": [{"seconds": 2.265887791989371, "usage": {"completion_tokens": 19, "prompt_tokens": 1613, "total_tokens": 1632, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1061, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1061, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1061, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8752624159678817, "usage": {"completion_tokens": 64, "prompt_tokens": 2498, "total_tokens": 2562, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 885, "cached_tokens": 1061, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 885, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 885, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0974746249848977, "usage": {"completion_tokens": 63, "prompt_tokens": 2661, "total_tokens": 2724, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 41, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 163, "cached_tokens": 1946, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 163, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 163, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.4494733329629526, "usage": {"completion_tokens": 282, "prompt_tokens": 2976, "total_tokens": 3258, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 122, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 315, "cached_tokens": 2109, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 315, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 315, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.869925499893725, "usage": {"completion_tokens": 141, "prompt_tokens": 3478, "total_tokens": 3619, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 502, "cached_tokens": 2424, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 502, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 502, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2ccabaec7f07da06734faaae3a0b96ee869fd269044e61b08127cd0f851ca231", "csv_sha256": "97c0b0ebfbb74ab7fa4fee6c0ad5aa00256007a46e66594357bf7c918a099718"} +{"instance_id": "local228", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH batting_totals AS (\n SELECT m.season_id, b.striker AS player_id, SUM(s.runs_scored) AS total_runs\n FROM batsman_scored AS s\n JOIN ball_by_ball AS b USING (match_id, innings_no, over_id, ball_id)\n JOIN \"match\" AS m ON m.match_id = b.match_id\n GROUP BY m.season_id, b.striker\n), bowling_totals AS (\n SELECT m.season_id, b.bowler AS player_id, COUNT(*) AS total_wickets\n FROM wicket_taken AS w\n JOIN ball_by_ball AS b USING (match_id, innings_no, over_id, ball_id)\n JOIN \"match\" AS m ON m.match_id = b.match_id\n WHERE LOWER(TRIM(w.kind_out)) NOT IN ('run out', 'hit wicket', 'retired hurt')\n GROUP BY m.season_id, b.bowler\n), ranked_batsmen AS (\n SELECT season_id, player_id, total_runs,\n ROW_NUMBER() OVER (\n PARTITION BY season_id ORDER BY total_runs DESC, player_id ASC\n ) AS position\n FROM batting_totals\n), ranked_bowlers AS (\n SELECT season_id, player_id, total_wickets,\n ROW_NUMBER() OVER (\n PARTITION BY season_id ORDER BY total_wickets DESC, player_id ASC\n ) AS position\n FROM bowling_totals\n)\nSELECT bat.season_id,\n batter.player_name AS batsman_name,\n bat.total_runs,\n bowler.player_name AS bowler_name,\n bowl.total_wickets\nFROM ranked_batsmen AS bat\nJOIN ranked_bowlers AS bowl\n ON bowl.season_id = bat.season_id AND bowl.position = bat.position\nJOIN player AS batter ON batter.player_id = bat.player_id\nJOIN player AS bowler ON bowler.player_id = bowl.player_id\nWHERE bat.position <= 3\nORDER BY bat.season_id ASC, bat.position ASC;\n```", "rows": 27, "sql": "WITH batting_totals AS (\n SELECT m.season_id, b.striker AS player_id, SUM(s.runs_scored) AS total_runs\n FROM batsman_scored AS s\n JOIN ball_by_ball AS b USING (match_id, innings_no, over_id, ball_id)\n JOIN \"match\" AS m ON m.match_id = b.match_id\n GROUP BY m.season_id, b.striker\n), bowling_totals AS (\n SELECT m.season_id, b.bowler AS player_id, COUNT(*) AS total_wickets\n FROM wicket_taken AS w\n JOIN ball_by_ball AS b USING (match_id, innings_no, over_id, ball_id)\n JOIN \"match\" AS m ON m.match_id = b.match_id\n WHERE LOWER(TRIM(w.kind_out)) NOT IN ('run out', 'hit wicket', 'retired hurt')\n GROUP BY m.season_id, b.bowler\n), ranked_batsmen AS (\n SELECT season_id, player_id, total_runs,\n ROW_NUMBER() OVER (\n PARTITION BY season_id ORDER BY total_runs DESC, player_id ASC\n ) AS position\n FROM batting_totals\n), ranked_bowlers AS (\n SELECT season_id, player_id, total_wickets,\n ROW_NUMBER() OVER (\n PARTITION BY season_id ORDER BY total_wickets DESC, player_id ASC\n ) AS position\n FROM bowling_totals\n)\nSELECT bat.season_id,\n batter.player_name AS batsman_name,\n bat.total_runs,\n bowler.player_name AS bowler_name,\n bowl.total_wickets\nFROM ranked_batsmen AS bat\nJOIN ranked_bowlers AS bowl\n ON bowl.season_id = bat.season_id AND bowl.position = bat.position\nJOIN player AS batter ON batter.player_id = bat.player_id\nJOIN player AS bowler ON bowler.player_id = bowl.player_id\nWHERE bat.position <= 3\nORDER BY bat.season_id ASC, bat.position ASC;", "seconds": 26.2064672090346, "calls": [{"seconds": 3.21938612498343, "usage": {"completion_tokens": 103, "prompt_tokens": 1727, "total_tokens": 1830, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1172, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1172, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1172, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 15.665084958076477, "usage": {"completion_tokens": 870, "prompt_tokens": 2180, "total_tokens": 3050, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 416, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 453, "cached_tokens": 1172, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 453, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 453, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.101958375074901, "usage": {"completion_tokens": 426, "prompt_tokens": 3953, "total_tokens": 4379, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1773, "cached_tokens": 1625, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1773, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1773, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5024c7a34d7dbe6e47f55387818f1ad31a493b784d46b1d33d9a385449f3e749", "csv_sha256": "0786135c6cb5ab62aa68ac5fed482c90f069aef814b87bce8ba1a3a86d3cebec"} +{"instance_id": "local229", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH deliveries AS (\n SELECT b.match_id,\n b.innings_no,\n MIN(b.striker, b.non_striker) AS batter_a,\n MAX(b.striker, b.non_striker) AS batter_b,\n b.striker,\n s.runs_scored\n FROM ball_by_ball AS b\n LEFT JOIN batsman_scored AS s\n USING (match_id, innings_no, over_id, ball_id)\n), pair_scores AS (\n SELECT match_id,\n batter_a,\n batter_b,\n SUM(CASE WHEN striker = batter_a THEN COALESCE(runs_scored, 0) ELSE 0 END) AS score_a,\n SUM(CASE WHEN striker = batter_b THEN COALESCE(runs_scored, 0) ELSE 0 END) AS score_b\n FROM deliveries\n GROUP BY match_id, innings_no, batter_a, batter_b\n), ranked AS (\n SELECT *,\n score_a + score_b AS partnership_score,\n DENSE_RANK() OVER (\n PARTITION BY match_id\n ORDER BY score_a + score_b DESC\n ) AS partnership_rank\n FROM pair_scores\n)\nSELECT match_id,\n CASE WHEN score_a > score_b THEN batter_a ELSE batter_b END AS player_1,\n CASE WHEN score_a > score_b THEN batter_b ELSE batter_a END AS player_2,\n MAX(score_a, score_b) AS player_1_score,\n MIN(score_a, score_b) AS player_2_score,\n partnership_score\nFROM ranked\nWHERE partnership_rank = 1\nORDER BY match_id, player_1, player_2;\n```", "rows": 577, "sql": "WITH deliveries AS (\n SELECT b.match_id,\n b.innings_no,\n MIN(b.striker, b.non_striker) AS batter_a,\n MAX(b.striker, b.non_striker) AS batter_b,\n b.striker,\n s.runs_scored\n FROM ball_by_ball AS b\n LEFT JOIN batsman_scored AS s\n USING (match_id, innings_no, over_id, ball_id)\n), pair_scores AS (\n SELECT match_id,\n batter_a,\n batter_b,\n SUM(CASE WHEN striker = batter_a THEN COALESCE(runs_scored, 0) ELSE 0 END) AS score_a,\n SUM(CASE WHEN striker = batter_b THEN COALESCE(runs_scored, 0) ELSE 0 END) AS score_b\n FROM deliveries\n GROUP BY match_id, innings_no, batter_a, batter_b\n), ranked AS (\n SELECT *,\n score_a + score_b AS partnership_score,\n DENSE_RANK() OVER (\n PARTITION BY match_id\n ORDER BY score_a + score_b DESC\n ) AS partnership_rank\n FROM pair_scores\n)\nSELECT match_id,\n CASE WHEN score_a > score_b THEN batter_a ELSE batter_b END AS player_1,\n CASE WHEN score_a > score_b THEN batter_b ELSE batter_a END AS player_2,\n MAX(score_a, score_b) AS player_1_score,\n MIN(score_a, score_b) AS player_2_score,\n partnership_score\nFROM ranked\nWHERE partnership_rank = 1\nORDER BY match_id, player_1, player_2;", "seconds": 65.41132349998225, "calls": [{"seconds": 3.4603053329046816, "usage": {"completion_tokens": 120, "prompt_tokens": 1717, "total_tokens": 1837, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1162, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1162, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1162, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0869111249921843, "usage": {"completion_tokens": 67, "prompt_tokens": 2217, "total_tokens": 2284, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 47, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 500, "cached_tokens": 1162, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 500, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 500, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.6000115419737995, "usage": {"completion_tokens": 175, "prompt_tokens": 2314, "total_tokens": 2489, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 158, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 97, "cached_tokens": 1662, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 97, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 97, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 13.214290999923833, "usage": {"completion_tokens": 728, "prompt_tokens": 2534, "total_tokens": 3262, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 391, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 220, "cached_tokens": 1759, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 220, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 220, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 28.418361541000195, "usage": {"completion_tokens": 1338, "prompt_tokens": 3639, "total_tokens": 4977, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 957, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1105, "cached_tokens": 1979, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1105, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1105, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.140449250000529, "usage": {"completion_tokens": 540, "prompt_tokens": 5548, "total_tokens": 6088, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 189, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1909, "cached_tokens": 3084, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1909, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1909, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "fd17040ea89034fced5b8981a091911b3ce2207aed99a98e6b87a80dd93acb46", "csv_sha256": "d5a463f16410ca552ce7979b59cbb0d5e61772fd546b1a6447c14ec76cd855d7"} +{"instance_id": "local230", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH highly_rated_movie_genres AS (\n SELECT g.movie_id, g.genre\n FROM genre AS g\n JOIN ratings AS r ON r.movie_id = g.movie_id\n WHERE r.avg_rating > 8\n), top_genres AS (\n SELECT genre\n FROM highly_rated_movie_genres\n GROUP BY genre\n ORDER BY COUNT(DISTINCT movie_id) DESC, genre ASC\n LIMIT 3\n)\nSELECT n.name AS director_name,\n COUNT(DISTINCT dm.movie_id) AS movie_count\nFROM highly_rated_movie_genres AS hg\nJOIN top_genres AS tg ON tg.genre = hg.genre\nJOIN director_mapping AS dm ON dm.movie_id = hg.movie_id\nJOIN names AS n ON n.id = dm.name_id\nGROUP BY n.id, n.name\nORDER BY movie_count DESC, director_name ASC, n.id ASC\nLIMIT 4;\n```", "rows": 4, "sql": "WITH highly_rated_movie_genres AS (\n SELECT g.movie_id, g.genre\n FROM genre AS g\n JOIN ratings AS r ON r.movie_id = g.movie_id\n WHERE r.avg_rating > 8\n), top_genres AS (\n SELECT genre\n FROM highly_rated_movie_genres\n GROUP BY genre\n ORDER BY COUNT(DISTINCT movie_id) DESC, genre ASC\n LIMIT 3\n)\nSELECT n.name AS director_name,\n COUNT(DISTINCT dm.movie_id) AS movie_count\nFROM highly_rated_movie_genres AS hg\nJOIN top_genres AS tg ON tg.genre = hg.genre\nJOIN director_mapping AS dm ON dm.movie_id = hg.movie_id\nJOIN names AS n ON n.id = dm.name_id\nGROUP BY n.id, n.name\nORDER BY movie_count DESC, director_name ASC, n.id ASC\nLIMIT 4;", "seconds": 23.31167949992232, "calls": [{"seconds": 2.035036790999584, "usage": {"completion_tokens": 15, "prompt_tokens": 1640, "total_tokens": 1655, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1092, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1092, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1092, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.350817500031553, "usage": {"completion_tokens": 112, "prompt_tokens": 1692, "total_tokens": 1804, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 52, "cached_tokens": 1092, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 52, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 52, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.770415041013621, "usage": {"completion_tokens": 45, "prompt_tokens": 2125, "total_tokens": 2170, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 13, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 433, "cached_tokens": 1144, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 433, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 433, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.26477554102894, "usage": {"completion_tokens": 361, "prompt_tokens": 2999, "total_tokens": 3360, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 147, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 874, "cached_tokens": 1577, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 874, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 874, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.844065582961775, "usage": {"completion_tokens": 329, "prompt_tokens": 3599, "total_tokens": 3928, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 132, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 600, "cached_tokens": 2451, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 600, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 600, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "62eceb514331ab82410e67a0b56156712b6c968b68a4c06c3a28d998e1670441", "csv_sha256": "937192132e83672d99976a0b9eb61f3d6b4a76c2543f8c0c9de02aa544fbff11"} +{"instance_id": "local244", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH duration_bounds AS (\n SELECT (MIN(Milliseconds) + AVG(Milliseconds)) / 2.0 AS short_max_ms,\n (AVG(Milliseconds) + MAX(Milliseconds)) / 2.0 AS medium_max_ms\n FROM Track\n), classified_tracks AS (\n SELECT t.TrackId,\n t.Milliseconds / 60000.0 AS duration_minutes,\n CASE\n WHEN t.Milliseconds <= b.short_max_ms THEN 'Short'\n WHEN t.Milliseconds <= b.medium_max_ms THEN 'Medium'\n ELSE 'Long'\n END AS category\n FROM Track AS t\n CROSS JOIN duration_bounds AS b\n), track_revenue AS (\n SELECT TrackId, SUM(UnitPrice * Quantity) AS revenue\n FROM InvoiceLine\n GROUP BY TrackId\n)\nSELECT c.category,\n MIN(c.duration_minutes) AS min_minutes,\n MAX(c.duration_minutes) AS max_minutes,\n ROUND(SUM(r.revenue), 2) AS total_revenue\nFROM classified_tracks AS c\nLEFT JOIN track_revenue AS r ON r.TrackId = c.TrackId\nGROUP BY c.category\nORDER BY min_minutes;\n```", "rows": 3, "sql": "WITH duration_bounds AS (\n SELECT (MIN(Milliseconds) + AVG(Milliseconds)) / 2.0 AS short_max_ms,\n (AVG(Milliseconds) + MAX(Milliseconds)) / 2.0 AS medium_max_ms\n FROM Track\n), classified_tracks AS (\n SELECT t.TrackId,\n t.Milliseconds / 60000.0 AS duration_minutes,\n CASE\n WHEN t.Milliseconds <= b.short_max_ms THEN 'Short'\n WHEN t.Milliseconds <= b.medium_max_ms THEN 'Medium'\n ELSE 'Long'\n END AS category\n FROM Track AS t\n CROSS JOIN duration_bounds AS b\n), track_revenue AS (\n SELECT TrackId, SUM(UnitPrice * Quantity) AS revenue\n FROM InvoiceLine\n GROUP BY TrackId\n)\nSELECT c.category,\n MIN(c.duration_minutes) AS min_minutes,\n MAX(c.duration_minutes) AS max_minutes,\n ROUND(SUM(r.revenue), 2) AS total_revenue\nFROM classified_tracks AS c\nLEFT JOIN track_revenue AS r ON r.TrackId = c.TrackId\nGROUP BY c.category\nORDER BY min_minutes;", "seconds": 19.50785720802378, "calls": [{"seconds": 3.150323334033601, "usage": {"completion_tokens": 80, "prompt_tokens": 1718, "total_tokens": 1798, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1162, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1162, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1162, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.674419666989706, "usage": {"completion_tokens": 469, "prompt_tokens": 2076, "total_tokens": 2545, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 201, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 358, "cached_tokens": 1162, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 358, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 358, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.658456749981269, "usage": {"completion_tokens": 292, "prompt_tokens": 2885, "total_tokens": 3177, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 46, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 809, "cached_tokens": 1520, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 809, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 809, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1141ce402db56875902fedcbb671a1dbb4c5af6592e79a85695ada12a148dd66", "csv_sha256": "15d3ad1cf039f17a982eea5b903611aaebb9ad2140b3d08d176f621e04be09b2"} +{"instance_id": "local253", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE salary_characters (Location, CompanyName, remaining, digits) AS (\n SELECT Location, CompanyName, COALESCE(Salary, ''), ''\n FROM SalaryDataset\n\n UNION ALL\n\n SELECT Location,\n CompanyName,\n SUBSTR(remaining, 2),\n digits || CASE\n WHEN SUBSTR(remaining, 1, 1) GLOB '[0-9]'\n THEN SUBSTR(remaining, 1, 1)\n ELSE ''\n END\n FROM salary_characters\n WHERE remaining <> ''\n),\ncleaned_salaries AS (\n SELECT Location,\n CompanyName,\n CAST(NULLIF(digits, '') AS REAL) AS salary_amount\n FROM salary_characters\n WHERE remaining = ''\n),\nnational_average AS (\n SELECT AVG(salary_amount) AS country_average\n FROM cleaned_salaries\n),\ncity_company_averages AS (\n SELECT Location, CompanyName, AVG(salary_amount) AS city_company_average\n FROM cleaned_salaries\n WHERE Location IN ('Mumbai', 'Pune', 'New Delhi', 'Hyderabad')\n GROUP BY Location, CompanyName\n HAVING COUNT(salary_amount) > 0\n),\nranked_companies AS (\n SELECT Location,\n CompanyName,\n city_company_average,\n ROW_NUMBER() OVER (\n PARTITION BY Location\n ORDER BY city_company_average DESC, CompanyName ASC\n ) AS city_rank\n FROM city_company_averages\n)\nSELECT r.Location AS \"Location\",\n r.CompanyName AS \"Company Name\",\n r.city_company_average AS \"Average Salary in State\",\n n.country_average AS \"Average Salary in Country\"\nFROM ranked_companies AS r\nCROSS JOIN national_average AS n\nWHERE r.city_rank <= 5\nORDER BY r.Location, r.city_rank;\n```", "rows": 20, "sql": "WITH RECURSIVE salary_characters (Location, CompanyName, remaining, digits) AS (\n SELECT Location, CompanyName, COALESCE(Salary, ''), ''\n FROM SalaryDataset\n\n UNION ALL\n\n SELECT Location,\n CompanyName,\n SUBSTR(remaining, 2),\n digits || CASE\n WHEN SUBSTR(remaining, 1, 1) GLOB '[0-9]'\n THEN SUBSTR(remaining, 1, 1)\n ELSE ''\n END\n FROM salary_characters\n WHERE remaining <> ''\n),\ncleaned_salaries AS (\n SELECT Location,\n CompanyName,\n CAST(NULLIF(digits, '') AS REAL) AS salary_amount\n FROM salary_characters\n WHERE remaining = ''\n),\nnational_average AS (\n SELECT AVG(salary_amount) AS country_average\n FROM cleaned_salaries\n),\ncity_company_averages AS (\n SELECT Location, CompanyName, AVG(salary_amount) AS city_company_average\n FROM cleaned_salaries\n WHERE Location IN ('Mumbai', 'Pune', 'New Delhi', 'Hyderabad')\n GROUP BY Location, CompanyName\n HAVING COUNT(salary_amount) > 0\n),\nranked_companies AS (\n SELECT Location,\n CompanyName,\n city_company_average,\n ROW_NUMBER() OVER (\n PARTITION BY Location\n ORDER BY city_company_average DESC, CompanyName ASC\n ) AS city_rank\n FROM city_company_averages\n)\nSELECT r.Location AS \"Location\",\n r.CompanyName AS \"Company Name\",\n r.city_company_average AS \"Average Salary in State\",\n n.country_average AS \"Average Salary in Country\"\nFROM ranked_companies AS r\nCROSS JOIN national_average AS n\nWHERE r.city_rank <= 5\nORDER BY r.Location, r.city_rank;", "seconds": 31.935744791058823, "calls": [{"seconds": 3.094114916981198, "usage": {"completion_tokens": 20, "prompt_tokens": 1764, "total_tokens": 1784, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1157, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1157, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1157, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.734560125041753, "usage": {"completion_tokens": 103, "prompt_tokens": 1834, "total_tokens": 1937, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 34, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 70, "cached_tokens": 1157, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 70, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 70, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.41325987491291, "usage": {"completion_tokens": 134, "prompt_tokens": 2146, "total_tokens": 2280, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 35, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 312, "cached_tokens": 1227, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 312, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 312, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 13.688931542099454, "usage": {"completion_tokens": 725, "prompt_tokens": 2531, "total_tokens": 3256, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 284, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 385, "cached_tokens": 1539, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 385, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 385, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.916984457988292, "usage": {"completion_tokens": 407, "prompt_tokens": 4113, "total_tokens": 4520, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 14, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1582, "cached_tokens": 1924, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1582, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1582, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "65660f10d0ec5cbe8d278c5ae71f6eea54a1c1ff5e4e6ba597e500dc6d1f5e1f", "csv_sha256": "029783a0768b73ef7b4a798fe81c72357f63d0e5e8212cb80cd1db6917fb77c4"} +{"instance_id": "local258", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH match_bowling AS (\n SELECT\n b.bowler,\n b.match_id,\n SUM(CASE WHEN w.kind_out IN (\n 'bowled', 'caught', 'caught and bowled', 'lbw', 'stumped', 'hit wicket'\n ) THEN 1 ELSE 0 END) AS wickets,\n SUM(COALESCE(s.runs_scored, 0)) AS runs_conceded,\n SUM(CASE WHEN e.extra_type IN ('wides', 'noballs')\n THEN 0 ELSE 1 END) AS legal_balls\n FROM ball_by_ball AS b\n LEFT JOIN batsman_scored AS s USING (match_id, innings_no, over_id, ball_id)\n LEFT JOIN wicket_taken AS w USING (match_id, innings_no, over_id, ball_id)\n LEFT JOIN extra_runs AS e USING (match_id, innings_no, over_id, ball_id)\n WHERE b.bowler IS NOT NULL\n GROUP BY b.bowler, b.match_id\n), ranked AS (\n SELECT\n bowler,\n wickets,\n runs_conceded,\n SUM(wickets) OVER (PARTITION BY bowler) AS total_wickets,\n SUM(runs_conceded) OVER (PARTITION BY bowler) AS total_runs,\n SUM(legal_balls) OVER (PARTITION BY bowler) AS total_balls,\n ROW_NUMBER() OVER (\n PARTITION BY bowler\n ORDER BY wickets DESC, runs_conceded ASC, match_id ASC\n ) AS match_rank\n FROM match_bowling\n)\nSELECT\n COALESCE(p.player_name, CAST(r.bowler AS TEXT)) AS bowler,\n r.total_wickets,\n 6.0 * r.total_runs / NULLIF(r.total_balls, 0) AS economy_rate,\n 1.0 * r.total_balls / NULLIF(r.total_wickets, 0) AS strike_rate,\n r.wickets || '-' || r.runs_conceded AS best_bowling_performance\nFROM ranked AS r\nLEFT JOIN player AS p ON p.player_id = r.bowler\nWHERE r.match_rank = 1\nORDER BY r.total_wickets DESC, bowler ASC;\n```", "rows": 330, "sql": "WITH match_bowling AS (\n SELECT\n b.bowler,\n b.match_id,\n SUM(CASE WHEN w.kind_out IN (\n 'bowled', 'caught', 'caught and bowled', 'lbw', 'stumped', 'hit wicket'\n ) THEN 1 ELSE 0 END) AS wickets,\n SUM(COALESCE(s.runs_scored, 0)) AS runs_conceded,\n SUM(CASE WHEN e.extra_type IN ('wides', 'noballs')\n THEN 0 ELSE 1 END) AS legal_balls\n FROM ball_by_ball AS b\n LEFT JOIN batsman_scored AS s USING (match_id, innings_no, over_id, ball_id)\n LEFT JOIN wicket_taken AS w USING (match_id, innings_no, over_id, ball_id)\n LEFT JOIN extra_runs AS e USING (match_id, innings_no, over_id, ball_id)\n WHERE b.bowler IS NOT NULL\n GROUP BY b.bowler, b.match_id\n), ranked AS (\n SELECT\n bowler,\n wickets,\n runs_conceded,\n SUM(wickets) OVER (PARTITION BY bowler) AS total_wickets,\n SUM(runs_conceded) OVER (PARTITION BY bowler) AS total_runs,\n SUM(legal_balls) OVER (PARTITION BY bowler) AS total_balls,\n ROW_NUMBER() OVER (\n PARTITION BY bowler\n ORDER BY wickets DESC, runs_conceded ASC, match_id ASC\n ) AS match_rank\n FROM match_bowling\n)\nSELECT\n COALESCE(p.player_name, CAST(r.bowler AS TEXT)) AS bowler,\n r.total_wickets,\n 6.0 * r.total_runs / NULLIF(r.total_balls, 0) AS economy_rate,\n 1.0 * r.total_balls / NULLIF(r.total_wickets, 0) AS strike_rate,\n r.wickets || '-' || r.runs_conceded AS best_bowling_performance\nFROM ranked AS r\nLEFT JOIN player AS p ON p.player_id = r.bowler\nWHERE r.match_rank = 1\nORDER BY r.total_wickets DESC, bowler ASC;", "seconds": 44.3065451659495, "calls": [{"seconds": 3.3316696250112727, "usage": {"completion_tokens": 119, "prompt_tokens": 2072, "total_tokens": 2191, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1517, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1517, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1517, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.096015250077471, "usage": {"completion_tokens": 156, "prompt_tokens": 2599, "total_tokens": 2755, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 84, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 527, "cached_tokens": 1517, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 527, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 527, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.500919790938497, "usage": {"completion_tokens": 485, "prompt_tokens": 2963, "total_tokens": 3448, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 174, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 364, "cached_tokens": 2044, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 364, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 364, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0723806250607595, "usage": {"completion_tokens": 76, "prompt_tokens": 3811, "total_tokens": 3887, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 848, "cached_tokens": 2408, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 848, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 848, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 14.513637749943882, "usage": {"completion_tokens": 847, "prompt_tokens": 3983, "total_tokens": 4830, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 327, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 172, "cached_tokens": 3256, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 172, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 172, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.431314874906093, "usage": {"completion_tokens": 521, "prompt_tokens": 5590, "total_tokens": 6111, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 39, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1607, "cached_tokens": 3428, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1607, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1607, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d0c807c3d349a7d0cbf87ce1efc6311df412bfbfd95f40a222edb912d349f490", "csv_sha256": "27b2d9382cd840f78abd9ce05f1881e382ffda86067e64aa72cadc01df7cdc7b"} +{"instance_id": "local259", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH role_counts AS (\n SELECT player_id, role, COUNT(DISTINCT match_id) AS role_matches\n FROM player_match\n GROUP BY player_id, role\n),\nranked_roles AS (\n SELECT player_id, role,\n SUM(role_matches) OVER (PARTITION BY player_id) AS total_matches_played,\n ROW_NUMBER() OVER (\n PARTITION BY player_id ORDER BY role_matches DESC, role\n ) AS role_rank\n FROM role_counts\n),\ndeliveries AS (\n SELECT b.match_id, b.innings_no, b.over_id, b.ball_id,\n b.striker, b.non_striker, b.bowler,\n COALESCE(s.runs_scored, 0) AS runs_scored\n FROM ball_by_ball AS b\n LEFT JOIN batsman_scored AS s\n USING (match_id, innings_no, over_id, ball_id)\n),\nbatting_contributions AS (\n SELECT striker AS player_id, match_id,\n SUM(runs_scored) AS runs, COUNT(*) AS balls_faced\n FROM deliveries\n GROUP BY striker, match_id\n UNION ALL\n SELECT non_striker AS player_id, match_id, 0 AS runs, 0 AS balls_faced\n FROM deliveries\n GROUP BY non_striker, match_id\n),\nbatting_by_match AS (\n SELECT player_id, match_id,\n SUM(runs) AS runs, SUM(balls_faced) AS balls_faced\n FROM batting_contributions\n GROUP BY player_id, match_id\n),\nbatting_totals AS (\n SELECT player_id,\n SUM(runs) AS total_runs,\n MAX(runs) AS highest_score,\n COUNT(CASE WHEN runs >= 30 THEN 1 END) AS matches_30_plus,\n COUNT(CASE WHEN runs >= 50 THEN 1 END) AS matches_50_plus,\n COUNT(CASE WHEN runs >= 100 THEN 1 END) AS matches_100_plus,\n SUM(balls_faced) AS total_balls_faced\n FROM batting_by_match\n GROUP BY player_id\n),\ndismissals AS (\n SELECT player_out AS player_id, COUNT(*) AS total_dismissals\n FROM wicket_taken\n WHERE kind_out <> 'retired hurt'\n GROUP BY player_out\n),\nbowling_by_match AS (\n SELECT d.bowler AS player_id, d.match_id,\n SUM(d.runs_scored) AS runs_conceded,\n COUNT(*) AS balls_bowled,\n COUNT(CASE WHEN w.kind_out IN (\n 'bowled', 'caught', 'caught and bowled', 'hit wicket', 'lbw', 'stumped'\n ) THEN 1 END) AS wickets\n FROM deliveries AS d\n LEFT JOIN wicket_taken AS w\n USING (match_id, innings_no, over_id, ball_id)\n GROUP BY d.bowler, d.match_id\n),\nranked_bowling AS (\n SELECT player_id, wickets, runs_conceded,\n SUM(wickets) OVER (PARTITION BY player_id) AS total_wickets,\n 6.0 * SUM(runs_conceded) OVER (PARTITION BY player_id)\n / NULLIF(SUM(balls_bowled) OVER (PARTITION BY player_id), 0) AS economy_rate,\n ROW_NUMBER() OVER (\n PARTITION BY player_id\n ORDER BY wickets DESC, runs_conceded ASC, match_id\n ) AS bowling_rank\n FROM bowling_by_match\n)\nSELECT p.player_id,\n p.player_name,\n r.role AS most_frequent_role,\n p.batting_hand,\n p.bowling_skill,\n COALESCE(b.total_runs, 0) AS total_runs,\n COALESCE(r.total_matches_played, 0) AS total_matches_played,\n COALESCE(d.total_dismissals, 0) AS total_dismissals,\n 1.0 * COALESCE(b.total_runs, 0) / NULLIF(d.total_dismissals, 0) AS batting_average,\n b.highest_score,\n COALESCE(b.matches_30_plus, 0) AS matches_30_plus,\n COALESCE(b.matches_50_plus, 0) AS matches_50_plus,\n COALESCE(b.matches_100_plus, 0) AS matches_100_plus,\n COALESCE(b.total_balls_faced, 0) AS total_balls_faced,\n 100.0 * b.total_runs / NULLIF(b.total_balls_faced, 0) AS strike_rate,\n COALESCE(w.total_wickets, 0) AS total_wickets,\n w.economy_rate,\n w.wickets || '-' || w.runs_conceded AS best_bowling_performance\nFROM player AS p\nLEFT JOIN ranked_roles AS r ON r.player_id = p.player_id AND r.role_rank = 1\nLEFT JOIN batting_totals AS b ON b.player_id = p.player_id\nLEFT JOIN dismissals AS d ON d.player_id = p.player_id\nLEFT JOIN ranked_bowling AS w ON w.player_id = p.player_id AND w.bowling_rank = 1\nORDER BY p.player_id;\n```", "rows": 468, "sql": "WITH role_counts AS (\n SELECT player_id, role, COUNT(DISTINCT match_id) AS role_matches\n FROM player_match\n GROUP BY player_id, role\n),\nranked_roles AS (\n SELECT player_id, role,\n SUM(role_matches) OVER (PARTITION BY player_id) AS total_matches_played,\n ROW_NUMBER() OVER (\n PARTITION BY player_id ORDER BY role_matches DESC, role\n ) AS role_rank\n FROM role_counts\n),\ndeliveries AS (\n SELECT b.match_id, b.innings_no, b.over_id, b.ball_id,\n b.striker, b.non_striker, b.bowler,\n COALESCE(s.runs_scored, 0) AS runs_scored\n FROM ball_by_ball AS b\n LEFT JOIN batsman_scored AS s\n USING (match_id, innings_no, over_id, ball_id)\n),\nbatting_contributions AS (\n SELECT striker AS player_id, match_id,\n SUM(runs_scored) AS runs, COUNT(*) AS balls_faced\n FROM deliveries\n GROUP BY striker, match_id\n UNION ALL\n SELECT non_striker AS player_id, match_id, 0 AS runs, 0 AS balls_faced\n FROM deliveries\n GROUP BY non_striker, match_id\n),\nbatting_by_match AS (\n SELECT player_id, match_id,\n SUM(runs) AS runs, SUM(balls_faced) AS balls_faced\n FROM batting_contributions\n GROUP BY player_id, match_id\n),\nbatting_totals AS (\n SELECT player_id,\n SUM(runs) AS total_runs,\n MAX(runs) AS highest_score,\n COUNT(CASE WHEN runs >= 30 THEN 1 END) AS matches_30_plus,\n COUNT(CASE WHEN runs >= 50 THEN 1 END) AS matches_50_plus,\n COUNT(CASE WHEN runs >= 100 THEN 1 END) AS matches_100_plus,\n SUM(balls_faced) AS total_balls_faced\n FROM batting_by_match\n GROUP BY player_id\n),\ndismissals AS (\n SELECT player_out AS player_id, COUNT(*) AS total_dismissals\n FROM wicket_taken\n WHERE kind_out <> 'retired hurt'\n GROUP BY player_out\n),\nbowling_by_match AS (\n SELECT d.bowler AS player_id, d.match_id,\n SUM(d.runs_scored) AS runs_conceded,\n COUNT(*) AS balls_bowled,\n COUNT(CASE WHEN w.kind_out IN (\n 'bowled', 'caught', 'caught and bowled', 'hit wicket', 'lbw', 'stumped'\n ) THEN 1 END) AS wickets\n FROM deliveries AS d\n LEFT JOIN wicket_taken AS w\n USING (match_id, innings_no, over_id, ball_id)\n GROUP BY d.bowler, d.match_id\n),\nranked_bowling AS (\n SELECT player_id, wickets, runs_conceded,\n SUM(wickets) OVER (PARTITION BY player_id) AS total_wickets,\n 6.0 * SUM(runs_conceded) OVER (PARTITION BY player_id)\n / NULLIF(SUM(balls_bowled) OVER (PARTITION BY player_id), 0) AS economy_rate,\n ROW_NUMBER() OVER (\n PARTITION BY player_id\n ORDER BY wickets DESC, runs_conceded ASC, match_id\n ) AS bowling_rank\n FROM bowling_by_match\n)\nSELECT p.player_id,\n p.player_name,\n r.role AS most_frequent_role,\n p.batting_hand,\n p.bowling_skill,\n COALESCE(b.total_runs, 0) AS total_runs,\n COALESCE(r.total_matches_played, 0) AS total_matches_played,\n COALESCE(d.total_dismissals, 0) AS total_dismissals,\n 1.0 * COALESCE(b.total_runs, 0) / NULLIF(d.total_dismissals, 0) AS batting_average,\n b.highest_score,\n COALESCE(b.matches_30_plus, 0) AS matches_30_plus,\n COALESCE(b.matches_50_plus, 0) AS matches_50_plus,\n COALESCE(b.matches_100_plus, 0) AS matches_100_plus,\n COALESCE(b.total_balls_faced, 0) AS total_balls_faced,\n 100.0 * b.total_runs / NULLIF(b.total_balls_faced, 0) AS strike_rate,\n COALESCE(w.total_wickets, 0) AS total_wickets,\n w.economy_rate,\n w.wickets || '-' || w.runs_conceded AS best_bowling_performance\nFROM player AS p\nLEFT JOIN ranked_roles AS r ON r.player_id = p.player_id AND r.role_rank = 1\nLEFT JOIN batting_totals AS b ON b.player_id = p.player_id\nLEFT JOIN dismissals AS d ON d.player_id = p.player_id\nLEFT JOIN ranked_bowling AS w ON w.player_id = p.player_id AND w.bowling_rank = 1\nORDER BY p.player_id;", "seconds": 101.34700333303772, "calls": [{"seconds": 1.8284871669020504, "usage": {"completion_tokens": 15, "prompt_tokens": 2134, "total_tokens": 2149, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1579, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1579, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1579, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3935321250464767, "usage": {"completion_tokens": 119, "prompt_tokens": 2194, "total_tokens": 2313, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 60, "cached_tokens": 1579, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 60, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 60, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.619183165952563, "usage": {"completion_tokens": 284, "prompt_tokens": 2704, "total_tokens": 2988, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 15, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 510, "cached_tokens": 1639, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 510, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 510, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 17.406898334040307, "usage": {"completion_tokens": 521, "prompt_tokens": 3432, "total_tokens": 3953, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 204, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 728, "cached_tokens": 2149, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 728, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 728, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 57.14078141702339, "usage": {"completion_tokens": 1944, "prompt_tokens": 4363, "total_tokens": 6307, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 754, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 931, "cached_tokens": 2877, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 931, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 931, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 14.859285667072982, "usage": {"completion_tokens": 1138, "prompt_tokens": 8263, "total_tokens": 9401, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 27, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 3900, "cached_tokens": 3808, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 3900, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 3900, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a5c77302e7c6fee9d51687b34cb07622329131a7dcbddcd94ff55638ad80de0c", "csv_sha256": "6af13819f7a6d5a3c32d68d08a064798c7da41abea0aaedf24be8c5d3dc453b9"} +{"instance_id": "local262", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH non_stack_max AS (\n SELECT name, version, step, MAX(test_score) AS max_test_score\n FROM model_score\n WHERE model <> 'Stack' AND step IN (1, 2, 3)\n GROUP BY name, version, step\n), stack_wins AS (\n SELECT n.name, COUNT(*) AS win_count\n FROM non_stack_max AS n\n WHERE EXISTS (\n SELECT 1\n FROM model_score AS s\n WHERE s.name = n.name\n AND s.version = n.version\n AND s.step = n.step\n AND s.model = 'Stack'\n AND s.test_score > n.max_test_score\n )\n GROUP BY n.name\n)\nSELECT p.name\nFROM problem AS p\nJOIN stack_wins AS w ON w.name = p.name\nWHERE w.win_count > (\n SELECT COUNT(*)\n FROM solution AS sol\n WHERE sol.name = p.name\n)\nORDER BY p.name;\n```", "rows": 7, "sql": "WITH non_stack_max AS (\n SELECT name, version, step, MAX(test_score) AS max_test_score\n FROM model_score\n WHERE model <> 'Stack' AND step IN (1, 2, 3)\n GROUP BY name, version, step\n), stack_wins AS (\n SELECT n.name, COUNT(*) AS win_count\n FROM non_stack_max AS n\n WHERE EXISTS (\n SELECT 1\n FROM model_score AS s\n WHERE s.name = n.name\n AND s.version = n.version\n AND s.step = n.step\n AND s.model = 'Stack'\n AND s.test_score > n.max_test_score\n )\n GROUP BY n.name\n)\nSELECT p.name\nFROM problem AS p\nJOIN stack_wins AS w ON w.name = p.name\nWHERE w.win_count > (\n SELECT COUNT(*)\n FROM solution AS sol\n WHERE sol.name = p.name\n)\nORDER BY p.name;", "seconds": 32.896807500044815, "calls": [{"seconds": 3.1456322909798473, "usage": {"completion_tokens": 114, "prompt_tokens": 1668, "total_tokens": 1782, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1108, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1108, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1108, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.7024030410684645, "usage": {"completion_tokens": 171, "prompt_tokens": 2052, "total_tokens": 2223, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 149, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 384, "cached_tokens": 1108, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 384, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 384, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.45642995799426, "usage": {"completion_tokens": 98, "prompt_tokens": 2256, "total_tokens": 2354, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 76, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 204, "cached_tokens": 1492, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 204, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 204, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.344070374965668, "usage": {"completion_tokens": 75, "prompt_tokens": 2397, "total_tokens": 2472, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 20, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 141, "cached_tokens": 1696, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 141, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 141, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.307576540973969, "usage": {"completion_tokens": 456, "prompt_tokens": 3302, "total_tokens": 3758, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 224, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 905, "cached_tokens": 1837, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 905, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 905, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.877321083913557, "usage": {"completion_tokens": 210, "prompt_tokens": 4015, "total_tokens": 4225, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 713, "cached_tokens": 2742, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 713, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 713, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a9b743e0fb03028cd35b519f34ddf3a27c9b1e4e88c736dfb9a5f3d67a06d1a0", "csv_sha256": "d901d3f04ac408c7902d53b3f99f1f7da170f98baf2fbe561f91fc364653117c"} +{"instance_id": "local263", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH model_statuses AS (\n SELECT DISTINCT name, version, L1_model, status\n FROM stack_ok\n), status_counts AS (\n SELECT status, L1_model, COUNT(*) AS occurrence_count\n FROM model_statuses\n GROUP BY status, L1_model\n), ranked AS (\n SELECT status, L1_model, occurrence_count,\n DENSE_RANK() OVER (PARTITION BY status ORDER BY occurrence_count DESC) AS status_rank\n FROM status_counts\n)\nSELECT status, L1_model, occurrence_count\nFROM ranked\nWHERE status_rank = 1\nORDER BY status, L1_model;\n```", "rows": 2, "sql": "WITH model_statuses AS (\n SELECT DISTINCT name, version, L1_model, status\n FROM stack_ok\n), status_counts AS (\n SELECT status, L1_model, COUNT(*) AS occurrence_count\n FROM model_statuses\n GROUP BY status, L1_model\n), ranked AS (\n SELECT status, L1_model, occurrence_count,\n DENSE_RANK() OVER (PARTITION BY status ORDER BY occurrence_count DESC) AS status_rank\n FROM status_counts\n)\nSELECT status, L1_model, occurrence_count\nFROM ranked\nWHERE status_rank = 1\nORDER BY status, L1_model;", "seconds": 22.74623008398339, "calls": [{"seconds": 1.9546111669624224, "usage": {"completion_tokens": 15, "prompt_tokens": 1751, "total_tokens": 1766, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1191, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1191, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1191, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5374963330104947, "usage": {"completion_tokens": 115, "prompt_tokens": 1826, "total_tokens": 1941, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 75, "cached_tokens": 1191, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 75, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 75, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1698131250450388, "usage": {"completion_tokens": 48, "prompt_tokens": 2207, "total_tokens": 2255, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 381, "cached_tokens": 1266, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 381, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 381, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.695979708107188, "usage": {"completion_tokens": 209, "prompt_tokens": 3127, "total_tokens": 3336, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 27, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 920, "cached_tokens": 1647, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 920, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 920, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.12749495904427, "usage": {"completion_tokens": 190, "prompt_tokens": 3617, "total_tokens": 3807, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 37, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 490, "cached_tokens": 2567, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 490, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 490, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.21660595794674, "usage": {"completion_tokens": 137, "prompt_tokens": 3985, "total_tokens": 4122, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 368, "cached_tokens": 3057, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 368, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 368, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5cb9804132fb008372c1f29290c332dd24b0023907d25fa657eae44c762a17e0", "csv_sha256": "516fa084f0a331fca9f3465468566af3bfe02bfd4ce411841f8dd92aa0fc2f30"} +{"instance_id": "local264", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT L1_model, COUNT(*) AS total_occurrences\nFROM stack_ok\nGROUP BY L1_model\nORDER BY total_occurrences DESC, L1_model\nLIMIT 1;\n```", "rows": 1, "sql": "SELECT L1_model, COUNT(*) AS total_occurrences\nFROM stack_ok\nGROUP BY L1_model\nORDER BY total_occurrences DESC, L1_model\nLIMIT 1;", "seconds": 22.305378000019118, "calls": [{"seconds": 1.933251415961422, "usage": {"completion_tokens": 15, "prompt_tokens": 1644, "total_tokens": 1659, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1084, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.286511915968731, "usage": {"completion_tokens": 115, "prompt_tokens": 1719, "total_tokens": 1834, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1159, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.3444470829563215, "usage": {"completion_tokens": 18, "prompt_tokens": 2100, "total_tokens": 2118, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 381, "cached_tokens": 1159, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 381, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 381, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.338652041042224, "usage": {"completion_tokens": 110, "prompt_tokens": 2148, "total_tokens": 2258, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 65, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1540, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.089911749935709, "usage": {"completion_tokens": 60, "prompt_tokens": 3043, "total_tokens": 3103, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 895, "cached_tokens": 1588, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 895, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 895, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.2909535409417, "usage": {"completion_tokens": 118, "prompt_tokens": 3211, "total_tokens": 3329, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 63, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 168, "cached_tokens": 2483, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 168, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 168, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.990434917039238, "usage": {"completion_tokens": 45, "prompt_tokens": 3399, "total_tokens": 3444, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 188, "cached_tokens": 2651, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 188, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 188, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d947c0a7c1f86c9012fecd5bfd17880e5d2ab386a8452dbeb2acf872121433d5", "csv_sha256": "c1198427eecd199aa53bef900e50de7660fca9c9341f48913f90d6345de3a0ef"} +{"instance_id": "local269", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE final_combinations AS (\n SELECT p.id\n FROM packaging AS p\n WHERE EXISTS (\n SELECT 1 FROM packaging_relations AS r WHERE r.packaging_id = p.id\n )\n AND NOT EXISTS (\n SELECT 1 FROM packaging_relations AS r WHERE r.contains_id = p.id\n )\n), expanded(root_id, item_id, quantity) AS (\n SELECT f.id, r.contains_id, r.qty\n FROM final_combinations AS f\n JOIN packaging_relations AS r ON r.packaging_id = f.id\n UNION ALL\n SELECT e.root_id, r.contains_id, e.quantity * r.qty\n FROM expanded AS e\n JOIN packaging_relations AS r ON r.packaging_id = e.item_id\n), combination_totals AS (\n SELECT e.root_id, SUM(e.quantity) AS total_quantity\n FROM expanded AS e\n WHERE NOT EXISTS (\n SELECT 1 FROM packaging_relations AS r WHERE r.packaging_id = e.item_id\n )\n GROUP BY e.root_id\n)\nSELECT AVG(total_quantity) AS average_total_quantity\nFROM combination_totals;\n```", "rows": 1, "sql": "WITH RECURSIVE final_combinations AS (\n SELECT p.id\n FROM packaging AS p\n WHERE EXISTS (\n SELECT 1 FROM packaging_relations AS r WHERE r.packaging_id = p.id\n )\n AND NOT EXISTS (\n SELECT 1 FROM packaging_relations AS r WHERE r.contains_id = p.id\n )\n), expanded(root_id, item_id, quantity) AS (\n SELECT f.id, r.contains_id, r.qty\n FROM final_combinations AS f\n JOIN packaging_relations AS r ON r.packaging_id = f.id\n UNION ALL\n SELECT e.root_id, r.contains_id, e.quantity * r.qty\n FROM expanded AS e\n JOIN packaging_relations AS r ON r.packaging_id = e.item_id\n), combination_totals AS (\n SELECT e.root_id, SUM(e.quantity) AS total_quantity\n FROM expanded AS e\n WHERE NOT EXISTS (\n SELECT 1 FROM packaging_relations AS r WHERE r.packaging_id = e.item_id\n )\n GROUP BY e.root_id\n)\nSELECT AVG(total_quantity) AS average_total_quantity\nFROM combination_totals;", "seconds": 20.30028779199347, "calls": [{"seconds": 2.9249699170468375, "usage": {"completion_tokens": 68, "prompt_tokens": 1780, "total_tokens": 1848, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1077, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1077, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1077, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.3551539580803365, "usage": {"completion_tokens": 194, "prompt_tokens": 1943, "total_tokens": 2137, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 114, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 163, "cached_tokens": 1077, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 163, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 163, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.434038084000349, "usage": {"completion_tokens": 337, "prompt_tokens": 2455, "total_tokens": 2792, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 67, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 512, "cached_tokens": 1240, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 512, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 512, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.572572291013785, "usage": {"completion_tokens": 246, "prompt_tokens": 3060, "total_tokens": 3306, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 605, "cached_tokens": 1752, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 605, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 605, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "addea45bab3a2ce7e5fb5da05092adea71189e16fc6f7466ba0a4fbd8cc3a740", "csv_sha256": "da2845b889abc4ea01131c8adc9506fae98d34a620533253f4b58c6300bbc70d"} +{"instance_id": "local270", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE contents (container_id, item_id, quantity) AS (\n SELECT p.id, r.contains_id, r.qty\n FROM packaging AS p\n JOIN packaging_relations AS r ON r.packaging_id = p.id\n WHERE NOT EXISTS (\n SELECT 1\n FROM packaging_relations AS parent\n WHERE parent.contains_id = p.id\n )\n\n UNION ALL\n\n SELECT c.container_id, r.contains_id, c.quantity * r.qty\n FROM contents AS c\n JOIN packaging_relations AS r ON r.packaging_id = c.item_id\n), qualifying_items AS (\n SELECT container_id, item_id\n FROM contents\n GROUP BY container_id, item_id\n HAVING SUM(quantity) > 500\n)\nSELECT container.name AS container_name, item.name AS item_name\nFROM qualifying_items AS q\nJOIN packaging AS container ON container.id = q.container_id\nJOIN packaging AS item ON item.id = q.item_id\nORDER BY container_name, item_name;\n```", "rows": 4, "sql": "WITH RECURSIVE contents (container_id, item_id, quantity) AS (\n SELECT p.id, r.contains_id, r.qty\n FROM packaging AS p\n JOIN packaging_relations AS r ON r.packaging_id = p.id\n WHERE NOT EXISTS (\n SELECT 1\n FROM packaging_relations AS parent\n WHERE parent.contains_id = p.id\n )\n\n UNION ALL\n\n SELECT c.container_id, r.contains_id, c.quantity * r.qty\n FROM contents AS c\n JOIN packaging_relations AS r ON r.packaging_id = c.item_id\n), qualifying_items AS (\n SELECT container_id, item_id\n FROM contents\n GROUP BY container_id, item_id\n HAVING SUM(quantity) > 500\n)\nSELECT container.name AS container_name, item.name AS item_name\nFROM qualifying_items AS q\nJOIN packaging AS container ON container.id = q.container_id\nJOIN packaging AS item ON item.id = q.item_id\nORDER BY container_name, item_name;", "seconds": 22.171823833952658, "calls": [{"seconds": 3.169458333053626, "usage": {"completion_tokens": 69, "prompt_tokens": 1800, "total_tokens": 1869, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1097, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1097, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1097, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4049544589361176, "usage": {"completion_tokens": 97, "prompt_tokens": 1969, "total_tokens": 2066, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 51, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 169, "cached_tokens": 1097, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 169, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 169, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.154700958984904, "usage": {"completion_tokens": 123, "prompt_tokens": 2245, "total_tokens": 2368, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 42, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 276, "cached_tokens": 1266, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 276, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 276, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.754977499949746, "usage": {"completion_tokens": 314, "prompt_tokens": 2589, "total_tokens": 2903, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 76, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 344, "cached_tokens": 1542, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 344, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 344, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.647953083040193, "usage": {"completion_tokens": 219, "prompt_tokens": 3184, "total_tokens": 3403, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 595, "cached_tokens": 1886, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 595, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 595, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "954eace9a432b5a0406c195c2fe5863360b679b0bac6bf9e149b5222e44db322", "csv_sha256": "50de634b873b5a7ac90c8b71d188a9daf59547d13a5be1f77a31d3801e07d483"} +{"instance_id": "local272", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH order_demand AS (\n SELECT id AS order_line_id,\n product_id,\n COALESCE(SUM(qty) OVER (\n PARTITION BY product_id ORDER BY id\n ROWS BETWEEN UNBOUNDED PRECEDING AND 1 PRECEDING\n ), 0) AS demand_start,\n SUM(qty) OVER (\n PARTITION BY product_id ORDER BY id\n ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW\n ) AS demand_end\n FROM orderlines\n WHERE order_id = 423\n), warehouse_supply AS (\n SELECT i.product_id,\n l.id AS location_id,\n l.aisle,\n l.position,\n COALESCE(SUM(i.qty) OVER (\n fifo ROWS BETWEEN UNBOUNDED PRECEDING AND 1 PRECEDING\n ), 0) AS supply_start,\n SUM(i.qty) OVER (\n fifo ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW\n ) AS supply_end\n FROM inventory AS i\n JOIN locations AS l ON l.id = i.location_id\n JOIN purchases AS p ON p.id = i.purchase_id\n WHERE l.warehouse = 1\n AND i.qty > 0\n AND i.product_id IN (SELECT product_id FROM order_demand)\n WINDOW fifo AS (PARTITION BY i.product_id ORDER BY p.purchased, i.qty, i.id)\n)\nSELECT d.order_line_id,\n d.product_id,\n s.aisle,\n s.position,\n SUM(MIN(d.demand_end, s.supply_end) - MAX(d.demand_start, s.supply_start)) AS pick_qty\nFROM order_demand AS d\nJOIN warehouse_supply AS s\n ON s.product_id = d.product_id\n AND MAX(d.demand_start, s.supply_start) < MIN(d.demand_end, s.supply_end)\nGROUP BY d.order_line_id, d.product_id, s.location_id, s.aisle, s.position\nORDER BY d.order_line_id, MIN(s.supply_start), s.location_id;\n```", "rows": 5, "sql": "WITH order_demand AS (\n SELECT id AS order_line_id,\n product_id,\n COALESCE(SUM(qty) OVER (\n PARTITION BY product_id ORDER BY id\n ROWS BETWEEN UNBOUNDED PRECEDING AND 1 PRECEDING\n ), 0) AS demand_start,\n SUM(qty) OVER (\n PARTITION BY product_id ORDER BY id\n ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW\n ) AS demand_end\n FROM orderlines\n WHERE order_id = 423\n), warehouse_supply AS (\n SELECT i.product_id,\n l.id AS location_id,\n l.aisle,\n l.position,\n COALESCE(SUM(i.qty) OVER (\n fifo ROWS BETWEEN UNBOUNDED PRECEDING AND 1 PRECEDING\n ), 0) AS supply_start,\n SUM(i.qty) OVER (\n fifo ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW\n ) AS supply_end\n FROM inventory AS i\n JOIN locations AS l ON l.id = i.location_id\n JOIN purchases AS p ON p.id = i.purchase_id\n WHERE l.warehouse = 1\n AND i.qty > 0\n AND i.product_id IN (SELECT product_id FROM order_demand)\n WINDOW fifo AS (PARTITION BY i.product_id ORDER BY p.purchased, i.qty, i.id)\n)\nSELECT d.order_line_id,\n d.product_id,\n s.aisle,\n s.position,\n SUM(MIN(d.demand_end, s.supply_end) - MAX(d.demand_start, s.supply_start)) AS pick_qty\nFROM order_demand AS d\nJOIN warehouse_supply AS s\n ON s.product_id = d.product_id\n AND MAX(d.demand_start, s.supply_start) < MIN(d.demand_end, s.supply_end)\nGROUP BY d.order_line_id, d.product_id, s.location_id, s.aisle, s.position\nORDER BY d.order_line_id, MIN(s.supply_start), s.location_id;", "seconds": 36.11228604207281, "calls": [{"seconds": 4.067454166943207, "usage": {"completion_tokens": 131, "prompt_tokens": 1844, "total_tokens": 1975, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1141, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1141, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1141, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 17.6836140420055, "usage": {"completion_tokens": 937, "prompt_tokens": 2338, "total_tokens": 3275, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 457, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 494, "cached_tokens": 1141, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 494, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 494, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.476914375089109, "usage": {"completion_tokens": 226, "prompt_tokens": 3843, "total_tokens": 4069, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 62, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1505, "cached_tokens": 1635, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1505, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1505, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.84742945805192, "usage": {"completion_tokens": 563, "prompt_tokens": 4298, "total_tokens": 4861, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 114, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 455, "cached_tokens": 3140, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 455, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 455, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "3dc3f90a0061c62b7da4569032a7a4b801b097b617205b64375fa49c7148d31a", "csv_sha256": "0317cc161a47d5f6b5ea6fd48b506a6e7ecfdc0934b1734144d3e43d34c5ca9f"} +{"instance_id": "local273", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "failed", "answer": "❓ Awaiting user: Should I average the percentage of requested quantity fulfilled per order, or the percentage of available inventory taken per location pick?", "error_type": "ValueError", "seconds": 46.63341441610828, "calls": [{"seconds": 2.38214879098814, "usage": {"completion_tokens": 15, "prompt_tokens": 1818, "total_tokens": 1833, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1115, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1115, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1115, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.273628833005205, "usage": {"completion_tokens": 177, "prompt_tokens": 2088, "total_tokens": 2265, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 270, "cached_tokens": 1115, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 270, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 270, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.967549332999624, "usage": {"completion_tokens": 211, "prompt_tokens": 2723, "total_tokens": 2934, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 88, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 635, "cached_tokens": 1385, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 635, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 635, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.83558445808012, "usage": {"completion_tokens": 417, "prompt_tokens": 3746, "total_tokens": 4163, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 249, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1023, "cached_tokens": 2020, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1023, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1023, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 24.133927874965593, "usage": {"completion_tokens": 1027, "prompt_tokens": 4495, "total_tokens": 5522, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 985, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 749, "cached_tokens": 3043, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 749, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 749, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "bb02c31f32956adf45f8a1545205bfdd088eae026dd1dfda8233fb8139e81242"} +{"instance_id": "local274", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "failed", "answer": "```sql\n-- Average the recorded FIFO allocations per completed pick line, not per purchase lot.\nSELECT p.name AS product_name,\n AVG(pl.qty) AS avg_units_picked\nFROM picking_line AS pl\nJOIN products AS p ON p.id = pl.product_id\nWHERE pl.order_id = 421\n AND EXISTS (\n SELECT 1\n FROM picking_log AS log\n WHERE log.picklist_id = pl.picklist_id\n AND log.pickline_no = pl.line_no\n AND log.activity = 'P'\n )\nGROUP BY p.id, p.name\nORDER BY p.name, p.id;\n```", "error_type": "ValueError", "seconds": 59.884574125055224, "calls": [{"seconds": 3.411565167014487, "usage": {"completion_tokens": 131, "prompt_tokens": 1784, "total_tokens": 1915, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1081, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1081, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1081, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1785755419405177, "usage": {"completion_tokens": 81, "prompt_tokens": 2212, "total_tokens": 2293, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 428, "cached_tokens": 1081, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 428, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 428, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2065076670842245, "usage": {"completion_tokens": 86, "prompt_tokens": 2464, "total_tokens": 2550, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 252, "cached_tokens": 1509, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 252, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 252, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.967563375015743, "usage": {"completion_tokens": 192, "prompt_tokens": 2739, "total_tokens": 2931, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 123, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 275, "cached_tokens": 1761, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 275, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 275, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.265347916050814, "usage": {"completion_tokens": 215, "prompt_tokens": 3269, "total_tokens": 3484, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 19, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 530, "cached_tokens": 2036, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 530, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 530, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.371575166005641, "usage": {"completion_tokens": 166, "prompt_tokens": 4095, "total_tokens": 4261, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 826, "cached_tokens": 2566, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 826, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 826, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.917043791967444, "usage": {"completion_tokens": 364, "prompt_tokens": 5290, "total_tokens": 5654, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 168, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1195, "cached_tokens": 3392, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1195, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1195, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.868254833039828, "usage": {"completion_tokens": 490, "prompt_tokens": 6154, "total_tokens": 6644, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 357, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 864, "cached_tokens": 4587, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 864, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 864, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.588941666996107, "usage": {"completion_tokens": 336, "prompt_tokens": 6816, "total_tokens": 7152, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 186, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 662, "cached_tokens": 5451, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 662, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 662, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.0588485829066485, "usage": {"completion_tokens": 133, "prompt_tokens": 7340, "total_tokens": 7473, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 524, "cached_tokens": 6113, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 524, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 524, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6ad7a46a660827ec24252092c7d95a1da742086c9e04ad5a1fa420b6b9512b36"} +{"instance_id": "local275", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH moving_averages AS (\n SELECT product_id,\n mth,\n qty,\n ROW_NUMBER() OVER (PARTITION BY product_id ORDER BY mth) AS month_no,\n AVG(qty) OVER (\n PARTITION BY product_id ORDER BY mth\n ROWS BETWEEN 5 PRECEDING AND 6 FOLLOWING\n ) AS avg_left,\n AVG(qty) OVER (\n PARTITION BY product_id ORDER BY mth\n ROWS BETWEEN 6 PRECEDING AND 5 FOLLOWING\n ) AS avg_right\n FROM monthly_sales\n WHERE mth >= '2016-01-01'\n), ratios AS (\n SELECT product_id,\n qty / NULLIF((avg_left + avg_right) / 2.0, 0) AS sales_to_cma\n FROM moving_averages\n WHERE month_no BETWEEN 7 AND 30\n AND mth >= '2017-01-01'\n AND mth < '2018-01-01'\n), qualifying_products AS (\n SELECT product_id\n FROM ratios\n GROUP BY product_id\n HAVING COUNT(*) = 12\n AND COUNT(sales_to_cma) = 12\n AND MIN(sales_to_cma) > 2\n)\nSELECT p.name\nFROM qualifying_products AS q\nJOIN products AS p ON p.id = q.product_id\nORDER BY p.name;\n```", "rows": 0, "sql": "WITH moving_averages AS (\n SELECT product_id,\n mth,\n qty,\n ROW_NUMBER() OVER (PARTITION BY product_id ORDER BY mth) AS month_no,\n AVG(qty) OVER (\n PARTITION BY product_id ORDER BY mth\n ROWS BETWEEN 5 PRECEDING AND 6 FOLLOWING\n ) AS avg_left,\n AVG(qty) OVER (\n PARTITION BY product_id ORDER BY mth\n ROWS BETWEEN 6 PRECEDING AND 5 FOLLOWING\n ) AS avg_right\n FROM monthly_sales\n WHERE mth >= '2016-01-01'\n), ratios AS (\n SELECT product_id,\n qty / NULLIF((avg_left + avg_right) / 2.0, 0) AS sales_to_cma\n FROM moving_averages\n WHERE month_no BETWEEN 7 AND 30\n AND mth >= '2017-01-01'\n AND mth < '2018-01-01'\n), qualifying_products AS (\n SELECT product_id\n FROM ratios\n GROUP BY product_id\n HAVING COUNT(*) = 12\n AND COUNT(sales_to_cma) = 12\n AND MIN(sales_to_cma) > 2\n)\nSELECT p.name\nFROM qualifying_products AS q\nJOIN products AS p ON p.id = q.product_id\nORDER BY p.name;", "seconds": 29.11903091694694, "calls": [{"seconds": 2.8766865000361577, "usage": {"completion_tokens": 51, "prompt_tokens": 2246, "total_tokens": 2297, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1543, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1543, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1543, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.753070165985264, "usage": {"completion_tokens": 124, "prompt_tokens": 2369, "total_tokens": 2493, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 123, "cached_tokens": 1543, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 123, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 123, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.385853291023523, "usage": {"completion_tokens": 409, "prompt_tokens": 2662, "total_tokens": 3071, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 297, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 293, "cached_tokens": 1666, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 293, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 293, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.3560264169937, "usage": {"completion_tokens": 329, "prompt_tokens": 3196, "total_tokens": 3525, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 534, "cached_tokens": 1959, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 534, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 534, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.731313917087391, "usage": {"completion_tokens": 306, "prompt_tokens": 3844, "total_tokens": 4150, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 648, "cached_tokens": 2493, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 648, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 648, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "281c96177fab1bb574b4040cf1ace97a2ea2da1e1543e13c5a4afd8d4a1e63bc", "csv_sha256": "267098425cb5288317606d0e5b811d4d2de3df47c057fa479e97d27d9d3c1897"} +{"instance_id": "local277", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "failed", "answer": "❓ Awaiting user: What weights should the regression assign to each month? The documentation defines the seasonal adjustment but does not specify the regression weights.", "error_type": "ValueError", "seconds": 24.652603290975094, "calls": [{"seconds": 3.624462291947566, "usage": {"completion_tokens": 50, "prompt_tokens": 2259, "total_tokens": 2309, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1556, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1556, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1556, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.756163708982058, "usage": {"completion_tokens": 216, "prompt_tokens": 2376, "total_tokens": 2592, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 193, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 117, "cached_tokens": 1556, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 117, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 117, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 13.259575458941981, "usage": {"completion_tokens": 408, "prompt_tokens": 2632, "total_tokens": 3040, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 365, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 256, "cached_tokens": 1673, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 256, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 256, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2dc7e7ebeef1b3d594ca98429ec03670b7b1963734da4cdc2d139fddb43cc12e"} +{"instance_id": "local279", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE inventory_model(product_id, mth, ending_inventory, qty_minimum, qty_purchase) AS (\n SELECT i.product_id, '2018-12-01', i.qty, p.qty_minimum, p.qty_purchase\n FROM inventory_totals AS i\n JOIN product_minimums AS p ON p.product_id = i.product_id\n\n UNION ALL\n\n SELECT i.product_id,\n DATE(i.mth, '+1 month'),\n i.ending_inventory - COALESCE(o.qty, 0)\n + CASE\n WHEN i.ending_inventory - COALESCE(o.qty, 0) < i.qty_minimum\n THEN i.qty_purchase\n ELSE 0\n END,\n i.qty_minimum,\n i.qty_purchase\n FROM inventory_model AS i\n LEFT JOIN monthly_orders AS o\n ON o.product_id = i.product_id AND o.mth = DATE(i.mth, '+1 month')\n WHERE i.mth < '2019-12-01'\n), ranked AS (\n SELECT product_id, mth,\n ABS(ending_inventory - qty_minimum) AS absolute_difference,\n ROW_NUMBER() OVER (\n PARTITION BY product_id\n ORDER BY ABS(ending_inventory - qty_minimum), mth\n ) AS rn\n FROM inventory_model\n WHERE mth >= '2019-01-01' AND mth < '2020-01-01'\n)\nSELECT product_id, mth, absolute_difference\nFROM ranked\nWHERE rn = 1\nORDER BY product_id;\n```", "rows": 2, "sql": "WITH RECURSIVE inventory_model(product_id, mth, ending_inventory, qty_minimum, qty_purchase) AS (\n SELECT i.product_id, '2018-12-01', i.qty, p.qty_minimum, p.qty_purchase\n FROM inventory_totals AS i\n JOIN product_minimums AS p ON p.product_id = i.product_id\n\n UNION ALL\n\n SELECT i.product_id,\n DATE(i.mth, '+1 month'),\n i.ending_inventory - COALESCE(o.qty, 0)\n + CASE\n WHEN i.ending_inventory - COALESCE(o.qty, 0) < i.qty_minimum\n THEN i.qty_purchase\n ELSE 0\n END,\n i.qty_minimum,\n i.qty_purchase\n FROM inventory_model AS i\n LEFT JOIN monthly_orders AS o\n ON o.product_id = i.product_id AND o.mth = DATE(i.mth, '+1 month')\n WHERE i.mth < '2019-12-01'\n), ranked AS (\n SELECT product_id, mth,\n ABS(ending_inventory - qty_minimum) AS absolute_difference,\n ROW_NUMBER() OVER (\n PARTITION BY product_id\n ORDER BY ABS(ending_inventory - qty_minimum), mth\n ) AS rn\n FROM inventory_model\n WHERE mth >= '2019-01-01' AND mth < '2020-01-01'\n)\nSELECT product_id, mth, absolute_difference\nFROM ranked\nWHERE rn = 1\nORDER BY product_id;", "seconds": 42.94354291702621, "calls": [{"seconds": 3.8215809169923887, "usage": {"completion_tokens": 148, "prompt_tokens": 1825, "total_tokens": 1973, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1122, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.059853250044398, "usage": {"completion_tokens": 67, "prompt_tokens": 2312, "total_tokens": 2379, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 487, "cached_tokens": 1122, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 487, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 487, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9076451669679955, "usage": {"completion_tokens": 47, "prompt_tokens": 2469, "total_tokens": 2516, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 30, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 157, "cached_tokens": 1609, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 157, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 157, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.158547875005752, "usage": {"completion_tokens": 202, "prompt_tokens": 2771, "total_tokens": 2973, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 302, "cached_tokens": 1766, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 302, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 302, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1072107499931008, "usage": {"completion_tokens": 78, "prompt_tokens": 3333, "total_tokens": 3411, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 562, "cached_tokens": 2068, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 562, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 562, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 18.43733125005383, "usage": {"completion_tokens": 971, "prompt_tokens": 3865, "total_tokens": 4836, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 606, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 532, "cached_tokens": 2630, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 532, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 532, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.40951429202687, "usage": {"completion_tokens": 361, "prompt_tokens": 5231, "total_tokens": 5592, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 23, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1366, "cached_tokens": 3162, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1366, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1366, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b55a794effd0e4c36b00a8be154a1cf038ac5841629f9ec01b24480222ed48aa", "csv_sha256": "73bd56aa0a4b211d8c592511385e23ee5c07ec5821801a6ccb6b5a0cb25159d1"} +{"instance_id": "local283", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH match_points AS (\n SELECT season, league_id, country_id, home_team_api_id AS team_api_id,\n CASE\n WHEN home_team_goal > away_team_goal THEN 3\n WHEN home_team_goal = away_team_goal THEN 1\n ELSE 0\n END AS points\n FROM Match\n UNION ALL\n SELECT season, league_id, country_id, away_team_api_id AS team_api_id,\n CASE\n WHEN away_team_goal > home_team_goal THEN 3\n WHEN away_team_goal = home_team_goal THEN 1\n ELSE 0\n END AS points\n FROM Match\n), season_totals AS (\n SELECT season, league_id, country_id, team_api_id, SUM(points) AS total_points\n FROM match_points\n GROUP BY season, league_id, country_id, team_api_id\n), ranked AS (\n SELECT season, league_id, country_id, team_api_id, total_points,\n RANK() OVER (PARTITION BY season ORDER BY total_points DESC) AS points_rank\n FROM season_totals\n)\nSELECT r.season,\n t.team_long_name AS team_name,\n l.name AS league,\n c.name AS country,\n r.total_points\nFROM ranked AS r\nJOIN Team AS t ON t.team_api_id = r.team_api_id\nJOIN League AS l ON l.id = r.league_id\nJOIN Country AS c ON c.id = r.country_id\nWHERE r.points_rank = 1\nORDER BY r.season, league, country, team_name;\n```", "rows": 8, "sql": "WITH match_points AS (\n SELECT season, league_id, country_id, home_team_api_id AS team_api_id,\n CASE\n WHEN home_team_goal > away_team_goal THEN 3\n WHEN home_team_goal = away_team_goal THEN 1\n ELSE 0\n END AS points\n FROM Match\n UNION ALL\n SELECT season, league_id, country_id, away_team_api_id AS team_api_id,\n CASE\n WHEN away_team_goal > home_team_goal THEN 3\n WHEN away_team_goal = home_team_goal THEN 1\n ELSE 0\n END AS points\n FROM Match\n), season_totals AS (\n SELECT season, league_id, country_id, team_api_id, SUM(points) AS total_points\n FROM match_points\n GROUP BY season, league_id, country_id, team_api_id\n), ranked AS (\n SELECT season, league_id, country_id, team_api_id, total_points,\n RANK() OVER (PARTITION BY season ORDER BY total_points DESC) AS points_rank\n FROM season_totals\n)\nSELECT r.season,\n t.team_long_name AS team_name,\n l.name AS league,\n c.name AS country,\n r.total_points\nFROM ranked AS r\nJOIN Team AS t ON t.team_api_id = r.team_api_id\nJOIN League AS l ON l.id = r.league_id\nJOIN Country AS c ON c.id = r.country_id\nWHERE r.points_rank = 1\nORDER BY r.season, league, country, team_name;", "seconds": 26.614839917048812, "calls": [{"seconds": 2.9674601659644395, "usage": {"completion_tokens": 80, "prompt_tokens": 1665, "total_tokens": 1745, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1113, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1113, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1113, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.46274079196155, "usage": {"completion_tokens": 400, "prompt_tokens": 2711, "total_tokens": 3111, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 195, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1046, "cached_tokens": 1113, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1046, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1046, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.314439208013937, "usage": {"completion_tokens": 365, "prompt_tokens": 3369, "total_tokens": 3734, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 10, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 658, "cached_tokens": 2159, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 658, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 658, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.4013665419770405, "usage": {"completion_tokens": 352, "prompt_tokens": 4257, "total_tokens": 4609, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 17, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 888, "cached_tokens": 2817, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 888, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 888, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f2d1dc7c5a3f150d74cc1c65c978e83bba589aa88dcf56a0f7fa58f65a5c9e8c", "csv_sha256": "aa19a0bdd29f0b10e7bcaa4a55babf257368fdfd739dc70e952eac7d8e7bbc9e"} +{"instance_id": "local284", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH item_rates AS (\n SELECT l.\"loss_rate_%\" AS loss_rate\n FROM veg_loss_rate_df AS l\n JOIN (SELECT DISTINCT item_code FROM veg_whsle_df) AS w\n ON w.item_code = l.item_code\n), mean_rate AS (\n SELECT AVG(loss_rate) AS average_loss_rate\n FROM item_rates\n), stats AS (\n SELECT m.average_loss_rate,\n SQRT(AVG((r.loss_rate - m.average_loss_rate) *\n (r.loss_rate - m.average_loss_rate))) AS stddev\n FROM mean_rate AS m\n LEFT JOIN item_rates AS r ON 1 = 1\n GROUP BY m.average_loss_rate\n)\nSELECT s.average_loss_rate,\n COUNT(CASE WHEN r.loss_rate < s.average_loss_rate - s.stddev THEN 1 END) AS items_below_one_stddev,\n COUNT(CASE WHEN r.loss_rate > s.average_loss_rate + s.stddev THEN 1 END) AS items_above_one_stddev,\n COUNT(CASE WHEN r.loss_rate BETWEEN s.average_loss_rate - s.stddev\n AND s.average_loss_rate + s.stddev THEN 1 END) AS items_within_one_stddev\nFROM stats AS s\nLEFT JOIN item_rates AS r ON 1 = 1\nGROUP BY s.average_loss_rate;\n```", "rows": 1, "sql": "WITH item_rates AS (\n SELECT l.\"loss_rate_%\" AS loss_rate\n FROM veg_loss_rate_df AS l\n JOIN (SELECT DISTINCT item_code FROM veg_whsle_df) AS w\n ON w.item_code = l.item_code\n), mean_rate AS (\n SELECT AVG(loss_rate) AS average_loss_rate\n FROM item_rates\n), stats AS (\n SELECT m.average_loss_rate,\n SQRT(AVG((r.loss_rate - m.average_loss_rate) *\n (r.loss_rate - m.average_loss_rate))) AS stddev\n FROM mean_rate AS m\n LEFT JOIN item_rates AS r ON 1 = 1\n GROUP BY m.average_loss_rate\n)\nSELECT s.average_loss_rate,\n COUNT(CASE WHEN r.loss_rate < s.average_loss_rate - s.stddev THEN 1 END) AS items_below_one_stddev,\n COUNT(CASE WHEN r.loss_rate > s.average_loss_rate + s.stddev THEN 1 END) AS items_above_one_stddev,\n COUNT(CASE WHEN r.loss_rate BETWEEN s.average_loss_rate - s.stddev\n AND s.average_loss_rate + s.stddev THEN 1 END) AS items_within_one_stddev\nFROM stats AS s\nLEFT JOIN item_rates AS r ON 1 = 1\nGROUP BY s.average_loss_rate;", "seconds": 62.71896604192443, "calls": [{"seconds": 2.8352612080052495, "usage": {"completion_tokens": 86, "prompt_tokens": 1700, "total_tokens": 1786, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1095, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1095, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1095, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.687194459023885, "usage": {"completion_tokens": 322, "prompt_tokens": 1944, "total_tokens": 2266, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 126, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 244, "cached_tokens": 1095, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 244, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 244, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.039629208040424, "usage": {"completion_tokens": 511, "prompt_tokens": 2520, "total_tokens": 3031, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 197, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 576, "cached_tokens": 1339, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 576, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 576, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.394632417010143, "usage": {"completion_tokens": 390, "prompt_tokens": 3357, "total_tokens": 3747, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 80, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 837, "cached_tokens": 1915, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 837, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 837, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.582027249969542, "usage": {"completion_tokens": 285, "prompt_tokens": 4093, "total_tokens": 4378, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 736, "cached_tokens": 2752, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 736, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 736, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ad1f160fb151df88e9b288642d49f6f0390e65dc5c55e48f005b1e5071b971d4", "csv_sha256": "1277c08672016f6028915fc2ffe0d7c88f8937d98e45980bb6dfa2bbcc612975"} +{"instance_id": "local285", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "failed", "answer": "How should I calculate the wholesale and selling totals, average loss rate, total loss, and profit—should the totals use unit prices or transaction quantities, should the loss rate be weighted, and should loss be measured in kg or RMB?", "error_type": "ValueError", "seconds": 60.30680054205004, "calls": [{"seconds": 3.143968041986227, "usage": {"completion_tokens": 104, "prompt_tokens": 1730, "total_tokens": 1834, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1125, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1125, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1125, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9924980408977717, "usage": {"completion_tokens": 51, "prompt_tokens": 2071, "total_tokens": 2122, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 27, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 341, "cached_tokens": 1125, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 341, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 341, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.287688917014748, "usage": {"completion_tokens": 212, "prompt_tokens": 452, "total_tokens": 664, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 38, "rejected_prediction_tokens": 0}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": 0, "cached_tokens": 0, "cache_creation_tokens": 0}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.464308583992533, "usage": {"completion_tokens": 204, "prompt_tokens": 2286, "total_tokens": 2490, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 130, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 215, "cached_tokens": 1466, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 215, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 215, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.467476707999595, "usage": {"completion_tokens": 660, "prompt_tokens": 587, "total_tokens": 1247, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 211, "rejected_prediction_tokens": 0}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": 0, "cached_tokens": 0, "cache_creation_tokens": 0}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.44261341704987, "usage": {"completion_tokens": 420, "prompt_tokens": 375, "total_tokens": 795, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 150, "rejected_prediction_tokens": 0}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": 0, "cached_tokens": 0, "cache_creation_tokens": 0}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.26728104101494, "usage": {"completion_tokens": 546, "prompt_tokens": 453, "total_tokens": 999, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 297, "rejected_prediction_tokens": 0}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": 0, "cached_tokens": 0, "cache_creation_tokens": 0}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.153722707997076, "usage": {"completion_tokens": 396, "prompt_tokens": 3410, "total_tokens": 3806, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 343, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1124, "cached_tokens": 1681, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1124, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1124, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "14a6f4d4c119a031a9d7484a7d79964c8c2c0ad9a6515fa927e1ecc5ec8d63e4"} +{"instance_id": "local286", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "failed", "answer": "For this report, what counts as a sale (which order statuses qualify and whether freight is included), which events start and end packing time, and should top categories be ranked by units sold per seller or across all qualifying sellers?", "error_type": "ValueError", "seconds": 25.186946625006385, "calls": [{"seconds": 2.091440209071152, "usage": {"completion_tokens": 15, "prompt_tokens": 1664, "total_tokens": 1679, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1107, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1107, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1107, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4811638749670237, "usage": {"completion_tokens": 130, "prompt_tokens": 1727, "total_tokens": 1857, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 63, "cached_tokens": 1107, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 63, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 63, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.941722542047501, "usage": {"completion_tokens": 313, "prompt_tokens": 2260, "total_tokens": 2573, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 246, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 533, "cached_tokens": 1170, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 533, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 533, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.65358429204207, "usage": {"completion_tokens": 425, "prompt_tokens": 2635, "total_tokens": 3060, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 374, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 375, "cached_tokens": 1703, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 375, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 375, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5d03a6158cb62d72c415170085ceca4d3338303a1bda5943e47121f88151b421"} +{"instance_id": "local297", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH monthly_nets AS (\n SELECT customer_id,\n DATE(txn_date, 'start of month') AS month_start,\n SUM(CASE txn_type\n WHEN 'deposit' THEN txn_amount\n WHEN 'withdrawal' THEN -txn_amount\n END) AS monthly_net\n FROM customer_transactions\n WHERE txn_type IN ('deposit', 'withdrawal')\n GROUP BY customer_id, DATE(txn_date, 'start of month')\n), monthly_balances AS (\n SELECT customer_id,\n month_start,\n SUM(monthly_net) OVER (\n PARTITION BY customer_id\n ORDER BY month_start\n ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW\n ) AS closing_balance\n FROM monthly_nets\n), ranked_balances AS (\n SELECT closing_balance,\n LAG(closing_balance, 1, 0) OVER (\n PARTITION BY customer_id ORDER BY month_start\n ) AS prior_balance,\n ROW_NUMBER() OVER (\n PARTITION BY customer_id ORDER BY month_start DESC\n ) AS month_rank\n FROM monthly_balances\n), latest_growth AS (\n SELECT CASE\n WHEN prior_balance = 0 THEN closing_balance * 100.0\n ELSE 100.0 * (closing_balance - prior_balance) / prior_balance\n END AS growth_pct\n FROM ranked_balances\n WHERE month_rank = 1\n)\nSELECT 100.0 * COUNT(CASE WHEN growth_pct > 5 THEN 1 END)\n / NULLIF(COUNT(*), 0) AS percentage_of_customers\nFROM latest_growth;\n```", "rows": 1, "sql": "WITH monthly_nets AS (\n SELECT customer_id,\n DATE(txn_date, 'start of month') AS month_start,\n SUM(CASE txn_type\n WHEN 'deposit' THEN txn_amount\n WHEN 'withdrawal' THEN -txn_amount\n END) AS monthly_net\n FROM customer_transactions\n WHERE txn_type IN ('deposit', 'withdrawal')\n GROUP BY customer_id, DATE(txn_date, 'start of month')\n), monthly_balances AS (\n SELECT customer_id,\n month_start,\n SUM(monthly_net) OVER (\n PARTITION BY customer_id\n ORDER BY month_start\n ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW\n ) AS closing_balance\n FROM monthly_nets\n), ranked_balances AS (\n SELECT closing_balance,\n LAG(closing_balance, 1, 0) OVER (\n PARTITION BY customer_id ORDER BY month_start\n ) AS prior_balance,\n ROW_NUMBER() OVER (\n PARTITION BY customer_id ORDER BY month_start DESC\n ) AS month_rank\n FROM monthly_balances\n), latest_growth AS (\n SELECT CASE\n WHEN prior_balance = 0 THEN closing_balance * 100.0\n ELSE 100.0 * (closing_balance - prior_balance) / prior_balance\n END AS growth_pct\n FROM ranked_balances\n WHERE month_rank = 1\n)\nSELECT 100.0 * COUNT(CASE WHEN growth_pct > 5 THEN 1 END)\n / NULLIF(COUNT(*), 0) AS percentage_of_customers\nFROM latest_growth;", "seconds": 31.76930404198356, "calls": [{"seconds": 2.648052000091411, "usage": {"completion_tokens": 52, "prompt_tokens": 1769, "total_tokens": 1821, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1164, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1164, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1164, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.540320875006728, "usage": {"completion_tokens": 608, "prompt_tokens": 1905, "total_tokens": 2513, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 368, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 136, "cached_tokens": 1164, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 136, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 136, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.529232541914098, "usage": {"completion_tokens": 522, "prompt_tokens": 2793, "total_tokens": 3315, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 150, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 888, "cached_tokens": 1300, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 888, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 888, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.030110707972199, "usage": {"completion_tokens": 380, "prompt_tokens": 3680, "total_tokens": 4060, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 36, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 887, "cached_tokens": 2188, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 887, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 887, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ffa4f9bc139bb4074802c1f7e581972757dc51ef0e75758fa98f37ebb74a0fda", "csv_sha256": "ef4bacdb2ec34244a1b5317496443d4b0060949560d8291ce7e44e31beb1d497"} +{"instance_id": "local298", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE month_bounds AS (\n SELECT DATE(MIN(txn_date), 'start of month') AS first_month,\n DATE(MAX(txn_date), 'start of month') AS last_month\n FROM customer_transactions\n), months(month_start, last_month) AS (\n SELECT DATE(first_month, '+1 month'), last_month\n FROM month_bounds\n WHERE first_month < last_month\n UNION ALL\n SELECT DATE(month_start, '+1 month'), last_month\n FROM months\n WHERE month_start < last_month\n), customer_balances AS (\n SELECT m.month_start,\n t.customer_id,\n SUM(CASE t.txn_type\n WHEN 'deposit' THEN t.txn_amount\n WHEN 'purchase' THEN -t.txn_amount\n WHEN 'withdrawal' THEN -t.txn_amount\n END) AS balance\n FROM months AS m\n JOIN customer_transactions AS t ON t.txn_date < m.month_start\n GROUP BY m.month_start, t.customer_id\n)\nSELECT month_start AS month,\n SUM(MAX(balance, 0)) AS previous_total_balance\nFROM customer_balances\nGROUP BY month_start\nORDER BY month_start;\n```", "rows": 3, "sql": "WITH RECURSIVE month_bounds AS (\n SELECT DATE(MIN(txn_date), 'start of month') AS first_month,\n DATE(MAX(txn_date), 'start of month') AS last_month\n FROM customer_transactions\n), months(month_start, last_month) AS (\n SELECT DATE(first_month, '+1 month'), last_month\n FROM month_bounds\n WHERE first_month < last_month\n UNION ALL\n SELECT DATE(month_start, '+1 month'), last_month\n FROM months\n WHERE month_start < last_month\n), customer_balances AS (\n SELECT m.month_start,\n t.customer_id,\n SUM(CASE t.txn_type\n WHEN 'deposit' THEN t.txn_amount\n WHEN 'purchase' THEN -t.txn_amount\n WHEN 'withdrawal' THEN -t.txn_amount\n END) AS balance\n FROM months AS m\n JOIN customer_transactions AS t ON t.txn_date < m.month_start\n GROUP BY m.month_start, t.customer_id\n)\nSELECT month_start AS month,\n SUM(MAX(balance, 0)) AS previous_total_balance\nFROM customer_balances\nGROUP BY month_start\nORDER BY month_start;", "seconds": 38.08592645905446, "calls": [{"seconds": 2.1268497080309317, "usage": {"completion_tokens": 18, "prompt_tokens": 1725, "total_tokens": 1743, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1120, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1120, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1120, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.2668419169494882, "usage": {"completion_tokens": 15, "prompt_tokens": 1773, "total_tokens": 1788, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1120, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2908339579589665, "usage": {"completion_tokens": 84, "prompt_tokens": 1894, "total_tokens": 1978, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 121, "cached_tokens": 1168, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 121, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 121, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.843002915964462, "usage": {"completion_tokens": 330, "prompt_tokens": 2153, "total_tokens": 2483, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 266, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 259, "cached_tokens": 1289, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 259, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 259, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 15.865448500029743, "usage": {"completion_tokens": 783, "prompt_tokens": 2652, "total_tokens": 3435, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 507, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 499, "cached_tokens": 1548, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 499, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 499, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.663452208042145, "usage": {"completion_tokens": 272, "prompt_tokens": 3747, "total_tokens": 4019, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 13, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1095, "cached_tokens": 2047, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1095, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1095, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "fdf3327ee6a5222cfac0084634d54215f34518790ca1072f2248d7421a22d485", "csv_sha256": "3e17a5b81f2544fb6ca84a8ddd5b75b4f5ed8a43473f9993c298b9cac4adf7b1"} +{"instance_id": "local299", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE\n daily_transactions AS (\n SELECT customer_id,\n DATE(txn_date) AS transaction_date,\n SUM(CASE WHEN txn_type = 'deposit' THEN txn_amount\n ELSE -txn_amount END) AS net_amount\n FROM customer_transactions\n GROUP BY customer_id, DATE(txn_date)\n ),\n reporting_end AS (\n SELECT MAX(transaction_date) AS last_date\n FROM daily_transactions\n ),\n customer_days(customer_id, balance_date, baseline_month) AS (\n SELECT customer_id,\n MIN(transaction_date),\n STRFTIME('%Y-%m', MIN(transaction_date))\n FROM daily_transactions\n GROUP BY customer_id\n\n UNION ALL\n\n SELECT d.customer_id, DATE(d.balance_date, '+1 day'), d.baseline_month\n FROM customer_days AS d\n CROSS JOIN reporting_end AS e\n WHERE d.balance_date < e.last_date\n ),\n daily_balances AS (\n SELECT d.customer_id, d.balance_date, d.baseline_month,\n SUM(COALESCE(t.net_amount, 0)) OVER (\n PARTITION BY d.customer_id\n ORDER BY d.balance_date\n ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW\n ) AS daily_balance\n FROM customer_days AS d\n LEFT JOIN daily_transactions AS t\n ON t.customer_id = d.customer_id\n AND t.transaction_date = d.balance_date\n ),\n rolling_balances AS (\n SELECT customer_id, STRFTIME('%Y-%m', balance_date) AS month,\n baseline_month,\n AVG(daily_balance) OVER trailing_30_days AS average_balance,\n COUNT(*) OVER trailing_30_days AS days_in_window\n FROM daily_balances\n WINDOW trailing_30_days AS (\n PARTITION BY customer_id\n ORDER BY balance_date\n ROWS BETWEEN 29 PRECEDING AND CURRENT ROW\n )\n ),\n customer_monthly_max AS (\n SELECT customer_id, month,\n MAX(CASE WHEN average_balance < 0 THEN 0.0\n ELSE average_balance END) AS max_30_day_average\n FROM rolling_balances\n WHERE days_in_window = 30 AND month > baseline_month\n GROUP BY customer_id, month\n )\nSELECT month, SUM(max_30_day_average) AS total_max_30_day_average_balance\nFROM customer_monthly_max\nGROUP BY month\nORDER BY month;\n```", "rows": 3, "sql": "WITH RECURSIVE\n daily_transactions AS (\n SELECT customer_id,\n DATE(txn_date) AS transaction_date,\n SUM(CASE WHEN txn_type = 'deposit' THEN txn_amount\n ELSE -txn_amount END) AS net_amount\n FROM customer_transactions\n GROUP BY customer_id, DATE(txn_date)\n ),\n reporting_end AS (\n SELECT MAX(transaction_date) AS last_date\n FROM daily_transactions\n ),\n customer_days(customer_id, balance_date, baseline_month) AS (\n SELECT customer_id,\n MIN(transaction_date),\n STRFTIME('%Y-%m', MIN(transaction_date))\n FROM daily_transactions\n GROUP BY customer_id\n\n UNION ALL\n\n SELECT d.customer_id, DATE(d.balance_date, '+1 day'), d.baseline_month\n FROM customer_days AS d\n CROSS JOIN reporting_end AS e\n WHERE d.balance_date < e.last_date\n ),\n daily_balances AS (\n SELECT d.customer_id, d.balance_date, d.baseline_month,\n SUM(COALESCE(t.net_amount, 0)) OVER (\n PARTITION BY d.customer_id\n ORDER BY d.balance_date\n ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW\n ) AS daily_balance\n FROM customer_days AS d\n LEFT JOIN daily_transactions AS t\n ON t.customer_id = d.customer_id\n AND t.transaction_date = d.balance_date\n ),\n rolling_balances AS (\n SELECT customer_id, STRFTIME('%Y-%m', balance_date) AS month,\n baseline_month,\n AVG(daily_balance) OVER trailing_30_days AS average_balance,\n COUNT(*) OVER trailing_30_days AS days_in_window\n FROM daily_balances\n WINDOW trailing_30_days AS (\n PARTITION BY customer_id\n ORDER BY balance_date\n ROWS BETWEEN 29 PRECEDING AND CURRENT ROW\n )\n ),\n customer_monthly_max AS (\n SELECT customer_id, month,\n MAX(CASE WHEN average_balance < 0 THEN 0.0\n ELSE average_balance END) AS max_30_day_average\n FROM rolling_balances\n WHERE days_in_window = 30 AND month > baseline_month\n GROUP BY customer_id, month\n )\nSELECT month, SUM(max_30_day_average) AS total_max_30_day_average_balance\nFROM customer_monthly_max\nGROUP BY month\nORDER BY month;", "seconds": 33.50739270891063, "calls": [{"seconds": 2.1178227089112625, "usage": {"completion_tokens": 20, "prompt_tokens": 1778, "total_tokens": 1798, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1173, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1173, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1173, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.795621415949427, "usage": {"completion_tokens": 415, "prompt_tokens": 1838, "total_tokens": 2253, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 361, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 60, "cached_tokens": 1173, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 60, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 60, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 14.304243666003458, "usage": {"completion_tokens": 911, "prompt_tokens": 2395, "total_tokens": 3306, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 348, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 557, "cached_tokens": 1233, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 557, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 557, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.103592208004557, "usage": {"completion_tokens": 515, "prompt_tokens": 3889, "total_tokens": 4404, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1494, "cached_tokens": 1790, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1494, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1494, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ec51c90d475888862a554460928171613ac51c79ca4aba479e2fec67a30ba7ff", "csv_sha256": "3b9f2351d859488c806e14fd6474e186f19e8e49a8ad57d213759c3e2a84a54a"} +{"instance_id": "local300", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE daily_activity AS (\n SELECT customer_id,\n DATE(txn_date) AS balance_date,\n SUM(CASE\n WHEN txn_type = 'deposit' THEN txn_amount\n WHEN txn_type IN ('purchase', 'withdrawal') THEN -txn_amount\n END) AS net_amount\n FROM customer_transactions\n GROUP BY customer_id, DATE(txn_date)\n),\ncustomer_dates AS (\n SELECT customer_id,\n MIN(balance_date) AS balance_date,\n MAX(balance_date) AS last_date\n FROM daily_activity\n GROUP BY customer_id\n UNION ALL\n SELECT customer_id, DATE(balance_date, '+1 day'), last_date\n FROM customer_dates\n WHERE balance_date < last_date\n),\ndaily_balances AS (\n SELECT d.customer_id,\n d.balance_date,\n SUM(COALESCE(a.net_amount, 0)) OVER (\n PARTITION BY d.customer_id\n ORDER BY d.balance_date\n ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW\n ) AS balance\n FROM customer_dates AS d\n LEFT JOIN daily_activity AS a\n ON a.customer_id = d.customer_id\n AND a.balance_date = d.balance_date\n),\ncustomer_monthly_max AS (\n SELECT customer_id,\n STRFTIME('%Y-%m', balance_date) AS month,\n MAX(CASE WHEN balance < 0 THEN 0 ELSE balance END) AS max_daily_balance\n FROM daily_balances\n GROUP BY customer_id, STRFTIME('%Y-%m', balance_date)\n)\nSELECT month, SUM(max_daily_balance) AS monthly_total\nFROM customer_monthly_max\nGROUP BY month\nORDER BY month;\n```", "rows": 4, "sql": "WITH RECURSIVE daily_activity AS (\n SELECT customer_id,\n DATE(txn_date) AS balance_date,\n SUM(CASE\n WHEN txn_type = 'deposit' THEN txn_amount\n WHEN txn_type IN ('purchase', 'withdrawal') THEN -txn_amount\n END) AS net_amount\n FROM customer_transactions\n GROUP BY customer_id, DATE(txn_date)\n),\ncustomer_dates AS (\n SELECT customer_id,\n MIN(balance_date) AS balance_date,\n MAX(balance_date) AS last_date\n FROM daily_activity\n GROUP BY customer_id\n UNION ALL\n SELECT customer_id, DATE(balance_date, '+1 day'), last_date\n FROM customer_dates\n WHERE balance_date < last_date\n),\ndaily_balances AS (\n SELECT d.customer_id,\n d.balance_date,\n SUM(COALESCE(a.net_amount, 0)) OVER (\n PARTITION BY d.customer_id\n ORDER BY d.balance_date\n ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW\n ) AS balance\n FROM customer_dates AS d\n LEFT JOIN daily_activity AS a\n ON a.customer_id = d.customer_id\n AND a.balance_date = d.balance_date\n),\ncustomer_monthly_max AS (\n SELECT customer_id,\n STRFTIME('%Y-%m', balance_date) AS month,\n MAX(CASE WHEN balance < 0 THEN 0 ELSE balance END) AS max_daily_balance\n FROM daily_balances\n GROUP BY customer_id, STRFTIME('%Y-%m', balance_date)\n)\nSELECT month, SUM(max_daily_balance) AS monthly_total\nFROM customer_monthly_max\nGROUP BY month\nORDER BY month;", "seconds": 23.00614116701763, "calls": [{"seconds": 2.261366083053872, "usage": {"completion_tokens": 20, "prompt_tokens": 1730, "total_tokens": 1750, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1125, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1125, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1125, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8182740419870242, "usage": {"completion_tokens": 112, "prompt_tokens": 1790, "total_tokens": 1902, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 77, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 60, "cached_tokens": 1125, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 60, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 60, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.463384500006214, "usage": {"completion_tokens": 494, "prompt_tokens": 1945, "total_tokens": 2439, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 100, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 155, "cached_tokens": 1185, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 155, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 155, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.3694528749911115, "usage": {"completion_tokens": 361, "prompt_tokens": 2857, "total_tokens": 3218, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 912, "cached_tokens": 1340, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 912, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 912, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "47748a8bb28f23c833fbd22461c3489a485035f829e70a0af449cc93963f05b4", "csv_sha256": "55b4842a1f8d5d62fd08a20930a8432e35aed094888291dab63c02f85a85ac2a"} +{"instance_id": "local301", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH periods(year, cutoff) AS (\n VALUES (2018, '2018-06-15'), (2019, '2019-06-15'), (2020, '2020-06-15')\n), totals AS (\n SELECT p.year,\n SUM(CASE WHEN s.week_date < p.cutoff THEN s.sales END) AS sales_before,\n SUM(CASE WHEN s.week_date >= p.cutoff THEN s.sales END) AS sales_after\n FROM periods AS p\n LEFT JOIN cleaned_weekly_sales AS s\n ON s.week_date >= date(p.cutoff, '-28 days')\n AND s.week_date < date(p.cutoff, '+28 days')\n GROUP BY p.year\n)\nSELECT year,\n ROUND(100.0 * (sales_after - sales_before) / NULLIF(sales_before, 0), 2) AS sales_pct_change\nFROM totals\nORDER BY year;\n```", "rows": 3, "sql": "WITH periods(year, cutoff) AS (\n VALUES (2018, '2018-06-15'), (2019, '2019-06-15'), (2020, '2020-06-15')\n), totals AS (\n SELECT p.year,\n SUM(CASE WHEN s.week_date < p.cutoff THEN s.sales END) AS sales_before,\n SUM(CASE WHEN s.week_date >= p.cutoff THEN s.sales END) AS sales_after\n FROM periods AS p\n LEFT JOIN cleaned_weekly_sales AS s\n ON s.week_date >= date(p.cutoff, '-28 days')\n AND s.week_date < date(p.cutoff, '+28 days')\n GROUP BY p.year\n)\nSELECT year,\n ROUND(100.0 * (sales_after - sales_before) / NULLIF(sales_before, 0), 2) AS sales_pct_change\nFROM totals\nORDER BY year;", "seconds": 21.4357739998959, "calls": [{"seconds": 2.9631704579805955, "usage": {"completion_tokens": 69, "prompt_tokens": 1716, "total_tokens": 1785, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1111, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1111, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1111, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.2247912919847295, "usage": {"completion_tokens": 269, "prompt_tokens": 1963, "total_tokens": 2232, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 205, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 247, "cached_tokens": 1111, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 247, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 247, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.542694916948676, "usage": {"completion_tokens": 298, "prompt_tokens": 3172, "total_tokens": 3470, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 74, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1209, "cached_tokens": 1358, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1209, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1209, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.666125749936327, "usage": {"completion_tokens": 201, "prompt_tokens": 3717, "total_tokens": 3918, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 545, "cached_tokens": 2567, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 545, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 545, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "966f22c4062d1129047f265d53965c9e5de949c41e6521dcf6feaf8e1a3018ef", "csv_sha256": "e61d6dff8c321adde5f11b7dcd293f2e452950649f2b3ac8678a9ce51892932d"} +{"instance_id": "local302", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH sales_window AS (\n SELECT week_date, region, platform, age_band, demographic, customer_type, sales\n FROM cleaned_weekly_sales\n WHERE week_date >= date('2020-06-15', '-84 days')\n AND week_date < date('2020-06-15', '+84 days')\n),\nattribute_sales AS (\n SELECT 'region' AS attribute_type, region AS attribute_value, week_date, sales\n FROM sales_window\n UNION ALL\n SELECT 'platform', platform, week_date, sales FROM sales_window\n UNION ALL\n SELECT 'age_band', age_band, week_date, sales FROM sales_window\n UNION ALL\n SELECT 'demographic', demographic, week_date, sales FROM sales_window\n UNION ALL\n SELECT 'customer_type', customer_type, week_date, sales FROM sales_window\n),\nvalue_totals AS (\n SELECT attribute_type,\n attribute_value,\n SUM(CASE WHEN week_date < '2020-06-15' THEN sales ELSE 0 END) AS sales_before,\n SUM(CASE WHEN week_date >= '2020-06-15' THEN sales ELSE 0 END) AS sales_after\n FROM attribute_sales\n GROUP BY attribute_type, attribute_value\n),\ntype_averages AS (\n SELECT attribute_type,\n AVG(100.0 * (sales_after - sales_before) / NULLIF(sales_before, 0)) AS avg_percentage_change\n FROM value_totals\n GROUP BY attribute_type\n)\nSELECT attribute_type, avg_percentage_change\nFROM type_averages\nWHERE avg_percentage_change = (SELECT MIN(avg_percentage_change) FROM type_averages)\n AND avg_percentage_change < 0\nORDER BY attribute_type;\n```", "rows": 1, "sql": "WITH sales_window AS (\n SELECT week_date, region, platform, age_band, demographic, customer_type, sales\n FROM cleaned_weekly_sales\n WHERE week_date >= date('2020-06-15', '-84 days')\n AND week_date < date('2020-06-15', '+84 days')\n),\nattribute_sales AS (\n SELECT 'region' AS attribute_type, region AS attribute_value, week_date, sales\n FROM sales_window\n UNION ALL\n SELECT 'platform', platform, week_date, sales FROM sales_window\n UNION ALL\n SELECT 'age_band', age_band, week_date, sales FROM sales_window\n UNION ALL\n SELECT 'demographic', demographic, week_date, sales FROM sales_window\n UNION ALL\n SELECT 'customer_type', customer_type, week_date, sales FROM sales_window\n),\nvalue_totals AS (\n SELECT attribute_type,\n attribute_value,\n SUM(CASE WHEN week_date < '2020-06-15' THEN sales ELSE 0 END) AS sales_before,\n SUM(CASE WHEN week_date >= '2020-06-15' THEN sales ELSE 0 END) AS sales_after\n FROM attribute_sales\n GROUP BY attribute_type, attribute_value\n),\ntype_averages AS (\n SELECT attribute_type,\n AVG(100.0 * (sales_after - sales_before) / NULLIF(sales_before, 0)) AS avg_percentage_change\n FROM value_totals\n GROUP BY attribute_type\n)\nSELECT attribute_type, avg_percentage_change\nFROM type_averages\nWHERE avg_percentage_change = (SELECT MIN(avg_percentage_change) FROM type_averages)\n AND avg_percentage_change < 0\nORDER BY attribute_type;", "seconds": 29.72304970899131, "calls": [{"seconds": 3.2394301670137793, "usage": {"completion_tokens": 69, "prompt_tokens": 1732, "total_tokens": 1801, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1127, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1127, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1127, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.939460916095413, "usage": {"completion_tokens": 226, "prompt_tokens": 1979, "total_tokens": 2205, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 152, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 247, "cached_tokens": 1127, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 247, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 247, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.661383374943398, "usage": {"completion_tokens": 737, "prompt_tokens": 2903, "total_tokens": 3640, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 348, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 924, "cached_tokens": 1374, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 924, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 924, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.420616249903105, "usage": {"completion_tokens": 368, "prompt_tokens": 4041, "total_tokens": 4409, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1138, "cached_tokens": 2298, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1138, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1138, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2f9d21ee1084f92b0897d7b0ceb96cbe1292078c0f24ce4bae07ac94b2ed1cd4", "csv_sha256": "1d77daee7f045ca9f56d1d5adfa0c00d2ede85949bce5b8e5e2fb76d142932c1"} +{"instance_id": "local309", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH ranked_drivers AS (\n SELECT r.year, ds.driver_id,\n RANK() OVER (\n PARTITION BY r.year\n ORDER BY r.round DESC, ds.points DESC\n ) AS points_rank\n FROM races AS r\n JOIN driver_standings AS ds ON ds.race_id = r.race_id\n), ranked_constructors AS (\n SELECT r.year, cs.constructor_id,\n RANK() OVER (\n PARTITION BY r.year\n ORDER BY r.round DESC, cs.points DESC\n ) AS points_rank\n FROM races AS r\n JOIN constructor_standings AS cs ON cs.race_id = r.race_id\n)\nSELECT s.year,\n d.full_name AS driver_full_name,\n c.name AS constructor_name\nFROM seasons AS s\nLEFT JOIN ranked_drivers AS rd ON rd.year = s.year AND rd.points_rank = 1\nLEFT JOIN drivers AS d ON d.driver_id = rd.driver_id\nLEFT JOIN ranked_constructors AS rc ON rc.year = s.year AND rc.points_rank = 1\nLEFT JOIN constructors AS c ON c.constructor_id = rc.constructor_id\nORDER BY s.year, d.full_name, c.name;\n```", "rows": 75, "sql": "WITH ranked_drivers AS (\n SELECT r.year, ds.driver_id,\n RANK() OVER (\n PARTITION BY r.year\n ORDER BY r.round DESC, ds.points DESC\n ) AS points_rank\n FROM races AS r\n JOIN driver_standings AS ds ON ds.race_id = r.race_id\n), ranked_constructors AS (\n SELECT r.year, cs.constructor_id,\n RANK() OVER (\n PARTITION BY r.year\n ORDER BY r.round DESC, cs.points DESC\n ) AS points_rank\n FROM races AS r\n JOIN constructor_standings AS cs ON cs.race_id = r.race_id\n)\nSELECT s.year,\n d.full_name AS driver_full_name,\n c.name AS constructor_name\nFROM seasons AS s\nLEFT JOIN ranked_drivers AS rd ON rd.year = s.year AND rd.points_rank = 1\nLEFT JOIN drivers AS d ON d.driver_id = rd.driver_id\nLEFT JOIN ranked_constructors AS rc ON rc.year = s.year AND rc.points_rank = 1\nLEFT JOIN constructors AS c ON c.constructor_id = rc.constructor_id\nORDER BY s.year, d.full_name, c.name;", "seconds": 30.041254167095758, "calls": [{"seconds": 3.8853997089900076, "usage": {"completion_tokens": 133, "prompt_tokens": 1700, "total_tokens": 1833, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1071, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1071, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1071, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4038927500369027, "usage": {"completion_tokens": 103, "prompt_tokens": 2349, "total_tokens": 2452, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 649, "cached_tokens": 1071, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 649, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 649, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.078127791988663, "usage": {"completion_tokens": 420, "prompt_tokens": 2934, "total_tokens": 3354, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 191, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 585, "cached_tokens": 1720, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 585, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 585, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.943669665954076, "usage": {"completion_tokens": 421, "prompt_tokens": 4349, "total_tokens": 4770, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 141, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1415, "cached_tokens": 2305, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1415, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1415, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.20087337505538, "usage": {"completion_tokens": 275, "prompt_tokens": 5555, "total_tokens": 5830, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 17, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1206, "cached_tokens": 3720, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1206, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1206, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "abca387c31c76239223ae80cdf522eac3c7c9aa40c4b04ade7398da2bd4beb44", "csv_sha256": "ff99f4c3d3bf06a1a8c57af74a09344035f7f018d8592174f6799841fc39ebcd"} +{"instance_id": "local310", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH race_points AS (\n SELECT r.year, res.driver_id, res.constructor_id, res.points\n FROM results AS res\n JOIN races AS r ON r.race_id = res.race_id\n), driver_totals AS (\n SELECT year, driver_id, SUM(points) AS total_points\n FROM race_points\n GROUP BY year, driver_id\n), constructor_totals AS (\n SELECT year, constructor_id, SUM(points) AS total_points\n FROM race_points\n GROUP BY year, constructor_id\n), driver_maxima AS (\n SELECT year, MAX(total_points) AS max_points\n FROM driver_totals\n GROUP BY year\n), constructor_maxima AS (\n SELECT year, MAX(total_points) AS max_points\n FROM constructor_totals\n GROUP BY year\n)\nSELECT d.year\nFROM driver_maxima AS d\nJOIN constructor_maxima AS c ON c.year = d.year\nORDER BY d.max_points + c.max_points ASC, d.year ASC\nLIMIT 3;\n```", "rows": 3, "sql": "WITH race_points AS (\n SELECT r.year, res.driver_id, res.constructor_id, res.points\n FROM results AS res\n JOIN races AS r ON r.race_id = res.race_id\n), driver_totals AS (\n SELECT year, driver_id, SUM(points) AS total_points\n FROM race_points\n GROUP BY year, driver_id\n), constructor_totals AS (\n SELECT year, constructor_id, SUM(points) AS total_points\n FROM race_points\n GROUP BY year, constructor_id\n), driver_maxima AS (\n SELECT year, MAX(total_points) AS max_points\n FROM driver_totals\n GROUP BY year\n), constructor_maxima AS (\n SELECT year, MAX(total_points) AS max_points\n FROM constructor_totals\n GROUP BY year\n)\nSELECT d.year\nFROM driver_maxima AS d\nJOIN constructor_maxima AS c ON c.year = d.year\nORDER BY d.max_points + c.max_points ASC, d.year ASC\nLIMIT 3;", "seconds": 16.470753083005548, "calls": [{"seconds": 2.338082625064999, "usage": {"completion_tokens": 19, "prompt_tokens": 1746, "total_tokens": 1765, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1117, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.149890833999962, "usage": {"completion_tokens": 166, "prompt_tokens": 1914, "total_tokens": 2080, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 144, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1285, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.210740000009537, "usage": {"completion_tokens": 256, "prompt_tokens": 2242, "total_tokens": 2498, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 20, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 328, "cached_tokens": 1285, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 328, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 328, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.719182500033639, "usage": {"completion_tokens": 219, "prompt_tokens": 2738, "total_tokens": 2957, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 496, "cached_tokens": 1613, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 496, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 496, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5ccef54155111fed10b4bce60d1a2d7ee5949ec98bf23e783e49951a6678e052", "csv_sha256": "1781e656c5fe72f4c09f983ebfa4785e557091254a46d5e0663c0f2bb5a34a2b"} +{"instance_id": "local311", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n c.name AS constructor_name,\n r.year,\n ds.points + cs.points AS combined_points\nFROM team_driver_ranks AS tdr\nJOIN constructors AS c ON c.constructor_id = tdr.constructor_id\nJOIN races AS r ON r.year = tdr.year\nJOIN constructor_standings AS cs\n ON cs.race_id = r.race_id AND cs.constructor_id = tdr.constructor_id\nJOIN driver_standings AS ds\n ON ds.race_id = r.race_id AND ds.driver_id = tdr.driver_id\nWHERE tdr.team_driver_rank = 1\n AND r.round = (SELECT MAX(r2.round) FROM races AS r2 WHERE r2.year = r.year)\nORDER BY combined_points DESC, r.year DESC, c.constructor_id\nLIMIT 3;\n```", "rows": 3, "sql": "SELECT\n c.name AS constructor_name,\n r.year,\n ds.points + cs.points AS combined_points\nFROM team_driver_ranks AS tdr\nJOIN constructors AS c ON c.constructor_id = tdr.constructor_id\nJOIN races AS r ON r.year = tdr.year\nJOIN constructor_standings AS cs\n ON cs.race_id = r.race_id AND cs.constructor_id = tdr.constructor_id\nJOIN driver_standings AS ds\n ON ds.race_id = r.race_id AND ds.driver_id = tdr.driver_id\nWHERE tdr.team_driver_rank = 1\n AND r.round = (SELECT MAX(r2.round) FROM races AS r2 WHERE r2.year = r.year)\nORDER BY combined_points DESC, r.year DESC, c.constructor_id\nLIMIT 3;", "seconds": 28.206388207967393, "calls": [{"seconds": 2.3659790420206264, "usage": {"completion_tokens": 22, "prompt_tokens": 1702, "total_tokens": 1724, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1073, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1073, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1073, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.339978208066896, "usage": {"completion_tokens": 171, "prompt_tokens": 1778, "total_tokens": 1949, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 76, "cached_tokens": 1073, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 76, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 76, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.713801124948077, "usage": {"completion_tokens": 122, "prompt_tokens": 2634, "total_tokens": 2756, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 32, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 856, "cached_tokens": 1149, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 856, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 856, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.62118741706945, "usage": {"completion_tokens": 300, "prompt_tokens": 3063, "total_tokens": 3363, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 129, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 429, "cached_tokens": 2005, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 429, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 429, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.653596333926544, "usage": {"completion_tokens": 246, "prompt_tokens": 3739, "total_tokens": 3985, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 55, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 676, "cached_tokens": 2434, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 676, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 676, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.699466333957389, "usage": {"completion_tokens": 198, "prompt_tokens": 4222, "total_tokens": 4420, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 19, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 483, "cached_tokens": 3110, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 483, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 483, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f7e3aac130895051971bdc2f1e6931bf174e96d45269b9b875228d1f83096ac5", "csv_sha256": "ecf86b0b03ac5f6c58bc3f744ce4fc43abd0a6aac7b6fa57f8ce933124839149"} +{"instance_id": "local329", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT i.session) AS unique_sessions\nFROM form_log AS i\nWHERE i.path = '/regist/input'\n AND i.action = 'view'\n AND EXISTS (\n SELECT 1\n FROM form_log AS c\n WHERE c.session = i.session\n AND c.path = '/regist/confirm'\n AND c.action = 'view'\n AND c.stamp > i.stamp\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT i.session) AS unique_sessions\nFROM form_log AS i\nWHERE i.path = '/regist/input'\n AND i.action = 'view'\n AND EXISTS (\n SELECT 1\n FROM form_log AS c\n WHERE c.session = i.session\n AND c.path = '/regist/confirm'\n AND c.action = 'view'\n AND c.stamp > i.stamp\n );", "seconds": 19.96772204095032, "calls": [{"seconds": 1.9843489580089226, "usage": {"completion_tokens": 20, "prompt_tokens": 1685, "total_tokens": 1705, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1073, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1073, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1073, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.3727455000625923, "usage": {"completion_tokens": 42, "prompt_tokens": 1751, "total_tokens": 1793, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 66, "cached_tokens": 1073, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 66, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 66, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.105399459018372, "usage": {"completion_tokens": 20, "prompt_tokens": 1835, "total_tokens": 1855, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 84, "cached_tokens": 1139, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 84, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 84, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.108273708028719, "usage": {"completion_tokens": 52, "prompt_tokens": 1907, "total_tokens": 1959, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 72, "cached_tokens": 1223, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 72, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 72, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4007065419573337, "usage": {"completion_tokens": 70, "prompt_tokens": 2474, "total_tokens": 2544, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 18, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 567, "cached_tokens": 1295, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 567, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 567, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.670890499954112, "usage": {"completion_tokens": 112, "prompt_tokens": 2631, "total_tokens": 2743, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 157, "cached_tokens": 1862, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 157, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 157, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3058321659918875, "usage": {"completion_tokens": 98, "prompt_tokens": 2860, "total_tokens": 2958, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 229, "cached_tokens": 2019, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 229, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 229, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f7ac7e730c7cb3799dae6809d65c42af5847a235f09dc92c60c72f02f12eb460", "csv_sha256": "aeaae22b9f83919e67b268233acfbfe45f0e349359fb8cb20f7b411539a022e5"} +{"instance_id": "local330", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH bounds AS (\n SELECT session, MIN(stamp) AS first_stamp, MAX(stamp) AS last_stamp\n FROM activity_log\n GROUP BY session\n), endpoints AS (\n SELECT DISTINCT a.session, a.path\n FROM activity_log AS a\n JOIN bounds AS b ON a.session = b.session\n WHERE a.stamp = b.first_stamp OR a.stamp = b.last_stamp\n)\nSELECT p.path, COUNT(e.session) AS unique_session_count\nFROM (SELECT DISTINCT path FROM activity_log) AS p\nLEFT JOIN endpoints AS e ON e.path = p.path\nGROUP BY p.path\nORDER BY unique_session_count DESC, p.path;\n```", "rows": 11, "sql": "WITH bounds AS (\n SELECT session, MIN(stamp) AS first_stamp, MAX(stamp) AS last_stamp\n FROM activity_log\n GROUP BY session\n), endpoints AS (\n SELECT DISTINCT a.session, a.path\n FROM activity_log AS a\n JOIN bounds AS b ON a.session = b.session\n WHERE a.stamp = b.first_stamp OR a.stamp = b.last_stamp\n)\nSELECT p.path, COUNT(e.session) AS unique_session_count\nFROM (SELECT DISTINCT path FROM activity_log) AS p\nLEFT JOIN endpoints AS e ON e.path = p.path\nGROUP BY p.path\nORDER BY unique_session_count DESC, p.path;", "seconds": 17.994212875026278, "calls": [{"seconds": 2.2300568328937516, "usage": {"completion_tokens": 20, "prompt_tokens": 1737, "total_tokens": 1757, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1125, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1125, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1125, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.2362719170050696, "usage": {"completion_tokens": 162, "prompt_tokens": 1817, "total_tokens": 1979, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 125, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 80, "cached_tokens": 1125, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 80, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 80, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9150956670055166, "usage": {"completion_tokens": 73, "prompt_tokens": 2394, "total_tokens": 2467, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 577, "cached_tokens": 1205, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 577, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 577, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.235801375005394, "usage": {"completion_tokens": 157, "prompt_tokens": 2591, "total_tokens": 2748, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 197, "cached_tokens": 1782, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 197, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 197, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.364997250027955, "usage": {"completion_tokens": 166, "prompt_tokens": 2979, "total_tokens": 3145, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 19, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 388, "cached_tokens": 1979, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 388, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 388, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "419bfaa874630c931e090b0c17b1f0f814877c0bd2b35eecb36af5e1a7623744", "csv_sha256": "2394d1b80d277a68760fd08c913b6b51663e9081f1d1b635ebf4977494bb5c2e"} +{"instance_id": "local331", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH visits AS (\n SELECT\n path,\n LAG(path, 1) OVER visit_order AS previous_path,\n LAG(path, 2) OVER visit_order AS second_previous_path\n FROM activity_log\n WHERE action = 'view'\n WINDOW visit_order AS (PARTITION BY session ORDER BY stamp, rowid)\n)\nSELECT path AS third_page, COUNT(*) AS visit_count\nFROM visits\nWHERE previous_path = '/detail'\n AND second_previous_path = '/detail'\nGROUP BY path\nORDER BY visit_count DESC, third_page ASC\nLIMIT 3;\n```", "rows": 3, "sql": "WITH visits AS (\n SELECT\n path,\n LAG(path, 1) OVER visit_order AS previous_path,\n LAG(path, 2) OVER visit_order AS second_previous_path\n FROM activity_log\n WHERE action = 'view'\n WINDOW visit_order AS (PARTITION BY session ORDER BY stamp, rowid)\n)\nSELECT path AS third_page, COUNT(*) AS visit_count\nFROM visits\nWHERE previous_path = '/detail'\n AND second_previous_path = '/detail'\nGROUP BY path\nORDER BY visit_count DESC, third_page ASC\nLIMIT 3;", "seconds": 45.148134624934755, "calls": [{"seconds": 2.2731265000766143, "usage": {"completion_tokens": 20, "prompt_tokens": 1693, "total_tokens": 1713, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1081, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1081, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1081, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.577984834089875, "usage": {"completion_tokens": 18, "prompt_tokens": 1759, "total_tokens": 1777, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 66, "cached_tokens": 1081, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 66, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 66, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.4104988330509514, "usage": {"completion_tokens": 37, "prompt_tokens": 1807, "total_tokens": 1844, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1147, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.672806208021939, "usage": {"completion_tokens": 43, "prompt_tokens": 2679, "total_tokens": 2722, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 26, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 872, "cached_tokens": 1195, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 872, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 872, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.013710832921788, "usage": {"completion_tokens": 154, "prompt_tokens": 2835, "total_tokens": 2989, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 156, "cached_tokens": 2067, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 156, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 156, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8578529589576647, "usage": {"completion_tokens": 163, "prompt_tokens": 3435, "total_tokens": 3598, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 600, "cached_tokens": 2223, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 600, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 600, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.460421166964807, "usage": {"completion_tokens": 165, "prompt_tokens": 6247, "total_tokens": 6412, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 32, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 2812, "cached_tokens": 2823, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 2812, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 2812, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2580587919801474, "usage": {"completion_tokens": 74, "prompt_tokens": 6865, "total_tokens": 6939, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 618, "cached_tokens": 5635, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 618, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 618, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.092718750005588, "usage": {"completion_tokens": 90, "prompt_tokens": 8706, "total_tokens": 8796, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 49, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1841, "cached_tokens": 6253, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1841, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1841, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.370068166987039, "usage": {"completion_tokens": 181, "prompt_tokens": 8926, "total_tokens": 9107, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 63, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 220, "cached_tokens": 8094, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 220, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 220, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.010804874938913, "usage": {"completion_tokens": 209, "prompt_tokens": 9256, "total_tokens": 9465, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 62, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 330, "cached_tokens": 8314, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 330, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 330, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.094616291928105, "usage": {"completion_tokens": 128, "prompt_tokens": 9628, "total_tokens": 9756, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 372, "cached_tokens": 8644, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 372, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 372, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d77a62c2c8008d1e5417e9b6ee22975b6e4be0722d864cceb209bbab27bd6af6", "csv_sha256": "448a91465e292ca32f128eea7650861a2900de699e70fb7ced5965305596e114"} +{"instance_id": "local335", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH season_finales AS (\n SELECT year, MAX(round) AS final_round\n FROM races\n WHERE year >= 2001\n GROUP BY year\n), ranked_scorers AS (\n SELECT r.year, ds.driver_id,\n DENSE_RANK() OVER (PARTITION BY r.year ORDER BY ds.points) AS points_rank\n FROM season_finales AS sf\n JOIN races AS r ON r.year = sf.year AND r.round = sf.final_round\n JOIN driver_standings AS ds ON ds.race_id = r.race_id\n WHERE ds.points > 0\n), scoring_entries AS (\n SELECT race_id, driver_id, constructor_id FROM results WHERE points > 0\n UNION ALL\n SELECT race_id, driver_id, constructor_id FROM sprint_results WHERE points > 0\n)\nSELECT c.name AS constructor\nFROM ranked_scorers AS rs\nJOIN races AS r ON r.year = rs.year\nJOIN scoring_entries AS se ON se.race_id = r.race_id AND se.driver_id = rs.driver_id\nJOIN constructors AS c ON c.constructor_id = se.constructor_id\nWHERE rs.points_rank = 1\nGROUP BY c.constructor_id, c.name\nORDER BY COUNT(DISTINCT rs.year) DESC, c.name ASC, c.constructor_id ASC\nLIMIT 5;\n```", "rows": 5, "sql": "WITH season_finales AS (\n SELECT year, MAX(round) AS final_round\n FROM races\n WHERE year >= 2001\n GROUP BY year\n), ranked_scorers AS (\n SELECT r.year, ds.driver_id,\n DENSE_RANK() OVER (PARTITION BY r.year ORDER BY ds.points) AS points_rank\n FROM season_finales AS sf\n JOIN races AS r ON r.year = sf.year AND r.round = sf.final_round\n JOIN driver_standings AS ds ON ds.race_id = r.race_id\n WHERE ds.points > 0\n), scoring_entries AS (\n SELECT race_id, driver_id, constructor_id FROM results WHERE points > 0\n UNION ALL\n SELECT race_id, driver_id, constructor_id FROM sprint_results WHERE points > 0\n)\nSELECT c.name AS constructor\nFROM ranked_scorers AS rs\nJOIN races AS r ON r.year = rs.year\nJOIN scoring_entries AS se ON se.race_id = r.race_id AND se.driver_id = rs.driver_id\nJOIN constructors AS c ON c.constructor_id = se.constructor_id\nWHERE rs.points_rank = 1\nGROUP BY c.constructor_id, c.name\nORDER BY COUNT(DISTINCT rs.year) DESC, c.name ASC, c.constructor_id ASC\nLIMIT 5;", "seconds": 46.69940291706007, "calls": [{"seconds": 3.1505797910504043, "usage": {"completion_tokens": 46, "prompt_tokens": 1724, "total_tokens": 1770, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1095, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9014490420231596, "usage": {"completion_tokens": 155, "prompt_tokens": 1937, "total_tokens": 2092, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 213, "cached_tokens": 1095, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 213, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 213, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.987329417024739, "usage": {"completion_tokens": 218, "prompt_tokens": 2855, "total_tokens": 3073, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 146, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 918, "cached_tokens": 1308, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 918, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 918, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.084817666909657, "usage": {"completion_tokens": 374, "prompt_tokens": 3307, "total_tokens": 3681, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 104, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 452, "cached_tokens": 2226, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 452, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 452, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.684060040977784, "usage": {"completion_tokens": 630, "prompt_tokens": 4629, "total_tokens": 5259, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 324, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1322, "cached_tokens": 2678, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1322, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1322, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.2032459579641, "usage": {"completion_tokens": 371, "prompt_tokens": 5595, "total_tokens": 5966, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 71, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 966, "cached_tokens": 4000, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 966, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 966, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.610563416965306, "usage": {"completion_tokens": 284, "prompt_tokens": 6276, "total_tokens": 6560, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 681, "cached_tokens": 4966, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 681, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 681, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "63366cf7f8354066272468ac841f2d5ecbf61a568352b4ad84d7d2b0719bcd9f", "csv_sha256": "1300573c4d68f13b5a0bbee7ae4ab78998181e55866b93571034f3adf4628e95"} +{"instance_id": "local336", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "failed", "answer": "❓ Awaiting user: Which race should I use (year and Grand Prix, or race ID), and what time-gap cutoff should count as a typical pit-stop duration for the pit-exit rule?", "error_type": "ValueError", "seconds": 34.4319387919968, "calls": [{"seconds": 2.073223292012699, "usage": {"completion_tokens": 15, "prompt_tokens": 2181, "total_tokens": 2196, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1552, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1552, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1552, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.412137040984817, "usage": {"completion_tokens": 134, "prompt_tokens": 2335, "total_tokens": 2469, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 154, "cached_tokens": 1552, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 154, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 154, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.809611541917548, "usage": {"completion_tokens": 146, "prompt_tokens": 3057, "total_tokens": 3203, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 76, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 722, "cached_tokens": 1706, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 722, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 722, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.633070167037658, "usage": {"completion_tokens": 435, "prompt_tokens": 3441, "total_tokens": 3876, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 247, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 384, "cached_tokens": 2428, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 384, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 384, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 14.43092183303088, "usage": {"completion_tokens": 570, "prompt_tokens": 4179, "total_tokens": 4749, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 516, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 738, "cached_tokens": 2812, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 738, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 738, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "12f568fc7233b16ba02f0ef4d76d45172b300979330269e4b0dcce3849e30ed0"} +{"instance_id": "local344", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "failed", "answer": "❓ Awaiting user: What threshold should define a “typical pit stop duration” for classifying pit-exit overtakes—for example, a fixed number of seconds or the median recorded pit-stop duration for that race?", "error_type": "ValueError", "seconds": 13.493743208004162, "calls": [{"seconds": 3.339531750069, "usage": {"completion_tokens": 116, "prompt_tokens": 2212, "total_tokens": 2328, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1583, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1583, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1583, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.817998499958776, "usage": {"completion_tokens": 198, "prompt_tokens": 2725, "total_tokens": 2923, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 94, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 513, "cached_tokens": 1583, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 513, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 513, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.322934917057864, "usage": {"completion_tokens": 129, "prompt_tokens": 3250, "total_tokens": 3379, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 71, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 525, "cached_tokens": 2096, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 525, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 525, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2f0ca62ec589c86b0fed7942717c12fc7c2042dfa5ec3c33831e8676c01e415c"} +{"instance_id": "local354", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH race_entries AS (\n SELECT ra.year, ra.round, re.driver_id, re.constructor_id\n FROM results AS re\n JOIN races AS ra ON ra.race_id = re.race_id\n WHERE ra.year BETWEEN 1950 AND 1959\n), season_bounds AS (\n SELECT year, driver_id, MIN(round) AS first_round, MAX(round) AS last_round\n FROM race_entries\n GROUP BY year, driver_id\n HAVING COUNT(DISTINCT round) >= 2\n)\nSELECT d.full_name\nFROM drivers AS d\nWHERE EXISTS (\n SELECT 1\n FROM season_bounds AS sb\n JOIN race_entries AS first_entry\n ON first_entry.year = sb.year\n AND first_entry.driver_id = sb.driver_id\n AND first_entry.round = sb.first_round\n JOIN race_entries AS last_entry\n ON last_entry.year = sb.year\n AND last_entry.driver_id = sb.driver_id\n AND last_entry.round = sb.last_round\n AND last_entry.constructor_id = first_entry.constructor_id\n WHERE sb.driver_id = d.driver_id\n)\nORDER BY d.full_name;\n```", "rows": 104, "sql": "WITH race_entries AS (\n SELECT ra.year, ra.round, re.driver_id, re.constructor_id\n FROM results AS re\n JOIN races AS ra ON ra.race_id = re.race_id\n WHERE ra.year BETWEEN 1950 AND 1959\n), season_bounds AS (\n SELECT year, driver_id, MIN(round) AS first_round, MAX(round) AS last_round\n FROM race_entries\n GROUP BY year, driver_id\n HAVING COUNT(DISTINCT round) >= 2\n)\nSELECT d.full_name\nFROM drivers AS d\nWHERE EXISTS (\n SELECT 1\n FROM season_bounds AS sb\n JOIN race_entries AS first_entry\n ON first_entry.year = sb.year\n AND first_entry.driver_id = sb.driver_id\n AND first_entry.round = sb.first_round\n JOIN race_entries AS last_entry\n ON last_entry.year = sb.year\n AND last_entry.driver_id = sb.driver_id\n AND last_entry.round = sb.last_round\n AND last_entry.constructor_id = first_entry.constructor_id\n WHERE sb.driver_id = d.driver_id\n)\nORDER BY d.full_name;", "seconds": 75.13921329099685, "calls": [{"seconds": 3.634347583982162, "usage": {"completion_tokens": 112, "prompt_tokens": 1730, "total_tokens": 1842, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1101, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1101, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1101, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.375322250067256, "usage": {"completion_tokens": 186, "prompt_tokens": 2403, "total_tokens": 2589, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 117, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 673, "cached_tokens": 1101, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 673, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 673, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.245743416016921, "usage": {"completion_tokens": 270, "prompt_tokens": 2722, "total_tokens": 2992, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 151, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 319, "cached_tokens": 1774, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 319, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 319, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.836701374966651, "usage": {"completion_tokens": 246, "prompt_tokens": 3450, "total_tokens": 3696, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 83, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 728, "cached_tokens": 2093, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 728, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 728, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.552542124991305, "usage": {"completion_tokens": 71, "prompt_tokens": 3929, "total_tokens": 4000, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 48, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 479, "cached_tokens": 2821, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 479, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 479, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.429097541957162, "usage": {"completion_tokens": 407, "prompt_tokens": 4052, "total_tokens": 4459, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 83, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 123, "cached_tokens": 3300, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 123, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 123, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.074637375073507, "usage": {"completion_tokens": 640, "prompt_tokens": 4823, "total_tokens": 5463, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 261, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 771, "cached_tokens": 3423, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 771, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 771, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.518045250093564, "usage": {"completion_tokens": 177, "prompt_tokens": 5851, "total_tokens": 6028, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 69, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1028, "cached_tokens": 4194, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1028, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1028, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 15.030880708945915, "usage": {"completion_tokens": 751, "prompt_tokens": 6234, "total_tokens": 6985, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 488, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 383, "cached_tokens": 5222, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 383, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 383, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.299419749993831, "usage": {"completion_tokens": 258, "prompt_tokens": 7488, "total_tokens": 7746, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 9, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1254, "cached_tokens": 5605, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1254, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1254, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "4f9771c52adb8534449c6901fe46dd80aed6c8e27f56153d796566c72269efc5", "csv_sha256": "c366a8a399eb9ae22bf2d2b8a62360d38b679dd852ba5fed395ff59e646620e5"} +{"instance_id": "local355", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH race_calendar AS (\n SELECT r.race_id, r.year, r.round,\n LAG(r.race_id) OVER (PARTITION BY r.year ORDER BY r.round) AS previous_race_id,\n LEAD(r.race_id) OVER (PARTITION BY r.year ORDER BY r.round) AS next_race_id\n FROM races AS r\n WHERE EXISTS (\n SELECT 1 FROM results AS x WHERE x.race_id = r.race_id\n )\n), driver_years AS (\n SELECT DISTINCT c.year, x.driver_id\n FROM race_calendar AS c\n JOIN results AS x ON x.race_id = c.race_id\n), missed_races AS (\n SELECT d.year, d.driver_id,\n MIN(c.round) AS first_missed_round,\n MAX(c.round) AS last_missed_round\n FROM driver_years AS d\n JOIN race_calendar AS c ON c.year = d.year\n LEFT JOIN results AS x ON x.race_id = c.race_id AND x.driver_id = d.driver_id\n WHERE x.driver_id IS NULL\n GROUP BY d.year, d.driver_id\n HAVING COUNT(*) BETWEEN 1 AND 2\n)\nSELECT AVG(m.first_missed_round) AS avg_first_missed_round,\n AVG(m.last_missed_round) AS avg_last_missed_round\nFROM missed_races AS m\nJOIN race_calendar AS first_missed\n ON first_missed.year = m.year AND first_missed.round = m.first_missed_round\nJOIN race_calendar AS last_missed\n ON last_missed.year = m.year AND last_missed.round = m.last_missed_round\nWHERE EXISTS (\n SELECT 1\n FROM results AS before_gap\n JOIN results AS after_gap ON after_gap.driver_id = before_gap.driver_id\n WHERE before_gap.driver_id = m.driver_id\n AND before_gap.race_id = first_missed.previous_race_id\n AND after_gap.race_id = last_missed.next_race_id\n AND before_gap.constructor_id <> after_gap.constructor_id\n);\n```", "rows": 1, "sql": "WITH race_calendar AS (\n SELECT r.race_id, r.year, r.round,\n LAG(r.race_id) OVER (PARTITION BY r.year ORDER BY r.round) AS previous_race_id,\n LEAD(r.race_id) OVER (PARTITION BY r.year ORDER BY r.round) AS next_race_id\n FROM races AS r\n WHERE EXISTS (\n SELECT 1 FROM results AS x WHERE x.race_id = r.race_id\n )\n), driver_years AS (\n SELECT DISTINCT c.year, x.driver_id\n FROM race_calendar AS c\n JOIN results AS x ON x.race_id = c.race_id\n), missed_races AS (\n SELECT d.year, d.driver_id,\n MIN(c.round) AS first_missed_round,\n MAX(c.round) AS last_missed_round\n FROM driver_years AS d\n JOIN race_calendar AS c ON c.year = d.year\n LEFT JOIN results AS x ON x.race_id = c.race_id AND x.driver_id = d.driver_id\n WHERE x.driver_id IS NULL\n GROUP BY d.year, d.driver_id\n HAVING COUNT(*) BETWEEN 1 AND 2\n)\nSELECT AVG(m.first_missed_round) AS avg_first_missed_round,\n AVG(m.last_missed_round) AS avg_last_missed_round\nFROM missed_races AS m\nJOIN race_calendar AS first_missed\n ON first_missed.year = m.year AND first_missed.round = m.first_missed_round\nJOIN race_calendar AS last_missed\n ON last_missed.year = m.year AND last_missed.round = m.last_missed_round\nWHERE EXISTS (\n SELECT 1\n FROM results AS before_gap\n JOIN results AS after_gap ON after_gap.driver_id = before_gap.driver_id\n WHERE before_gap.driver_id = m.driver_id\n AND before_gap.race_id = first_missed.previous_race_id\n AND after_gap.race_id = last_missed.next_race_id\n AND before_gap.constructor_id <> after_gap.constructor_id\n);", "seconds": 68.90856866701506, "calls": [{"seconds": 2.0819134999765083, "usage": {"completion_tokens": 15, "prompt_tokens": 1778, "total_tokens": 1793, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1149, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1149, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1149, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5088872920023277, "usage": {"completion_tokens": 99, "prompt_tokens": 1932, "total_tokens": 2031, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 154, "cached_tokens": 1149, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 154, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 154, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.493154041003436, "usage": {"completion_tokens": 490, "prompt_tokens": 2593, "total_tokens": 3083, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 217, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 661, "cached_tokens": 1303, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 661, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 661, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 13.410663709044456, "usage": {"completion_tokens": 826, "prompt_tokens": 3396, "total_tokens": 4222, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 287, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 803, "cached_tokens": 1964, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 803, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 803, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.106783624971285, "usage": {"completion_tokens": 697, "prompt_tokens": 4787, "total_tokens": 5484, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 187, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1391, "cached_tokens": 2767, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1391, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1391, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 18.680676084011793, "usage": {"completion_tokens": 1052, "prompt_tokens": 7541, "total_tokens": 8593, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 583, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 2754, "cached_tokens": 4158, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 2754, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 2754, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.193578500067815, "usage": {"completion_tokens": 445, "prompt_tokens": 9083, "total_tokens": 9528, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1542, "cached_tokens": 6912, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1542, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1542, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e843f3f5404cf6ab9b249525731597089456458e32647957e5835c477adcf0d0", "csv_sha256": "1ef26a13a2eb600783cd12c877ea355a3989a3a9a40e27cdcbec5574a855b18d"} +{"instance_id": "local356", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH excluded_laps AS MATERIALIZED (\n SELECT race_id, driver_id, lap FROM pit_stops\n UNION\n SELECT race_id, driver_id, lap + 1 FROM pit_stops\n UNION\n SELECT race_id, driver_id, lap FROM retirements\n), relative_positions AS (\n SELECT curr.driver_id,\n ROW_NUMBER() OVER (\n PARTITION BY curr.race_id, curr.lap ORDER BY prev.position\n ) AS previous_rank,\n ROW_NUMBER() OVER (\n PARTITION BY curr.race_id, curr.lap ORDER BY curr.position\n ) AS current_rank\n FROM lap_times AS curr\n JOIN lap_times AS prev\n ON prev.race_id = curr.race_id\n AND prev.driver_id = curr.driver_id\n AND prev.lap = curr.lap - 1\n LEFT JOIN excluded_laps AS x\n ON x.race_id = curr.race_id\n AND x.driver_id = curr.driver_id\n AND x.lap = curr.lap\n WHERE curr.lap > 1\n AND x.race_id IS NULL\n), net_losses AS (\n SELECT driver_id\n FROM relative_positions\n GROUP BY driver_id\n HAVING SUM(current_rank - previous_rank) > 0\n)\nSELECT d.full_name\nFROM net_losses AS n\nJOIN drivers AS d ON d.driver_id = n.driver_id\nORDER BY d.full_name;\n```", "rows": 76, "sql": "WITH excluded_laps AS MATERIALIZED (\n SELECT race_id, driver_id, lap FROM pit_stops\n UNION\n SELECT race_id, driver_id, lap + 1 FROM pit_stops\n UNION\n SELECT race_id, driver_id, lap FROM retirements\n), relative_positions AS (\n SELECT curr.driver_id,\n ROW_NUMBER() OVER (\n PARTITION BY curr.race_id, curr.lap ORDER BY prev.position\n ) AS previous_rank,\n ROW_NUMBER() OVER (\n PARTITION BY curr.race_id, curr.lap ORDER BY curr.position\n ) AS current_rank\n FROM lap_times AS curr\n JOIN lap_times AS prev\n ON prev.race_id = curr.race_id\n AND prev.driver_id = curr.driver_id\n AND prev.lap = curr.lap - 1\n LEFT JOIN excluded_laps AS x\n ON x.race_id = curr.race_id\n AND x.driver_id = curr.driver_id\n AND x.lap = curr.lap\n WHERE curr.lap > 1\n AND x.race_id IS NULL\n), net_losses AS (\n SELECT driver_id\n FROM relative_positions\n GROUP BY driver_id\n HAVING SUM(current_rank - previous_rank) > 0\n)\nSELECT d.full_name\nFROM net_losses AS n\nJOIN drivers AS d ON d.driver_id = n.driver_id\nORDER BY d.full_name;", "seconds": 109.31566112488508, "calls": [{"seconds": 3.2208092919318005, "usage": {"completion_tokens": 111, "prompt_tokens": 1741, "total_tokens": 1852, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1112, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1112, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1112, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.084322041948326, "usage": {"completion_tokens": 99, "prompt_tokens": 2275, "total_tokens": 2374, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 534, "cached_tokens": 1112, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 534, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 534, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.307264665956609, "usage": {"completion_tokens": 96, "prompt_tokens": 2832, "total_tokens": 2928, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 557, "cached_tokens": 1646, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 557, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 557, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.769682125071995, "usage": {"completion_tokens": 385, "prompt_tokens": 3311, "total_tokens": 3696, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 106, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 479, "cached_tokens": 2203, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 479, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 479, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.669046750059351, "usage": {"completion_tokens": 421, "prompt_tokens": 5148, "total_tokens": 5569, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 68, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1837, "cached_tokens": 2682, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1837, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1837, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 13.728614707943052, "usage": {"completion_tokens": 646, "prompt_tokens": 6255, "total_tokens": 6901, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 446, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1107, "cached_tokens": 4519, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1107, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1107, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 19.363400125061162, "usage": {"completion_tokens": 1012, "prompt_tokens": 7362, "total_tokens": 8374, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 606, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1107, "cached_tokens": 5626, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1107, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1107, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.164754708996043, "usage": {"completion_tokens": 508, "prompt_tokens": 8805, "total_tokens": 9313, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 180, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1443, "cached_tokens": 6733, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1443, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1443, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.5048284999793395, "usage": {"completion_tokens": 341, "prompt_tokens": 9895, "total_tokens": 10236, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 30, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1090, "cached_tokens": 8176, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1090, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1090, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "977b9d90a4de9b29aa7c4899e504e8dc6fa5988d9c7356fe4fc783aaafd1615b", "csv_sha256": "f2149de421380ac7f34fe6e88c85f198ee31337dac11162c3575d6e9a8aec38f"} +{"instance_id": "local358", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH age_categories(age_category, sort_order) AS (\n VALUES ('20s', 1), ('30s', 2), ('40s', 3), ('50s', 4), ('others', 5)\n), ages AS (\n SELECT user_id,\n CAST(strftime('%Y', 'now') AS INTEGER)\n - CAST(strftime('%Y', birth_date) AS INTEGER)\n - (strftime('%m-%d', 'now') < strftime('%m-%d', birth_date)) AS age\n FROM mst_users\n), categorized_users AS (\n SELECT user_id,\n CASE\n WHEN age BETWEEN 20 AND 29 THEN '20s'\n WHEN age BETWEEN 30 AND 39 THEN '30s'\n WHEN age BETWEEN 40 AND 49 THEN '40s'\n WHEN age BETWEEN 50 AND 59 THEN '50s'\n ELSE 'others'\n END AS age_category\n FROM ages\n)\nSELECT c.age_category, COUNT(DISTINCT u.user_id) AS user_count\nFROM age_categories AS c\nLEFT JOIN categorized_users AS u ON u.age_category = c.age_category\nGROUP BY c.age_category, c.sort_order\nORDER BY c.sort_order;\n```", "rows": 5, "sql": "WITH age_categories(age_category, sort_order) AS (\n VALUES ('20s', 1), ('30s', 2), ('40s', 3), ('50s', 4), ('others', 5)\n), ages AS (\n SELECT user_id,\n CAST(strftime('%Y', 'now') AS INTEGER)\n - CAST(strftime('%Y', birth_date) AS INTEGER)\n - (strftime('%m-%d', 'now') < strftime('%m-%d', birth_date)) AS age\n FROM mst_users\n), categorized_users AS (\n SELECT user_id,\n CASE\n WHEN age BETWEEN 20 AND 29 THEN '20s'\n WHEN age BETWEEN 30 AND 39 THEN '30s'\n WHEN age BETWEEN 40 AND 49 THEN '40s'\n WHEN age BETWEEN 50 AND 59 THEN '50s'\n ELSE 'others'\n END AS age_category\n FROM ages\n)\nSELECT c.age_category, COUNT(DISTINCT u.user_id) AS user_count\nFROM age_categories AS c\nLEFT JOIN categorized_users AS u ON u.age_category = c.age_category\nGROUP BY c.age_category, c.sort_order\nORDER BY c.sort_order;", "seconds": 36.27871137508191, "calls": [{"seconds": 2.649907583021559, "usage": {"completion_tokens": 20, "prompt_tokens": 1688, "total_tokens": 1708, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1076, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1076, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1076, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.3980768339242786, "usage": {"completion_tokens": 18, "prompt_tokens": 1772, "total_tokens": 1790, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 84, "cached_tokens": 1076, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 84, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 84, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.659422624972649, "usage": {"completion_tokens": 87, "prompt_tokens": 1820, "total_tokens": 1907, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 53, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1160, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.514028124976903, "usage": {"completion_tokens": 358, "prompt_tokens": 2143, "total_tokens": 2501, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 285, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 323, "cached_tokens": 1208, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 323, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 323, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.2571655419887975, "usage": {"completion_tokens": 179, "prompt_tokens": 2643, "total_tokens": 2822, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 82, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 500, "cached_tokens": 1531, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 500, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 500, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.123026542016305, "usage": {"completion_tokens": 336, "prompt_tokens": 2954, "total_tokens": 3290, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 50, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 311, "cached_tokens": 2031, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 311, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 311, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.652467417065054, "usage": {"completion_tokens": 279, "prompt_tokens": 3602, "total_tokens": 3881, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 16, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 648, "cached_tokens": 2342, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 648, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 648, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e94fa2ccfef8778e0d47b54bc2e1f17b2380d166a370ebbd3944e5c191eeb03a", "csv_sha256": "608eae44d270592f0ef4150740e4daa3bff635aa65ddc1a959923b5fac85a9a3"} +{"instance_id": "local360", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH first_target AS (\n SELECT session, MIN(stamp) AS first_stamp\n FROM activity_log\n WHERE path IN ('/detail', '/complete')\n GROUP BY session\n), pre_target_counts AS (\n SELECT f.session, f.first_stamp, COUNT(e.stamp) AS event_count\n FROM first_target AS f\n LEFT JOIN activity_log AS e\n ON e.session = f.session\n AND e.stamp < f.first_stamp\n AND e.search_type <> ''\n GROUP BY f.session, f.first_stamp\n)\nSELECT DISTINCT c.session, t.path, t.search_type\nFROM pre_target_counts AS c\nJOIN activity_log AS t\n ON t.session = c.session\n AND t.stamp = c.first_stamp\n AND t.path IN ('/detail', '/complete')\nWHERE c.event_count = (SELECT MIN(event_count) FROM pre_target_counts)\nORDER BY c.session, t.path, t.search_type;\n```", "rows": 9, "sql": "WITH first_target AS (\n SELECT session, MIN(stamp) AS first_stamp\n FROM activity_log\n WHERE path IN ('/detail', '/complete')\n GROUP BY session\n), pre_target_counts AS (\n SELECT f.session, f.first_stamp, COUNT(e.stamp) AS event_count\n FROM first_target AS f\n LEFT JOIN activity_log AS e\n ON e.session = f.session\n AND e.stamp < f.first_stamp\n AND e.search_type <> ''\n GROUP BY f.session, f.first_stamp\n)\nSELECT DISTINCT c.session, t.path, t.search_type\nFROM pre_target_counts AS c\nJOIN activity_log AS t\n ON t.session = c.session\n AND t.stamp = c.first_stamp\n AND t.path IN ('/detail', '/complete')\nWHERE c.event_count = (SELECT MIN(event_count) FROM pre_target_counts)\nORDER BY c.session, t.path, t.search_type;", "seconds": 28.33446649997495, "calls": [{"seconds": 2.31852191593498, "usage": {"completion_tokens": 20, "prompt_tokens": 1746, "total_tokens": 1766, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1134, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1134, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1134, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8194211249938235, "usage": {"completion_tokens": 131, "prompt_tokens": 1826, "total_tokens": 1957, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 87, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 80, "cached_tokens": 1134, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 80, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 80, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1339995419839397, "usage": {"completion_tokens": 77, "prompt_tokens": 2742, "total_tokens": 2819, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 916, "cached_tokens": 1214, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 916, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 916, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.756270083016716, "usage": {"completion_tokens": 267, "prompt_tokens": 2985, "total_tokens": 3252, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 107, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 243, "cached_tokens": 2130, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 243, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 243, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.076540291076526, "usage": {"completion_tokens": 423, "prompt_tokens": 3753, "total_tokens": 4176, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 199, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 768, "cached_tokens": 2373, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 768, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 768, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.2093234590720385, "usage": {"completion_tokens": 204, "prompt_tokens": 4494, "total_tokens": 4698, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 741, "cached_tokens": 3141, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 741, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 741, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e8bea8201836123d6fb62274e8d8befcb7887d1a33cab20872e97bad1c10ddfc", "csv_sha256": "dd1946325cc55802902045851cef1ab0bb05588b0141b25dc993146f6d1b1a4f"} diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/scores.json b/bench/accuracy/results/spider-all-final/gpt62-sol/scores.json new file mode 100644 index 00000000..d59fbf51 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/scores.json @@ -0,0 +1,800 @@ +[ + { + "instance_id": "local064", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local073", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local003", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local004", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local021", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local163", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local310", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local041", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local062", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local081", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local202", + "score": 0, + "error_info": "ValueError" + }, + { + "instance_id": "local096", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local279", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local264", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local024", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local218", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local072", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local194", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local029", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local335", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local020", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local169", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local302", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local212", + "score": 0, + "error_info": "ValueError" + }, + { + "instance_id": "local075", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local038", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local286", + "score": 0, + "error_info": "ValueError" + }, + { + "instance_id": "local277", + "score": 0, + "error_info": "ValueError" + }, + { + "instance_id": "local009", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local168", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local058", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local017", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local008", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local244", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local063", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local259", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local019", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local002", + "score": 0, + "error_info": "ValueError" + }, + { + "instance_id": "local220", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local336", + "score": 0, + "error_info": "ValueError" + }, + { + "instance_id": "local077", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local100", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local210", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local269", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local285", + "score": 0, + "error_info": "ValueError" + }, + { + "instance_id": "local219", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local360", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local331", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local193", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local132", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local099", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local130", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local066", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local030", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local209", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local067", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local050", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local022", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local171", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local131", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local152", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local356", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local097", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local031", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local128", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local061", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local037", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local157", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local253", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local054", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local274", + "score": 0, + "error_info": "ValueError" + }, + { + "instance_id": "local263", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local015", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local195", + "score": 0, + "error_info": "ValueError" + }, + { + "instance_id": "local201", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local270", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local354", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local355", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local272", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local170", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local059", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local026", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local065", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local141", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local070", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local023", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local221", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local301", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local018", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local298", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local028", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local196", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local230", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local300", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local198", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local299", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local032", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local068", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local034", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local197", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local228", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local060", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local358", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local283", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local035", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local071", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local039", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local167", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local133", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local297", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local309", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local098", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local329", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local040", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local056", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local074", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local156", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local258", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local199", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local273", + "score": 0, + "error_info": "ValueError" + }, + { + "instance_id": "local078", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local330", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local007", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local229", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local085", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local049", + "score": 0, + "error_info": "ValueError" + }, + { + "instance_id": "local275", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local262", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local284", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local010", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local055", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local344", + "score": 0, + "error_info": "ValueError" + }, + { + "instance_id": "local311", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local114", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local025", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + } +] \ No newline at end of file diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local003.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local003.sql new file mode 100644 index 00000000..eaf5603a --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local003.sql @@ -0,0 +1,82 @@ +WITH delivered_orders AS ( + SELECT o.order_id, c.customer_unique_id, o.order_purchase_timestamp + FROM orders AS o + JOIN customers AS c ON c.customer_id = o.customer_id + WHERE o.order_status = 'delivered' +), +order_spend AS ( + -- Sum all recorded payments for an order before counting orders. + SELECT p.order_id, + CASE WHEN COUNT(p.payment_value) = COUNT(*) + THEN SUM(p.payment_value) END AS spend + FROM order_payments AS p + JOIN delivered_orders AS d ON d.order_id = p.order_id + GROUP BY p.order_id +), +customer_totals AS ( + SELECT d.customer_unique_id, + MAX(d.order_purchase_timestamp) AS latest_purchase_timestamp, + COUNT(*) AS order_count, + -- Keep every delivered order; spend is unknown if any order lacks payment data. + CASE WHEN COUNT(p.spend) = COUNT(*) + THEN ROUND(SUM(p.spend), 2) END AS total_spend + FROM delivered_orders AS d + LEFT JOIN order_spend AS p ON p.order_id = d.order_id + GROUP BY d.customer_unique_id +), +customer_rfm AS ( + -- Recency is elapsed days from the customer's latest delivered-order purchase + -- to the latest delivered-order purchase in the full dataset. + SELECT *, + JULIANDAY(MAX(latest_purchase_timestamp) OVER ()) + - JULIANDAY(latest_purchase_timestamp) AS recency_days + FROM customer_totals +), +percentiles AS ( + -- Rank best to worst. CUME_DIST keeps equal values in the same percentile band. + SELECT *, + CUME_DIST() OVER (ORDER BY recency_days) AS r_pct, + CUME_DIST() OVER (ORDER BY order_count DESC) AS f_pct, + CUME_DIST() OVER ( + PARTITION BY total_spend IS NULL ORDER BY total_spend DESC + ) AS m_pct + FROM customer_rfm +), +scores AS ( + -- Scores 1–5 use the 20%, 40%, 60%, and 80% cumulative percentile cutoffs. + SELECT customer_unique_id, order_count, total_spend, + 1 + (r_pct > 0.2) + (r_pct > 0.4) + (r_pct > 0.6) + (r_pct > 0.8) AS r, + 1 + (f_pct > 0.2) + (f_pct > 0.4) + (f_pct > 0.6) + (f_pct > 0.8) + + CASE WHEN total_spend IS NOT NULL THEN + 1 + (m_pct > 0.2) + (m_pct > 0.4) + (m_pct > 0.6) + (m_pct > 0.8) + END AS fm + FROM percentiles +), +segmented AS ( + SELECT customer_unique_id, order_count, total_spend, + CASE + WHEN r = 1 AND fm BETWEEN 1 AND 4 THEN 'Champions' + WHEN r IN (4, 5) AND fm BETWEEN 1 AND 2 THEN 'Can''t Lose Them' + WHEN r IN (4, 5) AND fm BETWEEN 3 AND 6 THEN 'Hibernating' + WHEN r IN (4, 5) AND fm BETWEEN 7 AND 10 THEN 'Lost' + WHEN r IN (2, 3) AND fm BETWEEN 1 AND 4 THEN 'Loyal Customers' + WHEN r = 3 AND fm BETWEEN 5 AND 6 THEN 'Needs Attention' + WHEN r = 1 AND fm BETWEEN 7 AND 8 THEN 'Recent Users' + WHEN (r = 1 AND fm BETWEEN 5 AND 6) + OR (r = 2 AND fm BETWEEN 5 AND 8) THEN 'Potential Loyalists' + WHEN r = 1 AND fm BETWEEN 9 AND 10 THEN 'Price Sensitive' + WHEN r = 2 AND fm BETWEEN 9 AND 10 THEN 'Promising' + WHEN r = 3 AND fm BETWEEN 7 AND 10 THEN 'About to Sleep' + ELSE 'Unclassified (missing spend)' + END AS rfm_segment + FROM scores +) +SELECT customer_unique_id, + rfm_segment, + ROUND(total_spend / order_count, 2) AS avg_sales_per_order, + -- Compare segments by pooled spend / pooled orders, not by averaging customer ratios. + ROUND(SUM(total_spend) OVER segment / SUM(order_count) OVER segment, 2) + AS segment_avg_sales_per_order +FROM segmented +WINDOW segment AS (PARTITION BY rfm_segment) +ORDER BY segment_avg_sales_per_order DESC, rfm_segment, customer_unique_id; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local004.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local004.sql new file mode 100644 index 00000000..d84c96b6 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local004.sql @@ -0,0 +1,18 @@ +WITH payments_by_order AS ( + SELECT order_id, SUM(payment_value) AS order_payment + FROM order_payments + GROUP BY order_id +) +SELECT + COUNT(*) AS number_of_orders, + AVG(p.order_payment) AS average_payment_per_order, + MAX(1.0, ( + JULIANDAY(MAX(DATE(o.order_purchase_timestamp))) + - JULIANDAY(MIN(DATE(o.order_purchase_timestamp))) + ) / 7.0) AS customer_lifespan_weeks +FROM orders AS o +JOIN customers AS c ON c.customer_id = o.customer_id +LEFT JOIN payments_by_order AS p ON p.order_id = o.order_id +GROUP BY c.customer_unique_id +ORDER BY average_payment_per_order DESC, c.customer_unique_id +LIMIT 3; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local007.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local007.sql new file mode 100644 index 00000000..f7653c0e --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local007.sql @@ -0,0 +1,8 @@ +WITH career_spans AS ( + SELECT ROUND(ABS(CAST(strftime('%Y', final_game) AS INTEGER) - CAST(strftime('%Y', debut) AS INTEGER)), 2) + + ROUND(ABS(CAST(strftime('%m', final_game) AS INTEGER) - CAST(strftime('%m', debut) AS INTEGER)) / 12.0, 2) + + ROUND(ABS(CAST(strftime('%d', final_game) AS INTEGER) - CAST(strftime('%d', debut) AS INTEGER)) / 365.0, 2) AS career_span_years + FROM player +) +SELECT ROUND(AVG(career_span_years), 2) AS average_career_span_years +FROM career_spans; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local008.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local008.sql new file mode 100644 index 00000000..c078f257 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local008.sql @@ -0,0 +1,28 @@ +WITH maxima AS ( + SELECT MAX(g) AS max_g, + MAX(NULLIF(r, '')) AS max_r, + MAX(NULLIF(h, '')) AS max_h, + MAX(NULLIF(hr, '')) AS max_hr + FROM batting +), leaders AS ( + SELECT 'games played' AS statistic, b.player_id, b.g AS score + FROM batting AS b JOIN maxima AS m ON b.g = m.max_g + UNION + SELECT 'runs', b.player_id, b.r + FROM batting AS b JOIN maxima AS m ON b.r = m.max_r + UNION + SELECT 'hits', b.player_id, b.h + FROM batting AS b JOIN maxima AS m ON b.h = m.max_h + UNION + SELECT 'home runs', b.player_id, b.hr + FROM batting AS b JOIN maxima AS m ON b.hr = m.max_hr +) +SELECT p.name_given, l.statistic, l.score +FROM leaders AS l +JOIN player AS p ON p.player_id = l.player_id +ORDER BY CASE l.statistic + WHEN 'games played' THEN 1 + WHEN 'runs' THEN 2 + WHEN 'hits' THEN 3 + WHEN 'home runs' THEN 4 +END, p.name_given; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local009.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local009.sql new file mode 100644 index 00000000..7666635b --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local009.sql @@ -0,0 +1,30 @@ +WITH airport_points AS ( + SELECT airport_code, + json_extract(city, '$.en') AS city_name, + trim(coordinates, '()') AS point + FROM airports_data +), airports AS ( + SELECT airport_code, + city_name, + radians(CAST(substr(point, 1, instr(point, ',') - 1) AS REAL)) AS lon, + radians(CAST(substr(point, instr(point, ',') + 1) AS REAL)) AS lat + FROM airport_points +), flight_distances AS ( + SELECT min(dep.city_name, arr.city_name) AS city1, + max(dep.city_name, arr.city_name) AS city2, + 2 * 6371 * asin(sqrt(min(1.0, + pow(sin((arr.lat - dep.lat) / 2), 2) + + cos(dep.lat) * cos(arr.lat) + * pow(sin((arr.lon - dep.lon) / 2), 2) + ))) AS distance_km + FROM flights AS f + JOIN airports AS dep ON dep.airport_code = f.departure_airport + JOIN airports AS arr ON arr.airport_code = f.arrival_airport + WHERE dep.city_name = 'Abakan' OR arr.city_name = 'Abakan' +), route_distances AS ( + SELECT AVG(distance_km) AS avg_distance_km + FROM flight_distances + GROUP BY city1, city2 +) +SELECT MAX(avg_distance_km) AS longest_route_distance_km +FROM route_distances; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local010.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local010.sql new file mode 100644 index 00000000..bbbf3884 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local010.sql @@ -0,0 +1,32 @@ +WITH airport_coords AS ( + SELECT airport_code, + json_extract(city, '$.en') AS city_name, + radians(CAST(substr(coordinates, 2, instr(coordinates, ',') - 2) AS REAL)) AS lon, + radians(CAST(substr(coordinates, instr(coordinates, ',') + 1, + length(coordinates) - instr(coordinates, ',') - 1) AS REAL)) AS lat + FROM airports_data +), flight_haversines AS ( + SELECT min(d.city_name, a.city_name) AS city1, + max(d.city_name, a.city_name) AS city2, + pow(sin((a.lat - d.lat) / 2.0), 2) + + cos(d.lat) * cos(a.lat) * pow(sin((a.lon - d.lon) / 2.0), 2) AS h + FROM flights AS f + JOIN airport_coords AS d ON d.airport_code = f.departure_airport + JOIN airport_coords AS a ON a.airport_code = f.arrival_airport +), city_pair_distances AS ( + SELECT AVG(2.0 * 6371 * asin(sqrt(min(1.0, h)))) AS avg_km + FROM flight_haversines + GROUP BY city1, city2 +), distance_ranges(lower_km, upper_km) AS ( + VALUES (0, 1000), (1000, 2000), (2000, 3000), (3000, 4000), + (4000, 5000), (5000, 6000), (6000, NULL) +), range_counts AS ( + SELECT COUNT(p.avg_km) AS pair_count + FROM distance_ranges AS r + LEFT JOIN city_pair_distances AS p + ON p.avg_km >= r.lower_km + AND (p.avg_km < r.upper_km OR r.upper_km IS NULL) + GROUP BY r.lower_km +) +SELECT MIN(pair_count) AS fewest_unique_city_pairs +FROM range_counts; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local015.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local015.sql new file mode 100644 index 00000000..992a6cba --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local015.sql @@ -0,0 +1,24 @@ +WITH helmet_by_collision AS ( + SELECT + case_id, + MAX(CASE WHEN party_safety_equipment_1 IN ( + 'driver, motorcycle helmet used', 'passenger, motorcycle helmet used' + ) OR party_safety_equipment_2 IN ( + 'driver, motorcycle helmet used', 'passenger, motorcycle helmet used' + ) THEN 1 ELSE 0 END) AS helmet_used, + MAX(CASE WHEN party_safety_equipment_1 IN ( + 'driver, motorcycle helmet not used', 'passenger, motorcycle helmet not used' + ) OR party_safety_equipment_2 IN ( + 'driver, motorcycle helmet not used', 'passenger, motorcycle helmet not used' + ) THEN 1 ELSE 0 END) AS helmet_not_used + FROM parties + GROUP BY case_id +) +SELECT + 100.0 * SUM(CASE WHEN h.helmet_used = 1 THEN c.motorcyclist_killed_count END) + / NULLIF(COUNT(CASE WHEN h.helmet_used = 1 THEN 1 END), 0) AS helmet_used_fatality_pct, + 100.0 * SUM(CASE WHEN h.helmet_not_used = 1 THEN c.motorcyclist_killed_count END) + / NULLIF(COUNT(CASE WHEN h.helmet_not_used = 1 THEN 1 END), 0) AS helmet_not_used_fatality_pct +FROM collisions AS c +JOIN helmet_by_collision AS h ON h.case_id = c.case_id +WHERE c.motorcycle_collision = 1; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local017.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local017.sql new file mode 100644 index 00000000..980f2c29 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local017.sql @@ -0,0 +1,28 @@ +WITH cause_counts AS ( + SELECT CAST(strftime('%Y', collision_date) AS INTEGER) AS year, + pcf_violation_category AS cause, + COUNT(*) AS accident_count + FROM collisions + WHERE strftime('%Y', collision_date) IS NOT NULL + AND pcf_violation_category IS NOT NULL + GROUP BY year, cause +), ranked_causes AS ( + SELECT year, cause, + ROW_NUMBER() OVER ( + PARTITION BY year ORDER BY accident_count DESC, cause + ) AS cause_rank + FROM cause_counts +), yearly_pairs AS ( + SELECT year, MIN(cause) AS cause_a, MAX(cause) AS cause_b + FROM ranked_causes + WHERE cause_rank <= 2 + GROUP BY year + HAVING COUNT(*) = 2 +), pair_frequency AS ( + SELECT year, + COUNT(*) OVER (PARTITION BY cause_a, cause_b) AS years_with_pair + FROM yearly_pairs +) +SELECT year +FROM pair_frequency +WHERE years_with_pair = 1; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local018.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local018.sql new file mode 100644 index 00000000..1816a940 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local018.sql @@ -0,0 +1,21 @@ +WITH category_counts AS ( + SELECT pcf_violation_category, + COUNT(*) FILTER (WHERE collision_date >= '2011-01-01' AND collision_date < '2012-01-01') AS incidents_2011, + COUNT(*) FILTER (WHERE collision_date >= '2021-01-01' AND collision_date < '2022-01-01') AS incidents_2021 + FROM collisions + WHERE (collision_date >= '2011-01-01' AND collision_date < '2012-01-01') + OR (collision_date >= '2021-01-01' AND collision_date < '2022-01-01') + GROUP BY pcf_violation_category +), annual_totals AS ( + SELECT *, + SUM(incidents_2011) OVER () AS total_2011, + SUM(incidents_2021) OVER () AS total_2021 + FROM category_counts +) +SELECT 100.0 * incidents_2011 / NULLIF(total_2011, 0) + - 100.0 * incidents_2021 / NULLIF(total_2021, 0) AS percentage_point_decrease +FROM annual_totals +WHERE pcf_violation_category IS NOT NULL + AND incidents_2021 > 0 +ORDER BY incidents_2021 DESC, pcf_violation_category +LIMIT 1; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local019.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local019.sql new file mode 100644 index 00000000..db47f32e --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local019.sql @@ -0,0 +1,12 @@ +SELECT winner.name AS winner_name, loser.name AS loser_name +FROM Matches AS m +JOIN Belts AS b ON b.id = m.title_id +JOIN Wrestlers AS winner ON winner.id = m.winner_id +JOIN Wrestlers AS loser ON loser.id = m.loser_id +WHERE b.name LIKE '%NXT%' + AND m.title_change = 0 + AND instr(m.duration, ':') > 0 +ORDER BY 60 * CAST(substr(m.duration, 1, instr(m.duration, ':') - 1) AS INTEGER) + + CAST(substr(m.duration, instr(m.duration, ':') + 1) AS INTEGER), + m.id +LIMIT 1; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local020.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local020.sql new file mode 100644 index 00000000..b06d25aa --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local020.sql @@ -0,0 +1,25 @@ +WITH bowler_totals AS ( + SELECT + b.bowler AS player_id, + SUM(COALESCE(s.runs_scored, 0) + + CASE WHEN e.extra_type IN ('wides', 'noballs') + THEN COALESCE(e.extra_runs, 0) ELSE 0 END) AS runs_conceded, + SUM(CASE WHEN w.kind_out IN ('bowled', 'caught', 'caught and bowled', + 'hit wicket', 'lbw', 'stumped') + THEN 1 ELSE 0 END) AS wickets + FROM ball_by_ball AS b + LEFT JOIN batsman_scored AS s USING (match_id, over_id, ball_id, innings_no) + LEFT JOIN extra_runs AS e USING (match_id, over_id, ball_id, innings_no) + LEFT JOIN wicket_taken AS w USING (match_id, over_id, ball_id, innings_no) + GROUP BY b.bowler +), ranked_bowlers AS ( + SELECT p.player_name, + RANK() OVER (ORDER BY 1.0 * t.runs_conceded / t.wickets) AS average_rank + FROM bowler_totals AS t + JOIN player AS p ON p.player_id = t.player_id + WHERE t.wickets > 0 +) +SELECT player_name +FROM ranked_bowlers +WHERE average_rank = 1 +ORDER BY player_name; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local021.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local021.sql new file mode 100644 index 00000000..d661a342 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local021.sql @@ -0,0 +1,18 @@ +WITH striker_match_runs AS ( + SELECT b.striker, b.match_id, SUM(s.runs_scored) AS match_runs + FROM ball_by_ball AS b + JOIN batsman_scored AS s + ON s.match_id = b.match_id + AND s.innings_no = b.innings_no + AND s.over_id = b.over_id + AND s.ball_id = b.ball_id + WHERE b.striker IS NOT NULL + GROUP BY b.striker, b.match_id +), qualifying_striker_totals AS ( + SELECT SUM(match_runs) AS total_runs + FROM striker_match_runs + GROUP BY striker + HAVING MAX(match_runs) > 50 +) +SELECT AVG(total_runs) AS average_total_runs +FROM qualifying_striker_totals; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local022.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local022.sql new file mode 100644 index 00000000..1a2dec56 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local022.sql @@ -0,0 +1,18 @@ +WITH qualifying_batters AS ( + SELECT b.striker AS player_id + FROM ball_by_ball AS b + JOIN batsman_scored AS s + ON s.match_id = b.match_id + AND s.innings_no = b.innings_no + AND s.over_id = b.over_id + AND s.ball_id = b.ball_id + JOIN "match" AS m + ON m.match_id = b.match_id + WHERE (b.team_batting = m.team_1 AND m.match_winner = m.team_2) + OR (b.team_batting = m.team_2 AND m.match_winner = m.team_1) + GROUP BY b.match_id, b.striker + HAVING SUM(s.runs_scored) >= 100 +) +SELECT DISTINCT p.player_name +FROM qualifying_batters AS q +JOIN player AS p ON p.player_id = q.player_id; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local023.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local023.sql new file mode 100644 index 00000000..926e17f4 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local023.sql @@ -0,0 +1,35 @@ +WITH season_matches AS ( + SELECT DISTINCT match_id + FROM "match" + WHERE season_id = 5 +), appearances AS ( + SELECT pm.player_id, COUNT(DISTINCT pm.match_id) AS matches_played + FROM player_match AS pm + JOIN season_matches AS sm ON sm.match_id = pm.match_id + GROUP BY pm.player_id +), batting_runs AS ( + SELECT b.striker AS player_id, SUM(s.runs_scored) AS total_runs + FROM ball_by_ball AS b + JOIN season_matches AS sm ON sm.match_id = b.match_id + JOIN batsman_scored AS s + ON s.match_id = b.match_id + AND s.innings_no = b.innings_no + AND s.over_id = b.over_id + AND s.ball_id = b.ball_id + GROUP BY b.striker +), dismissals AS ( + SELECT w.player_out AS player_id, COUNT(*) AS times_out + FROM wicket_taken AS w + JOIN season_matches AS sm ON sm.match_id = w.match_id + WHERE w.kind_out <> 'retired hurt' + GROUP BY w.player_out +) +SELECT p.player_name, + ROUND(1.0 * COALESCE(r.total_runs, 0) / NULLIF(d.times_out, 0), 2) AS batting_average +FROM appearances AS a +JOIN player AS p ON p.player_id = a.player_id +LEFT JOIN batting_runs AS r ON r.player_id = a.player_id +LEFT JOIN dismissals AS d ON d.player_id = a.player_id +ORDER BY 1.0 * COALESCE(r.total_runs, 0) / a.matches_played DESC, + a.player_id +LIMIT 5; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local024.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local024.sql new file mode 100644 index 00000000..8b080787 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local024.sql @@ -0,0 +1,25 @@ +WITH appearances AS ( + SELECT DISTINCT player_id, match_id + FROM player_match +), runs_by_player_match AS ( + SELECT b.striker AS player_id, b.match_id, SUM(s.runs_scored) AS match_runs + FROM ball_by_ball AS b + JOIN batsman_scored AS s + ON s.match_id = b.match_id + AND s.innings_no = b.innings_no + AND s.over_id = b.over_id + AND s.ball_id = b.ball_id + GROUP BY b.striker, b.match_id +), player_averages AS ( + SELECT a.player_id, AVG(COALESCE(r.match_runs, 0)) AS avg_runs_per_match + FROM appearances AS a + LEFT JOIN runs_by_player_match AS r + ON r.player_id = a.player_id AND r.match_id = a.match_id + GROUP BY a.player_id +) +SELECT p.country_name, AVG(pa.avg_runs_per_match) AS country_batting_average +FROM player_averages AS pa +JOIN player AS p ON p.player_id = pa.player_id +GROUP BY p.country_name +ORDER BY country_batting_average DESC, p.country_name ASC +LIMIT 5; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local025.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local025.sql new file mode 100644 index 00000000..678d4dfb --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local025.sql @@ -0,0 +1,31 @@ +WITH run_entries AS ( + SELECT match_id, innings_no, over_id, runs_scored AS runs + FROM batsman_scored + UNION ALL + SELECT match_id, innings_no, over_id, extra_runs AS runs + FROM extra_runs +), over_totals AS ( + SELECT match_id, innings_no, over_id, SUM(runs) AS total_runs + FROM run_entries + GROUP BY match_id, innings_no, over_id +), over_bowlers AS ( + SELECT match_id, innings_no, over_id, + JSON_GROUP_ARRAY(DISTINCT bowler) + FILTER (WHERE bowler IS NOT NULL) AS bowler_ids + FROM ball_by_ball + GROUP BY match_id, innings_no, over_id +), ranked_overs AS ( + SELECT b.match_id, b.innings_no, b.over_id, b.bowler_ids, t.total_runs, + ROW_NUMBER() OVER ( + PARTITION BY b.match_id + ORDER BY t.total_runs DESC, b.innings_no, b.over_id + ) AS over_rank + FROM over_bowlers AS b + LEFT JOIN over_totals AS t USING (match_id, innings_no, over_id) +) +SELECT match_id, innings_no, over_id, bowler_ids, + total_runs AS highest_over_runs, + AVG(total_runs) OVER () AS avg_highest_over_runs +FROM ranked_overs +WHERE over_rank = 1 +ORDER BY match_id; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local026.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local026.sql new file mode 100644 index 00000000..66a52f4a --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local026.sql @@ -0,0 +1,35 @@ +WITH bowler_overs AS ( + SELECT b.match_id, b.innings_no, b.over_id, b.bowler, + SUM(COALESCE(s.runs_scored, 0) + + CASE WHEN e.extra_type IN ('wides', 'noballs') + THEN COALESCE(e.extra_runs, 0) ELSE 0 END) AS runs_conceded + FROM ball_by_ball AS b + LEFT JOIN batsman_scored AS s + ON s.match_id = b.match_id AND s.innings_no = b.innings_no + AND s.over_id = b.over_id AND s.ball_id = b.ball_id + LEFT JOIN extra_runs AS e + ON e.match_id = b.match_id AND e.innings_no = b.innings_no + AND e.over_id = b.over_id AND e.ball_id = b.ball_id + GROUP BY b.match_id, b.innings_no, b.over_id, b.bowler +), over_totals AS ( + SELECT *, SUM(runs_conceded) OVER ( + PARTITION BY match_id, innings_no, over_id + ) AS over_runs_conceded + FROM bowler_overs +), match_maxima AS ( + SELECT *, MAX(over_runs_conceded) OVER (PARTITION BY match_id) AS match_max + FROM over_totals +), bowler_bests AS ( + SELECT *, ROW_NUMBER() OVER ( + PARTITION BY bowler + ORDER BY runs_conceded DESC, match_id, innings_no, over_id + ) AS bowler_rank + FROM match_maxima + WHERE over_runs_conceded = match_max +) +SELECT p.player_name AS bowler_name, b.match_id, b.runs_conceded +FROM bowler_bests AS b +JOIN player AS p ON p.player_id = b.bowler +WHERE b.bowler_rank = 1 +ORDER BY b.runs_conceded DESC, b.bowler +LIMIT 3; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local028.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local028.sql new file mode 100644 index 00000000..a6a5b71e --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local028.sql @@ -0,0 +1,19 @@ +WITH months(month) AS ( + VALUES ('01'), ('02'), ('03'), ('04'), ('05'), ('06'), + ('07'), ('08'), ('09'), ('10'), ('11'), ('12') +), deliveries AS ( + SELECT strftime('%m', order_delivered_customer_date) AS month, + strftime('%Y', order_delivered_customer_date) AS year + FROM olist_orders + WHERE order_status = 'delivered' + AND order_delivered_customer_date >= '2016-01-01' + AND order_delivered_customer_date < '2019-01-01' +) +SELECT m.month, + COUNT(CASE WHEN d.year = '2016' THEN 1 END) AS "2016", + COUNT(CASE WHEN d.year = '2017' THEN 1 END) AS "2017", + COUNT(CASE WHEN d.year = '2018' THEN 1 END) AS "2018" +FROM months AS m +LEFT JOIN deliveries AS d ON d.month = m.month +GROUP BY m.month +ORDER BY m.month; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local029.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local029.sql new file mode 100644 index 00000000..8c42ca00 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local029.sql @@ -0,0 +1,32 @@ +WITH top_customers AS ( + SELECT c.customer_unique_id, COUNT(DISTINCT o.order_id) AS delivered_order_count + FROM olist_customers AS c + JOIN olist_orders AS o ON o.customer_id = c.customer_id + WHERE o.order_status = 'delivered' + GROUP BY c.customer_unique_id + ORDER BY delivered_order_count DESC, c.customer_unique_id + LIMIT 3 +), ranked_orders AS MATERIALIZED ( + SELECT c.customer_unique_id, c.customer_city, c.customer_state, o.order_id, + ROW_NUMBER() OVER ( + PARTITION BY c.customer_unique_id + ORDER BY o.order_purchase_timestamp DESC, o.order_id DESC + ) AS location_rank + FROM olist_customers AS c + JOIN olist_orders AS o ON o.customer_id = c.customer_id + WHERE o.order_status = 'delivered' + AND c.customer_unique_id IN (SELECT customer_unique_id FROM top_customers) +), relevant_payments AS MATERIALIZED ( + SELECT order_id, payment_value + FROM olist_order_payments + WHERE order_id IN (SELECT order_id FROM ranked_orders) +) +SELECT t.customer_unique_id, + AVG(p.payment_value) AS average_payment_value, + MAX(CASE WHEN r.location_rank = 1 THEN r.customer_city END) AS customer_city, + MAX(CASE WHEN r.location_rank = 1 THEN r.customer_state END) AS customer_state +FROM top_customers AS t +JOIN ranked_orders AS r ON r.customer_unique_id = t.customer_unique_id +LEFT JOIN relevant_payments AS p ON p.order_id = r.order_id +GROUP BY t.customer_unique_id, t.delivered_order_count +ORDER BY t.delivered_order_count DESC, t.customer_unique_id; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local030.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local030.sql new file mode 100644 index 00000000..b3924412 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local030.sql @@ -0,0 +1,22 @@ +WITH order_payments AS ( + SELECT order_id, SUM(payment_value) AS total_payment + FROM olist_order_payments + GROUP BY order_id +), city_totals AS ( + SELECT c.customer_city, + SUM(p.total_payment) AS total_payments, + COUNT(DISTINCT o.order_id) AS delivered_order_count + FROM olist_orders AS o + JOIN olist_customers AS c ON c.customer_id = o.customer_id + LEFT JOIN order_payments AS p ON p.order_id = o.order_id + WHERE o.order_status = 'delivered' + GROUP BY c.customer_city +), bottom_five AS ( + SELECT total_payments, delivered_order_count + FROM city_totals + ORDER BY total_payments ASC NULLS LAST, customer_city ASC + LIMIT 5 +) +SELECT AVG(total_payments) AS avg_total_payments, + AVG(delivered_order_count) AS avg_delivered_order_count +FROM bottom_five; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local031.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local031.sql new file mode 100644 index 00000000..2c838289 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local031.sql @@ -0,0 +1,18 @@ +WITH monthly AS ( + SELECT strftime('%Y', order_delivered_customer_date) AS delivery_year, + strftime('%Y-%m', order_delivered_customer_date) AS delivery_month, + COUNT(*) AS delivered_orders + FROM olist_orders + WHERE order_status = 'delivered' + AND order_delivered_customer_date >= '2016-01-01' + AND order_delivered_customer_date < '2019-01-01' + GROUP BY 1, 2 +), annual AS ( + SELECT delivery_year, SUM(delivered_orders) AS delivered_orders + FROM monthly + GROUP BY delivery_year +) +SELECT MAX(m.delivered_orders) AS highest_monthly_delivered_orders +FROM monthly AS m +JOIN annual AS a ON a.delivery_year = m.delivery_year +WHERE a.delivered_orders = (SELECT MIN(delivered_orders) FROM annual); diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local032.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local032.sql new file mode 100644 index 00000000..ffa0142a --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local032.sql @@ -0,0 +1,48 @@ +WITH seller_orders AS ( + SELECT i.seller_id, + o.order_id, + o.customer_id, + SUM(i.price - i.freight_value) AS order_profit + FROM olist_orders AS o + JOIN olist_order_items AS i ON i.order_id = o.order_id + WHERE o.order_status = 'delivered' + GROUP BY i.seller_id, o.order_id, o.customer_id +), five_star_reviews AS ( + SELECT order_id, COUNT(*) AS rating_count + FROM olist_order_reviews + WHERE review_score = 5 + GROUP BY order_id +), seller_totals AS ( + SELECT so.seller_id, + COUNT(DISTINCT c.customer_unique_id) AS customer_count, + SUM(so.order_profit) AS profit, + COUNT(DISTINCT so.order_id) AS order_count, + SUM(COALESCE(r.rating_count, 0)) AS five_star_count + FROM seller_orders AS so + LEFT JOIN olist_customers AS c ON c.customer_id = so.customer_id + LEFT JOIN five_star_reviews AS r ON r.order_id = so.order_id + GROUP BY so.seller_id +), ranked AS ( + SELECT seller_id, customer_count, profit, order_count, five_star_count, + ROW_NUMBER() OVER (ORDER BY customer_count DESC, seller_id) AS customer_rank, + ROW_NUMBER() OVER (ORDER BY profit DESC, seller_id) AS profit_rank, + ROW_NUMBER() OVER (ORDER BY order_count DESC, seller_id) AS order_rank, + ROW_NUMBER() OVER (ORDER BY five_star_count DESC, seller_id) AS rating_rank + FROM seller_totals +), achievements AS ( + SELECT 1 AS position, 'Most distinct customer unique IDs' AS achievement, + seller_id, customer_count AS value + FROM ranked WHERE customer_rank = 1 + UNION ALL + SELECT 2, 'Highest profit (price minus freight value)', seller_id, ROUND(profit, 2) + FROM ranked WHERE profit_rank = 1 + UNION ALL + SELECT 3, 'Most distinct orders', seller_id, order_count + FROM ranked WHERE order_rank = 1 + UNION ALL + SELECT 4, 'Most 5-star ratings', seller_id, five_star_count + FROM ranked WHERE rating_rank = 1 +) +SELECT achievement, seller_id, value +FROM achievements +ORDER BY position; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local034.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local034.sql new file mode 100644 index 00000000..4d3c828b --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local034.sql @@ -0,0 +1,16 @@ +WITH order_categories AS ( + SELECT DISTINCT oi.order_id, p.product_category_name + FROM olist_order_items AS oi + JOIN olist_products AS p ON p.product_id = oi.product_id +), payment_counts AS ( + SELECT oc.product_category_name, op.payment_type, COUNT(*) AS payment_count + FROM order_categories AS oc + JOIN olist_order_payments AS op ON op.order_id = oc.order_id + GROUP BY oc.product_category_name, op.payment_type +), category_maxima AS ( + SELECT product_category_name, MAX(payment_count) AS preferred_payment_count + FROM payment_counts + GROUP BY product_category_name +) +SELECT AVG(preferred_payment_count) AS average_preferred_payment_count +FROM category_maxima; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local035.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local035.sql new file mode 100644 index 00000000..88d574c5 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local035.sql @@ -0,0 +1,26 @@ +WITH ordered_locations AS ( + SELECT + geolocation_city AS city, + LAG(geolocation_city) OVER city_order AS previous_city, + RADIANS(geolocation_lat) AS lat_rad, + RADIANS(geolocation_lng) AS lng_rad, + LAG(RADIANS(geolocation_lat)) OVER city_order AS previous_lat_rad, + LAG(RADIANS(geolocation_lng)) OVER city_order AS previous_lng_rad + FROM olist_geolocation + WINDOW city_order AS ( + ORDER BY geolocation_state, geolocation_city, + geolocation_zip_code_prefix, geolocation_lat, geolocation_lng + ) +), distances AS ( + SELECT previous_city, city, + 6371 * ACOS(MIN(1.0, MAX(-1.0, + COS(previous_lat_rad) * COS(lat_rad) * COS(lng_rad - previous_lng_rad) + + SIN(previous_lat_rad) * SIN(lat_rad) + ))) AS distance_km + FROM ordered_locations +) +SELECT previous_city, city +FROM distances +WHERE distance_km IS NOT NULL +ORDER BY distance_km DESC, previous_city, city +LIMIT 1; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local037.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local037.sql new file mode 100644 index 00000000..fb65abd9 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local037.sql @@ -0,0 +1,27 @@ +WITH order_categories AS ( + SELECT DISTINCT oi.order_id, p.product_category_name + FROM olist_order_items AS oi + JOIN olist_products AS p ON p.product_id = oi.product_id + WHERE p.product_category_name IS NOT NULL +), payment_counts AS ( + SELECT oc.product_category_name, op.payment_type, COUNT(*) AS payment_count + FROM order_categories AS oc + JOIN olist_order_payments AS op ON op.order_id = oc.order_id + GROUP BY oc.product_category_name, op.payment_type +), ranked AS ( + SELECT product_category_name, payment_type, payment_count, + ROW_NUMBER() OVER ( + PARTITION BY product_category_name + ORDER BY payment_count DESC, payment_type + ) AS payment_type_rank + FROM payment_counts +) +SELECT COALESCE(t.product_category_name_english, r.product_category_name) AS product_category, + r.payment_type, + r.payment_count +FROM ranked AS r +LEFT JOIN product_category_name_translation AS t + ON t.product_category_name = r.product_category_name +WHERE r.payment_type_rank = 1 +ORDER BY r.payment_count DESC, r.product_category_name +LIMIT 3; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local038.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local038.sql new file mode 100644 index 00000000..8a2f67e7 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local038.sql @@ -0,0 +1,21 @@ +WITH actor_counts AS ( + SELECT a.actor_id, + a.first_name || ' ' || a.last_name AS full_name, + COUNT(DISTINCT f.film_id) AS film_count + FROM actor AS a + JOIN film_actor AS fa ON fa.actor_id = a.actor_id + JOIN film AS f ON f.film_id = fa.film_id + JOIN language AS l ON l.language_id = f.language_id + JOIN film_category AS fc ON fc.film_id = f.film_id + JOIN category AS c ON c.category_id = fc.category_id + WHERE TRIM(l.name) = 'English' + AND c.name = 'Children' + AND f.rating IN ('G', 'PG') + AND f.length <= 120 + AND CAST(f.release_year AS INTEGER) BETWEEN 2000 AND 2010 + GROUP BY a.actor_id, a.first_name, a.last_name +) +SELECT full_name +FROM actor_counts +WHERE film_count = (SELECT MAX(film_count) FROM actor_counts) +ORDER BY full_name; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local039.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local039.sql new file mode 100644 index 00000000..0db585c4 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local039.sql @@ -0,0 +1,13 @@ +SELECT c.name AS category +FROM rental AS r +JOIN inventory AS i ON i.inventory_id = r.inventory_id +JOIN film_category AS fc ON fc.film_id = i.film_id +JOIN category AS c ON c.category_id = fc.category_id +JOIN customer AS cu ON cu.customer_id = r.customer_id +JOIN address AS a ON a.address_id = cu.address_id +JOIN city AS ci ON ci.city_id = a.city_id +WHERE ci.city LIKE 'A%' OR ci.city LIKE '%-%' +GROUP BY c.category_id, c.name +ORDER BY SUM(strftime('%s', r.return_date) - strftime('%s', r.rental_date)) / 3600.0 DESC, + c.name ASC +LIMIT 1; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local040.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local040.sql new file mode 100644 index 00000000..22e79a20 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local040.sql @@ -0,0 +1,28 @@ +WITH combined AS ( + SELECT t.tree_id, + TRIM(t.boroname) AS borough, + COALESCE(t.zipcode, i.zipcode) AS zipcode, + i.Estimate_Median_income AS median_income, + i.Estimate_Mean_income AS mean_income + FROM trees AS t + LEFT JOIN income_trees AS i ON t.zipcode = i.zipcode + UNION + SELECT t.tree_id, + TRIM(t.boroname), + COALESCE(t.zipcode, i.zipcode), + i.Estimate_Median_income, + i.Estimate_Mean_income + FROM income_trees AS i + LEFT JOIN trees AS t ON t.zipcode = i.zipcode + WHERE t.zipcode IS NULL +) +SELECT borough, + AVG(mean_income) AS average_mean_income +FROM combined +WHERE median_income > 0 + AND mean_income > 0 + AND borough IS NOT NULL + AND borough <> '' +GROUP BY borough +ORDER BY COUNT(tree_id) DESC, borough +LIMIT 3; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local041.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local041.sql new file mode 100644 index 00000000..fddfb68f --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local041.sql @@ -0,0 +1,3 @@ +SELECT 100.0 * COUNT(CASE WHEN health = 'Good' THEN 1 END) / COUNT(*) AS percentage_good +FROM trees +WHERE boroname = 'Bronx'; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local050.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local050.sql new file mode 100644 index 00000000..e54ca150 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local050.sql @@ -0,0 +1,51 @@ +WITH monthly_sales AS ( + SELECT s.prod_id, + co.country_name, + t.calendar_year AS sales_year, + t.calendar_month_number AS sales_month, + SUM(s.amount_sold) AS sales_amount + FROM sales AS s + JOIN times AS t ON t.time_id = s.time_id + JOIN customers AS cu ON cu.cust_id = s.cust_id + JOIN countries AS co ON co.country_id = cu.country_id + JOIN promotions AS p ON p.promo_id = s.promo_id + JOIN channels AS ch ON ch.channel_id = s.channel_id + WHERE co.country_name = 'France' + AND p.promo_total_id = 1 + AND ch.channel_total_id = 1 + AND t.calendar_year BETWEEN 2019 AND 2021 + GROUP BY s.prod_id, co.country_name, t.calendar_year, t.calendar_month_number +), monthly_averages AS ( + SELECT target.sales_month, + ROUND(AVG( + (sy20.sales_amount + (sy20.sales_amount - sy19.sales_amount) + / NULLIF(sy19.sales_amount, 0) * sy20.sales_amount) + * COALESCE(fx.to_us, 1.0) + ), 2) AS avg_projected_sales_usd + FROM monthly_sales AS target + LEFT JOIN monthly_sales AS sy19 + ON sy19.prod_id = target.prod_id + AND sy19.country_name = target.country_name + AND sy19.sales_month = target.sales_month + AND sy19.sales_year = 2019 + LEFT JOIN monthly_sales AS sy20 + ON sy20.prod_id = target.prod_id + AND sy20.country_name = target.country_name + AND sy20.sales_month = target.sales_month + AND sy20.sales_year = 2020 + LEFT JOIN currency AS fx + ON fx.country = target.country_name + AND fx.year = target.sales_year + AND fx.month = target.sales_month + WHERE target.sales_year = 2021 + GROUP BY target.sales_month +), ranked AS ( + SELECT avg_projected_sales_usd, + ROW_NUMBER() OVER (ORDER BY avg_projected_sales_usd) AS rn, + COUNT(*) OVER () AS n + FROM monthly_averages + WHERE avg_projected_sales_usd IS NOT NULL +) +SELECT AVG(avg_projected_sales_usd) AS median_avg_monthly_projected_sales_usd +FROM ranked +WHERE rn IN ((n + 1) / 2, (n + 2) / 2); diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local054.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local054.sql new file mode 100644 index 00000000..14598fbd --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local054.sql @@ -0,0 +1,22 @@ +WITH artist_sales AS ( + SELECT a.ArtistId, SUM(ii.Quantity) AS units_sold + FROM invoice_items AS ii + JOIN tracks AS t ON t.TrackId = ii.TrackId + JOIN albums AS a ON a.AlbumId = t.AlbumId + GROUP BY a.ArtistId +), best_selling_artists AS ( + SELECT ArtistId + FROM artist_sales + WHERE units_sold = (SELECT MAX(units_sold) FROM artist_sales) +) +SELECT c.FirstName, + ROUND(SUM(ii.UnitPrice * ii.Quantity), 2) AS AmountSpent +FROM customers AS c +JOIN invoices AS i ON i.CustomerId = c.CustomerId +JOIN invoice_items AS ii ON ii.InvoiceId = i.InvoiceId +JOIN tracks AS t ON t.TrackId = ii.TrackId +JOIN albums AS a ON a.AlbumId = t.AlbumId +JOIN best_selling_artists AS b ON b.ArtistId = a.ArtistId +GROUP BY c.CustomerId, c.FirstName +HAVING AmountSpent < 1.00 +ORDER BY c.FirstName, c.CustomerId; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local055.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local055.sql new file mode 100644 index 00000000..5a3020bc --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local055.sql @@ -0,0 +1,37 @@ +WITH customer_artist_spending AS ( + SELECT a.ArtistId, + i.CustomerId, + SUM(ii.UnitPrice * ii.Quantity) AS spending + FROM invoice_items AS ii + JOIN invoices AS i ON i.InvoiceId = ii.InvoiceId + JOIN tracks AS t ON t.TrackId = ii.TrackId + JOIN albums AS a ON a.AlbumId = t.AlbumId + GROUP BY a.ArtistId, i.CustomerId +), artist_sales AS ( + SELECT ar.ArtistId, + ar.Name, + ROUND(SUM(cas.spending), 2) AS total_sales + FROM customer_artist_spending AS cas + JOIN artists AS ar ON ar.ArtistId = cas.ArtistId + GROUP BY ar.ArtistId, ar.Name +), selected_artists AS ( + SELECT ( + SELECT ArtistId + FROM artist_sales + ORDER BY total_sales DESC, Name ASC, ArtistId ASC + LIMIT 1 + ) AS top_artist_id, + ( + SELECT ArtistId + FROM artist_sales + ORDER BY total_sales ASC, Name ASC, ArtistId ASC + LIMIT 1 + ) AS bottom_artist_id +) +SELECT ABS( + AVG(CASE WHEN cas.ArtistId = sa.top_artist_id THEN cas.spending END) - + AVG(CASE WHEN cas.ArtistId = sa.bottom_artist_id THEN cas.spending END) + ) AS absolute_average_spending_difference +FROM customer_artist_spending AS cas +JOIN selected_artists AS sa + ON cas.ArtistId IN (sa.top_artist_id, sa.bottom_artist_id); diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local056.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local056.sql new file mode 100644 index 00000000..538513ef --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local056.sql @@ -0,0 +1,24 @@ +WITH monthly_payments AS ( + SELECT customer_id, + CAST(strftime('%Y', payment_date) AS INTEGER) * 12 + + CAST(strftime('%m', payment_date) AS INTEGER) AS month_number, + SUM(CAST(ROUND(amount * 100) AS INTEGER)) AS total_cents + FROM payment + GROUP BY customer_id, month_number +), customer_changes AS ( + SELECT curr.customer_id, + AVG(curr.total_cents - prev.total_cents) AS avg_monthly_change + FROM monthly_payments AS curr + JOIN monthly_payments AS prev + ON prev.customer_id = curr.customer_id + AND prev.month_number = curr.month_number - 1 + GROUP BY curr.customer_id +), ranked_customers AS ( + SELECT customer_id, + DENSE_RANK() OVER (ORDER BY avg_monthly_change DESC) AS change_rank + FROM customer_changes +) +SELECT c.first_name || ' ' || c.last_name AS full_name +FROM ranked_customers AS r +JOIN customer AS c ON c.customer_id = r.customer_id +WHERE r.change_rank = 1; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local058.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local058.sql new file mode 100644 index 00000000..7d430418 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local058.sql @@ -0,0 +1,15 @@ +WITH segment_counts AS ( + SELECT p.segment, + COUNT(DISTINCT CASE WHEN s.fiscal_year = 2020 THEN s.product_code END) AS unique_products_2020, + COUNT(DISTINCT CASE WHEN s.fiscal_year = 2021 THEN s.product_code END) AS unique_products_2021 + FROM hardware_dim_product AS p + LEFT JOIN hardware_fact_sales_monthly AS s + ON s.product_code = p.product_code + AND s.fiscal_year IN (2020, 2021) + GROUP BY p.segment +) +SELECT segment, unique_products_2020 +FROM segment_counts +ORDER BY 100.0 * (unique_products_2021 - unique_products_2020) + / NULLIF(unique_products_2020, 0) DESC, + segment; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local059.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local059.sql new file mode 100644 index 00000000..1fd48a42 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local059.sql @@ -0,0 +1,17 @@ +WITH product_totals AS ( + SELECT p.division, p.product_code, SUM(s.sold_quantity) AS total_quantity_sold + FROM hardware_fact_sales_monthly AS s + JOIN hardware_dim_product AS p ON p.product_code = s.product_code + WHERE s.date >= '2021-01-01' AND s.date < '2022-01-01' + GROUP BY p.division, p.product_code +), ranked_products AS ( + SELECT total_quantity_sold, + ROW_NUMBER() OVER ( + PARTITION BY division + ORDER BY total_quantity_sold DESC, product_code + ) AS sales_rank + FROM product_totals +) +SELECT AVG(total_quantity_sold) AS overall_average_quantity_sold +FROM ranked_products +WHERE sales_rank <= 3; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local060.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local060.sql new file mode 100644 index 00000000..823ebd21 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local060.sql @@ -0,0 +1,46 @@ +WITH city_product_sales AS ( + SELECT c.cust_state_province_id, + c.cust_city_id, + s.prod_id, + SUM(CASE WHEN t.calendar_year = 2019 THEN s.amount_sold ELSE 0.0 END) AS sales_2019, + SUM(CASE WHEN t.calendar_year = 2020 THEN s.amount_sold ELSE 0.0 END) AS sales_2020 + FROM sales AS s + JOIN customers AS c ON c.cust_id = s.cust_id + JOIN countries AS co ON co.country_id = c.country_id + JOIN times AS t ON t.time_id = s.time_id + JOIN promotions AS pr ON pr.promo_id = s.promo_id + WHERE co.country_iso_code = 'US' + AND pr.promo_name = 'NO PROMOTION #' + AND t.calendar_quarter_number = 4 + AND t.calendar_year IN (2019, 2020) + GROUP BY c.cust_state_province_id, c.cust_city_id, s.prod_id +), qualifying_cities AS ( + SELECT cust_state_province_id, cust_city_id + FROM city_product_sales + GROUP BY cust_state_province_id, cust_city_id + HAVING SUM(sales_2019) > 0 + AND SUM(sales_2020) >= 1.20 * SUM(sales_2019) +), product_sales AS ( + SELECT cps.prod_id, + SUM(cps.sales_2019) AS sales_2019, + SUM(cps.sales_2020) AS sales_2020 + FROM city_product_sales AS cps + JOIN qualifying_cities AS qc + ON qc.cust_state_province_id = cps.cust_state_province_id + AND qc.cust_city_id = cps.cust_city_id + GROUP BY cps.prod_id +), ranked_shares AS ( + SELECT prod_id, + NTILE(5) OVER (ORDER BY sales_2019 + sales_2020 DESC, prod_id) AS sales_quintile, + sales_2019 / NULLIF(SUM(sales_2019) OVER (), 0) AS share_q4_2019, + sales_2020 / NULLIF(SUM(sales_2020) OVER (), 0) AS share_q4_2020 + FROM product_sales +) +SELECT p.prod_name, + r.share_q4_2019, + r.share_q4_2020, + r.share_q4_2020 - r.share_q4_2019 AS share_change +FROM ranked_shares AS r +JOIN products AS p ON p.prod_id = r.prod_id +WHERE r.sales_quintile = 1 +ORDER BY share_change DESC, r.prod_id; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local061.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local061.sql new file mode 100644 index 00000000..e06e0952 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local061.sql @@ -0,0 +1,48 @@ +WITH monthly_sales AS ( + SELECT + s.prod_id, + co.country_name AS country, + t.calendar_year AS sales_year, + t.calendar_month_number AS month, + SUM(s.amount_sold) AS sales_amount + FROM sales AS s + JOIN customers AS cu ON cu.cust_id = s.cust_id + JOIN countries AS co ON co.country_id = cu.country_id + JOIN times AS t ON t.time_id = s.time_id + JOIN promotions AS p ON p.promo_id = s.promo_id + JOIN channels AS ch ON ch.channel_id = s.channel_id + WHERE co.country_name = 'France' + AND p.promo_total_id = 1 + AND ch.channel_total_id = 1 + AND t.calendar_year BETWEEN 2019 AND 2021 + GROUP BY s.prod_id, co.country_name, t.calendar_year, t.calendar_month_number +), projections AS ( + SELECT + target.country, + target.month, + y20.sales_amount + + ((y20.sales_amount - y19.sales_amount) / NULLIF(y19.sales_amount, 0)) + * y20.sales_amount AS projected_sales + FROM monthly_sales AS target + LEFT JOIN monthly_sales AS y19 + ON y19.prod_id = target.prod_id + AND y19.country = target.country + AND y19.month = target.month + AND y19.sales_year = 2019 + LEFT JOIN monthly_sales AS y20 + ON y20.prod_id = target.prod_id + AND y20.country = target.country + AND y20.month = target.month + AND y20.sales_year = 2020 + WHERE target.sales_year = 2021 +) +SELECT + p.month, + ROUND(AVG(p.projected_sales * COALESCE(c.to_us, 1.0)), 2) AS avg_projected_sales_usd +FROM projections AS p +LEFT JOIN currency AS c + ON c.country = p.country + AND c.year = 2021 + AND c.month = p.month +GROUP BY p.month +ORDER BY p.month; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local062.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local062.sql new file mode 100644 index 00000000..4b987ac2 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local062.sql @@ -0,0 +1,47 @@ +WITH RECURSIVE +italian_customers AS ( + SELECT c.cust_id + FROM customers AS c + JOIN countries AS co ON co.country_id = c.country_id + WHERE co.country_name = 'Italy' +), +december_profit AS ( + SELECT p.cust_id, + SUM(p.quantity_sold * (p.unit_price - p.unit_cost)) AS total_profit + FROM profits AS p + JOIN italian_customers AS c ON c.cust_id = p.cust_id + WHERE p.time_id >= '2021-12-01' AND p.time_id < '2022-01-01' + GROUP BY p.cust_id +), +customer_profit AS ( + SELECT c.cust_id, COALESCE(p.total_profit, 0.0) AS total_profit + FROM italian_customers AS c + LEFT JOIN december_profit AS p ON p.cust_id = c.cust_id +), +profit_range AS ( + SELECT MIN(total_profit) AS min_profit, MAX(total_profit) AS max_profit + FROM customer_profit +), +assigned AS ( + SELECT cp.total_profit, + CASE + WHEN r.min_profit = r.max_profit THEN 1 + ELSE MIN(10, 1 + CAST(10.0 * (cp.total_profit - r.min_profit) + / (r.max_profit - r.min_profit) AS INTEGER)) + END AS bucket + FROM customer_profit AS cp + CROSS JOIN profit_range AS r +), +buckets(bucket) AS ( + SELECT 1 + UNION ALL + SELECT bucket + 1 FROM buckets WHERE bucket < 10 +) +SELECT b.bucket, + COUNT(a.bucket) AS customer_count, + MIN(a.total_profit) AS min_total_profit, + MAX(a.total_profit) AS max_total_profit +FROM buckets AS b +LEFT JOIN assigned AS a ON a.bucket = b.bucket +GROUP BY b.bucket +ORDER BY b.bucket; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local063.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local063.sql new file mode 100644 index 00000000..01fac24a --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local063.sql @@ -0,0 +1,43 @@ +WITH scoped_sales AS ( + SELECT c.cust_city_id, s.prod_id, t.calendar_quarter_id, s.amount_sold + FROM sales AS s + JOIN times AS t ON t.time_id = s.time_id + JOIN customers AS c ON c.cust_id = s.cust_id + JOIN countries AS co ON co.country_id = c.country_id + WHERE co.country_iso_code = 'US' + AND s.promo_id = 999 + AND t.calendar_quarter_id IN (1772, 1776) +), +city_totals AS ( + SELECT cust_city_id, + SUM(CASE WHEN calendar_quarter_id = 1772 THEN amount_sold ELSE 0 END) AS sales_2019, + SUM(CASE WHEN calendar_quarter_id = 1776 THEN amount_sold ELSE 0 END) AS sales_2020 + FROM scoped_sales + GROUP BY cust_city_id +), +product_totals AS ( + SELECT s.prod_id, + SUM(CASE WHEN s.calendar_quarter_id = 1772 THEN s.amount_sold ELSE 0 END) AS sales_2019, + SUM(CASE WHEN s.calendar_quarter_id = 1776 THEN s.amount_sold ELSE 0 END) AS sales_2020 + FROM scoped_sales AS s + JOIN city_totals AS c ON c.cust_city_id = s.cust_city_id + WHERE 1.0 * c.sales_2020 / NULLIF(c.sales_2019, 0) >= 1.2 + GROUP BY s.prod_id +), +ranked_products AS ( + SELECT prod_id, sales_2019, sales_2020, + SUM(sales_2019) OVER () AS total_2019, + SUM(sales_2020) OVER () AS total_2020, + RANK() OVER (ORDER BY sales_2019 + sales_2020 DESC) AS sales_rank, + COUNT(*) OVER () AS product_count + FROM product_totals +) +SELECT p.prod_name +FROM ranked_products AS r +JOIN products AS p ON p.prod_id = r.prod_id +WHERE r.sales_rank <= (r.product_count + 4) / 5 + AND r.total_2019 <> 0 + AND r.total_2020 <> 0 +ORDER BY ABS(100.0 * (r.sales_2020 / r.total_2020 - r.sales_2019 / r.total_2019)), + r.prod_id +LIMIT 1; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local064.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local064.sql new file mode 100644 index 00000000..e75b8233 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local064.sql @@ -0,0 +1,49 @@ +WITH RECURSIVE months(month_start) AS ( + VALUES ('2020-01-01') + UNION ALL + SELECT date(month_start, '+1 month') + FROM months + WHERE month_start < '2020-12-01' +), customers AS ( + SELECT DISTINCT customer_id + FROM customer_nodes +), monthly_transactions AS ( + SELECT customer_id, + date(txn_date, 'start of month') AS month_start, + SUM(CASE txn_type + WHEN 'deposit' THEN txn_amount + WHEN 'withdrawal' THEN -txn_amount + END) AS balance + FROM customer_transactions + WHERE txn_date >= '2020-01-01' + AND txn_date < '2021-01-01' + AND txn_type IN ('deposit', 'withdrawal') + GROUP BY customer_id, date(txn_date, 'start of month') +), customer_month_balances AS ( + SELECT m.month_start, + COALESCE(t.balance, 0) AS balance + FROM months AS m + CROSS JOIN customers AS c + LEFT JOIN monthly_transactions AS t + ON t.customer_id = c.customer_id + AND t.month_start = m.month_start +), monthly_summary AS ( + SELECT month_start, + COUNT(CASE WHEN balance > 0 THEN 1 END) AS positive_customer_count, + AVG(balance) AS average_balance + FROM customer_month_balances + GROUP BY month_start +), extremes AS ( + SELECT MAX(positive_customer_count) AS highest_count, + MIN(positive_customer_count) AS lowest_count + FROM monthly_summary +) +SELECT strftime('%Y-%m', h.month_start) AS highest_count_month, + strftime('%Y-%m', l.month_start) AS lowest_count_month, + h.average_balance AS highest_count_month_average_balance, + l.average_balance AS lowest_count_month_average_balance, + h.average_balance - l.average_balance AS average_balance_difference +FROM extremes AS e +JOIN monthly_summary AS h ON h.positive_customer_count = e.highest_count +JOIN monthly_summary AS l ON l.positive_customer_count = e.lowest_count +ORDER BY h.month_start, l.month_start; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local065.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local065.sql new file mode 100644 index 00000000..b14e543f --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local065.sql @@ -0,0 +1,18 @@ +SELECT COALESCE(SUM( + CASE p.pizza_name + WHEN 'Meatlovers' THEN 12 + WHEN 'Vegetarian' THEN 10 + END + + CASE + WHEN TRIM(COALESCE(c.extras, '')) = '' THEN 0 + ELSE 1 + LENGTH(c.extras) - LENGTH(REPLACE(c.extras, ',', '')) + END +), 0) AS total_income +FROM pizza_clean_customer_orders AS c +JOIN pizza_names AS p ON p.pizza_id = c.pizza_id +WHERE EXISTS ( + SELECT 1 + FROM pizza_clean_runner_orders AS r + WHERE r.order_id = c.order_id + AND r.cancellation IS NULL +); diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local066.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local066.sql new file mode 100644 index 00000000..d422fdde --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local066.sql @@ -0,0 +1,29 @@ +WITH delivered_pizzas AS ( + SELECT c.pizza_id, c.exclusions, c.extras + FROM pizza_clean_customer_orders AS c + WHERE EXISTS ( + SELECT 1 + FROM pizza_clean_runner_orders AS r + WHERE r.order_id = c.order_id + AND r.cancellation IS NULL + ) +), ingredient_usage AS ( + SELECT base.value AS topping_id + FROM delivered_pizzas AS p + JOIN pizza_recipes AS r ON r.pizza_id = p.pizza_id + CROSS JOIN json_each('[' || r.toppings || ']') AS base + WHERE NOT EXISTS ( + SELECT 1 + FROM json_each('[' || COALESCE(p.exclusions, '') || ']') AS excluded + WHERE excluded.value = base.value + ) + UNION ALL + SELECT extra.value AS topping_id + FROM delivered_pizzas AS p + CROSS JOIN json_each('[' || COALESCE(p.extras, '') || ']') AS extra +) +SELECT t.topping_name AS name, COUNT(*) AS quantity +FROM ingredient_usage AS u +JOIN pizza_toppings AS t ON t.topping_id = u.topping_id +GROUP BY t.topping_id, t.topping_name +ORDER BY name; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local067.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local067.sql new file mode 100644 index 00000000..d99eda90 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local067.sql @@ -0,0 +1,21 @@ +WITH customer_profits AS ( + SELECT p.cust_id, + SUM(p.amount_sold - p.total_cost) AS december_profit + FROM profits AS p + JOIN customers AS c ON c.cust_id = p.cust_id + JOIN countries AS co ON co.country_id = c.country_id + WHERE co.country_name = 'Italy' + AND p.time_id >= '2021-12-01' + AND p.time_id < '2022-01-01' + GROUP BY p.cust_id +), tiered_customers AS ( + SELECT december_profit, + NTILE(10) OVER (ORDER BY december_profit DESC, cust_id) AS tier + FROM customer_profits +) +SELECT tier, + MAX(december_profit) AS highest_profit, + MIN(december_profit) AS lowest_profit +FROM tiered_customers +GROUP BY tier +ORDER BY tier; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local068.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local068.sql new file mode 100644 index 00000000..62bf7fc5 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local068.sql @@ -0,0 +1,33 @@ +WITH years(year) AS ( + VALUES (2021), (2022), (2023) +), months(month) AS ( + VALUES (4), (5), (6) +), monthly_counts AS ( + SELECT y.year, m.month, COUNT(c.insert_date) AS monthly_total + FROM years AS y + CROSS JOIN months AS m + LEFT JOIN cities AS c + ON c.insert_date >= printf('%04d-%02d-01', y.year, m.month) + AND c.insert_date < printf('%04d-%02d-01', y.year, m.month + 1) + GROUP BY y.year, m.month +), running_totals AS ( + SELECT year, month, monthly_total, + SUM(monthly_total) OVER ( + PARTITION BY month ORDER BY year + ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW + ) AS running_total + FROM monthly_counts +), prior_year AS ( + SELECT year, month, monthly_total, running_total, + LAG(monthly_total) OVER (PARTITION BY month ORDER BY year) AS prev_monthly_total, + LAG(running_total) OVER (PARTITION BY month ORDER BY year) AS prev_running_total + FROM running_totals +) +SELECT year, month, monthly_total, running_total, + ROUND(100.0 * (monthly_total - prev_monthly_total) / + NULLIF(prev_monthly_total, 0), 2) AS monthly_yoy_growth_pct, + ROUND(100.0 * (running_total - prev_running_total) / + NULLIF(prev_running_total, 0), 2) AS running_yoy_growth_pct +FROM prior_year +WHERE year IN (2022, 2023) +ORDER BY year, month; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local070.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local070.sql new file mode 100644 index 00000000..c9100ec2 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local070.sql @@ -0,0 +1,29 @@ +WITH july_entries AS ( + SELECT date(insert_date) AS entry_date, city_id, city_name + FROM cities + WHERE country_code_2 = 'cn' + AND date(insert_date) >= '2021-07-01' + AND date(insert_date) < '2021-08-01' +), ranked_entries AS ( + SELECT entry_date, city_name, + ROW_NUMBER() OVER (PARTITION BY entry_date ORDER BY city_id, city_name) AS daily_rank + FROM july_entries +), streak_days AS ( + SELECT entry_date, city_name, + julianday(entry_date) - ROW_NUMBER() OVER (ORDER BY entry_date) AS streak_id + FROM ranked_entries + WHERE daily_rank = 1 +), streak_lengths AS ( + SELECT entry_date, city_name, + COUNT(*) OVER (PARTITION BY streak_id) AS streak_length + FROM streak_days +), extremes AS ( + SELECT MIN(streak_length) AS shortest, MAX(streak_length) AS longest + FROM streak_lengths +) +SELECT entry_date AS insert_date, + upper(substr(city_name, 1, 1)) || lower(substr(city_name, 2)) AS city_name +FROM streak_lengths +CROSS JOIN extremes +WHERE streak_length IN (shortest, longest) +ORDER BY entry_date; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local071.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local071.sql new file mode 100644 index 00000000..65e359c8 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local071.sql @@ -0,0 +1,21 @@ +WITH city_days AS ( + SELECT DISTINCT country_code_2, DATE(insert_date) AS inserted_day + FROM cities + WHERE DATE(insert_date) >= '2022-06-01' + AND DATE(insert_date) < '2022-07-01' + AND LENGTH(country_code_2) = 2 +), streak_days AS ( + SELECT country_code_2, + JULIANDAY(inserted_day) - ROW_NUMBER() OVER ( + PARTITION BY country_code_2 ORDER BY inserted_day + ) AS streak_id + FROM city_days +), streaks AS ( + SELECT country_code_2, COUNT(*) AS streak_length + FROM streak_days + GROUP BY country_code_2, streak_id +) +SELECT DISTINCT country_code_2 +FROM streaks +WHERE streak_length = (SELECT MAX(streak_length) FROM streaks) +ORDER BY country_code_2; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local072.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local072.sql new file mode 100644 index 00000000..bc4b4797 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local072.sql @@ -0,0 +1,41 @@ +WITH january_entries AS ( + SELECT country_code_2, DATE(insert_date) AS insertion_day, capital + FROM cities + WHERE DATE(insert_date) >= '2022-01-01' + AND DATE(insert_date) < '2022-02-01' +), insertion_days AS ( + SELECT DISTINCT country_code_2, insertion_day + FROM january_entries +), matching_countries AS ( + SELECT country_code_2 + FROM insertion_days + GROUP BY country_code_2 + HAVING COUNT(*) = 9 +), numbered_days AS ( + SELECT d.country_code_2, d.insertion_day, + JULIANDAY(d.insertion_day) - ROW_NUMBER() OVER ( + PARTITION BY d.country_code_2 ORDER BY d.insertion_day + ) AS streak_key + FROM insertion_days AS d + JOIN matching_countries AS m ON m.country_code_2 = d.country_code_2 +), streaks AS ( + SELECT country_code_2, MIN(insertion_day) AS period_start, + MAX(insertion_day) AS period_end, COUNT(*) AS streak_days + FROM numbered_days + GROUP BY country_code_2, streak_key +), ranked_streaks AS ( + SELECT country_code_2, period_start, period_end, + DENSE_RANK() OVER ( + PARTITION BY country_code_2 ORDER BY streak_days DESC + ) AS streak_rank + FROM streaks +) +SELECT c.country_name, s.period_start, s.period_end, + AVG(CASE WHEN e.capital = 1 THEN 1.0 ELSE 0.0 END) AS capital_proportion +FROM ranked_streaks AS s +JOIN january_entries AS e + ON e.country_code_2 = s.country_code_2 + AND e.insertion_day BETWEEN s.period_start AND s.period_end +JOIN cities_countries AS c ON c.country_code_2 = s.country_code_2 +WHERE s.streak_rank = 1 +GROUP BY s.country_code_2, c.country_name, s.period_start, s.period_end; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local073.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local073.sql new file mode 100644 index 00000000..c7b541a7 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local073.sql @@ -0,0 +1,59 @@ +WITH RECURSIVE +order_lines AS ( + SELECT o.rowid AS row_id, o.order_id, o.customer_id, n.pizza_name, + o.order_time, o.exclusions, o.extras, + CASE WHEN n.pizza_name = 'Meatlovers' THEN 1 ELSE 2 END AS pizza_id + FROM pizza_clean_customer_orders AS o + JOIN pizza_names AS n ON n.pizza_id = o.pizza_id +), +topping_lists AS ( + SELECT o.row_id, 'recipe' AS kind, r.toppings AS csv + FROM order_lines AS o + JOIN pizza_recipes AS r ON r.pizza_id = o.pizza_id + UNION ALL + SELECT row_id, 'exclusion', exclusions FROM order_lines + UNION ALL + SELECT row_id, 'extra', extras FROM order_lines +), +split(row_id, kind, topping_id, rest) AS ( + SELECT row_id, kind, NULL, csv || ',' + FROM topping_lists + WHERE csv IS NOT NULL AND TRIM(csv) <> '' + UNION ALL + SELECT row_id, kind, + CAST(NULLIF(TRIM(SUBSTR(rest, 1, INSTR(rest, ',') - 1)), '') AS INTEGER), + SUBSTR(rest, INSTR(rest, ',') + 1) + FROM split + WHERE rest <> '' +), +topping_counts AS ( + SELECT s.row_id, t.topping_name, COUNT(*) AS copies + FROM split AS s + JOIN pizza_toppings AS t ON t.topping_id = s.topping_id + WHERE s.kind = 'extra' + OR (s.kind = 'recipe' AND NOT EXISTS ( + SELECT 1 + FROM split AS x + WHERE x.row_id = s.row_id + AND x.kind = 'exclusion' + AND x.topping_id = s.topping_id + )) + GROUP BY s.row_id, t.topping_name +), +formatted AS ( + SELECT row_id, + GROUP_CONCAT( + CASE WHEN copies > 1 THEN '2x' ELSE '' END || topping_name, ', ' + ) OVER ( + PARTITION BY row_id + ORDER BY (copies > 1) DESC, topping_name COLLATE NOCASE + ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING + ) AS topping_string + FROM topping_counts +) +SELECT o.row_id, o.order_id, o.customer_id, o.pizza_name, + o.pizza_name || ': ' || COALESCE(MAX(f.topping_string), '') AS ingredients +FROM order_lines AS o +LEFT JOIN formatted AS f ON f.row_id = o.row_id +GROUP BY o.row_id, o.order_id, o.customer_id, o.pizza_name, o.order_time +ORDER BY o.row_id ASC; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local074.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local074.sql new file mode 100644 index 00000000..0a7a0314 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local074.sql @@ -0,0 +1,57 @@ +WITH RECURSIVE +month_bounds AS ( + SELECT + date(MIN(txn_date), 'start of month') AS first_month, + date(MAX(txn_date), 'start of month') AS last_month + FROM customer_transactions +), +months(month_start) AS ( + SELECT first_month + FROM month_bounds + WHERE first_month IS NOT NULL + + UNION ALL + + SELECT date(m.month_start, '+1 month') + FROM months AS m + CROSS JOIN month_bounds AS b + WHERE m.month_start < b.last_month +), +customers AS ( + SELECT DISTINCT customer_id + FROM customer_transactions +), +monthly_transactions AS ( + SELECT + customer_id, + date(txn_date, 'start of month') AS month_start, + SUM(CASE txn_type + WHEN 'deposit' THEN txn_amount + WHEN 'withdrawal' THEN -txn_amount + WHEN 'purchase' THEN -txn_amount + END) AS monthly_change + FROM customer_transactions + GROUP BY customer_id, date(txn_date, 'start of month') +), +customer_months AS ( + SELECT + c.customer_id, + m.month_start, + COALESCE(t.monthly_change, 0) AS monthly_change + FROM customers AS c + CROSS JOIN months AS m + LEFT JOIN monthly_transactions AS t + ON t.customer_id = c.customer_id + AND t.month_start = m.month_start +) +SELECT + customer_id, + date(month_start, '+1 month', '-1 day') AS month_end, + monthly_change, + SUM(monthly_change) OVER ( + PARTITION BY customer_id + ORDER BY month_start + ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW + ) AS closing_balance +FROM customer_months +ORDER BY customer_id, month_start; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local075.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local075.sql new file mode 100644 index 00000000..00447dbb --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local075.sql @@ -0,0 +1,19 @@ +WITH purchase_visits AS ( + SELECT DISTINCT visit_id + FROM shopping_cart_events + WHERE event_type = 3 +) +SELECT + p.page_name AS product_name, + COUNT(CASE WHEN e.event_type = 1 THEN 1 END) AS views, + COUNT(CASE WHEN e.event_type = 2 THEN 1 END) AS cart_adds, + COUNT(CASE WHEN e.event_type = 2 AND pv.visit_id IS NULL THEN 1 END) AS abandoned_cart_adds, + COUNT(CASE WHEN e.event_type = 2 AND pv.visit_id IS NOT NULL THEN 1 END) AS purchases +FROM shopping_cart_page_hierarchy AS p +LEFT JOIN shopping_cart_events AS e + ON e.page_id = p.page_id AND e.event_type IN (1, 2) +LEFT JOIN purchase_visits AS pv + ON pv.visit_id = e.visit_id +WHERE p.page_id NOT IN (1, 2, 12, 13) +GROUP BY p.page_id, p.page_name +ORDER BY p.page_id; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local077.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local077.sql new file mode 100644 index 00000000..f3b44c2c --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local077.sql @@ -0,0 +1,47 @@ +WITH interest_monthly AS ( + SELECT printf('%04d-%02d-01', _year, _month) AS month_date, + interest_id, + AVG(1.0 * composition / NULLIF(index_value, 0)) AS index_composition + FROM interest_metrics + WHERE _year * 100 + _month BETWEEN 201807 AND 201908 + GROUP BY 1, 2 +), ranked AS ( + SELECT month_date, + interest_id, + index_composition, + ROW_NUMBER() OVER ( + PARTITION BY month_date + ORDER BY index_composition DESC, interest_id + ) AS monthly_rank + FROM interest_monthly +), monthly_top AS ( + SELECT r.month_date, + m.interest_name, + r.index_composition AS max_index_composition + FROM ranked AS r + JOIN interest_map AS m ON m.id = r.interest_id + WHERE r.monthly_rank = 1 +), history AS ( + SELECT month_date, + interest_name, + max_index_composition, + AVG(max_index_composition) OVER ( + ORDER BY month_date ROWS BETWEEN 2 PRECEDING AND CURRENT ROW + ) AS three_month_rolling_avg, + LAG(interest_name, 1) OVER (ORDER BY month_date) AS one_month_ago_interest_name, + LAG(max_index_composition, 1) OVER (ORDER BY month_date) AS one_month_ago_max_index_composition, + LAG(interest_name, 2) OVER (ORDER BY month_date) AS two_months_ago_interest_name, + LAG(max_index_composition, 2) OVER (ORDER BY month_date) AS two_months_ago_max_index_composition + FROM monthly_top +) +SELECT month_date, + interest_name, + ROUND(max_index_composition, 2) AS max_index_composition, + ROUND(three_month_rolling_avg, 2) AS three_month_rolling_avg, + one_month_ago_interest_name, + ROUND(one_month_ago_max_index_composition, 2) AS one_month_ago_max_index_composition, + two_months_ago_interest_name, + ROUND(two_months_ago_max_index_composition, 2) AS two_months_ago_max_index_composition +FROM history +WHERE month_date >= '2018-09-01' AND month_date < '2019-09-01' +ORDER BY month_date; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local078.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local078.sql new file mode 100644 index 00000000..f24d4a85 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local078.sql @@ -0,0 +1,37 @@ +WITH monthly_peaks AS ( + SELECT + im.id AS interest_id, + im.interest_name, + m._month, + m._year, + m.composition, + ROW_NUMBER() OVER ( + PARTITION BY im.id + ORDER BY m.composition DESC, m._year ASC NULLS LAST, m._month ASC NULLS LAST + ) AS month_rank + FROM interest_metrics AS m + JOIN interest_map AS im ON im.id = m.interest_id + WHERE m.composition IS NOT NULL +), ranked_interests AS ( + SELECT + CASE WHEN _month IS NOT NULL AND _year IS NOT NULL + THEN printf('%02d-%04d', _month, _year) + END AS time, + interest_name, + composition, + ROW_NUMBER() OVER (ORDER BY composition DESC, interest_id) AS top_rank, + ROW_NUMBER() OVER (ORDER BY composition ASC, interest_id) AS bottom_rank + FROM monthly_peaks + WHERE month_rank = 1 +), selected_interests AS ( + SELECT time, interest_name, composition, 1 AS sort_group, top_rank AS sort_rank + FROM ranked_interests + WHERE top_rank <= 10 + UNION ALL + SELECT time, interest_name, composition, 2 AS sort_group, bottom_rank AS sort_rank + FROM ranked_interests + WHERE bottom_rank <= 10 +) +SELECT time, interest_name, composition +FROM selected_interests +ORDER BY sort_group, sort_rank; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local081.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local081.sql new file mode 100644 index 00000000..e2846ea6 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local081.sql @@ -0,0 +1,19 @@ +WITH customer_spending AS ( + SELECT o.customerid, + COALESCE(SUM(od.unitprice * od.quantity), 0) AS total_spent + FROM orders AS o + LEFT JOIN order_details AS od ON od.orderid = o.orderid + WHERE o.orderdate >= '1998-01-01' + AND o.orderdate < '1999-01-01' + AND o.customerid IS NOT NULL + GROUP BY o.customerid +) +SELECT t.groupname AS spending_group, + COUNT(s.customerid) AS customer_count, + 100.0 * COUNT(s.customerid) / + NULLIF((SELECT COUNT(*) FROM customer_spending), 0) AS percentage_of_customers +FROM customergroupthreshold AS t +LEFT JOIN customer_spending AS s + ON s.total_spent BETWEEN t.rangebottom AND t.rangetop +GROUP BY t.groupname, t.rangebottom +ORDER BY t.rangebottom; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local085.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local085.sql new file mode 100644 index 00000000..1596b310 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local085.sql @@ -0,0 +1,15 @@ +WITH employee_order_counts AS ( + SELECT o.employeeid, + COUNT(*) AS total_orders, + SUM(CASE WHEN DATE(o.shippeddate) >= DATE(o.requireddate) THEN 1 ELSE 0 END) AS late_orders + FROM orders AS o + JOIN employees AS e ON e.employeeid = o.employeeid + GROUP BY o.employeeid + HAVING COUNT(*) > 50 +) +SELECT employeeid, + late_orders, + 100.0 * late_orders / total_orders AS late_order_percentage +FROM employee_order_counts +ORDER BY late_order_percentage DESC, employeeid +LIMIT 3; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local096.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local096.sql new file mode 100644 index 00000000..ea5d1902 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local096.sql @@ -0,0 +1,14 @@ +WITH female_only_casts AS ( + SELECT c.MID + FROM M_Cast AS c + LEFT JOIN Person AS p ON p.PID = TRIM(c.PID) + GROUP BY c.MID + HAVING MIN(CASE WHEN p.Gender = 'Female' THEN 1 ELSE 0 END) = 1 +) +SELECT CAST(SUBSTR(m.year, -4) AS INTEGER) AS year, + COUNT(*) AS total_movies, + 100.0 * COUNT(f.MID) / COUNT(*) AS percentage_exclusively_female +FROM Movie AS m +LEFT JOIN female_only_casts AS f ON f.MID = m.MID +GROUP BY CAST(SUBSTR(m.year, -4) AS INTEGER) +ORDER BY year; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local097.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local097.sql new file mode 100644 index 00000000..4fc43d3c --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local097.sql @@ -0,0 +1,15 @@ +WITH yearly_counts AS ( + SELECT CAST(SUBSTR(TRIM(year), -4) AS INTEGER) AS release_year, + COUNT(*) AS film_count + FROM Movie + GROUP BY release_year +) +SELECT s.release_year AS start_year, + SUM(y.film_count) AS total_count +FROM yearly_counts AS s +JOIN yearly_counts AS y + ON y.release_year >= s.release_year + AND y.release_year < s.release_year + 10 +GROUP BY s.release_year +ORDER BY total_count DESC, start_year ASC +LIMIT 1; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local098.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local098.sql new file mode 100644 index 00000000..17c9a523 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local098.sql @@ -0,0 +1,20 @@ +WITH appearance_years AS ( + SELECT DISTINCT + TRIM(c.PID) AS actor_id, + CAST(SUBSTR(TRIM(m.year), -4) AS INTEGER) AS film_year + FROM M_Cast AS c + JOIN Movie AS m ON m.MID = c.MID + WHERE TRIM(c.PID) <> '' + AND SUBSTR(TRIM(m.year), -4) GLOB '[0-9][0-9][0-9][0-9]' +), consecutive_appearances AS ( + SELECT actor_id, film_year, + LAG(film_year) OVER (PARTITION BY actor_id ORDER BY film_year) AS previous_year + FROM appearance_years +) +SELECT COUNT(*) AS actor_count +FROM ( + SELECT actor_id + FROM consecutive_appearances + GROUP BY actor_id + HAVING MAX(CASE WHEN film_year - previous_year > 4 THEN 1 ELSE 0 END) = 0 +) AS qualifying_actors; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local099.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local099.sql new file mode 100644 index 00000000..dae5b139 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local099.sql @@ -0,0 +1,22 @@ +WITH yash_chopra AS ( + SELECT DISTINCT TRIM(PID) AS director_id + FROM Person + WHERE TRIM(Name) = 'Yash Chopra' COLLATE NOCASE +), collaboration_counts AS ( + SELECT TRIM(c.PID) AS actor_id, + TRIM(d.PID) AS director_id, + COUNT(DISTINCT c.MID) AS film_count + FROM M_Cast AS c + JOIN M_Director AS d ON d.MID = c.MID + GROUP BY TRIM(c.PID), TRIM(d.PID) +) +SELECT COUNT(DISTINCT y.actor_id) AS actor_count +FROM collaboration_counts AS y +JOIN yash_chopra AS p ON p.director_id = y.director_id +WHERE NOT EXISTS ( + SELECT 1 + FROM collaboration_counts AS other + WHERE other.actor_id = y.actor_id + AND other.director_id <> y.director_id + AND other.film_count >= y.film_count +); diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local100.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local100.sql new file mode 100644 index 00000000..c21646ed --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local100.sql @@ -0,0 +1,23 @@ +WITH shahrukh AS ( + SELECT TRIM(PID) AS pid + FROM Person + WHERE TRIM(Name) = 'Shah Rukh Khan' +), cast_credits AS ( + SELECT MID, TRIM(PID) AS pid + FROM M_Cast + WHERE PID IS NOT NULL +), within_one_hop AS ( + SELECT DISTINCT coactor.pid + FROM shahrukh AS s + JOIN cast_credits AS starring ON starring.pid = s.pid + JOIN cast_credits AS coactor ON coactor.MID = starring.MID +), exactly_two_hops AS ( + SELECT candidate.pid + FROM within_one_hop AS w + JOIN cast_credits AS bridge ON bridge.pid = w.pid + JOIN cast_credits AS candidate ON candidate.MID = bridge.MID + EXCEPT + SELECT pid FROM within_one_hop +) +SELECT COUNT(*) AS actor_count +FROM exactly_two_hops; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local114.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local114.sql new file mode 100644 index 00000000..4c4a6010 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local114.sql @@ -0,0 +1,28 @@ +WITH rep_sales AS ( + SELECT sr.region_id, + sr.id AS rep_id, + sr.name AS rep_name, + COUNT(o.id) AS order_count, + SUM(o.total_amt_usd) AS rep_sales_amount + FROM web_sales_reps AS sr + JOIN web_accounts AS a ON a.sales_rep_id = sr.id + JOIN web_orders AS o ON o.account_id = a.id + GROUP BY sr.region_id, sr.id, sr.name +), region_sales AS ( + SELECT region_id, + SUM(order_count) AS order_count, + SUM(rep_sales_amount) AS total_sales_amount, + MAX(rep_sales_amount) AS highest_rep_sales_amount + FROM rep_sales + GROUP BY region_id +) +SELECT r.name AS region, + COALESCE(rs.order_count, 0) AS order_count, + rs.total_sales_amount, + s.rep_name AS top_sales_rep, + s.rep_sales_amount AS top_sales_rep_amount +FROM web_region AS r +LEFT JOIN region_sales AS rs ON rs.region_id = r.id +LEFT JOIN rep_sales AS s ON s.region_id = r.id + AND s.rep_sales_amount = rs.highest_rep_sales_amount +ORDER BY r.name, s.rep_name, s.rep_id; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local128.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local128.sql new file mode 100644 index 00000000..d453e07e --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local128.sql @@ -0,0 +1,31 @@ +WITH qualifying_games AS ( + SELECT s.BowlerID, + s.MatchID, + s.GameNumber, + s.HandiCapScore, + t.TourneyDate, + t.TourneyLocation + FROM Bowler_Scores AS s + JOIN Tourney_Matches AS m ON m.MatchID = s.MatchID + JOIN Tournaments AS t ON t.TourneyID = m.TourneyID + WHERE s.WonGame = 1 + AND s.HandiCapScore <= 190 + AND t.TourneyLocation IN ('Thunderbird Lanes', 'Totem Lanes', 'Bolero Lanes') +), qualifying_bowlers AS ( + SELECT BowlerID + FROM qualifying_games + GROUP BY BowlerID + HAVING COUNT(DISTINCT TourneyLocation) = 3 +) +SELECT b.BowlerID, + b.BowlerFirstName, + b.BowlerLastName, + g.MatchID, + g.GameNumber, + g.HandiCapScore, + g.TourneyDate, + g.TourneyLocation +FROM qualifying_games AS g +JOIN qualifying_bowlers AS q ON q.BowlerID = g.BowlerID +JOIN Bowlers AS b ON b.BowlerID = g.BowlerID +ORDER BY b.BowlerID, g.MatchID, g.GameNumber; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local130.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local130.sql new file mode 100644 index 00000000..84bb8569 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local130.sql @@ -0,0 +1,32 @@ +WITH completed_english AS ( + SELECT st.StudentID, st.StudLastName, ss.ClassID, ss.Grade + FROM Student_Schedules AS ss + JOIN Students AS st ON st.StudentID = ss.StudentID + JOIN Classes AS c ON c.ClassID = ss.ClassID + JOIN Subjects AS s ON s.SubjectID = c.SubjectID + WHERE ss.ClassStatus = 2 + AND s.CategoryID = 'ENG' +), student_total AS ( + SELECT COUNT(DISTINCT StudentID) AS student_count + FROM completed_english +), ranked AS ( + SELECT e.*, + 1.0 * ( + SELECT COUNT(DISTINCT peer.StudentID) + FROM completed_english AS peer + WHERE peer.Grade >= e.Grade + ) / t.student_count AS rank_fraction + FROM completed_english AS e + CROSS JOIN student_total AS t +) +SELECT StudLastName, + CASE + WHEN Grade IS NULL THEN NULL + WHEN rank_fraction <= 0.20 THEN 'First' + WHEN rank_fraction <= 0.40 THEN 'Second' + WHEN rank_fraction <= 0.60 THEN 'Third' + WHEN rank_fraction <= 0.80 THEN 'Fourth' + ELSE 'Fifth' + END AS Quintile +FROM ranked +ORDER BY Grade IS NULL, rank_fraction, Grade DESC, StudLastName, StudentID, ClassID; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local131.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local131.sql new file mode 100644 index 00000000..9aceb644 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local131.sql @@ -0,0 +1,9 @@ +SELECT + s.StyleName, + COUNT(CASE WHEN p.PreferenceSeq = 1 THEN 1 END) AS FirstPreferenceCount, + COUNT(CASE WHEN p.PreferenceSeq = 2 THEN 1 END) AS SecondPreferenceCount, + COUNT(CASE WHEN p.PreferenceSeq = 3 THEN 1 END) AS ThirdPreferenceCount +FROM Musical_Styles AS s +LEFT JOIN Musical_Preferences AS p ON p.StyleID = s.StyleID +GROUP BY s.StyleID, s.StyleName +ORDER BY s.StyleName, s.StyleID; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local132.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local132.sql new file mode 100644 index 00000000..fed4d081 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local132.sql @@ -0,0 +1,34 @@ +WITH MatchingPairs AS ( + SELECT DISTINCT es1.EntertainerID, mp1.CustomerID + FROM Entertainer_Styles AS es1 + JOIN Entertainer_Styles AS es2 + ON es2.EntertainerID = es1.EntertainerID + AND es2.StyleStrength = 2 + JOIN Musical_Preferences AS mp1 + ON mp1.PreferenceSeq = 1 + AND mp1.StyleID IN (es1.StyleID, es2.StyleID) + JOIN Musical_Preferences AS mp2 + ON mp2.CustomerID = mp1.CustomerID + AND mp2.PreferenceSeq = 2 + WHERE es1.StyleStrength = 1 + AND ( + (mp1.StyleID = es1.StyleID AND mp2.StyleID = es2.StyleID) + OR (mp1.StyleID = es2.StyleID AND mp2.StyleID = es1.StyleID) + ) + AND es1.EntertainerID IN ( + SELECT EntertainerID + FROM Entertainer_Styles + GROUP BY EntertainerID + HAVING COUNT(*) <= 3 + ) + AND mp1.CustomerID IN ( + SELECT CustomerID + FROM Musical_Preferences + GROUP BY CustomerID + HAVING COUNT(*) <= 3 + ) +) +SELECT e.EntStageName, c.CustLastName +FROM MatchingPairs AS p +JOIN Entertainers AS e ON e.EntertainerID = p.EntertainerID +JOIN Customers AS c ON c.CustomerID = p.CustomerID; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local133.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local133.sql new file mode 100644 index 00000000..799a57b1 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local133.sql @@ -0,0 +1,16 @@ +WITH style_scores AS ( + SELECT StyleID, + SUM(CASE PreferenceSeq + WHEN 1 THEN 3 + WHEN 2 THEN 2 + WHEN 3 THEN 1 + ELSE 0 + END) AS total_weighted_score + FROM Musical_Preferences + GROUP BY StyleID +) +SELECT ms.StyleName, + ss.total_weighted_score, + ABS(ss.total_weighted_score - AVG(ss.total_weighted_score) OVER ()) AS absolute_difference +FROM style_scores AS ss +JOIN Musical_Styles AS ms ON ms.StyleID = ss.StyleID; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local141.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local141.sql new file mode 100644 index 00000000..db800850 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local141.sql @@ -0,0 +1,22 @@ +WITH annual_sales AS ( + SELECT salespersonid AS salesperson_id, + CAST(strftime('%Y', orderdate) AS INTEGER) AS sales_year, + SUM(totaldue) AS total_sales + FROM salesorderheader + WHERE salespersonid IS NOT NULL + GROUP BY salespersonid, CAST(strftime('%Y', orderdate) AS INTEGER) +), annual_quotas AS ( + SELECT BusinessEntityID AS salesperson_id, + CAST(strftime('%Y', QuotaDate) AS INTEGER) AS sales_year, + SUM(SalesQuota) AS annual_quota + FROM SalesPersonQuotaHistory + GROUP BY BusinessEntityID, CAST(strftime('%Y', QuotaDate) AS INTEGER) +) +SELECT s.salesperson_id, + s.sales_year, + s.total_sales - q.annual_quota AS sales_minus_quota +FROM annual_sales AS s +LEFT JOIN annual_quotas AS q + ON q.salesperson_id = s.salesperson_id + AND q.sales_year = s.sales_year +ORDER BY s.salesperson_id, s.sales_year; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local152.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local152.sql new file mode 100644 index 00000000..b34c8deb --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local152.sql @@ -0,0 +1,35 @@ +WITH director_movies AS ( + SELECT + dm.name_id AS director_id, + m.id AS movie_id, + julianday(m.date_published) AS release_day, + m.duration, + r.avg_rating, + r.total_votes + FROM director_mapping AS dm + JOIN movies AS m ON m.id = dm.movie_id + LEFT JOIN ratings AS r ON r.movie_id = m.id +), release_gaps AS ( + SELECT + *, + release_day - LAG(release_day) OVER ( + PARTITION BY director_id + ORDER BY release_day, movie_id + ) AS days_since_previous_movie + FROM director_movies +) +SELECT + g.director_id, + n.name AS director_name, + COUNT(*) AS number_of_movies, + CAST(ROUND(AVG(g.days_since_previous_movie)) AS INTEGER) AS avg_inter_movie_days, + ROUND(AVG(g.avg_rating), 2) AS avg_rating, + SUM(g.total_votes) AS total_votes, + MIN(g.avg_rating) AS min_rating, + MAX(g.avg_rating) AS max_rating, + SUM(g.duration) AS total_movie_duration +FROM release_gaps AS g +LEFT JOIN names AS n ON n.id = g.director_id +GROUP BY g.director_id, n.name +ORDER BY number_of_movies DESC, total_movie_duration DESC, g.director_id +LIMIT 9; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local156.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local156.sql new file mode 100644 index 00000000..0999cdaa --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local156.sql @@ -0,0 +1,31 @@ +WITH annual_prices AS ( + SELECT + CAST(substr(t.txn_date, -4) AS INTEGER) AS purchase_year, + m.region, + SUM(t.quantity * p.price) / NULLIF(SUM(t.quantity), 0) AS avg_purchase_price + FROM bitcoin_transactions AS t + JOIN bitcoin_members AS m ON m.member_id = t.member_id + JOIN bitcoin_prices AS p ON p.ticker = t.ticker AND p.market_date = t.txn_date + WHERE t.ticker = 'BTC' AND t.txn_type = 'BUY' + GROUP BY CAST(substr(t.txn_date, -4) AS INTEGER), m.region +), regional_history AS ( + SELECT + purchase_year, + region, + avg_purchase_price, + LAG(purchase_year) OVER regional_years AS previous_year, + LAG(avg_purchase_price) OVER regional_years AS previous_avg_price + FROM annual_prices + WINDOW regional_years AS (PARTITION BY region ORDER BY purchase_year) +) +SELECT + purchase_year, + region, + avg_purchase_price, + RANK() OVER (PARTITION BY purchase_year ORDER BY avg_purchase_price DESC) AS price_rank, + CASE WHEN previous_year = purchase_year - 1 THEN + 100.0 * (avg_purchase_price - previous_avg_price) / NULLIF(previous_avg_price, 0) + END AS annual_pct_change +FROM regional_history +WHERE previous_year IS NOT NULL +ORDER BY purchase_year, price_rank, region; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local157.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local157.sql new file mode 100644 index 00000000..41b42881 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local157.sql @@ -0,0 +1,33 @@ +WITH parsed AS ( + SELECT ticker, + SUBSTR(market_date, 7, 4) || '-' || SUBSTR(market_date, 4, 2) || '-' || SUBSTR(market_date, 1, 2) AS market_date, + UPPER(TRIM(volume)) AS volume_text + FROM bitcoin_prices +), normalized AS ( + SELECT ticker, market_date, + CASE + WHEN volume_text = '-' THEN 0.0 + WHEN SUBSTR(volume_text, -1) = 'K' + THEN CAST(SUBSTR(volume_text, 1, LENGTH(volume_text) - 1) AS REAL) * 1000.0 + WHEN SUBSTR(volume_text, -1) = 'M' + THEN CAST(SUBSTR(volume_text, 1, LENGTH(volume_text) - 1) AS REAL) * 1000000.0 + ELSE CAST(volume_text AS REAL) + END AS trading_volume + FROM parsed + WHERE market_date < '2021-08-11' +), previous_dates AS ( + SELECT ticker, market_date, trading_volume, + MAX(CASE WHEN trading_volume <> 0 THEN market_date END) OVER ( + PARTITION BY ticker ORDER BY market_date + ROWS BETWEEN UNBOUNDED PRECEDING AND 1 PRECEDING + ) AS previous_nonzero_date + FROM normalized +) +SELECT d.ticker, + d.market_date, + 100.0 * (d.trading_volume - p.trading_volume) / p.trading_volume AS daily_volume_pct_change +FROM previous_dates AS d +LEFT JOIN normalized AS p + ON p.ticker = d.ticker AND p.market_date = d.previous_nonzero_date +WHERE d.market_date >= '2021-08-01' AND d.market_date < '2021-08-11' +ORDER BY d.ticker, d.market_date; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local163.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local163.sql new file mode 100644 index 00000000..8e046b7b --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local163.sql @@ -0,0 +1,13 @@ +WITH salary_distances AS ( + SELECT FacRank, FacFirstName, FacLastName, FacSalary, + ABS(FacSalary - AVG(FacSalary) OVER (PARTITION BY FacRank)) AS salary_distance + FROM university_faculty +), rank_minimums AS ( + SELECT FacRank, FacFirstName, FacLastName, FacSalary, salary_distance, + MIN(salary_distance) OVER (PARTITION BY FacRank) AS min_distance + FROM salary_distances +) +SELECT FacRank, FacFirstName, FacLastName, FacSalary +FROM rank_minimums +WHERE salary_distance = min_distance +ORDER BY FacRank, FacLastName, FacFirstName; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local167.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local167.sql new file mode 100644 index 00000000..5d7fc343 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local167.sql @@ -0,0 +1,29 @@ +WITH ranked_terms AS ( + SELECT t.id_bioguide, + t.state, + ROW_NUMBER() OVER ( + PARTITION BY t.id_bioguide + ORDER BY t.term_start, t.term_number, t.state + ) AS term_rank + FROM legislators_terms AS t + WHERE EXISTS ( + SELECT 1 + FROM legislators AS l + WHERE l.id_bioguide = t.id_bioguide + AND l.gender = 'F' + ) +) +SELECT r.state AS state_abbreviation, + COUNT(*) AS legislator_count +FROM ranked_terms AS r +WHERE r.term_rank = 1 + AND EXISTS ( + SELECT 1 + FROM legislators_terms AS t + WHERE t.id_bioguide = r.id_bioguide + AND date(t.term_start, 'start of year', '+1 year', '-1 day') + BETWEEN date(t.term_start) AND date(t.term_end) + ) +GROUP BY r.state +ORDER BY legislator_count DESC, state_abbreviation +LIMIT 1; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local168.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local168.sql new file mode 100644 index 00000000..922b1b76 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local168.sql @@ -0,0 +1,22 @@ +WITH eligible_jobs AS ( + SELECT job_id, salary_year_avg + FROM job_postings_fact + WHERE job_title_short = 'Data Analyst' + AND salary_year_avg IS NOT NULL + AND job_work_from_home = 1 +), top_skills AS ( + SELECT sj.skill_id + FROM skills_job_dim AS sj + JOIN eligible_jobs AS j ON j.job_id = sj.job_id + GROUP BY sj.skill_id + ORDER BY COUNT(DISTINCT sj.job_id) DESC, sj.skill_id + LIMIT 3 +) +SELECT AVG(j.salary_year_avg) AS overall_avg_salary +FROM eligible_jobs AS j +WHERE EXISTS ( + SELECT 1 + FROM skills_job_dim AS sj + JOIN top_skills AS ts ON ts.skill_id = sj.skill_id + WHERE sj.job_id = j.job_id +); diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local169.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local169.sql new file mode 100644 index 00000000..4ee01e0c --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local169.sql @@ -0,0 +1,27 @@ +WITH RECURSIVE periods(period) AS ( + SELECT 1 + UNION ALL + SELECT period + 1 FROM periods WHERE period < 20 +), +first_terms AS ( + SELECT id_bioguide, MIN(term_start) AS first_term_start + FROM legislators_terms + GROUP BY id_bioguide +), +cohort AS ( + SELECT id_bioguide, CAST(strftime('%Y', first_term_start) AS INTEGER) AS start_year + FROM first_terms + WHERE first_term_start >= '1917-01-01' + AND first_term_start < '2000-01-01' +) +SELECT p.period, + 1.0 * COUNT(DISTINCT t.id_bioguide) + / NULLIF((SELECT COUNT(*) FROM cohort), 0) AS retention_rate +FROM periods AS p +LEFT JOIN cohort AS c ON 1 = 1 +LEFT JOIN legislators_terms AS t + ON t.id_bioguide = c.id_bioguide + AND printf('%04d-12-31', c.start_year + p.period - 1) + BETWEEN t.term_start AND t.term_end +GROUP BY p.period +ORDER BY p.period; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local170.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local170.sql new file mode 100644 index 00000000..cfe9e706 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local170.sql @@ -0,0 +1,34 @@ +WITH first_terms AS ( + SELECT id_bioguide, state, term_start, + ROW_NUMBER() OVER ( + PARTITION BY id_bioguide ORDER BY term_start, term_number, term_id + ) AS term_order + FROM legislators_terms + WHERE term_start IS NOT NULL +), +intervals(years_after_start) AS ( + VALUES (0), (2), (4), (6), (8), (10) +), +checkpoints AS ( + SELECT f.id_bioguide, f.state, l.gender, i.years_after_start, + date(f.term_start, 'start of year', + printf('+%d years', i.years_after_start), '+1 year', '-1 day') AS dec_31 + FROM first_terms AS f + JOIN legislators AS l ON l.id_bioguide = f.id_bioguide + CROSS JOIN intervals AS i + WHERE f.term_order = 1 + AND f.state IS NOT NULL + AND l.gender IN ('M', 'F') +), +nonzero_retention AS ( + SELECT DISTINCT c.state, c.gender, c.years_after_start + FROM checkpoints AS c + JOIN legislators_terms AS t + ON t.id_bioguide = c.id_bioguide + AND c.dec_31 BETWEEN t.term_start AND t.term_end +) +SELECT state +FROM nonzero_retention +GROUP BY state +HAVING COUNT(*) = 12 +ORDER BY state; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local171.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local171.sql new file mode 100644 index 00000000..309c46c4 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local171.sql @@ -0,0 +1,23 @@ +WITH first_terms AS ( + SELECT id_bioguide, MIN(term_start) AS first_term_start + FROM legislators_terms + GROUP BY id_bioguide +), year_end_service AS ( + SELECT lt.id_bioguide, + CAST(strftime('%Y', d.date) AS INTEGER) + - CAST(strftime('%Y', ft.first_term_start) AS INTEGER) AS years_since_first_term + FROM legislators_terms AS lt + JOIN first_terms AS ft ON ft.id_bioguide = lt.id_bioguide + JOIN legislators AS l ON l.id_bioguide = lt.id_bioguide + JOIN legislation_date_dim AS d ON d.date BETWEEN lt.term_start AND lt.term_end + WHERE l.gender = 'M' + AND lt.state = 'LA' + AND d.month_name = 'December' + AND d.day_of_month = 31 +) +SELECT years_since_first_term, + COUNT(DISTINCT id_bioguide) AS legislator_count +FROM year_end_service +WHERE years_since_first_term > 30 AND years_since_first_term < 50 +GROUP BY years_since_first_term +ORDER BY years_since_first_term; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local193.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local193.sql new file mode 100644 index 00000000..fbe03734 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local193.sql @@ -0,0 +1,23 @@ +WITH purchases AS ( + SELECT customer_id, + amount, + unixepoch(payment_date) AS purchase_second + FROM payment +), timed_purchases AS ( + SELECT customer_id, + amount, + purchase_second - MIN(purchase_second) OVER (PARTITION BY customer_id) AS elapsed_seconds + FROM purchases +), customer_ltv AS ( + SELECT customer_id, + SUM(amount) AS total_ltv, + SUM(CASE WHEN elapsed_seconds < 7 * 86400 THEN amount ELSE 0 END) AS sales_7_days, + SUM(CASE WHEN elapsed_seconds < 30 * 86400 THEN amount ELSE 0 END) AS sales_30_days + FROM timed_purchases + GROUP BY customer_id + HAVING SUM(amount) <> 0 +) +SELECT AVG(100.0 * sales_7_days / total_ltv) AS avg_ltv_pct_first_7_days, + AVG(100.0 * sales_30_days / total_ltv) AS avg_ltv_pct_first_30_days, + AVG(total_ltv) AS avg_total_ltv +FROM customer_ltv; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local194.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local194.sql new file mode 100644 index 00000000..c56efe30 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local194.sql @@ -0,0 +1,33 @@ +WITH cast_members AS ( + SELECT DISTINCT film_id, actor_id + FROM film_actor +), cast_sizes AS ( + SELECT film_id, COUNT(*) AS actor_count + FROM cast_members + GROUP BY film_id +), film_revenues AS ( + SELECT f.film_id, f.title, + ROUND(TOTAL(p.amount), 2) AS total_revenue + FROM film AS f + LEFT JOIN inventory AS i ON i.film_id = f.film_id + LEFT JOIN rental AS r ON r.inventory_id = i.inventory_id + LEFT JOIN payment AS p ON p.rental_id = r.rental_id + GROUP BY f.film_id, f.title +), ranked_films AS ( + SELECT cm.actor_id, fr.title, + fr.total_revenue / cs.actor_count AS average_revenue_per_actor, + ROW_NUMBER() OVER ( + PARTITION BY cm.actor_id + ORDER BY fr.total_revenue DESC, fr.film_id + ) AS revenue_rank + FROM cast_members AS cm + JOIN cast_sizes AS cs ON cs.film_id = cm.film_id + JOIN film_revenues AS fr ON fr.film_id = cm.film_id +) +SELECT a.first_name || ' ' || a.last_name AS actor_name, + rf.title AS film_title, + rf.average_revenue_per_actor +FROM ranked_films AS rf +JOIN actor AS a ON a.actor_id = rf.actor_id +WHERE rf.revenue_rank <= 3 +ORDER BY a.last_name, a.first_name, a.actor_id, rf.revenue_rank; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local196.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local196.sql new file mode 100644 index 00000000..a5a5a34b --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local196.sql @@ -0,0 +1,33 @@ +WITH ranked_rental_payments AS ( + SELECT + p.customer_id, + r.inventory_id, + ROW_NUMBER() OVER ( + PARTITION BY p.customer_id + ORDER BY p.payment_date, p.payment_id + ) AS payment_rank + FROM payment AS p + JOIN rental AS r + ON r.rental_id = p.rental_id + AND r.customer_id = p.customer_id +), customer_spending AS ( + SELECT customer_id, SUM(amount) AS total_amount_spent + FROM payment + GROUP BY customer_id +), customer_rentals AS ( + SELECT customer_id, COUNT(*) - 1 AS subsequent_rentals + FROM rental + GROUP BY customer_id +) +SELECT + f.rating, + AVG(s.total_amount_spent) AS avg_total_amount_spent, + AVG(cr.subsequent_rentals) AS avg_subsequent_rentals +FROM ranked_rental_payments AS rp +JOIN inventory AS i ON i.inventory_id = rp.inventory_id +JOIN film AS f ON f.film_id = i.film_id +JOIN customer_spending AS s ON s.customer_id = rp.customer_id +JOIN customer_rentals AS cr ON cr.customer_id = rp.customer_id +WHERE rp.payment_rank = 1 +GROUP BY f.rating +ORDER BY f.rating; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local197.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local197.sql new file mode 100644 index 00000000..536c0bc0 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local197.sql @@ -0,0 +1,37 @@ +WITH monthly_payments AS ( + SELECT customer_id, + DATE(payment_date, 'start of month') AS payment_month, + SUM(CAST(ROUND(amount * 100) AS INTEGER)) AS total_cents + FROM payment + GROUP BY customer_id, DATE(payment_date, 'start of month') +), top_customers AS ( + SELECT customer_id + FROM monthly_payments + GROUP BY customer_id + ORDER BY SUM(total_cents) DESC, customer_id + LIMIT 10 +), monthly_comparison AS ( + SELECT m.customer_id, + m.payment_month, + m.total_cents, + LAG(m.payment_month) OVER customer_months AS previous_month, + LAG(m.total_cents) OVER customer_months AS previous_total_cents + FROM monthly_payments AS m + JOIN top_customers AS t ON t.customer_id = m.customer_id + WINDOW customer_months AS ( + PARTITION BY m.customer_id ORDER BY m.payment_month + ) +), differences AS ( + SELECT customer_id, + payment_month, + ABS(total_cents - previous_total_cents) AS difference_cents + FROM monthly_comparison + WHERE payment_month = DATE(previous_month, '+1 month') +) +SELECT c.first_name || ' ' || c.last_name AS customer_name, + STRFTIME('%Y-%m', d.payment_month) AS payment_month, + ROUND(d.difference_cents / 100.0, 2) AS payment_difference +FROM differences AS d +JOIN customer AS c ON c.customer_id = d.customer_id +WHERE d.difference_cents = (SELECT MAX(difference_cents) FROM differences) +ORDER BY d.payment_month, c.customer_id; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local198.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local198.sql new file mode 100644 index 00000000..2dd7d7f1 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local198.sql @@ -0,0 +1,20 @@ +WITH eligible_countries AS ( + SELECT Country + FROM customers + GROUP BY Country + HAVING COUNT(*) > 4 +), country_sales AS ( + SELECT c.Country, ROUND(SUM(i.Total), 2) AS total_sales + FROM eligible_countries AS e + JOIN customers AS c ON c.Country = e.Country + JOIN invoices AS i ON i.CustomerId = c.CustomerId + GROUP BY c.Country +), ranked_sales AS ( + SELECT total_sales, + ROW_NUMBER() OVER (ORDER BY total_sales) AS rn, + COUNT(*) OVER () AS country_count + FROM country_sales +) +SELECT ROUND(AVG(total_sales), 3) AS median_total_sales +FROM ranked_sales +WHERE rn IN ((country_count + 1) / 2, (country_count + 2) / 2); diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local199.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local199.sql new file mode 100644 index 00000000..a9b297f0 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local199.sql @@ -0,0 +1,18 @@ +WITH monthly_rentals AS ( + SELECT s.store_id, + CAST(strftime('%Y', r.rental_date) AS INTEGER) AS year, + CAST(strftime('%m', r.rental_date) AS INTEGER) AS month, + COUNT(*) AS total_rentals + FROM rental AS r + JOIN staff AS st ON st.staff_id = r.staff_id + JOIN store AS s ON s.store_id = st.store_id + GROUP BY s.store_id, year, month +), ranked_months AS ( + SELECT store_id, year, month, total_rentals, + RANK() OVER (PARTITION BY store_id ORDER BY total_rentals DESC) AS rental_rank + FROM monthly_rentals +) +SELECT store_id, year, month, total_rentals +FROM ranked_months +WHERE rental_rank = 1 +ORDER BY store_id, year, month; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local201.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local201.sql new file mode 100644 index 00000000..02ccaf14 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local201.sql @@ -0,0 +1,27 @@ +WITH dictionary AS ( + SELECT DISTINCT words COLLATE BINARY AS word + FROM word_list + WHERE length(words) BETWEEN 4 AND 5 +), positions(pos) AS ( + VALUES (1), (2), (3), (4), (5) +), signatures AS ( + SELECT word, pos, + group_concat(substr(word, pos, 1), '') OVER ( + PARTITION BY word COLLATE BINARY + ORDER BY substr(word, pos, 1) COLLATE BINARY + ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING + ) AS signature + FROM dictionary + JOIN positions ON pos <= length(word) +), counts AS ( + SELECT word, + count(*) OVER (PARTITION BY signature COLLATE BINARY) - 1 AS anagram_count + FROM signatures + WHERE pos = 1 +) +SELECT word, anagram_count +FROM counts +WHERE substr(word, 1, 1) COLLATE BINARY = 'r' + AND anagram_count > 0 +ORDER BY word COLLATE BINARY +LIMIT 10; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local209.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local209.sql new file mode 100644 index 00000000..8e5bc3de --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local209.sql @@ -0,0 +1,21 @@ +WITH store_totals AS ( + SELECT s.store_id, s.store_name, COUNT(*) AS total_orders + FROM orders AS o + JOIN stores AS s ON s.store_id = o.store_id + GROUP BY s.store_id, s.store_name +), top_stores AS ( + SELECT store_id, store_name, total_orders + FROM store_totals + WHERE total_orders = (SELECT MAX(total_orders) FROM store_totals) +), delivered AS ( + SELECT DISTINCT delivery_order_id + FROM deliveries + WHERE delivery_status = 'DELIVERED' +) +SELECT t.store_name, + 1.0 * COUNT(d.delivery_order_id) / t.total_orders AS delivered_order_ratio +FROM top_stores AS t +JOIN orders AS o ON o.store_id = t.store_id +LEFT JOIN delivered AS d ON d.delivery_order_id = o.delivery_order_id +GROUP BY t.store_id, t.store_name, t.total_orders +ORDER BY t.store_id; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local210.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local210.sql new file mode 100644 index 00000000..5080e939 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local210.sql @@ -0,0 +1,18 @@ +WITH hub_order_counts AS ( + SELECT + h.hub_id, + h.hub_name, + COUNT(CASE WHEN o.order_created_month = 2 THEN 1 END) AS february_orders, + COUNT(CASE WHEN o.order_created_month = 3 THEN 1 END) AS march_orders + FROM orders AS o + JOIN stores AS s ON s.store_id = o.store_id + JOIN hubs AS h ON h.hub_id = s.hub_id + WHERE o.order_status = 'FINISHED' + AND o.order_created_month IN (2, 3) + GROUP BY h.hub_id, h.hub_name +) +SELECT hub_name +FROM hub_order_counts +WHERE february_orders > 0 + AND 5 * march_orders > 6 * february_orders +ORDER BY hub_name; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local218.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local218.sql new file mode 100644 index 00000000..86e380e2 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local218.sql @@ -0,0 +1,23 @@ +WITH match_goals AS ( + SELECT season, home_team_api_id AS team_api_id, home_team_goal AS goals + FROM "Match" + UNION ALL + SELECT season, away_team_api_id AS team_api_id, away_team_goal AS goals + FROM "Match" +), season_totals AS ( + SELECT team_api_id, season, SUM(goals) AS season_goals + FROM match_goals + GROUP BY team_api_id, season +), team_peaks AS ( + SELECT team_api_id, MAX(season_goals) AS highest_season_goals + FROM season_totals + GROUP BY team_api_id +), ranked AS ( + SELECT highest_season_goals, + ROW_NUMBER() OVER (ORDER BY highest_season_goals) AS rn, + COUNT(*) OVER () AS n + FROM team_peaks +) +SELECT AVG(highest_season_goals) AS median_highest_season_goals +FROM ranked +WHERE rn IN ((n + 1) / 2, (n + 2) / 2); diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local219.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local219.sql new file mode 100644 index 00000000..5c368981 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local219.sql @@ -0,0 +1,26 @@ +WITH appearances AS ( + SELECT league_id, home_team_api_id AS team_api_id, + CASE WHEN home_team_goal > away_team_goal THEN 1 ELSE 0 END AS won + FROM "Match" + UNION ALL + SELECT league_id, away_team_api_id AS team_api_id, + CASE WHEN away_team_goal > home_team_goal THEN 1 ELSE 0 END AS won + FROM "Match" +), win_totals AS ( + SELECT league_id, team_api_id, SUM(won) AS total_wins + FROM appearances + GROUP BY league_id, team_api_id +), ranked AS ( + SELECT w.league_id, t.team_long_name AS team_name, w.total_wins, + ROW_NUMBER() OVER ( + PARTITION BY w.league_id + ORDER BY w.total_wins, w.team_api_id, t.id + ) AS league_rank + FROM win_totals AS w + JOIN Team AS t ON t.team_api_id = w.team_api_id +) +SELECT l.name AS league_name, r.team_name, r.total_wins +FROM ranked AS r +JOIN League AS l ON l.id = r.league_id +WHERE r.league_rank = 1 +ORDER BY l.name, l.id; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local220.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local220.sql new file mode 100644 index 00000000..a201b30f --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local220.sql @@ -0,0 +1,51 @@ +WITH slots(slot) AS ( + VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11), + (12), (13), (14), (15), (16), (17), (18), (19), (20), (21), (22) +), appearances AS ( + SELECT m.id AS match_id, + CASE s.slot + WHEN 1 THEN m.home_player_1 + WHEN 2 THEN m.home_player_2 + WHEN 3 THEN m.home_player_3 + WHEN 4 THEN m.home_player_4 + WHEN 5 THEN m.home_player_5 + WHEN 6 THEN m.home_player_6 + WHEN 7 THEN m.home_player_7 + WHEN 8 THEN m.home_player_8 + WHEN 9 THEN m.home_player_9 + WHEN 10 THEN m.home_player_10 + WHEN 11 THEN m.home_player_11 + WHEN 12 THEN m.away_player_1 + WHEN 13 THEN m.away_player_2 + WHEN 14 THEN m.away_player_3 + WHEN 15 THEN m.away_player_4 + WHEN 16 THEN m.away_player_5 + WHEN 17 THEN m.away_player_6 + WHEN 18 THEN m.away_player_7 + WHEN 19 THEN m.away_player_8 + WHEN 20 THEN m.away_player_9 + WHEN 21 THEN m.away_player_10 + WHEN 22 THEN m.away_player_11 + END AS player_api_id, + CASE + WHEN s.slot <= 11 AND m.home_team_goal > m.away_team_goal THEN 'Win' + WHEN s.slot > 11 AND m.away_team_goal > m.home_team_goal THEN 'Win' + ELSE 'Loss' + END AS outcome + FROM "Match" AS m + CROSS JOIN slots AS s + WHERE m.home_team_goal <> m.away_team_goal +), ranked AS ( + SELECT player_api_id, outcome, + DENSE_RANK() OVER ( + PARTITION BY outcome ORDER BY COUNT(DISTINCT match_id) DESC + ) AS outcome_rank + FROM appearances + WHERE player_api_id IS NOT NULL + GROUP BY player_api_id, outcome +) +SELECT r.outcome, p.player_name +FROM ranked AS r +JOIN Player AS p ON p.player_api_id = r.player_api_id +WHERE r.outcome_rank = 1 +ORDER BY r.outcome DESC, p.player_name; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local221.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local221.sql new file mode 100644 index 00000000..1cc7eb31 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local221.sql @@ -0,0 +1,15 @@ +WITH match_winners AS ( + SELECT home_team_api_id AS team_api_id + FROM "Match" + WHERE home_team_goal > away_team_goal + UNION ALL + SELECT away_team_api_id AS team_api_id + FROM "Match" + WHERE away_team_goal > home_team_goal +) +SELECT t.team_long_name AS team, COUNT(w.team_api_id) AS wins +FROM Team AS t +LEFT JOIN match_winners AS w ON w.team_api_id = t.team_api_id +GROUP BY t.team_api_id, t.team_long_name +ORDER BY wins DESC, team ASC, t.team_api_id ASC +LIMIT 10; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local228.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local228.sql new file mode 100644 index 00000000..ffe41bad --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local228.sql @@ -0,0 +1,38 @@ +WITH batting_totals AS ( + SELECT m.season_id, b.striker AS player_id, SUM(s.runs_scored) AS total_runs + FROM batsman_scored AS s + JOIN ball_by_ball AS b USING (match_id, innings_no, over_id, ball_id) + JOIN "match" AS m ON m.match_id = b.match_id + GROUP BY m.season_id, b.striker +), bowling_totals AS ( + SELECT m.season_id, b.bowler AS player_id, COUNT(*) AS total_wickets + FROM wicket_taken AS w + JOIN ball_by_ball AS b USING (match_id, innings_no, over_id, ball_id) + JOIN "match" AS m ON m.match_id = b.match_id + WHERE LOWER(TRIM(w.kind_out)) NOT IN ('run out', 'hit wicket', 'retired hurt') + GROUP BY m.season_id, b.bowler +), ranked_batsmen AS ( + SELECT season_id, player_id, total_runs, + ROW_NUMBER() OVER ( + PARTITION BY season_id ORDER BY total_runs DESC, player_id ASC + ) AS position + FROM batting_totals +), ranked_bowlers AS ( + SELECT season_id, player_id, total_wickets, + ROW_NUMBER() OVER ( + PARTITION BY season_id ORDER BY total_wickets DESC, player_id ASC + ) AS position + FROM bowling_totals +) +SELECT bat.season_id, + batter.player_name AS batsman_name, + bat.total_runs, + bowler.player_name AS bowler_name, + bowl.total_wickets +FROM ranked_batsmen AS bat +JOIN ranked_bowlers AS bowl + ON bowl.season_id = bat.season_id AND bowl.position = bat.position +JOIN player AS batter ON batter.player_id = bat.player_id +JOIN player AS bowler ON bowler.player_id = bowl.player_id +WHERE bat.position <= 3 +ORDER BY bat.season_id ASC, bat.position ASC; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local229.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local229.sql new file mode 100644 index 00000000..b913fc18 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local229.sql @@ -0,0 +1,36 @@ +WITH deliveries AS ( + SELECT b.match_id, + b.innings_no, + MIN(b.striker, b.non_striker) AS batter_a, + MAX(b.striker, b.non_striker) AS batter_b, + b.striker, + s.runs_scored + FROM ball_by_ball AS b + LEFT JOIN batsman_scored AS s + USING (match_id, innings_no, over_id, ball_id) +), pair_scores AS ( + SELECT match_id, + batter_a, + batter_b, + SUM(CASE WHEN striker = batter_a THEN COALESCE(runs_scored, 0) ELSE 0 END) AS score_a, + SUM(CASE WHEN striker = batter_b THEN COALESCE(runs_scored, 0) ELSE 0 END) AS score_b + FROM deliveries + GROUP BY match_id, innings_no, batter_a, batter_b +), ranked AS ( + SELECT *, + score_a + score_b AS partnership_score, + DENSE_RANK() OVER ( + PARTITION BY match_id + ORDER BY score_a + score_b DESC + ) AS partnership_rank + FROM pair_scores +) +SELECT match_id, + CASE WHEN score_a > score_b THEN batter_a ELSE batter_b END AS player_1, + CASE WHEN score_a > score_b THEN batter_b ELSE batter_a END AS player_2, + MAX(score_a, score_b) AS player_1_score, + MIN(score_a, score_b) AS player_2_score, + partnership_score +FROM ranked +WHERE partnership_rank = 1 +ORDER BY match_id, player_1, player_2; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local230.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local230.sql new file mode 100644 index 00000000..fa58e930 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local230.sql @@ -0,0 +1,21 @@ +WITH highly_rated_movie_genres AS ( + SELECT g.movie_id, g.genre + FROM genre AS g + JOIN ratings AS r ON r.movie_id = g.movie_id + WHERE r.avg_rating > 8 +), top_genres AS ( + SELECT genre + FROM highly_rated_movie_genres + GROUP BY genre + ORDER BY COUNT(DISTINCT movie_id) DESC, genre ASC + LIMIT 3 +) +SELECT n.name AS director_name, + COUNT(DISTINCT dm.movie_id) AS movie_count +FROM highly_rated_movie_genres AS hg +JOIN top_genres AS tg ON tg.genre = hg.genre +JOIN director_mapping AS dm ON dm.movie_id = hg.movie_id +JOIN names AS n ON n.id = dm.name_id +GROUP BY n.id, n.name +ORDER BY movie_count DESC, director_name ASC, n.id ASC +LIMIT 4; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local244.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local244.sql new file mode 100644 index 00000000..9e25259d --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local244.sql @@ -0,0 +1,27 @@ +WITH duration_bounds AS ( + SELECT (MIN(Milliseconds) + AVG(Milliseconds)) / 2.0 AS short_max_ms, + (AVG(Milliseconds) + MAX(Milliseconds)) / 2.0 AS medium_max_ms + FROM Track +), classified_tracks AS ( + SELECT t.TrackId, + t.Milliseconds / 60000.0 AS duration_minutes, + CASE + WHEN t.Milliseconds <= b.short_max_ms THEN 'Short' + WHEN t.Milliseconds <= b.medium_max_ms THEN 'Medium' + ELSE 'Long' + END AS category + FROM Track AS t + CROSS JOIN duration_bounds AS b +), track_revenue AS ( + SELECT TrackId, SUM(UnitPrice * Quantity) AS revenue + FROM InvoiceLine + GROUP BY TrackId +) +SELECT c.category, + MIN(c.duration_minutes) AS min_minutes, + MAX(c.duration_minutes) AS max_minutes, + ROUND(SUM(r.revenue), 2) AS total_revenue +FROM classified_tracks AS c +LEFT JOIN track_revenue AS r ON r.TrackId = c.TrackId +GROUP BY c.category +ORDER BY min_minutes; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local253.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local253.sql new file mode 100644 index 00000000..1b7d5116 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local253.sql @@ -0,0 +1,53 @@ +WITH RECURSIVE salary_characters (Location, CompanyName, remaining, digits) AS ( + SELECT Location, CompanyName, COALESCE(Salary, ''), '' + FROM SalaryDataset + + UNION ALL + + SELECT Location, + CompanyName, + SUBSTR(remaining, 2), + digits || CASE + WHEN SUBSTR(remaining, 1, 1) GLOB '[0-9]' + THEN SUBSTR(remaining, 1, 1) + ELSE '' + END + FROM salary_characters + WHERE remaining <> '' +), +cleaned_salaries AS ( + SELECT Location, + CompanyName, + CAST(NULLIF(digits, '') AS REAL) AS salary_amount + FROM salary_characters + WHERE remaining = '' +), +national_average AS ( + SELECT AVG(salary_amount) AS country_average + FROM cleaned_salaries +), +city_company_averages AS ( + SELECT Location, CompanyName, AVG(salary_amount) AS city_company_average + FROM cleaned_salaries + WHERE Location IN ('Mumbai', 'Pune', 'New Delhi', 'Hyderabad') + GROUP BY Location, CompanyName + HAVING COUNT(salary_amount) > 0 +), +ranked_companies AS ( + SELECT Location, + CompanyName, + city_company_average, + ROW_NUMBER() OVER ( + PARTITION BY Location + ORDER BY city_company_average DESC, CompanyName ASC + ) AS city_rank + FROM city_company_averages +) +SELECT r.Location AS "Location", + r.CompanyName AS "Company Name", + r.city_company_average AS "Average Salary in State", + n.country_average AS "Average Salary in Country" +FROM ranked_companies AS r +CROSS JOIN national_average AS n +WHERE r.city_rank <= 5 +ORDER BY r.Location, r.city_rank; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local258.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local258.sql new file mode 100644 index 00000000..5f11c157 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local258.sql @@ -0,0 +1,40 @@ +WITH match_bowling AS ( + SELECT + b.bowler, + b.match_id, + SUM(CASE WHEN w.kind_out IN ( + 'bowled', 'caught', 'caught and bowled', 'lbw', 'stumped', 'hit wicket' + ) THEN 1 ELSE 0 END) AS wickets, + SUM(COALESCE(s.runs_scored, 0)) AS runs_conceded, + SUM(CASE WHEN e.extra_type IN ('wides', 'noballs') + THEN 0 ELSE 1 END) AS legal_balls + FROM ball_by_ball AS b + LEFT JOIN batsman_scored AS s USING (match_id, innings_no, over_id, ball_id) + LEFT JOIN wicket_taken AS w USING (match_id, innings_no, over_id, ball_id) + LEFT JOIN extra_runs AS e USING (match_id, innings_no, over_id, ball_id) + WHERE b.bowler IS NOT NULL + GROUP BY b.bowler, b.match_id +), ranked AS ( + SELECT + bowler, + wickets, + runs_conceded, + SUM(wickets) OVER (PARTITION BY bowler) AS total_wickets, + SUM(runs_conceded) OVER (PARTITION BY bowler) AS total_runs, + SUM(legal_balls) OVER (PARTITION BY bowler) AS total_balls, + ROW_NUMBER() OVER ( + PARTITION BY bowler + ORDER BY wickets DESC, runs_conceded ASC, match_id ASC + ) AS match_rank + FROM match_bowling +) +SELECT + COALESCE(p.player_name, CAST(r.bowler AS TEXT)) AS bowler, + r.total_wickets, + 6.0 * r.total_runs / NULLIF(r.total_balls, 0) AS economy_rate, + 1.0 * r.total_balls / NULLIF(r.total_wickets, 0) AS strike_rate, + r.wickets || '-' || r.runs_conceded AS best_bowling_performance +FROM ranked AS r +LEFT JOIN player AS p ON p.player_id = r.bowler +WHERE r.match_rank = 1 +ORDER BY r.total_wickets DESC, bowler ASC; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local259.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local259.sql new file mode 100644 index 00000000..888a52d3 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local259.sql @@ -0,0 +1,101 @@ +WITH role_counts AS ( + SELECT player_id, role, COUNT(DISTINCT match_id) AS role_matches + FROM player_match + GROUP BY player_id, role +), +ranked_roles AS ( + SELECT player_id, role, + SUM(role_matches) OVER (PARTITION BY player_id) AS total_matches_played, + ROW_NUMBER() OVER ( + PARTITION BY player_id ORDER BY role_matches DESC, role + ) AS role_rank + FROM role_counts +), +deliveries AS ( + SELECT b.match_id, b.innings_no, b.over_id, b.ball_id, + b.striker, b.non_striker, b.bowler, + COALESCE(s.runs_scored, 0) AS runs_scored + FROM ball_by_ball AS b + LEFT JOIN batsman_scored AS s + USING (match_id, innings_no, over_id, ball_id) +), +batting_contributions AS ( + SELECT striker AS player_id, match_id, + SUM(runs_scored) AS runs, COUNT(*) AS balls_faced + FROM deliveries + GROUP BY striker, match_id + UNION ALL + SELECT non_striker AS player_id, match_id, 0 AS runs, 0 AS balls_faced + FROM deliveries + GROUP BY non_striker, match_id +), +batting_by_match AS ( + SELECT player_id, match_id, + SUM(runs) AS runs, SUM(balls_faced) AS balls_faced + FROM batting_contributions + GROUP BY player_id, match_id +), +batting_totals AS ( + SELECT player_id, + SUM(runs) AS total_runs, + MAX(runs) AS highest_score, + COUNT(CASE WHEN runs >= 30 THEN 1 END) AS matches_30_plus, + COUNT(CASE WHEN runs >= 50 THEN 1 END) AS matches_50_plus, + COUNT(CASE WHEN runs >= 100 THEN 1 END) AS matches_100_plus, + SUM(balls_faced) AS total_balls_faced + FROM batting_by_match + GROUP BY player_id +), +dismissals AS ( + SELECT player_out AS player_id, COUNT(*) AS total_dismissals + FROM wicket_taken + WHERE kind_out <> 'retired hurt' + GROUP BY player_out +), +bowling_by_match AS ( + SELECT d.bowler AS player_id, d.match_id, + SUM(d.runs_scored) AS runs_conceded, + COUNT(*) AS balls_bowled, + COUNT(CASE WHEN w.kind_out IN ( + 'bowled', 'caught', 'caught and bowled', 'hit wicket', 'lbw', 'stumped' + ) THEN 1 END) AS wickets + FROM deliveries AS d + LEFT JOIN wicket_taken AS w + USING (match_id, innings_no, over_id, ball_id) + GROUP BY d.bowler, d.match_id +), +ranked_bowling AS ( + SELECT player_id, wickets, runs_conceded, + SUM(wickets) OVER (PARTITION BY player_id) AS total_wickets, + 6.0 * SUM(runs_conceded) OVER (PARTITION BY player_id) + / NULLIF(SUM(balls_bowled) OVER (PARTITION BY player_id), 0) AS economy_rate, + ROW_NUMBER() OVER ( + PARTITION BY player_id + ORDER BY wickets DESC, runs_conceded ASC, match_id + ) AS bowling_rank + FROM bowling_by_match +) +SELECT p.player_id, + p.player_name, + r.role AS most_frequent_role, + p.batting_hand, + p.bowling_skill, + COALESCE(b.total_runs, 0) AS total_runs, + COALESCE(r.total_matches_played, 0) AS total_matches_played, + COALESCE(d.total_dismissals, 0) AS total_dismissals, + 1.0 * COALESCE(b.total_runs, 0) / NULLIF(d.total_dismissals, 0) AS batting_average, + b.highest_score, + COALESCE(b.matches_30_plus, 0) AS matches_30_plus, + COALESCE(b.matches_50_plus, 0) AS matches_50_plus, + COALESCE(b.matches_100_plus, 0) AS matches_100_plus, + COALESCE(b.total_balls_faced, 0) AS total_balls_faced, + 100.0 * b.total_runs / NULLIF(b.total_balls_faced, 0) AS strike_rate, + COALESCE(w.total_wickets, 0) AS total_wickets, + w.economy_rate, + w.wickets || '-' || w.runs_conceded AS best_bowling_performance +FROM player AS p +LEFT JOIN ranked_roles AS r ON r.player_id = p.player_id AND r.role_rank = 1 +LEFT JOIN batting_totals AS b ON b.player_id = p.player_id +LEFT JOIN dismissals AS d ON d.player_id = p.player_id +LEFT JOIN ranked_bowling AS w ON w.player_id = p.player_id AND w.bowling_rank = 1 +ORDER BY p.player_id; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local262.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local262.sql new file mode 100644 index 00000000..ee1c9730 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local262.sql @@ -0,0 +1,28 @@ +WITH non_stack_max AS ( + SELECT name, version, step, MAX(test_score) AS max_test_score + FROM model_score + WHERE model <> 'Stack' AND step IN (1, 2, 3) + GROUP BY name, version, step +), stack_wins AS ( + SELECT n.name, COUNT(*) AS win_count + FROM non_stack_max AS n + WHERE EXISTS ( + SELECT 1 + FROM model_score AS s + WHERE s.name = n.name + AND s.version = n.version + AND s.step = n.step + AND s.model = 'Stack' + AND s.test_score > n.max_test_score + ) + GROUP BY n.name +) +SELECT p.name +FROM problem AS p +JOIN stack_wins AS w ON w.name = p.name +WHERE w.win_count > ( + SELECT COUNT(*) + FROM solution AS sol + WHERE sol.name = p.name +) +ORDER BY p.name; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local263.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local263.sql new file mode 100644 index 00000000..153fc0f2 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local263.sql @@ -0,0 +1,16 @@ +WITH model_statuses AS ( + SELECT DISTINCT name, version, L1_model, status + FROM stack_ok +), status_counts AS ( + SELECT status, L1_model, COUNT(*) AS occurrence_count + FROM model_statuses + GROUP BY status, L1_model +), ranked AS ( + SELECT status, L1_model, occurrence_count, + DENSE_RANK() OVER (PARTITION BY status ORDER BY occurrence_count DESC) AS status_rank + FROM status_counts +) +SELECT status, L1_model, occurrence_count +FROM ranked +WHERE status_rank = 1 +ORDER BY status, L1_model; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local264.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local264.sql new file mode 100644 index 00000000..1a5b06d3 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local264.sql @@ -0,0 +1,5 @@ +SELECT L1_model, COUNT(*) AS total_occurrences +FROM stack_ok +GROUP BY L1_model +ORDER BY total_occurrences DESC, L1_model +LIMIT 1; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local269.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local269.sql new file mode 100644 index 00000000..05df55ed --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local269.sql @@ -0,0 +1,27 @@ +WITH RECURSIVE final_combinations AS ( + SELECT p.id + FROM packaging AS p + WHERE EXISTS ( + SELECT 1 FROM packaging_relations AS r WHERE r.packaging_id = p.id + ) + AND NOT EXISTS ( + SELECT 1 FROM packaging_relations AS r WHERE r.contains_id = p.id + ) +), expanded(root_id, item_id, quantity) AS ( + SELECT f.id, r.contains_id, r.qty + FROM final_combinations AS f + JOIN packaging_relations AS r ON r.packaging_id = f.id + UNION ALL + SELECT e.root_id, r.contains_id, e.quantity * r.qty + FROM expanded AS e + JOIN packaging_relations AS r ON r.packaging_id = e.item_id +), combination_totals AS ( + SELECT e.root_id, SUM(e.quantity) AS total_quantity + FROM expanded AS e + WHERE NOT EXISTS ( + SELECT 1 FROM packaging_relations AS r WHERE r.packaging_id = e.item_id + ) + GROUP BY e.root_id +) +SELECT AVG(total_quantity) AS average_total_quantity +FROM combination_totals; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local270.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local270.sql new file mode 100644 index 00000000..4f7c7a79 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local270.sql @@ -0,0 +1,26 @@ +WITH RECURSIVE contents (container_id, item_id, quantity) AS ( + SELECT p.id, r.contains_id, r.qty + FROM packaging AS p + JOIN packaging_relations AS r ON r.packaging_id = p.id + WHERE NOT EXISTS ( + SELECT 1 + FROM packaging_relations AS parent + WHERE parent.contains_id = p.id + ) + + UNION ALL + + SELECT c.container_id, r.contains_id, c.quantity * r.qty + FROM contents AS c + JOIN packaging_relations AS r ON r.packaging_id = c.item_id +), qualifying_items AS ( + SELECT container_id, item_id + FROM contents + GROUP BY container_id, item_id + HAVING SUM(quantity) > 500 +) +SELECT container.name AS container_name, item.name AS item_name +FROM qualifying_items AS q +JOIN packaging AS container ON container.id = q.container_id +JOIN packaging AS item ON item.id = q.item_id +ORDER BY container_name, item_name; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local272.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local272.sql new file mode 100644 index 00000000..50aa9da3 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local272.sql @@ -0,0 +1,43 @@ +WITH order_demand AS ( + SELECT id AS order_line_id, + product_id, + COALESCE(SUM(qty) OVER ( + PARTITION BY product_id ORDER BY id + ROWS BETWEEN UNBOUNDED PRECEDING AND 1 PRECEDING + ), 0) AS demand_start, + SUM(qty) OVER ( + PARTITION BY product_id ORDER BY id + ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW + ) AS demand_end + FROM orderlines + WHERE order_id = 423 +), warehouse_supply AS ( + SELECT i.product_id, + l.id AS location_id, + l.aisle, + l.position, + COALESCE(SUM(i.qty) OVER ( + fifo ROWS BETWEEN UNBOUNDED PRECEDING AND 1 PRECEDING + ), 0) AS supply_start, + SUM(i.qty) OVER ( + fifo ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW + ) AS supply_end + FROM inventory AS i + JOIN locations AS l ON l.id = i.location_id + JOIN purchases AS p ON p.id = i.purchase_id + WHERE l.warehouse = 1 + AND i.qty > 0 + AND i.product_id IN (SELECT product_id FROM order_demand) + WINDOW fifo AS (PARTITION BY i.product_id ORDER BY p.purchased, i.qty, i.id) +) +SELECT d.order_line_id, + d.product_id, + s.aisle, + s.position, + SUM(MIN(d.demand_end, s.supply_end) - MAX(d.demand_start, s.supply_start)) AS pick_qty +FROM order_demand AS d +JOIN warehouse_supply AS s + ON s.product_id = d.product_id + AND MAX(d.demand_start, s.supply_start) < MIN(d.demand_end, s.supply_end) +GROUP BY d.order_line_id, d.product_id, s.location_id, s.aisle, s.position +ORDER BY d.order_line_id, MIN(s.supply_start), s.location_id; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local275.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local275.sql new file mode 100644 index 00000000..f5f604b3 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local275.sql @@ -0,0 +1,34 @@ +WITH moving_averages AS ( + SELECT product_id, + mth, + qty, + ROW_NUMBER() OVER (PARTITION BY product_id ORDER BY mth) AS month_no, + AVG(qty) OVER ( + PARTITION BY product_id ORDER BY mth + ROWS BETWEEN 5 PRECEDING AND 6 FOLLOWING + ) AS avg_left, + AVG(qty) OVER ( + PARTITION BY product_id ORDER BY mth + ROWS BETWEEN 6 PRECEDING AND 5 FOLLOWING + ) AS avg_right + FROM monthly_sales + WHERE mth >= '2016-01-01' +), ratios AS ( + SELECT product_id, + qty / NULLIF((avg_left + avg_right) / 2.0, 0) AS sales_to_cma + FROM moving_averages + WHERE month_no BETWEEN 7 AND 30 + AND mth >= '2017-01-01' + AND mth < '2018-01-01' +), qualifying_products AS ( + SELECT product_id + FROM ratios + GROUP BY product_id + HAVING COUNT(*) = 12 + AND COUNT(sales_to_cma) = 12 + AND MIN(sales_to_cma) > 2 +) +SELECT p.name +FROM qualifying_products AS q +JOIN products AS p ON p.id = q.product_id +ORDER BY p.name; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local279.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local279.sql new file mode 100644 index 00000000..e29541a4 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local279.sql @@ -0,0 +1,35 @@ +WITH RECURSIVE inventory_model(product_id, mth, ending_inventory, qty_minimum, qty_purchase) AS ( + SELECT i.product_id, '2018-12-01', i.qty, p.qty_minimum, p.qty_purchase + FROM inventory_totals AS i + JOIN product_minimums AS p ON p.product_id = i.product_id + + UNION ALL + + SELECT i.product_id, + DATE(i.mth, '+1 month'), + i.ending_inventory - COALESCE(o.qty, 0) + + CASE + WHEN i.ending_inventory - COALESCE(o.qty, 0) < i.qty_minimum + THEN i.qty_purchase + ELSE 0 + END, + i.qty_minimum, + i.qty_purchase + FROM inventory_model AS i + LEFT JOIN monthly_orders AS o + ON o.product_id = i.product_id AND o.mth = DATE(i.mth, '+1 month') + WHERE i.mth < '2019-12-01' +), ranked AS ( + SELECT product_id, mth, + ABS(ending_inventory - qty_minimum) AS absolute_difference, + ROW_NUMBER() OVER ( + PARTITION BY product_id + ORDER BY ABS(ending_inventory - qty_minimum), mth + ) AS rn + FROM inventory_model + WHERE mth >= '2019-01-01' AND mth < '2020-01-01' +) +SELECT product_id, mth, absolute_difference +FROM ranked +WHERE rn = 1 +ORDER BY product_id; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local283.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local283.sql new file mode 100644 index 00000000..51705a96 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local283.sql @@ -0,0 +1,36 @@ +WITH match_points AS ( + SELECT season, league_id, country_id, home_team_api_id AS team_api_id, + CASE + WHEN home_team_goal > away_team_goal THEN 3 + WHEN home_team_goal = away_team_goal THEN 1 + ELSE 0 + END AS points + FROM Match + UNION ALL + SELECT season, league_id, country_id, away_team_api_id AS team_api_id, + CASE + WHEN away_team_goal > home_team_goal THEN 3 + WHEN away_team_goal = home_team_goal THEN 1 + ELSE 0 + END AS points + FROM Match +), season_totals AS ( + SELECT season, league_id, country_id, team_api_id, SUM(points) AS total_points + FROM match_points + GROUP BY season, league_id, country_id, team_api_id +), ranked AS ( + SELECT season, league_id, country_id, team_api_id, total_points, + RANK() OVER (PARTITION BY season ORDER BY total_points DESC) AS points_rank + FROM season_totals +) +SELECT r.season, + t.team_long_name AS team_name, + l.name AS league, + c.name AS country, + r.total_points +FROM ranked AS r +JOIN Team AS t ON t.team_api_id = r.team_api_id +JOIN League AS l ON l.id = r.league_id +JOIN Country AS c ON c.id = r.country_id +WHERE r.points_rank = 1 +ORDER BY r.season, league, country, team_name; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local284.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local284.sql new file mode 100644 index 00000000..f0c0e2ca --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local284.sql @@ -0,0 +1,24 @@ +WITH item_rates AS ( + SELECT l."loss_rate_%" AS loss_rate + FROM veg_loss_rate_df AS l + JOIN (SELECT DISTINCT item_code FROM veg_whsle_df) AS w + ON w.item_code = l.item_code +), mean_rate AS ( + SELECT AVG(loss_rate) AS average_loss_rate + FROM item_rates +), stats AS ( + SELECT m.average_loss_rate, + SQRT(AVG((r.loss_rate - m.average_loss_rate) * + (r.loss_rate - m.average_loss_rate))) AS stddev + FROM mean_rate AS m + LEFT JOIN item_rates AS r ON 1 = 1 + GROUP BY m.average_loss_rate +) +SELECT s.average_loss_rate, + COUNT(CASE WHEN r.loss_rate < s.average_loss_rate - s.stddev THEN 1 END) AS items_below_one_stddev, + COUNT(CASE WHEN r.loss_rate > s.average_loss_rate + s.stddev THEN 1 END) AS items_above_one_stddev, + COUNT(CASE WHEN r.loss_rate BETWEEN s.average_loss_rate - s.stddev + AND s.average_loss_rate + s.stddev THEN 1 END) AS items_within_one_stddev +FROM stats AS s +LEFT JOIN item_rates AS r ON 1 = 1 +GROUP BY s.average_loss_rate; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local297.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local297.sql new file mode 100644 index 00000000..c5196f6e --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local297.sql @@ -0,0 +1,39 @@ +WITH monthly_nets AS ( + SELECT customer_id, + DATE(txn_date, 'start of month') AS month_start, + SUM(CASE txn_type + WHEN 'deposit' THEN txn_amount + WHEN 'withdrawal' THEN -txn_amount + END) AS monthly_net + FROM customer_transactions + WHERE txn_type IN ('deposit', 'withdrawal') + GROUP BY customer_id, DATE(txn_date, 'start of month') +), monthly_balances AS ( + SELECT customer_id, + month_start, + SUM(monthly_net) OVER ( + PARTITION BY customer_id + ORDER BY month_start + ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW + ) AS closing_balance + FROM monthly_nets +), ranked_balances AS ( + SELECT closing_balance, + LAG(closing_balance, 1, 0) OVER ( + PARTITION BY customer_id ORDER BY month_start + ) AS prior_balance, + ROW_NUMBER() OVER ( + PARTITION BY customer_id ORDER BY month_start DESC + ) AS month_rank + FROM monthly_balances +), latest_growth AS ( + SELECT CASE + WHEN prior_balance = 0 THEN closing_balance * 100.0 + ELSE 100.0 * (closing_balance - prior_balance) / prior_balance + END AS growth_pct + FROM ranked_balances + WHERE month_rank = 1 +) +SELECT 100.0 * COUNT(CASE WHEN growth_pct > 5 THEN 1 END) + / NULLIF(COUNT(*), 0) AS percentage_of_customers +FROM latest_growth; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local298.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local298.sql new file mode 100644 index 00000000..764fad85 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local298.sql @@ -0,0 +1,29 @@ +WITH RECURSIVE month_bounds AS ( + SELECT DATE(MIN(txn_date), 'start of month') AS first_month, + DATE(MAX(txn_date), 'start of month') AS last_month + FROM customer_transactions +), months(month_start, last_month) AS ( + SELECT DATE(first_month, '+1 month'), last_month + FROM month_bounds + WHERE first_month < last_month + UNION ALL + SELECT DATE(month_start, '+1 month'), last_month + FROM months + WHERE month_start < last_month +), customer_balances AS ( + SELECT m.month_start, + t.customer_id, + SUM(CASE t.txn_type + WHEN 'deposit' THEN t.txn_amount + WHEN 'purchase' THEN -t.txn_amount + WHEN 'withdrawal' THEN -t.txn_amount + END) AS balance + FROM months AS m + JOIN customer_transactions AS t ON t.txn_date < m.month_start + GROUP BY m.month_start, t.customer_id +) +SELECT month_start AS month, + SUM(MAX(balance, 0)) AS previous_total_balance +FROM customer_balances +GROUP BY month_start +ORDER BY month_start; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local299.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local299.sql new file mode 100644 index 00000000..8e1031c2 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local299.sql @@ -0,0 +1,63 @@ +WITH RECURSIVE + daily_transactions AS ( + SELECT customer_id, + DATE(txn_date) AS transaction_date, + SUM(CASE WHEN txn_type = 'deposit' THEN txn_amount + ELSE -txn_amount END) AS net_amount + FROM customer_transactions + GROUP BY customer_id, DATE(txn_date) + ), + reporting_end AS ( + SELECT MAX(transaction_date) AS last_date + FROM daily_transactions + ), + customer_days(customer_id, balance_date, baseline_month) AS ( + SELECT customer_id, + MIN(transaction_date), + STRFTIME('%Y-%m', MIN(transaction_date)) + FROM daily_transactions + GROUP BY customer_id + + UNION ALL + + SELECT d.customer_id, DATE(d.balance_date, '+1 day'), d.baseline_month + FROM customer_days AS d + CROSS JOIN reporting_end AS e + WHERE d.balance_date < e.last_date + ), + daily_balances AS ( + SELECT d.customer_id, d.balance_date, d.baseline_month, + SUM(COALESCE(t.net_amount, 0)) OVER ( + PARTITION BY d.customer_id + ORDER BY d.balance_date + ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW + ) AS daily_balance + FROM customer_days AS d + LEFT JOIN daily_transactions AS t + ON t.customer_id = d.customer_id + AND t.transaction_date = d.balance_date + ), + rolling_balances AS ( + SELECT customer_id, STRFTIME('%Y-%m', balance_date) AS month, + baseline_month, + AVG(daily_balance) OVER trailing_30_days AS average_balance, + COUNT(*) OVER trailing_30_days AS days_in_window + FROM daily_balances + WINDOW trailing_30_days AS ( + PARTITION BY customer_id + ORDER BY balance_date + ROWS BETWEEN 29 PRECEDING AND CURRENT ROW + ) + ), + customer_monthly_max AS ( + SELECT customer_id, month, + MAX(CASE WHEN average_balance < 0 THEN 0.0 + ELSE average_balance END) AS max_30_day_average + FROM rolling_balances + WHERE days_in_window = 30 AND month > baseline_month + GROUP BY customer_id, month + ) +SELECT month, SUM(max_30_day_average) AS total_max_30_day_average_balance +FROM customer_monthly_max +GROUP BY month +ORDER BY month; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local300.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local300.sql new file mode 100644 index 00000000..ac231fe5 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local300.sql @@ -0,0 +1,45 @@ +WITH RECURSIVE daily_activity AS ( + SELECT customer_id, + DATE(txn_date) AS balance_date, + SUM(CASE + WHEN txn_type = 'deposit' THEN txn_amount + WHEN txn_type IN ('purchase', 'withdrawal') THEN -txn_amount + END) AS net_amount + FROM customer_transactions + GROUP BY customer_id, DATE(txn_date) +), +customer_dates AS ( + SELECT customer_id, + MIN(balance_date) AS balance_date, + MAX(balance_date) AS last_date + FROM daily_activity + GROUP BY customer_id + UNION ALL + SELECT customer_id, DATE(balance_date, '+1 day'), last_date + FROM customer_dates + WHERE balance_date < last_date +), +daily_balances AS ( + SELECT d.customer_id, + d.balance_date, + SUM(COALESCE(a.net_amount, 0)) OVER ( + PARTITION BY d.customer_id + ORDER BY d.balance_date + ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW + ) AS balance + FROM customer_dates AS d + LEFT JOIN daily_activity AS a + ON a.customer_id = d.customer_id + AND a.balance_date = d.balance_date +), +customer_monthly_max AS ( + SELECT customer_id, + STRFTIME('%Y-%m', balance_date) AS month, + MAX(CASE WHEN balance < 0 THEN 0 ELSE balance END) AS max_daily_balance + FROM daily_balances + GROUP BY customer_id, STRFTIME('%Y-%m', balance_date) +) +SELECT month, SUM(max_daily_balance) AS monthly_total +FROM customer_monthly_max +GROUP BY month +ORDER BY month; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local301.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local301.sql new file mode 100644 index 00000000..7a5e6968 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local301.sql @@ -0,0 +1,16 @@ +WITH periods(year, cutoff) AS ( + VALUES (2018, '2018-06-15'), (2019, '2019-06-15'), (2020, '2020-06-15') +), totals AS ( + SELECT p.year, + SUM(CASE WHEN s.week_date < p.cutoff THEN s.sales END) AS sales_before, + SUM(CASE WHEN s.week_date >= p.cutoff THEN s.sales END) AS sales_after + FROM periods AS p + LEFT JOIN cleaned_weekly_sales AS s + ON s.week_date >= date(p.cutoff, '-28 days') + AND s.week_date < date(p.cutoff, '+28 days') + GROUP BY p.year +) +SELECT year, + ROUND(100.0 * (sales_after - sales_before) / NULLIF(sales_before, 0), 2) AS sales_pct_change +FROM totals +ORDER BY year; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local302.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local302.sql new file mode 100644 index 00000000..dcf0ee2e --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local302.sql @@ -0,0 +1,37 @@ +WITH sales_window AS ( + SELECT week_date, region, platform, age_band, demographic, customer_type, sales + FROM cleaned_weekly_sales + WHERE week_date >= date('2020-06-15', '-84 days') + AND week_date < date('2020-06-15', '+84 days') +), +attribute_sales AS ( + SELECT 'region' AS attribute_type, region AS attribute_value, week_date, sales + FROM sales_window + UNION ALL + SELECT 'platform', platform, week_date, sales FROM sales_window + UNION ALL + SELECT 'age_band', age_band, week_date, sales FROM sales_window + UNION ALL + SELECT 'demographic', demographic, week_date, sales FROM sales_window + UNION ALL + SELECT 'customer_type', customer_type, week_date, sales FROM sales_window +), +value_totals AS ( + SELECT attribute_type, + attribute_value, + SUM(CASE WHEN week_date < '2020-06-15' THEN sales ELSE 0 END) AS sales_before, + SUM(CASE WHEN week_date >= '2020-06-15' THEN sales ELSE 0 END) AS sales_after + FROM attribute_sales + GROUP BY attribute_type, attribute_value +), +type_averages AS ( + SELECT attribute_type, + AVG(100.0 * (sales_after - sales_before) / NULLIF(sales_before, 0)) AS avg_percentage_change + FROM value_totals + GROUP BY attribute_type +) +SELECT attribute_type, avg_percentage_change +FROM type_averages +WHERE avg_percentage_change = (SELECT MIN(avg_percentage_change) FROM type_averages) + AND avg_percentage_change < 0 +ORDER BY attribute_type; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local309.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local309.sql new file mode 100644 index 00000000..e05f572b --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local309.sql @@ -0,0 +1,26 @@ +WITH ranked_drivers AS ( + SELECT r.year, ds.driver_id, + RANK() OVER ( + PARTITION BY r.year + ORDER BY r.round DESC, ds.points DESC + ) AS points_rank + FROM races AS r + JOIN driver_standings AS ds ON ds.race_id = r.race_id +), ranked_constructors AS ( + SELECT r.year, cs.constructor_id, + RANK() OVER ( + PARTITION BY r.year + ORDER BY r.round DESC, cs.points DESC + ) AS points_rank + FROM races AS r + JOIN constructor_standings AS cs ON cs.race_id = r.race_id +) +SELECT s.year, + d.full_name AS driver_full_name, + c.name AS constructor_name +FROM seasons AS s +LEFT JOIN ranked_drivers AS rd ON rd.year = s.year AND rd.points_rank = 1 +LEFT JOIN drivers AS d ON d.driver_id = rd.driver_id +LEFT JOIN ranked_constructors AS rc ON rc.year = s.year AND rc.points_rank = 1 +LEFT JOIN constructors AS c ON c.constructor_id = rc.constructor_id +ORDER BY s.year, d.full_name, c.name; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local310.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local310.sql new file mode 100644 index 00000000..dca175f8 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local310.sql @@ -0,0 +1,26 @@ +WITH race_points AS ( + SELECT r.year, res.driver_id, res.constructor_id, res.points + FROM results AS res + JOIN races AS r ON r.race_id = res.race_id +), driver_totals AS ( + SELECT year, driver_id, SUM(points) AS total_points + FROM race_points + GROUP BY year, driver_id +), constructor_totals AS ( + SELECT year, constructor_id, SUM(points) AS total_points + FROM race_points + GROUP BY year, constructor_id +), driver_maxima AS ( + SELECT year, MAX(total_points) AS max_points + FROM driver_totals + GROUP BY year +), constructor_maxima AS ( + SELECT year, MAX(total_points) AS max_points + FROM constructor_totals + GROUP BY year +) +SELECT d.year +FROM driver_maxima AS d +JOIN constructor_maxima AS c ON c.year = d.year +ORDER BY d.max_points + c.max_points ASC, d.year ASC +LIMIT 3; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local311.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local311.sql new file mode 100644 index 00000000..8384a6e3 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local311.sql @@ -0,0 +1,15 @@ +SELECT + c.name AS constructor_name, + r.year, + ds.points + cs.points AS combined_points +FROM team_driver_ranks AS tdr +JOIN constructors AS c ON c.constructor_id = tdr.constructor_id +JOIN races AS r ON r.year = tdr.year +JOIN constructor_standings AS cs + ON cs.race_id = r.race_id AND cs.constructor_id = tdr.constructor_id +JOIN driver_standings AS ds + ON ds.race_id = r.race_id AND ds.driver_id = tdr.driver_id +WHERE tdr.team_driver_rank = 1 + AND r.round = (SELECT MAX(r2.round) FROM races AS r2 WHERE r2.year = r.year) +ORDER BY combined_points DESC, r.year DESC, c.constructor_id +LIMIT 3; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local329.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local329.sql new file mode 100644 index 00000000..b11cfc2e --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local329.sql @@ -0,0 +1,12 @@ +SELECT COUNT(DISTINCT i.session) AS unique_sessions +FROM form_log AS i +WHERE i.path = '/regist/input' + AND i.action = 'view' + AND EXISTS ( + SELECT 1 + FROM form_log AS c + WHERE c.session = i.session + AND c.path = '/regist/confirm' + AND c.action = 'view' + AND c.stamp > i.stamp + ); diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local330.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local330.sql new file mode 100644 index 00000000..64801778 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local330.sql @@ -0,0 +1,15 @@ +WITH bounds AS ( + SELECT session, MIN(stamp) AS first_stamp, MAX(stamp) AS last_stamp + FROM activity_log + GROUP BY session +), endpoints AS ( + SELECT DISTINCT a.session, a.path + FROM activity_log AS a + JOIN bounds AS b ON a.session = b.session + WHERE a.stamp = b.first_stamp OR a.stamp = b.last_stamp +) +SELECT p.path, COUNT(e.session) AS unique_session_count +FROM (SELECT DISTINCT path FROM activity_log) AS p +LEFT JOIN endpoints AS e ON e.path = p.path +GROUP BY p.path +ORDER BY unique_session_count DESC, p.path; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local331.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local331.sql new file mode 100644 index 00000000..6479269f --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local331.sql @@ -0,0 +1,16 @@ +WITH visits AS ( + SELECT + path, + LAG(path, 1) OVER visit_order AS previous_path, + LAG(path, 2) OVER visit_order AS second_previous_path + FROM activity_log + WHERE action = 'view' + WINDOW visit_order AS (PARTITION BY session ORDER BY stamp, rowid) +) +SELECT path AS third_page, COUNT(*) AS visit_count +FROM visits +WHERE previous_path = '/detail' + AND second_previous_path = '/detail' +GROUP BY path +ORDER BY visit_count DESC, third_page ASC +LIMIT 3; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local335.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local335.sql new file mode 100644 index 00000000..ab422370 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local335.sql @@ -0,0 +1,26 @@ +WITH season_finales AS ( + SELECT year, MAX(round) AS final_round + FROM races + WHERE year >= 2001 + GROUP BY year +), ranked_scorers AS ( + SELECT r.year, ds.driver_id, + DENSE_RANK() OVER (PARTITION BY r.year ORDER BY ds.points) AS points_rank + FROM season_finales AS sf + JOIN races AS r ON r.year = sf.year AND r.round = sf.final_round + JOIN driver_standings AS ds ON ds.race_id = r.race_id + WHERE ds.points > 0 +), scoring_entries AS ( + SELECT race_id, driver_id, constructor_id FROM results WHERE points > 0 + UNION ALL + SELECT race_id, driver_id, constructor_id FROM sprint_results WHERE points > 0 +) +SELECT c.name AS constructor +FROM ranked_scorers AS rs +JOIN races AS r ON r.year = rs.year +JOIN scoring_entries AS se ON se.race_id = r.race_id AND se.driver_id = rs.driver_id +JOIN constructors AS c ON c.constructor_id = se.constructor_id +WHERE rs.points_rank = 1 +GROUP BY c.constructor_id, c.name +ORDER BY COUNT(DISTINCT rs.year) DESC, c.name ASC, c.constructor_id ASC +LIMIT 5; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local354.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local354.sql new file mode 100644 index 00000000..f1b8ed81 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local354.sql @@ -0,0 +1,28 @@ +WITH race_entries AS ( + SELECT ra.year, ra.round, re.driver_id, re.constructor_id + FROM results AS re + JOIN races AS ra ON ra.race_id = re.race_id + WHERE ra.year BETWEEN 1950 AND 1959 +), season_bounds AS ( + SELECT year, driver_id, MIN(round) AS first_round, MAX(round) AS last_round + FROM race_entries + GROUP BY year, driver_id + HAVING COUNT(DISTINCT round) >= 2 +) +SELECT d.full_name +FROM drivers AS d +WHERE EXISTS ( + SELECT 1 + FROM season_bounds AS sb + JOIN race_entries AS first_entry + ON first_entry.year = sb.year + AND first_entry.driver_id = sb.driver_id + AND first_entry.round = sb.first_round + JOIN race_entries AS last_entry + ON last_entry.year = sb.year + AND last_entry.driver_id = sb.driver_id + AND last_entry.round = sb.last_round + AND last_entry.constructor_id = first_entry.constructor_id + WHERE sb.driver_id = d.driver_id +) +ORDER BY d.full_name; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local355.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local355.sql new file mode 100644 index 00000000..62fd470d --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local355.sql @@ -0,0 +1,39 @@ +WITH race_calendar AS ( + SELECT r.race_id, r.year, r.round, + LAG(r.race_id) OVER (PARTITION BY r.year ORDER BY r.round) AS previous_race_id, + LEAD(r.race_id) OVER (PARTITION BY r.year ORDER BY r.round) AS next_race_id + FROM races AS r + WHERE EXISTS ( + SELECT 1 FROM results AS x WHERE x.race_id = r.race_id + ) +), driver_years AS ( + SELECT DISTINCT c.year, x.driver_id + FROM race_calendar AS c + JOIN results AS x ON x.race_id = c.race_id +), missed_races AS ( + SELECT d.year, d.driver_id, + MIN(c.round) AS first_missed_round, + MAX(c.round) AS last_missed_round + FROM driver_years AS d + JOIN race_calendar AS c ON c.year = d.year + LEFT JOIN results AS x ON x.race_id = c.race_id AND x.driver_id = d.driver_id + WHERE x.driver_id IS NULL + GROUP BY d.year, d.driver_id + HAVING COUNT(*) BETWEEN 1 AND 2 +) +SELECT AVG(m.first_missed_round) AS avg_first_missed_round, + AVG(m.last_missed_round) AS avg_last_missed_round +FROM missed_races AS m +JOIN race_calendar AS first_missed + ON first_missed.year = m.year AND first_missed.round = m.first_missed_round +JOIN race_calendar AS last_missed + ON last_missed.year = m.year AND last_missed.round = m.last_missed_round +WHERE EXISTS ( + SELECT 1 + FROM results AS before_gap + JOIN results AS after_gap ON after_gap.driver_id = before_gap.driver_id + WHERE before_gap.driver_id = m.driver_id + AND before_gap.race_id = first_missed.previous_race_id + AND after_gap.race_id = last_missed.next_race_id + AND before_gap.constructor_id <> after_gap.constructor_id +); diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local356.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local356.sql new file mode 100644 index 00000000..872e62fd --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local356.sql @@ -0,0 +1,35 @@ +WITH excluded_laps AS MATERIALIZED ( + SELECT race_id, driver_id, lap FROM pit_stops + UNION + SELECT race_id, driver_id, lap + 1 FROM pit_stops + UNION + SELECT race_id, driver_id, lap FROM retirements +), relative_positions AS ( + SELECT curr.driver_id, + ROW_NUMBER() OVER ( + PARTITION BY curr.race_id, curr.lap ORDER BY prev.position + ) AS previous_rank, + ROW_NUMBER() OVER ( + PARTITION BY curr.race_id, curr.lap ORDER BY curr.position + ) AS current_rank + FROM lap_times AS curr + JOIN lap_times AS prev + ON prev.race_id = curr.race_id + AND prev.driver_id = curr.driver_id + AND prev.lap = curr.lap - 1 + LEFT JOIN excluded_laps AS x + ON x.race_id = curr.race_id + AND x.driver_id = curr.driver_id + AND x.lap = curr.lap + WHERE curr.lap > 1 + AND x.race_id IS NULL +), net_losses AS ( + SELECT driver_id + FROM relative_positions + GROUP BY driver_id + HAVING SUM(current_rank - previous_rank) > 0 +) +SELECT d.full_name +FROM net_losses AS n +JOIN drivers AS d ON d.driver_id = n.driver_id +ORDER BY d.full_name; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local358.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local358.sql new file mode 100644 index 00000000..6bc4f839 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local358.sql @@ -0,0 +1,24 @@ +WITH age_categories(age_category, sort_order) AS ( + VALUES ('20s', 1), ('30s', 2), ('40s', 3), ('50s', 4), ('others', 5) +), ages AS ( + SELECT user_id, + CAST(strftime('%Y', 'now') AS INTEGER) + - CAST(strftime('%Y', birth_date) AS INTEGER) + - (strftime('%m-%d', 'now') < strftime('%m-%d', birth_date)) AS age + FROM mst_users +), categorized_users AS ( + SELECT user_id, + CASE + WHEN age BETWEEN 20 AND 29 THEN '20s' + WHEN age BETWEEN 30 AND 39 THEN '30s' + WHEN age BETWEEN 40 AND 49 THEN '40s' + WHEN age BETWEEN 50 AND 59 THEN '50s' + ELSE 'others' + END AS age_category + FROM ages +) +SELECT c.age_category, COUNT(DISTINCT u.user_id) AS user_count +FROM age_categories AS c +LEFT JOIN categorized_users AS u ON u.age_category = c.age_category +GROUP BY c.age_category, c.sort_order +ORDER BY c.sort_order; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local360.sql b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local360.sql new file mode 100644 index 00000000..3c41c4f8 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/sql/local360.sql @@ -0,0 +1,22 @@ +WITH first_target AS ( + SELECT session, MIN(stamp) AS first_stamp + FROM activity_log + WHERE path IN ('/detail', '/complete') + GROUP BY session +), pre_target_counts AS ( + SELECT f.session, f.first_stamp, COUNT(e.stamp) AS event_count + FROM first_target AS f + LEFT JOIN activity_log AS e + ON e.session = f.session + AND e.stamp < f.first_stamp + AND e.search_type <> '' + GROUP BY f.session, f.first_stamp +) +SELECT DISTINCT c.session, t.path, t.search_type +FROM pre_target_counts AS c +JOIN activity_log AS t + ON t.session = c.session + AND t.stamp = c.first_stamp + AND t.path IN ('/detail', '/complete') +WHERE c.event_count = (SELECT MIN(event_count) FROM pre_target_counts) +ORDER BY c.session, t.path, t.search_type; diff --git a/bench/accuracy/results/spider-all-final/gpt62-sol/status.json b/bench/accuracy/results/spider-all-final/gpt62-sol/status.json new file mode 100644 index 00000000..9257adf7 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/gpt62-sol/status.json @@ -0,0 +1 @@ +{"status": "completed", "wall_seconds": 1150.8574333749712} \ No newline at end of file diff --git a/bench/accuracy/results/spider-all-final/manifest.json b/bench/accuracy/results/spider-all-final/manifest.json new file mode 100644 index 00000000..f14520b1 --- /dev/null +++ b/bench/accuracy/results/spider-all-final/manifest.json @@ -0,0 +1,1460 @@ +{ + "benchmark": "Spider 2.0-Lite SQLite subset", + "upstream_commit": "cafb867313aab4e674652054198f383cf4018943", + "baseline_commit": "e0a7fb1", + "seed": 20261114, + "selection": "seeded shuffle of local IDs before inference", + "question_file_sha256": "4ba48916576fbd60311a2478c6d4550b5d8cf3fcbc512457ea493b5941ca009d", + "evaluator_sha256": "e93624e4ffa00e51c67bdee1d9e42b534630087cb453270c0dedc0c73e618480", + "db_sha256": { + "IPL": "bf5ddbf887bbf992a091ef31ee681b9339ba716c327263fce0f3b4da924f22c1", + "bank_sales_trading": "10c8b8136486902a19c3f974f210e9fb7c8f98918ae0313114c720219b02e18c", + "city_legislation": "6a9714f9fe11676691c38bb6e2cd048ab877415d28c358a2647ff1b8b8bfe763", + "modern_data": "d4910db155d7be8070d14cab6e44862d0fa74d71e6588d114c4bacb4225942e4", + "delivery_center": "d882e3e6552634e27739beab4c65fe8ec2086b84155489762f9052a663913f9e", + "Pagila": "dbca3837b9965d75fbc2b4af1b2daec57d841f95942e656cea44db997e05da88", + "E_commerce": "49446afd935721ee12fc95316fbee9666a3e1bd4872dfa194fe4625d6762a81a", + "electronic_sales": "8e759e113c316c7f996c2e721b596f73979fe679abeacb21e6ea5dbe6fc62eaa", + "oracle_sql": "ace68ede8f7fddc523d522e938ccfeee1f54c11888fd2c956ebc27892fc595fe", + "Airlines": "83dd643367785c6b38b5379eecaf2c37128babac96805a48362783ff0cafc0a1", + "education_business": "d3498b07f44a4ac1757798d70f4cac7c44d16082c0608c58a74d5aa0d6d058f9", + "California_Traffic_Collision": "14ace2b5213306081611b24647fe70778426bbcb0d5b30e85beb0386ffcf1020", + "Baseball": "4784826541ea40d76dd9c2da2812e189ec351ca79e2738916da5587b465341cd", + "music": "f82efedb6c5c40734609e168bc5be5616a2eca6b90ed0048451a8674625e03a3", + "complex_oracle": "2244dbd99d5205941353024332eb62b1754d3383bcd7c8c20361344d736be00c", + "WWE": "5e21654b3ea344583c921864c499ea984e66fb46579f7d4e74f531d0f415a52a", + "EU_soccer": "b4ebd079625bb9cd20437eaae1ccd0fc82f0f390567cfe3ee1df78fa08ad5f9a", + "f1": "35ad3b824678e8435bde02f14bcd554630792874749fdd59fe9ca1385234ce23", + "Db-IMDB": "34b043fffa7e10a152c8d1536bb54e5365df102ac9d8c09d4549ef0d9ef6aadf", + "log": "800191cd5ba91dcaebb427bb9313dc5bef1571b848b597508f15372e77c2dbd8", + "sqlite-sakila": "dbca3837b9965d75fbc2b4af1b2daec57d841f95942e656cea44db997e05da88", + "EntertainmentAgency": "24237bd0232f4b542b3e5c0417c9890c1d02ae8e2434253af58528e517a0fd07", + "school_scheduling": "bf37030ee170906bfa6bf5958766cf2a63dc0ad8168b3892ad96940be838fe63", + "Brazilian_E_Commerce": "96d1becb02714d76ef1a728d8ca0de33e52acead1668abd5f7d8a73a45f6d0f3", + "imdb_movies": "175c1da2deb00fe28d70608f7839aea5abc214dca15bb3e8622c9b7258c25b9e", + "BowlingLeague": "f8ceb5692677a5a4e04d0a08dd495ae8dbebffbacdb2a66dec551613775bc12c", + "northwind": "80a1d9591da7aeaaa439ba0002023d5ab69d3f15a3d8b2ac9389dfd30543c1e7", + "chinook": "d6c11e2ccda2a36883af57f031f76fbd55e247f3be1710c4c8aaa72ec06a18cb", + "stacking": "eb683890921eb597f176692fe6ac9fb544dde3fd78084d019bf82cd0e6efe780", + "AdventureWorks": "f8bb86bfde5fca5636030fa9490ad37d4397b0b21591ee62c7aca363a64f2653" + }, + "gold_sha256": { + "local020_a.csv": "c1b371bd6f78e69c1fbf6c18aeb322eb8eb6ee941d2ab38891867bbeebf6ae19", + "local020_b.csv": "7c70ccf7dcf12696171f65f84ac3a12ec0c186c9d652e17eb4bca16ecdc713f0", + "local064_b.csv": "dec7e4121cca37fbc2382cc8cc6ee1aeaef25db34fb2b48402cb535a5a6529c0", + "local064_c.csv": "06a27d4d7c5abc98f940988e1a3e42b63013f67a64cfbc380026678d9cfd8c7c", + "local064_a.csv": "500a9aa255bca20726cd09bb246f629cbd646a8add8fb1909392ecd09f93b297", + "local169_d.csv": "5220ca53e1d1d4f299f003c98c0d3d0f6beaa89a19648cb5be05f8c4979b24ee", + "local169_a.csv": "b3dec45955dc3e802667d623e072f56cf164bd5aa3ef7488e4126dff07887437", + "local169_c.csv": "1a36de9147b3b3ca4d39f111e15401ab332d343784744e4400e0c44768dea798", + "local169_b.csv": "a7f5b51992d6a1f5ac5aafc37a89b9d77b5a04d459cb7ca450e0f5777dc6c2ee", + "local073_b.csv": "203926fa65c2315ce652c2c648edf76f84d2a324f61218bcb3ebbd140335ae60", + "local073_a.csv": "7bd11f899aab7c37790cdf55b7f04b09a060d36d44ca57343018a22ae64f88e0", + "local302_b.csv": "1cdb9b8168d2bab6b7897b79122d767026313001c9df4846146c70d012ba9ab5", + "local302_a.csv": "6865f086e47dc7842c167d5907830506a7c591a0f387c3a1f4106eb56555269b", + "local212_b.csv": "bb74516e6d3253874a418c2af2a5240011b36fd104e340881b41377279731c07", + "local212_c.csv": "3e9ffdfbb80e8c424d7c927495c04b575113dc129237d674384490b6f19f7a95", + "local212_a.csv": "a7ec3f8b50d95a2c946b9904841ad97c48ee2ae066f18e95840ca041f2653228", + "local075_b.csv": "ecb3ddc0d38d6561d4633006dd578b1150d1eb79ab1b753d9bb3d529f496c361", + "local075_a.csv": "ecd72e006e9322343c1d008e606b1f87dd9cea8c522821603adefe2e15e74f61", + "local038_b.csv": "7a92c8c4d7b6aedd050aabb1bcfe26348038cfc3429e99ff2e1168e0f5d75d09", + "local038_a.csv": "ee3a29f76657fdbc0ac015d17a647bcead7f7edbf2bc9ecfdd33238c4dc16a52", + "local003_c.csv": "96fba57f2fe200d7b18b2d862bc956f98befa8ead69a6d3ff0593197fbecded1", + "local003_b.csv": "35d1fb54543e7b6de87d5d5e7fee1d4dbbd67b7d5d98e72e8fd959ac8a0d38eb", + "local003_a.csv": "dfe02288dc4d860119b85b2629e240b283c19c4828ff92d115de38d2553f2208", + "local003_d.csv": "88569b7c814a488dcf872675bc5cb21b314d81c736574569dd10dcc8cac5765d", + "local286_i.csv": "67282b3f4efdfaee5d82d004381caa8ef9c2d70ded77e5f018bc12121ba648b9", + "local286_h.csv": "b9745253b4426a4754d5f22b7a158c682b69d215467cd20ff39d59b464b8e52f", + "local286_e.csv": "3e2c801aa106e114ac238d3f0593e4b51cb1ab8d333f9ba88ebab1138aa651de", + "local286_d.csv": "e6592fcf5accaed189bcec1a1a6a7d6906932542da0acdd34427d7c05ee4910a", + "local286_f.csv": "3f59abfefe275b81255fe3d591057a807a9110f1baddd41661fe6326dbe80eaa", + "local286_g.csv": "e8900c3cc4a15f719e54346df7e857bf5fa677b25e62a6d211aa57e705a6c53e", + "local286_c.csv": "0f58057a69e464d146ad40b470c2a6e593dbc44209d6b8ca6312bce47142c832", + "local286_b.csv": "ee6565e66e7580bd4bd9766171b6b78a5563099b7b3e2ac7b8c5feb1b8159e0b", + "local286_a.csv": "a10378fc736e6bbdf16a23aeb65840dce586d06db9f7543df5649c0a876c558f", + "local004_a.csv": "7f1b06203ef6e8400537f3ee59295b0794edaf2c4d20cbf428b742205dc79745", + "local004_b.csv": "b727d6aaccf9806451d3aa60f21c4830c51268a8c4ba1c2373bb20b02e4b8ad2", + "local277_a.csv": "ec9a93c0d9df1bf97e71c07f51281bc51c94c8bdc3b3468321f18386beb03d28", + "local277_b.csv": "bb0393ebfe836fec7f6382b8c60f173081aee06706de5f808738e58ef74d14ed", + "local277_c.csv": "474344a708d34dfb21b540c0b9c37b566d7dc3e716efae55e40dad2a42f8a141", + "local009_a.csv": "55d99171b807ec637db5e5537862c0a95e7c80e6ff9141ff0954903114bee214", + "local168_e.csv": "973f35863944634ce8e1a0f71ccdf3e3b2e9b4e4af7a7af7cb8d2880369cae35", + "local168_d.csv": "7c350f87225d15834980a48d7eb151d49d7ccb54b0a34063c6353d35d1360a04", + "local168_c.csv": "a099fd0094964acec9e9b7dc780e2d74e3b352d0a406fbd26492b16254a3e9ac", + "local168_b.csv": "0ba23c452b58b79505385e9d640647eb222ff03a8ecc42c3ea735e0dc5a3c47c", + "local168_a.csv": "2e0139876cf21db59202e70f35265ef7153f860a1552b2dbb45b74239d2f41af", + "local058_a.csv": "c74e9663427d34d34cb641480e4807b0459db608f792c2f35b2d072a94b489fd", + "local017_b.csv": "93766776794bd5ae3f393b387b3e96ec4607d1a1b51cbc8efde4ceed137cf1a5", + "local017_a.csv": "51256921f42d6e90afd3d2c173c6c41f78edae73dd08c3db89f4b058d6ccac6b", + "local008_b.csv": "ec056a18be1876a4d931f0a3470e972c83ecda7b2b398b1075f7568e4ccf5815", + "local008_c.csv": "fd4647652ddd17aafd4e2ee4e2beffd47405db36edf56ca756f8e12839f3b65b", + "local008_a.csv": "89ca9045bc066b6f9e407b19bcf51f3972bf6d60c34cb423333ec675489ff9cc", + "local244_a.csv": "5965bfa1f61aa4f176dafa1f6404853176c6c1bb7a2a23611fbf19d947afcbb6", + "local244_b.csv": "a0e9f988fcb19cf1de3e04c2336c9d69ca45f452213e50144d52c12bdd9355e4", + "local063_a.csv": "1793aa1c7acc50826abd3658b0f4e33559fbd6d731d8ec93fafbade87c9d5234", + "local063_b.csv": "a1441c9bb8dc7e44fb5a07fd7859819557c9736cd288d134cedc863840eec30b", + "local063_c.csv": "b755b88cd040cfeec296a84e3047d28c83cc4610578a5dbefd79b237f248dea5", + "local063_d.csv": "d8368237d3fc65210a2fdf27842d5b547ef00140ebee87e1b5e7ee5acf0e7d23", + "local063_e.csv": "4ac60e76e037ba5e62532d02bd6c9009b16bf6ecfeed2d3927892f8164f0772a", + "local259_b.csv": "f2d95d3a692176ef5a7a08318c2257af1e1971db71bff98e7fae55343253e842", + "local259_c.csv": "df6c3de0deee12fbddc77b2b5a0de57c80b0826fa3fa182b4d9615d69c4f2a70", + "local259_a.csv": "2c2419415a341c10edec2e05be6aebbba30f7428456455edf0f46de2ec5b3f2e", + "local019_b.csv": "5a3e07334d13b00ed6b6f0b6ead9542dac5da69a4320e71d942235514a3fb231", + "local019_a.csv": "6094d8e25f80e75f1c7b91b27d5943e71eb63acd8407c0e7165644787b77cbbd", + "local021_a.csv": "0936bacb011189be56c7b695bf624d8ec171e453a34fa6e0ab8817b8fe508caa", + "local002_a.csv": "97eb32859e39d7ee65b2a7501b157e1cd67fe932d58d2c5b931c3442d6a0afbc", + "local002_c.csv": "9deb74fe0ac8eb52df9ebe72260aa5b12c3f574e1858c843b91234f8d92c0cf9", + "local002_b.csv": "d1382f9c7802b5d2e55c3c3431322df282f4059d352ef588bdb70ec076d61879", + "local220_h.csv": "29bc54cf4eefd315349bde9119d4355bf9e8fa315b32ecb9cdaafec1d84b34af", + "local220_i.csv": "72eb0dcadb3803e4db881e56f3e983cf1f70d30f4aea1f3d5ae6d9f12ccdb004", + "local220_a.csv": "3fd793f820da7caf070fa30e734fc50fd512de91bb8726157791e6505b19f2ca", + "local220_b.csv": "307f4b3b18444ac7d3e2e0621f3e446bb0b3542c663d48bf0a3c88c0db8611be", + "local220_c.csv": "cec03dbe63fba9147b27e0d97ee1a750943e8326029df162ca7a54f2950b7e83", + "local220_g.csv": "c9d54b9e5320fd510c11afa8d7ca9a4b0f9b86e13da1a8d6fae8065472e01340", + "local220_f.csv": "6e6ab60d41c302b668986d652e63081989a7c9fa4d8eadce5097a1669be4ed8e", + "local220_d.csv": "38bdcb5070e77309a6968db11620e91994432b85feea07eeea4a998d496ed37f", + "local220_e.csv": "588ce337a1878cb035e7116a0910bf3a1a932446c02dc1da315de913fb19deaa", + "local336_a.csv": "28d892a0a923deac963020adf6123c94465bf5ff0f575e881442968f225db7c6", + "local336_c.csv": "89fea80e22a96f737ea5fc60113d26e4b81b2c6649721f51117fd9ec80215de2", + "local336_b.csv": "43131e08623badb368d1b3b253546e089d9e58ff1013a0c22b89c4ba5c733fbe", + "local336_d.csv": "493f99d0374d955882bca3f0257a2c714eee78111f465a1dc003ee2dcc47f34a", + "local077_d.csv": "55982709bcc150ee95ebd23d9d9389fee472f2f569979462c170cc1f17a42990", + "local077_a.csv": "f6e756eb78b1229ea23bf75d44de15ab0fc5cf79c63815595696186ee3a8ca09", + "local077_b.csv": "77fe93d9db1ab584637158c4a4c0ed60a528a2ecbefb0211eac390647a16b694", + "local077_c.csv": "d05b442624aebc3e586434af3b2837dbc4f2c0810465a97b85c50724bb3a09e9", + "local100_a.csv": "1c65e8f88161a7f86810c6f4669588ca1d3ef321674341c8a11979c489cf692d", + "local210_a.csv": "6560065fb4722f6ad2f6b1690c82d92ed50cdbea71936b2c48f50ed1898db22d", + "local210_b.csv": "47762ab50ef3d12a0a4a5ef5f10c41a7b8047b254e30b8a68ce302f8335f0245", + "local163_a.csv": "96ea14d9b3d8f61947989d5dc62c696eb15425dd86efc3290239b703bf99d506", + "local269_a.csv": "7267c436f72664d40ed245834186360188fa127f28c4a13c5e21d16c9840e28a", + "local285_d.csv": "712513f473959279273b3d6eb70f443ce7fc1f8296e5eab2e666bae2200de666", + "local285_b.csv": "a87ab59dece88c9811bcd52981d716d119609de051975383f4c741d37c98e878", + "local285_c.csv": "f1d1471ad889b1ec40b6ef4bbb691168523b8b01ede4327a5e41461a1f1d65cb", + "local285_a.csv": "3a88e7542df7ebdf18d21e3765fa1f0fcfd7c2af088b36ce169a81c9790431c8", + "local219_e.csv": "12ec2399787f1ca5a882346e9bb24021d9df7cf73787fab77952a7b8db84757c", + "local219_d.csv": "f5d2bdabf22b17758a44df650e6be6fe4a2c0f94a9ed5d0f6b30435dc285a419", + "local219_f.csv": "b8acd8c449ec4e0f38160ef5bd325671b773c2879cad84531da1780044471b08", + "local219_c.csv": "7803b6fc3cb1c317d0d02bb7eb529555659fe416a9fc281fded398f26280c294", + "local219_b.csv": "3d73969fd39cf5a1cbae9d32f3147b19339396083c877b52612b6cf78def4d81", + "local219_a.csv": "9dcf380a8086a2f4ef87a8d6d2db72455c83032f3f7a6e9d6e03281dd602a0d4", + "local360_c.csv": "1b8a564021b0ccd7f0aba665f54bea7f01c17aa48a8d4a2cd920ac12e0e8bf8f", + "local360_b.csv": "e2764c72c8aabc4430bb46ffc6c873f09408a758dbc757d87c6a1aea2d26a371", + "local360_a.csv": "de935d70c61b69e9bb632db32d60e07543447126a30f738eb52b4433dbbeff8d", + "local331_c.csv": "5575b855b619782c80380d2e932b9f8013b5a4e400d17bd6723aff8965f36622", + "local331_b.csv": "398b4c221861dd10271520f700c0ccd5169d9713e3f30c4d8d04f74726f6096c", + "local331_a.csv": "be4bc308953866f6e4b173319a1b0934a3404829753c7662f317ce26bb5be91b", + "local193_a.csv": "15bf368dd71c4ca644d590268b57fe2fe1d080e26ededbf3de3fd3985ea355c2", + "local132_a.csv": "ce397426bf6cb0280cfcc1abc74a4b64e4048568ee9a2d878ef296a4e41576e6", + "local310_a.csv": "35d7876cd66bff44654add1596d74a6a916d15994c5f4a015a48633ec8e4e8c9", + "local041_a.csv": "4b61532d00887c35ce49c293e9a8cdbedf93da39ae84139a3744a07b1a551144", + "local041_b.csv": "2dd088064fc0b86e4deaf8356aa902d290321b5de6fbecb737e0c6da9660f30d", + "local099_b.csv": "fbdca4cd81c62b3d93bc93eb215520d892ba4c290751919f20dd71418ce6a7e4", + "local099_a.csv": "bec10511e51815d3a874d90ce4a83af43396138460f02d4e36d0b0880fa03724", + "local130_a.csv": "6694afd62cbcfd4fba3f359e3e76af114f615c01606190c9787933728ee54daf", + "local066_a.csv": "c1899edc643a416e7b90e8d7d78b8bf46661e9eeb3a87e7d8bad6b9d547cda2b", + "local066_c.csv": "6551bf0440d4bc3e41c471f6dc247f300f93b0fd2b5fd4a8308bdf96e18dbee7", + "local066_b.csv": "cab923a50ec2151f75792452874ef2e7fae3ee533a07e8f8725fd6355762f585", + "local030_a.csv": "161284a3c6f2c5ec916f4886536315005752236edb3f1906d2e894202614144a", + "local209_a.csv": "deddc04c50a244e75de82f47ba6c3f54fbb6f97b988985f6993db03183b8778e", + "local209_b.csv": "e7f4324fd0a268ef8db517670215e03a14ca4d738abd5adce0bb1d48857b84c1", + "local067_b.csv": "c6b945e3fc178475ac8c6440ff33ab4a33578dcf1187f79ba7c2a577f17ce7e8", + "local067_a.csv": "34477c4b74140e991f932a86b10e3ae6cace0a425a4efe9480d2d52ded344180", + "local050_a.csv": "58dfb380fd1b78d1ffdcdd41136ee6d29f5fe878497fd8c447a5643a945bbf42", + "local050_b.csv": "2be2c502211501cac9fe28882a163b8e8e0ada559e88df12d84279f960c98508", + "local050_c.csv": "c02d70fd6770f3b8b7c7400017f9de5fe4a3d98d5bcff5d23bb855bd34e8193c", + "local022_a.csv": "5b0274a5bdf4cb2da91e1cb86da639d2788ff6c9ce12be709c89ebe431a405cc", + "local171_b.csv": "438b893ebb918cc5270c7c83ce5b9c66a2e5c1bee69b01ce916bf44ba01322da", + "local171_a.csv": "43c4b12ce24776c1cb3a4b3d6ccbfbabd2697449aeae73f43f4a8b217f348a94", + "local131_a.csv": "99088095afe2b7e918cd1362c7bfc329d0769b29cbdca8d3a0db17c12cefa257", + "local152_a.csv": "ccc36f93451600109f70423f3f2b22c59efc2aeec4481a34c40c6cd03762ec35", + "local356_b.csv": "5fb856cd42618d59fd31df1d5cd709c44c9ab461f06332c7cb42c4fb0525d875", + "local356_c.csv": "2d55de8bf7ca99d16767c4dd1afc8aac75f555903707439e862e9ae93f9df93a", + "local356_a.csv": "89856e985d2871649e2886240252cdc23f93da31724184c8d5a4a84124c8beb0", + "local356_d.csv": "c2cbf79260717e789c4a46bf0730c3476bbbc825cd8de28dddb12871e901fccb", + "local097_a.csv": "ab059c081ce0df9c377b85691022bb1f9f3667ce570bd81b3939d3051a53ece3", + "local062_a.csv": "2b9d26110be67fe46bcb3660fcf6999b4a003bf2a67cd089e6167870ceba77a1", + "local031_a.csv": "75b4daf5e59d7b7a5ef8810934833306d92260dc859ffa703a04d975c9f337ff", + "local128_a.csv": "2749b51ed71b2551d35f0d59c6ca189bdabfbdbc03ad154d0054c029eede7e0e", + "local081_a.csv": "9da7d88a04332b1b3fe6e84984e5d438fc2259026c92f0a617cd5b288c8b5981", + "local061_b.csv": "657640cf09e4f966f3b27816d2eac9868bc9afd2482a522e2cfca11c1308435f", + "local061_a.csv": "daba05cde352f1495ee5d5fe44e2e97d385dba25daaf9c9eead07d769e296593", + "local037_a.csv": "366902a6892471d22a9c5daf4a0a3a2b00eea621eb2aa7c2488fcd15f3a4b164", + "local037_b.csv": "e1b83ddd4a92ff112d597dd1b7f58242d2311417ae489aa2de8f07d88a08b4c0", + "local157_a.csv": "03259b07da7e44b85bf7f9e29e5acfac68bac669521afd3fb7a58ad56b7eb549", + "local157_b.csv": "624762a24072777e61e04392667b9102a2a75c1d75a120e30a990e7504de3ab6", + "local157_c.csv": "8e17cc7aa611d37ab4cafc7e70b1dfb6b7acb6bbd350fb15df7f2cd33e2fb4f1", + "local253_a.csv": "12bf95bf4418538435351a274cd99e3c5de8f7f51191b8d1f9acbe6167334c82", + "local253_c.csv": "f039653401cf392269288eea252ec11b9521fe764cc1304824a68a85f9c440c0", + "local253_b.csv": "47481be8a36053414a51168cf5f07a50cab22a5ef21d78cf6bcafdbf81b24e49", + "local054_a.csv": "6b684a3248c29aa8a29dc465edb8521463c3f0bd5e069df6e1f8a9e1df602333", + "local274_a.csv": "83d9b383b5f3db1b6d1880a91dde84a7c198d27bb34f5ad70078aa34a426c310", + "local274_b.csv": "bac6a3a31918621fb89e8c4c09b58001e81ad8257195ecab138f4eb20e4ba254", + "local263_a.csv": "af3936a3f06d0148c560a6781446bd98c758195d8c61cc2976b74435928f594e", + "local202_a.csv": "85e9369fc30751cdc1412cb5c7e78c2abeec2985dd4a5a41c5cdd71ddcc18519", + "local015_d.csv": "56f7cfa3c4a037c1c333de502d69d6c916da6014cff549996b09ecc3a89503bd", + "local015_e.csv": "a39ca5bb24cf3c1856102f53125f56c8fe686bc137b7402caaaac932e4a0d78f", + "local015_a.csv": "1d0afabe2283a59d441749067202ebcd70738034bd51d5e594675912f1a65106", + "local015_b.csv": "6d2f13248ceed54c99e70aae4c036a3886505ef8317f01cd84581180755d209e", + "local015_c.csv": "97b0b536c43f4dd48a36cced476efd98a469d2c5dd0950dbaab29924e7a7b31c", + "local195_c.csv": "3f35e382a09418f07f0c5afc5079b8b8fb7caa85215659fdec8f75fd52ca222e", + "local195_b.csv": "c948a0a429525ba0ff477d20448dc822c854ba9a5130dc2a2e1ba45036a1cacf", + "local195_a.csv": "6d010cf196c1cf9df4dbc8c5a5ef43c512870ac233c91264a28eaea8d4c46e2d", + "local201_a.csv": "080af4ed42042e04fe32a13854213d666382484739a9b353c0ae16295fc9fa87", + "local201_b.csv": "839abb14e25553a9f02394bc3ba35c53e528435fdef74dd9ba09acf20e5f7c91", + "local270_b.csv": "c6930b4e54ede426f04d641b7dec97d3794f3b44a2c7edd3c32bc3eef0b7c908", + "local270_a.csv": "44cbe0fc3c486a69790f015ad4b0944b7214d04ac9e1be0f3b3ac098aaf9605f", + "local354_a.csv": "a7a64d27016f986a8e8147b7c9d3a223b8f4082ea600ced8e5556e9080bdc2f3", + "local354_c.csv": "b846ff6920213823d198c67e147fbc7e3dd9924b951b47a3fdc1c9178dab4db0", + "local354_b.csv": "47de60a37350b531c54141ab5c1f46c294f2548fd6ef066ba2dbaf6f3f0802d0", + "local354_f.csv": "f3f2f1c0d9f0cf62a1b62770172eae26df2c961e190a5ed400dc83a48c53aae6", + "local354_g.csv": "8f9205af30974a993814edd1cccf5bdcd966a0641a0fc779246ed08beb457846", + "local354_e.csv": "d64bc9fa961ed98903c44ab63a73335502f3708fed027e618d35171c088210f3", + "local354_d.csv": "3672e9edce01bc9365f9fdef6ff15b4e94229c86f666a6a2686f241c7f25e931", + "local354_h.csv": "a4650a35efeaa4abf6142031a5cadf3dbee302a2abc232e8bb111d40fb6c89a8", + "local355_c.csv": "3b325c85166cd828601d40d98fbcb5a8b9ad301a8205c4f249cadd007c81f471", + "local355_b.csv": "45a67bcdebf25080c908c0449493e2ba503b7dd3168a17736629950d93a0fc83", + "local355_a.csv": "b6791e332962e204bca0fb65dc5cc521772bd22ed4bd2c9e0dd1436c5cf91bb6", + "local355_e.csv": "5edac8923a319e1630ddb13b8b0a50660363739a9c8f874adfc1be98242ec83f", + "local355_d.csv": "8c0297b41ffdac464accf4ca3dfafdba1caf68861fcf75545c6f1780649a1d44", + "local272_a.csv": "674a1e63a234810e0cedd5cb866b94177232be38c05e636bb08ef0a4756c8f01", + "local170_a.csv": "2b42a04d9f2a941f4f9e8ec8d8d6cab30636aeb97a68a9986f5281d7e8614a52", + "local170_b.csv": "75ba2f192c088b310f6f430e44f6be6c2975f7c2304602c04518731c444b146b", + "local059_a.csv": "d9b908bce1098fec3340ca821a2d0cc8f1081c3c0b3d9dc443d70887371bbfc7", + "local096_a.csv": "2a72e80ea25a693763018bbb412b540bc37449ffd1a113b332a68c762821f146", + "local026_a.csv": "8b0566d063be61514dd41fd6c20b7f872677ef6e9b74a1959a930c344e73e6ab", + "local065_a.csv": "a88fe08e758fc1ec3e5445c72e82f94e21b134c50fd020b849034d9c3d7e7512", + "local065_b.csv": "5222f53ddf2a5f19fdf8a4c126a89821f02dfb113f8b5149fbefc3f84ab2780f", + "local279_a.csv": "4f7378f0e26249ba807745040c85b6755ecc47ff70fcc44b6aa22caad2d2a437", + "local141_b.csv": "f1274a92ef605fa942f1777b10ee9549869b2c69e6c71db8f0e21060b16fca17", + "local141_a.csv": "f0f881eff759810e1a157ebec160506f64fcecf175c015d384403830765e9513", + "local070_b.csv": "fc5d8fa9225349c33a07ca52643a7f11434e9e8fd5711769b0fca0af3addac15", + "local070_a.csv": "fd0136749fd3215a1d9fcc910a6050866a928f3be65713f5518b5ce3a79acf9a", + "local023_a.csv": "abe0ba55aec5aa107a322556bc4dc73d8d76426eee7f7679a9b4329df0458e3a", + "local221_a.csv": "12397cf2182c3d6fabc5fa3c5d1e1b72abfee48e5852eaaa7f6cc94dc113acdf", + "local301_b.csv": "fe96a3ffda30fcd83a40abde6f463160287f678b600c89ec6d8845f89d2ae5c1", + "local301_c.csv": "2fad0ac554543c8b4adde67d898593b4c102b70777c9c992eaec45067bf8eee3", + "local301_a.csv": "cfd0aa58b5f02bfcd83872d5dac729d9962725bfb558cb70d431fbd1d360dd77", + "local018_a.csv": "be83eb216699f3aaf4769f1dbaa2b483718548855da59eb7fb6466ff15f2d902", + "local298_a.csv": "f295cf8ade91d7120c18bc811a1b3839135437b36a9c71efb59e8979896a8bb9", + "local028_a.csv": "4b08cd97c949a352f8450696db24d140ea0cb5b7c94636dc46d495db8dcc8c01", + "local028_b.csv": "742d31b1c4ca1c891bd22bec5701b18eda75cea427aeaa8ed3f66a5c32743180", + "local196_a.csv": "b3114812d1bd2ee0f83f593cc1ba00228c52add975720b1b9a7a4a596d5e9d5a", + "local230_a.csv": "fa93c03d618f3be4b3046f38c93489b6c5511ced7796b4cc23ae9531d2538234", + "local300_a.csv": "8881876917149ed5fa7a655ddec6de301e4b9eb88691c8d3717159cec1f10a66", + "local300_b.csv": "b6e12cd56de4bbd1fad3bc8003dab7f8378600c310ed0ff8dfeb9e3c5520d4f2", + "local300_c.csv": "dbf8c9c285c1e3ec012a20e21256117a7662aa34882bd84536ef9dcfcc3e3901", + "local300_d.csv": "1c4f4fe5c79c2207a15f215759f31915dad213988b02e13bb405170ad6122bf8", + "local198_a.csv": "1e552fd1326323711ba031bae7fd1a9c2bc4b6b45404916a7066532bc29fd86a", + "local299_b.csv": "1c3b8a170deb6ea5016ee61ce649c3ce32ad08ae2724485fbf4999c55501a45f", + "local299_a.csv": "27a88bb2600981bbbe3052d03218f2b385a267c36a5497f3169afae7d99b78f0", + "local032_g.csv": "c0abe3fc89883986bf833673e7c1c120c4ee3fa3270716be84a69aa6e14b8ec5", + "local032_f.csv": "4b490e2e387a9157ab92ec22b68499867016f8e8d4d4a68a938434c60699996f", + "local032_d.csv": "01443bc088adfa7cc0918a81db1138b49902aa8b4871777043e3c39af64e4f05", + "local032_e.csv": "7f44365729a449f5640d90abb9eb3822d84a667bf556ed69607f0153fb4627a3", + "local032_a.csv": "8930472f79242c09ace8a7093a53e1d86638294a4e448bc29e903046c9b3ecd9", + "local032_b.csv": "4880656d98d611ad49603d442a7c69669b4dc97fcfa56781ba2a00685a4e2ca0", + "local032_c.csv": "375d25de984ea7d9738126f8c58594850213ae32f41ccb211885361086fa8b5c", + "local032_l.csv": "ef4356f6a6245f33195b88728ed42eb541f378640570e3eb1def8eb9e45abfb0", + "local032_h.csv": "10f3f8a7c4f1c6e0aed6b7f1a263ea51982572bf6d325b5173666f027387b00b", + "local032_i.csv": "7b8ff88f98980484f9cac707765238478cd3ec989907d413e66c877f3426124e", + "local032_k.csv": "1e56f65fda398bdd603ab7f0966e8c1487b455f1b501f3d1b4f57294fbc96224", + "local032_j.csv": "992f644d9d30324ec54f5f5cef120405891922ceeabd12e68bb9c7d171392a5c", + "local068_a.csv": "1299f2e8ee0af71305e879036489e9f898f093d55fd7634f0a19d67a98773f16", + "local068_c.csv": "c4535adaf3fe73d83e3c54f469ae5851cdeab601f0abbd49a33c3d7f62770735", + "local068_b.csv": "ab3e5b470012a477e90877a36682721dfff3b9b2a9d436f516b64bfdef579d0e", + "local264_b.csv": "35426254849f620276bbaa67df521a55a81fd1e10ebfbedff1c2ffa218edfe5d", + "local264_c.csv": "86288a60be71d946e2403cd44c608ada7bb163ce11f102cc4402c67ba0ae8ef9", + "local264_a.csv": "8de3723af25cb543685497a4631c081bd8cf7e9ead498e6a1eee52273cf0498c", + "local034_a.csv": "1090ffc6a0c35bf35d9295d47914234c997e7309397238747977b6dad213855d", + "local034_b.csv": "5e5b95c5964a0760c48d12c6e64a42e89a6671042665fa0fa2afdd98df142f07", + "local197_a.csv": "f8908a3f904dfcc900a7967db60b3fc1eb3c16d573374f4cb8e6f68ebacf464e", + "local197_b.csv": "dfa9d044fdf582d19e0cd7ee6229c3583044a763608e2ca8573ed300d89b2f35", + "local197_c.csv": "bd4f275d821d4f09ca0d6042e4c7780991213abdb8e302bd0d412f8654226827", + "local024_b.csv": "1022178fcdafb1c112bd8770b884ca39f554f50586ac0002e420bf6430d3d24d", + "local024_a.csv": "8699022579239fad51d09ef039352855312af9f0a6a8d3737c39b60158d0e053", + "local228_a.csv": "6d2ee53c1196edb090a3618695c3f922b0a2a526e37bbb0855b8646d9a5b09fc", + "local228_b.csv": "570907525713d4124189f7b82aba2108f1bdc64e931b33f13d817342f8c17480", + "local060_a.csv": "e02a8024be874c7b95464b19712840659e4209165ed7e472b57351c0cc1ba0e1", + "local060_b.csv": "cbb428dd80f1532502baa09ad60aa65381ed21ea6056e26082bdcd6cb962af93", + "local358_b.csv": "eff96b54297c2251143325360d15086046e9c154e50752a4203f9f1ff18d5f10", + "local358_a.csv": "6a7e8c424c6a52662c0abf5d6873d827f5688f9355e46889075f51d9c70bd439", + "local283_a.csv": "6e3d87df7b2a5a1147f62fe65de3b1292f5af15f1de5584593de863534442f68", + "local035_b.csv": "6ae7a8e32f25813841a79ca35376928d094f10ce1a532e2a1f23e4d9ef1b7fd9", + "local035_c.csv": "2381226b424af0f88ab4c493dd201ee5f059d86ea5c9605ecd0f2035c97976d9", + "local035_a.csv": "710eb0aea469add745f72f1f4b5b568cb0c84c4507a61a3930b70d54d7e7f47a", + "local071_a.csv": "ebeaefb552dd18841ab1d63602ffbba67a1b679722fb7bf86f4aad05d115ea29", + "local071_b.csv": "e73ef52d22cfc7eb7dc76c959cf4d6f11079a1d186fb1f3346bbdb2ec61efaa8", + "local039_a.csv": "ab6af5a1dc6c24ddae09852a5538b7552f5c153eab566e861fe8276c6dcef087", + "local039_b.csv": "cd3cbdb9528d7a50197836db8f6abb45ab59241d6bf8035915fba312c52fc892", + "local167_a.csv": "f87897a23204ee6f79b2821fdf50611d055ab847a2670fcb8c548b098c187aaa", + "local167_b.csv": "7e385bbdfcf240dc6b6264aadd220a2404603a1944ef850f5a4a221cef501dc3", + "local133_a.csv": "000b2e5e4f3ce526d4a442dc28d1f792576eed5943ec7416dd5fd43265769b11", + "local133_b.csv": "24371a161c1a35386116dde49c31ceec123ed2d3abc8aaa411d6ad98d31b53c1", + "local297_b.csv": "5ec5763867426b0b6cf21c0d707e69bbd2f11ef80e14eb0f4cce29d4479669c8", + "local297_a.csv": "4a37f869a34af47d766efaac9b2909c7d736bd35f6c18e41ed207ce5b3f0c260", + "local309_b.csv": "e4ee052a9a5b625b3f9f3d0f9fde804b6f2b204324b794ff3960be8c55074f93", + "local309_c.csv": "a1fa582e425c2bdfc3fdac62123c22a77a0b8e9f292d30bfc1c3f6cbf36d0584", + "local309_a.csv": "99e9032b151143ad152f2b086c21e3d5ad2b641adbcee2c349fbe7f2eaca5c93", + "local098_d.csv": "9386a5c0c81fb3753bcecec2cf7c86d67977094c09b0a0666e2a3ffd95bb0d23", + "local098_e.csv": "7668d333202c9f22c657d65b80346c092798f889c8ffa7c8859ad20a0eb441cd", + "local098_a.csv": "2b9adab647439652f27faf4c53ccfdb4aab9e280636e904c2bdece4d72c9b8f4", + "local098_b.csv": "f7f59e32e9843b3af1b7c1304203b2d50c1d5092226c3f713c69b87a23bc3086", + "local098_c.csv": "7992ce39a5d37324ffcca04c64828b8b3fbe4fd13ba56d09ad2e1f6d6686cdc5", + "local329_a.csv": "d51cb49e4f858fc1f62361fbf199c1f0145b2d5a192812f919f9f74598ad2c27", + "local040_d.csv": "4f8346cdaa161013159d36bb29ab6bcfa9c1496066ce99adf101da50b7e55eaa", + "local040_c.csv": "6c25ec05e7e36d47887dd9ec91a24987d99ea677b6fa1ed6659152c193d255c8", + "local040_b.csv": "894fd4c4aa2af4d479540508bd503e9c34ac574755c6a09b0b1b92edf11b5a59", + "local040_a.csv": "86040f986565e2f0827ade68d894ae227b0e20b4a0a5f879da8857fcff9d100c", + "local056_a.csv": "fb8f6dad94f2ccad8ff035a504758ae7f67a514071005e9d330940d09cd242e3", + "local056_b.csv": "669482fb368f7458dae1f1b084e10e145f513fdfb0ab5c648d006204a4b7b844", + "local218_a.csv": "59aaf31f0bdc6f4d891251e969ae5dcb0733b2f027bea6a6e02b8922b57e7a57", + "local074_d.csv": "575905edd9d23b7a0dfa7d4d4d6c71c1e53b8df47ca5d997e34b30821ea5d476", + "local074_a.csv": "1d249b4de50434c538dbbc566ec00c0b3d33f6f50b76f9d2d947fcd2447b8e5b", + "local074_c.csv": "4c048efea3992cccd47cb21a735fa82f4c55db5c8da38d40862c303dbb100dc0", + "local074_b.csv": "c0d530dead3d8128affa3642184e4402e11136c7e31cbca044cb58b4f3b5ddad", + "local072_a.csv": "ecc11366f1a4997612ef7479d4e9caafb76e7be0dfcfcab22031ad044da9306d", + "local072_c.csv": "89eaf8f0fd5d63f525f91be9e73172b413e38adf162414c10f23236601fca705", + "local072_b.csv": "c81babd9f76614a1be3de6c6f3ed4c8fef6372d5bb2dd1b7051d2a321ba2aa11", + "local072_d.csv": "5460e077fca890a7547af80ef5728caee0b1396a3c68aa35c1319707a7e7f260", + "local156_d.csv": "4907987cdbe5dc4deb8727acc62596d7becee9c4633db2e75620db08b8869a0a", + "local156_b.csv": "b544baaa749fbe2eac0ade87a28a07174f5c13a8d2b354500d82e63403723e9f", + "local156_c.csv": "c273fac8e8bf03dbce9fff237e60810a175baae2a9342050cfd3b1afc745b288", + "local156_a.csv": "359af22e361eb8386bb7c16d03f7d3a148db3addbbda677f3ccc6a93099040fe", + "local258_a.csv": "b943740b741d12a81ac9a1235478186c827f5068d8ba9042f2072ad479f2100f", + "local258_b.csv": "3b9f1f8a944934e57ec29c46c7e1b0de2c4d8fc6961c6275f1c76a4aa818ba50", + "local258_c.csv": "d6399f1bd4dbb5e4edd4ed0935825c3092f5cea42b0ba93bf140c5cfc97700bc", + "local258_d.csv": "28f311ccbdd218b3c521f66c49f51d6c53e2a31a6a448eaf24ecc58b36d3e991", + "local258_e.csv": "28a62aa7e0edf3af50776d3bbb88194078189716ea370567d883a79d34996322", + "local199_a.csv": "d5d43158a754df4985bc9101e86b2b48adfad69dbfe3a266fd7f8b804fbc26e9", + "local199_b.csv": "96914152da9b1d4229b1cb32cfc6ec24ee49187fe3036783a7a34512b44bb40c", + "local194_a.csv": "737c5c8fb48a3a09fd2c20589001498bb12e623c24789749a711f8f884d1b1bc", + "local194_c.csv": "d4ad490bd6915a0d099d1077e122048a32ee33378eb5bfd876e4e683fc0c612b", + "local194_b.csv": "a5f4718844ca84d9125365e1e6aee952d4c2e8eaf1ea99bb9c086cc29d5d3184", + "local273_a.csv": "35d1a1d986b6a2acbe0e6f29a6d9e2979cb21018e5ddf13c4367e881e4058d34", + "local078_a.csv": "22e33a0e482aa13b1e3d59b4363c04dc1d39eeb3d0b18fdb7fd7ea1077dd1b95", + "local330_a.csv": "156777b4eeec05777e4760c0a8cf5a90e7e9f5db5df87b6db215f36f6ca722b5", + "local330_c.csv": "9ebe76a500091818cf5ba1540ea8c7f7b01b95f01d6edc4dcfb7739130677571", + "local330_b.csv": "02dcc9b52e11b4a342941f97c775481b080e740222d797547408decb5ee9ae1f", + "local007_a.csv": "609e283f72faa732d8c9bb3041aa570361e8fc1e2949dad6d2624eee4fe1f582", + "local007_b.csv": "187376265d7f3ec19f2361f9aa4a29ebdfef55b93ce382d22da635cb84b2a5ac", + "local007_c.csv": "d30d2306cd25071c6435fc31baf736057c1339f2aa2927ba43eaf85894553a3e", + "local029_b.csv": "0645e08079eeed5278713e295ec54f92db2c4a5c080c2ca19fc0d300c85b8bdd", + "local029_a.csv": "13592cb212196327ddbf1e24612d8f5c9be767476537cac76098c8e6382a3d5a", + "local229_b.csv": "b63f34609d6f0d135301ac413518af035f8ef8d8b4af603ce956b573ecc8a8ca", + "local229_a.csv": "13b57a2a9cf1c3b16954439cff955c0483c902fd05e2cf8a8f6d707618b74edb", + "local085_a.csv": "53a8a772d4f1a25a2e35e0865d80126c51742dbef3183827cc27a9d6215b0401", + "local049_a.csv": "37a03e5c7d30c522122d3a7f27337a8dfc434dcff120081752b4c9d93b67589e", + "local049_b.csv": "cfa61613d11a7d440f235ed1d6eb889a2d1400f35814705c8c6cab12ee690fb8", + "local275_a.csv": "e0ee8bb50685e05fa0f47ed04203ae953fdfd055f5bd2892ea186504254f8c3a", + "local262_a.csv": "0b6ba8593e65101190910b92c997f428d2b21983812c653bd93523f744275518", + "local284_a.csv": "8061781ca5afac30250858521ec1bf3535936424d2ca8ac9214e2b1b003d3d8b", + "local284_b.csv": "d74c6fe8cba88dc43de32cab40d95d197cae6592df11284ebcb593caffe37aae", + "local010.csv": "109bc4ccdeaaccb405d52e5db6fbe1831b5cede629b5aafce07b1f5a4be8c623", + "local335_a.csv": "f5e97947e8060cf4719a2cd9d31f3b40b83d2e96608965de754360b6b415331d", + "local055_a.csv": "ba0ff1a7ced89ad53f8b9da3460f52d36dbb9bdad78c20fc495da0205dc3bfa8", + "local055_b.csv": "2f55f6f8f51a38d3b618ac0db7aa1a603bf42a524626ca48cc64a328aaf18555", + "local344_b.csv": "83604ca169c01568d0db1169d8ee1a54b495a9ed732929c857c7f87f738fc5ad", + "local344_a.csv": "ef99aaf28f3521bc0eb3feb7d5d57175fa83e43a3387391b0242e03154375ad9", + "local311_a.csv": "d7e3e901649bf918fddc98d854d91966fa309ee4b6cbd6b4b6db51a8643e422d", + "local311_b.csv": "8fbc16c5a9509bac26070ecd35b5fb0dfb0b40b153bbbb96d8381d5762c5f4b8", + "local114_a.csv": "c4eba509d8d4e214612b9aae8609c827bb9793033fd59476bb3bf9dd544292e6", + "local114_b.csv": "cdf83c7802e33dc16972004c48b85278cf9ce0982a6d8598128e7a26c3620f26", + "local114_c.csv": "ccca70934b3f6835751ed0fc72152b256b4a001fae72b7123ca9ec133dce5933", + "local114_d.csv": "fe4c1be98c7516d2acb92725459fea2db06b1ce92df4ecbef82e86aaaa2dadab", + "local114_e.csv": "4f2c92129c6e8a85e9887d70f62135ebda47aa7cf25314cfeb5a3b08973243ea", + "local025_a.csv": "6cf18f2a7388ff0181a5c6135af733c613df8bb6faa5fd7ab7d8d7a91e908ddd", + "local025_c.csv": "fc3c1b56cb3fca413c96075be8f2bc4b33e70b00db2da5b55ba1a3a512af930e", + "local025_b.csv": "42c381ef3631f35fd3c14c9d06007dfd793104348b0f0147fd24239f41ccb1d5", + "local025_e.csv": "b5af2f507944864ce133364b125d558ca728fb102edd9a3171fab324baef49af", + "local025_d.csv": "210c10f155318bb8420c16a3e4ff140514c6008de7100f228a239fc6de8c525b" + }, + "gold_config_sha256": "5113ddaea6107492c08a898241a9f69ec99b03bc60d014e9f0b12ec59fa28970", + "cases": [ + { + "instance_id": "local064", + "db": "bank_sales_trading", + "question": "For each customer and each month of 2020, first calculate the month-end balance by adding all deposit amounts and subtracting all withdrawal amounts that occurred during that specific month. Then determine which month in 2020 has the highest count of customers with a positive month-end balance and which month has the lowest count. For each of these two months, compute the average month-end balance across all customers and provide the difference between these two averages", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local073", + "db": "modern_data", + "question": "For each pizza order, provide a single result row with the row ID, order ID, customer ID, pizza name, and final set of ingredients. The final ingredients are determined by starting with the standard toppings from the pizza\u2019s recipe, removing any excluded toppings, and adding any extra toppings. Present the ingredients in a string starting with the pizza name followed by ': ', with ingredients listed in alphabetical order. Ingredients appearing multiple times (e.g., from standard and extra toppings) should be prefixed with '2x' and listed first, followed by single-occurrence ingredients, both in alphabetical order. Group by row ID, order ID, pizza name, and order time to ensure each order appears once. Sort results by row ID in ascending order. Assign pizza_id 1 to 'Meatlovers' pizzas and pizza_id 2 to all others.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local003", + "db": "E_commerce", + "question": "According to the RFM definition document, calculate the average sales per order for each customer within distinct RFM segments, considering only 'delivered' orders. Use the customer unique identifier. Clearly define how to calculate Recency based on the latest purchase timestamp and specify the criteria for classifying RFM segments. The average sales should be computed as the total spend divided by the total number of orders. Please analyze and report the differences in average sales across the RFM segments", + "external_knowledge": "RFM.md", + "document_sha256": "ca6cb781023248ec3d065bd17142c864175741e9dc598c38af613ca2e9ad3556" + }, + { + "instance_id": "local004", + "db": "E_commerce", + "question": "Could you tell me the number of orders, average payment per order and customer lifespan in weeks of the 3 custumers with the highest average payment per order, where the lifespan is calculated by subtracting the earliest purchase date from the latest purchase date in days, dividing by seven, and if the result is less than seven days, setting it to 1.0?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local021", + "db": "IPL", + "question": "Could you calculate the average of the total runs scored by all strikers who have scored more than 50 runs in any single match?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local163", + "db": "education_business", + "question": "Which university faculty members' salaries are closest to the average salary for their respective ranks? Please provide the ranks, first names, last names, and salaries.university", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local310", + "db": "f1", + "question": "Using only the data from the \u2018results\u2019 table, find the three years in which the sum of the highest total points earned by any driver and the highest total points earned by any constructor in that year (both calculated by summing up points from the \u2018results\u2019 table) is smallest, and list those three years in order of ascending total.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local041", + "db": "modern_data", + "question": "What percentage of trees in the Bronx have a health status of Good?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local062", + "db": "complex_oracle", + "question": "Please group all Italian customers into ten buckets for December 2021 by summing their profits from all products purchased (where profit is calculated as quantity_sold multiplied by the difference between unit_price and unit_cost), then divide the overall range of total monthly profits into ten equal intervals. For each bucket, provide the number of customers, and identify the minimum and maximum total profits within that bucket.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local081", + "db": "northwind", + "question": "Considering only the customers who placed orders in 1998, calculate the total amount each customer spent by summing the unit price multiplied by the quantity of all products in their orders, excluding any discounts. Assign each customer to a spending group based on the customer group thresholds, and determine how many customers are in each spending group and what percentage of the total number of customers who placed orders in 1998 each group represents.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local202", + "db": "city_legislation", + "question": "For alien data, how many of the top 10 states by alien population have a higher percentage of friendly aliens than hostile aliens, with an average alien age exceeding 200?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local096", + "db": "Db-IMDB", + "question": "For each year, calculate the percentage of films that had exclusively female actors (meaning no male actors and no actors with unknown/unspecified gender). Consider actors with gender marked as 'Male' or 'None' as non-female. For the results, display the year, the total number of movies in that year, and the percentage of movies with exclusively female actors. Extract the year from the Movie.year field by taking the last 4 characters and converting to a number.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local279", + "db": "oracle_sql", + "question": "Using a recursive monthly inventory adjustment model starting from December 2018 inventory levels, where we restock a product if its ending inventory drops below the minimum required level, determine for each product the month in 2019 where the absolute difference between its ending inventory and the minimum required level is the smallest, and return the product_id, that month, and the absolute difference.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local264", + "db": "stacking", + "question": "Which model category (L1_model) appears the most frequently across all steps and versions when comparing traditional models to the Stack model, and what is the total count of its occurrences?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local024", + "db": "IPL", + "question": "Can you help me find the top 5 countries whose players have the highest average of their individual average runs per match across all seasons? Specifically, for each player, calculate their average runs per match over all matches they played, then compute the average of these player averages for each country, and include these country batting averages in the result.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local218", + "db": "EU_soccer", + "question": "Can you calculate the median from the highest season goals of each team?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local072", + "db": "city_legislation", + "question": "Identify the country with data inserted on nine different days in January 2022. Then, find the longest consecutive period with data insertions for this country during January 2022, and calculate the proportion of entries that are from its capital city within this longest consecutive insertion period.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local194", + "db": "sqlite-sakila", + "question": "Please provide a list of the top three revenue-generating films for each actor, along with the average revenue per actor in those films, calculated by dividing the total film revenue equally among the actors for each film.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local029", + "db": "Brazilian_E_Commerce", + "question": "Please identify the top three customers, based on their customer_unique_id, who have the highest number of delivered orders, and provide the average payment value, city, and state for each of these customers.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local335", + "db": "f1", + "question": "In Formula 1 seasons since 2001, considering only drivers who scored points in a season, which five constructors have had the most seasons where their drivers scored the fewest total points among all point-scoring drivers in that season?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local020", + "db": "IPL", + "question": "Which bowler has the lowest bowling average per wicket taken?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local169", + "db": "city_legislation", + "question": "What is the annual retention rate of legislators who began their first term between January 1, 1917 and December 31, 1999, measured as the proportion of this cohort still in office on December 31st for each of the first 20 years following their initial term start? The results should show all 20 periods in sequence regardless of whether any legislators were retained in a particular year.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local302", + "db": "bank_sales_trading", + "question": "Analyze the average percentage change in sales between the 12 weeks before and after June 15, 2020, for each attribute type: region, platform, age band, demographic, and customer type. For each attribute type, calculate the average percentage change in sales across all its attribute values. Identify the attribute type with the highest negative impact on sales and provide its average percentage change in sales.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local212", + "db": "delivery_center", + "question": "Can you find 5 delivery drivers with the highest average number of daily deliveries?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local075", + "db": "bank_sales_trading", + "question": "Can you provide a breakdown of how many times each product was viewed, how many times they were added to the shopping cart, and how many times they were left in the cart without being purchased? Also, give me the count of actual purchases for each product. Ensure that products with a page id in (1, 2, 12, 13) are filtered out.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local038", + "db": "Pagila", + "question": "Could you help me determine which actor starred most frequently in English-language children's category films that were rated either G or PG, had a running time of 120 minutes or less, and were released between 2000 and 2010? Please provide the actor's full name.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local286", + "db": "electronic_sales", + "question": "Prepare a comprehensive performance report on our sellers, focusing on total sales, average item price, average review scores, and packing times. Ensure that the report includes only those sellers who have sold a quantity of more than 100 products and highlight the product category names in English with the highest sales volume.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local277", + "db": "oracle_sql", + "question": "What is the average forecasted annual sales for products 4160 and 7790 during 2018, using monthly sales data starting from January 2016 for the first 36 months, applying seasonality adjustments from time steps 7 through 30, and employing a weighted regression method to estimate sales?", + "external_knowledge": "calculation_method.md", + "document_sha256": "dfe12121ce38a8a38c62c3480dc0fadeafcbe134d5bf6f3f6eda216e1b1677de" + }, + { + "instance_id": "local009", + "db": "Airlines", + "question": "What is the distance of the longest route where Abakan is either the departure or destination city (in kilometers)?", + "external_knowledge": "haversine_formula.md", + "document_sha256": "5205954f1ca74ed724d121772e2bf4bc86c2cfc163f6e3fdd6afeec79c33ffec" + }, + { + "instance_id": "local168", + "db": "city_legislation", + "question": "Among job postings that specifically have the Data Analyst, require a non-null annual average salary, and are remote, what is the overall average salary when considering only the top three most frequently demanded skills for these positions?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local058", + "db": "education_business", + "question": "Can you provide a list of hardware product segments along with their unique product counts for 2020 in the output, ordered by the highest percentage increase in unique fact sales products from 2020 to 2021?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local017", + "db": "California_Traffic_Collision", + "question": "In which year were the two most common causes of traffic accidents different from those in other years?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local008", + "db": "Baseball", + "question": "I would like to know the given names of baseball players who have achieved the highest value of games played, runs, hits, and home runs, with their corresponding score values.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local244", + "db": "music", + "question": "Calculate the duration of each track, classify them as short, medium, or long, output the minimum and maximum time for each kind (in minutes) and the total revenue for each category, group by the category.", + "external_knowledge": "music_length_type.md", + "document_sha256": "d630b183c311d6ac0e80de29263009c546f74e6027286348409c6d0a64ac357b" + }, + { + "instance_id": "local063", + "db": "complex_oracle", + "question": "Among all products sold in the United States with promo_id=999, considering only those cities whose sales increased by at least 20% from Q4 2019 (calendar_quarter_id=1772) to Q4 2020 (calendar_quarter_id=1776), which product that ranks in the top 20% of total sales has the smallest percentage-point change in its share of total sales between these two quarters?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local259", + "db": "IPL", + "question": "For each player, list their ID, name, their most frequent role across all matches, batting hand, bowling skill, total runs scored, total matches played, total times they were dismissed, batting average (total runs divided by total dismissals), highest score in a single match, the number of matches in which they scored at least 30 runs, at least 50 runs, and at least 100 runs, total balls faced in their career, strike rate (total runs divided by total balls faced, multiplied by 100), total wickets taken, economy rate (average runs conceded per over), and their best bowling performance in a single match (most wickets taken in a match, formatted as \"wickets taken-runs given\", where the best performance is the one with the most wickets, and if tied, the fewest runs conceded). Ignore the extra runs data.", + "external_knowledge": "baseball_game_special_words_definition.md", + "document_sha256": "9c82e2acfee3bb4b9683957cdd46ef61ce11ee07a7f3cf1f6409a9960f908643" + }, + { + "instance_id": "local019", + "db": "WWE", + "question": "For the NXT title that had the shortest match (excluding titles with \"title change\"), what were the names of the two wrestlers involved?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local002", + "db": "E_commerce", + "question": "Can you calculate the 5-day symmetric moving average of predicted toy sales for December 5 to 8, 2018, using daily sales data from January 1, 2017, to August 29, 2018, with a simple linear regression model? Finally provide the sum of those four 5-day moving averages?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local220", + "db": "EU_soccer", + "question": "Which player has participated in the highest number of winning matches and which player has participated in the highest number of losing matches, considering only matches where they actually played (excluding null entries) and where their team won or lost (excluding draws)?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local336", + "db": "f1", + "question": "In the first five laps of the race, how many overtakes occurred in each category\u2014retirements, pit stops, start-related overtakes, and standard on-track passes?", + "external_knowledge": "f1_overtake.md", + "document_sha256": "b83e7b52e1672e0b6d34bcfad8122034abac926b75d34c880c210ab1bfc8a046" + }, + { + "instance_id": "local077", + "db": "bank_sales_trading", + "question": "Please analyze our interest data from September 2018 to August 2019. For each month, calculate the average composition for each interest by dividing the composition by the index value. Identify the interest with the highest average composition value each month and report its average composition as the max index composition for that month. Compute the three-month rolling average of these monthly max index compositions. Ensure the output includes the date, the interest name, the max index composition for that month, the rolling average, and the names and max index compositions of the top interests from one month ago and two months ago.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local100", + "db": "Db-IMDB", + "question": "Find out how many actors have a 'Shahrukh number' of 2? This means they acted in a film with someone who acted with Shahrukh Khan, but not directly with him.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local210", + "db": "delivery_center", + "question": "Can you identify the hubs that saw more than a 20% increase in finished orders from February to March?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local269", + "db": "oracle_sql", + "question": "What is the average total quantity across all final packaging combinations, considering only the leaf-level items within each combination after fully expanding any nested packaging relationships?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local285", + "db": "bank_sales_trading", + "question": "For veg whsle data, can you analyze our financial performance over the years 2020 to 2023? I need insights into the average wholesale price, maximum wholesale price, minimum wholesale price, wholesale price difference, total wholesale price, total selling price, average loss rate, total loss, and profit for each category within each year. Round all calculated values to two decimal places.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local219", + "db": "EU_soccer", + "question": "In each league, considering all seasons, which single team has the fewest total match wins based on comparing home and away goals, including teams with zero wins, ensuring that if multiple teams tie for the fewest wins, only one team is returned for each league?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local360", + "db": "log", + "question": "For each user session in the activity log table, identify the number of events that occurred before the first '/detail' click or '/complete' conversion, counting only events that have a non-empty search type. Find the sessions with the minimum count of such pre-click/pre-conversion events. If multiple sessions share this minimum count, include all of them in the results. Return each qualifying session along with the corresponding path and search type.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local331", + "db": "log", + "question": "Which three distinct third-page visits are most frequently observed immediately after two consecutive visits to the '/detail' page, and how many times does each third-page visit occur?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local193", + "db": "sqlite-sakila", + "question": "Could you find out the average percentage of the total lifetime sales (LTV) that occur in the first 7 and 30 days after a customer's initial purchase? Also, include the average total lifetime sales (LTV). Please exclude customers with zero lifetime sales. The 7- and 30-day periods should be based on the exact number of hours-minutes-seconds, not calendar days.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local132", + "db": "EntertainmentAgency", + "question": "Show all pairs of entertainers and customers who each have up to three style strengths or preferences, where the first and second style preferences of the customers match the first and second style strengths of the entertainers (or in reverse order). Only return the entertainer\u2019s stage name and the customer\u2019s last name", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local099", + "db": "Db-IMDB", + "question": "I need you to look into the actor collaborations and tell me how many actors have made more films with Yash Chopra than with any other director. This will help us understand his influence on the industry better.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local130", + "db": "school_scheduling", + "question": "Could you provide a list of last names for all students who have completed English courses (where completion is defined as having a ClassStatus of 2), along with their quintile ranks based on their individual grades in those courses? The quintile should be determined by calculating how many students have grades greater than or equal to each student's grade, then dividing this ranking by the total number of students who completed English courses. The quintiles should be labeled as \"First\" (top 20%), \"Second\" (top 21-40%), \"Third\" (top 41-60%), \"Fourth\" (top 61-80%), and \"Fifth\" (bottom 20%). Please sort the results from highest performing quintile to lowest (First to Fifth).", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local066", + "db": "modern_data", + "question": "Based on our customer pizza order information, summarize the total quantity of each ingredient used in the pizzas we delivered. Output the name and quantity for each ingredient.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local030", + "db": "Brazilian_E_Commerce", + "question": "Among all cities with delivered orders, find the five cities whose summed payments are the lowest, then calculate the average of their total payments and the average of their total delivered order counts.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local209", + "db": "delivery_center", + "question": "In the dataset of orders joined with store information, which store has the highest total number of orders, and among that store\u2019s orders, what is the ratio of orders that appear in the deliveries table with a 'DELIVERED' status to the total orders for that store?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local067", + "db": "complex_oracle", + "question": "Can you provide the highest and lowest profits for Italian customers segmented into ten evenly divided tiers based on their December 2021 sales profits?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local050", + "db": "complex_oracle", + "question": "What is the median of the average monthly projected sales in USD for France in 2021, calculated by using the monthly sales data from 2019 and 2020 (filtered by promo_total_id=1 and channel_total_id=1), applying the growth rate from 2019 to 2020 to project 2021, converting to USD based on the currency table, and then determining the monthly averages before finding their median?", + "external_knowledge": "projection_calculation.md", + "document_sha256": "5d4291081fdf5cafeb30c6d8bbad32c85ebdc807c717e95cb30b6b240622b5aa" + }, + { + "instance_id": "local022", + "db": "IPL", + "question": "Retrieve the names of players who scored no less than 100 runs in a match while playing for the team that lost that match.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local171", + "db": "city_legislation", + "question": "For male legislators from Louisiana, how many distinct legislators were actively serving on December 31 of each year from more than 30 years since their first term up to less than 50 years, grouping the results by the exact number of years elapsed since their first term?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local131", + "db": "EntertainmentAgency", + "question": "Could you list each musical style with the number of times it appears as a 1st, 2nd, or 3rd preference in a single row per style?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local152", + "db": "imdb_movies", + "question": "Can you provide the top 9 directors by movie count, including their ID, name, number of movies, average inter-movie duration (rounded to the nearest integer), average rating (rounded to 2 decimals), total votes, minimum and maximum ratings, and total movie duration? Sort the output first by movie count in descending order and then by total movie duration in descending order.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local356", + "db": "f1", + "question": "Provide the full names of drivers who have been overtaken on track more times than they have overtaken others on track during race laps, excluding position changes due to pit stops (both at pit entry and exit), retirements, or position changes that occurred during the first lap of a race (considered as start movements).", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local097", + "db": "Db-IMDB", + "question": "Could you analyze our data and identify which ten-year period starting from any movie release year present in the data had the largest number of films, considering consecutive ten-year periods beginning at each unique year? Only output the start year and the total count for that specific period.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local031", + "db": "Brazilian_E_Commerce", + "question": "What is the highest monthly delivered orders volume in the year with the lowest annual delivered orders volume among 2016, 2017, and 2018?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local128", + "db": "BowlingLeague", + "question": "List the bowlers (including their ID, first name, and last name), match number, game number, handicap score, tournament date, and location for only those bowlers who have won games with a handicap score of 190 or less at all three venues: Thunderbird Lanes, Totem Lanes, and Bolero Lanes. Only include the specific game records where they won with a handicap score of 190 or less at these three locations.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local061", + "db": "complex_oracle", + "question": "What is the average projected monthly sales in USD for France in 2021, considering only product sales with promotions where promo_total_id = 1 and channels where channel_total_id = 1, by taking each product\u2019s monthly sales from 2019 and 2020, calculating the growth rate from 2019 to 2020 for that same product and month, applying this growth rate to project 2021 monthly sales, converting all projected 2021 amounts to USD with the 2021 exchange rates, and finally averaging and listing them by month?", + "external_knowledge": "projection_calculation.md", + "document_sha256": "5d4291081fdf5cafeb30c6d8bbad32c85ebdc807c717e95cb30b6b240622b5aa" + }, + { + "instance_id": "local037", + "db": "Brazilian_E_Commerce", + "question": "Identify the top three product categories whose most commonly used payment type has the highest number of payments across all categories, and specify the number of payments made in each category using that payment type.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local157", + "db": "bank_sales_trading", + "question": "Using the \"bitcoin_prices\" table, please calculate the daily percentage change in trading volume for each ticker from August 1 to August 10, 2021, ensuring that any volume ending in \"K\" or \"M\" is accurately converted to thousands or millions, any \"-\" volume is treated as zero, only non-zero volumes are used to determine the previous day's volume, and the results are ordered by ticker and date.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local253", + "db": "education_business", + "question": "Using a Salary Dataset where the salary values need to be cleaned by removing non-numeric characters and converting them to a numeric type, write a detailed SQL query that identifies the top 5 companies by average salary in each of Mumbai, Pune, New Delhi, and Hyderabad, then compares each company\u2019s average salary in those cities to the overall national average salary. The final result should display four columns: Location, Company Name, Average Salary in State, and Average Salary in Country, listing only the top 5 companies in each of the specified locations.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local054", + "db": "chinook", + "question": "Could you tell me the first names of customers who spent less than $1 on albums by the best-selling artist, along with the amounts they spent?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local274", + "db": "oracle_sql", + "question": "Which products were picked for order 421, and what is the average number of units picked for each product, using FIFO (First-In, First-Out) method?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local263", + "db": "stacking", + "question": "Identify the L1_model associated with each model (specified by name and version) that occurs most frequently for each status ('strong' or 'soft'), along with the number of times it occurs. A model has a 'strong' status if, for any of its steps, the maximum test score among non-'Stack' models is less than the 'Stack' model's test score. It has a 'soft' status if the maximum test score among non-'Stack' models equals the 'Stack' model's test score. Count how many times each L1_model is associated with a 'strong' or 'soft' status across all models, and determine which L1_model has the highest occurrence for each status.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local015", + "db": "California_Traffic_Collision", + "question": "Please calculate the fatality rate for motorcycle collisions, separated by helmet usage. Specifically, calculate two percentages: 1) the percentage of motorcyclist fatalities in collisions where parties (drivers or passengers) were wearing helmets, and 2) the percentage of motorcyclist fatalities in collisions where parties were not wearing helmets. For each group, compute this by dividing the total number of motorcyclist fatalities by the total number of collisions involving that group. Use the parties table to determine helmet usage (from party_safety_equipment fields).", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local195", + "db": "sqlite-sakila", + "question": "Please find out how widespread the appeal of our top five actors is. What percentage of our customers have rented films featuring these actors?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local201", + "db": "modern_data", + "question": "Identify the first 10 words, sorted alphabetically, that are 4 to 5 characters long, start with 'r', and have at least one anagram of the same length, considering case-sensitive letters. Provide the count of such anagrams for each word.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local270", + "db": "oracle_sql", + "question": "Which top-level packaging containers, meaning those not contained within any other packaging, have any item for which the total quantity accumulated across all nested levels in the hierarchy exceeds 500, and what are the names of both these containers and the corresponding items?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local354", + "db": "f1", + "question": "Among Formula 1 drivers who raced during the 1950s, which drivers completed a season in that decade with the same constructor in both the first and the last race they participated in, while also taking part in at least two distinct race rounds during that season?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local355", + "db": "f1", + "question": "Calculate the overall average first round and average last round of races missed by Formula 1 drivers across all years. Include only drivers who missed fewer than three races in a given year and who switched teams between their appearances immediately before and after their hiatus (i.e., the constructor ID for the race right before their first missed race must be different from the constructor ID for the race right after their last missed race in that year). Do not group results by year; return just the overall averages across the entire dataset.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local272", + "db": "oracle_sql", + "question": "For order 423, identify the product IDs, aisles, and positions from which to pick the exact quantities needed for each order line, ensuring that the total picked quantity for each product matches the cumulative quantities ordered without exceeding the available inventory in warehouse 1. Calculate the quantities to be picked from each location by prioritizing inventory with earlier purchased dates and smaller quantities, and ensure that picking respects the sequence and cumulative quantities of the order lines for products with multiple entries.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local170", + "db": "city_legislation", + "question": "Identify the state abbreviations where, for both male and female legislators, the retention rate remains greater than zero at specific intervals of 0, 2, 4, 6, 8, and 10 years after their first term start date. A legislator is considered retained if they are serving on December 31 of the respective year. Only include states where both gender cohorts maintain non-zero retention rates at all six of these time points during the first decade of service.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local059", + "db": "education_business", + "question": "For the calendar year 2021, what is the overall average quantity sold of the top three best-selling hardware products (by total quantity sold) in each division?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local026", + "db": "IPL", + "question": "Please help me identify the top 3 bowlers who, in the overs where the maximum runs were conceded in each match, gave up the highest number of runs in a single over across all matches. For each of these bowlers, provide the match in which they conceded these maximum runs. Only consider overs that had the most runs conceded within their respective matches, and among these, determine which bowlers conceded the most runs in a single over overall.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local065", + "db": "modern_data", + "question": "Calculate the total income from Meat Lovers pizzas priced at $12 and Vegetarian pizzas at $10. Include any extra toppings charged at $1 each. Ensure that canceled orders are filtered out. How much money has Pizza Runner earned in total?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local141", + "db": "AdventureWorks", + "question": "How did each salesperson's annual total sales compare to their annual sales quota? Provide the difference between their total sales and the quota for each year, organized by salesperson and year.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local070", + "db": "city_legislation", + "question": "Please examine our database records for Chinese cities (country_code_2 = 'cn') during July 2021 and identify both the shortest and longest streaks of consecutive date entries. For each date in these streaks, return exactly one record per date along with the corresponding city name. In your output, please ensure the first letter of each city name is capitalized and the rest are lowercase. Display the dates and city names for both the shortest and longest consecutive date streaks, ordered by date.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local023", + "db": "IPL", + "question": "Please help me find the names of top 5 players with the highest average runs per match in season 5, along with their batting averages.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local221", + "db": "EU_soccer", + "question": "Tell me top10 teams with the most wins across the league", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local301", + "db": "bank_sales_trading", + "question": "For weekly-sales data, I need an analysis of our sales performance around mid-June for the years 2018, 2019, and 2020. Specifically, calculate the percentage change in sales between the four weeks leading up to June 15 and the four weeks following June 15 for each year.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local018", + "db": "California_Traffic_Collision", + "question": "For the primary collision factor violation category that was the most common cause of traffic accidents in 2021, how many percentage points did its share of annual road incidents in 2021 decrease compared to its share in 2011?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local298", + "db": "bank_sales_trading", + "question": "For each month, calculate the total balance from all users for the previous month (measured as of the 1st of each month), replacing any negative balances with zero. Ensure that data from the first month is used only as a baseline for calculating previous total balance, and exclude it from the final output. Sort the results in ascending order by month. ", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local028", + "db": "Brazilian_E_Commerce", + "question": "Could you generate a report that shows the number of delivered orders for each month in the years 2016, 2017, and 2018? Each column represents a year, and each row represents a month", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local196", + "db": "sqlite-sakila", + "question": "For each rating category of the first movie rented by customers\u2014where the first movie is identified based on the earliest payment date per customer\u2014please provide the average total amount spent per customer and the average number of subsequent rentals (calculated as the total number of rentals minus one) for customers whose first rented movie falls into that rating category.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local230", + "db": "imdb_movies", + "question": "Determine the top three genres with the most movies rated above 8, and then identify the top four directors who have directed the most films rated above 8 within those genres. List these directors and their respective movie counts.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local300", + "db": "bank_sales_trading", + "question": "For each customer, calculate their daily balances for every day between their earliest and latest transaction dates, including days without transactions by carrying forward the previous day's balance. Treat any negative daily balances as zero. Then, for each month, determine the highest daily balance each customer had during that month. Finally, for each month, sum these maximum daily balances across all customers to obtain a monthly total.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local198", + "db": "chinook", + "question": "Using the sales data, what is the median value of total sales made in countries where the number of customers is greater than 4?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local299", + "db": "bank_sales_trading", + "question": "For a bank database with customer transactions, calculate each customer's daily running balance (where deposits add to the balance and other transaction types subtract). For each customer and each day, compute the 30-day rolling average balance (only after having 30 days of data, and treating negative averages as zero). Then group these daily averages by month and find each customer's maximum 30-day average balance within each month. Sum these maximum values across all customers for each month. Consider the first month of each customer's transaction history as the baseline period and exclude it from the final results, presenting monthly totals of these summed maximum 30-day average balances.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local032", + "db": "Brazilian_E_Commerce", + "question": "Could you help me find the sellers who excel in the following categories, considering only delivered orders: the seller with the highest number of distinct customer unique IDs, the seller with the highest profit (calculated as price minus freight value), the seller with the highest number of distinct orders, and the seller with the most 5-star ratings? For each category, please provide the seller ID and the corresponding value, labeling each row with a description of the achievement.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local068", + "db": "city_legislation", + "question": "Calculate the number of new cities inserted in April, May, and June for each year from 2021 to 2023. For each month, compute the cumulative running total of cities added for that specific month across the years up to and including the given year (i.e., sum the counts of that month over the years). Additionally, calculate the year-over-year growth percentages for both the monthly total and the running total for each month, comparing each year to the previous year. Present the results only for 2022 and 2023, listing the year, the month, the total number of cities added in that month, the cumulative running total for that month, and the year-over-year growth percentages for both the monthly total and the running total. Use the data from 2021 solely as a baseline for calculating growth rates, and exclude it from the final output.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local034", + "db": "Brazilian_E_Commerce", + "question": "Could you help me calculate the average of the total number of payments made using the most preferred payment method for each product category, where the most preferred payment method in a category is the one with the highest number of payments?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local197", + "db": "sqlite-sakila", + "question": "Among our top 10 paying customers, can you identify the largest change in payment amounts from one month to the immediately following month? Specifically, please determine for which customer and during which month this maximum month-over-month difference occurred, and provide the difference rounded to two decimal places.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local228", + "db": "IPL", + "question": "For each IPL season, identify the top three batsmen with the highest total runs scored and the top three bowlers with the most wickets taken, excluding \u2018run out\u2019, \u2018hit wicket\u2019, and \u2018retired hurt\u2019 dismissals. In the event of ties in runs or wickets, break the tie using the smaller player ID. Then output these six players in matched positions\u2014batsman 1 with bowler 1, batsman 2 with bowler 2, and batsman 3 with bowler 3\u2014in ascending order of the season ID, along with each player\u2019s total runs or wickets.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local060", + "db": "complex_oracle", + "question": "In the United States, for Q4 2019 and Q4 2020, first select only those cities where total sales (with no promotions) rose by at least 20% from Q4 2019 to Q4 2020. Among these cities, rank products by their overall sales (still excluding promotions) in those quarters and take the top 20%. Then compute each top product\u2019s share of total sales in Q4 2019 and Q4 2020 and calculate the difference in share from Q4 2019 to Q4 2020, returning the results in descending order of that share change.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local358", + "db": "log", + "question": "How many users are there in each age category (20s, 30s, 40s, 50s, and others)?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local283", + "db": "EU_soccer", + "question": "Analyze the soccer match dataset to determine the champion team for each season across all countries and leagues, awarding 3 points for every win, 1 point for every tie, and 0 points for every loss. For each season, return the champion\u2019s team name, the league, the country, and the total points accumulated.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local035", + "db": "Brazilian_E_Commerce", + "question": "In the \u201colist_geolocation\u201d table, please identify which two consecutive cities, when sorted by geolocation_state, geolocation_city, geolocation_zip_code_prefix, geolocation_lat, and geolocation_lng, have the greatest distance between them based on the difference in distance computed between each city and its immediate predecessor in that ordering.", + "external_knowledge": "spherical_law.md", + "document_sha256": "214e4074f9f55fd1794903cfa256b9b7d7bdba1dba2e4eb6eb6acca4f08a630e" + }, + { + "instance_id": "local071", + "db": "city_legislation", + "question": "Could you review our records in June 2022 and identify which countries have the longest streak of consecutive inserted city dates? Please list the 2-letter length country codes of these countries.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local039", + "db": "Pagila", + "question": "Please help me find the film category with the highest total rental hours in cities where the city's name either starts with \"A\" or contains a hyphen. ", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local167", + "db": "city_legislation", + "question": "Based on the state each female legislator first represented, which state has the highest number of female legislators whose terms included December 31st at any point, and what is that count? Please provide the state's abbreviation.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local133", + "db": "EntertainmentAgency", + "question": "Given a database of musical styles and user preferences, where Musical_Preferences contains user rankings of musical styles (PreferenceSeq=1 for first choice, PreferenceSeq=2 for second choice, PreferenceSeq=3 for third choice): Calculate a weighted score for each musical style by assigning 3 points for each time it was ranked as first choice, 2 points for each second choice, and 1 point for each third choice ranking. Calculate the total weighted score for each musical style that has been ranked by at least one user. Then, compute the absolute difference between each style's total weighted score and the average total weighted score across all such styles.\t", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local297", + "db": "bank_sales_trading", + "question": "For each customer, group all deposits and withdrawals by the first day of each month to obtain a monthly net amount, then calculate each month\u2019s closing balance by cumulatively summing these monthly nets. Next, determine the most recent month\u2019s growth rate by comparing its closing balance to the prior month\u2019s balance, treating deposits as positive and withdrawals as negative, and if the previous month\u2019s balance is zero, the growth rate should be the current month\u2019s balance multiplied by 100. Finally, compute the percentage of customers whose most recent month shows a growth rate of more than 5%.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local309", + "db": "f1", + "question": "For each year, which driver and which constructor scored the most points? I want the full name of each driver.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local098", + "db": "Db-IMDB", + "question": "From the first year each actor appeared in a film to the last, how many actors in the database never had a gap longer than three consecutive years without at least one new movie appearance, meaning there is no four-year span anywhere in their active career without at least a single film credit?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local329", + "db": "log", + "question": "How many unique sessions visited the /regist/input page and then the /regist/confirm page, in that order?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local040", + "db": "modern_data", + "question": "In the combined dataset that unifies the trees data with the income data by ZIP code, filling missing ZIP values where necessary, which three boroughs, restricted to records with median and mean income both greater than zero and a valid borough name, contain the highest number of trees, and what is the average mean income for each of these three boroughs?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local056", + "db": "sqlite-sakila", + "question": "Which customer has the highest average monthly change in payment amounts? Provide the customer's full name.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local074", + "db": "bank_sales_trading", + "question": "Please generate a summary of the closing balances at the end of each month for each customer transactions, show the monthly changes and monthly cumulative bank account balances. Ensure that even if a customer has no account activity in a given month, the balance for that month is still included in the output.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local156", + "db": "bank_sales_trading", + "question": "Analyze the annual average purchase price per Bitcoin by region, computed as the total dollar amount spent divided by the total quantity purchased each year, excluding the first year's data for each region. Then, for each year, rank the regions based on these average purchase prices, and calculate the annual percentage change in cost for each region compared to the previous year.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local258", + "db": "IPL", + "question": "Calculate the total number of wickets taken by each bowler (excluding run-outs and other dismissals not attributed to the bowler), their economy rate (total runs conceded divided by total overs bowled, considering only runs scored off the bat and ignoring any extra runs like wides and no-balls), their strike rate (average number of balls bowled per wicket taken), and their best bowling performance in a single match (the match with the most wickets taken by the bowler, formatted as \"wickets-runs\" where runs are the runs conceded excluding extras).", + "external_knowledge": "baseball_game_special_words_definition.md", + "document_sha256": "9c82e2acfee3bb4b9683957cdd46ef61ce11ee07a7f3cf1f6409a9960f908643" + }, + { + "instance_id": "local199", + "db": "sqlite-sakila", + "question": "Can you identify the year and month with the highest rental orders created by the store's staff for each store? Please list the store ID, the year, the month, and the total rentals for those dates.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local273", + "db": "oracle_sql", + "question": "Calculate the average pick percentage for each product name, using a first-in-first-out approach that selects from inventory locations based on the earliest purchase date and smallest available quantity, ensuring that the picked quantity reflects only the overlapping range between each order\u2019s required quantity and the inventory\u2019s available quantity, and then grouping and ordering the results by product name?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local078", + "db": "bank_sales_trading", + "question": "Identify the top 10 and bottom 10 interest categories based on their highest composition values across all months. For each category, display the time(MM-YYYY), interest name, and the composition value", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local330", + "db": "log", + "question": "Using the activity log table, compute the total number of unique user sessions where each web page appears as either a landing page (the first page visited in a session based on timestamp) or an exit page (the last page visited in a session based on timestamp), or both. Count each session only once per page even if the page serves as both landing and exit for that session. ", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local007", + "db": "Baseball", + "question": "Could you help me calculate the average single career span value in years for all baseball players? Please precise the result as a float number. First, calculate the difference in years, months, and days between the debut and final game dates. For each player, the career span is computed as the sum of the absolute number of years, plus the absolute number of months divided by 12, plus the absolute number of days divided by 365. Round each part to two decimal places before summing. Finally, average the career spans and round the result to a float number.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local229", + "db": "IPL", + "question": "Find the IDs of players who scored the highest number of partnership runs for each match. The output should include the IDs of two players, each with their individual scores and the total partnership score. For each pair, the player with the higher individual score should be listed as player 1, and the player with the lower score as player 2. In cases where both players have the same score, the player with the higher ID should be player 1, and the player with the lower ID should be player 2. There can be multiple rows for a single match.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local085", + "db": "northwind", + "question": "Among employees who have more than 50 total orders, which three have the highest percentage of late orders, where an order is considered late if the shipped date is on or after its required date? Please list each employee's ID, the number of late orders, and the corresponding late-order percentage.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local049", + "db": "modern_data", + "question": "Can you help me calculate the average number of new unicorn companies per year in the top industry from 2019 to 2021?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local275", + "db": "oracle_sql", + "question": "Based on monthly sales data starting in January 2016 and using a centered moving average to adjust for seasonality, which products had a seasonality-adjusted sales ratio that stayed consistently above 2 for every month in the year 2017?", + "external_knowledge": "calculation_method.md", + "document_sha256": "dfe12121ce38a8a38c62c3480dc0fadeafcbe134d5bf6f3f6eda216e1b1677de" + }, + { + "instance_id": "local262", + "db": "stacking", + "question": "Which problems exceed the total number of times they appear in the solution table when counting all occurrences, across steps 1, 2, and 3, where any non-\"Stack\" model's maximum test score is lower than the \"Stack\" model's test score for the same step and version?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local284", + "db": "bank_sales_trading", + "question": "For veg whsle data, can you generate a summary of our items' loss rates? Include the average loss rate, and also break down the count of items that are below, above, and within one standard deviation from this average.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local010", + "db": "Airlines", + "question": "Distribute all the unique city pairs into the distance ranges 0, 1000, 2000, 3000, 4000, 5000, and 6000+, based on their average distance of all routes between them. Then how many pairs are there in the distance range with the fewest unique city paires?", + "external_knowledge": "haversine_formula.md", + "document_sha256": "5205954f1ca74ed724d121772e2bf4bc86c2cfc163f6e3fdd6afeec79c33ffec" + }, + { + "instance_id": "local055", + "db": "chinook", + "question": "Identify the artist with the highest overall sales of albums (tie broken by alphabetical order) and the artist with the lowest overall sales of albums (tie broken by alphabetical order), then calculate the amount each customer spent specifically on those two artists\u2019 albums. Next, compute the average spending for the customers who purchased from the top-selling artist and the average spending for the customers who purchased from the lowest-selling artist, and finally return the absolute difference between these two averages.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local344", + "db": "f1", + "question": "Considering all races where pit stop data is available, and focusing on instances when a driver was not behind another car on the previous lap but is behind on the current lap (accounting for retirements, pit-stop entries, pit-stop exits, and race starts), how many times has each type of overtake occurred in Formula 1?", + "external_knowledge": "f1_overtake.md", + "document_sha256": "b83e7b52e1672e0b6d34bcfad8122034abac926b75d34c880c210ab1bfc8a046" + }, + { + "instance_id": "local311", + "db": "f1", + "question": "Which constructors had the top 3 combined points from their best driver and team, and in which years did they achieve them?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local114", + "db": "education_business", + "question": "Provide a detailed web sales report for each region, including the number of orders, total sales amount, and the name and sales amount of all sales representatives who achieved the highest total sales amount in that region (include all representatives in case of a tie).", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local025", + "db": "IPL", + "question": "For each match, considering every innings, please combine runs from both batsman scored and extra runs for each over, then identify the single over with the highest total runs, retrieve the bowler for that over from the ball by ball table, and calculate the average of these highest over totals across all matches, ensuring that all runs and bowler details are accurately reflected.", + "external_knowledge": null, + "document_sha256": null + } + ], + "suite": "spider2", + "development_ids": [ + "local163", + "local081", + "local310", + "local194", + "local024", + "local096", + "local073", + "local064", + "local029", + "local335", + "local279", + "local264", + "local072", + "local202", + "local004", + "local062", + "local003", + "local021", + "local041", + "local218" + ], + "holdout_ids": [ + "local356", + "local210", + "local197", + "local283", + "local063", + "local128", + "local040", + "local272", + "local023", + "local157", + "local274", + "local035", + "local056", + "local228", + "local253", + "local358", + "local360", + "local132", + "local061", + "local114", + "local244", + "local259", + "local299", + "local031", + "local171", + "local302", + "local028", + "local301", + "local010", + "local100", + "local131", + "local133", + "local355", + "local059", + "local198", + "local065", + "local270", + "local015", + "local311", + "local330", + "local229", + "local219", + "local329", + "local058", + "local269", + "local019", + "local037", + "local009", + "local300", + "local298", + "local002", + "local230", + "local354", + "local020", + "local085", + "local336", + "local275", + "local297", + "local196", + "local099", + "local209", + "local195", + "local039", + "local201", + "local026", + "local034", + "local066", + "local098", + "local032", + "local007", + "local060", + "local078", + "local008", + "local055", + "local070", + "local141", + "local054", + "local286", + "local193", + "local068", + "local331", + "local263", + "local258", + "local220", + "local049", + "local221", + "local168", + "local018", + "local273", + "local130", + "local038", + "local284", + "local071", + "local212", + "local074", + "local075", + "local277", + "local167", + "local344", + "local152", + "local025", + "local262", + "local156", + "local050", + "local067", + "local077", + "local022", + "local170", + "local097", + "local199", + "local169", + "local030", + "local017", + "local285", + "local309" + ], + "split_seed": 20261126 +} \ No newline at end of file diff --git a/bench/accuracy/results/spider-all-final/settings.json b/bench/accuracy/results/spider-all-final/settings.json new file mode 100644 index 00000000..c13794ff --- /dev/null +++ b/bench/accuracy/results/spider-all-final/settings.json @@ -0,0 +1,46 @@ +{ + "profiles": [ + { + "name": "gpt62-sol", + "model": "openai/gpt-6.2-sol", + "api_key_env": "OPEN_AI_KEY", + "max_output_tokens": 8192, + "reasoning_effort": "high", + "transport_retries": 1, + "retry_delay_seconds": 1 + } + ], + "split": "all", + "product_commit": "4e1b48a", + "manifest_sha256": "2383837d49bc0085d0543840efee195505cb94c39e5374e8069c8f5513ecc4a0", + "sources": { + "bench/ecommerce_demo.py": "f75f4c82e07773a57ee1954d59f0acf35c9eb945430bdaea4ccdd98a35dcc86c", + "bench/oracle_demo.py": "c781b9501dea47b7900bb47e3fe41e2700d2153e85e087dce757f95e3e698b0e", + "bench/oracle_view/rehearse.py": "0114ce65327e435d4e3be6cab60e22b48bfb3ff7f06d97c14a16ea0d8e5602f2", + "bench/oracle_view/long_context.py": "089038788a9b4191946c906e470877bd246850d0a6d535809594a0bddfdcd47e", + "bench/oracle_view/codex_demo.py": "2eea87d833ca6a73a50255fa83927c6c560e2390df6c65e217263b2d3bb966c6", + "bench/oracle_view/summarize_context.py": "707b288be6637a7c8a45b957ef44a81cfb091c7fa5b249e9407a2a9b07e66626", + "bench/oracle_view/evaluate.py": "10685e37fbb2420242ebf5f88f988f3d5bccebc45465151f53ab8454e8fb5a3c", + "bench/oracle_co/session.py": "ff839e7497d9e06ca18a248993bac3c556d256ade7311c604d1f55926c195acb", + "bench/oracle_co/demo.py": "a8ac981bb35d0d77595b2441721cde4e458fb63c3fb7c1748a14bab4a187300a", + "bench/oracle_co/db_preview.py": "9a08766183d5f9542442ba41666d998fe024926e676799ffac5d751237ee0d64", + "bench/accuracy/evaluate.py": "fb63626cf53df8545262ed75284adf2d78d64cbda5f80543661c4a6c2f51bac7", + "bench/oracle_meeting/rehearse.py": "542664b6f04ae6a9606735b550fc2ce2f50df6fc0513384ebf4c654136974cd3", + "bench/oracle_meeting/codex_rehearse.py": "cfa84091da819ab1cb71d083c3ff77cc7fd79b8560de2108626e6d4c3bd8a3aa", + "bench/oracle_meeting/package_fault.py": "c7bb3552f167bafcbc084152deb66e187b3a6fa4de3dfed92cc00c7588bc1fe2", + "bench/spider2/providers.py": "56dec4b5de751acb31a686a2ec6a279be9a8be32dc7939d20487ec428d130aef", + "bench/spider2/evaluate.py": "e69628766439b40d4a524d9a23890b9399dd4357f4550fac5ae72f74c2bc91f7" + }, + "limits": { + "max_calls": 16, + "call_timeout": 180, + "case_timeout": 900, + "sql_timeout": 30, + "max_rows": 100000, + "concurrency": 4 + }, + "composed_from": [ + "/Users/seyoung/workspace/benchmarks/accuracy-20261126/spider-development-final", + "/Users/seyoung/workspace/benchmarks/accuracy-20261126/spider-holdout-final" + ] +} \ No newline at end of file diff --git a/bench/accuracy/results/spider-all-final/summary.json b/bench/accuracy/results/spider-all-final/summary.json new file mode 100644 index 00000000..1932423d --- /dev/null +++ b/bench/accuracy/results/spider-all-final/summary.json @@ -0,0 +1,10 @@ +[ + { + "profile": "gpt62-sol", + "status": "completed", + "correct": 81, + "total": 135, + "accuracy": 0.6, + "aggregation": "Union of disjoint officially scored partitions; no answer selection or repeated inference." + } +] \ No newline at end of file diff --git a/bench/accuracy/results/spider-development-astra/gpt62-astra/records.jsonl b/bench/accuracy/results/spider-development-astra/gpt62-astra/records.jsonl new file mode 100644 index 00000000..a7802122 --- /dev/null +++ b/bench/accuracy/results/spider-development-astra/gpt62-astra/records.jsonl @@ -0,0 +1,20 @@ +{"instance_id": "local003", "profile": "gpt62-astra", "model": "openai/gpt-6.2-astra", "status": "failed", "error_type": "Timeout", "seconds": 232.36012891703285, "calls": [{"seconds": 3.8859626669436693, "usage": {"completion_tokens": 97, "prompt_tokens": 3001, "total_tokens": 3098, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 2437, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 2437, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 2437, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 14.878827707958408, "usage": {"completion_tokens": 621, "prompt_tokens": 3352, "total_tokens": 3973, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 482, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 351, "cached_tokens": 2437, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 351, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 351, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 31.22424883302301, "usage": {"completion_tokens": 1062, "prompt_tokens": 4167, "total_tokens": 5229, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 907, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 815, "cached_tokens": 2788, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 815, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 815, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 180.04685512499418, "usage": null, "status": "error", "error_type": "Timeout"}], "full_record_sha256": "7b002b33125f489dd9cfa75cada5472698228ebe0c8c58f617441f1cd9d60f93"} +{"instance_id": "local004", "profile": "gpt62-astra", "model": "openai/gpt-6.2-astra", "status": "predicted", "answer": "```sql\nWITH payment_per_order AS (\n SELECT order_id, SUM(payment_value) AS order_payment\n FROM order_payments\n GROUP BY order_id\n)\nSELECT\n COUNT(*) AS number_of_orders,\n AVG(p.order_payment) AS average_payment_per_order,\n MAX(1.0, (JULIANDAY(DATE(MAX(o.order_purchase_timestamp))) -\n JULIANDAY(DATE(MIN(o.order_purchase_timestamp)))) / 7.0) AS lifespan_weeks\nFROM orders AS o\nJOIN customers AS c ON c.customer_id = o.customer_id\nLEFT JOIN payment_per_order AS p ON p.order_id = o.order_id\nGROUP BY c.customer_unique_id\nORDER BY average_payment_per_order DESC, c.customer_unique_id\nLIMIT 3;\n```", "rows": 3, "sql": "WITH payment_per_order AS (\n SELECT order_id, SUM(payment_value) AS order_payment\n FROM order_payments\n GROUP BY order_id\n)\nSELECT\n COUNT(*) AS number_of_orders,\n AVG(p.order_payment) AS average_payment_per_order,\n MAX(1.0, (JULIANDAY(DATE(MAX(o.order_purchase_timestamp))) -\n JULIANDAY(DATE(MIN(o.order_purchase_timestamp)))) / 7.0) AS lifespan_weeks\nFROM orders AS o\nJOIN customers AS c ON c.customer_id = o.customer_id\nLEFT JOIN payment_per_order AS p ON p.order_id = o.order_id\nGROUP BY c.customer_unique_id\nORDER BY average_payment_per_order DESC, c.customer_unique_id\nLIMIT 3;", "seconds": 18.80752700008452, "calls": [{"seconds": 4.213265083031729, "usage": {"completion_tokens": 81, "prompt_tokens": 1686, "total_tokens": 1767, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1122, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1122, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1122, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 7.077300125034526, "usage": {"completion_tokens": 286, "prompt_tokens": 1964, "total_tokens": 2250, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 102, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1122, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 5.317132416996174, "usage": {"completion_tokens": 167, "prompt_tokens": 2483, "total_tokens": 2650, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 519, "cached_tokens": 1400, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 519, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 519, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}], "full_record_sha256": "45d4b8613f04edec620b81141ab1d1bfce0a9c9776522cc2e8e0d4c95e880262", "csv_sha256": "e508c17db44eb79128b59fcc667dd4732ba8aeb88e72165edb7ec6b5b81b7f96"} +{"instance_id": "local021", "profile": "gpt62-astra", "model": "openai/gpt-6.2-astra", "status": "predicted", "answer": "```sql\nWITH qualifying_scores AS (\n SELECT SUM(s.runs_scored) AS match_runs\n FROM ball_by_ball AS b\n JOIN batsman_scored AS s\n USING (match_id, innings_no, over_id, ball_id)\n GROUP BY b.match_id, b.striker\n HAVING SUM(s.runs_scored) > 50\n)\nSELECT AVG(match_runs) AS average_runs\nFROM qualifying_scores;\n```", "rows": 1, "sql": "WITH qualifying_scores AS (\n SELECT SUM(s.runs_scored) AS match_runs\n FROM ball_by_ball AS b\n JOIN batsman_scored AS s\n USING (match_id, innings_no, over_id, ball_id)\n GROUP BY b.match_id, b.striker\n HAVING SUM(s.runs_scored) > 50\n)\nSELECT AVG(match_runs) AS average_runs\nFROM qualifying_scores;", "seconds": 27.41311866696924, "calls": [{"seconds": 3.0592083749361336, "usage": {"completion_tokens": 70, "prompt_tokens": 1630, "total_tokens": 1700, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1075, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1075, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1075, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 18.672621957957745, "usage": {"completion_tokens": 749, "prompt_tokens": 1874, "total_tokens": 2623, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 638, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 244, "cached_tokens": 1075, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 244, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 244, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 5.522525458945893, "usage": {"completion_tokens": 97, "prompt_tokens": 2745, "total_tokens": 2842, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 871, "cached_tokens": 1319, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 871, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 871, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}], "full_record_sha256": "0413b6517e2506f467f39f401184923d0fab59a40f4a19ed8df85338aa158cfa", "csv_sha256": "ac79573ed6e2681f9e410091110ca4e0c02cab978a7dee3d5aab66e0434551e8"} +{"instance_id": "local024", "profile": "gpt62-astra", "model": "openai/gpt-6.2-astra", "status": "predicted", "answer": "```sql\nWITH match_runs AS (\n SELECT b.match_id, b.striker AS player_id, SUM(s.runs_scored) AS runs\n FROM ball_by_ball AS b\n JOIN batsman_scored AS s\n USING (match_id, innings_no, over_id, ball_id)\n GROUP BY b.match_id, b.striker\n),\nplayer_averages AS (\n SELECT pm.player_id, AVG(COALESCE(mr.runs, 0)) AS avg_runs_per_match\n FROM player_match AS pm\n LEFT JOIN match_runs AS mr\n USING (match_id, player_id)\n GROUP BY pm.player_id\n)\nSELECT p.country_name, AVG(pa.avg_runs_per_match) AS country_batting_average\nFROM player_averages AS pa\nJOIN player AS p USING (player_id)\nWHERE p.country_name IS NOT NULL\nGROUP BY p.country_name\nORDER BY country_batting_average DESC, p.country_name ASC\nLIMIT 5\n```", "rows": 5, "sql": "WITH match_runs AS (\n SELECT b.match_id, b.striker AS player_id, SUM(s.runs_scored) AS runs\n FROM ball_by_ball AS b\n JOIN batsman_scored AS s\n USING (match_id, innings_no, over_id, ball_id)\n GROUP BY b.match_id, b.striker\n),\nplayer_averages AS (\n SELECT pm.player_id, AVG(COALESCE(mr.runs, 0)) AS avg_runs_per_match\n FROM player_match AS pm\n LEFT JOIN match_runs AS mr\n USING (match_id, player_id)\n GROUP BY pm.player_id\n)\nSELECT p.country_name, AVG(pa.avg_runs_per_match) AS country_batting_average\nFROM player_averages AS pa\nJOIN player AS p USING (player_id)\nWHERE p.country_name IS NOT NULL\nGROUP BY p.country_name\nORDER BY country_batting_average DESC, p.country_name ASC\nLIMIT 5", "seconds": 21.120395541889593, "calls": [{"seconds": 4.122643833048642, "usage": {"completion_tokens": 116, "prompt_tokens": 1670, "total_tokens": 1786, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1115, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1115, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1115, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 5.6329534579999745, "usage": {"completion_tokens": 171, "prompt_tokens": 2146, "total_tokens": 2317, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 13, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 476, "cached_tokens": 1115, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 476, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 476, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 5.399172542034648, "usage": {"completion_tokens": 249, "prompt_tokens": 2512, "total_tokens": 2761, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 22, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 366, "cached_tokens": 1591, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 366, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 366, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 5.7548604579642415, "usage": {"completion_tokens": 209, "prompt_tokens": 3047, "total_tokens": 3256, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 535, "cached_tokens": 1957, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 535, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 535, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}], "full_record_sha256": "b0ae1b46fdfbc3a722bcbd2623783701423ceac2dbda686807198ce9c6d5cb82", "csv_sha256": "d2b419f6ccb842c7a9f8fbee56796590a1cd65202a6bfc66efd074ab91fde020"} +{"instance_id": "local029", "profile": "gpt62-astra", "model": "openai/gpt-6.2-astra", "status": "predicted", "answer": "```sql\nWITH delivered AS (\n SELECT c.customer_unique_id, c.customer_city, c.customer_state, o.order_id,\n ROW_NUMBER() OVER (\n PARTITION BY c.customer_unique_id\n ORDER BY o.order_purchase_timestamp DESC, o.order_id DESC\n ) AS location_rank\n FROM olist_orders AS o\n JOIN olist_customers AS c ON c.customer_id = o.customer_id\n WHERE o.order_status = 'delivered'\n)\nSELECT d.customer_unique_id,\n COUNT(DISTINCT d.order_id) AS delivered_order_count,\n AVG(p.payment_value) AS average_payment_value,\n MAX(CASE WHEN d.location_rank = 1 THEN d.customer_city END) AS customer_city,\n MAX(CASE WHEN d.location_rank = 1 THEN d.customer_state END) AS customer_state\nFROM delivered AS d\nLEFT JOIN olist_order_payments AS p ON p.order_id = d.order_id\nGROUP BY d.customer_unique_id\nORDER BY delivered_order_count DESC, d.customer_unique_id ASC\nLIMIT 3;\n```", "rows": 3, "sql": "WITH delivered AS (\n SELECT c.customer_unique_id, c.customer_city, c.customer_state, o.order_id,\n ROW_NUMBER() OVER (\n PARTITION BY c.customer_unique_id\n ORDER BY o.order_purchase_timestamp DESC, o.order_id DESC\n ) AS location_rank\n FROM olist_orders AS o\n JOIN olist_customers AS c ON c.customer_id = o.customer_id\n WHERE o.order_status = 'delivered'\n)\nSELECT d.customer_unique_id,\n COUNT(DISTINCT d.order_id) AS delivered_order_count,\n AVG(p.payment_value) AS average_payment_value,\n MAX(CASE WHEN d.location_rank = 1 THEN d.customer_city END) AS customer_city,\n MAX(CASE WHEN d.location_rank = 1 THEN d.customer_state END) AS customer_state\nFROM delivered AS d\nLEFT JOIN olist_order_payments AS p ON p.order_id = d.order_id\nGROUP BY d.customer_unique_id\nORDER BY delivered_order_count DESC, d.customer_unique_id ASC\nLIMIT 3;", "seconds": 26.86352287500631, "calls": [{"seconds": 3.557204374927096, "usage": {"completion_tokens": 85, "prompt_tokens": 1667, "total_tokens": 1752, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1088, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1088, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1088, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 10.372660791967064, "usage": {"completion_tokens": 445, "prompt_tokens": 1956, "total_tokens": 2401, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 204, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 289, "cached_tokens": 1088, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 289, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 289, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 11.870254084002227, "usage": {"completion_tokens": 602, "prompt_tokens": 2765, "total_tokens": 3367, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 378, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 809, "cached_tokens": 1377, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 809, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 809, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}], "full_record_sha256": "27b26d79f4d87c18f8804a6605ba53c595894017bbacd4b753290c9aeaf145d3", "csv_sha256": "a3512144a05805bcf6c1db94100524d0652e01c6abf9c321408b28d2476e1b82"} +{"instance_id": "local041", "profile": "gpt62-astra", "model": "openai/gpt-6.2-astra", "status": "predicted", "answer": "```sql\nSELECT 100.0 * COUNT(CASE WHEN health = 'Good' THEN 1 END) / NULLIF(COUNT(*), 0) AS percentage_good\nFROM trees\nWHERE boroname = 'Bronx';\n```", "rows": 1, "sql": "SELECT 100.0 * COUNT(CASE WHEN health = 'Good' THEN 1 END) / NULLIF(COUNT(*), 0) AS percentage_good\nFROM trees\nWHERE boroname = 'Bronx';", "seconds": 9.509630499989726, "calls": [{"seconds": 3.0893394170561805, "usage": {"completion_tokens": 66, "prompt_tokens": 1659, "total_tokens": 1725, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1062, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1062, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1062, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 3.3243060410022736, "usage": {"completion_tokens": 63, "prompt_tokens": 1932, "total_tokens": 1995, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 273, "cached_tokens": 1062, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 273, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 273, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 2.94478220900055, "usage": {"completion_tokens": 54, "prompt_tokens": 2074, "total_tokens": 2128, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 142, "cached_tokens": 1335, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 142, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 142, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}], "full_record_sha256": "c946716c989f25c7d0fea454dde1904cef6d82153344611ed839a61f16a80f4b", "csv_sha256": "e60e03eaf79a25527c91bae79763501a7edae27535b9f8a188a925a79590d1ef"} +{"instance_id": "local062", "profile": "gpt62-astra", "model": "openai/gpt-6.2-astra", "status": "failed", "error_type": "Timeout", "seconds": 180.02174200001173, "calls": [{"seconds": 180.01860158296768, "usage": null, "status": "error", "error_type": "Timeout"}], "full_record_sha256": "4a5d6e035f46f651e6b3cfc7eb9774ea8129daa5a65d319a6b52f0dc60fdc662"} +{"instance_id": "local064", "profile": "gpt62-astra", "model": "openai/gpt-6.2-astra", "status": "predicted", "answer": "```sql\nWITH RECURSIVE months(month_start) AS (\n VALUES ('2020-01-01')\n UNION ALL\n SELECT date(month_start, '+1 month')\n FROM months\n WHERE month_start < '2020-12-01'\n),\ncustomers AS (\n SELECT customer_id FROM customer_nodes\n UNION\n SELECT customer_id FROM customer_transactions\n),\nmonthly_net AS (\n SELECT customer_id,\n date(txn_date, 'start of month') AS month_start,\n SUM(CASE txn_type\n WHEN 'deposit' THEN txn_amount\n WHEN 'withdrawal' THEN -txn_amount\n ELSE 0\n END) AS balance\n FROM customer_transactions\n WHERE txn_date >= '2020-01-01' AND txn_date < '2021-01-01'\n GROUP BY customer_id, date(txn_date, 'start of month')\n),\nmonth_stats AS (\n SELECT m.month_start,\n COUNT(CASE WHEN n.balance > 0 THEN 1 END) AS positive_count,\n AVG(COALESCE(n.balance, 0)) AS avg_balance\n FROM months AS m\n CROSS JOIN customers AS c\n LEFT JOIN monthly_net AS n\n ON n.customer_id = c.customer_id AND n.month_start = m.month_start\n GROUP BY m.month_start\n),\n-- Select the earliest month when multiple months share an extreme count.\nhighest AS (\n SELECT month_start, avg_balance FROM month_stats\n ORDER BY positive_count DESC, month_start ASC\n LIMIT 1\n),\nlowest AS (\n SELECT month_start, avg_balance FROM month_stats\n ORDER BY positive_count ASC, month_start ASC\n LIMIT 1\n)\nSELECT strftime('%Y-%m', h.month_start) AS highest_count_month,\n h.avg_balance AS highest_count_month_avg_balance,\n strftime('%Y-%m', l.month_start) AS lowest_count_month,\n l.avg_balance AS lowest_count_month_avg_balance,\n h.avg_balance - l.avg_balance AS average_balance_difference\nFROM highest AS h\nCROSS JOIN lowest AS l;\n```", "rows": 1, "sql": "WITH RECURSIVE months(month_start) AS (\n VALUES ('2020-01-01')\n UNION ALL\n SELECT date(month_start, '+1 month')\n FROM months\n WHERE month_start < '2020-12-01'\n),\ncustomers AS (\n SELECT customer_id FROM customer_nodes\n UNION\n SELECT customer_id FROM customer_transactions\n),\nmonthly_net AS (\n SELECT customer_id,\n date(txn_date, 'start of month') AS month_start,\n SUM(CASE txn_type\n WHEN 'deposit' THEN txn_amount\n WHEN 'withdrawal' THEN -txn_amount\n ELSE 0\n END) AS balance\n FROM customer_transactions\n WHERE txn_date >= '2020-01-01' AND txn_date < '2021-01-01'\n GROUP BY customer_id, date(txn_date, 'start of month')\n),\nmonth_stats AS (\n SELECT m.month_start,\n COUNT(CASE WHEN n.balance > 0 THEN 1 END) AS positive_count,\n AVG(COALESCE(n.balance, 0)) AS avg_balance\n FROM months AS m\n CROSS JOIN customers AS c\n LEFT JOIN monthly_net AS n\n ON n.customer_id = c.customer_id AND n.month_start = m.month_start\n GROUP BY m.month_start\n),\n-- Select the earliest month when multiple months share an extreme count.\nhighest AS (\n SELECT month_start, avg_balance FROM month_stats\n ORDER BY positive_count DESC, month_start ASC\n LIMIT 1\n),\nlowest AS (\n SELECT month_start, avg_balance FROM month_stats\n ORDER BY positive_count ASC, month_start ASC\n LIMIT 1\n)\nSELECT strftime('%Y-%m', h.month_start) AS highest_count_month,\n h.avg_balance AS highest_count_month_avg_balance,\n strftime('%Y-%m', l.month_start) AS lowest_count_month,\n l.avg_balance AS lowest_count_month_avg_balance,\n h.avg_balance - l.avg_balance AS average_balance_difference\nFROM highest AS h\nCROSS JOIN lowest AS l;", "seconds": 36.004183958051726, "calls": [{"seconds": 3.7712492080172524, "usage": {"completion_tokens": 82, "prompt_tokens": 1741, "total_tokens": 1823, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1136, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1136, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1136, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 7.517213457962498, "usage": {"completion_tokens": 217, "prompt_tokens": 1961, "total_tokens": 2178, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 160, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 220, "cached_tokens": 1136, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 220, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 220, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 15.860291874967515, "usage": {"completion_tokens": 721, "prompt_tokens": 2320, "total_tokens": 3041, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 235, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 359, "cached_tokens": 1356, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 359, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 359, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 7.410307541955262, "usage": {"completion_tokens": 441, "prompt_tokens": 3554, "total_tokens": 3995, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1234, "cached_tokens": 1715, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1234, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1234, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}], "full_record_sha256": "4471f349df2ae827262da92c8358c48b5660646ee178bd17cebae2f6e051d3cf", "csv_sha256": "77c425b078b636bd27df8b26453f203d0230b65f8e4f00a23ab92e035a98931b"} +{"instance_id": "local072", "profile": "gpt62-astra", "model": "openai/gpt-6.2-astra", "status": "predicted", "answer": "```sql\nWITH daily AS (\n SELECT country_code_2, DATE(insert_date) AS day,\n COUNT(*) AS entries,\n SUM(CASE WHEN capital = 1 THEN 1 ELSE 0 END) AS capital_entries\n FROM cities\n WHERE insert_date >= '2022-01-01' AND insert_date < '2022-02-01'\n GROUP BY country_code_2, DATE(insert_date)\n), numbered AS (\n SELECT daily.*,\n COUNT(*) OVER (PARTITION BY country_code_2) AS insertion_days,\n JULIANDAY(day) - ROW_NUMBER() OVER (\n PARTITION BY country_code_2 ORDER BY day\n ) AS streak_key\n FROM daily\n), streaks AS (\n SELECT country_code_2, MIN(day) AS start_date, MAX(day) AS end_date,\n COUNT(*) AS streak_days,\n 1.0 * SUM(capital_entries) / SUM(entries) AS capital_proportion\n FROM numbered\n WHERE insertion_days = 9\n GROUP BY country_code_2, streak_key\n), ranked AS (\n SELECT streaks.*, RANK() OVER (\n PARTITION BY country_code_2 ORDER BY streak_days DESC\n ) AS streak_rank\n FROM streaks\n)\nSELECT c.country_name, r.start_date, r.end_date, r.capital_proportion\nFROM ranked AS r\nJOIN cities_countries AS c ON c.country_code_2 = r.country_code_2\nWHERE r.streak_rank = 1\nORDER BY c.country_name, r.start_date;\n```", "rows": 1, "sql": "WITH daily AS (\n SELECT country_code_2, DATE(insert_date) AS day,\n COUNT(*) AS entries,\n SUM(CASE WHEN capital = 1 THEN 1 ELSE 0 END) AS capital_entries\n FROM cities\n WHERE insert_date >= '2022-01-01' AND insert_date < '2022-02-01'\n GROUP BY country_code_2, DATE(insert_date)\n), numbered AS (\n SELECT daily.*,\n COUNT(*) OVER (PARTITION BY country_code_2) AS insertion_days,\n JULIANDAY(day) - ROW_NUMBER() OVER (\n PARTITION BY country_code_2 ORDER BY day\n ) AS streak_key\n FROM daily\n), streaks AS (\n SELECT country_code_2, MIN(day) AS start_date, MAX(day) AS end_date,\n COUNT(*) AS streak_days,\n 1.0 * SUM(capital_entries) / SUM(entries) AS capital_proportion\n FROM numbered\n WHERE insertion_days = 9\n GROUP BY country_code_2, streak_key\n), ranked AS (\n SELECT streaks.*, RANK() OVER (\n PARTITION BY country_code_2 ORDER BY streak_days DESC\n ) AS streak_rank\n FROM streaks\n)\nSELECT c.country_name, r.start_date, r.end_date, r.capital_proportion\nFROM ranked AS r\nJOIN cities_countries AS c ON c.country_code_2 = r.country_code_2\nWHERE r.streak_rank = 1\nORDER BY c.country_name, r.start_date;", "seconds": 28.550146957975812, "calls": [{"seconds": 2.8207344169495627, "usage": {"completion_tokens": 15, "prompt_tokens": 1682, "total_tokens": 1697, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1103, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1103, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1103, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 3.254127832944505, "usage": {"completion_tokens": 99, "prompt_tokens": 1773, "total_tokens": 1872, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 91, "cached_tokens": 1103, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 91, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 91, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 3.707939208019525, "usage": {"completion_tokens": 116, "prompt_tokens": 2170, "total_tokens": 2286, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 397, "cached_tokens": 1194, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 397, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 397, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 3.482211417052895, "usage": {"completion_tokens": 32, "prompt_tokens": 2572, "total_tokens": 2604, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 402, "cached_tokens": 1591, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 402, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 402, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 8.81732116593048, "usage": {"completion_tokens": 424, "prompt_tokens": 2675, "total_tokens": 3099, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 66, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 103, "cached_tokens": 1993, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 103, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 103, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 6.423904208000749, "usage": {"completion_tokens": 333, "prompt_tokens": 3488, "total_tokens": 3821, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 813, "cached_tokens": 2096, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 813, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 813, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}], "full_record_sha256": "056d6824a9ba83827eced724398b3db2cb21755d239b98709cadbdae79cc4715", "csv_sha256": "15446f26c70b019e0d7fe65751b29c537bd30246da55d7a66b8eaae7e8706537"} +{"instance_id": "local073", "profile": "gpt62-astra", "model": "openai/gpt-6.2-astra", "status": "predicted", "answer": "```sql\nWITH order_lines AS (\n SELECT o.rowid AS row_id, o.order_id, o.customer_id, n.pizza_name,\n o.order_time, o.exclusions, o.extras,\n CASE WHEN n.pizza_name = 'Meatlovers' THEN 1 ELSE 2 END AS pizza_id\n FROM pizza_clean_customer_orders AS o\n JOIN pizza_names AS n ON n.pizza_id = o.pizza_id\n),\ningredients AS (\n SELECT o.row_id, CAST(s.value AS INTEGER) AS topping_id\n FROM order_lines AS o\n JOIN pizza_recipes AS r ON r.pizza_id = o.pizza_id\n CROSS JOIN json_each('[' || r.toppings || ']') AS s\n WHERE instr(',' || replace(coalesce(o.exclusions, ''), ' ', '') || ',',\n ',' || s.value || ',') = 0\n\n UNION ALL\n\n SELECT o.row_id, CAST(e.value AS INTEGER) AS topping_id\n FROM order_lines AS o\n CROSS JOIN json_each('[\"' || replace(o.extras, ',', '\",\"') || '\"]') AS e\n),\ntopping_counts AS (\n SELECT i.row_id, t.topping_name, COUNT(*) AS qty\n FROM ingredients AS i\n JOIN pizza_toppings AS t ON t.topping_id = i.topping_id\n GROUP BY i.row_id, t.topping_name\n)\nSELECT o.row_id, o.order_id, o.customer_id, o.pizza_name,\n o.pizza_name || ': ' || coalesce((\n SELECT group_concat(label, ', ')\n FROM (\n SELECT CASE WHEN c.qty > 1 THEN '2x' ELSE '' END || c.topping_name AS label\n FROM topping_counts AS c\n WHERE c.row_id = o.row_id\n ORDER BY (c.qty > 1) DESC, c.topping_name COLLATE NOCASE\n )\n ), '') AS final_ingredients\nFROM order_lines AS o\nGROUP BY o.row_id, o.order_id, o.customer_id, o.pizza_name, o.order_time\nORDER BY o.row_id ASC;\n```", "rows": 14, "sql": "WITH order_lines AS (\n SELECT o.rowid AS row_id, o.order_id, o.customer_id, n.pizza_name,\n o.order_time, o.exclusions, o.extras,\n CASE WHEN n.pizza_name = 'Meatlovers' THEN 1 ELSE 2 END AS pizza_id\n FROM pizza_clean_customer_orders AS o\n JOIN pizza_names AS n ON n.pizza_id = o.pizza_id\n),\ningredients AS (\n SELECT o.row_id, CAST(s.value AS INTEGER) AS topping_id\n FROM order_lines AS o\n JOIN pizza_recipes AS r ON r.pizza_id = o.pizza_id\n CROSS JOIN json_each('[' || r.toppings || ']') AS s\n WHERE instr(',' || replace(coalesce(o.exclusions, ''), ' ', '') || ',',\n ',' || s.value || ',') = 0\n\n UNION ALL\n\n SELECT o.row_id, CAST(e.value AS INTEGER) AS topping_id\n FROM order_lines AS o\n CROSS JOIN json_each('[\"' || replace(o.extras, ',', '\",\"') || '\"]') AS e\n),\ntopping_counts AS (\n SELECT i.row_id, t.topping_name, COUNT(*) AS qty\n FROM ingredients AS i\n JOIN pizza_toppings AS t ON t.topping_id = i.topping_id\n GROUP BY i.row_id, t.topping_name\n)\nSELECT o.row_id, o.order_id, o.customer_id, o.pizza_name,\n o.pizza_name || ': ' || coalesce((\n SELECT group_concat(label, ', ')\n FROM (\n SELECT CASE WHEN c.qty > 1 THEN '2x' ELSE '' END || c.topping_name AS label\n FROM topping_counts AS c\n WHERE c.row_id = o.row_id\n ORDER BY (c.qty > 1) DESC, c.topping_name COLLATE NOCASE\n )\n ), '') AS final_ingredients\nFROM order_lines AS o\nGROUP BY o.row_id, o.order_id, o.customer_id, o.pizza_name, o.order_time\nORDER BY o.row_id ASC;", "seconds": 56.064744667033665, "calls": [{"seconds": 3.984926207922399, "usage": {"completion_tokens": 141, "prompt_tokens": 1815, "total_tokens": 1956, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1218, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1218, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1218, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 4.951464708079584, "usage": {"completion_tokens": 181, "prompt_tokens": 2215, "total_tokens": 2396, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 400, "cached_tokens": 1218, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 400, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 400, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 3.9918063749792054, "usage": {"completion_tokens": 40, "prompt_tokens": 3693, "total_tokens": 3733, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 23, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1478, "cached_tokens": 1618, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1478, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1478, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 11.060427416930906, "usage": {"completion_tokens": 310, "prompt_tokens": 3829, "total_tokens": 4139, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 285, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 136, "cached_tokens": 3096, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 136, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 136, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 4.50647670798935, "usage": {"completion_tokens": 130, "prompt_tokens": 4176, "total_tokens": 4306, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 61, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 347, "cached_tokens": 3232, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 347, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 347, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 18.458345249993727, "usage": {"completion_tokens": 846, "prompt_tokens": 4655, "total_tokens": 5501, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 362, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 479, "cached_tokens": 3579, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 479, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 479, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 7.6531946250470355, "usage": {"completion_tokens": 454, "prompt_tokens": 6472, "total_tokens": 6926, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1817, "cached_tokens": 4058, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1817, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1817, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}], "full_record_sha256": "bae7ab345488264bab23b38d508dedeb20813c4568ed6a577acac85ba8590c63", "csv_sha256": "126c1e938f07dfe23ab78436e547f9c8b06828df658a34bbe6a68fc7b8c55702"} +{"instance_id": "local081", "profile": "gpt62-astra", "model": "openai/gpt-6.2-astra", "status": "failed", "error_type": "Timeout", "seconds": 180.01662379107438, "calls": [{"seconds": 180.01447524991818, "usage": null, "status": "error", "error_type": "Timeout"}], "full_record_sha256": "7e66797f5da8e6efac93fa3144b1796d7391758d13480496588a2bfcea1c589a"} +{"instance_id": "local096", "profile": "gpt62-astra", "model": "openai/gpt-6.2-astra", "status": "predicted", "answer": "```sql\nWITH film_flags AS (\n SELECT m.MID,\n CAST(SUBSTR(m.year, -4) AS INTEGER) AS film_year,\n MIN(CASE WHEN p.Gender = 'Female' THEN 1 ELSE 0 END) AS exclusively_female\n FROM Movie AS m\n LEFT JOIN M_Cast AS c ON c.MID = m.MID\n LEFT JOIN Person AS p ON p.PID = TRIM(c.PID)\n GROUP BY m.MID, CAST(SUBSTR(m.year, -4) AS INTEGER)\n)\nSELECT film_year AS year,\n COUNT(*) AS total_movies,\n 100.0 * SUM(exclusively_female) / COUNT(*) AS exclusively_female_pct\nFROM film_flags\nGROUP BY film_year\nORDER BY film_year;\n```", "rows": 78, "sql": "WITH film_flags AS (\n SELECT m.MID,\n CAST(SUBSTR(m.year, -4) AS INTEGER) AS film_year,\n MIN(CASE WHEN p.Gender = 'Female' THEN 1 ELSE 0 END) AS exclusively_female\n FROM Movie AS m\n LEFT JOIN M_Cast AS c ON c.MID = m.MID\n LEFT JOIN Person AS p ON p.PID = TRIM(c.PID)\n GROUP BY m.MID, CAST(SUBSTR(m.year, -4) AS INTEGER)\n)\nSELECT film_year AS year,\n COUNT(*) AS total_movies,\n 100.0 * SUM(exclusively_female) / COUNT(*) AS exclusively_female_pct\nFROM film_flags\nGROUP BY film_year\nORDER BY film_year;", "seconds": 25.175280833034776, "calls": [{"seconds": 3.6969706669915468, "usage": {"completion_tokens": 67, "prompt_tokens": 1716, "total_tokens": 1783, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1143, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1143, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1143, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 5.986030083033256, "usage": {"completion_tokens": 137, "prompt_tokens": 1897, "total_tokens": 2034, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 20, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 181, "cached_tokens": 1143, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 181, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 181, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 4.966461499920115, "usage": {"completion_tokens": 140, "prompt_tokens": 2213, "total_tokens": 2353, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 34, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 316, "cached_tokens": 1324, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 316, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 316, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 4.683950874954462, "usage": {"completion_tokens": 189, "prompt_tokens": 2505, "total_tokens": 2694, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 292, "cached_tokens": 1640, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 292, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 292, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 5.6006583330454305, "usage": {"completion_tokens": 172, "prompt_tokens": 3450, "total_tokens": 3622, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 945, "cached_tokens": 1932, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 945, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 945, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}], "full_record_sha256": "d1b36472a935de2d53287fc419ead777b737b37fa866e14d6912236570129930", "csv_sha256": "0dc559ac737695a9db97bbc6aa048325ca2e9ed95f38728f5f3e9a22915d11cc"} +{"instance_id": "local163", "profile": "gpt62-astra", "model": "openai/gpt-6.2-astra", "status": "predicted", "answer": "```sql\nWITH deviations AS (\n SELECT FacRank, FacFirstName, FacLastName, FacSalary,\n ABS(FacSalary - AVG(FacSalary) OVER (PARTITION BY FacRank)) AS deviation\n FROM university_faculty\n),\nclosest AS (\n SELECT deviations.*, MIN(deviation) OVER (PARTITION BY FacRank) AS min_deviation\n FROM deviations\n)\nSELECT FacRank, FacFirstName, FacLastName, FacSalary\nFROM closest\nWHERE deviation = min_deviation\nORDER BY FacRank, FacLastName, FacFirstName;\n```", "rows": 4, "sql": "WITH deviations AS (\n SELECT FacRank, FacFirstName, FacLastName, FacSalary,\n ABS(FacSalary - AVG(FacSalary) OVER (PARTITION BY FacRank)) AS deviation\n FROM university_faculty\n),\nclosest AS (\n SELECT deviations.*, MIN(deviation) OVER (PARTITION BY FacRank) AS min_deviation\n FROM deviations\n)\nSELECT FacRank, FacFirstName, FacLastName, FacSalary\nFROM closest\nWHERE deviation = min_deviation\nORDER BY FacRank, FacLastName, FacFirstName;", "seconds": 10.63775429094676, "calls": [{"seconds": 2.7118000000482425, "usage": {"completion_tokens": 22, "prompt_tokens": 1688, "total_tokens": 1710, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1081, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1081, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1081, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 3.9885924169793725, "usage": {"completion_tokens": 139, "prompt_tokens": 1798, "total_tokens": 1937, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 110, "cached_tokens": 1081, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 110, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 110, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 3.9311477500014007, "usage": {"completion_tokens": 124, "prompt_tokens": 2151, "total_tokens": 2275, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 353, "cached_tokens": 1191, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 353, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 353, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}], "full_record_sha256": "89e4d1c1e2ffaa037c532f8df82e03302a918d01c7e35eac4e71203502bd3817", "csv_sha256": "79585ba9819c14d162618ea6c4edcca741736d9267f4a3e2dcd9797b3a4298c8"} +{"instance_id": "local194", "profile": "gpt62-astra", "model": "openai/gpt-6.2-astra", "status": "predicted", "answer": "```sql\nWITH film_revenue AS (\n SELECT f.film_id, f.title, ROUND(TOTAL(p.amount), 2) AS total_revenue\n FROM film AS f\n LEFT JOIN inventory AS i ON i.film_id = f.film_id\n LEFT JOIN rental AS r ON r.inventory_id = i.inventory_id\n LEFT JOIN payment AS p ON p.rental_id = r.rental_id\n GROUP BY f.film_id, f.title\n),\ncredits AS (\n SELECT DISTINCT actor_id, film_id\n FROM film_actor\n),\nranked AS (\n SELECT c.actor_id, fr.title,\n fr.total_revenue / COUNT(*) OVER (PARTITION BY c.film_id) AS average_revenue_per_actor,\n ROW_NUMBER() OVER (\n PARTITION BY c.actor_id\n ORDER BY fr.total_revenue DESC, c.film_id\n ) AS film_rank\n FROM credits AS c\n JOIN film_revenue AS fr ON fr.film_id = c.film_id\n)\nSELECT a.first_name || ' ' || a.last_name AS actor_name,\n r.title, r.average_revenue_per_actor\nFROM ranked AS r\nJOIN actor AS a ON a.actor_id = r.actor_id\nWHERE r.film_rank <= 3\nORDER BY a.last_name, a.first_name, a.actor_id, r.film_rank;\n```", "rows": 600, "sql": "WITH film_revenue AS (\n SELECT f.film_id, f.title, ROUND(TOTAL(p.amount), 2) AS total_revenue\n FROM film AS f\n LEFT JOIN inventory AS i ON i.film_id = f.film_id\n LEFT JOIN rental AS r ON r.inventory_id = i.inventory_id\n LEFT JOIN payment AS p ON p.rental_id = r.rental_id\n GROUP BY f.film_id, f.title\n),\ncredits AS (\n SELECT DISTINCT actor_id, film_id\n FROM film_actor\n),\nranked AS (\n SELECT c.actor_id, fr.title,\n fr.total_revenue / COUNT(*) OVER (PARTITION BY c.film_id) AS average_revenue_per_actor,\n ROW_NUMBER() OVER (\n PARTITION BY c.actor_id\n ORDER BY fr.total_revenue DESC, c.film_id\n ) AS film_rank\n FROM credits AS c\n JOIN film_revenue AS fr ON fr.film_id = c.film_id\n)\nSELECT a.first_name || ' ' || a.last_name AS actor_name,\n r.title, r.average_revenue_per_actor\nFROM ranked AS r\nJOIN actor AS a ON a.actor_id = r.actor_id\nWHERE r.film_rank <= 3\nORDER BY a.last_name, a.first_name, a.actor_id, r.film_rank;", "seconds": 25.694875042070635, "calls": [{"seconds": 4.609749333001673, "usage": {"completion_tokens": 126, "prompt_tokens": 1675, "total_tokens": 1801, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1090, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1090, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1090, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 13.288349541951902, "usage": {"completion_tokens": 622, "prompt_tokens": 2247, "total_tokens": 2869, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 303, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 572, "cached_tokens": 1090, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 572, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 572, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 7.666981125017628, "usage": {"completion_tokens": 369, "prompt_tokens": 3299, "total_tokens": 3668, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 75, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1052, "cached_tokens": 1662, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1052, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1052, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}], "full_record_sha256": "233cb09f7f8a0737ff744f051a684fdb8d0ea498626a86a2763f0415645458e5", "csv_sha256": "1f6e803a137ea0b4d114b80b478d822613a6aeb2107441ef2530348fce2e4933"} +{"instance_id": "local202", "profile": "gpt62-astra", "model": "openai/gpt-6.2-astra", "status": "predicted", "answer": "```sql\nWITH top_states AS (\n SELECT state,\n AVG(age) AS average_age,\n SUM(CASE WHEN aggressive = 0 THEN 1 ELSE 0 END) AS friendly_count,\n SUM(CASE WHEN aggressive = 1 THEN 1 ELSE 0 END) AS hostile_count\n FROM alien_data\n GROUP BY state\n ORDER BY COUNT(*) DESC, state\n LIMIT 10\n)\nSELECT COUNT(*) AS qualifying_states\nFROM top_states\nWHERE friendly_count > hostile_count\n AND average_age > 200;\n```", "rows": 1, "sql": "WITH top_states AS (\n SELECT state,\n AVG(age) AS average_age,\n SUM(CASE WHEN aggressive = 0 THEN 1 ELSE 0 END) AS friendly_count,\n SUM(CASE WHEN aggressive = 1 THEN 1 ELSE 0 END) AS hostile_count\n FROM alien_data\n GROUP BY state\n ORDER BY COUNT(*) DESC, state\n LIMIT 10\n)\nSELECT COUNT(*) AS qualifying_states\nFROM top_states\nWHERE friendly_count > hostile_count\n AND average_age > 200;", "seconds": 27.336674457998015, "calls": [{"seconds": 3.139329000026919, "usage": {"completion_tokens": 100, "prompt_tokens": 1662, "total_tokens": 1762, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1083, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1083, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1083, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 3.70910041697789, "usage": {"completion_tokens": 49, "prompt_tokens": 2025, "total_tokens": 2074, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 363, "cached_tokens": 1083, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 363, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 363, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 3.1765022079925984, "usage": {"completion_tokens": 42, "prompt_tokens": 2171, "total_tokens": 2213, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 25, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 146, "cached_tokens": 1446, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 146, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 146, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 6.177514916984364, "usage": {"completion_tokens": 199, "prompt_tokens": 2289, "total_tokens": 2488, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 65, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 118, "cached_tokens": 1592, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 118, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 118, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 11.058480000006966, "usage": {"completion_tokens": 338, "prompt_tokens": 2626, "total_tokens": 2964, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 218, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 337, "cached_tokens": 1710, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 337, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 337, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}], "full_record_sha256": "6adb3b110f91fc3650b615a41d83013d0891883496c1205516adffd1d3c6c5a5", "csv_sha256": "e50f8ec3f1bc328a1d3a4090bfdc7188f25d85c54a6e71f55463a2c4a604b28b"} +{"instance_id": "local218", "profile": "gpt62-astra", "model": "openai/gpt-6.2-astra", "status": "predicted", "answer": "```sql\nWITH team_match_goals AS (\n SELECT home_team_api_id AS team_id, season, home_team_goal AS goals\n FROM \"Match\"\n UNION ALL\n SELECT away_team_api_id AS team_id, season, away_team_goal AS goals\n FROM \"Match\"\n),\nseason_totals AS (\n SELECT team_id, season, SUM(goals) AS season_goals\n FROM team_match_goals\n GROUP BY team_id, season\n),\nteam_peaks AS (\n SELECT team_id, MAX(season_goals) AS peak_goals\n FROM season_totals\n GROUP BY team_id\n),\nranked AS (\n SELECT peak_goals,\n ROW_NUMBER() OVER (ORDER BY peak_goals) AS pos,\n COUNT(*) OVER () AS n\n FROM team_peaks\n WHERE peak_goals IS NOT NULL\n)\nSELECT AVG(peak_goals) AS median_highest_season_goals\nFROM ranked\nWHERE pos IN ((n + 1) / 2, (n + 2) / 2);\n```", "rows": 1, "sql": "WITH team_match_goals AS (\n SELECT home_team_api_id AS team_id, season, home_team_goal AS goals\n FROM \"Match\"\n UNION ALL\n SELECT away_team_api_id AS team_id, season, away_team_goal AS goals\n FROM \"Match\"\n),\nseason_totals AS (\n SELECT team_id, season, SUM(goals) AS season_goals\n FROM team_match_goals\n GROUP BY team_id, season\n),\nteam_peaks AS (\n SELECT team_id, MAX(season_goals) AS peak_goals\n FROM season_totals\n GROUP BY team_id\n),\nranked AS (\n SELECT peak_goals,\n ROW_NUMBER() OVER (ORDER BY peak_goals) AS pos,\n COUNT(*) OVER () AS n\n FROM team_peaks\n WHERE peak_goals IS NOT NULL\n)\nSELECT AVG(peak_goals) AS median_highest_season_goals\nFROM ranked\nWHERE pos IN ((n + 1) / 2, (n + 2) / 2);", "seconds": 16.760136457975022, "calls": [{"seconds": 3.549859791994095, "usage": {"completion_tokens": 80, "prompt_tokens": 1614, "total_tokens": 1694, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1062, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1062, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1062, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 6.901367499958724, "usage": {"completion_tokens": 307, "prompt_tokens": 2886, "total_tokens": 3193, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 53, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1272, "cached_tokens": 1062, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1272, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1272, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 5.510480583063327, "usage": {"completion_tokens": 228, "prompt_tokens": 3447, "total_tokens": 3675, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 561, "cached_tokens": 2334, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 561, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 561, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}], "full_record_sha256": "78cad239ccc515f0c6248fd1cc44e7d5c7a5b3005d1293f8f5a2b9b04bdf5cd1", "csv_sha256": "e97b74006c8fda942a913a29bd461f5980e14c37801b78ffddd4a2881389aaed"} +{"instance_id": "local264", "profile": "gpt62-astra", "model": "openai/gpt-6.2-astra", "status": "predicted", "answer": "```sql\nSELECT L1_model, COUNT(*) AS total_occurrences\nFROM stack_ok\nGROUP BY L1_model\nORDER BY total_occurrences DESC, L1_model\nLIMIT 1\n```", "rows": 1, "sql": "SELECT L1_model, COUNT(*) AS total_occurrences\nFROM stack_ok\nGROUP BY L1_model\nORDER BY total_occurrences DESC, L1_model\nLIMIT 1", "seconds": 19.701256125001237, "calls": [{"seconds": 3.1379362089792266, "usage": {"completion_tokens": 46, "prompt_tokens": 1644, "total_tokens": 1690, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1084, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1084, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1084, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 5.2669143750099465, "usage": {"completion_tokens": 132, "prompt_tokens": 1778, "total_tokens": 1910, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 134, "cached_tokens": 1084, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 134, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 134, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 2.871369125088677, "usage": {"completion_tokens": 30, "prompt_tokens": 2217, "total_tokens": 2247, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 439, "cached_tokens": 1218, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 439, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 439, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 4.479071750072762, "usage": {"completion_tokens": 112, "prompt_tokens": 2975, "total_tokens": 3087, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 57, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 758, "cached_tokens": 1657, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 758, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 758, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 3.911277999985032, "usage": {"completion_tokens": 45, "prompt_tokens": 3157, "total_tokens": 3202, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 182, "cached_tokens": 2415, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 182, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 182, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}], "full_record_sha256": "aa8e3c7f2ea7bc4b09b34a4268db500f7cdc78999df52a205e4424cbde2745ef", "csv_sha256": "c1198427eecd199aa53bef900e50de7660fca9c9341f48913f90d6345de3a0ef"} +{"instance_id": "local279", "profile": "gpt62-astra", "model": "openai/gpt-6.2-astra", "status": "predicted", "answer": "```sql\nWITH RECURSIVE inventory_plan(product_id, mth, ending_qty, qty_minimum, qty_purchase) AS (\n SELECT i.product_id, '2018-12-01', i.qty, p.qty_minimum, p.qty_purchase\n FROM inventory_totals AS i\n JOIN product_minimums AS p ON p.product_id = i.product_id\n\n UNION ALL\n\n SELECT r.product_id, b.mth,\n r.ending_qty - b.qty\n + CASE WHEN r.ending_qty < r.qty_minimum THEN r.qty_purchase ELSE 0 END,\n r.qty_minimum, r.qty_purchase\n FROM inventory_plan AS r\n JOIN monthly_budget AS b\n ON b.product_id = r.product_id\n AND b.mth = date(r.mth, '+1 month')\n WHERE b.mth < '2020-01-01'\n),\ngaps AS (\n SELECT product_id, mth, ABS(ending_qty - qty_minimum) AS absolute_difference\n FROM inventory_plan\n WHERE mth >= '2019-01-01'\n),\nranked AS (\n SELECT gaps.*, ROW_NUMBER() OVER (\n PARTITION BY product_id ORDER BY absolute_difference, mth\n ) AS rn\n FROM gaps\n)\nSELECT product_id, mth AS month, absolute_difference\nFROM ranked\nWHERE rn = 1\nORDER BY product_id;\n```", "rows": 2, "sql": "WITH RECURSIVE inventory_plan(product_id, mth, ending_qty, qty_minimum, qty_purchase) AS (\n SELECT i.product_id, '2018-12-01', i.qty, p.qty_minimum, p.qty_purchase\n FROM inventory_totals AS i\n JOIN product_minimums AS p ON p.product_id = i.product_id\n\n UNION ALL\n\n SELECT r.product_id, b.mth,\n r.ending_qty - b.qty\n + CASE WHEN r.ending_qty < r.qty_minimum THEN r.qty_purchase ELSE 0 END,\n r.qty_minimum, r.qty_purchase\n FROM inventory_plan AS r\n JOIN monthly_budget AS b\n ON b.product_id = r.product_id\n AND b.mth = date(r.mth, '+1 month')\n WHERE b.mth < '2020-01-01'\n),\ngaps AS (\n SELECT product_id, mth, ABS(ending_qty - qty_minimum) AS absolute_difference\n FROM inventory_plan\n WHERE mth >= '2019-01-01'\n),\nranked AS (\n SELECT gaps.*, ROW_NUMBER() OVER (\n PARTITION BY product_id ORDER BY absolute_difference, mth\n ) AS rn\n FROM gaps\n)\nSELECT product_id, mth AS month, absolute_difference\nFROM ranked\nWHERE rn = 1\nORDER BY product_id;", "seconds": 35.573155041085556, "calls": [{"seconds": 4.783060791087337, "usage": {"completion_tokens": 116, "prompt_tokens": 1825, "total_tokens": 1941, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1122, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1122, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1122, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 5.045530292089097, "usage": {"completion_tokens": 95, "prompt_tokens": 2178, "total_tokens": 2273, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 353, "cached_tokens": 1122, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 353, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 353, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 5.452088000020012, "usage": {"completion_tokens": 266, "prompt_tokens": 2692, "total_tokens": 2958, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 514, "cached_tokens": 1475, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 514, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 514, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 5.7608683329308406, "usage": {"completion_tokens": 149, "prompt_tokens": 4363, "total_tokens": 4512, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 100, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1671, "cached_tokens": 1989, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1671, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1671, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 8.387091791955754, "usage": {"completion_tokens": 382, "prompt_tokens": 4961, "total_tokens": 5343, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 55, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 598, "cached_tokens": 3660, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 598, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 598, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 6.097278416971676, "usage": {"completion_tokens": 300, "prompt_tokens": 5701, "total_tokens": 6001, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 740, "cached_tokens": 4258, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 740, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 740, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}], "full_record_sha256": "76fbb85f1e52f42ed2aab503d0cf5f6deff5354b9bf6c0f41bef2db91bd93484", "csv_sha256": "1dca0d3194e55d316e50d6868f5f14091d0c54dc4485812dcce7fff6a21e3164"} +{"instance_id": "local310", "profile": "gpt62-astra", "model": "openai/gpt-6.2-astra", "status": "failed", "error_type": "Timeout", "seconds": 191.6567312090192, "calls": [{"seconds": 2.6552634589606896, "usage": {"completion_tokens": 19, "prompt_tokens": 1746, "total_tokens": 1765, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1117, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1117, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1117, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 2.85245595802553, "usage": {"completion_tokens": 20, "prompt_tokens": 1914, "total_tokens": 1934, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 168, "cached_tokens": 1117, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 168, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 168, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 6.084770749905147, "usage": {"completion_tokens": 246, "prompt_tokens": 2096, "total_tokens": 2342, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 22, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 182, "cached_tokens": 1285, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 182, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 182, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 180.02149020810612, "usage": null, "status": "error", "error_type": "Timeout"}], "full_record_sha256": "9ac8f6856b0b7363590cfe3b2bde82d8a9c10e9fcbea23429a9bf34fc2b4ea76"} +{"instance_id": "local335", "profile": "gpt62-astra", "model": "openai/gpt-6.2-astra", "status": "predicted", "answer": "```sql\nWITH scoring_results AS (\n SELECT race_id, driver_id, constructor_id, points FROM results\n UNION ALL\n SELECT race_id, driver_id, constructor_id, points FROM sprint_results\n), constructor_points AS (\n SELECT r.year, s.driver_id, s.constructor_id, SUM(s.points) AS points\n FROM scoring_results AS s\n JOIN races AS r ON r.race_id = s.race_id\n WHERE r.year >= 2001\n GROUP BY r.year, s.driver_id, s.constructor_id\n), driver_totals AS (\n SELECT year, driver_id, SUM(points) AS season_points\n FROM constructor_points\n GROUP BY year, driver_id\n HAVING SUM(points) > 0\n), ranked_drivers AS (\n SELECT year, driver_id,\n RANK() OVER (PARTITION BY year ORDER BY season_points) AS points_rank\n FROM driver_totals\n)\nSELECT c.name AS constructor, COUNT(DISTINCT p.year) AS season_count\nFROM ranked_drivers AS d\nJOIN constructor_points AS p ON p.year = d.year AND p.driver_id = d.driver_id\nJOIN constructors AS c ON c.constructor_id = p.constructor_id\nWHERE d.points_rank = 1 AND p.points > 0\nGROUP BY c.constructor_id, c.name\nORDER BY season_count DESC, c.name ASC\nLIMIT 5;\n```", "rows": 5, "sql": "WITH scoring_results AS (\n SELECT race_id, driver_id, constructor_id, points FROM results\n UNION ALL\n SELECT race_id, driver_id, constructor_id, points FROM sprint_results\n), constructor_points AS (\n SELECT r.year, s.driver_id, s.constructor_id, SUM(s.points) AS points\n FROM scoring_results AS s\n JOIN races AS r ON r.race_id = s.race_id\n WHERE r.year >= 2001\n GROUP BY r.year, s.driver_id, s.constructor_id\n), driver_totals AS (\n SELECT year, driver_id, SUM(points) AS season_points\n FROM constructor_points\n GROUP BY year, driver_id\n HAVING SUM(points) > 0\n), ranked_drivers AS (\n SELECT year, driver_id,\n RANK() OVER (PARTITION BY year ORDER BY season_points) AS points_rank\n FROM driver_totals\n)\nSELECT c.name AS constructor, COUNT(DISTINCT p.year) AS season_count\nFROM ranked_drivers AS d\nJOIN constructor_points AS p ON p.year = d.year AND p.driver_id = d.driver_id\nJOIN constructors AS c ON c.constructor_id = p.constructor_id\nWHERE d.points_rank = 1 AND p.points > 0\nGROUP BY c.constructor_id, c.name\nORDER BY season_count DESC, c.name ASC\nLIMIT 5;", "seconds": 41.16004854196217, "calls": [{"seconds": 4.090662207920104, "usage": {"completion_tokens": 132, "prompt_tokens": 1724, "total_tokens": 1856, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1095, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1095, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1095, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 3.782071082969196, "usage": {"completion_tokens": 91, "prompt_tokens": 2536, "total_tokens": 2627, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 812, "cached_tokens": 1095, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 812, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 812, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 7.583352540968917, "usage": {"completion_tokens": 300, "prompt_tokens": 2941, "total_tokens": 3241, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 94, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 405, "cached_tokens": 1907, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 405, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 405, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 6.932765583042055, "usage": {"completion_tokens": 356, "prompt_tokens": 4051, "total_tokens": 4407, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 44, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1110, "cached_tokens": 2312, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1110, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1110, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}, {"seconds": 18.689676000038162, "usage": {"completion_tokens": 604, "prompt_tokens": 4748, "total_tokens": 5352, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 307, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 697, "cached_tokens": 3422, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 697, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 697, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-astra"}], "full_record_sha256": "192d57f647fbbfefa86fbca5ca808e1532cc5cb02a2af507eca709da493d5820", "csv_sha256": "03869f33d1716ad83e00035b0875f09ef487046dc561b8942432ab237b2161a4"} diff --git a/bench/accuracy/results/spider-development-astra/gpt62-astra/scores.json b/bench/accuracy/results/spider-development-astra/gpt62-astra/scores.json new file mode 100644 index 00000000..0215d976 --- /dev/null +++ b/bench/accuracy/results/spider-development-astra/gpt62-astra/scores.json @@ -0,0 +1,118 @@ +[ + { + "instance_id": "local064", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local073", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local003", + "score": 0, + "error_info": "Timeout" + }, + { + "instance_id": "local004", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local021", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local163", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local310", + "score": 0, + "error_info": "Timeout" + }, + { + "instance_id": "local041", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local062", + "score": 0, + "error_info": "Timeout" + }, + { + "instance_id": "local081", + "score": 0, + "error_info": "Timeout" + }, + { + "instance_id": "local202", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local096", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local279", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local264", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local024", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local218", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local072", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local194", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local029", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local335", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + } +] diff --git a/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local004.sql b/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local004.sql new file mode 100644 index 00000000..83bbfa58 --- /dev/null +++ b/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local004.sql @@ -0,0 +1,16 @@ +WITH payment_per_order AS ( + SELECT order_id, SUM(payment_value) AS order_payment + FROM order_payments + GROUP BY order_id +) +SELECT + COUNT(*) AS number_of_orders, + AVG(p.order_payment) AS average_payment_per_order, + MAX(1.0, (JULIANDAY(DATE(MAX(o.order_purchase_timestamp))) - + JULIANDAY(DATE(MIN(o.order_purchase_timestamp)))) / 7.0) AS lifespan_weeks +FROM orders AS o +JOIN customers AS c ON c.customer_id = o.customer_id +LEFT JOIN payment_per_order AS p ON p.order_id = o.order_id +GROUP BY c.customer_unique_id +ORDER BY average_payment_per_order DESC, c.customer_unique_id +LIMIT 3; diff --git a/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local021.sql b/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local021.sql new file mode 100644 index 00000000..f1c58b8b --- /dev/null +++ b/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local021.sql @@ -0,0 +1,10 @@ +WITH qualifying_scores AS ( + SELECT SUM(s.runs_scored) AS match_runs + FROM ball_by_ball AS b + JOIN batsman_scored AS s + USING (match_id, innings_no, over_id, ball_id) + GROUP BY b.match_id, b.striker + HAVING SUM(s.runs_scored) > 50 +) +SELECT AVG(match_runs) AS average_runs +FROM qualifying_scores; diff --git a/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local024.sql b/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local024.sql new file mode 100644 index 00000000..b2693038 --- /dev/null +++ b/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local024.sql @@ -0,0 +1,21 @@ +WITH match_runs AS ( + SELECT b.match_id, b.striker AS player_id, SUM(s.runs_scored) AS runs + FROM ball_by_ball AS b + JOIN batsman_scored AS s + USING (match_id, innings_no, over_id, ball_id) + GROUP BY b.match_id, b.striker +), +player_averages AS ( + SELECT pm.player_id, AVG(COALESCE(mr.runs, 0)) AS avg_runs_per_match + FROM player_match AS pm + LEFT JOIN match_runs AS mr + USING (match_id, player_id) + GROUP BY pm.player_id +) +SELECT p.country_name, AVG(pa.avg_runs_per_match) AS country_batting_average +FROM player_averages AS pa +JOIN player AS p USING (player_id) +WHERE p.country_name IS NOT NULL +GROUP BY p.country_name +ORDER BY country_batting_average DESC, p.country_name ASC +LIMIT 5 diff --git a/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local029.sql b/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local029.sql new file mode 100644 index 00000000..094bdcc9 --- /dev/null +++ b/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local029.sql @@ -0,0 +1,20 @@ +WITH delivered AS ( + SELECT c.customer_unique_id, c.customer_city, c.customer_state, o.order_id, + ROW_NUMBER() OVER ( + PARTITION BY c.customer_unique_id + ORDER BY o.order_purchase_timestamp DESC, o.order_id DESC + ) AS location_rank + FROM olist_orders AS o + JOIN olist_customers AS c ON c.customer_id = o.customer_id + WHERE o.order_status = 'delivered' +) +SELECT d.customer_unique_id, + COUNT(DISTINCT d.order_id) AS delivered_order_count, + AVG(p.payment_value) AS average_payment_value, + MAX(CASE WHEN d.location_rank = 1 THEN d.customer_city END) AS customer_city, + MAX(CASE WHEN d.location_rank = 1 THEN d.customer_state END) AS customer_state +FROM delivered AS d +LEFT JOIN olist_order_payments AS p ON p.order_id = d.order_id +GROUP BY d.customer_unique_id +ORDER BY delivered_order_count DESC, d.customer_unique_id ASC +LIMIT 3; diff --git a/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local041.sql b/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local041.sql new file mode 100644 index 00000000..d0d8acf8 --- /dev/null +++ b/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local041.sql @@ -0,0 +1,3 @@ +SELECT 100.0 * COUNT(CASE WHEN health = 'Good' THEN 1 END) / NULLIF(COUNT(*), 0) AS percentage_good +FROM trees +WHERE boroname = 'Bronx'; diff --git a/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local064.sql b/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local064.sql new file mode 100644 index 00000000..671de9fd --- /dev/null +++ b/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local064.sql @@ -0,0 +1,52 @@ +WITH RECURSIVE months(month_start) AS ( + VALUES ('2020-01-01') + UNION ALL + SELECT date(month_start, '+1 month') + FROM months + WHERE month_start < '2020-12-01' +), +customers AS ( + SELECT customer_id FROM customer_nodes + UNION + SELECT customer_id FROM customer_transactions +), +monthly_net AS ( + SELECT customer_id, + date(txn_date, 'start of month') AS month_start, + SUM(CASE txn_type + WHEN 'deposit' THEN txn_amount + WHEN 'withdrawal' THEN -txn_amount + ELSE 0 + END) AS balance + FROM customer_transactions + WHERE txn_date >= '2020-01-01' AND txn_date < '2021-01-01' + GROUP BY customer_id, date(txn_date, 'start of month') +), +month_stats AS ( + SELECT m.month_start, + COUNT(CASE WHEN n.balance > 0 THEN 1 END) AS positive_count, + AVG(COALESCE(n.balance, 0)) AS avg_balance + FROM months AS m + CROSS JOIN customers AS c + LEFT JOIN monthly_net AS n + ON n.customer_id = c.customer_id AND n.month_start = m.month_start + GROUP BY m.month_start +), +-- Select the earliest month when multiple months share an extreme count. +highest AS ( + SELECT month_start, avg_balance FROM month_stats + ORDER BY positive_count DESC, month_start ASC + LIMIT 1 +), +lowest AS ( + SELECT month_start, avg_balance FROM month_stats + ORDER BY positive_count ASC, month_start ASC + LIMIT 1 +) +SELECT strftime('%Y-%m', h.month_start) AS highest_count_month, + h.avg_balance AS highest_count_month_avg_balance, + strftime('%Y-%m', l.month_start) AS lowest_count_month, + l.avg_balance AS lowest_count_month_avg_balance, + h.avg_balance - l.avg_balance AS average_balance_difference +FROM highest AS h +CROSS JOIN lowest AS l; diff --git a/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local072.sql b/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local072.sql new file mode 100644 index 00000000..6e9dc82a --- /dev/null +++ b/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local072.sql @@ -0,0 +1,32 @@ +WITH daily AS ( + SELECT country_code_2, DATE(insert_date) AS day, + COUNT(*) AS entries, + SUM(CASE WHEN capital = 1 THEN 1 ELSE 0 END) AS capital_entries + FROM cities + WHERE insert_date >= '2022-01-01' AND insert_date < '2022-02-01' + GROUP BY country_code_2, DATE(insert_date) +), numbered AS ( + SELECT daily.*, + COUNT(*) OVER (PARTITION BY country_code_2) AS insertion_days, + JULIANDAY(day) - ROW_NUMBER() OVER ( + PARTITION BY country_code_2 ORDER BY day + ) AS streak_key + FROM daily +), streaks AS ( + SELECT country_code_2, MIN(day) AS start_date, MAX(day) AS end_date, + COUNT(*) AS streak_days, + 1.0 * SUM(capital_entries) / SUM(entries) AS capital_proportion + FROM numbered + WHERE insertion_days = 9 + GROUP BY country_code_2, streak_key +), ranked AS ( + SELECT streaks.*, RANK() OVER ( + PARTITION BY country_code_2 ORDER BY streak_days DESC + ) AS streak_rank + FROM streaks +) +SELECT c.country_name, r.start_date, r.end_date, r.capital_proportion +FROM ranked AS r +JOIN cities_countries AS c ON c.country_code_2 = r.country_code_2 +WHERE r.streak_rank = 1 +ORDER BY c.country_name, r.start_date; diff --git a/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local073.sql b/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local073.sql new file mode 100644 index 00000000..4a69bd4e --- /dev/null +++ b/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local073.sql @@ -0,0 +1,40 @@ +WITH order_lines AS ( + SELECT o.rowid AS row_id, o.order_id, o.customer_id, n.pizza_name, + o.order_time, o.exclusions, o.extras, + CASE WHEN n.pizza_name = 'Meatlovers' THEN 1 ELSE 2 END AS pizza_id + FROM pizza_clean_customer_orders AS o + JOIN pizza_names AS n ON n.pizza_id = o.pizza_id +), +ingredients AS ( + SELECT o.row_id, CAST(s.value AS INTEGER) AS topping_id + FROM order_lines AS o + JOIN pizza_recipes AS r ON r.pizza_id = o.pizza_id + CROSS JOIN json_each('[' || r.toppings || ']') AS s + WHERE instr(',' || replace(coalesce(o.exclusions, ''), ' ', '') || ',', + ',' || s.value || ',') = 0 + + UNION ALL + + SELECT o.row_id, CAST(e.value AS INTEGER) AS topping_id + FROM order_lines AS o + CROSS JOIN json_each('["' || replace(o.extras, ',', '","') || '"]') AS e +), +topping_counts AS ( + SELECT i.row_id, t.topping_name, COUNT(*) AS qty + FROM ingredients AS i + JOIN pizza_toppings AS t ON t.topping_id = i.topping_id + GROUP BY i.row_id, t.topping_name +) +SELECT o.row_id, o.order_id, o.customer_id, o.pizza_name, + o.pizza_name || ': ' || coalesce(( + SELECT group_concat(label, ', ') + FROM ( + SELECT CASE WHEN c.qty > 1 THEN '2x' ELSE '' END || c.topping_name AS label + FROM topping_counts AS c + WHERE c.row_id = o.row_id + ORDER BY (c.qty > 1) DESC, c.topping_name COLLATE NOCASE + ) + ), '') AS final_ingredients +FROM order_lines AS o +GROUP BY o.row_id, o.order_id, o.customer_id, o.pizza_name, o.order_time +ORDER BY o.row_id ASC; diff --git a/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local096.sql b/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local096.sql new file mode 100644 index 00000000..5e7f76cb --- /dev/null +++ b/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local096.sql @@ -0,0 +1,15 @@ +WITH film_flags AS ( + SELECT m.MID, + CAST(SUBSTR(m.year, -4) AS INTEGER) AS film_year, + MIN(CASE WHEN p.Gender = 'Female' THEN 1 ELSE 0 END) AS exclusively_female + FROM Movie AS m + LEFT JOIN M_Cast AS c ON c.MID = m.MID + LEFT JOIN Person AS p ON p.PID = TRIM(c.PID) + GROUP BY m.MID, CAST(SUBSTR(m.year, -4) AS INTEGER) +) +SELECT film_year AS year, + COUNT(*) AS total_movies, + 100.0 * SUM(exclusively_female) / COUNT(*) AS exclusively_female_pct +FROM film_flags +GROUP BY film_year +ORDER BY film_year; diff --git a/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local163.sql b/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local163.sql new file mode 100644 index 00000000..bf7eea39 --- /dev/null +++ b/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local163.sql @@ -0,0 +1,13 @@ +WITH deviations AS ( + SELECT FacRank, FacFirstName, FacLastName, FacSalary, + ABS(FacSalary - AVG(FacSalary) OVER (PARTITION BY FacRank)) AS deviation + FROM university_faculty +), +closest AS ( + SELECT deviations.*, MIN(deviation) OVER (PARTITION BY FacRank) AS min_deviation + FROM deviations +) +SELECT FacRank, FacFirstName, FacLastName, FacSalary +FROM closest +WHERE deviation = min_deviation +ORDER BY FacRank, FacLastName, FacFirstName; diff --git a/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local194.sql b/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local194.sql new file mode 100644 index 00000000..09c044fe --- /dev/null +++ b/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local194.sql @@ -0,0 +1,28 @@ +WITH film_revenue AS ( + SELECT f.film_id, f.title, ROUND(TOTAL(p.amount), 2) AS total_revenue + FROM film AS f + LEFT JOIN inventory AS i ON i.film_id = f.film_id + LEFT JOIN rental AS r ON r.inventory_id = i.inventory_id + LEFT JOIN payment AS p ON p.rental_id = r.rental_id + GROUP BY f.film_id, f.title +), +credits AS ( + SELECT DISTINCT actor_id, film_id + FROM film_actor +), +ranked AS ( + SELECT c.actor_id, fr.title, + fr.total_revenue / COUNT(*) OVER (PARTITION BY c.film_id) AS average_revenue_per_actor, + ROW_NUMBER() OVER ( + PARTITION BY c.actor_id + ORDER BY fr.total_revenue DESC, c.film_id + ) AS film_rank + FROM credits AS c + JOIN film_revenue AS fr ON fr.film_id = c.film_id +) +SELECT a.first_name || ' ' || a.last_name AS actor_name, + r.title, r.average_revenue_per_actor +FROM ranked AS r +JOIN actor AS a ON a.actor_id = r.actor_id +WHERE r.film_rank <= 3 +ORDER BY a.last_name, a.first_name, a.actor_id, r.film_rank; diff --git a/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local202.sql b/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local202.sql new file mode 100644 index 00000000..9d40f20d --- /dev/null +++ b/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local202.sql @@ -0,0 +1,14 @@ +WITH top_states AS ( + SELECT state, + AVG(age) AS average_age, + SUM(CASE WHEN aggressive = 0 THEN 1 ELSE 0 END) AS friendly_count, + SUM(CASE WHEN aggressive = 1 THEN 1 ELSE 0 END) AS hostile_count + FROM alien_data + GROUP BY state + ORDER BY COUNT(*) DESC, state + LIMIT 10 +) +SELECT COUNT(*) AS qualifying_states +FROM top_states +WHERE friendly_count > hostile_count + AND average_age > 200; diff --git a/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local218.sql b/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local218.sql new file mode 100644 index 00000000..20ae9814 --- /dev/null +++ b/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local218.sql @@ -0,0 +1,27 @@ +WITH team_match_goals AS ( + SELECT home_team_api_id AS team_id, season, home_team_goal AS goals + FROM "Match" + UNION ALL + SELECT away_team_api_id AS team_id, season, away_team_goal AS goals + FROM "Match" +), +season_totals AS ( + SELECT team_id, season, SUM(goals) AS season_goals + FROM team_match_goals + GROUP BY team_id, season +), +team_peaks AS ( + SELECT team_id, MAX(season_goals) AS peak_goals + FROM season_totals + GROUP BY team_id +), +ranked AS ( + SELECT peak_goals, + ROW_NUMBER() OVER (ORDER BY peak_goals) AS pos, + COUNT(*) OVER () AS n + FROM team_peaks + WHERE peak_goals IS NOT NULL +) +SELECT AVG(peak_goals) AS median_highest_season_goals +FROM ranked +WHERE pos IN ((n + 1) / 2, (n + 2) / 2); diff --git a/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local264.sql b/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local264.sql new file mode 100644 index 00000000..2eff12a9 --- /dev/null +++ b/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local264.sql @@ -0,0 +1,5 @@ +SELECT L1_model, COUNT(*) AS total_occurrences +FROM stack_ok +GROUP BY L1_model +ORDER BY total_occurrences DESC, L1_model +LIMIT 1 diff --git a/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local279.sql b/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local279.sql new file mode 100644 index 00000000..e4fefb62 --- /dev/null +++ b/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local279.sql @@ -0,0 +1,32 @@ +WITH RECURSIVE inventory_plan(product_id, mth, ending_qty, qty_minimum, qty_purchase) AS ( + SELECT i.product_id, '2018-12-01', i.qty, p.qty_minimum, p.qty_purchase + FROM inventory_totals AS i + JOIN product_minimums AS p ON p.product_id = i.product_id + + UNION ALL + + SELECT r.product_id, b.mth, + r.ending_qty - b.qty + + CASE WHEN r.ending_qty < r.qty_minimum THEN r.qty_purchase ELSE 0 END, + r.qty_minimum, r.qty_purchase + FROM inventory_plan AS r + JOIN monthly_budget AS b + ON b.product_id = r.product_id + AND b.mth = date(r.mth, '+1 month') + WHERE b.mth < '2020-01-01' +), +gaps AS ( + SELECT product_id, mth, ABS(ending_qty - qty_minimum) AS absolute_difference + FROM inventory_plan + WHERE mth >= '2019-01-01' +), +ranked AS ( + SELECT gaps.*, ROW_NUMBER() OVER ( + PARTITION BY product_id ORDER BY absolute_difference, mth + ) AS rn + FROM gaps +) +SELECT product_id, mth AS month, absolute_difference +FROM ranked +WHERE rn = 1 +ORDER BY product_id; diff --git a/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local335.sql b/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local335.sql new file mode 100644 index 00000000..e67eb453 --- /dev/null +++ b/bench/accuracy/results/spider-development-astra/gpt62-astra/sql/local335.sql @@ -0,0 +1,28 @@ +WITH scoring_results AS ( + SELECT race_id, driver_id, constructor_id, points FROM results + UNION ALL + SELECT race_id, driver_id, constructor_id, points FROM sprint_results +), constructor_points AS ( + SELECT r.year, s.driver_id, s.constructor_id, SUM(s.points) AS points + FROM scoring_results AS s + JOIN races AS r ON r.race_id = s.race_id + WHERE r.year >= 2001 + GROUP BY r.year, s.driver_id, s.constructor_id +), driver_totals AS ( + SELECT year, driver_id, SUM(points) AS season_points + FROM constructor_points + GROUP BY year, driver_id + HAVING SUM(points) > 0 +), ranked_drivers AS ( + SELECT year, driver_id, + RANK() OVER (PARTITION BY year ORDER BY season_points) AS points_rank + FROM driver_totals +) +SELECT c.name AS constructor, COUNT(DISTINCT p.year) AS season_count +FROM ranked_drivers AS d +JOIN constructor_points AS p ON p.year = d.year AND p.driver_id = d.driver_id +JOIN constructors AS c ON c.constructor_id = p.constructor_id +WHERE d.points_rank = 1 AND p.points > 0 +GROUP BY c.constructor_id, c.name +ORDER BY season_count DESC, c.name ASC +LIMIT 5; diff --git a/bench/accuracy/results/spider-development-astra/gpt62-astra/status.json b/bench/accuracy/results/spider-development-astra/gpt62-astra/status.json new file mode 100644 index 00000000..1888f2ec --- /dev/null +++ b/bench/accuracy/results/spider-development-astra/gpt62-astra/status.json @@ -0,0 +1,4 @@ +{ + "status": "completed", + "wall_seconds": 319.8733340000035 +} diff --git a/bench/accuracy/results/spider-development-astra/manifest.json b/bench/accuracy/results/spider-development-astra/manifest.json new file mode 100644 index 00000000..2929b33c --- /dev/null +++ b/bench/accuracy/results/spider-development-astra/manifest.json @@ -0,0 +1,655 @@ +{ + "benchmark": "Spider 2.0-Lite SQLite subset", + "upstream_commit": "cafb867313aab4e674652054198f383cf4018943", + "baseline_commit": "e0a7fb1", + "seed": 20261114, + "selection": "seeded shuffle of local IDs before inference", + "question_file_sha256": "4ba48916576fbd60311a2478c6d4550b5d8cf3fcbc512457ea493b5941ca009d", + "evaluator_sha256": "e93624e4ffa00e51c67bdee1d9e42b534630087cb453270c0dedc0c73e618480", + "db_sha256": { + "IPL": "bf5ddbf887bbf992a091ef31ee681b9339ba716c327263fce0f3b4da924f22c1", + "bank_sales_trading": "10c8b8136486902a19c3f974f210e9fb7c8f98918ae0313114c720219b02e18c", + "city_legislation": "6a9714f9fe11676691c38bb6e2cd048ab877415d28c358a2647ff1b8b8bfe763", + "modern_data": "d4910db155d7be8070d14cab6e44862d0fa74d71e6588d114c4bacb4225942e4", + "delivery_center": "d882e3e6552634e27739beab4c65fe8ec2086b84155489762f9052a663913f9e", + "Pagila": "dbca3837b9965d75fbc2b4af1b2daec57d841f95942e656cea44db997e05da88", + "E_commerce": "49446afd935721ee12fc95316fbee9666a3e1bd4872dfa194fe4625d6762a81a", + "electronic_sales": "8e759e113c316c7f996c2e721b596f73979fe679abeacb21e6ea5dbe6fc62eaa", + "oracle_sql": "ace68ede8f7fddc523d522e938ccfeee1f54c11888fd2c956ebc27892fc595fe", + "Airlines": "83dd643367785c6b38b5379eecaf2c37128babac96805a48362783ff0cafc0a1", + "education_business": "d3498b07f44a4ac1757798d70f4cac7c44d16082c0608c58a74d5aa0d6d058f9", + "California_Traffic_Collision": "14ace2b5213306081611b24647fe70778426bbcb0d5b30e85beb0386ffcf1020", + "Baseball": "4784826541ea40d76dd9c2da2812e189ec351ca79e2738916da5587b465341cd", + "music": "f82efedb6c5c40734609e168bc5be5616a2eca6b90ed0048451a8674625e03a3", + "complex_oracle": "2244dbd99d5205941353024332eb62b1754d3383bcd7c8c20361344d736be00c", + "WWE": "5e21654b3ea344583c921864c499ea984e66fb46579f7d4e74f531d0f415a52a", + "EU_soccer": "b4ebd079625bb9cd20437eaae1ccd0fc82f0f390567cfe3ee1df78fa08ad5f9a", + "f1": "35ad3b824678e8435bde02f14bcd554630792874749fdd59fe9ca1385234ce23", + "Db-IMDB": "34b043fffa7e10a152c8d1536bb54e5365df102ac9d8c09d4549ef0d9ef6aadf", + "log": "800191cd5ba91dcaebb427bb9313dc5bef1571b848b597508f15372e77c2dbd8", + "sqlite-sakila": "dbca3837b9965d75fbc2b4af1b2daec57d841f95942e656cea44db997e05da88", + "EntertainmentAgency": "24237bd0232f4b542b3e5c0417c9890c1d02ae8e2434253af58528e517a0fd07", + "school_scheduling": "bf37030ee170906bfa6bf5958766cf2a63dc0ad8168b3892ad96940be838fe63", + "Brazilian_E_Commerce": "96d1becb02714d76ef1a728d8ca0de33e52acead1668abd5f7d8a73a45f6d0f3", + "imdb_movies": "175c1da2deb00fe28d70608f7839aea5abc214dca15bb3e8622c9b7258c25b9e", + "BowlingLeague": "f8ceb5692677a5a4e04d0a08dd495ae8dbebffbacdb2a66dec551613775bc12c", + "northwind": "80a1d9591da7aeaaa439ba0002023d5ab69d3f15a3d8b2ac9389dfd30543c1e7", + "chinook": "d6c11e2ccda2a36883af57f031f76fbd55e247f3be1710c4c8aaa72ec06a18cb", + "stacking": "eb683890921eb597f176692fe6ac9fb544dde3fd78084d019bf82cd0e6efe780", + "AdventureWorks": "f8bb86bfde5fca5636030fa9490ad37d4397b0b21591ee62c7aca363a64f2653" + }, + "gold_sha256": { + "local020_a.csv": "c1b371bd6f78e69c1fbf6c18aeb322eb8eb6ee941d2ab38891867bbeebf6ae19", + "local020_b.csv": "7c70ccf7dcf12696171f65f84ac3a12ec0c186c9d652e17eb4bca16ecdc713f0", + "local064_b.csv": "dec7e4121cca37fbc2382cc8cc6ee1aeaef25db34fb2b48402cb535a5a6529c0", + "local064_c.csv": "06a27d4d7c5abc98f940988e1a3e42b63013f67a64cfbc380026678d9cfd8c7c", + "local064_a.csv": "500a9aa255bca20726cd09bb246f629cbd646a8add8fb1909392ecd09f93b297", + "local169_d.csv": "5220ca53e1d1d4f299f003c98c0d3d0f6beaa89a19648cb5be05f8c4979b24ee", + "local169_a.csv": "b3dec45955dc3e802667d623e072f56cf164bd5aa3ef7488e4126dff07887437", + "local169_c.csv": "1a36de9147b3b3ca4d39f111e15401ab332d343784744e4400e0c44768dea798", + "local169_b.csv": "a7f5b51992d6a1f5ac5aafc37a89b9d77b5a04d459cb7ca450e0f5777dc6c2ee", + "local073_b.csv": "203926fa65c2315ce652c2c648edf76f84d2a324f61218bcb3ebbd140335ae60", + "local073_a.csv": "7bd11f899aab7c37790cdf55b7f04b09a060d36d44ca57343018a22ae64f88e0", + "local302_b.csv": "1cdb9b8168d2bab6b7897b79122d767026313001c9df4846146c70d012ba9ab5", + "local302_a.csv": "6865f086e47dc7842c167d5907830506a7c591a0f387c3a1f4106eb56555269b", + "local212_b.csv": "bb74516e6d3253874a418c2af2a5240011b36fd104e340881b41377279731c07", + "local212_c.csv": "3e9ffdfbb80e8c424d7c927495c04b575113dc129237d674384490b6f19f7a95", + "local212_a.csv": "a7ec3f8b50d95a2c946b9904841ad97c48ee2ae066f18e95840ca041f2653228", + "local075_b.csv": "ecb3ddc0d38d6561d4633006dd578b1150d1eb79ab1b753d9bb3d529f496c361", + "local075_a.csv": "ecd72e006e9322343c1d008e606b1f87dd9cea8c522821603adefe2e15e74f61", + "local038_b.csv": "7a92c8c4d7b6aedd050aabb1bcfe26348038cfc3429e99ff2e1168e0f5d75d09", + "local038_a.csv": "ee3a29f76657fdbc0ac015d17a647bcead7f7edbf2bc9ecfdd33238c4dc16a52", + "local003_c.csv": "96fba57f2fe200d7b18b2d862bc956f98befa8ead69a6d3ff0593197fbecded1", + "local003_b.csv": "35d1fb54543e7b6de87d5d5e7fee1d4dbbd67b7d5d98e72e8fd959ac8a0d38eb", + "local003_a.csv": "dfe02288dc4d860119b85b2629e240b283c19c4828ff92d115de38d2553f2208", + "local003_d.csv": "88569b7c814a488dcf872675bc5cb21b314d81c736574569dd10dcc8cac5765d", + "local286_i.csv": "67282b3f4efdfaee5d82d004381caa8ef9c2d70ded77e5f018bc12121ba648b9", + "local286_h.csv": "b9745253b4426a4754d5f22b7a158c682b69d215467cd20ff39d59b464b8e52f", + "local286_e.csv": "3e2c801aa106e114ac238d3f0593e4b51cb1ab8d333f9ba88ebab1138aa651de", + "local286_d.csv": "e6592fcf5accaed189bcec1a1a6a7d6906932542da0acdd34427d7c05ee4910a", + "local286_f.csv": "3f59abfefe275b81255fe3d591057a807a9110f1baddd41661fe6326dbe80eaa", + "local286_g.csv": "e8900c3cc4a15f719e54346df7e857bf5fa677b25e62a6d211aa57e705a6c53e", + "local286_c.csv": "0f58057a69e464d146ad40b470c2a6e593dbc44209d6b8ca6312bce47142c832", + "local286_b.csv": "ee6565e66e7580bd4bd9766171b6b78a5563099b7b3e2ac7b8c5feb1b8159e0b", + "local286_a.csv": "a10378fc736e6bbdf16a23aeb65840dce586d06db9f7543df5649c0a876c558f", + "local004_a.csv": "7f1b06203ef6e8400537f3ee59295b0794edaf2c4d20cbf428b742205dc79745", + "local004_b.csv": "b727d6aaccf9806451d3aa60f21c4830c51268a8c4ba1c2373bb20b02e4b8ad2", + "local277_a.csv": "ec9a93c0d9df1bf97e71c07f51281bc51c94c8bdc3b3468321f18386beb03d28", + "local277_b.csv": "bb0393ebfe836fec7f6382b8c60f173081aee06706de5f808738e58ef74d14ed", + "local277_c.csv": "474344a708d34dfb21b540c0b9c37b566d7dc3e716efae55e40dad2a42f8a141", + "local009_a.csv": "55d99171b807ec637db5e5537862c0a95e7c80e6ff9141ff0954903114bee214", + "local168_e.csv": "973f35863944634ce8e1a0f71ccdf3e3b2e9b4e4af7a7af7cb8d2880369cae35", + "local168_d.csv": "7c350f87225d15834980a48d7eb151d49d7ccb54b0a34063c6353d35d1360a04", + "local168_c.csv": "a099fd0094964acec9e9b7dc780e2d74e3b352d0a406fbd26492b16254a3e9ac", + "local168_b.csv": "0ba23c452b58b79505385e9d640647eb222ff03a8ecc42c3ea735e0dc5a3c47c", + "local168_a.csv": "2e0139876cf21db59202e70f35265ef7153f860a1552b2dbb45b74239d2f41af", + "local058_a.csv": "c74e9663427d34d34cb641480e4807b0459db608f792c2f35b2d072a94b489fd", + "local017_b.csv": "93766776794bd5ae3f393b387b3e96ec4607d1a1b51cbc8efde4ceed137cf1a5", + "local017_a.csv": "51256921f42d6e90afd3d2c173c6c41f78edae73dd08c3db89f4b058d6ccac6b", + "local008_b.csv": "ec056a18be1876a4d931f0a3470e972c83ecda7b2b398b1075f7568e4ccf5815", + "local008_c.csv": "fd4647652ddd17aafd4e2ee4e2beffd47405db36edf56ca756f8e12839f3b65b", + "local008_a.csv": "89ca9045bc066b6f9e407b19bcf51f3972bf6d60c34cb423333ec675489ff9cc", + "local244_a.csv": "5965bfa1f61aa4f176dafa1f6404853176c6c1bb7a2a23611fbf19d947afcbb6", + "local244_b.csv": "a0e9f988fcb19cf1de3e04c2336c9d69ca45f452213e50144d52c12bdd9355e4", + "local063_a.csv": "1793aa1c7acc50826abd3658b0f4e33559fbd6d731d8ec93fafbade87c9d5234", + "local063_b.csv": "a1441c9bb8dc7e44fb5a07fd7859819557c9736cd288d134cedc863840eec30b", + "local063_c.csv": "b755b88cd040cfeec296a84e3047d28c83cc4610578a5dbefd79b237f248dea5", + "local063_d.csv": "d8368237d3fc65210a2fdf27842d5b547ef00140ebee87e1b5e7ee5acf0e7d23", + "local063_e.csv": "4ac60e76e037ba5e62532d02bd6c9009b16bf6ecfeed2d3927892f8164f0772a", + "local259_b.csv": "f2d95d3a692176ef5a7a08318c2257af1e1971db71bff98e7fae55343253e842", + "local259_c.csv": "df6c3de0deee12fbddc77b2b5a0de57c80b0826fa3fa182b4d9615d69c4f2a70", + "local259_a.csv": "2c2419415a341c10edec2e05be6aebbba30f7428456455edf0f46de2ec5b3f2e", + "local019_b.csv": "5a3e07334d13b00ed6b6f0b6ead9542dac5da69a4320e71d942235514a3fb231", + "local019_a.csv": "6094d8e25f80e75f1c7b91b27d5943e71eb63acd8407c0e7165644787b77cbbd", + "local021_a.csv": "0936bacb011189be56c7b695bf624d8ec171e453a34fa6e0ab8817b8fe508caa", + "local002_a.csv": "97eb32859e39d7ee65b2a7501b157e1cd67fe932d58d2c5b931c3442d6a0afbc", + "local002_c.csv": "9deb74fe0ac8eb52df9ebe72260aa5b12c3f574e1858c843b91234f8d92c0cf9", + "local002_b.csv": "d1382f9c7802b5d2e55c3c3431322df282f4059d352ef588bdb70ec076d61879", + "local220_h.csv": "29bc54cf4eefd315349bde9119d4355bf9e8fa315b32ecb9cdaafec1d84b34af", + "local220_i.csv": "72eb0dcadb3803e4db881e56f3e983cf1f70d30f4aea1f3d5ae6d9f12ccdb004", + "local220_a.csv": "3fd793f820da7caf070fa30e734fc50fd512de91bb8726157791e6505b19f2ca", + "local220_b.csv": "307f4b3b18444ac7d3e2e0621f3e446bb0b3542c663d48bf0a3c88c0db8611be", + "local220_c.csv": "cec03dbe63fba9147b27e0d97ee1a750943e8326029df162ca7a54f2950b7e83", + "local220_g.csv": "c9d54b9e5320fd510c11afa8d7ca9a4b0f9b86e13da1a8d6fae8065472e01340", + "local220_f.csv": "6e6ab60d41c302b668986d652e63081989a7c9fa4d8eadce5097a1669be4ed8e", + "local220_d.csv": "38bdcb5070e77309a6968db11620e91994432b85feea07eeea4a998d496ed37f", + "local220_e.csv": "588ce337a1878cb035e7116a0910bf3a1a932446c02dc1da315de913fb19deaa", + "local336_a.csv": "28d892a0a923deac963020adf6123c94465bf5ff0f575e881442968f225db7c6", + "local336_c.csv": "89fea80e22a96f737ea5fc60113d26e4b81b2c6649721f51117fd9ec80215de2", + "local336_b.csv": "43131e08623badb368d1b3b253546e089d9e58ff1013a0c22b89c4ba5c733fbe", + "local336_d.csv": "493f99d0374d955882bca3f0257a2c714eee78111f465a1dc003ee2dcc47f34a", + "local077_d.csv": "55982709bcc150ee95ebd23d9d9389fee472f2f569979462c170cc1f17a42990", + "local077_a.csv": "f6e756eb78b1229ea23bf75d44de15ab0fc5cf79c63815595696186ee3a8ca09", + "local077_b.csv": "77fe93d9db1ab584637158c4a4c0ed60a528a2ecbefb0211eac390647a16b694", + "local077_c.csv": "d05b442624aebc3e586434af3b2837dbc4f2c0810465a97b85c50724bb3a09e9", + "local100_a.csv": "1c65e8f88161a7f86810c6f4669588ca1d3ef321674341c8a11979c489cf692d", + "local210_a.csv": "6560065fb4722f6ad2f6b1690c82d92ed50cdbea71936b2c48f50ed1898db22d", + "local210_b.csv": "47762ab50ef3d12a0a4a5ef5f10c41a7b8047b254e30b8a68ce302f8335f0245", + "local163_a.csv": "96ea14d9b3d8f61947989d5dc62c696eb15425dd86efc3290239b703bf99d506", + "local269_a.csv": "7267c436f72664d40ed245834186360188fa127f28c4a13c5e21d16c9840e28a", + "local285_d.csv": "712513f473959279273b3d6eb70f443ce7fc1f8296e5eab2e666bae2200de666", + "local285_b.csv": "a87ab59dece88c9811bcd52981d716d119609de051975383f4c741d37c98e878", + "local285_c.csv": "f1d1471ad889b1ec40b6ef4bbb691168523b8b01ede4327a5e41461a1f1d65cb", + "local285_a.csv": "3a88e7542df7ebdf18d21e3765fa1f0fcfd7c2af088b36ce169a81c9790431c8", + "local219_e.csv": "12ec2399787f1ca5a882346e9bb24021d9df7cf73787fab77952a7b8db84757c", + "local219_d.csv": "f5d2bdabf22b17758a44df650e6be6fe4a2c0f94a9ed5d0f6b30435dc285a419", + "local219_f.csv": "b8acd8c449ec4e0f38160ef5bd325671b773c2879cad84531da1780044471b08", + "local219_c.csv": "7803b6fc3cb1c317d0d02bb7eb529555659fe416a9fc281fded398f26280c294", + "local219_b.csv": "3d73969fd39cf5a1cbae9d32f3147b19339396083c877b52612b6cf78def4d81", + "local219_a.csv": "9dcf380a8086a2f4ef87a8d6d2db72455c83032f3f7a6e9d6e03281dd602a0d4", + "local360_c.csv": "1b8a564021b0ccd7f0aba665f54bea7f01c17aa48a8d4a2cd920ac12e0e8bf8f", + "local360_b.csv": "e2764c72c8aabc4430bb46ffc6c873f09408a758dbc757d87c6a1aea2d26a371", + "local360_a.csv": "de935d70c61b69e9bb632db32d60e07543447126a30f738eb52b4433dbbeff8d", + "local331_c.csv": "5575b855b619782c80380d2e932b9f8013b5a4e400d17bd6723aff8965f36622", + "local331_b.csv": "398b4c221861dd10271520f700c0ccd5169d9713e3f30c4d8d04f74726f6096c", + "local331_a.csv": "be4bc308953866f6e4b173319a1b0934a3404829753c7662f317ce26bb5be91b", + "local193_a.csv": "15bf368dd71c4ca644d590268b57fe2fe1d080e26ededbf3de3fd3985ea355c2", + "local132_a.csv": "ce397426bf6cb0280cfcc1abc74a4b64e4048568ee9a2d878ef296a4e41576e6", + "local310_a.csv": "35d7876cd66bff44654add1596d74a6a916d15994c5f4a015a48633ec8e4e8c9", + "local041_a.csv": "4b61532d00887c35ce49c293e9a8cdbedf93da39ae84139a3744a07b1a551144", + "local041_b.csv": "2dd088064fc0b86e4deaf8356aa902d290321b5de6fbecb737e0c6da9660f30d", + "local099_b.csv": "fbdca4cd81c62b3d93bc93eb215520d892ba4c290751919f20dd71418ce6a7e4", + "local099_a.csv": "bec10511e51815d3a874d90ce4a83af43396138460f02d4e36d0b0880fa03724", + "local130_a.csv": "6694afd62cbcfd4fba3f359e3e76af114f615c01606190c9787933728ee54daf", + "local066_a.csv": "c1899edc643a416e7b90e8d7d78b8bf46661e9eeb3a87e7d8bad6b9d547cda2b", + "local066_c.csv": "6551bf0440d4bc3e41c471f6dc247f300f93b0fd2b5fd4a8308bdf96e18dbee7", + "local066_b.csv": "cab923a50ec2151f75792452874ef2e7fae3ee533a07e8f8725fd6355762f585", + "local030_a.csv": "161284a3c6f2c5ec916f4886536315005752236edb3f1906d2e894202614144a", + "local209_a.csv": "deddc04c50a244e75de82f47ba6c3f54fbb6f97b988985f6993db03183b8778e", + "local209_b.csv": "e7f4324fd0a268ef8db517670215e03a14ca4d738abd5adce0bb1d48857b84c1", + "local067_b.csv": "c6b945e3fc178475ac8c6440ff33ab4a33578dcf1187f79ba7c2a577f17ce7e8", + "local067_a.csv": "34477c4b74140e991f932a86b10e3ae6cace0a425a4efe9480d2d52ded344180", + "local050_a.csv": "58dfb380fd1b78d1ffdcdd41136ee6d29f5fe878497fd8c447a5643a945bbf42", + "local050_b.csv": "2be2c502211501cac9fe28882a163b8e8e0ada559e88df12d84279f960c98508", + "local050_c.csv": "c02d70fd6770f3b8b7c7400017f9de5fe4a3d98d5bcff5d23bb855bd34e8193c", + "local022_a.csv": "5b0274a5bdf4cb2da91e1cb86da639d2788ff6c9ce12be709c89ebe431a405cc", + "local171_b.csv": "438b893ebb918cc5270c7c83ce5b9c66a2e5c1bee69b01ce916bf44ba01322da", + "local171_a.csv": "43c4b12ce24776c1cb3a4b3d6ccbfbabd2697449aeae73f43f4a8b217f348a94", + "local131_a.csv": "99088095afe2b7e918cd1362c7bfc329d0769b29cbdca8d3a0db17c12cefa257", + "local152_a.csv": "ccc36f93451600109f70423f3f2b22c59efc2aeec4481a34c40c6cd03762ec35", + "local356_b.csv": "5fb856cd42618d59fd31df1d5cd709c44c9ab461f06332c7cb42c4fb0525d875", + "local356_c.csv": "2d55de8bf7ca99d16767c4dd1afc8aac75f555903707439e862e9ae93f9df93a", + "local356_a.csv": "89856e985d2871649e2886240252cdc23f93da31724184c8d5a4a84124c8beb0", + "local356_d.csv": "c2cbf79260717e789c4a46bf0730c3476bbbc825cd8de28dddb12871e901fccb", + "local097_a.csv": "ab059c081ce0df9c377b85691022bb1f9f3667ce570bd81b3939d3051a53ece3", + "local062_a.csv": "2b9d26110be67fe46bcb3660fcf6999b4a003bf2a67cd089e6167870ceba77a1", + "local031_a.csv": "75b4daf5e59d7b7a5ef8810934833306d92260dc859ffa703a04d975c9f337ff", + "local128_a.csv": "2749b51ed71b2551d35f0d59c6ca189bdabfbdbc03ad154d0054c029eede7e0e", + "local081_a.csv": "9da7d88a04332b1b3fe6e84984e5d438fc2259026c92f0a617cd5b288c8b5981", + "local061_b.csv": "657640cf09e4f966f3b27816d2eac9868bc9afd2482a522e2cfca11c1308435f", + "local061_a.csv": "daba05cde352f1495ee5d5fe44e2e97d385dba25daaf9c9eead07d769e296593", + "local037_a.csv": "366902a6892471d22a9c5daf4a0a3a2b00eea621eb2aa7c2488fcd15f3a4b164", + "local037_b.csv": "e1b83ddd4a92ff112d597dd1b7f58242d2311417ae489aa2de8f07d88a08b4c0", + "local157_a.csv": "03259b07da7e44b85bf7f9e29e5acfac68bac669521afd3fb7a58ad56b7eb549", + "local157_b.csv": "624762a24072777e61e04392667b9102a2a75c1d75a120e30a990e7504de3ab6", + "local157_c.csv": "8e17cc7aa611d37ab4cafc7e70b1dfb6b7acb6bbd350fb15df7f2cd33e2fb4f1", + "local253_a.csv": "12bf95bf4418538435351a274cd99e3c5de8f7f51191b8d1f9acbe6167334c82", + "local253_c.csv": "f039653401cf392269288eea252ec11b9521fe764cc1304824a68a85f9c440c0", + "local253_b.csv": "47481be8a36053414a51168cf5f07a50cab22a5ef21d78cf6bcafdbf81b24e49", + "local054_a.csv": "6b684a3248c29aa8a29dc465edb8521463c3f0bd5e069df6e1f8a9e1df602333", + "local274_a.csv": "83d9b383b5f3db1b6d1880a91dde84a7c198d27bb34f5ad70078aa34a426c310", + "local274_b.csv": "bac6a3a31918621fb89e8c4c09b58001e81ad8257195ecab138f4eb20e4ba254", + "local263_a.csv": "af3936a3f06d0148c560a6781446bd98c758195d8c61cc2976b74435928f594e", + "local202_a.csv": "85e9369fc30751cdc1412cb5c7e78c2abeec2985dd4a5a41c5cdd71ddcc18519", + "local015_d.csv": "56f7cfa3c4a037c1c333de502d69d6c916da6014cff549996b09ecc3a89503bd", + "local015_e.csv": "a39ca5bb24cf3c1856102f53125f56c8fe686bc137b7402caaaac932e4a0d78f", + "local015_a.csv": "1d0afabe2283a59d441749067202ebcd70738034bd51d5e594675912f1a65106", + "local015_b.csv": "6d2f13248ceed54c99e70aae4c036a3886505ef8317f01cd84581180755d209e", + "local015_c.csv": "97b0b536c43f4dd48a36cced476efd98a469d2c5dd0950dbaab29924e7a7b31c", + "local195_c.csv": "3f35e382a09418f07f0c5afc5079b8b8fb7caa85215659fdec8f75fd52ca222e", + "local195_b.csv": "c948a0a429525ba0ff477d20448dc822c854ba9a5130dc2a2e1ba45036a1cacf", + "local195_a.csv": "6d010cf196c1cf9df4dbc8c5a5ef43c512870ac233c91264a28eaea8d4c46e2d", + "local201_a.csv": "080af4ed42042e04fe32a13854213d666382484739a9b353c0ae16295fc9fa87", + "local201_b.csv": "839abb14e25553a9f02394bc3ba35c53e528435fdef74dd9ba09acf20e5f7c91", + "local270_b.csv": "c6930b4e54ede426f04d641b7dec97d3794f3b44a2c7edd3c32bc3eef0b7c908", + "local270_a.csv": "44cbe0fc3c486a69790f015ad4b0944b7214d04ac9e1be0f3b3ac098aaf9605f", + "local354_a.csv": "a7a64d27016f986a8e8147b7c9d3a223b8f4082ea600ced8e5556e9080bdc2f3", + "local354_c.csv": "b846ff6920213823d198c67e147fbc7e3dd9924b951b47a3fdc1c9178dab4db0", + "local354_b.csv": "47de60a37350b531c54141ab5c1f46c294f2548fd6ef066ba2dbaf6f3f0802d0", + "local354_f.csv": "f3f2f1c0d9f0cf62a1b62770172eae26df2c961e190a5ed400dc83a48c53aae6", + "local354_g.csv": "8f9205af30974a993814edd1cccf5bdcd966a0641a0fc779246ed08beb457846", + "local354_e.csv": "d64bc9fa961ed98903c44ab63a73335502f3708fed027e618d35171c088210f3", + "local354_d.csv": "3672e9edce01bc9365f9fdef6ff15b4e94229c86f666a6a2686f241c7f25e931", + "local354_h.csv": "a4650a35efeaa4abf6142031a5cadf3dbee302a2abc232e8bb111d40fb6c89a8", + "local355_c.csv": "3b325c85166cd828601d40d98fbcb5a8b9ad301a8205c4f249cadd007c81f471", + "local355_b.csv": "45a67bcdebf25080c908c0449493e2ba503b7dd3168a17736629950d93a0fc83", + "local355_a.csv": "b6791e332962e204bca0fb65dc5cc521772bd22ed4bd2c9e0dd1436c5cf91bb6", + "local355_e.csv": "5edac8923a319e1630ddb13b8b0a50660363739a9c8f874adfc1be98242ec83f", + "local355_d.csv": "8c0297b41ffdac464accf4ca3dfafdba1caf68861fcf75545c6f1780649a1d44", + "local272_a.csv": "674a1e63a234810e0cedd5cb866b94177232be38c05e636bb08ef0a4756c8f01", + "local170_a.csv": "2b42a04d9f2a941f4f9e8ec8d8d6cab30636aeb97a68a9986f5281d7e8614a52", + "local170_b.csv": "75ba2f192c088b310f6f430e44f6be6c2975f7c2304602c04518731c444b146b", + "local059_a.csv": "d9b908bce1098fec3340ca821a2d0cc8f1081c3c0b3d9dc443d70887371bbfc7", + "local096_a.csv": "2a72e80ea25a693763018bbb412b540bc37449ffd1a113b332a68c762821f146", + "local026_a.csv": "8b0566d063be61514dd41fd6c20b7f872677ef6e9b74a1959a930c344e73e6ab", + "local065_a.csv": "a88fe08e758fc1ec3e5445c72e82f94e21b134c50fd020b849034d9c3d7e7512", + "local065_b.csv": "5222f53ddf2a5f19fdf8a4c126a89821f02dfb113f8b5149fbefc3f84ab2780f", + "local279_a.csv": "4f7378f0e26249ba807745040c85b6755ecc47ff70fcc44b6aa22caad2d2a437", + "local141_b.csv": "f1274a92ef605fa942f1777b10ee9549869b2c69e6c71db8f0e21060b16fca17", + "local141_a.csv": "f0f881eff759810e1a157ebec160506f64fcecf175c015d384403830765e9513", + "local070_b.csv": "fc5d8fa9225349c33a07ca52643a7f11434e9e8fd5711769b0fca0af3addac15", + "local070_a.csv": "fd0136749fd3215a1d9fcc910a6050866a928f3be65713f5518b5ce3a79acf9a", + "local023_a.csv": "abe0ba55aec5aa107a322556bc4dc73d8d76426eee7f7679a9b4329df0458e3a", + "local221_a.csv": "12397cf2182c3d6fabc5fa3c5d1e1b72abfee48e5852eaaa7f6cc94dc113acdf", + "local301_b.csv": "fe96a3ffda30fcd83a40abde6f463160287f678b600c89ec6d8845f89d2ae5c1", + "local301_c.csv": "2fad0ac554543c8b4adde67d898593b4c102b70777c9c992eaec45067bf8eee3", + "local301_a.csv": "cfd0aa58b5f02bfcd83872d5dac729d9962725bfb558cb70d431fbd1d360dd77", + "local018_a.csv": "be83eb216699f3aaf4769f1dbaa2b483718548855da59eb7fb6466ff15f2d902", + "local298_a.csv": "f295cf8ade91d7120c18bc811a1b3839135437b36a9c71efb59e8979896a8bb9", + "local028_a.csv": "4b08cd97c949a352f8450696db24d140ea0cb5b7c94636dc46d495db8dcc8c01", + "local028_b.csv": "742d31b1c4ca1c891bd22bec5701b18eda75cea427aeaa8ed3f66a5c32743180", + "local196_a.csv": "b3114812d1bd2ee0f83f593cc1ba00228c52add975720b1b9a7a4a596d5e9d5a", + "local230_a.csv": "fa93c03d618f3be4b3046f38c93489b6c5511ced7796b4cc23ae9531d2538234", + "local300_a.csv": "8881876917149ed5fa7a655ddec6de301e4b9eb88691c8d3717159cec1f10a66", + "local300_b.csv": "b6e12cd56de4bbd1fad3bc8003dab7f8378600c310ed0ff8dfeb9e3c5520d4f2", + "local300_c.csv": "dbf8c9c285c1e3ec012a20e21256117a7662aa34882bd84536ef9dcfcc3e3901", + "local300_d.csv": "1c4f4fe5c79c2207a15f215759f31915dad213988b02e13bb405170ad6122bf8", + "local198_a.csv": "1e552fd1326323711ba031bae7fd1a9c2bc4b6b45404916a7066532bc29fd86a", + "local299_b.csv": "1c3b8a170deb6ea5016ee61ce649c3ce32ad08ae2724485fbf4999c55501a45f", + "local299_a.csv": "27a88bb2600981bbbe3052d03218f2b385a267c36a5497f3169afae7d99b78f0", + "local032_g.csv": "c0abe3fc89883986bf833673e7c1c120c4ee3fa3270716be84a69aa6e14b8ec5", + "local032_f.csv": "4b490e2e387a9157ab92ec22b68499867016f8e8d4d4a68a938434c60699996f", + "local032_d.csv": "01443bc088adfa7cc0918a81db1138b49902aa8b4871777043e3c39af64e4f05", + "local032_e.csv": "7f44365729a449f5640d90abb9eb3822d84a667bf556ed69607f0153fb4627a3", + "local032_a.csv": "8930472f79242c09ace8a7093a53e1d86638294a4e448bc29e903046c9b3ecd9", + "local032_b.csv": "4880656d98d611ad49603d442a7c69669b4dc97fcfa56781ba2a00685a4e2ca0", + "local032_c.csv": "375d25de984ea7d9738126f8c58594850213ae32f41ccb211885361086fa8b5c", + "local032_l.csv": "ef4356f6a6245f33195b88728ed42eb541f378640570e3eb1def8eb9e45abfb0", + "local032_h.csv": "10f3f8a7c4f1c6e0aed6b7f1a263ea51982572bf6d325b5173666f027387b00b", + "local032_i.csv": "7b8ff88f98980484f9cac707765238478cd3ec989907d413e66c877f3426124e", + "local032_k.csv": "1e56f65fda398bdd603ab7f0966e8c1487b455f1b501f3d1b4f57294fbc96224", + "local032_j.csv": "992f644d9d30324ec54f5f5cef120405891922ceeabd12e68bb9c7d171392a5c", + "local068_a.csv": "1299f2e8ee0af71305e879036489e9f898f093d55fd7634f0a19d67a98773f16", + "local068_c.csv": "c4535adaf3fe73d83e3c54f469ae5851cdeab601f0abbd49a33c3d7f62770735", + "local068_b.csv": "ab3e5b470012a477e90877a36682721dfff3b9b2a9d436f516b64bfdef579d0e", + "local264_b.csv": "35426254849f620276bbaa67df521a55a81fd1e10ebfbedff1c2ffa218edfe5d", + "local264_c.csv": "86288a60be71d946e2403cd44c608ada7bb163ce11f102cc4402c67ba0ae8ef9", + "local264_a.csv": "8de3723af25cb543685497a4631c081bd8cf7e9ead498e6a1eee52273cf0498c", + "local034_a.csv": "1090ffc6a0c35bf35d9295d47914234c997e7309397238747977b6dad213855d", + "local034_b.csv": "5e5b95c5964a0760c48d12c6e64a42e89a6671042665fa0fa2afdd98df142f07", + "local197_a.csv": "f8908a3f904dfcc900a7967db60b3fc1eb3c16d573374f4cb8e6f68ebacf464e", + "local197_b.csv": "dfa9d044fdf582d19e0cd7ee6229c3583044a763608e2ca8573ed300d89b2f35", + "local197_c.csv": "bd4f275d821d4f09ca0d6042e4c7780991213abdb8e302bd0d412f8654226827", + "local024_b.csv": "1022178fcdafb1c112bd8770b884ca39f554f50586ac0002e420bf6430d3d24d", + "local024_a.csv": "8699022579239fad51d09ef039352855312af9f0a6a8d3737c39b60158d0e053", + "local228_a.csv": "6d2ee53c1196edb090a3618695c3f922b0a2a526e37bbb0855b8646d9a5b09fc", + "local228_b.csv": "570907525713d4124189f7b82aba2108f1bdc64e931b33f13d817342f8c17480", + "local060_a.csv": "e02a8024be874c7b95464b19712840659e4209165ed7e472b57351c0cc1ba0e1", + "local060_b.csv": "cbb428dd80f1532502baa09ad60aa65381ed21ea6056e26082bdcd6cb962af93", + "local358_b.csv": "eff96b54297c2251143325360d15086046e9c154e50752a4203f9f1ff18d5f10", + "local358_a.csv": "6a7e8c424c6a52662c0abf5d6873d827f5688f9355e46889075f51d9c70bd439", + "local283_a.csv": "6e3d87df7b2a5a1147f62fe65de3b1292f5af15f1de5584593de863534442f68", + "local035_b.csv": "6ae7a8e32f25813841a79ca35376928d094f10ce1a532e2a1f23e4d9ef1b7fd9", + "local035_c.csv": "2381226b424af0f88ab4c493dd201ee5f059d86ea5c9605ecd0f2035c97976d9", + "local035_a.csv": "710eb0aea469add745f72f1f4b5b568cb0c84c4507a61a3930b70d54d7e7f47a", + "local071_a.csv": "ebeaefb552dd18841ab1d63602ffbba67a1b679722fb7bf86f4aad05d115ea29", + "local071_b.csv": "e73ef52d22cfc7eb7dc76c959cf4d6f11079a1d186fb1f3346bbdb2ec61efaa8", + "local039_a.csv": "ab6af5a1dc6c24ddae09852a5538b7552f5c153eab566e861fe8276c6dcef087", + "local039_b.csv": "cd3cbdb9528d7a50197836db8f6abb45ab59241d6bf8035915fba312c52fc892", + "local167_a.csv": "f87897a23204ee6f79b2821fdf50611d055ab847a2670fcb8c548b098c187aaa", + "local167_b.csv": "7e385bbdfcf240dc6b6264aadd220a2404603a1944ef850f5a4a221cef501dc3", + "local133_a.csv": "000b2e5e4f3ce526d4a442dc28d1f792576eed5943ec7416dd5fd43265769b11", + "local133_b.csv": "24371a161c1a35386116dde49c31ceec123ed2d3abc8aaa411d6ad98d31b53c1", + "local297_b.csv": "5ec5763867426b0b6cf21c0d707e69bbd2f11ef80e14eb0f4cce29d4479669c8", + "local297_a.csv": "4a37f869a34af47d766efaac9b2909c7d736bd35f6c18e41ed207ce5b3f0c260", + "local309_b.csv": "e4ee052a9a5b625b3f9f3d0f9fde804b6f2b204324b794ff3960be8c55074f93", + "local309_c.csv": "a1fa582e425c2bdfc3fdac62123c22a77a0b8e9f292d30bfc1c3f6cbf36d0584", + "local309_a.csv": "99e9032b151143ad152f2b086c21e3d5ad2b641adbcee2c349fbe7f2eaca5c93", + "local098_d.csv": "9386a5c0c81fb3753bcecec2cf7c86d67977094c09b0a0666e2a3ffd95bb0d23", + "local098_e.csv": "7668d333202c9f22c657d65b80346c092798f889c8ffa7c8859ad20a0eb441cd", + "local098_a.csv": "2b9adab647439652f27faf4c53ccfdb4aab9e280636e904c2bdece4d72c9b8f4", + "local098_b.csv": "f7f59e32e9843b3af1b7c1304203b2d50c1d5092226c3f713c69b87a23bc3086", + "local098_c.csv": "7992ce39a5d37324ffcca04c64828b8b3fbe4fd13ba56d09ad2e1f6d6686cdc5", + "local329_a.csv": "d51cb49e4f858fc1f62361fbf199c1f0145b2d5a192812f919f9f74598ad2c27", + "local040_d.csv": "4f8346cdaa161013159d36bb29ab6bcfa9c1496066ce99adf101da50b7e55eaa", + "local040_c.csv": "6c25ec05e7e36d47887dd9ec91a24987d99ea677b6fa1ed6659152c193d255c8", + "local040_b.csv": "894fd4c4aa2af4d479540508bd503e9c34ac574755c6a09b0b1b92edf11b5a59", + "local040_a.csv": "86040f986565e2f0827ade68d894ae227b0e20b4a0a5f879da8857fcff9d100c", + "local056_a.csv": "fb8f6dad94f2ccad8ff035a504758ae7f67a514071005e9d330940d09cd242e3", + "local056_b.csv": "669482fb368f7458dae1f1b084e10e145f513fdfb0ab5c648d006204a4b7b844", + "local218_a.csv": "59aaf31f0bdc6f4d891251e969ae5dcb0733b2f027bea6a6e02b8922b57e7a57", + "local074_d.csv": "575905edd9d23b7a0dfa7d4d4d6c71c1e53b8df47ca5d997e34b30821ea5d476", + "local074_a.csv": "1d249b4de50434c538dbbc566ec00c0b3d33f6f50b76f9d2d947fcd2447b8e5b", + "local074_c.csv": "4c048efea3992cccd47cb21a735fa82f4c55db5c8da38d40862c303dbb100dc0", + "local074_b.csv": "c0d530dead3d8128affa3642184e4402e11136c7e31cbca044cb58b4f3b5ddad", + "local072_a.csv": "ecc11366f1a4997612ef7479d4e9caafb76e7be0dfcfcab22031ad044da9306d", + "local072_c.csv": "89eaf8f0fd5d63f525f91be9e73172b413e38adf162414c10f23236601fca705", + "local072_b.csv": "c81babd9f76614a1be3de6c6f3ed4c8fef6372d5bb2dd1b7051d2a321ba2aa11", + "local072_d.csv": "5460e077fca890a7547af80ef5728caee0b1396a3c68aa35c1319707a7e7f260", + "local156_d.csv": "4907987cdbe5dc4deb8727acc62596d7becee9c4633db2e75620db08b8869a0a", + "local156_b.csv": "b544baaa749fbe2eac0ade87a28a07174f5c13a8d2b354500d82e63403723e9f", + "local156_c.csv": "c273fac8e8bf03dbce9fff237e60810a175baae2a9342050cfd3b1afc745b288", + "local156_a.csv": "359af22e361eb8386bb7c16d03f7d3a148db3addbbda677f3ccc6a93099040fe", + "local258_a.csv": "b943740b741d12a81ac9a1235478186c827f5068d8ba9042f2072ad479f2100f", + "local258_b.csv": "3b9f1f8a944934e57ec29c46c7e1b0de2c4d8fc6961c6275f1c76a4aa818ba50", + "local258_c.csv": "d6399f1bd4dbb5e4edd4ed0935825c3092f5cea42b0ba93bf140c5cfc97700bc", + "local258_d.csv": "28f311ccbdd218b3c521f66c49f51d6c53e2a31a6a448eaf24ecc58b36d3e991", + "local258_e.csv": "28a62aa7e0edf3af50776d3bbb88194078189716ea370567d883a79d34996322", + "local199_a.csv": "d5d43158a754df4985bc9101e86b2b48adfad69dbfe3a266fd7f8b804fbc26e9", + "local199_b.csv": "96914152da9b1d4229b1cb32cfc6ec24ee49187fe3036783a7a34512b44bb40c", + "local194_a.csv": "737c5c8fb48a3a09fd2c20589001498bb12e623c24789749a711f8f884d1b1bc", + "local194_c.csv": "d4ad490bd6915a0d099d1077e122048a32ee33378eb5bfd876e4e683fc0c612b", + "local194_b.csv": "a5f4718844ca84d9125365e1e6aee952d4c2e8eaf1ea99bb9c086cc29d5d3184", + "local273_a.csv": "35d1a1d986b6a2acbe0e6f29a6d9e2979cb21018e5ddf13c4367e881e4058d34", + "local078_a.csv": "22e33a0e482aa13b1e3d59b4363c04dc1d39eeb3d0b18fdb7fd7ea1077dd1b95", + "local330_a.csv": "156777b4eeec05777e4760c0a8cf5a90e7e9f5db5df87b6db215f36f6ca722b5", + "local330_c.csv": "9ebe76a500091818cf5ba1540ea8c7f7b01b95f01d6edc4dcfb7739130677571", + "local330_b.csv": "02dcc9b52e11b4a342941f97c775481b080e740222d797547408decb5ee9ae1f", + "local007_a.csv": "609e283f72faa732d8c9bb3041aa570361e8fc1e2949dad6d2624eee4fe1f582", + "local007_b.csv": "187376265d7f3ec19f2361f9aa4a29ebdfef55b93ce382d22da635cb84b2a5ac", + "local007_c.csv": "d30d2306cd25071c6435fc31baf736057c1339f2aa2927ba43eaf85894553a3e", + "local029_b.csv": "0645e08079eeed5278713e295ec54f92db2c4a5c080c2ca19fc0d300c85b8bdd", + "local029_a.csv": "13592cb212196327ddbf1e24612d8f5c9be767476537cac76098c8e6382a3d5a", + "local229_b.csv": "b63f34609d6f0d135301ac413518af035f8ef8d8b4af603ce956b573ecc8a8ca", + "local229_a.csv": "13b57a2a9cf1c3b16954439cff955c0483c902fd05e2cf8a8f6d707618b74edb", + "local085_a.csv": "53a8a772d4f1a25a2e35e0865d80126c51742dbef3183827cc27a9d6215b0401", + "local049_a.csv": "37a03e5c7d30c522122d3a7f27337a8dfc434dcff120081752b4c9d93b67589e", + "local049_b.csv": "cfa61613d11a7d440f235ed1d6eb889a2d1400f35814705c8c6cab12ee690fb8", + "local275_a.csv": "e0ee8bb50685e05fa0f47ed04203ae953fdfd055f5bd2892ea186504254f8c3a", + "local262_a.csv": "0b6ba8593e65101190910b92c997f428d2b21983812c653bd93523f744275518", + "local284_a.csv": "8061781ca5afac30250858521ec1bf3535936424d2ca8ac9214e2b1b003d3d8b", + "local284_b.csv": "d74c6fe8cba88dc43de32cab40d95d197cae6592df11284ebcb593caffe37aae", + "local010.csv": "109bc4ccdeaaccb405d52e5db6fbe1831b5cede629b5aafce07b1f5a4be8c623", + "local335_a.csv": "f5e97947e8060cf4719a2cd9d31f3b40b83d2e96608965de754360b6b415331d", + "local055_a.csv": "ba0ff1a7ced89ad53f8b9da3460f52d36dbb9bdad78c20fc495da0205dc3bfa8", + "local055_b.csv": "2f55f6f8f51a38d3b618ac0db7aa1a603bf42a524626ca48cc64a328aaf18555", + "local344_b.csv": "83604ca169c01568d0db1169d8ee1a54b495a9ed732929c857c7f87f738fc5ad", + "local344_a.csv": "ef99aaf28f3521bc0eb3feb7d5d57175fa83e43a3387391b0242e03154375ad9", + "local311_a.csv": "d7e3e901649bf918fddc98d854d91966fa309ee4b6cbd6b4b6db51a8643e422d", + "local311_b.csv": "8fbc16c5a9509bac26070ecd35b5fb0dfb0b40b153bbbb96d8381d5762c5f4b8", + "local114_a.csv": "c4eba509d8d4e214612b9aae8609c827bb9793033fd59476bb3bf9dd544292e6", + "local114_b.csv": "cdf83c7802e33dc16972004c48b85278cf9ce0982a6d8598128e7a26c3620f26", + "local114_c.csv": "ccca70934b3f6835751ed0fc72152b256b4a001fae72b7123ca9ec133dce5933", + "local114_d.csv": "fe4c1be98c7516d2acb92725459fea2db06b1ce92df4ecbef82e86aaaa2dadab", + "local114_e.csv": "4f2c92129c6e8a85e9887d70f62135ebda47aa7cf25314cfeb5a3b08973243ea", + "local025_a.csv": "6cf18f2a7388ff0181a5c6135af733c613df8bb6faa5fd7ab7d8d7a91e908ddd", + "local025_c.csv": "fc3c1b56cb3fca413c96075be8f2bc4b33e70b00db2da5b55ba1a3a512af930e", + "local025_b.csv": "42c381ef3631f35fd3c14c9d06007dfd793104348b0f0147fd24239f41ccb1d5", + "local025_e.csv": "b5af2f507944864ce133364b125d558ca728fb102edd9a3171fab324baef49af", + "local025_d.csv": "210c10f155318bb8420c16a3e4ff140514c6008de7100f228a239fc6de8c525b" + }, + "gold_config_sha256": "5113ddaea6107492c08a898241a9f69ec99b03bc60d014e9f0b12ec59fa28970", + "cases": [ + { + "instance_id": "local064", + "db": "bank_sales_trading", + "question": "For each customer and each month of 2020, first calculate the month-end balance by adding all deposit amounts and subtracting all withdrawal amounts that occurred during that specific month. Then determine which month in 2020 has the highest count of customers with a positive month-end balance and which month has the lowest count. For each of these two months, compute the average month-end balance across all customers and provide the difference between these two averages", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local073", + "db": "modern_data", + "question": "For each pizza order, provide a single result row with the row ID, order ID, customer ID, pizza name, and final set of ingredients. The final ingredients are determined by starting with the standard toppings from the pizza’s recipe, removing any excluded toppings, and adding any extra toppings. Present the ingredients in a string starting with the pizza name followed by ': ', with ingredients listed in alphabetical order. Ingredients appearing multiple times (e.g., from standard and extra toppings) should be prefixed with '2x' and listed first, followed by single-occurrence ingredients, both in alphabetical order. Group by row ID, order ID, pizza name, and order time to ensure each order appears once. Sort results by row ID in ascending order. Assign pizza_id 1 to 'Meatlovers' pizzas and pizza_id 2 to all others.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local003", + "db": "E_commerce", + "question": "According to the RFM definition document, calculate the average sales per order for each customer within distinct RFM segments, considering only 'delivered' orders. Use the customer unique identifier. Clearly define how to calculate Recency based on the latest purchase timestamp and specify the criteria for classifying RFM segments. The average sales should be computed as the total spend divided by the total number of orders. Please analyze and report the differences in average sales across the RFM segments", + "external_knowledge": "RFM.md", + "document_sha256": "ca6cb781023248ec3d065bd17142c864175741e9dc598c38af613ca2e9ad3556" + }, + { + "instance_id": "local004", + "db": "E_commerce", + "question": "Could you tell me the number of orders, average payment per order and customer lifespan in weeks of the 3 custumers with the highest average payment per order, where the lifespan is calculated by subtracting the earliest purchase date from the latest purchase date in days, dividing by seven, and if the result is less than seven days, setting it to 1.0?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local021", + "db": "IPL", + "question": "Could you calculate the average of the total runs scored by all strikers who have scored more than 50 runs in any single match?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local163", + "db": "education_business", + "question": "Which university faculty members' salaries are closest to the average salary for their respective ranks? Please provide the ranks, first names, last names, and salaries.university", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local310", + "db": "f1", + "question": "Using only the data from the ‘results’ table, find the three years in which the sum of the highest total points earned by any driver and the highest total points earned by any constructor in that year (both calculated by summing up points from the ‘results’ table) is smallest, and list those three years in order of ascending total.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local041", + "db": "modern_data", + "question": "What percentage of trees in the Bronx have a health status of Good?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local062", + "db": "complex_oracle", + "question": "Please group all Italian customers into ten buckets for December 2021 by summing their profits from all products purchased (where profit is calculated as quantity_sold multiplied by the difference between unit_price and unit_cost), then divide the overall range of total monthly profits into ten equal intervals. For each bucket, provide the number of customers, and identify the minimum and maximum total profits within that bucket.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local081", + "db": "northwind", + "question": "Considering only the customers who placed orders in 1998, calculate the total amount each customer spent by summing the unit price multiplied by the quantity of all products in their orders, excluding any discounts. Assign each customer to a spending group based on the customer group thresholds, and determine how many customers are in each spending group and what percentage of the total number of customers who placed orders in 1998 each group represents.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local202", + "db": "city_legislation", + "question": "For alien data, how many of the top 10 states by alien population have a higher percentage of friendly aliens than hostile aliens, with an average alien age exceeding 200?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local096", + "db": "Db-IMDB", + "question": "For each year, calculate the percentage of films that had exclusively female actors (meaning no male actors and no actors with unknown/unspecified gender). Consider actors with gender marked as 'Male' or 'None' as non-female. For the results, display the year, the total number of movies in that year, and the percentage of movies with exclusively female actors. Extract the year from the Movie.year field by taking the last 4 characters and converting to a number.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local279", + "db": "oracle_sql", + "question": "Using a recursive monthly inventory adjustment model starting from December 2018 inventory levels, where we restock a product if its ending inventory drops below the minimum required level, determine for each product the month in 2019 where the absolute difference between its ending inventory and the minimum required level is the smallest, and return the product_id, that month, and the absolute difference.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local264", + "db": "stacking", + "question": "Which model category (L1_model) appears the most frequently across all steps and versions when comparing traditional models to the Stack model, and what is the total count of its occurrences?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local024", + "db": "IPL", + "question": "Can you help me find the top 5 countries whose players have the highest average of their individual average runs per match across all seasons? Specifically, for each player, calculate their average runs per match over all matches they played, then compute the average of these player averages for each country, and include these country batting averages in the result.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local218", + "db": "EU_soccer", + "question": "Can you calculate the median from the highest season goals of each team?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local072", + "db": "city_legislation", + "question": "Identify the country with data inserted on nine different days in January 2022. Then, find the longest consecutive period with data insertions for this country during January 2022, and calculate the proportion of entries that are from its capital city within this longest consecutive insertion period.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local194", + "db": "sqlite-sakila", + "question": "Please provide a list of the top three revenue-generating films for each actor, along with the average revenue per actor in those films, calculated by dividing the total film revenue equally among the actors for each film.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local029", + "db": "Brazilian_E_Commerce", + "question": "Please identify the top three customers, based on their customer_unique_id, who have the highest number of delivered orders, and provide the average payment value, city, and state for each of these customers.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local335", + "db": "f1", + "question": "In Formula 1 seasons since 2001, considering only drivers who scored points in a season, which five constructors have had the most seasons where their drivers scored the fewest total points among all point-scoring drivers in that season?", + "external_knowledge": null, + "document_sha256": null + } + ], + "suite": "spider2", + "development_ids": [ + "local163", + "local081", + "local310", + "local194", + "local024", + "local096", + "local073", + "local064", + "local029", + "local335", + "local279", + "local264", + "local072", + "local202", + "local004", + "local062", + "local003", + "local021", + "local041", + "local218" + ], + "holdout_ids": [ + "local356", + "local210", + "local197", + "local283", + "local063", + "local128", + "local040", + "local272", + "local023", + "local157", + "local274", + "local035", + "local056", + "local228", + "local253", + "local358", + "local360", + "local132", + "local061", + "local114", + "local244", + "local259", + "local299", + "local031", + "local171", + "local302", + "local028", + "local301", + "local010", + "local100", + "local131", + "local133", + "local355", + "local059", + "local198", + "local065", + "local270", + "local015", + "local311", + "local330", + "local229", + "local219", + "local329", + "local058", + "local269", + "local019", + "local037", + "local009", + "local300", + "local298", + "local002", + "local230", + "local354", + "local020", + "local085", + "local336", + "local275", + "local297", + "local196", + "local099", + "local209", + "local195", + "local039", + "local201", + "local026", + "local034", + "local066", + "local098", + "local032", + "local007", + "local060", + "local078", + "local008", + "local055", + "local070", + "local141", + "local054", + "local286", + "local193", + "local068", + "local331", + "local263", + "local258", + "local220", + "local049", + "local221", + "local168", + "local018", + "local273", + "local130", + "local038", + "local284", + "local071", + "local212", + "local074", + "local075", + "local277", + "local167", + "local344", + "local152", + "local025", + "local262", + "local156", + "local050", + "local067", + "local077", + "local022", + "local170", + "local097", + "local199", + "local169", + "local030", + "local017", + "local285", + "local309" + ], + "split_seed": 20261126 +} diff --git a/bench/accuracy/results/spider-development-astra/settings.json b/bench/accuracy/results/spider-development-astra/settings.json new file mode 100644 index 00000000..2df0658b --- /dev/null +++ b/bench/accuracy/results/spider-development-astra/settings.json @@ -0,0 +1,40 @@ +{ + "profiles": [ + { + "name": "gpt62-astra", + "model": "openai/gpt-6.2-astra", + "api_key_env": "OPEN_AI_KEY", + "max_output_tokens": 8192, + "reasoning_effort": "high" + } + ], + "split": "development", + "product_commit": "4e1b48a", + "manifest_sha256": "2383837d49bc0085d0543840efee195505cb94c39e5374e8069c8f5513ecc4a0", + "sources": { + "bench/ecommerce_demo.py": "f75f4c82e07773a57ee1954d59f0acf35c9eb945430bdaea4ccdd98a35dcc86c", + "bench/oracle_demo.py": "c781b9501dea47b7900bb47e3fe41e2700d2153e85e087dce757f95e3e698b0e", + "bench/oracle_view/rehearse.py": "0114ce65327e435d4e3be6cab60e22b48bfb3ff7f06d97c14a16ea0d8e5602f2", + "bench/oracle_view/long_context.py": "089038788a9b4191946c906e470877bd246850d0a6d535809594a0bddfdcd47e", + "bench/oracle_view/codex_demo.py": "2eea87d833ca6a73a50255fa83927c6c560e2390df6c65e217263b2d3bb966c6", + "bench/oracle_view/summarize_context.py": "707b288be6637a7c8a45b957ef44a81cfb091c7fa5b249e9407a2a9b07e66626", + "bench/oracle_view/evaluate.py": "10685e37fbb2420242ebf5f88f988f3d5bccebc45465151f53ab8454e8fb5a3c", + "bench/oracle_co/session.py": "ff839e7497d9e06ca18a248993bac3c556d256ade7311c604d1f55926c195acb", + "bench/oracle_co/demo.py": "a8ac981bb35d0d77595b2441721cde4e458fb63c3fb7c1748a14bab4a187300a", + "bench/oracle_co/db_preview.py": "9a08766183d5f9542442ba41666d998fe024926e676799ffac5d751237ee0d64", + "bench/accuracy/evaluate.py": "fb63626cf53df8545262ed75284adf2d78d64cbda5f80543661c4a6c2f51bac7", + "bench/oracle_meeting/rehearse.py": "542664b6f04ae6a9606735b550fc2ce2f50df6fc0513384ebf4c654136974cd3", + "bench/oracle_meeting/codex_rehearse.py": "cfa84091da819ab1cb71d083c3ff77cc7fd79b8560de2108626e6d4c3bd8a3aa", + "bench/oracle_meeting/package_fault.py": "c7bb3552f167bafcbc084152deb66e187b3a6fa4de3dfed92cc00c7588bc1fe2", + "bench/spider2/providers.py": "5b8d534084035e44876eb980f2db9873edf82afcd4bec72cafb156821e962301", + "bench/spider2/evaluate.py": "e69628766439b40d4a524d9a23890b9399dd4357f4550fac5ae72f74c2bc91f7" + }, + "limits": { + "max_calls": 16, + "call_timeout": 180, + "case_timeout": 900, + "sql_timeout": 30, + "max_rows": 100000, + "concurrency": 4 + } +} diff --git a/bench/accuracy/results/spider-development-astra/summary.json b/bench/accuracy/results/spider-development-astra/summary.json new file mode 100644 index 00000000..c0a9e4ab --- /dev/null +++ b/bench/accuracy/results/spider-development-astra/summary.json @@ -0,0 +1,20 @@ +[ + { + "profile": "gpt62-astra", + "status": "completed", + "correct": 8, + "total": 20, + "accuracy": 0.4, + "failed_predictions": 4, + "failure_types": { + "Timeout": 4 + }, + "api_calls": 78, + "seconds": 1210.427676874213, + "wall_seconds": 319.8733340000035, + "prompt_tokens": 193727, + "completion_tokens": 16763, + "usage_missing_calls": 4, + "cost_usd": null + } +] diff --git a/bench/accuracy/results/spider-development-final/gpt62-sol/records.jsonl b/bench/accuracy/results/spider-development-final/gpt62-sol/records.jsonl new file mode 100644 index 00000000..b1511b9b --- /dev/null +++ b/bench/accuracy/results/spider-development-final/gpt62-sol/records.jsonl @@ -0,0 +1,20 @@ +{"instance_id": "local003", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH delivered_orders AS (\n SELECT o.order_id, c.customer_unique_id, o.order_purchase_timestamp\n FROM orders AS o\n JOIN customers AS c ON c.customer_id = o.customer_id\n WHERE o.order_status = 'delivered'\n),\norder_spend AS (\n -- Sum all recorded payments for an order before counting orders.\n SELECT p.order_id,\n CASE WHEN COUNT(p.payment_value) = COUNT(*)\n THEN SUM(p.payment_value) END AS spend\n FROM order_payments AS p\n JOIN delivered_orders AS d ON d.order_id = p.order_id\n GROUP BY p.order_id\n),\ncustomer_totals AS (\n SELECT d.customer_unique_id,\n MAX(d.order_purchase_timestamp) AS latest_purchase_timestamp,\n COUNT(*) AS order_count,\n -- Keep every delivered order; spend is unknown if any order lacks payment data.\n CASE WHEN COUNT(p.spend) = COUNT(*)\n THEN ROUND(SUM(p.spend), 2) END AS total_spend\n FROM delivered_orders AS d\n LEFT JOIN order_spend AS p ON p.order_id = d.order_id\n GROUP BY d.customer_unique_id\n),\ncustomer_rfm AS (\n -- Recency is elapsed days from the customer's latest delivered-order purchase\n -- to the latest delivered-order purchase in the full dataset.\n SELECT *,\n JULIANDAY(MAX(latest_purchase_timestamp) OVER ())\n - JULIANDAY(latest_purchase_timestamp) AS recency_days\n FROM customer_totals\n),\npercentiles AS (\n -- Rank best to worst. CUME_DIST keeps equal values in the same percentile band.\n SELECT *,\n CUME_DIST() OVER (ORDER BY recency_days) AS r_pct,\n CUME_DIST() OVER (ORDER BY order_count DESC) AS f_pct,\n CUME_DIST() OVER (\n PARTITION BY total_spend IS NULL ORDER BY total_spend DESC\n ) AS m_pct\n FROM customer_rfm\n),\nscores AS (\n -- Scores 1–5 use the 20%, 40%, 60%, and 80% cumulative percentile cutoffs.\n SELECT customer_unique_id, order_count, total_spend,\n 1 + (r_pct > 0.2) + (r_pct > 0.4) + (r_pct > 0.6) + (r_pct > 0.8) AS r,\n 1 + (f_pct > 0.2) + (f_pct > 0.4) + (f_pct > 0.6) + (f_pct > 0.8)\n + CASE WHEN total_spend IS NOT NULL THEN\n 1 + (m_pct > 0.2) + (m_pct > 0.4) + (m_pct > 0.6) + (m_pct > 0.8)\n END AS fm\n FROM percentiles\n),\nsegmented AS (\n SELECT customer_unique_id, order_count, total_spend,\n CASE\n WHEN r = 1 AND fm BETWEEN 1 AND 4 THEN 'Champions'\n WHEN r IN (4, 5) AND fm BETWEEN 1 AND 2 THEN 'Can''t Lose Them'\n WHEN r IN (4, 5) AND fm BETWEEN 3 AND 6 THEN 'Hibernating'\n WHEN r IN (4, 5) AND fm BETWEEN 7 AND 10 THEN 'Lost'\n WHEN r IN (2, 3) AND fm BETWEEN 1 AND 4 THEN 'Loyal Customers'\n WHEN r = 3 AND fm BETWEEN 5 AND 6 THEN 'Needs Attention'\n WHEN r = 1 AND fm BETWEEN 7 AND 8 THEN 'Recent Users'\n WHEN (r = 1 AND fm BETWEEN 5 AND 6)\n OR (r = 2 AND fm BETWEEN 5 AND 8) THEN 'Potential Loyalists'\n WHEN r = 1 AND fm BETWEEN 9 AND 10 THEN 'Price Sensitive'\n WHEN r = 2 AND fm BETWEEN 9 AND 10 THEN 'Promising'\n WHEN r = 3 AND fm BETWEEN 7 AND 10 THEN 'About to Sleep'\n ELSE 'Unclassified (missing spend)'\n END AS rfm_segment\n FROM scores\n)\nSELECT customer_unique_id,\n rfm_segment,\n ROUND(total_spend / order_count, 2) AS avg_sales_per_order,\n -- Compare segments by pooled spend / pooled orders, not by averaging customer ratios.\n ROUND(SUM(total_spend) OVER segment / SUM(order_count) OVER segment, 2)\n AS segment_avg_sales_per_order\nFROM segmented\nWINDOW segment AS (PARTITION BY rfm_segment)\nORDER BY segment_avg_sales_per_order DESC, rfm_segment, customer_unique_id;\n```", "rows": 93358, "sql": "WITH delivered_orders AS (\n SELECT o.order_id, c.customer_unique_id, o.order_purchase_timestamp\n FROM orders AS o\n JOIN customers AS c ON c.customer_id = o.customer_id\n WHERE o.order_status = 'delivered'\n),\norder_spend AS (\n -- Sum all recorded payments for an order before counting orders.\n SELECT p.order_id,\n CASE WHEN COUNT(p.payment_value) = COUNT(*)\n THEN SUM(p.payment_value) END AS spend\n FROM order_payments AS p\n JOIN delivered_orders AS d ON d.order_id = p.order_id\n GROUP BY p.order_id\n),\ncustomer_totals AS (\n SELECT d.customer_unique_id,\n MAX(d.order_purchase_timestamp) AS latest_purchase_timestamp,\n COUNT(*) AS order_count,\n -- Keep every delivered order; spend is unknown if any order lacks payment data.\n CASE WHEN COUNT(p.spend) = COUNT(*)\n THEN ROUND(SUM(p.spend), 2) END AS total_spend\n FROM delivered_orders AS d\n LEFT JOIN order_spend AS p ON p.order_id = d.order_id\n GROUP BY d.customer_unique_id\n),\ncustomer_rfm AS (\n -- Recency is elapsed days from the customer's latest delivered-order purchase\n -- to the latest delivered-order purchase in the full dataset.\n SELECT *,\n JULIANDAY(MAX(latest_purchase_timestamp) OVER ())\n - JULIANDAY(latest_purchase_timestamp) AS recency_days\n FROM customer_totals\n),\npercentiles AS (\n -- Rank best to worst. CUME_DIST keeps equal values in the same percentile band.\n SELECT *,\n CUME_DIST() OVER (ORDER BY recency_days) AS r_pct,\n CUME_DIST() OVER (ORDER BY order_count DESC) AS f_pct,\n CUME_DIST() OVER (\n PARTITION BY total_spend IS NULL ORDER BY total_spend DESC\n ) AS m_pct\n FROM customer_rfm\n),\nscores AS (\n -- Scores 1–5 use the 20%, 40%, 60%, and 80% cumulative percentile cutoffs.\n SELECT customer_unique_id, order_count, total_spend,\n 1 + (r_pct > 0.2) + (r_pct > 0.4) + (r_pct > 0.6) + (r_pct > 0.8) AS r,\n 1 + (f_pct > 0.2) + (f_pct > 0.4) + (f_pct > 0.6) + (f_pct > 0.8)\n + CASE WHEN total_spend IS NOT NULL THEN\n 1 + (m_pct > 0.2) + (m_pct > 0.4) + (m_pct > 0.6) + (m_pct > 0.8)\n END AS fm\n FROM percentiles\n),\nsegmented AS (\n SELECT customer_unique_id, order_count, total_spend,\n CASE\n WHEN r = 1 AND fm BETWEEN 1 AND 4 THEN 'Champions'\n WHEN r IN (4, 5) AND fm BETWEEN 1 AND 2 THEN 'Can''t Lose Them'\n WHEN r IN (4, 5) AND fm BETWEEN 3 AND 6 THEN 'Hibernating'\n WHEN r IN (4, 5) AND fm BETWEEN 7 AND 10 THEN 'Lost'\n WHEN r IN (2, 3) AND fm BETWEEN 1 AND 4 THEN 'Loyal Customers'\n WHEN r = 3 AND fm BETWEEN 5 AND 6 THEN 'Needs Attention'\n WHEN r = 1 AND fm BETWEEN 7 AND 8 THEN 'Recent Users'\n WHEN (r = 1 AND fm BETWEEN 5 AND 6)\n OR (r = 2 AND fm BETWEEN 5 AND 8) THEN 'Potential Loyalists'\n WHEN r = 1 AND fm BETWEEN 9 AND 10 THEN 'Price Sensitive'\n WHEN r = 2 AND fm BETWEEN 9 AND 10 THEN 'Promising'\n WHEN r = 3 AND fm BETWEEN 7 AND 10 THEN 'About to Sleep'\n ELSE 'Unclassified (missing spend)'\n END AS rfm_segment\n FROM scores\n)\nSELECT customer_unique_id,\n rfm_segment,\n ROUND(total_spend / order_count, 2) AS avg_sales_per_order,\n -- Compare segments by pooled spend / pooled orders, not by averaging customer ratios.\n ROUND(SUM(total_spend) OVER segment / SUM(order_count) OVER segment, 2)\n AS segment_avg_sales_per_order\nFROM segmented\nWINDOW segment AS (PARTITION BY rfm_segment)\nORDER BY segment_avg_sales_per_order DESC, rfm_segment, customer_unique_id;", "seconds": 75.10050345899072, "calls": [{"seconds": 4.355649541947059, "usage": {"completion_tokens": 97, "prompt_tokens": 3001, "total_tokens": 3098, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 2437, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 21.038209000020288, "usage": {"completion_tokens": 981, "prompt_tokens": 3352, "total_tokens": 4333, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 642, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 351, "cached_tokens": 2437, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 351, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 351, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 30.841548625030555, "usage": {"completion_tokens": 1924, "prompt_tokens": 4774, "total_tokens": 6698, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 833, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1422, "cached_tokens": 2788, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1422, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1422, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 14.179442542023025, "usage": {"completion_tokens": 1083, "prompt_tokens": 7904, "total_tokens": 8987, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 71, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 3130, "cached_tokens": 4210, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 3130, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 3130, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "42c3eed7333a6b5b0193a02a20f94e7c7d9ace2e466b2f1f3b25e605638dea14", "csv_sha256": "6cf147e3489befc94ac2dab57b93d6be7e285f9f0d4f9584bc9eba8223699173"} +{"instance_id": "local004", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH payments_by_order AS (\n SELECT order_id, SUM(payment_value) AS order_payment\n FROM order_payments\n GROUP BY order_id\n)\nSELECT\n COUNT(*) AS number_of_orders,\n AVG(p.order_payment) AS average_payment_per_order,\n MAX(1.0, (\n JULIANDAY(MAX(DATE(o.order_purchase_timestamp)))\n - JULIANDAY(MIN(DATE(o.order_purchase_timestamp)))\n ) / 7.0) AS customer_lifespan_weeks\nFROM orders AS o\nJOIN customers AS c ON c.customer_id = o.customer_id\nLEFT JOIN payments_by_order AS p ON p.order_id = o.order_id\nGROUP BY c.customer_unique_id\nORDER BY average_payment_per_order DESC, c.customer_unique_id\nLIMIT 3;\n```", "rows": 3, "sql": "WITH payments_by_order AS (\n SELECT order_id, SUM(payment_value) AS order_payment\n FROM order_payments\n GROUP BY order_id\n)\nSELECT\n COUNT(*) AS number_of_orders,\n AVG(p.order_payment) AS average_payment_per_order,\n MAX(1.0, (\n JULIANDAY(MAX(DATE(o.order_purchase_timestamp)))\n - JULIANDAY(MIN(DATE(o.order_purchase_timestamp)))\n ) / 7.0) AS customer_lifespan_weeks\nFROM orders AS o\nJOIN customers AS c ON c.customer_id = o.customer_id\nLEFT JOIN payments_by_order AS p ON p.order_id = o.order_id\nGROUP BY c.customer_unique_id\nORDER BY average_payment_per_order DESC, c.customer_unique_id\nLIMIT 3;", "seconds": 16.47555087506771, "calls": [{"seconds": 3.186542083043605, "usage": {"completion_tokens": 67, "prompt_tokens": 1686, "total_tokens": 1753, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1122, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.775889292010106, "usage": {"completion_tokens": 339, "prompt_tokens": 1922, "total_tokens": 2261, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 147, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1358, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.121554541983642, "usage": {"completion_tokens": 172, "prompt_tokens": 2502, "total_tokens": 2674, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 580, "cached_tokens": 1358, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 580, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 580, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8b6b75f3bd644f11b1cc35665b60e906527f33e745332468d4b62728568a4c98", "csv_sha256": "dbf250502ef4fa6211211420536ecb2347191f1d66ace7952102e677e5faa61c"} +{"instance_id": "local021", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH striker_match_runs AS (\n SELECT b.striker, b.match_id, SUM(s.runs_scored) AS match_runs\n FROM ball_by_ball AS b\n JOIN batsman_scored AS s\n ON s.match_id = b.match_id\n AND s.innings_no = b.innings_no\n AND s.over_id = b.over_id\n AND s.ball_id = b.ball_id\n WHERE b.striker IS NOT NULL\n GROUP BY b.striker, b.match_id\n), qualifying_striker_totals AS (\n SELECT SUM(match_runs) AS total_runs\n FROM striker_match_runs\n GROUP BY striker\n HAVING MAX(match_runs) > 50\n)\nSELECT AVG(total_runs) AS average_total_runs\nFROM qualifying_striker_totals;\n```", "rows": 1, "sql": "WITH striker_match_runs AS (\n SELECT b.striker, b.match_id, SUM(s.runs_scored) AS match_runs\n FROM ball_by_ball AS b\n JOIN batsman_scored AS s\n ON s.match_id = b.match_id\n AND s.innings_no = b.innings_no\n AND s.over_id = b.over_id\n AND s.ball_id = b.ball_id\n WHERE b.striker IS NOT NULL\n GROUP BY b.striker, b.match_id\n), qualifying_striker_totals AS (\n SELECT SUM(match_runs) AS total_runs\n FROM striker_match_runs\n GROUP BY striker\n HAVING MAX(match_runs) > 50\n)\nSELECT AVG(total_runs) AS average_total_runs\nFROM qualifying_striker_totals;", "seconds": 23.60078229091596, "calls": [{"seconds": 1.8964962500613183, "usage": {"completion_tokens": 15, "prompt_tokens": 1630, "total_tokens": 1645, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1075, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0832102090353146, "usage": {"completion_tokens": 70, "prompt_tokens": 1690, "total_tokens": 1760, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1135, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.425275082932785, "usage": {"completion_tokens": 461, "prompt_tokens": 1934, "total_tokens": 2395, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 312, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 244, "cached_tokens": 1135, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 244, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 244, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.720205958001316, "usage": {"completion_tokens": 243, "prompt_tokens": 2567, "total_tokens": 2810, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 57, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 633, "cached_tokens": 1379, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 633, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 633, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.303346625063568, "usage": {"completion_tokens": 172, "prompt_tokens": 3008, "total_tokens": 3180, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 441, "cached_tokens": 2012, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 441, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 441, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2eff3211e80847ac6cb5da7b7a3348f36a7eedb29872bc6631450843a2385bde", "csv_sha256": "88bf0f7b9192711976006e104341ed38903ce346d26b929784dca265916621a8"} +{"instance_id": "local024", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH appearances AS (\n SELECT DISTINCT player_id, match_id\n FROM player_match\n), runs_by_player_match AS (\n SELECT b.striker AS player_id, b.match_id, SUM(s.runs_scored) AS match_runs\n FROM ball_by_ball AS b\n JOIN batsman_scored AS s\n ON s.match_id = b.match_id\n AND s.innings_no = b.innings_no\n AND s.over_id = b.over_id\n AND s.ball_id = b.ball_id\n GROUP BY b.striker, b.match_id\n), player_averages AS (\n SELECT a.player_id, AVG(COALESCE(r.match_runs, 0)) AS avg_runs_per_match\n FROM appearances AS a\n LEFT JOIN runs_by_player_match AS r\n ON r.player_id = a.player_id AND r.match_id = a.match_id\n GROUP BY a.player_id\n)\nSELECT p.country_name, AVG(pa.avg_runs_per_match) AS country_batting_average\nFROM player_averages AS pa\nJOIN player AS p ON p.player_id = pa.player_id\nGROUP BY p.country_name\nORDER BY country_batting_average DESC, p.country_name ASC\nLIMIT 5;\n```", "rows": 5, "sql": "WITH appearances AS (\n SELECT DISTINCT player_id, match_id\n FROM player_match\n), runs_by_player_match AS (\n SELECT b.striker AS player_id, b.match_id, SUM(s.runs_scored) AS match_runs\n FROM ball_by_ball AS b\n JOIN batsman_scored AS s\n ON s.match_id = b.match_id\n AND s.innings_no = b.innings_no\n AND s.over_id = b.over_id\n AND s.ball_id = b.ball_id\n GROUP BY b.striker, b.match_id\n), player_averages AS (\n SELECT a.player_id, AVG(COALESCE(r.match_runs, 0)) AS avg_runs_per_match\n FROM appearances AS a\n LEFT JOIN runs_by_player_match AS r\n ON r.player_id = a.player_id AND r.match_id = a.match_id\n GROUP BY a.player_id\n)\nSELECT p.country_name, AVG(pa.avg_runs_per_match) AS country_batting_average\nFROM player_averages AS pa\nJOIN player AS p ON p.player_id = pa.player_id\nGROUP BY p.country_name\nORDER BY country_batting_average DESC, p.country_name ASC\nLIMIT 5;", "seconds": 15.712763375020586, "calls": [{"seconds": 3.0830321250250563, "usage": {"completion_tokens": 87, "prompt_tokens": 1670, "total_tokens": 1757, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1115, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.744386125006713, "usage": {"completion_tokens": 333, "prompt_tokens": 1992, "total_tokens": 2325, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 56, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1437, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.7057047500275075, "usage": {"completion_tokens": 288, "prompt_tokens": 2665, "total_tokens": 2953, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 24, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 673, "cached_tokens": 1437, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 673, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 673, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "c211c910e31da1ce6cdf8389399f6657de58d9747d5437cd725d81be012c2ac3", "csv_sha256": "d2b419f6ccb842c7a9f8fbee56796590a1cd65202a6bfc66efd074ab91fde020"} +{"instance_id": "local029", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH top_customers AS (\n SELECT c.customer_unique_id, COUNT(DISTINCT o.order_id) AS delivered_order_count\n FROM olist_customers AS c\n JOIN olist_orders AS o ON o.customer_id = c.customer_id\n WHERE o.order_status = 'delivered'\n GROUP BY c.customer_unique_id\n ORDER BY delivered_order_count DESC, c.customer_unique_id\n LIMIT 3\n), ranked_orders AS MATERIALIZED (\n SELECT c.customer_unique_id, c.customer_city, c.customer_state, o.order_id,\n ROW_NUMBER() OVER (\n PARTITION BY c.customer_unique_id\n ORDER BY o.order_purchase_timestamp DESC, o.order_id DESC\n ) AS location_rank\n FROM olist_customers AS c\n JOIN olist_orders AS o ON o.customer_id = c.customer_id\n WHERE o.order_status = 'delivered'\n AND c.customer_unique_id IN (SELECT customer_unique_id FROM top_customers)\n), relevant_payments AS MATERIALIZED (\n SELECT order_id, payment_value\n FROM olist_order_payments\n WHERE order_id IN (SELECT order_id FROM ranked_orders)\n)\nSELECT t.customer_unique_id,\n AVG(p.payment_value) AS average_payment_value,\n MAX(CASE WHEN r.location_rank = 1 THEN r.customer_city END) AS customer_city,\n MAX(CASE WHEN r.location_rank = 1 THEN r.customer_state END) AS customer_state\nFROM top_customers AS t\nJOIN ranked_orders AS r ON r.customer_unique_id = t.customer_unique_id\nLEFT JOIN relevant_payments AS p ON p.order_id = r.order_id\nGROUP BY t.customer_unique_id, t.delivered_order_count\nORDER BY t.delivered_order_count DESC, t.customer_unique_id;\n```", "rows": 3, "sql": "WITH top_customers AS (\n SELECT c.customer_unique_id, COUNT(DISTINCT o.order_id) AS delivered_order_count\n FROM olist_customers AS c\n JOIN olist_orders AS o ON o.customer_id = c.customer_id\n WHERE o.order_status = 'delivered'\n GROUP BY c.customer_unique_id\n ORDER BY delivered_order_count DESC, c.customer_unique_id\n LIMIT 3\n), ranked_orders AS MATERIALIZED (\n SELECT c.customer_unique_id, c.customer_city, c.customer_state, o.order_id,\n ROW_NUMBER() OVER (\n PARTITION BY c.customer_unique_id\n ORDER BY o.order_purchase_timestamp DESC, o.order_id DESC\n ) AS location_rank\n FROM olist_customers AS c\n JOIN olist_orders AS o ON o.customer_id = c.customer_id\n WHERE o.order_status = 'delivered'\n AND c.customer_unique_id IN (SELECT customer_unique_id FROM top_customers)\n), relevant_payments AS MATERIALIZED (\n SELECT order_id, payment_value\n FROM olist_order_payments\n WHERE order_id IN (SELECT order_id FROM ranked_orders)\n)\nSELECT t.customer_unique_id,\n AVG(p.payment_value) AS average_payment_value,\n MAX(CASE WHEN r.location_rank = 1 THEN r.customer_city END) AS customer_city,\n MAX(CASE WHEN r.location_rank = 1 THEN r.customer_state END) AS customer_state\nFROM top_customers AS t\nJOIN ranked_orders AS r ON r.customer_unique_id = t.customer_unique_id\nLEFT JOIN relevant_payments AS p ON p.order_id = r.order_id\nGROUP BY t.customer_unique_id, t.delivered_order_count\nORDER BY t.delivered_order_count DESC, t.customer_unique_id;", "seconds": 84.38303058291785, "calls": [{"seconds": 3.042860041023232, "usage": {"completion_tokens": 85, "prompt_tokens": 1667, "total_tokens": 1752, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1088, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 15.047794083948247, "usage": {"completion_tokens": 568, "prompt_tokens": 1956, "total_tokens": 2524, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 386, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1377, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 15.54531995789148, "usage": {"completion_tokens": 878, "prompt_tokens": 2839, "total_tokens": 3717, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 544, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 883, "cached_tokens": 1377, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 883, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 883, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.235520416055806, "usage": {"completion_tokens": 655, "prompt_tokens": 4073, "total_tokens": 4728, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 260, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1234, "cached_tokens": 2260, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1234, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1234, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.81637487502303, "usage": {"completion_tokens": 395, "prompt_tokens": 5231, "total_tokens": 5626, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 22, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1158, "cached_tokens": 3494, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1158, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1158, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9e1d46ae0d35207894d0839654becb623b897e822b76318d1098f5eba448947e", "csv_sha256": "a4dff07e4f8f75b1f9e21341cea31a57a4c82544787d1565cb382182da95f646"} +{"instance_id": "local041", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT 100.0 * COUNT(CASE WHEN health = 'Good' THEN 1 END) / COUNT(*) AS percentage_good\nFROM trees\nWHERE boroname = 'Bronx';\n```", "rows": 1, "sql": "SELECT 100.0 * COUNT(CASE WHEN health = 'Good' THEN 1 END) / COUNT(*) AS percentage_good\nFROM trees\nWHERE boroname = 'Bronx';", "seconds": 8.66506166709587, "calls": [{"seconds": 2.6054520410252735, "usage": {"completion_tokens": 19, "prompt_tokens": 1659, "total_tokens": 1678, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1062, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1612245000433177, "usage": {"completion_tokens": 75, "prompt_tokens": 1787, "total_tokens": 1862, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 17, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1190, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.786301792017184, "usage": {"completion_tokens": 47, "prompt_tokens": 1934, "total_tokens": 1981, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 147, "cached_tokens": 1190, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 147, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 147, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "cf19aac9b1b379e8bf4bc61aa5e76ea6844d001aaab5e2648b1fff1064072244", "csv_sha256": "e60e03eaf79a25527c91bae79763501a7edae27535b9f8a188a925a79590d1ef"} +{"instance_id": "local062", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE\nitalian_customers AS (\n SELECT c.cust_id\n FROM customers AS c\n JOIN countries AS co ON co.country_id = c.country_id\n WHERE co.country_name = 'Italy'\n),\ndecember_profit AS (\n SELECT p.cust_id,\n SUM(p.quantity_sold * (p.unit_price - p.unit_cost)) AS total_profit\n FROM profits AS p\n JOIN italian_customers AS c ON c.cust_id = p.cust_id\n WHERE p.time_id >= '2021-12-01' AND p.time_id < '2022-01-01'\n GROUP BY p.cust_id\n),\ncustomer_profit AS (\n SELECT c.cust_id, COALESCE(p.total_profit, 0.0) AS total_profit\n FROM italian_customers AS c\n LEFT JOIN december_profit AS p ON p.cust_id = c.cust_id\n),\nprofit_range AS (\n SELECT MIN(total_profit) AS min_profit, MAX(total_profit) AS max_profit\n FROM customer_profit\n),\nassigned AS (\n SELECT cp.total_profit,\n CASE\n WHEN r.min_profit = r.max_profit THEN 1\n ELSE MIN(10, 1 + CAST(10.0 * (cp.total_profit - r.min_profit)\n / (r.max_profit - r.min_profit) AS INTEGER))\n END AS bucket\n FROM customer_profit AS cp\n CROSS JOIN profit_range AS r\n),\nbuckets(bucket) AS (\n SELECT 1\n UNION ALL\n SELECT bucket + 1 FROM buckets WHERE bucket < 10\n)\nSELECT b.bucket,\n COUNT(a.bucket) AS customer_count,\n MIN(a.total_profit) AS min_total_profit,\n MAX(a.total_profit) AS max_total_profit\nFROM buckets AS b\nLEFT JOIN assigned AS a ON a.bucket = b.bucket\nGROUP BY b.bucket\nORDER BY b.bucket;\n```", "rows": 10, "sql": "WITH RECURSIVE\nitalian_customers AS (\n SELECT c.cust_id\n FROM customers AS c\n JOIN countries AS co ON co.country_id = c.country_id\n WHERE co.country_name = 'Italy'\n),\ndecember_profit AS (\n SELECT p.cust_id,\n SUM(p.quantity_sold * (p.unit_price - p.unit_cost)) AS total_profit\n FROM profits AS p\n JOIN italian_customers AS c ON c.cust_id = p.cust_id\n WHERE p.time_id >= '2021-12-01' AND p.time_id < '2022-01-01'\n GROUP BY p.cust_id\n),\ncustomer_profit AS (\n SELECT c.cust_id, COALESCE(p.total_profit, 0.0) AS total_profit\n FROM italian_customers AS c\n LEFT JOIN december_profit AS p ON p.cust_id = c.cust_id\n),\nprofit_range AS (\n SELECT MIN(total_profit) AS min_profit, MAX(total_profit) AS max_profit\n FROM customer_profit\n),\nassigned AS (\n SELECT cp.total_profit,\n CASE\n WHEN r.min_profit = r.max_profit THEN 1\n ELSE MIN(10, 1 + CAST(10.0 * (cp.total_profit - r.min_profit)\n / (r.max_profit - r.min_profit) AS INTEGER))\n END AS bucket\n FROM customer_profit AS cp\n CROSS JOIN profit_range AS r\n),\nbuckets(bucket) AS (\n SELECT 1\n UNION ALL\n SELECT bucket + 1 FROM buckets WHERE bucket < 10\n)\nSELECT b.bucket,\n COUNT(a.bucket) AS customer_count,\n MIN(a.total_profit) AS min_total_profit,\n MAX(a.total_profit) AS max_total_profit\nFROM buckets AS b\nLEFT JOIN assigned AS a ON a.bucket = b.bucket\nGROUP BY b.bucket\nORDER BY b.bucket;", "seconds": 79.8722219580086, "calls": [{"seconds": 1.9045624170685187, "usage": {"completion_tokens": 15, "prompt_tokens": 1693, "total_tokens": 1708, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1126, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6091148339910433, "usage": {"completion_tokens": 125, "prompt_tokens": 1777, "total_tokens": 1902, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1210, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.343535125022754, "usage": {"completion_tokens": 387, "prompt_tokens": 2835, "total_tokens": 3222, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 181, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1058, "cached_tokens": 1210, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1058, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1058, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.445223374990746, "usage": {"completion_tokens": 202, "prompt_tokens": 3453, "total_tokens": 3655, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 27, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 618, "cached_tokens": 2268, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 618, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 618, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.819044374977238, "usage": {"completion_tokens": 623, "prompt_tokens": 4638, "total_tokens": 5261, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 179, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1185, "cached_tokens": 2886, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1185, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1185, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.243480750010349, "usage": {"completion_tokens": 427, "prompt_tokens": 5920, "total_tokens": 6347, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 173, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1282, "cached_tokens": 4071, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1282, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1282, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.306160000036471, "usage": {"completion_tokens": 419, "prompt_tokens": 6625, "total_tokens": 7044, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 10, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 705, "cached_tokens": 5353, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 705, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 705, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5ec449a629496c5bb075a097dd65093087ece4163d67d730e3cf0be68cc8676a", "csv_sha256": "afd76e4239779a82cbd20afca8862f78e7fb76a2ba0e0bd161556ee31f655db8"} +{"instance_id": "local064", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE months(month_start) AS (\n VALUES ('2020-01-01')\n UNION ALL\n SELECT date(month_start, '+1 month')\n FROM months\n WHERE month_start < '2020-12-01'\n), customers AS (\n SELECT DISTINCT customer_id\n FROM customer_nodes\n), monthly_transactions AS (\n SELECT customer_id,\n date(txn_date, 'start of month') AS month_start,\n SUM(CASE txn_type\n WHEN 'deposit' THEN txn_amount\n WHEN 'withdrawal' THEN -txn_amount\n END) AS balance\n FROM customer_transactions\n WHERE txn_date >= '2020-01-01'\n AND txn_date < '2021-01-01'\n AND txn_type IN ('deposit', 'withdrawal')\n GROUP BY customer_id, date(txn_date, 'start of month')\n), customer_month_balances AS (\n SELECT m.month_start,\n COALESCE(t.balance, 0) AS balance\n FROM months AS m\n CROSS JOIN customers AS c\n LEFT JOIN monthly_transactions AS t\n ON t.customer_id = c.customer_id\n AND t.month_start = m.month_start\n), monthly_summary AS (\n SELECT month_start,\n COUNT(CASE WHEN balance > 0 THEN 1 END) AS positive_customer_count,\n AVG(balance) AS average_balance\n FROM customer_month_balances\n GROUP BY month_start\n), extremes AS (\n SELECT MAX(positive_customer_count) AS highest_count,\n MIN(positive_customer_count) AS lowest_count\n FROM monthly_summary\n)\nSELECT strftime('%Y-%m', h.month_start) AS highest_count_month,\n strftime('%Y-%m', l.month_start) AS lowest_count_month,\n h.average_balance AS highest_count_month_average_balance,\n l.average_balance AS lowest_count_month_average_balance,\n h.average_balance - l.average_balance AS average_balance_difference\nFROM extremes AS e\nJOIN monthly_summary AS h ON h.positive_customer_count = e.highest_count\nJOIN monthly_summary AS l ON l.positive_customer_count = e.lowest_count\nORDER BY h.month_start, l.month_start;\n```", "rows": 8, "sql": "WITH RECURSIVE months(month_start) AS (\n VALUES ('2020-01-01')\n UNION ALL\n SELECT date(month_start, '+1 month')\n FROM months\n WHERE month_start < '2020-12-01'\n), customers AS (\n SELECT DISTINCT customer_id\n FROM customer_nodes\n), monthly_transactions AS (\n SELECT customer_id,\n date(txn_date, 'start of month') AS month_start,\n SUM(CASE txn_type\n WHEN 'deposit' THEN txn_amount\n WHEN 'withdrawal' THEN -txn_amount\n END) AS balance\n FROM customer_transactions\n WHERE txn_date >= '2020-01-01'\n AND txn_date < '2021-01-01'\n AND txn_type IN ('deposit', 'withdrawal')\n GROUP BY customer_id, date(txn_date, 'start of month')\n), customer_month_balances AS (\n SELECT m.month_start,\n COALESCE(t.balance, 0) AS balance\n FROM months AS m\n CROSS JOIN customers AS c\n LEFT JOIN monthly_transactions AS t\n ON t.customer_id = c.customer_id\n AND t.month_start = m.month_start\n), monthly_summary AS (\n SELECT month_start,\n COUNT(CASE WHEN balance > 0 THEN 1 END) AS positive_customer_count,\n AVG(balance) AS average_balance\n FROM customer_month_balances\n GROUP BY month_start\n), extremes AS (\n SELECT MAX(positive_customer_count) AS highest_count,\n MIN(positive_customer_count) AS lowest_count\n FROM monthly_summary\n)\nSELECT strftime('%Y-%m', h.month_start) AS highest_count_month,\n strftime('%Y-%m', l.month_start) AS lowest_count_month,\n h.average_balance AS highest_count_month_average_balance,\n l.average_balance AS lowest_count_month_average_balance,\n h.average_balance - l.average_balance AS average_balance_difference\nFROM extremes AS e\nJOIN monthly_summary AS h ON h.positive_customer_count = e.highest_count\nJOIN monthly_summary AS l ON l.positive_customer_count = e.lowest_count\nORDER BY h.month_start, l.month_start;", "seconds": 29.358122750069015, "calls": [{"seconds": 2.2673445830587298, "usage": {"completion_tokens": 15, "prompt_tokens": 1741, "total_tokens": 1756, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1136, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.4055122500285506, "usage": {"completion_tokens": 52, "prompt_tokens": 1862, "total_tokens": 1914, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 121, "cached_tokens": 1136, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 121, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 121, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.527892458019778, "usage": {"completion_tokens": 268, "prompt_tokens": 1998, "total_tokens": 2266, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 95, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 136, "cached_tokens": 1257, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 136, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 136, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.54342049988918, "usage": {"completion_tokens": 634, "prompt_tokens": 2497, "total_tokens": 3131, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 135, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 499, "cached_tokens": 1393, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 499, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 499, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.0892477500019595, "usage": {"completion_tokens": 460, "prompt_tokens": 3845, "total_tokens": 4305, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1348, "cached_tokens": 1892, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1348, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1348, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "80b826435489c23f4a551289ada1f03860c6b5b796baa7f8d932516ec760ecc3", "csv_sha256": "2fc0dd88f6488a98b450c5a60e5628cf9fabba2f5465948a9c35cb9254a37c9b"} +{"instance_id": "local072", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH january_entries AS (\n SELECT country_code_2, DATE(insert_date) AS insertion_day, capital\n FROM cities\n WHERE DATE(insert_date) >= '2022-01-01'\n AND DATE(insert_date) < '2022-02-01'\n), insertion_days AS (\n SELECT DISTINCT country_code_2, insertion_day\n FROM january_entries\n), matching_countries AS (\n SELECT country_code_2\n FROM insertion_days\n GROUP BY country_code_2\n HAVING COUNT(*) = 9\n), numbered_days AS (\n SELECT d.country_code_2, d.insertion_day,\n JULIANDAY(d.insertion_day) - ROW_NUMBER() OVER (\n PARTITION BY d.country_code_2 ORDER BY d.insertion_day\n ) AS streak_key\n FROM insertion_days AS d\n JOIN matching_countries AS m ON m.country_code_2 = d.country_code_2\n), streaks AS (\n SELECT country_code_2, MIN(insertion_day) AS period_start,\n MAX(insertion_day) AS period_end, COUNT(*) AS streak_days\n FROM numbered_days\n GROUP BY country_code_2, streak_key\n), ranked_streaks AS (\n SELECT country_code_2, period_start, period_end,\n DENSE_RANK() OVER (\n PARTITION BY country_code_2 ORDER BY streak_days DESC\n ) AS streak_rank\n FROM streaks\n)\nSELECT c.country_name, s.period_start, s.period_end,\n AVG(CASE WHEN e.capital = 1 THEN 1.0 ELSE 0.0 END) AS capital_proportion\nFROM ranked_streaks AS s\nJOIN january_entries AS e\n ON e.country_code_2 = s.country_code_2\n AND e.insertion_day BETWEEN s.period_start AND s.period_end\nJOIN cities_countries AS c ON c.country_code_2 = s.country_code_2\nWHERE s.streak_rank = 1\nGROUP BY s.country_code_2, c.country_name, s.period_start, s.period_end;\n```", "rows": 1, "sql": "WITH january_entries AS (\n SELECT country_code_2, DATE(insert_date) AS insertion_day, capital\n FROM cities\n WHERE DATE(insert_date) >= '2022-01-01'\n AND DATE(insert_date) < '2022-02-01'\n), insertion_days AS (\n SELECT DISTINCT country_code_2, insertion_day\n FROM january_entries\n), matching_countries AS (\n SELECT country_code_2\n FROM insertion_days\n GROUP BY country_code_2\n HAVING COUNT(*) = 9\n), numbered_days AS (\n SELECT d.country_code_2, d.insertion_day,\n JULIANDAY(d.insertion_day) - ROW_NUMBER() OVER (\n PARTITION BY d.country_code_2 ORDER BY d.insertion_day\n ) AS streak_key\n FROM insertion_days AS d\n JOIN matching_countries AS m ON m.country_code_2 = d.country_code_2\n), streaks AS (\n SELECT country_code_2, MIN(insertion_day) AS period_start,\n MAX(insertion_day) AS period_end, COUNT(*) AS streak_days\n FROM numbered_days\n GROUP BY country_code_2, streak_key\n), ranked_streaks AS (\n SELECT country_code_2, period_start, period_end,\n DENSE_RANK() OVER (\n PARTITION BY country_code_2 ORDER BY streak_days DESC\n ) AS streak_rank\n FROM streaks\n)\nSELECT c.country_name, s.period_start, s.period_end,\n AVG(CASE WHEN e.capital = 1 THEN 1.0 ELSE 0.0 END) AS capital_proportion\nFROM ranked_streaks AS s\nJOIN january_entries AS e\n ON e.country_code_2 = s.country_code_2\n AND e.insertion_day BETWEEN s.period_start AND s.period_end\nJOIN cities_countries AS c ON c.country_code_2 = s.country_code_2\nWHERE s.streak_rank = 1\nGROUP BY s.country_code_2, c.country_name, s.period_start, s.period_end;", "seconds": 31.671325500006787, "calls": [{"seconds": 1.9942561249481514, "usage": {"completion_tokens": 15, "prompt_tokens": 1682, "total_tokens": 1697, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1103, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.265195165993646, "usage": {"completion_tokens": 118, "prompt_tokens": 1773, "total_tokens": 1891, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1194, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2312762910733, "usage": {"completion_tokens": 111, "prompt_tokens": 2251, "total_tokens": 2362, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1672, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3562125000171363, "usage": {"completion_tokens": 60, "prompt_tokens": 2530, "total_tokens": 2590, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 279, "cached_tokens": 1672, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 279, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 279, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.14998812507838, "usage": {"completion_tokens": 733, "prompt_tokens": 2678, "total_tokens": 3411, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 266, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 148, "cached_tokens": 1951, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 148, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 148, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.626400000066496, "usage": {"completion_tokens": 441, "prompt_tokens": 3908, "total_tokens": 4349, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1230, "cached_tokens": 2099, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1230, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1230, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "381a8fa4256fe3df210f78f84e5c537fbf50ae61cafece5b2b19aad19341be64", "csv_sha256": "e1e4683f28f03af72b34eb149aa309e39213f36392bc677d6cae46fac3ef0e2f"} +{"instance_id": "local073", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE\norder_lines AS (\n SELECT o.rowid AS row_id, o.order_id, o.customer_id, n.pizza_name,\n o.order_time, o.exclusions, o.extras,\n CASE WHEN n.pizza_name = 'Meatlovers' THEN 1 ELSE 2 END AS pizza_id\n FROM pizza_clean_customer_orders AS o\n JOIN pizza_names AS n ON n.pizza_id = o.pizza_id\n),\ntopping_lists AS (\n SELECT o.row_id, 'recipe' AS kind, r.toppings AS csv\n FROM order_lines AS o\n JOIN pizza_recipes AS r ON r.pizza_id = o.pizza_id\n UNION ALL\n SELECT row_id, 'exclusion', exclusions FROM order_lines\n UNION ALL\n SELECT row_id, 'extra', extras FROM order_lines\n),\nsplit(row_id, kind, topping_id, rest) AS (\n SELECT row_id, kind, NULL, csv || ','\n FROM topping_lists\n WHERE csv IS NOT NULL AND TRIM(csv) <> ''\n UNION ALL\n SELECT row_id, kind,\n CAST(NULLIF(TRIM(SUBSTR(rest, 1, INSTR(rest, ',') - 1)), '') AS INTEGER),\n SUBSTR(rest, INSTR(rest, ',') + 1)\n FROM split\n WHERE rest <> ''\n),\ntopping_counts AS (\n SELECT s.row_id, t.topping_name, COUNT(*) AS copies\n FROM split AS s\n JOIN pizza_toppings AS t ON t.topping_id = s.topping_id\n WHERE s.kind = 'extra'\n OR (s.kind = 'recipe' AND NOT EXISTS (\n SELECT 1\n FROM split AS x\n WHERE x.row_id = s.row_id\n AND x.kind = 'exclusion'\n AND x.topping_id = s.topping_id\n ))\n GROUP BY s.row_id, t.topping_name\n),\nformatted AS (\n SELECT row_id,\n GROUP_CONCAT(\n CASE WHEN copies > 1 THEN '2x' ELSE '' END || topping_name, ', '\n ) OVER (\n PARTITION BY row_id\n ORDER BY (copies > 1) DESC, topping_name COLLATE NOCASE\n ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING\n ) AS topping_string\n FROM topping_counts\n)\nSELECT o.row_id, o.order_id, o.customer_id, o.pizza_name,\n o.pizza_name || ': ' || COALESCE(MAX(f.topping_string), '') AS ingredients\nFROM order_lines AS o\nLEFT JOIN formatted AS f ON f.row_id = o.row_id\nGROUP BY o.row_id, o.order_id, o.customer_id, o.pizza_name, o.order_time\nORDER BY o.row_id ASC;\n```", "rows": 14, "sql": "WITH RECURSIVE\norder_lines AS (\n SELECT o.rowid AS row_id, o.order_id, o.customer_id, n.pizza_name,\n o.order_time, o.exclusions, o.extras,\n CASE WHEN n.pizza_name = 'Meatlovers' THEN 1 ELSE 2 END AS pizza_id\n FROM pizza_clean_customer_orders AS o\n JOIN pizza_names AS n ON n.pizza_id = o.pizza_id\n),\ntopping_lists AS (\n SELECT o.row_id, 'recipe' AS kind, r.toppings AS csv\n FROM order_lines AS o\n JOIN pizza_recipes AS r ON r.pizza_id = o.pizza_id\n UNION ALL\n SELECT row_id, 'exclusion', exclusions FROM order_lines\n UNION ALL\n SELECT row_id, 'extra', extras FROM order_lines\n),\nsplit(row_id, kind, topping_id, rest) AS (\n SELECT row_id, kind, NULL, csv || ','\n FROM topping_lists\n WHERE csv IS NOT NULL AND TRIM(csv) <> ''\n UNION ALL\n SELECT row_id, kind,\n CAST(NULLIF(TRIM(SUBSTR(rest, 1, INSTR(rest, ',') - 1)), '') AS INTEGER),\n SUBSTR(rest, INSTR(rest, ',') + 1)\n FROM split\n WHERE rest <> ''\n),\ntopping_counts AS (\n SELECT s.row_id, t.topping_name, COUNT(*) AS copies\n FROM split AS s\n JOIN pizza_toppings AS t ON t.topping_id = s.topping_id\n WHERE s.kind = 'extra'\n OR (s.kind = 'recipe' AND NOT EXISTS (\n SELECT 1\n FROM split AS x\n WHERE x.row_id = s.row_id\n AND x.kind = 'exclusion'\n AND x.topping_id = s.topping_id\n ))\n GROUP BY s.row_id, t.topping_name\n),\nformatted AS (\n SELECT row_id,\n GROUP_CONCAT(\n CASE WHEN copies > 1 THEN '2x' ELSE '' END || topping_name, ', '\n ) OVER (\n PARTITION BY row_id\n ORDER BY (copies > 1) DESC, topping_name COLLATE NOCASE\n ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING\n ) AS topping_string\n FROM topping_counts\n)\nSELECT o.row_id, o.order_id, o.customer_id, o.pizza_name,\n o.pizza_name || ': ' || COALESCE(MAX(f.topping_string), '') AS ingredients\nFROM order_lines AS o\nLEFT JOIN formatted AS f ON f.row_id = o.row_id\nGROUP BY o.row_id, o.order_id, o.customer_id, o.pizza_name, o.order_time\nORDER BY o.row_id ASC;", "seconds": 49.08565537503455, "calls": [{"seconds": 4.461512791924179, "usage": {"completion_tokens": 141, "prompt_tokens": 1815, "total_tokens": 1956, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1218, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.091606082976796, "usage": {"completion_tokens": 187, "prompt_tokens": 2215, "total_tokens": 2402, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1618, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 29.144510332960635, "usage": {"completion_tokens": 1574, "prompt_tokens": 3885, "total_tokens": 5459, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 927, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1670, "cached_tokens": 1618, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1670, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1670, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.864599334076047, "usage": {"completion_tokens": 662, "prompt_tokens": 6577, "total_tokens": 7239, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 57, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 2692, "cached_tokens": 3288, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 2692, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 2692, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1cffedcd76b158ae3f00474f9c14f357d72aa7f4030027127ef65257560d9e2b", "csv_sha256": "9de7744f9d1cdb202c0399031844b31a0a16944405c2baab6d28a9e20a5401c8"} +{"instance_id": "local081", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH customer_spending AS (\n SELECT o.customerid,\n COALESCE(SUM(od.unitprice * od.quantity), 0) AS total_spent\n FROM orders AS o\n LEFT JOIN order_details AS od ON od.orderid = o.orderid\n WHERE o.orderdate >= '1998-01-01'\n AND o.orderdate < '1999-01-01'\n AND o.customerid IS NOT NULL\n GROUP BY o.customerid\n)\nSELECT t.groupname AS spending_group,\n COUNT(s.customerid) AS customer_count,\n 100.0 * COUNT(s.customerid) /\n NULLIF((SELECT COUNT(*) FROM customer_spending), 0) AS percentage_of_customers\nFROM customergroupthreshold AS t\nLEFT JOIN customer_spending AS s\n ON s.total_spent BETWEEN t.rangebottom AND t.rangetop\nGROUP BY t.groupname, t.rangebottom\nORDER BY t.rangebottom;\n```", "rows": 4, "sql": "WITH customer_spending AS (\n SELECT o.customerid,\n COALESCE(SUM(od.unitprice * od.quantity), 0) AS total_spent\n FROM orders AS o\n LEFT JOIN order_details AS od ON od.orderid = o.orderid\n WHERE o.orderdate >= '1998-01-01'\n AND o.orderdate < '1999-01-01'\n AND o.customerid IS NOT NULL\n GROUP BY o.customerid\n)\nSELECT t.groupname AS spending_group,\n COUNT(s.customerid) AS customer_count,\n 100.0 * COUNT(s.customerid) /\n NULLIF((SELECT COUNT(*) FROM customer_spending), 0) AS percentage_of_customers\nFROM customergroupthreshold AS t\nLEFT JOIN customer_spending AS s\n ON s.total_spent BETWEEN t.rangebottom AND t.rangetop\nGROUP BY t.groupname, t.rangebottom\nORDER BY t.rangebottom;", "seconds": 21.24882658291608, "calls": [{"seconds": 3.575126708019525, "usage": {"completion_tokens": 84, "prompt_tokens": 1709, "total_tokens": 1793, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1132, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.6241685829591006, "usage": {"completion_tokens": 35, "prompt_tokens": 2067, "total_tokens": 2102, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1490, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.452220750041306, "usage": {"completion_tokens": 462, "prompt_tokens": 2209, "total_tokens": 2671, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 235, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 142, "cached_tokens": 1490, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 142, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 142, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.581850624992512, "usage": {"completion_tokens": 208, "prompt_tokens": 2966, "total_tokens": 3174, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 757, "cached_tokens": 1632, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 757, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 757, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b6afd99dfc7ab35b1bfb00580f3486dc6e77340a5bb2d3e7634cb1a17bb41cd2", "csv_sha256": "6a37c27e5606a007ced4e380a9ab728f25d47e8a4fecec22c8aae94d4dbea889"} +{"instance_id": "local096", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH female_only_casts AS (\n SELECT c.MID\n FROM M_Cast AS c\n LEFT JOIN Person AS p ON p.PID = TRIM(c.PID)\n GROUP BY c.MID\n HAVING MIN(CASE WHEN p.Gender = 'Female' THEN 1 ELSE 0 END) = 1\n)\nSELECT CAST(SUBSTR(m.year, -4) AS INTEGER) AS year,\n COUNT(*) AS total_movies,\n 100.0 * COUNT(f.MID) / COUNT(*) AS percentage_exclusively_female\nFROM Movie AS m\nLEFT JOIN female_only_casts AS f ON f.MID = m.MID\nGROUP BY CAST(SUBSTR(m.year, -4) AS INTEGER)\nORDER BY year;\n```", "rows": 78, "sql": "WITH female_only_casts AS (\n SELECT c.MID\n FROM M_Cast AS c\n LEFT JOIN Person AS p ON p.PID = TRIM(c.PID)\n GROUP BY c.MID\n HAVING MIN(CASE WHEN p.Gender = 'Female' THEN 1 ELSE 0 END) = 1\n)\nSELECT CAST(SUBSTR(m.year, -4) AS INTEGER) AS year,\n COUNT(*) AS total_movies,\n 100.0 * COUNT(f.MID) / COUNT(*) AS percentage_exclusively_female\nFROM Movie AS m\nLEFT JOIN female_only_casts AS f ON f.MID = m.MID\nGROUP BY CAST(SUBSTR(m.year, -4) AS INTEGER)\nORDER BY year;", "seconds": 25.73293762502726, "calls": [{"seconds": 2.6827011660207063, "usage": {"completion_tokens": 67, "prompt_tokens": 1716, "total_tokens": 1783, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1143, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.7830274580046535, "usage": {"completion_tokens": 234, "prompt_tokens": 1897, "total_tokens": 2131, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 102, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1324, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.968604583060369, "usage": {"completion_tokens": 271, "prompt_tokens": 2502, "total_tokens": 2773, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 127, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 605, "cached_tokens": 1324, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 605, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 605, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.107930375030264, "usage": {"completion_tokens": 187, "prompt_tokens": 2981, "total_tokens": 3168, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 479, "cached_tokens": 1929, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 479, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 479, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.010218624956906, "usage": {"completion_tokens": 167, "prompt_tokens": 3921, "total_tokens": 4088, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 940, "cached_tokens": 2408, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 940, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 940, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "80b2066c8139a09974660a95be15b825b731acf3cc3855cb70e15acec4163c49", "csv_sha256": "1d38194dac82f4731e7d923a018778ab99b8365fc1d8918ad06a542c181b45ed"} +{"instance_id": "local163", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH salary_distances AS (\n SELECT FacRank, FacFirstName, FacLastName, FacSalary,\n ABS(FacSalary - AVG(FacSalary) OVER (PARTITION BY FacRank)) AS salary_distance\n FROM university_faculty\n), rank_minimums AS (\n SELECT FacRank, FacFirstName, FacLastName, FacSalary, salary_distance,\n MIN(salary_distance) OVER (PARTITION BY FacRank) AS min_distance\n FROM salary_distances\n)\nSELECT FacRank, FacFirstName, FacLastName, FacSalary\nFROM rank_minimums\nWHERE salary_distance = min_distance\nORDER BY FacRank, FacLastName, FacFirstName;\n```", "rows": 4, "sql": "WITH salary_distances AS (\n SELECT FacRank, FacFirstName, FacLastName, FacSalary,\n ABS(FacSalary - AVG(FacSalary) OVER (PARTITION BY FacRank)) AS salary_distance\n FROM university_faculty\n), rank_minimums AS (\n SELECT FacRank, FacFirstName, FacLastName, FacSalary, salary_distance,\n MIN(salary_distance) OVER (PARTITION BY FacRank) AS min_distance\n FROM salary_distances\n)\nSELECT FacRank, FacFirstName, FacLastName, FacSalary\nFROM rank_minimums\nWHERE salary_distance = min_distance\nORDER BY FacRank, FacLastName, FacFirstName;", "seconds": 13.937167083029635, "calls": [{"seconds": 2.8150938750477508, "usage": {"completion_tokens": 22, "prompt_tokens": 1688, "total_tokens": 1710, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1081, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.038486458011903, "usage": {"completion_tokens": 306, "prompt_tokens": 1798, "total_tokens": 2104, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 139, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1191, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.073395415907726, "usage": {"completion_tokens": 151, "prompt_tokens": 2345, "total_tokens": 2496, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 547, "cached_tokens": 1191, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 547, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 547, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6488834f21397ce836885bce30db204e88333ca7dc46818cc2d4afcdfbce419e", "csv_sha256": "79585ba9819c14d162618ea6c4edcca741736d9267f4a3e2dcd9797b3a4298c8"} +{"instance_id": "local194", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH cast_members AS (\n SELECT DISTINCT film_id, actor_id\n FROM film_actor\n), cast_sizes AS (\n SELECT film_id, COUNT(*) AS actor_count\n FROM cast_members\n GROUP BY film_id\n), film_revenues AS (\n SELECT f.film_id, f.title,\n ROUND(TOTAL(p.amount), 2) AS total_revenue\n FROM film AS f\n LEFT JOIN inventory AS i ON i.film_id = f.film_id\n LEFT JOIN rental AS r ON r.inventory_id = i.inventory_id\n LEFT JOIN payment AS p ON p.rental_id = r.rental_id\n GROUP BY f.film_id, f.title\n), ranked_films AS (\n SELECT cm.actor_id, fr.title,\n fr.total_revenue / cs.actor_count AS average_revenue_per_actor,\n ROW_NUMBER() OVER (\n PARTITION BY cm.actor_id\n ORDER BY fr.total_revenue DESC, fr.film_id\n ) AS revenue_rank\n FROM cast_members AS cm\n JOIN cast_sizes AS cs ON cs.film_id = cm.film_id\n JOIN film_revenues AS fr ON fr.film_id = cm.film_id\n)\nSELECT a.first_name || ' ' || a.last_name AS actor_name,\n rf.title AS film_title,\n rf.average_revenue_per_actor\nFROM ranked_films AS rf\nJOIN actor AS a ON a.actor_id = rf.actor_id\nWHERE rf.revenue_rank <= 3\nORDER BY a.last_name, a.first_name, a.actor_id, rf.revenue_rank;\n```", "rows": 600, "sql": "WITH cast_members AS (\n SELECT DISTINCT film_id, actor_id\n FROM film_actor\n), cast_sizes AS (\n SELECT film_id, COUNT(*) AS actor_count\n FROM cast_members\n GROUP BY film_id\n), film_revenues AS (\n SELECT f.film_id, f.title,\n ROUND(TOTAL(p.amount), 2) AS total_revenue\n FROM film AS f\n LEFT JOIN inventory AS i ON i.film_id = f.film_id\n LEFT JOIN rental AS r ON r.inventory_id = i.inventory_id\n LEFT JOIN payment AS p ON p.rental_id = r.rental_id\n GROUP BY f.film_id, f.title\n), ranked_films AS (\n SELECT cm.actor_id, fr.title,\n fr.total_revenue / cs.actor_count AS average_revenue_per_actor,\n ROW_NUMBER() OVER (\n PARTITION BY cm.actor_id\n ORDER BY fr.total_revenue DESC, fr.film_id\n ) AS revenue_rank\n FROM cast_members AS cm\n JOIN cast_sizes AS cs ON cs.film_id = cm.film_id\n JOIN film_revenues AS fr ON fr.film_id = cm.film_id\n)\nSELECT a.first_name || ' ' || a.last_name AS actor_name,\n rf.title AS film_title,\n rf.average_revenue_per_actor\nFROM ranked_films AS rf\nJOIN actor AS a ON a.actor_id = rf.actor_id\nWHERE rf.revenue_rank <= 3\nORDER BY a.last_name, a.first_name, a.actor_id, rf.revenue_rank;", "seconds": 33.98695900000166, "calls": [{"seconds": 5.559867208008654, "usage": {"completion_tokens": 243, "prompt_tokens": 1675, "total_tokens": 1918, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 110, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1090, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.4729923750273883, "usage": {"completion_tokens": 28, "prompt_tokens": 2366, "total_tokens": 2394, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 8, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 691, "cached_tokens": 1090, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 691, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 691, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 18.21707404195331, "usage": {"completion_tokens": 949, "prompt_tokens": 2424, "total_tokens": 3373, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 586, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 58, "cached_tokens": 1781, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 58, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 58, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.6514472080161795, "usage": {"completion_tokens": 423, "prompt_tokens": 4005, "total_tokens": 4428, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 84, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1581, "cached_tokens": 1839, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1581, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1581, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b8ded5821d7ec601d25f52f71e6d781ee441533a1fccbb588b65f90974205c87", "csv_sha256": "ba59a542324105e0565a4199d02ce225d76968e3fc4acfdf455aa1da8915f056"} +{"instance_id": "local202", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "failed", "answer": "❓ Awaiting user: Which values of `alien_data.aggressive` count as friendly and which count as hostile?", "error_type": "ValueError", "seconds": 22.43785662506707, "calls": [{"seconds": 2.144739417009987, "usage": {"completion_tokens": 20, "prompt_tokens": 1662, "total_tokens": 1682, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1083, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.025501040974632, "usage": {"completion_tokens": 18, "prompt_tokens": 1785, "total_tokens": 1803, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1206, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.564260208979249, "usage": {"completion_tokens": 106, "prompt_tokens": 1833, "total_tokens": 1939, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 34, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1254, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.206798332976177, "usage": {"completion_tokens": 124, "prompt_tokens": 2073, "total_tokens": 2197, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 107, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 240, "cached_tokens": 1254, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 240, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 240, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.488116457941942, "usage": {"completion_tokens": 296, "prompt_tokens": 2273, "total_tokens": 2569, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 259, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 200, "cached_tokens": 1494, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 200, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 200, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "4321bb0f31a000574794cae7863fdafd73bba7c660d8091a6d5fb75bfdae194b"} +{"instance_id": "local218", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH match_goals AS (\n SELECT season, home_team_api_id AS team_api_id, home_team_goal AS goals\n FROM \"Match\"\n UNION ALL\n SELECT season, away_team_api_id AS team_api_id, away_team_goal AS goals\n FROM \"Match\"\n), season_totals AS (\n SELECT team_api_id, season, SUM(goals) AS season_goals\n FROM match_goals\n GROUP BY team_api_id, season\n), team_peaks AS (\n SELECT team_api_id, MAX(season_goals) AS highest_season_goals\n FROM season_totals\n GROUP BY team_api_id\n), ranked AS (\n SELECT highest_season_goals,\n ROW_NUMBER() OVER (ORDER BY highest_season_goals) AS rn,\n COUNT(*) OVER () AS n\n FROM team_peaks\n)\nSELECT AVG(highest_season_goals) AS median_highest_season_goals\nFROM ranked\nWHERE rn IN ((n + 1) / 2, (n + 2) / 2);\n```", "rows": 1, "sql": "WITH match_goals AS (\n SELECT season, home_team_api_id AS team_api_id, home_team_goal AS goals\n FROM \"Match\"\n UNION ALL\n SELECT season, away_team_api_id AS team_api_id, away_team_goal AS goals\n FROM \"Match\"\n), season_totals AS (\n SELECT team_api_id, season, SUM(goals) AS season_goals\n FROM match_goals\n GROUP BY team_api_id, season\n), team_peaks AS (\n SELECT team_api_id, MAX(season_goals) AS highest_season_goals\n FROM season_totals\n GROUP BY team_api_id\n), ranked AS (\n SELECT highest_season_goals,\n ROW_NUMBER() OVER (ORDER BY highest_season_goals) AS rn,\n COUNT(*) OVER () AS n\n FROM team_peaks\n)\nSELECT AVG(highest_season_goals) AS median_highest_season_goals\nFROM ranked\nWHERE rn IN ((n + 1) / 2, (n + 2) / 2);", "seconds": 17.772341749980114, "calls": [{"seconds": 2.108486375072971, "usage": {"completion_tokens": 15, "prompt_tokens": 1614, "total_tokens": 1629, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1062, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.780452459002845, "usage": {"completion_tokens": 66, "prompt_tokens": 1674, "total_tokens": 1740, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 60, "cached_tokens": 1062, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 60, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 60, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.362891500000842, "usage": {"completion_tokens": 340, "prompt_tokens": 2904, "total_tokens": 3244, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 90, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1230, "cached_tokens": 1122, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1230, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1230, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.707164042047225, "usage": {"completion_tokens": 230, "prompt_tokens": 3500, "total_tokens": 3730, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 596, "cached_tokens": 2352, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 596, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 596, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "991757641e9826335d2384f5dde5bba7aef137f9b5be6aaa45e3a86ebec0626e", "csv_sha256": "e97b74006c8fda942a913a29bd461f5980e14c37801b78ffddd4a2881389aaed"} +{"instance_id": "local264", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT L1_model, COUNT(*) AS total_occurrences\nFROM stack_ok\nGROUP BY L1_model\nORDER BY total_occurrences DESC, L1_model\nLIMIT 1;\n```", "rows": 1, "sql": "SELECT L1_model, COUNT(*) AS total_occurrences\nFROM stack_ok\nGROUP BY L1_model\nORDER BY total_occurrences DESC, L1_model\nLIMIT 1;", "seconds": 22.305378000019118, "calls": [{"seconds": 1.933251415961422, "usage": {"completion_tokens": 15, "prompt_tokens": 1644, "total_tokens": 1659, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1084, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.286511915968731, "usage": {"completion_tokens": 115, "prompt_tokens": 1719, "total_tokens": 1834, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1159, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.3444470829563215, "usage": {"completion_tokens": 18, "prompt_tokens": 2100, "total_tokens": 2118, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 381, "cached_tokens": 1159, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 381, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 381, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.338652041042224, "usage": {"completion_tokens": 110, "prompt_tokens": 2148, "total_tokens": 2258, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 65, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1540, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.089911749935709, "usage": {"completion_tokens": 60, "prompt_tokens": 3043, "total_tokens": 3103, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 895, "cached_tokens": 1588, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 895, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 895, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.2909535409417, "usage": {"completion_tokens": 118, "prompt_tokens": 3211, "total_tokens": 3329, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 63, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 168, "cached_tokens": 2483, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 168, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 168, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.990434917039238, "usage": {"completion_tokens": 45, "prompt_tokens": 3399, "total_tokens": 3444, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 188, "cached_tokens": 2651, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 188, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 188, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d947c0a7c1f86c9012fecd5bfd17880e5d2ab386a8452dbeb2acf872121433d5", "csv_sha256": "c1198427eecd199aa53bef900e50de7660fca9c9341f48913f90d6345de3a0ef"} +{"instance_id": "local279", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE inventory_model(product_id, mth, ending_inventory, qty_minimum, qty_purchase) AS (\n SELECT i.product_id, '2018-12-01', i.qty, p.qty_minimum, p.qty_purchase\n FROM inventory_totals AS i\n JOIN product_minimums AS p ON p.product_id = i.product_id\n\n UNION ALL\n\n SELECT i.product_id,\n DATE(i.mth, '+1 month'),\n i.ending_inventory - COALESCE(o.qty, 0)\n + CASE\n WHEN i.ending_inventory - COALESCE(o.qty, 0) < i.qty_minimum\n THEN i.qty_purchase\n ELSE 0\n END,\n i.qty_minimum,\n i.qty_purchase\n FROM inventory_model AS i\n LEFT JOIN monthly_orders AS o\n ON o.product_id = i.product_id AND o.mth = DATE(i.mth, '+1 month')\n WHERE i.mth < '2019-12-01'\n), ranked AS (\n SELECT product_id, mth,\n ABS(ending_inventory - qty_minimum) AS absolute_difference,\n ROW_NUMBER() OVER (\n PARTITION BY product_id\n ORDER BY ABS(ending_inventory - qty_minimum), mth\n ) AS rn\n FROM inventory_model\n WHERE mth >= '2019-01-01' AND mth < '2020-01-01'\n)\nSELECT product_id, mth, absolute_difference\nFROM ranked\nWHERE rn = 1\nORDER BY product_id;\n```", "rows": 2, "sql": "WITH RECURSIVE inventory_model(product_id, mth, ending_inventory, qty_minimum, qty_purchase) AS (\n SELECT i.product_id, '2018-12-01', i.qty, p.qty_minimum, p.qty_purchase\n FROM inventory_totals AS i\n JOIN product_minimums AS p ON p.product_id = i.product_id\n\n UNION ALL\n\n SELECT i.product_id,\n DATE(i.mth, '+1 month'),\n i.ending_inventory - COALESCE(o.qty, 0)\n + CASE\n WHEN i.ending_inventory - COALESCE(o.qty, 0) < i.qty_minimum\n THEN i.qty_purchase\n ELSE 0\n END,\n i.qty_minimum,\n i.qty_purchase\n FROM inventory_model AS i\n LEFT JOIN monthly_orders AS o\n ON o.product_id = i.product_id AND o.mth = DATE(i.mth, '+1 month')\n WHERE i.mth < '2019-12-01'\n), ranked AS (\n SELECT product_id, mth,\n ABS(ending_inventory - qty_minimum) AS absolute_difference,\n ROW_NUMBER() OVER (\n PARTITION BY product_id\n ORDER BY ABS(ending_inventory - qty_minimum), mth\n ) AS rn\n FROM inventory_model\n WHERE mth >= '2019-01-01' AND mth < '2020-01-01'\n)\nSELECT product_id, mth, absolute_difference\nFROM ranked\nWHERE rn = 1\nORDER BY product_id;", "seconds": 42.94354291702621, "calls": [{"seconds": 3.8215809169923887, "usage": {"completion_tokens": 148, "prompt_tokens": 1825, "total_tokens": 1973, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1122, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.059853250044398, "usage": {"completion_tokens": 67, "prompt_tokens": 2312, "total_tokens": 2379, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 487, "cached_tokens": 1122, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 487, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 487, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9076451669679955, "usage": {"completion_tokens": 47, "prompt_tokens": 2469, "total_tokens": 2516, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 30, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 157, "cached_tokens": 1609, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 157, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 157, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.158547875005752, "usage": {"completion_tokens": 202, "prompt_tokens": 2771, "total_tokens": 2973, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 302, "cached_tokens": 1766, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 302, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 302, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1072107499931008, "usage": {"completion_tokens": 78, "prompt_tokens": 3333, "total_tokens": 3411, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 562, "cached_tokens": 2068, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 562, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 562, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 18.43733125005383, "usage": {"completion_tokens": 971, "prompt_tokens": 3865, "total_tokens": 4836, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 606, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 532, "cached_tokens": 2630, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 532, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 532, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.40951429202687, "usage": {"completion_tokens": 361, "prompt_tokens": 5231, "total_tokens": 5592, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 23, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1366, "cached_tokens": 3162, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1366, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1366, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b55a794effd0e4c36b00a8be154a1cf038ac5841629f9ec01b24480222ed48aa", "csv_sha256": "73bd56aa0a4b211d8c592511385e23ee5c07ec5821801a6ccb6b5a0cb25159d1"} +{"instance_id": "local310", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH race_points AS (\n SELECT r.year, res.driver_id, res.constructor_id, res.points\n FROM results AS res\n JOIN races AS r ON r.race_id = res.race_id\n), driver_totals AS (\n SELECT year, driver_id, SUM(points) AS total_points\n FROM race_points\n GROUP BY year, driver_id\n), constructor_totals AS (\n SELECT year, constructor_id, SUM(points) AS total_points\n FROM race_points\n GROUP BY year, constructor_id\n), driver_maxima AS (\n SELECT year, MAX(total_points) AS max_points\n FROM driver_totals\n GROUP BY year\n), constructor_maxima AS (\n SELECT year, MAX(total_points) AS max_points\n FROM constructor_totals\n GROUP BY year\n)\nSELECT d.year\nFROM driver_maxima AS d\nJOIN constructor_maxima AS c ON c.year = d.year\nORDER BY d.max_points + c.max_points ASC, d.year ASC\nLIMIT 3;\n```", "rows": 3, "sql": "WITH race_points AS (\n SELECT r.year, res.driver_id, res.constructor_id, res.points\n FROM results AS res\n JOIN races AS r ON r.race_id = res.race_id\n), driver_totals AS (\n SELECT year, driver_id, SUM(points) AS total_points\n FROM race_points\n GROUP BY year, driver_id\n), constructor_totals AS (\n SELECT year, constructor_id, SUM(points) AS total_points\n FROM race_points\n GROUP BY year, constructor_id\n), driver_maxima AS (\n SELECT year, MAX(total_points) AS max_points\n FROM driver_totals\n GROUP BY year\n), constructor_maxima AS (\n SELECT year, MAX(total_points) AS max_points\n FROM constructor_totals\n GROUP BY year\n)\nSELECT d.year\nFROM driver_maxima AS d\nJOIN constructor_maxima AS c ON c.year = d.year\nORDER BY d.max_points + c.max_points ASC, d.year ASC\nLIMIT 3;", "seconds": 16.470753083005548, "calls": [{"seconds": 2.338082625064999, "usage": {"completion_tokens": 19, "prompt_tokens": 1746, "total_tokens": 1765, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1117, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.149890833999962, "usage": {"completion_tokens": 166, "prompt_tokens": 1914, "total_tokens": 2080, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 144, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1285, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.210740000009537, "usage": {"completion_tokens": 256, "prompt_tokens": 2242, "total_tokens": 2498, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 20, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 328, "cached_tokens": 1285, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 328, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 328, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.719182500033639, "usage": {"completion_tokens": 219, "prompt_tokens": 2738, "total_tokens": 2957, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 496, "cached_tokens": 1613, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 496, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 496, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5ccef54155111fed10b4bce60d1a2d7ee5949ec98bf23e783e49951a6678e052", "csv_sha256": "1781e656c5fe72f4c09f983ebfa4785e557091254a46d5e0663c0f2bb5a34a2b"} +{"instance_id": "local335", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH season_finales AS (\n SELECT year, MAX(round) AS final_round\n FROM races\n WHERE year >= 2001\n GROUP BY year\n), ranked_scorers AS (\n SELECT r.year, ds.driver_id,\n DENSE_RANK() OVER (PARTITION BY r.year ORDER BY ds.points) AS points_rank\n FROM season_finales AS sf\n JOIN races AS r ON r.year = sf.year AND r.round = sf.final_round\n JOIN driver_standings AS ds ON ds.race_id = r.race_id\n WHERE ds.points > 0\n), scoring_entries AS (\n SELECT race_id, driver_id, constructor_id FROM results WHERE points > 0\n UNION ALL\n SELECT race_id, driver_id, constructor_id FROM sprint_results WHERE points > 0\n)\nSELECT c.name AS constructor\nFROM ranked_scorers AS rs\nJOIN races AS r ON r.year = rs.year\nJOIN scoring_entries AS se ON se.race_id = r.race_id AND se.driver_id = rs.driver_id\nJOIN constructors AS c ON c.constructor_id = se.constructor_id\nWHERE rs.points_rank = 1\nGROUP BY c.constructor_id, c.name\nORDER BY COUNT(DISTINCT rs.year) DESC, c.name ASC, c.constructor_id ASC\nLIMIT 5;\n```", "rows": 5, "sql": "WITH season_finales AS (\n SELECT year, MAX(round) AS final_round\n FROM races\n WHERE year >= 2001\n GROUP BY year\n), ranked_scorers AS (\n SELECT r.year, ds.driver_id,\n DENSE_RANK() OVER (PARTITION BY r.year ORDER BY ds.points) AS points_rank\n FROM season_finales AS sf\n JOIN races AS r ON r.year = sf.year AND r.round = sf.final_round\n JOIN driver_standings AS ds ON ds.race_id = r.race_id\n WHERE ds.points > 0\n), scoring_entries AS (\n SELECT race_id, driver_id, constructor_id FROM results WHERE points > 0\n UNION ALL\n SELECT race_id, driver_id, constructor_id FROM sprint_results WHERE points > 0\n)\nSELECT c.name AS constructor\nFROM ranked_scorers AS rs\nJOIN races AS r ON r.year = rs.year\nJOIN scoring_entries AS se ON se.race_id = r.race_id AND se.driver_id = rs.driver_id\nJOIN constructors AS c ON c.constructor_id = se.constructor_id\nWHERE rs.points_rank = 1\nGROUP BY c.constructor_id, c.name\nORDER BY COUNT(DISTINCT rs.year) DESC, c.name ASC, c.constructor_id ASC\nLIMIT 5;", "seconds": 46.69940291706007, "calls": [{"seconds": 3.1505797910504043, "usage": {"completion_tokens": 46, "prompt_tokens": 1724, "total_tokens": 1770, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1095, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9014490420231596, "usage": {"completion_tokens": 155, "prompt_tokens": 1937, "total_tokens": 2092, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 213, "cached_tokens": 1095, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 213, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 213, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.987329417024739, "usage": {"completion_tokens": 218, "prompt_tokens": 2855, "total_tokens": 3073, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 146, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 918, "cached_tokens": 1308, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 918, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 918, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.084817666909657, "usage": {"completion_tokens": 374, "prompt_tokens": 3307, "total_tokens": 3681, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 104, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 452, "cached_tokens": 2226, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 452, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 452, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.684060040977784, "usage": {"completion_tokens": 630, "prompt_tokens": 4629, "total_tokens": 5259, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 324, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1322, "cached_tokens": 2678, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1322, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1322, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.2032459579641, "usage": {"completion_tokens": 371, "prompt_tokens": 5595, "total_tokens": 5966, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 71, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 966, "cached_tokens": 4000, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 966, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 966, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.610563416965306, "usage": {"completion_tokens": 284, "prompt_tokens": 6276, "total_tokens": 6560, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 681, "cached_tokens": 4966, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 681, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 681, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "63366cf7f8354066272468ac841f2d5ecbf61a568352b4ad84d7d2b0719bcd9f", "csv_sha256": "1300573c4d68f13b5a0bbee7ae4ab78998181e55866b93571034f3adf4628e95"} diff --git a/bench/accuracy/results/spider-development-final/gpt62-sol/scores.json b/bench/accuracy/results/spider-development-final/gpt62-sol/scores.json new file mode 100644 index 00000000..2a9e7c82 --- /dev/null +++ b/bench/accuracy/results/spider-development-final/gpt62-sol/scores.json @@ -0,0 +1,121 @@ +[ + { + "instance_id": "local064", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local073", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local003", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local004", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local021", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local163", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local310", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local041", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local062", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local081", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local202", + "score": 0, + "error_info": "ValueError" + }, + { + "instance_id": "local096", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local279", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local264", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local024", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local218", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local072", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local194", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local029", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local335", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + } +] diff --git a/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local003.sql b/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local003.sql new file mode 100644 index 00000000..eaf5603a --- /dev/null +++ b/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local003.sql @@ -0,0 +1,82 @@ +WITH delivered_orders AS ( + SELECT o.order_id, c.customer_unique_id, o.order_purchase_timestamp + FROM orders AS o + JOIN customers AS c ON c.customer_id = o.customer_id + WHERE o.order_status = 'delivered' +), +order_spend AS ( + -- Sum all recorded payments for an order before counting orders. + SELECT p.order_id, + CASE WHEN COUNT(p.payment_value) = COUNT(*) + THEN SUM(p.payment_value) END AS spend + FROM order_payments AS p + JOIN delivered_orders AS d ON d.order_id = p.order_id + GROUP BY p.order_id +), +customer_totals AS ( + SELECT d.customer_unique_id, + MAX(d.order_purchase_timestamp) AS latest_purchase_timestamp, + COUNT(*) AS order_count, + -- Keep every delivered order; spend is unknown if any order lacks payment data. + CASE WHEN COUNT(p.spend) = COUNT(*) + THEN ROUND(SUM(p.spend), 2) END AS total_spend + FROM delivered_orders AS d + LEFT JOIN order_spend AS p ON p.order_id = d.order_id + GROUP BY d.customer_unique_id +), +customer_rfm AS ( + -- Recency is elapsed days from the customer's latest delivered-order purchase + -- to the latest delivered-order purchase in the full dataset. + SELECT *, + JULIANDAY(MAX(latest_purchase_timestamp) OVER ()) + - JULIANDAY(latest_purchase_timestamp) AS recency_days + FROM customer_totals +), +percentiles AS ( + -- Rank best to worst. CUME_DIST keeps equal values in the same percentile band. + SELECT *, + CUME_DIST() OVER (ORDER BY recency_days) AS r_pct, + CUME_DIST() OVER (ORDER BY order_count DESC) AS f_pct, + CUME_DIST() OVER ( + PARTITION BY total_spend IS NULL ORDER BY total_spend DESC + ) AS m_pct + FROM customer_rfm +), +scores AS ( + -- Scores 1–5 use the 20%, 40%, 60%, and 80% cumulative percentile cutoffs. + SELECT customer_unique_id, order_count, total_spend, + 1 + (r_pct > 0.2) + (r_pct > 0.4) + (r_pct > 0.6) + (r_pct > 0.8) AS r, + 1 + (f_pct > 0.2) + (f_pct > 0.4) + (f_pct > 0.6) + (f_pct > 0.8) + + CASE WHEN total_spend IS NOT NULL THEN + 1 + (m_pct > 0.2) + (m_pct > 0.4) + (m_pct > 0.6) + (m_pct > 0.8) + END AS fm + FROM percentiles +), +segmented AS ( + SELECT customer_unique_id, order_count, total_spend, + CASE + WHEN r = 1 AND fm BETWEEN 1 AND 4 THEN 'Champions' + WHEN r IN (4, 5) AND fm BETWEEN 1 AND 2 THEN 'Can''t Lose Them' + WHEN r IN (4, 5) AND fm BETWEEN 3 AND 6 THEN 'Hibernating' + WHEN r IN (4, 5) AND fm BETWEEN 7 AND 10 THEN 'Lost' + WHEN r IN (2, 3) AND fm BETWEEN 1 AND 4 THEN 'Loyal Customers' + WHEN r = 3 AND fm BETWEEN 5 AND 6 THEN 'Needs Attention' + WHEN r = 1 AND fm BETWEEN 7 AND 8 THEN 'Recent Users' + WHEN (r = 1 AND fm BETWEEN 5 AND 6) + OR (r = 2 AND fm BETWEEN 5 AND 8) THEN 'Potential Loyalists' + WHEN r = 1 AND fm BETWEEN 9 AND 10 THEN 'Price Sensitive' + WHEN r = 2 AND fm BETWEEN 9 AND 10 THEN 'Promising' + WHEN r = 3 AND fm BETWEEN 7 AND 10 THEN 'About to Sleep' + ELSE 'Unclassified (missing spend)' + END AS rfm_segment + FROM scores +) +SELECT customer_unique_id, + rfm_segment, + ROUND(total_spend / order_count, 2) AS avg_sales_per_order, + -- Compare segments by pooled spend / pooled orders, not by averaging customer ratios. + ROUND(SUM(total_spend) OVER segment / SUM(order_count) OVER segment, 2) + AS segment_avg_sales_per_order +FROM segmented +WINDOW segment AS (PARTITION BY rfm_segment) +ORDER BY segment_avg_sales_per_order DESC, rfm_segment, customer_unique_id; diff --git a/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local004.sql b/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local004.sql new file mode 100644 index 00000000..d84c96b6 --- /dev/null +++ b/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local004.sql @@ -0,0 +1,18 @@ +WITH payments_by_order AS ( + SELECT order_id, SUM(payment_value) AS order_payment + FROM order_payments + GROUP BY order_id +) +SELECT + COUNT(*) AS number_of_orders, + AVG(p.order_payment) AS average_payment_per_order, + MAX(1.0, ( + JULIANDAY(MAX(DATE(o.order_purchase_timestamp))) + - JULIANDAY(MIN(DATE(o.order_purchase_timestamp))) + ) / 7.0) AS customer_lifespan_weeks +FROM orders AS o +JOIN customers AS c ON c.customer_id = o.customer_id +LEFT JOIN payments_by_order AS p ON p.order_id = o.order_id +GROUP BY c.customer_unique_id +ORDER BY average_payment_per_order DESC, c.customer_unique_id +LIMIT 3; diff --git a/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local021.sql b/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local021.sql new file mode 100644 index 00000000..d661a342 --- /dev/null +++ b/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local021.sql @@ -0,0 +1,18 @@ +WITH striker_match_runs AS ( + SELECT b.striker, b.match_id, SUM(s.runs_scored) AS match_runs + FROM ball_by_ball AS b + JOIN batsman_scored AS s + ON s.match_id = b.match_id + AND s.innings_no = b.innings_no + AND s.over_id = b.over_id + AND s.ball_id = b.ball_id + WHERE b.striker IS NOT NULL + GROUP BY b.striker, b.match_id +), qualifying_striker_totals AS ( + SELECT SUM(match_runs) AS total_runs + FROM striker_match_runs + GROUP BY striker + HAVING MAX(match_runs) > 50 +) +SELECT AVG(total_runs) AS average_total_runs +FROM qualifying_striker_totals; diff --git a/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local024.sql b/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local024.sql new file mode 100644 index 00000000..8b080787 --- /dev/null +++ b/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local024.sql @@ -0,0 +1,25 @@ +WITH appearances AS ( + SELECT DISTINCT player_id, match_id + FROM player_match +), runs_by_player_match AS ( + SELECT b.striker AS player_id, b.match_id, SUM(s.runs_scored) AS match_runs + FROM ball_by_ball AS b + JOIN batsman_scored AS s + ON s.match_id = b.match_id + AND s.innings_no = b.innings_no + AND s.over_id = b.over_id + AND s.ball_id = b.ball_id + GROUP BY b.striker, b.match_id +), player_averages AS ( + SELECT a.player_id, AVG(COALESCE(r.match_runs, 0)) AS avg_runs_per_match + FROM appearances AS a + LEFT JOIN runs_by_player_match AS r + ON r.player_id = a.player_id AND r.match_id = a.match_id + GROUP BY a.player_id +) +SELECT p.country_name, AVG(pa.avg_runs_per_match) AS country_batting_average +FROM player_averages AS pa +JOIN player AS p ON p.player_id = pa.player_id +GROUP BY p.country_name +ORDER BY country_batting_average DESC, p.country_name ASC +LIMIT 5; diff --git a/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local029.sql b/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local029.sql new file mode 100644 index 00000000..8c42ca00 --- /dev/null +++ b/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local029.sql @@ -0,0 +1,32 @@ +WITH top_customers AS ( + SELECT c.customer_unique_id, COUNT(DISTINCT o.order_id) AS delivered_order_count + FROM olist_customers AS c + JOIN olist_orders AS o ON o.customer_id = c.customer_id + WHERE o.order_status = 'delivered' + GROUP BY c.customer_unique_id + ORDER BY delivered_order_count DESC, c.customer_unique_id + LIMIT 3 +), ranked_orders AS MATERIALIZED ( + SELECT c.customer_unique_id, c.customer_city, c.customer_state, o.order_id, + ROW_NUMBER() OVER ( + PARTITION BY c.customer_unique_id + ORDER BY o.order_purchase_timestamp DESC, o.order_id DESC + ) AS location_rank + FROM olist_customers AS c + JOIN olist_orders AS o ON o.customer_id = c.customer_id + WHERE o.order_status = 'delivered' + AND c.customer_unique_id IN (SELECT customer_unique_id FROM top_customers) +), relevant_payments AS MATERIALIZED ( + SELECT order_id, payment_value + FROM olist_order_payments + WHERE order_id IN (SELECT order_id FROM ranked_orders) +) +SELECT t.customer_unique_id, + AVG(p.payment_value) AS average_payment_value, + MAX(CASE WHEN r.location_rank = 1 THEN r.customer_city END) AS customer_city, + MAX(CASE WHEN r.location_rank = 1 THEN r.customer_state END) AS customer_state +FROM top_customers AS t +JOIN ranked_orders AS r ON r.customer_unique_id = t.customer_unique_id +LEFT JOIN relevant_payments AS p ON p.order_id = r.order_id +GROUP BY t.customer_unique_id, t.delivered_order_count +ORDER BY t.delivered_order_count DESC, t.customer_unique_id; diff --git a/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local041.sql b/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local041.sql new file mode 100644 index 00000000..fddfb68f --- /dev/null +++ b/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local041.sql @@ -0,0 +1,3 @@ +SELECT 100.0 * COUNT(CASE WHEN health = 'Good' THEN 1 END) / COUNT(*) AS percentage_good +FROM trees +WHERE boroname = 'Bronx'; diff --git a/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local062.sql b/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local062.sql new file mode 100644 index 00000000..4b987ac2 --- /dev/null +++ b/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local062.sql @@ -0,0 +1,47 @@ +WITH RECURSIVE +italian_customers AS ( + SELECT c.cust_id + FROM customers AS c + JOIN countries AS co ON co.country_id = c.country_id + WHERE co.country_name = 'Italy' +), +december_profit AS ( + SELECT p.cust_id, + SUM(p.quantity_sold * (p.unit_price - p.unit_cost)) AS total_profit + FROM profits AS p + JOIN italian_customers AS c ON c.cust_id = p.cust_id + WHERE p.time_id >= '2021-12-01' AND p.time_id < '2022-01-01' + GROUP BY p.cust_id +), +customer_profit AS ( + SELECT c.cust_id, COALESCE(p.total_profit, 0.0) AS total_profit + FROM italian_customers AS c + LEFT JOIN december_profit AS p ON p.cust_id = c.cust_id +), +profit_range AS ( + SELECT MIN(total_profit) AS min_profit, MAX(total_profit) AS max_profit + FROM customer_profit +), +assigned AS ( + SELECT cp.total_profit, + CASE + WHEN r.min_profit = r.max_profit THEN 1 + ELSE MIN(10, 1 + CAST(10.0 * (cp.total_profit - r.min_profit) + / (r.max_profit - r.min_profit) AS INTEGER)) + END AS bucket + FROM customer_profit AS cp + CROSS JOIN profit_range AS r +), +buckets(bucket) AS ( + SELECT 1 + UNION ALL + SELECT bucket + 1 FROM buckets WHERE bucket < 10 +) +SELECT b.bucket, + COUNT(a.bucket) AS customer_count, + MIN(a.total_profit) AS min_total_profit, + MAX(a.total_profit) AS max_total_profit +FROM buckets AS b +LEFT JOIN assigned AS a ON a.bucket = b.bucket +GROUP BY b.bucket +ORDER BY b.bucket; diff --git a/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local064.sql b/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local064.sql new file mode 100644 index 00000000..e75b8233 --- /dev/null +++ b/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local064.sql @@ -0,0 +1,49 @@ +WITH RECURSIVE months(month_start) AS ( + VALUES ('2020-01-01') + UNION ALL + SELECT date(month_start, '+1 month') + FROM months + WHERE month_start < '2020-12-01' +), customers AS ( + SELECT DISTINCT customer_id + FROM customer_nodes +), monthly_transactions AS ( + SELECT customer_id, + date(txn_date, 'start of month') AS month_start, + SUM(CASE txn_type + WHEN 'deposit' THEN txn_amount + WHEN 'withdrawal' THEN -txn_amount + END) AS balance + FROM customer_transactions + WHERE txn_date >= '2020-01-01' + AND txn_date < '2021-01-01' + AND txn_type IN ('deposit', 'withdrawal') + GROUP BY customer_id, date(txn_date, 'start of month') +), customer_month_balances AS ( + SELECT m.month_start, + COALESCE(t.balance, 0) AS balance + FROM months AS m + CROSS JOIN customers AS c + LEFT JOIN monthly_transactions AS t + ON t.customer_id = c.customer_id + AND t.month_start = m.month_start +), monthly_summary AS ( + SELECT month_start, + COUNT(CASE WHEN balance > 0 THEN 1 END) AS positive_customer_count, + AVG(balance) AS average_balance + FROM customer_month_balances + GROUP BY month_start +), extremes AS ( + SELECT MAX(positive_customer_count) AS highest_count, + MIN(positive_customer_count) AS lowest_count + FROM monthly_summary +) +SELECT strftime('%Y-%m', h.month_start) AS highest_count_month, + strftime('%Y-%m', l.month_start) AS lowest_count_month, + h.average_balance AS highest_count_month_average_balance, + l.average_balance AS lowest_count_month_average_balance, + h.average_balance - l.average_balance AS average_balance_difference +FROM extremes AS e +JOIN monthly_summary AS h ON h.positive_customer_count = e.highest_count +JOIN monthly_summary AS l ON l.positive_customer_count = e.lowest_count +ORDER BY h.month_start, l.month_start; diff --git a/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local072.sql b/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local072.sql new file mode 100644 index 00000000..bc4b4797 --- /dev/null +++ b/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local072.sql @@ -0,0 +1,41 @@ +WITH january_entries AS ( + SELECT country_code_2, DATE(insert_date) AS insertion_day, capital + FROM cities + WHERE DATE(insert_date) >= '2022-01-01' + AND DATE(insert_date) < '2022-02-01' +), insertion_days AS ( + SELECT DISTINCT country_code_2, insertion_day + FROM january_entries +), matching_countries AS ( + SELECT country_code_2 + FROM insertion_days + GROUP BY country_code_2 + HAVING COUNT(*) = 9 +), numbered_days AS ( + SELECT d.country_code_2, d.insertion_day, + JULIANDAY(d.insertion_day) - ROW_NUMBER() OVER ( + PARTITION BY d.country_code_2 ORDER BY d.insertion_day + ) AS streak_key + FROM insertion_days AS d + JOIN matching_countries AS m ON m.country_code_2 = d.country_code_2 +), streaks AS ( + SELECT country_code_2, MIN(insertion_day) AS period_start, + MAX(insertion_day) AS period_end, COUNT(*) AS streak_days + FROM numbered_days + GROUP BY country_code_2, streak_key +), ranked_streaks AS ( + SELECT country_code_2, period_start, period_end, + DENSE_RANK() OVER ( + PARTITION BY country_code_2 ORDER BY streak_days DESC + ) AS streak_rank + FROM streaks +) +SELECT c.country_name, s.period_start, s.period_end, + AVG(CASE WHEN e.capital = 1 THEN 1.0 ELSE 0.0 END) AS capital_proportion +FROM ranked_streaks AS s +JOIN january_entries AS e + ON e.country_code_2 = s.country_code_2 + AND e.insertion_day BETWEEN s.period_start AND s.period_end +JOIN cities_countries AS c ON c.country_code_2 = s.country_code_2 +WHERE s.streak_rank = 1 +GROUP BY s.country_code_2, c.country_name, s.period_start, s.period_end; diff --git a/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local073.sql b/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local073.sql new file mode 100644 index 00000000..c7b541a7 --- /dev/null +++ b/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local073.sql @@ -0,0 +1,59 @@ +WITH RECURSIVE +order_lines AS ( + SELECT o.rowid AS row_id, o.order_id, o.customer_id, n.pizza_name, + o.order_time, o.exclusions, o.extras, + CASE WHEN n.pizza_name = 'Meatlovers' THEN 1 ELSE 2 END AS pizza_id + FROM pizza_clean_customer_orders AS o + JOIN pizza_names AS n ON n.pizza_id = o.pizza_id +), +topping_lists AS ( + SELECT o.row_id, 'recipe' AS kind, r.toppings AS csv + FROM order_lines AS o + JOIN pizza_recipes AS r ON r.pizza_id = o.pizza_id + UNION ALL + SELECT row_id, 'exclusion', exclusions FROM order_lines + UNION ALL + SELECT row_id, 'extra', extras FROM order_lines +), +split(row_id, kind, topping_id, rest) AS ( + SELECT row_id, kind, NULL, csv || ',' + FROM topping_lists + WHERE csv IS NOT NULL AND TRIM(csv) <> '' + UNION ALL + SELECT row_id, kind, + CAST(NULLIF(TRIM(SUBSTR(rest, 1, INSTR(rest, ',') - 1)), '') AS INTEGER), + SUBSTR(rest, INSTR(rest, ',') + 1) + FROM split + WHERE rest <> '' +), +topping_counts AS ( + SELECT s.row_id, t.topping_name, COUNT(*) AS copies + FROM split AS s + JOIN pizza_toppings AS t ON t.topping_id = s.topping_id + WHERE s.kind = 'extra' + OR (s.kind = 'recipe' AND NOT EXISTS ( + SELECT 1 + FROM split AS x + WHERE x.row_id = s.row_id + AND x.kind = 'exclusion' + AND x.topping_id = s.topping_id + )) + GROUP BY s.row_id, t.topping_name +), +formatted AS ( + SELECT row_id, + GROUP_CONCAT( + CASE WHEN copies > 1 THEN '2x' ELSE '' END || topping_name, ', ' + ) OVER ( + PARTITION BY row_id + ORDER BY (copies > 1) DESC, topping_name COLLATE NOCASE + ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING + ) AS topping_string + FROM topping_counts +) +SELECT o.row_id, o.order_id, o.customer_id, o.pizza_name, + o.pizza_name || ': ' || COALESCE(MAX(f.topping_string), '') AS ingredients +FROM order_lines AS o +LEFT JOIN formatted AS f ON f.row_id = o.row_id +GROUP BY o.row_id, o.order_id, o.customer_id, o.pizza_name, o.order_time +ORDER BY o.row_id ASC; diff --git a/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local081.sql b/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local081.sql new file mode 100644 index 00000000..e2846ea6 --- /dev/null +++ b/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local081.sql @@ -0,0 +1,19 @@ +WITH customer_spending AS ( + SELECT o.customerid, + COALESCE(SUM(od.unitprice * od.quantity), 0) AS total_spent + FROM orders AS o + LEFT JOIN order_details AS od ON od.orderid = o.orderid + WHERE o.orderdate >= '1998-01-01' + AND o.orderdate < '1999-01-01' + AND o.customerid IS NOT NULL + GROUP BY o.customerid +) +SELECT t.groupname AS spending_group, + COUNT(s.customerid) AS customer_count, + 100.0 * COUNT(s.customerid) / + NULLIF((SELECT COUNT(*) FROM customer_spending), 0) AS percentage_of_customers +FROM customergroupthreshold AS t +LEFT JOIN customer_spending AS s + ON s.total_spent BETWEEN t.rangebottom AND t.rangetop +GROUP BY t.groupname, t.rangebottom +ORDER BY t.rangebottom; diff --git a/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local096.sql b/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local096.sql new file mode 100644 index 00000000..ea5d1902 --- /dev/null +++ b/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local096.sql @@ -0,0 +1,14 @@ +WITH female_only_casts AS ( + SELECT c.MID + FROM M_Cast AS c + LEFT JOIN Person AS p ON p.PID = TRIM(c.PID) + GROUP BY c.MID + HAVING MIN(CASE WHEN p.Gender = 'Female' THEN 1 ELSE 0 END) = 1 +) +SELECT CAST(SUBSTR(m.year, -4) AS INTEGER) AS year, + COUNT(*) AS total_movies, + 100.0 * COUNT(f.MID) / COUNT(*) AS percentage_exclusively_female +FROM Movie AS m +LEFT JOIN female_only_casts AS f ON f.MID = m.MID +GROUP BY CAST(SUBSTR(m.year, -4) AS INTEGER) +ORDER BY year; diff --git a/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local163.sql b/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local163.sql new file mode 100644 index 00000000..8e046b7b --- /dev/null +++ b/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local163.sql @@ -0,0 +1,13 @@ +WITH salary_distances AS ( + SELECT FacRank, FacFirstName, FacLastName, FacSalary, + ABS(FacSalary - AVG(FacSalary) OVER (PARTITION BY FacRank)) AS salary_distance + FROM university_faculty +), rank_minimums AS ( + SELECT FacRank, FacFirstName, FacLastName, FacSalary, salary_distance, + MIN(salary_distance) OVER (PARTITION BY FacRank) AS min_distance + FROM salary_distances +) +SELECT FacRank, FacFirstName, FacLastName, FacSalary +FROM rank_minimums +WHERE salary_distance = min_distance +ORDER BY FacRank, FacLastName, FacFirstName; diff --git a/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local194.sql b/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local194.sql new file mode 100644 index 00000000..c56efe30 --- /dev/null +++ b/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local194.sql @@ -0,0 +1,33 @@ +WITH cast_members AS ( + SELECT DISTINCT film_id, actor_id + FROM film_actor +), cast_sizes AS ( + SELECT film_id, COUNT(*) AS actor_count + FROM cast_members + GROUP BY film_id +), film_revenues AS ( + SELECT f.film_id, f.title, + ROUND(TOTAL(p.amount), 2) AS total_revenue + FROM film AS f + LEFT JOIN inventory AS i ON i.film_id = f.film_id + LEFT JOIN rental AS r ON r.inventory_id = i.inventory_id + LEFT JOIN payment AS p ON p.rental_id = r.rental_id + GROUP BY f.film_id, f.title +), ranked_films AS ( + SELECT cm.actor_id, fr.title, + fr.total_revenue / cs.actor_count AS average_revenue_per_actor, + ROW_NUMBER() OVER ( + PARTITION BY cm.actor_id + ORDER BY fr.total_revenue DESC, fr.film_id + ) AS revenue_rank + FROM cast_members AS cm + JOIN cast_sizes AS cs ON cs.film_id = cm.film_id + JOIN film_revenues AS fr ON fr.film_id = cm.film_id +) +SELECT a.first_name || ' ' || a.last_name AS actor_name, + rf.title AS film_title, + rf.average_revenue_per_actor +FROM ranked_films AS rf +JOIN actor AS a ON a.actor_id = rf.actor_id +WHERE rf.revenue_rank <= 3 +ORDER BY a.last_name, a.first_name, a.actor_id, rf.revenue_rank; diff --git a/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local218.sql b/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local218.sql new file mode 100644 index 00000000..86e380e2 --- /dev/null +++ b/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local218.sql @@ -0,0 +1,23 @@ +WITH match_goals AS ( + SELECT season, home_team_api_id AS team_api_id, home_team_goal AS goals + FROM "Match" + UNION ALL + SELECT season, away_team_api_id AS team_api_id, away_team_goal AS goals + FROM "Match" +), season_totals AS ( + SELECT team_api_id, season, SUM(goals) AS season_goals + FROM match_goals + GROUP BY team_api_id, season +), team_peaks AS ( + SELECT team_api_id, MAX(season_goals) AS highest_season_goals + FROM season_totals + GROUP BY team_api_id +), ranked AS ( + SELECT highest_season_goals, + ROW_NUMBER() OVER (ORDER BY highest_season_goals) AS rn, + COUNT(*) OVER () AS n + FROM team_peaks +) +SELECT AVG(highest_season_goals) AS median_highest_season_goals +FROM ranked +WHERE rn IN ((n + 1) / 2, (n + 2) / 2); diff --git a/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local264.sql b/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local264.sql new file mode 100644 index 00000000..1a5b06d3 --- /dev/null +++ b/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local264.sql @@ -0,0 +1,5 @@ +SELECT L1_model, COUNT(*) AS total_occurrences +FROM stack_ok +GROUP BY L1_model +ORDER BY total_occurrences DESC, L1_model +LIMIT 1; diff --git a/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local279.sql b/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local279.sql new file mode 100644 index 00000000..e29541a4 --- /dev/null +++ b/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local279.sql @@ -0,0 +1,35 @@ +WITH RECURSIVE inventory_model(product_id, mth, ending_inventory, qty_minimum, qty_purchase) AS ( + SELECT i.product_id, '2018-12-01', i.qty, p.qty_minimum, p.qty_purchase + FROM inventory_totals AS i + JOIN product_minimums AS p ON p.product_id = i.product_id + + UNION ALL + + SELECT i.product_id, + DATE(i.mth, '+1 month'), + i.ending_inventory - COALESCE(o.qty, 0) + + CASE + WHEN i.ending_inventory - COALESCE(o.qty, 0) < i.qty_minimum + THEN i.qty_purchase + ELSE 0 + END, + i.qty_minimum, + i.qty_purchase + FROM inventory_model AS i + LEFT JOIN monthly_orders AS o + ON o.product_id = i.product_id AND o.mth = DATE(i.mth, '+1 month') + WHERE i.mth < '2019-12-01' +), ranked AS ( + SELECT product_id, mth, + ABS(ending_inventory - qty_minimum) AS absolute_difference, + ROW_NUMBER() OVER ( + PARTITION BY product_id + ORDER BY ABS(ending_inventory - qty_minimum), mth + ) AS rn + FROM inventory_model + WHERE mth >= '2019-01-01' AND mth < '2020-01-01' +) +SELECT product_id, mth, absolute_difference +FROM ranked +WHERE rn = 1 +ORDER BY product_id; diff --git a/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local310.sql b/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local310.sql new file mode 100644 index 00000000..dca175f8 --- /dev/null +++ b/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local310.sql @@ -0,0 +1,26 @@ +WITH race_points AS ( + SELECT r.year, res.driver_id, res.constructor_id, res.points + FROM results AS res + JOIN races AS r ON r.race_id = res.race_id +), driver_totals AS ( + SELECT year, driver_id, SUM(points) AS total_points + FROM race_points + GROUP BY year, driver_id +), constructor_totals AS ( + SELECT year, constructor_id, SUM(points) AS total_points + FROM race_points + GROUP BY year, constructor_id +), driver_maxima AS ( + SELECT year, MAX(total_points) AS max_points + FROM driver_totals + GROUP BY year +), constructor_maxima AS ( + SELECT year, MAX(total_points) AS max_points + FROM constructor_totals + GROUP BY year +) +SELECT d.year +FROM driver_maxima AS d +JOIN constructor_maxima AS c ON c.year = d.year +ORDER BY d.max_points + c.max_points ASC, d.year ASC +LIMIT 3; diff --git a/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local335.sql b/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local335.sql new file mode 100644 index 00000000..ab422370 --- /dev/null +++ b/bench/accuracy/results/spider-development-final/gpt62-sol/sql/local335.sql @@ -0,0 +1,26 @@ +WITH season_finales AS ( + SELECT year, MAX(round) AS final_round + FROM races + WHERE year >= 2001 + GROUP BY year +), ranked_scorers AS ( + SELECT r.year, ds.driver_id, + DENSE_RANK() OVER (PARTITION BY r.year ORDER BY ds.points) AS points_rank + FROM season_finales AS sf + JOIN races AS r ON r.year = sf.year AND r.round = sf.final_round + JOIN driver_standings AS ds ON ds.race_id = r.race_id + WHERE ds.points > 0 +), scoring_entries AS ( + SELECT race_id, driver_id, constructor_id FROM results WHERE points > 0 + UNION ALL + SELECT race_id, driver_id, constructor_id FROM sprint_results WHERE points > 0 +) +SELECT c.name AS constructor +FROM ranked_scorers AS rs +JOIN races AS r ON r.year = rs.year +JOIN scoring_entries AS se ON se.race_id = r.race_id AND se.driver_id = rs.driver_id +JOIN constructors AS c ON c.constructor_id = se.constructor_id +WHERE rs.points_rank = 1 +GROUP BY c.constructor_id, c.name +ORDER BY COUNT(DISTINCT rs.year) DESC, c.name ASC, c.constructor_id ASC +LIMIT 5; diff --git a/bench/accuracy/results/spider-development-final/gpt62-sol/status.json b/bench/accuracy/results/spider-development-final/gpt62-sol/status.json new file mode 100644 index 00000000..67b81c25 --- /dev/null +++ b/bench/accuracy/results/spider-development-final/gpt62-sol/status.json @@ -0,0 +1,4 @@ +{ + "status": "completed", + "wall_seconds": 203.45982200000435 +} diff --git a/bench/accuracy/results/spider-development-final/manifest.json b/bench/accuracy/results/spider-development-final/manifest.json new file mode 100644 index 00000000..2929b33c --- /dev/null +++ b/bench/accuracy/results/spider-development-final/manifest.json @@ -0,0 +1,655 @@ +{ + "benchmark": "Spider 2.0-Lite SQLite subset", + "upstream_commit": "cafb867313aab4e674652054198f383cf4018943", + "baseline_commit": "e0a7fb1", + "seed": 20261114, + "selection": "seeded shuffle of local IDs before inference", + "question_file_sha256": "4ba48916576fbd60311a2478c6d4550b5d8cf3fcbc512457ea493b5941ca009d", + "evaluator_sha256": "e93624e4ffa00e51c67bdee1d9e42b534630087cb453270c0dedc0c73e618480", + "db_sha256": { + "IPL": "bf5ddbf887bbf992a091ef31ee681b9339ba716c327263fce0f3b4da924f22c1", + "bank_sales_trading": "10c8b8136486902a19c3f974f210e9fb7c8f98918ae0313114c720219b02e18c", + "city_legislation": "6a9714f9fe11676691c38bb6e2cd048ab877415d28c358a2647ff1b8b8bfe763", + "modern_data": "d4910db155d7be8070d14cab6e44862d0fa74d71e6588d114c4bacb4225942e4", + "delivery_center": "d882e3e6552634e27739beab4c65fe8ec2086b84155489762f9052a663913f9e", + "Pagila": "dbca3837b9965d75fbc2b4af1b2daec57d841f95942e656cea44db997e05da88", + "E_commerce": "49446afd935721ee12fc95316fbee9666a3e1bd4872dfa194fe4625d6762a81a", + "electronic_sales": "8e759e113c316c7f996c2e721b596f73979fe679abeacb21e6ea5dbe6fc62eaa", + "oracle_sql": "ace68ede8f7fddc523d522e938ccfeee1f54c11888fd2c956ebc27892fc595fe", + "Airlines": "83dd643367785c6b38b5379eecaf2c37128babac96805a48362783ff0cafc0a1", + "education_business": "d3498b07f44a4ac1757798d70f4cac7c44d16082c0608c58a74d5aa0d6d058f9", + "California_Traffic_Collision": "14ace2b5213306081611b24647fe70778426bbcb0d5b30e85beb0386ffcf1020", + "Baseball": "4784826541ea40d76dd9c2da2812e189ec351ca79e2738916da5587b465341cd", + "music": "f82efedb6c5c40734609e168bc5be5616a2eca6b90ed0048451a8674625e03a3", + "complex_oracle": "2244dbd99d5205941353024332eb62b1754d3383bcd7c8c20361344d736be00c", + "WWE": "5e21654b3ea344583c921864c499ea984e66fb46579f7d4e74f531d0f415a52a", + "EU_soccer": "b4ebd079625bb9cd20437eaae1ccd0fc82f0f390567cfe3ee1df78fa08ad5f9a", + "f1": "35ad3b824678e8435bde02f14bcd554630792874749fdd59fe9ca1385234ce23", + "Db-IMDB": "34b043fffa7e10a152c8d1536bb54e5365df102ac9d8c09d4549ef0d9ef6aadf", + "log": "800191cd5ba91dcaebb427bb9313dc5bef1571b848b597508f15372e77c2dbd8", + "sqlite-sakila": "dbca3837b9965d75fbc2b4af1b2daec57d841f95942e656cea44db997e05da88", + "EntertainmentAgency": "24237bd0232f4b542b3e5c0417c9890c1d02ae8e2434253af58528e517a0fd07", + "school_scheduling": "bf37030ee170906bfa6bf5958766cf2a63dc0ad8168b3892ad96940be838fe63", + "Brazilian_E_Commerce": "96d1becb02714d76ef1a728d8ca0de33e52acead1668abd5f7d8a73a45f6d0f3", + "imdb_movies": "175c1da2deb00fe28d70608f7839aea5abc214dca15bb3e8622c9b7258c25b9e", + "BowlingLeague": "f8ceb5692677a5a4e04d0a08dd495ae8dbebffbacdb2a66dec551613775bc12c", + "northwind": "80a1d9591da7aeaaa439ba0002023d5ab69d3f15a3d8b2ac9389dfd30543c1e7", + "chinook": "d6c11e2ccda2a36883af57f031f76fbd55e247f3be1710c4c8aaa72ec06a18cb", + "stacking": "eb683890921eb597f176692fe6ac9fb544dde3fd78084d019bf82cd0e6efe780", + "AdventureWorks": "f8bb86bfde5fca5636030fa9490ad37d4397b0b21591ee62c7aca363a64f2653" + }, + "gold_sha256": { + "local020_a.csv": "c1b371bd6f78e69c1fbf6c18aeb322eb8eb6ee941d2ab38891867bbeebf6ae19", + "local020_b.csv": "7c70ccf7dcf12696171f65f84ac3a12ec0c186c9d652e17eb4bca16ecdc713f0", + "local064_b.csv": "dec7e4121cca37fbc2382cc8cc6ee1aeaef25db34fb2b48402cb535a5a6529c0", + "local064_c.csv": "06a27d4d7c5abc98f940988e1a3e42b63013f67a64cfbc380026678d9cfd8c7c", + "local064_a.csv": "500a9aa255bca20726cd09bb246f629cbd646a8add8fb1909392ecd09f93b297", + "local169_d.csv": "5220ca53e1d1d4f299f003c98c0d3d0f6beaa89a19648cb5be05f8c4979b24ee", + "local169_a.csv": "b3dec45955dc3e802667d623e072f56cf164bd5aa3ef7488e4126dff07887437", + "local169_c.csv": "1a36de9147b3b3ca4d39f111e15401ab332d343784744e4400e0c44768dea798", + "local169_b.csv": "a7f5b51992d6a1f5ac5aafc37a89b9d77b5a04d459cb7ca450e0f5777dc6c2ee", + "local073_b.csv": "203926fa65c2315ce652c2c648edf76f84d2a324f61218bcb3ebbd140335ae60", + "local073_a.csv": "7bd11f899aab7c37790cdf55b7f04b09a060d36d44ca57343018a22ae64f88e0", + "local302_b.csv": "1cdb9b8168d2bab6b7897b79122d767026313001c9df4846146c70d012ba9ab5", + "local302_a.csv": "6865f086e47dc7842c167d5907830506a7c591a0f387c3a1f4106eb56555269b", + "local212_b.csv": "bb74516e6d3253874a418c2af2a5240011b36fd104e340881b41377279731c07", + "local212_c.csv": "3e9ffdfbb80e8c424d7c927495c04b575113dc129237d674384490b6f19f7a95", + "local212_a.csv": "a7ec3f8b50d95a2c946b9904841ad97c48ee2ae066f18e95840ca041f2653228", + "local075_b.csv": "ecb3ddc0d38d6561d4633006dd578b1150d1eb79ab1b753d9bb3d529f496c361", + "local075_a.csv": "ecd72e006e9322343c1d008e606b1f87dd9cea8c522821603adefe2e15e74f61", + "local038_b.csv": "7a92c8c4d7b6aedd050aabb1bcfe26348038cfc3429e99ff2e1168e0f5d75d09", + "local038_a.csv": "ee3a29f76657fdbc0ac015d17a647bcead7f7edbf2bc9ecfdd33238c4dc16a52", + "local003_c.csv": "96fba57f2fe200d7b18b2d862bc956f98befa8ead69a6d3ff0593197fbecded1", + "local003_b.csv": "35d1fb54543e7b6de87d5d5e7fee1d4dbbd67b7d5d98e72e8fd959ac8a0d38eb", + "local003_a.csv": "dfe02288dc4d860119b85b2629e240b283c19c4828ff92d115de38d2553f2208", + "local003_d.csv": "88569b7c814a488dcf872675bc5cb21b314d81c736574569dd10dcc8cac5765d", + "local286_i.csv": "67282b3f4efdfaee5d82d004381caa8ef9c2d70ded77e5f018bc12121ba648b9", + "local286_h.csv": "b9745253b4426a4754d5f22b7a158c682b69d215467cd20ff39d59b464b8e52f", + "local286_e.csv": "3e2c801aa106e114ac238d3f0593e4b51cb1ab8d333f9ba88ebab1138aa651de", + "local286_d.csv": "e6592fcf5accaed189bcec1a1a6a7d6906932542da0acdd34427d7c05ee4910a", + "local286_f.csv": "3f59abfefe275b81255fe3d591057a807a9110f1baddd41661fe6326dbe80eaa", + "local286_g.csv": "e8900c3cc4a15f719e54346df7e857bf5fa677b25e62a6d211aa57e705a6c53e", + "local286_c.csv": "0f58057a69e464d146ad40b470c2a6e593dbc44209d6b8ca6312bce47142c832", + "local286_b.csv": "ee6565e66e7580bd4bd9766171b6b78a5563099b7b3e2ac7b8c5feb1b8159e0b", + "local286_a.csv": "a10378fc736e6bbdf16a23aeb65840dce586d06db9f7543df5649c0a876c558f", + "local004_a.csv": "7f1b06203ef6e8400537f3ee59295b0794edaf2c4d20cbf428b742205dc79745", + "local004_b.csv": "b727d6aaccf9806451d3aa60f21c4830c51268a8c4ba1c2373bb20b02e4b8ad2", + "local277_a.csv": "ec9a93c0d9df1bf97e71c07f51281bc51c94c8bdc3b3468321f18386beb03d28", + "local277_b.csv": "bb0393ebfe836fec7f6382b8c60f173081aee06706de5f808738e58ef74d14ed", + "local277_c.csv": "474344a708d34dfb21b540c0b9c37b566d7dc3e716efae55e40dad2a42f8a141", + "local009_a.csv": "55d99171b807ec637db5e5537862c0a95e7c80e6ff9141ff0954903114bee214", + "local168_e.csv": "973f35863944634ce8e1a0f71ccdf3e3b2e9b4e4af7a7af7cb8d2880369cae35", + "local168_d.csv": "7c350f87225d15834980a48d7eb151d49d7ccb54b0a34063c6353d35d1360a04", + "local168_c.csv": "a099fd0094964acec9e9b7dc780e2d74e3b352d0a406fbd26492b16254a3e9ac", + "local168_b.csv": "0ba23c452b58b79505385e9d640647eb222ff03a8ecc42c3ea735e0dc5a3c47c", + "local168_a.csv": "2e0139876cf21db59202e70f35265ef7153f860a1552b2dbb45b74239d2f41af", + "local058_a.csv": "c74e9663427d34d34cb641480e4807b0459db608f792c2f35b2d072a94b489fd", + "local017_b.csv": "93766776794bd5ae3f393b387b3e96ec4607d1a1b51cbc8efde4ceed137cf1a5", + "local017_a.csv": "51256921f42d6e90afd3d2c173c6c41f78edae73dd08c3db89f4b058d6ccac6b", + "local008_b.csv": "ec056a18be1876a4d931f0a3470e972c83ecda7b2b398b1075f7568e4ccf5815", + "local008_c.csv": "fd4647652ddd17aafd4e2ee4e2beffd47405db36edf56ca756f8e12839f3b65b", + "local008_a.csv": "89ca9045bc066b6f9e407b19bcf51f3972bf6d60c34cb423333ec675489ff9cc", + "local244_a.csv": "5965bfa1f61aa4f176dafa1f6404853176c6c1bb7a2a23611fbf19d947afcbb6", + "local244_b.csv": "a0e9f988fcb19cf1de3e04c2336c9d69ca45f452213e50144d52c12bdd9355e4", + "local063_a.csv": "1793aa1c7acc50826abd3658b0f4e33559fbd6d731d8ec93fafbade87c9d5234", + "local063_b.csv": "a1441c9bb8dc7e44fb5a07fd7859819557c9736cd288d134cedc863840eec30b", + "local063_c.csv": "b755b88cd040cfeec296a84e3047d28c83cc4610578a5dbefd79b237f248dea5", + "local063_d.csv": "d8368237d3fc65210a2fdf27842d5b547ef00140ebee87e1b5e7ee5acf0e7d23", + "local063_e.csv": "4ac60e76e037ba5e62532d02bd6c9009b16bf6ecfeed2d3927892f8164f0772a", + "local259_b.csv": "f2d95d3a692176ef5a7a08318c2257af1e1971db71bff98e7fae55343253e842", + "local259_c.csv": "df6c3de0deee12fbddc77b2b5a0de57c80b0826fa3fa182b4d9615d69c4f2a70", + "local259_a.csv": "2c2419415a341c10edec2e05be6aebbba30f7428456455edf0f46de2ec5b3f2e", + "local019_b.csv": "5a3e07334d13b00ed6b6f0b6ead9542dac5da69a4320e71d942235514a3fb231", + "local019_a.csv": "6094d8e25f80e75f1c7b91b27d5943e71eb63acd8407c0e7165644787b77cbbd", + "local021_a.csv": "0936bacb011189be56c7b695bf624d8ec171e453a34fa6e0ab8817b8fe508caa", + "local002_a.csv": "97eb32859e39d7ee65b2a7501b157e1cd67fe932d58d2c5b931c3442d6a0afbc", + "local002_c.csv": "9deb74fe0ac8eb52df9ebe72260aa5b12c3f574e1858c843b91234f8d92c0cf9", + "local002_b.csv": "d1382f9c7802b5d2e55c3c3431322df282f4059d352ef588bdb70ec076d61879", + "local220_h.csv": "29bc54cf4eefd315349bde9119d4355bf9e8fa315b32ecb9cdaafec1d84b34af", + "local220_i.csv": "72eb0dcadb3803e4db881e56f3e983cf1f70d30f4aea1f3d5ae6d9f12ccdb004", + "local220_a.csv": "3fd793f820da7caf070fa30e734fc50fd512de91bb8726157791e6505b19f2ca", + "local220_b.csv": "307f4b3b18444ac7d3e2e0621f3e446bb0b3542c663d48bf0a3c88c0db8611be", + "local220_c.csv": "cec03dbe63fba9147b27e0d97ee1a750943e8326029df162ca7a54f2950b7e83", + "local220_g.csv": "c9d54b9e5320fd510c11afa8d7ca9a4b0f9b86e13da1a8d6fae8065472e01340", + "local220_f.csv": "6e6ab60d41c302b668986d652e63081989a7c9fa4d8eadce5097a1669be4ed8e", + "local220_d.csv": "38bdcb5070e77309a6968db11620e91994432b85feea07eeea4a998d496ed37f", + "local220_e.csv": "588ce337a1878cb035e7116a0910bf3a1a932446c02dc1da315de913fb19deaa", + "local336_a.csv": "28d892a0a923deac963020adf6123c94465bf5ff0f575e881442968f225db7c6", + "local336_c.csv": "89fea80e22a96f737ea5fc60113d26e4b81b2c6649721f51117fd9ec80215de2", + "local336_b.csv": "43131e08623badb368d1b3b253546e089d9e58ff1013a0c22b89c4ba5c733fbe", + "local336_d.csv": "493f99d0374d955882bca3f0257a2c714eee78111f465a1dc003ee2dcc47f34a", + "local077_d.csv": "55982709bcc150ee95ebd23d9d9389fee472f2f569979462c170cc1f17a42990", + "local077_a.csv": "f6e756eb78b1229ea23bf75d44de15ab0fc5cf79c63815595696186ee3a8ca09", + "local077_b.csv": "77fe93d9db1ab584637158c4a4c0ed60a528a2ecbefb0211eac390647a16b694", + "local077_c.csv": "d05b442624aebc3e586434af3b2837dbc4f2c0810465a97b85c50724bb3a09e9", + "local100_a.csv": "1c65e8f88161a7f86810c6f4669588ca1d3ef321674341c8a11979c489cf692d", + "local210_a.csv": "6560065fb4722f6ad2f6b1690c82d92ed50cdbea71936b2c48f50ed1898db22d", + "local210_b.csv": "47762ab50ef3d12a0a4a5ef5f10c41a7b8047b254e30b8a68ce302f8335f0245", + "local163_a.csv": "96ea14d9b3d8f61947989d5dc62c696eb15425dd86efc3290239b703bf99d506", + "local269_a.csv": "7267c436f72664d40ed245834186360188fa127f28c4a13c5e21d16c9840e28a", + "local285_d.csv": "712513f473959279273b3d6eb70f443ce7fc1f8296e5eab2e666bae2200de666", + "local285_b.csv": "a87ab59dece88c9811bcd52981d716d119609de051975383f4c741d37c98e878", + "local285_c.csv": "f1d1471ad889b1ec40b6ef4bbb691168523b8b01ede4327a5e41461a1f1d65cb", + "local285_a.csv": "3a88e7542df7ebdf18d21e3765fa1f0fcfd7c2af088b36ce169a81c9790431c8", + "local219_e.csv": "12ec2399787f1ca5a882346e9bb24021d9df7cf73787fab77952a7b8db84757c", + "local219_d.csv": "f5d2bdabf22b17758a44df650e6be6fe4a2c0f94a9ed5d0f6b30435dc285a419", + "local219_f.csv": "b8acd8c449ec4e0f38160ef5bd325671b773c2879cad84531da1780044471b08", + "local219_c.csv": "7803b6fc3cb1c317d0d02bb7eb529555659fe416a9fc281fded398f26280c294", + "local219_b.csv": "3d73969fd39cf5a1cbae9d32f3147b19339396083c877b52612b6cf78def4d81", + "local219_a.csv": "9dcf380a8086a2f4ef87a8d6d2db72455c83032f3f7a6e9d6e03281dd602a0d4", + "local360_c.csv": "1b8a564021b0ccd7f0aba665f54bea7f01c17aa48a8d4a2cd920ac12e0e8bf8f", + "local360_b.csv": "e2764c72c8aabc4430bb46ffc6c873f09408a758dbc757d87c6a1aea2d26a371", + "local360_a.csv": "de935d70c61b69e9bb632db32d60e07543447126a30f738eb52b4433dbbeff8d", + "local331_c.csv": "5575b855b619782c80380d2e932b9f8013b5a4e400d17bd6723aff8965f36622", + "local331_b.csv": "398b4c221861dd10271520f700c0ccd5169d9713e3f30c4d8d04f74726f6096c", + "local331_a.csv": "be4bc308953866f6e4b173319a1b0934a3404829753c7662f317ce26bb5be91b", + "local193_a.csv": "15bf368dd71c4ca644d590268b57fe2fe1d080e26ededbf3de3fd3985ea355c2", + "local132_a.csv": "ce397426bf6cb0280cfcc1abc74a4b64e4048568ee9a2d878ef296a4e41576e6", + "local310_a.csv": "35d7876cd66bff44654add1596d74a6a916d15994c5f4a015a48633ec8e4e8c9", + "local041_a.csv": "4b61532d00887c35ce49c293e9a8cdbedf93da39ae84139a3744a07b1a551144", + "local041_b.csv": "2dd088064fc0b86e4deaf8356aa902d290321b5de6fbecb737e0c6da9660f30d", + "local099_b.csv": "fbdca4cd81c62b3d93bc93eb215520d892ba4c290751919f20dd71418ce6a7e4", + "local099_a.csv": "bec10511e51815d3a874d90ce4a83af43396138460f02d4e36d0b0880fa03724", + "local130_a.csv": "6694afd62cbcfd4fba3f359e3e76af114f615c01606190c9787933728ee54daf", + "local066_a.csv": "c1899edc643a416e7b90e8d7d78b8bf46661e9eeb3a87e7d8bad6b9d547cda2b", + "local066_c.csv": "6551bf0440d4bc3e41c471f6dc247f300f93b0fd2b5fd4a8308bdf96e18dbee7", + "local066_b.csv": "cab923a50ec2151f75792452874ef2e7fae3ee533a07e8f8725fd6355762f585", + "local030_a.csv": "161284a3c6f2c5ec916f4886536315005752236edb3f1906d2e894202614144a", + "local209_a.csv": "deddc04c50a244e75de82f47ba6c3f54fbb6f97b988985f6993db03183b8778e", + "local209_b.csv": "e7f4324fd0a268ef8db517670215e03a14ca4d738abd5adce0bb1d48857b84c1", + "local067_b.csv": "c6b945e3fc178475ac8c6440ff33ab4a33578dcf1187f79ba7c2a577f17ce7e8", + "local067_a.csv": "34477c4b74140e991f932a86b10e3ae6cace0a425a4efe9480d2d52ded344180", + "local050_a.csv": "58dfb380fd1b78d1ffdcdd41136ee6d29f5fe878497fd8c447a5643a945bbf42", + "local050_b.csv": "2be2c502211501cac9fe28882a163b8e8e0ada559e88df12d84279f960c98508", + "local050_c.csv": "c02d70fd6770f3b8b7c7400017f9de5fe4a3d98d5bcff5d23bb855bd34e8193c", + "local022_a.csv": "5b0274a5bdf4cb2da91e1cb86da639d2788ff6c9ce12be709c89ebe431a405cc", + "local171_b.csv": "438b893ebb918cc5270c7c83ce5b9c66a2e5c1bee69b01ce916bf44ba01322da", + "local171_a.csv": "43c4b12ce24776c1cb3a4b3d6ccbfbabd2697449aeae73f43f4a8b217f348a94", + "local131_a.csv": "99088095afe2b7e918cd1362c7bfc329d0769b29cbdca8d3a0db17c12cefa257", + "local152_a.csv": "ccc36f93451600109f70423f3f2b22c59efc2aeec4481a34c40c6cd03762ec35", + "local356_b.csv": "5fb856cd42618d59fd31df1d5cd709c44c9ab461f06332c7cb42c4fb0525d875", + "local356_c.csv": "2d55de8bf7ca99d16767c4dd1afc8aac75f555903707439e862e9ae93f9df93a", + "local356_a.csv": "89856e985d2871649e2886240252cdc23f93da31724184c8d5a4a84124c8beb0", + "local356_d.csv": "c2cbf79260717e789c4a46bf0730c3476bbbc825cd8de28dddb12871e901fccb", + "local097_a.csv": "ab059c081ce0df9c377b85691022bb1f9f3667ce570bd81b3939d3051a53ece3", + "local062_a.csv": "2b9d26110be67fe46bcb3660fcf6999b4a003bf2a67cd089e6167870ceba77a1", + "local031_a.csv": "75b4daf5e59d7b7a5ef8810934833306d92260dc859ffa703a04d975c9f337ff", + "local128_a.csv": "2749b51ed71b2551d35f0d59c6ca189bdabfbdbc03ad154d0054c029eede7e0e", + "local081_a.csv": "9da7d88a04332b1b3fe6e84984e5d438fc2259026c92f0a617cd5b288c8b5981", + "local061_b.csv": "657640cf09e4f966f3b27816d2eac9868bc9afd2482a522e2cfca11c1308435f", + "local061_a.csv": "daba05cde352f1495ee5d5fe44e2e97d385dba25daaf9c9eead07d769e296593", + "local037_a.csv": "366902a6892471d22a9c5daf4a0a3a2b00eea621eb2aa7c2488fcd15f3a4b164", + "local037_b.csv": "e1b83ddd4a92ff112d597dd1b7f58242d2311417ae489aa2de8f07d88a08b4c0", + "local157_a.csv": "03259b07da7e44b85bf7f9e29e5acfac68bac669521afd3fb7a58ad56b7eb549", + "local157_b.csv": "624762a24072777e61e04392667b9102a2a75c1d75a120e30a990e7504de3ab6", + "local157_c.csv": "8e17cc7aa611d37ab4cafc7e70b1dfb6b7acb6bbd350fb15df7f2cd33e2fb4f1", + "local253_a.csv": "12bf95bf4418538435351a274cd99e3c5de8f7f51191b8d1f9acbe6167334c82", + "local253_c.csv": "f039653401cf392269288eea252ec11b9521fe764cc1304824a68a85f9c440c0", + "local253_b.csv": "47481be8a36053414a51168cf5f07a50cab22a5ef21d78cf6bcafdbf81b24e49", + "local054_a.csv": "6b684a3248c29aa8a29dc465edb8521463c3f0bd5e069df6e1f8a9e1df602333", + "local274_a.csv": "83d9b383b5f3db1b6d1880a91dde84a7c198d27bb34f5ad70078aa34a426c310", + "local274_b.csv": "bac6a3a31918621fb89e8c4c09b58001e81ad8257195ecab138f4eb20e4ba254", + "local263_a.csv": "af3936a3f06d0148c560a6781446bd98c758195d8c61cc2976b74435928f594e", + "local202_a.csv": "85e9369fc30751cdc1412cb5c7e78c2abeec2985dd4a5a41c5cdd71ddcc18519", + "local015_d.csv": "56f7cfa3c4a037c1c333de502d69d6c916da6014cff549996b09ecc3a89503bd", + "local015_e.csv": "a39ca5bb24cf3c1856102f53125f56c8fe686bc137b7402caaaac932e4a0d78f", + "local015_a.csv": "1d0afabe2283a59d441749067202ebcd70738034bd51d5e594675912f1a65106", + "local015_b.csv": "6d2f13248ceed54c99e70aae4c036a3886505ef8317f01cd84581180755d209e", + "local015_c.csv": "97b0b536c43f4dd48a36cced476efd98a469d2c5dd0950dbaab29924e7a7b31c", + "local195_c.csv": "3f35e382a09418f07f0c5afc5079b8b8fb7caa85215659fdec8f75fd52ca222e", + "local195_b.csv": "c948a0a429525ba0ff477d20448dc822c854ba9a5130dc2a2e1ba45036a1cacf", + "local195_a.csv": "6d010cf196c1cf9df4dbc8c5a5ef43c512870ac233c91264a28eaea8d4c46e2d", + "local201_a.csv": "080af4ed42042e04fe32a13854213d666382484739a9b353c0ae16295fc9fa87", + "local201_b.csv": "839abb14e25553a9f02394bc3ba35c53e528435fdef74dd9ba09acf20e5f7c91", + "local270_b.csv": "c6930b4e54ede426f04d641b7dec97d3794f3b44a2c7edd3c32bc3eef0b7c908", + "local270_a.csv": "44cbe0fc3c486a69790f015ad4b0944b7214d04ac9e1be0f3b3ac098aaf9605f", + "local354_a.csv": "a7a64d27016f986a8e8147b7c9d3a223b8f4082ea600ced8e5556e9080bdc2f3", + "local354_c.csv": "b846ff6920213823d198c67e147fbc7e3dd9924b951b47a3fdc1c9178dab4db0", + "local354_b.csv": "47de60a37350b531c54141ab5c1f46c294f2548fd6ef066ba2dbaf6f3f0802d0", + "local354_f.csv": "f3f2f1c0d9f0cf62a1b62770172eae26df2c961e190a5ed400dc83a48c53aae6", + "local354_g.csv": "8f9205af30974a993814edd1cccf5bdcd966a0641a0fc779246ed08beb457846", + "local354_e.csv": "d64bc9fa961ed98903c44ab63a73335502f3708fed027e618d35171c088210f3", + "local354_d.csv": "3672e9edce01bc9365f9fdef6ff15b4e94229c86f666a6a2686f241c7f25e931", + "local354_h.csv": "a4650a35efeaa4abf6142031a5cadf3dbee302a2abc232e8bb111d40fb6c89a8", + "local355_c.csv": "3b325c85166cd828601d40d98fbcb5a8b9ad301a8205c4f249cadd007c81f471", + "local355_b.csv": "45a67bcdebf25080c908c0449493e2ba503b7dd3168a17736629950d93a0fc83", + "local355_a.csv": "b6791e332962e204bca0fb65dc5cc521772bd22ed4bd2c9e0dd1436c5cf91bb6", + "local355_e.csv": "5edac8923a319e1630ddb13b8b0a50660363739a9c8f874adfc1be98242ec83f", + "local355_d.csv": "8c0297b41ffdac464accf4ca3dfafdba1caf68861fcf75545c6f1780649a1d44", + "local272_a.csv": "674a1e63a234810e0cedd5cb866b94177232be38c05e636bb08ef0a4756c8f01", + "local170_a.csv": "2b42a04d9f2a941f4f9e8ec8d8d6cab30636aeb97a68a9986f5281d7e8614a52", + "local170_b.csv": "75ba2f192c088b310f6f430e44f6be6c2975f7c2304602c04518731c444b146b", + "local059_a.csv": "d9b908bce1098fec3340ca821a2d0cc8f1081c3c0b3d9dc443d70887371bbfc7", + "local096_a.csv": "2a72e80ea25a693763018bbb412b540bc37449ffd1a113b332a68c762821f146", + "local026_a.csv": "8b0566d063be61514dd41fd6c20b7f872677ef6e9b74a1959a930c344e73e6ab", + "local065_a.csv": "a88fe08e758fc1ec3e5445c72e82f94e21b134c50fd020b849034d9c3d7e7512", + "local065_b.csv": "5222f53ddf2a5f19fdf8a4c126a89821f02dfb113f8b5149fbefc3f84ab2780f", + "local279_a.csv": "4f7378f0e26249ba807745040c85b6755ecc47ff70fcc44b6aa22caad2d2a437", + "local141_b.csv": "f1274a92ef605fa942f1777b10ee9549869b2c69e6c71db8f0e21060b16fca17", + "local141_a.csv": "f0f881eff759810e1a157ebec160506f64fcecf175c015d384403830765e9513", + "local070_b.csv": "fc5d8fa9225349c33a07ca52643a7f11434e9e8fd5711769b0fca0af3addac15", + "local070_a.csv": "fd0136749fd3215a1d9fcc910a6050866a928f3be65713f5518b5ce3a79acf9a", + "local023_a.csv": "abe0ba55aec5aa107a322556bc4dc73d8d76426eee7f7679a9b4329df0458e3a", + "local221_a.csv": "12397cf2182c3d6fabc5fa3c5d1e1b72abfee48e5852eaaa7f6cc94dc113acdf", + "local301_b.csv": "fe96a3ffda30fcd83a40abde6f463160287f678b600c89ec6d8845f89d2ae5c1", + "local301_c.csv": "2fad0ac554543c8b4adde67d898593b4c102b70777c9c992eaec45067bf8eee3", + "local301_a.csv": "cfd0aa58b5f02bfcd83872d5dac729d9962725bfb558cb70d431fbd1d360dd77", + "local018_a.csv": "be83eb216699f3aaf4769f1dbaa2b483718548855da59eb7fb6466ff15f2d902", + "local298_a.csv": "f295cf8ade91d7120c18bc811a1b3839135437b36a9c71efb59e8979896a8bb9", + "local028_a.csv": "4b08cd97c949a352f8450696db24d140ea0cb5b7c94636dc46d495db8dcc8c01", + "local028_b.csv": "742d31b1c4ca1c891bd22bec5701b18eda75cea427aeaa8ed3f66a5c32743180", + "local196_a.csv": "b3114812d1bd2ee0f83f593cc1ba00228c52add975720b1b9a7a4a596d5e9d5a", + "local230_a.csv": "fa93c03d618f3be4b3046f38c93489b6c5511ced7796b4cc23ae9531d2538234", + "local300_a.csv": "8881876917149ed5fa7a655ddec6de301e4b9eb88691c8d3717159cec1f10a66", + "local300_b.csv": "b6e12cd56de4bbd1fad3bc8003dab7f8378600c310ed0ff8dfeb9e3c5520d4f2", + "local300_c.csv": "dbf8c9c285c1e3ec012a20e21256117a7662aa34882bd84536ef9dcfcc3e3901", + "local300_d.csv": "1c4f4fe5c79c2207a15f215759f31915dad213988b02e13bb405170ad6122bf8", + "local198_a.csv": "1e552fd1326323711ba031bae7fd1a9c2bc4b6b45404916a7066532bc29fd86a", + "local299_b.csv": "1c3b8a170deb6ea5016ee61ce649c3ce32ad08ae2724485fbf4999c55501a45f", + "local299_a.csv": "27a88bb2600981bbbe3052d03218f2b385a267c36a5497f3169afae7d99b78f0", + "local032_g.csv": "c0abe3fc89883986bf833673e7c1c120c4ee3fa3270716be84a69aa6e14b8ec5", + "local032_f.csv": "4b490e2e387a9157ab92ec22b68499867016f8e8d4d4a68a938434c60699996f", + "local032_d.csv": "01443bc088adfa7cc0918a81db1138b49902aa8b4871777043e3c39af64e4f05", + "local032_e.csv": "7f44365729a449f5640d90abb9eb3822d84a667bf556ed69607f0153fb4627a3", + "local032_a.csv": "8930472f79242c09ace8a7093a53e1d86638294a4e448bc29e903046c9b3ecd9", + "local032_b.csv": "4880656d98d611ad49603d442a7c69669b4dc97fcfa56781ba2a00685a4e2ca0", + "local032_c.csv": "375d25de984ea7d9738126f8c58594850213ae32f41ccb211885361086fa8b5c", + "local032_l.csv": "ef4356f6a6245f33195b88728ed42eb541f378640570e3eb1def8eb9e45abfb0", + "local032_h.csv": "10f3f8a7c4f1c6e0aed6b7f1a263ea51982572bf6d325b5173666f027387b00b", + "local032_i.csv": "7b8ff88f98980484f9cac707765238478cd3ec989907d413e66c877f3426124e", + "local032_k.csv": "1e56f65fda398bdd603ab7f0966e8c1487b455f1b501f3d1b4f57294fbc96224", + "local032_j.csv": "992f644d9d30324ec54f5f5cef120405891922ceeabd12e68bb9c7d171392a5c", + "local068_a.csv": "1299f2e8ee0af71305e879036489e9f898f093d55fd7634f0a19d67a98773f16", + "local068_c.csv": "c4535adaf3fe73d83e3c54f469ae5851cdeab601f0abbd49a33c3d7f62770735", + "local068_b.csv": "ab3e5b470012a477e90877a36682721dfff3b9b2a9d436f516b64bfdef579d0e", + "local264_b.csv": "35426254849f620276bbaa67df521a55a81fd1e10ebfbedff1c2ffa218edfe5d", + "local264_c.csv": "86288a60be71d946e2403cd44c608ada7bb163ce11f102cc4402c67ba0ae8ef9", + "local264_a.csv": "8de3723af25cb543685497a4631c081bd8cf7e9ead498e6a1eee52273cf0498c", + "local034_a.csv": "1090ffc6a0c35bf35d9295d47914234c997e7309397238747977b6dad213855d", + "local034_b.csv": "5e5b95c5964a0760c48d12c6e64a42e89a6671042665fa0fa2afdd98df142f07", + "local197_a.csv": "f8908a3f904dfcc900a7967db60b3fc1eb3c16d573374f4cb8e6f68ebacf464e", + "local197_b.csv": "dfa9d044fdf582d19e0cd7ee6229c3583044a763608e2ca8573ed300d89b2f35", + "local197_c.csv": "bd4f275d821d4f09ca0d6042e4c7780991213abdb8e302bd0d412f8654226827", + "local024_b.csv": "1022178fcdafb1c112bd8770b884ca39f554f50586ac0002e420bf6430d3d24d", + "local024_a.csv": "8699022579239fad51d09ef039352855312af9f0a6a8d3737c39b60158d0e053", + "local228_a.csv": "6d2ee53c1196edb090a3618695c3f922b0a2a526e37bbb0855b8646d9a5b09fc", + "local228_b.csv": "570907525713d4124189f7b82aba2108f1bdc64e931b33f13d817342f8c17480", + "local060_a.csv": "e02a8024be874c7b95464b19712840659e4209165ed7e472b57351c0cc1ba0e1", + "local060_b.csv": "cbb428dd80f1532502baa09ad60aa65381ed21ea6056e26082bdcd6cb962af93", + "local358_b.csv": "eff96b54297c2251143325360d15086046e9c154e50752a4203f9f1ff18d5f10", + "local358_a.csv": "6a7e8c424c6a52662c0abf5d6873d827f5688f9355e46889075f51d9c70bd439", + "local283_a.csv": "6e3d87df7b2a5a1147f62fe65de3b1292f5af15f1de5584593de863534442f68", + "local035_b.csv": "6ae7a8e32f25813841a79ca35376928d094f10ce1a532e2a1f23e4d9ef1b7fd9", + "local035_c.csv": "2381226b424af0f88ab4c493dd201ee5f059d86ea5c9605ecd0f2035c97976d9", + "local035_a.csv": "710eb0aea469add745f72f1f4b5b568cb0c84c4507a61a3930b70d54d7e7f47a", + "local071_a.csv": "ebeaefb552dd18841ab1d63602ffbba67a1b679722fb7bf86f4aad05d115ea29", + "local071_b.csv": "e73ef52d22cfc7eb7dc76c959cf4d6f11079a1d186fb1f3346bbdb2ec61efaa8", + "local039_a.csv": "ab6af5a1dc6c24ddae09852a5538b7552f5c153eab566e861fe8276c6dcef087", + "local039_b.csv": "cd3cbdb9528d7a50197836db8f6abb45ab59241d6bf8035915fba312c52fc892", + "local167_a.csv": "f87897a23204ee6f79b2821fdf50611d055ab847a2670fcb8c548b098c187aaa", + "local167_b.csv": "7e385bbdfcf240dc6b6264aadd220a2404603a1944ef850f5a4a221cef501dc3", + "local133_a.csv": "000b2e5e4f3ce526d4a442dc28d1f792576eed5943ec7416dd5fd43265769b11", + "local133_b.csv": "24371a161c1a35386116dde49c31ceec123ed2d3abc8aaa411d6ad98d31b53c1", + "local297_b.csv": "5ec5763867426b0b6cf21c0d707e69bbd2f11ef80e14eb0f4cce29d4479669c8", + "local297_a.csv": "4a37f869a34af47d766efaac9b2909c7d736bd35f6c18e41ed207ce5b3f0c260", + "local309_b.csv": "e4ee052a9a5b625b3f9f3d0f9fde804b6f2b204324b794ff3960be8c55074f93", + "local309_c.csv": "a1fa582e425c2bdfc3fdac62123c22a77a0b8e9f292d30bfc1c3f6cbf36d0584", + "local309_a.csv": "99e9032b151143ad152f2b086c21e3d5ad2b641adbcee2c349fbe7f2eaca5c93", + "local098_d.csv": "9386a5c0c81fb3753bcecec2cf7c86d67977094c09b0a0666e2a3ffd95bb0d23", + "local098_e.csv": "7668d333202c9f22c657d65b80346c092798f889c8ffa7c8859ad20a0eb441cd", + "local098_a.csv": "2b9adab647439652f27faf4c53ccfdb4aab9e280636e904c2bdece4d72c9b8f4", + "local098_b.csv": "f7f59e32e9843b3af1b7c1304203b2d50c1d5092226c3f713c69b87a23bc3086", + "local098_c.csv": "7992ce39a5d37324ffcca04c64828b8b3fbe4fd13ba56d09ad2e1f6d6686cdc5", + "local329_a.csv": "d51cb49e4f858fc1f62361fbf199c1f0145b2d5a192812f919f9f74598ad2c27", + "local040_d.csv": "4f8346cdaa161013159d36bb29ab6bcfa9c1496066ce99adf101da50b7e55eaa", + "local040_c.csv": "6c25ec05e7e36d47887dd9ec91a24987d99ea677b6fa1ed6659152c193d255c8", + "local040_b.csv": "894fd4c4aa2af4d479540508bd503e9c34ac574755c6a09b0b1b92edf11b5a59", + "local040_a.csv": "86040f986565e2f0827ade68d894ae227b0e20b4a0a5f879da8857fcff9d100c", + "local056_a.csv": "fb8f6dad94f2ccad8ff035a504758ae7f67a514071005e9d330940d09cd242e3", + "local056_b.csv": "669482fb368f7458dae1f1b084e10e145f513fdfb0ab5c648d006204a4b7b844", + "local218_a.csv": "59aaf31f0bdc6f4d891251e969ae5dcb0733b2f027bea6a6e02b8922b57e7a57", + "local074_d.csv": "575905edd9d23b7a0dfa7d4d4d6c71c1e53b8df47ca5d997e34b30821ea5d476", + "local074_a.csv": "1d249b4de50434c538dbbc566ec00c0b3d33f6f50b76f9d2d947fcd2447b8e5b", + "local074_c.csv": "4c048efea3992cccd47cb21a735fa82f4c55db5c8da38d40862c303dbb100dc0", + "local074_b.csv": "c0d530dead3d8128affa3642184e4402e11136c7e31cbca044cb58b4f3b5ddad", + "local072_a.csv": "ecc11366f1a4997612ef7479d4e9caafb76e7be0dfcfcab22031ad044da9306d", + "local072_c.csv": "89eaf8f0fd5d63f525f91be9e73172b413e38adf162414c10f23236601fca705", + "local072_b.csv": "c81babd9f76614a1be3de6c6f3ed4c8fef6372d5bb2dd1b7051d2a321ba2aa11", + "local072_d.csv": "5460e077fca890a7547af80ef5728caee0b1396a3c68aa35c1319707a7e7f260", + "local156_d.csv": "4907987cdbe5dc4deb8727acc62596d7becee9c4633db2e75620db08b8869a0a", + "local156_b.csv": "b544baaa749fbe2eac0ade87a28a07174f5c13a8d2b354500d82e63403723e9f", + "local156_c.csv": "c273fac8e8bf03dbce9fff237e60810a175baae2a9342050cfd3b1afc745b288", + "local156_a.csv": "359af22e361eb8386bb7c16d03f7d3a148db3addbbda677f3ccc6a93099040fe", + "local258_a.csv": "b943740b741d12a81ac9a1235478186c827f5068d8ba9042f2072ad479f2100f", + "local258_b.csv": "3b9f1f8a944934e57ec29c46c7e1b0de2c4d8fc6961c6275f1c76a4aa818ba50", + "local258_c.csv": "d6399f1bd4dbb5e4edd4ed0935825c3092f5cea42b0ba93bf140c5cfc97700bc", + "local258_d.csv": "28f311ccbdd218b3c521f66c49f51d6c53e2a31a6a448eaf24ecc58b36d3e991", + "local258_e.csv": "28a62aa7e0edf3af50776d3bbb88194078189716ea370567d883a79d34996322", + "local199_a.csv": "d5d43158a754df4985bc9101e86b2b48adfad69dbfe3a266fd7f8b804fbc26e9", + "local199_b.csv": "96914152da9b1d4229b1cb32cfc6ec24ee49187fe3036783a7a34512b44bb40c", + "local194_a.csv": "737c5c8fb48a3a09fd2c20589001498bb12e623c24789749a711f8f884d1b1bc", + "local194_c.csv": "d4ad490bd6915a0d099d1077e122048a32ee33378eb5bfd876e4e683fc0c612b", + "local194_b.csv": "a5f4718844ca84d9125365e1e6aee952d4c2e8eaf1ea99bb9c086cc29d5d3184", + "local273_a.csv": "35d1a1d986b6a2acbe0e6f29a6d9e2979cb21018e5ddf13c4367e881e4058d34", + "local078_a.csv": "22e33a0e482aa13b1e3d59b4363c04dc1d39eeb3d0b18fdb7fd7ea1077dd1b95", + "local330_a.csv": "156777b4eeec05777e4760c0a8cf5a90e7e9f5db5df87b6db215f36f6ca722b5", + "local330_c.csv": "9ebe76a500091818cf5ba1540ea8c7f7b01b95f01d6edc4dcfb7739130677571", + "local330_b.csv": "02dcc9b52e11b4a342941f97c775481b080e740222d797547408decb5ee9ae1f", + "local007_a.csv": "609e283f72faa732d8c9bb3041aa570361e8fc1e2949dad6d2624eee4fe1f582", + "local007_b.csv": "187376265d7f3ec19f2361f9aa4a29ebdfef55b93ce382d22da635cb84b2a5ac", + "local007_c.csv": "d30d2306cd25071c6435fc31baf736057c1339f2aa2927ba43eaf85894553a3e", + "local029_b.csv": "0645e08079eeed5278713e295ec54f92db2c4a5c080c2ca19fc0d300c85b8bdd", + "local029_a.csv": "13592cb212196327ddbf1e24612d8f5c9be767476537cac76098c8e6382a3d5a", + "local229_b.csv": "b63f34609d6f0d135301ac413518af035f8ef8d8b4af603ce956b573ecc8a8ca", + "local229_a.csv": "13b57a2a9cf1c3b16954439cff955c0483c902fd05e2cf8a8f6d707618b74edb", + "local085_a.csv": "53a8a772d4f1a25a2e35e0865d80126c51742dbef3183827cc27a9d6215b0401", + "local049_a.csv": "37a03e5c7d30c522122d3a7f27337a8dfc434dcff120081752b4c9d93b67589e", + "local049_b.csv": "cfa61613d11a7d440f235ed1d6eb889a2d1400f35814705c8c6cab12ee690fb8", + "local275_a.csv": "e0ee8bb50685e05fa0f47ed04203ae953fdfd055f5bd2892ea186504254f8c3a", + "local262_a.csv": "0b6ba8593e65101190910b92c997f428d2b21983812c653bd93523f744275518", + "local284_a.csv": "8061781ca5afac30250858521ec1bf3535936424d2ca8ac9214e2b1b003d3d8b", + "local284_b.csv": "d74c6fe8cba88dc43de32cab40d95d197cae6592df11284ebcb593caffe37aae", + "local010.csv": "109bc4ccdeaaccb405d52e5db6fbe1831b5cede629b5aafce07b1f5a4be8c623", + "local335_a.csv": "f5e97947e8060cf4719a2cd9d31f3b40b83d2e96608965de754360b6b415331d", + "local055_a.csv": "ba0ff1a7ced89ad53f8b9da3460f52d36dbb9bdad78c20fc495da0205dc3bfa8", + "local055_b.csv": "2f55f6f8f51a38d3b618ac0db7aa1a603bf42a524626ca48cc64a328aaf18555", + "local344_b.csv": "83604ca169c01568d0db1169d8ee1a54b495a9ed732929c857c7f87f738fc5ad", + "local344_a.csv": "ef99aaf28f3521bc0eb3feb7d5d57175fa83e43a3387391b0242e03154375ad9", + "local311_a.csv": "d7e3e901649bf918fddc98d854d91966fa309ee4b6cbd6b4b6db51a8643e422d", + "local311_b.csv": "8fbc16c5a9509bac26070ecd35b5fb0dfb0b40b153bbbb96d8381d5762c5f4b8", + "local114_a.csv": "c4eba509d8d4e214612b9aae8609c827bb9793033fd59476bb3bf9dd544292e6", + "local114_b.csv": "cdf83c7802e33dc16972004c48b85278cf9ce0982a6d8598128e7a26c3620f26", + "local114_c.csv": "ccca70934b3f6835751ed0fc72152b256b4a001fae72b7123ca9ec133dce5933", + "local114_d.csv": "fe4c1be98c7516d2acb92725459fea2db06b1ce92df4ecbef82e86aaaa2dadab", + "local114_e.csv": "4f2c92129c6e8a85e9887d70f62135ebda47aa7cf25314cfeb5a3b08973243ea", + "local025_a.csv": "6cf18f2a7388ff0181a5c6135af733c613df8bb6faa5fd7ab7d8d7a91e908ddd", + "local025_c.csv": "fc3c1b56cb3fca413c96075be8f2bc4b33e70b00db2da5b55ba1a3a512af930e", + "local025_b.csv": "42c381ef3631f35fd3c14c9d06007dfd793104348b0f0147fd24239f41ccb1d5", + "local025_e.csv": "b5af2f507944864ce133364b125d558ca728fb102edd9a3171fab324baef49af", + "local025_d.csv": "210c10f155318bb8420c16a3e4ff140514c6008de7100f228a239fc6de8c525b" + }, + "gold_config_sha256": "5113ddaea6107492c08a898241a9f69ec99b03bc60d014e9f0b12ec59fa28970", + "cases": [ + { + "instance_id": "local064", + "db": "bank_sales_trading", + "question": "For each customer and each month of 2020, first calculate the month-end balance by adding all deposit amounts and subtracting all withdrawal amounts that occurred during that specific month. Then determine which month in 2020 has the highest count of customers with a positive month-end balance and which month has the lowest count. For each of these two months, compute the average month-end balance across all customers and provide the difference between these two averages", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local073", + "db": "modern_data", + "question": "For each pizza order, provide a single result row with the row ID, order ID, customer ID, pizza name, and final set of ingredients. The final ingredients are determined by starting with the standard toppings from the pizza’s recipe, removing any excluded toppings, and adding any extra toppings. Present the ingredients in a string starting with the pizza name followed by ': ', with ingredients listed in alphabetical order. Ingredients appearing multiple times (e.g., from standard and extra toppings) should be prefixed with '2x' and listed first, followed by single-occurrence ingredients, both in alphabetical order. Group by row ID, order ID, pizza name, and order time to ensure each order appears once. Sort results by row ID in ascending order. Assign pizza_id 1 to 'Meatlovers' pizzas and pizza_id 2 to all others.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local003", + "db": "E_commerce", + "question": "According to the RFM definition document, calculate the average sales per order for each customer within distinct RFM segments, considering only 'delivered' orders. Use the customer unique identifier. Clearly define how to calculate Recency based on the latest purchase timestamp and specify the criteria for classifying RFM segments. The average sales should be computed as the total spend divided by the total number of orders. Please analyze and report the differences in average sales across the RFM segments", + "external_knowledge": "RFM.md", + "document_sha256": "ca6cb781023248ec3d065bd17142c864175741e9dc598c38af613ca2e9ad3556" + }, + { + "instance_id": "local004", + "db": "E_commerce", + "question": "Could you tell me the number of orders, average payment per order and customer lifespan in weeks of the 3 custumers with the highest average payment per order, where the lifespan is calculated by subtracting the earliest purchase date from the latest purchase date in days, dividing by seven, and if the result is less than seven days, setting it to 1.0?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local021", + "db": "IPL", + "question": "Could you calculate the average of the total runs scored by all strikers who have scored more than 50 runs in any single match?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local163", + "db": "education_business", + "question": "Which university faculty members' salaries are closest to the average salary for their respective ranks? Please provide the ranks, first names, last names, and salaries.university", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local310", + "db": "f1", + "question": "Using only the data from the ‘results’ table, find the three years in which the sum of the highest total points earned by any driver and the highest total points earned by any constructor in that year (both calculated by summing up points from the ‘results’ table) is smallest, and list those three years in order of ascending total.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local041", + "db": "modern_data", + "question": "What percentage of trees in the Bronx have a health status of Good?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local062", + "db": "complex_oracle", + "question": "Please group all Italian customers into ten buckets for December 2021 by summing their profits from all products purchased (where profit is calculated as quantity_sold multiplied by the difference between unit_price and unit_cost), then divide the overall range of total monthly profits into ten equal intervals. For each bucket, provide the number of customers, and identify the minimum and maximum total profits within that bucket.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local081", + "db": "northwind", + "question": "Considering only the customers who placed orders in 1998, calculate the total amount each customer spent by summing the unit price multiplied by the quantity of all products in their orders, excluding any discounts. Assign each customer to a spending group based on the customer group thresholds, and determine how many customers are in each spending group and what percentage of the total number of customers who placed orders in 1998 each group represents.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local202", + "db": "city_legislation", + "question": "For alien data, how many of the top 10 states by alien population have a higher percentage of friendly aliens than hostile aliens, with an average alien age exceeding 200?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local096", + "db": "Db-IMDB", + "question": "For each year, calculate the percentage of films that had exclusively female actors (meaning no male actors and no actors with unknown/unspecified gender). Consider actors with gender marked as 'Male' or 'None' as non-female. For the results, display the year, the total number of movies in that year, and the percentage of movies with exclusively female actors. Extract the year from the Movie.year field by taking the last 4 characters and converting to a number.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local279", + "db": "oracle_sql", + "question": "Using a recursive monthly inventory adjustment model starting from December 2018 inventory levels, where we restock a product if its ending inventory drops below the minimum required level, determine for each product the month in 2019 where the absolute difference between its ending inventory and the minimum required level is the smallest, and return the product_id, that month, and the absolute difference.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local264", + "db": "stacking", + "question": "Which model category (L1_model) appears the most frequently across all steps and versions when comparing traditional models to the Stack model, and what is the total count of its occurrences?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local024", + "db": "IPL", + "question": "Can you help me find the top 5 countries whose players have the highest average of their individual average runs per match across all seasons? Specifically, for each player, calculate their average runs per match over all matches they played, then compute the average of these player averages for each country, and include these country batting averages in the result.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local218", + "db": "EU_soccer", + "question": "Can you calculate the median from the highest season goals of each team?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local072", + "db": "city_legislation", + "question": "Identify the country with data inserted on nine different days in January 2022. Then, find the longest consecutive period with data insertions for this country during January 2022, and calculate the proportion of entries that are from its capital city within this longest consecutive insertion period.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local194", + "db": "sqlite-sakila", + "question": "Please provide a list of the top three revenue-generating films for each actor, along with the average revenue per actor in those films, calculated by dividing the total film revenue equally among the actors for each film.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local029", + "db": "Brazilian_E_Commerce", + "question": "Please identify the top three customers, based on their customer_unique_id, who have the highest number of delivered orders, and provide the average payment value, city, and state for each of these customers.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local335", + "db": "f1", + "question": "In Formula 1 seasons since 2001, considering only drivers who scored points in a season, which five constructors have had the most seasons where their drivers scored the fewest total points among all point-scoring drivers in that season?", + "external_knowledge": null, + "document_sha256": null + } + ], + "suite": "spider2", + "development_ids": [ + "local163", + "local081", + "local310", + "local194", + "local024", + "local096", + "local073", + "local064", + "local029", + "local335", + "local279", + "local264", + "local072", + "local202", + "local004", + "local062", + "local003", + "local021", + "local041", + "local218" + ], + "holdout_ids": [ + "local356", + "local210", + "local197", + "local283", + "local063", + "local128", + "local040", + "local272", + "local023", + "local157", + "local274", + "local035", + "local056", + "local228", + "local253", + "local358", + "local360", + "local132", + "local061", + "local114", + "local244", + "local259", + "local299", + "local031", + "local171", + "local302", + "local028", + "local301", + "local010", + "local100", + "local131", + "local133", + "local355", + "local059", + "local198", + "local065", + "local270", + "local015", + "local311", + "local330", + "local229", + "local219", + "local329", + "local058", + "local269", + "local019", + "local037", + "local009", + "local300", + "local298", + "local002", + "local230", + "local354", + "local020", + "local085", + "local336", + "local275", + "local297", + "local196", + "local099", + "local209", + "local195", + "local039", + "local201", + "local026", + "local034", + "local066", + "local098", + "local032", + "local007", + "local060", + "local078", + "local008", + "local055", + "local070", + "local141", + "local054", + "local286", + "local193", + "local068", + "local331", + "local263", + "local258", + "local220", + "local049", + "local221", + "local168", + "local018", + "local273", + "local130", + "local038", + "local284", + "local071", + "local212", + "local074", + "local075", + "local277", + "local167", + "local344", + "local152", + "local025", + "local262", + "local156", + "local050", + "local067", + "local077", + "local022", + "local170", + "local097", + "local199", + "local169", + "local030", + "local017", + "local285", + "local309" + ], + "split_seed": 20261126 +} diff --git a/bench/accuracy/results/spider-development-final/settings.json b/bench/accuracy/results/spider-development-final/settings.json new file mode 100644 index 00000000..f7ea4aa4 --- /dev/null +++ b/bench/accuracy/results/spider-development-final/settings.json @@ -0,0 +1,42 @@ +{ + "profiles": [ + { + "name": "gpt62-sol", + "model": "openai/gpt-6.2-sol", + "api_key_env": "OPEN_AI_KEY", + "max_output_tokens": 8192, + "reasoning_effort": "high", + "transport_retries": 1, + "retry_delay_seconds": 1 + } + ], + "split": "development", + "product_commit": "4e1b48a", + "manifest_sha256": "2383837d49bc0085d0543840efee195505cb94c39e5374e8069c8f5513ecc4a0", + "sources": { + "bench/ecommerce_demo.py": "f75f4c82e07773a57ee1954d59f0acf35c9eb945430bdaea4ccdd98a35dcc86c", + "bench/oracle_demo.py": "c781b9501dea47b7900bb47e3fe41e2700d2153e85e087dce757f95e3e698b0e", + "bench/oracle_view/rehearse.py": "0114ce65327e435d4e3be6cab60e22b48bfb3ff7f06d97c14a16ea0d8e5602f2", + "bench/oracle_view/long_context.py": "089038788a9b4191946c906e470877bd246850d0a6d535809594a0bddfdcd47e", + "bench/oracle_view/codex_demo.py": "2eea87d833ca6a73a50255fa83927c6c560e2390df6c65e217263b2d3bb966c6", + "bench/oracle_view/summarize_context.py": "707b288be6637a7c8a45b957ef44a81cfb091c7fa5b249e9407a2a9b07e66626", + "bench/oracle_view/evaluate.py": "10685e37fbb2420242ebf5f88f988f3d5bccebc45465151f53ab8454e8fb5a3c", + "bench/oracle_co/session.py": "ff839e7497d9e06ca18a248993bac3c556d256ade7311c604d1f55926c195acb", + "bench/oracle_co/demo.py": "a8ac981bb35d0d77595b2441721cde4e458fb63c3fb7c1748a14bab4a187300a", + "bench/oracle_co/db_preview.py": "9a08766183d5f9542442ba41666d998fe024926e676799ffac5d751237ee0d64", + "bench/accuracy/evaluate.py": "fb63626cf53df8545262ed75284adf2d78d64cbda5f80543661c4a6c2f51bac7", + "bench/oracle_meeting/rehearse.py": "542664b6f04ae6a9606735b550fc2ce2f50df6fc0513384ebf4c654136974cd3", + "bench/oracle_meeting/codex_rehearse.py": "cfa84091da819ab1cb71d083c3ff77cc7fd79b8560de2108626e6d4c3bd8a3aa", + "bench/oracle_meeting/package_fault.py": "c7bb3552f167bafcbc084152deb66e187b3a6fa4de3dfed92cc00c7588bc1fe2", + "bench/spider2/providers.py": "56dec4b5de751acb31a686a2ec6a279be9a8be32dc7939d20487ec428d130aef", + "bench/spider2/evaluate.py": "e69628766439b40d4a524d9a23890b9399dd4357f4550fac5ae72f74c2bc91f7" + }, + "limits": { + "max_calls": 16, + "call_timeout": 180, + "case_timeout": 900, + "sql_timeout": 30, + "max_rows": 100000, + "concurrency": 4 + } +} diff --git a/bench/accuracy/results/spider-development-final/summary.json b/bench/accuracy/results/spider-development-final/summary.json new file mode 100644 index 00000000..b6691c42 --- /dev/null +++ b/bench/accuracy/results/spider-development-final/summary.json @@ -0,0 +1,20 @@ +[ + { + "profile": "gpt62-sol", + "status": "completed", + "correct": 10, + "total": 20, + "accuracy": 0.5, + "failed_predictions": 1, + "failure_types": { + "ValueError": 1 + }, + "api_calls": 95, + "seconds": 677.4601834162604, + "wall_seconds": 203.45982200000435, + "prompt_tokens": 263261, + "completion_tokens": 26868, + "usage_missing_calls": 0, + "cost_usd": null + } +] diff --git a/bench/accuracy/results/spider-development-v1/gpt62-sol/records.jsonl b/bench/accuracy/results/spider-development-v1/gpt62-sol/records.jsonl new file mode 100644 index 00000000..34c7bc1f --- /dev/null +++ b/bench/accuracy/results/spider-development-v1/gpt62-sol/records.jsonl @@ -0,0 +1,20 @@ +{"instance_id": "local003", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH payment_totals AS (\n -- Sum all payment rows before joining, so each delivered order counts once.\n SELECT order_id, SUM(payment_value) AS order_spend\n FROM order_payments\n GROUP BY order_id\n), customer_totals AS (\n -- Use all available delivered orders. Keep orders with no recorded payment\n -- in the denominator and flag them; they add nothing to recorded spend.\n SELECT c.customer_unique_id,\n MAX(o.order_purchase_timestamp) AS last_purchase_timestamp,\n COUNT(*) AS order_count,\n ROUND(SUM(COALESCE(p.order_spend, 0.0)), 2) AS total_spend,\n SUM(p.order_spend IS NULL) AS orders_without_payment\n FROM orders AS o\n JOIN customers AS c ON c.customer_id = o.customer_id\n LEFT JOIN payment_totals AS p ON p.order_id = o.order_id\n WHERE o.order_status = 'delivered'\n AND c.customer_unique_id IS NOT NULL\n GROUP BY c.customer_unique_id\n), reference_date AS (\n SELECT MAX(last_purchase_timestamp) AS as_of_timestamp\n FROM customer_totals\n), customer_rfm AS (\n -- Recency is elapsed days from the customer's latest delivered purchase\n -- to the latest delivered purchase timestamp in the analysis population.\n SELECT c.*, d.as_of_timestamp,\n JULIANDAY(d.as_of_timestamp) - JULIANDAY(c.last_purchase_timestamp) AS recency_days\n FROM customer_totals AS c\n CROSS JOIN reference_date AS d\n), percentiles AS (\n -- Rank best to worst. CUME_DIST keeps ties together at the upper end\n -- of their percentile range; not all five scores need to be populated.\n SELECT *,\n CUME_DIST() OVER (ORDER BY recency_days ASC) AS r_pct,\n CUME_DIST() OVER (ORDER BY order_count DESC) AS f_pct,\n CUME_DIST() OVER (ORDER BY total_spend DESC) AS m_pct\n FROM customer_rfm\n), scores AS (\n -- 1 = best 20%; then 2, 3, 4, and 5 at successive 20-point cutoffs.\n SELECT *,\n 1 + (r_pct > 0.2) + (r_pct > 0.4) + (r_pct > 0.6) + (r_pct > 0.8) AS r_score,\n 1 + (f_pct > 0.2) + (f_pct > 0.4) + (f_pct > 0.6) + (f_pct > 0.8) AS f_score,\n 1 + (m_pct > 0.2) + (m_pct > 0.4) + (m_pct > 0.6) + (m_pct > 0.8) AS m_score\n FROM percentiles\n), cells AS (\n SELECT *, r_score || f_score || m_score AS rfm_cell,\n f_score + m_score AS fm_score\n FROM scores\n), segmented AS (\n SELECT *, CASE\n WHEN r_score = 1 AND fm_score BETWEEN 1 AND 4 THEN 'Champions'\n WHEN r_score IN (4, 5) AND fm_score BETWEEN 1 AND 2 THEN 'Can''t Lose Them'\n WHEN r_score IN (4, 5) AND fm_score BETWEEN 3 AND 6 THEN 'Hibernating'\n WHEN r_score IN (4, 5) AND fm_score BETWEEN 7 AND 10 THEN 'Lost'\n WHEN r_score IN (2, 3) AND fm_score BETWEEN 1 AND 4 THEN 'Loyal Customers'\n WHEN r_score = 3 AND fm_score BETWEEN 5 AND 6 THEN 'Needs Attention'\n WHEN r_score = 1 AND fm_score BETWEEN 7 AND 8 THEN 'Recent Users'\n WHEN (r_score = 1 AND fm_score BETWEEN 5 AND 6)\n OR (r_score = 2 AND fm_score BETWEEN 5 AND 8) THEN 'Potential Loyalists'\n WHEN r_score = 1 AND fm_score BETWEEN 9 AND 10 THEN 'Price Sensitive'\n WHEN r_score = 2 AND fm_score BETWEEN 9 AND 10 THEN 'Promising'\n WHEN r_score = 3 AND fm_score BETWEEN 7 AND 10 THEN 'About to Sleep'\n ELSE 'Unclassified'\n END AS rfm_segment\n FROM cells\n), segment_totals AS (\n SELECT rfm_segment,\n COUNT(*) AS segment_customer_count,\n SUM(order_count) AS segment_order_count,\n SUM(total_spend) AS segment_total_spend,\n SUM(orders_without_payment) AS segment_orders_without_payment\n FROM segmented\n GROUP BY rfm_segment\n), segment_comparison AS (\n -- Segment and overall averages are order-weighted: spend / order count.\n SELECT *,\n segment_total_spend / NULLIF(segment_order_count, 0) AS segment_avg,\n SUM(segment_total_spend) OVER () / NULLIF(SUM(segment_order_count) OVER (), 0) AS overall_avg,\n DENSE_RANK() OVER (\n ORDER BY segment_total_spend / NULLIF(segment_order_count, 0) DESC\n ) AS segment_rank\n FROM segment_totals\n)\nSELECT c.customer_unique_id,\n c.rfm_segment, c.rfm_cell, c.r_score, c.f_score, c.m_score,\n c.last_purchase_timestamp, c.as_of_timestamp,\n ROUND(c.recency_days, 2) AS recency_days,\n c.order_count, c.total_spend, c.orders_without_payment,\n ROUND(c.total_spend / NULLIF(c.order_count, 0), 2) AS customer_avg_sales_per_order,\n s.segment_customer_count, s.segment_order_count,\n ROUND(s.segment_total_spend, 2) AS segment_total_spend,\n s.segment_orders_without_payment,\n ROUND(s.segment_avg, 2) AS segment_avg_sales_per_order,\n ROUND(s.overall_avg, 2) AS overall_avg_sales_per_order,\n ROUND(s.segment_avg - s.overall_avg, 2) AS segment_avg_difference_vs_overall,\n s.segment_rank AS segment_rank_by_avg_sales_per_order\nFROM segmented AS c\nJOIN segment_comparison AS s ON s.rfm_segment = c.rfm_segment\nORDER BY s.segment_rank, c.rfm_segment, c.customer_unique_id;\n```", "rows": 93358, "sql": "WITH payment_totals AS (\n -- Sum all payment rows before joining, so each delivered order counts once.\n SELECT order_id, SUM(payment_value) AS order_spend\n FROM order_payments\n GROUP BY order_id\n), customer_totals AS (\n -- Use all available delivered orders. Keep orders with no recorded payment\n -- in the denominator and flag them; they add nothing to recorded spend.\n SELECT c.customer_unique_id,\n MAX(o.order_purchase_timestamp) AS last_purchase_timestamp,\n COUNT(*) AS order_count,\n ROUND(SUM(COALESCE(p.order_spend, 0.0)), 2) AS total_spend,\n SUM(p.order_spend IS NULL) AS orders_without_payment\n FROM orders AS o\n JOIN customers AS c ON c.customer_id = o.customer_id\n LEFT JOIN payment_totals AS p ON p.order_id = o.order_id\n WHERE o.order_status = 'delivered'\n AND c.customer_unique_id IS NOT NULL\n GROUP BY c.customer_unique_id\n), reference_date AS (\n SELECT MAX(last_purchase_timestamp) AS as_of_timestamp\n FROM customer_totals\n), customer_rfm AS (\n -- Recency is elapsed days from the customer's latest delivered purchase\n -- to the latest delivered purchase timestamp in the analysis population.\n SELECT c.*, d.as_of_timestamp,\n JULIANDAY(d.as_of_timestamp) - JULIANDAY(c.last_purchase_timestamp) AS recency_days\n FROM customer_totals AS c\n CROSS JOIN reference_date AS d\n), percentiles AS (\n -- Rank best to worst. CUME_DIST keeps ties together at the upper end\n -- of their percentile range; not all five scores need to be populated.\n SELECT *,\n CUME_DIST() OVER (ORDER BY recency_days ASC) AS r_pct,\n CUME_DIST() OVER (ORDER BY order_count DESC) AS f_pct,\n CUME_DIST() OVER (ORDER BY total_spend DESC) AS m_pct\n FROM customer_rfm\n), scores AS (\n -- 1 = best 20%; then 2, 3, 4, and 5 at successive 20-point cutoffs.\n SELECT *,\n 1 + (r_pct > 0.2) + (r_pct > 0.4) + (r_pct > 0.6) + (r_pct > 0.8) AS r_score,\n 1 + (f_pct > 0.2) + (f_pct > 0.4) + (f_pct > 0.6) + (f_pct > 0.8) AS f_score,\n 1 + (m_pct > 0.2) + (m_pct > 0.4) + (m_pct > 0.6) + (m_pct > 0.8) AS m_score\n FROM percentiles\n), cells AS (\n SELECT *, r_score || f_score || m_score AS rfm_cell,\n f_score + m_score AS fm_score\n FROM scores\n), segmented AS (\n SELECT *, CASE\n WHEN r_score = 1 AND fm_score BETWEEN 1 AND 4 THEN 'Champions'\n WHEN r_score IN (4, 5) AND fm_score BETWEEN 1 AND 2 THEN 'Can''t Lose Them'\n WHEN r_score IN (4, 5) AND fm_score BETWEEN 3 AND 6 THEN 'Hibernating'\n WHEN r_score IN (4, 5) AND fm_score BETWEEN 7 AND 10 THEN 'Lost'\n WHEN r_score IN (2, 3) AND fm_score BETWEEN 1 AND 4 THEN 'Loyal Customers'\n WHEN r_score = 3 AND fm_score BETWEEN 5 AND 6 THEN 'Needs Attention'\n WHEN r_score = 1 AND fm_score BETWEEN 7 AND 8 THEN 'Recent Users'\n WHEN (r_score = 1 AND fm_score BETWEEN 5 AND 6)\n OR (r_score = 2 AND fm_score BETWEEN 5 AND 8) THEN 'Potential Loyalists'\n WHEN r_score = 1 AND fm_score BETWEEN 9 AND 10 THEN 'Price Sensitive'\n WHEN r_score = 2 AND fm_score BETWEEN 9 AND 10 THEN 'Promising'\n WHEN r_score = 3 AND fm_score BETWEEN 7 AND 10 THEN 'About to Sleep'\n ELSE 'Unclassified'\n END AS rfm_segment\n FROM cells\n), segment_totals AS (\n SELECT rfm_segment,\n COUNT(*) AS segment_customer_count,\n SUM(order_count) AS segment_order_count,\n SUM(total_spend) AS segment_total_spend,\n SUM(orders_without_payment) AS segment_orders_without_payment\n FROM segmented\n GROUP BY rfm_segment\n), segment_comparison AS (\n -- Segment and overall averages are order-weighted: spend / order count.\n SELECT *,\n segment_total_spend / NULLIF(segment_order_count, 0) AS segment_avg,\n SUM(segment_total_spend) OVER () / NULLIF(SUM(segment_order_count) OVER (), 0) AS overall_avg,\n DENSE_RANK() OVER (\n ORDER BY segment_total_spend / NULLIF(segment_order_count, 0) DESC\n ) AS segment_rank\n FROM segment_totals\n)\nSELECT c.customer_unique_id,\n c.rfm_segment, c.rfm_cell, c.r_score, c.f_score, c.m_score,\n c.last_purchase_timestamp, c.as_of_timestamp,\n ROUND(c.recency_days, 2) AS recency_days,\n c.order_count, c.total_spend, c.orders_without_payment,\n ROUND(c.total_spend / NULLIF(c.order_count, 0), 2) AS customer_avg_sales_per_order,\n s.segment_customer_count, s.segment_order_count,\n ROUND(s.segment_total_spend, 2) AS segment_total_spend,\n s.segment_orders_without_payment,\n ROUND(s.segment_avg, 2) AS segment_avg_sales_per_order,\n ROUND(s.overall_avg, 2) AS overall_avg_sales_per_order,\n ROUND(s.segment_avg - s.overall_avg, 2) AS segment_avg_difference_vs_overall,\n s.segment_rank AS segment_rank_by_avg_sales_per_order\nFROM segmented AS c\nJOIN segment_comparison AS s ON s.rfm_segment = c.rfm_segment\nORDER BY s.segment_rank, c.rfm_segment, c.customer_unique_id;", "seconds": 84.99894004093949, "calls": [{"seconds": 5.632634249981493, "usage": {"completion_tokens": 81, "prompt_tokens": 2861, "total_tokens": 2942, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 2437, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 2437, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 2437, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 21.922656000009738, "usage": {"completion_tokens": 951, "prompt_tokens": 3139, "total_tokens": 4090, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 752, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 2437, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 35.322737958980724, "usage": {"completion_tokens": 2077, "prompt_tokens": 4358, "total_tokens": 6435, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 635, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1219, "cached_tokens": 2715, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1219, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1219, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 17.23907600005623, "usage": {"completion_tokens": 1381, "prompt_tokens": 8299, "total_tokens": 9680, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 18, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 3941, "cached_tokens": 3934, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 3941, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 3941, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "52f7b881e013c854963620600de65ce2c526f1a6a73f8faf927965d7f7271400", "csv_sha256": "59ccdd75aa832f5d3ec6c19a5fc237eace5170fc9a8fcc91dc6ec5707482b5cd"} +{"instance_id": "local004", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH order_payment_totals AS (\n SELECT order_id, SUM(payment_value) AS total_payment\n FROM order_payments\n GROUP BY order_id\n), customer_stats AS (\n SELECT c.customer_unique_id,\n COUNT(*) AS number_of_orders,\n SUM(p.total_payment) / COUNT(*) AS average_payment_per_order,\n JULIANDAY(MAX(o.order_purchase_timestamp)) -\n JULIANDAY(MIN(o.order_purchase_timestamp)) AS lifespan_days\n FROM orders AS o\n JOIN customers AS c ON c.customer_id = o.customer_id\n LEFT JOIN order_payment_totals AS p ON p.order_id = o.order_id\n GROUP BY c.customer_unique_id\n HAVING SUM(p.total_payment) IS NOT NULL\n)\nSELECT customer_unique_id,\n number_of_orders,\n average_payment_per_order,\n CASE WHEN lifespan_days < 7.0 THEN 1.0\n ELSE lifespan_days / 7.0\n END AS customer_lifespan_weeks\nFROM customer_stats\nORDER BY average_payment_per_order DESC, customer_unique_id\nLIMIT 3;\n```", "rows": 3, "sql": "WITH order_payment_totals AS (\n SELECT order_id, SUM(payment_value) AS total_payment\n FROM order_payments\n GROUP BY order_id\n), customer_stats AS (\n SELECT c.customer_unique_id,\n COUNT(*) AS number_of_orders,\n SUM(p.total_payment) / COUNT(*) AS average_payment_per_order,\n JULIANDAY(MAX(o.order_purchase_timestamp)) -\n JULIANDAY(MIN(o.order_purchase_timestamp)) AS lifespan_days\n FROM orders AS o\n JOIN customers AS c ON c.customer_id = o.customer_id\n LEFT JOIN order_payment_totals AS p ON p.order_id = o.order_id\n GROUP BY c.customer_unique_id\n HAVING SUM(p.total_payment) IS NOT NULL\n)\nSELECT customer_unique_id,\n number_of_orders,\n average_payment_per_order,\n CASE WHEN lifespan_days < 7.0 THEN 1.0\n ELSE lifespan_days / 7.0\n END AS customer_lifespan_weeks\nFROM customer_stats\nORDER BY average_payment_per_order DESC, customer_unique_id\nLIMIT 3;", "seconds": 25.30637508397922, "calls": [{"seconds": 5.642587375012226, "usage": {"completion_tokens": 67, "prompt_tokens": 1546, "total_tokens": 1613, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1122, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1122, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1122, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 11.599819457973354, "usage": {"completion_tokens": 580, "prompt_tokens": 1782, "total_tokens": 2362, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 324, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 236, "cached_tokens": 1122, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 236, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 236, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 4.972100249957293, "usage": {"completion_tokens": 234, "prompt_tokens": 2734, "total_tokens": 2968, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 952, "cached_tokens": 1358, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 952, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 952, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9a75caf652790cfa687ff0fb774b51c1da81be3b2e3c2c5b91eee7f0cc5eacd3", "csv_sha256": "b17b2cafc3a8a5c80421376daf1335cde1048a3682352357cefb9aa2bd6a4fed"} +{"instance_id": "local021", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH striker_match_runs AS (\n SELECT b.striker, b.match_id, SUM(s.runs_scored) AS match_runs\n FROM ball_by_ball AS b\n JOIN batsman_scored AS s\n ON s.match_id = b.match_id\n AND s.innings_no = b.innings_no\n AND s.over_id = b.over_id\n AND s.ball_id = b.ball_id\n WHERE b.striker IS NOT NULL\n GROUP BY b.striker, b.match_id\n), qualifying_striker_totals AS (\n SELECT striker, SUM(match_runs) AS total_runs\n FROM striker_match_runs\n GROUP BY striker\n HAVING MAX(match_runs) > 50\n)\nSELECT AVG(total_runs) AS average_total_runs\nFROM qualifying_striker_totals;\n```", "rows": 1, "sql": "WITH striker_match_runs AS (\n SELECT b.striker, b.match_id, SUM(s.runs_scored) AS match_runs\n FROM ball_by_ball AS b\n JOIN batsman_scored AS s\n ON s.match_id = b.match_id\n AND s.innings_no = b.innings_no\n AND s.over_id = b.over_id\n AND s.ball_id = b.ball_id\n WHERE b.striker IS NOT NULL\n GROUP BY b.striker, b.match_id\n), qualifying_striker_totals AS (\n SELECT striker, SUM(match_runs) AS total_runs\n FROM striker_match_runs\n GROUP BY striker\n HAVING MAX(match_runs) > 50\n)\nSELECT AVG(total_runs) AS average_total_runs\nFROM qualifying_striker_totals;", "seconds": 12.675416458048858, "calls": [{"seconds": 3.029039249988273, "usage": {"completion_tokens": 70, "prompt_tokens": 1490, "total_tokens": 1560, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1075, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1075, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1075, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 5.254456124966964, "usage": {"completion_tokens": 226, "prompt_tokens": 1734, "total_tokens": 1960, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 38, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 244, "cached_tokens": 1075, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 244, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 244, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 4.244393041008152, "usage": {"completion_tokens": 174, "prompt_tokens": 2160, "total_tokens": 2334, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 426, "cached_tokens": 1319, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 426, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 426, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8c2ca268d0ce36cf02cb37a652d313405fd0e7754d40b564ff708d13485d79c3", "csv_sha256": "88bf0f7b9192711976006e104341ed38903ce346d26b929784dca265916621a8"} +{"instance_id": "local024", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH appearances AS (\n SELECT DISTINCT player_id, match_id\n FROM player_match\n), match_runs AS (\n SELECT b.striker AS player_id,\n b.match_id,\n SUM(s.runs_scored) AS runs\n FROM ball_by_ball AS b\n JOIN batsman_scored AS s\n ON s.match_id = b.match_id\n AND s.innings_no = b.innings_no\n AND s.over_id = b.over_id\n AND s.ball_id = b.ball_id\n GROUP BY b.striker, b.match_id\n), player_averages AS (\n SELECT a.player_id,\n AVG(COALESCE(r.runs, 0)) AS avg_runs_per_match\n FROM appearances AS a\n LEFT JOIN match_runs AS r\n ON r.player_id = a.player_id\n AND r.match_id = a.match_id\n GROUP BY a.player_id\n)\nSELECT p.country_name,\n AVG(pa.avg_runs_per_match) AS country_batting_average\nFROM player_averages AS pa\nJOIN player AS p ON p.player_id = pa.player_id\nWHERE p.country_name IS NOT NULL\nGROUP BY p.country_name\nORDER BY country_batting_average DESC, p.country_name ASC\nLIMIT 5;\n```", "rows": 5, "sql": "WITH appearances AS (\n SELECT DISTINCT player_id, match_id\n FROM player_match\n), match_runs AS (\n SELECT b.striker AS player_id,\n b.match_id,\n SUM(s.runs_scored) AS runs\n FROM ball_by_ball AS b\n JOIN batsman_scored AS s\n ON s.match_id = b.match_id\n AND s.innings_no = b.innings_no\n AND s.over_id = b.over_id\n AND s.ball_id = b.ball_id\n GROUP BY b.striker, b.match_id\n), player_averages AS (\n SELECT a.player_id,\n AVG(COALESCE(r.runs, 0)) AS avg_runs_per_match\n FROM appearances AS a\n LEFT JOIN match_runs AS r\n ON r.player_id = a.player_id\n AND r.match_id = a.match_id\n GROUP BY a.player_id\n)\nSELECT p.country_name,\n AVG(pa.avg_runs_per_match) AS country_batting_average\nFROM player_averages AS pa\nJOIN player AS p ON p.player_id = pa.player_id\nWHERE p.country_name IS NOT NULL\nGROUP BY p.country_name\nORDER BY country_batting_average DESC, p.country_name ASC\nLIMIT 5;", "seconds": 15.039426249917597, "calls": [{"seconds": 3.107411124976352, "usage": {"completion_tokens": 87, "prompt_tokens": 1530, "total_tokens": 1617, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1115, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1115, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1115, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 6.414606750011444, "usage": {"completion_tokens": 342, "prompt_tokens": 1852, "total_tokens": 2194, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 52, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 322, "cached_tokens": 1115, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 322, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 322, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 5.354672124958597, "usage": {"completion_tokens": 271, "prompt_tokens": 2543, "total_tokens": 2814, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 691, "cached_tokens": 1437, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 691, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 691, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "386e9b2942863f92e378d1a6977db70c0371352efecbfaa0c60e7477e01ddbbd", "csv_sha256": "d2b419f6ccb842c7a9f8fbee56796590a1cd65202a6bfc66efd074ab91fde020"} +{"instance_id": "local029", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH delivered_orders AS (\n SELECT o.order_id, o.order_purchase_timestamp,\n c.customer_unique_id, c.customer_city, c.customer_state\n FROM olist_orders AS o\n JOIN olist_customers AS c ON c.customer_id = o.customer_id\n WHERE o.order_status = 'delivered'\n), top_customers AS (\n SELECT customer_unique_id, COUNT(DISTINCT order_id) AS delivered_order_count\n FROM delivered_orders\n GROUP BY customer_unique_id\n ORDER BY delivered_order_count DESC, customer_unique_id\n LIMIT 3\n), payment_averages AS (\n SELECT d.customer_unique_id, AVG(p.payment_value) AS average_payment_value\n FROM delivered_orders AS d\n JOIN top_customers AS t ON t.customer_unique_id = d.customer_unique_id\n JOIN olist_order_payments AS p ON p.order_id = d.order_id\n GROUP BY d.customer_unique_id\n), ranked_locations AS (\n SELECT d.customer_unique_id, d.customer_city, d.customer_state,\n ROW_NUMBER() OVER (\n PARTITION BY d.customer_unique_id\n ORDER BY d.order_purchase_timestamp DESC, d.order_id DESC\n ) AS location_rank\n FROM delivered_orders AS d\n JOIN top_customers AS t ON t.customer_unique_id = d.customer_unique_id\n)\nSELECT t.customer_unique_id, t.delivered_order_count, p.average_payment_value,\n l.customer_city, l.customer_state\nFROM top_customers AS t\nLEFT JOIN payment_averages AS p ON p.customer_unique_id = t.customer_unique_id\nJOIN ranked_locations AS l\n ON l.customer_unique_id = t.customer_unique_id AND l.location_rank = 1\nORDER BY t.delivered_order_count DESC, t.customer_unique_id;\n```", "rows": 3, "sql": "WITH delivered_orders AS (\n SELECT o.order_id, o.order_purchase_timestamp,\n c.customer_unique_id, c.customer_city, c.customer_state\n FROM olist_orders AS o\n JOIN olist_customers AS c ON c.customer_id = o.customer_id\n WHERE o.order_status = 'delivered'\n), top_customers AS (\n SELECT customer_unique_id, COUNT(DISTINCT order_id) AS delivered_order_count\n FROM delivered_orders\n GROUP BY customer_unique_id\n ORDER BY delivered_order_count DESC, customer_unique_id\n LIMIT 3\n), payment_averages AS (\n SELECT d.customer_unique_id, AVG(p.payment_value) AS average_payment_value\n FROM delivered_orders AS d\n JOIN top_customers AS t ON t.customer_unique_id = d.customer_unique_id\n JOIN olist_order_payments AS p ON p.order_id = d.order_id\n GROUP BY d.customer_unique_id\n), ranked_locations AS (\n SELECT d.customer_unique_id, d.customer_city, d.customer_state,\n ROW_NUMBER() OVER (\n PARTITION BY d.customer_unique_id\n ORDER BY d.order_purchase_timestamp DESC, d.order_id DESC\n ) AS location_rank\n FROM delivered_orders AS d\n JOIN top_customers AS t ON t.customer_unique_id = d.customer_unique_id\n)\nSELECT t.customer_unique_id, t.delivered_order_count, p.average_payment_value,\n l.customer_city, l.customer_state\nFROM top_customers AS t\nLEFT JOIN payment_averages AS p ON p.customer_unique_id = t.customer_unique_id\nJOIN ranked_locations AS l\n ON l.customer_unique_id = t.customer_unique_id AND l.location_rank = 1\nORDER BY t.delivered_order_count DESC, t.customer_unique_id;", "seconds": 25.614949792041443, "calls": [{"seconds": 2.459332500002347, "usage": {"completion_tokens": 71, "prompt_tokens": 1527, "total_tokens": 1598, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1088, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1088, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1088, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 15.569499917095527, "usage": {"completion_tokens": 669, "prompt_tokens": 1774, "total_tokens": 2443, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 275, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 247, "cached_tokens": 1088, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 247, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 247, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 6.0665732910856605, "usage": {"completion_tokens": 373, "prompt_tokens": 2963, "total_tokens": 3336, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1189, "cached_tokens": 1335, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1189, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1189, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e8f4216d154578d9cfa65685bf36fdf032b3e592644a9dbbee1a63e5293c7beb", "csv_sha256": "a3512144a05805bcf6c1db94100524d0652e01c6abf9c321408b28d2476e1b82"} +{"instance_id": "local041", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT 100.0 * COUNT(CASE WHEN health = 'Good' THEN 1 END) / COUNT(*) AS good_health_percentage\nFROM trees\nWHERE boroname = 'Bronx';\n```", "rows": 1, "sql": "SELECT 100.0 * COUNT(CASE WHEN health = 'Good' THEN 1 END) / COUNT(*) AS good_health_percentage\nFROM trees\nWHERE boroname = 'Bronx';", "seconds": 7.844957957975566, "calls": [{"seconds": 2.4590273330686614, "usage": {"completion_tokens": 19, "prompt_tokens": 1519, "total_tokens": 1538, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1062, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1062, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1062, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 2.842008791049011, "usage": {"completion_tokens": 57, "prompt_tokens": 1647, "total_tokens": 1704, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 128, "cached_tokens": 1062, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 128, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 128, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 2.4241307500051335, "usage": {"completion_tokens": 48, "prompt_tokens": 1778, "total_tokens": 1826, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 131, "cached_tokens": 1190, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 131, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 131, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "52341a53256180050f77352045c7314c4fdb253226ec8681d6e78fdaf7d86cfa", "csv_sha256": "46d8603235975c6926bcbbcf810bcf4720fcbbae983ddd937510459e151ea70f"} +{"instance_id": "local062", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE\nbuckets(bucket) AS (\n VALUES (1)\n UNION ALL\n SELECT bucket + 1 FROM buckets WHERE bucket < 10\n),\nitalian_customers AS (\n SELECT DISTINCT c.cust_id\n FROM customers AS c\n JOIN countries AS co ON co.country_id = c.country_id\n WHERE co.country_iso_code = 'IT'\n),\ndecember_sales AS MATERIALIZED (\n SELECT cust_id, prod_id, time_id, channel_id, promo_id, quantity_sold\n FROM sales\n WHERE time_id >= '2021-12-01' AND time_id < '2022-01-01'\n),\ndecember_costs AS MATERIALIZED (\n SELECT prod_id, time_id, channel_id, promo_id, unit_price, unit_cost\n FROM costs\n WHERE time_id >= '2021-12-01' AND time_id < '2022-01-01'\n),\ncustomer_profits AS (\n SELECT i.cust_id,\n COALESCE(SUM(s.quantity_sold * (d.unit_price - d.unit_cost)), 0.0) AS total_profit\n FROM italian_customers AS i\n LEFT JOIN december_sales AS s ON s.cust_id = i.cust_id\n LEFT JOIN december_costs AS d\n ON d.prod_id = s.prod_id\n AND d.time_id = s.time_id\n AND d.channel_id = s.channel_id\n AND d.promo_id = s.promo_id\n GROUP BY i.cust_id\n),\nprofit_range AS (\n SELECT MIN(total_profit) AS min_profit, MAX(total_profit) AS max_profit\n FROM customer_profits\n),\nassigned AS (\n SELECT p.cust_id, p.total_profit,\n CASE\n WHEN r.min_profit = r.max_profit THEN 1\n ELSE MIN(10, 1 + CAST(10.0 * (p.total_profit - r.min_profit)\n / (r.max_profit - r.min_profit) AS INTEGER))\n END AS bucket\n FROM customer_profits AS p\n CROSS JOIN profit_range AS r\n)\nSELECT b.bucket,\n COUNT(a.cust_id) AS customer_count,\n MIN(a.total_profit) AS min_total_profit,\n MAX(a.total_profit) AS max_total_profit\nFROM buckets AS b\nLEFT JOIN assigned AS a ON a.bucket = b.bucket\nGROUP BY b.bucket\nORDER BY b.bucket;\n```", "rows": 10, "sql": "WITH RECURSIVE\nbuckets(bucket) AS (\n VALUES (1)\n UNION ALL\n SELECT bucket + 1 FROM buckets WHERE bucket < 10\n),\nitalian_customers AS (\n SELECT DISTINCT c.cust_id\n FROM customers AS c\n JOIN countries AS co ON co.country_id = c.country_id\n WHERE co.country_iso_code = 'IT'\n),\ndecember_sales AS MATERIALIZED (\n SELECT cust_id, prod_id, time_id, channel_id, promo_id, quantity_sold\n FROM sales\n WHERE time_id >= '2021-12-01' AND time_id < '2022-01-01'\n),\ndecember_costs AS MATERIALIZED (\n SELECT prod_id, time_id, channel_id, promo_id, unit_price, unit_cost\n FROM costs\n WHERE time_id >= '2021-12-01' AND time_id < '2022-01-01'\n),\ncustomer_profits AS (\n SELECT i.cust_id,\n COALESCE(SUM(s.quantity_sold * (d.unit_price - d.unit_cost)), 0.0) AS total_profit\n FROM italian_customers AS i\n LEFT JOIN december_sales AS s ON s.cust_id = i.cust_id\n LEFT JOIN december_costs AS d\n ON d.prod_id = s.prod_id\n AND d.time_id = s.time_id\n AND d.channel_id = s.channel_id\n AND d.promo_id = s.promo_id\n GROUP BY i.cust_id\n),\nprofit_range AS (\n SELECT MIN(total_profit) AS min_profit, MAX(total_profit) AS max_profit\n FROM customer_profits\n),\nassigned AS (\n SELECT p.cust_id, p.total_profit,\n CASE\n WHEN r.min_profit = r.max_profit THEN 1\n ELSE MIN(10, 1 + CAST(10.0 * (p.total_profit - r.min_profit)\n / (r.max_profit - r.min_profit) AS INTEGER))\n END AS bucket\n FROM customer_profits AS p\n CROSS JOIN profit_range AS r\n)\nSELECT b.bucket,\n COUNT(a.cust_id) AS customer_count,\n MIN(a.total_profit) AS min_total_profit,\n MAX(a.total_profit) AS max_total_profit\nFROM buckets AS b\nLEFT JOIN assigned AS a ON a.bucket = b.bucket\nGROUP BY b.bucket\nORDER BY b.bucket;", "seconds": 77.07500020891894, "calls": [{"seconds": 1.749134249985218, "usage": {"completion_tokens": 15, "prompt_tokens": 1553, "total_tokens": 1568, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1126, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1126, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1126, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 2.9197403750149533, "usage": {"completion_tokens": 96, "prompt_tokens": 1637, "total_tokens": 1733, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 84, "cached_tokens": 1126, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 84, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 84, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 8.085142791969702, "usage": {"completion_tokens": 370, "prompt_tokens": 2248, "total_tokens": 2618, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 202, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 611, "cached_tokens": 1210, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 611, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 611, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 5.129519250011072, "usage": {"completion_tokens": 131, "prompt_tokens": 2820, "total_tokens": 2951, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 69, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 572, "cached_tokens": 1821, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 572, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 572, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 5.118773665977642, "usage": {"completion_tokens": 206, "prompt_tokens": 3195, "total_tokens": 3401, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 53, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 375, "cached_tokens": 2393, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 375, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 375, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 15.652748666936532, "usage": {"completion_tokens": 946, "prompt_tokens": 3604, "total_tokens": 4550, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 389, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 409, "cached_tokens": 2768, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 409, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 409, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 8.101946583017707, "usage": {"completion_tokens": 534, "prompt_tokens": 5317, "total_tokens": 5851, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 17, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1713, "cached_tokens": 3177, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1713, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1713, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "443832e8110ea634bac5fce21d304b45c2b91a815af99257e20fdb1d4d24857c", "csv_sha256": "afd76e4239779a82cbd20afca8862f78e7fb76a2ba0e0bd161556ee31f655db8"} +{"instance_id": "local064", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE months(month_start) AS (\n VALUES ('2020-01-01')\n UNION ALL\n SELECT date(month_start, '+1 month')\n FROM months\n WHERE month_start < '2020-12-01'\n),\ncustomers AS (\n SELECT customer_id FROM customer_nodes\n UNION\n SELECT customer_id FROM customer_transactions\n),\nmonthly_transactions AS (\n SELECT customer_id,\n date(txn_date, 'start of month') AS month_start,\n SUM(CASE txn_type\n WHEN 'deposit' THEN txn_amount\n WHEN 'withdrawal' THEN -txn_amount\n END) AS balance\n FROM customer_transactions\n WHERE txn_date >= '2020-01-01'\n AND txn_date < '2021-01-01'\n AND txn_type IN ('deposit', 'withdrawal')\n GROUP BY customer_id, date(txn_date, 'start of month')\n),\nmonthly_stats AS (\n SELECT m.month_start,\n COUNT(CASE WHEN t.balance > 0 THEN 1 END) AS positive_customers,\n AVG(COALESCE(t.balance, 0)) AS avg_balance\n FROM months AS m\n CROSS JOIN customers AS c\n LEFT JOIN monthly_transactions AS t\n ON t.customer_id = c.customer_id\n AND t.month_start = m.month_start\n GROUP BY m.month_start\n),\nhighest AS (\n SELECT *\n FROM monthly_stats\n ORDER BY positive_customers DESC, month_start\n LIMIT 1\n),\nlowest AS (\n SELECT *\n FROM monthly_stats\n ORDER BY positive_customers ASC, month_start\n LIMIT 1\n)\nSELECT strftime('%Y-%m', h.month_start) AS highest_month,\n h.positive_customers AS highest_positive_customer_count,\n h.avg_balance AS highest_month_avg_balance,\n strftime('%Y-%m', l.month_start) AS lowest_month,\n l.positive_customers AS lowest_positive_customer_count,\n l.avg_balance AS lowest_month_avg_balance,\n h.avg_balance - l.avg_balance AS average_balance_difference\nFROM highest AS h\nCROSS JOIN lowest AS l;\n```", "rows": 1, "sql": "WITH RECURSIVE months(month_start) AS (\n VALUES ('2020-01-01')\n UNION ALL\n SELECT date(month_start, '+1 month')\n FROM months\n WHERE month_start < '2020-12-01'\n),\ncustomers AS (\n SELECT customer_id FROM customer_nodes\n UNION\n SELECT customer_id FROM customer_transactions\n),\nmonthly_transactions AS (\n SELECT customer_id,\n date(txn_date, 'start of month') AS month_start,\n SUM(CASE txn_type\n WHEN 'deposit' THEN txn_amount\n WHEN 'withdrawal' THEN -txn_amount\n END) AS balance\n FROM customer_transactions\n WHERE txn_date >= '2020-01-01'\n AND txn_date < '2021-01-01'\n AND txn_type IN ('deposit', 'withdrawal')\n GROUP BY customer_id, date(txn_date, 'start of month')\n),\nmonthly_stats AS (\n SELECT m.month_start,\n COUNT(CASE WHEN t.balance > 0 THEN 1 END) AS positive_customers,\n AVG(COALESCE(t.balance, 0)) AS avg_balance\n FROM months AS m\n CROSS JOIN customers AS c\n LEFT JOIN monthly_transactions AS t\n ON t.customer_id = c.customer_id\n AND t.month_start = m.month_start\n GROUP BY m.month_start\n),\nhighest AS (\n SELECT *\n FROM monthly_stats\n ORDER BY positive_customers DESC, month_start\n LIMIT 1\n),\nlowest AS (\n SELECT *\n FROM monthly_stats\n ORDER BY positive_customers ASC, month_start\n LIMIT 1\n)\nSELECT strftime('%Y-%m', h.month_start) AS highest_month,\n h.positive_customers AS highest_positive_customer_count,\n h.avg_balance AS highest_month_avg_balance,\n strftime('%Y-%m', l.month_start) AS lowest_month,\n l.positive_customers AS lowest_positive_customer_count,\n l.avg_balance AS lowest_month_avg_balance,\n h.avg_balance - l.avg_balance AS average_balance_difference\nFROM highest AS h\nCROSS JOIN lowest AS l;", "seconds": 24.022044833982363, "calls": [{"seconds": 5.24588095897343, "usage": {"completion_tokens": 52, "prompt_tokens": 1601, "total_tokens": 1653, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1136, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1136, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1136, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 9.792588582960889, "usage": {"completion_tokens": 604, "prompt_tokens": 1737, "total_tokens": 2341, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 105, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 136, "cached_tokens": 1136, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 136, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 136, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 7.113871832960285, "usage": {"completion_tokens": 453, "prompt_tokens": 2878, "total_tokens": 3331, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1141, "cached_tokens": 1272, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1141, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1141, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f98256126208411acdd55584ce1be27b2826d74e1a9bade621a53f3d5c540c29", "csv_sha256": "b21ea590bad7ad9d6b87d48bf51f161f8ff237d8509811150d4dfdf259a6c489"} +{"instance_id": "local072", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH january_daily AS (\n SELECT country_code_2,\n DATE(insert_date) AS insertion_day,\n COUNT(*) AS entry_count,\n SUM(CASE WHEN capital = 1 THEN 1 ELSE 0 END) AS capital_entry_count\n FROM cities\n WHERE DATE(insert_date) >= '2022-01-01'\n AND DATE(insert_date) < '2022-02-01'\n AND country_code_2 IS NOT NULL\n GROUP BY country_code_2, DATE(insert_date)\n), numbered_days AS (\n SELECT *,\n COUNT(*) OVER (PARTITION BY country_code_2) AS january_days,\n JULIANDAY(insertion_day) - ROW_NUMBER() OVER (\n PARTITION BY country_code_2 ORDER BY insertion_day\n ) AS streak_id\n FROM january_daily\n), streaks AS (\n SELECT country_code_2,\n MIN(insertion_day) AS period_start,\n MAX(insertion_day) AS period_end,\n COUNT(*) AS consecutive_days,\n 1.0 * SUM(capital_entry_count) / SUM(entry_count) AS capital_proportion\n FROM numbered_days\n WHERE january_days = 9\n GROUP BY country_code_2, streak_id\n), ranked_streaks AS (\n SELECT *,\n RANK() OVER (\n PARTITION BY country_code_2 ORDER BY consecutive_days DESC\n ) AS streak_rank\n FROM streaks\n)\nSELECT c.country_name,\n s.period_start,\n s.period_end,\n s.consecutive_days,\n s.capital_proportion\nFROM ranked_streaks AS s\nJOIN cities_countries AS c ON c.country_code_2 = s.country_code_2\nWHERE s.streak_rank = 1\nORDER BY c.country_name, s.period_start;\n```", "rows": 1, "sql": "WITH january_daily AS (\n SELECT country_code_2,\n DATE(insert_date) AS insertion_day,\n COUNT(*) AS entry_count,\n SUM(CASE WHEN capital = 1 THEN 1 ELSE 0 END) AS capital_entry_count\n FROM cities\n WHERE DATE(insert_date) >= '2022-01-01'\n AND DATE(insert_date) < '2022-02-01'\n AND country_code_2 IS NOT NULL\n GROUP BY country_code_2, DATE(insert_date)\n), numbered_days AS (\n SELECT *,\n COUNT(*) OVER (PARTITION BY country_code_2) AS january_days,\n JULIANDAY(insertion_day) - ROW_NUMBER() OVER (\n PARTITION BY country_code_2 ORDER BY insertion_day\n ) AS streak_id\n FROM january_daily\n), streaks AS (\n SELECT country_code_2,\n MIN(insertion_day) AS period_start,\n MAX(insertion_day) AS period_end,\n COUNT(*) AS consecutive_days,\n 1.0 * SUM(capital_entry_count) / SUM(entry_count) AS capital_proportion\n FROM numbered_days\n WHERE january_days = 9\n GROUP BY country_code_2, streak_id\n), ranked_streaks AS (\n SELECT *,\n RANK() OVER (\n PARTITION BY country_code_2 ORDER BY consecutive_days DESC\n ) AS streak_rank\n FROM streaks\n)\nSELECT c.country_name,\n s.period_start,\n s.period_end,\n s.consecutive_days,\n s.capital_proportion\nFROM ranked_streaks AS s\nJOIN cities_countries AS c ON c.country_code_2 = s.country_code_2\nWHERE s.streak_rank = 1\nORDER BY c.country_name, s.period_start;", "seconds": 24.599215999944136, "calls": [{"seconds": 1.8422630409477279, "usage": {"completion_tokens": 15, "prompt_tokens": 1542, "total_tokens": 1557, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1103, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1103, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1103, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 2.985037500038743, "usage": {"completion_tokens": 85, "prompt_tokens": 1633, "total_tokens": 1718, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 91, "cached_tokens": 1103, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 91, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 91, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 1.9564932089997455, "usage": {"completion_tokens": 18, "prompt_tokens": 1988, "total_tokens": 2006, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 355, "cached_tokens": 1194, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 355, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 355, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 11.48991991695948, "usage": {"completion_tokens": 623, "prompt_tokens": 2036, "total_tokens": 2659, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 207, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1549, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 6.3031854160362855, "usage": {"completion_tokens": 379, "prompt_tokens": 3102, "total_tokens": 3481, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1066, "cached_tokens": 1597, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1066, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1066, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b58b15502ca91f23d4f8e24d1cf77287ed3474dc8bcc27d1d80cf471ae6c9960", "csv_sha256": "908ac9b585ee4d3c376cef79c8d0c7a2703d3ad4d4e883e3888e706928affa1b"} +{"instance_id": "local073", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH orders AS (\n SELECT c.rowid AS row_id, c.order_id, c.customer_id, n.pizza_name,\n CASE WHEN n.pizza_name = 'Meatlovers' THEN 1 ELSE 2 END AS pizza_id,\n c.order_time, c.exclusions, c.extras\n FROM pizza_clean_customer_orders AS c\n JOIN pizza_names AS n ON n.pizza_id = c.pizza_id\n), ingredients AS (\n SELECT o.row_id, CAST(s.value AS INTEGER) AS topping_id\n FROM orders AS o\n JOIN pizza_recipes AS r ON r.pizza_id = o.pizza_id\n CROSS JOIN json_each('[' || r.toppings || ']') AS s\n WHERE NOT EXISTS (\n SELECT 1\n FROM json_each('[' || COALESCE(o.exclusions, '') || ']') AS e\n WHERE CAST(e.value AS INTEGER) = CAST(s.value AS INTEGER)\n )\n UNION ALL\n SELECT o.row_id, CAST(x.value AS INTEGER) AS topping_id\n FROM orders AS o\n CROSS JOIN json_each('[' || COALESCE(o.extras, '') || ']') AS x\n), topping_counts AS (\n SELECT i.row_id, t.topping_name, COUNT(*) AS occurrences\n FROM ingredients AS i\n JOIN pizza_toppings AS t ON t.topping_id = i.topping_id\n GROUP BY i.row_id, t.topping_name\n)\nSELECT o.row_id, o.order_id, o.customer_id, o.pizza_id, o.pizza_name,\n o.pizza_name || ': ' || COALESCE((\n SELECT group_concat(label, ', ')\n FROM (\n SELECT CASE WHEN tc.occurrences > 1\n THEN '2x' || tc.topping_name ELSE tc.topping_name END AS label\n FROM topping_counts AS tc\n WHERE tc.row_id = o.row_id\n ORDER BY (tc.occurrences > 1) DESC, tc.topping_name COLLATE NOCASE\n )\n ), '') AS ingredient_list\nFROM orders AS o\nGROUP BY o.row_id, o.order_id, o.pizza_name, o.order_time\nORDER BY o.row_id ASC;\n```", "rows": 14, "sql": "WITH orders AS (\n SELECT c.rowid AS row_id, c.order_id, c.customer_id, n.pizza_name,\n CASE WHEN n.pizza_name = 'Meatlovers' THEN 1 ELSE 2 END AS pizza_id,\n c.order_time, c.exclusions, c.extras\n FROM pizza_clean_customer_orders AS c\n JOIN pizza_names AS n ON n.pizza_id = c.pizza_id\n), ingredients AS (\n SELECT o.row_id, CAST(s.value AS INTEGER) AS topping_id\n FROM orders AS o\n JOIN pizza_recipes AS r ON r.pizza_id = o.pizza_id\n CROSS JOIN json_each('[' || r.toppings || ']') AS s\n WHERE NOT EXISTS (\n SELECT 1\n FROM json_each('[' || COALESCE(o.exclusions, '') || ']') AS e\n WHERE CAST(e.value AS INTEGER) = CAST(s.value AS INTEGER)\n )\n UNION ALL\n SELECT o.row_id, CAST(x.value AS INTEGER) AS topping_id\n FROM orders AS o\n CROSS JOIN json_each('[' || COALESCE(o.extras, '') || ']') AS x\n), topping_counts AS (\n SELECT i.row_id, t.topping_name, COUNT(*) AS occurrences\n FROM ingredients AS i\n JOIN pizza_toppings AS t ON t.topping_id = i.topping_id\n GROUP BY i.row_id, t.topping_name\n)\nSELECT o.row_id, o.order_id, o.customer_id, o.pizza_id, o.pizza_name,\n o.pizza_name || ': ' || COALESCE((\n SELECT group_concat(label, ', ')\n FROM (\n SELECT CASE WHEN tc.occurrences > 1\n THEN '2x' || tc.topping_name ELSE tc.topping_name END AS label\n FROM topping_counts AS tc\n WHERE tc.row_id = o.row_id\n ORDER BY (tc.occurrences > 1) DESC, tc.topping_name COLLATE NOCASE\n )\n ), '') AS ingredient_list\nFROM orders AS o\nGROUP BY o.row_id, o.order_id, o.pizza_name, o.order_time\nORDER BY o.row_id ASC;", "seconds": 39.13650733290706, "calls": [{"seconds": 6.172908458043821, "usage": {"completion_tokens": 141, "prompt_tokens": 1675, "total_tokens": 1816, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1218, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1218, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1218, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 4.950723542016931, "usage": {"completion_tokens": 189, "prompt_tokens": 2075, "total_tokens": 2264, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 36, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 400, "cached_tokens": 1218, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 400, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 400, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 18.637360082939267, "usage": {"completion_tokens": 958, "prompt_tokens": 2924, "total_tokens": 3882, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 458, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 849, "cached_tokens": 1618, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 849, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 849, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 7.506531083025038, "usage": {"completion_tokens": 472, "prompt_tokens": 4917, "total_tokens": 5389, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1993, "cached_tokens": 2467, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1993, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1993, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "4e972e24a56054b3182957707baade773cd66cf47a4666beb64e094a2452d4ef", "csv_sha256": "9dd0a2199eb5210257e261968dd5b81258c9791617f61739a36e3eb39087a4e9"} +{"instance_id": "local081", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH customer_spending AS (\n SELECT o.customerid,\n COALESCE(SUM(od.unitprice * od.quantity), 0) AS total_spent\n FROM orders AS o\n LEFT JOIN order_details AS od ON od.orderid = o.orderid\n WHERE o.orderdate >= '1998-01-01'\n AND o.orderdate < '1999-01-01'\n AND o.customerid IS NOT NULL\n GROUP BY o.customerid\n)\nSELECT g.groupname AS spending_group,\n COUNT(s.customerid) AS customer_count,\n 100.0 * COUNT(s.customerid) /\n NULLIF((SELECT COUNT(*) FROM customer_spending), 0) AS customer_percentage\nFROM customergroupthreshold AS g\nLEFT JOIN customer_spending AS s\n ON s.total_spent BETWEEN g.rangebottom AND g.rangetop\nGROUP BY g.groupname, g.rangebottom\nORDER BY g.rangebottom;\n```", "rows": 4, "sql": "WITH customer_spending AS (\n SELECT o.customerid,\n COALESCE(SUM(od.unitprice * od.quantity), 0) AS total_spent\n FROM orders AS o\n LEFT JOIN order_details AS od ON od.orderid = o.orderid\n WHERE o.orderdate >= '1998-01-01'\n AND o.orderdate < '1999-01-01'\n AND o.customerid IS NOT NULL\n GROUP BY o.customerid\n)\nSELECT g.groupname AS spending_group,\n COUNT(s.customerid) AS customer_count,\n 100.0 * COUNT(s.customerid) /\n NULLIF((SELECT COUNT(*) FROM customer_spending), 0) AS customer_percentage\nFROM customergroupthreshold AS g\nLEFT JOIN customer_spending AS s\n ON s.total_spent BETWEEN g.rangebottom AND g.rangetop\nGROUP BY g.groupname, g.rangebottom\nORDER BY g.rangebottom;", "seconds": 16.287658208049834, "calls": [{"seconds": 3.169841291033663, "usage": {"completion_tokens": 84, "prompt_tokens": 1569, "total_tokens": 1653, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1132, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1132, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1132, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 2.5260195409646258, "usage": {"completion_tokens": 36, "prompt_tokens": 1927, "total_tokens": 1963, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 358, "cached_tokens": 1132, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 358, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 358, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 6.091790749924257, "usage": {"completion_tokens": 283, "prompt_tokens": 2070, "total_tokens": 2353, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 57, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 143, "cached_tokens": 1490, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 143, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 143, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 4.48106808308512, "usage": {"completion_tokens": 207, "prompt_tokens": 2645, "total_tokens": 2852, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 575, "cached_tokens": 1633, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 575, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 575, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "eb68d180a4c619620741e9315f6ac9da6044cf5c419d887209b5b74afb39d350", "csv_sha256": "70be927a488e5f349810b0881ec1560e197669e189977635d8805914bd2b81df"} +{"instance_id": "local096", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH cast_status AS (\n SELECT c.MID,\n MIN(CASE WHEN p.Gender = 'Female' THEN 1 ELSE 0 END) AS all_female\n FROM M_Cast AS c\n LEFT JOIN Person AS p ON p.PID = TRIM(c.PID)\n GROUP BY c.MID\n)\nSELECT CAST(SUBSTR(m.year, -4) AS INTEGER) AS year,\n COUNT(*) AS total_movies,\n 100.0 * COUNT(CASE WHEN cs.all_female = 1 THEN 1 END) / COUNT(*)\n AS percentage_exclusively_female\nFROM Movie AS m\nLEFT JOIN cast_status AS cs ON cs.MID = m.MID\nGROUP BY CAST(SUBSTR(m.year, -4) AS INTEGER)\nORDER BY year;\n```", "rows": 78, "sql": "WITH cast_status AS (\n SELECT c.MID,\n MIN(CASE WHEN p.Gender = 'Female' THEN 1 ELSE 0 END) AS all_female\n FROM M_Cast AS c\n LEFT JOIN Person AS p ON p.PID = TRIM(c.PID)\n GROUP BY c.MID\n)\nSELECT CAST(SUBSTR(m.year, -4) AS INTEGER) AS year,\n COUNT(*) AS total_movies,\n 100.0 * COUNT(CASE WHEN cs.all_female = 1 THEN 1 END) / COUNT(*)\n AS percentage_exclusively_female\nFROM Movie AS m\nLEFT JOIN cast_status AS cs ON cs.MID = m.MID\nGROUP BY CAST(SUBSTR(m.year, -4) AS INTEGER)\nORDER BY year;", "seconds": 22.920461792033166, "calls": [{"seconds": 2.767566542024724, "usage": {"completion_tokens": 67, "prompt_tokens": 1576, "total_tokens": 1643, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1143, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1143, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1143, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 5.162338207941502, "usage": {"completion_tokens": 159, "prompt_tokens": 1757, "total_tokens": 1916, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 110, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 181, "cached_tokens": 1143, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 181, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 181, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 2.769802333903499, "usage": {"completion_tokens": 45, "prompt_tokens": 2030, "total_tokens": 2075, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 273, "cached_tokens": 1324, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 273, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 273, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 6.172482332913205, "usage": {"completion_tokens": 271, "prompt_tokens": 2190, "total_tokens": 2461, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 73, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 160, "cached_tokens": 1597, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 160, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 160, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 5.840308749931864, "usage": {"completion_tokens": 175, "prompt_tokens": 2775, "total_tokens": 2950, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 585, "cached_tokens": 1757, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 585, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 585, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "da772d1ab0eb4b000e47a2ee349085effd529eec2f025fa267f01829841fb84e", "csv_sha256": "1d38194dac82f4731e7d923a018778ab99b8365fc1d8918ad06a542c181b45ed"} +{"instance_id": "local163", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH rank_averages AS (\n SELECT FacRank, FacFirstName, FacLastName, FacSalary,\n AVG(FacSalary) OVER (PARTITION BY FacRank) AS avg_salary\n FROM university_faculty\n WHERE FacRank IS NOT NULL AND FacSalary IS NOT NULL\n), closest AS (\n SELECT FacRank, FacFirstName, FacLastName, FacSalary,\n DENSE_RANK() OVER (\n PARTITION BY FacRank ORDER BY ABS(FacSalary - avg_salary)\n ) AS proximity_rank\n FROM rank_averages\n)\nSELECT FacRank, FacFirstName, FacLastName, FacSalary\nFROM closest\nWHERE proximity_rank = 1\nORDER BY FacRank, FacLastName, FacFirstName, FacSalary;\n```", "rows": 4, "sql": "WITH rank_averages AS (\n SELECT FacRank, FacFirstName, FacLastName, FacSalary,\n AVG(FacSalary) OVER (PARTITION BY FacRank) AS avg_salary\n FROM university_faculty\n WHERE FacRank IS NOT NULL AND FacSalary IS NOT NULL\n), closest AS (\n SELECT FacRank, FacFirstName, FacLastName, FacSalary,\n DENSE_RANK() OVER (\n PARTITION BY FacRank ORDER BY ABS(FacSalary - avg_salary)\n ) AS proximity_rank\n FROM rank_averages\n)\nSELECT FacRank, FacFirstName, FacLastName, FacSalary\nFROM closest\nWHERE proximity_rank = 1\nORDER BY FacRank, FacLastName, FacFirstName, FacSalary;", "seconds": 12.62680783297401, "calls": [{"seconds": 2.4936691250186414, "usage": {"completion_tokens": 22, "prompt_tokens": 1548, "total_tokens": 1570, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1081, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1081, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1081, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 6.150620291009545, "usage": {"completion_tokens": 255, "prompt_tokens": 1658, "total_tokens": 1913, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 69, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 110, "cached_tokens": 1081, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 110, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 110, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.9740431249374524, "usage": {"completion_tokens": 168, "prompt_tokens": 2171, "total_tokens": 2339, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 513, "cached_tokens": 1191, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 513, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 513, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b6cb5b8d3e674a14df0964a22356280039e9c23eb88e4854fec5ed8060e8ce82", "csv_sha256": "79585ba9819c14d162618ea6c4edcca741736d9267f4a3e2dcd9797b3a4298c8"} +{"instance_id": "local194", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH film_revenue AS (\n SELECT i.film_id, SUM(p.amount) AS total_revenue\n FROM payment AS p\n JOIN rental AS r ON r.rental_id = p.rental_id\n JOIN inventory AS i ON i.inventory_id = r.inventory_id\n GROUP BY i.film_id\n),\ncast_size AS (\n SELECT film_id, COUNT(*) AS actor_count\n FROM film_actor\n GROUP BY film_id\n),\nranked_films AS (\n SELECT fa.actor_id,\n f.film_id,\n f.title,\n COALESCE(fr.total_revenue, 0) AS total_revenue,\n 1.0 * COALESCE(fr.total_revenue, 0) / cs.actor_count AS average_revenue_per_actor,\n ROW_NUMBER() OVER (\n PARTITION BY fa.actor_id\n ORDER BY COALESCE(fr.total_revenue, 0) DESC, f.film_id\n ) AS revenue_rank\n FROM film_actor AS fa\n JOIN film AS f ON f.film_id = fa.film_id\n JOIN cast_size AS cs ON cs.film_id = fa.film_id\n LEFT JOIN film_revenue AS fr ON fr.film_id = fa.film_id\n)\nSELECT a.actor_id,\n a.first_name,\n a.last_name,\n rf.revenue_rank,\n rf.film_id,\n rf.title,\n rf.total_revenue,\n rf.average_revenue_per_actor\nFROM ranked_films AS rf\nJOIN actor AS a ON a.actor_id = rf.actor_id\nWHERE rf.revenue_rank <= 3\nORDER BY a.actor_id, rf.revenue_rank;\n```", "rows": 600, "sql": "WITH film_revenue AS (\n SELECT i.film_id, SUM(p.amount) AS total_revenue\n FROM payment AS p\n JOIN rental AS r ON r.rental_id = p.rental_id\n JOIN inventory AS i ON i.inventory_id = r.inventory_id\n GROUP BY i.film_id\n),\ncast_size AS (\n SELECT film_id, COUNT(*) AS actor_count\n FROM film_actor\n GROUP BY film_id\n),\nranked_films AS (\n SELECT fa.actor_id,\n f.film_id,\n f.title,\n COALESCE(fr.total_revenue, 0) AS total_revenue,\n 1.0 * COALESCE(fr.total_revenue, 0) / cs.actor_count AS average_revenue_per_actor,\n ROW_NUMBER() OVER (\n PARTITION BY fa.actor_id\n ORDER BY COALESCE(fr.total_revenue, 0) DESC, f.film_id\n ) AS revenue_rank\n FROM film_actor AS fa\n JOIN film AS f ON f.film_id = fa.film_id\n JOIN cast_size AS cs ON cs.film_id = fa.film_id\n LEFT JOIN film_revenue AS fr ON fr.film_id = fa.film_id\n)\nSELECT a.actor_id,\n a.first_name,\n a.last_name,\n rf.revenue_rank,\n rf.film_id,\n rf.title,\n rf.total_revenue,\n rf.average_revenue_per_actor\nFROM ranked_films AS rf\nJOIN actor AS a ON a.actor_id = rf.actor_id\nWHERE rf.revenue_rank <= 3\nORDER BY a.actor_id, rf.revenue_rank;", "seconds": 25.509613332920708, "calls": [{"seconds": 3.3839323749998584, "usage": {"completion_tokens": 126, "prompt_tokens": 1535, "total_tokens": 1661, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1090, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1090, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1090, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 1.9867582090664655, "usage": {"completion_tokens": 23, "prompt_tokens": 2107, "total_tokens": 2130, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 572, "cached_tokens": 1090, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 572, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 572, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 9.658926208037883, "usage": {"completion_tokens": 534, "prompt_tokens": 2162, "total_tokens": 2696, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 158, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 55, "cached_tokens": 1662, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 55, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 55, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 10.356473457999527, "usage": {"completion_tokens": 529, "prompt_tokens": 3208, "total_tokens": 3737, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 172, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1046, "cached_tokens": 1717, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1046, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1046, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7402b53d890ae591c76932060a5dc9172862e30173f90c3ba8af1530c711ab3b", "csv_sha256": "fbaa8c100b7fc7192b4b75633a7cc2a1c07f3d47af5becfef4144c6e9bd70b78"} +{"instance_id": "local202", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "failed", "answer": "❓ Awaiting user: Should the query define “friendly” as `aggressive = 0` and “hostile” as `aggressive = 1` in `alien_data`?", "error_type": "ValueError", "seconds": 16.183361332979985, "calls": [{"seconds": 3.3254037499427795, "usage": {"completion_tokens": 100, "prompt_tokens": 1522, "total_tokens": 1622, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1083, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1083, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1083, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 2.104823917034082, "usage": {"completion_tokens": 20, "prompt_tokens": 1885, "total_tokens": 1905, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 363, "cached_tokens": 1083, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 363, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 363, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 4.164507042034529, "usage": {"completion_tokens": 139, "prompt_tokens": 2008, "total_tokens": 2147, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 52, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 123, "cached_tokens": 1446, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 123, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 123, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 6.565687249996699, "usage": {"completion_tokens": 258, "prompt_tokens": 2313, "total_tokens": 2571, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 205, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 305, "cached_tokens": 1569, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 305, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 305, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "3dd4acc20d127ef254bdabc147332604b136ebf5154b1165e23aedac4cac13ee"} +{"instance_id": "local218", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH match_goals AS (\n SELECT season, home_team_api_id AS team_id, home_team_goal AS goals\n FROM \"Match\"\n UNION ALL\n SELECT season, away_team_api_id AS team_id, away_team_goal AS goals\n FROM \"Match\"\n), season_totals AS (\n SELECT team_id, season, SUM(goals) AS season_goals\n FROM match_goals\n WHERE team_id IS NOT NULL AND season IS NOT NULL AND goals IS NOT NULL\n GROUP BY team_id, season\n), team_best AS (\n SELECT team_id, MAX(season_goals) AS highest_season_goals\n FROM season_totals\n GROUP BY team_id\n), ranked AS (\n SELECT highest_season_goals,\n ROW_NUMBER() OVER (ORDER BY highest_season_goals, team_id) AS rn,\n COUNT(*) OVER () AS team_count\n FROM team_best\n)\nSELECT AVG(highest_season_goals) AS median_highest_season_goals\nFROM ranked\nWHERE rn BETWEEN (team_count + 1) / 2 AND (team_count + 2) / 2;\n```", "rows": 1, "sql": "WITH match_goals AS (\n SELECT season, home_team_api_id AS team_id, home_team_goal AS goals\n FROM \"Match\"\n UNION ALL\n SELECT season, away_team_api_id AS team_id, away_team_goal AS goals\n FROM \"Match\"\n), season_totals AS (\n SELECT team_id, season, SUM(goals) AS season_goals\n FROM match_goals\n WHERE team_id IS NOT NULL AND season IS NOT NULL AND goals IS NOT NULL\n GROUP BY team_id, season\n), team_best AS (\n SELECT team_id, MAX(season_goals) AS highest_season_goals\n FROM season_totals\n GROUP BY team_id\n), ranked AS (\n SELECT highest_season_goals,\n ROW_NUMBER() OVER (ORDER BY highest_season_goals, team_id) AS rn,\n COUNT(*) OVER () AS team_count\n FROM team_best\n)\nSELECT AVG(highest_season_goals) AS median_highest_season_goals\nFROM ranked\nWHERE rn BETWEEN (team_count + 1) / 2 AND (team_count + 2) / 2;", "seconds": 15.088029542006552, "calls": [{"seconds": 2.2586687500588596, "usage": {"completion_tokens": 19, "prompt_tokens": 1474, "total_tokens": 1493, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1062, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1062, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1062, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 5.845789709012024, "usage": {"completion_tokens": 297, "prompt_tokens": 2359, "total_tokens": 2656, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 31, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 885, "cached_tokens": 1062, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 885, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 885, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 5.669817832997069, "usage": {"completion_tokens": 246, "prompt_tokens": 2928, "total_tokens": 3174, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 569, "cached_tokens": 1947, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 569, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 569, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "64b03cc4a49d4f665bb171636f28d0d135cf2831dd5660bb258df02ac04f6314", "csv_sha256": "e97b74006c8fda942a913a29bd461f5980e14c37801b78ffddd4a2881389aaed"} +{"instance_id": "local264", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT L1_model, COUNT(*) AS total_occurrences\nFROM stack_ok\nWHERE L1_model IS NOT NULL\nGROUP BY L1_model\nORDER BY total_occurrences DESC, L1_model\nLIMIT 1;\n```", "rows": 1, "sql": "SELECT L1_model, COUNT(*) AS total_occurrences\nFROM stack_ok\nWHERE L1_model IS NOT NULL\nGROUP BY L1_model\nORDER BY total_occurrences DESC, L1_model\nLIMIT 1;", "seconds": 16.46516112505924, "calls": [{"seconds": 2.0681046249810606, "usage": {"completion_tokens": 15, "prompt_tokens": 1504, "total_tokens": 1519, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1084, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1084, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1084, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.1272667499724776, "usage": {"completion_tokens": 99, "prompt_tokens": 1579, "total_tokens": 1678, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 75, "cached_tokens": 1084, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 75, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 75, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.5812767079332843, "usage": {"completion_tokens": 91, "prompt_tokens": 1896, "total_tokens": 1987, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 47, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 317, "cached_tokens": 1159, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 317, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 317, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 4.3263497080188245, "usage": {"completion_tokens": 137, "prompt_tokens": 2507, "total_tokens": 2644, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 73, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 611, "cached_tokens": 1476, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 611, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 611, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.334989459021017, "usage": {"completion_tokens": 72, "prompt_tokens": 2723, "total_tokens": 2795, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 17, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 216, "cached_tokens": 2087, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 216, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 216, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f4eb45135a91f2051dc2e388157067074659d981fa40f8dabc94df1cee2cf82f", "csv_sha256": "c1198427eecd199aa53bef900e50de7660fca9c9341f48913f90d6345de3a0ef"} +{"instance_id": "local279", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE inventory_model (\n product_id, mth, ending_inventory, qty_minimum, qty_purchase\n) AS (\n SELECT i.product_id, '2018-12-01', i.qty, p.qty_minimum, p.qty_purchase\n FROM inventory_totals AS i\n JOIN product_minimums AS p ON p.product_id = i.product_id\n\n UNION ALL\n\n SELECT r.product_id, b.mth,\n r.ending_inventory - b.qty\n + CASE WHEN r.ending_inventory - b.qty < r.qty_minimum\n THEN r.qty_purchase ELSE 0 END,\n r.qty_minimum, r.qty_purchase\n FROM inventory_model AS r\n JOIN monthly_budget AS b\n ON b.product_id = r.product_id\n AND b.mth = date(r.mth, '+1 month')\n WHERE b.mth < '2020-01-01'\n), differences AS (\n SELECT product_id, mth, ABS(ending_inventory - qty_minimum) AS abs_diff\n FROM inventory_model\n WHERE mth >= '2019-01-01'\n), ranked AS (\n SELECT product_id, mth, abs_diff,\n ROW_NUMBER() OVER (\n PARTITION BY product_id ORDER BY abs_diff, mth\n ) AS rn\n FROM differences\n)\nSELECT product_id, mth, abs_diff\nFROM ranked\nWHERE rn = 1\nORDER BY product_id;\n```", "rows": 2, "sql": "WITH RECURSIVE inventory_model (\n product_id, mth, ending_inventory, qty_minimum, qty_purchase\n) AS (\n SELECT i.product_id, '2018-12-01', i.qty, p.qty_minimum, p.qty_purchase\n FROM inventory_totals AS i\n JOIN product_minimums AS p ON p.product_id = i.product_id\n\n UNION ALL\n\n SELECT r.product_id, b.mth,\n r.ending_inventory - b.qty\n + CASE WHEN r.ending_inventory - b.qty < r.qty_minimum\n THEN r.qty_purchase ELSE 0 END,\n r.qty_minimum, r.qty_purchase\n FROM inventory_model AS r\n JOIN monthly_budget AS b\n ON b.product_id = r.product_id\n AND b.mth = date(r.mth, '+1 month')\n WHERE b.mth < '2020-01-01'\n), differences AS (\n SELECT product_id, mth, ABS(ending_inventory - qty_minimum) AS abs_diff\n FROM inventory_model\n WHERE mth >= '2019-01-01'\n), ranked AS (\n SELECT product_id, mth, abs_diff,\n ROW_NUMBER() OVER (\n PARTITION BY product_id ORDER BY abs_diff, mth\n ) AS rn\n FROM differences\n)\nSELECT product_id, mth, abs_diff\nFROM ranked\nWHERE rn = 1\nORDER BY product_id;", "seconds": 45.48070066596847, "calls": [{"seconds": 3.298881125054322, "usage": {"completion_tokens": 131, "prompt_tokens": 1685, "total_tokens": 1816, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1122, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1122, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1122, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.9967093750601634, "usage": {"completion_tokens": 105, "prompt_tokens": 2078, "total_tokens": 2183, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 50, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 393, "cached_tokens": 1122, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 393, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 393, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 4.632709166035056, "usage": {"completion_tokens": 192, "prompt_tokens": 2530, "total_tokens": 2722, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 452, "cached_tokens": 1515, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 452, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 452, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 2.666442707995884, "usage": {"completion_tokens": 15, "prompt_tokens": 3011, "total_tokens": 3026, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 481, "cached_tokens": 1967, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 481, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 481, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 2.471835874952376, "usage": {"completion_tokens": 20, "prompt_tokens": 3281, "total_tokens": 3301, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 270, "cached_tokens": 2448, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 270, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 270, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.5612510420614854, "usage": {"completion_tokens": 96, "prompt_tokens": 3340, "total_tokens": 3436, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 59, "cached_tokens": 2718, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 59, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 59, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 18.621502749971114, "usage": {"completion_tokens": 836, "prompt_tokens": 5049, "total_tokens": 5885, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 498, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1709, "cached_tokens": 2777, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1709, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1709, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 6.19834899995476, "usage": {"completion_tokens": 332, "prompt_tokens": 6256, "total_tokens": 6588, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 18, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1207, "cached_tokens": 4486, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1207, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1207, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8c8e7550a49a668d1791222f1fef041bf65107ef4f269cd55c77f580085c6dd6", "csv_sha256": "0961b98cf6ba2935bafc8193d18855fdf11076391ad7666933df55919c7ef558"} +{"instance_id": "local310", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH yearly_results AS (\n -- Use races only to map each result to a year; all points come from results.\n SELECT r.year, res.driver_id, res.constructor_id, res.points\n FROM results AS res\n JOIN races AS r ON r.race_id = res.race_id\n),\ndriver_totals AS (\n SELECT year, driver_id, SUM(points) AS total_points\n FROM yearly_results\n GROUP BY year, driver_id\n),\nconstructor_totals AS (\n SELECT year, constructor_id, SUM(points) AS total_points\n FROM yearly_results\n GROUP BY year, constructor_id\n),\ndriver_maxima AS (\n SELECT year, MAX(total_points) AS max_points\n FROM driver_totals\n GROUP BY year\n),\nconstructor_maxima AS (\n SELECT year, MAX(total_points) AS max_points\n FROM constructor_totals\n GROUP BY year\n)\nSELECT d.year\nFROM driver_maxima AS d\nJOIN constructor_maxima AS c ON c.year = d.year\nORDER BY (d.max_points + c.max_points) ASC, d.year ASC\nLIMIT 3;\n```", "rows": 3, "sql": "WITH yearly_results AS (\n -- Use races only to map each result to a year; all points come from results.\n SELECT r.year, res.driver_id, res.constructor_id, res.points\n FROM results AS res\n JOIN races AS r ON r.race_id = res.race_id\n),\ndriver_totals AS (\n SELECT year, driver_id, SUM(points) AS total_points\n FROM yearly_results\n GROUP BY year, driver_id\n),\nconstructor_totals AS (\n SELECT year, constructor_id, SUM(points) AS total_points\n FROM yearly_results\n GROUP BY year, constructor_id\n),\ndriver_maxima AS (\n SELECT year, MAX(total_points) AS max_points\n FROM driver_totals\n GROUP BY year\n),\nconstructor_maxima AS (\n SELECT year, MAX(total_points) AS max_points\n FROM constructor_totals\n GROUP BY year\n)\nSELECT d.year\nFROM driver_maxima AS d\nJOIN constructor_maxima AS c ON c.year = d.year\nORDER BY (d.max_points + c.max_points) ASC, d.year ASC\nLIMIT 3;", "seconds": 18.021358291967772, "calls": [{"seconds": 2.2762194169918075, "usage": {"completion_tokens": 19, "prompt_tokens": 1606, "total_tokens": 1625, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1117, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1117, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1117, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.9524433329934254, "usage": {"completion_tokens": 93, "prompt_tokens": 1774, "total_tokens": 1867, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 71, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 168, "cached_tokens": 1117, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 168, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 168, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 6.831923834048212, "usage": {"completion_tokens": 328, "prompt_tokens": 2029, "total_tokens": 2357, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 62, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 255, "cached_tokens": 1285, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 255, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 255, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 4.914163666078821, "usage": {"completion_tokens": 240, "prompt_tokens": 2618, "total_tokens": 2858, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 589, "cached_tokens": 1540, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 589, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 589, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2ec746c7bc2bea1fc946c42c77f2a7940caef2fc5013aed16d643b1a231e6fbd", "csv_sha256": "1781e656c5fe72f4c09f983ebfa4785e557091254a46d5e0663c0f2bb5a34a2b"} +{"instance_id": "local335", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH season_finales AS (\n SELECT r.year, r.race_id,\n ROW_NUMBER() OVER (PARTITION BY r.year ORDER BY r.round DESC, r.race_id DESC) AS rn\n FROM races AS r\n WHERE r.year >= 2001\n AND EXISTS (SELECT 1 FROM driver_standings AS ds WHERE ds.race_id = r.race_id)\n), ranked_drivers AS (\n SELECT f.year, ds.driver_id,\n DENSE_RANK() OVER (PARTITION BY f.year ORDER BY ds.points) AS points_rank\n FROM season_finales AS f\n JOIN driver_standings AS ds ON ds.race_id = f.race_id\n WHERE f.rn = 1 AND ds.points > 0\n), scoring_constructors AS (\n SELECT r.year, res.driver_id, res.constructor_id\n FROM results AS res\n JOIN races AS r ON r.race_id = res.race_id\n WHERE r.year >= 2001 AND res.points > 0\n UNION\n SELECT r.year, sr.driver_id, sr.constructor_id\n FROM sprint_results AS sr\n JOIN races AS r ON r.race_id = sr.race_id\n WHERE r.year >= 2001 AND sr.points > 0\n)\nSELECT c.name AS constructor, COUNT(DISTINCT rd.year) AS season_count\nFROM ranked_drivers AS rd\nJOIN scoring_constructors AS sc ON sc.year = rd.year AND sc.driver_id = rd.driver_id\nJOIN constructors AS c ON c.constructor_id = sc.constructor_id\nWHERE rd.points_rank = 1\nGROUP BY c.constructor_id, c.name\nORDER BY season_count DESC, c.name, c.constructor_id\nLIMIT 5;\n```", "rows": 5, "sql": "WITH season_finales AS (\n SELECT r.year, r.race_id,\n ROW_NUMBER() OVER (PARTITION BY r.year ORDER BY r.round DESC, r.race_id DESC) AS rn\n FROM races AS r\n WHERE r.year >= 2001\n AND EXISTS (SELECT 1 FROM driver_standings AS ds WHERE ds.race_id = r.race_id)\n), ranked_drivers AS (\n SELECT f.year, ds.driver_id,\n DENSE_RANK() OVER (PARTITION BY f.year ORDER BY ds.points) AS points_rank\n FROM season_finales AS f\n JOIN driver_standings AS ds ON ds.race_id = f.race_id\n WHERE f.rn = 1 AND ds.points > 0\n), scoring_constructors AS (\n SELECT r.year, res.driver_id, res.constructor_id\n FROM results AS res\n JOIN races AS r ON r.race_id = res.race_id\n WHERE r.year >= 2001 AND res.points > 0\n UNION\n SELECT r.year, sr.driver_id, sr.constructor_id\n FROM sprint_results AS sr\n JOIN races AS r ON r.race_id = sr.race_id\n WHERE r.year >= 2001 AND sr.points > 0\n)\nSELECT c.name AS constructor, COUNT(DISTINCT rd.year) AS season_count\nFROM ranked_drivers AS rd\nJOIN scoring_constructors AS sc ON sc.year = rd.year AND sc.driver_id = rd.driver_id\nJOIN constructors AS c ON c.constructor_id = sc.constructor_id\nWHERE rd.points_rank = 1\nGROUP BY c.constructor_id, c.name\nORDER BY season_count DESC, c.name, c.constructor_id\nLIMIT 5;", "seconds": 45.66495841590222, "calls": [{"seconds": 3.4597494159825146, "usage": {"completion_tokens": 137, "prompt_tokens": 1584, "total_tokens": 1721, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1095, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1095, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1095, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.3412268339889124, "usage": {"completion_tokens": 120, "prompt_tokens": 2432, "total_tokens": 2552, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 848, "cached_tokens": 1095, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 848, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 848, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 5.602678332943469, "usage": {"completion_tokens": 184, "prompt_tokens": 2957, "total_tokens": 3141, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 167, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 525, "cached_tokens": 1943, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 525, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 525, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 6.216016457998194, "usage": {"completion_tokens": 253, "prompt_tokens": 3280, "total_tokens": 3533, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 51, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 323, "cached_tokens": 2468, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 323, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 323, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 8.11882750003133, "usage": {"completion_tokens": 262, "prompt_tokens": 4477, "total_tokens": 4739, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 151, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1197, "cached_tokens": 2791, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1197, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1197, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 7.964277166058309, "usage": {"completion_tokens": 497, "prompt_tokens": 4926, "total_tokens": 5423, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 107, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 449, "cached_tokens": 3988, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 449, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 449, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 10.590615708031692, "usage": {"completion_tokens": 586, "prompt_tokens": 5841, "total_tokens": 6427, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 212, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 915, "cached_tokens": 4437, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 915, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 915, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5f0b95c5666578670eefb9aca583a6653c8ba69d7eb79d10b7737a7ee13adac5", "csv_sha256": "03869f33d1716ad83e00035b0875f09ef487046dc561b8942432ab237b2161a4"} diff --git a/bench/accuracy/results/spider-development-v1/gpt62-sol/scores.json b/bench/accuracy/results/spider-development-v1/gpt62-sol/scores.json new file mode 100644 index 00000000..39a96a52 --- /dev/null +++ b/bench/accuracy/results/spider-development-v1/gpt62-sol/scores.json @@ -0,0 +1,121 @@ +[ + { + "instance_id": "local064", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local073", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local003", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local004", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local021", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local163", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local310", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local041", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local062", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local081", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local202", + "score": 0, + "error_info": "ValueError" + }, + { + "instance_id": "local096", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local279", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local264", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local024", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local218", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local072", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local194", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local029", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local335", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + } +] diff --git a/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local003.sql b/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local003.sql new file mode 100644 index 00000000..a29698d5 --- /dev/null +++ b/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local003.sql @@ -0,0 +1,99 @@ +WITH payment_totals AS ( + -- Sum all payment rows before joining, so each delivered order counts once. + SELECT order_id, SUM(payment_value) AS order_spend + FROM order_payments + GROUP BY order_id +), customer_totals AS ( + -- Use all available delivered orders. Keep orders with no recorded payment + -- in the denominator and flag them; they add nothing to recorded spend. + SELECT c.customer_unique_id, + MAX(o.order_purchase_timestamp) AS last_purchase_timestamp, + COUNT(*) AS order_count, + ROUND(SUM(COALESCE(p.order_spend, 0.0)), 2) AS total_spend, + SUM(p.order_spend IS NULL) AS orders_without_payment + FROM orders AS o + JOIN customers AS c ON c.customer_id = o.customer_id + LEFT JOIN payment_totals AS p ON p.order_id = o.order_id + WHERE o.order_status = 'delivered' + AND c.customer_unique_id IS NOT NULL + GROUP BY c.customer_unique_id +), reference_date AS ( + SELECT MAX(last_purchase_timestamp) AS as_of_timestamp + FROM customer_totals +), customer_rfm AS ( + -- Recency is elapsed days from the customer's latest delivered purchase + -- to the latest delivered purchase timestamp in the analysis population. + SELECT c.*, d.as_of_timestamp, + JULIANDAY(d.as_of_timestamp) - JULIANDAY(c.last_purchase_timestamp) AS recency_days + FROM customer_totals AS c + CROSS JOIN reference_date AS d +), percentiles AS ( + -- Rank best to worst. CUME_DIST keeps ties together at the upper end + -- of their percentile range; not all five scores need to be populated. + SELECT *, + CUME_DIST() OVER (ORDER BY recency_days ASC) AS r_pct, + CUME_DIST() OVER (ORDER BY order_count DESC) AS f_pct, + CUME_DIST() OVER (ORDER BY total_spend DESC) AS m_pct + FROM customer_rfm +), scores AS ( + -- 1 = best 20%; then 2, 3, 4, and 5 at successive 20-point cutoffs. + SELECT *, + 1 + (r_pct > 0.2) + (r_pct > 0.4) + (r_pct > 0.6) + (r_pct > 0.8) AS r_score, + 1 + (f_pct > 0.2) + (f_pct > 0.4) + (f_pct > 0.6) + (f_pct > 0.8) AS f_score, + 1 + (m_pct > 0.2) + (m_pct > 0.4) + (m_pct > 0.6) + (m_pct > 0.8) AS m_score + FROM percentiles +), cells AS ( + SELECT *, r_score || f_score || m_score AS rfm_cell, + f_score + m_score AS fm_score + FROM scores +), segmented AS ( + SELECT *, CASE + WHEN r_score = 1 AND fm_score BETWEEN 1 AND 4 THEN 'Champions' + WHEN r_score IN (4, 5) AND fm_score BETWEEN 1 AND 2 THEN 'Can''t Lose Them' + WHEN r_score IN (4, 5) AND fm_score BETWEEN 3 AND 6 THEN 'Hibernating' + WHEN r_score IN (4, 5) AND fm_score BETWEEN 7 AND 10 THEN 'Lost' + WHEN r_score IN (2, 3) AND fm_score BETWEEN 1 AND 4 THEN 'Loyal Customers' + WHEN r_score = 3 AND fm_score BETWEEN 5 AND 6 THEN 'Needs Attention' + WHEN r_score = 1 AND fm_score BETWEEN 7 AND 8 THEN 'Recent Users' + WHEN (r_score = 1 AND fm_score BETWEEN 5 AND 6) + OR (r_score = 2 AND fm_score BETWEEN 5 AND 8) THEN 'Potential Loyalists' + WHEN r_score = 1 AND fm_score BETWEEN 9 AND 10 THEN 'Price Sensitive' + WHEN r_score = 2 AND fm_score BETWEEN 9 AND 10 THEN 'Promising' + WHEN r_score = 3 AND fm_score BETWEEN 7 AND 10 THEN 'About to Sleep' + ELSE 'Unclassified' + END AS rfm_segment + FROM cells +), segment_totals AS ( + SELECT rfm_segment, + COUNT(*) AS segment_customer_count, + SUM(order_count) AS segment_order_count, + SUM(total_spend) AS segment_total_spend, + SUM(orders_without_payment) AS segment_orders_without_payment + FROM segmented + GROUP BY rfm_segment +), segment_comparison AS ( + -- Segment and overall averages are order-weighted: spend / order count. + SELECT *, + segment_total_spend / NULLIF(segment_order_count, 0) AS segment_avg, + SUM(segment_total_spend) OVER () / NULLIF(SUM(segment_order_count) OVER (), 0) AS overall_avg, + DENSE_RANK() OVER ( + ORDER BY segment_total_spend / NULLIF(segment_order_count, 0) DESC + ) AS segment_rank + FROM segment_totals +) +SELECT c.customer_unique_id, + c.rfm_segment, c.rfm_cell, c.r_score, c.f_score, c.m_score, + c.last_purchase_timestamp, c.as_of_timestamp, + ROUND(c.recency_days, 2) AS recency_days, + c.order_count, c.total_spend, c.orders_without_payment, + ROUND(c.total_spend / NULLIF(c.order_count, 0), 2) AS customer_avg_sales_per_order, + s.segment_customer_count, s.segment_order_count, + ROUND(s.segment_total_spend, 2) AS segment_total_spend, + s.segment_orders_without_payment, + ROUND(s.segment_avg, 2) AS segment_avg_sales_per_order, + ROUND(s.overall_avg, 2) AS overall_avg_sales_per_order, + ROUND(s.segment_avg - s.overall_avg, 2) AS segment_avg_difference_vs_overall, + s.segment_rank AS segment_rank_by_avg_sales_per_order +FROM segmented AS c +JOIN segment_comparison AS s ON s.rfm_segment = c.rfm_segment +ORDER BY s.segment_rank, c.rfm_segment, c.customer_unique_id; diff --git a/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local004.sql b/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local004.sql new file mode 100644 index 00000000..ba63f262 --- /dev/null +++ b/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local004.sql @@ -0,0 +1,25 @@ +WITH order_payment_totals AS ( + SELECT order_id, SUM(payment_value) AS total_payment + FROM order_payments + GROUP BY order_id +), customer_stats AS ( + SELECT c.customer_unique_id, + COUNT(*) AS number_of_orders, + SUM(p.total_payment) / COUNT(*) AS average_payment_per_order, + JULIANDAY(MAX(o.order_purchase_timestamp)) - + JULIANDAY(MIN(o.order_purchase_timestamp)) AS lifespan_days + FROM orders AS o + JOIN customers AS c ON c.customer_id = o.customer_id + LEFT JOIN order_payment_totals AS p ON p.order_id = o.order_id + GROUP BY c.customer_unique_id + HAVING SUM(p.total_payment) IS NOT NULL +) +SELECT customer_unique_id, + number_of_orders, + average_payment_per_order, + CASE WHEN lifespan_days < 7.0 THEN 1.0 + ELSE lifespan_days / 7.0 + END AS customer_lifespan_weeks +FROM customer_stats +ORDER BY average_payment_per_order DESC, customer_unique_id +LIMIT 3; diff --git a/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local021.sql b/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local021.sql new file mode 100644 index 00000000..988a5a48 --- /dev/null +++ b/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local021.sql @@ -0,0 +1,18 @@ +WITH striker_match_runs AS ( + SELECT b.striker, b.match_id, SUM(s.runs_scored) AS match_runs + FROM ball_by_ball AS b + JOIN batsman_scored AS s + ON s.match_id = b.match_id + AND s.innings_no = b.innings_no + AND s.over_id = b.over_id + AND s.ball_id = b.ball_id + WHERE b.striker IS NOT NULL + GROUP BY b.striker, b.match_id +), qualifying_striker_totals AS ( + SELECT striker, SUM(match_runs) AS total_runs + FROM striker_match_runs + GROUP BY striker + HAVING MAX(match_runs) > 50 +) +SELECT AVG(total_runs) AS average_total_runs +FROM qualifying_striker_totals; diff --git a/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local024.sql b/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local024.sql new file mode 100644 index 00000000..f3787b96 --- /dev/null +++ b/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local024.sql @@ -0,0 +1,31 @@ +WITH appearances AS ( + SELECT DISTINCT player_id, match_id + FROM player_match +), match_runs AS ( + SELECT b.striker AS player_id, + b.match_id, + SUM(s.runs_scored) AS runs + FROM ball_by_ball AS b + JOIN batsman_scored AS s + ON s.match_id = b.match_id + AND s.innings_no = b.innings_no + AND s.over_id = b.over_id + AND s.ball_id = b.ball_id + GROUP BY b.striker, b.match_id +), player_averages AS ( + SELECT a.player_id, + AVG(COALESCE(r.runs, 0)) AS avg_runs_per_match + FROM appearances AS a + LEFT JOIN match_runs AS r + ON r.player_id = a.player_id + AND r.match_id = a.match_id + GROUP BY a.player_id +) +SELECT p.country_name, + AVG(pa.avg_runs_per_match) AS country_batting_average +FROM player_averages AS pa +JOIN player AS p ON p.player_id = pa.player_id +WHERE p.country_name IS NOT NULL +GROUP BY p.country_name +ORDER BY country_batting_average DESC, p.country_name ASC +LIMIT 5; diff --git a/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local029.sql b/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local029.sql new file mode 100644 index 00000000..56373e02 --- /dev/null +++ b/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local029.sql @@ -0,0 +1,34 @@ +WITH delivered_orders AS ( + SELECT o.order_id, o.order_purchase_timestamp, + c.customer_unique_id, c.customer_city, c.customer_state + FROM olist_orders AS o + JOIN olist_customers AS c ON c.customer_id = o.customer_id + WHERE o.order_status = 'delivered' +), top_customers AS ( + SELECT customer_unique_id, COUNT(DISTINCT order_id) AS delivered_order_count + FROM delivered_orders + GROUP BY customer_unique_id + ORDER BY delivered_order_count DESC, customer_unique_id + LIMIT 3 +), payment_averages AS ( + SELECT d.customer_unique_id, AVG(p.payment_value) AS average_payment_value + FROM delivered_orders AS d + JOIN top_customers AS t ON t.customer_unique_id = d.customer_unique_id + JOIN olist_order_payments AS p ON p.order_id = d.order_id + GROUP BY d.customer_unique_id +), ranked_locations AS ( + SELECT d.customer_unique_id, d.customer_city, d.customer_state, + ROW_NUMBER() OVER ( + PARTITION BY d.customer_unique_id + ORDER BY d.order_purchase_timestamp DESC, d.order_id DESC + ) AS location_rank + FROM delivered_orders AS d + JOIN top_customers AS t ON t.customer_unique_id = d.customer_unique_id +) +SELECT t.customer_unique_id, t.delivered_order_count, p.average_payment_value, + l.customer_city, l.customer_state +FROM top_customers AS t +LEFT JOIN payment_averages AS p ON p.customer_unique_id = t.customer_unique_id +JOIN ranked_locations AS l + ON l.customer_unique_id = t.customer_unique_id AND l.location_rank = 1 +ORDER BY t.delivered_order_count DESC, t.customer_unique_id; diff --git a/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local041.sql b/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local041.sql new file mode 100644 index 00000000..b4e844d9 --- /dev/null +++ b/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local041.sql @@ -0,0 +1,3 @@ +SELECT 100.0 * COUNT(CASE WHEN health = 'Good' THEN 1 END) / COUNT(*) AS good_health_percentage +FROM trees +WHERE boroname = 'Bronx'; diff --git a/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local062.sql b/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local062.sql new file mode 100644 index 00000000..051a46d8 --- /dev/null +++ b/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local062.sql @@ -0,0 +1,56 @@ +WITH RECURSIVE +buckets(bucket) AS ( + VALUES (1) + UNION ALL + SELECT bucket + 1 FROM buckets WHERE bucket < 10 +), +italian_customers AS ( + SELECT DISTINCT c.cust_id + FROM customers AS c + JOIN countries AS co ON co.country_id = c.country_id + WHERE co.country_iso_code = 'IT' +), +december_sales AS MATERIALIZED ( + SELECT cust_id, prod_id, time_id, channel_id, promo_id, quantity_sold + FROM sales + WHERE time_id >= '2021-12-01' AND time_id < '2022-01-01' +), +december_costs AS MATERIALIZED ( + SELECT prod_id, time_id, channel_id, promo_id, unit_price, unit_cost + FROM costs + WHERE time_id >= '2021-12-01' AND time_id < '2022-01-01' +), +customer_profits AS ( + SELECT i.cust_id, + COALESCE(SUM(s.quantity_sold * (d.unit_price - d.unit_cost)), 0.0) AS total_profit + FROM italian_customers AS i + LEFT JOIN december_sales AS s ON s.cust_id = i.cust_id + LEFT JOIN december_costs AS d + ON d.prod_id = s.prod_id + AND d.time_id = s.time_id + AND d.channel_id = s.channel_id + AND d.promo_id = s.promo_id + GROUP BY i.cust_id +), +profit_range AS ( + SELECT MIN(total_profit) AS min_profit, MAX(total_profit) AS max_profit + FROM customer_profits +), +assigned AS ( + SELECT p.cust_id, p.total_profit, + CASE + WHEN r.min_profit = r.max_profit THEN 1 + ELSE MIN(10, 1 + CAST(10.0 * (p.total_profit - r.min_profit) + / (r.max_profit - r.min_profit) AS INTEGER)) + END AS bucket + FROM customer_profits AS p + CROSS JOIN profit_range AS r +) +SELECT b.bucket, + COUNT(a.cust_id) AS customer_count, + MIN(a.total_profit) AS min_total_profit, + MAX(a.total_profit) AS max_total_profit +FROM buckets AS b +LEFT JOIN assigned AS a ON a.bucket = b.bucket +GROUP BY b.bucket +ORDER BY b.bucket; diff --git a/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local064.sql b/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local064.sql new file mode 100644 index 00000000..b14e1c88 --- /dev/null +++ b/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local064.sql @@ -0,0 +1,57 @@ +WITH RECURSIVE months(month_start) AS ( + VALUES ('2020-01-01') + UNION ALL + SELECT date(month_start, '+1 month') + FROM months + WHERE month_start < '2020-12-01' +), +customers AS ( + SELECT customer_id FROM customer_nodes + UNION + SELECT customer_id FROM customer_transactions +), +monthly_transactions AS ( + SELECT customer_id, + date(txn_date, 'start of month') AS month_start, + SUM(CASE txn_type + WHEN 'deposit' THEN txn_amount + WHEN 'withdrawal' THEN -txn_amount + END) AS balance + FROM customer_transactions + WHERE txn_date >= '2020-01-01' + AND txn_date < '2021-01-01' + AND txn_type IN ('deposit', 'withdrawal') + GROUP BY customer_id, date(txn_date, 'start of month') +), +monthly_stats AS ( + SELECT m.month_start, + COUNT(CASE WHEN t.balance > 0 THEN 1 END) AS positive_customers, + AVG(COALESCE(t.balance, 0)) AS avg_balance + FROM months AS m + CROSS JOIN customers AS c + LEFT JOIN monthly_transactions AS t + ON t.customer_id = c.customer_id + AND t.month_start = m.month_start + GROUP BY m.month_start +), +highest AS ( + SELECT * + FROM monthly_stats + ORDER BY positive_customers DESC, month_start + LIMIT 1 +), +lowest AS ( + SELECT * + FROM monthly_stats + ORDER BY positive_customers ASC, month_start + LIMIT 1 +) +SELECT strftime('%Y-%m', h.month_start) AS highest_month, + h.positive_customers AS highest_positive_customer_count, + h.avg_balance AS highest_month_avg_balance, + strftime('%Y-%m', l.month_start) AS lowest_month, + l.positive_customers AS lowest_positive_customer_count, + l.avg_balance AS lowest_month_avg_balance, + h.avg_balance - l.avg_balance AS average_balance_difference +FROM highest AS h +CROSS JOIN lowest AS l; diff --git a/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local072.sql b/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local072.sql new file mode 100644 index 00000000..f337998b --- /dev/null +++ b/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local072.sql @@ -0,0 +1,42 @@ +WITH january_daily AS ( + SELECT country_code_2, + DATE(insert_date) AS insertion_day, + COUNT(*) AS entry_count, + SUM(CASE WHEN capital = 1 THEN 1 ELSE 0 END) AS capital_entry_count + FROM cities + WHERE DATE(insert_date) >= '2022-01-01' + AND DATE(insert_date) < '2022-02-01' + AND country_code_2 IS NOT NULL + GROUP BY country_code_2, DATE(insert_date) +), numbered_days AS ( + SELECT *, + COUNT(*) OVER (PARTITION BY country_code_2) AS january_days, + JULIANDAY(insertion_day) - ROW_NUMBER() OVER ( + PARTITION BY country_code_2 ORDER BY insertion_day + ) AS streak_id + FROM january_daily +), streaks AS ( + SELECT country_code_2, + MIN(insertion_day) AS period_start, + MAX(insertion_day) AS period_end, + COUNT(*) AS consecutive_days, + 1.0 * SUM(capital_entry_count) / SUM(entry_count) AS capital_proportion + FROM numbered_days + WHERE january_days = 9 + GROUP BY country_code_2, streak_id +), ranked_streaks AS ( + SELECT *, + RANK() OVER ( + PARTITION BY country_code_2 ORDER BY consecutive_days DESC + ) AS streak_rank + FROM streaks +) +SELECT c.country_name, + s.period_start, + s.period_end, + s.consecutive_days, + s.capital_proportion +FROM ranked_streaks AS s +JOIN cities_countries AS c ON c.country_code_2 = s.country_code_2 +WHERE s.streak_rank = 1 +ORDER BY c.country_name, s.period_start; diff --git a/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local073.sql b/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local073.sql new file mode 100644 index 00000000..4931124f --- /dev/null +++ b/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local073.sql @@ -0,0 +1,40 @@ +WITH orders AS ( + SELECT c.rowid AS row_id, c.order_id, c.customer_id, n.pizza_name, + CASE WHEN n.pizza_name = 'Meatlovers' THEN 1 ELSE 2 END AS pizza_id, + c.order_time, c.exclusions, c.extras + FROM pizza_clean_customer_orders AS c + JOIN pizza_names AS n ON n.pizza_id = c.pizza_id +), ingredients AS ( + SELECT o.row_id, CAST(s.value AS INTEGER) AS topping_id + FROM orders AS o + JOIN pizza_recipes AS r ON r.pizza_id = o.pizza_id + CROSS JOIN json_each('[' || r.toppings || ']') AS s + WHERE NOT EXISTS ( + SELECT 1 + FROM json_each('[' || COALESCE(o.exclusions, '') || ']') AS e + WHERE CAST(e.value AS INTEGER) = CAST(s.value AS INTEGER) + ) + UNION ALL + SELECT o.row_id, CAST(x.value AS INTEGER) AS topping_id + FROM orders AS o + CROSS JOIN json_each('[' || COALESCE(o.extras, '') || ']') AS x +), topping_counts AS ( + SELECT i.row_id, t.topping_name, COUNT(*) AS occurrences + FROM ingredients AS i + JOIN pizza_toppings AS t ON t.topping_id = i.topping_id + GROUP BY i.row_id, t.topping_name +) +SELECT o.row_id, o.order_id, o.customer_id, o.pizza_id, o.pizza_name, + o.pizza_name || ': ' || COALESCE(( + SELECT group_concat(label, ', ') + FROM ( + SELECT CASE WHEN tc.occurrences > 1 + THEN '2x' || tc.topping_name ELSE tc.topping_name END AS label + FROM topping_counts AS tc + WHERE tc.row_id = o.row_id + ORDER BY (tc.occurrences > 1) DESC, tc.topping_name COLLATE NOCASE + ) + ), '') AS ingredient_list +FROM orders AS o +GROUP BY o.row_id, o.order_id, o.pizza_name, o.order_time +ORDER BY o.row_id ASC; diff --git a/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local081.sql b/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local081.sql new file mode 100644 index 00000000..11e5df30 --- /dev/null +++ b/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local081.sql @@ -0,0 +1,19 @@ +WITH customer_spending AS ( + SELECT o.customerid, + COALESCE(SUM(od.unitprice * od.quantity), 0) AS total_spent + FROM orders AS o + LEFT JOIN order_details AS od ON od.orderid = o.orderid + WHERE o.orderdate >= '1998-01-01' + AND o.orderdate < '1999-01-01' + AND o.customerid IS NOT NULL + GROUP BY o.customerid +) +SELECT g.groupname AS spending_group, + COUNT(s.customerid) AS customer_count, + 100.0 * COUNT(s.customerid) / + NULLIF((SELECT COUNT(*) FROM customer_spending), 0) AS customer_percentage +FROM customergroupthreshold AS g +LEFT JOIN customer_spending AS s + ON s.total_spent BETWEEN g.rangebottom AND g.rangetop +GROUP BY g.groupname, g.rangebottom +ORDER BY g.rangebottom; diff --git a/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local096.sql b/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local096.sql new file mode 100644 index 00000000..82dc3cbe --- /dev/null +++ b/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local096.sql @@ -0,0 +1,15 @@ +WITH cast_status AS ( + SELECT c.MID, + MIN(CASE WHEN p.Gender = 'Female' THEN 1 ELSE 0 END) AS all_female + FROM M_Cast AS c + LEFT JOIN Person AS p ON p.PID = TRIM(c.PID) + GROUP BY c.MID +) +SELECT CAST(SUBSTR(m.year, -4) AS INTEGER) AS year, + COUNT(*) AS total_movies, + 100.0 * COUNT(CASE WHEN cs.all_female = 1 THEN 1 END) / COUNT(*) + AS percentage_exclusively_female +FROM Movie AS m +LEFT JOIN cast_status AS cs ON cs.MID = m.MID +GROUP BY CAST(SUBSTR(m.year, -4) AS INTEGER) +ORDER BY year; diff --git a/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local163.sql b/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local163.sql new file mode 100644 index 00000000..762b145b --- /dev/null +++ b/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local163.sql @@ -0,0 +1,16 @@ +WITH rank_averages AS ( + SELECT FacRank, FacFirstName, FacLastName, FacSalary, + AVG(FacSalary) OVER (PARTITION BY FacRank) AS avg_salary + FROM university_faculty + WHERE FacRank IS NOT NULL AND FacSalary IS NOT NULL +), closest AS ( + SELECT FacRank, FacFirstName, FacLastName, FacSalary, + DENSE_RANK() OVER ( + PARTITION BY FacRank ORDER BY ABS(FacSalary - avg_salary) + ) AS proximity_rank + FROM rank_averages +) +SELECT FacRank, FacFirstName, FacLastName, FacSalary +FROM closest +WHERE proximity_rank = 1 +ORDER BY FacRank, FacLastName, FacFirstName, FacSalary; diff --git a/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local194.sql b/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local194.sql new file mode 100644 index 00000000..e826c2e3 --- /dev/null +++ b/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local194.sql @@ -0,0 +1,39 @@ +WITH film_revenue AS ( + SELECT i.film_id, SUM(p.amount) AS total_revenue + FROM payment AS p + JOIN rental AS r ON r.rental_id = p.rental_id + JOIN inventory AS i ON i.inventory_id = r.inventory_id + GROUP BY i.film_id +), +cast_size AS ( + SELECT film_id, COUNT(*) AS actor_count + FROM film_actor + GROUP BY film_id +), +ranked_films AS ( + SELECT fa.actor_id, + f.film_id, + f.title, + COALESCE(fr.total_revenue, 0) AS total_revenue, + 1.0 * COALESCE(fr.total_revenue, 0) / cs.actor_count AS average_revenue_per_actor, + ROW_NUMBER() OVER ( + PARTITION BY fa.actor_id + ORDER BY COALESCE(fr.total_revenue, 0) DESC, f.film_id + ) AS revenue_rank + FROM film_actor AS fa + JOIN film AS f ON f.film_id = fa.film_id + JOIN cast_size AS cs ON cs.film_id = fa.film_id + LEFT JOIN film_revenue AS fr ON fr.film_id = fa.film_id +) +SELECT a.actor_id, + a.first_name, + a.last_name, + rf.revenue_rank, + rf.film_id, + rf.title, + rf.total_revenue, + rf.average_revenue_per_actor +FROM ranked_films AS rf +JOIN actor AS a ON a.actor_id = rf.actor_id +WHERE rf.revenue_rank <= 3 +ORDER BY a.actor_id, rf.revenue_rank; diff --git a/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local218.sql b/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local218.sql new file mode 100644 index 00000000..b9406745 --- /dev/null +++ b/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local218.sql @@ -0,0 +1,24 @@ +WITH match_goals AS ( + SELECT season, home_team_api_id AS team_id, home_team_goal AS goals + FROM "Match" + UNION ALL + SELECT season, away_team_api_id AS team_id, away_team_goal AS goals + FROM "Match" +), season_totals AS ( + SELECT team_id, season, SUM(goals) AS season_goals + FROM match_goals + WHERE team_id IS NOT NULL AND season IS NOT NULL AND goals IS NOT NULL + GROUP BY team_id, season +), team_best AS ( + SELECT team_id, MAX(season_goals) AS highest_season_goals + FROM season_totals + GROUP BY team_id +), ranked AS ( + SELECT highest_season_goals, + ROW_NUMBER() OVER (ORDER BY highest_season_goals, team_id) AS rn, + COUNT(*) OVER () AS team_count + FROM team_best +) +SELECT AVG(highest_season_goals) AS median_highest_season_goals +FROM ranked +WHERE rn BETWEEN (team_count + 1) / 2 AND (team_count + 2) / 2; diff --git a/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local264.sql b/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local264.sql new file mode 100644 index 00000000..56026c0a --- /dev/null +++ b/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local264.sql @@ -0,0 +1,6 @@ +SELECT L1_model, COUNT(*) AS total_occurrences +FROM stack_ok +WHERE L1_model IS NOT NULL +GROUP BY L1_model +ORDER BY total_occurrences DESC, L1_model +LIMIT 1; diff --git a/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local279.sql b/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local279.sql new file mode 100644 index 00000000..c2f52ea9 --- /dev/null +++ b/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local279.sql @@ -0,0 +1,34 @@ +WITH RECURSIVE inventory_model ( + product_id, mth, ending_inventory, qty_minimum, qty_purchase +) AS ( + SELECT i.product_id, '2018-12-01', i.qty, p.qty_minimum, p.qty_purchase + FROM inventory_totals AS i + JOIN product_minimums AS p ON p.product_id = i.product_id + + UNION ALL + + SELECT r.product_id, b.mth, + r.ending_inventory - b.qty + + CASE WHEN r.ending_inventory - b.qty < r.qty_minimum + THEN r.qty_purchase ELSE 0 END, + r.qty_minimum, r.qty_purchase + FROM inventory_model AS r + JOIN monthly_budget AS b + ON b.product_id = r.product_id + AND b.mth = date(r.mth, '+1 month') + WHERE b.mth < '2020-01-01' +), differences AS ( + SELECT product_id, mth, ABS(ending_inventory - qty_minimum) AS abs_diff + FROM inventory_model + WHERE mth >= '2019-01-01' +), ranked AS ( + SELECT product_id, mth, abs_diff, + ROW_NUMBER() OVER ( + PARTITION BY product_id ORDER BY abs_diff, mth + ) AS rn + FROM differences +) +SELECT product_id, mth, abs_diff +FROM ranked +WHERE rn = 1 +ORDER BY product_id; diff --git a/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local310.sql b/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local310.sql new file mode 100644 index 00000000..b6254026 --- /dev/null +++ b/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local310.sql @@ -0,0 +1,31 @@ +WITH yearly_results AS ( + -- Use races only to map each result to a year; all points come from results. + SELECT r.year, res.driver_id, res.constructor_id, res.points + FROM results AS res + JOIN races AS r ON r.race_id = res.race_id +), +driver_totals AS ( + SELECT year, driver_id, SUM(points) AS total_points + FROM yearly_results + GROUP BY year, driver_id +), +constructor_totals AS ( + SELECT year, constructor_id, SUM(points) AS total_points + FROM yearly_results + GROUP BY year, constructor_id +), +driver_maxima AS ( + SELECT year, MAX(total_points) AS max_points + FROM driver_totals + GROUP BY year +), +constructor_maxima AS ( + SELECT year, MAX(total_points) AS max_points + FROM constructor_totals + GROUP BY year +) +SELECT d.year +FROM driver_maxima AS d +JOIN constructor_maxima AS c ON c.year = d.year +ORDER BY (d.max_points + c.max_points) ASC, d.year ASC +LIMIT 3; diff --git a/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local335.sql b/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local335.sql new file mode 100644 index 00000000..b1bca120 --- /dev/null +++ b/bench/accuracy/results/spider-development-v1/gpt62-sol/sql/local335.sql @@ -0,0 +1,31 @@ +WITH season_finales AS ( + SELECT r.year, r.race_id, + ROW_NUMBER() OVER (PARTITION BY r.year ORDER BY r.round DESC, r.race_id DESC) AS rn + FROM races AS r + WHERE r.year >= 2001 + AND EXISTS (SELECT 1 FROM driver_standings AS ds WHERE ds.race_id = r.race_id) +), ranked_drivers AS ( + SELECT f.year, ds.driver_id, + DENSE_RANK() OVER (PARTITION BY f.year ORDER BY ds.points) AS points_rank + FROM season_finales AS f + JOIN driver_standings AS ds ON ds.race_id = f.race_id + WHERE f.rn = 1 AND ds.points > 0 +), scoring_constructors AS ( + SELECT r.year, res.driver_id, res.constructor_id + FROM results AS res + JOIN races AS r ON r.race_id = res.race_id + WHERE r.year >= 2001 AND res.points > 0 + UNION + SELECT r.year, sr.driver_id, sr.constructor_id + FROM sprint_results AS sr + JOIN races AS r ON r.race_id = sr.race_id + WHERE r.year >= 2001 AND sr.points > 0 +) +SELECT c.name AS constructor, COUNT(DISTINCT rd.year) AS season_count +FROM ranked_drivers AS rd +JOIN scoring_constructors AS sc ON sc.year = rd.year AND sc.driver_id = rd.driver_id +JOIN constructors AS c ON c.constructor_id = sc.constructor_id +WHERE rd.points_rank = 1 +GROUP BY c.constructor_id, c.name +ORDER BY season_count DESC, c.name, c.constructor_id +LIMIT 5; diff --git a/bench/accuracy/results/spider-development-v1/gpt62-sol/status.json b/bench/accuracy/results/spider-development-v1/gpt62-sol/status.json new file mode 100644 index 00000000..12ae5382 --- /dev/null +++ b/bench/accuracy/results/spider-development-v1/gpt62-sol/status.json @@ -0,0 +1,4 @@ +{ + "status": "completed", + "wall_seconds": 162.0530620419886 +} diff --git a/bench/accuracy/results/spider-development-v1/manifest.json b/bench/accuracy/results/spider-development-v1/manifest.json new file mode 100644 index 00000000..2929b33c --- /dev/null +++ b/bench/accuracy/results/spider-development-v1/manifest.json @@ -0,0 +1,655 @@ +{ + "benchmark": "Spider 2.0-Lite SQLite subset", + "upstream_commit": "cafb867313aab4e674652054198f383cf4018943", + "baseline_commit": "e0a7fb1", + "seed": 20261114, + "selection": "seeded shuffle of local IDs before inference", + "question_file_sha256": "4ba48916576fbd60311a2478c6d4550b5d8cf3fcbc512457ea493b5941ca009d", + "evaluator_sha256": "e93624e4ffa00e51c67bdee1d9e42b534630087cb453270c0dedc0c73e618480", + "db_sha256": { + "IPL": "bf5ddbf887bbf992a091ef31ee681b9339ba716c327263fce0f3b4da924f22c1", + "bank_sales_trading": "10c8b8136486902a19c3f974f210e9fb7c8f98918ae0313114c720219b02e18c", + "city_legislation": "6a9714f9fe11676691c38bb6e2cd048ab877415d28c358a2647ff1b8b8bfe763", + "modern_data": "d4910db155d7be8070d14cab6e44862d0fa74d71e6588d114c4bacb4225942e4", + "delivery_center": "d882e3e6552634e27739beab4c65fe8ec2086b84155489762f9052a663913f9e", + "Pagila": "dbca3837b9965d75fbc2b4af1b2daec57d841f95942e656cea44db997e05da88", + "E_commerce": "49446afd935721ee12fc95316fbee9666a3e1bd4872dfa194fe4625d6762a81a", + "electronic_sales": "8e759e113c316c7f996c2e721b596f73979fe679abeacb21e6ea5dbe6fc62eaa", + "oracle_sql": "ace68ede8f7fddc523d522e938ccfeee1f54c11888fd2c956ebc27892fc595fe", + "Airlines": "83dd643367785c6b38b5379eecaf2c37128babac96805a48362783ff0cafc0a1", + "education_business": "d3498b07f44a4ac1757798d70f4cac7c44d16082c0608c58a74d5aa0d6d058f9", + "California_Traffic_Collision": "14ace2b5213306081611b24647fe70778426bbcb0d5b30e85beb0386ffcf1020", + "Baseball": "4784826541ea40d76dd9c2da2812e189ec351ca79e2738916da5587b465341cd", + "music": "f82efedb6c5c40734609e168bc5be5616a2eca6b90ed0048451a8674625e03a3", + "complex_oracle": "2244dbd99d5205941353024332eb62b1754d3383bcd7c8c20361344d736be00c", + "WWE": "5e21654b3ea344583c921864c499ea984e66fb46579f7d4e74f531d0f415a52a", + "EU_soccer": "b4ebd079625bb9cd20437eaae1ccd0fc82f0f390567cfe3ee1df78fa08ad5f9a", + "f1": "35ad3b824678e8435bde02f14bcd554630792874749fdd59fe9ca1385234ce23", + "Db-IMDB": "34b043fffa7e10a152c8d1536bb54e5365df102ac9d8c09d4549ef0d9ef6aadf", + "log": "800191cd5ba91dcaebb427bb9313dc5bef1571b848b597508f15372e77c2dbd8", + "sqlite-sakila": "dbca3837b9965d75fbc2b4af1b2daec57d841f95942e656cea44db997e05da88", + "EntertainmentAgency": "24237bd0232f4b542b3e5c0417c9890c1d02ae8e2434253af58528e517a0fd07", + "school_scheduling": "bf37030ee170906bfa6bf5958766cf2a63dc0ad8168b3892ad96940be838fe63", + "Brazilian_E_Commerce": "96d1becb02714d76ef1a728d8ca0de33e52acead1668abd5f7d8a73a45f6d0f3", + "imdb_movies": "175c1da2deb00fe28d70608f7839aea5abc214dca15bb3e8622c9b7258c25b9e", + "BowlingLeague": "f8ceb5692677a5a4e04d0a08dd495ae8dbebffbacdb2a66dec551613775bc12c", + "northwind": "80a1d9591da7aeaaa439ba0002023d5ab69d3f15a3d8b2ac9389dfd30543c1e7", + "chinook": "d6c11e2ccda2a36883af57f031f76fbd55e247f3be1710c4c8aaa72ec06a18cb", + "stacking": "eb683890921eb597f176692fe6ac9fb544dde3fd78084d019bf82cd0e6efe780", + "AdventureWorks": "f8bb86bfde5fca5636030fa9490ad37d4397b0b21591ee62c7aca363a64f2653" + }, + "gold_sha256": { + "local020_a.csv": "c1b371bd6f78e69c1fbf6c18aeb322eb8eb6ee941d2ab38891867bbeebf6ae19", + "local020_b.csv": "7c70ccf7dcf12696171f65f84ac3a12ec0c186c9d652e17eb4bca16ecdc713f0", + "local064_b.csv": "dec7e4121cca37fbc2382cc8cc6ee1aeaef25db34fb2b48402cb535a5a6529c0", + "local064_c.csv": "06a27d4d7c5abc98f940988e1a3e42b63013f67a64cfbc380026678d9cfd8c7c", + "local064_a.csv": "500a9aa255bca20726cd09bb246f629cbd646a8add8fb1909392ecd09f93b297", + "local169_d.csv": "5220ca53e1d1d4f299f003c98c0d3d0f6beaa89a19648cb5be05f8c4979b24ee", + "local169_a.csv": "b3dec45955dc3e802667d623e072f56cf164bd5aa3ef7488e4126dff07887437", + "local169_c.csv": "1a36de9147b3b3ca4d39f111e15401ab332d343784744e4400e0c44768dea798", + "local169_b.csv": "a7f5b51992d6a1f5ac5aafc37a89b9d77b5a04d459cb7ca450e0f5777dc6c2ee", + "local073_b.csv": "203926fa65c2315ce652c2c648edf76f84d2a324f61218bcb3ebbd140335ae60", + "local073_a.csv": "7bd11f899aab7c37790cdf55b7f04b09a060d36d44ca57343018a22ae64f88e0", + "local302_b.csv": "1cdb9b8168d2bab6b7897b79122d767026313001c9df4846146c70d012ba9ab5", + "local302_a.csv": "6865f086e47dc7842c167d5907830506a7c591a0f387c3a1f4106eb56555269b", + "local212_b.csv": "bb74516e6d3253874a418c2af2a5240011b36fd104e340881b41377279731c07", + "local212_c.csv": "3e9ffdfbb80e8c424d7c927495c04b575113dc129237d674384490b6f19f7a95", + "local212_a.csv": "a7ec3f8b50d95a2c946b9904841ad97c48ee2ae066f18e95840ca041f2653228", + "local075_b.csv": "ecb3ddc0d38d6561d4633006dd578b1150d1eb79ab1b753d9bb3d529f496c361", + "local075_a.csv": "ecd72e006e9322343c1d008e606b1f87dd9cea8c522821603adefe2e15e74f61", + "local038_b.csv": "7a92c8c4d7b6aedd050aabb1bcfe26348038cfc3429e99ff2e1168e0f5d75d09", + "local038_a.csv": "ee3a29f76657fdbc0ac015d17a647bcead7f7edbf2bc9ecfdd33238c4dc16a52", + "local003_c.csv": "96fba57f2fe200d7b18b2d862bc956f98befa8ead69a6d3ff0593197fbecded1", + "local003_b.csv": "35d1fb54543e7b6de87d5d5e7fee1d4dbbd67b7d5d98e72e8fd959ac8a0d38eb", + "local003_a.csv": "dfe02288dc4d860119b85b2629e240b283c19c4828ff92d115de38d2553f2208", + "local003_d.csv": "88569b7c814a488dcf872675bc5cb21b314d81c736574569dd10dcc8cac5765d", + "local286_i.csv": "67282b3f4efdfaee5d82d004381caa8ef9c2d70ded77e5f018bc12121ba648b9", + "local286_h.csv": "b9745253b4426a4754d5f22b7a158c682b69d215467cd20ff39d59b464b8e52f", + "local286_e.csv": "3e2c801aa106e114ac238d3f0593e4b51cb1ab8d333f9ba88ebab1138aa651de", + "local286_d.csv": "e6592fcf5accaed189bcec1a1a6a7d6906932542da0acdd34427d7c05ee4910a", + "local286_f.csv": "3f59abfefe275b81255fe3d591057a807a9110f1baddd41661fe6326dbe80eaa", + "local286_g.csv": "e8900c3cc4a15f719e54346df7e857bf5fa677b25e62a6d211aa57e705a6c53e", + "local286_c.csv": "0f58057a69e464d146ad40b470c2a6e593dbc44209d6b8ca6312bce47142c832", + "local286_b.csv": "ee6565e66e7580bd4bd9766171b6b78a5563099b7b3e2ac7b8c5feb1b8159e0b", + "local286_a.csv": "a10378fc736e6bbdf16a23aeb65840dce586d06db9f7543df5649c0a876c558f", + "local004_a.csv": "7f1b06203ef6e8400537f3ee59295b0794edaf2c4d20cbf428b742205dc79745", + "local004_b.csv": "b727d6aaccf9806451d3aa60f21c4830c51268a8c4ba1c2373bb20b02e4b8ad2", + "local277_a.csv": "ec9a93c0d9df1bf97e71c07f51281bc51c94c8bdc3b3468321f18386beb03d28", + "local277_b.csv": "bb0393ebfe836fec7f6382b8c60f173081aee06706de5f808738e58ef74d14ed", + "local277_c.csv": "474344a708d34dfb21b540c0b9c37b566d7dc3e716efae55e40dad2a42f8a141", + "local009_a.csv": "55d99171b807ec637db5e5537862c0a95e7c80e6ff9141ff0954903114bee214", + "local168_e.csv": "973f35863944634ce8e1a0f71ccdf3e3b2e9b4e4af7a7af7cb8d2880369cae35", + "local168_d.csv": "7c350f87225d15834980a48d7eb151d49d7ccb54b0a34063c6353d35d1360a04", + "local168_c.csv": "a099fd0094964acec9e9b7dc780e2d74e3b352d0a406fbd26492b16254a3e9ac", + "local168_b.csv": "0ba23c452b58b79505385e9d640647eb222ff03a8ecc42c3ea735e0dc5a3c47c", + "local168_a.csv": "2e0139876cf21db59202e70f35265ef7153f860a1552b2dbb45b74239d2f41af", + "local058_a.csv": "c74e9663427d34d34cb641480e4807b0459db608f792c2f35b2d072a94b489fd", + "local017_b.csv": "93766776794bd5ae3f393b387b3e96ec4607d1a1b51cbc8efde4ceed137cf1a5", + "local017_a.csv": "51256921f42d6e90afd3d2c173c6c41f78edae73dd08c3db89f4b058d6ccac6b", + "local008_b.csv": "ec056a18be1876a4d931f0a3470e972c83ecda7b2b398b1075f7568e4ccf5815", + "local008_c.csv": "fd4647652ddd17aafd4e2ee4e2beffd47405db36edf56ca756f8e12839f3b65b", + "local008_a.csv": "89ca9045bc066b6f9e407b19bcf51f3972bf6d60c34cb423333ec675489ff9cc", + "local244_a.csv": "5965bfa1f61aa4f176dafa1f6404853176c6c1bb7a2a23611fbf19d947afcbb6", + "local244_b.csv": "a0e9f988fcb19cf1de3e04c2336c9d69ca45f452213e50144d52c12bdd9355e4", + "local063_a.csv": "1793aa1c7acc50826abd3658b0f4e33559fbd6d731d8ec93fafbade87c9d5234", + "local063_b.csv": "a1441c9bb8dc7e44fb5a07fd7859819557c9736cd288d134cedc863840eec30b", + "local063_c.csv": "b755b88cd040cfeec296a84e3047d28c83cc4610578a5dbefd79b237f248dea5", + "local063_d.csv": "d8368237d3fc65210a2fdf27842d5b547ef00140ebee87e1b5e7ee5acf0e7d23", + "local063_e.csv": "4ac60e76e037ba5e62532d02bd6c9009b16bf6ecfeed2d3927892f8164f0772a", + "local259_b.csv": "f2d95d3a692176ef5a7a08318c2257af1e1971db71bff98e7fae55343253e842", + "local259_c.csv": "df6c3de0deee12fbddc77b2b5a0de57c80b0826fa3fa182b4d9615d69c4f2a70", + "local259_a.csv": "2c2419415a341c10edec2e05be6aebbba30f7428456455edf0f46de2ec5b3f2e", + "local019_b.csv": "5a3e07334d13b00ed6b6f0b6ead9542dac5da69a4320e71d942235514a3fb231", + "local019_a.csv": "6094d8e25f80e75f1c7b91b27d5943e71eb63acd8407c0e7165644787b77cbbd", + "local021_a.csv": "0936bacb011189be56c7b695bf624d8ec171e453a34fa6e0ab8817b8fe508caa", + "local002_a.csv": "97eb32859e39d7ee65b2a7501b157e1cd67fe932d58d2c5b931c3442d6a0afbc", + "local002_c.csv": "9deb74fe0ac8eb52df9ebe72260aa5b12c3f574e1858c843b91234f8d92c0cf9", + "local002_b.csv": "d1382f9c7802b5d2e55c3c3431322df282f4059d352ef588bdb70ec076d61879", + "local220_h.csv": "29bc54cf4eefd315349bde9119d4355bf9e8fa315b32ecb9cdaafec1d84b34af", + "local220_i.csv": "72eb0dcadb3803e4db881e56f3e983cf1f70d30f4aea1f3d5ae6d9f12ccdb004", + "local220_a.csv": "3fd793f820da7caf070fa30e734fc50fd512de91bb8726157791e6505b19f2ca", + "local220_b.csv": "307f4b3b18444ac7d3e2e0621f3e446bb0b3542c663d48bf0a3c88c0db8611be", + "local220_c.csv": "cec03dbe63fba9147b27e0d97ee1a750943e8326029df162ca7a54f2950b7e83", + "local220_g.csv": "c9d54b9e5320fd510c11afa8d7ca9a4b0f9b86e13da1a8d6fae8065472e01340", + "local220_f.csv": "6e6ab60d41c302b668986d652e63081989a7c9fa4d8eadce5097a1669be4ed8e", + "local220_d.csv": "38bdcb5070e77309a6968db11620e91994432b85feea07eeea4a998d496ed37f", + "local220_e.csv": "588ce337a1878cb035e7116a0910bf3a1a932446c02dc1da315de913fb19deaa", + "local336_a.csv": "28d892a0a923deac963020adf6123c94465bf5ff0f575e881442968f225db7c6", + "local336_c.csv": "89fea80e22a96f737ea5fc60113d26e4b81b2c6649721f51117fd9ec80215de2", + "local336_b.csv": "43131e08623badb368d1b3b253546e089d9e58ff1013a0c22b89c4ba5c733fbe", + "local336_d.csv": "493f99d0374d955882bca3f0257a2c714eee78111f465a1dc003ee2dcc47f34a", + "local077_d.csv": "55982709bcc150ee95ebd23d9d9389fee472f2f569979462c170cc1f17a42990", + "local077_a.csv": "f6e756eb78b1229ea23bf75d44de15ab0fc5cf79c63815595696186ee3a8ca09", + "local077_b.csv": "77fe93d9db1ab584637158c4a4c0ed60a528a2ecbefb0211eac390647a16b694", + "local077_c.csv": "d05b442624aebc3e586434af3b2837dbc4f2c0810465a97b85c50724bb3a09e9", + "local100_a.csv": "1c65e8f88161a7f86810c6f4669588ca1d3ef321674341c8a11979c489cf692d", + "local210_a.csv": "6560065fb4722f6ad2f6b1690c82d92ed50cdbea71936b2c48f50ed1898db22d", + "local210_b.csv": "47762ab50ef3d12a0a4a5ef5f10c41a7b8047b254e30b8a68ce302f8335f0245", + "local163_a.csv": "96ea14d9b3d8f61947989d5dc62c696eb15425dd86efc3290239b703bf99d506", + "local269_a.csv": "7267c436f72664d40ed245834186360188fa127f28c4a13c5e21d16c9840e28a", + "local285_d.csv": "712513f473959279273b3d6eb70f443ce7fc1f8296e5eab2e666bae2200de666", + "local285_b.csv": "a87ab59dece88c9811bcd52981d716d119609de051975383f4c741d37c98e878", + "local285_c.csv": "f1d1471ad889b1ec40b6ef4bbb691168523b8b01ede4327a5e41461a1f1d65cb", + "local285_a.csv": "3a88e7542df7ebdf18d21e3765fa1f0fcfd7c2af088b36ce169a81c9790431c8", + "local219_e.csv": "12ec2399787f1ca5a882346e9bb24021d9df7cf73787fab77952a7b8db84757c", + "local219_d.csv": "f5d2bdabf22b17758a44df650e6be6fe4a2c0f94a9ed5d0f6b30435dc285a419", + "local219_f.csv": "b8acd8c449ec4e0f38160ef5bd325671b773c2879cad84531da1780044471b08", + "local219_c.csv": "7803b6fc3cb1c317d0d02bb7eb529555659fe416a9fc281fded398f26280c294", + "local219_b.csv": "3d73969fd39cf5a1cbae9d32f3147b19339396083c877b52612b6cf78def4d81", + "local219_a.csv": "9dcf380a8086a2f4ef87a8d6d2db72455c83032f3f7a6e9d6e03281dd602a0d4", + "local360_c.csv": "1b8a564021b0ccd7f0aba665f54bea7f01c17aa48a8d4a2cd920ac12e0e8bf8f", + "local360_b.csv": "e2764c72c8aabc4430bb46ffc6c873f09408a758dbc757d87c6a1aea2d26a371", + "local360_a.csv": "de935d70c61b69e9bb632db32d60e07543447126a30f738eb52b4433dbbeff8d", + "local331_c.csv": "5575b855b619782c80380d2e932b9f8013b5a4e400d17bd6723aff8965f36622", + "local331_b.csv": "398b4c221861dd10271520f700c0ccd5169d9713e3f30c4d8d04f74726f6096c", + "local331_a.csv": "be4bc308953866f6e4b173319a1b0934a3404829753c7662f317ce26bb5be91b", + "local193_a.csv": "15bf368dd71c4ca644d590268b57fe2fe1d080e26ededbf3de3fd3985ea355c2", + "local132_a.csv": "ce397426bf6cb0280cfcc1abc74a4b64e4048568ee9a2d878ef296a4e41576e6", + "local310_a.csv": "35d7876cd66bff44654add1596d74a6a916d15994c5f4a015a48633ec8e4e8c9", + "local041_a.csv": "4b61532d00887c35ce49c293e9a8cdbedf93da39ae84139a3744a07b1a551144", + "local041_b.csv": "2dd088064fc0b86e4deaf8356aa902d290321b5de6fbecb737e0c6da9660f30d", + "local099_b.csv": "fbdca4cd81c62b3d93bc93eb215520d892ba4c290751919f20dd71418ce6a7e4", + "local099_a.csv": "bec10511e51815d3a874d90ce4a83af43396138460f02d4e36d0b0880fa03724", + "local130_a.csv": "6694afd62cbcfd4fba3f359e3e76af114f615c01606190c9787933728ee54daf", + "local066_a.csv": "c1899edc643a416e7b90e8d7d78b8bf46661e9eeb3a87e7d8bad6b9d547cda2b", + "local066_c.csv": "6551bf0440d4bc3e41c471f6dc247f300f93b0fd2b5fd4a8308bdf96e18dbee7", + "local066_b.csv": "cab923a50ec2151f75792452874ef2e7fae3ee533a07e8f8725fd6355762f585", + "local030_a.csv": "161284a3c6f2c5ec916f4886536315005752236edb3f1906d2e894202614144a", + "local209_a.csv": "deddc04c50a244e75de82f47ba6c3f54fbb6f97b988985f6993db03183b8778e", + "local209_b.csv": "e7f4324fd0a268ef8db517670215e03a14ca4d738abd5adce0bb1d48857b84c1", + "local067_b.csv": "c6b945e3fc178475ac8c6440ff33ab4a33578dcf1187f79ba7c2a577f17ce7e8", + "local067_a.csv": "34477c4b74140e991f932a86b10e3ae6cace0a425a4efe9480d2d52ded344180", + "local050_a.csv": "58dfb380fd1b78d1ffdcdd41136ee6d29f5fe878497fd8c447a5643a945bbf42", + "local050_b.csv": "2be2c502211501cac9fe28882a163b8e8e0ada559e88df12d84279f960c98508", + "local050_c.csv": "c02d70fd6770f3b8b7c7400017f9de5fe4a3d98d5bcff5d23bb855bd34e8193c", + "local022_a.csv": "5b0274a5bdf4cb2da91e1cb86da639d2788ff6c9ce12be709c89ebe431a405cc", + "local171_b.csv": "438b893ebb918cc5270c7c83ce5b9c66a2e5c1bee69b01ce916bf44ba01322da", + "local171_a.csv": "43c4b12ce24776c1cb3a4b3d6ccbfbabd2697449aeae73f43f4a8b217f348a94", + "local131_a.csv": "99088095afe2b7e918cd1362c7bfc329d0769b29cbdca8d3a0db17c12cefa257", + "local152_a.csv": "ccc36f93451600109f70423f3f2b22c59efc2aeec4481a34c40c6cd03762ec35", + "local356_b.csv": "5fb856cd42618d59fd31df1d5cd709c44c9ab461f06332c7cb42c4fb0525d875", + "local356_c.csv": "2d55de8bf7ca99d16767c4dd1afc8aac75f555903707439e862e9ae93f9df93a", + "local356_a.csv": "89856e985d2871649e2886240252cdc23f93da31724184c8d5a4a84124c8beb0", + "local356_d.csv": "c2cbf79260717e789c4a46bf0730c3476bbbc825cd8de28dddb12871e901fccb", + "local097_a.csv": "ab059c081ce0df9c377b85691022bb1f9f3667ce570bd81b3939d3051a53ece3", + "local062_a.csv": "2b9d26110be67fe46bcb3660fcf6999b4a003bf2a67cd089e6167870ceba77a1", + "local031_a.csv": "75b4daf5e59d7b7a5ef8810934833306d92260dc859ffa703a04d975c9f337ff", + "local128_a.csv": "2749b51ed71b2551d35f0d59c6ca189bdabfbdbc03ad154d0054c029eede7e0e", + "local081_a.csv": "9da7d88a04332b1b3fe6e84984e5d438fc2259026c92f0a617cd5b288c8b5981", + "local061_b.csv": "657640cf09e4f966f3b27816d2eac9868bc9afd2482a522e2cfca11c1308435f", + "local061_a.csv": "daba05cde352f1495ee5d5fe44e2e97d385dba25daaf9c9eead07d769e296593", + "local037_a.csv": "366902a6892471d22a9c5daf4a0a3a2b00eea621eb2aa7c2488fcd15f3a4b164", + "local037_b.csv": "e1b83ddd4a92ff112d597dd1b7f58242d2311417ae489aa2de8f07d88a08b4c0", + "local157_a.csv": "03259b07da7e44b85bf7f9e29e5acfac68bac669521afd3fb7a58ad56b7eb549", + "local157_b.csv": "624762a24072777e61e04392667b9102a2a75c1d75a120e30a990e7504de3ab6", + "local157_c.csv": "8e17cc7aa611d37ab4cafc7e70b1dfb6b7acb6bbd350fb15df7f2cd33e2fb4f1", + "local253_a.csv": "12bf95bf4418538435351a274cd99e3c5de8f7f51191b8d1f9acbe6167334c82", + "local253_c.csv": "f039653401cf392269288eea252ec11b9521fe764cc1304824a68a85f9c440c0", + "local253_b.csv": "47481be8a36053414a51168cf5f07a50cab22a5ef21d78cf6bcafdbf81b24e49", + "local054_a.csv": "6b684a3248c29aa8a29dc465edb8521463c3f0bd5e069df6e1f8a9e1df602333", + "local274_a.csv": "83d9b383b5f3db1b6d1880a91dde84a7c198d27bb34f5ad70078aa34a426c310", + "local274_b.csv": "bac6a3a31918621fb89e8c4c09b58001e81ad8257195ecab138f4eb20e4ba254", + "local263_a.csv": "af3936a3f06d0148c560a6781446bd98c758195d8c61cc2976b74435928f594e", + "local202_a.csv": "85e9369fc30751cdc1412cb5c7e78c2abeec2985dd4a5a41c5cdd71ddcc18519", + "local015_d.csv": "56f7cfa3c4a037c1c333de502d69d6c916da6014cff549996b09ecc3a89503bd", + "local015_e.csv": "a39ca5bb24cf3c1856102f53125f56c8fe686bc137b7402caaaac932e4a0d78f", + "local015_a.csv": "1d0afabe2283a59d441749067202ebcd70738034bd51d5e594675912f1a65106", + "local015_b.csv": "6d2f13248ceed54c99e70aae4c036a3886505ef8317f01cd84581180755d209e", + "local015_c.csv": "97b0b536c43f4dd48a36cced476efd98a469d2c5dd0950dbaab29924e7a7b31c", + "local195_c.csv": "3f35e382a09418f07f0c5afc5079b8b8fb7caa85215659fdec8f75fd52ca222e", + "local195_b.csv": "c948a0a429525ba0ff477d20448dc822c854ba9a5130dc2a2e1ba45036a1cacf", + "local195_a.csv": "6d010cf196c1cf9df4dbc8c5a5ef43c512870ac233c91264a28eaea8d4c46e2d", + "local201_a.csv": "080af4ed42042e04fe32a13854213d666382484739a9b353c0ae16295fc9fa87", + "local201_b.csv": "839abb14e25553a9f02394bc3ba35c53e528435fdef74dd9ba09acf20e5f7c91", + "local270_b.csv": "c6930b4e54ede426f04d641b7dec97d3794f3b44a2c7edd3c32bc3eef0b7c908", + "local270_a.csv": "44cbe0fc3c486a69790f015ad4b0944b7214d04ac9e1be0f3b3ac098aaf9605f", + "local354_a.csv": "a7a64d27016f986a8e8147b7c9d3a223b8f4082ea600ced8e5556e9080bdc2f3", + "local354_c.csv": "b846ff6920213823d198c67e147fbc7e3dd9924b951b47a3fdc1c9178dab4db0", + "local354_b.csv": "47de60a37350b531c54141ab5c1f46c294f2548fd6ef066ba2dbaf6f3f0802d0", + "local354_f.csv": "f3f2f1c0d9f0cf62a1b62770172eae26df2c961e190a5ed400dc83a48c53aae6", + "local354_g.csv": "8f9205af30974a993814edd1cccf5bdcd966a0641a0fc779246ed08beb457846", + "local354_e.csv": "d64bc9fa961ed98903c44ab63a73335502f3708fed027e618d35171c088210f3", + "local354_d.csv": "3672e9edce01bc9365f9fdef6ff15b4e94229c86f666a6a2686f241c7f25e931", + "local354_h.csv": "a4650a35efeaa4abf6142031a5cadf3dbee302a2abc232e8bb111d40fb6c89a8", + "local355_c.csv": "3b325c85166cd828601d40d98fbcb5a8b9ad301a8205c4f249cadd007c81f471", + "local355_b.csv": "45a67bcdebf25080c908c0449493e2ba503b7dd3168a17736629950d93a0fc83", + "local355_a.csv": "b6791e332962e204bca0fb65dc5cc521772bd22ed4bd2c9e0dd1436c5cf91bb6", + "local355_e.csv": "5edac8923a319e1630ddb13b8b0a50660363739a9c8f874adfc1be98242ec83f", + "local355_d.csv": "8c0297b41ffdac464accf4ca3dfafdba1caf68861fcf75545c6f1780649a1d44", + "local272_a.csv": "674a1e63a234810e0cedd5cb866b94177232be38c05e636bb08ef0a4756c8f01", + "local170_a.csv": "2b42a04d9f2a941f4f9e8ec8d8d6cab30636aeb97a68a9986f5281d7e8614a52", + "local170_b.csv": "75ba2f192c088b310f6f430e44f6be6c2975f7c2304602c04518731c444b146b", + "local059_a.csv": "d9b908bce1098fec3340ca821a2d0cc8f1081c3c0b3d9dc443d70887371bbfc7", + "local096_a.csv": "2a72e80ea25a693763018bbb412b540bc37449ffd1a113b332a68c762821f146", + "local026_a.csv": "8b0566d063be61514dd41fd6c20b7f872677ef6e9b74a1959a930c344e73e6ab", + "local065_a.csv": "a88fe08e758fc1ec3e5445c72e82f94e21b134c50fd020b849034d9c3d7e7512", + "local065_b.csv": "5222f53ddf2a5f19fdf8a4c126a89821f02dfb113f8b5149fbefc3f84ab2780f", + "local279_a.csv": "4f7378f0e26249ba807745040c85b6755ecc47ff70fcc44b6aa22caad2d2a437", + "local141_b.csv": "f1274a92ef605fa942f1777b10ee9549869b2c69e6c71db8f0e21060b16fca17", + "local141_a.csv": "f0f881eff759810e1a157ebec160506f64fcecf175c015d384403830765e9513", + "local070_b.csv": "fc5d8fa9225349c33a07ca52643a7f11434e9e8fd5711769b0fca0af3addac15", + "local070_a.csv": "fd0136749fd3215a1d9fcc910a6050866a928f3be65713f5518b5ce3a79acf9a", + "local023_a.csv": "abe0ba55aec5aa107a322556bc4dc73d8d76426eee7f7679a9b4329df0458e3a", + "local221_a.csv": "12397cf2182c3d6fabc5fa3c5d1e1b72abfee48e5852eaaa7f6cc94dc113acdf", + "local301_b.csv": "fe96a3ffda30fcd83a40abde6f463160287f678b600c89ec6d8845f89d2ae5c1", + "local301_c.csv": "2fad0ac554543c8b4adde67d898593b4c102b70777c9c992eaec45067bf8eee3", + "local301_a.csv": "cfd0aa58b5f02bfcd83872d5dac729d9962725bfb558cb70d431fbd1d360dd77", + "local018_a.csv": "be83eb216699f3aaf4769f1dbaa2b483718548855da59eb7fb6466ff15f2d902", + "local298_a.csv": "f295cf8ade91d7120c18bc811a1b3839135437b36a9c71efb59e8979896a8bb9", + "local028_a.csv": "4b08cd97c949a352f8450696db24d140ea0cb5b7c94636dc46d495db8dcc8c01", + "local028_b.csv": "742d31b1c4ca1c891bd22bec5701b18eda75cea427aeaa8ed3f66a5c32743180", + "local196_a.csv": "b3114812d1bd2ee0f83f593cc1ba00228c52add975720b1b9a7a4a596d5e9d5a", + "local230_a.csv": "fa93c03d618f3be4b3046f38c93489b6c5511ced7796b4cc23ae9531d2538234", + "local300_a.csv": "8881876917149ed5fa7a655ddec6de301e4b9eb88691c8d3717159cec1f10a66", + "local300_b.csv": "b6e12cd56de4bbd1fad3bc8003dab7f8378600c310ed0ff8dfeb9e3c5520d4f2", + "local300_c.csv": "dbf8c9c285c1e3ec012a20e21256117a7662aa34882bd84536ef9dcfcc3e3901", + "local300_d.csv": "1c4f4fe5c79c2207a15f215759f31915dad213988b02e13bb405170ad6122bf8", + "local198_a.csv": "1e552fd1326323711ba031bae7fd1a9c2bc4b6b45404916a7066532bc29fd86a", + "local299_b.csv": "1c3b8a170deb6ea5016ee61ce649c3ce32ad08ae2724485fbf4999c55501a45f", + "local299_a.csv": "27a88bb2600981bbbe3052d03218f2b385a267c36a5497f3169afae7d99b78f0", + "local032_g.csv": "c0abe3fc89883986bf833673e7c1c120c4ee3fa3270716be84a69aa6e14b8ec5", + "local032_f.csv": "4b490e2e387a9157ab92ec22b68499867016f8e8d4d4a68a938434c60699996f", + "local032_d.csv": "01443bc088adfa7cc0918a81db1138b49902aa8b4871777043e3c39af64e4f05", + "local032_e.csv": "7f44365729a449f5640d90abb9eb3822d84a667bf556ed69607f0153fb4627a3", + "local032_a.csv": "8930472f79242c09ace8a7093a53e1d86638294a4e448bc29e903046c9b3ecd9", + "local032_b.csv": "4880656d98d611ad49603d442a7c69669b4dc97fcfa56781ba2a00685a4e2ca0", + "local032_c.csv": "375d25de984ea7d9738126f8c58594850213ae32f41ccb211885361086fa8b5c", + "local032_l.csv": "ef4356f6a6245f33195b88728ed42eb541f378640570e3eb1def8eb9e45abfb0", + "local032_h.csv": "10f3f8a7c4f1c6e0aed6b7f1a263ea51982572bf6d325b5173666f027387b00b", + "local032_i.csv": "7b8ff88f98980484f9cac707765238478cd3ec989907d413e66c877f3426124e", + "local032_k.csv": "1e56f65fda398bdd603ab7f0966e8c1487b455f1b501f3d1b4f57294fbc96224", + "local032_j.csv": "992f644d9d30324ec54f5f5cef120405891922ceeabd12e68bb9c7d171392a5c", + "local068_a.csv": "1299f2e8ee0af71305e879036489e9f898f093d55fd7634f0a19d67a98773f16", + "local068_c.csv": "c4535adaf3fe73d83e3c54f469ae5851cdeab601f0abbd49a33c3d7f62770735", + "local068_b.csv": "ab3e5b470012a477e90877a36682721dfff3b9b2a9d436f516b64bfdef579d0e", + "local264_b.csv": "35426254849f620276bbaa67df521a55a81fd1e10ebfbedff1c2ffa218edfe5d", + "local264_c.csv": "86288a60be71d946e2403cd44c608ada7bb163ce11f102cc4402c67ba0ae8ef9", + "local264_a.csv": "8de3723af25cb543685497a4631c081bd8cf7e9ead498e6a1eee52273cf0498c", + "local034_a.csv": "1090ffc6a0c35bf35d9295d47914234c997e7309397238747977b6dad213855d", + "local034_b.csv": "5e5b95c5964a0760c48d12c6e64a42e89a6671042665fa0fa2afdd98df142f07", + "local197_a.csv": "f8908a3f904dfcc900a7967db60b3fc1eb3c16d573374f4cb8e6f68ebacf464e", + "local197_b.csv": "dfa9d044fdf582d19e0cd7ee6229c3583044a763608e2ca8573ed300d89b2f35", + "local197_c.csv": "bd4f275d821d4f09ca0d6042e4c7780991213abdb8e302bd0d412f8654226827", + "local024_b.csv": "1022178fcdafb1c112bd8770b884ca39f554f50586ac0002e420bf6430d3d24d", + "local024_a.csv": "8699022579239fad51d09ef039352855312af9f0a6a8d3737c39b60158d0e053", + "local228_a.csv": "6d2ee53c1196edb090a3618695c3f922b0a2a526e37bbb0855b8646d9a5b09fc", + "local228_b.csv": "570907525713d4124189f7b82aba2108f1bdc64e931b33f13d817342f8c17480", + "local060_a.csv": "e02a8024be874c7b95464b19712840659e4209165ed7e472b57351c0cc1ba0e1", + "local060_b.csv": "cbb428dd80f1532502baa09ad60aa65381ed21ea6056e26082bdcd6cb962af93", + "local358_b.csv": "eff96b54297c2251143325360d15086046e9c154e50752a4203f9f1ff18d5f10", + "local358_a.csv": "6a7e8c424c6a52662c0abf5d6873d827f5688f9355e46889075f51d9c70bd439", + "local283_a.csv": "6e3d87df7b2a5a1147f62fe65de3b1292f5af15f1de5584593de863534442f68", + "local035_b.csv": "6ae7a8e32f25813841a79ca35376928d094f10ce1a532e2a1f23e4d9ef1b7fd9", + "local035_c.csv": "2381226b424af0f88ab4c493dd201ee5f059d86ea5c9605ecd0f2035c97976d9", + "local035_a.csv": "710eb0aea469add745f72f1f4b5b568cb0c84c4507a61a3930b70d54d7e7f47a", + "local071_a.csv": "ebeaefb552dd18841ab1d63602ffbba67a1b679722fb7bf86f4aad05d115ea29", + "local071_b.csv": "e73ef52d22cfc7eb7dc76c959cf4d6f11079a1d186fb1f3346bbdb2ec61efaa8", + "local039_a.csv": "ab6af5a1dc6c24ddae09852a5538b7552f5c153eab566e861fe8276c6dcef087", + "local039_b.csv": "cd3cbdb9528d7a50197836db8f6abb45ab59241d6bf8035915fba312c52fc892", + "local167_a.csv": "f87897a23204ee6f79b2821fdf50611d055ab847a2670fcb8c548b098c187aaa", + "local167_b.csv": "7e385bbdfcf240dc6b6264aadd220a2404603a1944ef850f5a4a221cef501dc3", + "local133_a.csv": "000b2e5e4f3ce526d4a442dc28d1f792576eed5943ec7416dd5fd43265769b11", + "local133_b.csv": "24371a161c1a35386116dde49c31ceec123ed2d3abc8aaa411d6ad98d31b53c1", + "local297_b.csv": "5ec5763867426b0b6cf21c0d707e69bbd2f11ef80e14eb0f4cce29d4479669c8", + "local297_a.csv": "4a37f869a34af47d766efaac9b2909c7d736bd35f6c18e41ed207ce5b3f0c260", + "local309_b.csv": "e4ee052a9a5b625b3f9f3d0f9fde804b6f2b204324b794ff3960be8c55074f93", + "local309_c.csv": "a1fa582e425c2bdfc3fdac62123c22a77a0b8e9f292d30bfc1c3f6cbf36d0584", + "local309_a.csv": "99e9032b151143ad152f2b086c21e3d5ad2b641adbcee2c349fbe7f2eaca5c93", + "local098_d.csv": "9386a5c0c81fb3753bcecec2cf7c86d67977094c09b0a0666e2a3ffd95bb0d23", + "local098_e.csv": "7668d333202c9f22c657d65b80346c092798f889c8ffa7c8859ad20a0eb441cd", + "local098_a.csv": "2b9adab647439652f27faf4c53ccfdb4aab9e280636e904c2bdece4d72c9b8f4", + "local098_b.csv": "f7f59e32e9843b3af1b7c1304203b2d50c1d5092226c3f713c69b87a23bc3086", + "local098_c.csv": "7992ce39a5d37324ffcca04c64828b8b3fbe4fd13ba56d09ad2e1f6d6686cdc5", + "local329_a.csv": "d51cb49e4f858fc1f62361fbf199c1f0145b2d5a192812f919f9f74598ad2c27", + "local040_d.csv": "4f8346cdaa161013159d36bb29ab6bcfa9c1496066ce99adf101da50b7e55eaa", + "local040_c.csv": "6c25ec05e7e36d47887dd9ec91a24987d99ea677b6fa1ed6659152c193d255c8", + "local040_b.csv": "894fd4c4aa2af4d479540508bd503e9c34ac574755c6a09b0b1b92edf11b5a59", + "local040_a.csv": "86040f986565e2f0827ade68d894ae227b0e20b4a0a5f879da8857fcff9d100c", + "local056_a.csv": "fb8f6dad94f2ccad8ff035a504758ae7f67a514071005e9d330940d09cd242e3", + "local056_b.csv": "669482fb368f7458dae1f1b084e10e145f513fdfb0ab5c648d006204a4b7b844", + "local218_a.csv": "59aaf31f0bdc6f4d891251e969ae5dcb0733b2f027bea6a6e02b8922b57e7a57", + "local074_d.csv": "575905edd9d23b7a0dfa7d4d4d6c71c1e53b8df47ca5d997e34b30821ea5d476", + "local074_a.csv": "1d249b4de50434c538dbbc566ec00c0b3d33f6f50b76f9d2d947fcd2447b8e5b", + "local074_c.csv": "4c048efea3992cccd47cb21a735fa82f4c55db5c8da38d40862c303dbb100dc0", + "local074_b.csv": "c0d530dead3d8128affa3642184e4402e11136c7e31cbca044cb58b4f3b5ddad", + "local072_a.csv": "ecc11366f1a4997612ef7479d4e9caafb76e7be0dfcfcab22031ad044da9306d", + "local072_c.csv": "89eaf8f0fd5d63f525f91be9e73172b413e38adf162414c10f23236601fca705", + "local072_b.csv": "c81babd9f76614a1be3de6c6f3ed4c8fef6372d5bb2dd1b7051d2a321ba2aa11", + "local072_d.csv": "5460e077fca890a7547af80ef5728caee0b1396a3c68aa35c1319707a7e7f260", + "local156_d.csv": "4907987cdbe5dc4deb8727acc62596d7becee9c4633db2e75620db08b8869a0a", + "local156_b.csv": "b544baaa749fbe2eac0ade87a28a07174f5c13a8d2b354500d82e63403723e9f", + "local156_c.csv": "c273fac8e8bf03dbce9fff237e60810a175baae2a9342050cfd3b1afc745b288", + "local156_a.csv": "359af22e361eb8386bb7c16d03f7d3a148db3addbbda677f3ccc6a93099040fe", + "local258_a.csv": "b943740b741d12a81ac9a1235478186c827f5068d8ba9042f2072ad479f2100f", + "local258_b.csv": "3b9f1f8a944934e57ec29c46c7e1b0de2c4d8fc6961c6275f1c76a4aa818ba50", + "local258_c.csv": "d6399f1bd4dbb5e4edd4ed0935825c3092f5cea42b0ba93bf140c5cfc97700bc", + "local258_d.csv": "28f311ccbdd218b3c521f66c49f51d6c53e2a31a6a448eaf24ecc58b36d3e991", + "local258_e.csv": "28a62aa7e0edf3af50776d3bbb88194078189716ea370567d883a79d34996322", + "local199_a.csv": "d5d43158a754df4985bc9101e86b2b48adfad69dbfe3a266fd7f8b804fbc26e9", + "local199_b.csv": "96914152da9b1d4229b1cb32cfc6ec24ee49187fe3036783a7a34512b44bb40c", + "local194_a.csv": "737c5c8fb48a3a09fd2c20589001498bb12e623c24789749a711f8f884d1b1bc", + "local194_c.csv": "d4ad490bd6915a0d099d1077e122048a32ee33378eb5bfd876e4e683fc0c612b", + "local194_b.csv": "a5f4718844ca84d9125365e1e6aee952d4c2e8eaf1ea99bb9c086cc29d5d3184", + "local273_a.csv": "35d1a1d986b6a2acbe0e6f29a6d9e2979cb21018e5ddf13c4367e881e4058d34", + "local078_a.csv": "22e33a0e482aa13b1e3d59b4363c04dc1d39eeb3d0b18fdb7fd7ea1077dd1b95", + "local330_a.csv": "156777b4eeec05777e4760c0a8cf5a90e7e9f5db5df87b6db215f36f6ca722b5", + "local330_c.csv": "9ebe76a500091818cf5ba1540ea8c7f7b01b95f01d6edc4dcfb7739130677571", + "local330_b.csv": "02dcc9b52e11b4a342941f97c775481b080e740222d797547408decb5ee9ae1f", + "local007_a.csv": "609e283f72faa732d8c9bb3041aa570361e8fc1e2949dad6d2624eee4fe1f582", + "local007_b.csv": "187376265d7f3ec19f2361f9aa4a29ebdfef55b93ce382d22da635cb84b2a5ac", + "local007_c.csv": "d30d2306cd25071c6435fc31baf736057c1339f2aa2927ba43eaf85894553a3e", + "local029_b.csv": "0645e08079eeed5278713e295ec54f92db2c4a5c080c2ca19fc0d300c85b8bdd", + "local029_a.csv": "13592cb212196327ddbf1e24612d8f5c9be767476537cac76098c8e6382a3d5a", + "local229_b.csv": "b63f34609d6f0d135301ac413518af035f8ef8d8b4af603ce956b573ecc8a8ca", + "local229_a.csv": "13b57a2a9cf1c3b16954439cff955c0483c902fd05e2cf8a8f6d707618b74edb", + "local085_a.csv": "53a8a772d4f1a25a2e35e0865d80126c51742dbef3183827cc27a9d6215b0401", + "local049_a.csv": "37a03e5c7d30c522122d3a7f27337a8dfc434dcff120081752b4c9d93b67589e", + "local049_b.csv": "cfa61613d11a7d440f235ed1d6eb889a2d1400f35814705c8c6cab12ee690fb8", + "local275_a.csv": "e0ee8bb50685e05fa0f47ed04203ae953fdfd055f5bd2892ea186504254f8c3a", + "local262_a.csv": "0b6ba8593e65101190910b92c997f428d2b21983812c653bd93523f744275518", + "local284_a.csv": "8061781ca5afac30250858521ec1bf3535936424d2ca8ac9214e2b1b003d3d8b", + "local284_b.csv": "d74c6fe8cba88dc43de32cab40d95d197cae6592df11284ebcb593caffe37aae", + "local010.csv": "109bc4ccdeaaccb405d52e5db6fbe1831b5cede629b5aafce07b1f5a4be8c623", + "local335_a.csv": "f5e97947e8060cf4719a2cd9d31f3b40b83d2e96608965de754360b6b415331d", + "local055_a.csv": "ba0ff1a7ced89ad53f8b9da3460f52d36dbb9bdad78c20fc495da0205dc3bfa8", + "local055_b.csv": "2f55f6f8f51a38d3b618ac0db7aa1a603bf42a524626ca48cc64a328aaf18555", + "local344_b.csv": "83604ca169c01568d0db1169d8ee1a54b495a9ed732929c857c7f87f738fc5ad", + "local344_a.csv": "ef99aaf28f3521bc0eb3feb7d5d57175fa83e43a3387391b0242e03154375ad9", + "local311_a.csv": "d7e3e901649bf918fddc98d854d91966fa309ee4b6cbd6b4b6db51a8643e422d", + "local311_b.csv": "8fbc16c5a9509bac26070ecd35b5fb0dfb0b40b153bbbb96d8381d5762c5f4b8", + "local114_a.csv": "c4eba509d8d4e214612b9aae8609c827bb9793033fd59476bb3bf9dd544292e6", + "local114_b.csv": "cdf83c7802e33dc16972004c48b85278cf9ce0982a6d8598128e7a26c3620f26", + "local114_c.csv": "ccca70934b3f6835751ed0fc72152b256b4a001fae72b7123ca9ec133dce5933", + "local114_d.csv": "fe4c1be98c7516d2acb92725459fea2db06b1ce92df4ecbef82e86aaaa2dadab", + "local114_e.csv": "4f2c92129c6e8a85e9887d70f62135ebda47aa7cf25314cfeb5a3b08973243ea", + "local025_a.csv": "6cf18f2a7388ff0181a5c6135af733c613df8bb6faa5fd7ab7d8d7a91e908ddd", + "local025_c.csv": "fc3c1b56cb3fca413c96075be8f2bc4b33e70b00db2da5b55ba1a3a512af930e", + "local025_b.csv": "42c381ef3631f35fd3c14c9d06007dfd793104348b0f0147fd24239f41ccb1d5", + "local025_e.csv": "b5af2f507944864ce133364b125d558ca728fb102edd9a3171fab324baef49af", + "local025_d.csv": "210c10f155318bb8420c16a3e4ff140514c6008de7100f228a239fc6de8c525b" + }, + "gold_config_sha256": "5113ddaea6107492c08a898241a9f69ec99b03bc60d014e9f0b12ec59fa28970", + "cases": [ + { + "instance_id": "local064", + "db": "bank_sales_trading", + "question": "For each customer and each month of 2020, first calculate the month-end balance by adding all deposit amounts and subtracting all withdrawal amounts that occurred during that specific month. Then determine which month in 2020 has the highest count of customers with a positive month-end balance and which month has the lowest count. For each of these two months, compute the average month-end balance across all customers and provide the difference between these two averages", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local073", + "db": "modern_data", + "question": "For each pizza order, provide a single result row with the row ID, order ID, customer ID, pizza name, and final set of ingredients. The final ingredients are determined by starting with the standard toppings from the pizza’s recipe, removing any excluded toppings, and adding any extra toppings. Present the ingredients in a string starting with the pizza name followed by ': ', with ingredients listed in alphabetical order. Ingredients appearing multiple times (e.g., from standard and extra toppings) should be prefixed with '2x' and listed first, followed by single-occurrence ingredients, both in alphabetical order. Group by row ID, order ID, pizza name, and order time to ensure each order appears once. Sort results by row ID in ascending order. Assign pizza_id 1 to 'Meatlovers' pizzas and pizza_id 2 to all others.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local003", + "db": "E_commerce", + "question": "According to the RFM definition document, calculate the average sales per order for each customer within distinct RFM segments, considering only 'delivered' orders. Use the customer unique identifier. Clearly define how to calculate Recency based on the latest purchase timestamp and specify the criteria for classifying RFM segments. The average sales should be computed as the total spend divided by the total number of orders. Please analyze and report the differences in average sales across the RFM segments", + "external_knowledge": "RFM.md", + "document_sha256": "ca6cb781023248ec3d065bd17142c864175741e9dc598c38af613ca2e9ad3556" + }, + { + "instance_id": "local004", + "db": "E_commerce", + "question": "Could you tell me the number of orders, average payment per order and customer lifespan in weeks of the 3 custumers with the highest average payment per order, where the lifespan is calculated by subtracting the earliest purchase date from the latest purchase date in days, dividing by seven, and if the result is less than seven days, setting it to 1.0?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local021", + "db": "IPL", + "question": "Could you calculate the average of the total runs scored by all strikers who have scored more than 50 runs in any single match?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local163", + "db": "education_business", + "question": "Which university faculty members' salaries are closest to the average salary for their respective ranks? Please provide the ranks, first names, last names, and salaries.university", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local310", + "db": "f1", + "question": "Using only the data from the ‘results’ table, find the three years in which the sum of the highest total points earned by any driver and the highest total points earned by any constructor in that year (both calculated by summing up points from the ‘results’ table) is smallest, and list those three years in order of ascending total.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local041", + "db": "modern_data", + "question": "What percentage of trees in the Bronx have a health status of Good?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local062", + "db": "complex_oracle", + "question": "Please group all Italian customers into ten buckets for December 2021 by summing their profits from all products purchased (where profit is calculated as quantity_sold multiplied by the difference between unit_price and unit_cost), then divide the overall range of total monthly profits into ten equal intervals. For each bucket, provide the number of customers, and identify the minimum and maximum total profits within that bucket.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local081", + "db": "northwind", + "question": "Considering only the customers who placed orders in 1998, calculate the total amount each customer spent by summing the unit price multiplied by the quantity of all products in their orders, excluding any discounts. Assign each customer to a spending group based on the customer group thresholds, and determine how many customers are in each spending group and what percentage of the total number of customers who placed orders in 1998 each group represents.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local202", + "db": "city_legislation", + "question": "For alien data, how many of the top 10 states by alien population have a higher percentage of friendly aliens than hostile aliens, with an average alien age exceeding 200?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local096", + "db": "Db-IMDB", + "question": "For each year, calculate the percentage of films that had exclusively female actors (meaning no male actors and no actors with unknown/unspecified gender). Consider actors with gender marked as 'Male' or 'None' as non-female. For the results, display the year, the total number of movies in that year, and the percentage of movies with exclusively female actors. Extract the year from the Movie.year field by taking the last 4 characters and converting to a number.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local279", + "db": "oracle_sql", + "question": "Using a recursive monthly inventory adjustment model starting from December 2018 inventory levels, where we restock a product if its ending inventory drops below the minimum required level, determine for each product the month in 2019 where the absolute difference between its ending inventory and the minimum required level is the smallest, and return the product_id, that month, and the absolute difference.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local264", + "db": "stacking", + "question": "Which model category (L1_model) appears the most frequently across all steps and versions when comparing traditional models to the Stack model, and what is the total count of its occurrences?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local024", + "db": "IPL", + "question": "Can you help me find the top 5 countries whose players have the highest average of their individual average runs per match across all seasons? Specifically, for each player, calculate their average runs per match over all matches they played, then compute the average of these player averages for each country, and include these country batting averages in the result.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local218", + "db": "EU_soccer", + "question": "Can you calculate the median from the highest season goals of each team?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local072", + "db": "city_legislation", + "question": "Identify the country with data inserted on nine different days in January 2022. Then, find the longest consecutive period with data insertions for this country during January 2022, and calculate the proportion of entries that are from its capital city within this longest consecutive insertion period.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local194", + "db": "sqlite-sakila", + "question": "Please provide a list of the top three revenue-generating films for each actor, along with the average revenue per actor in those films, calculated by dividing the total film revenue equally among the actors for each film.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local029", + "db": "Brazilian_E_Commerce", + "question": "Please identify the top three customers, based on their customer_unique_id, who have the highest number of delivered orders, and provide the average payment value, city, and state for each of these customers.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local335", + "db": "f1", + "question": "In Formula 1 seasons since 2001, considering only drivers who scored points in a season, which five constructors have had the most seasons where their drivers scored the fewest total points among all point-scoring drivers in that season?", + "external_knowledge": null, + "document_sha256": null + } + ], + "suite": "spider2", + "development_ids": [ + "local163", + "local081", + "local310", + "local194", + "local024", + "local096", + "local073", + "local064", + "local029", + "local335", + "local279", + "local264", + "local072", + "local202", + "local004", + "local062", + "local003", + "local021", + "local041", + "local218" + ], + "holdout_ids": [ + "local356", + "local210", + "local197", + "local283", + "local063", + "local128", + "local040", + "local272", + "local023", + "local157", + "local274", + "local035", + "local056", + "local228", + "local253", + "local358", + "local360", + "local132", + "local061", + "local114", + "local244", + "local259", + "local299", + "local031", + "local171", + "local302", + "local028", + "local301", + "local010", + "local100", + "local131", + "local133", + "local355", + "local059", + "local198", + "local065", + "local270", + "local015", + "local311", + "local330", + "local229", + "local219", + "local329", + "local058", + "local269", + "local019", + "local037", + "local009", + "local300", + "local298", + "local002", + "local230", + "local354", + "local020", + "local085", + "local336", + "local275", + "local297", + "local196", + "local099", + "local209", + "local195", + "local039", + "local201", + "local026", + "local034", + "local066", + "local098", + "local032", + "local007", + "local060", + "local078", + "local008", + "local055", + "local070", + "local141", + "local054", + "local286", + "local193", + "local068", + "local331", + "local263", + "local258", + "local220", + "local049", + "local221", + "local168", + "local018", + "local273", + "local130", + "local038", + "local284", + "local071", + "local212", + "local074", + "local075", + "local277", + "local167", + "local344", + "local152", + "local025", + "local262", + "local156", + "local050", + "local067", + "local077", + "local022", + "local170", + "local097", + "local199", + "local169", + "local030", + "local017", + "local285", + "local309" + ], + "split_seed": 20261126 +} diff --git a/bench/accuracy/results/spider-development-v1/settings.json b/bench/accuracy/results/spider-development-v1/settings.json new file mode 100644 index 00000000..c4604f63 --- /dev/null +++ b/bench/accuracy/results/spider-development-v1/settings.json @@ -0,0 +1,40 @@ +{ + "profiles": [ + { + "name": "gpt62-sol", + "model": "openai/gpt-6.2-sol", + "api_key_env": "OPEN_AI_KEY", + "max_output_tokens": 8192, + "reasoning_effort": "high" + } + ], + "split": "development", + "product_commit": "e7f0b0644883b6e3fa760e706fd396cc6730e846", + "manifest_sha256": "2383837d49bc0085d0543840efee195505cb94c39e5374e8069c8f5513ecc4a0", + "sources": { + "bench/ecommerce_demo.py": "f75f4c82e07773a57ee1954d59f0acf35c9eb945430bdaea4ccdd98a35dcc86c", + "bench/oracle_demo.py": "c781b9501dea47b7900bb47e3fe41e2700d2153e85e087dce757f95e3e698b0e", + "bench/oracle_view/rehearse.py": "0114ce65327e435d4e3be6cab60e22b48bfb3ff7f06d97c14a16ea0d8e5602f2", + "bench/oracle_view/long_context.py": "089038788a9b4191946c906e470877bd246850d0a6d535809594a0bddfdcd47e", + "bench/oracle_view/codex_demo.py": "2eea87d833ca6a73a50255fa83927c6c560e2390df6c65e217263b2d3bb966c6", + "bench/oracle_view/summarize_context.py": "707b288be6637a7c8a45b957ef44a81cfb091c7fa5b249e9407a2a9b07e66626", + "bench/oracle_view/evaluate.py": "10685e37fbb2420242ebf5f88f988f3d5bccebc45465151f53ab8454e8fb5a3c", + "bench/oracle_co/session.py": "ff839e7497d9e06ca18a248993bac3c556d256ade7311c604d1f55926c195acb", + "bench/oracle_co/demo.py": "a8ac981bb35d0d77595b2441721cde4e458fb63c3fb7c1748a14bab4a187300a", + "bench/oracle_co/db_preview.py": "9a08766183d5f9542442ba41666d998fe024926e676799ffac5d751237ee0d64", + "bench/accuracy/evaluate.py": "a3632f408d6c461429e9e8ff9d04c83a421338ff8d2ec60a17cae5775f851fe4", + "bench/oracle_meeting/rehearse.py": "542664b6f04ae6a9606735b550fc2ce2f50df6fc0513384ebf4c654136974cd3", + "bench/oracle_meeting/codex_rehearse.py": "cfa84091da819ab1cb71d083c3ff77cc7fd79b8560de2108626e6d4c3bd8a3aa", + "bench/oracle_meeting/package_fault.py": "c7bb3552f167bafcbc084152deb66e187b3a6fa4de3dfed92cc00c7588bc1fe2", + "bench/spider2/providers.py": "8fac5ecaab6fb3f4795907b709985a2db900db23545b01044b4dd549dd221fa3", + "bench/spider2/evaluate.py": "a0a76f1c9977703c9f083b8f256e0ef191f52a280a2e0f3a45100a467e37e3b4" + }, + "limits": { + "max_calls": 16, + "call_timeout": 180, + "case_timeout": 900, + "sql_timeout": 30, + "max_rows": 100000, + "concurrency": 4 + } +} diff --git a/bench/accuracy/results/spider-development-v1/summary.json b/bench/accuracy/results/spider-development-v1/summary.json new file mode 100644 index 00000000..426db7ce --- /dev/null +++ b/bench/accuracy/results/spider-development-v1/summary.json @@ -0,0 +1,20 @@ +[ + { + "profile": "gpt62-sol", + "status": "completed", + "correct": 12, + "total": 20, + "accuracy": 0.6, + "failed_predictions": 1, + "failure_types": { + "ValueError": 1 + }, + "api_calls": 85, + "seconds": 570.5609444985166, + "wall_seconds": 162.0530620419886, + "prompt_tokens": 214098, + "completion_tokens": 22988, + "usage_missing_calls": 0, + "cost_usd": null + } +] diff --git a/bench/accuracy/results/spider-development-v2/gpt62-sol/records.jsonl b/bench/accuracy/results/spider-development-v2/gpt62-sol/records.jsonl new file mode 100644 index 00000000..08dcaa1e --- /dev/null +++ b/bench/accuracy/results/spider-development-v2/gpt62-sol/records.jsonl @@ -0,0 +1,20 @@ +{"instance_id": "local003", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH order_spend AS (\n -- Sum all payment rows once per order, including split payments.\n SELECT order_id, SUM(payment_value) AS spend\n FROM order_payments\n GROUP BY order_id\n), customer_totals AS (\n SELECT c.customer_unique_id,\n MAX(o.order_purchase_timestamp) AS latest_purchase,\n COUNT(*) AS order_count,\n -- Missing payments leave spend unknown, not zero.\n CASE WHEN COUNT(p.spend) = COUNT(*)\n THEN ROUND(SUM(p.spend), 2)\n END AS total_spend\n FROM orders AS o\n JOIN customers AS c ON c.customer_id = o.customer_id\n LEFT JOIN order_spend AS p ON p.order_id = o.order_id\n WHERE o.order_status = 'delivered'\n GROUP BY c.customer_unique_id\n), recency AS (\n -- Recency is elapsed days from the customer's latest delivered-order purchase\n -- to the latest delivered-order purchase in the dataset. Lower is more recent.\n SELECT *,\n JULIANDAY(MAX(latest_purchase) OVER ())\n - JULIANDAY(latest_purchase) AS recency_days\n FROM customer_totals\n), percentiles AS (\n -- Rank each measure best to worst. Tied values share the cumulative percentile\n -- at the end of their tie group. Unknown spend receives no monetary percentile.\n SELECT *,\n CUME_DIST() OVER (ORDER BY recency_days) AS r_pct,\n CUME_DIST() OVER (ORDER BY order_count DESC) AS f_pct,\n CASE WHEN total_spend IS NOT NULL THEN\n CUME_DIST() OVER (\n PARTITION BY (total_spend IS NULL) ORDER BY total_spend DESC\n )\n END AS m_pct\n FROM recency\n), scores AS (\n -- The percentile bands end at 20%, 40%, 60%, 80%, and 100%.\n SELECT *,\n CASE WHEN r_pct <= 0.2 THEN 1 WHEN r_pct <= 0.4 THEN 2\n WHEN r_pct <= 0.6 THEN 3 WHEN r_pct <= 0.8 THEN 4 ELSE 5 END AS r_score,\n CASE WHEN f_pct <= 0.2 THEN 1 WHEN f_pct <= 0.4 THEN 2\n WHEN f_pct <= 0.6 THEN 3 WHEN f_pct <= 0.8 THEN 4 ELSE 5 END\n + CASE WHEN m_pct IS NULL THEN NULL\n WHEN m_pct <= 0.2 THEN 1 WHEN m_pct <= 0.4 THEN 2\n WHEN m_pct <= 0.6 THEN 3 WHEN m_pct <= 0.8 THEN 4 ELSE 5 END AS fm_score\n FROM percentiles\n), segments AS (\n SELECT customer_unique_id, total_spend, order_count,\n CASE\n WHEN r_score = 1 AND fm_score BETWEEN 1 AND 4 THEN 'Champions'\n WHEN r_score IN (4, 5) AND fm_score BETWEEN 1 AND 2 THEN 'Can''t Lose Them'\n WHEN r_score IN (4, 5) AND fm_score BETWEEN 3 AND 6 THEN 'Hibernating'\n WHEN r_score IN (4, 5) AND fm_score BETWEEN 7 AND 10 THEN 'Lost'\n WHEN r_score IN (2, 3) AND fm_score BETWEEN 1 AND 4 THEN 'Loyal Customers'\n WHEN r_score = 3 AND fm_score BETWEEN 5 AND 6 THEN 'Needs Attention'\n WHEN r_score = 1 AND fm_score BETWEEN 7 AND 8 THEN 'Recent Users'\n WHEN (r_score = 1 AND fm_score BETWEEN 5 AND 6)\n OR (r_score = 2 AND fm_score BETWEEN 5 AND 8) THEN 'Potential Loyalists'\n WHEN r_score = 1 AND fm_score BETWEEN 9 AND 10 THEN 'Price Sensitive'\n WHEN r_score = 2 AND fm_score BETWEEN 9 AND 10 THEN 'Promising'\n WHEN r_score = 3 AND fm_score BETWEEN 7 AND 10 THEN 'About to Sleep'\n END AS rfm_segment\n FROM scores\n)\nSELECT customer_unique_id,\n rfm_segment,\n ROUND(total_spend / order_count, 2) AS customer_avg_sales_per_order,\n -- Compare segments using total segment spend divided by total segment orders.\n ROUND(SUM(total_spend) OVER (PARTITION BY rfm_segment)\n / SUM(order_count) OVER (PARTITION BY rfm_segment), 2) AS segment_avg_sales_per_order\nFROM segments\nORDER BY segment_avg_sales_per_order DESC, rfm_segment, customer_unique_id;\n```", "rows": 93358, "sql": "WITH order_spend AS (\n -- Sum all payment rows once per order, including split payments.\n SELECT order_id, SUM(payment_value) AS spend\n FROM order_payments\n GROUP BY order_id\n), customer_totals AS (\n SELECT c.customer_unique_id,\n MAX(o.order_purchase_timestamp) AS latest_purchase,\n COUNT(*) AS order_count,\n -- Missing payments leave spend unknown, not zero.\n CASE WHEN COUNT(p.spend) = COUNT(*)\n THEN ROUND(SUM(p.spend), 2)\n END AS total_spend\n FROM orders AS o\n JOIN customers AS c ON c.customer_id = o.customer_id\n LEFT JOIN order_spend AS p ON p.order_id = o.order_id\n WHERE o.order_status = 'delivered'\n GROUP BY c.customer_unique_id\n), recency AS (\n -- Recency is elapsed days from the customer's latest delivered-order purchase\n -- to the latest delivered-order purchase in the dataset. Lower is more recent.\n SELECT *,\n JULIANDAY(MAX(latest_purchase) OVER ())\n - JULIANDAY(latest_purchase) AS recency_days\n FROM customer_totals\n), percentiles AS (\n -- Rank each measure best to worst. Tied values share the cumulative percentile\n -- at the end of their tie group. Unknown spend receives no monetary percentile.\n SELECT *,\n CUME_DIST() OVER (ORDER BY recency_days) AS r_pct,\n CUME_DIST() OVER (ORDER BY order_count DESC) AS f_pct,\n CASE WHEN total_spend IS NOT NULL THEN\n CUME_DIST() OVER (\n PARTITION BY (total_spend IS NULL) ORDER BY total_spend DESC\n )\n END AS m_pct\n FROM recency\n), scores AS (\n -- The percentile bands end at 20%, 40%, 60%, 80%, and 100%.\n SELECT *,\n CASE WHEN r_pct <= 0.2 THEN 1 WHEN r_pct <= 0.4 THEN 2\n WHEN r_pct <= 0.6 THEN 3 WHEN r_pct <= 0.8 THEN 4 ELSE 5 END AS r_score,\n CASE WHEN f_pct <= 0.2 THEN 1 WHEN f_pct <= 0.4 THEN 2\n WHEN f_pct <= 0.6 THEN 3 WHEN f_pct <= 0.8 THEN 4 ELSE 5 END\n + CASE WHEN m_pct IS NULL THEN NULL\n WHEN m_pct <= 0.2 THEN 1 WHEN m_pct <= 0.4 THEN 2\n WHEN m_pct <= 0.6 THEN 3 WHEN m_pct <= 0.8 THEN 4 ELSE 5 END AS fm_score\n FROM percentiles\n), segments AS (\n SELECT customer_unique_id, total_spend, order_count,\n CASE\n WHEN r_score = 1 AND fm_score BETWEEN 1 AND 4 THEN 'Champions'\n WHEN r_score IN (4, 5) AND fm_score BETWEEN 1 AND 2 THEN 'Can''t Lose Them'\n WHEN r_score IN (4, 5) AND fm_score BETWEEN 3 AND 6 THEN 'Hibernating'\n WHEN r_score IN (4, 5) AND fm_score BETWEEN 7 AND 10 THEN 'Lost'\n WHEN r_score IN (2, 3) AND fm_score BETWEEN 1 AND 4 THEN 'Loyal Customers'\n WHEN r_score = 3 AND fm_score BETWEEN 5 AND 6 THEN 'Needs Attention'\n WHEN r_score = 1 AND fm_score BETWEEN 7 AND 8 THEN 'Recent Users'\n WHEN (r_score = 1 AND fm_score BETWEEN 5 AND 6)\n OR (r_score = 2 AND fm_score BETWEEN 5 AND 8) THEN 'Potential Loyalists'\n WHEN r_score = 1 AND fm_score BETWEEN 9 AND 10 THEN 'Price Sensitive'\n WHEN r_score = 2 AND fm_score BETWEEN 9 AND 10 THEN 'Promising'\n WHEN r_score = 3 AND fm_score BETWEEN 7 AND 10 THEN 'About to Sleep'\n END AS rfm_segment\n FROM scores\n)\nSELECT customer_unique_id,\n rfm_segment,\n ROUND(total_spend / order_count, 2) AS customer_avg_sales_per_order,\n -- Compare segments using total segment spend divided by total segment orders.\n ROUND(SUM(total_spend) OVER (PARTITION BY rfm_segment)\n / SUM(order_count) OVER (PARTITION BY rfm_segment), 2) AS segment_avg_sales_per_order\nFROM segments\nORDER BY segment_avg_sales_per_order DESC, rfm_segment, customer_unique_id;", "seconds": 74.58877874992322, "calls": [{"seconds": 3.5432696669595316, "usage": {"completion_tokens": 97, "prompt_tokens": 3001, "total_tokens": 3098, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 2437, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 21.28552320797462, "usage": {"completion_tokens": 869, "prompt_tokens": 3352, "total_tokens": 4221, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 664, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 351, "cached_tokens": 2437, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 351, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 351, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 28.45558800001163, "usage": {"completion_tokens": 1678, "prompt_tokens": 4518, "total_tokens": 6196, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 665, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1166, "cached_tokens": 2788, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1166, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1166, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 17.168082874966785, "usage": {"completion_tokens": 1142, "prompt_tokens": 7350, "total_tokens": 8492, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 142, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 2832, "cached_tokens": 3954, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 2832, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 2832, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "95ad28304c68e7edcd0d4a1441c495d6d8711fc86b7766417023000c9d4d1601", "csv_sha256": "13ab2425218626f4380ff562e653247fbf59bcec92af86987fe61180dfc70d17"} +{"instance_id": "local004", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH payments_per_order AS (\n SELECT order_id, SUM(payment_value) AS order_payment\n FROM order_payments\n GROUP BY order_id\n), customer_metrics AS (\n SELECT c.customer_unique_id,\n COUNT(*) AS number_of_orders,\n AVG(p.order_payment) AS average_payment_per_order,\n JULIANDAY(MAX(o.order_purchase_timestamp))\n - JULIANDAY(MIN(o.order_purchase_timestamp)) AS lifespan_days\n FROM orders AS o\n JOIN customers AS c ON c.customer_id = o.customer_id\n LEFT JOIN payments_per_order AS p ON p.order_id = o.order_id\n GROUP BY c.customer_unique_id\n)\nSELECT number_of_orders,\n average_payment_per_order,\n CASE WHEN lifespan_days < 7 THEN 1.0\n ELSE lifespan_days / 7.0\n END AS customer_lifespan_weeks\nFROM customer_metrics\nORDER BY average_payment_per_order DESC, customer_unique_id\nLIMIT 3;\n```", "rows": 3, "sql": "WITH payments_per_order AS (\n SELECT order_id, SUM(payment_value) AS order_payment\n FROM order_payments\n GROUP BY order_id\n), customer_metrics AS (\n SELECT c.customer_unique_id,\n COUNT(*) AS number_of_orders,\n AVG(p.order_payment) AS average_payment_per_order,\n JULIANDAY(MAX(o.order_purchase_timestamp))\n - JULIANDAY(MIN(o.order_purchase_timestamp)) AS lifespan_days\n FROM orders AS o\n JOIN customers AS c ON c.customer_id = o.customer_id\n LEFT JOIN payments_per_order AS p ON p.order_id = o.order_id\n GROUP BY c.customer_unique_id\n)\nSELECT number_of_orders,\n average_payment_per_order,\n CASE WHEN lifespan_days < 7 THEN 1.0\n ELSE lifespan_days / 7.0\n END AS customer_lifespan_weeks\nFROM customer_metrics\nORDER BY average_payment_per_order DESC, customer_unique_id\nLIMIT 3;", "seconds": 24.023409582907334, "calls": [{"seconds": 3.0103007500292733, "usage": {"completion_tokens": 81, "prompt_tokens": 1686, "total_tokens": 1767, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1122, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 14.1135917090578, "usage": {"completion_tokens": 663, "prompt_tokens": 1964, "total_tokens": 2627, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 432, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 278, "cached_tokens": 1122, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 278, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 278, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 4.442254333058372, "usage": {"completion_tokens": 210, "prompt_tokens": 2906, "total_tokens": 3116, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 942, "cached_tokens": 1400, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 942, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 942, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "62cf4d2f62eaaf0f41764f4214a78ef0f06d455390e9f3de00f7c35f09c0c75d", "csv_sha256": "dbf250502ef4fa6211211420536ecb2347191f1d66ace7952102e677e5faa61c"} +{"instance_id": "local021", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH match_totals AS (\n SELECT b.striker, b.match_id, SUM(s.runs_scored) AS match_runs\n FROM ball_by_ball AS b\n JOIN batsman_scored AS s\n ON s.match_id = b.match_id\n AND s.innings_no = b.innings_no\n AND s.over_id = b.over_id\n AND s.ball_id = b.ball_id\n WHERE b.striker IS NOT NULL\n GROUP BY b.striker, b.match_id\n), striker_totals AS (\n SELECT striker, SUM(match_runs) AS total_runs\n FROM match_totals\n GROUP BY striker\n HAVING MAX(match_runs) > 50\n)\nSELECT AVG(total_runs) AS average_total_runs\nFROM striker_totals;\n```", "rows": 1, "sql": "WITH match_totals AS (\n SELECT b.striker, b.match_id, SUM(s.runs_scored) AS match_runs\n FROM ball_by_ball AS b\n JOIN batsman_scored AS s\n ON s.match_id = b.match_id\n AND s.innings_no = b.innings_no\n AND s.over_id = b.over_id\n AND s.ball_id = b.ball_id\n WHERE b.striker IS NOT NULL\n GROUP BY b.striker, b.match_id\n), striker_totals AS (\n SELECT striker, SUM(match_runs) AS total_runs\n FROM match_totals\n GROUP BY striker\n HAVING MAX(match_runs) > 50\n)\nSELECT AVG(total_runs) AS average_total_runs\nFROM striker_totals;", "seconds": 19.050278542097658, "calls": [{"seconds": 2.0281870829639956, "usage": {"completion_tokens": 15, "prompt_tokens": 1630, "total_tokens": 1645, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1075, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 2.539651749888435, "usage": {"completion_tokens": 56, "prompt_tokens": 1690, "total_tokens": 1746, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 60, "cached_tokens": 1075, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 60, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 60, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 9.953873708029278, "usage": {"completion_tokens": 425, "prompt_tokens": 1892, "total_tokens": 2317, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 241, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 202, "cached_tokens": 1135, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 202, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 202, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 4.380404458963312, "usage": {"completion_tokens": 170, "prompt_tokens": 2513, "total_tokens": 2683, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 621, "cached_tokens": 1337, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 621, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 621, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "84d434fe465af1b5f08846b6de0e795535e25317caaf6d00bce6123018ed4abd", "csv_sha256": "88bf0f7b9192711976006e104341ed38903ce346d26b929784dca265916621a8"} +{"instance_id": "local024", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "failed", "error_type": "Timeout", "seconds": 183.13361045799684, "calls": [{"seconds": 3.1053429580060765, "usage": {"completion_tokens": 102, "prompt_tokens": 1670, "total_tokens": 1772, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1115, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 180.0208768750308, "usage": null, "status": "error", "error_type": "Timeout"}], "full_record_sha256": "601dbbe7c17f061b15dd6703ed9b97460df110a66a25c008b19c1d41b81c0a6c"} +{"instance_id": "local029", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH delivered_orders AS (\n SELECT o.order_id,\n o.order_purchase_timestamp,\n c.customer_unique_id,\n c.customer_city,\n c.customer_state\n FROM olist_orders AS o\n JOIN olist_customers AS c ON c.customer_id = o.customer_id\n WHERE o.order_status = 'delivered'\n), top_customers AS (\n SELECT customer_unique_id,\n COUNT(DISTINCT order_id) AS delivered_order_count\n FROM delivered_orders\n GROUP BY customer_unique_id\n ORDER BY delivered_order_count DESC, customer_unique_id\n LIMIT 3\n), ranked_locations AS (\n SELECT d.*,\n ROW_NUMBER() OVER (\n PARTITION BY d.customer_unique_id\n ORDER BY d.order_purchase_timestamp DESC, d.order_id DESC\n ) AS location_rank\n FROM delivered_orders AS d\n JOIN top_customers AS t ON t.customer_unique_id = d.customer_unique_id\n), average_payments AS (\n SELECT d.customer_unique_id,\n AVG(p.payment_value) AS average_payment_value\n FROM ranked_locations AS d\n JOIN olist_order_payments AS p ON p.order_id = d.order_id\n GROUP BY d.customer_unique_id\n)\nSELECT t.customer_unique_id,\n p.average_payment_value,\n l.customer_city,\n l.customer_state\nFROM top_customers AS t\nJOIN ranked_locations AS l\n ON l.customer_unique_id = t.customer_unique_id AND l.location_rank = 1\nLEFT JOIN average_payments AS p ON p.customer_unique_id = t.customer_unique_id\nORDER BY t.delivered_order_count DESC, t.customer_unique_id;\n```", "rows": 3, "sql": "WITH delivered_orders AS (\n SELECT o.order_id,\n o.order_purchase_timestamp,\n c.customer_unique_id,\n c.customer_city,\n c.customer_state\n FROM olist_orders AS o\n JOIN olist_customers AS c ON c.customer_id = o.customer_id\n WHERE o.order_status = 'delivered'\n), top_customers AS (\n SELECT customer_unique_id,\n COUNT(DISTINCT order_id) AS delivered_order_count\n FROM delivered_orders\n GROUP BY customer_unique_id\n ORDER BY delivered_order_count DESC, customer_unique_id\n LIMIT 3\n), ranked_locations AS (\n SELECT d.*,\n ROW_NUMBER() OVER (\n PARTITION BY d.customer_unique_id\n ORDER BY d.order_purchase_timestamp DESC, d.order_id DESC\n ) AS location_rank\n FROM delivered_orders AS d\n JOIN top_customers AS t ON t.customer_unique_id = d.customer_unique_id\n), average_payments AS (\n SELECT d.customer_unique_id,\n AVG(p.payment_value) AS average_payment_value\n FROM ranked_locations AS d\n JOIN olist_order_payments AS p ON p.order_id = d.order_id\n GROUP BY d.customer_unique_id\n)\nSELECT t.customer_unique_id,\n p.average_payment_value,\n l.customer_city,\n l.customer_state\nFROM top_customers AS t\nJOIN ranked_locations AS l\n ON l.customer_unique_id = t.customer_unique_id AND l.location_rank = 1\nLEFT JOIN average_payments AS p ON p.customer_unique_id = t.customer_unique_id\nORDER BY t.delivered_order_count DESC, t.customer_unique_id;", "seconds": 32.0285270831082, "calls": [{"seconds": 3.0236544579965994, "usage": {"completion_tokens": 85, "prompt_tokens": 1667, "total_tokens": 1752, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1088, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 8.866714040981606, "usage": {"completion_tokens": 433, "prompt_tokens": 1956, "total_tokens": 2389, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 160, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 289, "cached_tokens": 1088, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 289, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 289, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 11.663586167036556, "usage": {"completion_tokens": 643, "prompt_tokens": 2821, "total_tokens": 3464, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 271, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 865, "cached_tokens": 1377, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 865, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 865, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 6.419320874963887, "usage": {"completion_tokens": 363, "prompt_tokens": 3940, "total_tokens": 4303, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 17, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1119, "cached_tokens": 2242, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1119, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1119, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "bbc386b3dec3b70e50b87a37a249d6c4943f43fd5f8f9c99873d3e5baa231720", "csv_sha256": "a4dff07e4f8f75b1f9e21341cea31a57a4c82544787d1565cb382182da95f646"} +{"instance_id": "local041", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT 100.0 * COUNT(CASE WHEN health = 'Good' THEN 1 END) / COUNT(*) AS percentage_good\nFROM trees\nWHERE boroname = 'Bronx';\n```", "rows": 1, "sql": "SELECT 100.0 * COUNT(CASE WHEN health = 'Good' THEN 1 END) / COUNT(*) AS percentage_good\nFROM trees\nWHERE boroname = 'Bronx';", "seconds": 8.492723625036888, "calls": [{"seconds": 1.945600084029138, "usage": {"completion_tokens": 19, "prompt_tokens": 1659, "total_tokens": 1678, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1062, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.515714625013061, "usage": {"completion_tokens": 98, "prompt_tokens": 1787, "total_tokens": 1885, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 40, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1190, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 2.898830582969822, "usage": {"completion_tokens": 47, "prompt_tokens": 1957, "total_tokens": 2004, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 170, "cached_tokens": 1190, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 170, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 170, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d6a80fc9cbe2f65b7f03f7f688dac99b9037865623ea0df5c158c5a3683a5222", "csv_sha256": "e60e03eaf79a25527c91bae79763501a7edae27535b9f8a188a925a79590d1ef"} +{"instance_id": "local062", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "failed", "error_type": "Timeout", "seconds": 234.18561187502928, "calls": [{"seconds": 3.2885440409881994, "usage": {"completion_tokens": 111, "prompt_tokens": 1693, "total_tokens": 1804, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1126, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 6.753844707971439, "usage": {"completion_tokens": 225, "prompt_tokens": 2709, "total_tokens": 2934, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 59, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1016, "cached_tokens": 1126, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1016, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1016, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 5.75055754208006, "usage": {"completion_tokens": 216, "prompt_tokens": 3133, "total_tokens": 3349, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 59, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 424, "cached_tokens": 2142, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 424, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 424, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 8.274673708947375, "usage": {"completion_tokens": 405, "prompt_tokens": 3719, "total_tokens": 4124, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 91, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 586, "cached_tokens": 2566, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 586, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 586, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 180.01820008305367, "usage": null, "status": "error", "error_type": "Timeout"}], "full_record_sha256": "8162a5b57e65f0cc591a58a3d290fc76c986fce03b95b0834637038a4b330da5"} +{"instance_id": "local064", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE months(month_start) AS (\n VALUES ('2020-01-01')\n UNION ALL\n SELECT date(month_start, '+1 month')\n FROM months\n WHERE month_start < '2020-12-01'\n), customers AS (\n SELECT DISTINCT customer_id\n FROM customer_nodes\n), monthly_transactions AS (\n SELECT customer_id,\n date(txn_date, 'start of month') AS month_start,\n SUM(CASE txn_type\n WHEN 'deposit' THEN txn_amount\n WHEN 'withdrawal' THEN -txn_amount\n ELSE 0\n END) AS balance\n FROM customer_transactions\n WHERE txn_date >= '2020-01-01' AND txn_date < '2021-01-01'\n GROUP BY customer_id, date(txn_date, 'start of month')\n), customer_month_balances AS (\n SELECT m.month_start, c.customer_id, COALESCE(t.balance, 0) AS balance\n FROM months AS m\n CROSS JOIN customers AS c\n LEFT JOIN monthly_transactions AS t\n ON t.customer_id = c.customer_id AND t.month_start = m.month_start\n), monthly_summary AS (\n SELECT month_start,\n COUNT(CASE WHEN balance > 0 THEN 1 END) AS positive_customers,\n AVG(balance) AS avg_balance\n FROM customer_month_balances\n GROUP BY month_start\n), ranked_months AS (\n SELECT month_start, avg_balance,\n DENSE_RANK() OVER (ORDER BY positive_customers DESC) AS highest_rank,\n DENSE_RANK() OVER (ORDER BY positive_customers ASC) AS lowest_rank\n FROM monthly_summary\n)\nSELECT strftime('%Y-%m', h.month_start) AS highest_count_month,\n h.avg_balance AS highest_count_avg_balance,\n strftime('%Y-%m', l.month_start) AS lowest_count_month,\n l.avg_balance AS lowest_count_avg_balance,\n h.avg_balance - l.avg_balance AS avg_balance_difference\nFROM ranked_months AS h\nCROSS JOIN ranked_months AS l\nWHERE h.highest_rank = 1 AND l.lowest_rank = 1\nORDER BY h.month_start, l.month_start;\n```", "rows": 8, "sql": "WITH RECURSIVE months(month_start) AS (\n VALUES ('2020-01-01')\n UNION ALL\n SELECT date(month_start, '+1 month')\n FROM months\n WHERE month_start < '2020-12-01'\n), customers AS (\n SELECT DISTINCT customer_id\n FROM customer_nodes\n), monthly_transactions AS (\n SELECT customer_id,\n date(txn_date, 'start of month') AS month_start,\n SUM(CASE txn_type\n WHEN 'deposit' THEN txn_amount\n WHEN 'withdrawal' THEN -txn_amount\n ELSE 0\n END) AS balance\n FROM customer_transactions\n WHERE txn_date >= '2020-01-01' AND txn_date < '2021-01-01'\n GROUP BY customer_id, date(txn_date, 'start of month')\n), customer_month_balances AS (\n SELECT m.month_start, c.customer_id, COALESCE(t.balance, 0) AS balance\n FROM months AS m\n CROSS JOIN customers AS c\n LEFT JOIN monthly_transactions AS t\n ON t.customer_id = c.customer_id AND t.month_start = m.month_start\n), monthly_summary AS (\n SELECT month_start,\n COUNT(CASE WHEN balance > 0 THEN 1 END) AS positive_customers,\n AVG(balance) AS avg_balance\n FROM customer_month_balances\n GROUP BY month_start\n), ranked_months AS (\n SELECT month_start, avg_balance,\n DENSE_RANK() OVER (ORDER BY positive_customers DESC) AS highest_rank,\n DENSE_RANK() OVER (ORDER BY positive_customers ASC) AS lowest_rank\n FROM monthly_summary\n)\nSELECT strftime('%Y-%m', h.month_start) AS highest_count_month,\n h.avg_balance AS highest_count_avg_balance,\n strftime('%Y-%m', l.month_start) AS lowest_count_month,\n l.avg_balance AS lowest_count_avg_balance,\n h.avg_balance - l.avg_balance AS avg_balance_difference\nFROM ranked_months AS h\nCROSS JOIN ranked_months AS l\nWHERE h.highest_rank = 1 AND l.lowest_rank = 1\nORDER BY h.month_start, l.month_start;", "seconds": 32.754644999979064, "calls": [{"seconds": 3.9823736250400543, "usage": {"completion_tokens": 66, "prompt_tokens": 1741, "total_tokens": 1807, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1136, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 8.160565165919252, "usage": {"completion_tokens": 302, "prompt_tokens": 1919, "total_tokens": 2221, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 181, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 178, "cached_tokens": 1136, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 178, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 178, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 11.490527584101073, "usage": {"completion_tokens": 657, "prompt_tokens": 2389, "total_tokens": 3046, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 151, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 470, "cached_tokens": 1314, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 470, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 470, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 7.497078791959211, "usage": {"completion_tokens": 489, "prompt_tokens": 3768, "total_tokens": 4257, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 17, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1379, "cached_tokens": 1784, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1379, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1379, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "7107e492bfc57eddeccea5e4c7dba8cadaa3fe481b08691068feaba40ae0be78", "csv_sha256": "17ebce531b86aecec3e448ebe7f29ef525be35c0a9f5156c340b8ccaef6e3093"} +{"instance_id": "local072", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH daily_insertions AS (\n SELECT country_code_2,\n DATE(insert_date) AS insertion_day,\n COUNT(*) AS entry_count,\n COUNT(CASE WHEN capital = 1 THEN 1 END) AS capital_entry_count\n FROM cities\n WHERE DATE(insert_date) >= '2022-01-01'\n AND DATE(insert_date) < '2022-02-01'\n GROUP BY country_code_2, DATE(insert_date)\n), numbered_days AS (\n SELECT *,\n COUNT(*) OVER (PARTITION BY country_code_2) AS january_insertion_days,\n JULIANDAY(insertion_day) - ROW_NUMBER() OVER (\n PARTITION BY country_code_2 ORDER BY insertion_day\n ) AS streak_key\n FROM daily_insertions\n), ranked_streaks AS (\n SELECT country_code_2,\n MIN(insertion_day) AS period_start,\n MAX(insertion_day) AS period_end,\n 1.0 * SUM(capital_entry_count) / SUM(entry_count) AS capital_proportion,\n DENSE_RANK() OVER (\n PARTITION BY country_code_2 ORDER BY COUNT(*) DESC\n ) AS streak_rank\n FROM numbered_days\n WHERE january_insertion_days = 9\n GROUP BY country_code_2, streak_key\n)\nSELECT c.country_name,\n s.period_start,\n s.period_end,\n s.capital_proportion\nFROM ranked_streaks AS s\nJOIN cities_countries AS c ON c.country_code_2 = s.country_code_2\nWHERE s.streak_rank = 1\nORDER BY c.country_name, s.period_start;\n```", "rows": 1, "sql": "WITH daily_insertions AS (\n SELECT country_code_2,\n DATE(insert_date) AS insertion_day,\n COUNT(*) AS entry_count,\n COUNT(CASE WHEN capital = 1 THEN 1 END) AS capital_entry_count\n FROM cities\n WHERE DATE(insert_date) >= '2022-01-01'\n AND DATE(insert_date) < '2022-02-01'\n GROUP BY country_code_2, DATE(insert_date)\n), numbered_days AS (\n SELECT *,\n COUNT(*) OVER (PARTITION BY country_code_2) AS january_insertion_days,\n JULIANDAY(insertion_day) - ROW_NUMBER() OVER (\n PARTITION BY country_code_2 ORDER BY insertion_day\n ) AS streak_key\n FROM daily_insertions\n), ranked_streaks AS (\n SELECT country_code_2,\n MIN(insertion_day) AS period_start,\n MAX(insertion_day) AS period_end,\n 1.0 * SUM(capital_entry_count) / SUM(entry_count) AS capital_proportion,\n DENSE_RANK() OVER (\n PARTITION BY country_code_2 ORDER BY COUNT(*) DESC\n ) AS streak_rank\n FROM numbered_days\n WHERE january_insertion_days = 9\n GROUP BY country_code_2, streak_key\n)\nSELECT c.country_name,\n s.period_start,\n s.period_end,\n s.capital_proportion\nFROM ranked_streaks AS s\nJOIN cities_countries AS c ON c.country_code_2 = s.country_code_2\nWHERE s.streak_rank = 1\nORDER BY c.country_name, s.period_start;", "seconds": 30.797001707949676, "calls": [{"seconds": 2.321874749963172, "usage": {"completion_tokens": 15, "prompt_tokens": 1682, "total_tokens": 1697, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1103, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.441308040986769, "usage": {"completion_tokens": 118, "prompt_tokens": 1773, "total_tokens": 1891, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1194, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 6.385826708981767, "usage": {"completion_tokens": 267, "prompt_tokens": 2251, "total_tokens": 2518, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 72, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 478, "cached_tokens": 1194, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 478, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 478, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 12.338856707909144, "usage": {"completion_tokens": 581, "prompt_tokens": 2750, "total_tokens": 3331, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 200, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 499, "cached_tokens": 1672, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 499, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 499, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 6.253640957991593, "usage": {"completion_tokens": 348, "prompt_tokens": 3735, "total_tokens": 4083, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 985, "cached_tokens": 2171, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 985, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 985, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "faf876374d64799d37552b6c708545bacd895ecf04f0ff1e2cc441dcc5caf08a", "csv_sha256": "e1e4683f28f03af72b34eb149aa309e39213f36392bc677d6cae46fac3ef0e2f"} +{"instance_id": "local073", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH orders AS (\n SELECT o.rowid AS row_id, o.order_id, o.customer_id, n.pizza_name,\n CASE WHEN n.pizza_name = 'Meatlovers' THEN 1 ELSE 2 END AS pizza_id,\n o.order_time, o.exclusions, o.extras\n FROM pizza_clean_customer_orders AS o\n JOIN pizza_names AS n ON n.pizza_id = o.pizza_id\n), ingredient_occurrences AS (\n SELECT o.row_id, CAST(s.value AS INTEGER) AS topping_id\n FROM orders AS o\n JOIN pizza_recipes AS r ON r.pizza_id = o.pizza_id\n CROSS JOIN json_each('[' || r.toppings || ']') AS s\n WHERE NOT EXISTS (\n SELECT 1\n FROM json_each('[' || COALESCE(o.exclusions, '') || ']') AS x\n WHERE CAST(x.value AS INTEGER) = CAST(s.value AS INTEGER)\n )\n UNION ALL\n SELECT o.row_id, CAST(e.value AS INTEGER) AS topping_id\n FROM orders AS o\n CROSS JOIN json_each('[' || COALESCE(o.extras, '') || ']') AS e\n), ingredient_counts AS (\n SELECT row_id, topping_id, COUNT(*) AS quantity\n FROM ingredient_occurrences\n GROUP BY row_id, topping_id\n)\nSELECT o.row_id, o.order_id, o.customer_id, o.pizza_name,\n o.pizza_name || ': ' || COALESCE(\n GROUP_CONCAT(\n CASE WHEN c.quantity > 1 THEN '2x' || t.topping_name\n ELSE t.topping_name END,\n ', ' ORDER BY (c.quantity > 1) DESC, t.topping_name COLLATE NOCASE\n ), ''\n ) AS ingredients\nFROM orders AS o\nLEFT JOIN ingredient_counts AS c ON c.row_id = o.row_id\nLEFT JOIN pizza_toppings AS t ON t.topping_id = c.topping_id\nGROUP BY o.row_id, o.order_id, o.pizza_name, o.order_time, o.customer_id\nORDER BY o.row_id ASC;\n```", "rows": 14, "sql": "WITH orders AS (\n SELECT o.rowid AS row_id, o.order_id, o.customer_id, n.pizza_name,\n CASE WHEN n.pizza_name = 'Meatlovers' THEN 1 ELSE 2 END AS pizza_id,\n o.order_time, o.exclusions, o.extras\n FROM pizza_clean_customer_orders AS o\n JOIN pizza_names AS n ON n.pizza_id = o.pizza_id\n), ingredient_occurrences AS (\n SELECT o.row_id, CAST(s.value AS INTEGER) AS topping_id\n FROM orders AS o\n JOIN pizza_recipes AS r ON r.pizza_id = o.pizza_id\n CROSS JOIN json_each('[' || r.toppings || ']') AS s\n WHERE NOT EXISTS (\n SELECT 1\n FROM json_each('[' || COALESCE(o.exclusions, '') || ']') AS x\n WHERE CAST(x.value AS INTEGER) = CAST(s.value AS INTEGER)\n )\n UNION ALL\n SELECT o.row_id, CAST(e.value AS INTEGER) AS topping_id\n FROM orders AS o\n CROSS JOIN json_each('[' || COALESCE(o.extras, '') || ']') AS e\n), ingredient_counts AS (\n SELECT row_id, topping_id, COUNT(*) AS quantity\n FROM ingredient_occurrences\n GROUP BY row_id, topping_id\n)\nSELECT o.row_id, o.order_id, o.customer_id, o.pizza_name,\n o.pizza_name || ': ' || COALESCE(\n GROUP_CONCAT(\n CASE WHEN c.quantity > 1 THEN '2x' || t.topping_name\n ELSE t.topping_name END,\n ', ' ORDER BY (c.quantity > 1) DESC, t.topping_name COLLATE NOCASE\n ), ''\n ) AS ingredients\nFROM orders AS o\nLEFT JOIN ingredient_counts AS c ON c.row_id = o.row_id\nLEFT JOIN pizza_toppings AS t ON t.topping_id = c.topping_id\nGROUP BY o.row_id, o.order_id, o.pizza_name, o.order_time, o.customer_id\nORDER BY o.row_id ASC;", "seconds": 42.66522254201118, "calls": [{"seconds": 3.9633184999693185, "usage": {"completion_tokens": 141, "prompt_tokens": 1815, "total_tokens": 1956, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1218, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.9055725000798702, "usage": {"completion_tokens": 162, "prompt_tokens": 2215, "total_tokens": 2377, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 400, "cached_tokens": 1218, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 400, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 400, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 24.70914220798295, "usage": {"completion_tokens": 1354, "prompt_tokens": 3316, "total_tokens": 4670, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 875, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1101, "cached_tokens": 1618, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1101, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1101, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 8.472888457938097, "usage": {"completion_tokens": 499, "prompt_tokens": 5637, "total_tokens": 6136, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 45, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 2321, "cached_tokens": 2719, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 2321, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 2321, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f1879f003e2dc3e7ca22aae4b979050075c7f25fff81b70128b03948fdec5645", "csv_sha256": "9de7744f9d1cdb202c0399031844b31a0a16944405c2baab6d28a9e20a5401c8"} +{"instance_id": "local081", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH customer_spending AS (\n SELECT o.customerid,\n COALESCE(SUM(od.unitprice * od.quantity), 0) AS total_spent\n FROM orders AS o\n LEFT JOIN order_details AS od ON od.orderid = o.orderid\n WHERE o.orderdate >= '1998-01-01'\n AND o.orderdate < '1999-01-01'\n AND o.customerid IS NOT NULL\n GROUP BY o.customerid\n)\nSELECT t.groupname AS spending_group,\n COUNT(s.customerid) AS customer_count,\n 100.0 * COUNT(s.customerid) / (SELECT COUNT(*) FROM customer_spending) AS customer_percentage\nFROM customergroupthreshold AS t\nLEFT JOIN customer_spending AS s\n ON s.total_spent BETWEEN t.rangebottom AND t.rangetop\nGROUP BY t.groupname, t.rangebottom, t.rangetop\nORDER BY t.rangebottom;\n```", "rows": 4, "sql": "WITH customer_spending AS (\n SELECT o.customerid,\n COALESCE(SUM(od.unitprice * od.quantity), 0) AS total_spent\n FROM orders AS o\n LEFT JOIN order_details AS od ON od.orderid = o.orderid\n WHERE o.orderdate >= '1998-01-01'\n AND o.orderdate < '1999-01-01'\n AND o.customerid IS NOT NULL\n GROUP BY o.customerid\n)\nSELECT t.groupname AS spending_group,\n COUNT(s.customerid) AS customer_count,\n 100.0 * COUNT(s.customerid) / (SELECT COUNT(*) FROM customer_spending) AS customer_percentage\nFROM customergroupthreshold AS t\nLEFT JOIN customer_spending AS s\n ON s.total_spent BETWEEN t.rangebottom AND t.rangetop\nGROUP BY t.groupname, t.rangebottom, t.rangetop\nORDER BY t.rangebottom;", "seconds": 25.417060417006724, "calls": [{"seconds": 3.5897830410394818, "usage": {"completion_tokens": 98, "prompt_tokens": 1709, "total_tokens": 1807, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1132, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 2.459292292012833, "usage": {"completion_tokens": 36, "prompt_tokens": 2109, "total_tokens": 2145, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 400, "cached_tokens": 1132, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 400, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 400, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 13.287541916943155, "usage": {"completion_tokens": 581, "prompt_tokens": 2252, "total_tokens": 2833, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 358, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 143, "cached_tokens": 1532, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 143, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 143, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 6.066666999948211, "usage": {"completion_tokens": 289, "prompt_tokens": 3123, "total_tokens": 3412, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 82, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 871, "cached_tokens": 1675, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 871, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 871, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a80e259f2e709eda0cdd81eeaefb5b1cdbb9b512b2596f724e18cbc95be569c3", "csv_sha256": "70be927a488e5f349810b0881ec1560e197669e189977635d8805914bd2b81df"} +{"instance_id": "local096", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH female_only_movies AS (\n SELECT c.MID\n FROM M_Cast AS c\n LEFT JOIN Person AS p ON p.PID = TRIM(c.PID)\n GROUP BY c.MID\n HAVING COUNT(*) = COUNT(CASE WHEN p.Gender = 'Female' THEN 1 END)\n)\nSELECT\n CAST(SUBSTR(m.year, -4) AS INTEGER) AS year,\n COUNT(*) AS total_movies,\n 100.0 * COUNT(f.MID) / COUNT(*) AS percentage_exclusively_female\nFROM Movie AS m\nLEFT JOIN female_only_movies AS f ON f.MID = m.MID\nGROUP BY CAST(SUBSTR(m.year, -4) AS INTEGER)\nORDER BY year;\n```", "rows": 78, "sql": "WITH female_only_movies AS (\n SELECT c.MID\n FROM M_Cast AS c\n LEFT JOIN Person AS p ON p.PID = TRIM(c.PID)\n GROUP BY c.MID\n HAVING COUNT(*) = COUNT(CASE WHEN p.Gender = 'Female' THEN 1 END)\n)\nSELECT\n CAST(SUBSTR(m.year, -4) AS INTEGER) AS year,\n COUNT(*) AS total_movies,\n 100.0 * COUNT(f.MID) / COUNT(*) AS percentage_exclusively_female\nFROM Movie AS m\nLEFT JOIN female_only_movies AS f ON f.MID = m.MID\nGROUP BY CAST(SUBSTR(m.year, -4) AS INTEGER)\nORDER BY year;", "seconds": 22.150763124926016, "calls": [{"seconds": 2.6308948340592906, "usage": {"completion_tokens": 67, "prompt_tokens": 1716, "total_tokens": 1783, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1143, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 9.346769083058462, "usage": {"completion_tokens": 286, "prompt_tokens": 1897, "total_tokens": 2183, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 115, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1324, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 5.458988124970347, "usage": {"completion_tokens": 234, "prompt_tokens": 2460, "total_tokens": 2694, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 53, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 563, "cached_tokens": 1324, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 563, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 563, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 4.561158582917415, "usage": {"completion_tokens": 163, "prompt_tokens": 3443, "total_tokens": 3606, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 983, "cached_tokens": 1887, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 983, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 983, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ff444fcc13bfd2e554f6de9c044e61d74b61b82922050782462018a82389c8ea", "csv_sha256": "1d38194dac82f4731e7d923a018778ab99b8365fc1d8918ad06a542c181b45ed"} +{"instance_id": "local163", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH salary_distances AS (\n SELECT FacRank, FacFirstName, FacLastName, FacSalary,\n ABS(FacSalary * COUNT(FacSalary) OVER (PARTITION BY FacRank)\n - SUM(FacSalary) OVER (PARTITION BY FacRank)) AS scaled_distance\n FROM university_faculty\n), closest AS (\n SELECT FacRank, FacFirstName, FacLastName, FacSalary, scaled_distance,\n MIN(scaled_distance) OVER (PARTITION BY FacRank) AS min_scaled_distance\n FROM salary_distances\n)\nSELECT FacRank, FacFirstName, FacLastName, FacSalary\nFROM closest\nWHERE scaled_distance = min_scaled_distance\nORDER BY FacRank, FacLastName, FacFirstName, FacSalary;\n```", "rows": 4, "sql": "WITH salary_distances AS (\n SELECT FacRank, FacFirstName, FacLastName, FacSalary,\n ABS(FacSalary * COUNT(FacSalary) OVER (PARTITION BY FacRank)\n - SUM(FacSalary) OVER (PARTITION BY FacRank)) AS scaled_distance\n FROM university_faculty\n), closest AS (\n SELECT FacRank, FacFirstName, FacLastName, FacSalary, scaled_distance,\n MIN(scaled_distance) OVER (PARTITION BY FacRank) AS min_scaled_distance\n FROM salary_distances\n)\nSELECT FacRank, FacFirstName, FacLastName, FacSalary\nFROM closest\nWHERE scaled_distance = min_scaled_distance\nORDER BY FacRank, FacLastName, FacFirstName, FacSalary;", "seconds": 13.327724584029056, "calls": [{"seconds": 1.9663666249252856, "usage": {"completion_tokens": 22, "prompt_tokens": 1688, "total_tokens": 1710, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1081, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 7.005329375038855, "usage": {"completion_tokens": 292, "prompt_tokens": 1798, "total_tokens": 2090, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 110, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1191, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 4.344414709019475, "usage": {"completion_tokens": 165, "prompt_tokens": 2345, "total_tokens": 2510, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 547, "cached_tokens": 1191, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 547, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 547, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "796729e658366bfbec3710c1ad1792279366680552dd5d02e21d3db5cbddc28f", "csv_sha256": "79585ba9819c14d162618ea6c4edcca741736d9267f4a3e2dcd9797b3a4298c8"} +{"instance_id": "local194", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH cast_members AS (\n SELECT DISTINCT film_id, actor_id\n FROM film_actor\n),\ncast_sizes AS (\n SELECT film_id, COUNT(*) AS actor_count\n FROM cast_members\n GROUP BY film_id\n),\nfilm_revenues AS (\n SELECT i.film_id, ROUND(SUM(p.amount), 2) AS total_revenue\n FROM payment AS p\n JOIN rental AS r ON r.rental_id = p.rental_id\n JOIN inventory AS i ON i.inventory_id = r.inventory_id\n GROUP BY i.film_id\n),\nranked_films AS (\n SELECT cm.actor_id,\n cm.film_id,\n COALESCE(fr.total_revenue, 0.0) / cs.actor_count AS average_revenue_per_actor,\n ROW_NUMBER() OVER (\n PARTITION BY cm.actor_id\n ORDER BY COALESCE(fr.total_revenue, 0.0) DESC, cm.film_id\n ) AS film_rank\n FROM cast_members AS cm\n JOIN cast_sizes AS cs ON cs.film_id = cm.film_id\n LEFT JOIN film_revenues AS fr ON fr.film_id = cm.film_id\n)\nSELECT a.actor_id,\n a.first_name || ' ' || a.last_name AS actor_name,\n f.title AS film_title,\n rf.average_revenue_per_actor\nFROM ranked_films AS rf\nJOIN actor AS a ON a.actor_id = rf.actor_id\nJOIN film AS f ON f.film_id = rf.film_id\nWHERE rf.film_rank <= 3\nORDER BY a.actor_id, rf.film_rank;\n```", "rows": 600, "sql": "WITH cast_members AS (\n SELECT DISTINCT film_id, actor_id\n FROM film_actor\n),\ncast_sizes AS (\n SELECT film_id, COUNT(*) AS actor_count\n FROM cast_members\n GROUP BY film_id\n),\nfilm_revenues AS (\n SELECT i.film_id, ROUND(SUM(p.amount), 2) AS total_revenue\n FROM payment AS p\n JOIN rental AS r ON r.rental_id = p.rental_id\n JOIN inventory AS i ON i.inventory_id = r.inventory_id\n GROUP BY i.film_id\n),\nranked_films AS (\n SELECT cm.actor_id,\n cm.film_id,\n COALESCE(fr.total_revenue, 0.0) / cs.actor_count AS average_revenue_per_actor,\n ROW_NUMBER() OVER (\n PARTITION BY cm.actor_id\n ORDER BY COALESCE(fr.total_revenue, 0.0) DESC, cm.film_id\n ) AS film_rank\n FROM cast_members AS cm\n JOIN cast_sizes AS cs ON cs.film_id = cm.film_id\n LEFT JOIN film_revenues AS fr ON fr.film_id = cm.film_id\n)\nSELECT a.actor_id,\n a.first_name || ' ' || a.last_name AS actor_name,\n f.title AS film_title,\n rf.average_revenue_per_actor\nFROM ranked_films AS rf\nJOIN actor AS a ON a.actor_id = rf.actor_id\nJOIN film AS f ON f.film_id = rf.film_id\nWHERE rf.film_rank <= 3\nORDER BY a.actor_id, rf.film_rank;", "seconds": 38.21647650003433, "calls": [{"seconds": 2.2546988340327516, "usage": {"completion_tokens": 18, "prompt_tokens": 1675, "total_tokens": 1693, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1090, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 2.1217735420214012, "usage": {"completion_tokens": 15, "prompt_tokens": 1723, "total_tokens": 1738, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1090, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.512555166031234, "usage": {"completion_tokens": 131, "prompt_tokens": 1837, "total_tokens": 1968, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 114, "cached_tokens": 1138, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 114, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 114, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 17.25033704203088, "usage": {"completion_tokens": 873, "prompt_tokens": 2416, "total_tokens": 3289, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 494, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 579, "cached_tokens": 1252, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 579, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 579, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 12.937301084049977, "usage": {"completion_tokens": 662, "prompt_tokens": 3924, "total_tokens": 4586, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 314, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1508, "cached_tokens": 1831, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1508, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1508, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "fdea1afc441dd7b838576571b19d0d6187282b0dd417a3d7bc2b557ab827506b", "csv_sha256": "e4068bb6d3c613b9883cbdf122efbe37d809b5a79374a773d9dcfec32a9f7237"} +{"instance_id": "local202", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "failed", "answer": "❓ Awaiting user: Should `alien_data.aggressive = 0` count as friendly and `alien_data.aggressive = 1` count as hostile?", "error_type": "ValueError", "seconds": 25.784988334053196, "calls": [{"seconds": 1.967434208956547, "usage": {"completion_tokens": 20, "prompt_tokens": 1662, "total_tokens": 1682, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1083, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 2.1215859170770273, "usage": {"completion_tokens": 18, "prompt_tokens": 1785, "total_tokens": 1803, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 123, "cached_tokens": 1083, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 123, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 123, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.481187790981494, "usage": {"completion_tokens": 101, "prompt_tokens": 1833, "total_tokens": 1934, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 29, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1206, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 5.065182875026949, "usage": {"completion_tokens": 151, "prompt_tokens": 2068, "total_tokens": 2219, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 134, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 235, "cached_tokens": 1254, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 235, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 235, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 13.140241916989908, "usage": {"completion_tokens": 459, "prompt_tokens": 2295, "total_tokens": 2754, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 413, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 227, "cached_tokens": 1489, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 227, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 227, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0024143078eb992bc7d5136db23a00d10a261e3e60d0732b6fc5219dd89087d9"} +{"instance_id": "local218", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "failed", "error_type": "Timeout", "seconds": 180.0210084170103, "calls": [{"seconds": 180.0187174999155, "usage": null, "status": "error", "error_type": "Timeout"}], "full_record_sha256": "8a089ea7d203905e47fbbc2fa7d7dcbe8072ba7c0d400a6e2e09d20195cc8f4f"} +{"instance_id": "local264", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH category_counts AS (\n SELECT L1_model, COUNT(*) AS total_count\n FROM stack_ok\n GROUP BY L1_model\n)\nSELECT L1_model, total_count\nFROM category_counts\nWHERE total_count = (SELECT MAX(total_count) FROM category_counts)\nORDER BY L1_model;\n```", "rows": 1, "sql": "WITH category_counts AS (\n SELECT L1_model, COUNT(*) AS total_count\n FROM stack_ok\n GROUP BY L1_model\n)\nSELECT L1_model, total_count\nFROM category_counts\nWHERE total_count = (SELECT MAX(total_count) FROM category_counts)\nORDER BY L1_model;", "seconds": 19.95398574997671, "calls": [{"seconds": 1.855208249995485, "usage": {"completion_tokens": 15, "prompt_tokens": 1644, "total_tokens": 1659, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1084, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.5238083329750225, "usage": {"completion_tokens": 113, "prompt_tokens": 1719, "total_tokens": 1832, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1159, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 2.6688691249582916, "usage": {"completion_tokens": 97, "prompt_tokens": 2078, "total_tokens": 2175, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 49, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 359, "cached_tokens": 1159, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 359, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 359, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 4.439078000024892, "usage": {"completion_tokens": 128, "prompt_tokens": 3014, "total_tokens": 3142, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 106, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 936, "cached_tokens": 1518, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 936, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 936, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 4.450688041048124, "usage": {"completion_tokens": 118, "prompt_tokens": 3192, "total_tokens": 3310, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 34, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 178, "cached_tokens": 2454, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 178, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 178, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 2.986326541984454, "usage": {"completion_tokens": 70, "prompt_tokens": 3409, "total_tokens": 3479, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 217, "cached_tokens": 2632, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 217, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 217, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "3c9f266262d93659cd930ca4c41eac99a3892b37d9bf525669bc27777ed8156f", "csv_sha256": "824c8c60bc9829ca5bd88188b10d18515152955e84872c78ee25329c714e2c89"} +{"instance_id": "local279", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "failed", "error_type": "Timeout", "seconds": 199.2992837090278, "calls": [{"seconds": 4.141528540989384, "usage": {"completion_tokens": 130, "prompt_tokens": 1825, "total_tokens": 1955, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1122, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 1.7612063330598176, "usage": {"completion_tokens": 15, "prompt_tokens": 2194, "total_tokens": 2209, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 369, "cached_tokens": 1122, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 369, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 369, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 2.962893041083589, "usage": {"completion_tokens": 85, "prompt_tokens": 2464, "total_tokens": 2549, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 270, "cached_tokens": 1491, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 270, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 270, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 6.638913374976255, "usage": {"completion_tokens": 298, "prompt_tokens": 2744, "total_tokens": 3042, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 105, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 280, "cached_tokens": 1761, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 280, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 280, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.703374999924563, "usage": {"completion_tokens": 110, "prompt_tokens": 3377, "total_tokens": 3487, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 633, "cached_tokens": 2041, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 633, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 633, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 180.05659099994227, "usage": null, "status": "error", "error_type": "Timeout"}], "full_record_sha256": "046028d6ff7b7c71abf820ba275233580883a4c13169599ceefca98c047339a0"} +{"instance_id": "local310", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH season_results AS (\n SELECT r.year, res.driver_id, res.constructor_id, res.points\n FROM results AS res\n JOIN races AS r ON r.race_id = res.race_id\n), driver_totals AS (\n SELECT year, driver_id, SUM(points) AS total_points\n FROM season_results\n GROUP BY year, driver_id\n), constructor_totals AS (\n SELECT year, constructor_id, SUM(points) AS total_points\n FROM season_results\n GROUP BY year, constructor_id\n), driver_maxima AS (\n SELECT year, MAX(total_points) AS top_driver_points\n FROM driver_totals\n GROUP BY year\n), constructor_maxima AS (\n SELECT year, MAX(total_points) AS top_constructor_points\n FROM constructor_totals\n GROUP BY year\n)\nSELECT d.year\nFROM driver_maxima AS d\nJOIN constructor_maxima AS c ON c.year = d.year\nORDER BY d.top_driver_points + c.top_constructor_points ASC, d.year ASC\nLIMIT 3;\n```", "rows": 3, "sql": "WITH season_results AS (\n SELECT r.year, res.driver_id, res.constructor_id, res.points\n FROM results AS res\n JOIN races AS r ON r.race_id = res.race_id\n), driver_totals AS (\n SELECT year, driver_id, SUM(points) AS total_points\n FROM season_results\n GROUP BY year, driver_id\n), constructor_totals AS (\n SELECT year, constructor_id, SUM(points) AS total_points\n FROM season_results\n GROUP BY year, constructor_id\n), driver_maxima AS (\n SELECT year, MAX(total_points) AS top_driver_points\n FROM driver_totals\n GROUP BY year\n), constructor_maxima AS (\n SELECT year, MAX(total_points) AS top_constructor_points\n FROM constructor_totals\n GROUP BY year\n)\nSELECT d.year\nFROM driver_maxima AS d\nJOIN constructor_maxima AS c ON c.year = d.year\nORDER BY d.top_driver_points + c.top_constructor_points ASC, d.year ASC\nLIMIT 3;", "seconds": 16.172491292003542, "calls": [{"seconds": 2.0090864580124617, "usage": {"completion_tokens": 19, "prompt_tokens": 1746, "total_tokens": 1765, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1117, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 2.0307901659980416, "usage": {"completion_tokens": 20, "prompt_tokens": 1914, "total_tokens": 1934, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1285, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 7.517531333025545, "usage": {"completion_tokens": 334, "prompt_tokens": 2096, "total_tokens": 2430, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 94, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 182, "cached_tokens": 1285, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 182, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 182, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 4.572294707992114, "usage": {"completion_tokens": 223, "prompt_tokens": 2674, "total_tokens": 2897, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 578, "cached_tokens": 1467, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 578, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 578, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2c53f3bb099a90802b1b989ae16e82bd92d342521fb337106360bcffe9d3c0d2", "csv_sha256": "1781e656c5fe72f4c09f983ebfa4785e557091254a46d5e0663c0f2bb5a34a2b"} +{"instance_id": "local335", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH point_results AS (\n SELECT race_id, driver_id, constructor_id, points FROM results\n UNION ALL\n SELECT race_id, driver_id, constructor_id, points FROM sprint_results\n),\ndriver_constructor_points AS (\n SELECT r.year, p.driver_id, p.constructor_id, SUM(p.points) AS points\n FROM point_results AS p\n JOIN races AS r ON r.race_id = p.race_id\n WHERE r.year >= 2001\n GROUP BY r.year, p.driver_id, p.constructor_id\n),\ndriver_season_points AS (\n SELECT year, driver_id, SUM(points) AS total_points\n FROM driver_constructor_points\n GROUP BY year, driver_id\n HAVING SUM(points) > 0\n),\nseason_minimums AS (\n SELECT year, MIN(total_points) AS min_points\n FROM driver_season_points\n GROUP BY year\n)\nSELECT c.name AS constructor, COUNT(DISTINCT d.year) AS season_count\nFROM driver_season_points AS d\nJOIN season_minimums AS m ON m.year = d.year AND m.min_points = d.total_points\nJOIN driver_constructor_points AS p ON p.year = d.year AND p.driver_id = d.driver_id\nJOIN constructors AS c ON c.constructor_id = p.constructor_id\nWHERE p.points > 0\nGROUP BY c.constructor_id, c.name\nORDER BY season_count DESC, c.name ASC, c.constructor_id ASC\nLIMIT 5;\n```", "rows": 5, "sql": "WITH point_results AS (\n SELECT race_id, driver_id, constructor_id, points FROM results\n UNION ALL\n SELECT race_id, driver_id, constructor_id, points FROM sprint_results\n),\ndriver_constructor_points AS (\n SELECT r.year, p.driver_id, p.constructor_id, SUM(p.points) AS points\n FROM point_results AS p\n JOIN races AS r ON r.race_id = p.race_id\n WHERE r.year >= 2001\n GROUP BY r.year, p.driver_id, p.constructor_id\n),\ndriver_season_points AS (\n SELECT year, driver_id, SUM(points) AS total_points\n FROM driver_constructor_points\n GROUP BY year, driver_id\n HAVING SUM(points) > 0\n),\nseason_minimums AS (\n SELECT year, MIN(total_points) AS min_points\n FROM driver_season_points\n GROUP BY year\n)\nSELECT c.name AS constructor, COUNT(DISTINCT d.year) AS season_count\nFROM driver_season_points AS d\nJOIN season_minimums AS m ON m.year = d.year AND m.min_points = d.total_points\nJOIN driver_constructor_points AS p ON p.year = d.year AND p.driver_id = d.driver_id\nJOIN constructors AS c ON c.constructor_id = p.constructor_id\nWHERE p.points > 0\nGROUP BY c.constructor_id, c.name\nORDER BY season_count DESC, c.name ASC, c.constructor_id ASC\nLIMIT 5;", "seconds": 45.028451708029024, "calls": [{"seconds": 2.3578608330572024, "usage": {"completion_tokens": 15, "prompt_tokens": 1724, "total_tokens": 1739, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 0, "cached_tokens": 1095, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 0, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 0, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 3.819089625030756, "usage": {"completion_tokens": 155, "prompt_tokens": 1878, "total_tokens": 2033, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 154, "cached_tokens": 1095, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 154, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 154, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 9.114642833010294, "usage": {"completion_tokens": 371, "prompt_tokens": 2796, "total_tokens": 3167, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 189, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 918, "cached_tokens": 1249, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 918, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 918, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 11.252980166929774, "usage": {"completion_tokens": 635, "prompt_tokens": 3929, "total_tokens": 4564, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 129, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1133, "cached_tokens": 2167, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1133, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1133, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 11.600358708994463, "usage": {"completion_tokens": 519, "prompt_tokens": 6246, "total_tokens": 6765, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 190, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 2317, "cached_tokens": 3300, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 2317, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 2317, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}, {"seconds": 6.780238959006965, "usage": {"completion_tokens": 363, "prompt_tokens": 7124, "total_tokens": 7487, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 48, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 878, "cached_tokens": 5617, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 878, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 878, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "response_model": "gpt-6.2-sol"}], "full_record_sha256": "49b3714861a528fd983025170a6d46e63fdd7f5bd5ac615a1373d8c910331a59", "csv_sha256": "03869f33d1716ad83e00035b0875f09ef487046dc561b8942432ab237b2161a4"} diff --git a/bench/accuracy/results/spider-development-v2/gpt62-sol/scores.json b/bench/accuracy/results/spider-development-v2/gpt62-sol/scores.json new file mode 100644 index 00000000..c1c60c38 --- /dev/null +++ b/bench/accuracy/results/spider-development-v2/gpt62-sol/scores.json @@ -0,0 +1,117 @@ +[ + { + "instance_id": "local064", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local073", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local003", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local004", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local021", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local163", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local310", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local041", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local062", + "score": 0, + "error_info": "Timeout" + }, + { + "instance_id": "local081", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local202", + "score": 0, + "error_info": "ValueError" + }, + { + "instance_id": "local096", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local279", + "score": 0, + "error_info": "Timeout" + }, + { + "instance_id": "local264", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local024", + "score": 0, + "error_info": "Timeout" + }, + { + "instance_id": "local218", + "score": 0, + "error_info": "Timeout" + }, + { + "instance_id": "local072", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local194", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local029", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local335", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + } +] diff --git a/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local003.sql b/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local003.sql new file mode 100644 index 00000000..06d8ec8e --- /dev/null +++ b/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local003.sql @@ -0,0 +1,74 @@ +WITH order_spend AS ( + -- Sum all payment rows once per order, including split payments. + SELECT order_id, SUM(payment_value) AS spend + FROM order_payments + GROUP BY order_id +), customer_totals AS ( + SELECT c.customer_unique_id, + MAX(o.order_purchase_timestamp) AS latest_purchase, + COUNT(*) AS order_count, + -- Missing payments leave spend unknown, not zero. + CASE WHEN COUNT(p.spend) = COUNT(*) + THEN ROUND(SUM(p.spend), 2) + END AS total_spend + FROM orders AS o + JOIN customers AS c ON c.customer_id = o.customer_id + LEFT JOIN order_spend AS p ON p.order_id = o.order_id + WHERE o.order_status = 'delivered' + GROUP BY c.customer_unique_id +), recency AS ( + -- Recency is elapsed days from the customer's latest delivered-order purchase + -- to the latest delivered-order purchase in the dataset. Lower is more recent. + SELECT *, + JULIANDAY(MAX(latest_purchase) OVER ()) + - JULIANDAY(latest_purchase) AS recency_days + FROM customer_totals +), percentiles AS ( + -- Rank each measure best to worst. Tied values share the cumulative percentile + -- at the end of their tie group. Unknown spend receives no monetary percentile. + SELECT *, + CUME_DIST() OVER (ORDER BY recency_days) AS r_pct, + CUME_DIST() OVER (ORDER BY order_count DESC) AS f_pct, + CASE WHEN total_spend IS NOT NULL THEN + CUME_DIST() OVER ( + PARTITION BY (total_spend IS NULL) ORDER BY total_spend DESC + ) + END AS m_pct + FROM recency +), scores AS ( + -- The percentile bands end at 20%, 40%, 60%, 80%, and 100%. + SELECT *, + CASE WHEN r_pct <= 0.2 THEN 1 WHEN r_pct <= 0.4 THEN 2 + WHEN r_pct <= 0.6 THEN 3 WHEN r_pct <= 0.8 THEN 4 ELSE 5 END AS r_score, + CASE WHEN f_pct <= 0.2 THEN 1 WHEN f_pct <= 0.4 THEN 2 + WHEN f_pct <= 0.6 THEN 3 WHEN f_pct <= 0.8 THEN 4 ELSE 5 END + + CASE WHEN m_pct IS NULL THEN NULL + WHEN m_pct <= 0.2 THEN 1 WHEN m_pct <= 0.4 THEN 2 + WHEN m_pct <= 0.6 THEN 3 WHEN m_pct <= 0.8 THEN 4 ELSE 5 END AS fm_score + FROM percentiles +), segments AS ( + SELECT customer_unique_id, total_spend, order_count, + CASE + WHEN r_score = 1 AND fm_score BETWEEN 1 AND 4 THEN 'Champions' + WHEN r_score IN (4, 5) AND fm_score BETWEEN 1 AND 2 THEN 'Can''t Lose Them' + WHEN r_score IN (4, 5) AND fm_score BETWEEN 3 AND 6 THEN 'Hibernating' + WHEN r_score IN (4, 5) AND fm_score BETWEEN 7 AND 10 THEN 'Lost' + WHEN r_score IN (2, 3) AND fm_score BETWEEN 1 AND 4 THEN 'Loyal Customers' + WHEN r_score = 3 AND fm_score BETWEEN 5 AND 6 THEN 'Needs Attention' + WHEN r_score = 1 AND fm_score BETWEEN 7 AND 8 THEN 'Recent Users' + WHEN (r_score = 1 AND fm_score BETWEEN 5 AND 6) + OR (r_score = 2 AND fm_score BETWEEN 5 AND 8) THEN 'Potential Loyalists' + WHEN r_score = 1 AND fm_score BETWEEN 9 AND 10 THEN 'Price Sensitive' + WHEN r_score = 2 AND fm_score BETWEEN 9 AND 10 THEN 'Promising' + WHEN r_score = 3 AND fm_score BETWEEN 7 AND 10 THEN 'About to Sleep' + END AS rfm_segment + FROM scores +) +SELECT customer_unique_id, + rfm_segment, + ROUND(total_spend / order_count, 2) AS customer_avg_sales_per_order, + -- Compare segments using total segment spend divided by total segment orders. + ROUND(SUM(total_spend) OVER (PARTITION BY rfm_segment) + / SUM(order_count) OVER (PARTITION BY rfm_segment), 2) AS segment_avg_sales_per_order +FROM segments +ORDER BY segment_avg_sales_per_order DESC, rfm_segment, customer_unique_id; diff --git a/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local004.sql b/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local004.sql new file mode 100644 index 00000000..16580d08 --- /dev/null +++ b/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local004.sql @@ -0,0 +1,23 @@ +WITH payments_per_order AS ( + SELECT order_id, SUM(payment_value) AS order_payment + FROM order_payments + GROUP BY order_id +), customer_metrics AS ( + SELECT c.customer_unique_id, + COUNT(*) AS number_of_orders, + AVG(p.order_payment) AS average_payment_per_order, + JULIANDAY(MAX(o.order_purchase_timestamp)) + - JULIANDAY(MIN(o.order_purchase_timestamp)) AS lifespan_days + FROM orders AS o + JOIN customers AS c ON c.customer_id = o.customer_id + LEFT JOIN payments_per_order AS p ON p.order_id = o.order_id + GROUP BY c.customer_unique_id +) +SELECT number_of_orders, + average_payment_per_order, + CASE WHEN lifespan_days < 7 THEN 1.0 + ELSE lifespan_days / 7.0 + END AS customer_lifespan_weeks +FROM customer_metrics +ORDER BY average_payment_per_order DESC, customer_unique_id +LIMIT 3; diff --git a/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local021.sql b/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local021.sql new file mode 100644 index 00000000..b826771e --- /dev/null +++ b/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local021.sql @@ -0,0 +1,18 @@ +WITH match_totals AS ( + SELECT b.striker, b.match_id, SUM(s.runs_scored) AS match_runs + FROM ball_by_ball AS b + JOIN batsman_scored AS s + ON s.match_id = b.match_id + AND s.innings_no = b.innings_no + AND s.over_id = b.over_id + AND s.ball_id = b.ball_id + WHERE b.striker IS NOT NULL + GROUP BY b.striker, b.match_id +), striker_totals AS ( + SELECT striker, SUM(match_runs) AS total_runs + FROM match_totals + GROUP BY striker + HAVING MAX(match_runs) > 50 +) +SELECT AVG(total_runs) AS average_total_runs +FROM striker_totals; diff --git a/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local029.sql b/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local029.sql new file mode 100644 index 00000000..ec57a86d --- /dev/null +++ b/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local029.sql @@ -0,0 +1,40 @@ +WITH delivered_orders AS ( + SELECT o.order_id, + o.order_purchase_timestamp, + c.customer_unique_id, + c.customer_city, + c.customer_state + FROM olist_orders AS o + JOIN olist_customers AS c ON c.customer_id = o.customer_id + WHERE o.order_status = 'delivered' +), top_customers AS ( + SELECT customer_unique_id, + COUNT(DISTINCT order_id) AS delivered_order_count + FROM delivered_orders + GROUP BY customer_unique_id + ORDER BY delivered_order_count DESC, customer_unique_id + LIMIT 3 +), ranked_locations AS ( + SELECT d.*, + ROW_NUMBER() OVER ( + PARTITION BY d.customer_unique_id + ORDER BY d.order_purchase_timestamp DESC, d.order_id DESC + ) AS location_rank + FROM delivered_orders AS d + JOIN top_customers AS t ON t.customer_unique_id = d.customer_unique_id +), average_payments AS ( + SELECT d.customer_unique_id, + AVG(p.payment_value) AS average_payment_value + FROM ranked_locations AS d + JOIN olist_order_payments AS p ON p.order_id = d.order_id + GROUP BY d.customer_unique_id +) +SELECT t.customer_unique_id, + p.average_payment_value, + l.customer_city, + l.customer_state +FROM top_customers AS t +JOIN ranked_locations AS l + ON l.customer_unique_id = t.customer_unique_id AND l.location_rank = 1 +LEFT JOIN average_payments AS p ON p.customer_unique_id = t.customer_unique_id +ORDER BY t.delivered_order_count DESC, t.customer_unique_id; diff --git a/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local041.sql b/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local041.sql new file mode 100644 index 00000000..fddfb68f --- /dev/null +++ b/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local041.sql @@ -0,0 +1,3 @@ +SELECT 100.0 * COUNT(CASE WHEN health = 'Good' THEN 1 END) / COUNT(*) AS percentage_good +FROM trees +WHERE boroname = 'Bronx'; diff --git a/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local064.sql b/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local064.sql new file mode 100644 index 00000000..3a37db88 --- /dev/null +++ b/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local064.sql @@ -0,0 +1,47 @@ +WITH RECURSIVE months(month_start) AS ( + VALUES ('2020-01-01') + UNION ALL + SELECT date(month_start, '+1 month') + FROM months + WHERE month_start < '2020-12-01' +), customers AS ( + SELECT DISTINCT customer_id + FROM customer_nodes +), monthly_transactions AS ( + SELECT customer_id, + date(txn_date, 'start of month') AS month_start, + SUM(CASE txn_type + WHEN 'deposit' THEN txn_amount + WHEN 'withdrawal' THEN -txn_amount + ELSE 0 + END) AS balance + FROM customer_transactions + WHERE txn_date >= '2020-01-01' AND txn_date < '2021-01-01' + GROUP BY customer_id, date(txn_date, 'start of month') +), customer_month_balances AS ( + SELECT m.month_start, c.customer_id, COALESCE(t.balance, 0) AS balance + FROM months AS m + CROSS JOIN customers AS c + LEFT JOIN monthly_transactions AS t + ON t.customer_id = c.customer_id AND t.month_start = m.month_start +), monthly_summary AS ( + SELECT month_start, + COUNT(CASE WHEN balance > 0 THEN 1 END) AS positive_customers, + AVG(balance) AS avg_balance + FROM customer_month_balances + GROUP BY month_start +), ranked_months AS ( + SELECT month_start, avg_balance, + DENSE_RANK() OVER (ORDER BY positive_customers DESC) AS highest_rank, + DENSE_RANK() OVER (ORDER BY positive_customers ASC) AS lowest_rank + FROM monthly_summary +) +SELECT strftime('%Y-%m', h.month_start) AS highest_count_month, + h.avg_balance AS highest_count_avg_balance, + strftime('%Y-%m', l.month_start) AS lowest_count_month, + l.avg_balance AS lowest_count_avg_balance, + h.avg_balance - l.avg_balance AS avg_balance_difference +FROM ranked_months AS h +CROSS JOIN ranked_months AS l +WHERE h.highest_rank = 1 AND l.lowest_rank = 1 +ORDER BY h.month_start, l.month_start; diff --git a/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local072.sql b/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local072.sql new file mode 100644 index 00000000..14fd99e5 --- /dev/null +++ b/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local072.sql @@ -0,0 +1,36 @@ +WITH daily_insertions AS ( + SELECT country_code_2, + DATE(insert_date) AS insertion_day, + COUNT(*) AS entry_count, + COUNT(CASE WHEN capital = 1 THEN 1 END) AS capital_entry_count + FROM cities + WHERE DATE(insert_date) >= '2022-01-01' + AND DATE(insert_date) < '2022-02-01' + GROUP BY country_code_2, DATE(insert_date) +), numbered_days AS ( + SELECT *, + COUNT(*) OVER (PARTITION BY country_code_2) AS january_insertion_days, + JULIANDAY(insertion_day) - ROW_NUMBER() OVER ( + PARTITION BY country_code_2 ORDER BY insertion_day + ) AS streak_key + FROM daily_insertions +), ranked_streaks AS ( + SELECT country_code_2, + MIN(insertion_day) AS period_start, + MAX(insertion_day) AS period_end, + 1.0 * SUM(capital_entry_count) / SUM(entry_count) AS capital_proportion, + DENSE_RANK() OVER ( + PARTITION BY country_code_2 ORDER BY COUNT(*) DESC + ) AS streak_rank + FROM numbered_days + WHERE january_insertion_days = 9 + GROUP BY country_code_2, streak_key +) +SELECT c.country_name, + s.period_start, + s.period_end, + s.capital_proportion +FROM ranked_streaks AS s +JOIN cities_countries AS c ON c.country_code_2 = s.country_code_2 +WHERE s.streak_rank = 1 +ORDER BY c.country_name, s.period_start; diff --git a/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local073.sql b/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local073.sql new file mode 100644 index 00000000..e67297c8 --- /dev/null +++ b/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local073.sql @@ -0,0 +1,38 @@ +WITH orders AS ( + SELECT o.rowid AS row_id, o.order_id, o.customer_id, n.pizza_name, + CASE WHEN n.pizza_name = 'Meatlovers' THEN 1 ELSE 2 END AS pizza_id, + o.order_time, o.exclusions, o.extras + FROM pizza_clean_customer_orders AS o + JOIN pizza_names AS n ON n.pizza_id = o.pizza_id +), ingredient_occurrences AS ( + SELECT o.row_id, CAST(s.value AS INTEGER) AS topping_id + FROM orders AS o + JOIN pizza_recipes AS r ON r.pizza_id = o.pizza_id + CROSS JOIN json_each('[' || r.toppings || ']') AS s + WHERE NOT EXISTS ( + SELECT 1 + FROM json_each('[' || COALESCE(o.exclusions, '') || ']') AS x + WHERE CAST(x.value AS INTEGER) = CAST(s.value AS INTEGER) + ) + UNION ALL + SELECT o.row_id, CAST(e.value AS INTEGER) AS topping_id + FROM orders AS o + CROSS JOIN json_each('[' || COALESCE(o.extras, '') || ']') AS e +), ingredient_counts AS ( + SELECT row_id, topping_id, COUNT(*) AS quantity + FROM ingredient_occurrences + GROUP BY row_id, topping_id +) +SELECT o.row_id, o.order_id, o.customer_id, o.pizza_name, + o.pizza_name || ': ' || COALESCE( + GROUP_CONCAT( + CASE WHEN c.quantity > 1 THEN '2x' || t.topping_name + ELSE t.topping_name END, + ', ' ORDER BY (c.quantity > 1) DESC, t.topping_name COLLATE NOCASE + ), '' + ) AS ingredients +FROM orders AS o +LEFT JOIN ingredient_counts AS c ON c.row_id = o.row_id +LEFT JOIN pizza_toppings AS t ON t.topping_id = c.topping_id +GROUP BY o.row_id, o.order_id, o.pizza_name, o.order_time, o.customer_id +ORDER BY o.row_id ASC; diff --git a/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local081.sql b/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local081.sql new file mode 100644 index 00000000..13829a3a --- /dev/null +++ b/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local081.sql @@ -0,0 +1,18 @@ +WITH customer_spending AS ( + SELECT o.customerid, + COALESCE(SUM(od.unitprice * od.quantity), 0) AS total_spent + FROM orders AS o + LEFT JOIN order_details AS od ON od.orderid = o.orderid + WHERE o.orderdate >= '1998-01-01' + AND o.orderdate < '1999-01-01' + AND o.customerid IS NOT NULL + GROUP BY o.customerid +) +SELECT t.groupname AS spending_group, + COUNT(s.customerid) AS customer_count, + 100.0 * COUNT(s.customerid) / (SELECT COUNT(*) FROM customer_spending) AS customer_percentage +FROM customergroupthreshold AS t +LEFT JOIN customer_spending AS s + ON s.total_spent BETWEEN t.rangebottom AND t.rangetop +GROUP BY t.groupname, t.rangebottom, t.rangetop +ORDER BY t.rangebottom; diff --git a/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local096.sql b/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local096.sql new file mode 100644 index 00000000..5181ede8 --- /dev/null +++ b/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local096.sql @@ -0,0 +1,15 @@ +WITH female_only_movies AS ( + SELECT c.MID + FROM M_Cast AS c + LEFT JOIN Person AS p ON p.PID = TRIM(c.PID) + GROUP BY c.MID + HAVING COUNT(*) = COUNT(CASE WHEN p.Gender = 'Female' THEN 1 END) +) +SELECT + CAST(SUBSTR(m.year, -4) AS INTEGER) AS year, + COUNT(*) AS total_movies, + 100.0 * COUNT(f.MID) / COUNT(*) AS percentage_exclusively_female +FROM Movie AS m +LEFT JOIN female_only_movies AS f ON f.MID = m.MID +GROUP BY CAST(SUBSTR(m.year, -4) AS INTEGER) +ORDER BY year; diff --git a/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local163.sql b/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local163.sql new file mode 100644 index 00000000..d5b250f2 --- /dev/null +++ b/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local163.sql @@ -0,0 +1,14 @@ +WITH salary_distances AS ( + SELECT FacRank, FacFirstName, FacLastName, FacSalary, + ABS(FacSalary * COUNT(FacSalary) OVER (PARTITION BY FacRank) + - SUM(FacSalary) OVER (PARTITION BY FacRank)) AS scaled_distance + FROM university_faculty +), closest AS ( + SELECT FacRank, FacFirstName, FacLastName, FacSalary, scaled_distance, + MIN(scaled_distance) OVER (PARTITION BY FacRank) AS min_scaled_distance + FROM salary_distances +) +SELECT FacRank, FacFirstName, FacLastName, FacSalary +FROM closest +WHERE scaled_distance = min_scaled_distance +ORDER BY FacRank, FacLastName, FacFirstName, FacSalary; diff --git a/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local194.sql b/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local194.sql new file mode 100644 index 00000000..2871478e --- /dev/null +++ b/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local194.sql @@ -0,0 +1,37 @@ +WITH cast_members AS ( + SELECT DISTINCT film_id, actor_id + FROM film_actor +), +cast_sizes AS ( + SELECT film_id, COUNT(*) AS actor_count + FROM cast_members + GROUP BY film_id +), +film_revenues AS ( + SELECT i.film_id, ROUND(SUM(p.amount), 2) AS total_revenue + FROM payment AS p + JOIN rental AS r ON r.rental_id = p.rental_id + JOIN inventory AS i ON i.inventory_id = r.inventory_id + GROUP BY i.film_id +), +ranked_films AS ( + SELECT cm.actor_id, + cm.film_id, + COALESCE(fr.total_revenue, 0.0) / cs.actor_count AS average_revenue_per_actor, + ROW_NUMBER() OVER ( + PARTITION BY cm.actor_id + ORDER BY COALESCE(fr.total_revenue, 0.0) DESC, cm.film_id + ) AS film_rank + FROM cast_members AS cm + JOIN cast_sizes AS cs ON cs.film_id = cm.film_id + LEFT JOIN film_revenues AS fr ON fr.film_id = cm.film_id +) +SELECT a.actor_id, + a.first_name || ' ' || a.last_name AS actor_name, + f.title AS film_title, + rf.average_revenue_per_actor +FROM ranked_films AS rf +JOIN actor AS a ON a.actor_id = rf.actor_id +JOIN film AS f ON f.film_id = rf.film_id +WHERE rf.film_rank <= 3 +ORDER BY a.actor_id, rf.film_rank; diff --git a/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local264.sql b/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local264.sql new file mode 100644 index 00000000..7ac2cbe1 --- /dev/null +++ b/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local264.sql @@ -0,0 +1,9 @@ +WITH category_counts AS ( + SELECT L1_model, COUNT(*) AS total_count + FROM stack_ok + GROUP BY L1_model +) +SELECT L1_model, total_count +FROM category_counts +WHERE total_count = (SELECT MAX(total_count) FROM category_counts) +ORDER BY L1_model; diff --git a/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local310.sql b/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local310.sql new file mode 100644 index 00000000..c5943df2 --- /dev/null +++ b/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local310.sql @@ -0,0 +1,26 @@ +WITH season_results AS ( + SELECT r.year, res.driver_id, res.constructor_id, res.points + FROM results AS res + JOIN races AS r ON r.race_id = res.race_id +), driver_totals AS ( + SELECT year, driver_id, SUM(points) AS total_points + FROM season_results + GROUP BY year, driver_id +), constructor_totals AS ( + SELECT year, constructor_id, SUM(points) AS total_points + FROM season_results + GROUP BY year, constructor_id +), driver_maxima AS ( + SELECT year, MAX(total_points) AS top_driver_points + FROM driver_totals + GROUP BY year +), constructor_maxima AS ( + SELECT year, MAX(total_points) AS top_constructor_points + FROM constructor_totals + GROUP BY year +) +SELECT d.year +FROM driver_maxima AS d +JOIN constructor_maxima AS c ON c.year = d.year +ORDER BY d.top_driver_points + c.top_constructor_points ASC, d.year ASC +LIMIT 3; diff --git a/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local335.sql b/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local335.sql new file mode 100644 index 00000000..8c9fa6d0 --- /dev/null +++ b/bench/accuracy/results/spider-development-v2/gpt62-sol/sql/local335.sql @@ -0,0 +1,32 @@ +WITH point_results AS ( + SELECT race_id, driver_id, constructor_id, points FROM results + UNION ALL + SELECT race_id, driver_id, constructor_id, points FROM sprint_results +), +driver_constructor_points AS ( + SELECT r.year, p.driver_id, p.constructor_id, SUM(p.points) AS points + FROM point_results AS p + JOIN races AS r ON r.race_id = p.race_id + WHERE r.year >= 2001 + GROUP BY r.year, p.driver_id, p.constructor_id +), +driver_season_points AS ( + SELECT year, driver_id, SUM(points) AS total_points + FROM driver_constructor_points + GROUP BY year, driver_id + HAVING SUM(points) > 0 +), +season_minimums AS ( + SELECT year, MIN(total_points) AS min_points + FROM driver_season_points + GROUP BY year +) +SELECT c.name AS constructor, COUNT(DISTINCT d.year) AS season_count +FROM driver_season_points AS d +JOIN season_minimums AS m ON m.year = d.year AND m.min_points = d.total_points +JOIN driver_constructor_points AS p ON p.year = d.year AND p.driver_id = d.driver_id +JOIN constructors AS c ON c.constructor_id = p.constructor_id +WHERE p.points > 0 +GROUP BY c.constructor_id, c.name +ORDER BY season_count DESC, c.name ASC, c.constructor_id ASC +LIMIT 5; diff --git a/bench/accuracy/results/spider-development-v2/gpt62-sol/status.json b/bench/accuracy/results/spider-development-v2/gpt62-sol/status.json new file mode 100644 index 00000000..80d8151e --- /dev/null +++ b/bench/accuracy/results/spider-development-v2/gpt62-sol/status.json @@ -0,0 +1,4 @@ +{ + "status": "completed", + "wall_seconds": 329.64348541700747 +} diff --git a/bench/accuracy/results/spider-development-v2/manifest.json b/bench/accuracy/results/spider-development-v2/manifest.json new file mode 100644 index 00000000..2929b33c --- /dev/null +++ b/bench/accuracy/results/spider-development-v2/manifest.json @@ -0,0 +1,655 @@ +{ + "benchmark": "Spider 2.0-Lite SQLite subset", + "upstream_commit": "cafb867313aab4e674652054198f383cf4018943", + "baseline_commit": "e0a7fb1", + "seed": 20261114, + "selection": "seeded shuffle of local IDs before inference", + "question_file_sha256": "4ba48916576fbd60311a2478c6d4550b5d8cf3fcbc512457ea493b5941ca009d", + "evaluator_sha256": "e93624e4ffa00e51c67bdee1d9e42b534630087cb453270c0dedc0c73e618480", + "db_sha256": { + "IPL": "bf5ddbf887bbf992a091ef31ee681b9339ba716c327263fce0f3b4da924f22c1", + "bank_sales_trading": "10c8b8136486902a19c3f974f210e9fb7c8f98918ae0313114c720219b02e18c", + "city_legislation": "6a9714f9fe11676691c38bb6e2cd048ab877415d28c358a2647ff1b8b8bfe763", + "modern_data": "d4910db155d7be8070d14cab6e44862d0fa74d71e6588d114c4bacb4225942e4", + "delivery_center": "d882e3e6552634e27739beab4c65fe8ec2086b84155489762f9052a663913f9e", + "Pagila": "dbca3837b9965d75fbc2b4af1b2daec57d841f95942e656cea44db997e05da88", + "E_commerce": "49446afd935721ee12fc95316fbee9666a3e1bd4872dfa194fe4625d6762a81a", + "electronic_sales": "8e759e113c316c7f996c2e721b596f73979fe679abeacb21e6ea5dbe6fc62eaa", + "oracle_sql": "ace68ede8f7fddc523d522e938ccfeee1f54c11888fd2c956ebc27892fc595fe", + "Airlines": "83dd643367785c6b38b5379eecaf2c37128babac96805a48362783ff0cafc0a1", + "education_business": "d3498b07f44a4ac1757798d70f4cac7c44d16082c0608c58a74d5aa0d6d058f9", + "California_Traffic_Collision": "14ace2b5213306081611b24647fe70778426bbcb0d5b30e85beb0386ffcf1020", + "Baseball": "4784826541ea40d76dd9c2da2812e189ec351ca79e2738916da5587b465341cd", + "music": "f82efedb6c5c40734609e168bc5be5616a2eca6b90ed0048451a8674625e03a3", + "complex_oracle": "2244dbd99d5205941353024332eb62b1754d3383bcd7c8c20361344d736be00c", + "WWE": "5e21654b3ea344583c921864c499ea984e66fb46579f7d4e74f531d0f415a52a", + "EU_soccer": "b4ebd079625bb9cd20437eaae1ccd0fc82f0f390567cfe3ee1df78fa08ad5f9a", + "f1": "35ad3b824678e8435bde02f14bcd554630792874749fdd59fe9ca1385234ce23", + "Db-IMDB": "34b043fffa7e10a152c8d1536bb54e5365df102ac9d8c09d4549ef0d9ef6aadf", + "log": "800191cd5ba91dcaebb427bb9313dc5bef1571b848b597508f15372e77c2dbd8", + "sqlite-sakila": "dbca3837b9965d75fbc2b4af1b2daec57d841f95942e656cea44db997e05da88", + "EntertainmentAgency": "24237bd0232f4b542b3e5c0417c9890c1d02ae8e2434253af58528e517a0fd07", + "school_scheduling": "bf37030ee170906bfa6bf5958766cf2a63dc0ad8168b3892ad96940be838fe63", + "Brazilian_E_Commerce": "96d1becb02714d76ef1a728d8ca0de33e52acead1668abd5f7d8a73a45f6d0f3", + "imdb_movies": "175c1da2deb00fe28d70608f7839aea5abc214dca15bb3e8622c9b7258c25b9e", + "BowlingLeague": "f8ceb5692677a5a4e04d0a08dd495ae8dbebffbacdb2a66dec551613775bc12c", + "northwind": "80a1d9591da7aeaaa439ba0002023d5ab69d3f15a3d8b2ac9389dfd30543c1e7", + "chinook": "d6c11e2ccda2a36883af57f031f76fbd55e247f3be1710c4c8aaa72ec06a18cb", + "stacking": "eb683890921eb597f176692fe6ac9fb544dde3fd78084d019bf82cd0e6efe780", + "AdventureWorks": "f8bb86bfde5fca5636030fa9490ad37d4397b0b21591ee62c7aca363a64f2653" + }, + "gold_sha256": { + "local020_a.csv": "c1b371bd6f78e69c1fbf6c18aeb322eb8eb6ee941d2ab38891867bbeebf6ae19", + "local020_b.csv": "7c70ccf7dcf12696171f65f84ac3a12ec0c186c9d652e17eb4bca16ecdc713f0", + "local064_b.csv": "dec7e4121cca37fbc2382cc8cc6ee1aeaef25db34fb2b48402cb535a5a6529c0", + "local064_c.csv": "06a27d4d7c5abc98f940988e1a3e42b63013f67a64cfbc380026678d9cfd8c7c", + "local064_a.csv": "500a9aa255bca20726cd09bb246f629cbd646a8add8fb1909392ecd09f93b297", + "local169_d.csv": "5220ca53e1d1d4f299f003c98c0d3d0f6beaa89a19648cb5be05f8c4979b24ee", + "local169_a.csv": "b3dec45955dc3e802667d623e072f56cf164bd5aa3ef7488e4126dff07887437", + "local169_c.csv": "1a36de9147b3b3ca4d39f111e15401ab332d343784744e4400e0c44768dea798", + "local169_b.csv": "a7f5b51992d6a1f5ac5aafc37a89b9d77b5a04d459cb7ca450e0f5777dc6c2ee", + "local073_b.csv": "203926fa65c2315ce652c2c648edf76f84d2a324f61218bcb3ebbd140335ae60", + "local073_a.csv": "7bd11f899aab7c37790cdf55b7f04b09a060d36d44ca57343018a22ae64f88e0", + "local302_b.csv": "1cdb9b8168d2bab6b7897b79122d767026313001c9df4846146c70d012ba9ab5", + "local302_a.csv": "6865f086e47dc7842c167d5907830506a7c591a0f387c3a1f4106eb56555269b", + "local212_b.csv": "bb74516e6d3253874a418c2af2a5240011b36fd104e340881b41377279731c07", + "local212_c.csv": "3e9ffdfbb80e8c424d7c927495c04b575113dc129237d674384490b6f19f7a95", + "local212_a.csv": "a7ec3f8b50d95a2c946b9904841ad97c48ee2ae066f18e95840ca041f2653228", + "local075_b.csv": "ecb3ddc0d38d6561d4633006dd578b1150d1eb79ab1b753d9bb3d529f496c361", + "local075_a.csv": "ecd72e006e9322343c1d008e606b1f87dd9cea8c522821603adefe2e15e74f61", + "local038_b.csv": "7a92c8c4d7b6aedd050aabb1bcfe26348038cfc3429e99ff2e1168e0f5d75d09", + "local038_a.csv": "ee3a29f76657fdbc0ac015d17a647bcead7f7edbf2bc9ecfdd33238c4dc16a52", + "local003_c.csv": "96fba57f2fe200d7b18b2d862bc956f98befa8ead69a6d3ff0593197fbecded1", + "local003_b.csv": "35d1fb54543e7b6de87d5d5e7fee1d4dbbd67b7d5d98e72e8fd959ac8a0d38eb", + "local003_a.csv": "dfe02288dc4d860119b85b2629e240b283c19c4828ff92d115de38d2553f2208", + "local003_d.csv": "88569b7c814a488dcf872675bc5cb21b314d81c736574569dd10dcc8cac5765d", + "local286_i.csv": "67282b3f4efdfaee5d82d004381caa8ef9c2d70ded77e5f018bc12121ba648b9", + "local286_h.csv": "b9745253b4426a4754d5f22b7a158c682b69d215467cd20ff39d59b464b8e52f", + "local286_e.csv": "3e2c801aa106e114ac238d3f0593e4b51cb1ab8d333f9ba88ebab1138aa651de", + "local286_d.csv": "e6592fcf5accaed189bcec1a1a6a7d6906932542da0acdd34427d7c05ee4910a", + "local286_f.csv": "3f59abfefe275b81255fe3d591057a807a9110f1baddd41661fe6326dbe80eaa", + "local286_g.csv": "e8900c3cc4a15f719e54346df7e857bf5fa677b25e62a6d211aa57e705a6c53e", + "local286_c.csv": "0f58057a69e464d146ad40b470c2a6e593dbc44209d6b8ca6312bce47142c832", + "local286_b.csv": "ee6565e66e7580bd4bd9766171b6b78a5563099b7b3e2ac7b8c5feb1b8159e0b", + "local286_a.csv": "a10378fc736e6bbdf16a23aeb65840dce586d06db9f7543df5649c0a876c558f", + "local004_a.csv": "7f1b06203ef6e8400537f3ee59295b0794edaf2c4d20cbf428b742205dc79745", + "local004_b.csv": "b727d6aaccf9806451d3aa60f21c4830c51268a8c4ba1c2373bb20b02e4b8ad2", + "local277_a.csv": "ec9a93c0d9df1bf97e71c07f51281bc51c94c8bdc3b3468321f18386beb03d28", + "local277_b.csv": "bb0393ebfe836fec7f6382b8c60f173081aee06706de5f808738e58ef74d14ed", + "local277_c.csv": "474344a708d34dfb21b540c0b9c37b566d7dc3e716efae55e40dad2a42f8a141", + "local009_a.csv": "55d99171b807ec637db5e5537862c0a95e7c80e6ff9141ff0954903114bee214", + "local168_e.csv": "973f35863944634ce8e1a0f71ccdf3e3b2e9b4e4af7a7af7cb8d2880369cae35", + "local168_d.csv": "7c350f87225d15834980a48d7eb151d49d7ccb54b0a34063c6353d35d1360a04", + "local168_c.csv": "a099fd0094964acec9e9b7dc780e2d74e3b352d0a406fbd26492b16254a3e9ac", + "local168_b.csv": "0ba23c452b58b79505385e9d640647eb222ff03a8ecc42c3ea735e0dc5a3c47c", + "local168_a.csv": "2e0139876cf21db59202e70f35265ef7153f860a1552b2dbb45b74239d2f41af", + "local058_a.csv": "c74e9663427d34d34cb641480e4807b0459db608f792c2f35b2d072a94b489fd", + "local017_b.csv": "93766776794bd5ae3f393b387b3e96ec4607d1a1b51cbc8efde4ceed137cf1a5", + "local017_a.csv": "51256921f42d6e90afd3d2c173c6c41f78edae73dd08c3db89f4b058d6ccac6b", + "local008_b.csv": "ec056a18be1876a4d931f0a3470e972c83ecda7b2b398b1075f7568e4ccf5815", + "local008_c.csv": "fd4647652ddd17aafd4e2ee4e2beffd47405db36edf56ca756f8e12839f3b65b", + "local008_a.csv": "89ca9045bc066b6f9e407b19bcf51f3972bf6d60c34cb423333ec675489ff9cc", + "local244_a.csv": "5965bfa1f61aa4f176dafa1f6404853176c6c1bb7a2a23611fbf19d947afcbb6", + "local244_b.csv": "a0e9f988fcb19cf1de3e04c2336c9d69ca45f452213e50144d52c12bdd9355e4", + "local063_a.csv": "1793aa1c7acc50826abd3658b0f4e33559fbd6d731d8ec93fafbade87c9d5234", + "local063_b.csv": "a1441c9bb8dc7e44fb5a07fd7859819557c9736cd288d134cedc863840eec30b", + "local063_c.csv": "b755b88cd040cfeec296a84e3047d28c83cc4610578a5dbefd79b237f248dea5", + "local063_d.csv": "d8368237d3fc65210a2fdf27842d5b547ef00140ebee87e1b5e7ee5acf0e7d23", + "local063_e.csv": "4ac60e76e037ba5e62532d02bd6c9009b16bf6ecfeed2d3927892f8164f0772a", + "local259_b.csv": "f2d95d3a692176ef5a7a08318c2257af1e1971db71bff98e7fae55343253e842", + "local259_c.csv": "df6c3de0deee12fbddc77b2b5a0de57c80b0826fa3fa182b4d9615d69c4f2a70", + "local259_a.csv": "2c2419415a341c10edec2e05be6aebbba30f7428456455edf0f46de2ec5b3f2e", + "local019_b.csv": "5a3e07334d13b00ed6b6f0b6ead9542dac5da69a4320e71d942235514a3fb231", + "local019_a.csv": "6094d8e25f80e75f1c7b91b27d5943e71eb63acd8407c0e7165644787b77cbbd", + "local021_a.csv": "0936bacb011189be56c7b695bf624d8ec171e453a34fa6e0ab8817b8fe508caa", + "local002_a.csv": "97eb32859e39d7ee65b2a7501b157e1cd67fe932d58d2c5b931c3442d6a0afbc", + "local002_c.csv": "9deb74fe0ac8eb52df9ebe72260aa5b12c3f574e1858c843b91234f8d92c0cf9", + "local002_b.csv": "d1382f9c7802b5d2e55c3c3431322df282f4059d352ef588bdb70ec076d61879", + "local220_h.csv": "29bc54cf4eefd315349bde9119d4355bf9e8fa315b32ecb9cdaafec1d84b34af", + "local220_i.csv": "72eb0dcadb3803e4db881e56f3e983cf1f70d30f4aea1f3d5ae6d9f12ccdb004", + "local220_a.csv": "3fd793f820da7caf070fa30e734fc50fd512de91bb8726157791e6505b19f2ca", + "local220_b.csv": "307f4b3b18444ac7d3e2e0621f3e446bb0b3542c663d48bf0a3c88c0db8611be", + "local220_c.csv": "cec03dbe63fba9147b27e0d97ee1a750943e8326029df162ca7a54f2950b7e83", + "local220_g.csv": "c9d54b9e5320fd510c11afa8d7ca9a4b0f9b86e13da1a8d6fae8065472e01340", + "local220_f.csv": "6e6ab60d41c302b668986d652e63081989a7c9fa4d8eadce5097a1669be4ed8e", + "local220_d.csv": "38bdcb5070e77309a6968db11620e91994432b85feea07eeea4a998d496ed37f", + "local220_e.csv": "588ce337a1878cb035e7116a0910bf3a1a932446c02dc1da315de913fb19deaa", + "local336_a.csv": "28d892a0a923deac963020adf6123c94465bf5ff0f575e881442968f225db7c6", + "local336_c.csv": "89fea80e22a96f737ea5fc60113d26e4b81b2c6649721f51117fd9ec80215de2", + "local336_b.csv": "43131e08623badb368d1b3b253546e089d9e58ff1013a0c22b89c4ba5c733fbe", + "local336_d.csv": "493f99d0374d955882bca3f0257a2c714eee78111f465a1dc003ee2dcc47f34a", + "local077_d.csv": "55982709bcc150ee95ebd23d9d9389fee472f2f569979462c170cc1f17a42990", + "local077_a.csv": "f6e756eb78b1229ea23bf75d44de15ab0fc5cf79c63815595696186ee3a8ca09", + "local077_b.csv": "77fe93d9db1ab584637158c4a4c0ed60a528a2ecbefb0211eac390647a16b694", + "local077_c.csv": "d05b442624aebc3e586434af3b2837dbc4f2c0810465a97b85c50724bb3a09e9", + "local100_a.csv": "1c65e8f88161a7f86810c6f4669588ca1d3ef321674341c8a11979c489cf692d", + "local210_a.csv": "6560065fb4722f6ad2f6b1690c82d92ed50cdbea71936b2c48f50ed1898db22d", + "local210_b.csv": "47762ab50ef3d12a0a4a5ef5f10c41a7b8047b254e30b8a68ce302f8335f0245", + "local163_a.csv": "96ea14d9b3d8f61947989d5dc62c696eb15425dd86efc3290239b703bf99d506", + "local269_a.csv": "7267c436f72664d40ed245834186360188fa127f28c4a13c5e21d16c9840e28a", + "local285_d.csv": "712513f473959279273b3d6eb70f443ce7fc1f8296e5eab2e666bae2200de666", + "local285_b.csv": "a87ab59dece88c9811bcd52981d716d119609de051975383f4c741d37c98e878", + "local285_c.csv": "f1d1471ad889b1ec40b6ef4bbb691168523b8b01ede4327a5e41461a1f1d65cb", + "local285_a.csv": "3a88e7542df7ebdf18d21e3765fa1f0fcfd7c2af088b36ce169a81c9790431c8", + "local219_e.csv": "12ec2399787f1ca5a882346e9bb24021d9df7cf73787fab77952a7b8db84757c", + "local219_d.csv": "f5d2bdabf22b17758a44df650e6be6fe4a2c0f94a9ed5d0f6b30435dc285a419", + "local219_f.csv": "b8acd8c449ec4e0f38160ef5bd325671b773c2879cad84531da1780044471b08", + "local219_c.csv": "7803b6fc3cb1c317d0d02bb7eb529555659fe416a9fc281fded398f26280c294", + "local219_b.csv": "3d73969fd39cf5a1cbae9d32f3147b19339396083c877b52612b6cf78def4d81", + "local219_a.csv": "9dcf380a8086a2f4ef87a8d6d2db72455c83032f3f7a6e9d6e03281dd602a0d4", + "local360_c.csv": "1b8a564021b0ccd7f0aba665f54bea7f01c17aa48a8d4a2cd920ac12e0e8bf8f", + "local360_b.csv": "e2764c72c8aabc4430bb46ffc6c873f09408a758dbc757d87c6a1aea2d26a371", + "local360_a.csv": "de935d70c61b69e9bb632db32d60e07543447126a30f738eb52b4433dbbeff8d", + "local331_c.csv": "5575b855b619782c80380d2e932b9f8013b5a4e400d17bd6723aff8965f36622", + "local331_b.csv": "398b4c221861dd10271520f700c0ccd5169d9713e3f30c4d8d04f74726f6096c", + "local331_a.csv": "be4bc308953866f6e4b173319a1b0934a3404829753c7662f317ce26bb5be91b", + "local193_a.csv": "15bf368dd71c4ca644d590268b57fe2fe1d080e26ededbf3de3fd3985ea355c2", + "local132_a.csv": "ce397426bf6cb0280cfcc1abc74a4b64e4048568ee9a2d878ef296a4e41576e6", + "local310_a.csv": "35d7876cd66bff44654add1596d74a6a916d15994c5f4a015a48633ec8e4e8c9", + "local041_a.csv": "4b61532d00887c35ce49c293e9a8cdbedf93da39ae84139a3744a07b1a551144", + "local041_b.csv": "2dd088064fc0b86e4deaf8356aa902d290321b5de6fbecb737e0c6da9660f30d", + "local099_b.csv": "fbdca4cd81c62b3d93bc93eb215520d892ba4c290751919f20dd71418ce6a7e4", + "local099_a.csv": "bec10511e51815d3a874d90ce4a83af43396138460f02d4e36d0b0880fa03724", + "local130_a.csv": "6694afd62cbcfd4fba3f359e3e76af114f615c01606190c9787933728ee54daf", + "local066_a.csv": "c1899edc643a416e7b90e8d7d78b8bf46661e9eeb3a87e7d8bad6b9d547cda2b", + "local066_c.csv": "6551bf0440d4bc3e41c471f6dc247f300f93b0fd2b5fd4a8308bdf96e18dbee7", + "local066_b.csv": "cab923a50ec2151f75792452874ef2e7fae3ee533a07e8f8725fd6355762f585", + "local030_a.csv": "161284a3c6f2c5ec916f4886536315005752236edb3f1906d2e894202614144a", + "local209_a.csv": "deddc04c50a244e75de82f47ba6c3f54fbb6f97b988985f6993db03183b8778e", + "local209_b.csv": "e7f4324fd0a268ef8db517670215e03a14ca4d738abd5adce0bb1d48857b84c1", + "local067_b.csv": "c6b945e3fc178475ac8c6440ff33ab4a33578dcf1187f79ba7c2a577f17ce7e8", + "local067_a.csv": "34477c4b74140e991f932a86b10e3ae6cace0a425a4efe9480d2d52ded344180", + "local050_a.csv": "58dfb380fd1b78d1ffdcdd41136ee6d29f5fe878497fd8c447a5643a945bbf42", + "local050_b.csv": "2be2c502211501cac9fe28882a163b8e8e0ada559e88df12d84279f960c98508", + "local050_c.csv": "c02d70fd6770f3b8b7c7400017f9de5fe4a3d98d5bcff5d23bb855bd34e8193c", + "local022_a.csv": "5b0274a5bdf4cb2da91e1cb86da639d2788ff6c9ce12be709c89ebe431a405cc", + "local171_b.csv": "438b893ebb918cc5270c7c83ce5b9c66a2e5c1bee69b01ce916bf44ba01322da", + "local171_a.csv": "43c4b12ce24776c1cb3a4b3d6ccbfbabd2697449aeae73f43f4a8b217f348a94", + "local131_a.csv": "99088095afe2b7e918cd1362c7bfc329d0769b29cbdca8d3a0db17c12cefa257", + "local152_a.csv": "ccc36f93451600109f70423f3f2b22c59efc2aeec4481a34c40c6cd03762ec35", + "local356_b.csv": "5fb856cd42618d59fd31df1d5cd709c44c9ab461f06332c7cb42c4fb0525d875", + "local356_c.csv": "2d55de8bf7ca99d16767c4dd1afc8aac75f555903707439e862e9ae93f9df93a", + "local356_a.csv": "89856e985d2871649e2886240252cdc23f93da31724184c8d5a4a84124c8beb0", + "local356_d.csv": "c2cbf79260717e789c4a46bf0730c3476bbbc825cd8de28dddb12871e901fccb", + "local097_a.csv": "ab059c081ce0df9c377b85691022bb1f9f3667ce570bd81b3939d3051a53ece3", + "local062_a.csv": "2b9d26110be67fe46bcb3660fcf6999b4a003bf2a67cd089e6167870ceba77a1", + "local031_a.csv": "75b4daf5e59d7b7a5ef8810934833306d92260dc859ffa703a04d975c9f337ff", + "local128_a.csv": "2749b51ed71b2551d35f0d59c6ca189bdabfbdbc03ad154d0054c029eede7e0e", + "local081_a.csv": "9da7d88a04332b1b3fe6e84984e5d438fc2259026c92f0a617cd5b288c8b5981", + "local061_b.csv": "657640cf09e4f966f3b27816d2eac9868bc9afd2482a522e2cfca11c1308435f", + "local061_a.csv": "daba05cde352f1495ee5d5fe44e2e97d385dba25daaf9c9eead07d769e296593", + "local037_a.csv": "366902a6892471d22a9c5daf4a0a3a2b00eea621eb2aa7c2488fcd15f3a4b164", + "local037_b.csv": "e1b83ddd4a92ff112d597dd1b7f58242d2311417ae489aa2de8f07d88a08b4c0", + "local157_a.csv": "03259b07da7e44b85bf7f9e29e5acfac68bac669521afd3fb7a58ad56b7eb549", + "local157_b.csv": "624762a24072777e61e04392667b9102a2a75c1d75a120e30a990e7504de3ab6", + "local157_c.csv": "8e17cc7aa611d37ab4cafc7e70b1dfb6b7acb6bbd350fb15df7f2cd33e2fb4f1", + "local253_a.csv": "12bf95bf4418538435351a274cd99e3c5de8f7f51191b8d1f9acbe6167334c82", + "local253_c.csv": "f039653401cf392269288eea252ec11b9521fe764cc1304824a68a85f9c440c0", + "local253_b.csv": "47481be8a36053414a51168cf5f07a50cab22a5ef21d78cf6bcafdbf81b24e49", + "local054_a.csv": "6b684a3248c29aa8a29dc465edb8521463c3f0bd5e069df6e1f8a9e1df602333", + "local274_a.csv": "83d9b383b5f3db1b6d1880a91dde84a7c198d27bb34f5ad70078aa34a426c310", + "local274_b.csv": "bac6a3a31918621fb89e8c4c09b58001e81ad8257195ecab138f4eb20e4ba254", + "local263_a.csv": "af3936a3f06d0148c560a6781446bd98c758195d8c61cc2976b74435928f594e", + "local202_a.csv": "85e9369fc30751cdc1412cb5c7e78c2abeec2985dd4a5a41c5cdd71ddcc18519", + "local015_d.csv": "56f7cfa3c4a037c1c333de502d69d6c916da6014cff549996b09ecc3a89503bd", + "local015_e.csv": "a39ca5bb24cf3c1856102f53125f56c8fe686bc137b7402caaaac932e4a0d78f", + "local015_a.csv": "1d0afabe2283a59d441749067202ebcd70738034bd51d5e594675912f1a65106", + "local015_b.csv": "6d2f13248ceed54c99e70aae4c036a3886505ef8317f01cd84581180755d209e", + "local015_c.csv": "97b0b536c43f4dd48a36cced476efd98a469d2c5dd0950dbaab29924e7a7b31c", + "local195_c.csv": "3f35e382a09418f07f0c5afc5079b8b8fb7caa85215659fdec8f75fd52ca222e", + "local195_b.csv": "c948a0a429525ba0ff477d20448dc822c854ba9a5130dc2a2e1ba45036a1cacf", + "local195_a.csv": "6d010cf196c1cf9df4dbc8c5a5ef43c512870ac233c91264a28eaea8d4c46e2d", + "local201_a.csv": "080af4ed42042e04fe32a13854213d666382484739a9b353c0ae16295fc9fa87", + "local201_b.csv": "839abb14e25553a9f02394bc3ba35c53e528435fdef74dd9ba09acf20e5f7c91", + "local270_b.csv": "c6930b4e54ede426f04d641b7dec97d3794f3b44a2c7edd3c32bc3eef0b7c908", + "local270_a.csv": "44cbe0fc3c486a69790f015ad4b0944b7214d04ac9e1be0f3b3ac098aaf9605f", + "local354_a.csv": "a7a64d27016f986a8e8147b7c9d3a223b8f4082ea600ced8e5556e9080bdc2f3", + "local354_c.csv": "b846ff6920213823d198c67e147fbc7e3dd9924b951b47a3fdc1c9178dab4db0", + "local354_b.csv": "47de60a37350b531c54141ab5c1f46c294f2548fd6ef066ba2dbaf6f3f0802d0", + "local354_f.csv": "f3f2f1c0d9f0cf62a1b62770172eae26df2c961e190a5ed400dc83a48c53aae6", + "local354_g.csv": "8f9205af30974a993814edd1cccf5bdcd966a0641a0fc779246ed08beb457846", + "local354_e.csv": "d64bc9fa961ed98903c44ab63a73335502f3708fed027e618d35171c088210f3", + "local354_d.csv": "3672e9edce01bc9365f9fdef6ff15b4e94229c86f666a6a2686f241c7f25e931", + "local354_h.csv": "a4650a35efeaa4abf6142031a5cadf3dbee302a2abc232e8bb111d40fb6c89a8", + "local355_c.csv": "3b325c85166cd828601d40d98fbcb5a8b9ad301a8205c4f249cadd007c81f471", + "local355_b.csv": "45a67bcdebf25080c908c0449493e2ba503b7dd3168a17736629950d93a0fc83", + "local355_a.csv": "b6791e332962e204bca0fb65dc5cc521772bd22ed4bd2c9e0dd1436c5cf91bb6", + "local355_e.csv": "5edac8923a319e1630ddb13b8b0a50660363739a9c8f874adfc1be98242ec83f", + "local355_d.csv": "8c0297b41ffdac464accf4ca3dfafdba1caf68861fcf75545c6f1780649a1d44", + "local272_a.csv": "674a1e63a234810e0cedd5cb866b94177232be38c05e636bb08ef0a4756c8f01", + "local170_a.csv": "2b42a04d9f2a941f4f9e8ec8d8d6cab30636aeb97a68a9986f5281d7e8614a52", + "local170_b.csv": "75ba2f192c088b310f6f430e44f6be6c2975f7c2304602c04518731c444b146b", + "local059_a.csv": "d9b908bce1098fec3340ca821a2d0cc8f1081c3c0b3d9dc443d70887371bbfc7", + "local096_a.csv": "2a72e80ea25a693763018bbb412b540bc37449ffd1a113b332a68c762821f146", + "local026_a.csv": "8b0566d063be61514dd41fd6c20b7f872677ef6e9b74a1959a930c344e73e6ab", + "local065_a.csv": "a88fe08e758fc1ec3e5445c72e82f94e21b134c50fd020b849034d9c3d7e7512", + "local065_b.csv": "5222f53ddf2a5f19fdf8a4c126a89821f02dfb113f8b5149fbefc3f84ab2780f", + "local279_a.csv": "4f7378f0e26249ba807745040c85b6755ecc47ff70fcc44b6aa22caad2d2a437", + "local141_b.csv": "f1274a92ef605fa942f1777b10ee9549869b2c69e6c71db8f0e21060b16fca17", + "local141_a.csv": "f0f881eff759810e1a157ebec160506f64fcecf175c015d384403830765e9513", + "local070_b.csv": "fc5d8fa9225349c33a07ca52643a7f11434e9e8fd5711769b0fca0af3addac15", + "local070_a.csv": "fd0136749fd3215a1d9fcc910a6050866a928f3be65713f5518b5ce3a79acf9a", + "local023_a.csv": "abe0ba55aec5aa107a322556bc4dc73d8d76426eee7f7679a9b4329df0458e3a", + "local221_a.csv": "12397cf2182c3d6fabc5fa3c5d1e1b72abfee48e5852eaaa7f6cc94dc113acdf", + "local301_b.csv": "fe96a3ffda30fcd83a40abde6f463160287f678b600c89ec6d8845f89d2ae5c1", + "local301_c.csv": "2fad0ac554543c8b4adde67d898593b4c102b70777c9c992eaec45067bf8eee3", + "local301_a.csv": "cfd0aa58b5f02bfcd83872d5dac729d9962725bfb558cb70d431fbd1d360dd77", + "local018_a.csv": "be83eb216699f3aaf4769f1dbaa2b483718548855da59eb7fb6466ff15f2d902", + "local298_a.csv": "f295cf8ade91d7120c18bc811a1b3839135437b36a9c71efb59e8979896a8bb9", + "local028_a.csv": "4b08cd97c949a352f8450696db24d140ea0cb5b7c94636dc46d495db8dcc8c01", + "local028_b.csv": "742d31b1c4ca1c891bd22bec5701b18eda75cea427aeaa8ed3f66a5c32743180", + "local196_a.csv": "b3114812d1bd2ee0f83f593cc1ba00228c52add975720b1b9a7a4a596d5e9d5a", + "local230_a.csv": "fa93c03d618f3be4b3046f38c93489b6c5511ced7796b4cc23ae9531d2538234", + "local300_a.csv": "8881876917149ed5fa7a655ddec6de301e4b9eb88691c8d3717159cec1f10a66", + "local300_b.csv": "b6e12cd56de4bbd1fad3bc8003dab7f8378600c310ed0ff8dfeb9e3c5520d4f2", + "local300_c.csv": "dbf8c9c285c1e3ec012a20e21256117a7662aa34882bd84536ef9dcfcc3e3901", + "local300_d.csv": "1c4f4fe5c79c2207a15f215759f31915dad213988b02e13bb405170ad6122bf8", + "local198_a.csv": "1e552fd1326323711ba031bae7fd1a9c2bc4b6b45404916a7066532bc29fd86a", + "local299_b.csv": "1c3b8a170deb6ea5016ee61ce649c3ce32ad08ae2724485fbf4999c55501a45f", + "local299_a.csv": "27a88bb2600981bbbe3052d03218f2b385a267c36a5497f3169afae7d99b78f0", + "local032_g.csv": "c0abe3fc89883986bf833673e7c1c120c4ee3fa3270716be84a69aa6e14b8ec5", + "local032_f.csv": "4b490e2e387a9157ab92ec22b68499867016f8e8d4d4a68a938434c60699996f", + "local032_d.csv": "01443bc088adfa7cc0918a81db1138b49902aa8b4871777043e3c39af64e4f05", + "local032_e.csv": "7f44365729a449f5640d90abb9eb3822d84a667bf556ed69607f0153fb4627a3", + "local032_a.csv": "8930472f79242c09ace8a7093a53e1d86638294a4e448bc29e903046c9b3ecd9", + "local032_b.csv": "4880656d98d611ad49603d442a7c69669b4dc97fcfa56781ba2a00685a4e2ca0", + "local032_c.csv": "375d25de984ea7d9738126f8c58594850213ae32f41ccb211885361086fa8b5c", + "local032_l.csv": "ef4356f6a6245f33195b88728ed42eb541f378640570e3eb1def8eb9e45abfb0", + "local032_h.csv": "10f3f8a7c4f1c6e0aed6b7f1a263ea51982572bf6d325b5173666f027387b00b", + "local032_i.csv": "7b8ff88f98980484f9cac707765238478cd3ec989907d413e66c877f3426124e", + "local032_k.csv": "1e56f65fda398bdd603ab7f0966e8c1487b455f1b501f3d1b4f57294fbc96224", + "local032_j.csv": "992f644d9d30324ec54f5f5cef120405891922ceeabd12e68bb9c7d171392a5c", + "local068_a.csv": "1299f2e8ee0af71305e879036489e9f898f093d55fd7634f0a19d67a98773f16", + "local068_c.csv": "c4535adaf3fe73d83e3c54f469ae5851cdeab601f0abbd49a33c3d7f62770735", + "local068_b.csv": "ab3e5b470012a477e90877a36682721dfff3b9b2a9d436f516b64bfdef579d0e", + "local264_b.csv": "35426254849f620276bbaa67df521a55a81fd1e10ebfbedff1c2ffa218edfe5d", + "local264_c.csv": "86288a60be71d946e2403cd44c608ada7bb163ce11f102cc4402c67ba0ae8ef9", + "local264_a.csv": "8de3723af25cb543685497a4631c081bd8cf7e9ead498e6a1eee52273cf0498c", + "local034_a.csv": "1090ffc6a0c35bf35d9295d47914234c997e7309397238747977b6dad213855d", + "local034_b.csv": "5e5b95c5964a0760c48d12c6e64a42e89a6671042665fa0fa2afdd98df142f07", + "local197_a.csv": "f8908a3f904dfcc900a7967db60b3fc1eb3c16d573374f4cb8e6f68ebacf464e", + "local197_b.csv": "dfa9d044fdf582d19e0cd7ee6229c3583044a763608e2ca8573ed300d89b2f35", + "local197_c.csv": "bd4f275d821d4f09ca0d6042e4c7780991213abdb8e302bd0d412f8654226827", + "local024_b.csv": "1022178fcdafb1c112bd8770b884ca39f554f50586ac0002e420bf6430d3d24d", + "local024_a.csv": "8699022579239fad51d09ef039352855312af9f0a6a8d3737c39b60158d0e053", + "local228_a.csv": "6d2ee53c1196edb090a3618695c3f922b0a2a526e37bbb0855b8646d9a5b09fc", + "local228_b.csv": "570907525713d4124189f7b82aba2108f1bdc64e931b33f13d817342f8c17480", + "local060_a.csv": "e02a8024be874c7b95464b19712840659e4209165ed7e472b57351c0cc1ba0e1", + "local060_b.csv": "cbb428dd80f1532502baa09ad60aa65381ed21ea6056e26082bdcd6cb962af93", + "local358_b.csv": "eff96b54297c2251143325360d15086046e9c154e50752a4203f9f1ff18d5f10", + "local358_a.csv": "6a7e8c424c6a52662c0abf5d6873d827f5688f9355e46889075f51d9c70bd439", + "local283_a.csv": "6e3d87df7b2a5a1147f62fe65de3b1292f5af15f1de5584593de863534442f68", + "local035_b.csv": "6ae7a8e32f25813841a79ca35376928d094f10ce1a532e2a1f23e4d9ef1b7fd9", + "local035_c.csv": "2381226b424af0f88ab4c493dd201ee5f059d86ea5c9605ecd0f2035c97976d9", + "local035_a.csv": "710eb0aea469add745f72f1f4b5b568cb0c84c4507a61a3930b70d54d7e7f47a", + "local071_a.csv": "ebeaefb552dd18841ab1d63602ffbba67a1b679722fb7bf86f4aad05d115ea29", + "local071_b.csv": "e73ef52d22cfc7eb7dc76c959cf4d6f11079a1d186fb1f3346bbdb2ec61efaa8", + "local039_a.csv": "ab6af5a1dc6c24ddae09852a5538b7552f5c153eab566e861fe8276c6dcef087", + "local039_b.csv": "cd3cbdb9528d7a50197836db8f6abb45ab59241d6bf8035915fba312c52fc892", + "local167_a.csv": "f87897a23204ee6f79b2821fdf50611d055ab847a2670fcb8c548b098c187aaa", + "local167_b.csv": "7e385bbdfcf240dc6b6264aadd220a2404603a1944ef850f5a4a221cef501dc3", + "local133_a.csv": "000b2e5e4f3ce526d4a442dc28d1f792576eed5943ec7416dd5fd43265769b11", + "local133_b.csv": "24371a161c1a35386116dde49c31ceec123ed2d3abc8aaa411d6ad98d31b53c1", + "local297_b.csv": "5ec5763867426b0b6cf21c0d707e69bbd2f11ef80e14eb0f4cce29d4479669c8", + "local297_a.csv": "4a37f869a34af47d766efaac9b2909c7d736bd35f6c18e41ed207ce5b3f0c260", + "local309_b.csv": "e4ee052a9a5b625b3f9f3d0f9fde804b6f2b204324b794ff3960be8c55074f93", + "local309_c.csv": "a1fa582e425c2bdfc3fdac62123c22a77a0b8e9f292d30bfc1c3f6cbf36d0584", + "local309_a.csv": "99e9032b151143ad152f2b086c21e3d5ad2b641adbcee2c349fbe7f2eaca5c93", + "local098_d.csv": "9386a5c0c81fb3753bcecec2cf7c86d67977094c09b0a0666e2a3ffd95bb0d23", + "local098_e.csv": "7668d333202c9f22c657d65b80346c092798f889c8ffa7c8859ad20a0eb441cd", + "local098_a.csv": "2b9adab647439652f27faf4c53ccfdb4aab9e280636e904c2bdece4d72c9b8f4", + "local098_b.csv": "f7f59e32e9843b3af1b7c1304203b2d50c1d5092226c3f713c69b87a23bc3086", + "local098_c.csv": "7992ce39a5d37324ffcca04c64828b8b3fbe4fd13ba56d09ad2e1f6d6686cdc5", + "local329_a.csv": "d51cb49e4f858fc1f62361fbf199c1f0145b2d5a192812f919f9f74598ad2c27", + "local040_d.csv": "4f8346cdaa161013159d36bb29ab6bcfa9c1496066ce99adf101da50b7e55eaa", + "local040_c.csv": "6c25ec05e7e36d47887dd9ec91a24987d99ea677b6fa1ed6659152c193d255c8", + "local040_b.csv": "894fd4c4aa2af4d479540508bd503e9c34ac574755c6a09b0b1b92edf11b5a59", + "local040_a.csv": "86040f986565e2f0827ade68d894ae227b0e20b4a0a5f879da8857fcff9d100c", + "local056_a.csv": "fb8f6dad94f2ccad8ff035a504758ae7f67a514071005e9d330940d09cd242e3", + "local056_b.csv": "669482fb368f7458dae1f1b084e10e145f513fdfb0ab5c648d006204a4b7b844", + "local218_a.csv": "59aaf31f0bdc6f4d891251e969ae5dcb0733b2f027bea6a6e02b8922b57e7a57", + "local074_d.csv": "575905edd9d23b7a0dfa7d4d4d6c71c1e53b8df47ca5d997e34b30821ea5d476", + "local074_a.csv": "1d249b4de50434c538dbbc566ec00c0b3d33f6f50b76f9d2d947fcd2447b8e5b", + "local074_c.csv": "4c048efea3992cccd47cb21a735fa82f4c55db5c8da38d40862c303dbb100dc0", + "local074_b.csv": "c0d530dead3d8128affa3642184e4402e11136c7e31cbca044cb58b4f3b5ddad", + "local072_a.csv": "ecc11366f1a4997612ef7479d4e9caafb76e7be0dfcfcab22031ad044da9306d", + "local072_c.csv": "89eaf8f0fd5d63f525f91be9e73172b413e38adf162414c10f23236601fca705", + "local072_b.csv": "c81babd9f76614a1be3de6c6f3ed4c8fef6372d5bb2dd1b7051d2a321ba2aa11", + "local072_d.csv": "5460e077fca890a7547af80ef5728caee0b1396a3c68aa35c1319707a7e7f260", + "local156_d.csv": "4907987cdbe5dc4deb8727acc62596d7becee9c4633db2e75620db08b8869a0a", + "local156_b.csv": "b544baaa749fbe2eac0ade87a28a07174f5c13a8d2b354500d82e63403723e9f", + "local156_c.csv": "c273fac8e8bf03dbce9fff237e60810a175baae2a9342050cfd3b1afc745b288", + "local156_a.csv": "359af22e361eb8386bb7c16d03f7d3a148db3addbbda677f3ccc6a93099040fe", + "local258_a.csv": "b943740b741d12a81ac9a1235478186c827f5068d8ba9042f2072ad479f2100f", + "local258_b.csv": "3b9f1f8a944934e57ec29c46c7e1b0de2c4d8fc6961c6275f1c76a4aa818ba50", + "local258_c.csv": "d6399f1bd4dbb5e4edd4ed0935825c3092f5cea42b0ba93bf140c5cfc97700bc", + "local258_d.csv": "28f311ccbdd218b3c521f66c49f51d6c53e2a31a6a448eaf24ecc58b36d3e991", + "local258_e.csv": "28a62aa7e0edf3af50776d3bbb88194078189716ea370567d883a79d34996322", + "local199_a.csv": "d5d43158a754df4985bc9101e86b2b48adfad69dbfe3a266fd7f8b804fbc26e9", + "local199_b.csv": "96914152da9b1d4229b1cb32cfc6ec24ee49187fe3036783a7a34512b44bb40c", + "local194_a.csv": "737c5c8fb48a3a09fd2c20589001498bb12e623c24789749a711f8f884d1b1bc", + "local194_c.csv": "d4ad490bd6915a0d099d1077e122048a32ee33378eb5bfd876e4e683fc0c612b", + "local194_b.csv": "a5f4718844ca84d9125365e1e6aee952d4c2e8eaf1ea99bb9c086cc29d5d3184", + "local273_a.csv": "35d1a1d986b6a2acbe0e6f29a6d9e2979cb21018e5ddf13c4367e881e4058d34", + "local078_a.csv": "22e33a0e482aa13b1e3d59b4363c04dc1d39eeb3d0b18fdb7fd7ea1077dd1b95", + "local330_a.csv": "156777b4eeec05777e4760c0a8cf5a90e7e9f5db5df87b6db215f36f6ca722b5", + "local330_c.csv": "9ebe76a500091818cf5ba1540ea8c7f7b01b95f01d6edc4dcfb7739130677571", + "local330_b.csv": "02dcc9b52e11b4a342941f97c775481b080e740222d797547408decb5ee9ae1f", + "local007_a.csv": "609e283f72faa732d8c9bb3041aa570361e8fc1e2949dad6d2624eee4fe1f582", + "local007_b.csv": "187376265d7f3ec19f2361f9aa4a29ebdfef55b93ce382d22da635cb84b2a5ac", + "local007_c.csv": "d30d2306cd25071c6435fc31baf736057c1339f2aa2927ba43eaf85894553a3e", + "local029_b.csv": "0645e08079eeed5278713e295ec54f92db2c4a5c080c2ca19fc0d300c85b8bdd", + "local029_a.csv": "13592cb212196327ddbf1e24612d8f5c9be767476537cac76098c8e6382a3d5a", + "local229_b.csv": "b63f34609d6f0d135301ac413518af035f8ef8d8b4af603ce956b573ecc8a8ca", + "local229_a.csv": "13b57a2a9cf1c3b16954439cff955c0483c902fd05e2cf8a8f6d707618b74edb", + "local085_a.csv": "53a8a772d4f1a25a2e35e0865d80126c51742dbef3183827cc27a9d6215b0401", + "local049_a.csv": "37a03e5c7d30c522122d3a7f27337a8dfc434dcff120081752b4c9d93b67589e", + "local049_b.csv": "cfa61613d11a7d440f235ed1d6eb889a2d1400f35814705c8c6cab12ee690fb8", + "local275_a.csv": "e0ee8bb50685e05fa0f47ed04203ae953fdfd055f5bd2892ea186504254f8c3a", + "local262_a.csv": "0b6ba8593e65101190910b92c997f428d2b21983812c653bd93523f744275518", + "local284_a.csv": "8061781ca5afac30250858521ec1bf3535936424d2ca8ac9214e2b1b003d3d8b", + "local284_b.csv": "d74c6fe8cba88dc43de32cab40d95d197cae6592df11284ebcb593caffe37aae", + "local010.csv": "109bc4ccdeaaccb405d52e5db6fbe1831b5cede629b5aafce07b1f5a4be8c623", + "local335_a.csv": "f5e97947e8060cf4719a2cd9d31f3b40b83d2e96608965de754360b6b415331d", + "local055_a.csv": "ba0ff1a7ced89ad53f8b9da3460f52d36dbb9bdad78c20fc495da0205dc3bfa8", + "local055_b.csv": "2f55f6f8f51a38d3b618ac0db7aa1a603bf42a524626ca48cc64a328aaf18555", + "local344_b.csv": "83604ca169c01568d0db1169d8ee1a54b495a9ed732929c857c7f87f738fc5ad", + "local344_a.csv": "ef99aaf28f3521bc0eb3feb7d5d57175fa83e43a3387391b0242e03154375ad9", + "local311_a.csv": "d7e3e901649bf918fddc98d854d91966fa309ee4b6cbd6b4b6db51a8643e422d", + "local311_b.csv": "8fbc16c5a9509bac26070ecd35b5fb0dfb0b40b153bbbb96d8381d5762c5f4b8", + "local114_a.csv": "c4eba509d8d4e214612b9aae8609c827bb9793033fd59476bb3bf9dd544292e6", + "local114_b.csv": "cdf83c7802e33dc16972004c48b85278cf9ce0982a6d8598128e7a26c3620f26", + "local114_c.csv": "ccca70934b3f6835751ed0fc72152b256b4a001fae72b7123ca9ec133dce5933", + "local114_d.csv": "fe4c1be98c7516d2acb92725459fea2db06b1ce92df4ecbef82e86aaaa2dadab", + "local114_e.csv": "4f2c92129c6e8a85e9887d70f62135ebda47aa7cf25314cfeb5a3b08973243ea", + "local025_a.csv": "6cf18f2a7388ff0181a5c6135af733c613df8bb6faa5fd7ab7d8d7a91e908ddd", + "local025_c.csv": "fc3c1b56cb3fca413c96075be8f2bc4b33e70b00db2da5b55ba1a3a512af930e", + "local025_b.csv": "42c381ef3631f35fd3c14c9d06007dfd793104348b0f0147fd24239f41ccb1d5", + "local025_e.csv": "b5af2f507944864ce133364b125d558ca728fb102edd9a3171fab324baef49af", + "local025_d.csv": "210c10f155318bb8420c16a3e4ff140514c6008de7100f228a239fc6de8c525b" + }, + "gold_config_sha256": "5113ddaea6107492c08a898241a9f69ec99b03bc60d014e9f0b12ec59fa28970", + "cases": [ + { + "instance_id": "local064", + "db": "bank_sales_trading", + "question": "For each customer and each month of 2020, first calculate the month-end balance by adding all deposit amounts and subtracting all withdrawal amounts that occurred during that specific month. Then determine which month in 2020 has the highest count of customers with a positive month-end balance and which month has the lowest count. For each of these two months, compute the average month-end balance across all customers and provide the difference between these two averages", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local073", + "db": "modern_data", + "question": "For each pizza order, provide a single result row with the row ID, order ID, customer ID, pizza name, and final set of ingredients. The final ingredients are determined by starting with the standard toppings from the pizza’s recipe, removing any excluded toppings, and adding any extra toppings. Present the ingredients in a string starting with the pizza name followed by ': ', with ingredients listed in alphabetical order. Ingredients appearing multiple times (e.g., from standard and extra toppings) should be prefixed with '2x' and listed first, followed by single-occurrence ingredients, both in alphabetical order. Group by row ID, order ID, pizza name, and order time to ensure each order appears once. Sort results by row ID in ascending order. Assign pizza_id 1 to 'Meatlovers' pizzas and pizza_id 2 to all others.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local003", + "db": "E_commerce", + "question": "According to the RFM definition document, calculate the average sales per order for each customer within distinct RFM segments, considering only 'delivered' orders. Use the customer unique identifier. Clearly define how to calculate Recency based on the latest purchase timestamp and specify the criteria for classifying RFM segments. The average sales should be computed as the total spend divided by the total number of orders. Please analyze and report the differences in average sales across the RFM segments", + "external_knowledge": "RFM.md", + "document_sha256": "ca6cb781023248ec3d065bd17142c864175741e9dc598c38af613ca2e9ad3556" + }, + { + "instance_id": "local004", + "db": "E_commerce", + "question": "Could you tell me the number of orders, average payment per order and customer lifespan in weeks of the 3 custumers with the highest average payment per order, where the lifespan is calculated by subtracting the earliest purchase date from the latest purchase date in days, dividing by seven, and if the result is less than seven days, setting it to 1.0?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local021", + "db": "IPL", + "question": "Could you calculate the average of the total runs scored by all strikers who have scored more than 50 runs in any single match?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local163", + "db": "education_business", + "question": "Which university faculty members' salaries are closest to the average salary for their respective ranks? Please provide the ranks, first names, last names, and salaries.university", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local310", + "db": "f1", + "question": "Using only the data from the ‘results’ table, find the three years in which the sum of the highest total points earned by any driver and the highest total points earned by any constructor in that year (both calculated by summing up points from the ‘results’ table) is smallest, and list those three years in order of ascending total.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local041", + "db": "modern_data", + "question": "What percentage of trees in the Bronx have a health status of Good?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local062", + "db": "complex_oracle", + "question": "Please group all Italian customers into ten buckets for December 2021 by summing their profits from all products purchased (where profit is calculated as quantity_sold multiplied by the difference between unit_price and unit_cost), then divide the overall range of total monthly profits into ten equal intervals. For each bucket, provide the number of customers, and identify the minimum and maximum total profits within that bucket.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local081", + "db": "northwind", + "question": "Considering only the customers who placed orders in 1998, calculate the total amount each customer spent by summing the unit price multiplied by the quantity of all products in their orders, excluding any discounts. Assign each customer to a spending group based on the customer group thresholds, and determine how many customers are in each spending group and what percentage of the total number of customers who placed orders in 1998 each group represents.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local202", + "db": "city_legislation", + "question": "For alien data, how many of the top 10 states by alien population have a higher percentage of friendly aliens than hostile aliens, with an average alien age exceeding 200?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local096", + "db": "Db-IMDB", + "question": "For each year, calculate the percentage of films that had exclusively female actors (meaning no male actors and no actors with unknown/unspecified gender). Consider actors with gender marked as 'Male' or 'None' as non-female. For the results, display the year, the total number of movies in that year, and the percentage of movies with exclusively female actors. Extract the year from the Movie.year field by taking the last 4 characters and converting to a number.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local279", + "db": "oracle_sql", + "question": "Using a recursive monthly inventory adjustment model starting from December 2018 inventory levels, where we restock a product if its ending inventory drops below the minimum required level, determine for each product the month in 2019 where the absolute difference between its ending inventory and the minimum required level is the smallest, and return the product_id, that month, and the absolute difference.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local264", + "db": "stacking", + "question": "Which model category (L1_model) appears the most frequently across all steps and versions when comparing traditional models to the Stack model, and what is the total count of its occurrences?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local024", + "db": "IPL", + "question": "Can you help me find the top 5 countries whose players have the highest average of their individual average runs per match across all seasons? Specifically, for each player, calculate their average runs per match over all matches they played, then compute the average of these player averages for each country, and include these country batting averages in the result.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local218", + "db": "EU_soccer", + "question": "Can you calculate the median from the highest season goals of each team?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local072", + "db": "city_legislation", + "question": "Identify the country with data inserted on nine different days in January 2022. Then, find the longest consecutive period with data insertions for this country during January 2022, and calculate the proportion of entries that are from its capital city within this longest consecutive insertion period.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local194", + "db": "sqlite-sakila", + "question": "Please provide a list of the top three revenue-generating films for each actor, along with the average revenue per actor in those films, calculated by dividing the total film revenue equally among the actors for each film.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local029", + "db": "Brazilian_E_Commerce", + "question": "Please identify the top three customers, based on their customer_unique_id, who have the highest number of delivered orders, and provide the average payment value, city, and state for each of these customers.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local335", + "db": "f1", + "question": "In Formula 1 seasons since 2001, considering only drivers who scored points in a season, which five constructors have had the most seasons where their drivers scored the fewest total points among all point-scoring drivers in that season?", + "external_knowledge": null, + "document_sha256": null + } + ], + "suite": "spider2", + "development_ids": [ + "local163", + "local081", + "local310", + "local194", + "local024", + "local096", + "local073", + "local064", + "local029", + "local335", + "local279", + "local264", + "local072", + "local202", + "local004", + "local062", + "local003", + "local021", + "local041", + "local218" + ], + "holdout_ids": [ + "local356", + "local210", + "local197", + "local283", + "local063", + "local128", + "local040", + "local272", + "local023", + "local157", + "local274", + "local035", + "local056", + "local228", + "local253", + "local358", + "local360", + "local132", + "local061", + "local114", + "local244", + "local259", + "local299", + "local031", + "local171", + "local302", + "local028", + "local301", + "local010", + "local100", + "local131", + "local133", + "local355", + "local059", + "local198", + "local065", + "local270", + "local015", + "local311", + "local330", + "local229", + "local219", + "local329", + "local058", + "local269", + "local019", + "local037", + "local009", + "local300", + "local298", + "local002", + "local230", + "local354", + "local020", + "local085", + "local336", + "local275", + "local297", + "local196", + "local099", + "local209", + "local195", + "local039", + "local201", + "local026", + "local034", + "local066", + "local098", + "local032", + "local007", + "local060", + "local078", + "local008", + "local055", + "local070", + "local141", + "local054", + "local286", + "local193", + "local068", + "local331", + "local263", + "local258", + "local220", + "local049", + "local221", + "local168", + "local018", + "local273", + "local130", + "local038", + "local284", + "local071", + "local212", + "local074", + "local075", + "local277", + "local167", + "local344", + "local152", + "local025", + "local262", + "local156", + "local050", + "local067", + "local077", + "local022", + "local170", + "local097", + "local199", + "local169", + "local030", + "local017", + "local285", + "local309" + ], + "split_seed": 20261126 +} diff --git a/bench/accuracy/results/spider-development-v2/settings.json b/bench/accuracy/results/spider-development-v2/settings.json new file mode 100644 index 00000000..222fb17a --- /dev/null +++ b/bench/accuracy/results/spider-development-v2/settings.json @@ -0,0 +1,40 @@ +{ + "profiles": [ + { + "name": "gpt62-sol", + "model": "openai/gpt-6.2-sol", + "api_key_env": "OPEN_AI_KEY", + "max_output_tokens": 8192, + "reasoning_effort": "high" + } + ], + "split": "development", + "product_commit": "4e1b48a", + "manifest_sha256": "2383837d49bc0085d0543840efee195505cb94c39e5374e8069c8f5513ecc4a0", + "sources": { + "bench/ecommerce_demo.py": "f75f4c82e07773a57ee1954d59f0acf35c9eb945430bdaea4ccdd98a35dcc86c", + "bench/oracle_demo.py": "c781b9501dea47b7900bb47e3fe41e2700d2153e85e087dce757f95e3e698b0e", + "bench/oracle_view/rehearse.py": "0114ce65327e435d4e3be6cab60e22b48bfb3ff7f06d97c14a16ea0d8e5602f2", + "bench/oracle_view/long_context.py": "089038788a9b4191946c906e470877bd246850d0a6d535809594a0bddfdcd47e", + "bench/oracle_view/codex_demo.py": "2eea87d833ca6a73a50255fa83927c6c560e2390df6c65e217263b2d3bb966c6", + "bench/oracle_view/summarize_context.py": "707b288be6637a7c8a45b957ef44a81cfb091c7fa5b249e9407a2a9b07e66626", + "bench/oracle_view/evaluate.py": "10685e37fbb2420242ebf5f88f988f3d5bccebc45465151f53ab8454e8fb5a3c", + "bench/oracle_co/session.py": "ff839e7497d9e06ca18a248993bac3c556d256ade7311c604d1f55926c195acb", + "bench/oracle_co/demo.py": "a8ac981bb35d0d77595b2441721cde4e458fb63c3fb7c1748a14bab4a187300a", + "bench/oracle_co/db_preview.py": "9a08766183d5f9542442ba41666d998fe024926e676799ffac5d751237ee0d64", + "bench/accuracy/evaluate.py": "fb63626cf53df8545262ed75284adf2d78d64cbda5f80543661c4a6c2f51bac7", + "bench/oracle_meeting/rehearse.py": "542664b6f04ae6a9606735b550fc2ce2f50df6fc0513384ebf4c654136974cd3", + "bench/oracle_meeting/codex_rehearse.py": "cfa84091da819ab1cb71d083c3ff77cc7fd79b8560de2108626e6d4c3bd8a3aa", + "bench/oracle_meeting/package_fault.py": "c7bb3552f167bafcbc084152deb66e187b3a6fa4de3dfed92cc00c7588bc1fe2", + "bench/spider2/providers.py": "5b8d534084035e44876eb980f2db9873edf82afcd4bec72cafb156821e962301", + "bench/spider2/evaluate.py": "e69628766439b40d4a524d9a23890b9399dd4357f4550fac5ae72f74c2bc91f7" + }, + "limits": { + "max_calls": 16, + "call_timeout": 180, + "case_timeout": 900, + "sql_timeout": 30, + "max_rows": 100000, + "concurrency": 4 + } +} diff --git a/bench/accuracy/results/spider-development-v2/summary.json b/bench/accuracy/results/spider-development-v2/summary.json new file mode 100644 index 00000000..05eb9c72 --- /dev/null +++ b/bench/accuracy/results/spider-development-v2/summary.json @@ -0,0 +1,21 @@ +[ + { + "profile": "gpt62-sol", + "status": "completed", + "correct": 8, + "total": 20, + "accuracy": 0.4, + "failed_predictions": 5, + "failure_types": { + "Timeout": 4, + "ValueError": 1 + }, + "api_calls": 82, + "seconds": 1267.092043002136, + "wall_seconds": 329.64348541700747, + "prompt_tokens": 201749, + "completion_tokens": 21666, + "usage_missing_calls": 4, + "cost_usd": null + } +] diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/records.jsonl b/bench/accuracy/results/spider-holdout-final/gpt62-sol/records.jsonl new file mode 100644 index 00000000..f0a95ee7 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/records.jsonl @@ -0,0 +1,115 @@ +{"instance_id": "local002", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "failed", "answer": "❓ Awaiting user: For the regression, should daily toy sales mean the number of toy items sold or the total item price of toys sold?", "error_type": "ValueError", "seconds": 22.025956208002754, "calls": [{"seconds": 3.66687291697599, "usage": {"completion_tokens": 98, "prompt_tokens": 1680, "total_tokens": 1778, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1116, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1116, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1116, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 18.348830500035547, "usage": {"completion_tokens": 388, "prompt_tokens": 2051, "total_tokens": 2439, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 345, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 371, "cached_tokens": 1116, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 371, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 371, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "217f4b0b34fb790ab69f0d56bd0f6d007ba6361b4a5f271dcc66838682855aef"} +{"instance_id": "local007", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH career_spans AS (\n SELECT ROUND(ABS(CAST(strftime('%Y', final_game) AS INTEGER) - CAST(strftime('%Y', debut) AS INTEGER)), 2)\n + ROUND(ABS(CAST(strftime('%m', final_game) AS INTEGER) - CAST(strftime('%m', debut) AS INTEGER)) / 12.0, 2)\n + ROUND(ABS(CAST(strftime('%d', final_game) AS INTEGER) - CAST(strftime('%d', debut) AS INTEGER)) / 365.0, 2) AS career_span_years\n FROM player\n)\nSELECT ROUND(AVG(career_span_years), 2) AS average_career_span_years\nFROM career_spans;\n```", "rows": 1, "sql": "WITH career_spans AS (\n SELECT ROUND(ABS(CAST(strftime('%Y', final_game) AS INTEGER) - CAST(strftime('%Y', debut) AS INTEGER)), 2)\n + ROUND(ABS(CAST(strftime('%m', final_game) AS INTEGER) - CAST(strftime('%m', debut) AS INTEGER)) / 12.0, 2)\n + ROUND(ABS(CAST(strftime('%d', final_game) AS INTEGER) - CAST(strftime('%d', debut) AS INTEGER)) / 365.0, 2) AS career_span_years\n FROM player\n)\nSELECT ROUND(AVG(career_span_years), 2) AS average_career_span_years\nFROM career_spans;", "seconds": 16.427494875038974, "calls": [{"seconds": 2.794526166981086, "usage": {"completion_tokens": 19, "prompt_tokens": 1777, "total_tokens": 1796, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1162, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1162, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1162, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.61961104196962, "usage": {"completion_tokens": 507, "prompt_tokens": 1959, "total_tokens": 2466, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 330, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 182, "cached_tokens": 1162, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 182, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 182, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9422437079483643, "usage": {"completion_tokens": 162, "prompt_tokens": 2653, "total_tokens": 2815, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 694, "cached_tokens": 1344, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 694, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 694, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "644e3ef02c9dd32ab615522f0651da842c8e1ccacf5a971caddda56fce89322a", "csv_sha256": "76654997185dff6420b191309632da82d0632818eae5df4a2aabd262273627c0"} +{"instance_id": "local008", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH maxima AS (\n SELECT MAX(g) AS max_g,\n MAX(NULLIF(r, '')) AS max_r,\n MAX(NULLIF(h, '')) AS max_h,\n MAX(NULLIF(hr, '')) AS max_hr\n FROM batting\n), leaders AS (\n SELECT 'games played' AS statistic, b.player_id, b.g AS score\n FROM batting AS b JOIN maxima AS m ON b.g = m.max_g\n UNION\n SELECT 'runs', b.player_id, b.r\n FROM batting AS b JOIN maxima AS m ON b.r = m.max_r\n UNION\n SELECT 'hits', b.player_id, b.h\n FROM batting AS b JOIN maxima AS m ON b.h = m.max_h\n UNION\n SELECT 'home runs', b.player_id, b.hr\n FROM batting AS b JOIN maxima AS m ON b.hr = m.max_hr\n)\nSELECT p.name_given, l.statistic, l.score\nFROM leaders AS l\nJOIN player AS p ON p.player_id = l.player_id\nORDER BY CASE l.statistic\n WHEN 'games played' THEN 1\n WHEN 'runs' THEN 2\n WHEN 'hits' THEN 3\n WHEN 'home runs' THEN 4\nEND, p.name_given;\n```", "rows": 4, "sql": "WITH maxima AS (\n SELECT MAX(g) AS max_g,\n MAX(NULLIF(r, '')) AS max_r,\n MAX(NULLIF(h, '')) AS max_h,\n MAX(NULLIF(hr, '')) AS max_hr\n FROM batting\n), leaders AS (\n SELECT 'games played' AS statistic, b.player_id, b.g AS score\n FROM batting AS b JOIN maxima AS m ON b.g = m.max_g\n UNION\n SELECT 'runs', b.player_id, b.r\n FROM batting AS b JOIN maxima AS m ON b.r = m.max_r\n UNION\n SELECT 'hits', b.player_id, b.h\n FROM batting AS b JOIN maxima AS m ON b.h = m.max_h\n UNION\n SELECT 'home runs', b.player_id, b.hr\n FROM batting AS b JOIN maxima AS m ON b.hr = m.max_hr\n)\nSELECT p.name_given, l.statistic, l.score\nFROM leaders AS l\nJOIN player AS p ON p.player_id = l.player_id\nORDER BY CASE l.statistic\n WHEN 'games played' THEN 1\n WHEN 'runs' THEN 2\n WHEN 'hits' THEN 3\n WHEN 'home runs' THEN 4\nEND, p.name_given;", "seconds": 39.43275216699112, "calls": [{"seconds": 2.947786375065334, "usage": {"completion_tokens": 67, "prompt_tokens": 1698, "total_tokens": 1765, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1083, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1083, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1083, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 17.958348625106737, "usage": {"completion_tokens": 794, "prompt_tokens": 2230, "total_tokens": 3024, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 516, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 532, "cached_tokens": 1083, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 532, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 532, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.757032458088361, "usage": {"completion_tokens": 167, "prompt_tokens": 3633, "total_tokens": 3800, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 38, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1403, "cached_tokens": 1615, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1403, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1403, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.77182304195594, "usage": {"completion_tokens": 332, "prompt_tokens": 4044, "total_tokens": 4376, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 36, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 411, "cached_tokens": 3018, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 411, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 411, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.45917920791544, "usage": {"completion_tokens": 327, "prompt_tokens": 4715, "total_tokens": 5042, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 46, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 671, "cached_tokens": 3429, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 671, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 671, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1de7d75936f218aa0dbef9d05b6ea005a3bd18d604a48d1547dc386b820614a8", "csv_sha256": "95cf80dcdddfcb912367d01ae274a44ce40acbb7e27f23fa0c66d754a9b6fa31"} +{"instance_id": "local009", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH airport_points AS (\n SELECT airport_code,\n json_extract(city, '$.en') AS city_name,\n trim(coordinates, '()') AS point\n FROM airports_data\n), airports AS (\n SELECT airport_code,\n city_name,\n radians(CAST(substr(point, 1, instr(point, ',') - 1) AS REAL)) AS lon,\n radians(CAST(substr(point, instr(point, ',') + 1) AS REAL)) AS lat\n FROM airport_points\n), flight_distances AS (\n SELECT min(dep.city_name, arr.city_name) AS city1,\n max(dep.city_name, arr.city_name) AS city2,\n 2 * 6371 * asin(sqrt(min(1.0,\n pow(sin((arr.lat - dep.lat) / 2), 2)\n + cos(dep.lat) * cos(arr.lat)\n * pow(sin((arr.lon - dep.lon) / 2), 2)\n ))) AS distance_km\n FROM flights AS f\n JOIN airports AS dep ON dep.airport_code = f.departure_airport\n JOIN airports AS arr ON arr.airport_code = f.arrival_airport\n WHERE dep.city_name = 'Abakan' OR arr.city_name = 'Abakan'\n), route_distances AS (\n SELECT AVG(distance_km) AS avg_distance_km\n FROM flight_distances\n GROUP BY city1, city2\n)\nSELECT MAX(avg_distance_km) AS longest_route_distance_km\nFROM route_distances;\n```", "rows": 1, "sql": "WITH airport_points AS (\n SELECT airport_code,\n json_extract(city, '$.en') AS city_name,\n trim(coordinates, '()') AS point\n FROM airports_data\n), airports AS (\n SELECT airport_code,\n city_name,\n radians(CAST(substr(point, 1, instr(point, ',') - 1) AS REAL)) AS lon,\n radians(CAST(substr(point, instr(point, ',') + 1) AS REAL)) AS lat\n FROM airport_points\n), flight_distances AS (\n SELECT min(dep.city_name, arr.city_name) AS city1,\n max(dep.city_name, arr.city_name) AS city2,\n 2 * 6371 * asin(sqrt(min(1.0,\n pow(sin((arr.lat - dep.lat) / 2), 2)\n + cos(dep.lat) * cos(arr.lat)\n * pow(sin((arr.lon - dep.lon) / 2), 2)\n ))) AS distance_km\n FROM flights AS f\n JOIN airports AS dep ON dep.airport_code = f.departure_airport\n JOIN airports AS arr ON arr.airport_code = f.arrival_airport\n WHERE dep.city_name = 'Abakan' OR arr.city_name = 'Abakan'\n), route_distances AS (\n SELECT AVG(distance_km) AS avg_distance_km\n FROM flight_distances\n GROUP BY city1, city2\n)\nSELECT MAX(avg_distance_km) AS longest_route_distance_km\nFROM route_distances;", "seconds": 23.05376341601368, "calls": [{"seconds": 2.7112535840133205, "usage": {"completion_tokens": 53, "prompt_tokens": 2344, "total_tokens": 2397, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1789, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1789, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1789, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.4487944160355255, "usage": {"completion_tokens": 46, "prompt_tokens": 2570, "total_tokens": 2616, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 226, "cached_tokens": 1789, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 226, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 226, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.264276082976721, "usage": {"completion_tokens": 181, "prompt_tokens": 2952, "total_tokens": 3133, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 120, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 382, "cached_tokens": 2015, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 382, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 382, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.276965541066602, "usage": {"completion_tokens": 359, "prompt_tokens": 3223, "total_tokens": 3582, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 271, "cached_tokens": 2397, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 271, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 271, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.290946000022814, "usage": {"completion_tokens": 333, "prompt_tokens": 3944, "total_tokens": 4277, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 721, "cached_tokens": 2668, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 721, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 721, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "733eddcf98dd63404181b8fa8319f36dd0549dd1ce56431f648722ffef7c44d4", "csv_sha256": "14e24072ca200f8ed5eb3e5fb65447d13d10b6aef46cd7538b5b403f89fe3060"} +{"instance_id": "local010", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH airport_coords AS (\n SELECT airport_code,\n json_extract(city, '$.en') AS city_name,\n radians(CAST(substr(coordinates, 2, instr(coordinates, ',') - 2) AS REAL)) AS lon,\n radians(CAST(substr(coordinates, instr(coordinates, ',') + 1,\n length(coordinates) - instr(coordinates, ',') - 1) AS REAL)) AS lat\n FROM airports_data\n), flight_haversines AS (\n SELECT min(d.city_name, a.city_name) AS city1,\n max(d.city_name, a.city_name) AS city2,\n pow(sin((a.lat - d.lat) / 2.0), 2)\n + cos(d.lat) * cos(a.lat) * pow(sin((a.lon - d.lon) / 2.0), 2) AS h\n FROM flights AS f\n JOIN airport_coords AS d ON d.airport_code = f.departure_airport\n JOIN airport_coords AS a ON a.airport_code = f.arrival_airport\n), city_pair_distances AS (\n SELECT AVG(2.0 * 6371 * asin(sqrt(min(1.0, h)))) AS avg_km\n FROM flight_haversines\n GROUP BY city1, city2\n), distance_ranges(lower_km, upper_km) AS (\n VALUES (0, 1000), (1000, 2000), (2000, 3000), (3000, 4000),\n (4000, 5000), (5000, 6000), (6000, NULL)\n), range_counts AS (\n SELECT COUNT(p.avg_km) AS pair_count\n FROM distance_ranges AS r\n LEFT JOIN city_pair_distances AS p\n ON p.avg_km >= r.lower_km\n AND (p.avg_km < r.upper_km OR r.upper_km IS NULL)\n GROUP BY r.lower_km\n)\nSELECT MIN(pair_count) AS fewest_unique_city_pairs\nFROM range_counts;\n```", "rows": 1, "sql": "WITH airport_coords AS (\n SELECT airport_code,\n json_extract(city, '$.en') AS city_name,\n radians(CAST(substr(coordinates, 2, instr(coordinates, ',') - 2) AS REAL)) AS lon,\n radians(CAST(substr(coordinates, instr(coordinates, ',') + 1,\n length(coordinates) - instr(coordinates, ',') - 1) AS REAL)) AS lat\n FROM airports_data\n), flight_haversines AS (\n SELECT min(d.city_name, a.city_name) AS city1,\n max(d.city_name, a.city_name) AS city2,\n pow(sin((a.lat - d.lat) / 2.0), 2)\n + cos(d.lat) * cos(a.lat) * pow(sin((a.lon - d.lon) / 2.0), 2) AS h\n FROM flights AS f\n JOIN airport_coords AS d ON d.airport_code = f.departure_airport\n JOIN airport_coords AS a ON a.airport_code = f.arrival_airport\n), city_pair_distances AS (\n SELECT AVG(2.0 * 6371 * asin(sqrt(min(1.0, h)))) AS avg_km\n FROM flight_haversines\n GROUP BY city1, city2\n), distance_ranges(lower_km, upper_km) AS (\n VALUES (0, 1000), (1000, 2000), (2000, 3000), (3000, 4000),\n (4000, 5000), (5000, 6000), (6000, NULL)\n), range_counts AS (\n SELECT COUNT(p.avg_km) AS pair_count\n FROM distance_ranges AS r\n LEFT JOIN city_pair_distances AS p\n ON p.avg_km >= r.lower_km\n AND (p.avg_km < r.upper_km OR r.upper_km IS NULL)\n GROUP BY r.lower_km\n)\nSELECT MIN(pair_count) AS fewest_unique_city_pairs\nFROM range_counts;", "seconds": 27.18072791607119, "calls": [{"seconds": 2.6634922500234097, "usage": {"completion_tokens": 53, "prompt_tokens": 2391, "total_tokens": 2444, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1836, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1836, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1836, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.5983369579771534, "usage": {"completion_tokens": 47, "prompt_tokens": 2617, "total_tokens": 2664, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 226, "cached_tokens": 1836, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 226, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 226, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.191928582964465, "usage": {"completion_tokens": 186, "prompt_tokens": 2981, "total_tokens": 3167, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 68, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 364, "cached_tokens": 2062, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 364, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 364, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.947263167006895, "usage": {"completion_tokens": 530, "prompt_tokens": 3325, "total_tokens": 3855, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 56, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 344, "cached_tokens": 2426, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 344, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 344, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.604089875007048, "usage": {"completion_tokens": 446, "prompt_tokens": 4323, "total_tokens": 4769, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 998, "cached_tokens": 2770, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 998, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 998, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "4490b577d48abd90d2bdb029a1d9bd1f4a52ad54aa58db60d603ce0fe7dac721", "csv_sha256": "a3e81ec98db032954e947b5a623342f4b4a9cdc4ea6d96972f2891347f9dcbc1"} +{"instance_id": "local015", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH helmet_by_collision AS (\n SELECT\n case_id,\n MAX(CASE WHEN party_safety_equipment_1 IN (\n 'driver, motorcycle helmet used', 'passenger, motorcycle helmet used'\n ) OR party_safety_equipment_2 IN (\n 'driver, motorcycle helmet used', 'passenger, motorcycle helmet used'\n ) THEN 1 ELSE 0 END) AS helmet_used,\n MAX(CASE WHEN party_safety_equipment_1 IN (\n 'driver, motorcycle helmet not used', 'passenger, motorcycle helmet not used'\n ) OR party_safety_equipment_2 IN (\n 'driver, motorcycle helmet not used', 'passenger, motorcycle helmet not used'\n ) THEN 1 ELSE 0 END) AS helmet_not_used\n FROM parties\n GROUP BY case_id\n)\nSELECT\n 100.0 * SUM(CASE WHEN h.helmet_used = 1 THEN c.motorcyclist_killed_count END)\n / NULLIF(COUNT(CASE WHEN h.helmet_used = 1 THEN 1 END), 0) AS helmet_used_fatality_pct,\n 100.0 * SUM(CASE WHEN h.helmet_not_used = 1 THEN c.motorcyclist_killed_count END)\n / NULLIF(COUNT(CASE WHEN h.helmet_not_used = 1 THEN 1 END), 0) AS helmet_not_used_fatality_pct\nFROM collisions AS c\nJOIN helmet_by_collision AS h ON h.case_id = c.case_id\nWHERE c.motorcycle_collision = 1;\n```", "rows": 1, "sql": "WITH helmet_by_collision AS (\n SELECT\n case_id,\n MAX(CASE WHEN party_safety_equipment_1 IN (\n 'driver, motorcycle helmet used', 'passenger, motorcycle helmet used'\n ) OR party_safety_equipment_2 IN (\n 'driver, motorcycle helmet used', 'passenger, motorcycle helmet used'\n ) THEN 1 ELSE 0 END) AS helmet_used,\n MAX(CASE WHEN party_safety_equipment_1 IN (\n 'driver, motorcycle helmet not used', 'passenger, motorcycle helmet not used'\n ) OR party_safety_equipment_2 IN (\n 'driver, motorcycle helmet not used', 'passenger, motorcycle helmet not used'\n ) THEN 1 ELSE 0 END) AS helmet_not_used\n FROM parties\n GROUP BY case_id\n)\nSELECT\n 100.0 * SUM(CASE WHEN h.helmet_used = 1 THEN c.motorcyclist_killed_count END)\n / NULLIF(COUNT(CASE WHEN h.helmet_used = 1 THEN 1 END), 0) AS helmet_used_fatality_pct,\n 100.0 * SUM(CASE WHEN h.helmet_not_used = 1 THEN c.motorcyclist_killed_count END)\n / NULLIF(COUNT(CASE WHEN h.helmet_not_used = 1 THEN 1 END), 0) AS helmet_not_used_fatality_pct\nFROM collisions AS c\nJOIN helmet_by_collision AS h ON h.case_id = c.case_id\nWHERE c.motorcycle_collision = 1;", "seconds": 35.582436249940656, "calls": [{"seconds": 2.040301291970536, "usage": {"completion_tokens": 15, "prompt_tokens": 1695, "total_tokens": 1710, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1155, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1155, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1155, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8425016660476103, "usage": {"completion_tokens": 82, "prompt_tokens": 1736, "total_tokens": 1818, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 41, "cached_tokens": 1155, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 41, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 41, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.357324291020632, "usage": {"completion_tokens": 205, "prompt_tokens": 2770, "total_tokens": 2975, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 87, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1034, "cached_tokens": 1196, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1034, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1034, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.850494665908627, "usage": {"completion_tokens": 147, "prompt_tokens": 3749, "total_tokens": 3896, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 97, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 979, "cached_tokens": 2230, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 979, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 979, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.839570458047092, "usage": {"completion_tokens": 582, "prompt_tokens": 3978, "total_tokens": 4560, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 219, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 229, "cached_tokens": 3209, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 229, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 229, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.102753333980218, "usage": {"completion_tokens": 386, "prompt_tokens": 4936, "total_tokens": 5322, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 51, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 958, "cached_tokens": 3438, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 958, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 958, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e0496bfb55ab99dcf58a444998a56550ce3b6592bf8fe5f8ca24a21f12e0df77", "csv_sha256": "c892cea1c91379218c873a561b9b318113bd393c11098b19f2476f2edf13edff"} +{"instance_id": "local017", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH cause_counts AS (\n SELECT CAST(strftime('%Y', collision_date) AS INTEGER) AS year,\n pcf_violation_category AS cause,\n COUNT(*) AS accident_count\n FROM collisions\n WHERE strftime('%Y', collision_date) IS NOT NULL\n AND pcf_violation_category IS NOT NULL\n GROUP BY year, cause\n), ranked_causes AS (\n SELECT year, cause,\n ROW_NUMBER() OVER (\n PARTITION BY year ORDER BY accident_count DESC, cause\n ) AS cause_rank\n FROM cause_counts\n), yearly_pairs AS (\n SELECT year, MIN(cause) AS cause_a, MAX(cause) AS cause_b\n FROM ranked_causes\n WHERE cause_rank <= 2\n GROUP BY year\n HAVING COUNT(*) = 2\n), pair_frequency AS (\n SELECT year,\n COUNT(*) OVER (PARTITION BY cause_a, cause_b) AS years_with_pair\n FROM yearly_pairs\n)\nSELECT year\nFROM pair_frequency\nWHERE years_with_pair = 1;\n```", "rows": 1, "sql": "WITH cause_counts AS (\n SELECT CAST(strftime('%Y', collision_date) AS INTEGER) AS year,\n pcf_violation_category AS cause,\n COUNT(*) AS accident_count\n FROM collisions\n WHERE strftime('%Y', collision_date) IS NOT NULL\n AND pcf_violation_category IS NOT NULL\n GROUP BY year, cause\n), ranked_causes AS (\n SELECT year, cause,\n ROW_NUMBER() OVER (\n PARTITION BY year ORDER BY accident_count DESC, cause\n ) AS cause_rank\n FROM cause_counts\n), yearly_pairs AS (\n SELECT year, MIN(cause) AS cause_a, MAX(cause) AS cause_b\n FROM ranked_causes\n WHERE cause_rank <= 2\n GROUP BY year\n HAVING COUNT(*) = 2\n), pair_frequency AS (\n SELECT year,\n COUNT(*) OVER (PARTITION BY cause_a, cause_b) AS years_with_pair\n FROM yearly_pairs\n)\nSELECT year\nFROM pair_frequency\nWHERE years_with_pair = 1;", "seconds": 41.411995707894675, "calls": [{"seconds": 2.5464033329626545, "usage": {"completion_tokens": 20, "prompt_tokens": 1607, "total_tokens": 1627, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1067, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1067, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1067, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.0575142920715734, "usage": {"completion_tokens": 18, "prompt_tokens": 2187, "total_tokens": 2205, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 580, "cached_tokens": 1067, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 580, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 580, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.295659707975574, "usage": {"completion_tokens": 223, "prompt_tokens": 2235, "total_tokens": 2458, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 53, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1647, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.924295875011012, "usage": {"completion_tokens": 323, "prompt_tokens": 3373, "total_tokens": 3696, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 87, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1138, "cached_tokens": 1695, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1138, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1138, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 14.46337262506131, "usage": {"completion_tokens": 550, "prompt_tokens": 4126, "total_tokens": 4676, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 303, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 753, "cached_tokens": 2833, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 753, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 753, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.7273914580000564, "usage": {"completion_tokens": 280, "prompt_tokens": 4921, "total_tokens": 5201, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 52, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 795, "cached_tokens": 3586, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 795, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 795, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "aea6c69d4790e36c1bd5a55eefda782843a19eb8d096efea8074ad88e8c1a50c", "csv_sha256": "b4b5cc224a71276653b3cfc612e44086ee578e55b33abbcecbb601b9abb93c99"} +{"instance_id": "local018", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH category_counts AS (\n SELECT pcf_violation_category,\n COUNT(*) FILTER (WHERE collision_date >= '2011-01-01' AND collision_date < '2012-01-01') AS incidents_2011,\n COUNT(*) FILTER (WHERE collision_date >= '2021-01-01' AND collision_date < '2022-01-01') AS incidents_2021\n FROM collisions\n WHERE (collision_date >= '2011-01-01' AND collision_date < '2012-01-01')\n OR (collision_date >= '2021-01-01' AND collision_date < '2022-01-01')\n GROUP BY pcf_violation_category\n), annual_totals AS (\n SELECT *,\n SUM(incidents_2011) OVER () AS total_2011,\n SUM(incidents_2021) OVER () AS total_2021\n FROM category_counts\n)\nSELECT 100.0 * incidents_2011 / NULLIF(total_2011, 0)\n - 100.0 * incidents_2021 / NULLIF(total_2021, 0) AS percentage_point_decrease\nFROM annual_totals\nWHERE pcf_violation_category IS NOT NULL\n AND incidents_2021 > 0\nORDER BY incidents_2021 DESC, pcf_violation_category\nLIMIT 1;\n```", "rows": 1, "sql": "WITH category_counts AS (\n SELECT pcf_violation_category,\n COUNT(*) FILTER (WHERE collision_date >= '2011-01-01' AND collision_date < '2012-01-01') AS incidents_2011,\n COUNT(*) FILTER (WHERE collision_date >= '2021-01-01' AND collision_date < '2022-01-01') AS incidents_2021\n FROM collisions\n WHERE (collision_date >= '2011-01-01' AND collision_date < '2012-01-01')\n OR (collision_date >= '2021-01-01' AND collision_date < '2022-01-01')\n GROUP BY pcf_violation_category\n), annual_totals AS (\n SELECT *,\n SUM(incidents_2011) OVER () AS total_2011,\n SUM(incidents_2021) OVER () AS total_2021\n FROM category_counts\n)\nSELECT 100.0 * incidents_2011 / NULLIF(total_2011, 0)\n - 100.0 * incidents_2021 / NULLIF(total_2021, 0) AS percentage_point_decrease\nFROM annual_totals\nWHERE pcf_violation_category IS NOT NULL\n AND incidents_2021 > 0\nORDER BY incidents_2021 DESC, pcf_violation_category\nLIMIT 1;", "seconds": 32.750951625057496, "calls": [{"seconds": 1.9132167499046773, "usage": {"completion_tokens": 20, "prompt_tokens": 1634, "total_tokens": 1654, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1094, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1094, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1094, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5923696249956265, "usage": {"completion_tokens": 98, "prompt_tokens": 2214, "total_tokens": 2312, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 51, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 580, "cached_tokens": 1094, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 580, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 580, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.930763666983694, "usage": {"completion_tokens": 562, "prompt_tokens": 2548, "total_tokens": 3110, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 241, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 334, "cached_tokens": 1674, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 334, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 334, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.875660166959278, "usage": {"completion_tokens": 206, "prompt_tokens": 3431, "total_tokens": 3637, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 50, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 883, "cached_tokens": 2008, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 883, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 883, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.369061792036518, "usage": {"completion_tokens": 610, "prompt_tokens": 4030, "total_tokens": 4640, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 311, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 599, "cached_tokens": 2891, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 599, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 599, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d003bc471285cabbbd7c283d9893cb78aa33f33fce0014e9f593fd2cfd19f444", "csv_sha256": "3abc3f3c046e8fa6f357f97eba380065727c42aa5bebcf2c303fb128dc1e35c6"} +{"instance_id": "local019", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT winner.name AS winner_name, loser.name AS loser_name\nFROM Matches AS m\nJOIN Belts AS b ON b.id = m.title_id\nJOIN Wrestlers AS winner ON winner.id = m.winner_id\nJOIN Wrestlers AS loser ON loser.id = m.loser_id\nWHERE b.name LIKE '%NXT%'\n AND m.title_change = 0\n AND instr(m.duration, ':') > 0\nORDER BY 60 * CAST(substr(m.duration, 1, instr(m.duration, ':') - 1) AS INTEGER)\n + CAST(substr(m.duration, instr(m.duration, ':') + 1) AS INTEGER),\n m.id\nLIMIT 1;\n```", "rows": 1, "sql": "SELECT winner.name AS winner_name, loser.name AS loser_name\nFROM Matches AS m\nJOIN Belts AS b ON b.id = m.title_id\nJOIN Wrestlers AS winner ON winner.id = m.winner_id\nJOIN Wrestlers AS loser ON loser.id = m.loser_id\nWHERE b.name LIKE '%NXT%'\n AND m.title_change = 0\n AND instr(m.duration, ':') > 0\nORDER BY 60 * CAST(substr(m.duration, 1, instr(m.duration, ':') - 1) AS INTEGER)\n + CAST(substr(m.duration, instr(m.duration, ':') + 1) AS INTEGER),\n m.id\nLIMIT 1;", "seconds": 28.63926808303222, "calls": [{"seconds": 2.3251789159839973, "usage": {"completion_tokens": 15, "prompt_tokens": 1630, "total_tokens": 1645, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1077, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1077, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1077, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.571344209020026, "usage": {"completion_tokens": 85, "prompt_tokens": 1689, "total_tokens": 1774, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 59, "cached_tokens": 1077, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 59, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 59, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.124375791987404, "usage": {"completion_tokens": 146, "prompt_tokens": 1924, "total_tokens": 2070, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 19, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 235, "cached_tokens": 1136, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 235, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 235, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.789216625038534, "usage": {"completion_tokens": 159, "prompt_tokens": 3161, "total_tokens": 3320, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1237, "cached_tokens": 1371, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1237, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1237, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.422944249934517, "usage": {"completion_tokens": 164, "prompt_tokens": 4156, "total_tokens": 4320, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 995, "cached_tokens": 2608, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 995, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 995, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.216874082922004, "usage": {"completion_tokens": 150, "prompt_tokens": 4495, "total_tokens": 4645, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 339, "cached_tokens": 3603, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 339, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 339, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8d12892b6b457df5670699f9ae65a809ac0b91a422504ae0c60870ad50438c54", "csv_sha256": "bb8f4bcfd9e9042fbcc32c3d272254c87273756e104766889349b476ffc7a99e"} +{"instance_id": "local020", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH bowler_totals AS (\n SELECT\n b.bowler AS player_id,\n SUM(COALESCE(s.runs_scored, 0) +\n CASE WHEN e.extra_type IN ('wides', 'noballs')\n THEN COALESCE(e.extra_runs, 0) ELSE 0 END) AS runs_conceded,\n SUM(CASE WHEN w.kind_out IN ('bowled', 'caught', 'caught and bowled',\n 'hit wicket', 'lbw', 'stumped')\n THEN 1 ELSE 0 END) AS wickets\n FROM ball_by_ball AS b\n LEFT JOIN batsman_scored AS s USING (match_id, over_id, ball_id, innings_no)\n LEFT JOIN extra_runs AS e USING (match_id, over_id, ball_id, innings_no)\n LEFT JOIN wicket_taken AS w USING (match_id, over_id, ball_id, innings_no)\n GROUP BY b.bowler\n), ranked_bowlers AS (\n SELECT p.player_name,\n RANK() OVER (ORDER BY 1.0 * t.runs_conceded / t.wickets) AS average_rank\n FROM bowler_totals AS t\n JOIN player AS p ON p.player_id = t.player_id\n WHERE t.wickets > 0\n)\nSELECT player_name\nFROM ranked_bowlers\nWHERE average_rank = 1\nORDER BY player_name;\n```", "rows": 1, "sql": "WITH bowler_totals AS (\n SELECT\n b.bowler AS player_id,\n SUM(COALESCE(s.runs_scored, 0) +\n CASE WHEN e.extra_type IN ('wides', 'noballs')\n THEN COALESCE(e.extra_runs, 0) ELSE 0 END) AS runs_conceded,\n SUM(CASE WHEN w.kind_out IN ('bowled', 'caught', 'caught and bowled',\n 'hit wicket', 'lbw', 'stumped')\n THEN 1 ELSE 0 END) AS wickets\n FROM ball_by_ball AS b\n LEFT JOIN batsman_scored AS s USING (match_id, over_id, ball_id, innings_no)\n LEFT JOIN extra_runs AS e USING (match_id, over_id, ball_id, innings_no)\n LEFT JOIN wicket_taken AS w USING (match_id, over_id, ball_id, innings_no)\n GROUP BY b.bowler\n), ranked_bowlers AS (\n SELECT p.player_name,\n RANK() OVER (ORDER BY 1.0 * t.runs_conceded / t.wickets) AS average_rank\n FROM bowler_totals AS t\n JOIN player AS p ON p.player_id = t.player_id\n WHERE t.wickets > 0\n)\nSELECT player_name\nFROM ranked_bowlers\nWHERE average_rank = 1\nORDER BY player_name;", "seconds": 32.674555417033844, "calls": [{"seconds": 3.7236134581035003, "usage": {"completion_tokens": 118, "prompt_tokens": 1615, "total_tokens": 1733, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1060, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1060, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1060, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.572566084098071, "usage": {"completion_tokens": 119, "prompt_tokens": 2072, "total_tokens": 2191, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 52, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 457, "cached_tokens": 1060, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 457, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 457, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.24717474996578, "usage": {"completion_tokens": 258, "prompt_tokens": 2437, "total_tokens": 2695, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 191, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 365, "cached_tokens": 1517, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 365, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 365, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.849027417018078, "usage": {"completion_tokens": 440, "prompt_tokens": 3086, "total_tokens": 3526, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 108, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 649, "cached_tokens": 1882, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 649, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 649, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.666423792019486, "usage": {"completion_tokens": 304, "prompt_tokens": 3851, "total_tokens": 4155, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 765, "cached_tokens": 2531, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 765, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 765, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "840baf2530a2ba1af701b938c6d796fa2dae0bb483aefa23f07786ad84cf4629", "csv_sha256": "aa8f4c6ec515255bd4a36a248f63722a9aed50f3df546ca05681e6433c9344cd"} +{"instance_id": "local022", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH qualifying_batters AS (\n SELECT b.striker AS player_id\n FROM ball_by_ball AS b\n JOIN batsman_scored AS s\n ON s.match_id = b.match_id\n AND s.innings_no = b.innings_no\n AND s.over_id = b.over_id\n AND s.ball_id = b.ball_id\n JOIN \"match\" AS m\n ON m.match_id = b.match_id\n WHERE (b.team_batting = m.team_1 AND m.match_winner = m.team_2)\n OR (b.team_batting = m.team_2 AND m.match_winner = m.team_1)\n GROUP BY b.match_id, b.striker\n HAVING SUM(s.runs_scored) >= 100\n)\nSELECT DISTINCT p.player_name\nFROM qualifying_batters AS q\nJOIN player AS p ON p.player_id = q.player_id;\n```", "rows": 7, "sql": "WITH qualifying_batters AS (\n SELECT b.striker AS player_id\n FROM ball_by_ball AS b\n JOIN batsman_scored AS s\n ON s.match_id = b.match_id\n AND s.innings_no = b.innings_no\n AND s.over_id = b.over_id\n AND s.ball_id = b.ball_id\n JOIN \"match\" AS m\n ON m.match_id = b.match_id\n WHERE (b.team_batting = m.team_1 AND m.match_winner = m.team_2)\n OR (b.team_batting = m.team_2 AND m.match_winner = m.team_1)\n GROUP BY b.match_id, b.striker\n HAVING SUM(s.runs_scored) >= 100\n)\nSELECT DISTINCT p.player_name\nFROM qualifying_batters AS q\nJOIN player AS p ON p.player_id = q.player_id;", "seconds": 15.418483542045578, "calls": [{"seconds": 3.499311999999918, "usage": {"completion_tokens": 102, "prompt_tokens": 1629, "total_tokens": 1731, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1074, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1074, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1074, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.231600207975134, "usage": {"completion_tokens": 291, "prompt_tokens": 2063, "total_tokens": 2354, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 76, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 434, "cached_tokens": 1074, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 434, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 434, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.525452625006437, "usage": {"completion_tokens": 200, "prompt_tokens": 2598, "total_tokens": 2798, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 535, "cached_tokens": 1508, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 535, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 535, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "29e7b886bf0b33086a7d99de0d0603928e2f43891ae64042ca2fcc77bc54ccb7", "csv_sha256": "3a892d4f1fcf57fae8387b06b496cc2b35990c08c456302b6fd1e3602a8815e7"} +{"instance_id": "local023", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH season_matches AS (\n SELECT DISTINCT match_id\n FROM \"match\"\n WHERE season_id = 5\n), appearances AS (\n SELECT pm.player_id, COUNT(DISTINCT pm.match_id) AS matches_played\n FROM player_match AS pm\n JOIN season_matches AS sm ON sm.match_id = pm.match_id\n GROUP BY pm.player_id\n), batting_runs AS (\n SELECT b.striker AS player_id, SUM(s.runs_scored) AS total_runs\n FROM ball_by_ball AS b\n JOIN season_matches AS sm ON sm.match_id = b.match_id\n JOIN batsman_scored AS s\n ON s.match_id = b.match_id\n AND s.innings_no = b.innings_no\n AND s.over_id = b.over_id\n AND s.ball_id = b.ball_id\n GROUP BY b.striker\n), dismissals AS (\n SELECT w.player_out AS player_id, COUNT(*) AS times_out\n FROM wicket_taken AS w\n JOIN season_matches AS sm ON sm.match_id = w.match_id\n WHERE w.kind_out <> 'retired hurt'\n GROUP BY w.player_out\n)\nSELECT p.player_name,\n ROUND(1.0 * COALESCE(r.total_runs, 0) / NULLIF(d.times_out, 0), 2) AS batting_average\nFROM appearances AS a\nJOIN player AS p ON p.player_id = a.player_id\nLEFT JOIN batting_runs AS r ON r.player_id = a.player_id\nLEFT JOIN dismissals AS d ON d.player_id = a.player_id\nORDER BY 1.0 * COALESCE(r.total_runs, 0) / a.matches_played DESC,\n a.player_id\nLIMIT 5;\n```", "rows": 5, "sql": "WITH season_matches AS (\n SELECT DISTINCT match_id\n FROM \"match\"\n WHERE season_id = 5\n), appearances AS (\n SELECT pm.player_id, COUNT(DISTINCT pm.match_id) AS matches_played\n FROM player_match AS pm\n JOIN season_matches AS sm ON sm.match_id = pm.match_id\n GROUP BY pm.player_id\n), batting_runs AS (\n SELECT b.striker AS player_id, SUM(s.runs_scored) AS total_runs\n FROM ball_by_ball AS b\n JOIN season_matches AS sm ON sm.match_id = b.match_id\n JOIN batsman_scored AS s\n ON s.match_id = b.match_id\n AND s.innings_no = b.innings_no\n AND s.over_id = b.over_id\n AND s.ball_id = b.ball_id\n GROUP BY b.striker\n), dismissals AS (\n SELECT w.player_out AS player_id, COUNT(*) AS times_out\n FROM wicket_taken AS w\n JOIN season_matches AS sm ON sm.match_id = w.match_id\n WHERE w.kind_out <> 'retired hurt'\n GROUP BY w.player_out\n)\nSELECT p.player_name,\n ROUND(1.0 * COALESCE(r.total_runs, 0) / NULLIF(d.times_out, 0), 2) AS batting_average\nFROM appearances AS a\nJOIN player AS p ON p.player_id = a.player_id\nLEFT JOIN batting_runs AS r ON r.player_id = a.player_id\nLEFT JOIN dismissals AS d ON d.player_id = a.player_id\nORDER BY 1.0 * COALESCE(r.total_runs, 0) / a.matches_played DESC,\n a.player_id\nLIMIT 5;", "seconds": 46.63111479207873, "calls": [{"seconds": 1.9754177500726655, "usage": {"completion_tokens": 18, "prompt_tokens": 1632, "total_tokens": 1650, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1077, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1077, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1077, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 1.9646454999456182, "usage": {"completion_tokens": 15, "prompt_tokens": 1680, "total_tokens": 1695, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1077, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5290090839844197, "usage": {"completion_tokens": 119, "prompt_tokens": 1740, "total_tokens": 1859, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 60, "cached_tokens": 1125, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 60, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 60, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.788266082992777, "usage": {"completion_tokens": 649, "prompt_tokens": 2250, "total_tokens": 2899, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 395, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 510, "cached_tokens": 1185, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 510, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 510, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 19.778182625072077, "usage": {"completion_tokens": 603, "prompt_tokens": 3268, "total_tokens": 3871, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 212, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1018, "cached_tokens": 1695, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1018, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1018, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.483112541027367, "usage": {"completion_tokens": 371, "prompt_tokens": 4303, "total_tokens": 4674, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1035, "cached_tokens": 2713, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1035, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1035, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2c3875f53671abb0f614d9b287eaa46bb64b9fdf78e45396c6790e868e4a1c15", "csv_sha256": "44b2831f09ae91e33907cfe6e1058f7144b98df4e152c7da09d8924693a7740e"} +{"instance_id": "local025", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH run_entries AS (\n SELECT match_id, innings_no, over_id, runs_scored AS runs\n FROM batsman_scored\n UNION ALL\n SELECT match_id, innings_no, over_id, extra_runs AS runs\n FROM extra_runs\n), over_totals AS (\n SELECT match_id, innings_no, over_id, SUM(runs) AS total_runs\n FROM run_entries\n GROUP BY match_id, innings_no, over_id\n), over_bowlers AS (\n SELECT match_id, innings_no, over_id,\n JSON_GROUP_ARRAY(DISTINCT bowler)\n FILTER (WHERE bowler IS NOT NULL) AS bowler_ids\n FROM ball_by_ball\n GROUP BY match_id, innings_no, over_id\n), ranked_overs AS (\n SELECT b.match_id, b.innings_no, b.over_id, b.bowler_ids, t.total_runs,\n ROW_NUMBER() OVER (\n PARTITION BY b.match_id\n ORDER BY t.total_runs DESC, b.innings_no, b.over_id\n ) AS over_rank\n FROM over_bowlers AS b\n LEFT JOIN over_totals AS t USING (match_id, innings_no, over_id)\n)\nSELECT match_id, innings_no, over_id, bowler_ids,\n total_runs AS highest_over_runs,\n AVG(total_runs) OVER () AS avg_highest_over_runs\nFROM ranked_overs\nWHERE over_rank = 1\nORDER BY match_id;\n```", "rows": 568, "sql": "WITH run_entries AS (\n SELECT match_id, innings_no, over_id, runs_scored AS runs\n FROM batsman_scored\n UNION ALL\n SELECT match_id, innings_no, over_id, extra_runs AS runs\n FROM extra_runs\n), over_totals AS (\n SELECT match_id, innings_no, over_id, SUM(runs) AS total_runs\n FROM run_entries\n GROUP BY match_id, innings_no, over_id\n), over_bowlers AS (\n SELECT match_id, innings_no, over_id,\n JSON_GROUP_ARRAY(DISTINCT bowler)\n FILTER (WHERE bowler IS NOT NULL) AS bowler_ids\n FROM ball_by_ball\n GROUP BY match_id, innings_no, over_id\n), ranked_overs AS (\n SELECT b.match_id, b.innings_no, b.over_id, b.bowler_ids, t.total_runs,\n ROW_NUMBER() OVER (\n PARTITION BY b.match_id\n ORDER BY t.total_runs DESC, b.innings_no, b.over_id\n ) AS over_rank\n FROM over_bowlers AS b\n LEFT JOIN over_totals AS t USING (match_id, innings_no, over_id)\n)\nSELECT match_id, innings_no, over_id, bowler_ids,\n total_runs AS highest_over_runs,\n AVG(total_runs) OVER () AS avg_highest_over_runs\nFROM ranked_overs\nWHERE over_rank = 1\nORDER BY match_id;", "seconds": 64.40466604102403, "calls": [{"seconds": 3.337794665945694, "usage": {"completion_tokens": 87, "prompt_tokens": 1676, "total_tokens": 1763, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1121, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1121, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1121, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.070773291983642, "usage": {"completion_tokens": 511, "prompt_tokens": 2064, "total_tokens": 2575, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 146, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 388, "cached_tokens": 1121, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 388, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 388, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.1823187089758, "usage": {"completion_tokens": 550, "prompt_tokens": 2978, "total_tokens": 3528, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 171, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 914, "cached_tokens": 1509, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 914, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 914, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 16.878835249925032, "usage": {"completion_tokens": 833, "prompt_tokens": 4067, "total_tokens": 4900, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 457, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1089, "cached_tokens": 2423, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1089, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1089, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.064529458060861, "usage": {"completion_tokens": 215, "prompt_tokens": 5536, "total_tokens": 5751, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 53, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1469, "cached_tokens": 3512, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1469, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1469, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.248985541984439, "usage": {"completion_tokens": 689, "prompt_tokens": 5915, "total_tokens": 6604, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 348, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 379, "cached_tokens": 4981, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 379, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 379, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.0584666669601575, "usage": {"completion_tokens": 314, "prompt_tokens": 7089, "total_tokens": 7403, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1174, "cached_tokens": 5360, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1174, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1174, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "4625cbd89374f0f91baa143a4ab32207b2de4cc80c8e21fd1e0b658d14fdb4c6", "csv_sha256": "424e6cb2cfa007cd4fbcea535d8d73017133518b8c798123f40eba9a63664686"} +{"instance_id": "local026", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH bowler_overs AS (\n SELECT b.match_id, b.innings_no, b.over_id, b.bowler,\n SUM(COALESCE(s.runs_scored, 0) +\n CASE WHEN e.extra_type IN ('wides', 'noballs')\n THEN COALESCE(e.extra_runs, 0) ELSE 0 END) AS runs_conceded\n FROM ball_by_ball AS b\n LEFT JOIN batsman_scored AS s\n ON s.match_id = b.match_id AND s.innings_no = b.innings_no\n AND s.over_id = b.over_id AND s.ball_id = b.ball_id\n LEFT JOIN extra_runs AS e\n ON e.match_id = b.match_id AND e.innings_no = b.innings_no\n AND e.over_id = b.over_id AND e.ball_id = b.ball_id\n GROUP BY b.match_id, b.innings_no, b.over_id, b.bowler\n), over_totals AS (\n SELECT *, SUM(runs_conceded) OVER (\n PARTITION BY match_id, innings_no, over_id\n ) AS over_runs_conceded\n FROM bowler_overs\n), match_maxima AS (\n SELECT *, MAX(over_runs_conceded) OVER (PARTITION BY match_id) AS match_max\n FROM over_totals\n), bowler_bests AS (\n SELECT *, ROW_NUMBER() OVER (\n PARTITION BY bowler\n ORDER BY runs_conceded DESC, match_id, innings_no, over_id\n ) AS bowler_rank\n FROM match_maxima\n WHERE over_runs_conceded = match_max\n)\nSELECT p.player_name AS bowler_name, b.match_id, b.runs_conceded\nFROM bowler_bests AS b\nJOIN player AS p ON p.player_id = b.bowler\nWHERE b.bowler_rank = 1\nORDER BY b.runs_conceded DESC, b.bowler\nLIMIT 3;\n```", "rows": 3, "sql": "WITH bowler_overs AS (\n SELECT b.match_id, b.innings_no, b.over_id, b.bowler,\n SUM(COALESCE(s.runs_scored, 0) +\n CASE WHEN e.extra_type IN ('wides', 'noballs')\n THEN COALESCE(e.extra_runs, 0) ELSE 0 END) AS runs_conceded\n FROM ball_by_ball AS b\n LEFT JOIN batsman_scored AS s\n ON s.match_id = b.match_id AND s.innings_no = b.innings_no\n AND s.over_id = b.over_id AND s.ball_id = b.ball_id\n LEFT JOIN extra_runs AS e\n ON e.match_id = b.match_id AND e.innings_no = b.innings_no\n AND e.over_id = b.over_id AND e.ball_id = b.ball_id\n GROUP BY b.match_id, b.innings_no, b.over_id, b.bowler\n), over_totals AS (\n SELECT *, SUM(runs_conceded) OVER (\n PARTITION BY match_id, innings_no, over_id\n ) AS over_runs_conceded\n FROM bowler_overs\n), match_maxima AS (\n SELECT *, MAX(over_runs_conceded) OVER (PARTITION BY match_id) AS match_max\n FROM over_totals\n), bowler_bests AS (\n SELECT *, ROW_NUMBER() OVER (\n PARTITION BY bowler\n ORDER BY runs_conceded DESC, match_id, innings_no, over_id\n ) AS bowler_rank\n FROM match_maxima\n WHERE over_runs_conceded = match_max\n)\nSELECT p.player_name AS bowler_name, b.match_id, b.runs_conceded\nFROM bowler_bests AS b\nJOIN player AS p ON p.player_id = b.bowler\nWHERE b.bowler_rank = 1\nORDER BY b.runs_conceded DESC, b.bowler\nLIMIT 3;", "seconds": 31.06267979205586, "calls": [{"seconds": 1.8416395829990506, "usage": {"completion_tokens": 15, "prompt_tokens": 1693, "total_tokens": 1708, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1138, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1138, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1138, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.154121999978088, "usage": {"completion_tokens": 102, "prompt_tokens": 1753, "total_tokens": 1855, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 60, "cached_tokens": 1138, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 60, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 60, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.658121500047855, "usage": {"completion_tokens": 466, "prompt_tokens": 2204, "total_tokens": 2670, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 141, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 451, "cached_tokens": 1198, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 451, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 451, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.440685832989402, "usage": {"completion_tokens": 597, "prompt_tokens": 3086, "total_tokens": 3683, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 150, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 882, "cached_tokens": 1649, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 882, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 882, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.667817958979867, "usage": {"completion_tokens": 493, "prompt_tokens": 4169, "total_tokens": 4662, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 66, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1083, "cached_tokens": 2531, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1083, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1083, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2bdf3b89645dea0c828adf126d1cbe1603f26d792fe2319e2f12c1f17dd14d14", "csv_sha256": "aa4dddac06ffd9c245ad9eb056c1402207b19f2ebfd21f1bb7d2fdf6c595c745"} +{"instance_id": "local028", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH months(month) AS (\n VALUES ('01'), ('02'), ('03'), ('04'), ('05'), ('06'),\n ('07'), ('08'), ('09'), ('10'), ('11'), ('12')\n), deliveries AS (\n SELECT strftime('%m', order_delivered_customer_date) AS month,\n strftime('%Y', order_delivered_customer_date) AS year\n FROM olist_orders\n WHERE order_status = 'delivered'\n AND order_delivered_customer_date >= '2016-01-01'\n AND order_delivered_customer_date < '2019-01-01'\n)\nSELECT m.month,\n COUNT(CASE WHEN d.year = '2016' THEN 1 END) AS \"2016\",\n COUNT(CASE WHEN d.year = '2017' THEN 1 END) AS \"2017\",\n COUNT(CASE WHEN d.year = '2018' THEN 1 END) AS \"2018\"\nFROM months AS m\nLEFT JOIN deliveries AS d ON d.month = m.month\nGROUP BY m.month\nORDER BY m.month;\n```", "rows": 12, "sql": "WITH months(month) AS (\n VALUES ('01'), ('02'), ('03'), ('04'), ('05'), ('06'),\n ('07'), ('08'), ('09'), ('10'), ('11'), ('12')\n), deliveries AS (\n SELECT strftime('%m', order_delivered_customer_date) AS month,\n strftime('%Y', order_delivered_customer_date) AS year\n FROM olist_orders\n WHERE order_status = 'delivered'\n AND order_delivered_customer_date >= '2016-01-01'\n AND order_delivered_customer_date < '2019-01-01'\n)\nSELECT m.month,\n COUNT(CASE WHEN d.year = '2016' THEN 1 END) AS \"2016\",\n COUNT(CASE WHEN d.year = '2017' THEN 1 END) AS \"2017\",\n COUNT(CASE WHEN d.year = '2018' THEN 1 END) AS \"2018\"\nFROM months AS m\nLEFT JOIN deliveries AS d ON d.month = m.month\nGROUP BY m.month\nORDER BY m.month;", "seconds": 18.51047587499488, "calls": [{"seconds": 2.577485542045906, "usage": {"completion_tokens": 50, "prompt_tokens": 1671, "total_tokens": 1721, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1092, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1092, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1092, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.565322750015184, "usage": {"completion_tokens": 517, "prompt_tokens": 1826, "total_tokens": 2343, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 258, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 155, "cached_tokens": 1092, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 155, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 155, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.845673332922161, "usage": {"completion_tokens": 250, "prompt_tokens": 2761, "total_tokens": 3011, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 15, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 935, "cached_tokens": 1247, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 935, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 935, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "01e4ff8c64636ba9da967bf4e9adcd2d8416d5b004dba600124b8d7a9f528f0f", "csv_sha256": "3a8acf46c769e139c8666fd569bd12591bbcd06633a7a413447defd2fcad281e"} +{"instance_id": "local030", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH order_payments AS (\n SELECT order_id, SUM(payment_value) AS total_payment\n FROM olist_order_payments\n GROUP BY order_id\n), city_totals AS (\n SELECT c.customer_city,\n SUM(p.total_payment) AS total_payments,\n COUNT(DISTINCT o.order_id) AS delivered_order_count\n FROM olist_orders AS o\n JOIN olist_customers AS c ON c.customer_id = o.customer_id\n LEFT JOIN order_payments AS p ON p.order_id = o.order_id\n WHERE o.order_status = 'delivered'\n GROUP BY c.customer_city\n), bottom_five AS (\n SELECT total_payments, delivered_order_count\n FROM city_totals\n ORDER BY total_payments ASC NULLS LAST, customer_city ASC\n LIMIT 5\n)\nSELECT AVG(total_payments) AS avg_total_payments,\n AVG(delivered_order_count) AS avg_delivered_order_count\nFROM bottom_five;\n```", "rows": 1, "sql": "WITH order_payments AS (\n SELECT order_id, SUM(payment_value) AS total_payment\n FROM olist_order_payments\n GROUP BY order_id\n), city_totals AS (\n SELECT c.customer_city,\n SUM(p.total_payment) AS total_payments,\n COUNT(DISTINCT o.order_id) AS delivered_order_count\n FROM olist_orders AS o\n JOIN olist_customers AS c ON c.customer_id = o.customer_id\n LEFT JOIN order_payments AS p ON p.order_id = o.order_id\n WHERE o.order_status = 'delivered'\n GROUP BY c.customer_city\n), bottom_five AS (\n SELECT total_payments, delivered_order_count\n FROM city_totals\n ORDER BY total_payments ASC NULLS LAST, customer_city ASC\n LIMIT 5\n)\nSELECT AVG(total_payments) AS avg_total_payments,\n AVG(delivered_order_count) AS avg_delivered_order_count\nFROM bottom_five;", "seconds": 13.753223999985494, "calls": [{"seconds": 2.753121000016108, "usage": {"completion_tokens": 85, "prompt_tokens": 1663, "total_tokens": 1748, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1084, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1084, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1084, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.688975375029258, "usage": {"completion_tokens": 332, "prompt_tokens": 1952, "total_tokens": 2284, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 102, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 289, "cached_tokens": 1084, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 289, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 289, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.59118650003802, "usage": {"completion_tokens": 211, "prompt_tokens": 2531, "total_tokens": 2742, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 579, "cached_tokens": 1373, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 579, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 579, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "bc72d0b44af48e5e456518a9a0a75b6cf6c74ac514d736ab1010a62bce999577", "csv_sha256": "2c791e8c108d89e7f2d66611c06ae5baf3fc45bb1718157e2e359050f6616975"} +{"instance_id": "local031", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH monthly AS (\n SELECT strftime('%Y', order_delivered_customer_date) AS delivery_year,\n strftime('%Y-%m', order_delivered_customer_date) AS delivery_month,\n COUNT(*) AS delivered_orders\n FROM olist_orders\n WHERE order_status = 'delivered'\n AND order_delivered_customer_date >= '2016-01-01'\n AND order_delivered_customer_date < '2019-01-01'\n GROUP BY 1, 2\n), annual AS (\n SELECT delivery_year, SUM(delivered_orders) AS delivered_orders\n FROM monthly\n GROUP BY delivery_year\n)\nSELECT MAX(m.delivered_orders) AS highest_monthly_delivered_orders\nFROM monthly AS m\nJOIN annual AS a ON a.delivery_year = m.delivery_year\nWHERE a.delivered_orders = (SELECT MIN(delivered_orders) FROM annual);\n```", "rows": 1, "sql": "WITH monthly AS (\n SELECT strftime('%Y', order_delivered_customer_date) AS delivery_year,\n strftime('%Y-%m', order_delivered_customer_date) AS delivery_month,\n COUNT(*) AS delivered_orders\n FROM olist_orders\n WHERE order_status = 'delivered'\n AND order_delivered_customer_date >= '2016-01-01'\n AND order_delivered_customer_date < '2019-01-01'\n GROUP BY 1, 2\n), annual AS (\n SELECT delivery_year, SUM(delivered_orders) AS delivered_orders\n FROM monthly\n GROUP BY delivery_year\n)\nSELECT MAX(m.delivered_orders) AS highest_monthly_delivered_orders\nFROM monthly AS m\nJOIN annual AS a ON a.delivery_year = m.delivery_year\nWHERE a.delivered_orders = (SELECT MIN(delivered_orders) FROM annual);", "seconds": 24.38577804202214, "calls": [{"seconds": 2.217558874981478, "usage": {"completion_tokens": 20, "prompt_tokens": 1659, "total_tokens": 1679, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1080, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1080, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1080, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.0991367080714554, "usage": {"completion_tokens": 18, "prompt_tokens": 1756, "total_tokens": 1774, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 97, "cached_tokens": 1080, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 97, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 97, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 14.330719999969006, "usage": {"completion_tokens": 701, "prompt_tokens": 1804, "total_tokens": 2505, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 494, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1177, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.581454457947984, "usage": {"completion_tokens": 239, "prompt_tokens": 2716, "total_tokens": 2955, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 49, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 912, "cached_tokens": 1225, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 912, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 912, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "bf1c1c794514745761727e4fd1573c4be992bdbb22720a1e6e54e838337a72ed", "csv_sha256": "95621287232ce7735aec789172a605d025f9f24a554ea72ccfcdd3ddab032e33"} +{"instance_id": "local032", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH seller_orders AS (\n SELECT i.seller_id,\n o.order_id,\n o.customer_id,\n SUM(i.price - i.freight_value) AS order_profit\n FROM olist_orders AS o\n JOIN olist_order_items AS i ON i.order_id = o.order_id\n WHERE o.order_status = 'delivered'\n GROUP BY i.seller_id, o.order_id, o.customer_id\n), five_star_reviews AS (\n SELECT order_id, COUNT(*) AS rating_count\n FROM olist_order_reviews\n WHERE review_score = 5\n GROUP BY order_id\n), seller_totals AS (\n SELECT so.seller_id,\n COUNT(DISTINCT c.customer_unique_id) AS customer_count,\n SUM(so.order_profit) AS profit,\n COUNT(DISTINCT so.order_id) AS order_count,\n SUM(COALESCE(r.rating_count, 0)) AS five_star_count\n FROM seller_orders AS so\n LEFT JOIN olist_customers AS c ON c.customer_id = so.customer_id\n LEFT JOIN five_star_reviews AS r ON r.order_id = so.order_id\n GROUP BY so.seller_id\n), ranked AS (\n SELECT seller_id, customer_count, profit, order_count, five_star_count,\n ROW_NUMBER() OVER (ORDER BY customer_count DESC, seller_id) AS customer_rank,\n ROW_NUMBER() OVER (ORDER BY profit DESC, seller_id) AS profit_rank,\n ROW_NUMBER() OVER (ORDER BY order_count DESC, seller_id) AS order_rank,\n ROW_NUMBER() OVER (ORDER BY five_star_count DESC, seller_id) AS rating_rank\n FROM seller_totals\n), achievements AS (\n SELECT 1 AS position, 'Most distinct customer unique IDs' AS achievement,\n seller_id, customer_count AS value\n FROM ranked WHERE customer_rank = 1\n UNION ALL\n SELECT 2, 'Highest profit (price minus freight value)', seller_id, ROUND(profit, 2)\n FROM ranked WHERE profit_rank = 1\n UNION ALL\n SELECT 3, 'Most distinct orders', seller_id, order_count\n FROM ranked WHERE order_rank = 1\n UNION ALL\n SELECT 4, 'Most 5-star ratings', seller_id, five_star_count\n FROM ranked WHERE rating_rank = 1\n)\nSELECT achievement, seller_id, value\nFROM achievements\nORDER BY position;\n```", "rows": 4, "sql": "WITH seller_orders AS (\n SELECT i.seller_id,\n o.order_id,\n o.customer_id,\n SUM(i.price - i.freight_value) AS order_profit\n FROM olist_orders AS o\n JOIN olist_order_items AS i ON i.order_id = o.order_id\n WHERE o.order_status = 'delivered'\n GROUP BY i.seller_id, o.order_id, o.customer_id\n), five_star_reviews AS (\n SELECT order_id, COUNT(*) AS rating_count\n FROM olist_order_reviews\n WHERE review_score = 5\n GROUP BY order_id\n), seller_totals AS (\n SELECT so.seller_id,\n COUNT(DISTINCT c.customer_unique_id) AS customer_count,\n SUM(so.order_profit) AS profit,\n COUNT(DISTINCT so.order_id) AS order_count,\n SUM(COALESCE(r.rating_count, 0)) AS five_star_count\n FROM seller_orders AS so\n LEFT JOIN olist_customers AS c ON c.customer_id = so.customer_id\n LEFT JOIN five_star_reviews AS r ON r.order_id = so.order_id\n GROUP BY so.seller_id\n), ranked AS (\n SELECT seller_id, customer_count, profit, order_count, five_star_count,\n ROW_NUMBER() OVER (ORDER BY customer_count DESC, seller_id) AS customer_rank,\n ROW_NUMBER() OVER (ORDER BY profit DESC, seller_id) AS profit_rank,\n ROW_NUMBER() OVER (ORDER BY order_count DESC, seller_id) AS order_rank,\n ROW_NUMBER() OVER (ORDER BY five_star_count DESC, seller_id) AS rating_rank\n FROM seller_totals\n), achievements AS (\n SELECT 1 AS position, 'Most distinct customer unique IDs' AS achievement,\n seller_id, customer_count AS value\n FROM ranked WHERE customer_rank = 1\n UNION ALL\n SELECT 2, 'Highest profit (price minus freight value)', seller_id, ROUND(profit, 2)\n FROM ranked WHERE profit_rank = 1\n UNION ALL\n SELECT 3, 'Most distinct orders', seller_id, order_count\n FROM ranked WHERE order_rank = 1\n UNION ALL\n SELECT 4, 'Most 5-star ratings', seller_id, five_star_count\n FROM ranked WHERE rating_rank = 1\n)\nSELECT achievement, seller_id, value\nFROM achievements\nORDER BY position;", "seconds": 39.4812197079882, "calls": [{"seconds": 3.2047904999926686, "usage": {"completion_tokens": 104, "prompt_tokens": 1718, "total_tokens": 1822, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1139, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1139, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1139, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 15.965512041933835, "usage": {"completion_tokens": 952, "prompt_tokens": 2111, "total_tokens": 3063, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 431, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 393, "cached_tokens": 1139, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 393, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 393, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.71250579203479, "usage": {"completion_tokens": 674, "prompt_tokens": 3707, "total_tokens": 4381, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 132, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1596, "cached_tokens": 1532, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1596, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1596, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.8448520420352, "usage": {"completion_tokens": 511, "prompt_tokens": 5045, "total_tokens": 5556, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1338, "cached_tokens": 3128, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1338, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1338, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "da208a8c31a74d336852c7128d5fa4d3e4fad483ccdf0a600e1a0f198538190d", "csv_sha256": "f765fd3e07af2836cdb63b1f67473dfc2e9d827551bce4b649d171ce83ca0d66"} +{"instance_id": "local034", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH order_categories AS (\n SELECT DISTINCT oi.order_id, p.product_category_name\n FROM olist_order_items AS oi\n JOIN olist_products AS p ON p.product_id = oi.product_id\n), payment_counts AS (\n SELECT oc.product_category_name, op.payment_type, COUNT(*) AS payment_count\n FROM order_categories AS oc\n JOIN olist_order_payments AS op ON op.order_id = oc.order_id\n GROUP BY oc.product_category_name, op.payment_type\n), category_maxima AS (\n SELECT product_category_name, MAX(payment_count) AS preferred_payment_count\n FROM payment_counts\n GROUP BY product_category_name\n)\nSELECT AVG(preferred_payment_count) AS average_preferred_payment_count\nFROM category_maxima;\n```", "rows": 1, "sql": "WITH order_categories AS (\n SELECT DISTINCT oi.order_id, p.product_category_name\n FROM olist_order_items AS oi\n JOIN olist_products AS p ON p.product_id = oi.product_id\n), payment_counts AS (\n SELECT oc.product_category_name, op.payment_type, COUNT(*) AS payment_count\n FROM order_categories AS oc\n JOIN olist_order_payments AS op ON op.order_id = oc.order_id\n GROUP BY oc.product_category_name, op.payment_type\n), category_maxima AS (\n SELECT product_category_name, MAX(payment_count) AS preferred_payment_count\n FROM payment_counts\n GROUP BY product_category_name\n)\nSELECT AVG(preferred_payment_count) AS average_preferred_payment_count\nFROM category_maxima;", "seconds": 22.12947883293964, "calls": [{"seconds": 3.3495904160663486, "usage": {"completion_tokens": 102, "prompt_tokens": 1671, "total_tokens": 1773, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1092, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1092, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1092, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 14.341460208059289, "usage": {"completion_tokens": 693, "prompt_tokens": 2081, "total_tokens": 2774, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 516, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 410, "cached_tokens": 1092, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 410, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 410, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9893824589671567, "usage": {"completion_tokens": 162, "prompt_tokens": 2965, "total_tokens": 3127, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 884, "cached_tokens": 1502, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 884, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 884, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b5d457093b4e8bd483461fe7d4876bc1282838a236ef7745f6576de2b00dd0ca", "csv_sha256": "417c4e4395f72ca226cb7db04605425b48579fee33ff805c5851ba6476732d80"} +{"instance_id": "local035", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH ordered_locations AS (\n SELECT\n geolocation_city AS city,\n LAG(geolocation_city) OVER city_order AS previous_city,\n RADIANS(geolocation_lat) AS lat_rad,\n RADIANS(geolocation_lng) AS lng_rad,\n LAG(RADIANS(geolocation_lat)) OVER city_order AS previous_lat_rad,\n LAG(RADIANS(geolocation_lng)) OVER city_order AS previous_lng_rad\n FROM olist_geolocation\n WINDOW city_order AS (\n ORDER BY geolocation_state, geolocation_city,\n geolocation_zip_code_prefix, geolocation_lat, geolocation_lng\n )\n), distances AS (\n SELECT previous_city, city,\n 6371 * ACOS(MIN(1.0, MAX(-1.0,\n COS(previous_lat_rad) * COS(lat_rad) * COS(lng_rad - previous_lng_rad)\n + SIN(previous_lat_rad) * SIN(lat_rad)\n ))) AS distance_km\n FROM ordered_locations\n)\nSELECT previous_city, city\nFROM distances\nWHERE distance_km IS NOT NULL\nORDER BY distance_km DESC, previous_city, city\nLIMIT 1;\n```", "rows": 1, "sql": "WITH ordered_locations AS (\n SELECT\n geolocation_city AS city,\n LAG(geolocation_city) OVER city_order AS previous_city,\n RADIANS(geolocation_lat) AS lat_rad,\n RADIANS(geolocation_lng) AS lng_rad,\n LAG(RADIANS(geolocation_lat)) OVER city_order AS previous_lat_rad,\n LAG(RADIANS(geolocation_lng)) OVER city_order AS previous_lng_rad\n FROM olist_geolocation\n WINDOW city_order AS (\n ORDER BY geolocation_state, geolocation_city,\n geolocation_zip_code_prefix, geolocation_lat, geolocation_lng\n )\n), distances AS (\n SELECT previous_city, city,\n 6371 * ACOS(MIN(1.0, MAX(-1.0,\n COS(previous_lat_rad) * COS(lat_rad) * COS(lng_rad - previous_lng_rad)\n + SIN(previous_lat_rad) * SIN(lat_rad)\n ))) AS distance_km\n FROM ordered_locations\n)\nSELECT previous_city, city\nFROM distances\nWHERE distance_km IS NOT NULL\nORDER BY distance_km DESC, previous_city, city\nLIMIT 1;", "seconds": 23.674387875013053, "calls": [{"seconds": 2.285571541986428, "usage": {"completion_tokens": 21, "prompt_tokens": 1925, "total_tokens": 1946, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1346, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1346, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1346, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 13.07890545798, "usage": {"completion_tokens": 639, "prompt_tokens": 2002, "total_tokens": 2641, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 353, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 77, "cached_tokens": 1346, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 77, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 77, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.0278302079532295, "usage": {"completion_tokens": 259, "prompt_tokens": 2930, "total_tokens": 3189, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 928, "cached_tokens": 1423, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 928, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 928, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0ff0d925dd0ce8d00bdd2d8f33beb894b521b21e7fdb9c3ff680606232559f0b", "csv_sha256": "35d9a4e2ca45452d6081a2582234227ee1ff0355f1e0ba034985a0a55619c102"} +{"instance_id": "local037", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH order_categories AS (\n SELECT DISTINCT oi.order_id, p.product_category_name\n FROM olist_order_items AS oi\n JOIN olist_products AS p ON p.product_id = oi.product_id\n WHERE p.product_category_name IS NOT NULL\n), payment_counts AS (\n SELECT oc.product_category_name, op.payment_type, COUNT(*) AS payment_count\n FROM order_categories AS oc\n JOIN olist_order_payments AS op ON op.order_id = oc.order_id\n GROUP BY oc.product_category_name, op.payment_type\n), ranked AS (\n SELECT product_category_name, payment_type, payment_count,\n ROW_NUMBER() OVER (\n PARTITION BY product_category_name\n ORDER BY payment_count DESC, payment_type\n ) AS payment_type_rank\n FROM payment_counts\n)\nSELECT COALESCE(t.product_category_name_english, r.product_category_name) AS product_category,\n r.payment_type,\n r.payment_count\nFROM ranked AS r\nLEFT JOIN product_category_name_translation AS t\n ON t.product_category_name = r.product_category_name\nWHERE r.payment_type_rank = 1\nORDER BY r.payment_count DESC, r.product_category_name\nLIMIT 3;\n```", "rows": 3, "sql": "WITH order_categories AS (\n SELECT DISTINCT oi.order_id, p.product_category_name\n FROM olist_order_items AS oi\n JOIN olist_products AS p ON p.product_id = oi.product_id\n WHERE p.product_category_name IS NOT NULL\n), payment_counts AS (\n SELECT oc.product_category_name, op.payment_type, COUNT(*) AS payment_count\n FROM order_categories AS oc\n JOIN olist_order_payments AS op ON op.order_id = oc.order_id\n GROUP BY oc.product_category_name, op.payment_type\n), ranked AS (\n SELECT product_category_name, payment_type, payment_count,\n ROW_NUMBER() OVER (\n PARTITION BY product_category_name\n ORDER BY payment_count DESC, payment_type\n ) AS payment_type_rank\n FROM payment_counts\n)\nSELECT COALESCE(t.product_category_name_english, r.product_category_name) AS product_category,\n r.payment_type,\n r.payment_count\nFROM ranked AS r\nLEFT JOIN product_category_name_translation AS t\n ON t.product_category_name = r.product_category_name\nWHERE r.payment_type_rank = 1\nORDER BY r.payment_count DESC, r.product_category_name\nLIMIT 3;", "seconds": 20.773888917057775, "calls": [{"seconds": 2.032763374969363, "usage": {"completion_tokens": 15, "prompt_tokens": 1664, "total_tokens": 1679, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1085, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1085, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1085, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5363300000317395, "usage": {"completion_tokens": 106, "prompt_tokens": 1751, "total_tokens": 1857, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 87, "cached_tokens": 1085, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 87, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 87, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.138580000028014, "usage": {"completion_tokens": 469, "prompt_tokens": 2169, "total_tokens": 2638, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 197, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 418, "cached_tokens": 1172, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 418, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 418, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.003393499995582, "usage": {"completion_tokens": 253, "prompt_tokens": 2949, "total_tokens": 3202, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 780, "cached_tokens": 1590, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 780, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 780, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "4c074e7c77c8dbda17b9bb2cd41eaae53c41203276097a9213e5ed04c2c339b6", "csv_sha256": "3869f28acb851b5e9ded8435f7e37726e827116cbef57601407c0f6c4ff796e2"} +{"instance_id": "local038", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH actor_counts AS (\n SELECT a.actor_id,\n a.first_name || ' ' || a.last_name AS full_name,\n COUNT(DISTINCT f.film_id) AS film_count\n FROM actor AS a\n JOIN film_actor AS fa ON fa.actor_id = a.actor_id\n JOIN film AS f ON f.film_id = fa.film_id\n JOIN language AS l ON l.language_id = f.language_id\n JOIN film_category AS fc ON fc.film_id = f.film_id\n JOIN category AS c ON c.category_id = fc.category_id\n WHERE TRIM(l.name) = 'English'\n AND c.name = 'Children'\n AND f.rating IN ('G', 'PG')\n AND f.length <= 120\n AND CAST(f.release_year AS INTEGER) BETWEEN 2000 AND 2010\n GROUP BY a.actor_id, a.first_name, a.last_name\n)\nSELECT full_name\nFROM actor_counts\nWHERE film_count = (SELECT MAX(film_count) FROM actor_counts)\nORDER BY full_name;\n```", "rows": 1, "sql": "WITH actor_counts AS (\n SELECT a.actor_id,\n a.first_name || ' ' || a.last_name AS full_name,\n COUNT(DISTINCT f.film_id) AS film_count\n FROM actor AS a\n JOIN film_actor AS fa ON fa.actor_id = a.actor_id\n JOIN film AS f ON f.film_id = fa.film_id\n JOIN language AS l ON l.language_id = f.language_id\n JOIN film_category AS fc ON fc.film_id = f.film_id\n JOIN category AS c ON c.category_id = fc.category_id\n WHERE TRIM(l.name) = 'English'\n AND c.name = 'Children'\n AND f.rating IN ('G', 'PG')\n AND f.length <= 120\n AND CAST(f.release_year AS INTEGER) BETWEEN 2000 AND 2010\n GROUP BY a.actor_id, a.first_name, a.last_name\n)\nSELECT full_name\nFROM actor_counts\nWHERE film_count = (SELECT MAX(film_count) FROM actor_counts)\nORDER BY full_name;", "seconds": 15.571090959012508, "calls": [{"seconds": 3.176337833981961, "usage": {"completion_tokens": 112, "prompt_tokens": 1688, "total_tokens": 1800, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1103, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1103, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1103, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.574680750025436, "usage": {"completion_tokens": 333, "prompt_tokens": 2146, "total_tokens": 2479, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 83, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 458, "cached_tokens": 1103, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 458, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 458, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.782966083032079, "usage": {"completion_tokens": 230, "prompt_tokens": 2731, "total_tokens": 2961, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 585, "cached_tokens": 1561, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 585, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 585, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8b989b5ded8bfb50045fa1513fb4c99a95cd7013f1bb403e7c49ab308c7da400", "csv_sha256": "79bdca383fb5f969d3d5bd34d2f9201d50d4d904f1f4991610a2f14350db7aaf"} +{"instance_id": "local039", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT c.name AS category\nFROM rental AS r\nJOIN inventory AS i ON i.inventory_id = r.inventory_id\nJOIN film_category AS fc ON fc.film_id = i.film_id\nJOIN category AS c ON c.category_id = fc.category_id\nJOIN customer AS cu ON cu.customer_id = r.customer_id\nJOIN address AS a ON a.address_id = cu.address_id\nJOIN city AS ci ON ci.city_id = a.city_id\nWHERE ci.city LIKE 'A%' OR ci.city LIKE '%-%'\nGROUP BY c.category_id, c.name\nORDER BY SUM(strftime('%s', r.return_date) - strftime('%s', r.rental_date)) / 3600.0 DESC,\n c.name ASC\nLIMIT 1;\n```", "rows": 1, "sql": "SELECT c.name AS category\nFROM rental AS r\nJOIN inventory AS i ON i.inventory_id = r.inventory_id\nJOIN film_category AS fc ON fc.film_id = i.film_id\nJOIN category AS c ON c.category_id = fc.category_id\nJOIN customer AS cu ON cu.customer_id = r.customer_id\nJOIN address AS a ON a.address_id = cu.address_id\nJOIN city AS ci ON ci.city_id = a.city_id\nWHERE ci.city LIKE 'A%' OR ci.city LIKE '%-%'\nGROUP BY c.category_id, c.name\nORDER BY SUM(strftime('%s', r.return_date) - strftime('%s', r.rental_date)) / 3600.0 DESC,\n c.name ASC\nLIMIT 1;", "seconds": 33.07332858396694, "calls": [{"seconds": 2.256023457972333, "usage": {"completion_tokens": 15, "prompt_tokens": 1665, "total_tokens": 1680, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1080, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1080, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1080, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.003756208112463, "usage": {"completion_tokens": 156, "prompt_tokens": 1779, "total_tokens": 1935, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 114, "cached_tokens": 1080, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 114, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 114, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.588336666929536, "usage": {"completion_tokens": 456, "prompt_tokens": 2439, "total_tokens": 2895, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 268, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 660, "cached_tokens": 1194, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 660, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 660, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.170416250010021, "usage": {"completion_tokens": 405, "prompt_tokens": 3100, "total_tokens": 3505, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 229, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 661, "cached_tokens": 1854, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 661, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 661, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.951548833982088, "usage": {"completion_tokens": 276, "prompt_tokens": 3682, "total_tokens": 3958, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 111, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 582, "cached_tokens": 2515, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 582, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 582, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "50d135049716d5a71dedcbdc6b58af251e15780175edae725dd46abb20dcf036", "csv_sha256": "442a3b70db359d4c1294c1c07a74c2ec9fe75377a6d45baa7551b28c73fb22ab"} +{"instance_id": "local040", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH combined AS (\n SELECT t.tree_id,\n TRIM(t.boroname) AS borough,\n COALESCE(t.zipcode, i.zipcode) AS zipcode,\n i.Estimate_Median_income AS median_income,\n i.Estimate_Mean_income AS mean_income\n FROM trees AS t\n LEFT JOIN income_trees AS i ON t.zipcode = i.zipcode\n UNION\n SELECT t.tree_id,\n TRIM(t.boroname),\n COALESCE(t.zipcode, i.zipcode),\n i.Estimate_Median_income,\n i.Estimate_Mean_income\n FROM income_trees AS i\n LEFT JOIN trees AS t ON t.zipcode = i.zipcode\n WHERE t.zipcode IS NULL\n)\nSELECT borough,\n AVG(mean_income) AS average_mean_income\nFROM combined\nWHERE median_income > 0\n AND mean_income > 0\n AND borough IS NOT NULL\n AND borough <> ''\nGROUP BY borough\nORDER BY COUNT(tree_id) DESC, borough\nLIMIT 3;\n```", "rows": 3, "sql": "WITH combined AS (\n SELECT t.tree_id,\n TRIM(t.boroname) AS borough,\n COALESCE(t.zipcode, i.zipcode) AS zipcode,\n i.Estimate_Median_income AS median_income,\n i.Estimate_Mean_income AS mean_income\n FROM trees AS t\n LEFT JOIN income_trees AS i ON t.zipcode = i.zipcode\n UNION\n SELECT t.tree_id,\n TRIM(t.boroname),\n COALESCE(t.zipcode, i.zipcode),\n i.Estimate_Median_income,\n i.Estimate_Mean_income\n FROM income_trees AS i\n LEFT JOIN trees AS t ON t.zipcode = i.zipcode\n WHERE t.zipcode IS NULL\n)\nSELECT borough,\n AVG(mean_income) AS average_mean_income\nFROM combined\nWHERE median_income > 0\n AND mean_income > 0\n AND borough IS NOT NULL\n AND borough <> ''\nGROUP BY borough\nORDER BY COUNT(tree_id) DESC, borough\nLIMIT 3;", "seconds": 53.74432370800059, "calls": [{"seconds": 3.079439833993092, "usage": {"completion_tokens": 81, "prompt_tokens": 1715, "total_tokens": 1796, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1118, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1118, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1118, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.1821154160425067, "usage": {"completion_tokens": 15, "prompt_tokens": 2039, "total_tokens": 2054, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 324, "cached_tokens": 1118, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 324, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 324, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.610141540993936, "usage": {"completion_tokens": 165, "prompt_tokens": 2150, "total_tokens": 2315, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 111, "cached_tokens": 1442, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 111, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 111, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5191391659900546, "usage": {"completion_tokens": 137, "prompt_tokens": 2661, "total_tokens": 2798, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 511, "cached_tokens": 1553, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 511, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 511, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.300745667074807, "usage": {"completion_tokens": 335, "prompt_tokens": 3594, "total_tokens": 3929, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 203, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 933, "cached_tokens": 2064, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 933, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 933, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 14.731561499997042, "usage": {"completion_tokens": 650, "prompt_tokens": 4115, "total_tokens": 4765, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 389, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 521, "cached_tokens": 2997, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 521, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 521, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.820681374985725, "usage": {"completion_tokens": 350, "prompt_tokens": 5069, "total_tokens": 5419, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 97, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 954, "cached_tokens": 3518, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 954, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 954, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.918404291034676, "usage": {"completion_tokens": 227, "prompt_tokens": 5699, "total_tokens": 5926, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 630, "cached_tokens": 4472, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 630, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 630, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d3cea54c16b1ce3b386d954c084995f5733dc984d401f25fa4dd822b822905ae", "csv_sha256": "41cbc24993ccf5210cf0d3b6e7aa412b0dce1d533b6852e86b9e9cb24e51f971"} +{"instance_id": "local049", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "failed", "answer": "❓ Awaiting user: Should I define the top industry as the one with the most companies that reached unicorn status from 2019 through 2021, using `date_joined` as the date they reached that status?", "error_type": "ValueError", "seconds": 12.302753624971956, "calls": [{"seconds": 2.943447208032012, "usage": {"completion_tokens": 85, "prompt_tokens": 1672, "total_tokens": 1757, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1075, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1075, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1075, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.355214999988675, "usage": {"completion_tokens": 367, "prompt_tokens": 1887, "total_tokens": 2254, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 308, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 215, "cached_tokens": 1075, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 215, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 215, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ccf2c8119ef84ed218f887f85682be12b9a100e4e2af85f98ecb8c0189ff6992"} +{"instance_id": "local050", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH monthly_sales AS (\n SELECT s.prod_id,\n co.country_name,\n t.calendar_year AS sales_year,\n t.calendar_month_number AS sales_month,\n SUM(s.amount_sold) AS sales_amount\n FROM sales AS s\n JOIN times AS t ON t.time_id = s.time_id\n JOIN customers AS cu ON cu.cust_id = s.cust_id\n JOIN countries AS co ON co.country_id = cu.country_id\n JOIN promotions AS p ON p.promo_id = s.promo_id\n JOIN channels AS ch ON ch.channel_id = s.channel_id\n WHERE co.country_name = 'France'\n AND p.promo_total_id = 1\n AND ch.channel_total_id = 1\n AND t.calendar_year BETWEEN 2019 AND 2021\n GROUP BY s.prod_id, co.country_name, t.calendar_year, t.calendar_month_number\n), monthly_averages AS (\n SELECT target.sales_month,\n ROUND(AVG(\n (sy20.sales_amount + (sy20.sales_amount - sy19.sales_amount)\n / NULLIF(sy19.sales_amount, 0) * sy20.sales_amount)\n * COALESCE(fx.to_us, 1.0)\n ), 2) AS avg_projected_sales_usd\n FROM monthly_sales AS target\n LEFT JOIN monthly_sales AS sy19\n ON sy19.prod_id = target.prod_id\n AND sy19.country_name = target.country_name\n AND sy19.sales_month = target.sales_month\n AND sy19.sales_year = 2019\n LEFT JOIN monthly_sales AS sy20\n ON sy20.prod_id = target.prod_id\n AND sy20.country_name = target.country_name\n AND sy20.sales_month = target.sales_month\n AND sy20.sales_year = 2020\n LEFT JOIN currency AS fx\n ON fx.country = target.country_name\n AND fx.year = target.sales_year\n AND fx.month = target.sales_month\n WHERE target.sales_year = 2021\n GROUP BY target.sales_month\n), ranked AS (\n SELECT avg_projected_sales_usd,\n ROW_NUMBER() OVER (ORDER BY avg_projected_sales_usd) AS rn,\n COUNT(*) OVER () AS n\n FROM monthly_averages\n WHERE avg_projected_sales_usd IS NOT NULL\n)\nSELECT AVG(avg_projected_sales_usd) AS median_avg_monthly_projected_sales_usd\nFROM ranked\nWHERE rn IN ((n + 1) / 2, (n + 2) / 2);\n```", "rows": 1, "sql": "WITH monthly_sales AS (\n SELECT s.prod_id,\n co.country_name,\n t.calendar_year AS sales_year,\n t.calendar_month_number AS sales_month,\n SUM(s.amount_sold) AS sales_amount\n FROM sales AS s\n JOIN times AS t ON t.time_id = s.time_id\n JOIN customers AS cu ON cu.cust_id = s.cust_id\n JOIN countries AS co ON co.country_id = cu.country_id\n JOIN promotions AS p ON p.promo_id = s.promo_id\n JOIN channels AS ch ON ch.channel_id = s.channel_id\n WHERE co.country_name = 'France'\n AND p.promo_total_id = 1\n AND ch.channel_total_id = 1\n AND t.calendar_year BETWEEN 2019 AND 2021\n GROUP BY s.prod_id, co.country_name, t.calendar_year, t.calendar_month_number\n), monthly_averages AS (\n SELECT target.sales_month,\n ROUND(AVG(\n (sy20.sales_amount + (sy20.sales_amount - sy19.sales_amount)\n / NULLIF(sy19.sales_amount, 0) * sy20.sales_amount)\n * COALESCE(fx.to_us, 1.0)\n ), 2) AS avg_projected_sales_usd\n FROM monthly_sales AS target\n LEFT JOIN monthly_sales AS sy19\n ON sy19.prod_id = target.prod_id\n AND sy19.country_name = target.country_name\n AND sy19.sales_month = target.sales_month\n AND sy19.sales_year = 2019\n LEFT JOIN monthly_sales AS sy20\n ON sy20.prod_id = target.prod_id\n AND sy20.country_name = target.country_name\n AND sy20.sales_month = target.sales_month\n AND sy20.sales_year = 2020\n LEFT JOIN currency AS fx\n ON fx.country = target.country_name\n AND fx.year = target.sales_year\n AND fx.month = target.sales_month\n WHERE target.sales_year = 2021\n GROUP BY target.sales_month\n), ranked AS (\n SELECT avg_projected_sales_usd,\n ROW_NUMBER() OVER (ORDER BY avg_projected_sales_usd) AS rn,\n COUNT(*) OVER () AS n\n FROM monthly_averages\n WHERE avg_projected_sales_usd IS NOT NULL\n)\nSELECT AVG(avg_projected_sales_usd) AS median_avg_monthly_projected_sales_usd\nFROM ranked\nWHERE rn IN ((n + 1) / 2, (n + 2) / 2);", "seconds": 54.11261299997568, "calls": [{"seconds": 2.1740587080130354, "usage": {"completion_tokens": 15, "prompt_tokens": 2255, "total_tokens": 2270, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1688, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1688, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1688, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.6591090409783646, "usage": {"completion_tokens": 155, "prompt_tokens": 2339, "total_tokens": 2494, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 84, "cached_tokens": 1688, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 84, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 84, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.823660416994244, "usage": {"completion_tokens": 416, "prompt_tokens": 3695, "total_tokens": 4111, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 114, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1356, "cached_tokens": 1772, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1356, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1356, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.065234999987297, "usage": {"completion_tokens": 463, "prompt_tokens": 5769, "total_tokens": 6232, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 39, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 2074, "cached_tokens": 3128, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 2074, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 2074, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 20.643527999985963, "usage": {"completion_tokens": 1080, "prompt_tokens": 6960, "total_tokens": 8040, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 501, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1191, "cached_tokens": 5202, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1191, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1191, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.15576129197143, "usage": {"completion_tokens": 639, "prompt_tokens": 8616, "total_tokens": 9255, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 89, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1656, "cached_tokens": 6393, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1656, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1656, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a78a618662d90a7c40a28a0bae33590aa4fbd3e5815c176da781ff2715d30989", "csv_sha256": "b26e4b0b68c35417dbed7f5125d1ca9e4126dc90b7b2f02816f31f306ee66ae7"} +{"instance_id": "local054", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH artist_sales AS (\n SELECT a.ArtistId, SUM(ii.Quantity) AS units_sold\n FROM invoice_items AS ii\n JOIN tracks AS t ON t.TrackId = ii.TrackId\n JOIN albums AS a ON a.AlbumId = t.AlbumId\n GROUP BY a.ArtistId\n), best_selling_artists AS (\n SELECT ArtistId\n FROM artist_sales\n WHERE units_sold = (SELECT MAX(units_sold) FROM artist_sales)\n)\nSELECT c.FirstName,\n ROUND(SUM(ii.UnitPrice * ii.Quantity), 2) AS AmountSpent\nFROM customers AS c\nJOIN invoices AS i ON i.CustomerId = c.CustomerId\nJOIN invoice_items AS ii ON ii.InvoiceId = i.InvoiceId\nJOIN tracks AS t ON t.TrackId = ii.TrackId\nJOIN albums AS a ON a.AlbumId = t.AlbumId\nJOIN best_selling_artists AS b ON b.ArtistId = a.ArtistId\nGROUP BY c.CustomerId, c.FirstName\nHAVING AmountSpent < 1.00\nORDER BY c.FirstName, c.CustomerId;\n```", "rows": 5, "sql": "WITH artist_sales AS (\n SELECT a.ArtistId, SUM(ii.Quantity) AS units_sold\n FROM invoice_items AS ii\n JOIN tracks AS t ON t.TrackId = ii.TrackId\n JOIN albums AS a ON a.AlbumId = t.AlbumId\n GROUP BY a.ArtistId\n), best_selling_artists AS (\n SELECT ArtistId\n FROM artist_sales\n WHERE units_sold = (SELECT MAX(units_sold) FROM artist_sales)\n)\nSELECT c.FirstName,\n ROUND(SUM(ii.UnitPrice * ii.Quantity), 2) AS AmountSpent\nFROM customers AS c\nJOIN invoices AS i ON i.CustomerId = c.CustomerId\nJOIN invoice_items AS ii ON ii.InvoiceId = i.InvoiceId\nJOIN tracks AS t ON t.TrackId = ii.TrackId\nJOIN albums AS a ON a.AlbumId = t.AlbumId\nJOIN best_selling_artists AS b ON b.ArtistId = a.ArtistId\nGROUP BY c.CustomerId, c.FirstName\nHAVING AmountSpent < 1.00\nORDER BY c.FirstName, c.CustomerId;", "seconds": 24.652082999935374, "calls": [{"seconds": 2.287015000008978, "usage": {"completion_tokens": 18, "prompt_tokens": 1634, "total_tokens": 1652, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1078, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1078, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1078, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 1.8545002080500126, "usage": {"completion_tokens": 15, "prompt_tokens": 1682, "total_tokens": 1697, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1078, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.243768749991432, "usage": {"completion_tokens": 112, "prompt_tokens": 1746, "total_tokens": 1858, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 64, "cached_tokens": 1126, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 64, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 64, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.64750512491446, "usage": {"completion_tokens": 506, "prompt_tokens": 2307, "total_tokens": 2813, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 247, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 561, "cached_tokens": 1190, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 561, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 561, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.5815540419425815, "usage": {"completion_tokens": 309, "prompt_tokens": 3119, "total_tokens": 3428, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 64, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 812, "cached_tokens": 1751, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 812, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 812, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "bb46842974c975096820f832925a0e58ee921c62fb1ab14a89346dd0f1cadeb8", "csv_sha256": "7f14a532391550c20ed016944bb1393ad019cc04cf19e39d880b93627ca4492e"} +{"instance_id": "local055", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH customer_artist_spending AS (\n SELECT a.ArtistId,\n i.CustomerId,\n SUM(ii.UnitPrice * ii.Quantity) AS spending\n FROM invoice_items AS ii\n JOIN invoices AS i ON i.InvoiceId = ii.InvoiceId\n JOIN tracks AS t ON t.TrackId = ii.TrackId\n JOIN albums AS a ON a.AlbumId = t.AlbumId\n GROUP BY a.ArtistId, i.CustomerId\n), artist_sales AS (\n SELECT ar.ArtistId,\n ar.Name,\n ROUND(SUM(cas.spending), 2) AS total_sales\n FROM customer_artist_spending AS cas\n JOIN artists AS ar ON ar.ArtistId = cas.ArtistId\n GROUP BY ar.ArtistId, ar.Name\n), selected_artists AS (\n SELECT (\n SELECT ArtistId\n FROM artist_sales\n ORDER BY total_sales DESC, Name ASC, ArtistId ASC\n LIMIT 1\n ) AS top_artist_id,\n (\n SELECT ArtistId\n FROM artist_sales\n ORDER BY total_sales ASC, Name ASC, ArtistId ASC\n LIMIT 1\n ) AS bottom_artist_id\n)\nSELECT ABS(\n AVG(CASE WHEN cas.ArtistId = sa.top_artist_id THEN cas.spending END) -\n AVG(CASE WHEN cas.ArtistId = sa.bottom_artist_id THEN cas.spending END)\n ) AS absolute_average_spending_difference\nFROM customer_artist_spending AS cas\nJOIN selected_artists AS sa\n ON cas.ArtistId IN (sa.top_artist_id, sa.bottom_artist_id);\n```", "rows": 1, "sql": "WITH customer_artist_spending AS (\n SELECT a.ArtistId,\n i.CustomerId,\n SUM(ii.UnitPrice * ii.Quantity) AS spending\n FROM invoice_items AS ii\n JOIN invoices AS i ON i.InvoiceId = ii.InvoiceId\n JOIN tracks AS t ON t.TrackId = ii.TrackId\n JOIN albums AS a ON a.AlbumId = t.AlbumId\n GROUP BY a.ArtistId, i.CustomerId\n), artist_sales AS (\n SELECT ar.ArtistId,\n ar.Name,\n ROUND(SUM(cas.spending), 2) AS total_sales\n FROM customer_artist_spending AS cas\n JOIN artists AS ar ON ar.ArtistId = cas.ArtistId\n GROUP BY ar.ArtistId, ar.Name\n), selected_artists AS (\n SELECT (\n SELECT ArtistId\n FROM artist_sales\n ORDER BY total_sales DESC, Name ASC, ArtistId ASC\n LIMIT 1\n ) AS top_artist_id,\n (\n SELECT ArtistId\n FROM artist_sales\n ORDER BY total_sales ASC, Name ASC, ArtistId ASC\n LIMIT 1\n ) AS bottom_artist_id\n)\nSELECT ABS(\n AVG(CASE WHEN cas.ArtistId = sa.top_artist_id THEN cas.spending END) -\n AVG(CASE WHEN cas.ArtistId = sa.bottom_artist_id THEN cas.spending END)\n ) AS absolute_average_spending_difference\nFROM customer_artist_spending AS cas\nJOIN selected_artists AS sa\n ON cas.ArtistId IN (sa.top_artist_id, sa.bottom_artist_id);", "seconds": 26.415902000037022, "calls": [{"seconds": 3.4435936249792576, "usage": {"completion_tokens": 126, "prompt_tokens": 1695, "total_tokens": 1821, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1139, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1139, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1139, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.766390249948017, "usage": {"completion_tokens": 604, "prompt_tokens": 2298, "total_tokens": 2902, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 238, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 603, "cached_tokens": 1139, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 603, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 603, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.179940000060014, "usage": {"completion_tokens": 570, "prompt_tokens": 3270, "total_tokens": 3840, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 228, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 972, "cached_tokens": 1742, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 972, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 972, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9a72d48ff3ec2628f786a82a13ee7c91e8524d4adb3510893918d21f2e2def88", "csv_sha256": "e9ffcbfc92d3a7279a885a3a853a717f1b2e11f0cab5332a4d52b1f11190d948"} +{"instance_id": "local056", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH monthly_payments AS (\n SELECT customer_id,\n CAST(strftime('%Y', payment_date) AS INTEGER) * 12\n + CAST(strftime('%m', payment_date) AS INTEGER) AS month_number,\n SUM(CAST(ROUND(amount * 100) AS INTEGER)) AS total_cents\n FROM payment\n GROUP BY customer_id, month_number\n), customer_changes AS (\n SELECT curr.customer_id,\n AVG(curr.total_cents - prev.total_cents) AS avg_monthly_change\n FROM monthly_payments AS curr\n JOIN monthly_payments AS prev\n ON prev.customer_id = curr.customer_id\n AND prev.month_number = curr.month_number - 1\n GROUP BY curr.customer_id\n), ranked_customers AS (\n SELECT customer_id,\n DENSE_RANK() OVER (ORDER BY avg_monthly_change DESC) AS change_rank\n FROM customer_changes\n)\nSELECT c.first_name || ' ' || c.last_name AS full_name\nFROM ranked_customers AS r\nJOIN customer AS c ON c.customer_id = r.customer_id\nWHERE r.change_rank = 1;\n```", "rows": 1, "sql": "WITH monthly_payments AS (\n SELECT customer_id,\n CAST(strftime('%Y', payment_date) AS INTEGER) * 12\n + CAST(strftime('%m', payment_date) AS INTEGER) AS month_number,\n SUM(CAST(ROUND(amount * 100) AS INTEGER)) AS total_cents\n FROM payment\n GROUP BY customer_id, month_number\n), customer_changes AS (\n SELECT curr.customer_id,\n AVG(curr.total_cents - prev.total_cents) AS avg_monthly_change\n FROM monthly_payments AS curr\n JOIN monthly_payments AS prev\n ON prev.customer_id = curr.customer_id\n AND prev.month_number = curr.month_number - 1\n GROUP BY curr.customer_id\n), ranked_customers AS (\n SELECT customer_id,\n DENSE_RANK() OVER (ORDER BY avg_monthly_change DESC) AS change_rank\n FROM customer_changes\n)\nSELECT c.first_name || ' ' || c.last_name AS full_name\nFROM ranked_customers AS r\nJOIN customer AS c ON c.customer_id = r.customer_id\nWHERE r.change_rank = 1;", "seconds": 25.073047125013545, "calls": [{"seconds": 2.9237520419992507, "usage": {"completion_tokens": 64, "prompt_tokens": 1651, "total_tokens": 1715, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1066, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1066, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1066, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 15.027913540950976, "usage": {"completion_tokens": 739, "prompt_tokens": 1915, "total_tokens": 2654, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 479, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 264, "cached_tokens": 1066, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 264, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 264, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.080436749965884, "usage": {"completion_tokens": 347, "prompt_tokens": 2918, "total_tokens": 3265, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 104, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1003, "cached_tokens": 1330, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1003, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1003, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "619cc21a473d249045f8c88018afe885fa4bd6c530403d38f1ea31cbaa41a89a", "csv_sha256": "41f872475c3b04689319a165a2b38316d5c946f606dbd291d40892b7de618f73"} +{"instance_id": "local058", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH segment_counts AS (\n SELECT p.segment,\n COUNT(DISTINCT CASE WHEN s.fiscal_year = 2020 THEN s.product_code END) AS unique_products_2020,\n COUNT(DISTINCT CASE WHEN s.fiscal_year = 2021 THEN s.product_code END) AS unique_products_2021\n FROM hardware_dim_product AS p\n LEFT JOIN hardware_fact_sales_monthly AS s\n ON s.product_code = p.product_code\n AND s.fiscal_year IN (2020, 2021)\n GROUP BY p.segment\n)\nSELECT segment, unique_products_2020\nFROM segment_counts\nORDER BY 100.0 * (unique_products_2021 - unique_products_2020)\n / NULLIF(unique_products_2020, 0) DESC,\n segment;\n```", "rows": 6, "sql": "WITH segment_counts AS (\n SELECT p.segment,\n COUNT(DISTINCT CASE WHEN s.fiscal_year = 2020 THEN s.product_code END) AS unique_products_2020,\n COUNT(DISTINCT CASE WHEN s.fiscal_year = 2021 THEN s.product_code END) AS unique_products_2021\n FROM hardware_dim_product AS p\n LEFT JOIN hardware_fact_sales_monthly AS s\n ON s.product_code = p.product_code\n AND s.fiscal_year IN (2020, 2021)\n GROUP BY p.segment\n)\nSELECT segment, unique_products_2020\nFROM segment_counts\nORDER BY 100.0 * (unique_products_2021 - unique_products_2020)\n / NULLIF(unique_products_2020, 0) DESC,\n segment;", "seconds": 18.768895625020377, "calls": [{"seconds": 3.262635082937777, "usage": {"completion_tokens": 70, "prompt_tokens": 1698, "total_tokens": 1768, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1091, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1091, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1091, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.113244874984957, "usage": {"completion_tokens": 407, "prompt_tokens": 1890, "total_tokens": 2297, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 213, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 192, "cached_tokens": 1091, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 192, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 192, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.716904500033706, "usage": {"completion_tokens": 191, "prompt_tokens": 2528, "total_tokens": 2719, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 13, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 638, "cached_tokens": 1283, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 638, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 638, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d54bdd32d062beffa9c9a3716d276cb4da1a8d6fb6c89de86d5897860c9d9616", "csv_sha256": "a064820dc807c795c695c9204c19f99e077c74b37fe6b52610205ba99b251624"} +{"instance_id": "local059", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH product_totals AS (\n SELECT p.division, p.product_code, SUM(s.sold_quantity) AS total_quantity_sold\n FROM hardware_fact_sales_monthly AS s\n JOIN hardware_dim_product AS p ON p.product_code = s.product_code\n WHERE s.date >= '2021-01-01' AND s.date < '2022-01-01'\n GROUP BY p.division, p.product_code\n), ranked_products AS (\n SELECT total_quantity_sold,\n ROW_NUMBER() OVER (\n PARTITION BY division\n ORDER BY total_quantity_sold DESC, product_code\n ) AS sales_rank\n FROM product_totals\n)\nSELECT AVG(total_quantity_sold) AS overall_average_quantity_sold\nFROM ranked_products\nWHERE sales_rank <= 3;\n```", "rows": 1, "sql": "WITH product_totals AS (\n SELECT p.division, p.product_code, SUM(s.sold_quantity) AS total_quantity_sold\n FROM hardware_fact_sales_monthly AS s\n JOIN hardware_dim_product AS p ON p.product_code = s.product_code\n WHERE s.date >= '2021-01-01' AND s.date < '2022-01-01'\n GROUP BY p.division, p.product_code\n), ranked_products AS (\n SELECT total_quantity_sold,\n ROW_NUMBER() OVER (\n PARTITION BY division\n ORDER BY total_quantity_sold DESC, product_code\n ) AS sales_rank\n FROM product_totals\n)\nSELECT AVG(total_quantity_sold) AS overall_average_quantity_sold\nFROM ranked_products\nWHERE sales_rank <= 3;", "seconds": 21.18044558307156, "calls": [{"seconds": 2.7553054169984534, "usage": {"completion_tokens": 70, "prompt_tokens": 1688, "total_tokens": 1758, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1081, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1081, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1081, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.43318258295767, "usage": {"completion_tokens": 211, "prompt_tokens": 1880, "total_tokens": 2091, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 50, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 192, "cached_tokens": 1081, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 192, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 192, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.800660167005844, "usage": {"completion_tokens": 323, "prompt_tokens": 2294, "total_tokens": 2617, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 134, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 414, "cached_tokens": 1273, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 414, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 414, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.846678499947302, "usage": {"completion_tokens": 200, "prompt_tokens": 2817, "total_tokens": 3017, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 26, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 523, "cached_tokens": 1687, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 523, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 523, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1b5e426c626ce551d1ceb3708615df4145fa677ce9414d3ddadc91e47ea31c46", "csv_sha256": "0f4dea29469666e7d668fd75eaf0efe4799265dd31821e5938d6e1dde720ad42"} +{"instance_id": "local060", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH city_product_sales AS (\n SELECT c.cust_state_province_id,\n c.cust_city_id,\n s.prod_id,\n SUM(CASE WHEN t.calendar_year = 2019 THEN s.amount_sold ELSE 0.0 END) AS sales_2019,\n SUM(CASE WHEN t.calendar_year = 2020 THEN s.amount_sold ELSE 0.0 END) AS sales_2020\n FROM sales AS s\n JOIN customers AS c ON c.cust_id = s.cust_id\n JOIN countries AS co ON co.country_id = c.country_id\n JOIN times AS t ON t.time_id = s.time_id\n JOIN promotions AS pr ON pr.promo_id = s.promo_id\n WHERE co.country_iso_code = 'US'\n AND pr.promo_name = 'NO PROMOTION #'\n AND t.calendar_quarter_number = 4\n AND t.calendar_year IN (2019, 2020)\n GROUP BY c.cust_state_province_id, c.cust_city_id, s.prod_id\n), qualifying_cities AS (\n SELECT cust_state_province_id, cust_city_id\n FROM city_product_sales\n GROUP BY cust_state_province_id, cust_city_id\n HAVING SUM(sales_2019) > 0\n AND SUM(sales_2020) >= 1.20 * SUM(sales_2019)\n), product_sales AS (\n SELECT cps.prod_id,\n SUM(cps.sales_2019) AS sales_2019,\n SUM(cps.sales_2020) AS sales_2020\n FROM city_product_sales AS cps\n JOIN qualifying_cities AS qc\n ON qc.cust_state_province_id = cps.cust_state_province_id\n AND qc.cust_city_id = cps.cust_city_id\n GROUP BY cps.prod_id\n), ranked_shares AS (\n SELECT prod_id,\n NTILE(5) OVER (ORDER BY sales_2019 + sales_2020 DESC, prod_id) AS sales_quintile,\n sales_2019 / NULLIF(SUM(sales_2019) OVER (), 0) AS share_q4_2019,\n sales_2020 / NULLIF(SUM(sales_2020) OVER (), 0) AS share_q4_2020\n FROM product_sales\n)\nSELECT p.prod_name,\n r.share_q4_2019,\n r.share_q4_2020,\n r.share_q4_2020 - r.share_q4_2019 AS share_change\nFROM ranked_shares AS r\nJOIN products AS p ON p.prod_id = r.prod_id\nWHERE r.sales_quintile = 1\nORDER BY share_change DESC, r.prod_id;\n```", "rows": 4, "sql": "WITH city_product_sales AS (\n SELECT c.cust_state_province_id,\n c.cust_city_id,\n s.prod_id,\n SUM(CASE WHEN t.calendar_year = 2019 THEN s.amount_sold ELSE 0.0 END) AS sales_2019,\n SUM(CASE WHEN t.calendar_year = 2020 THEN s.amount_sold ELSE 0.0 END) AS sales_2020\n FROM sales AS s\n JOIN customers AS c ON c.cust_id = s.cust_id\n JOIN countries AS co ON co.country_id = c.country_id\n JOIN times AS t ON t.time_id = s.time_id\n JOIN promotions AS pr ON pr.promo_id = s.promo_id\n WHERE co.country_iso_code = 'US'\n AND pr.promo_name = 'NO PROMOTION #'\n AND t.calendar_quarter_number = 4\n AND t.calendar_year IN (2019, 2020)\n GROUP BY c.cust_state_province_id, c.cust_city_id, s.prod_id\n), qualifying_cities AS (\n SELECT cust_state_province_id, cust_city_id\n FROM city_product_sales\n GROUP BY cust_state_province_id, cust_city_id\n HAVING SUM(sales_2019) > 0\n AND SUM(sales_2020) >= 1.20 * SUM(sales_2019)\n), product_sales AS (\n SELECT cps.prod_id,\n SUM(cps.sales_2019) AS sales_2019,\n SUM(cps.sales_2020) AS sales_2020\n FROM city_product_sales AS cps\n JOIN qualifying_cities AS qc\n ON qc.cust_state_province_id = cps.cust_state_province_id\n AND qc.cust_city_id = cps.cust_city_id\n GROUP BY cps.prod_id\n), ranked_shares AS (\n SELECT prod_id,\n NTILE(5) OVER (ORDER BY sales_2019 + sales_2020 DESC, prod_id) AS sales_quintile,\n sales_2019 / NULLIF(SUM(sales_2019) OVER (), 0) AS share_q4_2019,\n sales_2020 / NULLIF(SUM(sales_2020) OVER (), 0) AS share_q4_2020\n FROM product_sales\n)\nSELECT p.prod_name,\n r.share_q4_2019,\n r.share_q4_2020,\n r.share_q4_2020 - r.share_q4_2019 AS share_change\nFROM ranked_shares AS r\nJOIN products AS p ON p.prod_id = r.prod_id\nWHERE r.sales_quintile = 1\nORDER BY share_change DESC, r.prod_id;", "seconds": 43.59057183400728, "calls": [{"seconds": 3.592014125082642, "usage": {"completion_tokens": 125, "prompt_tokens": 1743, "total_tokens": 1868, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1176, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1176, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1176, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.731583791901357, "usage": {"completion_tokens": 258, "prompt_tokens": 2972, "total_tokens": 3230, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 241, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1229, "cached_tokens": 1176, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1229, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1229, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.719639166956767, "usage": {"completion_tokens": 343, "prompt_tokens": 3299, "total_tokens": 3642, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 37, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 327, "cached_tokens": 2405, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 327, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 327, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 14.574194083106704, "usage": {"completion_tokens": 908, "prompt_tokens": 4141, "total_tokens": 5049, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 288, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 842, "cached_tokens": 2732, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 842, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 842, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.402510417043231, "usage": {"completion_tokens": 618, "prompt_tokens": 5822, "total_tokens": 6440, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 28, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1681, "cached_tokens": 3574, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1681, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1681, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d8a1d1ab6a70e6f7afc426e680fe3d4868206df6ff58e455e1e2974c4aaf25e5", "csv_sha256": "ad2e6db00ffdbbc2085200bc3dd8dbdfde19505553f76560f9304fe439761dba"} +{"instance_id": "local061", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH monthly_sales AS (\n SELECT\n s.prod_id,\n co.country_name AS country,\n t.calendar_year AS sales_year,\n t.calendar_month_number AS month,\n SUM(s.amount_sold) AS sales_amount\n FROM sales AS s\n JOIN customers AS cu ON cu.cust_id = s.cust_id\n JOIN countries AS co ON co.country_id = cu.country_id\n JOIN times AS t ON t.time_id = s.time_id\n JOIN promotions AS p ON p.promo_id = s.promo_id\n JOIN channels AS ch ON ch.channel_id = s.channel_id\n WHERE co.country_name = 'France'\n AND p.promo_total_id = 1\n AND ch.channel_total_id = 1\n AND t.calendar_year BETWEEN 2019 AND 2021\n GROUP BY s.prod_id, co.country_name, t.calendar_year, t.calendar_month_number\n), projections AS (\n SELECT\n target.country,\n target.month,\n y20.sales_amount +\n ((y20.sales_amount - y19.sales_amount) / NULLIF(y19.sales_amount, 0))\n * y20.sales_amount AS projected_sales\n FROM monthly_sales AS target\n LEFT JOIN monthly_sales AS y19\n ON y19.prod_id = target.prod_id\n AND y19.country = target.country\n AND y19.month = target.month\n AND y19.sales_year = 2019\n LEFT JOIN monthly_sales AS y20\n ON y20.prod_id = target.prod_id\n AND y20.country = target.country\n AND y20.month = target.month\n AND y20.sales_year = 2020\n WHERE target.sales_year = 2021\n)\nSELECT\n p.month,\n ROUND(AVG(p.projected_sales * COALESCE(c.to_us, 1.0)), 2) AS avg_projected_sales_usd\nFROM projections AS p\nLEFT JOIN currency AS c\n ON c.country = p.country\n AND c.year = 2021\n AND c.month = p.month\nGROUP BY p.month\nORDER BY p.month;\n```", "rows": 12, "sql": "WITH monthly_sales AS (\n SELECT\n s.prod_id,\n co.country_name AS country,\n t.calendar_year AS sales_year,\n t.calendar_month_number AS month,\n SUM(s.amount_sold) AS sales_amount\n FROM sales AS s\n JOIN customers AS cu ON cu.cust_id = s.cust_id\n JOIN countries AS co ON co.country_id = cu.country_id\n JOIN times AS t ON t.time_id = s.time_id\n JOIN promotions AS p ON p.promo_id = s.promo_id\n JOIN channels AS ch ON ch.channel_id = s.channel_id\n WHERE co.country_name = 'France'\n AND p.promo_total_id = 1\n AND ch.channel_total_id = 1\n AND t.calendar_year BETWEEN 2019 AND 2021\n GROUP BY s.prod_id, co.country_name, t.calendar_year, t.calendar_month_number\n), projections AS (\n SELECT\n target.country,\n target.month,\n y20.sales_amount +\n ((y20.sales_amount - y19.sales_amount) / NULLIF(y19.sales_amount, 0))\n * y20.sales_amount AS projected_sales\n FROM monthly_sales AS target\n LEFT JOIN monthly_sales AS y19\n ON y19.prod_id = target.prod_id\n AND y19.country = target.country\n AND y19.month = target.month\n AND y19.sales_year = 2019\n LEFT JOIN monthly_sales AS y20\n ON y20.prod_id = target.prod_id\n AND y20.country = target.country\n AND y20.month = target.month\n AND y20.sales_year = 2020\n WHERE target.sales_year = 2021\n)\nSELECT\n p.month,\n ROUND(AVG(p.projected_sales * COALESCE(c.to_us, 1.0)), 2) AS avg_projected_sales_usd\nFROM projections AS p\nLEFT JOIN currency AS c\n ON c.country = p.country\n AND c.year = 2021\n AND c.month = p.month\nGROUP BY p.month\nORDER BY p.month;", "seconds": 31.32162004103884, "calls": [{"seconds": 3.6119102499214932, "usage": {"completion_tokens": 141, "prompt_tokens": 2280, "total_tokens": 2421, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1713, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1713, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1713, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.646797540946864, "usage": {"completion_tokens": 599, "prompt_tokens": 3594, "total_tokens": 4193, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 93, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1314, "cached_tokens": 1713, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1314, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1314, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.087995916954242, "usage": {"completion_tokens": 593, "prompt_tokens": 5686, "total_tokens": 6279, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 114, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 2092, "cached_tokens": 3027, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 2092, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 2092, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.746582583989948, "usage": {"completion_tokens": 482, "prompt_tokens": 6853, "total_tokens": 7335, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 27, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1167, "cached_tokens": 5119, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1167, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1167, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "3cf5f56f0eab5b3e3ab35eb17624d42748c984defac3fc3ca0893a87140b27b7", "csv_sha256": "8da409142ab778656c31e8bdc5c0d7b22304c2df54235c0d71b1feffc0dc7852"} +{"instance_id": "local063", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH scoped_sales AS (\n SELECT c.cust_city_id, s.prod_id, t.calendar_quarter_id, s.amount_sold\n FROM sales AS s\n JOIN times AS t ON t.time_id = s.time_id\n JOIN customers AS c ON c.cust_id = s.cust_id\n JOIN countries AS co ON co.country_id = c.country_id\n WHERE co.country_iso_code = 'US'\n AND s.promo_id = 999\n AND t.calendar_quarter_id IN (1772, 1776)\n),\ncity_totals AS (\n SELECT cust_city_id,\n SUM(CASE WHEN calendar_quarter_id = 1772 THEN amount_sold ELSE 0 END) AS sales_2019,\n SUM(CASE WHEN calendar_quarter_id = 1776 THEN amount_sold ELSE 0 END) AS sales_2020\n FROM scoped_sales\n GROUP BY cust_city_id\n),\nproduct_totals AS (\n SELECT s.prod_id,\n SUM(CASE WHEN s.calendar_quarter_id = 1772 THEN s.amount_sold ELSE 0 END) AS sales_2019,\n SUM(CASE WHEN s.calendar_quarter_id = 1776 THEN s.amount_sold ELSE 0 END) AS sales_2020\n FROM scoped_sales AS s\n JOIN city_totals AS c ON c.cust_city_id = s.cust_city_id\n WHERE 1.0 * c.sales_2020 / NULLIF(c.sales_2019, 0) >= 1.2\n GROUP BY s.prod_id\n),\nranked_products AS (\n SELECT prod_id, sales_2019, sales_2020,\n SUM(sales_2019) OVER () AS total_2019,\n SUM(sales_2020) OVER () AS total_2020,\n RANK() OVER (ORDER BY sales_2019 + sales_2020 DESC) AS sales_rank,\n COUNT(*) OVER () AS product_count\n FROM product_totals\n)\nSELECT p.prod_name\nFROM ranked_products AS r\nJOIN products AS p ON p.prod_id = r.prod_id\nWHERE r.sales_rank <= (r.product_count + 4) / 5\n AND r.total_2019 <> 0\n AND r.total_2020 <> 0\nORDER BY ABS(100.0 * (r.sales_2020 / r.total_2020 - r.sales_2019 / r.total_2019)),\n r.prod_id\nLIMIT 1;\n```", "rows": 1, "sql": "WITH scoped_sales AS (\n SELECT c.cust_city_id, s.prod_id, t.calendar_quarter_id, s.amount_sold\n FROM sales AS s\n JOIN times AS t ON t.time_id = s.time_id\n JOIN customers AS c ON c.cust_id = s.cust_id\n JOIN countries AS co ON co.country_id = c.country_id\n WHERE co.country_iso_code = 'US'\n AND s.promo_id = 999\n AND t.calendar_quarter_id IN (1772, 1776)\n),\ncity_totals AS (\n SELECT cust_city_id,\n SUM(CASE WHEN calendar_quarter_id = 1772 THEN amount_sold ELSE 0 END) AS sales_2019,\n SUM(CASE WHEN calendar_quarter_id = 1776 THEN amount_sold ELSE 0 END) AS sales_2020\n FROM scoped_sales\n GROUP BY cust_city_id\n),\nproduct_totals AS (\n SELECT s.prod_id,\n SUM(CASE WHEN s.calendar_quarter_id = 1772 THEN s.amount_sold ELSE 0 END) AS sales_2019,\n SUM(CASE WHEN s.calendar_quarter_id = 1776 THEN s.amount_sold ELSE 0 END) AS sales_2020\n FROM scoped_sales AS s\n JOIN city_totals AS c ON c.cust_city_id = s.cust_city_id\n WHERE 1.0 * c.sales_2020 / NULLIF(c.sales_2019, 0) >= 1.2\n GROUP BY s.prod_id\n),\nranked_products AS (\n SELECT prod_id, sales_2019, sales_2020,\n SUM(sales_2019) OVER () AS total_2019,\n SUM(sales_2020) OVER () AS total_2020,\n RANK() OVER (ORDER BY sales_2019 + sales_2020 DESC) AS sales_rank,\n COUNT(*) OVER () AS product_count\n FROM product_totals\n)\nSELECT p.prod_name\nFROM ranked_products AS r\nJOIN products AS p ON p.prod_id = r.prod_id\nWHERE r.sales_rank <= (r.product_count + 4) / 5\n AND r.total_2019 <> 0\n AND r.total_2020 <> 0\nORDER BY ABS(100.0 * (r.sales_2020 / r.total_2020 - r.sales_2019 / r.total_2019)),\n r.prod_id\nLIMIT 1;", "seconds": 47.13547604205087, "calls": [{"seconds": 3.377966666012071, "usage": {"completion_tokens": 109, "prompt_tokens": 1702, "total_tokens": 1811, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1135, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1135, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1135, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 15.639622832997702, "usage": {"completion_tokens": 659, "prompt_tokens": 2806, "total_tokens": 3465, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 510, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1104, "cached_tokens": 1135, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1104, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1104, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 15.06874370900914, "usage": {"completion_tokens": 945, "prompt_tokens": 3687, "total_tokens": 4632, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 376, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 881, "cached_tokens": 2239, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 881, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 881, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.215764957945794, "usage": {"completion_tokens": 535, "prompt_tokens": 5185, "total_tokens": 5720, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1498, "cached_tokens": 3120, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1498, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1498, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "cdef8311b328d11d7b5e86e18cf341c108ba337ecf49c26a00eeb2661fee7af3", "csv_sha256": "388d5f5f61575848ed38370015765e5e641e30dbd776655c5ec21b38f1fd547f"} +{"instance_id": "local065", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COALESCE(SUM(\n CASE p.pizza_name\n WHEN 'Meatlovers' THEN 12\n WHEN 'Vegetarian' THEN 10\n END\n + CASE\n WHEN TRIM(COALESCE(c.extras, '')) = '' THEN 0\n ELSE 1 + LENGTH(c.extras) - LENGTH(REPLACE(c.extras, ',', ''))\n END\n), 0) AS total_income\nFROM pizza_clean_customer_orders AS c\nJOIN pizza_names AS p ON p.pizza_id = c.pizza_id\nWHERE EXISTS (\n SELECT 1\n FROM pizza_clean_runner_orders AS r\n WHERE r.order_id = c.order_id\n AND r.cancellation IS NULL\n);\n```", "rows": 1, "sql": "SELECT COALESCE(SUM(\n CASE p.pizza_name\n WHEN 'Meatlovers' THEN 12\n WHEN 'Vegetarian' THEN 10\n END\n + CASE\n WHEN TRIM(COALESCE(c.extras, '')) = '' THEN 0\n ELSE 1 + LENGTH(c.extras) - LENGTH(REPLACE(c.extras, ',', ''))\n END\n), 0) AS total_income\nFROM pizza_clean_customer_orders AS c\nJOIN pizza_names AS p ON p.pizza_id = c.pizza_id\nWHERE EXISTS (\n SELECT 1\n FROM pizza_clean_runner_orders AS r\n WHERE r.order_id = c.order_id\n AND r.cancellation IS NULL\n);", "seconds": 19.094653957989067, "calls": [{"seconds": 3.307745791040361, "usage": {"completion_tokens": 107, "prompt_tokens": 1692, "total_tokens": 1799, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1095, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1095, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1095, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5850548750022426, "usage": {"completion_tokens": 123, "prompt_tokens": 1992, "total_tokens": 2115, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 300, "cached_tokens": 1095, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 300, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 300, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.782473249942996, "usage": {"completion_tokens": 306, "prompt_tokens": 2701, "total_tokens": 3007, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 129, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 709, "cached_tokens": 1395, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 709, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 709, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.40697899996303, "usage": {"completion_tokens": 162, "prompt_tokens": 3188, "total_tokens": 3350, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 487, "cached_tokens": 2104, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 487, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 487, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "43a843d4ca2dfcb300d10d10bf523c82f7ba76faa6e3c40d4183a5c36cc58dc8", "csv_sha256": "a763c14204b04edfc5542e12789ebea323ec9560c752afe47ce458d5ca0bd9f6"} +{"instance_id": "local066", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH delivered_pizzas AS (\n SELECT c.pizza_id, c.exclusions, c.extras\n FROM pizza_clean_customer_orders AS c\n WHERE EXISTS (\n SELECT 1\n FROM pizza_clean_runner_orders AS r\n WHERE r.order_id = c.order_id\n AND r.cancellation IS NULL\n )\n), ingredient_usage AS (\n SELECT base.value AS topping_id\n FROM delivered_pizzas AS p\n JOIN pizza_recipes AS r ON r.pizza_id = p.pizza_id\n CROSS JOIN json_each('[' || r.toppings || ']') AS base\n WHERE NOT EXISTS (\n SELECT 1\n FROM json_each('[' || COALESCE(p.exclusions, '') || ']') AS excluded\n WHERE excluded.value = base.value\n )\n UNION ALL\n SELECT extra.value AS topping_id\n FROM delivered_pizzas AS p\n CROSS JOIN json_each('[' || COALESCE(p.extras, '') || ']') AS extra\n)\nSELECT t.topping_name AS name, COUNT(*) AS quantity\nFROM ingredient_usage AS u\nJOIN pizza_toppings AS t ON t.topping_id = u.topping_id\nGROUP BY t.topping_id, t.topping_name\nORDER BY name;\n```", "rows": 12, "sql": "WITH delivered_pizzas AS (\n SELECT c.pizza_id, c.exclusions, c.extras\n FROM pizza_clean_customer_orders AS c\n WHERE EXISTS (\n SELECT 1\n FROM pizza_clean_runner_orders AS r\n WHERE r.order_id = c.order_id\n AND r.cancellation IS NULL\n )\n), ingredient_usage AS (\n SELECT base.value AS topping_id\n FROM delivered_pizzas AS p\n JOIN pizza_recipes AS r ON r.pizza_id = p.pizza_id\n CROSS JOIN json_each('[' || r.toppings || ']') AS base\n WHERE NOT EXISTS (\n SELECT 1\n FROM json_each('[' || COALESCE(p.exclusions, '') || ']') AS excluded\n WHERE excluded.value = base.value\n )\n UNION ALL\n SELECT extra.value AS topping_id\n FROM delivered_pizzas AS p\n CROSS JOIN json_each('[' || COALESCE(p.extras, '') || ']') AS extra\n)\nSELECT t.topping_name AS name, COUNT(*) AS quantity\nFROM ingredient_usage AS u\nJOIN pizza_toppings AS t ON t.topping_id = u.topping_id\nGROUP BY t.topping_id, t.topping_name\nORDER BY name;", "seconds": 24.149723666952923, "calls": [{"seconds": 1.9287923750234768, "usage": {"completion_tokens": 15, "prompt_tokens": 1676, "total_tokens": 1691, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1079, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1079, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1079, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.9820027080131695, "usage": {"completion_tokens": 140, "prompt_tokens": 1787, "total_tokens": 1927, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 111, "cached_tokens": 1079, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 111, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 111, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.2605541669763625, "usage": {"completion_tokens": 196, "prompt_tokens": 2188, "total_tokens": 2384, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 401, "cached_tokens": 1190, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 401, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 401, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.72740266600158, "usage": {"completion_tokens": 472, "prompt_tokens": 3623, "total_tokens": 4095, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 181, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1435, "cached_tokens": 1591, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1435, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1435, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.223242333042435, "usage": {"completion_tokens": 271, "prompt_tokens": 4461, "total_tokens": 4732, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 838, "cached_tokens": 3026, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 838, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 838, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "13e42dab6eb3e7dbea176b1d6d17458ddfc368d4fc4aa59051f5e8d5a62da4c5", "csv_sha256": "9988967077e38e2e5e432810ee5dbbbc6b29a2fdf5aa0e26cf921980af0b7e3a"} +{"instance_id": "local067", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH customer_profits AS (\n SELECT p.cust_id,\n SUM(p.amount_sold - p.total_cost) AS december_profit\n FROM profits AS p\n JOIN customers AS c ON c.cust_id = p.cust_id\n JOIN countries AS co ON co.country_id = c.country_id\n WHERE co.country_name = 'Italy'\n AND p.time_id >= '2021-12-01'\n AND p.time_id < '2022-01-01'\n GROUP BY p.cust_id\n), tiered_customers AS (\n SELECT december_profit,\n NTILE(10) OVER (ORDER BY december_profit DESC, cust_id) AS tier\n FROM customer_profits\n)\nSELECT tier,\n MAX(december_profit) AS highest_profit,\n MIN(december_profit) AS lowest_profit\nFROM tiered_customers\nGROUP BY tier\nORDER BY tier;\n```", "rows": 10, "sql": "WITH customer_profits AS (\n SELECT p.cust_id,\n SUM(p.amount_sold - p.total_cost) AS december_profit\n FROM profits AS p\n JOIN customers AS c ON c.cust_id = p.cust_id\n JOIN countries AS co ON co.country_id = c.country_id\n WHERE co.country_name = 'Italy'\n AND p.time_id >= '2021-12-01'\n AND p.time_id < '2022-01-01'\n GROUP BY p.cust_id\n), tiered_customers AS (\n SELECT december_profit,\n NTILE(10) OVER (ORDER BY december_profit DESC, cust_id) AS tier\n FROM customer_profits\n)\nSELECT tier,\n MAX(december_profit) AS highest_profit,\n MIN(december_profit) AS lowest_profit\nFROM tiered_customers\nGROUP BY tier\nORDER BY tier;", "seconds": 19.938794667017646, "calls": [{"seconds": 3.209935541031882, "usage": {"completion_tokens": 94, "prompt_tokens": 1642, "total_tokens": 1736, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1075, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1075, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1075, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.655628417036496, "usage": {"completion_tokens": 384, "prompt_tokens": 2536, "total_tokens": 2920, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 170, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 894, "cached_tokens": 1075, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 894, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 894, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.287180624902248, "usage": {"completion_tokens": 193, "prompt_tokens": 3333, "total_tokens": 3526, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 797, "cached_tokens": 1969, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 797, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 797, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "bd7fb6aafcc429cc7e22b9bf62be9b4b2b44cf82aa7b8a5b6c57323b61085d65", "csv_sha256": "a487e0e350f592389e45567c13c79a42c5ee9c6fad6d8c1a1bc80041f3ca040f"} +{"instance_id": "local068", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH years(year) AS (\n VALUES (2021), (2022), (2023)\n), months(month) AS (\n VALUES (4), (5), (6)\n), monthly_counts AS (\n SELECT y.year, m.month, COUNT(c.insert_date) AS monthly_total\n FROM years AS y\n CROSS JOIN months AS m\n LEFT JOIN cities AS c\n ON c.insert_date >= printf('%04d-%02d-01', y.year, m.month)\n AND c.insert_date < printf('%04d-%02d-01', y.year, m.month + 1)\n GROUP BY y.year, m.month\n), running_totals AS (\n SELECT year, month, monthly_total,\n SUM(monthly_total) OVER (\n PARTITION BY month ORDER BY year\n ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW\n ) AS running_total\n FROM monthly_counts\n), prior_year AS (\n SELECT year, month, monthly_total, running_total,\n LAG(monthly_total) OVER (PARTITION BY month ORDER BY year) AS prev_monthly_total,\n LAG(running_total) OVER (PARTITION BY month ORDER BY year) AS prev_running_total\n FROM running_totals\n)\nSELECT year, month, monthly_total, running_total,\n ROUND(100.0 * (monthly_total - prev_monthly_total) /\n NULLIF(prev_monthly_total, 0), 2) AS monthly_yoy_growth_pct,\n ROUND(100.0 * (running_total - prev_running_total) /\n NULLIF(prev_running_total, 0), 2) AS running_yoy_growth_pct\nFROM prior_year\nWHERE year IN (2022, 2023)\nORDER BY year, month;\n```", "rows": 6, "sql": "WITH years(year) AS (\n VALUES (2021), (2022), (2023)\n), months(month) AS (\n VALUES (4), (5), (6)\n), monthly_counts AS (\n SELECT y.year, m.month, COUNT(c.insert_date) AS monthly_total\n FROM years AS y\n CROSS JOIN months AS m\n LEFT JOIN cities AS c\n ON c.insert_date >= printf('%04d-%02d-01', y.year, m.month)\n AND c.insert_date < printf('%04d-%02d-01', y.year, m.month + 1)\n GROUP BY y.year, m.month\n), running_totals AS (\n SELECT year, month, monthly_total,\n SUM(monthly_total) OVER (\n PARTITION BY month ORDER BY year\n ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW\n ) AS running_total\n FROM monthly_counts\n), prior_year AS (\n SELECT year, month, monthly_total, running_total,\n LAG(monthly_total) OVER (PARTITION BY month ORDER BY year) AS prev_monthly_total,\n LAG(running_total) OVER (PARTITION BY month ORDER BY year) AS prev_running_total\n FROM running_totals\n)\nSELECT year, month, monthly_total, running_total,\n ROUND(100.0 * (monthly_total - prev_monthly_total) /\n NULLIF(prev_monthly_total, 0), 2) AS monthly_yoy_growth_pct,\n ROUND(100.0 * (running_total - prev_running_total) /\n NULLIF(prev_running_total, 0), 2) AS running_yoy_growth_pct\nFROM prior_year\nWHERE year IN (2022, 2023)\nORDER BY year, month;", "seconds": 19.682351249968633, "calls": [{"seconds": 2.2464122499804944, "usage": {"completion_tokens": 19, "prompt_tokens": 1802, "total_tokens": 1821, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1223, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1223, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1223, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.757876083953306, "usage": {"completion_tokens": 580, "prompt_tokens": 1882, "total_tokens": 2462, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 173, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 80, "cached_tokens": 1223, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 80, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 80, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.5880548330023885, "usage": {"completion_tokens": 401, "prompt_tokens": 3029, "total_tokens": 3430, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 22, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1147, "cached_tokens": 1303, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1147, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1147, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "159380c6b6de1cd3847bdcb7212fbd96648e1df9cc877676c55a460c76de1160", "csv_sha256": "779921632ee2535109d26b8f58735469c8e076e03e2a1cd8b434720597c6b485"} +{"instance_id": "local070", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH july_entries AS (\n SELECT date(insert_date) AS entry_date, city_id, city_name\n FROM cities\n WHERE country_code_2 = 'cn'\n AND date(insert_date) >= '2021-07-01'\n AND date(insert_date) < '2021-08-01'\n), ranked_entries AS (\n SELECT entry_date, city_name,\n ROW_NUMBER() OVER (PARTITION BY entry_date ORDER BY city_id, city_name) AS daily_rank\n FROM july_entries\n), streak_days AS (\n SELECT entry_date, city_name,\n julianday(entry_date) - ROW_NUMBER() OVER (ORDER BY entry_date) AS streak_id\n FROM ranked_entries\n WHERE daily_rank = 1\n), streak_lengths AS (\n SELECT entry_date, city_name,\n COUNT(*) OVER (PARTITION BY streak_id) AS streak_length\n FROM streak_days\n), extremes AS (\n SELECT MIN(streak_length) AS shortest, MAX(streak_length) AS longest\n FROM streak_lengths\n)\nSELECT entry_date AS insert_date,\n upper(substr(city_name, 1, 1)) || lower(substr(city_name, 2)) AS city_name\nFROM streak_lengths\nCROSS JOIN extremes\nWHERE streak_length IN (shortest, longest)\nORDER BY entry_date;\n```", "rows": 15, "sql": "WITH july_entries AS (\n SELECT date(insert_date) AS entry_date, city_id, city_name\n FROM cities\n WHERE country_code_2 = 'cn'\n AND date(insert_date) >= '2021-07-01'\n AND date(insert_date) < '2021-08-01'\n), ranked_entries AS (\n SELECT entry_date, city_name,\n ROW_NUMBER() OVER (PARTITION BY entry_date ORDER BY city_id, city_name) AS daily_rank\n FROM july_entries\n), streak_days AS (\n SELECT entry_date, city_name,\n julianday(entry_date) - ROW_NUMBER() OVER (ORDER BY entry_date) AS streak_id\n FROM ranked_entries\n WHERE daily_rank = 1\n), streak_lengths AS (\n SELECT entry_date, city_name,\n COUNT(*) OVER (PARTITION BY streak_id) AS streak_length\n FROM streak_days\n), extremes AS (\n SELECT MIN(streak_length) AS shortest, MAX(streak_length) AS longest\n FROM streak_lengths\n)\nSELECT entry_date AS insert_date,\n upper(substr(city_name, 1, 1)) || lower(substr(city_name, 2)) AS city_name\nFROM streak_lengths\nCROSS JOIN extremes\nWHERE streak_length IN (shortest, longest)\nORDER BY entry_date;", "seconds": 19.50301320804283, "calls": [{"seconds": 1.9161730830091983, "usage": {"completion_tokens": 15, "prompt_tokens": 1727, "total_tokens": 1742, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1148, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1148, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1148, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.191021666978486, "usage": {"completion_tokens": 52, "prompt_tokens": 1818, "total_tokens": 1870, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 91, "cached_tokens": 1148, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 91, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 91, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.076168500003405, "usage": {"completion_tokens": 421, "prompt_tokens": 1997, "total_tokens": 2418, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 117, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 179, "cached_tokens": 1239, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 179, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 179, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.299979500006884, "usage": {"completion_tokens": 319, "prompt_tokens": 2883, "total_tokens": 3202, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 38, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 886, "cached_tokens": 1418, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 886, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 886, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e56e93d30e0fdf75050c7c61519d024dfc85f5746798cf29fa116b21b0251953", "csv_sha256": "f7f4e71035388f2f05dd14e3a1c470576777a885d219ad06e116840f7a093955"} +{"instance_id": "local071", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH city_days AS (\n SELECT DISTINCT country_code_2, DATE(insert_date) AS inserted_day\n FROM cities\n WHERE DATE(insert_date) >= '2022-06-01'\n AND DATE(insert_date) < '2022-07-01'\n AND LENGTH(country_code_2) = 2\n), streak_days AS (\n SELECT country_code_2,\n JULIANDAY(inserted_day) - ROW_NUMBER() OVER (\n PARTITION BY country_code_2 ORDER BY inserted_day\n ) AS streak_id\n FROM city_days\n), streaks AS (\n SELECT country_code_2, COUNT(*) AS streak_length\n FROM streak_days\n GROUP BY country_code_2, streak_id\n)\nSELECT DISTINCT country_code_2\nFROM streaks\nWHERE streak_length = (SELECT MAX(streak_length) FROM streaks)\nORDER BY country_code_2;\n```", "rows": 3, "sql": "WITH city_days AS (\n SELECT DISTINCT country_code_2, DATE(insert_date) AS inserted_day\n FROM cities\n WHERE DATE(insert_date) >= '2022-06-01'\n AND DATE(insert_date) < '2022-07-01'\n AND LENGTH(country_code_2) = 2\n), streak_days AS (\n SELECT country_code_2,\n JULIANDAY(inserted_day) - ROW_NUMBER() OVER (\n PARTITION BY country_code_2 ORDER BY inserted_day\n ) AS streak_id\n FROM city_days\n), streaks AS (\n SELECT country_code_2, COUNT(*) AS streak_length\n FROM streak_days\n GROUP BY country_code_2, streak_id\n)\nSELECT DISTINCT country_code_2\nFROM streaks\nWHERE streak_length = (SELECT MAX(streak_length) FROM streaks)\nORDER BY country_code_2;", "seconds": 17.30777837499045, "calls": [{"seconds": 2.2047080830670893, "usage": {"completion_tokens": 19, "prompt_tokens": 1664, "total_tokens": 1683, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1085, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1085, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1085, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.302492000046186, "usage": {"completion_tokens": 21, "prompt_tokens": 1744, "total_tokens": 1765, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 80, "cached_tokens": 1085, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 80, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 80, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.239442458958365, "usage": {"completion_tokens": 364, "prompt_tokens": 1833, "total_tokens": 2197, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 150, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 89, "cached_tokens": 1165, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 89, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 89, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.540116208023392, "usage": {"completion_tokens": 194, "prompt_tokens": 2416, "total_tokens": 2610, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 583, "cached_tokens": 1254, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 583, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 583, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "666b69aea1cb8a0d19c84e8f3207caeafafdaa6b350376b20f9906a5f893ee52", "csv_sha256": "d51170b8ea75e0f5ac9e8fe1e772a9531bfb96dbe118ddf03266fc5aa0d92bb4"} +{"instance_id": "local074", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE\nmonth_bounds AS (\n SELECT\n date(MIN(txn_date), 'start of month') AS first_month,\n date(MAX(txn_date), 'start of month') AS last_month\n FROM customer_transactions\n),\nmonths(month_start) AS (\n SELECT first_month\n FROM month_bounds\n WHERE first_month IS NOT NULL\n\n UNION ALL\n\n SELECT date(m.month_start, '+1 month')\n FROM months AS m\n CROSS JOIN month_bounds AS b\n WHERE m.month_start < b.last_month\n),\ncustomers AS (\n SELECT DISTINCT customer_id\n FROM customer_transactions\n),\nmonthly_transactions AS (\n SELECT\n customer_id,\n date(txn_date, 'start of month') AS month_start,\n SUM(CASE txn_type\n WHEN 'deposit' THEN txn_amount\n WHEN 'withdrawal' THEN -txn_amount\n WHEN 'purchase' THEN -txn_amount\n END) AS monthly_change\n FROM customer_transactions\n GROUP BY customer_id, date(txn_date, 'start of month')\n),\ncustomer_months AS (\n SELECT\n c.customer_id,\n m.month_start,\n COALESCE(t.monthly_change, 0) AS monthly_change\n FROM customers AS c\n CROSS JOIN months AS m\n LEFT JOIN monthly_transactions AS t\n ON t.customer_id = c.customer_id\n AND t.month_start = m.month_start\n)\nSELECT\n customer_id,\n date(month_start, '+1 month', '-1 day') AS month_end,\n monthly_change,\n SUM(monthly_change) OVER (\n PARTITION BY customer_id\n ORDER BY month_start\n ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW\n ) AS closing_balance\nFROM customer_months\nORDER BY customer_id, month_start;\n```", "rows": 2000, "sql": "WITH RECURSIVE\nmonth_bounds AS (\n SELECT\n date(MIN(txn_date), 'start of month') AS first_month,\n date(MAX(txn_date), 'start of month') AS last_month\n FROM customer_transactions\n),\nmonths(month_start) AS (\n SELECT first_month\n FROM month_bounds\n WHERE first_month IS NOT NULL\n\n UNION ALL\n\n SELECT date(m.month_start, '+1 month')\n FROM months AS m\n CROSS JOIN month_bounds AS b\n WHERE m.month_start < b.last_month\n),\ncustomers AS (\n SELECT DISTINCT customer_id\n FROM customer_transactions\n),\nmonthly_transactions AS (\n SELECT\n customer_id,\n date(txn_date, 'start of month') AS month_start,\n SUM(CASE txn_type\n WHEN 'deposit' THEN txn_amount\n WHEN 'withdrawal' THEN -txn_amount\n WHEN 'purchase' THEN -txn_amount\n END) AS monthly_change\n FROM customer_transactions\n GROUP BY customer_id, date(txn_date, 'start of month')\n),\ncustomer_months AS (\n SELECT\n c.customer_id,\n m.month_start,\n COALESCE(t.monthly_change, 0) AS monthly_change\n FROM customers AS c\n CROSS JOIN months AS m\n LEFT JOIN monthly_transactions AS t\n ON t.customer_id = c.customer_id\n AND t.month_start = m.month_start\n)\nSELECT\n customer_id,\n date(month_start, '+1 month', '-1 day') AS month_end,\n monthly_change,\n SUM(monthly_change) OVER (\n PARTITION BY customer_id\n ORDER BY month_start\n ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW\n ) AS closing_balance\nFROM customer_months\nORDER BY customer_id, month_start;", "seconds": 23.018822000012733, "calls": [{"seconds": 2.642416915972717, "usage": {"completion_tokens": 66, "prompt_tokens": 1710, "total_tokens": 1776, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1105, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1105, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1105, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.887811625027098, "usage": {"completion_tokens": 192, "prompt_tokens": 1888, "total_tokens": 2080, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 126, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 178, "cached_tokens": 1105, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 178, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 178, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.463436707970686, "usage": {"completion_tokens": 484, "prompt_tokens": 2253, "total_tokens": 2737, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 52, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 365, "cached_tokens": 1283, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 365, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 365, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.987803584081121, "usage": {"completion_tokens": 414, "prompt_tokens": 3350, "total_tokens": 3764, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 23, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1097, "cached_tokens": 1648, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1097, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1097, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "40398efc838c6067b0683aa2bc6ade19cbb898854b349491a4fd6537bd733985", "csv_sha256": "3303664cd02285e540ce6e157676415e171ee583ab7eac5856709f834a42d468"} +{"instance_id": "local075", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH purchase_visits AS (\n SELECT DISTINCT visit_id\n FROM shopping_cart_events\n WHERE event_type = 3\n)\nSELECT\n p.page_name AS product_name,\n COUNT(CASE WHEN e.event_type = 1 THEN 1 END) AS views,\n COUNT(CASE WHEN e.event_type = 2 THEN 1 END) AS cart_adds,\n COUNT(CASE WHEN e.event_type = 2 AND pv.visit_id IS NULL THEN 1 END) AS abandoned_cart_adds,\n COUNT(CASE WHEN e.event_type = 2 AND pv.visit_id IS NOT NULL THEN 1 END) AS purchases\nFROM shopping_cart_page_hierarchy AS p\nLEFT JOIN shopping_cart_events AS e\n ON e.page_id = p.page_id AND e.event_type IN (1, 2)\nLEFT JOIN purchase_visits AS pv\n ON pv.visit_id = e.visit_id\nWHERE p.page_id NOT IN (1, 2, 12, 13)\nGROUP BY p.page_id, p.page_name\nORDER BY p.page_id;\n```", "rows": 9, "sql": "WITH purchase_visits AS (\n SELECT DISTINCT visit_id\n FROM shopping_cart_events\n WHERE event_type = 3\n)\nSELECT\n p.page_name AS product_name,\n COUNT(CASE WHEN e.event_type = 1 THEN 1 END) AS views,\n COUNT(CASE WHEN e.event_type = 2 THEN 1 END) AS cart_adds,\n COUNT(CASE WHEN e.event_type = 2 AND pv.visit_id IS NULL THEN 1 END) AS abandoned_cart_adds,\n COUNT(CASE WHEN e.event_type = 2 AND pv.visit_id IS NOT NULL THEN 1 END) AS purchases\nFROM shopping_cart_page_hierarchy AS p\nLEFT JOIN shopping_cart_events AS e\n ON e.page_id = p.page_id AND e.event_type IN (1, 2)\nLEFT JOIN purchase_visits AS pv\n ON pv.visit_id = e.visit_id\nWHERE p.page_id NOT IN (1, 2, 12, 13)\nGROUP BY p.page_id, p.page_name\nORDER BY p.page_id;", "seconds": 29.79384541604668, "calls": [{"seconds": 3.5607379160355777, "usage": {"completion_tokens": 88, "prompt_tokens": 1729, "total_tokens": 1817, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1124, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1124, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1124, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.773522292030975, "usage": {"completion_tokens": 189, "prompt_tokens": 1967, "total_tokens": 2156, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 85, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 238, "cached_tokens": 1124, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 238, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 238, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.379835832980461, "usage": {"completion_tokens": 285, "prompt_tokens": 2382, "total_tokens": 2667, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 33, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 415, "cached_tokens": 1362, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 415, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 415, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.853479375015013, "usage": {"completion_tokens": 338, "prompt_tokens": 3138, "total_tokens": 3476, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 91, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 756, "cached_tokens": 1777, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 756, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 756, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.11399820796214, "usage": {"completion_tokens": 258, "prompt_tokens": 3889, "total_tokens": 4147, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 28, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 751, "cached_tokens": 2533, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 751, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 751, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "70f3469f945ff84017eed876b69c57bfedf36fd24cfc74bc4132fc312349e3e6", "csv_sha256": "5ae5a600c95f250b577c9932fc5a49171125216a5655aa41aa59292505939d41"} +{"instance_id": "local077", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH interest_monthly AS (\n SELECT printf('%04d-%02d-01', _year, _month) AS month_date,\n interest_id,\n AVG(1.0 * composition / NULLIF(index_value, 0)) AS index_composition\n FROM interest_metrics\n WHERE _year * 100 + _month BETWEEN 201807 AND 201908\n GROUP BY 1, 2\n), ranked AS (\n SELECT month_date,\n interest_id,\n index_composition,\n ROW_NUMBER() OVER (\n PARTITION BY month_date\n ORDER BY index_composition DESC, interest_id\n ) AS monthly_rank\n FROM interest_monthly\n), monthly_top AS (\n SELECT r.month_date,\n m.interest_name,\n r.index_composition AS max_index_composition\n FROM ranked AS r\n JOIN interest_map AS m ON m.id = r.interest_id\n WHERE r.monthly_rank = 1\n), history AS (\n SELECT month_date,\n interest_name,\n max_index_composition,\n AVG(max_index_composition) OVER (\n ORDER BY month_date ROWS BETWEEN 2 PRECEDING AND CURRENT ROW\n ) AS three_month_rolling_avg,\n LAG(interest_name, 1) OVER (ORDER BY month_date) AS one_month_ago_interest_name,\n LAG(max_index_composition, 1) OVER (ORDER BY month_date) AS one_month_ago_max_index_composition,\n LAG(interest_name, 2) OVER (ORDER BY month_date) AS two_months_ago_interest_name,\n LAG(max_index_composition, 2) OVER (ORDER BY month_date) AS two_months_ago_max_index_composition\n FROM monthly_top\n)\nSELECT month_date,\n interest_name,\n ROUND(max_index_composition, 2) AS max_index_composition,\n ROUND(three_month_rolling_avg, 2) AS three_month_rolling_avg,\n one_month_ago_interest_name,\n ROUND(one_month_ago_max_index_composition, 2) AS one_month_ago_max_index_composition,\n two_months_ago_interest_name,\n ROUND(two_months_ago_max_index_composition, 2) AS two_months_ago_max_index_composition\nFROM history\nWHERE month_date >= '2018-09-01' AND month_date < '2019-09-01'\nORDER BY month_date;\n```", "rows": 12, "sql": "WITH interest_monthly AS (\n SELECT printf('%04d-%02d-01', _year, _month) AS month_date,\n interest_id,\n AVG(1.0 * composition / NULLIF(index_value, 0)) AS index_composition\n FROM interest_metrics\n WHERE _year * 100 + _month BETWEEN 201807 AND 201908\n GROUP BY 1, 2\n), ranked AS (\n SELECT month_date,\n interest_id,\n index_composition,\n ROW_NUMBER() OVER (\n PARTITION BY month_date\n ORDER BY index_composition DESC, interest_id\n ) AS monthly_rank\n FROM interest_monthly\n), monthly_top AS (\n SELECT r.month_date,\n m.interest_name,\n r.index_composition AS max_index_composition\n FROM ranked AS r\n JOIN interest_map AS m ON m.id = r.interest_id\n WHERE r.monthly_rank = 1\n), history AS (\n SELECT month_date,\n interest_name,\n max_index_composition,\n AVG(max_index_composition) OVER (\n ORDER BY month_date ROWS BETWEEN 2 PRECEDING AND CURRENT ROW\n ) AS three_month_rolling_avg,\n LAG(interest_name, 1) OVER (ORDER BY month_date) AS one_month_ago_interest_name,\n LAG(max_index_composition, 1) OVER (ORDER BY month_date) AS one_month_ago_max_index_composition,\n LAG(interest_name, 2) OVER (ORDER BY month_date) AS two_months_ago_interest_name,\n LAG(max_index_composition, 2) OVER (ORDER BY month_date) AS two_months_ago_max_index_composition\n FROM monthly_top\n)\nSELECT month_date,\n interest_name,\n ROUND(max_index_composition, 2) AS max_index_composition,\n ROUND(three_month_rolling_avg, 2) AS three_month_rolling_avg,\n one_month_ago_interest_name,\n ROUND(one_month_ago_max_index_composition, 2) AS one_month_ago_max_index_composition,\n two_months_ago_interest_name,\n ROUND(two_months_ago_max_index_composition, 2) AS two_months_ago_max_index_composition\nFROM history\nWHERE month_date >= '2018-09-01' AND month_date < '2019-09-01'\nORDER BY month_date;", "seconds": 36.195044917054474, "calls": [{"seconds": 2.347252874984406, "usage": {"completion_tokens": 52, "prompt_tokens": 1770, "total_tokens": 1822, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1165, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1165, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1165, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.579087583930232, "usage": {"completion_tokens": 540, "prompt_tokens": 1928, "total_tokens": 2468, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 290, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 158, "cached_tokens": 1165, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 158, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 158, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 15.147291166009381, "usage": {"completion_tokens": 886, "prompt_tokens": 3163, "total_tokens": 4049, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 328, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1235, "cached_tokens": 1323, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1235, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1235, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.053863415960222, "usage": {"completion_tokens": 591, "prompt_tokens": 5159, "total_tokens": 5750, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 71, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1996, "cached_tokens": 2558, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1996, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1996, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6042fafa23b2940cfe0c899c4ef7cd01a4768e20ace05c524c1caa7a63a86fd4", "csv_sha256": "42ca8e53aa1a2a5fea4d0dd93a7da0acd0726aa6c70df7f645f1dc0e261f0aaa"} +{"instance_id": "local078", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH monthly_peaks AS (\n SELECT\n im.id AS interest_id,\n im.interest_name,\n m._month,\n m._year,\n m.composition,\n ROW_NUMBER() OVER (\n PARTITION BY im.id\n ORDER BY m.composition DESC, m._year ASC NULLS LAST, m._month ASC NULLS LAST\n ) AS month_rank\n FROM interest_metrics AS m\n JOIN interest_map AS im ON im.id = m.interest_id\n WHERE m.composition IS NOT NULL\n), ranked_interests AS (\n SELECT\n CASE WHEN _month IS NOT NULL AND _year IS NOT NULL\n THEN printf('%02d-%04d', _month, _year)\n END AS time,\n interest_name,\n composition,\n ROW_NUMBER() OVER (ORDER BY composition DESC, interest_id) AS top_rank,\n ROW_NUMBER() OVER (ORDER BY composition ASC, interest_id) AS bottom_rank\n FROM monthly_peaks\n WHERE month_rank = 1\n), selected_interests AS (\n SELECT time, interest_name, composition, 1 AS sort_group, top_rank AS sort_rank\n FROM ranked_interests\n WHERE top_rank <= 10\n UNION ALL\n SELECT time, interest_name, composition, 2 AS sort_group, bottom_rank AS sort_rank\n FROM ranked_interests\n WHERE bottom_rank <= 10\n)\nSELECT time, interest_name, composition\nFROM selected_interests\nORDER BY sort_group, sort_rank;\n```", "rows": 20, "sql": "WITH monthly_peaks AS (\n SELECT\n im.id AS interest_id,\n im.interest_name,\n m._month,\n m._year,\n m.composition,\n ROW_NUMBER() OVER (\n PARTITION BY im.id\n ORDER BY m.composition DESC, m._year ASC NULLS LAST, m._month ASC NULLS LAST\n ) AS month_rank\n FROM interest_metrics AS m\n JOIN interest_map AS im ON im.id = m.interest_id\n WHERE m.composition IS NOT NULL\n), ranked_interests AS (\n SELECT\n CASE WHEN _month IS NOT NULL AND _year IS NOT NULL\n THEN printf('%02d-%04d', _month, _year)\n END AS time,\n interest_name,\n composition,\n ROW_NUMBER() OVER (ORDER BY composition DESC, interest_id) AS top_rank,\n ROW_NUMBER() OVER (ORDER BY composition ASC, interest_id) AS bottom_rank\n FROM monthly_peaks\n WHERE month_rank = 1\n), selected_interests AS (\n SELECT time, interest_name, composition, 1 AS sort_group, top_rank AS sort_rank\n FROM ranked_interests\n WHERE top_rank <= 10\n UNION ALL\n SELECT time, interest_name, composition, 2 AS sort_group, bottom_rank AS sort_rank\n FROM ranked_interests\n WHERE bottom_rank <= 10\n)\nSELECT time, interest_name, composition\nFROM selected_interests\nORDER BY sort_group, sort_rank;", "seconds": 20.80638404202182, "calls": [{"seconds": 2.806585207930766, "usage": {"completion_tokens": 52, "prompt_tokens": 1694, "total_tokens": 1746, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1089, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1089, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1089, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.980003000004217, "usage": {"completion_tokens": 610, "prompt_tokens": 1852, "total_tokens": 2462, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 257, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 158, "cached_tokens": 1089, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 158, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 158, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.959572416031733, "usage": {"completion_tokens": 347, "prompt_tokens": 3115, "total_tokens": 3462, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 22, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1263, "cached_tokens": 1247, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1263, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1263, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "9426bace5328a32edb9ab84b71a621f5ecbf0035bd83595affed9211c17a3525", "csv_sha256": "cbb917027c8111e7f2bf8c880085907629b0be0480a80acfed97f9c344a10afc"} +{"instance_id": "local085", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH employee_order_counts AS (\n SELECT o.employeeid,\n COUNT(*) AS total_orders,\n SUM(CASE WHEN DATE(o.shippeddate) >= DATE(o.requireddate) THEN 1 ELSE 0 END) AS late_orders\n FROM orders AS o\n JOIN employees AS e ON e.employeeid = o.employeeid\n GROUP BY o.employeeid\n HAVING COUNT(*) > 50\n)\nSELECT employeeid,\n late_orders,\n 100.0 * late_orders / total_orders AS late_order_percentage\nFROM employee_order_counts\nORDER BY late_order_percentage DESC, employeeid\nLIMIT 3;\n```", "rows": 3, "sql": "WITH employee_order_counts AS (\n SELECT o.employeeid,\n COUNT(*) AS total_orders,\n SUM(CASE WHEN DATE(o.shippeddate) >= DATE(o.requireddate) THEN 1 ELSE 0 END) AS late_orders\n FROM orders AS o\n JOIN employees AS e ON e.employeeid = o.employeeid\n GROUP BY o.employeeid\n HAVING COUNT(*) > 50\n)\nSELECT employeeid,\n late_orders,\n 100.0 * late_orders / total_orders AS late_order_percentage\nFROM employee_order_counts\nORDER BY late_order_percentage DESC, employeeid\nLIMIT 3;", "seconds": 13.606924916966818, "calls": [{"seconds": 2.2922444159630686, "usage": {"completion_tokens": 19, "prompt_tokens": 1684, "total_tokens": 1703, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1107, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1107, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1107, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.1646399170858786, "usage": {"completion_tokens": 19, "prompt_tokens": 1806, "total_tokens": 1825, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 122, "cached_tokens": 1107, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 122, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 122, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.2662431669887155, "usage": {"completion_tokens": 220, "prompt_tokens": 1947, "total_tokens": 2167, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 66, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 141, "cached_tokens": 1229, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 141, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 141, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8725540419109166, "usage": {"completion_tokens": 137, "prompt_tokens": 2371, "total_tokens": 2508, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 424, "cached_tokens": 1370, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 424, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 424, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "910e3854c743729c0eb069e81fda420d5c50d7d279bffd9385229ef3d1130fe2", "csv_sha256": "c8e009da1876029de74b88a2535ef5a829818ad452dd0df55f5186f33c0b8dd6"} +{"instance_id": "local097", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH yearly_counts AS (\n SELECT CAST(SUBSTR(TRIM(year), -4) AS INTEGER) AS release_year,\n COUNT(*) AS film_count\n FROM Movie\n GROUP BY release_year\n)\nSELECT s.release_year AS start_year,\n SUM(y.film_count) AS total_count\nFROM yearly_counts AS s\nJOIN yearly_counts AS y\n ON y.release_year >= s.release_year\n AND y.release_year < s.release_year + 10\nGROUP BY s.release_year\nORDER BY total_count DESC, start_year ASC\nLIMIT 1;\n```", "rows": 1, "sql": "WITH yearly_counts AS (\n SELECT CAST(SUBSTR(TRIM(year), -4) AS INTEGER) AS release_year,\n COUNT(*) AS film_count\n FROM Movie\n GROUP BY release_year\n)\nSELECT s.release_year AS start_year,\n SUM(y.film_count) AS total_count\nFROM yearly_counts AS s\nJOIN yearly_counts AS y\n ON y.release_year >= s.release_year\n AND y.release_year < s.release_year + 10\nGROUP BY s.release_year\nORDER BY total_count DESC, start_year ASC\nLIMIT 1;", "seconds": 18.58884666697122, "calls": [{"seconds": 2.095562750007957, "usage": {"completion_tokens": 19, "prompt_tokens": 1674, "total_tokens": 1693, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1101, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1101, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1101, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.784726333920844, "usage": {"completion_tokens": 107, "prompt_tokens": 1739, "total_tokens": 1846, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 36, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 65, "cached_tokens": 1101, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 65, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 65, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4169524590251967, "usage": {"completion_tokens": 87, "prompt_tokens": 2163, "total_tokens": 2250, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 424, "cached_tokens": 1166, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 424, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 424, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.201611208030954, "usage": {"completion_tokens": 180, "prompt_tokens": 2369, "total_tokens": 2549, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 41, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 206, "cached_tokens": 1590, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 206, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 206, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.070834917016327, "usage": {"completion_tokens": 124, "prompt_tokens": 2698, "total_tokens": 2822, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 329, "cached_tokens": 1796, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 329, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 329, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "43d838ad682a109b0f5272c47453466bf27eabf89dc51319ef95feeceddf41a8", "csv_sha256": "bbc24a5d6c7f144cb9df4fefe0757201b00e8a3b2d63b2614ccc3c76256e4361"} +{"instance_id": "local098", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH appearance_years AS (\n SELECT DISTINCT\n TRIM(c.PID) AS actor_id,\n CAST(SUBSTR(TRIM(m.year), -4) AS INTEGER) AS film_year\n FROM M_Cast AS c\n JOIN Movie AS m ON m.MID = c.MID\n WHERE TRIM(c.PID) <> ''\n AND SUBSTR(TRIM(m.year), -4) GLOB '[0-9][0-9][0-9][0-9]'\n), consecutive_appearances AS (\n SELECT actor_id, film_year,\n LAG(film_year) OVER (PARTITION BY actor_id ORDER BY film_year) AS previous_year\n FROM appearance_years\n)\nSELECT COUNT(*) AS actor_count\nFROM (\n SELECT actor_id\n FROM consecutive_appearances\n GROUP BY actor_id\n HAVING MAX(CASE WHEN film_year - previous_year > 4 THEN 1 ELSE 0 END) = 0\n) AS qualifying_actors;\n```", "rows": 1, "sql": "WITH appearance_years AS (\n SELECT DISTINCT\n TRIM(c.PID) AS actor_id,\n CAST(SUBSTR(TRIM(m.year), -4) AS INTEGER) AS film_year\n FROM M_Cast AS c\n JOIN Movie AS m ON m.MID = c.MID\n WHERE TRIM(c.PID) <> ''\n AND SUBSTR(TRIM(m.year), -4) GLOB '[0-9][0-9][0-9][0-9]'\n), consecutive_appearances AS (\n SELECT actor_id, film_year,\n LAG(film_year) OVER (PARTITION BY actor_id ORDER BY film_year) AS previous_year\n FROM appearance_years\n)\nSELECT COUNT(*) AS actor_count\nFROM (\n SELECT actor_id\n FROM consecutive_appearances\n GROUP BY actor_id\n HAVING MAX(CASE WHEN film_year - previous_year > 4 THEN 1 ELSE 0 END) = 0\n) AS qualifying_actors;", "seconds": 58.53766170900781, "calls": [{"seconds": 2.809459083015099, "usage": {"completion_tokens": 81, "prompt_tokens": 1678, "total_tokens": 1759, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1105, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1105, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1105, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.64190604200121, "usage": {"completion_tokens": 36, "prompt_tokens": 1901, "total_tokens": 1937, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 223, "cached_tokens": 1105, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 223, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 223, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.825577999930829, "usage": {"completion_tokens": 161, "prompt_tokens": 2131, "total_tokens": 2292, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 230, "cached_tokens": 1328, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 230, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 230, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.965043624979444, "usage": {"completion_tokens": 62, "prompt_tokens": 2489, "total_tokens": 2551, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 358, "cached_tokens": 1558, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 358, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 358, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.9743407919304445, "usage": {"completion_tokens": 215, "prompt_tokens": 3003, "total_tokens": 3218, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 54, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 514, "cached_tokens": 1916, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 514, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 514, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.1826779580442235, "usage": {"completion_tokens": 280, "prompt_tokens": 3427, "total_tokens": 3707, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 43, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 424, "cached_tokens": 2430, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 424, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 424, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.8232314579654485, "usage": {"completion_tokens": 217, "prompt_tokens": 3944, "total_tokens": 4161, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 517, "cached_tokens": 2854, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 517, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 517, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e48524df228de5285e7c97543ef236586976fb8261823cc96c7bc24889f93eba", "csv_sha256": "fe04c7013075fa9580c344007864af353b978fe27b37f8c258a40828ce6424db"} +{"instance_id": "local099", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH yash_chopra AS (\n SELECT DISTINCT TRIM(PID) AS director_id\n FROM Person\n WHERE TRIM(Name) = 'Yash Chopra' COLLATE NOCASE\n), collaboration_counts AS (\n SELECT TRIM(c.PID) AS actor_id,\n TRIM(d.PID) AS director_id,\n COUNT(DISTINCT c.MID) AS film_count\n FROM M_Cast AS c\n JOIN M_Director AS d ON d.MID = c.MID\n GROUP BY TRIM(c.PID), TRIM(d.PID)\n)\nSELECT COUNT(DISTINCT y.actor_id) AS actor_count\nFROM collaboration_counts AS y\nJOIN yash_chopra AS p ON p.director_id = y.director_id\nWHERE NOT EXISTS (\n SELECT 1\n FROM collaboration_counts AS other\n WHERE other.actor_id = y.actor_id\n AND other.director_id <> y.director_id\n AND other.film_count >= y.film_count\n);\n```", "rows": 1, "sql": "WITH yash_chopra AS (\n SELECT DISTINCT TRIM(PID) AS director_id\n FROM Person\n WHERE TRIM(Name) = 'Yash Chopra' COLLATE NOCASE\n), collaboration_counts AS (\n SELECT TRIM(c.PID) AS actor_id,\n TRIM(d.PID) AS director_id,\n COUNT(DISTINCT c.MID) AS film_count\n FROM M_Cast AS c\n JOIN M_Director AS d ON d.MID = c.MID\n GROUP BY TRIM(c.PID), TRIM(d.PID)\n)\nSELECT COUNT(DISTINCT y.actor_id) AS actor_count\nFROM collaboration_counts AS y\nJOIN yash_chopra AS p ON p.director_id = y.director_id\nWHERE NOT EXISTS (\n SELECT 1\n FROM collaboration_counts AS other\n WHERE other.actor_id = y.actor_id\n AND other.director_id <> y.director_id\n AND other.film_count >= y.film_count\n);", "seconds": 25.736083875061013, "calls": [{"seconds": 3.0117750419303775, "usage": {"completion_tokens": 85, "prompt_tokens": 1662, "total_tokens": 1747, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1089, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1089, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1089, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.427130208001472, "usage": {"completion_tokens": 155, "prompt_tokens": 1897, "total_tokens": 2052, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 51, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 235, "cached_tokens": 1089, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 235, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 235, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.843490917002782, "usage": {"completion_tokens": 277, "prompt_tokens": 2210, "total_tokens": 2487, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 121, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 313, "cached_tokens": 1324, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 313, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 313, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.294326875009574, "usage": {"completion_tokens": 295, "prompt_tokens": 2694, "total_tokens": 2989, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 59, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 484, "cached_tokens": 1637, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 484, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 484, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.915912416996434, "usage": {"completion_tokens": 218, "prompt_tokens": 3226, "total_tokens": 3444, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 532, "cached_tokens": 2121, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 532, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 532, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6fa92997be778d9c588f8e42ad80b3de71e3caaf4358e577b334c1f089124d8c", "csv_sha256": "8c77ea949d31829a9cdd5750efff43c7cba22705f13479efaa592f32b245f586"} +{"instance_id": "local100", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH shahrukh AS (\n SELECT TRIM(PID) AS pid\n FROM Person\n WHERE TRIM(Name) = 'Shah Rukh Khan'\n), cast_credits AS (\n SELECT MID, TRIM(PID) AS pid\n FROM M_Cast\n WHERE PID IS NOT NULL\n), within_one_hop AS (\n SELECT DISTINCT coactor.pid\n FROM shahrukh AS s\n JOIN cast_credits AS starring ON starring.pid = s.pid\n JOIN cast_credits AS coactor ON coactor.MID = starring.MID\n), exactly_two_hops AS (\n SELECT candidate.pid\n FROM within_one_hop AS w\n JOIN cast_credits AS bridge ON bridge.pid = w.pid\n JOIN cast_credits AS candidate ON candidate.MID = bridge.MID\n EXCEPT\n SELECT pid FROM within_one_hop\n)\nSELECT COUNT(*) AS actor_count\nFROM exactly_two_hops;\n```", "rows": 1, "sql": "WITH shahrukh AS (\n SELECT TRIM(PID) AS pid\n FROM Person\n WHERE TRIM(Name) = 'Shah Rukh Khan'\n), cast_credits AS (\n SELECT MID, TRIM(PID) AS pid\n FROM M_Cast\n WHERE PID IS NOT NULL\n), within_one_hop AS (\n SELECT DISTINCT coactor.pid\n FROM shahrukh AS s\n JOIN cast_credits AS starring ON starring.pid = s.pid\n JOIN cast_credits AS coactor ON coactor.MID = starring.MID\n), exactly_two_hops AS (\n SELECT candidate.pid\n FROM within_one_hop AS w\n JOIN cast_credits AS bridge ON bridge.pid = w.pid\n JOIN cast_credits AS candidate ON candidate.MID = bridge.MID\n EXCEPT\n SELECT pid FROM within_one_hop\n)\nSELECT COUNT(*) AS actor_count\nFROM exactly_two_hops;", "seconds": 68.04657616605982, "calls": [{"seconds": 2.7639474580064416, "usage": {"completion_tokens": 67, "prompt_tokens": 1661, "total_tokens": 1728, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1088, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1088, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1088, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.961875833105296, "usage": {"completion_tokens": 61, "prompt_tokens": 1842, "total_tokens": 1903, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 181, "cached_tokens": 1088, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 181, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 181, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.038099959027022, "usage": {"completion_tokens": 111, "prompt_tokens": 1984, "total_tokens": 2095, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 33, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 142, "cached_tokens": 1269, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 142, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 142, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.593891374999657, "usage": {"completion_tokens": 161, "prompt_tokens": 2212, "total_tokens": 2373, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 67, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 228, "cached_tokens": 1411, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 228, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 228, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5621080830460414, "usage": {"completion_tokens": 83, "prompt_tokens": 2500, "total_tokens": 2583, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 288, "cached_tokens": 1639, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 288, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 288, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.47350025002379, "usage": {"completion_tokens": 123, "prompt_tokens": 2699, "total_tokens": 2822, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 64, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 199, "cached_tokens": 1927, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 199, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 199, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.622787999920547, "usage": {"completion_tokens": 381, "prompt_tokens": 2903, "total_tokens": 3284, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 159, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 204, "cached_tokens": 2126, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 204, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 204, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.361150708049536, "usage": {"completion_tokens": 205, "prompt_tokens": 3509, "total_tokens": 3714, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 606, "cached_tokens": 2330, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 606, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 606, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0998fec8c87db19f7fcfc982278b002c9d917708e4fc41ef57e6ea36aa934f0b", "csv_sha256": "43dae7db0a5d2a52ed3b1e65f8fb52dc0fd068aa95c7cb26cba7e06c941ea8ab"} +{"instance_id": "local114", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH rep_sales AS (\n SELECT sr.region_id,\n sr.id AS rep_id,\n sr.name AS rep_name,\n COUNT(o.id) AS order_count,\n SUM(o.total_amt_usd) AS rep_sales_amount\n FROM web_sales_reps AS sr\n JOIN web_accounts AS a ON a.sales_rep_id = sr.id\n JOIN web_orders AS o ON o.account_id = a.id\n GROUP BY sr.region_id, sr.id, sr.name\n), region_sales AS (\n SELECT region_id,\n SUM(order_count) AS order_count,\n SUM(rep_sales_amount) AS total_sales_amount,\n MAX(rep_sales_amount) AS highest_rep_sales_amount\n FROM rep_sales\n GROUP BY region_id\n)\nSELECT r.name AS region,\n COALESCE(rs.order_count, 0) AS order_count,\n rs.total_sales_amount,\n s.rep_name AS top_sales_rep,\n s.rep_sales_amount AS top_sales_rep_amount\nFROM web_region AS r\nLEFT JOIN region_sales AS rs ON rs.region_id = r.id\nLEFT JOIN rep_sales AS s ON s.region_id = r.id\n AND s.rep_sales_amount = rs.highest_rep_sales_amount\nORDER BY r.name, s.rep_name, s.rep_id;\n```", "rows": 4, "sql": "WITH rep_sales AS (\n SELECT sr.region_id,\n sr.id AS rep_id,\n sr.name AS rep_name,\n COUNT(o.id) AS order_count,\n SUM(o.total_amt_usd) AS rep_sales_amount\n FROM web_sales_reps AS sr\n JOIN web_accounts AS a ON a.sales_rep_id = sr.id\n JOIN web_orders AS o ON o.account_id = a.id\n GROUP BY sr.region_id, sr.id, sr.name\n), region_sales AS (\n SELECT region_id,\n SUM(order_count) AS order_count,\n SUM(rep_sales_amount) AS total_sales_amount,\n MAX(rep_sales_amount) AS highest_rep_sales_amount\n FROM rep_sales\n GROUP BY region_id\n)\nSELECT r.name AS region,\n COALESCE(rs.order_count, 0) AS order_count,\n rs.total_sales_amount,\n s.rep_name AS top_sales_rep,\n s.rep_sales_amount AS top_sales_rep_amount\nFROM web_region AS r\nLEFT JOIN region_sales AS rs ON rs.region_id = r.id\nLEFT JOIN rep_sales AS s ON s.region_id = r.id\n AND s.rep_sales_amount = rs.highest_rep_sales_amount\nORDER BY r.name, s.rep_name, s.rep_id;", "seconds": 24.627267125062644, "calls": [{"seconds": 3.4928568339673802, "usage": {"completion_tokens": 100, "prompt_tokens": 1705, "total_tokens": 1805, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1098, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1098, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1098, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.864517042064108, "usage": {"completion_tokens": 554, "prompt_tokens": 2030, "total_tokens": 2584, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 261, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 325, "cached_tokens": 1098, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 325, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 325, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.253179375082254, "usage": {"completion_tokens": 401, "prompt_tokens": 2996, "total_tokens": 3397, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 131, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 966, "cached_tokens": 1423, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 966, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 966, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "824e0a5aac9e1cafd5719169aab2c3b666ff8b7d4238302506ecd9024a6d1d72", "csv_sha256": "3ef7216c100dfe19331a8aed24f7ea3abfc63497bcb9f0358713ee12b62bf75f"} +{"instance_id": "local128", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH qualifying_games AS (\n SELECT s.BowlerID,\n s.MatchID,\n s.GameNumber,\n s.HandiCapScore,\n t.TourneyDate,\n t.TourneyLocation\n FROM Bowler_Scores AS s\n JOIN Tourney_Matches AS m ON m.MatchID = s.MatchID\n JOIN Tournaments AS t ON t.TourneyID = m.TourneyID\n WHERE s.WonGame = 1\n AND s.HandiCapScore <= 190\n AND t.TourneyLocation IN ('Thunderbird Lanes', 'Totem Lanes', 'Bolero Lanes')\n), qualifying_bowlers AS (\n SELECT BowlerID\n FROM qualifying_games\n GROUP BY BowlerID\n HAVING COUNT(DISTINCT TourneyLocation) = 3\n)\nSELECT b.BowlerID,\n b.BowlerFirstName,\n b.BowlerLastName,\n g.MatchID,\n g.GameNumber,\n g.HandiCapScore,\n g.TourneyDate,\n g.TourneyLocation\nFROM qualifying_games AS g\nJOIN qualifying_bowlers AS q ON q.BowlerID = g.BowlerID\nJOIN Bowlers AS b ON b.BowlerID = g.BowlerID\nORDER BY b.BowlerID, g.MatchID, g.GameNumber;\n```", "rows": 11, "sql": "WITH qualifying_games AS (\n SELECT s.BowlerID,\n s.MatchID,\n s.GameNumber,\n s.HandiCapScore,\n t.TourneyDate,\n t.TourneyLocation\n FROM Bowler_Scores AS s\n JOIN Tourney_Matches AS m ON m.MatchID = s.MatchID\n JOIN Tournaments AS t ON t.TourneyID = m.TourneyID\n WHERE s.WonGame = 1\n AND s.HandiCapScore <= 190\n AND t.TourneyLocation IN ('Thunderbird Lanes', 'Totem Lanes', 'Bolero Lanes')\n), qualifying_bowlers AS (\n SELECT BowlerID\n FROM qualifying_games\n GROUP BY BowlerID\n HAVING COUNT(DISTINCT TourneyLocation) = 3\n)\nSELECT b.BowlerID,\n b.BowlerFirstName,\n b.BowlerLastName,\n g.MatchID,\n g.GameNumber,\n g.HandiCapScore,\n g.TourneyDate,\n g.TourneyLocation\nFROM qualifying_games AS g\nJOIN qualifying_bowlers AS q ON q.BowlerID = g.BowlerID\nJOIN Bowlers AS b ON b.BowlerID = g.BowlerID\nORDER BY b.BowlerID, g.MatchID, g.GameNumber;", "seconds": 16.299869291950017, "calls": [{"seconds": 3.535967417061329, "usage": {"completion_tokens": 120, "prompt_tokens": 1721, "total_tokens": 1841, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1139, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1139, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1139, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.585512749967165, "usage": {"completion_tokens": 368, "prompt_tokens": 2186, "total_tokens": 2554, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 57, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 465, "cached_tokens": 1139, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 465, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 465, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.1572777080582455, "usage": {"completion_tokens": 314, "prompt_tokens": 3212, "total_tokens": 3526, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 29, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1026, "cached_tokens": 1604, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1026, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1026, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d126fddb716328394335d5207a1cfb413293aa82ecbf5e2ee4a553bd955449e7", "csv_sha256": "f60d585c7d1ee6d5489b1908827f4e607fa5fb2bb38e55b014be31dca0ae3376"} +{"instance_id": "local130", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH completed_english AS (\n SELECT st.StudentID, st.StudLastName, ss.ClassID, ss.Grade\n FROM Student_Schedules AS ss\n JOIN Students AS st ON st.StudentID = ss.StudentID\n JOIN Classes AS c ON c.ClassID = ss.ClassID\n JOIN Subjects AS s ON s.SubjectID = c.SubjectID\n WHERE ss.ClassStatus = 2\n AND s.CategoryID = 'ENG'\n), student_total AS (\n SELECT COUNT(DISTINCT StudentID) AS student_count\n FROM completed_english\n), ranked AS (\n SELECT e.*,\n 1.0 * (\n SELECT COUNT(DISTINCT peer.StudentID)\n FROM completed_english AS peer\n WHERE peer.Grade >= e.Grade\n ) / t.student_count AS rank_fraction\n FROM completed_english AS e\n CROSS JOIN student_total AS t\n)\nSELECT StudLastName,\n CASE\n WHEN Grade IS NULL THEN NULL\n WHEN rank_fraction <= 0.20 THEN 'First'\n WHEN rank_fraction <= 0.40 THEN 'Second'\n WHEN rank_fraction <= 0.60 THEN 'Third'\n WHEN rank_fraction <= 0.80 THEN 'Fourth'\n ELSE 'Fifth'\n END AS Quintile\nFROM ranked\nORDER BY Grade IS NULL, rank_fraction, Grade DESC, StudLastName, StudentID, ClassID;\n```", "rows": 18, "sql": "WITH completed_english AS (\n SELECT st.StudentID, st.StudLastName, ss.ClassID, ss.Grade\n FROM Student_Schedules AS ss\n JOIN Students AS st ON st.StudentID = ss.StudentID\n JOIN Classes AS c ON c.ClassID = ss.ClassID\n JOIN Subjects AS s ON s.SubjectID = c.SubjectID\n WHERE ss.ClassStatus = 2\n AND s.CategoryID = 'ENG'\n), student_total AS (\n SELECT COUNT(DISTINCT StudentID) AS student_count\n FROM completed_english\n), ranked AS (\n SELECT e.*,\n 1.0 * (\n SELECT COUNT(DISTINCT peer.StudentID)\n FROM completed_english AS peer\n WHERE peer.Grade >= e.Grade\n ) / t.student_count AS rank_fraction\n FROM completed_english AS e\n CROSS JOIN student_total AS t\n)\nSELECT StudLastName,\n CASE\n WHEN Grade IS NULL THEN NULL\n WHEN rank_fraction <= 0.20 THEN 'First'\n WHEN rank_fraction <= 0.40 THEN 'Second'\n WHEN rank_fraction <= 0.60 THEN 'Third'\n WHEN rank_fraction <= 0.80 THEN 'Fourth'\n ELSE 'Fifth'\n END AS Quintile\nFROM ranked\nORDER BY Grade IS NULL, rank_fraction, Grade DESC, StudLastName, StudentID, ClassID;", "seconds": 29.91664683399722, "calls": [{"seconds": 3.3873074169969186, "usage": {"completion_tokens": 114, "prompt_tokens": 1777, "total_tokens": 1891, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1201, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1201, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1201, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.262165582971647, "usage": {"completion_tokens": 134, "prompt_tokens": 2242, "total_tokens": 2376, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 57, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 465, "cached_tokens": 1201, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 465, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 465, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.622836875030771, "usage": {"completion_tokens": 131, "prompt_tokens": 2567, "total_tokens": 2698, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 325, "cached_tokens": 1666, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 325, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 325, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.883227083017118, "usage": {"completion_tokens": 692, "prompt_tokens": 2863, "total_tokens": 3555, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 365, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 296, "cached_tokens": 1991, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 296, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 296, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.724122749990784, "usage": {"completion_tokens": 302, "prompt_tokens": 3973, "total_tokens": 4275, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1110, "cached_tokens": 2287, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1110, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1110, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b7a6c8b87cca8860ed677c8c380638f04314f5053c0a644eb799e7050ceb0b86", "csv_sha256": "248e7302dec11c1447f6c4cf3746e7efb13d3555f5061f1118a68ee2917cc004"} +{"instance_id": "local131", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n s.StyleName,\n COUNT(CASE WHEN p.PreferenceSeq = 1 THEN 1 END) AS FirstPreferenceCount,\n COUNT(CASE WHEN p.PreferenceSeq = 2 THEN 1 END) AS SecondPreferenceCount,\n COUNT(CASE WHEN p.PreferenceSeq = 3 THEN 1 END) AS ThirdPreferenceCount\nFROM Musical_Styles AS s\nLEFT JOIN Musical_Preferences AS p ON p.StyleID = s.StyleID\nGROUP BY s.StyleID, s.StyleName\nORDER BY s.StyleName, s.StyleID;\n```", "rows": 25, "sql": "SELECT\n s.StyleName,\n COUNT(CASE WHEN p.PreferenceSeq = 1 THEN 1 END) AS FirstPreferenceCount,\n COUNT(CASE WHEN p.PreferenceSeq = 2 THEN 1 END) AS SecondPreferenceCount,\n COUNT(CASE WHEN p.PreferenceSeq = 3 THEN 1 END) AS ThirdPreferenceCount\nFROM Musical_Styles AS s\nLEFT JOIN Musical_Preferences AS p ON p.StyleID = s.StyleID\nGROUP BY s.StyleID, s.StyleName\nORDER BY s.StyleName, s.StyleID;", "seconds": 10.645633499952964, "calls": [{"seconds": 3.1022034999914467, "usage": {"completion_tokens": 56, "prompt_tokens": 1664, "total_tokens": 1720, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1083, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1083, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1083, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.777866833959706, "usage": {"completion_tokens": 133, "prompt_tokens": 1798, "total_tokens": 1931, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 134, "cached_tokens": 1083, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 134, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 134, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.7534212090540677, "usage": {"completion_tokens": 121, "prompt_tokens": 2399, "total_tokens": 2520, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 601, "cached_tokens": 1217, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 601, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 601, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "c75f19b9e34bc0fb4fcf00774de3037ce64b6c337724648835f590c37fd7ccb7", "csv_sha256": "f4da1061f3a733d29c649fd2eadc81b791ba3637d66a8f2028291ae995cc767d"} +{"instance_id": "local132", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH MatchingPairs AS (\n SELECT DISTINCT es1.EntertainerID, mp1.CustomerID\n FROM Entertainer_Styles AS es1\n JOIN Entertainer_Styles AS es2\n ON es2.EntertainerID = es1.EntertainerID\n AND es2.StyleStrength = 2\n JOIN Musical_Preferences AS mp1\n ON mp1.PreferenceSeq = 1\n AND mp1.StyleID IN (es1.StyleID, es2.StyleID)\n JOIN Musical_Preferences AS mp2\n ON mp2.CustomerID = mp1.CustomerID\n AND mp2.PreferenceSeq = 2\n WHERE es1.StyleStrength = 1\n AND (\n (mp1.StyleID = es1.StyleID AND mp2.StyleID = es2.StyleID)\n OR (mp1.StyleID = es2.StyleID AND mp2.StyleID = es1.StyleID)\n )\n AND es1.EntertainerID IN (\n SELECT EntertainerID\n FROM Entertainer_Styles\n GROUP BY EntertainerID\n HAVING COUNT(*) <= 3\n )\n AND mp1.CustomerID IN (\n SELECT CustomerID\n FROM Musical_Preferences\n GROUP BY CustomerID\n HAVING COUNT(*) <= 3\n )\n)\nSELECT e.EntStageName, c.CustLastName\nFROM MatchingPairs AS p\nJOIN Entertainers AS e ON e.EntertainerID = p.EntertainerID\nJOIN Customers AS c ON c.CustomerID = p.CustomerID;\n```", "rows": 6, "sql": "WITH MatchingPairs AS (\n SELECT DISTINCT es1.EntertainerID, mp1.CustomerID\n FROM Entertainer_Styles AS es1\n JOIN Entertainer_Styles AS es2\n ON es2.EntertainerID = es1.EntertainerID\n AND es2.StyleStrength = 2\n JOIN Musical_Preferences AS mp1\n ON mp1.PreferenceSeq = 1\n AND mp1.StyleID IN (es1.StyleID, es2.StyleID)\n JOIN Musical_Preferences AS mp2\n ON mp2.CustomerID = mp1.CustomerID\n AND mp2.PreferenceSeq = 2\n WHERE es1.StyleStrength = 1\n AND (\n (mp1.StyleID = es1.StyleID AND mp2.StyleID = es2.StyleID)\n OR (mp1.StyleID = es2.StyleID AND mp2.StyleID = es1.StyleID)\n )\n AND es1.EntertainerID IN (\n SELECT EntertainerID\n FROM Entertainer_Styles\n GROUP BY EntertainerID\n HAVING COUNT(*) <= 3\n )\n AND mp1.CustomerID IN (\n SELECT CustomerID\n FROM Musical_Preferences\n GROUP BY CustomerID\n HAVING COUNT(*) <= 3\n )\n)\nSELECT e.EntStageName, c.CustLastName\nFROM MatchingPairs AS p\nJOIN Entertainers AS e ON e.EntertainerID = p.EntertainerID\nJOIN Customers AS c ON c.CustomerID = p.CustomerID;", "seconds": 25.78764933301136, "calls": [{"seconds": 2.9124954999424517, "usage": {"completion_tokens": 89, "prompt_tokens": 1687, "total_tokens": 1776, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1106, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1106, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1106, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.176328583038412, "usage": {"completion_tokens": 138, "prompt_tokens": 2059, "total_tokens": 2197, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 60, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 372, "cached_tokens": 1106, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 372, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 372, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.307577957981266, "usage": {"completion_tokens": 723, "prompt_tokens": 2356, "total_tokens": 3079, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 363, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 297, "cached_tokens": 1478, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 297, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 297, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.36462083295919, "usage": {"completion_tokens": 336, "prompt_tokens": 3484, "total_tokens": 3820, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1128, "cached_tokens": 1775, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1128, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1128, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ead7e0100eb7d4bd3261a1e7ac4235d9f61c29f8dd535ff3c55545e11b64f3e9", "csv_sha256": "79c820de19c85d4ccfcb5bd41ea363a597589a69b30b2181c2e4b9e20676fa8d"} +{"instance_id": "local133", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH style_scores AS (\n SELECT StyleID,\n SUM(CASE PreferenceSeq\n WHEN 1 THEN 3\n WHEN 2 THEN 2\n WHEN 3 THEN 1\n ELSE 0\n END) AS total_weighted_score\n FROM Musical_Preferences\n GROUP BY StyleID\n)\nSELECT ms.StyleName,\n ss.total_weighted_score,\n ABS(ss.total_weighted_score - AVG(ss.total_weighted_score) OVER ()) AS absolute_difference\nFROM style_scores AS ss\nJOIN Musical_Styles AS ms ON ms.StyleID = ss.StyleID;\n```", "rows": 20, "sql": "WITH style_scores AS (\n SELECT StyleID,\n SUM(CASE PreferenceSeq\n WHEN 1 THEN 3\n WHEN 2 THEN 2\n WHEN 3 THEN 1\n ELSE 0\n END) AS total_weighted_score\n FROM Musical_Preferences\n GROUP BY StyleID\n)\nSELECT ms.StyleName,\n ss.total_weighted_score,\n ABS(ss.total_weighted_score - AVG(ss.total_weighted_score) OVER ()) AS absolute_difference\nFROM style_scores AS ss\nJOIN Musical_Styles AS ms ON ms.StyleID = ss.StyleID;", "seconds": 13.283229875029065, "calls": [{"seconds": 2.5422556669218466, "usage": {"completion_tokens": 56, "prompt_tokens": 1759, "total_tokens": 1815, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1178, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1178, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1178, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.263642624951899, "usage": {"completion_tokens": 267, "prompt_tokens": 1893, "total_tokens": 2160, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 121, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 134, "cached_tokens": 1178, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 134, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 134, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.463062167051248, "usage": {"completion_tokens": 130, "prompt_tokens": 2604, "total_tokens": 2734, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 711, "cached_tokens": 1312, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 711, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 711, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "50bc15a3296cbe355263ae789e2afab6245ca0841d66e374eb5b90587e8bb3b7", "csv_sha256": "d3fcb793be8e1e9c0e5e2509ed9ef8997ebb65ac31188ee017d7e6a56a823661"} +{"instance_id": "local141", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH annual_sales AS (\n SELECT salespersonid AS salesperson_id,\n CAST(strftime('%Y', orderdate) AS INTEGER) AS sales_year,\n SUM(totaldue) AS total_sales\n FROM salesorderheader\n WHERE salespersonid IS NOT NULL\n GROUP BY salespersonid, CAST(strftime('%Y', orderdate) AS INTEGER)\n), annual_quotas AS (\n SELECT BusinessEntityID AS salesperson_id,\n CAST(strftime('%Y', QuotaDate) AS INTEGER) AS sales_year,\n SUM(SalesQuota) AS annual_quota\n FROM SalesPersonQuotaHistory\n GROUP BY BusinessEntityID, CAST(strftime('%Y', QuotaDate) AS INTEGER)\n)\nSELECT s.salesperson_id,\n s.sales_year,\n s.total_sales - q.annual_quota AS sales_minus_quota\nFROM annual_sales AS s\nLEFT JOIN annual_quotas AS q\n ON q.salesperson_id = s.salesperson_id\n AND q.sales_year = s.sales_year\nORDER BY s.salesperson_id, s.sales_year;\n```", "rows": 62, "sql": "WITH annual_sales AS (\n SELECT salespersonid AS salesperson_id,\n CAST(strftime('%Y', orderdate) AS INTEGER) AS sales_year,\n SUM(totaldue) AS total_sales\n FROM salesorderheader\n WHERE salespersonid IS NOT NULL\n GROUP BY salespersonid, CAST(strftime('%Y', orderdate) AS INTEGER)\n), annual_quotas AS (\n SELECT BusinessEntityID AS salesperson_id,\n CAST(strftime('%Y', QuotaDate) AS INTEGER) AS sales_year,\n SUM(SalesQuota) AS annual_quota\n FROM SalesPersonQuotaHistory\n GROUP BY BusinessEntityID, CAST(strftime('%Y', QuotaDate) AS INTEGER)\n)\nSELECT s.salesperson_id,\n s.sales_year,\n s.total_sales - q.annual_quota AS sales_minus_quota\nFROM annual_sales AS s\nLEFT JOIN annual_quotas AS q\n ON q.salesperson_id = s.salesperson_id\n AND q.sales_year = s.sales_year\nORDER BY s.salesperson_id, s.sales_year;", "seconds": 36.277976291952655, "calls": [{"seconds": 3.1780762089183554, "usage": {"completion_tokens": 85, "prompt_tokens": 1661, "total_tokens": 1746, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1083, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1083, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1083, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.79491208307445, "usage": {"completion_tokens": 607, "prompt_tokens": 2069, "total_tokens": 2676, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 390, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 408, "cached_tokens": 1083, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 408, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 408, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.148579666973092, "usage": {"completion_tokens": 494, "prompt_tokens": 3001, "total_tokens": 3495, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 245, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 932, "cached_tokens": 1491, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 932, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 932, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.107843457954004, "usage": {"completion_tokens": 608, "prompt_tokens": 4486, "total_tokens": 5094, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 379, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1485, "cached_tokens": 2423, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1485, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1485, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "c8efe92c98b25cb20e7f59dc48a5be7f6ad8eb0bb2f4892e059b90b7440f2b85", "csv_sha256": "c1e7dda4dd5becae4995e4688cf2797a9669e7e9a64acee386758e6d772a6b62"} +{"instance_id": "local152", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH director_movies AS (\n SELECT\n dm.name_id AS director_id,\n m.id AS movie_id,\n julianday(m.date_published) AS release_day,\n m.duration,\n r.avg_rating,\n r.total_votes\n FROM director_mapping AS dm\n JOIN movies AS m ON m.id = dm.movie_id\n LEFT JOIN ratings AS r ON r.movie_id = m.id\n), release_gaps AS (\n SELECT\n *,\n release_day - LAG(release_day) OVER (\n PARTITION BY director_id\n ORDER BY release_day, movie_id\n ) AS days_since_previous_movie\n FROM director_movies\n)\nSELECT\n g.director_id,\n n.name AS director_name,\n COUNT(*) AS number_of_movies,\n CAST(ROUND(AVG(g.days_since_previous_movie)) AS INTEGER) AS avg_inter_movie_days,\n ROUND(AVG(g.avg_rating), 2) AS avg_rating,\n SUM(g.total_votes) AS total_votes,\n MIN(g.avg_rating) AS min_rating,\n MAX(g.avg_rating) AS max_rating,\n SUM(g.duration) AS total_movie_duration\nFROM release_gaps AS g\nLEFT JOIN names AS n ON n.id = g.director_id\nGROUP BY g.director_id, n.name\nORDER BY number_of_movies DESC, total_movie_duration DESC, g.director_id\nLIMIT 9;\n```", "rows": 9, "sql": "WITH director_movies AS (\n SELECT\n dm.name_id AS director_id,\n m.id AS movie_id,\n julianday(m.date_published) AS release_day,\n m.duration,\n r.avg_rating,\n r.total_votes\n FROM director_mapping AS dm\n JOIN movies AS m ON m.id = dm.movie_id\n LEFT JOIN ratings AS r ON r.movie_id = m.id\n), release_gaps AS (\n SELECT\n *,\n release_day - LAG(release_day) OVER (\n PARTITION BY director_id\n ORDER BY release_day, movie_id\n ) AS days_since_previous_movie\n FROM director_movies\n)\nSELECT\n g.director_id,\n n.name AS director_name,\n COUNT(*) AS number_of_movies,\n CAST(ROUND(AVG(g.days_since_previous_movie)) AS INTEGER) AS avg_inter_movie_days,\n ROUND(AVG(g.avg_rating), 2) AS avg_rating,\n SUM(g.total_votes) AS total_votes,\n MIN(g.avg_rating) AS min_rating,\n MAX(g.avg_rating) AS max_rating,\n SUM(g.duration) AS total_movie_duration\nFROM release_gaps AS g\nLEFT JOIN names AS n ON n.id = g.director_id\nGROUP BY g.director_id, n.name\nORDER BY number_of_movies DESC, total_movie_duration DESC, g.director_id\nLIMIT 9;", "seconds": 25.008170041954145, "calls": [{"seconds": 3.4534586659865454, "usage": {"completion_tokens": 111, "prompt_tokens": 1672, "total_tokens": 1783, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1124, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1124, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1124, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.87331962492317, "usage": {"completion_tokens": 161, "prompt_tokens": 2108, "total_tokens": 2269, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 129, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 436, "cached_tokens": 1124, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 436, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 436, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.354180082911626, "usage": {"completion_tokens": 483, "prompt_tokens": 3098, "total_tokens": 3581, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 154, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 990, "cached_tokens": 1560, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 990, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 990, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.260263167088851, "usage": {"completion_tokens": 378, "prompt_tokens": 4269, "total_tokens": 4647, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 81, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1171, "cached_tokens": 2550, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1171, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1171, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "c6f1f24804b2250cd4415c96ab96aa96847840a3783b22f2026fc484e0f3156e", "csv_sha256": "8d89d669c52b85f86a844046ca838b9eff056cb06656ae53f8bb766ac130dc26"} +{"instance_id": "local156", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH annual_prices AS (\n SELECT\n CAST(substr(t.txn_date, -4) AS INTEGER) AS purchase_year,\n m.region,\n SUM(t.quantity * p.price) / NULLIF(SUM(t.quantity), 0) AS avg_purchase_price\n FROM bitcoin_transactions AS t\n JOIN bitcoin_members AS m ON m.member_id = t.member_id\n JOIN bitcoin_prices AS p ON p.ticker = t.ticker AND p.market_date = t.txn_date\n WHERE t.ticker = 'BTC' AND t.txn_type = 'BUY'\n GROUP BY CAST(substr(t.txn_date, -4) AS INTEGER), m.region\n), regional_history AS (\n SELECT\n purchase_year,\n region,\n avg_purchase_price,\n LAG(purchase_year) OVER regional_years AS previous_year,\n LAG(avg_purchase_price) OVER regional_years AS previous_avg_price\n FROM annual_prices\n WINDOW regional_years AS (PARTITION BY region ORDER BY purchase_year)\n)\nSELECT\n purchase_year,\n region,\n avg_purchase_price,\n RANK() OVER (PARTITION BY purchase_year ORDER BY avg_purchase_price DESC) AS price_rank,\n CASE WHEN previous_year = purchase_year - 1 THEN\n 100.0 * (avg_purchase_price - previous_avg_price) / NULLIF(previous_avg_price, 0)\n END AS annual_pct_change\nFROM regional_history\nWHERE previous_year IS NOT NULL\nORDER BY purchase_year, price_rank, region;\n```", "rows": 20, "sql": "WITH annual_prices AS (\n SELECT\n CAST(substr(t.txn_date, -4) AS INTEGER) AS purchase_year,\n m.region,\n SUM(t.quantity * p.price) / NULLIF(SUM(t.quantity), 0) AS avg_purchase_price\n FROM bitcoin_transactions AS t\n JOIN bitcoin_members AS m ON m.member_id = t.member_id\n JOIN bitcoin_prices AS p ON p.ticker = t.ticker AND p.market_date = t.txn_date\n WHERE t.ticker = 'BTC' AND t.txn_type = 'BUY'\n GROUP BY CAST(substr(t.txn_date, -4) AS INTEGER), m.region\n), regional_history AS (\n SELECT\n purchase_year,\n region,\n avg_purchase_price,\n LAG(purchase_year) OVER regional_years AS previous_year,\n LAG(avg_purchase_price) OVER regional_years AS previous_avg_price\n FROM annual_prices\n WINDOW regional_years AS (PARTITION BY region ORDER BY purchase_year)\n)\nSELECT\n purchase_year,\n region,\n avg_purchase_price,\n RANK() OVER (PARTITION BY purchase_year ORDER BY avg_purchase_price DESC) AS price_rank,\n CASE WHEN previous_year = purchase_year - 1 THEN\n 100.0 * (avg_purchase_price - previous_avg_price) / NULLIF(previous_avg_price, 0)\n END AS annual_pct_change\nFROM regional_history\nWHERE previous_year IS NOT NULL\nORDER BY purchase_year, price_rank, region;", "seconds": 35.73179625009652, "calls": [{"seconds": 2.770060583949089, "usage": {"completion_tokens": 68, "prompt_tokens": 1722, "total_tokens": 1790, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1117, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1117, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1117, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.658705999958329, "usage": {"completion_tokens": 174, "prompt_tokens": 1938, "total_tokens": 2112, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 154, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 216, "cached_tokens": 1117, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 216, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 216, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.595687958062626, "usage": {"completion_tokens": 266, "prompt_tokens": 2142, "total_tokens": 2408, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 58, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 204, "cached_tokens": 1333, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 204, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 204, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.8290664999512956, "usage": {"completion_tokens": 266, "prompt_tokens": 2750, "total_tokens": 3016, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 70, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 608, "cached_tokens": 1537, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 608, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 608, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.949307582923211, "usage": {"completion_tokens": 433, "prompt_tokens": 3334, "total_tokens": 3767, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 83, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 584, "cached_tokens": 2145, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 584, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 584, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.849247416947037, "usage": {"completion_tokens": 320, "prompt_tokens": 4651, "total_tokens": 4971, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1317, "cached_tokens": 2729, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1317, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1317, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b48b9897e5745080d6838446543304fffdf678a7d78134ec4115f0f6108358e4", "csv_sha256": "f9fb4f77c870ba47a25c22a22b1c49b0cbc0a7f13c008143bb3b20b99b3bf2b3"} +{"instance_id": "local157", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH parsed AS (\n SELECT ticker,\n SUBSTR(market_date, 7, 4) || '-' || SUBSTR(market_date, 4, 2) || '-' || SUBSTR(market_date, 1, 2) AS market_date,\n UPPER(TRIM(volume)) AS volume_text\n FROM bitcoin_prices\n), normalized AS (\n SELECT ticker, market_date,\n CASE\n WHEN volume_text = '-' THEN 0.0\n WHEN SUBSTR(volume_text, -1) = 'K'\n THEN CAST(SUBSTR(volume_text, 1, LENGTH(volume_text) - 1) AS REAL) * 1000.0\n WHEN SUBSTR(volume_text, -1) = 'M'\n THEN CAST(SUBSTR(volume_text, 1, LENGTH(volume_text) - 1) AS REAL) * 1000000.0\n ELSE CAST(volume_text AS REAL)\n END AS trading_volume\n FROM parsed\n WHERE market_date < '2021-08-11'\n), previous_dates AS (\n SELECT ticker, market_date, trading_volume,\n MAX(CASE WHEN trading_volume <> 0 THEN market_date END) OVER (\n PARTITION BY ticker ORDER BY market_date\n ROWS BETWEEN UNBOUNDED PRECEDING AND 1 PRECEDING\n ) AS previous_nonzero_date\n FROM normalized\n)\nSELECT d.ticker,\n d.market_date,\n 100.0 * (d.trading_volume - p.trading_volume) / p.trading_volume AS daily_volume_pct_change\nFROM previous_dates AS d\nLEFT JOIN normalized AS p\n ON p.ticker = d.ticker AND p.market_date = d.previous_nonzero_date\nWHERE d.market_date >= '2021-08-01' AND d.market_date < '2021-08-11'\nORDER BY d.ticker, d.market_date;\n```", "rows": 20, "sql": "WITH parsed AS (\n SELECT ticker,\n SUBSTR(market_date, 7, 4) || '-' || SUBSTR(market_date, 4, 2) || '-' || SUBSTR(market_date, 1, 2) AS market_date,\n UPPER(TRIM(volume)) AS volume_text\n FROM bitcoin_prices\n), normalized AS (\n SELECT ticker, market_date,\n CASE\n WHEN volume_text = '-' THEN 0.0\n WHEN SUBSTR(volume_text, -1) = 'K'\n THEN CAST(SUBSTR(volume_text, 1, LENGTH(volume_text) - 1) AS REAL) * 1000.0\n WHEN SUBSTR(volume_text, -1) = 'M'\n THEN CAST(SUBSTR(volume_text, 1, LENGTH(volume_text) - 1) AS REAL) * 1000000.0\n ELSE CAST(volume_text AS REAL)\n END AS trading_volume\n FROM parsed\n WHERE market_date < '2021-08-11'\n), previous_dates AS (\n SELECT ticker, market_date, trading_volume,\n MAX(CASE WHEN trading_volume <> 0 THEN market_date END) OVER (\n PARTITION BY ticker ORDER BY market_date\n ROWS BETWEEN UNBOUNDED PRECEDING AND 1 PRECEDING\n ) AS previous_nonzero_date\n FROM normalized\n)\nSELECT d.ticker,\n d.market_date,\n 100.0 * (d.trading_volume - p.trading_volume) / p.trading_volume AS daily_volume_pct_change\nFROM previous_dates AS d\nLEFT JOIN normalized AS p\n ON p.ticker = d.ticker AND p.market_date = d.previous_nonzero_date\nWHERE d.market_date >= '2021-08-01' AND d.market_date < '2021-08-11'\nORDER BY d.ticker, d.market_date;", "seconds": 26.34660829103086, "calls": [{"seconds": 2.627940334030427, "usage": {"completion_tokens": 20, "prompt_tokens": 1738, "total_tokens": 1758, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1133, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1133, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1133, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.85669320798479, "usage": {"completion_tokens": 155, "prompt_tokens": 1815, "total_tokens": 1970, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 119, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 77, "cached_tokens": 1133, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 77, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 77, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.215256458031945, "usage": {"completion_tokens": 108, "prompt_tokens": 2252, "total_tokens": 2360, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 19, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 437, "cached_tokens": 1210, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 437, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 437, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.796959540923126, "usage": {"completion_tokens": 481, "prompt_tokens": 2513, "total_tokens": 2994, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 46, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 261, "cached_tokens": 1647, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 261, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 261, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.775170417036861, "usage": {"completion_tokens": 404, "prompt_tokens": 3804, "total_tokens": 4208, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1291, "cached_tokens": 1908, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1291, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1291, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "8864274b108581a86eb91a16b2bceed6dda35376df249126c41f04848deb583a", "csv_sha256": "ce9ce014ff985a29d7a9410680a36b100a7867e72faf02726e9f6f44e01a9455"} +{"instance_id": "local167", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH ranked_terms AS (\n SELECT t.id_bioguide,\n t.state,\n ROW_NUMBER() OVER (\n PARTITION BY t.id_bioguide\n ORDER BY t.term_start, t.term_number, t.state\n ) AS term_rank\n FROM legislators_terms AS t\n WHERE EXISTS (\n SELECT 1\n FROM legislators AS l\n WHERE l.id_bioguide = t.id_bioguide\n AND l.gender = 'F'\n )\n)\nSELECT r.state AS state_abbreviation,\n COUNT(*) AS legislator_count\nFROM ranked_terms AS r\nWHERE r.term_rank = 1\n AND EXISTS (\n SELECT 1\n FROM legislators_terms AS t\n WHERE t.id_bioguide = r.id_bioguide\n AND date(t.term_start, 'start of year', '+1 year', '-1 day')\n BETWEEN date(t.term_start) AND date(t.term_end)\n )\nGROUP BY r.state\nORDER BY legislator_count DESC, state_abbreviation\nLIMIT 1;\n```", "rows": 1, "sql": "WITH ranked_terms AS (\n SELECT t.id_bioguide,\n t.state,\n ROW_NUMBER() OVER (\n PARTITION BY t.id_bioguide\n ORDER BY t.term_start, t.term_number, t.state\n ) AS term_rank\n FROM legislators_terms AS t\n WHERE EXISTS (\n SELECT 1\n FROM legislators AS l\n WHERE l.id_bioguide = t.id_bioguide\n AND l.gender = 'F'\n )\n)\nSELECT r.state AS state_abbreviation,\n COUNT(*) AS legislator_count\nFROM ranked_terms AS r\nWHERE r.term_rank = 1\n AND EXISTS (\n SELECT 1\n FROM legislators_terms AS t\n WHERE t.id_bioguide = r.id_bioguide\n AND date(t.term_start, 'start of year', '+1 year', '-1 day')\n BETWEEN date(t.term_start) AND date(t.term_end)\n )\nGROUP BY r.state\nORDER BY legislator_count DESC, state_abbreviation\nLIMIT 1;", "seconds": 59.52204233396333, "calls": [{"seconds": 2.716686792089604, "usage": {"completion_tokens": 73, "prompt_tokens": 1670, "total_tokens": 1743, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1091, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1091, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1091, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.864924666937441, "usage": {"completion_tokens": 184, "prompt_tokens": 2135, "total_tokens": 2319, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 69, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 465, "cached_tokens": 1091, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 465, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 465, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.38712900003884, "usage": {"completion_tokens": 405, "prompt_tokens": 2528, "total_tokens": 2933, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 149, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 393, "cached_tokens": 1556, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 393, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 393, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.969648916972801, "usage": {"completion_tokens": 252, "prompt_tokens": 3187, "total_tokens": 3439, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 21, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 659, "cached_tokens": 1949, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 659, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 659, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "0e34542e955e114cfdc54479e219ee8ce190edcb2614f229dbf9063d1d370772", "csv_sha256": "99f7e65d56212c13feef8035dcf1e6695848cd62b387acebb4761be0340d82b9"} +{"instance_id": "local168", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH eligible_jobs AS (\n SELECT job_id, salary_year_avg\n FROM job_postings_fact\n WHERE job_title_short = 'Data Analyst'\n AND salary_year_avg IS NOT NULL\n AND job_work_from_home = 1\n), top_skills AS (\n SELECT sj.skill_id\n FROM skills_job_dim AS sj\n JOIN eligible_jobs AS j ON j.job_id = sj.job_id\n GROUP BY sj.skill_id\n ORDER BY COUNT(DISTINCT sj.job_id) DESC, sj.skill_id\n LIMIT 3\n)\nSELECT AVG(j.salary_year_avg) AS overall_avg_salary\nFROM eligible_jobs AS j\nWHERE EXISTS (\n SELECT 1\n FROM skills_job_dim AS sj\n JOIN top_skills AS ts ON ts.skill_id = sj.skill_id\n WHERE sj.job_id = j.job_id\n);\n```", "rows": 1, "sql": "WITH eligible_jobs AS (\n SELECT job_id, salary_year_avg\n FROM job_postings_fact\n WHERE job_title_short = 'Data Analyst'\n AND salary_year_avg IS NOT NULL\n AND job_work_from_home = 1\n), top_skills AS (\n SELECT sj.skill_id\n FROM skills_job_dim AS sj\n JOIN eligible_jobs AS j ON j.job_id = sj.job_id\n GROUP BY sj.skill_id\n ORDER BY COUNT(DISTINCT sj.job_id) DESC, sj.skill_id\n LIMIT 3\n)\nSELECT AVG(j.salary_year_avg) AS overall_avg_salary\nFROM eligible_jobs AS j\nWHERE EXISTS (\n SELECT 1\n FROM skills_job_dim AS sj\n JOIN top_skills AS ts ON ts.skill_id = sj.skill_id\n WHERE sj.job_id = j.job_id\n);", "seconds": 16.870995790930465, "calls": [{"seconds": 2.9486372499959543, "usage": {"completion_tokens": 85, "prompt_tokens": 1669, "total_tokens": 1754, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1090, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1090, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1090, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.393799332901835, "usage": {"completion_tokens": 339, "prompt_tokens": 1967, "total_tokens": 2306, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 139, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 298, "cached_tokens": 1090, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 298, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 298, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.368317415937781, "usage": {"completion_tokens": 184, "prompt_tokens": 2516, "total_tokens": 2700, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 549, "cached_tokens": 1388, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 549, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 549, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "b9bc7bb9fad83d19b08ef37540d1eeb2ccbc93bc79c81236aa20398233d971ef", "csv_sha256": "12349c088c81a6189c820632a48e394ae90c361e0cac033d7886d593f56f65ef"} +{"instance_id": "local169", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE periods(period) AS (\n SELECT 1\n UNION ALL\n SELECT period + 1 FROM periods WHERE period < 20\n),\nfirst_terms AS (\n SELECT id_bioguide, MIN(term_start) AS first_term_start\n FROM legislators_terms\n GROUP BY id_bioguide\n),\ncohort AS (\n SELECT id_bioguide, CAST(strftime('%Y', first_term_start) AS INTEGER) AS start_year\n FROM first_terms\n WHERE first_term_start >= '1917-01-01'\n AND first_term_start < '2000-01-01'\n)\nSELECT p.period,\n 1.0 * COUNT(DISTINCT t.id_bioguide)\n / NULLIF((SELECT COUNT(*) FROM cohort), 0) AS retention_rate\nFROM periods AS p\nLEFT JOIN cohort AS c ON 1 = 1\nLEFT JOIN legislators_terms AS t\n ON t.id_bioguide = c.id_bioguide\n AND printf('%04d-12-31', c.start_year + p.period - 1)\n BETWEEN t.term_start AND t.term_end\nGROUP BY p.period\nORDER BY p.period;\n```", "rows": 20, "sql": "WITH RECURSIVE periods(period) AS (\n SELECT 1\n UNION ALL\n SELECT period + 1 FROM periods WHERE period < 20\n),\nfirst_terms AS (\n SELECT id_bioguide, MIN(term_start) AS first_term_start\n FROM legislators_terms\n GROUP BY id_bioguide\n),\ncohort AS (\n SELECT id_bioguide, CAST(strftime('%Y', first_term_start) AS INTEGER) AS start_year\n FROM first_terms\n WHERE first_term_start >= '1917-01-01'\n AND first_term_start < '2000-01-01'\n)\nSELECT p.period,\n 1.0 * COUNT(DISTINCT t.id_bioguide)\n / NULLIF((SELECT COUNT(*) FROM cohort), 0) AS retention_rate\nFROM periods AS p\nLEFT JOIN cohort AS c ON 1 = 1\nLEFT JOIN legislators_terms AS t\n ON t.id_bioguide = c.id_bioguide\n AND printf('%04d-12-31', c.start_year + p.period - 1)\n BETWEEN t.term_start AND t.term_end\nGROUP BY p.period\nORDER BY p.period;", "seconds": 47.47783691599034, "calls": [{"seconds": 3.497304040938616, "usage": {"completion_tokens": 87, "prompt_tokens": 1708, "total_tokens": 1795, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1129, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1129, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1129, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.52408354205545, "usage": {"completion_tokens": 245, "prompt_tokens": 2215, "total_tokens": 2460, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 84, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 507, "cached_tokens": 1129, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 507, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 507, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.868975209072232, "usage": {"completion_tokens": 418, "prompt_tokens": 2710, "total_tokens": 3128, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 286, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 495, "cached_tokens": 1636, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 495, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 495, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 20.21647679200396, "usage": {"completion_tokens": 964, "prompt_tokens": 3302, "total_tokens": 4266, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 676, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 592, "cached_tokens": 2131, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 592, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 592, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.631596167106181, "usage": {"completion_tokens": 278, "prompt_tokens": 4786, "total_tokens": 5064, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 15, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1484, "cached_tokens": 2723, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1484, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1484, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "53b9f056f0988e303807cc080fb0882cfa4ceae70973d862f7fa388fd0c7533d", "csv_sha256": "8117b7b784cf24073dd3aca34b829347a3538858b51962c32ff37b2cb7ab8643"} +{"instance_id": "local170", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH first_terms AS (\n SELECT id_bioguide, state, term_start,\n ROW_NUMBER() OVER (\n PARTITION BY id_bioguide ORDER BY term_start, term_number, term_id\n ) AS term_order\n FROM legislators_terms\n WHERE term_start IS NOT NULL\n),\nintervals(years_after_start) AS (\n VALUES (0), (2), (4), (6), (8), (10)\n),\ncheckpoints AS (\n SELECT f.id_bioguide, f.state, l.gender, i.years_after_start,\n date(f.term_start, 'start of year',\n printf('+%d years', i.years_after_start), '+1 year', '-1 day') AS dec_31\n FROM first_terms AS f\n JOIN legislators AS l ON l.id_bioguide = f.id_bioguide\n CROSS JOIN intervals AS i\n WHERE f.term_order = 1\n AND f.state IS NOT NULL\n AND l.gender IN ('M', 'F')\n),\nnonzero_retention AS (\n SELECT DISTINCT c.state, c.gender, c.years_after_start\n FROM checkpoints AS c\n JOIN legislators_terms AS t\n ON t.id_bioguide = c.id_bioguide\n AND c.dec_31 BETWEEN t.term_start AND t.term_end\n)\nSELECT state\nFROM nonzero_retention\nGROUP BY state\nHAVING COUNT(*) = 12\nORDER BY state;\n```", "rows": 34, "sql": "WITH first_terms AS (\n SELECT id_bioguide, state, term_start,\n ROW_NUMBER() OVER (\n PARTITION BY id_bioguide ORDER BY term_start, term_number, term_id\n ) AS term_order\n FROM legislators_terms\n WHERE term_start IS NOT NULL\n),\nintervals(years_after_start) AS (\n VALUES (0), (2), (4), (6), (8), (10)\n),\ncheckpoints AS (\n SELECT f.id_bioguide, f.state, l.gender, i.years_after_start,\n date(f.term_start, 'start of year',\n printf('+%d years', i.years_after_start), '+1 year', '-1 day') AS dec_31\n FROM first_terms AS f\n JOIN legislators AS l ON l.id_bioguide = f.id_bioguide\n CROSS JOIN intervals AS i\n WHERE f.term_order = 1\n AND f.state IS NOT NULL\n AND l.gender IN ('M', 'F')\n),\nnonzero_retention AS (\n SELECT DISTINCT c.state, c.gender, c.years_after_start\n FROM checkpoints AS c\n JOIN legislators_terms AS t\n ON t.id_bioguide = c.id_bioguide\n AND c.dec_31 BETWEEN t.term_start AND t.term_end\n)\nSELECT state\nFROM nonzero_retention\nGROUP BY state\nHAVING COUNT(*) = 12\nORDER BY state;", "seconds": 35.02182183403056, "calls": [{"seconds": 2.9405055000679567, "usage": {"completion_tokens": 87, "prompt_tokens": 1723, "total_tokens": 1810, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1144, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1144, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1144, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.610579207888804, "usage": {"completion_tokens": 485, "prompt_tokens": 2230, "total_tokens": 2715, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 242, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 507, "cached_tokens": 1144, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 507, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 507, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.39646504202392, "usage": {"completion_tokens": 598, "prompt_tokens": 3032, "total_tokens": 3630, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 250, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 802, "cached_tokens": 1651, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 802, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 802, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.741195541922934, "usage": {"completion_tokens": 417, "prompt_tokens": 4032, "total_tokens": 4449, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 97, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1000, "cached_tokens": 2453, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1000, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1000, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "87cc2bf1003e539108d8fc47fcc8772019ecb81b195ea6279ae20b42db8c67e4", "csv_sha256": "1ca502fccfdd468ecfcac37a75b8f1f3c2c59c4635eb503459d304d8889f44b4"} +{"instance_id": "local171", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH first_terms AS (\n SELECT id_bioguide, MIN(term_start) AS first_term_start\n FROM legislators_terms\n GROUP BY id_bioguide\n), year_end_service AS (\n SELECT lt.id_bioguide,\n CAST(strftime('%Y', d.date) AS INTEGER)\n - CAST(strftime('%Y', ft.first_term_start) AS INTEGER) AS years_since_first_term\n FROM legislators_terms AS lt\n JOIN first_terms AS ft ON ft.id_bioguide = lt.id_bioguide\n JOIN legislators AS l ON l.id_bioguide = lt.id_bioguide\n JOIN legislation_date_dim AS d ON d.date BETWEEN lt.term_start AND lt.term_end\n WHERE l.gender = 'M'\n AND lt.state = 'LA'\n AND d.month_name = 'December'\n AND d.day_of_month = 31\n)\nSELECT years_since_first_term,\n COUNT(DISTINCT id_bioguide) AS legislator_count\nFROM year_end_service\nWHERE years_since_first_term > 30 AND years_since_first_term < 50\nGROUP BY years_since_first_term\nORDER BY years_since_first_term;\n```", "rows": 8, "sql": "WITH first_terms AS (\n SELECT id_bioguide, MIN(term_start) AS first_term_start\n FROM legislators_terms\n GROUP BY id_bioguide\n), year_end_service AS (\n SELECT lt.id_bioguide,\n CAST(strftime('%Y', d.date) AS INTEGER)\n - CAST(strftime('%Y', ft.first_term_start) AS INTEGER) AS years_since_first_term\n FROM legislators_terms AS lt\n JOIN first_terms AS ft ON ft.id_bioguide = lt.id_bioguide\n JOIN legislators AS l ON l.id_bioguide = lt.id_bioguide\n JOIN legislation_date_dim AS d ON d.date BETWEEN lt.term_start AND lt.term_end\n WHERE l.gender = 'M'\n AND lt.state = 'LA'\n AND d.month_name = 'December'\n AND d.day_of_month = 31\n)\nSELECT years_since_first_term,\n COUNT(DISTINCT id_bioguide) AS legislator_count\nFROM year_end_service\nWHERE years_since_first_term > 30 AND years_since_first_term < 50\nGROUP BY years_since_first_term\nORDER BY years_since_first_term;", "seconds": 26.669834750005975, "calls": [{"seconds": 2.6936456670518965, "usage": {"completion_tokens": 87, "prompt_tokens": 1680, "total_tokens": 1767, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1101, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1101, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1101, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 14.706540125072934, "usage": {"completion_tokens": 738, "prompt_tokens": 2187, "total_tokens": 2925, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 463, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 507, "cached_tokens": 1101, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 507, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 507, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.186771958018653, "usage": {"completion_tokens": 531, "prompt_tokens": 3245, "total_tokens": 3776, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 274, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1058, "cached_tokens": 1608, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1058, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1058, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2737edb3fb99db2efe60fb473f1e65940d8b1807fe973c8bb1fa24cbb4c9657a", "csv_sha256": "efe3504bf65d88e6a04e75d1e43d89ec6383fcbfcad1c0ed07dde095fd439359"} +{"instance_id": "local193", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH purchases AS (\n SELECT customer_id,\n amount,\n unixepoch(payment_date) AS purchase_second\n FROM payment\n), timed_purchases AS (\n SELECT customer_id,\n amount,\n purchase_second - MIN(purchase_second) OVER (PARTITION BY customer_id) AS elapsed_seconds\n FROM purchases\n), customer_ltv AS (\n SELECT customer_id,\n SUM(amount) AS total_ltv,\n SUM(CASE WHEN elapsed_seconds < 7 * 86400 THEN amount ELSE 0 END) AS sales_7_days,\n SUM(CASE WHEN elapsed_seconds < 30 * 86400 THEN amount ELSE 0 END) AS sales_30_days\n FROM timed_purchases\n GROUP BY customer_id\n HAVING SUM(amount) <> 0\n)\nSELECT AVG(100.0 * sales_7_days / total_ltv) AS avg_ltv_pct_first_7_days,\n AVG(100.0 * sales_30_days / total_ltv) AS avg_ltv_pct_first_30_days,\n AVG(total_ltv) AS avg_total_ltv\nFROM customer_ltv;\n```", "rows": 1, "sql": "WITH purchases AS (\n SELECT customer_id,\n amount,\n unixepoch(payment_date) AS purchase_second\n FROM payment\n), timed_purchases AS (\n SELECT customer_id,\n amount,\n purchase_second - MIN(purchase_second) OVER (PARTITION BY customer_id) AS elapsed_seconds\n FROM purchases\n), customer_ltv AS (\n SELECT customer_id,\n SUM(amount) AS total_ltv,\n SUM(CASE WHEN elapsed_seconds < 7 * 86400 THEN amount ELSE 0 END) AS sales_7_days,\n SUM(CASE WHEN elapsed_seconds < 30 * 86400 THEN amount ELSE 0 END) AS sales_30_days\n FROM timed_purchases\n GROUP BY customer_id\n HAVING SUM(amount) <> 0\n)\nSELECT AVG(100.0 * sales_7_days / total_ltv) AS avg_ltv_pct_first_7_days,\n AVG(100.0 * sales_30_days / total_ltv) AS avg_ltv_pct_first_30_days,\n AVG(total_ltv) AS avg_total_ltv\nFROM customer_ltv;", "seconds": 20.330147915985435, "calls": [{"seconds": 2.9277702500112355, "usage": {"completion_tokens": 80, "prompt_tokens": 1713, "total_tokens": 1793, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1128, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1128, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1128, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.313879041932523, "usage": {"completion_tokens": 566, "prompt_tokens": 2065, "total_tokens": 2631, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 303, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 352, "cached_tokens": 1128, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 352, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 352, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.04340812494047, "usage": {"completion_tokens": 258, "prompt_tokens": 2937, "total_tokens": 3195, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 17, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 872, "cached_tokens": 1480, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 872, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 872, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "86a9ffd74a85dac609296f5d44b3cace98f87d687095b48ea1b23f843409a20a", "csv_sha256": "05732a1326a1b7ef4de05b65a5e3a9a20561c6a21022e14bed55fe7f4b8bcf68"} +{"instance_id": "local195", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "failed", "answer": "❓ Awaiting user: What should determine the top five actors: total rentals of their films, number of distinct customers who rented their films, or another measure?", "error_type": "ValueError", "seconds": 6.7217356249457225, "calls": [{"seconds": 1.98796733294148, "usage": {"completion_tokens": 18, "prompt_tokens": 1659, "total_tokens": 1677, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1074, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1074, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1074, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 1.8500052499584854, "usage": {"completion_tokens": 15, "prompt_tokens": 1707, "total_tokens": 1722, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1074, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8758102919673547, "usage": {"completion_tokens": 44, "prompt_tokens": 1821, "total_tokens": 1865, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 114, "cached_tokens": 1122, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 114, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 114, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "660639c4a4cc28f0a2110197a9149eec94bc8fc7bf2a234a43f547c715da6679"} +{"instance_id": "local196", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH ranked_rental_payments AS (\n SELECT\n p.customer_id,\n r.inventory_id,\n ROW_NUMBER() OVER (\n PARTITION BY p.customer_id\n ORDER BY p.payment_date, p.payment_id\n ) AS payment_rank\n FROM payment AS p\n JOIN rental AS r\n ON r.rental_id = p.rental_id\n AND r.customer_id = p.customer_id\n), customer_spending AS (\n SELECT customer_id, SUM(amount) AS total_amount_spent\n FROM payment\n GROUP BY customer_id\n), customer_rentals AS (\n SELECT customer_id, COUNT(*) - 1 AS subsequent_rentals\n FROM rental\n GROUP BY customer_id\n)\nSELECT\n f.rating,\n AVG(s.total_amount_spent) AS avg_total_amount_spent,\n AVG(cr.subsequent_rentals) AS avg_subsequent_rentals\nFROM ranked_rental_payments AS rp\nJOIN inventory AS i ON i.inventory_id = rp.inventory_id\nJOIN film AS f ON f.film_id = i.film_id\nJOIN customer_spending AS s ON s.customer_id = rp.customer_id\nJOIN customer_rentals AS cr ON cr.customer_id = rp.customer_id\nWHERE rp.payment_rank = 1\nGROUP BY f.rating\nORDER BY f.rating;\n```", "rows": 5, "sql": "WITH ranked_rental_payments AS (\n SELECT\n p.customer_id,\n r.inventory_id,\n ROW_NUMBER() OVER (\n PARTITION BY p.customer_id\n ORDER BY p.payment_date, p.payment_id\n ) AS payment_rank\n FROM payment AS p\n JOIN rental AS r\n ON r.rental_id = p.rental_id\n AND r.customer_id = p.customer_id\n), customer_spending AS (\n SELECT customer_id, SUM(amount) AS total_amount_spent\n FROM payment\n GROUP BY customer_id\n), customer_rentals AS (\n SELECT customer_id, COUNT(*) - 1 AS subsequent_rentals\n FROM rental\n GROUP BY customer_id\n)\nSELECT\n f.rating,\n AVG(s.total_amount_spent) AS avg_total_amount_spent,\n AVG(cr.subsequent_rentals) AS avg_subsequent_rentals\nFROM ranked_rental_payments AS rp\nJOIN inventory AS i ON i.inventory_id = rp.inventory_id\nJOIN film AS f ON f.film_id = i.film_id\nJOIN customer_spending AS s ON s.customer_id = rp.customer_id\nJOIN customer_rentals AS cr ON cr.customer_id = rp.customer_id\nWHERE rp.payment_rank = 1\nGROUP BY f.rating\nORDER BY f.rating;", "seconds": 16.39058254205156, "calls": [{"seconds": 3.122875791043043, "usage": {"completion_tokens": 96, "prompt_tokens": 1700, "total_tokens": 1796, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1115, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1115, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1115, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.21326533309184, "usage": {"completion_tokens": 445, "prompt_tokens": 2216, "total_tokens": 2661, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 141, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 516, "cached_tokens": 1115, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 516, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 516, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.981983416946605, "usage": {"completion_tokens": 284, "prompt_tokens": 3078, "total_tokens": 3362, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 862, "cached_tokens": 1631, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 862, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 862, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "71b96cbacc4e988e4d4a24bee4d6752232080958e729d1948ca37d3a925a0a20", "csv_sha256": "f48740401dddb6a04b0391e12baa32310e431f95afbd22598dad182641d33004"} +{"instance_id": "local197", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH monthly_payments AS (\n SELECT customer_id,\n DATE(payment_date, 'start of month') AS payment_month,\n SUM(CAST(ROUND(amount * 100) AS INTEGER)) AS total_cents\n FROM payment\n GROUP BY customer_id, DATE(payment_date, 'start of month')\n), top_customers AS (\n SELECT customer_id\n FROM monthly_payments\n GROUP BY customer_id\n ORDER BY SUM(total_cents) DESC, customer_id\n LIMIT 10\n), monthly_comparison AS (\n SELECT m.customer_id,\n m.payment_month,\n m.total_cents,\n LAG(m.payment_month) OVER customer_months AS previous_month,\n LAG(m.total_cents) OVER customer_months AS previous_total_cents\n FROM monthly_payments AS m\n JOIN top_customers AS t ON t.customer_id = m.customer_id\n WINDOW customer_months AS (\n PARTITION BY m.customer_id ORDER BY m.payment_month\n )\n), differences AS (\n SELECT customer_id,\n payment_month,\n ABS(total_cents - previous_total_cents) AS difference_cents\n FROM monthly_comparison\n WHERE payment_month = DATE(previous_month, '+1 month')\n)\nSELECT c.first_name || ' ' || c.last_name AS customer_name,\n STRFTIME('%Y-%m', d.payment_month) AS payment_month,\n ROUND(d.difference_cents / 100.0, 2) AS payment_difference\nFROM differences AS d\nJOIN customer AS c ON c.customer_id = d.customer_id\nWHERE d.difference_cents = (SELECT MAX(difference_cents) FROM differences)\nORDER BY d.payment_month, c.customer_id;\n```", "rows": 1, "sql": "WITH monthly_payments AS (\n SELECT customer_id,\n DATE(payment_date, 'start of month') AS payment_month,\n SUM(CAST(ROUND(amount * 100) AS INTEGER)) AS total_cents\n FROM payment\n GROUP BY customer_id, DATE(payment_date, 'start of month')\n), top_customers AS (\n SELECT customer_id\n FROM monthly_payments\n GROUP BY customer_id\n ORDER BY SUM(total_cents) DESC, customer_id\n LIMIT 10\n), monthly_comparison AS (\n SELECT m.customer_id,\n m.payment_month,\n m.total_cents,\n LAG(m.payment_month) OVER customer_months AS previous_month,\n LAG(m.total_cents) OVER customer_months AS previous_total_cents\n FROM monthly_payments AS m\n JOIN top_customers AS t ON t.customer_id = m.customer_id\n WINDOW customer_months AS (\n PARTITION BY m.customer_id ORDER BY m.payment_month\n )\n), differences AS (\n SELECT customer_id,\n payment_month,\n ABS(total_cents - previous_total_cents) AS difference_cents\n FROM monthly_comparison\n WHERE payment_month = DATE(previous_month, '+1 month')\n)\nSELECT c.first_name || ' ' || c.last_name AS customer_name,\n STRFTIME('%Y-%m', d.payment_month) AS payment_month,\n ROUND(d.difference_cents / 100.0, 2) AS payment_difference\nFROM differences AS d\nJOIN customer AS c ON c.customer_id = d.customer_id\nWHERE d.difference_cents = (SELECT MAX(difference_cents) FROM differences)\nORDER BY d.payment_month, c.customer_id;", "seconds": 22.92595658299979, "calls": [{"seconds": 2.6678446249570698, "usage": {"completion_tokens": 64, "prompt_tokens": 1688, "total_tokens": 1752, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1103, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1103, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1103, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 13.622240916010924, "usage": {"completion_tokens": 706, "prompt_tokens": 1952, "total_tokens": 2658, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 316, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 264, "cached_tokens": 1103, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 264, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 264, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.600940959062427, "usage": {"completion_tokens": 400, "prompt_tokens": 3060, "total_tokens": 3460, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 37, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1108, "cached_tokens": 1367, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1108, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1108, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "25e7bea366705dfa3ede8dab12ebb4d26d275999216c077cce384b0062f9da05", "csv_sha256": "603b54a879142cf5d0645bd292e0a4b6cef2d6586d49b404711578c163f0bbea"} +{"instance_id": "local198", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH eligible_countries AS (\n SELECT Country\n FROM customers\n GROUP BY Country\n HAVING COUNT(*) > 4\n), country_sales AS (\n SELECT c.Country, ROUND(SUM(i.Total), 2) AS total_sales\n FROM eligible_countries AS e\n JOIN customers AS c ON c.Country = e.Country\n JOIN invoices AS i ON i.CustomerId = c.CustomerId\n GROUP BY c.Country\n), ranked_sales AS (\n SELECT total_sales,\n ROW_NUMBER() OVER (ORDER BY total_sales) AS rn,\n COUNT(*) OVER () AS country_count\n FROM country_sales\n)\nSELECT ROUND(AVG(total_sales), 3) AS median_total_sales\nFROM ranked_sales\nWHERE rn IN ((country_count + 1) / 2, (country_count + 2) / 2);\n```", "rows": 1, "sql": "WITH eligible_countries AS (\n SELECT Country\n FROM customers\n GROUP BY Country\n HAVING COUNT(*) > 4\n), country_sales AS (\n SELECT c.Country, ROUND(SUM(i.Total), 2) AS total_sales\n FROM eligible_countries AS e\n JOIN customers AS c ON c.Country = e.Country\n JOIN invoices AS i ON i.CustomerId = c.CustomerId\n GROUP BY c.Country\n), ranked_sales AS (\n SELECT total_sales,\n ROW_NUMBER() OVER (ORDER BY total_sales) AS rn,\n COUNT(*) OVER () AS country_count\n FROM country_sales\n)\nSELECT ROUND(AVG(total_sales), 3) AS median_total_sales\nFROM ranked_sales\nWHERE rn IN ((country_count + 1) / 2, (country_count + 2) / 2);", "seconds": 19.03967737511266, "calls": [{"seconds": 2.972268959041685, "usage": {"completion_tokens": 65, "prompt_tokens": 1631, "total_tokens": 1696, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1075, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1075, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1075, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.059652957948856, "usage": {"completion_tokens": 492, "prompt_tokens": 1953, "total_tokens": 2445, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 293, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 322, "cached_tokens": 1075, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 322, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 322, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.9954329170286655, "usage": {"completion_tokens": 217, "prompt_tokens": 2649, "total_tokens": 2866, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 33, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 696, "cached_tokens": 1397, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 696, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 696, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "cb5cb0dc8f42b2cc589b307292a033cc3dd709e50d5dafdfdc3c345f6ea9626f", "csv_sha256": "c0cccc3d8984f36b263a504e3c693d46132f1e3132f1ebfdd87031679ba58e36"} +{"instance_id": "local199", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH monthly_rentals AS (\n SELECT s.store_id,\n CAST(strftime('%Y', r.rental_date) AS INTEGER) AS year,\n CAST(strftime('%m', r.rental_date) AS INTEGER) AS month,\n COUNT(*) AS total_rentals\n FROM rental AS r\n JOIN staff AS st ON st.staff_id = r.staff_id\n JOIN store AS s ON s.store_id = st.store_id\n GROUP BY s.store_id, year, month\n), ranked_months AS (\n SELECT store_id, year, month, total_rentals,\n RANK() OVER (PARTITION BY store_id ORDER BY total_rentals DESC) AS rental_rank\n FROM monthly_rentals\n)\nSELECT store_id, year, month, total_rentals\nFROM ranked_months\nWHERE rental_rank = 1\nORDER BY store_id, year, month;\n```", "rows": 2, "sql": "WITH monthly_rentals AS (\n SELECT s.store_id,\n CAST(strftime('%Y', r.rental_date) AS INTEGER) AS year,\n CAST(strftime('%m', r.rental_date) AS INTEGER) AS month,\n COUNT(*) AS total_rentals\n FROM rental AS r\n JOIN staff AS st ON st.staff_id = r.staff_id\n JOIN store AS s ON s.store_id = st.store_id\n GROUP BY s.store_id, year, month\n), ranked_months AS (\n SELECT store_id, year, month, total_rentals,\n RANK() OVER (PARTITION BY store_id ORDER BY total_rentals DESC) AS rental_rank\n FROM monthly_rentals\n)\nSELECT store_id, year, month, total_rentals\nFROM ranked_months\nWHERE rental_rank = 1\nORDER BY store_id, year, month;", "seconds": 12.564573374926113, "calls": [{"seconds": 2.806790125090629, "usage": {"completion_tokens": 66, "prompt_tokens": 1675, "total_tokens": 1741, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1090, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1090, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1090, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.889104874921031, "usage": {"completion_tokens": 252, "prompt_tokens": 1970, "total_tokens": 2222, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 38, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 295, "cached_tokens": 1090, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 295, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 295, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.798080499982461, "usage": {"completion_tokens": 196, "prompt_tokens": 2476, "total_tokens": 2672, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 506, "cached_tokens": 1385, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 506, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 506, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1f5989fa7142dac3bbc85a29a38b0efad69d997cf1ac743cfb5da68844d6c4bd", "csv_sha256": "ec0f6548a87fdb6fbc9b9c80c6b33ace0208c1d06ae439b97da45e68866d112b"} +{"instance_id": "local201", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH dictionary AS (\n SELECT DISTINCT words COLLATE BINARY AS word\n FROM word_list\n WHERE length(words) BETWEEN 4 AND 5\n), positions(pos) AS (\n VALUES (1), (2), (3), (4), (5)\n), signatures AS (\n SELECT word, pos,\n group_concat(substr(word, pos, 1), '') OVER (\n PARTITION BY word COLLATE BINARY\n ORDER BY substr(word, pos, 1) COLLATE BINARY\n ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING\n ) AS signature\n FROM dictionary\n JOIN positions ON pos <= length(word)\n), counts AS (\n SELECT word,\n count(*) OVER (PARTITION BY signature COLLATE BINARY) - 1 AS anagram_count\n FROM signatures\n WHERE pos = 1\n)\nSELECT word, anagram_count\nFROM counts\nWHERE substr(word, 1, 1) COLLATE BINARY = 'r'\n AND anagram_count > 0\nORDER BY word COLLATE BINARY\nLIMIT 10;\n```", "rows": 10, "sql": "WITH dictionary AS (\n SELECT DISTINCT words COLLATE BINARY AS word\n FROM word_list\n WHERE length(words) BETWEEN 4 AND 5\n), positions(pos) AS (\n VALUES (1), (2), (3), (4), (5)\n), signatures AS (\n SELECT word, pos,\n group_concat(substr(word, pos, 1), '') OVER (\n PARTITION BY word COLLATE BINARY\n ORDER BY substr(word, pos, 1) COLLATE BINARY\n ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING\n ) AS signature\n FROM dictionary\n JOIN positions ON pos <= length(word)\n), counts AS (\n SELECT word,\n count(*) OVER (PARTITION BY signature COLLATE BINARY) - 1 AS anagram_count\n FROM signatures\n WHERE pos = 1\n)\nSELECT word, anagram_count\nFROM counts\nWHERE substr(word, 1, 1) COLLATE BINARY = 'r'\n AND anagram_count > 0\nORDER BY word COLLATE BINARY\nLIMIT 10;", "seconds": 17.791342000011355, "calls": [{"seconds": 2.2796293750870973, "usage": {"completion_tokens": 20, "prompt_tokens": 1699, "total_tokens": 1719, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1102, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1102, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1102, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.876872083055787, "usage": {"completion_tokens": 445, "prompt_tokens": 1740, "total_tokens": 2185, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 182, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 41, "cached_tokens": 1102, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 41, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 41, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.3075876670191064, "usage": {"completion_tokens": 241, "prompt_tokens": 2502, "total_tokens": 2743, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 762, "cached_tokens": 1143, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 762, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 762, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d4ecc97821e798456afdb1e5c5bb7c046cb43fd0d1f57a2dd552d72fbbb7d395", "csv_sha256": "46ef527c8b7ff2d27684d6dc5357c9af85d78757d2f76c9e5cdd9d6f4c8fc1d3"} +{"instance_id": "local209", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH store_totals AS (\n SELECT s.store_id, s.store_name, COUNT(*) AS total_orders\n FROM orders AS o\n JOIN stores AS s ON s.store_id = o.store_id\n GROUP BY s.store_id, s.store_name\n), top_stores AS (\n SELECT store_id, store_name, total_orders\n FROM store_totals\n WHERE total_orders = (SELECT MAX(total_orders) FROM store_totals)\n), delivered AS (\n SELECT DISTINCT delivery_order_id\n FROM deliveries\n WHERE delivery_status = 'DELIVERED'\n)\nSELECT t.store_name,\n 1.0 * COUNT(d.delivery_order_id) / t.total_orders AS delivered_order_ratio\nFROM top_stores AS t\nJOIN orders AS o ON o.store_id = t.store_id\nLEFT JOIN delivered AS d ON d.delivery_order_id = o.delivery_order_id\nGROUP BY t.store_id, t.store_name, t.total_orders\nORDER BY t.store_id;\n```", "rows": 1, "sql": "WITH store_totals AS (\n SELECT s.store_id, s.store_name, COUNT(*) AS total_orders\n FROM orders AS o\n JOIN stores AS s ON s.store_id = o.store_id\n GROUP BY s.store_id, s.store_name\n), top_stores AS (\n SELECT store_id, store_name, total_orders\n FROM store_totals\n WHERE total_orders = (SELECT MAX(total_orders) FROM store_totals)\n), delivered AS (\n SELECT DISTINCT delivery_order_id\n FROM deliveries\n WHERE delivery_status = 'DELIVERED'\n)\nSELECT t.store_name,\n 1.0 * COUNT(d.delivery_order_id) / t.total_orders AS delivered_order_ratio\nFROM top_stores AS t\nJOIN orders AS o ON o.store_id = t.store_id\nLEFT JOIN delivered AS d ON d.delivery_order_id = o.delivery_order_id\nGROUP BY t.store_id, t.store_name, t.total_orders\nORDER BY t.store_id;", "seconds": 49.70339908392634, "calls": [{"seconds": 3.210051125031896, "usage": {"completion_tokens": 66, "prompt_tokens": 1648, "total_tokens": 1714, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1103, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1103, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1103, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.5776915000751615, "usage": {"completion_tokens": 247, "prompt_tokens": 2166, "total_tokens": 2413, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 65, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 518, "cached_tokens": 1103, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 518, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 518, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.874656917061657, "usage": {"completion_tokens": 224, "prompt_tokens": 2620, "total_tokens": 2844, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 454, "cached_tokens": 1621, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 454, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 454, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.239483957993798, "usage": {"completion_tokens": 208, "prompt_tokens": 3092, "total_tokens": 3300, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 472, "cached_tokens": 2075, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 472, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 472, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ddc3d0143e159279d00d680a15b88fe178aa0becdf199e445106e7262c1c1497", "csv_sha256": "3db88d516453b0e56c7596a1cf1ac6fc7fd38ad53ed76aceaef8fbe41e101cd3"} +{"instance_id": "local210", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH hub_order_counts AS (\n SELECT\n h.hub_id,\n h.hub_name,\n COUNT(CASE WHEN o.order_created_month = 2 THEN 1 END) AS february_orders,\n COUNT(CASE WHEN o.order_created_month = 3 THEN 1 END) AS march_orders\n FROM orders AS o\n JOIN stores AS s ON s.store_id = o.store_id\n JOIN hubs AS h ON h.hub_id = s.hub_id\n WHERE o.order_status = 'FINISHED'\n AND o.order_created_month IN (2, 3)\n GROUP BY h.hub_id, h.hub_name\n)\nSELECT hub_name\nFROM hub_order_counts\nWHERE february_orders > 0\n AND 5 * march_orders > 6 * february_orders\nORDER BY hub_name;\n```", "rows": 21, "sql": "WITH hub_order_counts AS (\n SELECT\n h.hub_id,\n h.hub_name,\n COUNT(CASE WHEN o.order_created_month = 2 THEN 1 END) AS february_orders,\n COUNT(CASE WHEN o.order_created_month = 3 THEN 1 END) AS march_orders\n FROM orders AS o\n JOIN stores AS s ON s.store_id = o.store_id\n JOIN hubs AS h ON h.hub_id = s.hub_id\n WHERE o.order_status = 'FINISHED'\n AND o.order_created_month IN (2, 3)\n GROUP BY h.hub_id, h.hub_name\n)\nSELECT hub_name\nFROM hub_order_counts\nWHERE february_orders > 0\n AND 5 * march_orders > 6 * february_orders\nORDER BY hub_name;", "seconds": 27.85244320903439, "calls": [{"seconds": 2.6372861249838024, "usage": {"completion_tokens": 47, "prompt_tokens": 1615, "total_tokens": 1662, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1070, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1070, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1070, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.764957582927309, "usage": {"completion_tokens": 66, "prompt_tokens": 1724, "total_tokens": 1790, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 109, "cached_tokens": 1070, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 109, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 109, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.341405874933116, "usage": {"completion_tokens": 111, "prompt_tokens": 2257, "total_tokens": 2368, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 38, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 533, "cached_tokens": 1179, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 533, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 533, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.797855874989182, "usage": {"completion_tokens": 168, "prompt_tokens": 2519, "total_tokens": 2687, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 88, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 262, "cached_tokens": 1712, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 262, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 262, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.844721624976955, "usage": {"completion_tokens": 303, "prompt_tokens": 2796, "total_tokens": 3099, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 103, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 277, "cached_tokens": 1974, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 277, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 277, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.15367095801048, "usage": {"completion_tokens": 275, "prompt_tokens": 3405, "total_tokens": 3680, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 91, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 609, "cached_tokens": 2251, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 609, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 609, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "862d0082a63a0dcd9fab2e810d71f6a948ea01199f89d5ceb51f122fc36d95e1", "csv_sha256": "b4024d006e7f955f96b50316bf9c690f15f5e69919b6f4254d0b277b7d06fae3"} +{"instance_id": "local212", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "failed", "answer": "❓ Awaiting user: For the daily average, which delivery statuses should count, should I use the order date or the delivery date, and should days with zero deliveries be included?", "error_type": "ValueError", "seconds": 38.66942941606976, "calls": [{"seconds": 3.4167913750279695, "usage": {"completion_tokens": 65, "prompt_tokens": 1609, "total_tokens": 1674, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1064, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1064, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1064, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.3548960420303047, "usage": {"completion_tokens": 19, "prompt_tokens": 1796, "total_tokens": 1815, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 187, "cached_tokens": 1064, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 187, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 187, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.00027408299502, "usage": {"completion_tokens": 234, "prompt_tokens": 2130, "total_tokens": 2364, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 110, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 334, "cached_tokens": 1251, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 334, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 334, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.532182124909014, "usage": {"completion_tokens": 388, "prompt_tokens": 2584, "total_tokens": 2972, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 302, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 454, "cached_tokens": 1585, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 454, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 454, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 14.596661041956395, "usage": {"completion_tokens": 529, "prompt_tokens": 3461, "total_tokens": 3990, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 479, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 877, "cached_tokens": 2039, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 877, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 877, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1cc83a266cc2af331c55a802c54a6a0963851b138b614181ec1dfa1132d5515c"} +{"instance_id": "local219", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH appearances AS (\n SELECT league_id, home_team_api_id AS team_api_id,\n CASE WHEN home_team_goal > away_team_goal THEN 1 ELSE 0 END AS won\n FROM \"Match\"\n UNION ALL\n SELECT league_id, away_team_api_id AS team_api_id,\n CASE WHEN away_team_goal > home_team_goal THEN 1 ELSE 0 END AS won\n FROM \"Match\"\n), win_totals AS (\n SELECT league_id, team_api_id, SUM(won) AS total_wins\n FROM appearances\n GROUP BY league_id, team_api_id\n), ranked AS (\n SELECT w.league_id, t.team_long_name AS team_name, w.total_wins,\n ROW_NUMBER() OVER (\n PARTITION BY w.league_id\n ORDER BY w.total_wins, w.team_api_id, t.id\n ) AS league_rank\n FROM win_totals AS w\n JOIN Team AS t ON t.team_api_id = w.team_api_id\n)\nSELECT l.name AS league_name, r.team_name, r.total_wins\nFROM ranked AS r\nJOIN League AS l ON l.id = r.league_id\nWHERE r.league_rank = 1\nORDER BY l.name, l.id;\n```", "rows": 11, "sql": "WITH appearances AS (\n SELECT league_id, home_team_api_id AS team_api_id,\n CASE WHEN home_team_goal > away_team_goal THEN 1 ELSE 0 END AS won\n FROM \"Match\"\n UNION ALL\n SELECT league_id, away_team_api_id AS team_api_id,\n CASE WHEN away_team_goal > home_team_goal THEN 1 ELSE 0 END AS won\n FROM \"Match\"\n), win_totals AS (\n SELECT league_id, team_api_id, SUM(won) AS total_wins\n FROM appearances\n GROUP BY league_id, team_api_id\n), ranked AS (\n SELECT w.league_id, t.team_long_name AS team_name, w.total_wins,\n ROW_NUMBER() OVER (\n PARTITION BY w.league_id\n ORDER BY w.total_wins, w.team_api_id, t.id\n ) AS league_rank\n FROM win_totals AS w\n JOIN Team AS t ON t.team_api_id = w.team_api_id\n)\nSELECT l.name AS league_name, r.team_name, r.total_wins\nFROM ranked AS r\nJOIN League AS l ON l.id = r.league_id\nWHERE r.league_rank = 1\nORDER BY l.name, l.id;", "seconds": 15.781093375058845, "calls": [{"seconds": 2.731538875028491, "usage": {"completion_tokens": 65, "prompt_tokens": 1653, "total_tokens": 1718, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1101, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1101, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1101, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.053161500021815, "usage": {"completion_tokens": 378, "prompt_tokens": 2661, "total_tokens": 3039, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 88, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1008, "cached_tokens": 1101, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1008, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1008, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.253826332977042, "usage": {"completion_tokens": 278, "prompt_tokens": 3488, "total_tokens": 3766, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 7, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 827, "cached_tokens": 2109, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 827, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 827, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "42d7474095540d16ce7b85a621aed1f4c07eb4cf9e9daeb54b5658078ad10bff", "csv_sha256": "3f9006c359e32dcb4b3200269a6125ae0057947bfc2c7cfaba11c43c56b21178"} +{"instance_id": "local220", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH slots(slot) AS (\n VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11),\n (12), (13), (14), (15), (16), (17), (18), (19), (20), (21), (22)\n), appearances AS (\n SELECT m.id AS match_id,\n CASE s.slot\n WHEN 1 THEN m.home_player_1\n WHEN 2 THEN m.home_player_2\n WHEN 3 THEN m.home_player_3\n WHEN 4 THEN m.home_player_4\n WHEN 5 THEN m.home_player_5\n WHEN 6 THEN m.home_player_6\n WHEN 7 THEN m.home_player_7\n WHEN 8 THEN m.home_player_8\n WHEN 9 THEN m.home_player_9\n WHEN 10 THEN m.home_player_10\n WHEN 11 THEN m.home_player_11\n WHEN 12 THEN m.away_player_1\n WHEN 13 THEN m.away_player_2\n WHEN 14 THEN m.away_player_3\n WHEN 15 THEN m.away_player_4\n WHEN 16 THEN m.away_player_5\n WHEN 17 THEN m.away_player_6\n WHEN 18 THEN m.away_player_7\n WHEN 19 THEN m.away_player_8\n WHEN 20 THEN m.away_player_9\n WHEN 21 THEN m.away_player_10\n WHEN 22 THEN m.away_player_11\n END AS player_api_id,\n CASE\n WHEN s.slot <= 11 AND m.home_team_goal > m.away_team_goal THEN 'Win'\n WHEN s.slot > 11 AND m.away_team_goal > m.home_team_goal THEN 'Win'\n ELSE 'Loss'\n END AS outcome\n FROM \"Match\" AS m\n CROSS JOIN slots AS s\n WHERE m.home_team_goal <> m.away_team_goal\n), ranked AS (\n SELECT player_api_id, outcome,\n DENSE_RANK() OVER (\n PARTITION BY outcome ORDER BY COUNT(DISTINCT match_id) DESC\n ) AS outcome_rank\n FROM appearances\n WHERE player_api_id IS NOT NULL\n GROUP BY player_api_id, outcome\n)\nSELECT r.outcome, p.player_name\nFROM ranked AS r\nJOIN Player AS p ON p.player_api_id = r.player_api_id\nWHERE r.outcome_rank = 1\nORDER BY r.outcome DESC, p.player_name;\n```", "rows": 2, "sql": "WITH slots(slot) AS (\n VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11),\n (12), (13), (14), (15), (16), (17), (18), (19), (20), (21), (22)\n), appearances AS (\n SELECT m.id AS match_id,\n CASE s.slot\n WHEN 1 THEN m.home_player_1\n WHEN 2 THEN m.home_player_2\n WHEN 3 THEN m.home_player_3\n WHEN 4 THEN m.home_player_4\n WHEN 5 THEN m.home_player_5\n WHEN 6 THEN m.home_player_6\n WHEN 7 THEN m.home_player_7\n WHEN 8 THEN m.home_player_8\n WHEN 9 THEN m.home_player_9\n WHEN 10 THEN m.home_player_10\n WHEN 11 THEN m.home_player_11\n WHEN 12 THEN m.away_player_1\n WHEN 13 THEN m.away_player_2\n WHEN 14 THEN m.away_player_3\n WHEN 15 THEN m.away_player_4\n WHEN 16 THEN m.away_player_5\n WHEN 17 THEN m.away_player_6\n WHEN 18 THEN m.away_player_7\n WHEN 19 THEN m.away_player_8\n WHEN 20 THEN m.away_player_9\n WHEN 21 THEN m.away_player_10\n WHEN 22 THEN m.away_player_11\n END AS player_api_id,\n CASE\n WHEN s.slot <= 11 AND m.home_team_goal > m.away_team_goal THEN 'Win'\n WHEN s.slot > 11 AND m.away_team_goal > m.home_team_goal THEN 'Win'\n ELSE 'Loss'\n END AS outcome\n FROM \"Match\" AS m\n CROSS JOIN slots AS s\n WHERE m.home_team_goal <> m.away_team_goal\n), ranked AS (\n SELECT player_api_id, outcome,\n DENSE_RANK() OVER (\n PARTITION BY outcome ORDER BY COUNT(DISTINCT match_id) DESC\n ) AS outcome_rank\n FROM appearances\n WHERE player_api_id IS NOT NULL\n GROUP BY player_api_id, outcome\n)\nSELECT r.outcome, p.player_name\nFROM ranked AS r\nJOIN Player AS p ON p.player_api_id = r.player_api_id\nWHERE r.outcome_rank = 1\nORDER BY r.outcome DESC, p.player_name;", "seconds": 41.05834883300122, "calls": [{"seconds": 3.7259288750356063, "usage": {"completion_tokens": 66, "prompt_tokens": 1647, "total_tokens": 1713, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1095, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1095, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1095, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 26.260424750042148, "usage": {"completion_tokens": 870, "prompt_tokens": 2884, "total_tokens": 3754, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 277, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1237, "cached_tokens": 1095, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1237, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1237, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.690809374907985, "usage": {"completion_tokens": 568, "prompt_tokens": 4358, "total_tokens": 4926, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1474, "cached_tokens": 2332, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1474, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1474, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d992cb22ab95c919be22f16baaac427a162ed1cc3ff8d1cb97e3ca634c06805b", "csv_sha256": "3f396bc4c94ff1449c20898bcb459bd28aad7bc76323cfe65dd2588e88652049"} +{"instance_id": "local221", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH match_winners AS (\n SELECT home_team_api_id AS team_api_id\n FROM \"Match\"\n WHERE home_team_goal > away_team_goal\n UNION ALL\n SELECT away_team_api_id AS team_api_id\n FROM \"Match\"\n WHERE away_team_goal > home_team_goal\n)\nSELECT t.team_long_name AS team, COUNT(w.team_api_id) AS wins\nFROM Team AS t\nLEFT JOIN match_winners AS w ON w.team_api_id = t.team_api_id\nGROUP BY t.team_api_id, t.team_long_name\nORDER BY wins DESC, team ASC, t.team_api_id ASC\nLIMIT 10;\n```", "rows": 10, "sql": "WITH match_winners AS (\n SELECT home_team_api_id AS team_api_id\n FROM \"Match\"\n WHERE home_team_goal > away_team_goal\n UNION ALL\n SELECT away_team_api_id AS team_api_id\n FROM \"Match\"\n WHERE away_team_goal > home_team_goal\n)\nSELECT t.team_long_name AS team, COUNT(w.team_api_id) AS wins\nFROM Team AS t\nLEFT JOIN match_winners AS w ON w.team_api_id = t.team_api_id\nGROUP BY t.team_api_id, t.team_long_name\nORDER BY wins DESC, team ASC, t.team_api_id ASC\nLIMIT 10;", "seconds": 19.297285874956287, "calls": [{"seconds": 2.265887791989371, "usage": {"completion_tokens": 19, "prompt_tokens": 1613, "total_tokens": 1632, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1061, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1061, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1061, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.8752624159678817, "usage": {"completion_tokens": 64, "prompt_tokens": 2498, "total_tokens": 2562, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 885, "cached_tokens": 1061, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 885, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 885, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0974746249848977, "usage": {"completion_tokens": 63, "prompt_tokens": 2661, "total_tokens": 2724, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 41, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 163, "cached_tokens": 1946, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 163, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 163, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.4494733329629526, "usage": {"completion_tokens": 282, "prompt_tokens": 2976, "total_tokens": 3258, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 122, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 315, "cached_tokens": 2109, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 315, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 315, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.869925499893725, "usage": {"completion_tokens": 141, "prompt_tokens": 3478, "total_tokens": 3619, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 502, "cached_tokens": 2424, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 502, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 502, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2ccabaec7f07da06734faaae3a0b96ee869fd269044e61b08127cd0f851ca231", "csv_sha256": "97c0b0ebfbb74ab7fa4fee6c0ad5aa00256007a46e66594357bf7c918a099718"} +{"instance_id": "local228", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH batting_totals AS (\n SELECT m.season_id, b.striker AS player_id, SUM(s.runs_scored) AS total_runs\n FROM batsman_scored AS s\n JOIN ball_by_ball AS b USING (match_id, innings_no, over_id, ball_id)\n JOIN \"match\" AS m ON m.match_id = b.match_id\n GROUP BY m.season_id, b.striker\n), bowling_totals AS (\n SELECT m.season_id, b.bowler AS player_id, COUNT(*) AS total_wickets\n FROM wicket_taken AS w\n JOIN ball_by_ball AS b USING (match_id, innings_no, over_id, ball_id)\n JOIN \"match\" AS m ON m.match_id = b.match_id\n WHERE LOWER(TRIM(w.kind_out)) NOT IN ('run out', 'hit wicket', 'retired hurt')\n GROUP BY m.season_id, b.bowler\n), ranked_batsmen AS (\n SELECT season_id, player_id, total_runs,\n ROW_NUMBER() OVER (\n PARTITION BY season_id ORDER BY total_runs DESC, player_id ASC\n ) AS position\n FROM batting_totals\n), ranked_bowlers AS (\n SELECT season_id, player_id, total_wickets,\n ROW_NUMBER() OVER (\n PARTITION BY season_id ORDER BY total_wickets DESC, player_id ASC\n ) AS position\n FROM bowling_totals\n)\nSELECT bat.season_id,\n batter.player_name AS batsman_name,\n bat.total_runs,\n bowler.player_name AS bowler_name,\n bowl.total_wickets\nFROM ranked_batsmen AS bat\nJOIN ranked_bowlers AS bowl\n ON bowl.season_id = bat.season_id AND bowl.position = bat.position\nJOIN player AS batter ON batter.player_id = bat.player_id\nJOIN player AS bowler ON bowler.player_id = bowl.player_id\nWHERE bat.position <= 3\nORDER BY bat.season_id ASC, bat.position ASC;\n```", "rows": 27, "sql": "WITH batting_totals AS (\n SELECT m.season_id, b.striker AS player_id, SUM(s.runs_scored) AS total_runs\n FROM batsman_scored AS s\n JOIN ball_by_ball AS b USING (match_id, innings_no, over_id, ball_id)\n JOIN \"match\" AS m ON m.match_id = b.match_id\n GROUP BY m.season_id, b.striker\n), bowling_totals AS (\n SELECT m.season_id, b.bowler AS player_id, COUNT(*) AS total_wickets\n FROM wicket_taken AS w\n JOIN ball_by_ball AS b USING (match_id, innings_no, over_id, ball_id)\n JOIN \"match\" AS m ON m.match_id = b.match_id\n WHERE LOWER(TRIM(w.kind_out)) NOT IN ('run out', 'hit wicket', 'retired hurt')\n GROUP BY m.season_id, b.bowler\n), ranked_batsmen AS (\n SELECT season_id, player_id, total_runs,\n ROW_NUMBER() OVER (\n PARTITION BY season_id ORDER BY total_runs DESC, player_id ASC\n ) AS position\n FROM batting_totals\n), ranked_bowlers AS (\n SELECT season_id, player_id, total_wickets,\n ROW_NUMBER() OVER (\n PARTITION BY season_id ORDER BY total_wickets DESC, player_id ASC\n ) AS position\n FROM bowling_totals\n)\nSELECT bat.season_id,\n batter.player_name AS batsman_name,\n bat.total_runs,\n bowler.player_name AS bowler_name,\n bowl.total_wickets\nFROM ranked_batsmen AS bat\nJOIN ranked_bowlers AS bowl\n ON bowl.season_id = bat.season_id AND bowl.position = bat.position\nJOIN player AS batter ON batter.player_id = bat.player_id\nJOIN player AS bowler ON bowler.player_id = bowl.player_id\nWHERE bat.position <= 3\nORDER BY bat.season_id ASC, bat.position ASC;", "seconds": 26.2064672090346, "calls": [{"seconds": 3.21938612498343, "usage": {"completion_tokens": 103, "prompt_tokens": 1727, "total_tokens": 1830, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1172, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1172, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1172, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 15.665084958076477, "usage": {"completion_tokens": 870, "prompt_tokens": 2180, "total_tokens": 3050, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 416, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 453, "cached_tokens": 1172, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 453, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 453, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.101958375074901, "usage": {"completion_tokens": 426, "prompt_tokens": 3953, "total_tokens": 4379, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1773, "cached_tokens": 1625, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1773, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1773, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5024c7a34d7dbe6e47f55387818f1ad31a493b784d46b1d33d9a385449f3e749", "csv_sha256": "0786135c6cb5ab62aa68ac5fed482c90f069aef814b87bce8ba1a3a86d3cebec"} +{"instance_id": "local229", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH deliveries AS (\n SELECT b.match_id,\n b.innings_no,\n MIN(b.striker, b.non_striker) AS batter_a,\n MAX(b.striker, b.non_striker) AS batter_b,\n b.striker,\n s.runs_scored\n FROM ball_by_ball AS b\n LEFT JOIN batsman_scored AS s\n USING (match_id, innings_no, over_id, ball_id)\n), pair_scores AS (\n SELECT match_id,\n batter_a,\n batter_b,\n SUM(CASE WHEN striker = batter_a THEN COALESCE(runs_scored, 0) ELSE 0 END) AS score_a,\n SUM(CASE WHEN striker = batter_b THEN COALESCE(runs_scored, 0) ELSE 0 END) AS score_b\n FROM deliveries\n GROUP BY match_id, innings_no, batter_a, batter_b\n), ranked AS (\n SELECT *,\n score_a + score_b AS partnership_score,\n DENSE_RANK() OVER (\n PARTITION BY match_id\n ORDER BY score_a + score_b DESC\n ) AS partnership_rank\n FROM pair_scores\n)\nSELECT match_id,\n CASE WHEN score_a > score_b THEN batter_a ELSE batter_b END AS player_1,\n CASE WHEN score_a > score_b THEN batter_b ELSE batter_a END AS player_2,\n MAX(score_a, score_b) AS player_1_score,\n MIN(score_a, score_b) AS player_2_score,\n partnership_score\nFROM ranked\nWHERE partnership_rank = 1\nORDER BY match_id, player_1, player_2;\n```", "rows": 577, "sql": "WITH deliveries AS (\n SELECT b.match_id,\n b.innings_no,\n MIN(b.striker, b.non_striker) AS batter_a,\n MAX(b.striker, b.non_striker) AS batter_b,\n b.striker,\n s.runs_scored\n FROM ball_by_ball AS b\n LEFT JOIN batsman_scored AS s\n USING (match_id, innings_no, over_id, ball_id)\n), pair_scores AS (\n SELECT match_id,\n batter_a,\n batter_b,\n SUM(CASE WHEN striker = batter_a THEN COALESCE(runs_scored, 0) ELSE 0 END) AS score_a,\n SUM(CASE WHEN striker = batter_b THEN COALESCE(runs_scored, 0) ELSE 0 END) AS score_b\n FROM deliveries\n GROUP BY match_id, innings_no, batter_a, batter_b\n), ranked AS (\n SELECT *,\n score_a + score_b AS partnership_score,\n DENSE_RANK() OVER (\n PARTITION BY match_id\n ORDER BY score_a + score_b DESC\n ) AS partnership_rank\n FROM pair_scores\n)\nSELECT match_id,\n CASE WHEN score_a > score_b THEN batter_a ELSE batter_b END AS player_1,\n CASE WHEN score_a > score_b THEN batter_b ELSE batter_a END AS player_2,\n MAX(score_a, score_b) AS player_1_score,\n MIN(score_a, score_b) AS player_2_score,\n partnership_score\nFROM ranked\nWHERE partnership_rank = 1\nORDER BY match_id, player_1, player_2;", "seconds": 65.41132349998225, "calls": [{"seconds": 3.4603053329046816, "usage": {"completion_tokens": 120, "prompt_tokens": 1717, "total_tokens": 1837, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1162, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1162, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1162, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0869111249921843, "usage": {"completion_tokens": 67, "prompt_tokens": 2217, "total_tokens": 2284, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 47, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 500, "cached_tokens": 1162, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 500, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 500, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.6000115419737995, "usage": {"completion_tokens": 175, "prompt_tokens": 2314, "total_tokens": 2489, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 158, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 97, "cached_tokens": 1662, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 97, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 97, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 13.214290999923833, "usage": {"completion_tokens": 728, "prompt_tokens": 2534, "total_tokens": 3262, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 391, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 220, "cached_tokens": 1759, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 220, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 220, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 28.418361541000195, "usage": {"completion_tokens": 1338, "prompt_tokens": 3639, "total_tokens": 4977, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 957, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1105, "cached_tokens": 1979, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1105, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1105, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.140449250000529, "usage": {"completion_tokens": 540, "prompt_tokens": 5548, "total_tokens": 6088, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 189, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1909, "cached_tokens": 3084, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1909, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1909, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "fd17040ea89034fced5b8981a091911b3ce2207aed99a98e6b87a80dd93acb46", "csv_sha256": "d5a463f16410ca552ce7979b59cbb0d5e61772fd546b1a6447c14ec76cd855d7"} +{"instance_id": "local230", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH highly_rated_movie_genres AS (\n SELECT g.movie_id, g.genre\n FROM genre AS g\n JOIN ratings AS r ON r.movie_id = g.movie_id\n WHERE r.avg_rating > 8\n), top_genres AS (\n SELECT genre\n FROM highly_rated_movie_genres\n GROUP BY genre\n ORDER BY COUNT(DISTINCT movie_id) DESC, genre ASC\n LIMIT 3\n)\nSELECT n.name AS director_name,\n COUNT(DISTINCT dm.movie_id) AS movie_count\nFROM highly_rated_movie_genres AS hg\nJOIN top_genres AS tg ON tg.genre = hg.genre\nJOIN director_mapping AS dm ON dm.movie_id = hg.movie_id\nJOIN names AS n ON n.id = dm.name_id\nGROUP BY n.id, n.name\nORDER BY movie_count DESC, director_name ASC, n.id ASC\nLIMIT 4;\n```", "rows": 4, "sql": "WITH highly_rated_movie_genres AS (\n SELECT g.movie_id, g.genre\n FROM genre AS g\n JOIN ratings AS r ON r.movie_id = g.movie_id\n WHERE r.avg_rating > 8\n), top_genres AS (\n SELECT genre\n FROM highly_rated_movie_genres\n GROUP BY genre\n ORDER BY COUNT(DISTINCT movie_id) DESC, genre ASC\n LIMIT 3\n)\nSELECT n.name AS director_name,\n COUNT(DISTINCT dm.movie_id) AS movie_count\nFROM highly_rated_movie_genres AS hg\nJOIN top_genres AS tg ON tg.genre = hg.genre\nJOIN director_mapping AS dm ON dm.movie_id = hg.movie_id\nJOIN names AS n ON n.id = dm.name_id\nGROUP BY n.id, n.name\nORDER BY movie_count DESC, director_name ASC, n.id ASC\nLIMIT 4;", "seconds": 23.31167949992232, "calls": [{"seconds": 2.035036790999584, "usage": {"completion_tokens": 15, "prompt_tokens": 1640, "total_tokens": 1655, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1092, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1092, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1092, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.350817500031553, "usage": {"completion_tokens": 112, "prompt_tokens": 1692, "total_tokens": 1804, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 52, "cached_tokens": 1092, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 52, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 52, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.770415041013621, "usage": {"completion_tokens": 45, "prompt_tokens": 2125, "total_tokens": 2170, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 13, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 433, "cached_tokens": 1144, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 433, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 433, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.26477554102894, "usage": {"completion_tokens": 361, "prompt_tokens": 2999, "total_tokens": 3360, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 147, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 874, "cached_tokens": 1577, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 874, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 874, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.844065582961775, "usage": {"completion_tokens": 329, "prompt_tokens": 3599, "total_tokens": 3928, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 132, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 600, "cached_tokens": 2451, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 600, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 600, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "62eceb514331ab82410e67a0b56156712b6c968b68a4c06c3a28d998e1670441", "csv_sha256": "937192132e83672d99976a0b9eb61f3d6b4a76c2543f8c0c9de02aa544fbff11"} +{"instance_id": "local244", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH duration_bounds AS (\n SELECT (MIN(Milliseconds) + AVG(Milliseconds)) / 2.0 AS short_max_ms,\n (AVG(Milliseconds) + MAX(Milliseconds)) / 2.0 AS medium_max_ms\n FROM Track\n), classified_tracks AS (\n SELECT t.TrackId,\n t.Milliseconds / 60000.0 AS duration_minutes,\n CASE\n WHEN t.Milliseconds <= b.short_max_ms THEN 'Short'\n WHEN t.Milliseconds <= b.medium_max_ms THEN 'Medium'\n ELSE 'Long'\n END AS category\n FROM Track AS t\n CROSS JOIN duration_bounds AS b\n), track_revenue AS (\n SELECT TrackId, SUM(UnitPrice * Quantity) AS revenue\n FROM InvoiceLine\n GROUP BY TrackId\n)\nSELECT c.category,\n MIN(c.duration_minutes) AS min_minutes,\n MAX(c.duration_minutes) AS max_minutes,\n ROUND(SUM(r.revenue), 2) AS total_revenue\nFROM classified_tracks AS c\nLEFT JOIN track_revenue AS r ON r.TrackId = c.TrackId\nGROUP BY c.category\nORDER BY min_minutes;\n```", "rows": 3, "sql": "WITH duration_bounds AS (\n SELECT (MIN(Milliseconds) + AVG(Milliseconds)) / 2.0 AS short_max_ms,\n (AVG(Milliseconds) + MAX(Milliseconds)) / 2.0 AS medium_max_ms\n FROM Track\n), classified_tracks AS (\n SELECT t.TrackId,\n t.Milliseconds / 60000.0 AS duration_minutes,\n CASE\n WHEN t.Milliseconds <= b.short_max_ms THEN 'Short'\n WHEN t.Milliseconds <= b.medium_max_ms THEN 'Medium'\n ELSE 'Long'\n END AS category\n FROM Track AS t\n CROSS JOIN duration_bounds AS b\n), track_revenue AS (\n SELECT TrackId, SUM(UnitPrice * Quantity) AS revenue\n FROM InvoiceLine\n GROUP BY TrackId\n)\nSELECT c.category,\n MIN(c.duration_minutes) AS min_minutes,\n MAX(c.duration_minutes) AS max_minutes,\n ROUND(SUM(r.revenue), 2) AS total_revenue\nFROM classified_tracks AS c\nLEFT JOIN track_revenue AS r ON r.TrackId = c.TrackId\nGROUP BY c.category\nORDER BY min_minutes;", "seconds": 19.50785720802378, "calls": [{"seconds": 3.150323334033601, "usage": {"completion_tokens": 80, "prompt_tokens": 1718, "total_tokens": 1798, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1162, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1162, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1162, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.674419666989706, "usage": {"completion_tokens": 469, "prompt_tokens": 2076, "total_tokens": 2545, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 201, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 358, "cached_tokens": 1162, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 358, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 358, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.658456749981269, "usage": {"completion_tokens": 292, "prompt_tokens": 2885, "total_tokens": 3177, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 46, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 809, "cached_tokens": 1520, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 809, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 809, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "1141ce402db56875902fedcbb671a1dbb4c5af6592e79a85695ada12a148dd66", "csv_sha256": "15d3ad1cf039f17a982eea5b903611aaebb9ad2140b3d08d176f621e04be09b2"} +{"instance_id": "local253", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE salary_characters (Location, CompanyName, remaining, digits) AS (\n SELECT Location, CompanyName, COALESCE(Salary, ''), ''\n FROM SalaryDataset\n\n UNION ALL\n\n SELECT Location,\n CompanyName,\n SUBSTR(remaining, 2),\n digits || CASE\n WHEN SUBSTR(remaining, 1, 1) GLOB '[0-9]'\n THEN SUBSTR(remaining, 1, 1)\n ELSE ''\n END\n FROM salary_characters\n WHERE remaining <> ''\n),\ncleaned_salaries AS (\n SELECT Location,\n CompanyName,\n CAST(NULLIF(digits, '') AS REAL) AS salary_amount\n FROM salary_characters\n WHERE remaining = ''\n),\nnational_average AS (\n SELECT AVG(salary_amount) AS country_average\n FROM cleaned_salaries\n),\ncity_company_averages AS (\n SELECT Location, CompanyName, AVG(salary_amount) AS city_company_average\n FROM cleaned_salaries\n WHERE Location IN ('Mumbai', 'Pune', 'New Delhi', 'Hyderabad')\n GROUP BY Location, CompanyName\n HAVING COUNT(salary_amount) > 0\n),\nranked_companies AS (\n SELECT Location,\n CompanyName,\n city_company_average,\n ROW_NUMBER() OVER (\n PARTITION BY Location\n ORDER BY city_company_average DESC, CompanyName ASC\n ) AS city_rank\n FROM city_company_averages\n)\nSELECT r.Location AS \"Location\",\n r.CompanyName AS \"Company Name\",\n r.city_company_average AS \"Average Salary in State\",\n n.country_average AS \"Average Salary in Country\"\nFROM ranked_companies AS r\nCROSS JOIN national_average AS n\nWHERE r.city_rank <= 5\nORDER BY r.Location, r.city_rank;\n```", "rows": 20, "sql": "WITH RECURSIVE salary_characters (Location, CompanyName, remaining, digits) AS (\n SELECT Location, CompanyName, COALESCE(Salary, ''), ''\n FROM SalaryDataset\n\n UNION ALL\n\n SELECT Location,\n CompanyName,\n SUBSTR(remaining, 2),\n digits || CASE\n WHEN SUBSTR(remaining, 1, 1) GLOB '[0-9]'\n THEN SUBSTR(remaining, 1, 1)\n ELSE ''\n END\n FROM salary_characters\n WHERE remaining <> ''\n),\ncleaned_salaries AS (\n SELECT Location,\n CompanyName,\n CAST(NULLIF(digits, '') AS REAL) AS salary_amount\n FROM salary_characters\n WHERE remaining = ''\n),\nnational_average AS (\n SELECT AVG(salary_amount) AS country_average\n FROM cleaned_salaries\n),\ncity_company_averages AS (\n SELECT Location, CompanyName, AVG(salary_amount) AS city_company_average\n FROM cleaned_salaries\n WHERE Location IN ('Mumbai', 'Pune', 'New Delhi', 'Hyderabad')\n GROUP BY Location, CompanyName\n HAVING COUNT(salary_amount) > 0\n),\nranked_companies AS (\n SELECT Location,\n CompanyName,\n city_company_average,\n ROW_NUMBER() OVER (\n PARTITION BY Location\n ORDER BY city_company_average DESC, CompanyName ASC\n ) AS city_rank\n FROM city_company_averages\n)\nSELECT r.Location AS \"Location\",\n r.CompanyName AS \"Company Name\",\n r.city_company_average AS \"Average Salary in State\",\n n.country_average AS \"Average Salary in Country\"\nFROM ranked_companies AS r\nCROSS JOIN national_average AS n\nWHERE r.city_rank <= 5\nORDER BY r.Location, r.city_rank;", "seconds": 31.935744791058823, "calls": [{"seconds": 3.094114916981198, "usage": {"completion_tokens": 20, "prompt_tokens": 1764, "total_tokens": 1784, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1157, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1157, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1157, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.734560125041753, "usage": {"completion_tokens": 103, "prompt_tokens": 1834, "total_tokens": 1937, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 34, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 70, "cached_tokens": 1157, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 70, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 70, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.41325987491291, "usage": {"completion_tokens": 134, "prompt_tokens": 2146, "total_tokens": 2280, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 35, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 312, "cached_tokens": 1227, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 312, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 312, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 13.688931542099454, "usage": {"completion_tokens": 725, "prompt_tokens": 2531, "total_tokens": 3256, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 284, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 385, "cached_tokens": 1539, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 385, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 385, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.916984457988292, "usage": {"completion_tokens": 407, "prompt_tokens": 4113, "total_tokens": 4520, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 14, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1582, "cached_tokens": 1924, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1582, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1582, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "65660f10d0ec5cbe8d278c5ae71f6eea54a1c1ff5e4e6ba597e500dc6d1f5e1f", "csv_sha256": "029783a0768b73ef7b4a798fe81c72357f63d0e5e8212cb80cd1db6917fb77c4"} +{"instance_id": "local258", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH match_bowling AS (\n SELECT\n b.bowler,\n b.match_id,\n SUM(CASE WHEN w.kind_out IN (\n 'bowled', 'caught', 'caught and bowled', 'lbw', 'stumped', 'hit wicket'\n ) THEN 1 ELSE 0 END) AS wickets,\n SUM(COALESCE(s.runs_scored, 0)) AS runs_conceded,\n SUM(CASE WHEN e.extra_type IN ('wides', 'noballs')\n THEN 0 ELSE 1 END) AS legal_balls\n FROM ball_by_ball AS b\n LEFT JOIN batsman_scored AS s USING (match_id, innings_no, over_id, ball_id)\n LEFT JOIN wicket_taken AS w USING (match_id, innings_no, over_id, ball_id)\n LEFT JOIN extra_runs AS e USING (match_id, innings_no, over_id, ball_id)\n WHERE b.bowler IS NOT NULL\n GROUP BY b.bowler, b.match_id\n), ranked AS (\n SELECT\n bowler,\n wickets,\n runs_conceded,\n SUM(wickets) OVER (PARTITION BY bowler) AS total_wickets,\n SUM(runs_conceded) OVER (PARTITION BY bowler) AS total_runs,\n SUM(legal_balls) OVER (PARTITION BY bowler) AS total_balls,\n ROW_NUMBER() OVER (\n PARTITION BY bowler\n ORDER BY wickets DESC, runs_conceded ASC, match_id ASC\n ) AS match_rank\n FROM match_bowling\n)\nSELECT\n COALESCE(p.player_name, CAST(r.bowler AS TEXT)) AS bowler,\n r.total_wickets,\n 6.0 * r.total_runs / NULLIF(r.total_balls, 0) AS economy_rate,\n 1.0 * r.total_balls / NULLIF(r.total_wickets, 0) AS strike_rate,\n r.wickets || '-' || r.runs_conceded AS best_bowling_performance\nFROM ranked AS r\nLEFT JOIN player AS p ON p.player_id = r.bowler\nWHERE r.match_rank = 1\nORDER BY r.total_wickets DESC, bowler ASC;\n```", "rows": 330, "sql": "WITH match_bowling AS (\n SELECT\n b.bowler,\n b.match_id,\n SUM(CASE WHEN w.kind_out IN (\n 'bowled', 'caught', 'caught and bowled', 'lbw', 'stumped', 'hit wicket'\n ) THEN 1 ELSE 0 END) AS wickets,\n SUM(COALESCE(s.runs_scored, 0)) AS runs_conceded,\n SUM(CASE WHEN e.extra_type IN ('wides', 'noballs')\n THEN 0 ELSE 1 END) AS legal_balls\n FROM ball_by_ball AS b\n LEFT JOIN batsman_scored AS s USING (match_id, innings_no, over_id, ball_id)\n LEFT JOIN wicket_taken AS w USING (match_id, innings_no, over_id, ball_id)\n LEFT JOIN extra_runs AS e USING (match_id, innings_no, over_id, ball_id)\n WHERE b.bowler IS NOT NULL\n GROUP BY b.bowler, b.match_id\n), ranked AS (\n SELECT\n bowler,\n wickets,\n runs_conceded,\n SUM(wickets) OVER (PARTITION BY bowler) AS total_wickets,\n SUM(runs_conceded) OVER (PARTITION BY bowler) AS total_runs,\n SUM(legal_balls) OVER (PARTITION BY bowler) AS total_balls,\n ROW_NUMBER() OVER (\n PARTITION BY bowler\n ORDER BY wickets DESC, runs_conceded ASC, match_id ASC\n ) AS match_rank\n FROM match_bowling\n)\nSELECT\n COALESCE(p.player_name, CAST(r.bowler AS TEXT)) AS bowler,\n r.total_wickets,\n 6.0 * r.total_runs / NULLIF(r.total_balls, 0) AS economy_rate,\n 1.0 * r.total_balls / NULLIF(r.total_wickets, 0) AS strike_rate,\n r.wickets || '-' || r.runs_conceded AS best_bowling_performance\nFROM ranked AS r\nLEFT JOIN player AS p ON p.player_id = r.bowler\nWHERE r.match_rank = 1\nORDER BY r.total_wickets DESC, bowler ASC;", "seconds": 44.3065451659495, "calls": [{"seconds": 3.3316696250112727, "usage": {"completion_tokens": 119, "prompt_tokens": 2072, "total_tokens": 2191, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1517, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1517, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1517, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.096015250077471, "usage": {"completion_tokens": 156, "prompt_tokens": 2599, "total_tokens": 2755, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 84, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 527, "cached_tokens": 1517, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 527, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 527, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.500919790938497, "usage": {"completion_tokens": 485, "prompt_tokens": 2963, "total_tokens": 3448, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 174, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 364, "cached_tokens": 2044, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 364, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 364, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.0723806250607595, "usage": {"completion_tokens": 76, "prompt_tokens": 3811, "total_tokens": 3887, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 848, "cached_tokens": 2408, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 848, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 848, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 14.513637749943882, "usage": {"completion_tokens": 847, "prompt_tokens": 3983, "total_tokens": 4830, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 327, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 172, "cached_tokens": 3256, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 172, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 172, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.431314874906093, "usage": {"completion_tokens": 521, "prompt_tokens": 5590, "total_tokens": 6111, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 39, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1607, "cached_tokens": 3428, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1607, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1607, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d0c807c3d349a7d0cbf87ce1efc6311df412bfbfd95f40a222edb912d349f490", "csv_sha256": "27b2d9382cd840f78abd9ce05f1881e382ffda86067e64aa72cadc01df7cdc7b"} +{"instance_id": "local259", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH role_counts AS (\n SELECT player_id, role, COUNT(DISTINCT match_id) AS role_matches\n FROM player_match\n GROUP BY player_id, role\n),\nranked_roles AS (\n SELECT player_id, role,\n SUM(role_matches) OVER (PARTITION BY player_id) AS total_matches_played,\n ROW_NUMBER() OVER (\n PARTITION BY player_id ORDER BY role_matches DESC, role\n ) AS role_rank\n FROM role_counts\n),\ndeliveries AS (\n SELECT b.match_id, b.innings_no, b.over_id, b.ball_id,\n b.striker, b.non_striker, b.bowler,\n COALESCE(s.runs_scored, 0) AS runs_scored\n FROM ball_by_ball AS b\n LEFT JOIN batsman_scored AS s\n USING (match_id, innings_no, over_id, ball_id)\n),\nbatting_contributions AS (\n SELECT striker AS player_id, match_id,\n SUM(runs_scored) AS runs, COUNT(*) AS balls_faced\n FROM deliveries\n GROUP BY striker, match_id\n UNION ALL\n SELECT non_striker AS player_id, match_id, 0 AS runs, 0 AS balls_faced\n FROM deliveries\n GROUP BY non_striker, match_id\n),\nbatting_by_match AS (\n SELECT player_id, match_id,\n SUM(runs) AS runs, SUM(balls_faced) AS balls_faced\n FROM batting_contributions\n GROUP BY player_id, match_id\n),\nbatting_totals AS (\n SELECT player_id,\n SUM(runs) AS total_runs,\n MAX(runs) AS highest_score,\n COUNT(CASE WHEN runs >= 30 THEN 1 END) AS matches_30_plus,\n COUNT(CASE WHEN runs >= 50 THEN 1 END) AS matches_50_plus,\n COUNT(CASE WHEN runs >= 100 THEN 1 END) AS matches_100_plus,\n SUM(balls_faced) AS total_balls_faced\n FROM batting_by_match\n GROUP BY player_id\n),\ndismissals AS (\n SELECT player_out AS player_id, COUNT(*) AS total_dismissals\n FROM wicket_taken\n WHERE kind_out <> 'retired hurt'\n GROUP BY player_out\n),\nbowling_by_match AS (\n SELECT d.bowler AS player_id, d.match_id,\n SUM(d.runs_scored) AS runs_conceded,\n COUNT(*) AS balls_bowled,\n COUNT(CASE WHEN w.kind_out IN (\n 'bowled', 'caught', 'caught and bowled', 'hit wicket', 'lbw', 'stumped'\n ) THEN 1 END) AS wickets\n FROM deliveries AS d\n LEFT JOIN wicket_taken AS w\n USING (match_id, innings_no, over_id, ball_id)\n GROUP BY d.bowler, d.match_id\n),\nranked_bowling AS (\n SELECT player_id, wickets, runs_conceded,\n SUM(wickets) OVER (PARTITION BY player_id) AS total_wickets,\n 6.0 * SUM(runs_conceded) OVER (PARTITION BY player_id)\n / NULLIF(SUM(balls_bowled) OVER (PARTITION BY player_id), 0) AS economy_rate,\n ROW_NUMBER() OVER (\n PARTITION BY player_id\n ORDER BY wickets DESC, runs_conceded ASC, match_id\n ) AS bowling_rank\n FROM bowling_by_match\n)\nSELECT p.player_id,\n p.player_name,\n r.role AS most_frequent_role,\n p.batting_hand,\n p.bowling_skill,\n COALESCE(b.total_runs, 0) AS total_runs,\n COALESCE(r.total_matches_played, 0) AS total_matches_played,\n COALESCE(d.total_dismissals, 0) AS total_dismissals,\n 1.0 * COALESCE(b.total_runs, 0) / NULLIF(d.total_dismissals, 0) AS batting_average,\n b.highest_score,\n COALESCE(b.matches_30_plus, 0) AS matches_30_plus,\n COALESCE(b.matches_50_plus, 0) AS matches_50_plus,\n COALESCE(b.matches_100_plus, 0) AS matches_100_plus,\n COALESCE(b.total_balls_faced, 0) AS total_balls_faced,\n 100.0 * b.total_runs / NULLIF(b.total_balls_faced, 0) AS strike_rate,\n COALESCE(w.total_wickets, 0) AS total_wickets,\n w.economy_rate,\n w.wickets || '-' || w.runs_conceded AS best_bowling_performance\nFROM player AS p\nLEFT JOIN ranked_roles AS r ON r.player_id = p.player_id AND r.role_rank = 1\nLEFT JOIN batting_totals AS b ON b.player_id = p.player_id\nLEFT JOIN dismissals AS d ON d.player_id = p.player_id\nLEFT JOIN ranked_bowling AS w ON w.player_id = p.player_id AND w.bowling_rank = 1\nORDER BY p.player_id;\n```", "rows": 468, "sql": "WITH role_counts AS (\n SELECT player_id, role, COUNT(DISTINCT match_id) AS role_matches\n FROM player_match\n GROUP BY player_id, role\n),\nranked_roles AS (\n SELECT player_id, role,\n SUM(role_matches) OVER (PARTITION BY player_id) AS total_matches_played,\n ROW_NUMBER() OVER (\n PARTITION BY player_id ORDER BY role_matches DESC, role\n ) AS role_rank\n FROM role_counts\n),\ndeliveries AS (\n SELECT b.match_id, b.innings_no, b.over_id, b.ball_id,\n b.striker, b.non_striker, b.bowler,\n COALESCE(s.runs_scored, 0) AS runs_scored\n FROM ball_by_ball AS b\n LEFT JOIN batsman_scored AS s\n USING (match_id, innings_no, over_id, ball_id)\n),\nbatting_contributions AS (\n SELECT striker AS player_id, match_id,\n SUM(runs_scored) AS runs, COUNT(*) AS balls_faced\n FROM deliveries\n GROUP BY striker, match_id\n UNION ALL\n SELECT non_striker AS player_id, match_id, 0 AS runs, 0 AS balls_faced\n FROM deliveries\n GROUP BY non_striker, match_id\n),\nbatting_by_match AS (\n SELECT player_id, match_id,\n SUM(runs) AS runs, SUM(balls_faced) AS balls_faced\n FROM batting_contributions\n GROUP BY player_id, match_id\n),\nbatting_totals AS (\n SELECT player_id,\n SUM(runs) AS total_runs,\n MAX(runs) AS highest_score,\n COUNT(CASE WHEN runs >= 30 THEN 1 END) AS matches_30_plus,\n COUNT(CASE WHEN runs >= 50 THEN 1 END) AS matches_50_plus,\n COUNT(CASE WHEN runs >= 100 THEN 1 END) AS matches_100_plus,\n SUM(balls_faced) AS total_balls_faced\n FROM batting_by_match\n GROUP BY player_id\n),\ndismissals AS (\n SELECT player_out AS player_id, COUNT(*) AS total_dismissals\n FROM wicket_taken\n WHERE kind_out <> 'retired hurt'\n GROUP BY player_out\n),\nbowling_by_match AS (\n SELECT d.bowler AS player_id, d.match_id,\n SUM(d.runs_scored) AS runs_conceded,\n COUNT(*) AS balls_bowled,\n COUNT(CASE WHEN w.kind_out IN (\n 'bowled', 'caught', 'caught and bowled', 'hit wicket', 'lbw', 'stumped'\n ) THEN 1 END) AS wickets\n FROM deliveries AS d\n LEFT JOIN wicket_taken AS w\n USING (match_id, innings_no, over_id, ball_id)\n GROUP BY d.bowler, d.match_id\n),\nranked_bowling AS (\n SELECT player_id, wickets, runs_conceded,\n SUM(wickets) OVER (PARTITION BY player_id) AS total_wickets,\n 6.0 * SUM(runs_conceded) OVER (PARTITION BY player_id)\n / NULLIF(SUM(balls_bowled) OVER (PARTITION BY player_id), 0) AS economy_rate,\n ROW_NUMBER() OVER (\n PARTITION BY player_id\n ORDER BY wickets DESC, runs_conceded ASC, match_id\n ) AS bowling_rank\n FROM bowling_by_match\n)\nSELECT p.player_id,\n p.player_name,\n r.role AS most_frequent_role,\n p.batting_hand,\n p.bowling_skill,\n COALESCE(b.total_runs, 0) AS total_runs,\n COALESCE(r.total_matches_played, 0) AS total_matches_played,\n COALESCE(d.total_dismissals, 0) AS total_dismissals,\n 1.0 * COALESCE(b.total_runs, 0) / NULLIF(d.total_dismissals, 0) AS batting_average,\n b.highest_score,\n COALESCE(b.matches_30_plus, 0) AS matches_30_plus,\n COALESCE(b.matches_50_plus, 0) AS matches_50_plus,\n COALESCE(b.matches_100_plus, 0) AS matches_100_plus,\n COALESCE(b.total_balls_faced, 0) AS total_balls_faced,\n 100.0 * b.total_runs / NULLIF(b.total_balls_faced, 0) AS strike_rate,\n COALESCE(w.total_wickets, 0) AS total_wickets,\n w.economy_rate,\n w.wickets || '-' || w.runs_conceded AS best_bowling_performance\nFROM player AS p\nLEFT JOIN ranked_roles AS r ON r.player_id = p.player_id AND r.role_rank = 1\nLEFT JOIN batting_totals AS b ON b.player_id = p.player_id\nLEFT JOIN dismissals AS d ON d.player_id = p.player_id\nLEFT JOIN ranked_bowling AS w ON w.player_id = p.player_id AND w.bowling_rank = 1\nORDER BY p.player_id;", "seconds": 101.34700333303772, "calls": [{"seconds": 1.8284871669020504, "usage": {"completion_tokens": 15, "prompt_tokens": 2134, "total_tokens": 2149, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1579, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1579, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1579, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3935321250464767, "usage": {"completion_tokens": 119, "prompt_tokens": 2194, "total_tokens": 2313, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 60, "cached_tokens": 1579, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 60, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 60, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.619183165952563, "usage": {"completion_tokens": 284, "prompt_tokens": 2704, "total_tokens": 2988, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 15, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 510, "cached_tokens": 1639, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 510, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 510, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 17.406898334040307, "usage": {"completion_tokens": 521, "prompt_tokens": 3432, "total_tokens": 3953, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 204, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 728, "cached_tokens": 2149, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 728, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 728, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 57.14078141702339, "usage": {"completion_tokens": 1944, "prompt_tokens": 4363, "total_tokens": 6307, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 754, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 931, "cached_tokens": 2877, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 931, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 931, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 14.859285667072982, "usage": {"completion_tokens": 1138, "prompt_tokens": 8263, "total_tokens": 9401, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 27, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 3900, "cached_tokens": 3808, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 3900, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 3900, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a5c77302e7c6fee9d51687b34cb07622329131a7dcbddcd94ff55638ad80de0c", "csv_sha256": "6af13819f7a6d5a3c32d68d08a064798c7da41abea0aaedf24be8c5d3dc453b9"} +{"instance_id": "local262", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH non_stack_max AS (\n SELECT name, version, step, MAX(test_score) AS max_test_score\n FROM model_score\n WHERE model <> 'Stack' AND step IN (1, 2, 3)\n GROUP BY name, version, step\n), stack_wins AS (\n SELECT n.name, COUNT(*) AS win_count\n FROM non_stack_max AS n\n WHERE EXISTS (\n SELECT 1\n FROM model_score AS s\n WHERE s.name = n.name\n AND s.version = n.version\n AND s.step = n.step\n AND s.model = 'Stack'\n AND s.test_score > n.max_test_score\n )\n GROUP BY n.name\n)\nSELECT p.name\nFROM problem AS p\nJOIN stack_wins AS w ON w.name = p.name\nWHERE w.win_count > (\n SELECT COUNT(*)\n FROM solution AS sol\n WHERE sol.name = p.name\n)\nORDER BY p.name;\n```", "rows": 7, "sql": "WITH non_stack_max AS (\n SELECT name, version, step, MAX(test_score) AS max_test_score\n FROM model_score\n WHERE model <> 'Stack' AND step IN (1, 2, 3)\n GROUP BY name, version, step\n), stack_wins AS (\n SELECT n.name, COUNT(*) AS win_count\n FROM non_stack_max AS n\n WHERE EXISTS (\n SELECT 1\n FROM model_score AS s\n WHERE s.name = n.name\n AND s.version = n.version\n AND s.step = n.step\n AND s.model = 'Stack'\n AND s.test_score > n.max_test_score\n )\n GROUP BY n.name\n)\nSELECT p.name\nFROM problem AS p\nJOIN stack_wins AS w ON w.name = p.name\nWHERE w.win_count > (\n SELECT COUNT(*)\n FROM solution AS sol\n WHERE sol.name = p.name\n)\nORDER BY p.name;", "seconds": 32.896807500044815, "calls": [{"seconds": 3.1456322909798473, "usage": {"completion_tokens": 114, "prompt_tokens": 1668, "total_tokens": 1782, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1108, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1108, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1108, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.7024030410684645, "usage": {"completion_tokens": 171, "prompt_tokens": 2052, "total_tokens": 2223, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 149, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 384, "cached_tokens": 1108, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 384, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 384, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.45642995799426, "usage": {"completion_tokens": 98, "prompt_tokens": 2256, "total_tokens": 2354, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 76, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 204, "cached_tokens": 1492, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 204, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 204, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.344070374965668, "usage": {"completion_tokens": 75, "prompt_tokens": 2397, "total_tokens": 2472, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 20, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 141, "cached_tokens": 1696, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 141, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 141, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.307576540973969, "usage": {"completion_tokens": 456, "prompt_tokens": 3302, "total_tokens": 3758, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 224, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 905, "cached_tokens": 1837, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 905, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 905, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.877321083913557, "usage": {"completion_tokens": 210, "prompt_tokens": 4015, "total_tokens": 4225, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 713, "cached_tokens": 2742, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 713, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 713, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "a9b743e0fb03028cd35b519f34ddf3a27c9b1e4e88c736dfb9a5f3d67a06d1a0", "csv_sha256": "d901d3f04ac408c7902d53b3f99f1f7da170f98baf2fbe561f91fc364653117c"} +{"instance_id": "local263", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH model_statuses AS (\n SELECT DISTINCT name, version, L1_model, status\n FROM stack_ok\n), status_counts AS (\n SELECT status, L1_model, COUNT(*) AS occurrence_count\n FROM model_statuses\n GROUP BY status, L1_model\n), ranked AS (\n SELECT status, L1_model, occurrence_count,\n DENSE_RANK() OVER (PARTITION BY status ORDER BY occurrence_count DESC) AS status_rank\n FROM status_counts\n)\nSELECT status, L1_model, occurrence_count\nFROM ranked\nWHERE status_rank = 1\nORDER BY status, L1_model;\n```", "rows": 2, "sql": "WITH model_statuses AS (\n SELECT DISTINCT name, version, L1_model, status\n FROM stack_ok\n), status_counts AS (\n SELECT status, L1_model, COUNT(*) AS occurrence_count\n FROM model_statuses\n GROUP BY status, L1_model\n), ranked AS (\n SELECT status, L1_model, occurrence_count,\n DENSE_RANK() OVER (PARTITION BY status ORDER BY occurrence_count DESC) AS status_rank\n FROM status_counts\n)\nSELECT status, L1_model, occurrence_count\nFROM ranked\nWHERE status_rank = 1\nORDER BY status, L1_model;", "seconds": 22.74623008398339, "calls": [{"seconds": 1.9546111669624224, "usage": {"completion_tokens": 15, "prompt_tokens": 1751, "total_tokens": 1766, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1191, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1191, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1191, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5374963330104947, "usage": {"completion_tokens": 115, "prompt_tokens": 1826, "total_tokens": 1941, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 75, "cached_tokens": 1191, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 75, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 75, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1698131250450388, "usage": {"completion_tokens": 48, "prompt_tokens": 2207, "total_tokens": 2255, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 381, "cached_tokens": 1266, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 381, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 381, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.695979708107188, "usage": {"completion_tokens": 209, "prompt_tokens": 3127, "total_tokens": 3336, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 27, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 920, "cached_tokens": 1647, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 920, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 920, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.12749495904427, "usage": {"completion_tokens": 190, "prompt_tokens": 3617, "total_tokens": 3807, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 37, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 490, "cached_tokens": 2567, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 490, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 490, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.21660595794674, "usage": {"completion_tokens": 137, "prompt_tokens": 3985, "total_tokens": 4122, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 368, "cached_tokens": 3057, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 368, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 368, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5cb9804132fb008372c1f29290c332dd24b0023907d25fa657eae44c762a17e0", "csv_sha256": "516fa084f0a331fca9f3465468566af3bfe02bfd4ce411841f8dd92aa0fc2f30"} +{"instance_id": "local269", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE final_combinations AS (\n SELECT p.id\n FROM packaging AS p\n WHERE EXISTS (\n SELECT 1 FROM packaging_relations AS r WHERE r.packaging_id = p.id\n )\n AND NOT EXISTS (\n SELECT 1 FROM packaging_relations AS r WHERE r.contains_id = p.id\n )\n), expanded(root_id, item_id, quantity) AS (\n SELECT f.id, r.contains_id, r.qty\n FROM final_combinations AS f\n JOIN packaging_relations AS r ON r.packaging_id = f.id\n UNION ALL\n SELECT e.root_id, r.contains_id, e.quantity * r.qty\n FROM expanded AS e\n JOIN packaging_relations AS r ON r.packaging_id = e.item_id\n), combination_totals AS (\n SELECT e.root_id, SUM(e.quantity) AS total_quantity\n FROM expanded AS e\n WHERE NOT EXISTS (\n SELECT 1 FROM packaging_relations AS r WHERE r.packaging_id = e.item_id\n )\n GROUP BY e.root_id\n)\nSELECT AVG(total_quantity) AS average_total_quantity\nFROM combination_totals;\n```", "rows": 1, "sql": "WITH RECURSIVE final_combinations AS (\n SELECT p.id\n FROM packaging AS p\n WHERE EXISTS (\n SELECT 1 FROM packaging_relations AS r WHERE r.packaging_id = p.id\n )\n AND NOT EXISTS (\n SELECT 1 FROM packaging_relations AS r WHERE r.contains_id = p.id\n )\n), expanded(root_id, item_id, quantity) AS (\n SELECT f.id, r.contains_id, r.qty\n FROM final_combinations AS f\n JOIN packaging_relations AS r ON r.packaging_id = f.id\n UNION ALL\n SELECT e.root_id, r.contains_id, e.quantity * r.qty\n FROM expanded AS e\n JOIN packaging_relations AS r ON r.packaging_id = e.item_id\n), combination_totals AS (\n SELECT e.root_id, SUM(e.quantity) AS total_quantity\n FROM expanded AS e\n WHERE NOT EXISTS (\n SELECT 1 FROM packaging_relations AS r WHERE r.packaging_id = e.item_id\n )\n GROUP BY e.root_id\n)\nSELECT AVG(total_quantity) AS average_total_quantity\nFROM combination_totals;", "seconds": 20.30028779199347, "calls": [{"seconds": 2.9249699170468375, "usage": {"completion_tokens": 68, "prompt_tokens": 1780, "total_tokens": 1848, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1077, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1077, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1077, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.3551539580803365, "usage": {"completion_tokens": 194, "prompt_tokens": 1943, "total_tokens": 2137, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 114, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 163, "cached_tokens": 1077, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 163, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 163, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.434038084000349, "usage": {"completion_tokens": 337, "prompt_tokens": 2455, "total_tokens": 2792, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 67, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 512, "cached_tokens": 1240, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 512, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 512, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.572572291013785, "usage": {"completion_tokens": 246, "prompt_tokens": 3060, "total_tokens": 3306, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 605, "cached_tokens": 1752, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 605, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 605, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "addea45bab3a2ce7e5fb5da05092adea71189e16fc6f7466ba0a4fbd8cc3a740", "csv_sha256": "da2845b889abc4ea01131c8adc9506fae98d34a620533253f4b58c6300bbc70d"} +{"instance_id": "local270", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE contents (container_id, item_id, quantity) AS (\n SELECT p.id, r.contains_id, r.qty\n FROM packaging AS p\n JOIN packaging_relations AS r ON r.packaging_id = p.id\n WHERE NOT EXISTS (\n SELECT 1\n FROM packaging_relations AS parent\n WHERE parent.contains_id = p.id\n )\n\n UNION ALL\n\n SELECT c.container_id, r.contains_id, c.quantity * r.qty\n FROM contents AS c\n JOIN packaging_relations AS r ON r.packaging_id = c.item_id\n), qualifying_items AS (\n SELECT container_id, item_id\n FROM contents\n GROUP BY container_id, item_id\n HAVING SUM(quantity) > 500\n)\nSELECT container.name AS container_name, item.name AS item_name\nFROM qualifying_items AS q\nJOIN packaging AS container ON container.id = q.container_id\nJOIN packaging AS item ON item.id = q.item_id\nORDER BY container_name, item_name;\n```", "rows": 4, "sql": "WITH RECURSIVE contents (container_id, item_id, quantity) AS (\n SELECT p.id, r.contains_id, r.qty\n FROM packaging AS p\n JOIN packaging_relations AS r ON r.packaging_id = p.id\n WHERE NOT EXISTS (\n SELECT 1\n FROM packaging_relations AS parent\n WHERE parent.contains_id = p.id\n )\n\n UNION ALL\n\n SELECT c.container_id, r.contains_id, c.quantity * r.qty\n FROM contents AS c\n JOIN packaging_relations AS r ON r.packaging_id = c.item_id\n), qualifying_items AS (\n SELECT container_id, item_id\n FROM contents\n GROUP BY container_id, item_id\n HAVING SUM(quantity) > 500\n)\nSELECT container.name AS container_name, item.name AS item_name\nFROM qualifying_items AS q\nJOIN packaging AS container ON container.id = q.container_id\nJOIN packaging AS item ON item.id = q.item_id\nORDER BY container_name, item_name;", "seconds": 22.171823833952658, "calls": [{"seconds": 3.169458333053626, "usage": {"completion_tokens": 69, "prompt_tokens": 1800, "total_tokens": 1869, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1097, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1097, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1097, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4049544589361176, "usage": {"completion_tokens": 97, "prompt_tokens": 1969, "total_tokens": 2066, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 51, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 169, "cached_tokens": 1097, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 169, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 169, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.154700958984904, "usage": {"completion_tokens": 123, "prompt_tokens": 2245, "total_tokens": 2368, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 42, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 276, "cached_tokens": 1266, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 276, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 276, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.754977499949746, "usage": {"completion_tokens": 314, "prompt_tokens": 2589, "total_tokens": 2903, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 76, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 344, "cached_tokens": 1542, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 344, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 344, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.647953083040193, "usage": {"completion_tokens": 219, "prompt_tokens": 3184, "total_tokens": 3403, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 595, "cached_tokens": 1886, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 595, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 595, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "954eace9a432b5a0406c195c2fe5863360b679b0bac6bf9e149b5222e44db322", "csv_sha256": "50de634b873b5a7ac90c8b71d188a9daf59547d13a5be1f77a31d3801e07d483"} +{"instance_id": "local272", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH order_demand AS (\n SELECT id AS order_line_id,\n product_id,\n COALESCE(SUM(qty) OVER (\n PARTITION BY product_id ORDER BY id\n ROWS BETWEEN UNBOUNDED PRECEDING AND 1 PRECEDING\n ), 0) AS demand_start,\n SUM(qty) OVER (\n PARTITION BY product_id ORDER BY id\n ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW\n ) AS demand_end\n FROM orderlines\n WHERE order_id = 423\n), warehouse_supply AS (\n SELECT i.product_id,\n l.id AS location_id,\n l.aisle,\n l.position,\n COALESCE(SUM(i.qty) OVER (\n fifo ROWS BETWEEN UNBOUNDED PRECEDING AND 1 PRECEDING\n ), 0) AS supply_start,\n SUM(i.qty) OVER (\n fifo ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW\n ) AS supply_end\n FROM inventory AS i\n JOIN locations AS l ON l.id = i.location_id\n JOIN purchases AS p ON p.id = i.purchase_id\n WHERE l.warehouse = 1\n AND i.qty > 0\n AND i.product_id IN (SELECT product_id FROM order_demand)\n WINDOW fifo AS (PARTITION BY i.product_id ORDER BY p.purchased, i.qty, i.id)\n)\nSELECT d.order_line_id,\n d.product_id,\n s.aisle,\n s.position,\n SUM(MIN(d.demand_end, s.supply_end) - MAX(d.demand_start, s.supply_start)) AS pick_qty\nFROM order_demand AS d\nJOIN warehouse_supply AS s\n ON s.product_id = d.product_id\n AND MAX(d.demand_start, s.supply_start) < MIN(d.demand_end, s.supply_end)\nGROUP BY d.order_line_id, d.product_id, s.location_id, s.aisle, s.position\nORDER BY d.order_line_id, MIN(s.supply_start), s.location_id;\n```", "rows": 5, "sql": "WITH order_demand AS (\n SELECT id AS order_line_id,\n product_id,\n COALESCE(SUM(qty) OVER (\n PARTITION BY product_id ORDER BY id\n ROWS BETWEEN UNBOUNDED PRECEDING AND 1 PRECEDING\n ), 0) AS demand_start,\n SUM(qty) OVER (\n PARTITION BY product_id ORDER BY id\n ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW\n ) AS demand_end\n FROM orderlines\n WHERE order_id = 423\n), warehouse_supply AS (\n SELECT i.product_id,\n l.id AS location_id,\n l.aisle,\n l.position,\n COALESCE(SUM(i.qty) OVER (\n fifo ROWS BETWEEN UNBOUNDED PRECEDING AND 1 PRECEDING\n ), 0) AS supply_start,\n SUM(i.qty) OVER (\n fifo ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW\n ) AS supply_end\n FROM inventory AS i\n JOIN locations AS l ON l.id = i.location_id\n JOIN purchases AS p ON p.id = i.purchase_id\n WHERE l.warehouse = 1\n AND i.qty > 0\n AND i.product_id IN (SELECT product_id FROM order_demand)\n WINDOW fifo AS (PARTITION BY i.product_id ORDER BY p.purchased, i.qty, i.id)\n)\nSELECT d.order_line_id,\n d.product_id,\n s.aisle,\n s.position,\n SUM(MIN(d.demand_end, s.supply_end) - MAX(d.demand_start, s.supply_start)) AS pick_qty\nFROM order_demand AS d\nJOIN warehouse_supply AS s\n ON s.product_id = d.product_id\n AND MAX(d.demand_start, s.supply_start) < MIN(d.demand_end, s.supply_end)\nGROUP BY d.order_line_id, d.product_id, s.location_id, s.aisle, s.position\nORDER BY d.order_line_id, MIN(s.supply_start), s.location_id;", "seconds": 36.11228604207281, "calls": [{"seconds": 4.067454166943207, "usage": {"completion_tokens": 131, "prompt_tokens": 1844, "total_tokens": 1975, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1141, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1141, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1141, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 17.6836140420055, "usage": {"completion_tokens": 937, "prompt_tokens": 2338, "total_tokens": 3275, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 457, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 494, "cached_tokens": 1141, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 494, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 494, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.476914375089109, "usage": {"completion_tokens": 226, "prompt_tokens": 3843, "total_tokens": 4069, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 62, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1505, "cached_tokens": 1635, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1505, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1505, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.84742945805192, "usage": {"completion_tokens": 563, "prompt_tokens": 4298, "total_tokens": 4861, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 114, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 455, "cached_tokens": 3140, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 455, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 455, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "3dc3f90a0061c62b7da4569032a7a4b801b097b617205b64375fa49c7148d31a", "csv_sha256": "0317cc161a47d5f6b5ea6fd48b506a6e7ecfdc0934b1734144d3e43d34c5ca9f"} +{"instance_id": "local273", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "failed", "answer": "❓ Awaiting user: Should I average the percentage of requested quantity fulfilled per order, or the percentage of available inventory taken per location pick?", "error_type": "ValueError", "seconds": 46.63341441610828, "calls": [{"seconds": 2.38214879098814, "usage": {"completion_tokens": 15, "prompt_tokens": 1818, "total_tokens": 1833, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1115, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1115, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1115, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.273628833005205, "usage": {"completion_tokens": 177, "prompt_tokens": 2088, "total_tokens": 2265, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 270, "cached_tokens": 1115, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 270, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 270, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.967549332999624, "usage": {"completion_tokens": 211, "prompt_tokens": 2723, "total_tokens": 2934, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 88, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 635, "cached_tokens": 1385, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 635, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 635, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.83558445808012, "usage": {"completion_tokens": 417, "prompt_tokens": 3746, "total_tokens": 4163, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 249, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1023, "cached_tokens": 2020, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1023, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1023, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 24.133927874965593, "usage": {"completion_tokens": 1027, "prompt_tokens": 4495, "total_tokens": 5522, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 985, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 749, "cached_tokens": 3043, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 749, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 749, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "bb02c31f32956adf45f8a1545205bfdd088eae026dd1dfda8233fb8139e81242"} +{"instance_id": "local274", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "failed", "answer": "```sql\n-- Average the recorded FIFO allocations per completed pick line, not per purchase lot.\nSELECT p.name AS product_name,\n AVG(pl.qty) AS avg_units_picked\nFROM picking_line AS pl\nJOIN products AS p ON p.id = pl.product_id\nWHERE pl.order_id = 421\n AND EXISTS (\n SELECT 1\n FROM picking_log AS log\n WHERE log.picklist_id = pl.picklist_id\n AND log.pickline_no = pl.line_no\n AND log.activity = 'P'\n )\nGROUP BY p.id, p.name\nORDER BY p.name, p.id;\n```", "error_type": "ValueError", "seconds": 59.884574125055224, "calls": [{"seconds": 3.411565167014487, "usage": {"completion_tokens": 131, "prompt_tokens": 1784, "total_tokens": 1915, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1081, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1081, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1081, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1785755419405177, "usage": {"completion_tokens": 81, "prompt_tokens": 2212, "total_tokens": 2293, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 428, "cached_tokens": 1081, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 428, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 428, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2065076670842245, "usage": {"completion_tokens": 86, "prompt_tokens": 2464, "total_tokens": 2550, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 252, "cached_tokens": 1509, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 252, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 252, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.967563375015743, "usage": {"completion_tokens": 192, "prompt_tokens": 2739, "total_tokens": 2931, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 123, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 275, "cached_tokens": 1761, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 275, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 275, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.265347916050814, "usage": {"completion_tokens": 215, "prompt_tokens": 3269, "total_tokens": 3484, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 19, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 530, "cached_tokens": 2036, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 530, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 530, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.371575166005641, "usage": {"completion_tokens": 166, "prompt_tokens": 4095, "total_tokens": 4261, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 826, "cached_tokens": 2566, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 826, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 826, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.917043791967444, "usage": {"completion_tokens": 364, "prompt_tokens": 5290, "total_tokens": 5654, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 168, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1195, "cached_tokens": 3392, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1195, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1195, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.868254833039828, "usage": {"completion_tokens": 490, "prompt_tokens": 6154, "total_tokens": 6644, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 357, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 864, "cached_tokens": 4587, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 864, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 864, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.588941666996107, "usage": {"completion_tokens": 336, "prompt_tokens": 6816, "total_tokens": 7152, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 186, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 662, "cached_tokens": 5451, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 662, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 662, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.0588485829066485, "usage": {"completion_tokens": 133, "prompt_tokens": 7340, "total_tokens": 7473, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 524, "cached_tokens": 6113, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 524, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 524, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "6ad7a46a660827ec24252092c7d95a1da742086c9e04ad5a1fa420b6b9512b36"} +{"instance_id": "local275", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH moving_averages AS (\n SELECT product_id,\n mth,\n qty,\n ROW_NUMBER() OVER (PARTITION BY product_id ORDER BY mth) AS month_no,\n AVG(qty) OVER (\n PARTITION BY product_id ORDER BY mth\n ROWS BETWEEN 5 PRECEDING AND 6 FOLLOWING\n ) AS avg_left,\n AVG(qty) OVER (\n PARTITION BY product_id ORDER BY mth\n ROWS BETWEEN 6 PRECEDING AND 5 FOLLOWING\n ) AS avg_right\n FROM monthly_sales\n WHERE mth >= '2016-01-01'\n), ratios AS (\n SELECT product_id,\n qty / NULLIF((avg_left + avg_right) / 2.0, 0) AS sales_to_cma\n FROM moving_averages\n WHERE month_no BETWEEN 7 AND 30\n AND mth >= '2017-01-01'\n AND mth < '2018-01-01'\n), qualifying_products AS (\n SELECT product_id\n FROM ratios\n GROUP BY product_id\n HAVING COUNT(*) = 12\n AND COUNT(sales_to_cma) = 12\n AND MIN(sales_to_cma) > 2\n)\nSELECT p.name\nFROM qualifying_products AS q\nJOIN products AS p ON p.id = q.product_id\nORDER BY p.name;\n```", "rows": 0, "sql": "WITH moving_averages AS (\n SELECT product_id,\n mth,\n qty,\n ROW_NUMBER() OVER (PARTITION BY product_id ORDER BY mth) AS month_no,\n AVG(qty) OVER (\n PARTITION BY product_id ORDER BY mth\n ROWS BETWEEN 5 PRECEDING AND 6 FOLLOWING\n ) AS avg_left,\n AVG(qty) OVER (\n PARTITION BY product_id ORDER BY mth\n ROWS BETWEEN 6 PRECEDING AND 5 FOLLOWING\n ) AS avg_right\n FROM monthly_sales\n WHERE mth >= '2016-01-01'\n), ratios AS (\n SELECT product_id,\n qty / NULLIF((avg_left + avg_right) / 2.0, 0) AS sales_to_cma\n FROM moving_averages\n WHERE month_no BETWEEN 7 AND 30\n AND mth >= '2017-01-01'\n AND mth < '2018-01-01'\n), qualifying_products AS (\n SELECT product_id\n FROM ratios\n GROUP BY product_id\n HAVING COUNT(*) = 12\n AND COUNT(sales_to_cma) = 12\n AND MIN(sales_to_cma) > 2\n)\nSELECT p.name\nFROM qualifying_products AS q\nJOIN products AS p ON p.id = q.product_id\nORDER BY p.name;", "seconds": 29.11903091694694, "calls": [{"seconds": 2.8766865000361577, "usage": {"completion_tokens": 51, "prompt_tokens": 2246, "total_tokens": 2297, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1543, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1543, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1543, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.753070165985264, "usage": {"completion_tokens": 124, "prompt_tokens": 2369, "total_tokens": 2493, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 123, "cached_tokens": 1543, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 123, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 123, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.385853291023523, "usage": {"completion_tokens": 409, "prompt_tokens": 2662, "total_tokens": 3071, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 297, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 293, "cached_tokens": 1666, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 293, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 293, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.3560264169937, "usage": {"completion_tokens": 329, "prompt_tokens": 3196, "total_tokens": 3525, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 534, "cached_tokens": 1959, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 534, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 534, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.731313917087391, "usage": {"completion_tokens": 306, "prompt_tokens": 3844, "total_tokens": 4150, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 648, "cached_tokens": 2493, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 648, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 648, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "281c96177fab1bb574b4040cf1ace97a2ea2da1e1543e13c5a4afd8d4a1e63bc", "csv_sha256": "267098425cb5288317606d0e5b811d4d2de3df47c057fa479e97d27d9d3c1897"} +{"instance_id": "local277", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "failed", "answer": "❓ Awaiting user: What weights should the regression assign to each month? The documentation defines the seasonal adjustment but does not specify the regression weights.", "error_type": "ValueError", "seconds": 24.652603290975094, "calls": [{"seconds": 3.624462291947566, "usage": {"completion_tokens": 50, "prompt_tokens": 2259, "total_tokens": 2309, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1556, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1556, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1556, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.756163708982058, "usage": {"completion_tokens": 216, "prompt_tokens": 2376, "total_tokens": 2592, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 193, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 117, "cached_tokens": 1556, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 117, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 117, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 13.259575458941981, "usage": {"completion_tokens": 408, "prompt_tokens": 2632, "total_tokens": 3040, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 365, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 256, "cached_tokens": 1673, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 256, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 256, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2dc7e7ebeef1b3d594ca98429ec03670b7b1963734da4cdc2d139fddb43cc12e"} +{"instance_id": "local283", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH match_points AS (\n SELECT season, league_id, country_id, home_team_api_id AS team_api_id,\n CASE\n WHEN home_team_goal > away_team_goal THEN 3\n WHEN home_team_goal = away_team_goal THEN 1\n ELSE 0\n END AS points\n FROM Match\n UNION ALL\n SELECT season, league_id, country_id, away_team_api_id AS team_api_id,\n CASE\n WHEN away_team_goal > home_team_goal THEN 3\n WHEN away_team_goal = home_team_goal THEN 1\n ELSE 0\n END AS points\n FROM Match\n), season_totals AS (\n SELECT season, league_id, country_id, team_api_id, SUM(points) AS total_points\n FROM match_points\n GROUP BY season, league_id, country_id, team_api_id\n), ranked AS (\n SELECT season, league_id, country_id, team_api_id, total_points,\n RANK() OVER (PARTITION BY season ORDER BY total_points DESC) AS points_rank\n FROM season_totals\n)\nSELECT r.season,\n t.team_long_name AS team_name,\n l.name AS league,\n c.name AS country,\n r.total_points\nFROM ranked AS r\nJOIN Team AS t ON t.team_api_id = r.team_api_id\nJOIN League AS l ON l.id = r.league_id\nJOIN Country AS c ON c.id = r.country_id\nWHERE r.points_rank = 1\nORDER BY r.season, league, country, team_name;\n```", "rows": 8, "sql": "WITH match_points AS (\n SELECT season, league_id, country_id, home_team_api_id AS team_api_id,\n CASE\n WHEN home_team_goal > away_team_goal THEN 3\n WHEN home_team_goal = away_team_goal THEN 1\n ELSE 0\n END AS points\n FROM Match\n UNION ALL\n SELECT season, league_id, country_id, away_team_api_id AS team_api_id,\n CASE\n WHEN away_team_goal > home_team_goal THEN 3\n WHEN away_team_goal = home_team_goal THEN 1\n ELSE 0\n END AS points\n FROM Match\n), season_totals AS (\n SELECT season, league_id, country_id, team_api_id, SUM(points) AS total_points\n FROM match_points\n GROUP BY season, league_id, country_id, team_api_id\n), ranked AS (\n SELECT season, league_id, country_id, team_api_id, total_points,\n RANK() OVER (PARTITION BY season ORDER BY total_points DESC) AS points_rank\n FROM season_totals\n)\nSELECT r.season,\n t.team_long_name AS team_name,\n l.name AS league,\n c.name AS country,\n r.total_points\nFROM ranked AS r\nJOIN Team AS t ON t.team_api_id = r.team_api_id\nJOIN League AS l ON l.id = r.league_id\nJOIN Country AS c ON c.id = r.country_id\nWHERE r.points_rank = 1\nORDER BY r.season, league, country, team_name;", "seconds": 26.614839917048812, "calls": [{"seconds": 2.9674601659644395, "usage": {"completion_tokens": 80, "prompt_tokens": 1665, "total_tokens": 1745, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1113, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1113, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1113, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.46274079196155, "usage": {"completion_tokens": 400, "prompt_tokens": 2711, "total_tokens": 3111, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 195, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1046, "cached_tokens": 1113, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1046, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1046, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.314439208013937, "usage": {"completion_tokens": 365, "prompt_tokens": 3369, "total_tokens": 3734, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 10, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 658, "cached_tokens": 2159, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 658, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 658, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.4013665419770405, "usage": {"completion_tokens": 352, "prompt_tokens": 4257, "total_tokens": 4609, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 17, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 888, "cached_tokens": 2817, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 888, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 888, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f2d1dc7c5a3f150d74cc1c65c978e83bba589aa88dcf56a0f7fa58f65a5c9e8c", "csv_sha256": "aa19a0bdd29f0b10e7bcaa4a55babf257368fdfd739dc70e952eac7d8e7bbc9e"} +{"instance_id": "local284", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH item_rates AS (\n SELECT l.\"loss_rate_%\" AS loss_rate\n FROM veg_loss_rate_df AS l\n JOIN (SELECT DISTINCT item_code FROM veg_whsle_df) AS w\n ON w.item_code = l.item_code\n), mean_rate AS (\n SELECT AVG(loss_rate) AS average_loss_rate\n FROM item_rates\n), stats AS (\n SELECT m.average_loss_rate,\n SQRT(AVG((r.loss_rate - m.average_loss_rate) *\n (r.loss_rate - m.average_loss_rate))) AS stddev\n FROM mean_rate AS m\n LEFT JOIN item_rates AS r ON 1 = 1\n GROUP BY m.average_loss_rate\n)\nSELECT s.average_loss_rate,\n COUNT(CASE WHEN r.loss_rate < s.average_loss_rate - s.stddev THEN 1 END) AS items_below_one_stddev,\n COUNT(CASE WHEN r.loss_rate > s.average_loss_rate + s.stddev THEN 1 END) AS items_above_one_stddev,\n COUNT(CASE WHEN r.loss_rate BETWEEN s.average_loss_rate - s.stddev\n AND s.average_loss_rate + s.stddev THEN 1 END) AS items_within_one_stddev\nFROM stats AS s\nLEFT JOIN item_rates AS r ON 1 = 1\nGROUP BY s.average_loss_rate;\n```", "rows": 1, "sql": "WITH item_rates AS (\n SELECT l.\"loss_rate_%\" AS loss_rate\n FROM veg_loss_rate_df AS l\n JOIN (SELECT DISTINCT item_code FROM veg_whsle_df) AS w\n ON w.item_code = l.item_code\n), mean_rate AS (\n SELECT AVG(loss_rate) AS average_loss_rate\n FROM item_rates\n), stats AS (\n SELECT m.average_loss_rate,\n SQRT(AVG((r.loss_rate - m.average_loss_rate) *\n (r.loss_rate - m.average_loss_rate))) AS stddev\n FROM mean_rate AS m\n LEFT JOIN item_rates AS r ON 1 = 1\n GROUP BY m.average_loss_rate\n)\nSELECT s.average_loss_rate,\n COUNT(CASE WHEN r.loss_rate < s.average_loss_rate - s.stddev THEN 1 END) AS items_below_one_stddev,\n COUNT(CASE WHEN r.loss_rate > s.average_loss_rate + s.stddev THEN 1 END) AS items_above_one_stddev,\n COUNT(CASE WHEN r.loss_rate BETWEEN s.average_loss_rate - s.stddev\n AND s.average_loss_rate + s.stddev THEN 1 END) AS items_within_one_stddev\nFROM stats AS s\nLEFT JOIN item_rates AS r ON 1 = 1\nGROUP BY s.average_loss_rate;", "seconds": 62.71896604192443, "calls": [{"seconds": 2.8352612080052495, "usage": {"completion_tokens": 86, "prompt_tokens": 1700, "total_tokens": 1786, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1095, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1095, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1095, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.687194459023885, "usage": {"completion_tokens": 322, "prompt_tokens": 1944, "total_tokens": 2266, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 126, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 244, "cached_tokens": 1095, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 244, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 244, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.039629208040424, "usage": {"completion_tokens": 511, "prompt_tokens": 2520, "total_tokens": 3031, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 197, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 576, "cached_tokens": 1339, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 576, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 576, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.394632417010143, "usage": {"completion_tokens": 390, "prompt_tokens": 3357, "total_tokens": 3747, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 80, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 837, "cached_tokens": 1915, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 837, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 837, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.582027249969542, "usage": {"completion_tokens": 285, "prompt_tokens": 4093, "total_tokens": 4378, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 736, "cached_tokens": 2752, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 736, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 736, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ad1f160fb151df88e9b288642d49f6f0390e65dc5c55e48f005b1e5071b971d4", "csv_sha256": "1277c08672016f6028915fc2ffe0d7c88f8937d98e45980bb6dfa2bbcc612975"} +{"instance_id": "local285", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "failed", "answer": "How should I calculate the wholesale and selling totals, average loss rate, total loss, and profit—should the totals use unit prices or transaction quantities, should the loss rate be weighted, and should loss be measured in kg or RMB?", "error_type": "ValueError", "seconds": 60.30680054205004, "calls": [{"seconds": 3.143968041986227, "usage": {"completion_tokens": 104, "prompt_tokens": 1730, "total_tokens": 1834, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1125, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1125, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1125, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9924980408977717, "usage": {"completion_tokens": 51, "prompt_tokens": 2071, "total_tokens": 2122, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 27, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 341, "cached_tokens": 1125, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 341, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 341, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.287688917014748, "usage": {"completion_tokens": 212, "prompt_tokens": 452, "total_tokens": 664, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 38, "rejected_prediction_tokens": 0}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": 0, "cached_tokens": 0, "cache_creation_tokens": 0}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.464308583992533, "usage": {"completion_tokens": 204, "prompt_tokens": 2286, "total_tokens": 2490, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 130, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 215, "cached_tokens": 1466, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 215, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 215, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.467476707999595, "usage": {"completion_tokens": 660, "prompt_tokens": 587, "total_tokens": 1247, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 211, "rejected_prediction_tokens": 0}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": 0, "cached_tokens": 0, "cache_creation_tokens": 0}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.44261341704987, "usage": {"completion_tokens": 420, "prompt_tokens": 375, "total_tokens": 795, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 150, "rejected_prediction_tokens": 0}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": 0, "cached_tokens": 0, "cache_creation_tokens": 0}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.26728104101494, "usage": {"completion_tokens": 546, "prompt_tokens": 453, "total_tokens": 999, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 297, "rejected_prediction_tokens": 0}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": 0, "cached_tokens": 0, "cache_creation_tokens": 0}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.153722707997076, "usage": {"completion_tokens": 396, "prompt_tokens": 3410, "total_tokens": 3806, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 343, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1124, "cached_tokens": 1681, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1124, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1124, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "14a6f4d4c119a031a9d7484a7d79964c8c2c0ad9a6515fa927e1ecc5ec8d63e4"} +{"instance_id": "local286", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "failed", "answer": "For this report, what counts as a sale (which order statuses qualify and whether freight is included), which events start and end packing time, and should top categories be ranked by units sold per seller or across all qualifying sellers?", "error_type": "ValueError", "seconds": 25.186946625006385, "calls": [{"seconds": 2.091440209071152, "usage": {"completion_tokens": 15, "prompt_tokens": 1664, "total_tokens": 1679, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1107, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1107, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1107, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4811638749670237, "usage": {"completion_tokens": 130, "prompt_tokens": 1727, "total_tokens": 1857, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 63, "cached_tokens": 1107, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 63, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 63, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.941722542047501, "usage": {"completion_tokens": 313, "prompt_tokens": 2260, "total_tokens": 2573, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 246, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 533, "cached_tokens": 1170, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 533, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 533, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.65358429204207, "usage": {"completion_tokens": 425, "prompt_tokens": 2635, "total_tokens": 3060, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 374, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 375, "cached_tokens": 1703, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 375, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 375, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "5d03a6158cb62d72c415170085ceca4d3338303a1bda5943e47121f88151b421"} +{"instance_id": "local297", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH monthly_nets AS (\n SELECT customer_id,\n DATE(txn_date, 'start of month') AS month_start,\n SUM(CASE txn_type\n WHEN 'deposit' THEN txn_amount\n WHEN 'withdrawal' THEN -txn_amount\n END) AS monthly_net\n FROM customer_transactions\n WHERE txn_type IN ('deposit', 'withdrawal')\n GROUP BY customer_id, DATE(txn_date, 'start of month')\n), monthly_balances AS (\n SELECT customer_id,\n month_start,\n SUM(monthly_net) OVER (\n PARTITION BY customer_id\n ORDER BY month_start\n ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW\n ) AS closing_balance\n FROM monthly_nets\n), ranked_balances AS (\n SELECT closing_balance,\n LAG(closing_balance, 1, 0) OVER (\n PARTITION BY customer_id ORDER BY month_start\n ) AS prior_balance,\n ROW_NUMBER() OVER (\n PARTITION BY customer_id ORDER BY month_start DESC\n ) AS month_rank\n FROM monthly_balances\n), latest_growth AS (\n SELECT CASE\n WHEN prior_balance = 0 THEN closing_balance * 100.0\n ELSE 100.0 * (closing_balance - prior_balance) / prior_balance\n END AS growth_pct\n FROM ranked_balances\n WHERE month_rank = 1\n)\nSELECT 100.0 * COUNT(CASE WHEN growth_pct > 5 THEN 1 END)\n / NULLIF(COUNT(*), 0) AS percentage_of_customers\nFROM latest_growth;\n```", "rows": 1, "sql": "WITH monthly_nets AS (\n SELECT customer_id,\n DATE(txn_date, 'start of month') AS month_start,\n SUM(CASE txn_type\n WHEN 'deposit' THEN txn_amount\n WHEN 'withdrawal' THEN -txn_amount\n END) AS monthly_net\n FROM customer_transactions\n WHERE txn_type IN ('deposit', 'withdrawal')\n GROUP BY customer_id, DATE(txn_date, 'start of month')\n), monthly_balances AS (\n SELECT customer_id,\n month_start,\n SUM(monthly_net) OVER (\n PARTITION BY customer_id\n ORDER BY month_start\n ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW\n ) AS closing_balance\n FROM monthly_nets\n), ranked_balances AS (\n SELECT closing_balance,\n LAG(closing_balance, 1, 0) OVER (\n PARTITION BY customer_id ORDER BY month_start\n ) AS prior_balance,\n ROW_NUMBER() OVER (\n PARTITION BY customer_id ORDER BY month_start DESC\n ) AS month_rank\n FROM monthly_balances\n), latest_growth AS (\n SELECT CASE\n WHEN prior_balance = 0 THEN closing_balance * 100.0\n ELSE 100.0 * (closing_balance - prior_balance) / prior_balance\n END AS growth_pct\n FROM ranked_balances\n WHERE month_rank = 1\n)\nSELECT 100.0 * COUNT(CASE WHEN growth_pct > 5 THEN 1 END)\n / NULLIF(COUNT(*), 0) AS percentage_of_customers\nFROM latest_growth;", "seconds": 31.76930404198356, "calls": [{"seconds": 2.648052000091411, "usage": {"completion_tokens": 52, "prompt_tokens": 1769, "total_tokens": 1821, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1164, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1164, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1164, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.540320875006728, "usage": {"completion_tokens": 608, "prompt_tokens": 1905, "total_tokens": 2513, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 368, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 136, "cached_tokens": 1164, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 136, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 136, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.529232541914098, "usage": {"completion_tokens": 522, "prompt_tokens": 2793, "total_tokens": 3315, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 150, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 888, "cached_tokens": 1300, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 888, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 888, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.030110707972199, "usage": {"completion_tokens": 380, "prompt_tokens": 3680, "total_tokens": 4060, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 36, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 887, "cached_tokens": 2188, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 887, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 887, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ffa4f9bc139bb4074802c1f7e581972757dc51ef0e75758fa98f37ebb74a0fda", "csv_sha256": "ef4bacdb2ec34244a1b5317496443d4b0060949560d8291ce7e44e31beb1d497"} +{"instance_id": "local298", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE month_bounds AS (\n SELECT DATE(MIN(txn_date), 'start of month') AS first_month,\n DATE(MAX(txn_date), 'start of month') AS last_month\n FROM customer_transactions\n), months(month_start, last_month) AS (\n SELECT DATE(first_month, '+1 month'), last_month\n FROM month_bounds\n WHERE first_month < last_month\n UNION ALL\n SELECT DATE(month_start, '+1 month'), last_month\n FROM months\n WHERE month_start < last_month\n), customer_balances AS (\n SELECT m.month_start,\n t.customer_id,\n SUM(CASE t.txn_type\n WHEN 'deposit' THEN t.txn_amount\n WHEN 'purchase' THEN -t.txn_amount\n WHEN 'withdrawal' THEN -t.txn_amount\n END) AS balance\n FROM months AS m\n JOIN customer_transactions AS t ON t.txn_date < m.month_start\n GROUP BY m.month_start, t.customer_id\n)\nSELECT month_start AS month,\n SUM(MAX(balance, 0)) AS previous_total_balance\nFROM customer_balances\nGROUP BY month_start\nORDER BY month_start;\n```", "rows": 3, "sql": "WITH RECURSIVE month_bounds AS (\n SELECT DATE(MIN(txn_date), 'start of month') AS first_month,\n DATE(MAX(txn_date), 'start of month') AS last_month\n FROM customer_transactions\n), months(month_start, last_month) AS (\n SELECT DATE(first_month, '+1 month'), last_month\n FROM month_bounds\n WHERE first_month < last_month\n UNION ALL\n SELECT DATE(month_start, '+1 month'), last_month\n FROM months\n WHERE month_start < last_month\n), customer_balances AS (\n SELECT m.month_start,\n t.customer_id,\n SUM(CASE t.txn_type\n WHEN 'deposit' THEN t.txn_amount\n WHEN 'purchase' THEN -t.txn_amount\n WHEN 'withdrawal' THEN -t.txn_amount\n END) AS balance\n FROM months AS m\n JOIN customer_transactions AS t ON t.txn_date < m.month_start\n GROUP BY m.month_start, t.customer_id\n)\nSELECT month_start AS month,\n SUM(MAX(balance, 0)) AS previous_total_balance\nFROM customer_balances\nGROUP BY month_start\nORDER BY month_start;", "seconds": 38.08592645905446, "calls": [{"seconds": 2.1268497080309317, "usage": {"completion_tokens": 18, "prompt_tokens": 1725, "total_tokens": 1743, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1120, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1120, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1120, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.2668419169494882, "usage": {"completion_tokens": 15, "prompt_tokens": 1773, "total_tokens": 1788, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1120, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2908339579589665, "usage": {"completion_tokens": 84, "prompt_tokens": 1894, "total_tokens": 1978, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 121, "cached_tokens": 1168, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 121, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 121, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.843002915964462, "usage": {"completion_tokens": 330, "prompt_tokens": 2153, "total_tokens": 2483, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 266, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 259, "cached_tokens": 1289, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 259, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 259, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 15.865448500029743, "usage": {"completion_tokens": 783, "prompt_tokens": 2652, "total_tokens": 3435, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 507, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 499, "cached_tokens": 1548, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 499, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 499, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.663452208042145, "usage": {"completion_tokens": 272, "prompt_tokens": 3747, "total_tokens": 4019, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 13, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1095, "cached_tokens": 2047, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1095, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1095, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "fdf3327ee6a5222cfac0084634d54215f34518790ca1072f2248d7421a22d485", "csv_sha256": "3e17a5b81f2544fb6ca84a8ddd5b75b4f5ed8a43473f9993c298b9cac4adf7b1"} +{"instance_id": "local299", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE\n daily_transactions AS (\n SELECT customer_id,\n DATE(txn_date) AS transaction_date,\n SUM(CASE WHEN txn_type = 'deposit' THEN txn_amount\n ELSE -txn_amount END) AS net_amount\n FROM customer_transactions\n GROUP BY customer_id, DATE(txn_date)\n ),\n reporting_end AS (\n SELECT MAX(transaction_date) AS last_date\n FROM daily_transactions\n ),\n customer_days(customer_id, balance_date, baseline_month) AS (\n SELECT customer_id,\n MIN(transaction_date),\n STRFTIME('%Y-%m', MIN(transaction_date))\n FROM daily_transactions\n GROUP BY customer_id\n\n UNION ALL\n\n SELECT d.customer_id, DATE(d.balance_date, '+1 day'), d.baseline_month\n FROM customer_days AS d\n CROSS JOIN reporting_end AS e\n WHERE d.balance_date < e.last_date\n ),\n daily_balances AS (\n SELECT d.customer_id, d.balance_date, d.baseline_month,\n SUM(COALESCE(t.net_amount, 0)) OVER (\n PARTITION BY d.customer_id\n ORDER BY d.balance_date\n ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW\n ) AS daily_balance\n FROM customer_days AS d\n LEFT JOIN daily_transactions AS t\n ON t.customer_id = d.customer_id\n AND t.transaction_date = d.balance_date\n ),\n rolling_balances AS (\n SELECT customer_id, STRFTIME('%Y-%m', balance_date) AS month,\n baseline_month,\n AVG(daily_balance) OVER trailing_30_days AS average_balance,\n COUNT(*) OVER trailing_30_days AS days_in_window\n FROM daily_balances\n WINDOW trailing_30_days AS (\n PARTITION BY customer_id\n ORDER BY balance_date\n ROWS BETWEEN 29 PRECEDING AND CURRENT ROW\n )\n ),\n customer_monthly_max AS (\n SELECT customer_id, month,\n MAX(CASE WHEN average_balance < 0 THEN 0.0\n ELSE average_balance END) AS max_30_day_average\n FROM rolling_balances\n WHERE days_in_window = 30 AND month > baseline_month\n GROUP BY customer_id, month\n )\nSELECT month, SUM(max_30_day_average) AS total_max_30_day_average_balance\nFROM customer_monthly_max\nGROUP BY month\nORDER BY month;\n```", "rows": 3, "sql": "WITH RECURSIVE\n daily_transactions AS (\n SELECT customer_id,\n DATE(txn_date) AS transaction_date,\n SUM(CASE WHEN txn_type = 'deposit' THEN txn_amount\n ELSE -txn_amount END) AS net_amount\n FROM customer_transactions\n GROUP BY customer_id, DATE(txn_date)\n ),\n reporting_end AS (\n SELECT MAX(transaction_date) AS last_date\n FROM daily_transactions\n ),\n customer_days(customer_id, balance_date, baseline_month) AS (\n SELECT customer_id,\n MIN(transaction_date),\n STRFTIME('%Y-%m', MIN(transaction_date))\n FROM daily_transactions\n GROUP BY customer_id\n\n UNION ALL\n\n SELECT d.customer_id, DATE(d.balance_date, '+1 day'), d.baseline_month\n FROM customer_days AS d\n CROSS JOIN reporting_end AS e\n WHERE d.balance_date < e.last_date\n ),\n daily_balances AS (\n SELECT d.customer_id, d.balance_date, d.baseline_month,\n SUM(COALESCE(t.net_amount, 0)) OVER (\n PARTITION BY d.customer_id\n ORDER BY d.balance_date\n ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW\n ) AS daily_balance\n FROM customer_days AS d\n LEFT JOIN daily_transactions AS t\n ON t.customer_id = d.customer_id\n AND t.transaction_date = d.balance_date\n ),\n rolling_balances AS (\n SELECT customer_id, STRFTIME('%Y-%m', balance_date) AS month,\n baseline_month,\n AVG(daily_balance) OVER trailing_30_days AS average_balance,\n COUNT(*) OVER trailing_30_days AS days_in_window\n FROM daily_balances\n WINDOW trailing_30_days AS (\n PARTITION BY customer_id\n ORDER BY balance_date\n ROWS BETWEEN 29 PRECEDING AND CURRENT ROW\n )\n ),\n customer_monthly_max AS (\n SELECT customer_id, month,\n MAX(CASE WHEN average_balance < 0 THEN 0.0\n ELSE average_balance END) AS max_30_day_average\n FROM rolling_balances\n WHERE days_in_window = 30 AND month > baseline_month\n GROUP BY customer_id, month\n )\nSELECT month, SUM(max_30_day_average) AS total_max_30_day_average_balance\nFROM customer_monthly_max\nGROUP BY month\nORDER BY month;", "seconds": 33.50739270891063, "calls": [{"seconds": 2.1178227089112625, "usage": {"completion_tokens": 20, "prompt_tokens": 1778, "total_tokens": 1798, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1173, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1173, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1173, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.795621415949427, "usage": {"completion_tokens": 415, "prompt_tokens": 1838, "total_tokens": 2253, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 361, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 60, "cached_tokens": 1173, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 60, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 60, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 14.304243666003458, "usage": {"completion_tokens": 911, "prompt_tokens": 2395, "total_tokens": 3306, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 348, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 557, "cached_tokens": 1233, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 557, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 557, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.103592208004557, "usage": {"completion_tokens": 515, "prompt_tokens": 3889, "total_tokens": 4404, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1494, "cached_tokens": 1790, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1494, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1494, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "ec51c90d475888862a554460928171613ac51c79ca4aba479e2fec67a30ba7ff", "csv_sha256": "3b9f2351d859488c806e14fd6474e186f19e8e49a8ad57d213759c3e2a84a54a"} +{"instance_id": "local300", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH RECURSIVE daily_activity AS (\n SELECT customer_id,\n DATE(txn_date) AS balance_date,\n SUM(CASE\n WHEN txn_type = 'deposit' THEN txn_amount\n WHEN txn_type IN ('purchase', 'withdrawal') THEN -txn_amount\n END) AS net_amount\n FROM customer_transactions\n GROUP BY customer_id, DATE(txn_date)\n),\ncustomer_dates AS (\n SELECT customer_id,\n MIN(balance_date) AS balance_date,\n MAX(balance_date) AS last_date\n FROM daily_activity\n GROUP BY customer_id\n UNION ALL\n SELECT customer_id, DATE(balance_date, '+1 day'), last_date\n FROM customer_dates\n WHERE balance_date < last_date\n),\ndaily_balances AS (\n SELECT d.customer_id,\n d.balance_date,\n SUM(COALESCE(a.net_amount, 0)) OVER (\n PARTITION BY d.customer_id\n ORDER BY d.balance_date\n ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW\n ) AS balance\n FROM customer_dates AS d\n LEFT JOIN daily_activity AS a\n ON a.customer_id = d.customer_id\n AND a.balance_date = d.balance_date\n),\ncustomer_monthly_max AS (\n SELECT customer_id,\n STRFTIME('%Y-%m', balance_date) AS month,\n MAX(CASE WHEN balance < 0 THEN 0 ELSE balance END) AS max_daily_balance\n FROM daily_balances\n GROUP BY customer_id, STRFTIME('%Y-%m', balance_date)\n)\nSELECT month, SUM(max_daily_balance) AS monthly_total\nFROM customer_monthly_max\nGROUP BY month\nORDER BY month;\n```", "rows": 4, "sql": "WITH RECURSIVE daily_activity AS (\n SELECT customer_id,\n DATE(txn_date) AS balance_date,\n SUM(CASE\n WHEN txn_type = 'deposit' THEN txn_amount\n WHEN txn_type IN ('purchase', 'withdrawal') THEN -txn_amount\n END) AS net_amount\n FROM customer_transactions\n GROUP BY customer_id, DATE(txn_date)\n),\ncustomer_dates AS (\n SELECT customer_id,\n MIN(balance_date) AS balance_date,\n MAX(balance_date) AS last_date\n FROM daily_activity\n GROUP BY customer_id\n UNION ALL\n SELECT customer_id, DATE(balance_date, '+1 day'), last_date\n FROM customer_dates\n WHERE balance_date < last_date\n),\ndaily_balances AS (\n SELECT d.customer_id,\n d.balance_date,\n SUM(COALESCE(a.net_amount, 0)) OVER (\n PARTITION BY d.customer_id\n ORDER BY d.balance_date\n ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW\n ) AS balance\n FROM customer_dates AS d\n LEFT JOIN daily_activity AS a\n ON a.customer_id = d.customer_id\n AND a.balance_date = d.balance_date\n),\ncustomer_monthly_max AS (\n SELECT customer_id,\n STRFTIME('%Y-%m', balance_date) AS month,\n MAX(CASE WHEN balance < 0 THEN 0 ELSE balance END) AS max_daily_balance\n FROM daily_balances\n GROUP BY customer_id, STRFTIME('%Y-%m', balance_date)\n)\nSELECT month, SUM(max_daily_balance) AS monthly_total\nFROM customer_monthly_max\nGROUP BY month\nORDER BY month;", "seconds": 23.00614116701763, "calls": [{"seconds": 2.261366083053872, "usage": {"completion_tokens": 20, "prompt_tokens": 1730, "total_tokens": 1750, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1125, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1125, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1125, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8182740419870242, "usage": {"completion_tokens": 112, "prompt_tokens": 1790, "total_tokens": 1902, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 77, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 60, "cached_tokens": 1125, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 60, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 60, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.463384500006214, "usage": {"completion_tokens": 494, "prompt_tokens": 1945, "total_tokens": 2439, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 100, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 155, "cached_tokens": 1185, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 155, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 155, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.3694528749911115, "usage": {"completion_tokens": 361, "prompt_tokens": 2857, "total_tokens": 3218, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 912, "cached_tokens": 1340, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 912, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 912, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "47748a8bb28f23c833fbd22461c3489a485035f829e70a0af449cc93963f05b4", "csv_sha256": "55b4842a1f8d5d62fd08a20930a8432e35aed094888291dab63c02f85a85ac2a"} +{"instance_id": "local301", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH periods(year, cutoff) AS (\n VALUES (2018, '2018-06-15'), (2019, '2019-06-15'), (2020, '2020-06-15')\n), totals AS (\n SELECT p.year,\n SUM(CASE WHEN s.week_date < p.cutoff THEN s.sales END) AS sales_before,\n SUM(CASE WHEN s.week_date >= p.cutoff THEN s.sales END) AS sales_after\n FROM periods AS p\n LEFT JOIN cleaned_weekly_sales AS s\n ON s.week_date >= date(p.cutoff, '-28 days')\n AND s.week_date < date(p.cutoff, '+28 days')\n GROUP BY p.year\n)\nSELECT year,\n ROUND(100.0 * (sales_after - sales_before) / NULLIF(sales_before, 0), 2) AS sales_pct_change\nFROM totals\nORDER BY year;\n```", "rows": 3, "sql": "WITH periods(year, cutoff) AS (\n VALUES (2018, '2018-06-15'), (2019, '2019-06-15'), (2020, '2020-06-15')\n), totals AS (\n SELECT p.year,\n SUM(CASE WHEN s.week_date < p.cutoff THEN s.sales END) AS sales_before,\n SUM(CASE WHEN s.week_date >= p.cutoff THEN s.sales END) AS sales_after\n FROM periods AS p\n LEFT JOIN cleaned_weekly_sales AS s\n ON s.week_date >= date(p.cutoff, '-28 days')\n AND s.week_date < date(p.cutoff, '+28 days')\n GROUP BY p.year\n)\nSELECT year,\n ROUND(100.0 * (sales_after - sales_before) / NULLIF(sales_before, 0), 2) AS sales_pct_change\nFROM totals\nORDER BY year;", "seconds": 21.4357739998959, "calls": [{"seconds": 2.9631704579805955, "usage": {"completion_tokens": 69, "prompt_tokens": 1716, "total_tokens": 1785, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1111, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1111, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1111, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.2247912919847295, "usage": {"completion_tokens": 269, "prompt_tokens": 1963, "total_tokens": 2232, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 205, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 247, "cached_tokens": 1111, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 247, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 247, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.542694916948676, "usage": {"completion_tokens": 298, "prompt_tokens": 3172, "total_tokens": 3470, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 74, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1209, "cached_tokens": 1358, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1209, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1209, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.666125749936327, "usage": {"completion_tokens": 201, "prompt_tokens": 3717, "total_tokens": 3918, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 545, "cached_tokens": 2567, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 545, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 545, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "966f22c4062d1129047f265d53965c9e5de949c41e6521dcf6feaf8e1a3018ef", "csv_sha256": "e61d6dff8c321adde5f11b7dcd293f2e452950649f2b3ac8678a9ce51892932d"} +{"instance_id": "local302", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH sales_window AS (\n SELECT week_date, region, platform, age_band, demographic, customer_type, sales\n FROM cleaned_weekly_sales\n WHERE week_date >= date('2020-06-15', '-84 days')\n AND week_date < date('2020-06-15', '+84 days')\n),\nattribute_sales AS (\n SELECT 'region' AS attribute_type, region AS attribute_value, week_date, sales\n FROM sales_window\n UNION ALL\n SELECT 'platform', platform, week_date, sales FROM sales_window\n UNION ALL\n SELECT 'age_band', age_band, week_date, sales FROM sales_window\n UNION ALL\n SELECT 'demographic', demographic, week_date, sales FROM sales_window\n UNION ALL\n SELECT 'customer_type', customer_type, week_date, sales FROM sales_window\n),\nvalue_totals AS (\n SELECT attribute_type,\n attribute_value,\n SUM(CASE WHEN week_date < '2020-06-15' THEN sales ELSE 0 END) AS sales_before,\n SUM(CASE WHEN week_date >= '2020-06-15' THEN sales ELSE 0 END) AS sales_after\n FROM attribute_sales\n GROUP BY attribute_type, attribute_value\n),\ntype_averages AS (\n SELECT attribute_type,\n AVG(100.0 * (sales_after - sales_before) / NULLIF(sales_before, 0)) AS avg_percentage_change\n FROM value_totals\n GROUP BY attribute_type\n)\nSELECT attribute_type, avg_percentage_change\nFROM type_averages\nWHERE avg_percentage_change = (SELECT MIN(avg_percentage_change) FROM type_averages)\n AND avg_percentage_change < 0\nORDER BY attribute_type;\n```", "rows": 1, "sql": "WITH sales_window AS (\n SELECT week_date, region, platform, age_band, demographic, customer_type, sales\n FROM cleaned_weekly_sales\n WHERE week_date >= date('2020-06-15', '-84 days')\n AND week_date < date('2020-06-15', '+84 days')\n),\nattribute_sales AS (\n SELECT 'region' AS attribute_type, region AS attribute_value, week_date, sales\n FROM sales_window\n UNION ALL\n SELECT 'platform', platform, week_date, sales FROM sales_window\n UNION ALL\n SELECT 'age_band', age_band, week_date, sales FROM sales_window\n UNION ALL\n SELECT 'demographic', demographic, week_date, sales FROM sales_window\n UNION ALL\n SELECT 'customer_type', customer_type, week_date, sales FROM sales_window\n),\nvalue_totals AS (\n SELECT attribute_type,\n attribute_value,\n SUM(CASE WHEN week_date < '2020-06-15' THEN sales ELSE 0 END) AS sales_before,\n SUM(CASE WHEN week_date >= '2020-06-15' THEN sales ELSE 0 END) AS sales_after\n FROM attribute_sales\n GROUP BY attribute_type, attribute_value\n),\ntype_averages AS (\n SELECT attribute_type,\n AVG(100.0 * (sales_after - sales_before) / NULLIF(sales_before, 0)) AS avg_percentage_change\n FROM value_totals\n GROUP BY attribute_type\n)\nSELECT attribute_type, avg_percentage_change\nFROM type_averages\nWHERE avg_percentage_change = (SELECT MIN(avg_percentage_change) FROM type_averages)\n AND avg_percentage_change < 0\nORDER BY attribute_type;", "seconds": 29.72304970899131, "calls": [{"seconds": 3.2394301670137793, "usage": {"completion_tokens": 69, "prompt_tokens": 1732, "total_tokens": 1801, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1127, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1127, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1127, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.939460916095413, "usage": {"completion_tokens": 226, "prompt_tokens": 1979, "total_tokens": 2205, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 152, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 247, "cached_tokens": 1127, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 247, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 247, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.661383374943398, "usage": {"completion_tokens": 737, "prompt_tokens": 2903, "total_tokens": 3640, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 348, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 924, "cached_tokens": 1374, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 924, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 924, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.420616249903105, "usage": {"completion_tokens": 368, "prompt_tokens": 4041, "total_tokens": 4409, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1138, "cached_tokens": 2298, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1138, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1138, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2f9d21ee1084f92b0897d7b0ceb96cbe1292078c0f24ce4bae07ac94b2ed1cd4", "csv_sha256": "1d77daee7f045ca9f56d1d5adfa0c00d2ede85949bce5b8e5e2fb76d142932c1"} +{"instance_id": "local309", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH ranked_drivers AS (\n SELECT r.year, ds.driver_id,\n RANK() OVER (\n PARTITION BY r.year\n ORDER BY r.round DESC, ds.points DESC\n ) AS points_rank\n FROM races AS r\n JOIN driver_standings AS ds ON ds.race_id = r.race_id\n), ranked_constructors AS (\n SELECT r.year, cs.constructor_id,\n RANK() OVER (\n PARTITION BY r.year\n ORDER BY r.round DESC, cs.points DESC\n ) AS points_rank\n FROM races AS r\n JOIN constructor_standings AS cs ON cs.race_id = r.race_id\n)\nSELECT s.year,\n d.full_name AS driver_full_name,\n c.name AS constructor_name\nFROM seasons AS s\nLEFT JOIN ranked_drivers AS rd ON rd.year = s.year AND rd.points_rank = 1\nLEFT JOIN drivers AS d ON d.driver_id = rd.driver_id\nLEFT JOIN ranked_constructors AS rc ON rc.year = s.year AND rc.points_rank = 1\nLEFT JOIN constructors AS c ON c.constructor_id = rc.constructor_id\nORDER BY s.year, d.full_name, c.name;\n```", "rows": 75, "sql": "WITH ranked_drivers AS (\n SELECT r.year, ds.driver_id,\n RANK() OVER (\n PARTITION BY r.year\n ORDER BY r.round DESC, ds.points DESC\n ) AS points_rank\n FROM races AS r\n JOIN driver_standings AS ds ON ds.race_id = r.race_id\n), ranked_constructors AS (\n SELECT r.year, cs.constructor_id,\n RANK() OVER (\n PARTITION BY r.year\n ORDER BY r.round DESC, cs.points DESC\n ) AS points_rank\n FROM races AS r\n JOIN constructor_standings AS cs ON cs.race_id = r.race_id\n)\nSELECT s.year,\n d.full_name AS driver_full_name,\n c.name AS constructor_name\nFROM seasons AS s\nLEFT JOIN ranked_drivers AS rd ON rd.year = s.year AND rd.points_rank = 1\nLEFT JOIN drivers AS d ON d.driver_id = rd.driver_id\nLEFT JOIN ranked_constructors AS rc ON rc.year = s.year AND rc.points_rank = 1\nLEFT JOIN constructors AS c ON c.constructor_id = rc.constructor_id\nORDER BY s.year, d.full_name, c.name;", "seconds": 30.041254167095758, "calls": [{"seconds": 3.8853997089900076, "usage": {"completion_tokens": 133, "prompt_tokens": 1700, "total_tokens": 1833, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1071, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1071, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1071, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4038927500369027, "usage": {"completion_tokens": 103, "prompt_tokens": 2349, "total_tokens": 2452, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 649, "cached_tokens": 1071, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 649, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 649, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.078127791988663, "usage": {"completion_tokens": 420, "prompt_tokens": 2934, "total_tokens": 3354, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 191, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 585, "cached_tokens": 1720, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 585, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 585, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.943669665954076, "usage": {"completion_tokens": 421, "prompt_tokens": 4349, "total_tokens": 4770, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 141, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1415, "cached_tokens": 2305, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1415, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1415, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.20087337505538, "usage": {"completion_tokens": 275, "prompt_tokens": 5555, "total_tokens": 5830, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 17, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1206, "cached_tokens": 3720, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1206, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1206, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "abca387c31c76239223ae80cdf522eac3c7c9aa40c4b04ade7398da2bd4beb44", "csv_sha256": "ff99f4c3d3bf06a1a8c57af74a09344035f7f018d8592174f6799841fc39ebcd"} +{"instance_id": "local311", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT\n c.name AS constructor_name,\n r.year,\n ds.points + cs.points AS combined_points\nFROM team_driver_ranks AS tdr\nJOIN constructors AS c ON c.constructor_id = tdr.constructor_id\nJOIN races AS r ON r.year = tdr.year\nJOIN constructor_standings AS cs\n ON cs.race_id = r.race_id AND cs.constructor_id = tdr.constructor_id\nJOIN driver_standings AS ds\n ON ds.race_id = r.race_id AND ds.driver_id = tdr.driver_id\nWHERE tdr.team_driver_rank = 1\n AND r.round = (SELECT MAX(r2.round) FROM races AS r2 WHERE r2.year = r.year)\nORDER BY combined_points DESC, r.year DESC, c.constructor_id\nLIMIT 3;\n```", "rows": 3, "sql": "SELECT\n c.name AS constructor_name,\n r.year,\n ds.points + cs.points AS combined_points\nFROM team_driver_ranks AS tdr\nJOIN constructors AS c ON c.constructor_id = tdr.constructor_id\nJOIN races AS r ON r.year = tdr.year\nJOIN constructor_standings AS cs\n ON cs.race_id = r.race_id AND cs.constructor_id = tdr.constructor_id\nJOIN driver_standings AS ds\n ON ds.race_id = r.race_id AND ds.driver_id = tdr.driver_id\nWHERE tdr.team_driver_rank = 1\n AND r.round = (SELECT MAX(r2.round) FROM races AS r2 WHERE r2.year = r.year)\nORDER BY combined_points DESC, r.year DESC, c.constructor_id\nLIMIT 3;", "seconds": 28.206388207967393, "calls": [{"seconds": 2.3659790420206264, "usage": {"completion_tokens": 22, "prompt_tokens": 1702, "total_tokens": 1724, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1073, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1073, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1073, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.339978208066896, "usage": {"completion_tokens": 171, "prompt_tokens": 1778, "total_tokens": 1949, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 76, "cached_tokens": 1073, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 76, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 76, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.713801124948077, "usage": {"completion_tokens": 122, "prompt_tokens": 2634, "total_tokens": 2756, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 32, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 856, "cached_tokens": 1149, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 856, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 856, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.62118741706945, "usage": {"completion_tokens": 300, "prompt_tokens": 3063, "total_tokens": 3363, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 129, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 429, "cached_tokens": 2005, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 429, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 429, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.653596333926544, "usage": {"completion_tokens": 246, "prompt_tokens": 3739, "total_tokens": 3985, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 55, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 676, "cached_tokens": 2434, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 676, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 676, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.699466333957389, "usage": {"completion_tokens": 198, "prompt_tokens": 4222, "total_tokens": 4420, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 19, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 483, "cached_tokens": 3110, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 483, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 483, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f7e3aac130895051971bdc2f1e6931bf174e96d45269b9b875228d1f83096ac5", "csv_sha256": "ecf86b0b03ac5f6c58bc3f744ce4fc43abd0a6aac7b6fa57f8ce933124839149"} +{"instance_id": "local329", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nSELECT COUNT(DISTINCT i.session) AS unique_sessions\nFROM form_log AS i\nWHERE i.path = '/regist/input'\n AND i.action = 'view'\n AND EXISTS (\n SELECT 1\n FROM form_log AS c\n WHERE c.session = i.session\n AND c.path = '/regist/confirm'\n AND c.action = 'view'\n AND c.stamp > i.stamp\n );\n```", "rows": 1, "sql": "SELECT COUNT(DISTINCT i.session) AS unique_sessions\nFROM form_log AS i\nWHERE i.path = '/regist/input'\n AND i.action = 'view'\n AND EXISTS (\n SELECT 1\n FROM form_log AS c\n WHERE c.session = i.session\n AND c.path = '/regist/confirm'\n AND c.action = 'view'\n AND c.stamp > i.stamp\n );", "seconds": 19.96772204095032, "calls": [{"seconds": 1.9843489580089226, "usage": {"completion_tokens": 20, "prompt_tokens": 1685, "total_tokens": 1705, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1073, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1073, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1073, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.3727455000625923, "usage": {"completion_tokens": 42, "prompt_tokens": 1751, "total_tokens": 1793, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 66, "cached_tokens": 1073, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 66, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 66, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.105399459018372, "usage": {"completion_tokens": 20, "prompt_tokens": 1835, "total_tokens": 1855, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 84, "cached_tokens": 1139, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 84, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 84, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.108273708028719, "usage": {"completion_tokens": 52, "prompt_tokens": 1907, "total_tokens": 1959, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 72, "cached_tokens": 1223, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 72, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 72, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.4007065419573337, "usage": {"completion_tokens": 70, "prompt_tokens": 2474, "total_tokens": 2544, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 18, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 567, "cached_tokens": 1295, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 567, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 567, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.670890499954112, "usage": {"completion_tokens": 112, "prompt_tokens": 2631, "total_tokens": 2743, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 157, "cached_tokens": 1862, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 157, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 157, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.3058321659918875, "usage": {"completion_tokens": 98, "prompt_tokens": 2860, "total_tokens": 2958, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 229, "cached_tokens": 2019, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 229, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 229, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "f7ac7e730c7cb3799dae6809d65c42af5847a235f09dc92c60c72f02f12eb460", "csv_sha256": "aeaae22b9f83919e67b268233acfbfe45f0e349359fb8cb20f7b411539a022e5"} +{"instance_id": "local330", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH bounds AS (\n SELECT session, MIN(stamp) AS first_stamp, MAX(stamp) AS last_stamp\n FROM activity_log\n GROUP BY session\n), endpoints AS (\n SELECT DISTINCT a.session, a.path\n FROM activity_log AS a\n JOIN bounds AS b ON a.session = b.session\n WHERE a.stamp = b.first_stamp OR a.stamp = b.last_stamp\n)\nSELECT p.path, COUNT(e.session) AS unique_session_count\nFROM (SELECT DISTINCT path FROM activity_log) AS p\nLEFT JOIN endpoints AS e ON e.path = p.path\nGROUP BY p.path\nORDER BY unique_session_count DESC, p.path;\n```", "rows": 11, "sql": "WITH bounds AS (\n SELECT session, MIN(stamp) AS first_stamp, MAX(stamp) AS last_stamp\n FROM activity_log\n GROUP BY session\n), endpoints AS (\n SELECT DISTINCT a.session, a.path\n FROM activity_log AS a\n JOIN bounds AS b ON a.session = b.session\n WHERE a.stamp = b.first_stamp OR a.stamp = b.last_stamp\n)\nSELECT p.path, COUNT(e.session) AS unique_session_count\nFROM (SELECT DISTINCT path FROM activity_log) AS p\nLEFT JOIN endpoints AS e ON e.path = p.path\nGROUP BY p.path\nORDER BY unique_session_count DESC, p.path;", "seconds": 17.994212875026278, "calls": [{"seconds": 2.2300568328937516, "usage": {"completion_tokens": 20, "prompt_tokens": 1737, "total_tokens": 1757, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1125, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1125, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1125, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.2362719170050696, "usage": {"completion_tokens": 162, "prompt_tokens": 1817, "total_tokens": 1979, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 125, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 80, "cached_tokens": 1125, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 80, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 80, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.9150956670055166, "usage": {"completion_tokens": 73, "prompt_tokens": 2394, "total_tokens": 2467, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 577, "cached_tokens": 1205, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 577, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 577, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.235801375005394, "usage": {"completion_tokens": 157, "prompt_tokens": 2591, "total_tokens": 2748, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 197, "cached_tokens": 1782, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 197, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 197, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.364997250027955, "usage": {"completion_tokens": 166, "prompt_tokens": 2979, "total_tokens": 3145, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 19, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 388, "cached_tokens": 1979, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 388, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 388, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "419bfaa874630c931e090b0c17b1f0f814877c0bd2b35eecb36af5e1a7623744", "csv_sha256": "2394d1b80d277a68760fd08c913b6b51663e9081f1d1b635ebf4977494bb5c2e"} +{"instance_id": "local331", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH visits AS (\n SELECT\n path,\n LAG(path, 1) OVER visit_order AS previous_path,\n LAG(path, 2) OVER visit_order AS second_previous_path\n FROM activity_log\n WHERE action = 'view'\n WINDOW visit_order AS (PARTITION BY session ORDER BY stamp, rowid)\n)\nSELECT path AS third_page, COUNT(*) AS visit_count\nFROM visits\nWHERE previous_path = '/detail'\n AND second_previous_path = '/detail'\nGROUP BY path\nORDER BY visit_count DESC, third_page ASC\nLIMIT 3;\n```", "rows": 3, "sql": "WITH visits AS (\n SELECT\n path,\n LAG(path, 1) OVER visit_order AS previous_path,\n LAG(path, 2) OVER visit_order AS second_previous_path\n FROM activity_log\n WHERE action = 'view'\n WINDOW visit_order AS (PARTITION BY session ORDER BY stamp, rowid)\n)\nSELECT path AS third_page, COUNT(*) AS visit_count\nFROM visits\nWHERE previous_path = '/detail'\n AND second_previous_path = '/detail'\nGROUP BY path\nORDER BY visit_count DESC, third_page ASC\nLIMIT 3;", "seconds": 45.148134624934755, "calls": [{"seconds": 2.2731265000766143, "usage": {"completion_tokens": 20, "prompt_tokens": 1693, "total_tokens": 1713, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1081, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1081, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1081, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.577984834089875, "usage": {"completion_tokens": 18, "prompt_tokens": 1759, "total_tokens": 1777, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 66, "cached_tokens": 1081, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 66, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 66, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.4104988330509514, "usage": {"completion_tokens": 37, "prompt_tokens": 1807, "total_tokens": 1844, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1147, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.672806208021939, "usage": {"completion_tokens": 43, "prompt_tokens": 2679, "total_tokens": 2722, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 26, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 872, "cached_tokens": 1195, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 872, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 872, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.013710832921788, "usage": {"completion_tokens": 154, "prompt_tokens": 2835, "total_tokens": 2989, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 156, "cached_tokens": 2067, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 156, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 156, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8578529589576647, "usage": {"completion_tokens": 163, "prompt_tokens": 3435, "total_tokens": 3598, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 600, "cached_tokens": 2223, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 600, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 600, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.460421166964807, "usage": {"completion_tokens": 165, "prompt_tokens": 6247, "total_tokens": 6412, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 32, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 2812, "cached_tokens": 2823, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 2812, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 2812, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.2580587919801474, "usage": {"completion_tokens": 74, "prompt_tokens": 6865, "total_tokens": 6939, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 618, "cached_tokens": 5635, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 618, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 618, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.092718750005588, "usage": {"completion_tokens": 90, "prompt_tokens": 8706, "total_tokens": 8796, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 49, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1841, "cached_tokens": 6253, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1841, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1841, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.370068166987039, "usage": {"completion_tokens": 181, "prompt_tokens": 8926, "total_tokens": 9107, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 63, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 220, "cached_tokens": 8094, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 220, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 220, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.010804874938913, "usage": {"completion_tokens": 209, "prompt_tokens": 9256, "total_tokens": 9465, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 62, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 330, "cached_tokens": 8314, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 330, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 330, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.094616291928105, "usage": {"completion_tokens": 128, "prompt_tokens": 9628, "total_tokens": 9756, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 372, "cached_tokens": 8644, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 372, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 372, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "d77a62c2c8008d1e5417e9b6ee22975b6e4be0722d864cceb209bbab27bd6af6", "csv_sha256": "448a91465e292ca32f128eea7650861a2900de699e70fb7ced5965305596e114"} +{"instance_id": "local336", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "failed", "answer": "❓ Awaiting user: Which race should I use (year and Grand Prix, or race ID), and what time-gap cutoff should count as a typical pit-stop duration for the pit-exit rule?", "error_type": "ValueError", "seconds": 34.4319387919968, "calls": [{"seconds": 2.073223292012699, "usage": {"completion_tokens": 15, "prompt_tokens": 2181, "total_tokens": 2196, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1552, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1552, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1552, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.412137040984817, "usage": {"completion_tokens": 134, "prompt_tokens": 2335, "total_tokens": 2469, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 154, "cached_tokens": 1552, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 154, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 154, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.809611541917548, "usage": {"completion_tokens": 146, "prompt_tokens": 3057, "total_tokens": 3203, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 76, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 722, "cached_tokens": 1706, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 722, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 722, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.633070167037658, "usage": {"completion_tokens": 435, "prompt_tokens": 3441, "total_tokens": 3876, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 247, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 384, "cached_tokens": 2428, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 384, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 384, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 14.43092183303088, "usage": {"completion_tokens": 570, "prompt_tokens": 4179, "total_tokens": 4749, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 516, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 738, "cached_tokens": 2812, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 738, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 738, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "12f568fc7233b16ba02f0ef4d76d45172b300979330269e4b0dcce3849e30ed0"} +{"instance_id": "local344", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "failed", "answer": "❓ Awaiting user: What threshold should define a “typical pit stop duration” for classifying pit-exit overtakes—for example, a fixed number of seconds or the median recorded pit-stop duration for that race?", "error_type": "ValueError", "seconds": 13.493743208004162, "calls": [{"seconds": 3.339531750069, "usage": {"completion_tokens": 116, "prompt_tokens": 2212, "total_tokens": 2328, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1583, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1583, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1583, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.817998499958776, "usage": {"completion_tokens": 198, "prompt_tokens": 2725, "total_tokens": 2923, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 94, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 513, "cached_tokens": 1583, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 513, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 513, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.322934917057864, "usage": {"completion_tokens": 129, "prompt_tokens": 3250, "total_tokens": 3379, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 71, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 525, "cached_tokens": 2096, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 525, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 525, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "2f0ca62ec589c86b0fed7942717c12fc7c2042dfa5ec3c33831e8676c01e415c"} +{"instance_id": "local354", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH race_entries AS (\n SELECT ra.year, ra.round, re.driver_id, re.constructor_id\n FROM results AS re\n JOIN races AS ra ON ra.race_id = re.race_id\n WHERE ra.year BETWEEN 1950 AND 1959\n), season_bounds AS (\n SELECT year, driver_id, MIN(round) AS first_round, MAX(round) AS last_round\n FROM race_entries\n GROUP BY year, driver_id\n HAVING COUNT(DISTINCT round) >= 2\n)\nSELECT d.full_name\nFROM drivers AS d\nWHERE EXISTS (\n SELECT 1\n FROM season_bounds AS sb\n JOIN race_entries AS first_entry\n ON first_entry.year = sb.year\n AND first_entry.driver_id = sb.driver_id\n AND first_entry.round = sb.first_round\n JOIN race_entries AS last_entry\n ON last_entry.year = sb.year\n AND last_entry.driver_id = sb.driver_id\n AND last_entry.round = sb.last_round\n AND last_entry.constructor_id = first_entry.constructor_id\n WHERE sb.driver_id = d.driver_id\n)\nORDER BY d.full_name;\n```", "rows": 104, "sql": "WITH race_entries AS (\n SELECT ra.year, ra.round, re.driver_id, re.constructor_id\n FROM results AS re\n JOIN races AS ra ON ra.race_id = re.race_id\n WHERE ra.year BETWEEN 1950 AND 1959\n), season_bounds AS (\n SELECT year, driver_id, MIN(round) AS first_round, MAX(round) AS last_round\n FROM race_entries\n GROUP BY year, driver_id\n HAVING COUNT(DISTINCT round) >= 2\n)\nSELECT d.full_name\nFROM drivers AS d\nWHERE EXISTS (\n SELECT 1\n FROM season_bounds AS sb\n JOIN race_entries AS first_entry\n ON first_entry.year = sb.year\n AND first_entry.driver_id = sb.driver_id\n AND first_entry.round = sb.first_round\n JOIN race_entries AS last_entry\n ON last_entry.year = sb.year\n AND last_entry.driver_id = sb.driver_id\n AND last_entry.round = sb.last_round\n AND last_entry.constructor_id = first_entry.constructor_id\n WHERE sb.driver_id = d.driver_id\n)\nORDER BY d.full_name;", "seconds": 75.13921329099685, "calls": [{"seconds": 3.634347583982162, "usage": {"completion_tokens": 112, "prompt_tokens": 1730, "total_tokens": 1842, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1101, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1101, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1101, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.375322250067256, "usage": {"completion_tokens": 186, "prompt_tokens": 2403, "total_tokens": 2589, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 117, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 673, "cached_tokens": 1101, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 673, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 673, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.245743416016921, "usage": {"completion_tokens": 270, "prompt_tokens": 2722, "total_tokens": 2992, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 151, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 319, "cached_tokens": 1774, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 319, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 319, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.836701374966651, "usage": {"completion_tokens": 246, "prompt_tokens": 3450, "total_tokens": 3696, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 83, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 728, "cached_tokens": 2093, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 728, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 728, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 4.552542124991305, "usage": {"completion_tokens": 71, "prompt_tokens": 3929, "total_tokens": 4000, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 48, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 479, "cached_tokens": 2821, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 479, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 479, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.429097541957162, "usage": {"completion_tokens": 407, "prompt_tokens": 4052, "total_tokens": 4459, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 83, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 123, "cached_tokens": 3300, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 123, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 123, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 12.074637375073507, "usage": {"completion_tokens": 640, "prompt_tokens": 4823, "total_tokens": 5463, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 261, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 771, "cached_tokens": 3423, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 771, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 771, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.518045250093564, "usage": {"completion_tokens": 177, "prompt_tokens": 5851, "total_tokens": 6028, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 69, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1028, "cached_tokens": 4194, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1028, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1028, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 15.030880708945915, "usage": {"completion_tokens": 751, "prompt_tokens": 6234, "total_tokens": 6985, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 488, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 383, "cached_tokens": 5222, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 383, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 383, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.299419749993831, "usage": {"completion_tokens": 258, "prompt_tokens": 7488, "total_tokens": 7746, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 9, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1254, "cached_tokens": 5605, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1254, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1254, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "4f9771c52adb8534449c6901fe46dd80aed6c8e27f56153d796566c72269efc5", "csv_sha256": "c366a8a399eb9ae22bf2d2b8a62360d38b679dd852ba5fed395ff59e646620e5"} +{"instance_id": "local355", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH race_calendar AS (\n SELECT r.race_id, r.year, r.round,\n LAG(r.race_id) OVER (PARTITION BY r.year ORDER BY r.round) AS previous_race_id,\n LEAD(r.race_id) OVER (PARTITION BY r.year ORDER BY r.round) AS next_race_id\n FROM races AS r\n WHERE EXISTS (\n SELECT 1 FROM results AS x WHERE x.race_id = r.race_id\n )\n), driver_years AS (\n SELECT DISTINCT c.year, x.driver_id\n FROM race_calendar AS c\n JOIN results AS x ON x.race_id = c.race_id\n), missed_races AS (\n SELECT d.year, d.driver_id,\n MIN(c.round) AS first_missed_round,\n MAX(c.round) AS last_missed_round\n FROM driver_years AS d\n JOIN race_calendar AS c ON c.year = d.year\n LEFT JOIN results AS x ON x.race_id = c.race_id AND x.driver_id = d.driver_id\n WHERE x.driver_id IS NULL\n GROUP BY d.year, d.driver_id\n HAVING COUNT(*) BETWEEN 1 AND 2\n)\nSELECT AVG(m.first_missed_round) AS avg_first_missed_round,\n AVG(m.last_missed_round) AS avg_last_missed_round\nFROM missed_races AS m\nJOIN race_calendar AS first_missed\n ON first_missed.year = m.year AND first_missed.round = m.first_missed_round\nJOIN race_calendar AS last_missed\n ON last_missed.year = m.year AND last_missed.round = m.last_missed_round\nWHERE EXISTS (\n SELECT 1\n FROM results AS before_gap\n JOIN results AS after_gap ON after_gap.driver_id = before_gap.driver_id\n WHERE before_gap.driver_id = m.driver_id\n AND before_gap.race_id = first_missed.previous_race_id\n AND after_gap.race_id = last_missed.next_race_id\n AND before_gap.constructor_id <> after_gap.constructor_id\n);\n```", "rows": 1, "sql": "WITH race_calendar AS (\n SELECT r.race_id, r.year, r.round,\n LAG(r.race_id) OVER (PARTITION BY r.year ORDER BY r.round) AS previous_race_id,\n LEAD(r.race_id) OVER (PARTITION BY r.year ORDER BY r.round) AS next_race_id\n FROM races AS r\n WHERE EXISTS (\n SELECT 1 FROM results AS x WHERE x.race_id = r.race_id\n )\n), driver_years AS (\n SELECT DISTINCT c.year, x.driver_id\n FROM race_calendar AS c\n JOIN results AS x ON x.race_id = c.race_id\n), missed_races AS (\n SELECT d.year, d.driver_id,\n MIN(c.round) AS first_missed_round,\n MAX(c.round) AS last_missed_round\n FROM driver_years AS d\n JOIN race_calendar AS c ON c.year = d.year\n LEFT JOIN results AS x ON x.race_id = c.race_id AND x.driver_id = d.driver_id\n WHERE x.driver_id IS NULL\n GROUP BY d.year, d.driver_id\n HAVING COUNT(*) BETWEEN 1 AND 2\n)\nSELECT AVG(m.first_missed_round) AS avg_first_missed_round,\n AVG(m.last_missed_round) AS avg_last_missed_round\nFROM missed_races AS m\nJOIN race_calendar AS first_missed\n ON first_missed.year = m.year AND first_missed.round = m.first_missed_round\nJOIN race_calendar AS last_missed\n ON last_missed.year = m.year AND last_missed.round = m.last_missed_round\nWHERE EXISTS (\n SELECT 1\n FROM results AS before_gap\n JOIN results AS after_gap ON after_gap.driver_id = before_gap.driver_id\n WHERE before_gap.driver_id = m.driver_id\n AND before_gap.race_id = first_missed.previous_race_id\n AND after_gap.race_id = last_missed.next_race_id\n AND before_gap.constructor_id <> after_gap.constructor_id\n);", "seconds": 68.90856866701506, "calls": [{"seconds": 2.0819134999765083, "usage": {"completion_tokens": 15, "prompt_tokens": 1778, "total_tokens": 1793, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1149, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1149, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1149, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.5088872920023277, "usage": {"completion_tokens": 99, "prompt_tokens": 1932, "total_tokens": 2031, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 154, "cached_tokens": 1149, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 154, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 154, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 10.493154041003436, "usage": {"completion_tokens": 490, "prompt_tokens": 2593, "total_tokens": 3083, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 217, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 661, "cached_tokens": 1303, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 661, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 661, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 13.410663709044456, "usage": {"completion_tokens": 826, "prompt_tokens": 3396, "total_tokens": 4222, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 287, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 803, "cached_tokens": 1964, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 803, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 803, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.106783624971285, "usage": {"completion_tokens": 697, "prompt_tokens": 4787, "total_tokens": 5484, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 187, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1391, "cached_tokens": 2767, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1391, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1391, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 18.680676084011793, "usage": {"completion_tokens": 1052, "prompt_tokens": 7541, "total_tokens": 8593, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 583, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 2754, "cached_tokens": 4158, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 2754, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 2754, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.193578500067815, "usage": {"completion_tokens": 445, "prompt_tokens": 9083, "total_tokens": 9528, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1542, "cached_tokens": 6912, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1542, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1542, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e843f3f5404cf6ab9b249525731597089456458e32647957e5835c477adcf0d0", "csv_sha256": "1ef26a13a2eb600783cd12c877ea355a3989a3a9a40e27cdcbec5574a855b18d"} +{"instance_id": "local356", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH excluded_laps AS MATERIALIZED (\n SELECT race_id, driver_id, lap FROM pit_stops\n UNION\n SELECT race_id, driver_id, lap + 1 FROM pit_stops\n UNION\n SELECT race_id, driver_id, lap FROM retirements\n), relative_positions AS (\n SELECT curr.driver_id,\n ROW_NUMBER() OVER (\n PARTITION BY curr.race_id, curr.lap ORDER BY prev.position\n ) AS previous_rank,\n ROW_NUMBER() OVER (\n PARTITION BY curr.race_id, curr.lap ORDER BY curr.position\n ) AS current_rank\n FROM lap_times AS curr\n JOIN lap_times AS prev\n ON prev.race_id = curr.race_id\n AND prev.driver_id = curr.driver_id\n AND prev.lap = curr.lap - 1\n LEFT JOIN excluded_laps AS x\n ON x.race_id = curr.race_id\n AND x.driver_id = curr.driver_id\n AND x.lap = curr.lap\n WHERE curr.lap > 1\n AND x.race_id IS NULL\n), net_losses AS (\n SELECT driver_id\n FROM relative_positions\n GROUP BY driver_id\n HAVING SUM(current_rank - previous_rank) > 0\n)\nSELECT d.full_name\nFROM net_losses AS n\nJOIN drivers AS d ON d.driver_id = n.driver_id\nORDER BY d.full_name;\n```", "rows": 76, "sql": "WITH excluded_laps AS MATERIALIZED (\n SELECT race_id, driver_id, lap FROM pit_stops\n UNION\n SELECT race_id, driver_id, lap + 1 FROM pit_stops\n UNION\n SELECT race_id, driver_id, lap FROM retirements\n), relative_positions AS (\n SELECT curr.driver_id,\n ROW_NUMBER() OVER (\n PARTITION BY curr.race_id, curr.lap ORDER BY prev.position\n ) AS previous_rank,\n ROW_NUMBER() OVER (\n PARTITION BY curr.race_id, curr.lap ORDER BY curr.position\n ) AS current_rank\n FROM lap_times AS curr\n JOIN lap_times AS prev\n ON prev.race_id = curr.race_id\n AND prev.driver_id = curr.driver_id\n AND prev.lap = curr.lap - 1\n LEFT JOIN excluded_laps AS x\n ON x.race_id = curr.race_id\n AND x.driver_id = curr.driver_id\n AND x.lap = curr.lap\n WHERE curr.lap > 1\n AND x.race_id IS NULL\n), net_losses AS (\n SELECT driver_id\n FROM relative_positions\n GROUP BY driver_id\n HAVING SUM(current_rank - previous_rank) > 0\n)\nSELECT d.full_name\nFROM net_losses AS n\nJOIN drivers AS d ON d.driver_id = n.driver_id\nORDER BY d.full_name;", "seconds": 109.31566112488508, "calls": [{"seconds": 3.2208092919318005, "usage": {"completion_tokens": 111, "prompt_tokens": 1741, "total_tokens": 1852, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1112, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1112, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1112, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.084322041948326, "usage": {"completion_tokens": 99, "prompt_tokens": 2275, "total_tokens": 2374, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 534, "cached_tokens": 1112, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 534, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 534, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.307264665956609, "usage": {"completion_tokens": 96, "prompt_tokens": 2832, "total_tokens": 2928, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 557, "cached_tokens": 1646, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 557, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 557, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 7.769682125071995, "usage": {"completion_tokens": 385, "prompt_tokens": 3311, "total_tokens": 3696, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 106, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 479, "cached_tokens": 2203, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 479, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 479, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.669046750059351, "usage": {"completion_tokens": 421, "prompt_tokens": 5148, "total_tokens": 5569, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 68, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1837, "cached_tokens": 2682, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1837, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1837, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 13.728614707943052, "usage": {"completion_tokens": 646, "prompt_tokens": 6255, "total_tokens": 6901, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 446, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1107, "cached_tokens": 4519, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1107, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1107, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 19.363400125061162, "usage": {"completion_tokens": 1012, "prompt_tokens": 7362, "total_tokens": 8374, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 606, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1107, "cached_tokens": 5626, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1107, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1107, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 11.164754708996043, "usage": {"completion_tokens": 508, "prompt_tokens": 8805, "total_tokens": 9313, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 180, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1443, "cached_tokens": 6733, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1443, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1443, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.5048284999793395, "usage": {"completion_tokens": 341, "prompt_tokens": 9895, "total_tokens": 10236, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 30, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1090, "cached_tokens": 8176, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1090, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1090, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "977b9d90a4de9b29aa7c4899e504e8dc6fa5988d9c7356fe4fc783aaafd1615b", "csv_sha256": "f2149de421380ac7f34fe6e88c85f198ee31337dac11162c3575d6e9a8aec38f"} +{"instance_id": "local358", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH age_categories(age_category, sort_order) AS (\n VALUES ('20s', 1), ('30s', 2), ('40s', 3), ('50s', 4), ('others', 5)\n), ages AS (\n SELECT user_id,\n CAST(strftime('%Y', 'now') AS INTEGER)\n - CAST(strftime('%Y', birth_date) AS INTEGER)\n - (strftime('%m-%d', 'now') < strftime('%m-%d', birth_date)) AS age\n FROM mst_users\n), categorized_users AS (\n SELECT user_id,\n CASE\n WHEN age BETWEEN 20 AND 29 THEN '20s'\n WHEN age BETWEEN 30 AND 39 THEN '30s'\n WHEN age BETWEEN 40 AND 49 THEN '40s'\n WHEN age BETWEEN 50 AND 59 THEN '50s'\n ELSE 'others'\n END AS age_category\n FROM ages\n)\nSELECT c.age_category, COUNT(DISTINCT u.user_id) AS user_count\nFROM age_categories AS c\nLEFT JOIN categorized_users AS u ON u.age_category = c.age_category\nGROUP BY c.age_category, c.sort_order\nORDER BY c.sort_order;\n```", "rows": 5, "sql": "WITH age_categories(age_category, sort_order) AS (\n VALUES ('20s', 1), ('30s', 2), ('40s', 3), ('50s', 4), ('others', 5)\n), ages AS (\n SELECT user_id,\n CAST(strftime('%Y', 'now') AS INTEGER)\n - CAST(strftime('%Y', birth_date) AS INTEGER)\n - (strftime('%m-%d', 'now') < strftime('%m-%d', birth_date)) AS age\n FROM mst_users\n), categorized_users AS (\n SELECT user_id,\n CASE\n WHEN age BETWEEN 20 AND 29 THEN '20s'\n WHEN age BETWEEN 30 AND 39 THEN '30s'\n WHEN age BETWEEN 40 AND 49 THEN '40s'\n WHEN age BETWEEN 50 AND 59 THEN '50s'\n ELSE 'others'\n END AS age_category\n FROM ages\n)\nSELECT c.age_category, COUNT(DISTINCT u.user_id) AS user_count\nFROM age_categories AS c\nLEFT JOIN categorized_users AS u ON u.age_category = c.age_category\nGROUP BY c.age_category, c.sort_order\nORDER BY c.sort_order;", "seconds": 36.27871137508191, "calls": [{"seconds": 2.649907583021559, "usage": {"completion_tokens": 20, "prompt_tokens": 1688, "total_tokens": 1708, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1076, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1076, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1076, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 2.3980768339242786, "usage": {"completion_tokens": 18, "prompt_tokens": 1772, "total_tokens": 1790, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 84, "cached_tokens": 1076, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 84, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 84, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.659422624972649, "usage": {"completion_tokens": 87, "prompt_tokens": 1820, "total_tokens": 1907, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 53, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 48, "cached_tokens": 1160, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 48, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 48, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 9.514028124976903, "usage": {"completion_tokens": 358, "prompt_tokens": 2143, "total_tokens": 2501, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 285, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 323, "cached_tokens": 1208, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 323, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 323, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.2571655419887975, "usage": {"completion_tokens": 179, "prompt_tokens": 2643, "total_tokens": 2822, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 82, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 500, "cached_tokens": 1531, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 500, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 500, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 6.123026542016305, "usage": {"completion_tokens": 336, "prompt_tokens": 2954, "total_tokens": 3290, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 50, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 311, "cached_tokens": 2031, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 311, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 311, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.652467417065054, "usage": {"completion_tokens": 279, "prompt_tokens": 3602, "total_tokens": 3881, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 16, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 648, "cached_tokens": 2342, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 648, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 648, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e94fa2ccfef8778e0d47b54bc2e1f17b2380d166a370ebbd3944e5c191eeb03a", "csv_sha256": "608eae44d270592f0ef4150740e4daa3bff635aa65ddc1a959923b5fac85a9a3"} +{"instance_id": "local360", "profile": "gpt62-sol", "model": "openai/gpt-6.2-sol", "status": "predicted", "answer": "```sql\nWITH first_target AS (\n SELECT session, MIN(stamp) AS first_stamp\n FROM activity_log\n WHERE path IN ('/detail', '/complete')\n GROUP BY session\n), pre_target_counts AS (\n SELECT f.session, f.first_stamp, COUNT(e.stamp) AS event_count\n FROM first_target AS f\n LEFT JOIN activity_log AS e\n ON e.session = f.session\n AND e.stamp < f.first_stamp\n AND e.search_type <> ''\n GROUP BY f.session, f.first_stamp\n)\nSELECT DISTINCT c.session, t.path, t.search_type\nFROM pre_target_counts AS c\nJOIN activity_log AS t\n ON t.session = c.session\n AND t.stamp = c.first_stamp\n AND t.path IN ('/detail', '/complete')\nWHERE c.event_count = (SELECT MIN(event_count) FROM pre_target_counts)\nORDER BY c.session, t.path, t.search_type;\n```", "rows": 9, "sql": "WITH first_target AS (\n SELECT session, MIN(stamp) AS first_stamp\n FROM activity_log\n WHERE path IN ('/detail', '/complete')\n GROUP BY session\n), pre_target_counts AS (\n SELECT f.session, f.first_stamp, COUNT(e.stamp) AS event_count\n FROM first_target AS f\n LEFT JOIN activity_log AS e\n ON e.session = f.session\n AND e.stamp < f.first_stamp\n AND e.search_type <> ''\n GROUP BY f.session, f.first_stamp\n)\nSELECT DISTINCT c.session, t.path, t.search_type\nFROM pre_target_counts AS c\nJOIN activity_log AS t\n ON t.session = c.session\n AND t.stamp = c.first_stamp\n AND t.path IN ('/detail', '/complete')\nWHERE c.event_count = (SELECT MIN(event_count) FROM pre_target_counts)\nORDER BY c.session, t.path, t.search_type;", "seconds": 28.33446649997495, "calls": [{"seconds": 2.31852191593498, "usage": {"completion_tokens": 20, "prompt_tokens": 1746, "total_tokens": 1766, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 1134, "cached_tokens": 0, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 1134, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 1134, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.8194211249938235, "usage": {"completion_tokens": 131, "prompt_tokens": 1826, "total_tokens": 1957, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 87, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 80, "cached_tokens": 1134, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 80, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 80, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 3.1339995419839397, "usage": {"completion_tokens": 77, "prompt_tokens": 2742, "total_tokens": 2819, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 916, "cached_tokens": 1214, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 916, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 916, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.756270083016716, "usage": {"completion_tokens": 267, "prompt_tokens": 2985, "total_tokens": 3252, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 107, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 243, "cached_tokens": 2130, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 243, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 243, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 8.076540291076526, "usage": {"completion_tokens": 423, "prompt_tokens": 3753, "total_tokens": 4176, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 199, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 768, "cached_tokens": 2373, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 768, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 768, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}, {"seconds": 5.2093234590720385, "usage": {"completion_tokens": 204, "prompt_tokens": 4494, "total_tokens": 4698, "completion_tokens_details": {"audio_tokens": null, "reasoning_tokens": 0, "text_tokens": null, "image_tokens": null}, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": 741, "cached_tokens": 3141, "image_tokens": null, "text_tokens": null, "video_tokens": null, "initial_prompt_tokens": null, "cache_creation_tokens": 741, "cache_creation_token_details": {"ephemeral_5m_input_tokens": null, "ephemeral_30m_input_tokens": 741, "ephemeral_1h_input_tokens": null, "ephemeral_12h_input_tokens": 0}}}, "status": "ok", "attempt": 1, "response_model": "gpt-6.2-sol"}], "full_record_sha256": "e8bea8201836123d6fb62274e8d8befcb7887d1a33cab20872e97bad1c10ddfc", "csv_sha256": "dd1946325cc55802902045851cef1ab0bb05588b0141b25dc993146f6d1b1a4f"} diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/scores.json b/bench/accuracy/results/spider-holdout-final/gpt62-sol/scores.json new file mode 100644 index 00000000..6c5fd14c --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/scores.json @@ -0,0 +1,681 @@ +[ + { + "instance_id": "local020", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local169", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local302", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local212", + "score": 0, + "error_info": "ValueError" + }, + { + "instance_id": "local075", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local038", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local286", + "score": 0, + "error_info": "ValueError" + }, + { + "instance_id": "local277", + "score": 0, + "error_info": "ValueError" + }, + { + "instance_id": "local009", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local168", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local058", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local017", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local008", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local244", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local063", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local259", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local019", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local002", + "score": 0, + "error_info": "ValueError" + }, + { + "instance_id": "local220", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local336", + "score": 0, + "error_info": "ValueError" + }, + { + "instance_id": "local077", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local100", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local210", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local269", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local285", + "score": 0, + "error_info": "ValueError" + }, + { + "instance_id": "local219", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local360", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local331", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local193", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local132", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local099", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local130", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local066", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local030", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local209", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local067", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local050", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local022", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local171", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local131", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local152", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local356", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local097", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local031", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local128", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local061", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local037", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local157", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local253", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local054", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local274", + "score": 0, + "error_info": "ValueError" + }, + { + "instance_id": "local263", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local015", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local195", + "score": 0, + "error_info": "ValueError" + }, + { + "instance_id": "local201", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local270", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local354", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local355", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local272", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local170", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local059", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local026", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local065", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local141", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local070", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local023", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local221", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local301", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local018", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local298", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local028", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local196", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local230", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local300", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local198", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local299", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local032", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local068", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local034", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local197", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local228", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local060", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local358", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local283", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local035", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local071", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local039", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local167", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local133", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local297", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local309", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local098", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local329", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local040", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local056", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local074", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local156", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local258", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local199", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local273", + "score": 0, + "error_info": "ValueError" + }, + { + "instance_id": "local078", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local330", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local007", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local229", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local085", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local049", + "score": 0, + "error_info": "ValueError" + }, + { + "instance_id": "local275", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local262", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local284", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local010", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + }, + { + "instance_id": "local055", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local344", + "score": 0, + "error_info": "ValueError" + }, + { + "instance_id": "local311", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local114", + "score": 1, + "pred_sql": null, + "error_info": null + }, + { + "instance_id": "local025", + "score": 0, + "pred_sql": null, + "error_info": "Result Error" + } +] diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local007.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local007.sql new file mode 100644 index 00000000..f7653c0e --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local007.sql @@ -0,0 +1,8 @@ +WITH career_spans AS ( + SELECT ROUND(ABS(CAST(strftime('%Y', final_game) AS INTEGER) - CAST(strftime('%Y', debut) AS INTEGER)), 2) + + ROUND(ABS(CAST(strftime('%m', final_game) AS INTEGER) - CAST(strftime('%m', debut) AS INTEGER)) / 12.0, 2) + + ROUND(ABS(CAST(strftime('%d', final_game) AS INTEGER) - CAST(strftime('%d', debut) AS INTEGER)) / 365.0, 2) AS career_span_years + FROM player +) +SELECT ROUND(AVG(career_span_years), 2) AS average_career_span_years +FROM career_spans; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local008.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local008.sql new file mode 100644 index 00000000..c078f257 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local008.sql @@ -0,0 +1,28 @@ +WITH maxima AS ( + SELECT MAX(g) AS max_g, + MAX(NULLIF(r, '')) AS max_r, + MAX(NULLIF(h, '')) AS max_h, + MAX(NULLIF(hr, '')) AS max_hr + FROM batting +), leaders AS ( + SELECT 'games played' AS statistic, b.player_id, b.g AS score + FROM batting AS b JOIN maxima AS m ON b.g = m.max_g + UNION + SELECT 'runs', b.player_id, b.r + FROM batting AS b JOIN maxima AS m ON b.r = m.max_r + UNION + SELECT 'hits', b.player_id, b.h + FROM batting AS b JOIN maxima AS m ON b.h = m.max_h + UNION + SELECT 'home runs', b.player_id, b.hr + FROM batting AS b JOIN maxima AS m ON b.hr = m.max_hr +) +SELECT p.name_given, l.statistic, l.score +FROM leaders AS l +JOIN player AS p ON p.player_id = l.player_id +ORDER BY CASE l.statistic + WHEN 'games played' THEN 1 + WHEN 'runs' THEN 2 + WHEN 'hits' THEN 3 + WHEN 'home runs' THEN 4 +END, p.name_given; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local009.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local009.sql new file mode 100644 index 00000000..7666635b --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local009.sql @@ -0,0 +1,30 @@ +WITH airport_points AS ( + SELECT airport_code, + json_extract(city, '$.en') AS city_name, + trim(coordinates, '()') AS point + FROM airports_data +), airports AS ( + SELECT airport_code, + city_name, + radians(CAST(substr(point, 1, instr(point, ',') - 1) AS REAL)) AS lon, + radians(CAST(substr(point, instr(point, ',') + 1) AS REAL)) AS lat + FROM airport_points +), flight_distances AS ( + SELECT min(dep.city_name, arr.city_name) AS city1, + max(dep.city_name, arr.city_name) AS city2, + 2 * 6371 * asin(sqrt(min(1.0, + pow(sin((arr.lat - dep.lat) / 2), 2) + + cos(dep.lat) * cos(arr.lat) + * pow(sin((arr.lon - dep.lon) / 2), 2) + ))) AS distance_km + FROM flights AS f + JOIN airports AS dep ON dep.airport_code = f.departure_airport + JOIN airports AS arr ON arr.airport_code = f.arrival_airport + WHERE dep.city_name = 'Abakan' OR arr.city_name = 'Abakan' +), route_distances AS ( + SELECT AVG(distance_km) AS avg_distance_km + FROM flight_distances + GROUP BY city1, city2 +) +SELECT MAX(avg_distance_km) AS longest_route_distance_km +FROM route_distances; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local010.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local010.sql new file mode 100644 index 00000000..bbbf3884 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local010.sql @@ -0,0 +1,32 @@ +WITH airport_coords AS ( + SELECT airport_code, + json_extract(city, '$.en') AS city_name, + radians(CAST(substr(coordinates, 2, instr(coordinates, ',') - 2) AS REAL)) AS lon, + radians(CAST(substr(coordinates, instr(coordinates, ',') + 1, + length(coordinates) - instr(coordinates, ',') - 1) AS REAL)) AS lat + FROM airports_data +), flight_haversines AS ( + SELECT min(d.city_name, a.city_name) AS city1, + max(d.city_name, a.city_name) AS city2, + pow(sin((a.lat - d.lat) / 2.0), 2) + + cos(d.lat) * cos(a.lat) * pow(sin((a.lon - d.lon) / 2.0), 2) AS h + FROM flights AS f + JOIN airport_coords AS d ON d.airport_code = f.departure_airport + JOIN airport_coords AS a ON a.airport_code = f.arrival_airport +), city_pair_distances AS ( + SELECT AVG(2.0 * 6371 * asin(sqrt(min(1.0, h)))) AS avg_km + FROM flight_haversines + GROUP BY city1, city2 +), distance_ranges(lower_km, upper_km) AS ( + VALUES (0, 1000), (1000, 2000), (2000, 3000), (3000, 4000), + (4000, 5000), (5000, 6000), (6000, NULL) +), range_counts AS ( + SELECT COUNT(p.avg_km) AS pair_count + FROM distance_ranges AS r + LEFT JOIN city_pair_distances AS p + ON p.avg_km >= r.lower_km + AND (p.avg_km < r.upper_km OR r.upper_km IS NULL) + GROUP BY r.lower_km +) +SELECT MIN(pair_count) AS fewest_unique_city_pairs +FROM range_counts; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local015.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local015.sql new file mode 100644 index 00000000..992a6cba --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local015.sql @@ -0,0 +1,24 @@ +WITH helmet_by_collision AS ( + SELECT + case_id, + MAX(CASE WHEN party_safety_equipment_1 IN ( + 'driver, motorcycle helmet used', 'passenger, motorcycle helmet used' + ) OR party_safety_equipment_2 IN ( + 'driver, motorcycle helmet used', 'passenger, motorcycle helmet used' + ) THEN 1 ELSE 0 END) AS helmet_used, + MAX(CASE WHEN party_safety_equipment_1 IN ( + 'driver, motorcycle helmet not used', 'passenger, motorcycle helmet not used' + ) OR party_safety_equipment_2 IN ( + 'driver, motorcycle helmet not used', 'passenger, motorcycle helmet not used' + ) THEN 1 ELSE 0 END) AS helmet_not_used + FROM parties + GROUP BY case_id +) +SELECT + 100.0 * SUM(CASE WHEN h.helmet_used = 1 THEN c.motorcyclist_killed_count END) + / NULLIF(COUNT(CASE WHEN h.helmet_used = 1 THEN 1 END), 0) AS helmet_used_fatality_pct, + 100.0 * SUM(CASE WHEN h.helmet_not_used = 1 THEN c.motorcyclist_killed_count END) + / NULLIF(COUNT(CASE WHEN h.helmet_not_used = 1 THEN 1 END), 0) AS helmet_not_used_fatality_pct +FROM collisions AS c +JOIN helmet_by_collision AS h ON h.case_id = c.case_id +WHERE c.motorcycle_collision = 1; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local017.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local017.sql new file mode 100644 index 00000000..980f2c29 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local017.sql @@ -0,0 +1,28 @@ +WITH cause_counts AS ( + SELECT CAST(strftime('%Y', collision_date) AS INTEGER) AS year, + pcf_violation_category AS cause, + COUNT(*) AS accident_count + FROM collisions + WHERE strftime('%Y', collision_date) IS NOT NULL + AND pcf_violation_category IS NOT NULL + GROUP BY year, cause +), ranked_causes AS ( + SELECT year, cause, + ROW_NUMBER() OVER ( + PARTITION BY year ORDER BY accident_count DESC, cause + ) AS cause_rank + FROM cause_counts +), yearly_pairs AS ( + SELECT year, MIN(cause) AS cause_a, MAX(cause) AS cause_b + FROM ranked_causes + WHERE cause_rank <= 2 + GROUP BY year + HAVING COUNT(*) = 2 +), pair_frequency AS ( + SELECT year, + COUNT(*) OVER (PARTITION BY cause_a, cause_b) AS years_with_pair + FROM yearly_pairs +) +SELECT year +FROM pair_frequency +WHERE years_with_pair = 1; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local018.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local018.sql new file mode 100644 index 00000000..1816a940 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local018.sql @@ -0,0 +1,21 @@ +WITH category_counts AS ( + SELECT pcf_violation_category, + COUNT(*) FILTER (WHERE collision_date >= '2011-01-01' AND collision_date < '2012-01-01') AS incidents_2011, + COUNT(*) FILTER (WHERE collision_date >= '2021-01-01' AND collision_date < '2022-01-01') AS incidents_2021 + FROM collisions + WHERE (collision_date >= '2011-01-01' AND collision_date < '2012-01-01') + OR (collision_date >= '2021-01-01' AND collision_date < '2022-01-01') + GROUP BY pcf_violation_category +), annual_totals AS ( + SELECT *, + SUM(incidents_2011) OVER () AS total_2011, + SUM(incidents_2021) OVER () AS total_2021 + FROM category_counts +) +SELECT 100.0 * incidents_2011 / NULLIF(total_2011, 0) + - 100.0 * incidents_2021 / NULLIF(total_2021, 0) AS percentage_point_decrease +FROM annual_totals +WHERE pcf_violation_category IS NOT NULL + AND incidents_2021 > 0 +ORDER BY incidents_2021 DESC, pcf_violation_category +LIMIT 1; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local019.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local019.sql new file mode 100644 index 00000000..db47f32e --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local019.sql @@ -0,0 +1,12 @@ +SELECT winner.name AS winner_name, loser.name AS loser_name +FROM Matches AS m +JOIN Belts AS b ON b.id = m.title_id +JOIN Wrestlers AS winner ON winner.id = m.winner_id +JOIN Wrestlers AS loser ON loser.id = m.loser_id +WHERE b.name LIKE '%NXT%' + AND m.title_change = 0 + AND instr(m.duration, ':') > 0 +ORDER BY 60 * CAST(substr(m.duration, 1, instr(m.duration, ':') - 1) AS INTEGER) + + CAST(substr(m.duration, instr(m.duration, ':') + 1) AS INTEGER), + m.id +LIMIT 1; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local020.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local020.sql new file mode 100644 index 00000000..b06d25aa --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local020.sql @@ -0,0 +1,25 @@ +WITH bowler_totals AS ( + SELECT + b.bowler AS player_id, + SUM(COALESCE(s.runs_scored, 0) + + CASE WHEN e.extra_type IN ('wides', 'noballs') + THEN COALESCE(e.extra_runs, 0) ELSE 0 END) AS runs_conceded, + SUM(CASE WHEN w.kind_out IN ('bowled', 'caught', 'caught and bowled', + 'hit wicket', 'lbw', 'stumped') + THEN 1 ELSE 0 END) AS wickets + FROM ball_by_ball AS b + LEFT JOIN batsman_scored AS s USING (match_id, over_id, ball_id, innings_no) + LEFT JOIN extra_runs AS e USING (match_id, over_id, ball_id, innings_no) + LEFT JOIN wicket_taken AS w USING (match_id, over_id, ball_id, innings_no) + GROUP BY b.bowler +), ranked_bowlers AS ( + SELECT p.player_name, + RANK() OVER (ORDER BY 1.0 * t.runs_conceded / t.wickets) AS average_rank + FROM bowler_totals AS t + JOIN player AS p ON p.player_id = t.player_id + WHERE t.wickets > 0 +) +SELECT player_name +FROM ranked_bowlers +WHERE average_rank = 1 +ORDER BY player_name; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local022.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local022.sql new file mode 100644 index 00000000..1a2dec56 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local022.sql @@ -0,0 +1,18 @@ +WITH qualifying_batters AS ( + SELECT b.striker AS player_id + FROM ball_by_ball AS b + JOIN batsman_scored AS s + ON s.match_id = b.match_id + AND s.innings_no = b.innings_no + AND s.over_id = b.over_id + AND s.ball_id = b.ball_id + JOIN "match" AS m + ON m.match_id = b.match_id + WHERE (b.team_batting = m.team_1 AND m.match_winner = m.team_2) + OR (b.team_batting = m.team_2 AND m.match_winner = m.team_1) + GROUP BY b.match_id, b.striker + HAVING SUM(s.runs_scored) >= 100 +) +SELECT DISTINCT p.player_name +FROM qualifying_batters AS q +JOIN player AS p ON p.player_id = q.player_id; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local023.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local023.sql new file mode 100644 index 00000000..926e17f4 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local023.sql @@ -0,0 +1,35 @@ +WITH season_matches AS ( + SELECT DISTINCT match_id + FROM "match" + WHERE season_id = 5 +), appearances AS ( + SELECT pm.player_id, COUNT(DISTINCT pm.match_id) AS matches_played + FROM player_match AS pm + JOIN season_matches AS sm ON sm.match_id = pm.match_id + GROUP BY pm.player_id +), batting_runs AS ( + SELECT b.striker AS player_id, SUM(s.runs_scored) AS total_runs + FROM ball_by_ball AS b + JOIN season_matches AS sm ON sm.match_id = b.match_id + JOIN batsman_scored AS s + ON s.match_id = b.match_id + AND s.innings_no = b.innings_no + AND s.over_id = b.over_id + AND s.ball_id = b.ball_id + GROUP BY b.striker +), dismissals AS ( + SELECT w.player_out AS player_id, COUNT(*) AS times_out + FROM wicket_taken AS w + JOIN season_matches AS sm ON sm.match_id = w.match_id + WHERE w.kind_out <> 'retired hurt' + GROUP BY w.player_out +) +SELECT p.player_name, + ROUND(1.0 * COALESCE(r.total_runs, 0) / NULLIF(d.times_out, 0), 2) AS batting_average +FROM appearances AS a +JOIN player AS p ON p.player_id = a.player_id +LEFT JOIN batting_runs AS r ON r.player_id = a.player_id +LEFT JOIN dismissals AS d ON d.player_id = a.player_id +ORDER BY 1.0 * COALESCE(r.total_runs, 0) / a.matches_played DESC, + a.player_id +LIMIT 5; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local025.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local025.sql new file mode 100644 index 00000000..678d4dfb --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local025.sql @@ -0,0 +1,31 @@ +WITH run_entries AS ( + SELECT match_id, innings_no, over_id, runs_scored AS runs + FROM batsman_scored + UNION ALL + SELECT match_id, innings_no, over_id, extra_runs AS runs + FROM extra_runs +), over_totals AS ( + SELECT match_id, innings_no, over_id, SUM(runs) AS total_runs + FROM run_entries + GROUP BY match_id, innings_no, over_id +), over_bowlers AS ( + SELECT match_id, innings_no, over_id, + JSON_GROUP_ARRAY(DISTINCT bowler) + FILTER (WHERE bowler IS NOT NULL) AS bowler_ids + FROM ball_by_ball + GROUP BY match_id, innings_no, over_id +), ranked_overs AS ( + SELECT b.match_id, b.innings_no, b.over_id, b.bowler_ids, t.total_runs, + ROW_NUMBER() OVER ( + PARTITION BY b.match_id + ORDER BY t.total_runs DESC, b.innings_no, b.over_id + ) AS over_rank + FROM over_bowlers AS b + LEFT JOIN over_totals AS t USING (match_id, innings_no, over_id) +) +SELECT match_id, innings_no, over_id, bowler_ids, + total_runs AS highest_over_runs, + AVG(total_runs) OVER () AS avg_highest_over_runs +FROM ranked_overs +WHERE over_rank = 1 +ORDER BY match_id; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local026.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local026.sql new file mode 100644 index 00000000..66a52f4a --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local026.sql @@ -0,0 +1,35 @@ +WITH bowler_overs AS ( + SELECT b.match_id, b.innings_no, b.over_id, b.bowler, + SUM(COALESCE(s.runs_scored, 0) + + CASE WHEN e.extra_type IN ('wides', 'noballs') + THEN COALESCE(e.extra_runs, 0) ELSE 0 END) AS runs_conceded + FROM ball_by_ball AS b + LEFT JOIN batsman_scored AS s + ON s.match_id = b.match_id AND s.innings_no = b.innings_no + AND s.over_id = b.over_id AND s.ball_id = b.ball_id + LEFT JOIN extra_runs AS e + ON e.match_id = b.match_id AND e.innings_no = b.innings_no + AND e.over_id = b.over_id AND e.ball_id = b.ball_id + GROUP BY b.match_id, b.innings_no, b.over_id, b.bowler +), over_totals AS ( + SELECT *, SUM(runs_conceded) OVER ( + PARTITION BY match_id, innings_no, over_id + ) AS over_runs_conceded + FROM bowler_overs +), match_maxima AS ( + SELECT *, MAX(over_runs_conceded) OVER (PARTITION BY match_id) AS match_max + FROM over_totals +), bowler_bests AS ( + SELECT *, ROW_NUMBER() OVER ( + PARTITION BY bowler + ORDER BY runs_conceded DESC, match_id, innings_no, over_id + ) AS bowler_rank + FROM match_maxima + WHERE over_runs_conceded = match_max +) +SELECT p.player_name AS bowler_name, b.match_id, b.runs_conceded +FROM bowler_bests AS b +JOIN player AS p ON p.player_id = b.bowler +WHERE b.bowler_rank = 1 +ORDER BY b.runs_conceded DESC, b.bowler +LIMIT 3; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local028.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local028.sql new file mode 100644 index 00000000..a6a5b71e --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local028.sql @@ -0,0 +1,19 @@ +WITH months(month) AS ( + VALUES ('01'), ('02'), ('03'), ('04'), ('05'), ('06'), + ('07'), ('08'), ('09'), ('10'), ('11'), ('12') +), deliveries AS ( + SELECT strftime('%m', order_delivered_customer_date) AS month, + strftime('%Y', order_delivered_customer_date) AS year + FROM olist_orders + WHERE order_status = 'delivered' + AND order_delivered_customer_date >= '2016-01-01' + AND order_delivered_customer_date < '2019-01-01' +) +SELECT m.month, + COUNT(CASE WHEN d.year = '2016' THEN 1 END) AS "2016", + COUNT(CASE WHEN d.year = '2017' THEN 1 END) AS "2017", + COUNT(CASE WHEN d.year = '2018' THEN 1 END) AS "2018" +FROM months AS m +LEFT JOIN deliveries AS d ON d.month = m.month +GROUP BY m.month +ORDER BY m.month; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local030.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local030.sql new file mode 100644 index 00000000..b3924412 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local030.sql @@ -0,0 +1,22 @@ +WITH order_payments AS ( + SELECT order_id, SUM(payment_value) AS total_payment + FROM olist_order_payments + GROUP BY order_id +), city_totals AS ( + SELECT c.customer_city, + SUM(p.total_payment) AS total_payments, + COUNT(DISTINCT o.order_id) AS delivered_order_count + FROM olist_orders AS o + JOIN olist_customers AS c ON c.customer_id = o.customer_id + LEFT JOIN order_payments AS p ON p.order_id = o.order_id + WHERE o.order_status = 'delivered' + GROUP BY c.customer_city +), bottom_five AS ( + SELECT total_payments, delivered_order_count + FROM city_totals + ORDER BY total_payments ASC NULLS LAST, customer_city ASC + LIMIT 5 +) +SELECT AVG(total_payments) AS avg_total_payments, + AVG(delivered_order_count) AS avg_delivered_order_count +FROM bottom_five; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local031.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local031.sql new file mode 100644 index 00000000..2c838289 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local031.sql @@ -0,0 +1,18 @@ +WITH monthly AS ( + SELECT strftime('%Y', order_delivered_customer_date) AS delivery_year, + strftime('%Y-%m', order_delivered_customer_date) AS delivery_month, + COUNT(*) AS delivered_orders + FROM olist_orders + WHERE order_status = 'delivered' + AND order_delivered_customer_date >= '2016-01-01' + AND order_delivered_customer_date < '2019-01-01' + GROUP BY 1, 2 +), annual AS ( + SELECT delivery_year, SUM(delivered_orders) AS delivered_orders + FROM monthly + GROUP BY delivery_year +) +SELECT MAX(m.delivered_orders) AS highest_monthly_delivered_orders +FROM monthly AS m +JOIN annual AS a ON a.delivery_year = m.delivery_year +WHERE a.delivered_orders = (SELECT MIN(delivered_orders) FROM annual); diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local032.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local032.sql new file mode 100644 index 00000000..ffa0142a --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local032.sql @@ -0,0 +1,48 @@ +WITH seller_orders AS ( + SELECT i.seller_id, + o.order_id, + o.customer_id, + SUM(i.price - i.freight_value) AS order_profit + FROM olist_orders AS o + JOIN olist_order_items AS i ON i.order_id = o.order_id + WHERE o.order_status = 'delivered' + GROUP BY i.seller_id, o.order_id, o.customer_id +), five_star_reviews AS ( + SELECT order_id, COUNT(*) AS rating_count + FROM olist_order_reviews + WHERE review_score = 5 + GROUP BY order_id +), seller_totals AS ( + SELECT so.seller_id, + COUNT(DISTINCT c.customer_unique_id) AS customer_count, + SUM(so.order_profit) AS profit, + COUNT(DISTINCT so.order_id) AS order_count, + SUM(COALESCE(r.rating_count, 0)) AS five_star_count + FROM seller_orders AS so + LEFT JOIN olist_customers AS c ON c.customer_id = so.customer_id + LEFT JOIN five_star_reviews AS r ON r.order_id = so.order_id + GROUP BY so.seller_id +), ranked AS ( + SELECT seller_id, customer_count, profit, order_count, five_star_count, + ROW_NUMBER() OVER (ORDER BY customer_count DESC, seller_id) AS customer_rank, + ROW_NUMBER() OVER (ORDER BY profit DESC, seller_id) AS profit_rank, + ROW_NUMBER() OVER (ORDER BY order_count DESC, seller_id) AS order_rank, + ROW_NUMBER() OVER (ORDER BY five_star_count DESC, seller_id) AS rating_rank + FROM seller_totals +), achievements AS ( + SELECT 1 AS position, 'Most distinct customer unique IDs' AS achievement, + seller_id, customer_count AS value + FROM ranked WHERE customer_rank = 1 + UNION ALL + SELECT 2, 'Highest profit (price minus freight value)', seller_id, ROUND(profit, 2) + FROM ranked WHERE profit_rank = 1 + UNION ALL + SELECT 3, 'Most distinct orders', seller_id, order_count + FROM ranked WHERE order_rank = 1 + UNION ALL + SELECT 4, 'Most 5-star ratings', seller_id, five_star_count + FROM ranked WHERE rating_rank = 1 +) +SELECT achievement, seller_id, value +FROM achievements +ORDER BY position; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local034.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local034.sql new file mode 100644 index 00000000..4d3c828b --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local034.sql @@ -0,0 +1,16 @@ +WITH order_categories AS ( + SELECT DISTINCT oi.order_id, p.product_category_name + FROM olist_order_items AS oi + JOIN olist_products AS p ON p.product_id = oi.product_id +), payment_counts AS ( + SELECT oc.product_category_name, op.payment_type, COUNT(*) AS payment_count + FROM order_categories AS oc + JOIN olist_order_payments AS op ON op.order_id = oc.order_id + GROUP BY oc.product_category_name, op.payment_type +), category_maxima AS ( + SELECT product_category_name, MAX(payment_count) AS preferred_payment_count + FROM payment_counts + GROUP BY product_category_name +) +SELECT AVG(preferred_payment_count) AS average_preferred_payment_count +FROM category_maxima; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local035.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local035.sql new file mode 100644 index 00000000..88d574c5 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local035.sql @@ -0,0 +1,26 @@ +WITH ordered_locations AS ( + SELECT + geolocation_city AS city, + LAG(geolocation_city) OVER city_order AS previous_city, + RADIANS(geolocation_lat) AS lat_rad, + RADIANS(geolocation_lng) AS lng_rad, + LAG(RADIANS(geolocation_lat)) OVER city_order AS previous_lat_rad, + LAG(RADIANS(geolocation_lng)) OVER city_order AS previous_lng_rad + FROM olist_geolocation + WINDOW city_order AS ( + ORDER BY geolocation_state, geolocation_city, + geolocation_zip_code_prefix, geolocation_lat, geolocation_lng + ) +), distances AS ( + SELECT previous_city, city, + 6371 * ACOS(MIN(1.0, MAX(-1.0, + COS(previous_lat_rad) * COS(lat_rad) * COS(lng_rad - previous_lng_rad) + + SIN(previous_lat_rad) * SIN(lat_rad) + ))) AS distance_km + FROM ordered_locations +) +SELECT previous_city, city +FROM distances +WHERE distance_km IS NOT NULL +ORDER BY distance_km DESC, previous_city, city +LIMIT 1; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local037.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local037.sql new file mode 100644 index 00000000..fb65abd9 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local037.sql @@ -0,0 +1,27 @@ +WITH order_categories AS ( + SELECT DISTINCT oi.order_id, p.product_category_name + FROM olist_order_items AS oi + JOIN olist_products AS p ON p.product_id = oi.product_id + WHERE p.product_category_name IS NOT NULL +), payment_counts AS ( + SELECT oc.product_category_name, op.payment_type, COUNT(*) AS payment_count + FROM order_categories AS oc + JOIN olist_order_payments AS op ON op.order_id = oc.order_id + GROUP BY oc.product_category_name, op.payment_type +), ranked AS ( + SELECT product_category_name, payment_type, payment_count, + ROW_NUMBER() OVER ( + PARTITION BY product_category_name + ORDER BY payment_count DESC, payment_type + ) AS payment_type_rank + FROM payment_counts +) +SELECT COALESCE(t.product_category_name_english, r.product_category_name) AS product_category, + r.payment_type, + r.payment_count +FROM ranked AS r +LEFT JOIN product_category_name_translation AS t + ON t.product_category_name = r.product_category_name +WHERE r.payment_type_rank = 1 +ORDER BY r.payment_count DESC, r.product_category_name +LIMIT 3; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local038.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local038.sql new file mode 100644 index 00000000..8a2f67e7 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local038.sql @@ -0,0 +1,21 @@ +WITH actor_counts AS ( + SELECT a.actor_id, + a.first_name || ' ' || a.last_name AS full_name, + COUNT(DISTINCT f.film_id) AS film_count + FROM actor AS a + JOIN film_actor AS fa ON fa.actor_id = a.actor_id + JOIN film AS f ON f.film_id = fa.film_id + JOIN language AS l ON l.language_id = f.language_id + JOIN film_category AS fc ON fc.film_id = f.film_id + JOIN category AS c ON c.category_id = fc.category_id + WHERE TRIM(l.name) = 'English' + AND c.name = 'Children' + AND f.rating IN ('G', 'PG') + AND f.length <= 120 + AND CAST(f.release_year AS INTEGER) BETWEEN 2000 AND 2010 + GROUP BY a.actor_id, a.first_name, a.last_name +) +SELECT full_name +FROM actor_counts +WHERE film_count = (SELECT MAX(film_count) FROM actor_counts) +ORDER BY full_name; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local039.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local039.sql new file mode 100644 index 00000000..0db585c4 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local039.sql @@ -0,0 +1,13 @@ +SELECT c.name AS category +FROM rental AS r +JOIN inventory AS i ON i.inventory_id = r.inventory_id +JOIN film_category AS fc ON fc.film_id = i.film_id +JOIN category AS c ON c.category_id = fc.category_id +JOIN customer AS cu ON cu.customer_id = r.customer_id +JOIN address AS a ON a.address_id = cu.address_id +JOIN city AS ci ON ci.city_id = a.city_id +WHERE ci.city LIKE 'A%' OR ci.city LIKE '%-%' +GROUP BY c.category_id, c.name +ORDER BY SUM(strftime('%s', r.return_date) - strftime('%s', r.rental_date)) / 3600.0 DESC, + c.name ASC +LIMIT 1; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local040.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local040.sql new file mode 100644 index 00000000..22e79a20 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local040.sql @@ -0,0 +1,28 @@ +WITH combined AS ( + SELECT t.tree_id, + TRIM(t.boroname) AS borough, + COALESCE(t.zipcode, i.zipcode) AS zipcode, + i.Estimate_Median_income AS median_income, + i.Estimate_Mean_income AS mean_income + FROM trees AS t + LEFT JOIN income_trees AS i ON t.zipcode = i.zipcode + UNION + SELECT t.tree_id, + TRIM(t.boroname), + COALESCE(t.zipcode, i.zipcode), + i.Estimate_Median_income, + i.Estimate_Mean_income + FROM income_trees AS i + LEFT JOIN trees AS t ON t.zipcode = i.zipcode + WHERE t.zipcode IS NULL +) +SELECT borough, + AVG(mean_income) AS average_mean_income +FROM combined +WHERE median_income > 0 + AND mean_income > 0 + AND borough IS NOT NULL + AND borough <> '' +GROUP BY borough +ORDER BY COUNT(tree_id) DESC, borough +LIMIT 3; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local050.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local050.sql new file mode 100644 index 00000000..e54ca150 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local050.sql @@ -0,0 +1,51 @@ +WITH monthly_sales AS ( + SELECT s.prod_id, + co.country_name, + t.calendar_year AS sales_year, + t.calendar_month_number AS sales_month, + SUM(s.amount_sold) AS sales_amount + FROM sales AS s + JOIN times AS t ON t.time_id = s.time_id + JOIN customers AS cu ON cu.cust_id = s.cust_id + JOIN countries AS co ON co.country_id = cu.country_id + JOIN promotions AS p ON p.promo_id = s.promo_id + JOIN channels AS ch ON ch.channel_id = s.channel_id + WHERE co.country_name = 'France' + AND p.promo_total_id = 1 + AND ch.channel_total_id = 1 + AND t.calendar_year BETWEEN 2019 AND 2021 + GROUP BY s.prod_id, co.country_name, t.calendar_year, t.calendar_month_number +), monthly_averages AS ( + SELECT target.sales_month, + ROUND(AVG( + (sy20.sales_amount + (sy20.sales_amount - sy19.sales_amount) + / NULLIF(sy19.sales_amount, 0) * sy20.sales_amount) + * COALESCE(fx.to_us, 1.0) + ), 2) AS avg_projected_sales_usd + FROM monthly_sales AS target + LEFT JOIN monthly_sales AS sy19 + ON sy19.prod_id = target.prod_id + AND sy19.country_name = target.country_name + AND sy19.sales_month = target.sales_month + AND sy19.sales_year = 2019 + LEFT JOIN monthly_sales AS sy20 + ON sy20.prod_id = target.prod_id + AND sy20.country_name = target.country_name + AND sy20.sales_month = target.sales_month + AND sy20.sales_year = 2020 + LEFT JOIN currency AS fx + ON fx.country = target.country_name + AND fx.year = target.sales_year + AND fx.month = target.sales_month + WHERE target.sales_year = 2021 + GROUP BY target.sales_month +), ranked AS ( + SELECT avg_projected_sales_usd, + ROW_NUMBER() OVER (ORDER BY avg_projected_sales_usd) AS rn, + COUNT(*) OVER () AS n + FROM monthly_averages + WHERE avg_projected_sales_usd IS NOT NULL +) +SELECT AVG(avg_projected_sales_usd) AS median_avg_monthly_projected_sales_usd +FROM ranked +WHERE rn IN ((n + 1) / 2, (n + 2) / 2); diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local054.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local054.sql new file mode 100644 index 00000000..14598fbd --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local054.sql @@ -0,0 +1,22 @@ +WITH artist_sales AS ( + SELECT a.ArtistId, SUM(ii.Quantity) AS units_sold + FROM invoice_items AS ii + JOIN tracks AS t ON t.TrackId = ii.TrackId + JOIN albums AS a ON a.AlbumId = t.AlbumId + GROUP BY a.ArtistId +), best_selling_artists AS ( + SELECT ArtistId + FROM artist_sales + WHERE units_sold = (SELECT MAX(units_sold) FROM artist_sales) +) +SELECT c.FirstName, + ROUND(SUM(ii.UnitPrice * ii.Quantity), 2) AS AmountSpent +FROM customers AS c +JOIN invoices AS i ON i.CustomerId = c.CustomerId +JOIN invoice_items AS ii ON ii.InvoiceId = i.InvoiceId +JOIN tracks AS t ON t.TrackId = ii.TrackId +JOIN albums AS a ON a.AlbumId = t.AlbumId +JOIN best_selling_artists AS b ON b.ArtistId = a.ArtistId +GROUP BY c.CustomerId, c.FirstName +HAVING AmountSpent < 1.00 +ORDER BY c.FirstName, c.CustomerId; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local055.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local055.sql new file mode 100644 index 00000000..5a3020bc --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local055.sql @@ -0,0 +1,37 @@ +WITH customer_artist_spending AS ( + SELECT a.ArtistId, + i.CustomerId, + SUM(ii.UnitPrice * ii.Quantity) AS spending + FROM invoice_items AS ii + JOIN invoices AS i ON i.InvoiceId = ii.InvoiceId + JOIN tracks AS t ON t.TrackId = ii.TrackId + JOIN albums AS a ON a.AlbumId = t.AlbumId + GROUP BY a.ArtistId, i.CustomerId +), artist_sales AS ( + SELECT ar.ArtistId, + ar.Name, + ROUND(SUM(cas.spending), 2) AS total_sales + FROM customer_artist_spending AS cas + JOIN artists AS ar ON ar.ArtistId = cas.ArtistId + GROUP BY ar.ArtistId, ar.Name +), selected_artists AS ( + SELECT ( + SELECT ArtistId + FROM artist_sales + ORDER BY total_sales DESC, Name ASC, ArtistId ASC + LIMIT 1 + ) AS top_artist_id, + ( + SELECT ArtistId + FROM artist_sales + ORDER BY total_sales ASC, Name ASC, ArtistId ASC + LIMIT 1 + ) AS bottom_artist_id +) +SELECT ABS( + AVG(CASE WHEN cas.ArtistId = sa.top_artist_id THEN cas.spending END) - + AVG(CASE WHEN cas.ArtistId = sa.bottom_artist_id THEN cas.spending END) + ) AS absolute_average_spending_difference +FROM customer_artist_spending AS cas +JOIN selected_artists AS sa + ON cas.ArtistId IN (sa.top_artist_id, sa.bottom_artist_id); diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local056.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local056.sql new file mode 100644 index 00000000..538513ef --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local056.sql @@ -0,0 +1,24 @@ +WITH monthly_payments AS ( + SELECT customer_id, + CAST(strftime('%Y', payment_date) AS INTEGER) * 12 + + CAST(strftime('%m', payment_date) AS INTEGER) AS month_number, + SUM(CAST(ROUND(amount * 100) AS INTEGER)) AS total_cents + FROM payment + GROUP BY customer_id, month_number +), customer_changes AS ( + SELECT curr.customer_id, + AVG(curr.total_cents - prev.total_cents) AS avg_monthly_change + FROM monthly_payments AS curr + JOIN monthly_payments AS prev + ON prev.customer_id = curr.customer_id + AND prev.month_number = curr.month_number - 1 + GROUP BY curr.customer_id +), ranked_customers AS ( + SELECT customer_id, + DENSE_RANK() OVER (ORDER BY avg_monthly_change DESC) AS change_rank + FROM customer_changes +) +SELECT c.first_name || ' ' || c.last_name AS full_name +FROM ranked_customers AS r +JOIN customer AS c ON c.customer_id = r.customer_id +WHERE r.change_rank = 1; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local058.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local058.sql new file mode 100644 index 00000000..7d430418 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local058.sql @@ -0,0 +1,15 @@ +WITH segment_counts AS ( + SELECT p.segment, + COUNT(DISTINCT CASE WHEN s.fiscal_year = 2020 THEN s.product_code END) AS unique_products_2020, + COUNT(DISTINCT CASE WHEN s.fiscal_year = 2021 THEN s.product_code END) AS unique_products_2021 + FROM hardware_dim_product AS p + LEFT JOIN hardware_fact_sales_monthly AS s + ON s.product_code = p.product_code + AND s.fiscal_year IN (2020, 2021) + GROUP BY p.segment +) +SELECT segment, unique_products_2020 +FROM segment_counts +ORDER BY 100.0 * (unique_products_2021 - unique_products_2020) + / NULLIF(unique_products_2020, 0) DESC, + segment; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local059.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local059.sql new file mode 100644 index 00000000..1fd48a42 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local059.sql @@ -0,0 +1,17 @@ +WITH product_totals AS ( + SELECT p.division, p.product_code, SUM(s.sold_quantity) AS total_quantity_sold + FROM hardware_fact_sales_monthly AS s + JOIN hardware_dim_product AS p ON p.product_code = s.product_code + WHERE s.date >= '2021-01-01' AND s.date < '2022-01-01' + GROUP BY p.division, p.product_code +), ranked_products AS ( + SELECT total_quantity_sold, + ROW_NUMBER() OVER ( + PARTITION BY division + ORDER BY total_quantity_sold DESC, product_code + ) AS sales_rank + FROM product_totals +) +SELECT AVG(total_quantity_sold) AS overall_average_quantity_sold +FROM ranked_products +WHERE sales_rank <= 3; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local060.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local060.sql new file mode 100644 index 00000000..823ebd21 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local060.sql @@ -0,0 +1,46 @@ +WITH city_product_sales AS ( + SELECT c.cust_state_province_id, + c.cust_city_id, + s.prod_id, + SUM(CASE WHEN t.calendar_year = 2019 THEN s.amount_sold ELSE 0.0 END) AS sales_2019, + SUM(CASE WHEN t.calendar_year = 2020 THEN s.amount_sold ELSE 0.0 END) AS sales_2020 + FROM sales AS s + JOIN customers AS c ON c.cust_id = s.cust_id + JOIN countries AS co ON co.country_id = c.country_id + JOIN times AS t ON t.time_id = s.time_id + JOIN promotions AS pr ON pr.promo_id = s.promo_id + WHERE co.country_iso_code = 'US' + AND pr.promo_name = 'NO PROMOTION #' + AND t.calendar_quarter_number = 4 + AND t.calendar_year IN (2019, 2020) + GROUP BY c.cust_state_province_id, c.cust_city_id, s.prod_id +), qualifying_cities AS ( + SELECT cust_state_province_id, cust_city_id + FROM city_product_sales + GROUP BY cust_state_province_id, cust_city_id + HAVING SUM(sales_2019) > 0 + AND SUM(sales_2020) >= 1.20 * SUM(sales_2019) +), product_sales AS ( + SELECT cps.prod_id, + SUM(cps.sales_2019) AS sales_2019, + SUM(cps.sales_2020) AS sales_2020 + FROM city_product_sales AS cps + JOIN qualifying_cities AS qc + ON qc.cust_state_province_id = cps.cust_state_province_id + AND qc.cust_city_id = cps.cust_city_id + GROUP BY cps.prod_id +), ranked_shares AS ( + SELECT prod_id, + NTILE(5) OVER (ORDER BY sales_2019 + sales_2020 DESC, prod_id) AS sales_quintile, + sales_2019 / NULLIF(SUM(sales_2019) OVER (), 0) AS share_q4_2019, + sales_2020 / NULLIF(SUM(sales_2020) OVER (), 0) AS share_q4_2020 + FROM product_sales +) +SELECT p.prod_name, + r.share_q4_2019, + r.share_q4_2020, + r.share_q4_2020 - r.share_q4_2019 AS share_change +FROM ranked_shares AS r +JOIN products AS p ON p.prod_id = r.prod_id +WHERE r.sales_quintile = 1 +ORDER BY share_change DESC, r.prod_id; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local061.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local061.sql new file mode 100644 index 00000000..e06e0952 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local061.sql @@ -0,0 +1,48 @@ +WITH monthly_sales AS ( + SELECT + s.prod_id, + co.country_name AS country, + t.calendar_year AS sales_year, + t.calendar_month_number AS month, + SUM(s.amount_sold) AS sales_amount + FROM sales AS s + JOIN customers AS cu ON cu.cust_id = s.cust_id + JOIN countries AS co ON co.country_id = cu.country_id + JOIN times AS t ON t.time_id = s.time_id + JOIN promotions AS p ON p.promo_id = s.promo_id + JOIN channels AS ch ON ch.channel_id = s.channel_id + WHERE co.country_name = 'France' + AND p.promo_total_id = 1 + AND ch.channel_total_id = 1 + AND t.calendar_year BETWEEN 2019 AND 2021 + GROUP BY s.prod_id, co.country_name, t.calendar_year, t.calendar_month_number +), projections AS ( + SELECT + target.country, + target.month, + y20.sales_amount + + ((y20.sales_amount - y19.sales_amount) / NULLIF(y19.sales_amount, 0)) + * y20.sales_amount AS projected_sales + FROM monthly_sales AS target + LEFT JOIN monthly_sales AS y19 + ON y19.prod_id = target.prod_id + AND y19.country = target.country + AND y19.month = target.month + AND y19.sales_year = 2019 + LEFT JOIN monthly_sales AS y20 + ON y20.prod_id = target.prod_id + AND y20.country = target.country + AND y20.month = target.month + AND y20.sales_year = 2020 + WHERE target.sales_year = 2021 +) +SELECT + p.month, + ROUND(AVG(p.projected_sales * COALESCE(c.to_us, 1.0)), 2) AS avg_projected_sales_usd +FROM projections AS p +LEFT JOIN currency AS c + ON c.country = p.country + AND c.year = 2021 + AND c.month = p.month +GROUP BY p.month +ORDER BY p.month; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local063.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local063.sql new file mode 100644 index 00000000..01fac24a --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local063.sql @@ -0,0 +1,43 @@ +WITH scoped_sales AS ( + SELECT c.cust_city_id, s.prod_id, t.calendar_quarter_id, s.amount_sold + FROM sales AS s + JOIN times AS t ON t.time_id = s.time_id + JOIN customers AS c ON c.cust_id = s.cust_id + JOIN countries AS co ON co.country_id = c.country_id + WHERE co.country_iso_code = 'US' + AND s.promo_id = 999 + AND t.calendar_quarter_id IN (1772, 1776) +), +city_totals AS ( + SELECT cust_city_id, + SUM(CASE WHEN calendar_quarter_id = 1772 THEN amount_sold ELSE 0 END) AS sales_2019, + SUM(CASE WHEN calendar_quarter_id = 1776 THEN amount_sold ELSE 0 END) AS sales_2020 + FROM scoped_sales + GROUP BY cust_city_id +), +product_totals AS ( + SELECT s.prod_id, + SUM(CASE WHEN s.calendar_quarter_id = 1772 THEN s.amount_sold ELSE 0 END) AS sales_2019, + SUM(CASE WHEN s.calendar_quarter_id = 1776 THEN s.amount_sold ELSE 0 END) AS sales_2020 + FROM scoped_sales AS s + JOIN city_totals AS c ON c.cust_city_id = s.cust_city_id + WHERE 1.0 * c.sales_2020 / NULLIF(c.sales_2019, 0) >= 1.2 + GROUP BY s.prod_id +), +ranked_products AS ( + SELECT prod_id, sales_2019, sales_2020, + SUM(sales_2019) OVER () AS total_2019, + SUM(sales_2020) OVER () AS total_2020, + RANK() OVER (ORDER BY sales_2019 + sales_2020 DESC) AS sales_rank, + COUNT(*) OVER () AS product_count + FROM product_totals +) +SELECT p.prod_name +FROM ranked_products AS r +JOIN products AS p ON p.prod_id = r.prod_id +WHERE r.sales_rank <= (r.product_count + 4) / 5 + AND r.total_2019 <> 0 + AND r.total_2020 <> 0 +ORDER BY ABS(100.0 * (r.sales_2020 / r.total_2020 - r.sales_2019 / r.total_2019)), + r.prod_id +LIMIT 1; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local065.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local065.sql new file mode 100644 index 00000000..b14e543f --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local065.sql @@ -0,0 +1,18 @@ +SELECT COALESCE(SUM( + CASE p.pizza_name + WHEN 'Meatlovers' THEN 12 + WHEN 'Vegetarian' THEN 10 + END + + CASE + WHEN TRIM(COALESCE(c.extras, '')) = '' THEN 0 + ELSE 1 + LENGTH(c.extras) - LENGTH(REPLACE(c.extras, ',', '')) + END +), 0) AS total_income +FROM pizza_clean_customer_orders AS c +JOIN pizza_names AS p ON p.pizza_id = c.pizza_id +WHERE EXISTS ( + SELECT 1 + FROM pizza_clean_runner_orders AS r + WHERE r.order_id = c.order_id + AND r.cancellation IS NULL +); diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local066.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local066.sql new file mode 100644 index 00000000..d422fdde --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local066.sql @@ -0,0 +1,29 @@ +WITH delivered_pizzas AS ( + SELECT c.pizza_id, c.exclusions, c.extras + FROM pizza_clean_customer_orders AS c + WHERE EXISTS ( + SELECT 1 + FROM pizza_clean_runner_orders AS r + WHERE r.order_id = c.order_id + AND r.cancellation IS NULL + ) +), ingredient_usage AS ( + SELECT base.value AS topping_id + FROM delivered_pizzas AS p + JOIN pizza_recipes AS r ON r.pizza_id = p.pizza_id + CROSS JOIN json_each('[' || r.toppings || ']') AS base + WHERE NOT EXISTS ( + SELECT 1 + FROM json_each('[' || COALESCE(p.exclusions, '') || ']') AS excluded + WHERE excluded.value = base.value + ) + UNION ALL + SELECT extra.value AS topping_id + FROM delivered_pizzas AS p + CROSS JOIN json_each('[' || COALESCE(p.extras, '') || ']') AS extra +) +SELECT t.topping_name AS name, COUNT(*) AS quantity +FROM ingredient_usage AS u +JOIN pizza_toppings AS t ON t.topping_id = u.topping_id +GROUP BY t.topping_id, t.topping_name +ORDER BY name; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local067.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local067.sql new file mode 100644 index 00000000..d99eda90 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local067.sql @@ -0,0 +1,21 @@ +WITH customer_profits AS ( + SELECT p.cust_id, + SUM(p.amount_sold - p.total_cost) AS december_profit + FROM profits AS p + JOIN customers AS c ON c.cust_id = p.cust_id + JOIN countries AS co ON co.country_id = c.country_id + WHERE co.country_name = 'Italy' + AND p.time_id >= '2021-12-01' + AND p.time_id < '2022-01-01' + GROUP BY p.cust_id +), tiered_customers AS ( + SELECT december_profit, + NTILE(10) OVER (ORDER BY december_profit DESC, cust_id) AS tier + FROM customer_profits +) +SELECT tier, + MAX(december_profit) AS highest_profit, + MIN(december_profit) AS lowest_profit +FROM tiered_customers +GROUP BY tier +ORDER BY tier; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local068.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local068.sql new file mode 100644 index 00000000..62bf7fc5 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local068.sql @@ -0,0 +1,33 @@ +WITH years(year) AS ( + VALUES (2021), (2022), (2023) +), months(month) AS ( + VALUES (4), (5), (6) +), monthly_counts AS ( + SELECT y.year, m.month, COUNT(c.insert_date) AS monthly_total + FROM years AS y + CROSS JOIN months AS m + LEFT JOIN cities AS c + ON c.insert_date >= printf('%04d-%02d-01', y.year, m.month) + AND c.insert_date < printf('%04d-%02d-01', y.year, m.month + 1) + GROUP BY y.year, m.month +), running_totals AS ( + SELECT year, month, monthly_total, + SUM(monthly_total) OVER ( + PARTITION BY month ORDER BY year + ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW + ) AS running_total + FROM monthly_counts +), prior_year AS ( + SELECT year, month, monthly_total, running_total, + LAG(monthly_total) OVER (PARTITION BY month ORDER BY year) AS prev_monthly_total, + LAG(running_total) OVER (PARTITION BY month ORDER BY year) AS prev_running_total + FROM running_totals +) +SELECT year, month, monthly_total, running_total, + ROUND(100.0 * (monthly_total - prev_monthly_total) / + NULLIF(prev_monthly_total, 0), 2) AS monthly_yoy_growth_pct, + ROUND(100.0 * (running_total - prev_running_total) / + NULLIF(prev_running_total, 0), 2) AS running_yoy_growth_pct +FROM prior_year +WHERE year IN (2022, 2023) +ORDER BY year, month; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local070.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local070.sql new file mode 100644 index 00000000..c9100ec2 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local070.sql @@ -0,0 +1,29 @@ +WITH july_entries AS ( + SELECT date(insert_date) AS entry_date, city_id, city_name + FROM cities + WHERE country_code_2 = 'cn' + AND date(insert_date) >= '2021-07-01' + AND date(insert_date) < '2021-08-01' +), ranked_entries AS ( + SELECT entry_date, city_name, + ROW_NUMBER() OVER (PARTITION BY entry_date ORDER BY city_id, city_name) AS daily_rank + FROM july_entries +), streak_days AS ( + SELECT entry_date, city_name, + julianday(entry_date) - ROW_NUMBER() OVER (ORDER BY entry_date) AS streak_id + FROM ranked_entries + WHERE daily_rank = 1 +), streak_lengths AS ( + SELECT entry_date, city_name, + COUNT(*) OVER (PARTITION BY streak_id) AS streak_length + FROM streak_days +), extremes AS ( + SELECT MIN(streak_length) AS shortest, MAX(streak_length) AS longest + FROM streak_lengths +) +SELECT entry_date AS insert_date, + upper(substr(city_name, 1, 1)) || lower(substr(city_name, 2)) AS city_name +FROM streak_lengths +CROSS JOIN extremes +WHERE streak_length IN (shortest, longest) +ORDER BY entry_date; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local071.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local071.sql new file mode 100644 index 00000000..65e359c8 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local071.sql @@ -0,0 +1,21 @@ +WITH city_days AS ( + SELECT DISTINCT country_code_2, DATE(insert_date) AS inserted_day + FROM cities + WHERE DATE(insert_date) >= '2022-06-01' + AND DATE(insert_date) < '2022-07-01' + AND LENGTH(country_code_2) = 2 +), streak_days AS ( + SELECT country_code_2, + JULIANDAY(inserted_day) - ROW_NUMBER() OVER ( + PARTITION BY country_code_2 ORDER BY inserted_day + ) AS streak_id + FROM city_days +), streaks AS ( + SELECT country_code_2, COUNT(*) AS streak_length + FROM streak_days + GROUP BY country_code_2, streak_id +) +SELECT DISTINCT country_code_2 +FROM streaks +WHERE streak_length = (SELECT MAX(streak_length) FROM streaks) +ORDER BY country_code_2; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local074.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local074.sql new file mode 100644 index 00000000..0a7a0314 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local074.sql @@ -0,0 +1,57 @@ +WITH RECURSIVE +month_bounds AS ( + SELECT + date(MIN(txn_date), 'start of month') AS first_month, + date(MAX(txn_date), 'start of month') AS last_month + FROM customer_transactions +), +months(month_start) AS ( + SELECT first_month + FROM month_bounds + WHERE first_month IS NOT NULL + + UNION ALL + + SELECT date(m.month_start, '+1 month') + FROM months AS m + CROSS JOIN month_bounds AS b + WHERE m.month_start < b.last_month +), +customers AS ( + SELECT DISTINCT customer_id + FROM customer_transactions +), +monthly_transactions AS ( + SELECT + customer_id, + date(txn_date, 'start of month') AS month_start, + SUM(CASE txn_type + WHEN 'deposit' THEN txn_amount + WHEN 'withdrawal' THEN -txn_amount + WHEN 'purchase' THEN -txn_amount + END) AS monthly_change + FROM customer_transactions + GROUP BY customer_id, date(txn_date, 'start of month') +), +customer_months AS ( + SELECT + c.customer_id, + m.month_start, + COALESCE(t.monthly_change, 0) AS monthly_change + FROM customers AS c + CROSS JOIN months AS m + LEFT JOIN monthly_transactions AS t + ON t.customer_id = c.customer_id + AND t.month_start = m.month_start +) +SELECT + customer_id, + date(month_start, '+1 month', '-1 day') AS month_end, + monthly_change, + SUM(monthly_change) OVER ( + PARTITION BY customer_id + ORDER BY month_start + ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW + ) AS closing_balance +FROM customer_months +ORDER BY customer_id, month_start; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local075.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local075.sql new file mode 100644 index 00000000..00447dbb --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local075.sql @@ -0,0 +1,19 @@ +WITH purchase_visits AS ( + SELECT DISTINCT visit_id + FROM shopping_cart_events + WHERE event_type = 3 +) +SELECT + p.page_name AS product_name, + COUNT(CASE WHEN e.event_type = 1 THEN 1 END) AS views, + COUNT(CASE WHEN e.event_type = 2 THEN 1 END) AS cart_adds, + COUNT(CASE WHEN e.event_type = 2 AND pv.visit_id IS NULL THEN 1 END) AS abandoned_cart_adds, + COUNT(CASE WHEN e.event_type = 2 AND pv.visit_id IS NOT NULL THEN 1 END) AS purchases +FROM shopping_cart_page_hierarchy AS p +LEFT JOIN shopping_cart_events AS e + ON e.page_id = p.page_id AND e.event_type IN (1, 2) +LEFT JOIN purchase_visits AS pv + ON pv.visit_id = e.visit_id +WHERE p.page_id NOT IN (1, 2, 12, 13) +GROUP BY p.page_id, p.page_name +ORDER BY p.page_id; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local077.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local077.sql new file mode 100644 index 00000000..f3b44c2c --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local077.sql @@ -0,0 +1,47 @@ +WITH interest_monthly AS ( + SELECT printf('%04d-%02d-01', _year, _month) AS month_date, + interest_id, + AVG(1.0 * composition / NULLIF(index_value, 0)) AS index_composition + FROM interest_metrics + WHERE _year * 100 + _month BETWEEN 201807 AND 201908 + GROUP BY 1, 2 +), ranked AS ( + SELECT month_date, + interest_id, + index_composition, + ROW_NUMBER() OVER ( + PARTITION BY month_date + ORDER BY index_composition DESC, interest_id + ) AS monthly_rank + FROM interest_monthly +), monthly_top AS ( + SELECT r.month_date, + m.interest_name, + r.index_composition AS max_index_composition + FROM ranked AS r + JOIN interest_map AS m ON m.id = r.interest_id + WHERE r.monthly_rank = 1 +), history AS ( + SELECT month_date, + interest_name, + max_index_composition, + AVG(max_index_composition) OVER ( + ORDER BY month_date ROWS BETWEEN 2 PRECEDING AND CURRENT ROW + ) AS three_month_rolling_avg, + LAG(interest_name, 1) OVER (ORDER BY month_date) AS one_month_ago_interest_name, + LAG(max_index_composition, 1) OVER (ORDER BY month_date) AS one_month_ago_max_index_composition, + LAG(interest_name, 2) OVER (ORDER BY month_date) AS two_months_ago_interest_name, + LAG(max_index_composition, 2) OVER (ORDER BY month_date) AS two_months_ago_max_index_composition + FROM monthly_top +) +SELECT month_date, + interest_name, + ROUND(max_index_composition, 2) AS max_index_composition, + ROUND(three_month_rolling_avg, 2) AS three_month_rolling_avg, + one_month_ago_interest_name, + ROUND(one_month_ago_max_index_composition, 2) AS one_month_ago_max_index_composition, + two_months_ago_interest_name, + ROUND(two_months_ago_max_index_composition, 2) AS two_months_ago_max_index_composition +FROM history +WHERE month_date >= '2018-09-01' AND month_date < '2019-09-01' +ORDER BY month_date; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local078.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local078.sql new file mode 100644 index 00000000..f24d4a85 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local078.sql @@ -0,0 +1,37 @@ +WITH monthly_peaks AS ( + SELECT + im.id AS interest_id, + im.interest_name, + m._month, + m._year, + m.composition, + ROW_NUMBER() OVER ( + PARTITION BY im.id + ORDER BY m.composition DESC, m._year ASC NULLS LAST, m._month ASC NULLS LAST + ) AS month_rank + FROM interest_metrics AS m + JOIN interest_map AS im ON im.id = m.interest_id + WHERE m.composition IS NOT NULL +), ranked_interests AS ( + SELECT + CASE WHEN _month IS NOT NULL AND _year IS NOT NULL + THEN printf('%02d-%04d', _month, _year) + END AS time, + interest_name, + composition, + ROW_NUMBER() OVER (ORDER BY composition DESC, interest_id) AS top_rank, + ROW_NUMBER() OVER (ORDER BY composition ASC, interest_id) AS bottom_rank + FROM monthly_peaks + WHERE month_rank = 1 +), selected_interests AS ( + SELECT time, interest_name, composition, 1 AS sort_group, top_rank AS sort_rank + FROM ranked_interests + WHERE top_rank <= 10 + UNION ALL + SELECT time, interest_name, composition, 2 AS sort_group, bottom_rank AS sort_rank + FROM ranked_interests + WHERE bottom_rank <= 10 +) +SELECT time, interest_name, composition +FROM selected_interests +ORDER BY sort_group, sort_rank; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local085.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local085.sql new file mode 100644 index 00000000..1596b310 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local085.sql @@ -0,0 +1,15 @@ +WITH employee_order_counts AS ( + SELECT o.employeeid, + COUNT(*) AS total_orders, + SUM(CASE WHEN DATE(o.shippeddate) >= DATE(o.requireddate) THEN 1 ELSE 0 END) AS late_orders + FROM orders AS o + JOIN employees AS e ON e.employeeid = o.employeeid + GROUP BY o.employeeid + HAVING COUNT(*) > 50 +) +SELECT employeeid, + late_orders, + 100.0 * late_orders / total_orders AS late_order_percentage +FROM employee_order_counts +ORDER BY late_order_percentage DESC, employeeid +LIMIT 3; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local097.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local097.sql new file mode 100644 index 00000000..4fc43d3c --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local097.sql @@ -0,0 +1,15 @@ +WITH yearly_counts AS ( + SELECT CAST(SUBSTR(TRIM(year), -4) AS INTEGER) AS release_year, + COUNT(*) AS film_count + FROM Movie + GROUP BY release_year +) +SELECT s.release_year AS start_year, + SUM(y.film_count) AS total_count +FROM yearly_counts AS s +JOIN yearly_counts AS y + ON y.release_year >= s.release_year + AND y.release_year < s.release_year + 10 +GROUP BY s.release_year +ORDER BY total_count DESC, start_year ASC +LIMIT 1; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local098.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local098.sql new file mode 100644 index 00000000..17c9a523 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local098.sql @@ -0,0 +1,20 @@ +WITH appearance_years AS ( + SELECT DISTINCT + TRIM(c.PID) AS actor_id, + CAST(SUBSTR(TRIM(m.year), -4) AS INTEGER) AS film_year + FROM M_Cast AS c + JOIN Movie AS m ON m.MID = c.MID + WHERE TRIM(c.PID) <> '' + AND SUBSTR(TRIM(m.year), -4) GLOB '[0-9][0-9][0-9][0-9]' +), consecutive_appearances AS ( + SELECT actor_id, film_year, + LAG(film_year) OVER (PARTITION BY actor_id ORDER BY film_year) AS previous_year + FROM appearance_years +) +SELECT COUNT(*) AS actor_count +FROM ( + SELECT actor_id + FROM consecutive_appearances + GROUP BY actor_id + HAVING MAX(CASE WHEN film_year - previous_year > 4 THEN 1 ELSE 0 END) = 0 +) AS qualifying_actors; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local099.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local099.sql new file mode 100644 index 00000000..dae5b139 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local099.sql @@ -0,0 +1,22 @@ +WITH yash_chopra AS ( + SELECT DISTINCT TRIM(PID) AS director_id + FROM Person + WHERE TRIM(Name) = 'Yash Chopra' COLLATE NOCASE +), collaboration_counts AS ( + SELECT TRIM(c.PID) AS actor_id, + TRIM(d.PID) AS director_id, + COUNT(DISTINCT c.MID) AS film_count + FROM M_Cast AS c + JOIN M_Director AS d ON d.MID = c.MID + GROUP BY TRIM(c.PID), TRIM(d.PID) +) +SELECT COUNT(DISTINCT y.actor_id) AS actor_count +FROM collaboration_counts AS y +JOIN yash_chopra AS p ON p.director_id = y.director_id +WHERE NOT EXISTS ( + SELECT 1 + FROM collaboration_counts AS other + WHERE other.actor_id = y.actor_id + AND other.director_id <> y.director_id + AND other.film_count >= y.film_count +); diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local100.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local100.sql new file mode 100644 index 00000000..c21646ed --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local100.sql @@ -0,0 +1,23 @@ +WITH shahrukh AS ( + SELECT TRIM(PID) AS pid + FROM Person + WHERE TRIM(Name) = 'Shah Rukh Khan' +), cast_credits AS ( + SELECT MID, TRIM(PID) AS pid + FROM M_Cast + WHERE PID IS NOT NULL +), within_one_hop AS ( + SELECT DISTINCT coactor.pid + FROM shahrukh AS s + JOIN cast_credits AS starring ON starring.pid = s.pid + JOIN cast_credits AS coactor ON coactor.MID = starring.MID +), exactly_two_hops AS ( + SELECT candidate.pid + FROM within_one_hop AS w + JOIN cast_credits AS bridge ON bridge.pid = w.pid + JOIN cast_credits AS candidate ON candidate.MID = bridge.MID + EXCEPT + SELECT pid FROM within_one_hop +) +SELECT COUNT(*) AS actor_count +FROM exactly_two_hops; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local114.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local114.sql new file mode 100644 index 00000000..4c4a6010 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local114.sql @@ -0,0 +1,28 @@ +WITH rep_sales AS ( + SELECT sr.region_id, + sr.id AS rep_id, + sr.name AS rep_name, + COUNT(o.id) AS order_count, + SUM(o.total_amt_usd) AS rep_sales_amount + FROM web_sales_reps AS sr + JOIN web_accounts AS a ON a.sales_rep_id = sr.id + JOIN web_orders AS o ON o.account_id = a.id + GROUP BY sr.region_id, sr.id, sr.name +), region_sales AS ( + SELECT region_id, + SUM(order_count) AS order_count, + SUM(rep_sales_amount) AS total_sales_amount, + MAX(rep_sales_amount) AS highest_rep_sales_amount + FROM rep_sales + GROUP BY region_id +) +SELECT r.name AS region, + COALESCE(rs.order_count, 0) AS order_count, + rs.total_sales_amount, + s.rep_name AS top_sales_rep, + s.rep_sales_amount AS top_sales_rep_amount +FROM web_region AS r +LEFT JOIN region_sales AS rs ON rs.region_id = r.id +LEFT JOIN rep_sales AS s ON s.region_id = r.id + AND s.rep_sales_amount = rs.highest_rep_sales_amount +ORDER BY r.name, s.rep_name, s.rep_id; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local128.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local128.sql new file mode 100644 index 00000000..d453e07e --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local128.sql @@ -0,0 +1,31 @@ +WITH qualifying_games AS ( + SELECT s.BowlerID, + s.MatchID, + s.GameNumber, + s.HandiCapScore, + t.TourneyDate, + t.TourneyLocation + FROM Bowler_Scores AS s + JOIN Tourney_Matches AS m ON m.MatchID = s.MatchID + JOIN Tournaments AS t ON t.TourneyID = m.TourneyID + WHERE s.WonGame = 1 + AND s.HandiCapScore <= 190 + AND t.TourneyLocation IN ('Thunderbird Lanes', 'Totem Lanes', 'Bolero Lanes') +), qualifying_bowlers AS ( + SELECT BowlerID + FROM qualifying_games + GROUP BY BowlerID + HAVING COUNT(DISTINCT TourneyLocation) = 3 +) +SELECT b.BowlerID, + b.BowlerFirstName, + b.BowlerLastName, + g.MatchID, + g.GameNumber, + g.HandiCapScore, + g.TourneyDate, + g.TourneyLocation +FROM qualifying_games AS g +JOIN qualifying_bowlers AS q ON q.BowlerID = g.BowlerID +JOIN Bowlers AS b ON b.BowlerID = g.BowlerID +ORDER BY b.BowlerID, g.MatchID, g.GameNumber; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local130.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local130.sql new file mode 100644 index 00000000..84bb8569 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local130.sql @@ -0,0 +1,32 @@ +WITH completed_english AS ( + SELECT st.StudentID, st.StudLastName, ss.ClassID, ss.Grade + FROM Student_Schedules AS ss + JOIN Students AS st ON st.StudentID = ss.StudentID + JOIN Classes AS c ON c.ClassID = ss.ClassID + JOIN Subjects AS s ON s.SubjectID = c.SubjectID + WHERE ss.ClassStatus = 2 + AND s.CategoryID = 'ENG' +), student_total AS ( + SELECT COUNT(DISTINCT StudentID) AS student_count + FROM completed_english +), ranked AS ( + SELECT e.*, + 1.0 * ( + SELECT COUNT(DISTINCT peer.StudentID) + FROM completed_english AS peer + WHERE peer.Grade >= e.Grade + ) / t.student_count AS rank_fraction + FROM completed_english AS e + CROSS JOIN student_total AS t +) +SELECT StudLastName, + CASE + WHEN Grade IS NULL THEN NULL + WHEN rank_fraction <= 0.20 THEN 'First' + WHEN rank_fraction <= 0.40 THEN 'Second' + WHEN rank_fraction <= 0.60 THEN 'Third' + WHEN rank_fraction <= 0.80 THEN 'Fourth' + ELSE 'Fifth' + END AS Quintile +FROM ranked +ORDER BY Grade IS NULL, rank_fraction, Grade DESC, StudLastName, StudentID, ClassID; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local131.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local131.sql new file mode 100644 index 00000000..9aceb644 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local131.sql @@ -0,0 +1,9 @@ +SELECT + s.StyleName, + COUNT(CASE WHEN p.PreferenceSeq = 1 THEN 1 END) AS FirstPreferenceCount, + COUNT(CASE WHEN p.PreferenceSeq = 2 THEN 1 END) AS SecondPreferenceCount, + COUNT(CASE WHEN p.PreferenceSeq = 3 THEN 1 END) AS ThirdPreferenceCount +FROM Musical_Styles AS s +LEFT JOIN Musical_Preferences AS p ON p.StyleID = s.StyleID +GROUP BY s.StyleID, s.StyleName +ORDER BY s.StyleName, s.StyleID; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local132.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local132.sql new file mode 100644 index 00000000..fed4d081 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local132.sql @@ -0,0 +1,34 @@ +WITH MatchingPairs AS ( + SELECT DISTINCT es1.EntertainerID, mp1.CustomerID + FROM Entertainer_Styles AS es1 + JOIN Entertainer_Styles AS es2 + ON es2.EntertainerID = es1.EntertainerID + AND es2.StyleStrength = 2 + JOIN Musical_Preferences AS mp1 + ON mp1.PreferenceSeq = 1 + AND mp1.StyleID IN (es1.StyleID, es2.StyleID) + JOIN Musical_Preferences AS mp2 + ON mp2.CustomerID = mp1.CustomerID + AND mp2.PreferenceSeq = 2 + WHERE es1.StyleStrength = 1 + AND ( + (mp1.StyleID = es1.StyleID AND mp2.StyleID = es2.StyleID) + OR (mp1.StyleID = es2.StyleID AND mp2.StyleID = es1.StyleID) + ) + AND es1.EntertainerID IN ( + SELECT EntertainerID + FROM Entertainer_Styles + GROUP BY EntertainerID + HAVING COUNT(*) <= 3 + ) + AND mp1.CustomerID IN ( + SELECT CustomerID + FROM Musical_Preferences + GROUP BY CustomerID + HAVING COUNT(*) <= 3 + ) +) +SELECT e.EntStageName, c.CustLastName +FROM MatchingPairs AS p +JOIN Entertainers AS e ON e.EntertainerID = p.EntertainerID +JOIN Customers AS c ON c.CustomerID = p.CustomerID; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local133.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local133.sql new file mode 100644 index 00000000..799a57b1 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local133.sql @@ -0,0 +1,16 @@ +WITH style_scores AS ( + SELECT StyleID, + SUM(CASE PreferenceSeq + WHEN 1 THEN 3 + WHEN 2 THEN 2 + WHEN 3 THEN 1 + ELSE 0 + END) AS total_weighted_score + FROM Musical_Preferences + GROUP BY StyleID +) +SELECT ms.StyleName, + ss.total_weighted_score, + ABS(ss.total_weighted_score - AVG(ss.total_weighted_score) OVER ()) AS absolute_difference +FROM style_scores AS ss +JOIN Musical_Styles AS ms ON ms.StyleID = ss.StyleID; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local141.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local141.sql new file mode 100644 index 00000000..db800850 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local141.sql @@ -0,0 +1,22 @@ +WITH annual_sales AS ( + SELECT salespersonid AS salesperson_id, + CAST(strftime('%Y', orderdate) AS INTEGER) AS sales_year, + SUM(totaldue) AS total_sales + FROM salesorderheader + WHERE salespersonid IS NOT NULL + GROUP BY salespersonid, CAST(strftime('%Y', orderdate) AS INTEGER) +), annual_quotas AS ( + SELECT BusinessEntityID AS salesperson_id, + CAST(strftime('%Y', QuotaDate) AS INTEGER) AS sales_year, + SUM(SalesQuota) AS annual_quota + FROM SalesPersonQuotaHistory + GROUP BY BusinessEntityID, CAST(strftime('%Y', QuotaDate) AS INTEGER) +) +SELECT s.salesperson_id, + s.sales_year, + s.total_sales - q.annual_quota AS sales_minus_quota +FROM annual_sales AS s +LEFT JOIN annual_quotas AS q + ON q.salesperson_id = s.salesperson_id + AND q.sales_year = s.sales_year +ORDER BY s.salesperson_id, s.sales_year; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local152.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local152.sql new file mode 100644 index 00000000..b34c8deb --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local152.sql @@ -0,0 +1,35 @@ +WITH director_movies AS ( + SELECT + dm.name_id AS director_id, + m.id AS movie_id, + julianday(m.date_published) AS release_day, + m.duration, + r.avg_rating, + r.total_votes + FROM director_mapping AS dm + JOIN movies AS m ON m.id = dm.movie_id + LEFT JOIN ratings AS r ON r.movie_id = m.id +), release_gaps AS ( + SELECT + *, + release_day - LAG(release_day) OVER ( + PARTITION BY director_id + ORDER BY release_day, movie_id + ) AS days_since_previous_movie + FROM director_movies +) +SELECT + g.director_id, + n.name AS director_name, + COUNT(*) AS number_of_movies, + CAST(ROUND(AVG(g.days_since_previous_movie)) AS INTEGER) AS avg_inter_movie_days, + ROUND(AVG(g.avg_rating), 2) AS avg_rating, + SUM(g.total_votes) AS total_votes, + MIN(g.avg_rating) AS min_rating, + MAX(g.avg_rating) AS max_rating, + SUM(g.duration) AS total_movie_duration +FROM release_gaps AS g +LEFT JOIN names AS n ON n.id = g.director_id +GROUP BY g.director_id, n.name +ORDER BY number_of_movies DESC, total_movie_duration DESC, g.director_id +LIMIT 9; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local156.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local156.sql new file mode 100644 index 00000000..0999cdaa --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local156.sql @@ -0,0 +1,31 @@ +WITH annual_prices AS ( + SELECT + CAST(substr(t.txn_date, -4) AS INTEGER) AS purchase_year, + m.region, + SUM(t.quantity * p.price) / NULLIF(SUM(t.quantity), 0) AS avg_purchase_price + FROM bitcoin_transactions AS t + JOIN bitcoin_members AS m ON m.member_id = t.member_id + JOIN bitcoin_prices AS p ON p.ticker = t.ticker AND p.market_date = t.txn_date + WHERE t.ticker = 'BTC' AND t.txn_type = 'BUY' + GROUP BY CAST(substr(t.txn_date, -4) AS INTEGER), m.region +), regional_history AS ( + SELECT + purchase_year, + region, + avg_purchase_price, + LAG(purchase_year) OVER regional_years AS previous_year, + LAG(avg_purchase_price) OVER regional_years AS previous_avg_price + FROM annual_prices + WINDOW regional_years AS (PARTITION BY region ORDER BY purchase_year) +) +SELECT + purchase_year, + region, + avg_purchase_price, + RANK() OVER (PARTITION BY purchase_year ORDER BY avg_purchase_price DESC) AS price_rank, + CASE WHEN previous_year = purchase_year - 1 THEN + 100.0 * (avg_purchase_price - previous_avg_price) / NULLIF(previous_avg_price, 0) + END AS annual_pct_change +FROM regional_history +WHERE previous_year IS NOT NULL +ORDER BY purchase_year, price_rank, region; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local157.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local157.sql new file mode 100644 index 00000000..41b42881 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local157.sql @@ -0,0 +1,33 @@ +WITH parsed AS ( + SELECT ticker, + SUBSTR(market_date, 7, 4) || '-' || SUBSTR(market_date, 4, 2) || '-' || SUBSTR(market_date, 1, 2) AS market_date, + UPPER(TRIM(volume)) AS volume_text + FROM bitcoin_prices +), normalized AS ( + SELECT ticker, market_date, + CASE + WHEN volume_text = '-' THEN 0.0 + WHEN SUBSTR(volume_text, -1) = 'K' + THEN CAST(SUBSTR(volume_text, 1, LENGTH(volume_text) - 1) AS REAL) * 1000.0 + WHEN SUBSTR(volume_text, -1) = 'M' + THEN CAST(SUBSTR(volume_text, 1, LENGTH(volume_text) - 1) AS REAL) * 1000000.0 + ELSE CAST(volume_text AS REAL) + END AS trading_volume + FROM parsed + WHERE market_date < '2021-08-11' +), previous_dates AS ( + SELECT ticker, market_date, trading_volume, + MAX(CASE WHEN trading_volume <> 0 THEN market_date END) OVER ( + PARTITION BY ticker ORDER BY market_date + ROWS BETWEEN UNBOUNDED PRECEDING AND 1 PRECEDING + ) AS previous_nonzero_date + FROM normalized +) +SELECT d.ticker, + d.market_date, + 100.0 * (d.trading_volume - p.trading_volume) / p.trading_volume AS daily_volume_pct_change +FROM previous_dates AS d +LEFT JOIN normalized AS p + ON p.ticker = d.ticker AND p.market_date = d.previous_nonzero_date +WHERE d.market_date >= '2021-08-01' AND d.market_date < '2021-08-11' +ORDER BY d.ticker, d.market_date; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local167.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local167.sql new file mode 100644 index 00000000..5d7fc343 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local167.sql @@ -0,0 +1,29 @@ +WITH ranked_terms AS ( + SELECT t.id_bioguide, + t.state, + ROW_NUMBER() OVER ( + PARTITION BY t.id_bioguide + ORDER BY t.term_start, t.term_number, t.state + ) AS term_rank + FROM legislators_terms AS t + WHERE EXISTS ( + SELECT 1 + FROM legislators AS l + WHERE l.id_bioguide = t.id_bioguide + AND l.gender = 'F' + ) +) +SELECT r.state AS state_abbreviation, + COUNT(*) AS legislator_count +FROM ranked_terms AS r +WHERE r.term_rank = 1 + AND EXISTS ( + SELECT 1 + FROM legislators_terms AS t + WHERE t.id_bioguide = r.id_bioguide + AND date(t.term_start, 'start of year', '+1 year', '-1 day') + BETWEEN date(t.term_start) AND date(t.term_end) + ) +GROUP BY r.state +ORDER BY legislator_count DESC, state_abbreviation +LIMIT 1; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local168.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local168.sql new file mode 100644 index 00000000..922b1b76 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local168.sql @@ -0,0 +1,22 @@ +WITH eligible_jobs AS ( + SELECT job_id, salary_year_avg + FROM job_postings_fact + WHERE job_title_short = 'Data Analyst' + AND salary_year_avg IS NOT NULL + AND job_work_from_home = 1 +), top_skills AS ( + SELECT sj.skill_id + FROM skills_job_dim AS sj + JOIN eligible_jobs AS j ON j.job_id = sj.job_id + GROUP BY sj.skill_id + ORDER BY COUNT(DISTINCT sj.job_id) DESC, sj.skill_id + LIMIT 3 +) +SELECT AVG(j.salary_year_avg) AS overall_avg_salary +FROM eligible_jobs AS j +WHERE EXISTS ( + SELECT 1 + FROM skills_job_dim AS sj + JOIN top_skills AS ts ON ts.skill_id = sj.skill_id + WHERE sj.job_id = j.job_id +); diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local169.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local169.sql new file mode 100644 index 00000000..4ee01e0c --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local169.sql @@ -0,0 +1,27 @@ +WITH RECURSIVE periods(period) AS ( + SELECT 1 + UNION ALL + SELECT period + 1 FROM periods WHERE period < 20 +), +first_terms AS ( + SELECT id_bioguide, MIN(term_start) AS first_term_start + FROM legislators_terms + GROUP BY id_bioguide +), +cohort AS ( + SELECT id_bioguide, CAST(strftime('%Y', first_term_start) AS INTEGER) AS start_year + FROM first_terms + WHERE first_term_start >= '1917-01-01' + AND first_term_start < '2000-01-01' +) +SELECT p.period, + 1.0 * COUNT(DISTINCT t.id_bioguide) + / NULLIF((SELECT COUNT(*) FROM cohort), 0) AS retention_rate +FROM periods AS p +LEFT JOIN cohort AS c ON 1 = 1 +LEFT JOIN legislators_terms AS t + ON t.id_bioguide = c.id_bioguide + AND printf('%04d-12-31', c.start_year + p.period - 1) + BETWEEN t.term_start AND t.term_end +GROUP BY p.period +ORDER BY p.period; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local170.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local170.sql new file mode 100644 index 00000000..cfe9e706 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local170.sql @@ -0,0 +1,34 @@ +WITH first_terms AS ( + SELECT id_bioguide, state, term_start, + ROW_NUMBER() OVER ( + PARTITION BY id_bioguide ORDER BY term_start, term_number, term_id + ) AS term_order + FROM legislators_terms + WHERE term_start IS NOT NULL +), +intervals(years_after_start) AS ( + VALUES (0), (2), (4), (6), (8), (10) +), +checkpoints AS ( + SELECT f.id_bioguide, f.state, l.gender, i.years_after_start, + date(f.term_start, 'start of year', + printf('+%d years', i.years_after_start), '+1 year', '-1 day') AS dec_31 + FROM first_terms AS f + JOIN legislators AS l ON l.id_bioguide = f.id_bioguide + CROSS JOIN intervals AS i + WHERE f.term_order = 1 + AND f.state IS NOT NULL + AND l.gender IN ('M', 'F') +), +nonzero_retention AS ( + SELECT DISTINCT c.state, c.gender, c.years_after_start + FROM checkpoints AS c + JOIN legislators_terms AS t + ON t.id_bioguide = c.id_bioguide + AND c.dec_31 BETWEEN t.term_start AND t.term_end +) +SELECT state +FROM nonzero_retention +GROUP BY state +HAVING COUNT(*) = 12 +ORDER BY state; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local171.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local171.sql new file mode 100644 index 00000000..309c46c4 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local171.sql @@ -0,0 +1,23 @@ +WITH first_terms AS ( + SELECT id_bioguide, MIN(term_start) AS first_term_start + FROM legislators_terms + GROUP BY id_bioguide +), year_end_service AS ( + SELECT lt.id_bioguide, + CAST(strftime('%Y', d.date) AS INTEGER) + - CAST(strftime('%Y', ft.first_term_start) AS INTEGER) AS years_since_first_term + FROM legislators_terms AS lt + JOIN first_terms AS ft ON ft.id_bioguide = lt.id_bioguide + JOIN legislators AS l ON l.id_bioguide = lt.id_bioguide + JOIN legislation_date_dim AS d ON d.date BETWEEN lt.term_start AND lt.term_end + WHERE l.gender = 'M' + AND lt.state = 'LA' + AND d.month_name = 'December' + AND d.day_of_month = 31 +) +SELECT years_since_first_term, + COUNT(DISTINCT id_bioguide) AS legislator_count +FROM year_end_service +WHERE years_since_first_term > 30 AND years_since_first_term < 50 +GROUP BY years_since_first_term +ORDER BY years_since_first_term; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local193.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local193.sql new file mode 100644 index 00000000..fbe03734 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local193.sql @@ -0,0 +1,23 @@ +WITH purchases AS ( + SELECT customer_id, + amount, + unixepoch(payment_date) AS purchase_second + FROM payment +), timed_purchases AS ( + SELECT customer_id, + amount, + purchase_second - MIN(purchase_second) OVER (PARTITION BY customer_id) AS elapsed_seconds + FROM purchases +), customer_ltv AS ( + SELECT customer_id, + SUM(amount) AS total_ltv, + SUM(CASE WHEN elapsed_seconds < 7 * 86400 THEN amount ELSE 0 END) AS sales_7_days, + SUM(CASE WHEN elapsed_seconds < 30 * 86400 THEN amount ELSE 0 END) AS sales_30_days + FROM timed_purchases + GROUP BY customer_id + HAVING SUM(amount) <> 0 +) +SELECT AVG(100.0 * sales_7_days / total_ltv) AS avg_ltv_pct_first_7_days, + AVG(100.0 * sales_30_days / total_ltv) AS avg_ltv_pct_first_30_days, + AVG(total_ltv) AS avg_total_ltv +FROM customer_ltv; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local196.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local196.sql new file mode 100644 index 00000000..a5a5a34b --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local196.sql @@ -0,0 +1,33 @@ +WITH ranked_rental_payments AS ( + SELECT + p.customer_id, + r.inventory_id, + ROW_NUMBER() OVER ( + PARTITION BY p.customer_id + ORDER BY p.payment_date, p.payment_id + ) AS payment_rank + FROM payment AS p + JOIN rental AS r + ON r.rental_id = p.rental_id + AND r.customer_id = p.customer_id +), customer_spending AS ( + SELECT customer_id, SUM(amount) AS total_amount_spent + FROM payment + GROUP BY customer_id +), customer_rentals AS ( + SELECT customer_id, COUNT(*) - 1 AS subsequent_rentals + FROM rental + GROUP BY customer_id +) +SELECT + f.rating, + AVG(s.total_amount_spent) AS avg_total_amount_spent, + AVG(cr.subsequent_rentals) AS avg_subsequent_rentals +FROM ranked_rental_payments AS rp +JOIN inventory AS i ON i.inventory_id = rp.inventory_id +JOIN film AS f ON f.film_id = i.film_id +JOIN customer_spending AS s ON s.customer_id = rp.customer_id +JOIN customer_rentals AS cr ON cr.customer_id = rp.customer_id +WHERE rp.payment_rank = 1 +GROUP BY f.rating +ORDER BY f.rating; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local197.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local197.sql new file mode 100644 index 00000000..536c0bc0 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local197.sql @@ -0,0 +1,37 @@ +WITH monthly_payments AS ( + SELECT customer_id, + DATE(payment_date, 'start of month') AS payment_month, + SUM(CAST(ROUND(amount * 100) AS INTEGER)) AS total_cents + FROM payment + GROUP BY customer_id, DATE(payment_date, 'start of month') +), top_customers AS ( + SELECT customer_id + FROM monthly_payments + GROUP BY customer_id + ORDER BY SUM(total_cents) DESC, customer_id + LIMIT 10 +), monthly_comparison AS ( + SELECT m.customer_id, + m.payment_month, + m.total_cents, + LAG(m.payment_month) OVER customer_months AS previous_month, + LAG(m.total_cents) OVER customer_months AS previous_total_cents + FROM monthly_payments AS m + JOIN top_customers AS t ON t.customer_id = m.customer_id + WINDOW customer_months AS ( + PARTITION BY m.customer_id ORDER BY m.payment_month + ) +), differences AS ( + SELECT customer_id, + payment_month, + ABS(total_cents - previous_total_cents) AS difference_cents + FROM monthly_comparison + WHERE payment_month = DATE(previous_month, '+1 month') +) +SELECT c.first_name || ' ' || c.last_name AS customer_name, + STRFTIME('%Y-%m', d.payment_month) AS payment_month, + ROUND(d.difference_cents / 100.0, 2) AS payment_difference +FROM differences AS d +JOIN customer AS c ON c.customer_id = d.customer_id +WHERE d.difference_cents = (SELECT MAX(difference_cents) FROM differences) +ORDER BY d.payment_month, c.customer_id; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local198.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local198.sql new file mode 100644 index 00000000..2dd7d7f1 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local198.sql @@ -0,0 +1,20 @@ +WITH eligible_countries AS ( + SELECT Country + FROM customers + GROUP BY Country + HAVING COUNT(*) > 4 +), country_sales AS ( + SELECT c.Country, ROUND(SUM(i.Total), 2) AS total_sales + FROM eligible_countries AS e + JOIN customers AS c ON c.Country = e.Country + JOIN invoices AS i ON i.CustomerId = c.CustomerId + GROUP BY c.Country +), ranked_sales AS ( + SELECT total_sales, + ROW_NUMBER() OVER (ORDER BY total_sales) AS rn, + COUNT(*) OVER () AS country_count + FROM country_sales +) +SELECT ROUND(AVG(total_sales), 3) AS median_total_sales +FROM ranked_sales +WHERE rn IN ((country_count + 1) / 2, (country_count + 2) / 2); diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local199.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local199.sql new file mode 100644 index 00000000..a9b297f0 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local199.sql @@ -0,0 +1,18 @@ +WITH monthly_rentals AS ( + SELECT s.store_id, + CAST(strftime('%Y', r.rental_date) AS INTEGER) AS year, + CAST(strftime('%m', r.rental_date) AS INTEGER) AS month, + COUNT(*) AS total_rentals + FROM rental AS r + JOIN staff AS st ON st.staff_id = r.staff_id + JOIN store AS s ON s.store_id = st.store_id + GROUP BY s.store_id, year, month +), ranked_months AS ( + SELECT store_id, year, month, total_rentals, + RANK() OVER (PARTITION BY store_id ORDER BY total_rentals DESC) AS rental_rank + FROM monthly_rentals +) +SELECT store_id, year, month, total_rentals +FROM ranked_months +WHERE rental_rank = 1 +ORDER BY store_id, year, month; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local201.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local201.sql new file mode 100644 index 00000000..02ccaf14 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local201.sql @@ -0,0 +1,27 @@ +WITH dictionary AS ( + SELECT DISTINCT words COLLATE BINARY AS word + FROM word_list + WHERE length(words) BETWEEN 4 AND 5 +), positions(pos) AS ( + VALUES (1), (2), (3), (4), (5) +), signatures AS ( + SELECT word, pos, + group_concat(substr(word, pos, 1), '') OVER ( + PARTITION BY word COLLATE BINARY + ORDER BY substr(word, pos, 1) COLLATE BINARY + ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING + ) AS signature + FROM dictionary + JOIN positions ON pos <= length(word) +), counts AS ( + SELECT word, + count(*) OVER (PARTITION BY signature COLLATE BINARY) - 1 AS anagram_count + FROM signatures + WHERE pos = 1 +) +SELECT word, anagram_count +FROM counts +WHERE substr(word, 1, 1) COLLATE BINARY = 'r' + AND anagram_count > 0 +ORDER BY word COLLATE BINARY +LIMIT 10; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local209.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local209.sql new file mode 100644 index 00000000..8e5bc3de --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local209.sql @@ -0,0 +1,21 @@ +WITH store_totals AS ( + SELECT s.store_id, s.store_name, COUNT(*) AS total_orders + FROM orders AS o + JOIN stores AS s ON s.store_id = o.store_id + GROUP BY s.store_id, s.store_name +), top_stores AS ( + SELECT store_id, store_name, total_orders + FROM store_totals + WHERE total_orders = (SELECT MAX(total_orders) FROM store_totals) +), delivered AS ( + SELECT DISTINCT delivery_order_id + FROM deliveries + WHERE delivery_status = 'DELIVERED' +) +SELECT t.store_name, + 1.0 * COUNT(d.delivery_order_id) / t.total_orders AS delivered_order_ratio +FROM top_stores AS t +JOIN orders AS o ON o.store_id = t.store_id +LEFT JOIN delivered AS d ON d.delivery_order_id = o.delivery_order_id +GROUP BY t.store_id, t.store_name, t.total_orders +ORDER BY t.store_id; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local210.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local210.sql new file mode 100644 index 00000000..5080e939 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local210.sql @@ -0,0 +1,18 @@ +WITH hub_order_counts AS ( + SELECT + h.hub_id, + h.hub_name, + COUNT(CASE WHEN o.order_created_month = 2 THEN 1 END) AS february_orders, + COUNT(CASE WHEN o.order_created_month = 3 THEN 1 END) AS march_orders + FROM orders AS o + JOIN stores AS s ON s.store_id = o.store_id + JOIN hubs AS h ON h.hub_id = s.hub_id + WHERE o.order_status = 'FINISHED' + AND o.order_created_month IN (2, 3) + GROUP BY h.hub_id, h.hub_name +) +SELECT hub_name +FROM hub_order_counts +WHERE february_orders > 0 + AND 5 * march_orders > 6 * february_orders +ORDER BY hub_name; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local219.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local219.sql new file mode 100644 index 00000000..5c368981 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local219.sql @@ -0,0 +1,26 @@ +WITH appearances AS ( + SELECT league_id, home_team_api_id AS team_api_id, + CASE WHEN home_team_goal > away_team_goal THEN 1 ELSE 0 END AS won + FROM "Match" + UNION ALL + SELECT league_id, away_team_api_id AS team_api_id, + CASE WHEN away_team_goal > home_team_goal THEN 1 ELSE 0 END AS won + FROM "Match" +), win_totals AS ( + SELECT league_id, team_api_id, SUM(won) AS total_wins + FROM appearances + GROUP BY league_id, team_api_id +), ranked AS ( + SELECT w.league_id, t.team_long_name AS team_name, w.total_wins, + ROW_NUMBER() OVER ( + PARTITION BY w.league_id + ORDER BY w.total_wins, w.team_api_id, t.id + ) AS league_rank + FROM win_totals AS w + JOIN Team AS t ON t.team_api_id = w.team_api_id +) +SELECT l.name AS league_name, r.team_name, r.total_wins +FROM ranked AS r +JOIN League AS l ON l.id = r.league_id +WHERE r.league_rank = 1 +ORDER BY l.name, l.id; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local220.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local220.sql new file mode 100644 index 00000000..a201b30f --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local220.sql @@ -0,0 +1,51 @@ +WITH slots(slot) AS ( + VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10), (11), + (12), (13), (14), (15), (16), (17), (18), (19), (20), (21), (22) +), appearances AS ( + SELECT m.id AS match_id, + CASE s.slot + WHEN 1 THEN m.home_player_1 + WHEN 2 THEN m.home_player_2 + WHEN 3 THEN m.home_player_3 + WHEN 4 THEN m.home_player_4 + WHEN 5 THEN m.home_player_5 + WHEN 6 THEN m.home_player_6 + WHEN 7 THEN m.home_player_7 + WHEN 8 THEN m.home_player_8 + WHEN 9 THEN m.home_player_9 + WHEN 10 THEN m.home_player_10 + WHEN 11 THEN m.home_player_11 + WHEN 12 THEN m.away_player_1 + WHEN 13 THEN m.away_player_2 + WHEN 14 THEN m.away_player_3 + WHEN 15 THEN m.away_player_4 + WHEN 16 THEN m.away_player_5 + WHEN 17 THEN m.away_player_6 + WHEN 18 THEN m.away_player_7 + WHEN 19 THEN m.away_player_8 + WHEN 20 THEN m.away_player_9 + WHEN 21 THEN m.away_player_10 + WHEN 22 THEN m.away_player_11 + END AS player_api_id, + CASE + WHEN s.slot <= 11 AND m.home_team_goal > m.away_team_goal THEN 'Win' + WHEN s.slot > 11 AND m.away_team_goal > m.home_team_goal THEN 'Win' + ELSE 'Loss' + END AS outcome + FROM "Match" AS m + CROSS JOIN slots AS s + WHERE m.home_team_goal <> m.away_team_goal +), ranked AS ( + SELECT player_api_id, outcome, + DENSE_RANK() OVER ( + PARTITION BY outcome ORDER BY COUNT(DISTINCT match_id) DESC + ) AS outcome_rank + FROM appearances + WHERE player_api_id IS NOT NULL + GROUP BY player_api_id, outcome +) +SELECT r.outcome, p.player_name +FROM ranked AS r +JOIN Player AS p ON p.player_api_id = r.player_api_id +WHERE r.outcome_rank = 1 +ORDER BY r.outcome DESC, p.player_name; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local221.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local221.sql new file mode 100644 index 00000000..1cc7eb31 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local221.sql @@ -0,0 +1,15 @@ +WITH match_winners AS ( + SELECT home_team_api_id AS team_api_id + FROM "Match" + WHERE home_team_goal > away_team_goal + UNION ALL + SELECT away_team_api_id AS team_api_id + FROM "Match" + WHERE away_team_goal > home_team_goal +) +SELECT t.team_long_name AS team, COUNT(w.team_api_id) AS wins +FROM Team AS t +LEFT JOIN match_winners AS w ON w.team_api_id = t.team_api_id +GROUP BY t.team_api_id, t.team_long_name +ORDER BY wins DESC, team ASC, t.team_api_id ASC +LIMIT 10; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local228.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local228.sql new file mode 100644 index 00000000..ffe41bad --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local228.sql @@ -0,0 +1,38 @@ +WITH batting_totals AS ( + SELECT m.season_id, b.striker AS player_id, SUM(s.runs_scored) AS total_runs + FROM batsman_scored AS s + JOIN ball_by_ball AS b USING (match_id, innings_no, over_id, ball_id) + JOIN "match" AS m ON m.match_id = b.match_id + GROUP BY m.season_id, b.striker +), bowling_totals AS ( + SELECT m.season_id, b.bowler AS player_id, COUNT(*) AS total_wickets + FROM wicket_taken AS w + JOIN ball_by_ball AS b USING (match_id, innings_no, over_id, ball_id) + JOIN "match" AS m ON m.match_id = b.match_id + WHERE LOWER(TRIM(w.kind_out)) NOT IN ('run out', 'hit wicket', 'retired hurt') + GROUP BY m.season_id, b.bowler +), ranked_batsmen AS ( + SELECT season_id, player_id, total_runs, + ROW_NUMBER() OVER ( + PARTITION BY season_id ORDER BY total_runs DESC, player_id ASC + ) AS position + FROM batting_totals +), ranked_bowlers AS ( + SELECT season_id, player_id, total_wickets, + ROW_NUMBER() OVER ( + PARTITION BY season_id ORDER BY total_wickets DESC, player_id ASC + ) AS position + FROM bowling_totals +) +SELECT bat.season_id, + batter.player_name AS batsman_name, + bat.total_runs, + bowler.player_name AS bowler_name, + bowl.total_wickets +FROM ranked_batsmen AS bat +JOIN ranked_bowlers AS bowl + ON bowl.season_id = bat.season_id AND bowl.position = bat.position +JOIN player AS batter ON batter.player_id = bat.player_id +JOIN player AS bowler ON bowler.player_id = bowl.player_id +WHERE bat.position <= 3 +ORDER BY bat.season_id ASC, bat.position ASC; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local229.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local229.sql new file mode 100644 index 00000000..b913fc18 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local229.sql @@ -0,0 +1,36 @@ +WITH deliveries AS ( + SELECT b.match_id, + b.innings_no, + MIN(b.striker, b.non_striker) AS batter_a, + MAX(b.striker, b.non_striker) AS batter_b, + b.striker, + s.runs_scored + FROM ball_by_ball AS b + LEFT JOIN batsman_scored AS s + USING (match_id, innings_no, over_id, ball_id) +), pair_scores AS ( + SELECT match_id, + batter_a, + batter_b, + SUM(CASE WHEN striker = batter_a THEN COALESCE(runs_scored, 0) ELSE 0 END) AS score_a, + SUM(CASE WHEN striker = batter_b THEN COALESCE(runs_scored, 0) ELSE 0 END) AS score_b + FROM deliveries + GROUP BY match_id, innings_no, batter_a, batter_b +), ranked AS ( + SELECT *, + score_a + score_b AS partnership_score, + DENSE_RANK() OVER ( + PARTITION BY match_id + ORDER BY score_a + score_b DESC + ) AS partnership_rank + FROM pair_scores +) +SELECT match_id, + CASE WHEN score_a > score_b THEN batter_a ELSE batter_b END AS player_1, + CASE WHEN score_a > score_b THEN batter_b ELSE batter_a END AS player_2, + MAX(score_a, score_b) AS player_1_score, + MIN(score_a, score_b) AS player_2_score, + partnership_score +FROM ranked +WHERE partnership_rank = 1 +ORDER BY match_id, player_1, player_2; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local230.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local230.sql new file mode 100644 index 00000000..fa58e930 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local230.sql @@ -0,0 +1,21 @@ +WITH highly_rated_movie_genres AS ( + SELECT g.movie_id, g.genre + FROM genre AS g + JOIN ratings AS r ON r.movie_id = g.movie_id + WHERE r.avg_rating > 8 +), top_genres AS ( + SELECT genre + FROM highly_rated_movie_genres + GROUP BY genre + ORDER BY COUNT(DISTINCT movie_id) DESC, genre ASC + LIMIT 3 +) +SELECT n.name AS director_name, + COUNT(DISTINCT dm.movie_id) AS movie_count +FROM highly_rated_movie_genres AS hg +JOIN top_genres AS tg ON tg.genre = hg.genre +JOIN director_mapping AS dm ON dm.movie_id = hg.movie_id +JOIN names AS n ON n.id = dm.name_id +GROUP BY n.id, n.name +ORDER BY movie_count DESC, director_name ASC, n.id ASC +LIMIT 4; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local244.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local244.sql new file mode 100644 index 00000000..9e25259d --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local244.sql @@ -0,0 +1,27 @@ +WITH duration_bounds AS ( + SELECT (MIN(Milliseconds) + AVG(Milliseconds)) / 2.0 AS short_max_ms, + (AVG(Milliseconds) + MAX(Milliseconds)) / 2.0 AS medium_max_ms + FROM Track +), classified_tracks AS ( + SELECT t.TrackId, + t.Milliseconds / 60000.0 AS duration_minutes, + CASE + WHEN t.Milliseconds <= b.short_max_ms THEN 'Short' + WHEN t.Milliseconds <= b.medium_max_ms THEN 'Medium' + ELSE 'Long' + END AS category + FROM Track AS t + CROSS JOIN duration_bounds AS b +), track_revenue AS ( + SELECT TrackId, SUM(UnitPrice * Quantity) AS revenue + FROM InvoiceLine + GROUP BY TrackId +) +SELECT c.category, + MIN(c.duration_minutes) AS min_minutes, + MAX(c.duration_minutes) AS max_minutes, + ROUND(SUM(r.revenue), 2) AS total_revenue +FROM classified_tracks AS c +LEFT JOIN track_revenue AS r ON r.TrackId = c.TrackId +GROUP BY c.category +ORDER BY min_minutes; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local253.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local253.sql new file mode 100644 index 00000000..1b7d5116 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local253.sql @@ -0,0 +1,53 @@ +WITH RECURSIVE salary_characters (Location, CompanyName, remaining, digits) AS ( + SELECT Location, CompanyName, COALESCE(Salary, ''), '' + FROM SalaryDataset + + UNION ALL + + SELECT Location, + CompanyName, + SUBSTR(remaining, 2), + digits || CASE + WHEN SUBSTR(remaining, 1, 1) GLOB '[0-9]' + THEN SUBSTR(remaining, 1, 1) + ELSE '' + END + FROM salary_characters + WHERE remaining <> '' +), +cleaned_salaries AS ( + SELECT Location, + CompanyName, + CAST(NULLIF(digits, '') AS REAL) AS salary_amount + FROM salary_characters + WHERE remaining = '' +), +national_average AS ( + SELECT AVG(salary_amount) AS country_average + FROM cleaned_salaries +), +city_company_averages AS ( + SELECT Location, CompanyName, AVG(salary_amount) AS city_company_average + FROM cleaned_salaries + WHERE Location IN ('Mumbai', 'Pune', 'New Delhi', 'Hyderabad') + GROUP BY Location, CompanyName + HAVING COUNT(salary_amount) > 0 +), +ranked_companies AS ( + SELECT Location, + CompanyName, + city_company_average, + ROW_NUMBER() OVER ( + PARTITION BY Location + ORDER BY city_company_average DESC, CompanyName ASC + ) AS city_rank + FROM city_company_averages +) +SELECT r.Location AS "Location", + r.CompanyName AS "Company Name", + r.city_company_average AS "Average Salary in State", + n.country_average AS "Average Salary in Country" +FROM ranked_companies AS r +CROSS JOIN national_average AS n +WHERE r.city_rank <= 5 +ORDER BY r.Location, r.city_rank; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local258.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local258.sql new file mode 100644 index 00000000..5f11c157 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local258.sql @@ -0,0 +1,40 @@ +WITH match_bowling AS ( + SELECT + b.bowler, + b.match_id, + SUM(CASE WHEN w.kind_out IN ( + 'bowled', 'caught', 'caught and bowled', 'lbw', 'stumped', 'hit wicket' + ) THEN 1 ELSE 0 END) AS wickets, + SUM(COALESCE(s.runs_scored, 0)) AS runs_conceded, + SUM(CASE WHEN e.extra_type IN ('wides', 'noballs') + THEN 0 ELSE 1 END) AS legal_balls + FROM ball_by_ball AS b + LEFT JOIN batsman_scored AS s USING (match_id, innings_no, over_id, ball_id) + LEFT JOIN wicket_taken AS w USING (match_id, innings_no, over_id, ball_id) + LEFT JOIN extra_runs AS e USING (match_id, innings_no, over_id, ball_id) + WHERE b.bowler IS NOT NULL + GROUP BY b.bowler, b.match_id +), ranked AS ( + SELECT + bowler, + wickets, + runs_conceded, + SUM(wickets) OVER (PARTITION BY bowler) AS total_wickets, + SUM(runs_conceded) OVER (PARTITION BY bowler) AS total_runs, + SUM(legal_balls) OVER (PARTITION BY bowler) AS total_balls, + ROW_NUMBER() OVER ( + PARTITION BY bowler + ORDER BY wickets DESC, runs_conceded ASC, match_id ASC + ) AS match_rank + FROM match_bowling +) +SELECT + COALESCE(p.player_name, CAST(r.bowler AS TEXT)) AS bowler, + r.total_wickets, + 6.0 * r.total_runs / NULLIF(r.total_balls, 0) AS economy_rate, + 1.0 * r.total_balls / NULLIF(r.total_wickets, 0) AS strike_rate, + r.wickets || '-' || r.runs_conceded AS best_bowling_performance +FROM ranked AS r +LEFT JOIN player AS p ON p.player_id = r.bowler +WHERE r.match_rank = 1 +ORDER BY r.total_wickets DESC, bowler ASC; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local259.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local259.sql new file mode 100644 index 00000000..888a52d3 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local259.sql @@ -0,0 +1,101 @@ +WITH role_counts AS ( + SELECT player_id, role, COUNT(DISTINCT match_id) AS role_matches + FROM player_match + GROUP BY player_id, role +), +ranked_roles AS ( + SELECT player_id, role, + SUM(role_matches) OVER (PARTITION BY player_id) AS total_matches_played, + ROW_NUMBER() OVER ( + PARTITION BY player_id ORDER BY role_matches DESC, role + ) AS role_rank + FROM role_counts +), +deliveries AS ( + SELECT b.match_id, b.innings_no, b.over_id, b.ball_id, + b.striker, b.non_striker, b.bowler, + COALESCE(s.runs_scored, 0) AS runs_scored + FROM ball_by_ball AS b + LEFT JOIN batsman_scored AS s + USING (match_id, innings_no, over_id, ball_id) +), +batting_contributions AS ( + SELECT striker AS player_id, match_id, + SUM(runs_scored) AS runs, COUNT(*) AS balls_faced + FROM deliveries + GROUP BY striker, match_id + UNION ALL + SELECT non_striker AS player_id, match_id, 0 AS runs, 0 AS balls_faced + FROM deliveries + GROUP BY non_striker, match_id +), +batting_by_match AS ( + SELECT player_id, match_id, + SUM(runs) AS runs, SUM(balls_faced) AS balls_faced + FROM batting_contributions + GROUP BY player_id, match_id +), +batting_totals AS ( + SELECT player_id, + SUM(runs) AS total_runs, + MAX(runs) AS highest_score, + COUNT(CASE WHEN runs >= 30 THEN 1 END) AS matches_30_plus, + COUNT(CASE WHEN runs >= 50 THEN 1 END) AS matches_50_plus, + COUNT(CASE WHEN runs >= 100 THEN 1 END) AS matches_100_plus, + SUM(balls_faced) AS total_balls_faced + FROM batting_by_match + GROUP BY player_id +), +dismissals AS ( + SELECT player_out AS player_id, COUNT(*) AS total_dismissals + FROM wicket_taken + WHERE kind_out <> 'retired hurt' + GROUP BY player_out +), +bowling_by_match AS ( + SELECT d.bowler AS player_id, d.match_id, + SUM(d.runs_scored) AS runs_conceded, + COUNT(*) AS balls_bowled, + COUNT(CASE WHEN w.kind_out IN ( + 'bowled', 'caught', 'caught and bowled', 'hit wicket', 'lbw', 'stumped' + ) THEN 1 END) AS wickets + FROM deliveries AS d + LEFT JOIN wicket_taken AS w + USING (match_id, innings_no, over_id, ball_id) + GROUP BY d.bowler, d.match_id +), +ranked_bowling AS ( + SELECT player_id, wickets, runs_conceded, + SUM(wickets) OVER (PARTITION BY player_id) AS total_wickets, + 6.0 * SUM(runs_conceded) OVER (PARTITION BY player_id) + / NULLIF(SUM(balls_bowled) OVER (PARTITION BY player_id), 0) AS economy_rate, + ROW_NUMBER() OVER ( + PARTITION BY player_id + ORDER BY wickets DESC, runs_conceded ASC, match_id + ) AS bowling_rank + FROM bowling_by_match +) +SELECT p.player_id, + p.player_name, + r.role AS most_frequent_role, + p.batting_hand, + p.bowling_skill, + COALESCE(b.total_runs, 0) AS total_runs, + COALESCE(r.total_matches_played, 0) AS total_matches_played, + COALESCE(d.total_dismissals, 0) AS total_dismissals, + 1.0 * COALESCE(b.total_runs, 0) / NULLIF(d.total_dismissals, 0) AS batting_average, + b.highest_score, + COALESCE(b.matches_30_plus, 0) AS matches_30_plus, + COALESCE(b.matches_50_plus, 0) AS matches_50_plus, + COALESCE(b.matches_100_plus, 0) AS matches_100_plus, + COALESCE(b.total_balls_faced, 0) AS total_balls_faced, + 100.0 * b.total_runs / NULLIF(b.total_balls_faced, 0) AS strike_rate, + COALESCE(w.total_wickets, 0) AS total_wickets, + w.economy_rate, + w.wickets || '-' || w.runs_conceded AS best_bowling_performance +FROM player AS p +LEFT JOIN ranked_roles AS r ON r.player_id = p.player_id AND r.role_rank = 1 +LEFT JOIN batting_totals AS b ON b.player_id = p.player_id +LEFT JOIN dismissals AS d ON d.player_id = p.player_id +LEFT JOIN ranked_bowling AS w ON w.player_id = p.player_id AND w.bowling_rank = 1 +ORDER BY p.player_id; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local262.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local262.sql new file mode 100644 index 00000000..ee1c9730 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local262.sql @@ -0,0 +1,28 @@ +WITH non_stack_max AS ( + SELECT name, version, step, MAX(test_score) AS max_test_score + FROM model_score + WHERE model <> 'Stack' AND step IN (1, 2, 3) + GROUP BY name, version, step +), stack_wins AS ( + SELECT n.name, COUNT(*) AS win_count + FROM non_stack_max AS n + WHERE EXISTS ( + SELECT 1 + FROM model_score AS s + WHERE s.name = n.name + AND s.version = n.version + AND s.step = n.step + AND s.model = 'Stack' + AND s.test_score > n.max_test_score + ) + GROUP BY n.name +) +SELECT p.name +FROM problem AS p +JOIN stack_wins AS w ON w.name = p.name +WHERE w.win_count > ( + SELECT COUNT(*) + FROM solution AS sol + WHERE sol.name = p.name +) +ORDER BY p.name; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local263.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local263.sql new file mode 100644 index 00000000..153fc0f2 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local263.sql @@ -0,0 +1,16 @@ +WITH model_statuses AS ( + SELECT DISTINCT name, version, L1_model, status + FROM stack_ok +), status_counts AS ( + SELECT status, L1_model, COUNT(*) AS occurrence_count + FROM model_statuses + GROUP BY status, L1_model +), ranked AS ( + SELECT status, L1_model, occurrence_count, + DENSE_RANK() OVER (PARTITION BY status ORDER BY occurrence_count DESC) AS status_rank + FROM status_counts +) +SELECT status, L1_model, occurrence_count +FROM ranked +WHERE status_rank = 1 +ORDER BY status, L1_model; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local269.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local269.sql new file mode 100644 index 00000000..05df55ed --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local269.sql @@ -0,0 +1,27 @@ +WITH RECURSIVE final_combinations AS ( + SELECT p.id + FROM packaging AS p + WHERE EXISTS ( + SELECT 1 FROM packaging_relations AS r WHERE r.packaging_id = p.id + ) + AND NOT EXISTS ( + SELECT 1 FROM packaging_relations AS r WHERE r.contains_id = p.id + ) +), expanded(root_id, item_id, quantity) AS ( + SELECT f.id, r.contains_id, r.qty + FROM final_combinations AS f + JOIN packaging_relations AS r ON r.packaging_id = f.id + UNION ALL + SELECT e.root_id, r.contains_id, e.quantity * r.qty + FROM expanded AS e + JOIN packaging_relations AS r ON r.packaging_id = e.item_id +), combination_totals AS ( + SELECT e.root_id, SUM(e.quantity) AS total_quantity + FROM expanded AS e + WHERE NOT EXISTS ( + SELECT 1 FROM packaging_relations AS r WHERE r.packaging_id = e.item_id + ) + GROUP BY e.root_id +) +SELECT AVG(total_quantity) AS average_total_quantity +FROM combination_totals; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local270.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local270.sql new file mode 100644 index 00000000..4f7c7a79 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local270.sql @@ -0,0 +1,26 @@ +WITH RECURSIVE contents (container_id, item_id, quantity) AS ( + SELECT p.id, r.contains_id, r.qty + FROM packaging AS p + JOIN packaging_relations AS r ON r.packaging_id = p.id + WHERE NOT EXISTS ( + SELECT 1 + FROM packaging_relations AS parent + WHERE parent.contains_id = p.id + ) + + UNION ALL + + SELECT c.container_id, r.contains_id, c.quantity * r.qty + FROM contents AS c + JOIN packaging_relations AS r ON r.packaging_id = c.item_id +), qualifying_items AS ( + SELECT container_id, item_id + FROM contents + GROUP BY container_id, item_id + HAVING SUM(quantity) > 500 +) +SELECT container.name AS container_name, item.name AS item_name +FROM qualifying_items AS q +JOIN packaging AS container ON container.id = q.container_id +JOIN packaging AS item ON item.id = q.item_id +ORDER BY container_name, item_name; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local272.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local272.sql new file mode 100644 index 00000000..50aa9da3 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local272.sql @@ -0,0 +1,43 @@ +WITH order_demand AS ( + SELECT id AS order_line_id, + product_id, + COALESCE(SUM(qty) OVER ( + PARTITION BY product_id ORDER BY id + ROWS BETWEEN UNBOUNDED PRECEDING AND 1 PRECEDING + ), 0) AS demand_start, + SUM(qty) OVER ( + PARTITION BY product_id ORDER BY id + ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW + ) AS demand_end + FROM orderlines + WHERE order_id = 423 +), warehouse_supply AS ( + SELECT i.product_id, + l.id AS location_id, + l.aisle, + l.position, + COALESCE(SUM(i.qty) OVER ( + fifo ROWS BETWEEN UNBOUNDED PRECEDING AND 1 PRECEDING + ), 0) AS supply_start, + SUM(i.qty) OVER ( + fifo ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW + ) AS supply_end + FROM inventory AS i + JOIN locations AS l ON l.id = i.location_id + JOIN purchases AS p ON p.id = i.purchase_id + WHERE l.warehouse = 1 + AND i.qty > 0 + AND i.product_id IN (SELECT product_id FROM order_demand) + WINDOW fifo AS (PARTITION BY i.product_id ORDER BY p.purchased, i.qty, i.id) +) +SELECT d.order_line_id, + d.product_id, + s.aisle, + s.position, + SUM(MIN(d.demand_end, s.supply_end) - MAX(d.demand_start, s.supply_start)) AS pick_qty +FROM order_demand AS d +JOIN warehouse_supply AS s + ON s.product_id = d.product_id + AND MAX(d.demand_start, s.supply_start) < MIN(d.demand_end, s.supply_end) +GROUP BY d.order_line_id, d.product_id, s.location_id, s.aisle, s.position +ORDER BY d.order_line_id, MIN(s.supply_start), s.location_id; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local275.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local275.sql new file mode 100644 index 00000000..f5f604b3 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local275.sql @@ -0,0 +1,34 @@ +WITH moving_averages AS ( + SELECT product_id, + mth, + qty, + ROW_NUMBER() OVER (PARTITION BY product_id ORDER BY mth) AS month_no, + AVG(qty) OVER ( + PARTITION BY product_id ORDER BY mth + ROWS BETWEEN 5 PRECEDING AND 6 FOLLOWING + ) AS avg_left, + AVG(qty) OVER ( + PARTITION BY product_id ORDER BY mth + ROWS BETWEEN 6 PRECEDING AND 5 FOLLOWING + ) AS avg_right + FROM monthly_sales + WHERE mth >= '2016-01-01' +), ratios AS ( + SELECT product_id, + qty / NULLIF((avg_left + avg_right) / 2.0, 0) AS sales_to_cma + FROM moving_averages + WHERE month_no BETWEEN 7 AND 30 + AND mth >= '2017-01-01' + AND mth < '2018-01-01' +), qualifying_products AS ( + SELECT product_id + FROM ratios + GROUP BY product_id + HAVING COUNT(*) = 12 + AND COUNT(sales_to_cma) = 12 + AND MIN(sales_to_cma) > 2 +) +SELECT p.name +FROM qualifying_products AS q +JOIN products AS p ON p.id = q.product_id +ORDER BY p.name; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local283.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local283.sql new file mode 100644 index 00000000..51705a96 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local283.sql @@ -0,0 +1,36 @@ +WITH match_points AS ( + SELECT season, league_id, country_id, home_team_api_id AS team_api_id, + CASE + WHEN home_team_goal > away_team_goal THEN 3 + WHEN home_team_goal = away_team_goal THEN 1 + ELSE 0 + END AS points + FROM Match + UNION ALL + SELECT season, league_id, country_id, away_team_api_id AS team_api_id, + CASE + WHEN away_team_goal > home_team_goal THEN 3 + WHEN away_team_goal = home_team_goal THEN 1 + ELSE 0 + END AS points + FROM Match +), season_totals AS ( + SELECT season, league_id, country_id, team_api_id, SUM(points) AS total_points + FROM match_points + GROUP BY season, league_id, country_id, team_api_id +), ranked AS ( + SELECT season, league_id, country_id, team_api_id, total_points, + RANK() OVER (PARTITION BY season ORDER BY total_points DESC) AS points_rank + FROM season_totals +) +SELECT r.season, + t.team_long_name AS team_name, + l.name AS league, + c.name AS country, + r.total_points +FROM ranked AS r +JOIN Team AS t ON t.team_api_id = r.team_api_id +JOIN League AS l ON l.id = r.league_id +JOIN Country AS c ON c.id = r.country_id +WHERE r.points_rank = 1 +ORDER BY r.season, league, country, team_name; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local284.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local284.sql new file mode 100644 index 00000000..f0c0e2ca --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local284.sql @@ -0,0 +1,24 @@ +WITH item_rates AS ( + SELECT l."loss_rate_%" AS loss_rate + FROM veg_loss_rate_df AS l + JOIN (SELECT DISTINCT item_code FROM veg_whsle_df) AS w + ON w.item_code = l.item_code +), mean_rate AS ( + SELECT AVG(loss_rate) AS average_loss_rate + FROM item_rates +), stats AS ( + SELECT m.average_loss_rate, + SQRT(AVG((r.loss_rate - m.average_loss_rate) * + (r.loss_rate - m.average_loss_rate))) AS stddev + FROM mean_rate AS m + LEFT JOIN item_rates AS r ON 1 = 1 + GROUP BY m.average_loss_rate +) +SELECT s.average_loss_rate, + COUNT(CASE WHEN r.loss_rate < s.average_loss_rate - s.stddev THEN 1 END) AS items_below_one_stddev, + COUNT(CASE WHEN r.loss_rate > s.average_loss_rate + s.stddev THEN 1 END) AS items_above_one_stddev, + COUNT(CASE WHEN r.loss_rate BETWEEN s.average_loss_rate - s.stddev + AND s.average_loss_rate + s.stddev THEN 1 END) AS items_within_one_stddev +FROM stats AS s +LEFT JOIN item_rates AS r ON 1 = 1 +GROUP BY s.average_loss_rate; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local297.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local297.sql new file mode 100644 index 00000000..c5196f6e --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local297.sql @@ -0,0 +1,39 @@ +WITH monthly_nets AS ( + SELECT customer_id, + DATE(txn_date, 'start of month') AS month_start, + SUM(CASE txn_type + WHEN 'deposit' THEN txn_amount + WHEN 'withdrawal' THEN -txn_amount + END) AS monthly_net + FROM customer_transactions + WHERE txn_type IN ('deposit', 'withdrawal') + GROUP BY customer_id, DATE(txn_date, 'start of month') +), monthly_balances AS ( + SELECT customer_id, + month_start, + SUM(monthly_net) OVER ( + PARTITION BY customer_id + ORDER BY month_start + ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW + ) AS closing_balance + FROM monthly_nets +), ranked_balances AS ( + SELECT closing_balance, + LAG(closing_balance, 1, 0) OVER ( + PARTITION BY customer_id ORDER BY month_start + ) AS prior_balance, + ROW_NUMBER() OVER ( + PARTITION BY customer_id ORDER BY month_start DESC + ) AS month_rank + FROM monthly_balances +), latest_growth AS ( + SELECT CASE + WHEN prior_balance = 0 THEN closing_balance * 100.0 + ELSE 100.0 * (closing_balance - prior_balance) / prior_balance + END AS growth_pct + FROM ranked_balances + WHERE month_rank = 1 +) +SELECT 100.0 * COUNT(CASE WHEN growth_pct > 5 THEN 1 END) + / NULLIF(COUNT(*), 0) AS percentage_of_customers +FROM latest_growth; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local298.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local298.sql new file mode 100644 index 00000000..764fad85 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local298.sql @@ -0,0 +1,29 @@ +WITH RECURSIVE month_bounds AS ( + SELECT DATE(MIN(txn_date), 'start of month') AS first_month, + DATE(MAX(txn_date), 'start of month') AS last_month + FROM customer_transactions +), months(month_start, last_month) AS ( + SELECT DATE(first_month, '+1 month'), last_month + FROM month_bounds + WHERE first_month < last_month + UNION ALL + SELECT DATE(month_start, '+1 month'), last_month + FROM months + WHERE month_start < last_month +), customer_balances AS ( + SELECT m.month_start, + t.customer_id, + SUM(CASE t.txn_type + WHEN 'deposit' THEN t.txn_amount + WHEN 'purchase' THEN -t.txn_amount + WHEN 'withdrawal' THEN -t.txn_amount + END) AS balance + FROM months AS m + JOIN customer_transactions AS t ON t.txn_date < m.month_start + GROUP BY m.month_start, t.customer_id +) +SELECT month_start AS month, + SUM(MAX(balance, 0)) AS previous_total_balance +FROM customer_balances +GROUP BY month_start +ORDER BY month_start; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local299.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local299.sql new file mode 100644 index 00000000..8e1031c2 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local299.sql @@ -0,0 +1,63 @@ +WITH RECURSIVE + daily_transactions AS ( + SELECT customer_id, + DATE(txn_date) AS transaction_date, + SUM(CASE WHEN txn_type = 'deposit' THEN txn_amount + ELSE -txn_amount END) AS net_amount + FROM customer_transactions + GROUP BY customer_id, DATE(txn_date) + ), + reporting_end AS ( + SELECT MAX(transaction_date) AS last_date + FROM daily_transactions + ), + customer_days(customer_id, balance_date, baseline_month) AS ( + SELECT customer_id, + MIN(transaction_date), + STRFTIME('%Y-%m', MIN(transaction_date)) + FROM daily_transactions + GROUP BY customer_id + + UNION ALL + + SELECT d.customer_id, DATE(d.balance_date, '+1 day'), d.baseline_month + FROM customer_days AS d + CROSS JOIN reporting_end AS e + WHERE d.balance_date < e.last_date + ), + daily_balances AS ( + SELECT d.customer_id, d.balance_date, d.baseline_month, + SUM(COALESCE(t.net_amount, 0)) OVER ( + PARTITION BY d.customer_id + ORDER BY d.balance_date + ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW + ) AS daily_balance + FROM customer_days AS d + LEFT JOIN daily_transactions AS t + ON t.customer_id = d.customer_id + AND t.transaction_date = d.balance_date + ), + rolling_balances AS ( + SELECT customer_id, STRFTIME('%Y-%m', balance_date) AS month, + baseline_month, + AVG(daily_balance) OVER trailing_30_days AS average_balance, + COUNT(*) OVER trailing_30_days AS days_in_window + FROM daily_balances + WINDOW trailing_30_days AS ( + PARTITION BY customer_id + ORDER BY balance_date + ROWS BETWEEN 29 PRECEDING AND CURRENT ROW + ) + ), + customer_monthly_max AS ( + SELECT customer_id, month, + MAX(CASE WHEN average_balance < 0 THEN 0.0 + ELSE average_balance END) AS max_30_day_average + FROM rolling_balances + WHERE days_in_window = 30 AND month > baseline_month + GROUP BY customer_id, month + ) +SELECT month, SUM(max_30_day_average) AS total_max_30_day_average_balance +FROM customer_monthly_max +GROUP BY month +ORDER BY month; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local300.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local300.sql new file mode 100644 index 00000000..ac231fe5 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local300.sql @@ -0,0 +1,45 @@ +WITH RECURSIVE daily_activity AS ( + SELECT customer_id, + DATE(txn_date) AS balance_date, + SUM(CASE + WHEN txn_type = 'deposit' THEN txn_amount + WHEN txn_type IN ('purchase', 'withdrawal') THEN -txn_amount + END) AS net_amount + FROM customer_transactions + GROUP BY customer_id, DATE(txn_date) +), +customer_dates AS ( + SELECT customer_id, + MIN(balance_date) AS balance_date, + MAX(balance_date) AS last_date + FROM daily_activity + GROUP BY customer_id + UNION ALL + SELECT customer_id, DATE(balance_date, '+1 day'), last_date + FROM customer_dates + WHERE balance_date < last_date +), +daily_balances AS ( + SELECT d.customer_id, + d.balance_date, + SUM(COALESCE(a.net_amount, 0)) OVER ( + PARTITION BY d.customer_id + ORDER BY d.balance_date + ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW + ) AS balance + FROM customer_dates AS d + LEFT JOIN daily_activity AS a + ON a.customer_id = d.customer_id + AND a.balance_date = d.balance_date +), +customer_monthly_max AS ( + SELECT customer_id, + STRFTIME('%Y-%m', balance_date) AS month, + MAX(CASE WHEN balance < 0 THEN 0 ELSE balance END) AS max_daily_balance + FROM daily_balances + GROUP BY customer_id, STRFTIME('%Y-%m', balance_date) +) +SELECT month, SUM(max_daily_balance) AS monthly_total +FROM customer_monthly_max +GROUP BY month +ORDER BY month; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local301.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local301.sql new file mode 100644 index 00000000..7a5e6968 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local301.sql @@ -0,0 +1,16 @@ +WITH periods(year, cutoff) AS ( + VALUES (2018, '2018-06-15'), (2019, '2019-06-15'), (2020, '2020-06-15') +), totals AS ( + SELECT p.year, + SUM(CASE WHEN s.week_date < p.cutoff THEN s.sales END) AS sales_before, + SUM(CASE WHEN s.week_date >= p.cutoff THEN s.sales END) AS sales_after + FROM periods AS p + LEFT JOIN cleaned_weekly_sales AS s + ON s.week_date >= date(p.cutoff, '-28 days') + AND s.week_date < date(p.cutoff, '+28 days') + GROUP BY p.year +) +SELECT year, + ROUND(100.0 * (sales_after - sales_before) / NULLIF(sales_before, 0), 2) AS sales_pct_change +FROM totals +ORDER BY year; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local302.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local302.sql new file mode 100644 index 00000000..dcf0ee2e --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local302.sql @@ -0,0 +1,37 @@ +WITH sales_window AS ( + SELECT week_date, region, platform, age_band, demographic, customer_type, sales + FROM cleaned_weekly_sales + WHERE week_date >= date('2020-06-15', '-84 days') + AND week_date < date('2020-06-15', '+84 days') +), +attribute_sales AS ( + SELECT 'region' AS attribute_type, region AS attribute_value, week_date, sales + FROM sales_window + UNION ALL + SELECT 'platform', platform, week_date, sales FROM sales_window + UNION ALL + SELECT 'age_band', age_band, week_date, sales FROM sales_window + UNION ALL + SELECT 'demographic', demographic, week_date, sales FROM sales_window + UNION ALL + SELECT 'customer_type', customer_type, week_date, sales FROM sales_window +), +value_totals AS ( + SELECT attribute_type, + attribute_value, + SUM(CASE WHEN week_date < '2020-06-15' THEN sales ELSE 0 END) AS sales_before, + SUM(CASE WHEN week_date >= '2020-06-15' THEN sales ELSE 0 END) AS sales_after + FROM attribute_sales + GROUP BY attribute_type, attribute_value +), +type_averages AS ( + SELECT attribute_type, + AVG(100.0 * (sales_after - sales_before) / NULLIF(sales_before, 0)) AS avg_percentage_change + FROM value_totals + GROUP BY attribute_type +) +SELECT attribute_type, avg_percentage_change +FROM type_averages +WHERE avg_percentage_change = (SELECT MIN(avg_percentage_change) FROM type_averages) + AND avg_percentage_change < 0 +ORDER BY attribute_type; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local309.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local309.sql new file mode 100644 index 00000000..e05f572b --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local309.sql @@ -0,0 +1,26 @@ +WITH ranked_drivers AS ( + SELECT r.year, ds.driver_id, + RANK() OVER ( + PARTITION BY r.year + ORDER BY r.round DESC, ds.points DESC + ) AS points_rank + FROM races AS r + JOIN driver_standings AS ds ON ds.race_id = r.race_id +), ranked_constructors AS ( + SELECT r.year, cs.constructor_id, + RANK() OVER ( + PARTITION BY r.year + ORDER BY r.round DESC, cs.points DESC + ) AS points_rank + FROM races AS r + JOIN constructor_standings AS cs ON cs.race_id = r.race_id +) +SELECT s.year, + d.full_name AS driver_full_name, + c.name AS constructor_name +FROM seasons AS s +LEFT JOIN ranked_drivers AS rd ON rd.year = s.year AND rd.points_rank = 1 +LEFT JOIN drivers AS d ON d.driver_id = rd.driver_id +LEFT JOIN ranked_constructors AS rc ON rc.year = s.year AND rc.points_rank = 1 +LEFT JOIN constructors AS c ON c.constructor_id = rc.constructor_id +ORDER BY s.year, d.full_name, c.name; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local311.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local311.sql new file mode 100644 index 00000000..8384a6e3 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local311.sql @@ -0,0 +1,15 @@ +SELECT + c.name AS constructor_name, + r.year, + ds.points + cs.points AS combined_points +FROM team_driver_ranks AS tdr +JOIN constructors AS c ON c.constructor_id = tdr.constructor_id +JOIN races AS r ON r.year = tdr.year +JOIN constructor_standings AS cs + ON cs.race_id = r.race_id AND cs.constructor_id = tdr.constructor_id +JOIN driver_standings AS ds + ON ds.race_id = r.race_id AND ds.driver_id = tdr.driver_id +WHERE tdr.team_driver_rank = 1 + AND r.round = (SELECT MAX(r2.round) FROM races AS r2 WHERE r2.year = r.year) +ORDER BY combined_points DESC, r.year DESC, c.constructor_id +LIMIT 3; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local329.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local329.sql new file mode 100644 index 00000000..b11cfc2e --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local329.sql @@ -0,0 +1,12 @@ +SELECT COUNT(DISTINCT i.session) AS unique_sessions +FROM form_log AS i +WHERE i.path = '/regist/input' + AND i.action = 'view' + AND EXISTS ( + SELECT 1 + FROM form_log AS c + WHERE c.session = i.session + AND c.path = '/regist/confirm' + AND c.action = 'view' + AND c.stamp > i.stamp + ); diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local330.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local330.sql new file mode 100644 index 00000000..64801778 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local330.sql @@ -0,0 +1,15 @@ +WITH bounds AS ( + SELECT session, MIN(stamp) AS first_stamp, MAX(stamp) AS last_stamp + FROM activity_log + GROUP BY session +), endpoints AS ( + SELECT DISTINCT a.session, a.path + FROM activity_log AS a + JOIN bounds AS b ON a.session = b.session + WHERE a.stamp = b.first_stamp OR a.stamp = b.last_stamp +) +SELECT p.path, COUNT(e.session) AS unique_session_count +FROM (SELECT DISTINCT path FROM activity_log) AS p +LEFT JOIN endpoints AS e ON e.path = p.path +GROUP BY p.path +ORDER BY unique_session_count DESC, p.path; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local331.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local331.sql new file mode 100644 index 00000000..6479269f --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local331.sql @@ -0,0 +1,16 @@ +WITH visits AS ( + SELECT + path, + LAG(path, 1) OVER visit_order AS previous_path, + LAG(path, 2) OVER visit_order AS second_previous_path + FROM activity_log + WHERE action = 'view' + WINDOW visit_order AS (PARTITION BY session ORDER BY stamp, rowid) +) +SELECT path AS third_page, COUNT(*) AS visit_count +FROM visits +WHERE previous_path = '/detail' + AND second_previous_path = '/detail' +GROUP BY path +ORDER BY visit_count DESC, third_page ASC +LIMIT 3; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local354.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local354.sql new file mode 100644 index 00000000..f1b8ed81 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local354.sql @@ -0,0 +1,28 @@ +WITH race_entries AS ( + SELECT ra.year, ra.round, re.driver_id, re.constructor_id + FROM results AS re + JOIN races AS ra ON ra.race_id = re.race_id + WHERE ra.year BETWEEN 1950 AND 1959 +), season_bounds AS ( + SELECT year, driver_id, MIN(round) AS first_round, MAX(round) AS last_round + FROM race_entries + GROUP BY year, driver_id + HAVING COUNT(DISTINCT round) >= 2 +) +SELECT d.full_name +FROM drivers AS d +WHERE EXISTS ( + SELECT 1 + FROM season_bounds AS sb + JOIN race_entries AS first_entry + ON first_entry.year = sb.year + AND first_entry.driver_id = sb.driver_id + AND first_entry.round = sb.first_round + JOIN race_entries AS last_entry + ON last_entry.year = sb.year + AND last_entry.driver_id = sb.driver_id + AND last_entry.round = sb.last_round + AND last_entry.constructor_id = first_entry.constructor_id + WHERE sb.driver_id = d.driver_id +) +ORDER BY d.full_name; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local355.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local355.sql new file mode 100644 index 00000000..62fd470d --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local355.sql @@ -0,0 +1,39 @@ +WITH race_calendar AS ( + SELECT r.race_id, r.year, r.round, + LAG(r.race_id) OVER (PARTITION BY r.year ORDER BY r.round) AS previous_race_id, + LEAD(r.race_id) OVER (PARTITION BY r.year ORDER BY r.round) AS next_race_id + FROM races AS r + WHERE EXISTS ( + SELECT 1 FROM results AS x WHERE x.race_id = r.race_id + ) +), driver_years AS ( + SELECT DISTINCT c.year, x.driver_id + FROM race_calendar AS c + JOIN results AS x ON x.race_id = c.race_id +), missed_races AS ( + SELECT d.year, d.driver_id, + MIN(c.round) AS first_missed_round, + MAX(c.round) AS last_missed_round + FROM driver_years AS d + JOIN race_calendar AS c ON c.year = d.year + LEFT JOIN results AS x ON x.race_id = c.race_id AND x.driver_id = d.driver_id + WHERE x.driver_id IS NULL + GROUP BY d.year, d.driver_id + HAVING COUNT(*) BETWEEN 1 AND 2 +) +SELECT AVG(m.first_missed_round) AS avg_first_missed_round, + AVG(m.last_missed_round) AS avg_last_missed_round +FROM missed_races AS m +JOIN race_calendar AS first_missed + ON first_missed.year = m.year AND first_missed.round = m.first_missed_round +JOIN race_calendar AS last_missed + ON last_missed.year = m.year AND last_missed.round = m.last_missed_round +WHERE EXISTS ( + SELECT 1 + FROM results AS before_gap + JOIN results AS after_gap ON after_gap.driver_id = before_gap.driver_id + WHERE before_gap.driver_id = m.driver_id + AND before_gap.race_id = first_missed.previous_race_id + AND after_gap.race_id = last_missed.next_race_id + AND before_gap.constructor_id <> after_gap.constructor_id +); diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local356.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local356.sql new file mode 100644 index 00000000..872e62fd --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local356.sql @@ -0,0 +1,35 @@ +WITH excluded_laps AS MATERIALIZED ( + SELECT race_id, driver_id, lap FROM pit_stops + UNION + SELECT race_id, driver_id, lap + 1 FROM pit_stops + UNION + SELECT race_id, driver_id, lap FROM retirements +), relative_positions AS ( + SELECT curr.driver_id, + ROW_NUMBER() OVER ( + PARTITION BY curr.race_id, curr.lap ORDER BY prev.position + ) AS previous_rank, + ROW_NUMBER() OVER ( + PARTITION BY curr.race_id, curr.lap ORDER BY curr.position + ) AS current_rank + FROM lap_times AS curr + JOIN lap_times AS prev + ON prev.race_id = curr.race_id + AND prev.driver_id = curr.driver_id + AND prev.lap = curr.lap - 1 + LEFT JOIN excluded_laps AS x + ON x.race_id = curr.race_id + AND x.driver_id = curr.driver_id + AND x.lap = curr.lap + WHERE curr.lap > 1 + AND x.race_id IS NULL +), net_losses AS ( + SELECT driver_id + FROM relative_positions + GROUP BY driver_id + HAVING SUM(current_rank - previous_rank) > 0 +) +SELECT d.full_name +FROM net_losses AS n +JOIN drivers AS d ON d.driver_id = n.driver_id +ORDER BY d.full_name; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local358.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local358.sql new file mode 100644 index 00000000..6bc4f839 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local358.sql @@ -0,0 +1,24 @@ +WITH age_categories(age_category, sort_order) AS ( + VALUES ('20s', 1), ('30s', 2), ('40s', 3), ('50s', 4), ('others', 5) +), ages AS ( + SELECT user_id, + CAST(strftime('%Y', 'now') AS INTEGER) + - CAST(strftime('%Y', birth_date) AS INTEGER) + - (strftime('%m-%d', 'now') < strftime('%m-%d', birth_date)) AS age + FROM mst_users +), categorized_users AS ( + SELECT user_id, + CASE + WHEN age BETWEEN 20 AND 29 THEN '20s' + WHEN age BETWEEN 30 AND 39 THEN '30s' + WHEN age BETWEEN 40 AND 49 THEN '40s' + WHEN age BETWEEN 50 AND 59 THEN '50s' + ELSE 'others' + END AS age_category + FROM ages +) +SELECT c.age_category, COUNT(DISTINCT u.user_id) AS user_count +FROM age_categories AS c +LEFT JOIN categorized_users AS u ON u.age_category = c.age_category +GROUP BY c.age_category, c.sort_order +ORDER BY c.sort_order; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local360.sql b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local360.sql new file mode 100644 index 00000000..3c41c4f8 --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/sql/local360.sql @@ -0,0 +1,22 @@ +WITH first_target AS ( + SELECT session, MIN(stamp) AS first_stamp + FROM activity_log + WHERE path IN ('/detail', '/complete') + GROUP BY session +), pre_target_counts AS ( + SELECT f.session, f.first_stamp, COUNT(e.stamp) AS event_count + FROM first_target AS f + LEFT JOIN activity_log AS e + ON e.session = f.session + AND e.stamp < f.first_stamp + AND e.search_type <> '' + GROUP BY f.session, f.first_stamp +) +SELECT DISTINCT c.session, t.path, t.search_type +FROM pre_target_counts AS c +JOIN activity_log AS t + ON t.session = c.session + AND t.stamp = c.first_stamp + AND t.path IN ('/detail', '/complete') +WHERE c.event_count = (SELECT MIN(event_count) FROM pre_target_counts) +ORDER BY c.session, t.path, t.search_type; diff --git a/bench/accuracy/results/spider-holdout-final/gpt62-sol/status.json b/bench/accuracy/results/spider-holdout-final/gpt62-sol/status.json new file mode 100644 index 00000000..69fa993c --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/gpt62-sol/status.json @@ -0,0 +1,4 @@ +{ + "status": "completed", + "wall_seconds": 947.3976113749668 +} diff --git a/bench/accuracy/results/spider-holdout-final/manifest.json b/bench/accuracy/results/spider-holdout-final/manifest.json new file mode 100644 index 00000000..8873d9df --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/manifest.json @@ -0,0 +1,1320 @@ +{ + "benchmark": "Spider 2.0-Lite SQLite subset", + "upstream_commit": "cafb867313aab4e674652054198f383cf4018943", + "baseline_commit": "e0a7fb1", + "seed": 20261114, + "selection": "seeded shuffle of local IDs before inference", + "question_file_sha256": "4ba48916576fbd60311a2478c6d4550b5d8cf3fcbc512457ea493b5941ca009d", + "evaluator_sha256": "e93624e4ffa00e51c67bdee1d9e42b534630087cb453270c0dedc0c73e618480", + "db_sha256": { + "IPL": "bf5ddbf887bbf992a091ef31ee681b9339ba716c327263fce0f3b4da924f22c1", + "bank_sales_trading": "10c8b8136486902a19c3f974f210e9fb7c8f98918ae0313114c720219b02e18c", + "city_legislation": "6a9714f9fe11676691c38bb6e2cd048ab877415d28c358a2647ff1b8b8bfe763", + "modern_data": "d4910db155d7be8070d14cab6e44862d0fa74d71e6588d114c4bacb4225942e4", + "delivery_center": "d882e3e6552634e27739beab4c65fe8ec2086b84155489762f9052a663913f9e", + "Pagila": "dbca3837b9965d75fbc2b4af1b2daec57d841f95942e656cea44db997e05da88", + "E_commerce": "49446afd935721ee12fc95316fbee9666a3e1bd4872dfa194fe4625d6762a81a", + "electronic_sales": "8e759e113c316c7f996c2e721b596f73979fe679abeacb21e6ea5dbe6fc62eaa", + "oracle_sql": "ace68ede8f7fddc523d522e938ccfeee1f54c11888fd2c956ebc27892fc595fe", + "Airlines": "83dd643367785c6b38b5379eecaf2c37128babac96805a48362783ff0cafc0a1", + "education_business": "d3498b07f44a4ac1757798d70f4cac7c44d16082c0608c58a74d5aa0d6d058f9", + "California_Traffic_Collision": "14ace2b5213306081611b24647fe70778426bbcb0d5b30e85beb0386ffcf1020", + "Baseball": "4784826541ea40d76dd9c2da2812e189ec351ca79e2738916da5587b465341cd", + "music": "f82efedb6c5c40734609e168bc5be5616a2eca6b90ed0048451a8674625e03a3", + "complex_oracle": "2244dbd99d5205941353024332eb62b1754d3383bcd7c8c20361344d736be00c", + "WWE": "5e21654b3ea344583c921864c499ea984e66fb46579f7d4e74f531d0f415a52a", + "EU_soccer": "b4ebd079625bb9cd20437eaae1ccd0fc82f0f390567cfe3ee1df78fa08ad5f9a", + "f1": "35ad3b824678e8435bde02f14bcd554630792874749fdd59fe9ca1385234ce23", + "Db-IMDB": "34b043fffa7e10a152c8d1536bb54e5365df102ac9d8c09d4549ef0d9ef6aadf", + "log": "800191cd5ba91dcaebb427bb9313dc5bef1571b848b597508f15372e77c2dbd8", + "sqlite-sakila": "dbca3837b9965d75fbc2b4af1b2daec57d841f95942e656cea44db997e05da88", + "EntertainmentAgency": "24237bd0232f4b542b3e5c0417c9890c1d02ae8e2434253af58528e517a0fd07", + "school_scheduling": "bf37030ee170906bfa6bf5958766cf2a63dc0ad8168b3892ad96940be838fe63", + "Brazilian_E_Commerce": "96d1becb02714d76ef1a728d8ca0de33e52acead1668abd5f7d8a73a45f6d0f3", + "imdb_movies": "175c1da2deb00fe28d70608f7839aea5abc214dca15bb3e8622c9b7258c25b9e", + "BowlingLeague": "f8ceb5692677a5a4e04d0a08dd495ae8dbebffbacdb2a66dec551613775bc12c", + "northwind": "80a1d9591da7aeaaa439ba0002023d5ab69d3f15a3d8b2ac9389dfd30543c1e7", + "chinook": "d6c11e2ccda2a36883af57f031f76fbd55e247f3be1710c4c8aaa72ec06a18cb", + "stacking": "eb683890921eb597f176692fe6ac9fb544dde3fd78084d019bf82cd0e6efe780", + "AdventureWorks": "f8bb86bfde5fca5636030fa9490ad37d4397b0b21591ee62c7aca363a64f2653" + }, + "gold_sha256": { + "local020_a.csv": "c1b371bd6f78e69c1fbf6c18aeb322eb8eb6ee941d2ab38891867bbeebf6ae19", + "local020_b.csv": "7c70ccf7dcf12696171f65f84ac3a12ec0c186c9d652e17eb4bca16ecdc713f0", + "local064_b.csv": "dec7e4121cca37fbc2382cc8cc6ee1aeaef25db34fb2b48402cb535a5a6529c0", + "local064_c.csv": "06a27d4d7c5abc98f940988e1a3e42b63013f67a64cfbc380026678d9cfd8c7c", + "local064_a.csv": "500a9aa255bca20726cd09bb246f629cbd646a8add8fb1909392ecd09f93b297", + "local169_d.csv": "5220ca53e1d1d4f299f003c98c0d3d0f6beaa89a19648cb5be05f8c4979b24ee", + "local169_a.csv": "b3dec45955dc3e802667d623e072f56cf164bd5aa3ef7488e4126dff07887437", + "local169_c.csv": "1a36de9147b3b3ca4d39f111e15401ab332d343784744e4400e0c44768dea798", + "local169_b.csv": "a7f5b51992d6a1f5ac5aafc37a89b9d77b5a04d459cb7ca450e0f5777dc6c2ee", + "local073_b.csv": "203926fa65c2315ce652c2c648edf76f84d2a324f61218bcb3ebbd140335ae60", + "local073_a.csv": "7bd11f899aab7c37790cdf55b7f04b09a060d36d44ca57343018a22ae64f88e0", + "local302_b.csv": "1cdb9b8168d2bab6b7897b79122d767026313001c9df4846146c70d012ba9ab5", + "local302_a.csv": "6865f086e47dc7842c167d5907830506a7c591a0f387c3a1f4106eb56555269b", + "local212_b.csv": "bb74516e6d3253874a418c2af2a5240011b36fd104e340881b41377279731c07", + "local212_c.csv": "3e9ffdfbb80e8c424d7c927495c04b575113dc129237d674384490b6f19f7a95", + "local212_a.csv": "a7ec3f8b50d95a2c946b9904841ad97c48ee2ae066f18e95840ca041f2653228", + "local075_b.csv": "ecb3ddc0d38d6561d4633006dd578b1150d1eb79ab1b753d9bb3d529f496c361", + "local075_a.csv": "ecd72e006e9322343c1d008e606b1f87dd9cea8c522821603adefe2e15e74f61", + "local038_b.csv": "7a92c8c4d7b6aedd050aabb1bcfe26348038cfc3429e99ff2e1168e0f5d75d09", + "local038_a.csv": "ee3a29f76657fdbc0ac015d17a647bcead7f7edbf2bc9ecfdd33238c4dc16a52", + "local003_c.csv": "96fba57f2fe200d7b18b2d862bc956f98befa8ead69a6d3ff0593197fbecded1", + "local003_b.csv": "35d1fb54543e7b6de87d5d5e7fee1d4dbbd67b7d5d98e72e8fd959ac8a0d38eb", + "local003_a.csv": "dfe02288dc4d860119b85b2629e240b283c19c4828ff92d115de38d2553f2208", + "local003_d.csv": "88569b7c814a488dcf872675bc5cb21b314d81c736574569dd10dcc8cac5765d", + "local286_i.csv": "67282b3f4efdfaee5d82d004381caa8ef9c2d70ded77e5f018bc12121ba648b9", + "local286_h.csv": "b9745253b4426a4754d5f22b7a158c682b69d215467cd20ff39d59b464b8e52f", + "local286_e.csv": "3e2c801aa106e114ac238d3f0593e4b51cb1ab8d333f9ba88ebab1138aa651de", + "local286_d.csv": "e6592fcf5accaed189bcec1a1a6a7d6906932542da0acdd34427d7c05ee4910a", + "local286_f.csv": "3f59abfefe275b81255fe3d591057a807a9110f1baddd41661fe6326dbe80eaa", + "local286_g.csv": "e8900c3cc4a15f719e54346df7e857bf5fa677b25e62a6d211aa57e705a6c53e", + "local286_c.csv": "0f58057a69e464d146ad40b470c2a6e593dbc44209d6b8ca6312bce47142c832", + "local286_b.csv": "ee6565e66e7580bd4bd9766171b6b78a5563099b7b3e2ac7b8c5feb1b8159e0b", + "local286_a.csv": "a10378fc736e6bbdf16a23aeb65840dce586d06db9f7543df5649c0a876c558f", + "local004_a.csv": "7f1b06203ef6e8400537f3ee59295b0794edaf2c4d20cbf428b742205dc79745", + "local004_b.csv": "b727d6aaccf9806451d3aa60f21c4830c51268a8c4ba1c2373bb20b02e4b8ad2", + "local277_a.csv": "ec9a93c0d9df1bf97e71c07f51281bc51c94c8bdc3b3468321f18386beb03d28", + "local277_b.csv": "bb0393ebfe836fec7f6382b8c60f173081aee06706de5f808738e58ef74d14ed", + "local277_c.csv": "474344a708d34dfb21b540c0b9c37b566d7dc3e716efae55e40dad2a42f8a141", + "local009_a.csv": "55d99171b807ec637db5e5537862c0a95e7c80e6ff9141ff0954903114bee214", + "local168_e.csv": "973f35863944634ce8e1a0f71ccdf3e3b2e9b4e4af7a7af7cb8d2880369cae35", + "local168_d.csv": "7c350f87225d15834980a48d7eb151d49d7ccb54b0a34063c6353d35d1360a04", + "local168_c.csv": "a099fd0094964acec9e9b7dc780e2d74e3b352d0a406fbd26492b16254a3e9ac", + "local168_b.csv": "0ba23c452b58b79505385e9d640647eb222ff03a8ecc42c3ea735e0dc5a3c47c", + "local168_a.csv": "2e0139876cf21db59202e70f35265ef7153f860a1552b2dbb45b74239d2f41af", + "local058_a.csv": "c74e9663427d34d34cb641480e4807b0459db608f792c2f35b2d072a94b489fd", + "local017_b.csv": "93766776794bd5ae3f393b387b3e96ec4607d1a1b51cbc8efde4ceed137cf1a5", + "local017_a.csv": "51256921f42d6e90afd3d2c173c6c41f78edae73dd08c3db89f4b058d6ccac6b", + "local008_b.csv": "ec056a18be1876a4d931f0a3470e972c83ecda7b2b398b1075f7568e4ccf5815", + "local008_c.csv": "fd4647652ddd17aafd4e2ee4e2beffd47405db36edf56ca756f8e12839f3b65b", + "local008_a.csv": "89ca9045bc066b6f9e407b19bcf51f3972bf6d60c34cb423333ec675489ff9cc", + "local244_a.csv": "5965bfa1f61aa4f176dafa1f6404853176c6c1bb7a2a23611fbf19d947afcbb6", + "local244_b.csv": "a0e9f988fcb19cf1de3e04c2336c9d69ca45f452213e50144d52c12bdd9355e4", + "local063_a.csv": "1793aa1c7acc50826abd3658b0f4e33559fbd6d731d8ec93fafbade87c9d5234", + "local063_b.csv": "a1441c9bb8dc7e44fb5a07fd7859819557c9736cd288d134cedc863840eec30b", + "local063_c.csv": "b755b88cd040cfeec296a84e3047d28c83cc4610578a5dbefd79b237f248dea5", + "local063_d.csv": "d8368237d3fc65210a2fdf27842d5b547ef00140ebee87e1b5e7ee5acf0e7d23", + "local063_e.csv": "4ac60e76e037ba5e62532d02bd6c9009b16bf6ecfeed2d3927892f8164f0772a", + "local259_b.csv": "f2d95d3a692176ef5a7a08318c2257af1e1971db71bff98e7fae55343253e842", + "local259_c.csv": "df6c3de0deee12fbddc77b2b5a0de57c80b0826fa3fa182b4d9615d69c4f2a70", + "local259_a.csv": "2c2419415a341c10edec2e05be6aebbba30f7428456455edf0f46de2ec5b3f2e", + "local019_b.csv": "5a3e07334d13b00ed6b6f0b6ead9542dac5da69a4320e71d942235514a3fb231", + "local019_a.csv": "6094d8e25f80e75f1c7b91b27d5943e71eb63acd8407c0e7165644787b77cbbd", + "local021_a.csv": "0936bacb011189be56c7b695bf624d8ec171e453a34fa6e0ab8817b8fe508caa", + "local002_a.csv": "97eb32859e39d7ee65b2a7501b157e1cd67fe932d58d2c5b931c3442d6a0afbc", + "local002_c.csv": "9deb74fe0ac8eb52df9ebe72260aa5b12c3f574e1858c843b91234f8d92c0cf9", + "local002_b.csv": "d1382f9c7802b5d2e55c3c3431322df282f4059d352ef588bdb70ec076d61879", + "local220_h.csv": "29bc54cf4eefd315349bde9119d4355bf9e8fa315b32ecb9cdaafec1d84b34af", + "local220_i.csv": "72eb0dcadb3803e4db881e56f3e983cf1f70d30f4aea1f3d5ae6d9f12ccdb004", + "local220_a.csv": "3fd793f820da7caf070fa30e734fc50fd512de91bb8726157791e6505b19f2ca", + "local220_b.csv": "307f4b3b18444ac7d3e2e0621f3e446bb0b3542c663d48bf0a3c88c0db8611be", + "local220_c.csv": "cec03dbe63fba9147b27e0d97ee1a750943e8326029df162ca7a54f2950b7e83", + "local220_g.csv": "c9d54b9e5320fd510c11afa8d7ca9a4b0f9b86e13da1a8d6fae8065472e01340", + "local220_f.csv": "6e6ab60d41c302b668986d652e63081989a7c9fa4d8eadce5097a1669be4ed8e", + "local220_d.csv": "38bdcb5070e77309a6968db11620e91994432b85feea07eeea4a998d496ed37f", + "local220_e.csv": "588ce337a1878cb035e7116a0910bf3a1a932446c02dc1da315de913fb19deaa", + "local336_a.csv": "28d892a0a923deac963020adf6123c94465bf5ff0f575e881442968f225db7c6", + "local336_c.csv": "89fea80e22a96f737ea5fc60113d26e4b81b2c6649721f51117fd9ec80215de2", + "local336_b.csv": "43131e08623badb368d1b3b253546e089d9e58ff1013a0c22b89c4ba5c733fbe", + "local336_d.csv": "493f99d0374d955882bca3f0257a2c714eee78111f465a1dc003ee2dcc47f34a", + "local077_d.csv": "55982709bcc150ee95ebd23d9d9389fee472f2f569979462c170cc1f17a42990", + "local077_a.csv": "f6e756eb78b1229ea23bf75d44de15ab0fc5cf79c63815595696186ee3a8ca09", + "local077_b.csv": "77fe93d9db1ab584637158c4a4c0ed60a528a2ecbefb0211eac390647a16b694", + "local077_c.csv": "d05b442624aebc3e586434af3b2837dbc4f2c0810465a97b85c50724bb3a09e9", + "local100_a.csv": "1c65e8f88161a7f86810c6f4669588ca1d3ef321674341c8a11979c489cf692d", + "local210_a.csv": "6560065fb4722f6ad2f6b1690c82d92ed50cdbea71936b2c48f50ed1898db22d", + "local210_b.csv": "47762ab50ef3d12a0a4a5ef5f10c41a7b8047b254e30b8a68ce302f8335f0245", + "local163_a.csv": "96ea14d9b3d8f61947989d5dc62c696eb15425dd86efc3290239b703bf99d506", + "local269_a.csv": "7267c436f72664d40ed245834186360188fa127f28c4a13c5e21d16c9840e28a", + "local285_d.csv": "712513f473959279273b3d6eb70f443ce7fc1f8296e5eab2e666bae2200de666", + "local285_b.csv": "a87ab59dece88c9811bcd52981d716d119609de051975383f4c741d37c98e878", + "local285_c.csv": "f1d1471ad889b1ec40b6ef4bbb691168523b8b01ede4327a5e41461a1f1d65cb", + "local285_a.csv": "3a88e7542df7ebdf18d21e3765fa1f0fcfd7c2af088b36ce169a81c9790431c8", + "local219_e.csv": "12ec2399787f1ca5a882346e9bb24021d9df7cf73787fab77952a7b8db84757c", + "local219_d.csv": "f5d2bdabf22b17758a44df650e6be6fe4a2c0f94a9ed5d0f6b30435dc285a419", + "local219_f.csv": "b8acd8c449ec4e0f38160ef5bd325671b773c2879cad84531da1780044471b08", + "local219_c.csv": "7803b6fc3cb1c317d0d02bb7eb529555659fe416a9fc281fded398f26280c294", + "local219_b.csv": "3d73969fd39cf5a1cbae9d32f3147b19339396083c877b52612b6cf78def4d81", + "local219_a.csv": "9dcf380a8086a2f4ef87a8d6d2db72455c83032f3f7a6e9d6e03281dd602a0d4", + "local360_c.csv": "1b8a564021b0ccd7f0aba665f54bea7f01c17aa48a8d4a2cd920ac12e0e8bf8f", + "local360_b.csv": "e2764c72c8aabc4430bb46ffc6c873f09408a758dbc757d87c6a1aea2d26a371", + "local360_a.csv": "de935d70c61b69e9bb632db32d60e07543447126a30f738eb52b4433dbbeff8d", + "local331_c.csv": "5575b855b619782c80380d2e932b9f8013b5a4e400d17bd6723aff8965f36622", + "local331_b.csv": "398b4c221861dd10271520f700c0ccd5169d9713e3f30c4d8d04f74726f6096c", + "local331_a.csv": "be4bc308953866f6e4b173319a1b0934a3404829753c7662f317ce26bb5be91b", + "local193_a.csv": "15bf368dd71c4ca644d590268b57fe2fe1d080e26ededbf3de3fd3985ea355c2", + "local132_a.csv": "ce397426bf6cb0280cfcc1abc74a4b64e4048568ee9a2d878ef296a4e41576e6", + "local310_a.csv": "35d7876cd66bff44654add1596d74a6a916d15994c5f4a015a48633ec8e4e8c9", + "local041_a.csv": "4b61532d00887c35ce49c293e9a8cdbedf93da39ae84139a3744a07b1a551144", + "local041_b.csv": "2dd088064fc0b86e4deaf8356aa902d290321b5de6fbecb737e0c6da9660f30d", + "local099_b.csv": "fbdca4cd81c62b3d93bc93eb215520d892ba4c290751919f20dd71418ce6a7e4", + "local099_a.csv": "bec10511e51815d3a874d90ce4a83af43396138460f02d4e36d0b0880fa03724", + "local130_a.csv": "6694afd62cbcfd4fba3f359e3e76af114f615c01606190c9787933728ee54daf", + "local066_a.csv": "c1899edc643a416e7b90e8d7d78b8bf46661e9eeb3a87e7d8bad6b9d547cda2b", + "local066_c.csv": "6551bf0440d4bc3e41c471f6dc247f300f93b0fd2b5fd4a8308bdf96e18dbee7", + "local066_b.csv": "cab923a50ec2151f75792452874ef2e7fae3ee533a07e8f8725fd6355762f585", + "local030_a.csv": "161284a3c6f2c5ec916f4886536315005752236edb3f1906d2e894202614144a", + "local209_a.csv": "deddc04c50a244e75de82f47ba6c3f54fbb6f97b988985f6993db03183b8778e", + "local209_b.csv": "e7f4324fd0a268ef8db517670215e03a14ca4d738abd5adce0bb1d48857b84c1", + "local067_b.csv": "c6b945e3fc178475ac8c6440ff33ab4a33578dcf1187f79ba7c2a577f17ce7e8", + "local067_a.csv": "34477c4b74140e991f932a86b10e3ae6cace0a425a4efe9480d2d52ded344180", + "local050_a.csv": "58dfb380fd1b78d1ffdcdd41136ee6d29f5fe878497fd8c447a5643a945bbf42", + "local050_b.csv": "2be2c502211501cac9fe28882a163b8e8e0ada559e88df12d84279f960c98508", + "local050_c.csv": "c02d70fd6770f3b8b7c7400017f9de5fe4a3d98d5bcff5d23bb855bd34e8193c", + "local022_a.csv": "5b0274a5bdf4cb2da91e1cb86da639d2788ff6c9ce12be709c89ebe431a405cc", + "local171_b.csv": "438b893ebb918cc5270c7c83ce5b9c66a2e5c1bee69b01ce916bf44ba01322da", + "local171_a.csv": "43c4b12ce24776c1cb3a4b3d6ccbfbabd2697449aeae73f43f4a8b217f348a94", + "local131_a.csv": "99088095afe2b7e918cd1362c7bfc329d0769b29cbdca8d3a0db17c12cefa257", + "local152_a.csv": "ccc36f93451600109f70423f3f2b22c59efc2aeec4481a34c40c6cd03762ec35", + "local356_b.csv": "5fb856cd42618d59fd31df1d5cd709c44c9ab461f06332c7cb42c4fb0525d875", + "local356_c.csv": "2d55de8bf7ca99d16767c4dd1afc8aac75f555903707439e862e9ae93f9df93a", + "local356_a.csv": "89856e985d2871649e2886240252cdc23f93da31724184c8d5a4a84124c8beb0", + "local356_d.csv": "c2cbf79260717e789c4a46bf0730c3476bbbc825cd8de28dddb12871e901fccb", + "local097_a.csv": "ab059c081ce0df9c377b85691022bb1f9f3667ce570bd81b3939d3051a53ece3", + "local062_a.csv": "2b9d26110be67fe46bcb3660fcf6999b4a003bf2a67cd089e6167870ceba77a1", + "local031_a.csv": "75b4daf5e59d7b7a5ef8810934833306d92260dc859ffa703a04d975c9f337ff", + "local128_a.csv": "2749b51ed71b2551d35f0d59c6ca189bdabfbdbc03ad154d0054c029eede7e0e", + "local081_a.csv": "9da7d88a04332b1b3fe6e84984e5d438fc2259026c92f0a617cd5b288c8b5981", + "local061_b.csv": "657640cf09e4f966f3b27816d2eac9868bc9afd2482a522e2cfca11c1308435f", + "local061_a.csv": "daba05cde352f1495ee5d5fe44e2e97d385dba25daaf9c9eead07d769e296593", + "local037_a.csv": "366902a6892471d22a9c5daf4a0a3a2b00eea621eb2aa7c2488fcd15f3a4b164", + "local037_b.csv": "e1b83ddd4a92ff112d597dd1b7f58242d2311417ae489aa2de8f07d88a08b4c0", + "local157_a.csv": "03259b07da7e44b85bf7f9e29e5acfac68bac669521afd3fb7a58ad56b7eb549", + "local157_b.csv": "624762a24072777e61e04392667b9102a2a75c1d75a120e30a990e7504de3ab6", + "local157_c.csv": "8e17cc7aa611d37ab4cafc7e70b1dfb6b7acb6bbd350fb15df7f2cd33e2fb4f1", + "local253_a.csv": "12bf95bf4418538435351a274cd99e3c5de8f7f51191b8d1f9acbe6167334c82", + "local253_c.csv": "f039653401cf392269288eea252ec11b9521fe764cc1304824a68a85f9c440c0", + "local253_b.csv": "47481be8a36053414a51168cf5f07a50cab22a5ef21d78cf6bcafdbf81b24e49", + "local054_a.csv": "6b684a3248c29aa8a29dc465edb8521463c3f0bd5e069df6e1f8a9e1df602333", + "local274_a.csv": "83d9b383b5f3db1b6d1880a91dde84a7c198d27bb34f5ad70078aa34a426c310", + "local274_b.csv": "bac6a3a31918621fb89e8c4c09b58001e81ad8257195ecab138f4eb20e4ba254", + "local263_a.csv": "af3936a3f06d0148c560a6781446bd98c758195d8c61cc2976b74435928f594e", + "local202_a.csv": "85e9369fc30751cdc1412cb5c7e78c2abeec2985dd4a5a41c5cdd71ddcc18519", + "local015_d.csv": "56f7cfa3c4a037c1c333de502d69d6c916da6014cff549996b09ecc3a89503bd", + "local015_e.csv": "a39ca5bb24cf3c1856102f53125f56c8fe686bc137b7402caaaac932e4a0d78f", + "local015_a.csv": "1d0afabe2283a59d441749067202ebcd70738034bd51d5e594675912f1a65106", + "local015_b.csv": "6d2f13248ceed54c99e70aae4c036a3886505ef8317f01cd84581180755d209e", + "local015_c.csv": "97b0b536c43f4dd48a36cced476efd98a469d2c5dd0950dbaab29924e7a7b31c", + "local195_c.csv": "3f35e382a09418f07f0c5afc5079b8b8fb7caa85215659fdec8f75fd52ca222e", + "local195_b.csv": "c948a0a429525ba0ff477d20448dc822c854ba9a5130dc2a2e1ba45036a1cacf", + "local195_a.csv": "6d010cf196c1cf9df4dbc8c5a5ef43c512870ac233c91264a28eaea8d4c46e2d", + "local201_a.csv": "080af4ed42042e04fe32a13854213d666382484739a9b353c0ae16295fc9fa87", + "local201_b.csv": "839abb14e25553a9f02394bc3ba35c53e528435fdef74dd9ba09acf20e5f7c91", + "local270_b.csv": "c6930b4e54ede426f04d641b7dec97d3794f3b44a2c7edd3c32bc3eef0b7c908", + "local270_a.csv": "44cbe0fc3c486a69790f015ad4b0944b7214d04ac9e1be0f3b3ac098aaf9605f", + "local354_a.csv": "a7a64d27016f986a8e8147b7c9d3a223b8f4082ea600ced8e5556e9080bdc2f3", + "local354_c.csv": "b846ff6920213823d198c67e147fbc7e3dd9924b951b47a3fdc1c9178dab4db0", + "local354_b.csv": "47de60a37350b531c54141ab5c1f46c294f2548fd6ef066ba2dbaf6f3f0802d0", + "local354_f.csv": "f3f2f1c0d9f0cf62a1b62770172eae26df2c961e190a5ed400dc83a48c53aae6", + "local354_g.csv": "8f9205af30974a993814edd1cccf5bdcd966a0641a0fc779246ed08beb457846", + "local354_e.csv": "d64bc9fa961ed98903c44ab63a73335502f3708fed027e618d35171c088210f3", + "local354_d.csv": "3672e9edce01bc9365f9fdef6ff15b4e94229c86f666a6a2686f241c7f25e931", + "local354_h.csv": "a4650a35efeaa4abf6142031a5cadf3dbee302a2abc232e8bb111d40fb6c89a8", + "local355_c.csv": "3b325c85166cd828601d40d98fbcb5a8b9ad301a8205c4f249cadd007c81f471", + "local355_b.csv": "45a67bcdebf25080c908c0449493e2ba503b7dd3168a17736629950d93a0fc83", + "local355_a.csv": "b6791e332962e204bca0fb65dc5cc521772bd22ed4bd2c9e0dd1436c5cf91bb6", + "local355_e.csv": "5edac8923a319e1630ddb13b8b0a50660363739a9c8f874adfc1be98242ec83f", + "local355_d.csv": "8c0297b41ffdac464accf4ca3dfafdba1caf68861fcf75545c6f1780649a1d44", + "local272_a.csv": "674a1e63a234810e0cedd5cb866b94177232be38c05e636bb08ef0a4756c8f01", + "local170_a.csv": "2b42a04d9f2a941f4f9e8ec8d8d6cab30636aeb97a68a9986f5281d7e8614a52", + "local170_b.csv": "75ba2f192c088b310f6f430e44f6be6c2975f7c2304602c04518731c444b146b", + "local059_a.csv": "d9b908bce1098fec3340ca821a2d0cc8f1081c3c0b3d9dc443d70887371bbfc7", + "local096_a.csv": "2a72e80ea25a693763018bbb412b540bc37449ffd1a113b332a68c762821f146", + "local026_a.csv": "8b0566d063be61514dd41fd6c20b7f872677ef6e9b74a1959a930c344e73e6ab", + "local065_a.csv": "a88fe08e758fc1ec3e5445c72e82f94e21b134c50fd020b849034d9c3d7e7512", + "local065_b.csv": "5222f53ddf2a5f19fdf8a4c126a89821f02dfb113f8b5149fbefc3f84ab2780f", + "local279_a.csv": "4f7378f0e26249ba807745040c85b6755ecc47ff70fcc44b6aa22caad2d2a437", + "local141_b.csv": "f1274a92ef605fa942f1777b10ee9549869b2c69e6c71db8f0e21060b16fca17", + "local141_a.csv": "f0f881eff759810e1a157ebec160506f64fcecf175c015d384403830765e9513", + "local070_b.csv": "fc5d8fa9225349c33a07ca52643a7f11434e9e8fd5711769b0fca0af3addac15", + "local070_a.csv": "fd0136749fd3215a1d9fcc910a6050866a928f3be65713f5518b5ce3a79acf9a", + "local023_a.csv": "abe0ba55aec5aa107a322556bc4dc73d8d76426eee7f7679a9b4329df0458e3a", + "local221_a.csv": "12397cf2182c3d6fabc5fa3c5d1e1b72abfee48e5852eaaa7f6cc94dc113acdf", + "local301_b.csv": "fe96a3ffda30fcd83a40abde6f463160287f678b600c89ec6d8845f89d2ae5c1", + "local301_c.csv": "2fad0ac554543c8b4adde67d898593b4c102b70777c9c992eaec45067bf8eee3", + "local301_a.csv": "cfd0aa58b5f02bfcd83872d5dac729d9962725bfb558cb70d431fbd1d360dd77", + "local018_a.csv": "be83eb216699f3aaf4769f1dbaa2b483718548855da59eb7fb6466ff15f2d902", + "local298_a.csv": "f295cf8ade91d7120c18bc811a1b3839135437b36a9c71efb59e8979896a8bb9", + "local028_a.csv": "4b08cd97c949a352f8450696db24d140ea0cb5b7c94636dc46d495db8dcc8c01", + "local028_b.csv": "742d31b1c4ca1c891bd22bec5701b18eda75cea427aeaa8ed3f66a5c32743180", + "local196_a.csv": "b3114812d1bd2ee0f83f593cc1ba00228c52add975720b1b9a7a4a596d5e9d5a", + "local230_a.csv": "fa93c03d618f3be4b3046f38c93489b6c5511ced7796b4cc23ae9531d2538234", + "local300_a.csv": "8881876917149ed5fa7a655ddec6de301e4b9eb88691c8d3717159cec1f10a66", + "local300_b.csv": "b6e12cd56de4bbd1fad3bc8003dab7f8378600c310ed0ff8dfeb9e3c5520d4f2", + "local300_c.csv": "dbf8c9c285c1e3ec012a20e21256117a7662aa34882bd84536ef9dcfcc3e3901", + "local300_d.csv": "1c4f4fe5c79c2207a15f215759f31915dad213988b02e13bb405170ad6122bf8", + "local198_a.csv": "1e552fd1326323711ba031bae7fd1a9c2bc4b6b45404916a7066532bc29fd86a", + "local299_b.csv": "1c3b8a170deb6ea5016ee61ce649c3ce32ad08ae2724485fbf4999c55501a45f", + "local299_a.csv": "27a88bb2600981bbbe3052d03218f2b385a267c36a5497f3169afae7d99b78f0", + "local032_g.csv": "c0abe3fc89883986bf833673e7c1c120c4ee3fa3270716be84a69aa6e14b8ec5", + "local032_f.csv": "4b490e2e387a9157ab92ec22b68499867016f8e8d4d4a68a938434c60699996f", + "local032_d.csv": "01443bc088adfa7cc0918a81db1138b49902aa8b4871777043e3c39af64e4f05", + "local032_e.csv": "7f44365729a449f5640d90abb9eb3822d84a667bf556ed69607f0153fb4627a3", + "local032_a.csv": "8930472f79242c09ace8a7093a53e1d86638294a4e448bc29e903046c9b3ecd9", + "local032_b.csv": "4880656d98d611ad49603d442a7c69669b4dc97fcfa56781ba2a00685a4e2ca0", + "local032_c.csv": "375d25de984ea7d9738126f8c58594850213ae32f41ccb211885361086fa8b5c", + "local032_l.csv": "ef4356f6a6245f33195b88728ed42eb541f378640570e3eb1def8eb9e45abfb0", + "local032_h.csv": "10f3f8a7c4f1c6e0aed6b7f1a263ea51982572bf6d325b5173666f027387b00b", + "local032_i.csv": "7b8ff88f98980484f9cac707765238478cd3ec989907d413e66c877f3426124e", + "local032_k.csv": "1e56f65fda398bdd603ab7f0966e8c1487b455f1b501f3d1b4f57294fbc96224", + "local032_j.csv": "992f644d9d30324ec54f5f5cef120405891922ceeabd12e68bb9c7d171392a5c", + "local068_a.csv": "1299f2e8ee0af71305e879036489e9f898f093d55fd7634f0a19d67a98773f16", + "local068_c.csv": "c4535adaf3fe73d83e3c54f469ae5851cdeab601f0abbd49a33c3d7f62770735", + "local068_b.csv": "ab3e5b470012a477e90877a36682721dfff3b9b2a9d436f516b64bfdef579d0e", + "local264_b.csv": "35426254849f620276bbaa67df521a55a81fd1e10ebfbedff1c2ffa218edfe5d", + "local264_c.csv": "86288a60be71d946e2403cd44c608ada7bb163ce11f102cc4402c67ba0ae8ef9", + "local264_a.csv": "8de3723af25cb543685497a4631c081bd8cf7e9ead498e6a1eee52273cf0498c", + "local034_a.csv": "1090ffc6a0c35bf35d9295d47914234c997e7309397238747977b6dad213855d", + "local034_b.csv": "5e5b95c5964a0760c48d12c6e64a42e89a6671042665fa0fa2afdd98df142f07", + "local197_a.csv": "f8908a3f904dfcc900a7967db60b3fc1eb3c16d573374f4cb8e6f68ebacf464e", + "local197_b.csv": "dfa9d044fdf582d19e0cd7ee6229c3583044a763608e2ca8573ed300d89b2f35", + "local197_c.csv": "bd4f275d821d4f09ca0d6042e4c7780991213abdb8e302bd0d412f8654226827", + "local024_b.csv": "1022178fcdafb1c112bd8770b884ca39f554f50586ac0002e420bf6430d3d24d", + "local024_a.csv": "8699022579239fad51d09ef039352855312af9f0a6a8d3737c39b60158d0e053", + "local228_a.csv": "6d2ee53c1196edb090a3618695c3f922b0a2a526e37bbb0855b8646d9a5b09fc", + "local228_b.csv": "570907525713d4124189f7b82aba2108f1bdc64e931b33f13d817342f8c17480", + "local060_a.csv": "e02a8024be874c7b95464b19712840659e4209165ed7e472b57351c0cc1ba0e1", + "local060_b.csv": "cbb428dd80f1532502baa09ad60aa65381ed21ea6056e26082bdcd6cb962af93", + "local358_b.csv": "eff96b54297c2251143325360d15086046e9c154e50752a4203f9f1ff18d5f10", + "local358_a.csv": "6a7e8c424c6a52662c0abf5d6873d827f5688f9355e46889075f51d9c70bd439", + "local283_a.csv": "6e3d87df7b2a5a1147f62fe65de3b1292f5af15f1de5584593de863534442f68", + "local035_b.csv": "6ae7a8e32f25813841a79ca35376928d094f10ce1a532e2a1f23e4d9ef1b7fd9", + "local035_c.csv": "2381226b424af0f88ab4c493dd201ee5f059d86ea5c9605ecd0f2035c97976d9", + "local035_a.csv": "710eb0aea469add745f72f1f4b5b568cb0c84c4507a61a3930b70d54d7e7f47a", + "local071_a.csv": "ebeaefb552dd18841ab1d63602ffbba67a1b679722fb7bf86f4aad05d115ea29", + "local071_b.csv": "e73ef52d22cfc7eb7dc76c959cf4d6f11079a1d186fb1f3346bbdb2ec61efaa8", + "local039_a.csv": "ab6af5a1dc6c24ddae09852a5538b7552f5c153eab566e861fe8276c6dcef087", + "local039_b.csv": "cd3cbdb9528d7a50197836db8f6abb45ab59241d6bf8035915fba312c52fc892", + "local167_a.csv": "f87897a23204ee6f79b2821fdf50611d055ab847a2670fcb8c548b098c187aaa", + "local167_b.csv": "7e385bbdfcf240dc6b6264aadd220a2404603a1944ef850f5a4a221cef501dc3", + "local133_a.csv": "000b2e5e4f3ce526d4a442dc28d1f792576eed5943ec7416dd5fd43265769b11", + "local133_b.csv": "24371a161c1a35386116dde49c31ceec123ed2d3abc8aaa411d6ad98d31b53c1", + "local297_b.csv": "5ec5763867426b0b6cf21c0d707e69bbd2f11ef80e14eb0f4cce29d4479669c8", + "local297_a.csv": "4a37f869a34af47d766efaac9b2909c7d736bd35f6c18e41ed207ce5b3f0c260", + "local309_b.csv": "e4ee052a9a5b625b3f9f3d0f9fde804b6f2b204324b794ff3960be8c55074f93", + "local309_c.csv": "a1fa582e425c2bdfc3fdac62123c22a77a0b8e9f292d30bfc1c3f6cbf36d0584", + "local309_a.csv": "99e9032b151143ad152f2b086c21e3d5ad2b641adbcee2c349fbe7f2eaca5c93", + "local098_d.csv": "9386a5c0c81fb3753bcecec2cf7c86d67977094c09b0a0666e2a3ffd95bb0d23", + "local098_e.csv": "7668d333202c9f22c657d65b80346c092798f889c8ffa7c8859ad20a0eb441cd", + "local098_a.csv": "2b9adab647439652f27faf4c53ccfdb4aab9e280636e904c2bdece4d72c9b8f4", + "local098_b.csv": "f7f59e32e9843b3af1b7c1304203b2d50c1d5092226c3f713c69b87a23bc3086", + "local098_c.csv": "7992ce39a5d37324ffcca04c64828b8b3fbe4fd13ba56d09ad2e1f6d6686cdc5", + "local329_a.csv": "d51cb49e4f858fc1f62361fbf199c1f0145b2d5a192812f919f9f74598ad2c27", + "local040_d.csv": "4f8346cdaa161013159d36bb29ab6bcfa9c1496066ce99adf101da50b7e55eaa", + "local040_c.csv": "6c25ec05e7e36d47887dd9ec91a24987d99ea677b6fa1ed6659152c193d255c8", + "local040_b.csv": "894fd4c4aa2af4d479540508bd503e9c34ac574755c6a09b0b1b92edf11b5a59", + "local040_a.csv": "86040f986565e2f0827ade68d894ae227b0e20b4a0a5f879da8857fcff9d100c", + "local056_a.csv": "fb8f6dad94f2ccad8ff035a504758ae7f67a514071005e9d330940d09cd242e3", + "local056_b.csv": "669482fb368f7458dae1f1b084e10e145f513fdfb0ab5c648d006204a4b7b844", + "local218_a.csv": "59aaf31f0bdc6f4d891251e969ae5dcb0733b2f027bea6a6e02b8922b57e7a57", + "local074_d.csv": "575905edd9d23b7a0dfa7d4d4d6c71c1e53b8df47ca5d997e34b30821ea5d476", + "local074_a.csv": "1d249b4de50434c538dbbc566ec00c0b3d33f6f50b76f9d2d947fcd2447b8e5b", + "local074_c.csv": "4c048efea3992cccd47cb21a735fa82f4c55db5c8da38d40862c303dbb100dc0", + "local074_b.csv": "c0d530dead3d8128affa3642184e4402e11136c7e31cbca044cb58b4f3b5ddad", + "local072_a.csv": "ecc11366f1a4997612ef7479d4e9caafb76e7be0dfcfcab22031ad044da9306d", + "local072_c.csv": "89eaf8f0fd5d63f525f91be9e73172b413e38adf162414c10f23236601fca705", + "local072_b.csv": "c81babd9f76614a1be3de6c6f3ed4c8fef6372d5bb2dd1b7051d2a321ba2aa11", + "local072_d.csv": "5460e077fca890a7547af80ef5728caee0b1396a3c68aa35c1319707a7e7f260", + "local156_d.csv": "4907987cdbe5dc4deb8727acc62596d7becee9c4633db2e75620db08b8869a0a", + "local156_b.csv": "b544baaa749fbe2eac0ade87a28a07174f5c13a8d2b354500d82e63403723e9f", + "local156_c.csv": "c273fac8e8bf03dbce9fff237e60810a175baae2a9342050cfd3b1afc745b288", + "local156_a.csv": "359af22e361eb8386bb7c16d03f7d3a148db3addbbda677f3ccc6a93099040fe", + "local258_a.csv": "b943740b741d12a81ac9a1235478186c827f5068d8ba9042f2072ad479f2100f", + "local258_b.csv": "3b9f1f8a944934e57ec29c46c7e1b0de2c4d8fc6961c6275f1c76a4aa818ba50", + "local258_c.csv": "d6399f1bd4dbb5e4edd4ed0935825c3092f5cea42b0ba93bf140c5cfc97700bc", + "local258_d.csv": "28f311ccbdd218b3c521f66c49f51d6c53e2a31a6a448eaf24ecc58b36d3e991", + "local258_e.csv": "28a62aa7e0edf3af50776d3bbb88194078189716ea370567d883a79d34996322", + "local199_a.csv": "d5d43158a754df4985bc9101e86b2b48adfad69dbfe3a266fd7f8b804fbc26e9", + "local199_b.csv": "96914152da9b1d4229b1cb32cfc6ec24ee49187fe3036783a7a34512b44bb40c", + "local194_a.csv": "737c5c8fb48a3a09fd2c20589001498bb12e623c24789749a711f8f884d1b1bc", + "local194_c.csv": "d4ad490bd6915a0d099d1077e122048a32ee33378eb5bfd876e4e683fc0c612b", + "local194_b.csv": "a5f4718844ca84d9125365e1e6aee952d4c2e8eaf1ea99bb9c086cc29d5d3184", + "local273_a.csv": "35d1a1d986b6a2acbe0e6f29a6d9e2979cb21018e5ddf13c4367e881e4058d34", + "local078_a.csv": "22e33a0e482aa13b1e3d59b4363c04dc1d39eeb3d0b18fdb7fd7ea1077dd1b95", + "local330_a.csv": "156777b4eeec05777e4760c0a8cf5a90e7e9f5db5df87b6db215f36f6ca722b5", + "local330_c.csv": "9ebe76a500091818cf5ba1540ea8c7f7b01b95f01d6edc4dcfb7739130677571", + "local330_b.csv": "02dcc9b52e11b4a342941f97c775481b080e740222d797547408decb5ee9ae1f", + "local007_a.csv": "609e283f72faa732d8c9bb3041aa570361e8fc1e2949dad6d2624eee4fe1f582", + "local007_b.csv": "187376265d7f3ec19f2361f9aa4a29ebdfef55b93ce382d22da635cb84b2a5ac", + "local007_c.csv": "d30d2306cd25071c6435fc31baf736057c1339f2aa2927ba43eaf85894553a3e", + "local029_b.csv": "0645e08079eeed5278713e295ec54f92db2c4a5c080c2ca19fc0d300c85b8bdd", + "local029_a.csv": "13592cb212196327ddbf1e24612d8f5c9be767476537cac76098c8e6382a3d5a", + "local229_b.csv": "b63f34609d6f0d135301ac413518af035f8ef8d8b4af603ce956b573ecc8a8ca", + "local229_a.csv": "13b57a2a9cf1c3b16954439cff955c0483c902fd05e2cf8a8f6d707618b74edb", + "local085_a.csv": "53a8a772d4f1a25a2e35e0865d80126c51742dbef3183827cc27a9d6215b0401", + "local049_a.csv": "37a03e5c7d30c522122d3a7f27337a8dfc434dcff120081752b4c9d93b67589e", + "local049_b.csv": "cfa61613d11a7d440f235ed1d6eb889a2d1400f35814705c8c6cab12ee690fb8", + "local275_a.csv": "e0ee8bb50685e05fa0f47ed04203ae953fdfd055f5bd2892ea186504254f8c3a", + "local262_a.csv": "0b6ba8593e65101190910b92c997f428d2b21983812c653bd93523f744275518", + "local284_a.csv": "8061781ca5afac30250858521ec1bf3535936424d2ca8ac9214e2b1b003d3d8b", + "local284_b.csv": "d74c6fe8cba88dc43de32cab40d95d197cae6592df11284ebcb593caffe37aae", + "local010.csv": "109bc4ccdeaaccb405d52e5db6fbe1831b5cede629b5aafce07b1f5a4be8c623", + "local335_a.csv": "f5e97947e8060cf4719a2cd9d31f3b40b83d2e96608965de754360b6b415331d", + "local055_a.csv": "ba0ff1a7ced89ad53f8b9da3460f52d36dbb9bdad78c20fc495da0205dc3bfa8", + "local055_b.csv": "2f55f6f8f51a38d3b618ac0db7aa1a603bf42a524626ca48cc64a328aaf18555", + "local344_b.csv": "83604ca169c01568d0db1169d8ee1a54b495a9ed732929c857c7f87f738fc5ad", + "local344_a.csv": "ef99aaf28f3521bc0eb3feb7d5d57175fa83e43a3387391b0242e03154375ad9", + "local311_a.csv": "d7e3e901649bf918fddc98d854d91966fa309ee4b6cbd6b4b6db51a8643e422d", + "local311_b.csv": "8fbc16c5a9509bac26070ecd35b5fb0dfb0b40b153bbbb96d8381d5762c5f4b8", + "local114_a.csv": "c4eba509d8d4e214612b9aae8609c827bb9793033fd59476bb3bf9dd544292e6", + "local114_b.csv": "cdf83c7802e33dc16972004c48b85278cf9ce0982a6d8598128e7a26c3620f26", + "local114_c.csv": "ccca70934b3f6835751ed0fc72152b256b4a001fae72b7123ca9ec133dce5933", + "local114_d.csv": "fe4c1be98c7516d2acb92725459fea2db06b1ce92df4ecbef82e86aaaa2dadab", + "local114_e.csv": "4f2c92129c6e8a85e9887d70f62135ebda47aa7cf25314cfeb5a3b08973243ea", + "local025_a.csv": "6cf18f2a7388ff0181a5c6135af733c613df8bb6faa5fd7ab7d8d7a91e908ddd", + "local025_c.csv": "fc3c1b56cb3fca413c96075be8f2bc4b33e70b00db2da5b55ba1a3a512af930e", + "local025_b.csv": "42c381ef3631f35fd3c14c9d06007dfd793104348b0f0147fd24239f41ccb1d5", + "local025_e.csv": "b5af2f507944864ce133364b125d558ca728fb102edd9a3171fab324baef49af", + "local025_d.csv": "210c10f155318bb8420c16a3e4ff140514c6008de7100f228a239fc6de8c525b" + }, + "gold_config_sha256": "5113ddaea6107492c08a898241a9f69ec99b03bc60d014e9f0b12ec59fa28970", + "cases": [ + { + "instance_id": "local020", + "db": "IPL", + "question": "Which bowler has the lowest bowling average per wicket taken?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local169", + "db": "city_legislation", + "question": "What is the annual retention rate of legislators who began their first term between January 1, 1917 and December 31, 1999, measured as the proportion of this cohort still in office on December 31st for each of the first 20 years following their initial term start? The results should show all 20 periods in sequence regardless of whether any legislators were retained in a particular year.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local302", + "db": "bank_sales_trading", + "question": "Analyze the average percentage change in sales between the 12 weeks before and after June 15, 2020, for each attribute type: region, platform, age band, demographic, and customer type. For each attribute type, calculate the average percentage change in sales across all its attribute values. Identify the attribute type with the highest negative impact on sales and provide its average percentage change in sales.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local212", + "db": "delivery_center", + "question": "Can you find 5 delivery drivers with the highest average number of daily deliveries?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local075", + "db": "bank_sales_trading", + "question": "Can you provide a breakdown of how many times each product was viewed, how many times they were added to the shopping cart, and how many times they were left in the cart without being purchased? Also, give me the count of actual purchases for each product. Ensure that products with a page id in (1, 2, 12, 13) are filtered out.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local038", + "db": "Pagila", + "question": "Could you help me determine which actor starred most frequently in English-language children's category films that were rated either G or PG, had a running time of 120 minutes or less, and were released between 2000 and 2010? Please provide the actor's full name.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local286", + "db": "electronic_sales", + "question": "Prepare a comprehensive performance report on our sellers, focusing on total sales, average item price, average review scores, and packing times. Ensure that the report includes only those sellers who have sold a quantity of more than 100 products and highlight the product category names in English with the highest sales volume.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local277", + "db": "oracle_sql", + "question": "What is the average forecasted annual sales for products 4160 and 7790 during 2018, using monthly sales data starting from January 2016 for the first 36 months, applying seasonality adjustments from time steps 7 through 30, and employing a weighted regression method to estimate sales?", + "external_knowledge": "calculation_method.md", + "document_sha256": "dfe12121ce38a8a38c62c3480dc0fadeafcbe134d5bf6f3f6eda216e1b1677de" + }, + { + "instance_id": "local009", + "db": "Airlines", + "question": "What is the distance of the longest route where Abakan is either the departure or destination city (in kilometers)?", + "external_knowledge": "haversine_formula.md", + "document_sha256": "5205954f1ca74ed724d121772e2bf4bc86c2cfc163f6e3fdd6afeec79c33ffec" + }, + { + "instance_id": "local168", + "db": "city_legislation", + "question": "Among job postings that specifically have the Data Analyst, require a non-null annual average salary, and are remote, what is the overall average salary when considering only the top three most frequently demanded skills for these positions?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local058", + "db": "education_business", + "question": "Can you provide a list of hardware product segments along with their unique product counts for 2020 in the output, ordered by the highest percentage increase in unique fact sales products from 2020 to 2021?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local017", + "db": "California_Traffic_Collision", + "question": "In which year were the two most common causes of traffic accidents different from those in other years?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local008", + "db": "Baseball", + "question": "I would like to know the given names of baseball players who have achieved the highest value of games played, runs, hits, and home runs, with their corresponding score values.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local244", + "db": "music", + "question": "Calculate the duration of each track, classify them as short, medium, or long, output the minimum and maximum time for each kind (in minutes) and the total revenue for each category, group by the category.", + "external_knowledge": "music_length_type.md", + "document_sha256": "d630b183c311d6ac0e80de29263009c546f74e6027286348409c6d0a64ac357b" + }, + { + "instance_id": "local063", + "db": "complex_oracle", + "question": "Among all products sold in the United States with promo_id=999, considering only those cities whose sales increased by at least 20% from Q4 2019 (calendar_quarter_id=1772) to Q4 2020 (calendar_quarter_id=1776), which product that ranks in the top 20% of total sales has the smallest percentage-point change in its share of total sales between these two quarters?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local259", + "db": "IPL", + "question": "For each player, list their ID, name, their most frequent role across all matches, batting hand, bowling skill, total runs scored, total matches played, total times they were dismissed, batting average (total runs divided by total dismissals), highest score in a single match, the number of matches in which they scored at least 30 runs, at least 50 runs, and at least 100 runs, total balls faced in their career, strike rate (total runs divided by total balls faced, multiplied by 100), total wickets taken, economy rate (average runs conceded per over), and their best bowling performance in a single match (most wickets taken in a match, formatted as \"wickets taken-runs given\", where the best performance is the one with the most wickets, and if tied, the fewest runs conceded). Ignore the extra runs data.", + "external_knowledge": "baseball_game_special_words_definition.md", + "document_sha256": "9c82e2acfee3bb4b9683957cdd46ef61ce11ee07a7f3cf1f6409a9960f908643" + }, + { + "instance_id": "local019", + "db": "WWE", + "question": "For the NXT title that had the shortest match (excluding titles with \"title change\"), what were the names of the two wrestlers involved?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local002", + "db": "E_commerce", + "question": "Can you calculate the 5-day symmetric moving average of predicted toy sales for December 5 to 8, 2018, using daily sales data from January 1, 2017, to August 29, 2018, with a simple linear regression model? Finally provide the sum of those four 5-day moving averages?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local220", + "db": "EU_soccer", + "question": "Which player has participated in the highest number of winning matches and which player has participated in the highest number of losing matches, considering only matches where they actually played (excluding null entries) and where their team won or lost (excluding draws)?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local336", + "db": "f1", + "question": "In the first five laps of the race, how many overtakes occurred in each category—retirements, pit stops, start-related overtakes, and standard on-track passes?", + "external_knowledge": "f1_overtake.md", + "document_sha256": "b83e7b52e1672e0b6d34bcfad8122034abac926b75d34c880c210ab1bfc8a046" + }, + { + "instance_id": "local077", + "db": "bank_sales_trading", + "question": "Please analyze our interest data from September 2018 to August 2019. For each month, calculate the average composition for each interest by dividing the composition by the index value. Identify the interest with the highest average composition value each month and report its average composition as the max index composition for that month. Compute the three-month rolling average of these monthly max index compositions. Ensure the output includes the date, the interest name, the max index composition for that month, the rolling average, and the names and max index compositions of the top interests from one month ago and two months ago.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local100", + "db": "Db-IMDB", + "question": "Find out how many actors have a 'Shahrukh number' of 2? This means they acted in a film with someone who acted with Shahrukh Khan, but not directly with him.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local210", + "db": "delivery_center", + "question": "Can you identify the hubs that saw more than a 20% increase in finished orders from February to March?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local269", + "db": "oracle_sql", + "question": "What is the average total quantity across all final packaging combinations, considering only the leaf-level items within each combination after fully expanding any nested packaging relationships?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local285", + "db": "bank_sales_trading", + "question": "For veg whsle data, can you analyze our financial performance over the years 2020 to 2023? I need insights into the average wholesale price, maximum wholesale price, minimum wholesale price, wholesale price difference, total wholesale price, total selling price, average loss rate, total loss, and profit for each category within each year. Round all calculated values to two decimal places.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local219", + "db": "EU_soccer", + "question": "In each league, considering all seasons, which single team has the fewest total match wins based on comparing home and away goals, including teams with zero wins, ensuring that if multiple teams tie for the fewest wins, only one team is returned for each league?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local360", + "db": "log", + "question": "For each user session in the activity log table, identify the number of events that occurred before the first '/detail' click or '/complete' conversion, counting only events that have a non-empty search type. Find the sessions with the minimum count of such pre-click/pre-conversion events. If multiple sessions share this minimum count, include all of them in the results. Return each qualifying session along with the corresponding path and search type.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local331", + "db": "log", + "question": "Which three distinct third-page visits are most frequently observed immediately after two consecutive visits to the '/detail' page, and how many times does each third-page visit occur?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local193", + "db": "sqlite-sakila", + "question": "Could you find out the average percentage of the total lifetime sales (LTV) that occur in the first 7 and 30 days after a customer's initial purchase? Also, include the average total lifetime sales (LTV). Please exclude customers with zero lifetime sales. The 7- and 30-day periods should be based on the exact number of hours-minutes-seconds, not calendar days.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local132", + "db": "EntertainmentAgency", + "question": "Show all pairs of entertainers and customers who each have up to three style strengths or preferences, where the first and second style preferences of the customers match the first and second style strengths of the entertainers (or in reverse order). Only return the entertainer’s stage name and the customer’s last name", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local099", + "db": "Db-IMDB", + "question": "I need you to look into the actor collaborations and tell me how many actors have made more films with Yash Chopra than with any other director. This will help us understand his influence on the industry better.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local130", + "db": "school_scheduling", + "question": "Could you provide a list of last names for all students who have completed English courses (where completion is defined as having a ClassStatus of 2), along with their quintile ranks based on their individual grades in those courses? The quintile should be determined by calculating how many students have grades greater than or equal to each student's grade, then dividing this ranking by the total number of students who completed English courses. The quintiles should be labeled as \"First\" (top 20%), \"Second\" (top 21-40%), \"Third\" (top 41-60%), \"Fourth\" (top 61-80%), and \"Fifth\" (bottom 20%). Please sort the results from highest performing quintile to lowest (First to Fifth).", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local066", + "db": "modern_data", + "question": "Based on our customer pizza order information, summarize the total quantity of each ingredient used in the pizzas we delivered. Output the name and quantity for each ingredient.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local030", + "db": "Brazilian_E_Commerce", + "question": "Among all cities with delivered orders, find the five cities whose summed payments are the lowest, then calculate the average of their total payments and the average of their total delivered order counts.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local209", + "db": "delivery_center", + "question": "In the dataset of orders joined with store information, which store has the highest total number of orders, and among that store’s orders, what is the ratio of orders that appear in the deliveries table with a 'DELIVERED' status to the total orders for that store?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local067", + "db": "complex_oracle", + "question": "Can you provide the highest and lowest profits for Italian customers segmented into ten evenly divided tiers based on their December 2021 sales profits?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local050", + "db": "complex_oracle", + "question": "What is the median of the average monthly projected sales in USD for France in 2021, calculated by using the monthly sales data from 2019 and 2020 (filtered by promo_total_id=1 and channel_total_id=1), applying the growth rate from 2019 to 2020 to project 2021, converting to USD based on the currency table, and then determining the monthly averages before finding their median?", + "external_knowledge": "projection_calculation.md", + "document_sha256": "5d4291081fdf5cafeb30c6d8bbad32c85ebdc807c717e95cb30b6b240622b5aa" + }, + { + "instance_id": "local022", + "db": "IPL", + "question": "Retrieve the names of players who scored no less than 100 runs in a match while playing for the team that lost that match.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local171", + "db": "city_legislation", + "question": "For male legislators from Louisiana, how many distinct legislators were actively serving on December 31 of each year from more than 30 years since their first term up to less than 50 years, grouping the results by the exact number of years elapsed since their first term?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local131", + "db": "EntertainmentAgency", + "question": "Could you list each musical style with the number of times it appears as a 1st, 2nd, or 3rd preference in a single row per style?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local152", + "db": "imdb_movies", + "question": "Can you provide the top 9 directors by movie count, including their ID, name, number of movies, average inter-movie duration (rounded to the nearest integer), average rating (rounded to 2 decimals), total votes, minimum and maximum ratings, and total movie duration? Sort the output first by movie count in descending order and then by total movie duration in descending order.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local356", + "db": "f1", + "question": "Provide the full names of drivers who have been overtaken on track more times than they have overtaken others on track during race laps, excluding position changes due to pit stops (both at pit entry and exit), retirements, or position changes that occurred during the first lap of a race (considered as start movements).", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local097", + "db": "Db-IMDB", + "question": "Could you analyze our data and identify which ten-year period starting from any movie release year present in the data had the largest number of films, considering consecutive ten-year periods beginning at each unique year? Only output the start year and the total count for that specific period.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local031", + "db": "Brazilian_E_Commerce", + "question": "What is the highest monthly delivered orders volume in the year with the lowest annual delivered orders volume among 2016, 2017, and 2018?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local128", + "db": "BowlingLeague", + "question": "List the bowlers (including their ID, first name, and last name), match number, game number, handicap score, tournament date, and location for only those bowlers who have won games with a handicap score of 190 or less at all three venues: Thunderbird Lanes, Totem Lanes, and Bolero Lanes. Only include the specific game records where they won with a handicap score of 190 or less at these three locations.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local061", + "db": "complex_oracle", + "question": "What is the average projected monthly sales in USD for France in 2021, considering only product sales with promotions where promo_total_id = 1 and channels where channel_total_id = 1, by taking each product’s monthly sales from 2019 and 2020, calculating the growth rate from 2019 to 2020 for that same product and month, applying this growth rate to project 2021 monthly sales, converting all projected 2021 amounts to USD with the 2021 exchange rates, and finally averaging and listing them by month?", + "external_knowledge": "projection_calculation.md", + "document_sha256": "5d4291081fdf5cafeb30c6d8bbad32c85ebdc807c717e95cb30b6b240622b5aa" + }, + { + "instance_id": "local037", + "db": "Brazilian_E_Commerce", + "question": "Identify the top three product categories whose most commonly used payment type has the highest number of payments across all categories, and specify the number of payments made in each category using that payment type.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local157", + "db": "bank_sales_trading", + "question": "Using the \"bitcoin_prices\" table, please calculate the daily percentage change in trading volume for each ticker from August 1 to August 10, 2021, ensuring that any volume ending in \"K\" or \"M\" is accurately converted to thousands or millions, any \"-\" volume is treated as zero, only non-zero volumes are used to determine the previous day's volume, and the results are ordered by ticker and date.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local253", + "db": "education_business", + "question": "Using a Salary Dataset where the salary values need to be cleaned by removing non-numeric characters and converting them to a numeric type, write a detailed SQL query that identifies the top 5 companies by average salary in each of Mumbai, Pune, New Delhi, and Hyderabad, then compares each company’s average salary in those cities to the overall national average salary. The final result should display four columns: Location, Company Name, Average Salary in State, and Average Salary in Country, listing only the top 5 companies in each of the specified locations.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local054", + "db": "chinook", + "question": "Could you tell me the first names of customers who spent less than $1 on albums by the best-selling artist, along with the amounts they spent?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local274", + "db": "oracle_sql", + "question": "Which products were picked for order 421, and what is the average number of units picked for each product, using FIFO (First-In, First-Out) method?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local263", + "db": "stacking", + "question": "Identify the L1_model associated with each model (specified by name and version) that occurs most frequently for each status ('strong' or 'soft'), along with the number of times it occurs. A model has a 'strong' status if, for any of its steps, the maximum test score among non-'Stack' models is less than the 'Stack' model's test score. It has a 'soft' status if the maximum test score among non-'Stack' models equals the 'Stack' model's test score. Count how many times each L1_model is associated with a 'strong' or 'soft' status across all models, and determine which L1_model has the highest occurrence for each status.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local015", + "db": "California_Traffic_Collision", + "question": "Please calculate the fatality rate for motorcycle collisions, separated by helmet usage. Specifically, calculate two percentages: 1) the percentage of motorcyclist fatalities in collisions where parties (drivers or passengers) were wearing helmets, and 2) the percentage of motorcyclist fatalities in collisions where parties were not wearing helmets. For each group, compute this by dividing the total number of motorcyclist fatalities by the total number of collisions involving that group. Use the parties table to determine helmet usage (from party_safety_equipment fields).", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local195", + "db": "sqlite-sakila", + "question": "Please find out how widespread the appeal of our top five actors is. What percentage of our customers have rented films featuring these actors?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local201", + "db": "modern_data", + "question": "Identify the first 10 words, sorted alphabetically, that are 4 to 5 characters long, start with 'r', and have at least one anagram of the same length, considering case-sensitive letters. Provide the count of such anagrams for each word.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local270", + "db": "oracle_sql", + "question": "Which top-level packaging containers, meaning those not contained within any other packaging, have any item for which the total quantity accumulated across all nested levels in the hierarchy exceeds 500, and what are the names of both these containers and the corresponding items?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local354", + "db": "f1", + "question": "Among Formula 1 drivers who raced during the 1950s, which drivers completed a season in that decade with the same constructor in both the first and the last race they participated in, while also taking part in at least two distinct race rounds during that season?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local355", + "db": "f1", + "question": "Calculate the overall average first round and average last round of races missed by Formula 1 drivers across all years. Include only drivers who missed fewer than three races in a given year and who switched teams between their appearances immediately before and after their hiatus (i.e., the constructor ID for the race right before their first missed race must be different from the constructor ID for the race right after their last missed race in that year). Do not group results by year; return just the overall averages across the entire dataset.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local272", + "db": "oracle_sql", + "question": "For order 423, identify the product IDs, aisles, and positions from which to pick the exact quantities needed for each order line, ensuring that the total picked quantity for each product matches the cumulative quantities ordered without exceeding the available inventory in warehouse 1. Calculate the quantities to be picked from each location by prioritizing inventory with earlier purchased dates and smaller quantities, and ensure that picking respects the sequence and cumulative quantities of the order lines for products with multiple entries.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local170", + "db": "city_legislation", + "question": "Identify the state abbreviations where, for both male and female legislators, the retention rate remains greater than zero at specific intervals of 0, 2, 4, 6, 8, and 10 years after their first term start date. A legislator is considered retained if they are serving on December 31 of the respective year. Only include states where both gender cohorts maintain non-zero retention rates at all six of these time points during the first decade of service.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local059", + "db": "education_business", + "question": "For the calendar year 2021, what is the overall average quantity sold of the top three best-selling hardware products (by total quantity sold) in each division?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local026", + "db": "IPL", + "question": "Please help me identify the top 3 bowlers who, in the overs where the maximum runs were conceded in each match, gave up the highest number of runs in a single over across all matches. For each of these bowlers, provide the match in which they conceded these maximum runs. Only consider overs that had the most runs conceded within their respective matches, and among these, determine which bowlers conceded the most runs in a single over overall.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local065", + "db": "modern_data", + "question": "Calculate the total income from Meat Lovers pizzas priced at $12 and Vegetarian pizzas at $10. Include any extra toppings charged at $1 each. Ensure that canceled orders are filtered out. How much money has Pizza Runner earned in total?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local141", + "db": "AdventureWorks", + "question": "How did each salesperson's annual total sales compare to their annual sales quota? Provide the difference between their total sales and the quota for each year, organized by salesperson and year.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local070", + "db": "city_legislation", + "question": "Please examine our database records for Chinese cities (country_code_2 = 'cn') during July 2021 and identify both the shortest and longest streaks of consecutive date entries. For each date in these streaks, return exactly one record per date along with the corresponding city name. In your output, please ensure the first letter of each city name is capitalized and the rest are lowercase. Display the dates and city names for both the shortest and longest consecutive date streaks, ordered by date.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local023", + "db": "IPL", + "question": "Please help me find the names of top 5 players with the highest average runs per match in season 5, along with their batting averages.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local221", + "db": "EU_soccer", + "question": "Tell me top10 teams with the most wins across the league", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local301", + "db": "bank_sales_trading", + "question": "For weekly-sales data, I need an analysis of our sales performance around mid-June for the years 2018, 2019, and 2020. Specifically, calculate the percentage change in sales between the four weeks leading up to June 15 and the four weeks following June 15 for each year.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local018", + "db": "California_Traffic_Collision", + "question": "For the primary collision factor violation category that was the most common cause of traffic accidents in 2021, how many percentage points did its share of annual road incidents in 2021 decrease compared to its share in 2011?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local298", + "db": "bank_sales_trading", + "question": "For each month, calculate the total balance from all users for the previous month (measured as of the 1st of each month), replacing any negative balances with zero. Ensure that data from the first month is used only as a baseline for calculating previous total balance, and exclude it from the final output. Sort the results in ascending order by month. ", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local028", + "db": "Brazilian_E_Commerce", + "question": "Could you generate a report that shows the number of delivered orders for each month in the years 2016, 2017, and 2018? Each column represents a year, and each row represents a month", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local196", + "db": "sqlite-sakila", + "question": "For each rating category of the first movie rented by customers—where the first movie is identified based on the earliest payment date per customer—please provide the average total amount spent per customer and the average number of subsequent rentals (calculated as the total number of rentals minus one) for customers whose first rented movie falls into that rating category.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local230", + "db": "imdb_movies", + "question": "Determine the top three genres with the most movies rated above 8, and then identify the top four directors who have directed the most films rated above 8 within those genres. List these directors and their respective movie counts.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local300", + "db": "bank_sales_trading", + "question": "For each customer, calculate their daily balances for every day between their earliest and latest transaction dates, including days without transactions by carrying forward the previous day's balance. Treat any negative daily balances as zero. Then, for each month, determine the highest daily balance each customer had during that month. Finally, for each month, sum these maximum daily balances across all customers to obtain a monthly total.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local198", + "db": "chinook", + "question": "Using the sales data, what is the median value of total sales made in countries where the number of customers is greater than 4?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local299", + "db": "bank_sales_trading", + "question": "For a bank database with customer transactions, calculate each customer's daily running balance (where deposits add to the balance and other transaction types subtract). For each customer and each day, compute the 30-day rolling average balance (only after having 30 days of data, and treating negative averages as zero). Then group these daily averages by month and find each customer's maximum 30-day average balance within each month. Sum these maximum values across all customers for each month. Consider the first month of each customer's transaction history as the baseline period and exclude it from the final results, presenting monthly totals of these summed maximum 30-day average balances.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local032", + "db": "Brazilian_E_Commerce", + "question": "Could you help me find the sellers who excel in the following categories, considering only delivered orders: the seller with the highest number of distinct customer unique IDs, the seller with the highest profit (calculated as price minus freight value), the seller with the highest number of distinct orders, and the seller with the most 5-star ratings? For each category, please provide the seller ID and the corresponding value, labeling each row with a description of the achievement.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local068", + "db": "city_legislation", + "question": "Calculate the number of new cities inserted in April, May, and June for each year from 2021 to 2023. For each month, compute the cumulative running total of cities added for that specific month across the years up to and including the given year (i.e., sum the counts of that month over the years). Additionally, calculate the year-over-year growth percentages for both the monthly total and the running total for each month, comparing each year to the previous year. Present the results only for 2022 and 2023, listing the year, the month, the total number of cities added in that month, the cumulative running total for that month, and the year-over-year growth percentages for both the monthly total and the running total. Use the data from 2021 solely as a baseline for calculating growth rates, and exclude it from the final output.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local034", + "db": "Brazilian_E_Commerce", + "question": "Could you help me calculate the average of the total number of payments made using the most preferred payment method for each product category, where the most preferred payment method in a category is the one with the highest number of payments?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local197", + "db": "sqlite-sakila", + "question": "Among our top 10 paying customers, can you identify the largest change in payment amounts from one month to the immediately following month? Specifically, please determine for which customer and during which month this maximum month-over-month difference occurred, and provide the difference rounded to two decimal places.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local228", + "db": "IPL", + "question": "For each IPL season, identify the top three batsmen with the highest total runs scored and the top three bowlers with the most wickets taken, excluding ‘run out’, ‘hit wicket’, and ‘retired hurt’ dismissals. In the event of ties in runs or wickets, break the tie using the smaller player ID. Then output these six players in matched positions—batsman 1 with bowler 1, batsman 2 with bowler 2, and batsman 3 with bowler 3—in ascending order of the season ID, along with each player’s total runs or wickets.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local060", + "db": "complex_oracle", + "question": "In the United States, for Q4 2019 and Q4 2020, first select only those cities where total sales (with no promotions) rose by at least 20% from Q4 2019 to Q4 2020. Among these cities, rank products by their overall sales (still excluding promotions) in those quarters and take the top 20%. Then compute each top product’s share of total sales in Q4 2019 and Q4 2020 and calculate the difference in share from Q4 2019 to Q4 2020, returning the results in descending order of that share change.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local358", + "db": "log", + "question": "How many users are there in each age category (20s, 30s, 40s, 50s, and others)?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local283", + "db": "EU_soccer", + "question": "Analyze the soccer match dataset to determine the champion team for each season across all countries and leagues, awarding 3 points for every win, 1 point for every tie, and 0 points for every loss. For each season, return the champion’s team name, the league, the country, and the total points accumulated.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local035", + "db": "Brazilian_E_Commerce", + "question": "In the “olist_geolocation” table, please identify which two consecutive cities, when sorted by geolocation_state, geolocation_city, geolocation_zip_code_prefix, geolocation_lat, and geolocation_lng, have the greatest distance between them based on the difference in distance computed between each city and its immediate predecessor in that ordering.", + "external_knowledge": "spherical_law.md", + "document_sha256": "214e4074f9f55fd1794903cfa256b9b7d7bdba1dba2e4eb6eb6acca4f08a630e" + }, + { + "instance_id": "local071", + "db": "city_legislation", + "question": "Could you review our records in June 2022 and identify which countries have the longest streak of consecutive inserted city dates? Please list the 2-letter length country codes of these countries.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local039", + "db": "Pagila", + "question": "Please help me find the film category with the highest total rental hours in cities where the city's name either starts with \"A\" or contains a hyphen. ", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local167", + "db": "city_legislation", + "question": "Based on the state each female legislator first represented, which state has the highest number of female legislators whose terms included December 31st at any point, and what is that count? Please provide the state's abbreviation.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local133", + "db": "EntertainmentAgency", + "question": "Given a database of musical styles and user preferences, where Musical_Preferences contains user rankings of musical styles (PreferenceSeq=1 for first choice, PreferenceSeq=2 for second choice, PreferenceSeq=3 for third choice): Calculate a weighted score for each musical style by assigning 3 points for each time it was ranked as first choice, 2 points for each second choice, and 1 point for each third choice ranking. Calculate the total weighted score for each musical style that has been ranked by at least one user. Then, compute the absolute difference between each style's total weighted score and the average total weighted score across all such styles.\t", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local297", + "db": "bank_sales_trading", + "question": "For each customer, group all deposits and withdrawals by the first day of each month to obtain a monthly net amount, then calculate each month’s closing balance by cumulatively summing these monthly nets. Next, determine the most recent month’s growth rate by comparing its closing balance to the prior month’s balance, treating deposits as positive and withdrawals as negative, and if the previous month’s balance is zero, the growth rate should be the current month’s balance multiplied by 100. Finally, compute the percentage of customers whose most recent month shows a growth rate of more than 5%.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local309", + "db": "f1", + "question": "For each year, which driver and which constructor scored the most points? I want the full name of each driver.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local098", + "db": "Db-IMDB", + "question": "From the first year each actor appeared in a film to the last, how many actors in the database never had a gap longer than three consecutive years without at least one new movie appearance, meaning there is no four-year span anywhere in their active career without at least a single film credit?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local329", + "db": "log", + "question": "How many unique sessions visited the /regist/input page and then the /regist/confirm page, in that order?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local040", + "db": "modern_data", + "question": "In the combined dataset that unifies the trees data with the income data by ZIP code, filling missing ZIP values where necessary, which three boroughs, restricted to records with median and mean income both greater than zero and a valid borough name, contain the highest number of trees, and what is the average mean income for each of these three boroughs?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local056", + "db": "sqlite-sakila", + "question": "Which customer has the highest average monthly change in payment amounts? Provide the customer's full name.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local074", + "db": "bank_sales_trading", + "question": "Please generate a summary of the closing balances at the end of each month for each customer transactions, show the monthly changes and monthly cumulative bank account balances. Ensure that even if a customer has no account activity in a given month, the balance for that month is still included in the output.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local156", + "db": "bank_sales_trading", + "question": "Analyze the annual average purchase price per Bitcoin by region, computed as the total dollar amount spent divided by the total quantity purchased each year, excluding the first year's data for each region. Then, for each year, rank the regions based on these average purchase prices, and calculate the annual percentage change in cost for each region compared to the previous year.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local258", + "db": "IPL", + "question": "Calculate the total number of wickets taken by each bowler (excluding run-outs and other dismissals not attributed to the bowler), their economy rate (total runs conceded divided by total overs bowled, considering only runs scored off the bat and ignoring any extra runs like wides and no-balls), their strike rate (average number of balls bowled per wicket taken), and their best bowling performance in a single match (the match with the most wickets taken by the bowler, formatted as \"wickets-runs\" where runs are the runs conceded excluding extras).", + "external_knowledge": "baseball_game_special_words_definition.md", + "document_sha256": "9c82e2acfee3bb4b9683957cdd46ef61ce11ee07a7f3cf1f6409a9960f908643" + }, + { + "instance_id": "local199", + "db": "sqlite-sakila", + "question": "Can you identify the year and month with the highest rental orders created by the store's staff for each store? Please list the store ID, the year, the month, and the total rentals for those dates.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local273", + "db": "oracle_sql", + "question": "Calculate the average pick percentage for each product name, using a first-in-first-out approach that selects from inventory locations based on the earliest purchase date and smallest available quantity, ensuring that the picked quantity reflects only the overlapping range between each order’s required quantity and the inventory’s available quantity, and then grouping and ordering the results by product name?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local078", + "db": "bank_sales_trading", + "question": "Identify the top 10 and bottom 10 interest categories based on their highest composition values across all months. For each category, display the time(MM-YYYY), interest name, and the composition value", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local330", + "db": "log", + "question": "Using the activity log table, compute the total number of unique user sessions where each web page appears as either a landing page (the first page visited in a session based on timestamp) or an exit page (the last page visited in a session based on timestamp), or both. Count each session only once per page even if the page serves as both landing and exit for that session. ", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local007", + "db": "Baseball", + "question": "Could you help me calculate the average single career span value in years for all baseball players? Please precise the result as a float number. First, calculate the difference in years, months, and days between the debut and final game dates. For each player, the career span is computed as the sum of the absolute number of years, plus the absolute number of months divided by 12, plus the absolute number of days divided by 365. Round each part to two decimal places before summing. Finally, average the career spans and round the result to a float number.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local229", + "db": "IPL", + "question": "Find the IDs of players who scored the highest number of partnership runs for each match. The output should include the IDs of two players, each with their individual scores and the total partnership score. For each pair, the player with the higher individual score should be listed as player 1, and the player with the lower score as player 2. In cases where both players have the same score, the player with the higher ID should be player 1, and the player with the lower ID should be player 2. There can be multiple rows for a single match.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local085", + "db": "northwind", + "question": "Among employees who have more than 50 total orders, which three have the highest percentage of late orders, where an order is considered late if the shipped date is on or after its required date? Please list each employee's ID, the number of late orders, and the corresponding late-order percentage.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local049", + "db": "modern_data", + "question": "Can you help me calculate the average number of new unicorn companies per year in the top industry from 2019 to 2021?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local275", + "db": "oracle_sql", + "question": "Based on monthly sales data starting in January 2016 and using a centered moving average to adjust for seasonality, which products had a seasonality-adjusted sales ratio that stayed consistently above 2 for every month in the year 2017?", + "external_knowledge": "calculation_method.md", + "document_sha256": "dfe12121ce38a8a38c62c3480dc0fadeafcbe134d5bf6f3f6eda216e1b1677de" + }, + { + "instance_id": "local262", + "db": "stacking", + "question": "Which problems exceed the total number of times they appear in the solution table when counting all occurrences, across steps 1, 2, and 3, where any non-\"Stack\" model's maximum test score is lower than the \"Stack\" model's test score for the same step and version?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local284", + "db": "bank_sales_trading", + "question": "For veg whsle data, can you generate a summary of our items' loss rates? Include the average loss rate, and also break down the count of items that are below, above, and within one standard deviation from this average.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local010", + "db": "Airlines", + "question": "Distribute all the unique city pairs into the distance ranges 0, 1000, 2000, 3000, 4000, 5000, and 6000+, based on their average distance of all routes between them. Then how many pairs are there in the distance range with the fewest unique city paires?", + "external_knowledge": "haversine_formula.md", + "document_sha256": "5205954f1ca74ed724d121772e2bf4bc86c2cfc163f6e3fdd6afeec79c33ffec" + }, + { + "instance_id": "local055", + "db": "chinook", + "question": "Identify the artist with the highest overall sales of albums (tie broken by alphabetical order) and the artist with the lowest overall sales of albums (tie broken by alphabetical order), then calculate the amount each customer spent specifically on those two artists’ albums. Next, compute the average spending for the customers who purchased from the top-selling artist and the average spending for the customers who purchased from the lowest-selling artist, and finally return the absolute difference between these two averages.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local344", + "db": "f1", + "question": "Considering all races where pit stop data is available, and focusing on instances when a driver was not behind another car on the previous lap but is behind on the current lap (accounting for retirements, pit-stop entries, pit-stop exits, and race starts), how many times has each type of overtake occurred in Formula 1?", + "external_knowledge": "f1_overtake.md", + "document_sha256": "b83e7b52e1672e0b6d34bcfad8122034abac926b75d34c880c210ab1bfc8a046" + }, + { + "instance_id": "local311", + "db": "f1", + "question": "Which constructors had the top 3 combined points from their best driver and team, and in which years did they achieve them?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local114", + "db": "education_business", + "question": "Provide a detailed web sales report for each region, including the number of orders, total sales amount, and the name and sales amount of all sales representatives who achieved the highest total sales amount in that region (include all representatives in case of a tie).", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local025", + "db": "IPL", + "question": "For each match, considering every innings, please combine runs from both batsman scored and extra runs for each over, then identify the single over with the highest total runs, retrieve the bowler for that over from the ball by ball table, and calculate the average of these highest over totals across all matches, ensuring that all runs and bowler details are accurately reflected.", + "external_knowledge": null, + "document_sha256": null + } + ], + "suite": "spider2", + "development_ids": [ + "local163", + "local081", + "local310", + "local194", + "local024", + "local096", + "local073", + "local064", + "local029", + "local335", + "local279", + "local264", + "local072", + "local202", + "local004", + "local062", + "local003", + "local021", + "local041", + "local218" + ], + "holdout_ids": [ + "local356", + "local210", + "local197", + "local283", + "local063", + "local128", + "local040", + "local272", + "local023", + "local157", + "local274", + "local035", + "local056", + "local228", + "local253", + "local358", + "local360", + "local132", + "local061", + "local114", + "local244", + "local259", + "local299", + "local031", + "local171", + "local302", + "local028", + "local301", + "local010", + "local100", + "local131", + "local133", + "local355", + "local059", + "local198", + "local065", + "local270", + "local015", + "local311", + "local330", + "local229", + "local219", + "local329", + "local058", + "local269", + "local019", + "local037", + "local009", + "local300", + "local298", + "local002", + "local230", + "local354", + "local020", + "local085", + "local336", + "local275", + "local297", + "local196", + "local099", + "local209", + "local195", + "local039", + "local201", + "local026", + "local034", + "local066", + "local098", + "local032", + "local007", + "local060", + "local078", + "local008", + "local055", + "local070", + "local141", + "local054", + "local286", + "local193", + "local068", + "local331", + "local263", + "local258", + "local220", + "local049", + "local221", + "local168", + "local018", + "local273", + "local130", + "local038", + "local284", + "local071", + "local212", + "local074", + "local075", + "local277", + "local167", + "local344", + "local152", + "local025", + "local262", + "local156", + "local050", + "local067", + "local077", + "local022", + "local170", + "local097", + "local199", + "local169", + "local030", + "local017", + "local285", + "local309" + ], + "split_seed": 20261126 +} diff --git a/bench/accuracy/results/spider-holdout-final/settings.json b/bench/accuracy/results/spider-holdout-final/settings.json new file mode 100644 index 00000000..7af7d12e --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/settings.json @@ -0,0 +1,42 @@ +{ + "profiles": [ + { + "name": "gpt62-sol", + "model": "openai/gpt-6.2-sol", + "api_key_env": "OPEN_AI_KEY", + "max_output_tokens": 8192, + "reasoning_effort": "high", + "transport_retries": 1, + "retry_delay_seconds": 1 + } + ], + "split": "holdout", + "product_commit": "4e1b48a", + "manifest_sha256": "2383837d49bc0085d0543840efee195505cb94c39e5374e8069c8f5513ecc4a0", + "sources": { + "bench/ecommerce_demo.py": "f75f4c82e07773a57ee1954d59f0acf35c9eb945430bdaea4ccdd98a35dcc86c", + "bench/oracle_demo.py": "c781b9501dea47b7900bb47e3fe41e2700d2153e85e087dce757f95e3e698b0e", + "bench/oracle_view/rehearse.py": "0114ce65327e435d4e3be6cab60e22b48bfb3ff7f06d97c14a16ea0d8e5602f2", + "bench/oracle_view/long_context.py": "089038788a9b4191946c906e470877bd246850d0a6d535809594a0bddfdcd47e", + "bench/oracle_view/codex_demo.py": "2eea87d833ca6a73a50255fa83927c6c560e2390df6c65e217263b2d3bb966c6", + "bench/oracle_view/summarize_context.py": "707b288be6637a7c8a45b957ef44a81cfb091c7fa5b249e9407a2a9b07e66626", + "bench/oracle_view/evaluate.py": "10685e37fbb2420242ebf5f88f988f3d5bccebc45465151f53ab8454e8fb5a3c", + "bench/oracle_co/session.py": "ff839e7497d9e06ca18a248993bac3c556d256ade7311c604d1f55926c195acb", + "bench/oracle_co/demo.py": "a8ac981bb35d0d77595b2441721cde4e458fb63c3fb7c1748a14bab4a187300a", + "bench/oracle_co/db_preview.py": "9a08766183d5f9542442ba41666d998fe024926e676799ffac5d751237ee0d64", + "bench/accuracy/evaluate.py": "fb63626cf53df8545262ed75284adf2d78d64cbda5f80543661c4a6c2f51bac7", + "bench/oracle_meeting/rehearse.py": "542664b6f04ae6a9606735b550fc2ce2f50df6fc0513384ebf4c654136974cd3", + "bench/oracle_meeting/codex_rehearse.py": "cfa84091da819ab1cb71d083c3ff77cc7fd79b8560de2108626e6d4c3bd8a3aa", + "bench/oracle_meeting/package_fault.py": "c7bb3552f167bafcbc084152deb66e187b3a6fa4de3dfed92cc00c7588bc1fe2", + "bench/spider2/providers.py": "56dec4b5de751acb31a686a2ec6a279be9a8be32dc7939d20487ec428d130aef", + "bench/spider2/evaluate.py": "e69628766439b40d4a524d9a23890b9399dd4357f4550fac5ae72f74c2bc91f7" + }, + "limits": { + "max_calls": 16, + "call_timeout": 180, + "case_timeout": 900, + "sql_timeout": 30, + "max_rows": 100000, + "concurrency": 4 + } +} diff --git a/bench/accuracy/results/spider-holdout-final/summary.json b/bench/accuracy/results/spider-holdout-final/summary.json new file mode 100644 index 00000000..469c5c2b --- /dev/null +++ b/bench/accuracy/results/spider-holdout-final/summary.json @@ -0,0 +1,20 @@ +[ + { + "profile": "gpt62-sol", + "status": "completed", + "correct": 71, + "total": 115, + "accuracy": 0.6173913043478261, + "failed_predictions": 11, + "failure_types": { + "ValueError": 11 + }, + "api_calls": 533, + "seconds": 3644.1261835035402, + "wall_seconds": 947.3976113749668, + "prompt_tokens": 1502970, + "completion_tokens": 145465, + "usage_missing_calls": 0, + "cost_usd": null + } +] diff --git a/bench/accuracy/spider2-manifest.json b/bench/accuracy/spider2-manifest.json new file mode 100644 index 00000000..771925b5 --- /dev/null +++ b/bench/accuracy/spider2-manifest.json @@ -0,0 +1,1460 @@ +{ + "benchmark": "Spider 2.0-Lite SQLite subset", + "upstream_commit": "cafb867313aab4e674652054198f383cf4018943", + "baseline_commit": "e0a7fb1", + "seed": 20261114, + "selection": "seeded shuffle of local IDs before inference", + "question_file_sha256": "4ba48916576fbd60311a2478c6d4550b5d8cf3fcbc512457ea493b5941ca009d", + "evaluator_sha256": "e93624e4ffa00e51c67bdee1d9e42b534630087cb453270c0dedc0c73e618480", + "db_sha256": { + "IPL": "bf5ddbf887bbf992a091ef31ee681b9339ba716c327263fce0f3b4da924f22c1", + "bank_sales_trading": "10c8b8136486902a19c3f974f210e9fb7c8f98918ae0313114c720219b02e18c", + "city_legislation": "6a9714f9fe11676691c38bb6e2cd048ab877415d28c358a2647ff1b8b8bfe763", + "modern_data": "d4910db155d7be8070d14cab6e44862d0fa74d71e6588d114c4bacb4225942e4", + "delivery_center": "d882e3e6552634e27739beab4c65fe8ec2086b84155489762f9052a663913f9e", + "Pagila": "dbca3837b9965d75fbc2b4af1b2daec57d841f95942e656cea44db997e05da88", + "E_commerce": "49446afd935721ee12fc95316fbee9666a3e1bd4872dfa194fe4625d6762a81a", + "electronic_sales": "8e759e113c316c7f996c2e721b596f73979fe679abeacb21e6ea5dbe6fc62eaa", + "oracle_sql": "ace68ede8f7fddc523d522e938ccfeee1f54c11888fd2c956ebc27892fc595fe", + "Airlines": "83dd643367785c6b38b5379eecaf2c37128babac96805a48362783ff0cafc0a1", + "education_business": "d3498b07f44a4ac1757798d70f4cac7c44d16082c0608c58a74d5aa0d6d058f9", + "California_Traffic_Collision": "14ace2b5213306081611b24647fe70778426bbcb0d5b30e85beb0386ffcf1020", + "Baseball": "4784826541ea40d76dd9c2da2812e189ec351ca79e2738916da5587b465341cd", + "music": "f82efedb6c5c40734609e168bc5be5616a2eca6b90ed0048451a8674625e03a3", + "complex_oracle": "2244dbd99d5205941353024332eb62b1754d3383bcd7c8c20361344d736be00c", + "WWE": "5e21654b3ea344583c921864c499ea984e66fb46579f7d4e74f531d0f415a52a", + "EU_soccer": "b4ebd079625bb9cd20437eaae1ccd0fc82f0f390567cfe3ee1df78fa08ad5f9a", + "f1": "35ad3b824678e8435bde02f14bcd554630792874749fdd59fe9ca1385234ce23", + "Db-IMDB": "34b043fffa7e10a152c8d1536bb54e5365df102ac9d8c09d4549ef0d9ef6aadf", + "log": "800191cd5ba91dcaebb427bb9313dc5bef1571b848b597508f15372e77c2dbd8", + "sqlite-sakila": "dbca3837b9965d75fbc2b4af1b2daec57d841f95942e656cea44db997e05da88", + "EntertainmentAgency": "24237bd0232f4b542b3e5c0417c9890c1d02ae8e2434253af58528e517a0fd07", + "school_scheduling": "bf37030ee170906bfa6bf5958766cf2a63dc0ad8168b3892ad96940be838fe63", + "Brazilian_E_Commerce": "96d1becb02714d76ef1a728d8ca0de33e52acead1668abd5f7d8a73a45f6d0f3", + "imdb_movies": "175c1da2deb00fe28d70608f7839aea5abc214dca15bb3e8622c9b7258c25b9e", + "BowlingLeague": "f8ceb5692677a5a4e04d0a08dd495ae8dbebffbacdb2a66dec551613775bc12c", + "northwind": "80a1d9591da7aeaaa439ba0002023d5ab69d3f15a3d8b2ac9389dfd30543c1e7", + "chinook": "d6c11e2ccda2a36883af57f031f76fbd55e247f3be1710c4c8aaa72ec06a18cb", + "stacking": "eb683890921eb597f176692fe6ac9fb544dde3fd78084d019bf82cd0e6efe780", + "AdventureWorks": "f8bb86bfde5fca5636030fa9490ad37d4397b0b21591ee62c7aca363a64f2653" + }, + "gold_sha256": { + "local020_a.csv": "c1b371bd6f78e69c1fbf6c18aeb322eb8eb6ee941d2ab38891867bbeebf6ae19", + "local020_b.csv": "7c70ccf7dcf12696171f65f84ac3a12ec0c186c9d652e17eb4bca16ecdc713f0", + "local064_b.csv": "dec7e4121cca37fbc2382cc8cc6ee1aeaef25db34fb2b48402cb535a5a6529c0", + "local064_c.csv": "06a27d4d7c5abc98f940988e1a3e42b63013f67a64cfbc380026678d9cfd8c7c", + "local064_a.csv": "500a9aa255bca20726cd09bb246f629cbd646a8add8fb1909392ecd09f93b297", + "local169_d.csv": "5220ca53e1d1d4f299f003c98c0d3d0f6beaa89a19648cb5be05f8c4979b24ee", + "local169_a.csv": "b3dec45955dc3e802667d623e072f56cf164bd5aa3ef7488e4126dff07887437", + "local169_c.csv": "1a36de9147b3b3ca4d39f111e15401ab332d343784744e4400e0c44768dea798", + "local169_b.csv": "a7f5b51992d6a1f5ac5aafc37a89b9d77b5a04d459cb7ca450e0f5777dc6c2ee", + "local073_b.csv": "203926fa65c2315ce652c2c648edf76f84d2a324f61218bcb3ebbd140335ae60", + "local073_a.csv": "7bd11f899aab7c37790cdf55b7f04b09a060d36d44ca57343018a22ae64f88e0", + "local302_b.csv": "1cdb9b8168d2bab6b7897b79122d767026313001c9df4846146c70d012ba9ab5", + "local302_a.csv": "6865f086e47dc7842c167d5907830506a7c591a0f387c3a1f4106eb56555269b", + "local212_b.csv": "bb74516e6d3253874a418c2af2a5240011b36fd104e340881b41377279731c07", + "local212_c.csv": "3e9ffdfbb80e8c424d7c927495c04b575113dc129237d674384490b6f19f7a95", + "local212_a.csv": "a7ec3f8b50d95a2c946b9904841ad97c48ee2ae066f18e95840ca041f2653228", + "local075_b.csv": "ecb3ddc0d38d6561d4633006dd578b1150d1eb79ab1b753d9bb3d529f496c361", + "local075_a.csv": "ecd72e006e9322343c1d008e606b1f87dd9cea8c522821603adefe2e15e74f61", + "local038_b.csv": "7a92c8c4d7b6aedd050aabb1bcfe26348038cfc3429e99ff2e1168e0f5d75d09", + "local038_a.csv": "ee3a29f76657fdbc0ac015d17a647bcead7f7edbf2bc9ecfdd33238c4dc16a52", + "local003_c.csv": "96fba57f2fe200d7b18b2d862bc956f98befa8ead69a6d3ff0593197fbecded1", + "local003_b.csv": "35d1fb54543e7b6de87d5d5e7fee1d4dbbd67b7d5d98e72e8fd959ac8a0d38eb", + "local003_a.csv": "dfe02288dc4d860119b85b2629e240b283c19c4828ff92d115de38d2553f2208", + "local003_d.csv": "88569b7c814a488dcf872675bc5cb21b314d81c736574569dd10dcc8cac5765d", + "local286_i.csv": "67282b3f4efdfaee5d82d004381caa8ef9c2d70ded77e5f018bc12121ba648b9", + "local286_h.csv": "b9745253b4426a4754d5f22b7a158c682b69d215467cd20ff39d59b464b8e52f", + "local286_e.csv": "3e2c801aa106e114ac238d3f0593e4b51cb1ab8d333f9ba88ebab1138aa651de", + "local286_d.csv": "e6592fcf5accaed189bcec1a1a6a7d6906932542da0acdd34427d7c05ee4910a", + "local286_f.csv": "3f59abfefe275b81255fe3d591057a807a9110f1baddd41661fe6326dbe80eaa", + "local286_g.csv": "e8900c3cc4a15f719e54346df7e857bf5fa677b25e62a6d211aa57e705a6c53e", + "local286_c.csv": "0f58057a69e464d146ad40b470c2a6e593dbc44209d6b8ca6312bce47142c832", + "local286_b.csv": "ee6565e66e7580bd4bd9766171b6b78a5563099b7b3e2ac7b8c5feb1b8159e0b", + "local286_a.csv": "a10378fc736e6bbdf16a23aeb65840dce586d06db9f7543df5649c0a876c558f", + "local004_a.csv": "7f1b06203ef6e8400537f3ee59295b0794edaf2c4d20cbf428b742205dc79745", + "local004_b.csv": "b727d6aaccf9806451d3aa60f21c4830c51268a8c4ba1c2373bb20b02e4b8ad2", + "local277_a.csv": "ec9a93c0d9df1bf97e71c07f51281bc51c94c8bdc3b3468321f18386beb03d28", + "local277_b.csv": "bb0393ebfe836fec7f6382b8c60f173081aee06706de5f808738e58ef74d14ed", + "local277_c.csv": "474344a708d34dfb21b540c0b9c37b566d7dc3e716efae55e40dad2a42f8a141", + "local009_a.csv": "55d99171b807ec637db5e5537862c0a95e7c80e6ff9141ff0954903114bee214", + "local168_e.csv": "973f35863944634ce8e1a0f71ccdf3e3b2e9b4e4af7a7af7cb8d2880369cae35", + "local168_d.csv": "7c350f87225d15834980a48d7eb151d49d7ccb54b0a34063c6353d35d1360a04", + "local168_c.csv": "a099fd0094964acec9e9b7dc780e2d74e3b352d0a406fbd26492b16254a3e9ac", + "local168_b.csv": "0ba23c452b58b79505385e9d640647eb222ff03a8ecc42c3ea735e0dc5a3c47c", + "local168_a.csv": "2e0139876cf21db59202e70f35265ef7153f860a1552b2dbb45b74239d2f41af", + "local058_a.csv": "c74e9663427d34d34cb641480e4807b0459db608f792c2f35b2d072a94b489fd", + "local017_b.csv": "93766776794bd5ae3f393b387b3e96ec4607d1a1b51cbc8efde4ceed137cf1a5", + "local017_a.csv": "51256921f42d6e90afd3d2c173c6c41f78edae73dd08c3db89f4b058d6ccac6b", + "local008_b.csv": "ec056a18be1876a4d931f0a3470e972c83ecda7b2b398b1075f7568e4ccf5815", + "local008_c.csv": "fd4647652ddd17aafd4e2ee4e2beffd47405db36edf56ca756f8e12839f3b65b", + "local008_a.csv": "89ca9045bc066b6f9e407b19bcf51f3972bf6d60c34cb423333ec675489ff9cc", + "local244_a.csv": "5965bfa1f61aa4f176dafa1f6404853176c6c1bb7a2a23611fbf19d947afcbb6", + "local244_b.csv": "a0e9f988fcb19cf1de3e04c2336c9d69ca45f452213e50144d52c12bdd9355e4", + "local063_a.csv": "1793aa1c7acc50826abd3658b0f4e33559fbd6d731d8ec93fafbade87c9d5234", + "local063_b.csv": "a1441c9bb8dc7e44fb5a07fd7859819557c9736cd288d134cedc863840eec30b", + "local063_c.csv": "b755b88cd040cfeec296a84e3047d28c83cc4610578a5dbefd79b237f248dea5", + "local063_d.csv": "d8368237d3fc65210a2fdf27842d5b547ef00140ebee87e1b5e7ee5acf0e7d23", + "local063_e.csv": "4ac60e76e037ba5e62532d02bd6c9009b16bf6ecfeed2d3927892f8164f0772a", + "local259_b.csv": "f2d95d3a692176ef5a7a08318c2257af1e1971db71bff98e7fae55343253e842", + "local259_c.csv": "df6c3de0deee12fbddc77b2b5a0de57c80b0826fa3fa182b4d9615d69c4f2a70", + "local259_a.csv": "2c2419415a341c10edec2e05be6aebbba30f7428456455edf0f46de2ec5b3f2e", + "local019_b.csv": "5a3e07334d13b00ed6b6f0b6ead9542dac5da69a4320e71d942235514a3fb231", + "local019_a.csv": "6094d8e25f80e75f1c7b91b27d5943e71eb63acd8407c0e7165644787b77cbbd", + "local021_a.csv": "0936bacb011189be56c7b695bf624d8ec171e453a34fa6e0ab8817b8fe508caa", + "local002_a.csv": "97eb32859e39d7ee65b2a7501b157e1cd67fe932d58d2c5b931c3442d6a0afbc", + "local002_c.csv": "9deb74fe0ac8eb52df9ebe72260aa5b12c3f574e1858c843b91234f8d92c0cf9", + "local002_b.csv": "d1382f9c7802b5d2e55c3c3431322df282f4059d352ef588bdb70ec076d61879", + "local220_h.csv": "29bc54cf4eefd315349bde9119d4355bf9e8fa315b32ecb9cdaafec1d84b34af", + "local220_i.csv": "72eb0dcadb3803e4db881e56f3e983cf1f70d30f4aea1f3d5ae6d9f12ccdb004", + "local220_a.csv": "3fd793f820da7caf070fa30e734fc50fd512de91bb8726157791e6505b19f2ca", + "local220_b.csv": "307f4b3b18444ac7d3e2e0621f3e446bb0b3542c663d48bf0a3c88c0db8611be", + "local220_c.csv": "cec03dbe63fba9147b27e0d97ee1a750943e8326029df162ca7a54f2950b7e83", + "local220_g.csv": "c9d54b9e5320fd510c11afa8d7ca9a4b0f9b86e13da1a8d6fae8065472e01340", + "local220_f.csv": "6e6ab60d41c302b668986d652e63081989a7c9fa4d8eadce5097a1669be4ed8e", + "local220_d.csv": "38bdcb5070e77309a6968db11620e91994432b85feea07eeea4a998d496ed37f", + "local220_e.csv": "588ce337a1878cb035e7116a0910bf3a1a932446c02dc1da315de913fb19deaa", + "local336_a.csv": "28d892a0a923deac963020adf6123c94465bf5ff0f575e881442968f225db7c6", + "local336_c.csv": "89fea80e22a96f737ea5fc60113d26e4b81b2c6649721f51117fd9ec80215de2", + "local336_b.csv": "43131e08623badb368d1b3b253546e089d9e58ff1013a0c22b89c4ba5c733fbe", + "local336_d.csv": "493f99d0374d955882bca3f0257a2c714eee78111f465a1dc003ee2dcc47f34a", + "local077_d.csv": "55982709bcc150ee95ebd23d9d9389fee472f2f569979462c170cc1f17a42990", + "local077_a.csv": "f6e756eb78b1229ea23bf75d44de15ab0fc5cf79c63815595696186ee3a8ca09", + "local077_b.csv": "77fe93d9db1ab584637158c4a4c0ed60a528a2ecbefb0211eac390647a16b694", + "local077_c.csv": "d05b442624aebc3e586434af3b2837dbc4f2c0810465a97b85c50724bb3a09e9", + "local100_a.csv": "1c65e8f88161a7f86810c6f4669588ca1d3ef321674341c8a11979c489cf692d", + "local210_a.csv": "6560065fb4722f6ad2f6b1690c82d92ed50cdbea71936b2c48f50ed1898db22d", + "local210_b.csv": "47762ab50ef3d12a0a4a5ef5f10c41a7b8047b254e30b8a68ce302f8335f0245", + "local163_a.csv": "96ea14d9b3d8f61947989d5dc62c696eb15425dd86efc3290239b703bf99d506", + "local269_a.csv": "7267c436f72664d40ed245834186360188fa127f28c4a13c5e21d16c9840e28a", + "local285_d.csv": "712513f473959279273b3d6eb70f443ce7fc1f8296e5eab2e666bae2200de666", + "local285_b.csv": "a87ab59dece88c9811bcd52981d716d119609de051975383f4c741d37c98e878", + "local285_c.csv": "f1d1471ad889b1ec40b6ef4bbb691168523b8b01ede4327a5e41461a1f1d65cb", + "local285_a.csv": "3a88e7542df7ebdf18d21e3765fa1f0fcfd7c2af088b36ce169a81c9790431c8", + "local219_e.csv": "12ec2399787f1ca5a882346e9bb24021d9df7cf73787fab77952a7b8db84757c", + "local219_d.csv": "f5d2bdabf22b17758a44df650e6be6fe4a2c0f94a9ed5d0f6b30435dc285a419", + "local219_f.csv": "b8acd8c449ec4e0f38160ef5bd325671b773c2879cad84531da1780044471b08", + "local219_c.csv": "7803b6fc3cb1c317d0d02bb7eb529555659fe416a9fc281fded398f26280c294", + "local219_b.csv": "3d73969fd39cf5a1cbae9d32f3147b19339396083c877b52612b6cf78def4d81", + "local219_a.csv": "9dcf380a8086a2f4ef87a8d6d2db72455c83032f3f7a6e9d6e03281dd602a0d4", + "local360_c.csv": "1b8a564021b0ccd7f0aba665f54bea7f01c17aa48a8d4a2cd920ac12e0e8bf8f", + "local360_b.csv": "e2764c72c8aabc4430bb46ffc6c873f09408a758dbc757d87c6a1aea2d26a371", + "local360_a.csv": "de935d70c61b69e9bb632db32d60e07543447126a30f738eb52b4433dbbeff8d", + "local331_c.csv": "5575b855b619782c80380d2e932b9f8013b5a4e400d17bd6723aff8965f36622", + "local331_b.csv": "398b4c221861dd10271520f700c0ccd5169d9713e3f30c4d8d04f74726f6096c", + "local331_a.csv": "be4bc308953866f6e4b173319a1b0934a3404829753c7662f317ce26bb5be91b", + "local193_a.csv": "15bf368dd71c4ca644d590268b57fe2fe1d080e26ededbf3de3fd3985ea355c2", + "local132_a.csv": "ce397426bf6cb0280cfcc1abc74a4b64e4048568ee9a2d878ef296a4e41576e6", + "local310_a.csv": "35d7876cd66bff44654add1596d74a6a916d15994c5f4a015a48633ec8e4e8c9", + "local041_a.csv": "4b61532d00887c35ce49c293e9a8cdbedf93da39ae84139a3744a07b1a551144", + "local041_b.csv": "2dd088064fc0b86e4deaf8356aa902d290321b5de6fbecb737e0c6da9660f30d", + "local099_b.csv": "fbdca4cd81c62b3d93bc93eb215520d892ba4c290751919f20dd71418ce6a7e4", + "local099_a.csv": "bec10511e51815d3a874d90ce4a83af43396138460f02d4e36d0b0880fa03724", + "local130_a.csv": "6694afd62cbcfd4fba3f359e3e76af114f615c01606190c9787933728ee54daf", + "local066_a.csv": "c1899edc643a416e7b90e8d7d78b8bf46661e9eeb3a87e7d8bad6b9d547cda2b", + "local066_c.csv": "6551bf0440d4bc3e41c471f6dc247f300f93b0fd2b5fd4a8308bdf96e18dbee7", + "local066_b.csv": "cab923a50ec2151f75792452874ef2e7fae3ee533a07e8f8725fd6355762f585", + "local030_a.csv": "161284a3c6f2c5ec916f4886536315005752236edb3f1906d2e894202614144a", + "local209_a.csv": "deddc04c50a244e75de82f47ba6c3f54fbb6f97b988985f6993db03183b8778e", + "local209_b.csv": "e7f4324fd0a268ef8db517670215e03a14ca4d738abd5adce0bb1d48857b84c1", + "local067_b.csv": "c6b945e3fc178475ac8c6440ff33ab4a33578dcf1187f79ba7c2a577f17ce7e8", + "local067_a.csv": "34477c4b74140e991f932a86b10e3ae6cace0a425a4efe9480d2d52ded344180", + "local050_a.csv": "58dfb380fd1b78d1ffdcdd41136ee6d29f5fe878497fd8c447a5643a945bbf42", + "local050_b.csv": "2be2c502211501cac9fe28882a163b8e8e0ada559e88df12d84279f960c98508", + "local050_c.csv": "c02d70fd6770f3b8b7c7400017f9de5fe4a3d98d5bcff5d23bb855bd34e8193c", + "local022_a.csv": "5b0274a5bdf4cb2da91e1cb86da639d2788ff6c9ce12be709c89ebe431a405cc", + "local171_b.csv": "438b893ebb918cc5270c7c83ce5b9c66a2e5c1bee69b01ce916bf44ba01322da", + "local171_a.csv": "43c4b12ce24776c1cb3a4b3d6ccbfbabd2697449aeae73f43f4a8b217f348a94", + "local131_a.csv": "99088095afe2b7e918cd1362c7bfc329d0769b29cbdca8d3a0db17c12cefa257", + "local152_a.csv": "ccc36f93451600109f70423f3f2b22c59efc2aeec4481a34c40c6cd03762ec35", + "local356_b.csv": "5fb856cd42618d59fd31df1d5cd709c44c9ab461f06332c7cb42c4fb0525d875", + "local356_c.csv": "2d55de8bf7ca99d16767c4dd1afc8aac75f555903707439e862e9ae93f9df93a", + "local356_a.csv": "89856e985d2871649e2886240252cdc23f93da31724184c8d5a4a84124c8beb0", + "local356_d.csv": "c2cbf79260717e789c4a46bf0730c3476bbbc825cd8de28dddb12871e901fccb", + "local097_a.csv": "ab059c081ce0df9c377b85691022bb1f9f3667ce570bd81b3939d3051a53ece3", + "local062_a.csv": "2b9d26110be67fe46bcb3660fcf6999b4a003bf2a67cd089e6167870ceba77a1", + "local031_a.csv": "75b4daf5e59d7b7a5ef8810934833306d92260dc859ffa703a04d975c9f337ff", + "local128_a.csv": "2749b51ed71b2551d35f0d59c6ca189bdabfbdbc03ad154d0054c029eede7e0e", + "local081_a.csv": "9da7d88a04332b1b3fe6e84984e5d438fc2259026c92f0a617cd5b288c8b5981", + "local061_b.csv": "657640cf09e4f966f3b27816d2eac9868bc9afd2482a522e2cfca11c1308435f", + "local061_a.csv": "daba05cde352f1495ee5d5fe44e2e97d385dba25daaf9c9eead07d769e296593", + "local037_a.csv": "366902a6892471d22a9c5daf4a0a3a2b00eea621eb2aa7c2488fcd15f3a4b164", + "local037_b.csv": "e1b83ddd4a92ff112d597dd1b7f58242d2311417ae489aa2de8f07d88a08b4c0", + "local157_a.csv": "03259b07da7e44b85bf7f9e29e5acfac68bac669521afd3fb7a58ad56b7eb549", + "local157_b.csv": "624762a24072777e61e04392667b9102a2a75c1d75a120e30a990e7504de3ab6", + "local157_c.csv": "8e17cc7aa611d37ab4cafc7e70b1dfb6b7acb6bbd350fb15df7f2cd33e2fb4f1", + "local253_a.csv": "12bf95bf4418538435351a274cd99e3c5de8f7f51191b8d1f9acbe6167334c82", + "local253_c.csv": "f039653401cf392269288eea252ec11b9521fe764cc1304824a68a85f9c440c0", + "local253_b.csv": "47481be8a36053414a51168cf5f07a50cab22a5ef21d78cf6bcafdbf81b24e49", + "local054_a.csv": "6b684a3248c29aa8a29dc465edb8521463c3f0bd5e069df6e1f8a9e1df602333", + "local274_a.csv": "83d9b383b5f3db1b6d1880a91dde84a7c198d27bb34f5ad70078aa34a426c310", + "local274_b.csv": "bac6a3a31918621fb89e8c4c09b58001e81ad8257195ecab138f4eb20e4ba254", + "local263_a.csv": "af3936a3f06d0148c560a6781446bd98c758195d8c61cc2976b74435928f594e", + "local202_a.csv": "85e9369fc30751cdc1412cb5c7e78c2abeec2985dd4a5a41c5cdd71ddcc18519", + "local015_d.csv": "56f7cfa3c4a037c1c333de502d69d6c916da6014cff549996b09ecc3a89503bd", + "local015_e.csv": "a39ca5bb24cf3c1856102f53125f56c8fe686bc137b7402caaaac932e4a0d78f", + "local015_a.csv": "1d0afabe2283a59d441749067202ebcd70738034bd51d5e594675912f1a65106", + "local015_b.csv": "6d2f13248ceed54c99e70aae4c036a3886505ef8317f01cd84581180755d209e", + "local015_c.csv": "97b0b536c43f4dd48a36cced476efd98a469d2c5dd0950dbaab29924e7a7b31c", + "local195_c.csv": "3f35e382a09418f07f0c5afc5079b8b8fb7caa85215659fdec8f75fd52ca222e", + "local195_b.csv": "c948a0a429525ba0ff477d20448dc822c854ba9a5130dc2a2e1ba45036a1cacf", + "local195_a.csv": "6d010cf196c1cf9df4dbc8c5a5ef43c512870ac233c91264a28eaea8d4c46e2d", + "local201_a.csv": "080af4ed42042e04fe32a13854213d666382484739a9b353c0ae16295fc9fa87", + "local201_b.csv": "839abb14e25553a9f02394bc3ba35c53e528435fdef74dd9ba09acf20e5f7c91", + "local270_b.csv": "c6930b4e54ede426f04d641b7dec97d3794f3b44a2c7edd3c32bc3eef0b7c908", + "local270_a.csv": "44cbe0fc3c486a69790f015ad4b0944b7214d04ac9e1be0f3b3ac098aaf9605f", + "local354_a.csv": "a7a64d27016f986a8e8147b7c9d3a223b8f4082ea600ced8e5556e9080bdc2f3", + "local354_c.csv": "b846ff6920213823d198c67e147fbc7e3dd9924b951b47a3fdc1c9178dab4db0", + "local354_b.csv": "47de60a37350b531c54141ab5c1f46c294f2548fd6ef066ba2dbaf6f3f0802d0", + "local354_f.csv": "f3f2f1c0d9f0cf62a1b62770172eae26df2c961e190a5ed400dc83a48c53aae6", + "local354_g.csv": "8f9205af30974a993814edd1cccf5bdcd966a0641a0fc779246ed08beb457846", + "local354_e.csv": "d64bc9fa961ed98903c44ab63a73335502f3708fed027e618d35171c088210f3", + "local354_d.csv": "3672e9edce01bc9365f9fdef6ff15b4e94229c86f666a6a2686f241c7f25e931", + "local354_h.csv": "a4650a35efeaa4abf6142031a5cadf3dbee302a2abc232e8bb111d40fb6c89a8", + "local355_c.csv": "3b325c85166cd828601d40d98fbcb5a8b9ad301a8205c4f249cadd007c81f471", + "local355_b.csv": "45a67bcdebf25080c908c0449493e2ba503b7dd3168a17736629950d93a0fc83", + "local355_a.csv": "b6791e332962e204bca0fb65dc5cc521772bd22ed4bd2c9e0dd1436c5cf91bb6", + "local355_e.csv": "5edac8923a319e1630ddb13b8b0a50660363739a9c8f874adfc1be98242ec83f", + "local355_d.csv": "8c0297b41ffdac464accf4ca3dfafdba1caf68861fcf75545c6f1780649a1d44", + "local272_a.csv": "674a1e63a234810e0cedd5cb866b94177232be38c05e636bb08ef0a4756c8f01", + "local170_a.csv": "2b42a04d9f2a941f4f9e8ec8d8d6cab30636aeb97a68a9986f5281d7e8614a52", + "local170_b.csv": "75ba2f192c088b310f6f430e44f6be6c2975f7c2304602c04518731c444b146b", + "local059_a.csv": "d9b908bce1098fec3340ca821a2d0cc8f1081c3c0b3d9dc443d70887371bbfc7", + "local096_a.csv": "2a72e80ea25a693763018bbb412b540bc37449ffd1a113b332a68c762821f146", + "local026_a.csv": "8b0566d063be61514dd41fd6c20b7f872677ef6e9b74a1959a930c344e73e6ab", + "local065_a.csv": "a88fe08e758fc1ec3e5445c72e82f94e21b134c50fd020b849034d9c3d7e7512", + "local065_b.csv": "5222f53ddf2a5f19fdf8a4c126a89821f02dfb113f8b5149fbefc3f84ab2780f", + "local279_a.csv": "4f7378f0e26249ba807745040c85b6755ecc47ff70fcc44b6aa22caad2d2a437", + "local141_b.csv": "f1274a92ef605fa942f1777b10ee9549869b2c69e6c71db8f0e21060b16fca17", + "local141_a.csv": "f0f881eff759810e1a157ebec160506f64fcecf175c015d384403830765e9513", + "local070_b.csv": "fc5d8fa9225349c33a07ca52643a7f11434e9e8fd5711769b0fca0af3addac15", + "local070_a.csv": "fd0136749fd3215a1d9fcc910a6050866a928f3be65713f5518b5ce3a79acf9a", + "local023_a.csv": "abe0ba55aec5aa107a322556bc4dc73d8d76426eee7f7679a9b4329df0458e3a", + "local221_a.csv": "12397cf2182c3d6fabc5fa3c5d1e1b72abfee48e5852eaaa7f6cc94dc113acdf", + "local301_b.csv": "fe96a3ffda30fcd83a40abde6f463160287f678b600c89ec6d8845f89d2ae5c1", + "local301_c.csv": "2fad0ac554543c8b4adde67d898593b4c102b70777c9c992eaec45067bf8eee3", + "local301_a.csv": "cfd0aa58b5f02bfcd83872d5dac729d9962725bfb558cb70d431fbd1d360dd77", + "local018_a.csv": "be83eb216699f3aaf4769f1dbaa2b483718548855da59eb7fb6466ff15f2d902", + "local298_a.csv": "f295cf8ade91d7120c18bc811a1b3839135437b36a9c71efb59e8979896a8bb9", + "local028_a.csv": "4b08cd97c949a352f8450696db24d140ea0cb5b7c94636dc46d495db8dcc8c01", + "local028_b.csv": "742d31b1c4ca1c891bd22bec5701b18eda75cea427aeaa8ed3f66a5c32743180", + "local196_a.csv": "b3114812d1bd2ee0f83f593cc1ba00228c52add975720b1b9a7a4a596d5e9d5a", + "local230_a.csv": "fa93c03d618f3be4b3046f38c93489b6c5511ced7796b4cc23ae9531d2538234", + "local300_a.csv": "8881876917149ed5fa7a655ddec6de301e4b9eb88691c8d3717159cec1f10a66", + "local300_b.csv": "b6e12cd56de4bbd1fad3bc8003dab7f8378600c310ed0ff8dfeb9e3c5520d4f2", + "local300_c.csv": "dbf8c9c285c1e3ec012a20e21256117a7662aa34882bd84536ef9dcfcc3e3901", + "local300_d.csv": "1c4f4fe5c79c2207a15f215759f31915dad213988b02e13bb405170ad6122bf8", + "local198_a.csv": "1e552fd1326323711ba031bae7fd1a9c2bc4b6b45404916a7066532bc29fd86a", + "local299_b.csv": "1c3b8a170deb6ea5016ee61ce649c3ce32ad08ae2724485fbf4999c55501a45f", + "local299_a.csv": "27a88bb2600981bbbe3052d03218f2b385a267c36a5497f3169afae7d99b78f0", + "local032_g.csv": "c0abe3fc89883986bf833673e7c1c120c4ee3fa3270716be84a69aa6e14b8ec5", + "local032_f.csv": "4b490e2e387a9157ab92ec22b68499867016f8e8d4d4a68a938434c60699996f", + "local032_d.csv": "01443bc088adfa7cc0918a81db1138b49902aa8b4871777043e3c39af64e4f05", + "local032_e.csv": "7f44365729a449f5640d90abb9eb3822d84a667bf556ed69607f0153fb4627a3", + "local032_a.csv": "8930472f79242c09ace8a7093a53e1d86638294a4e448bc29e903046c9b3ecd9", + "local032_b.csv": "4880656d98d611ad49603d442a7c69669b4dc97fcfa56781ba2a00685a4e2ca0", + "local032_c.csv": "375d25de984ea7d9738126f8c58594850213ae32f41ccb211885361086fa8b5c", + "local032_l.csv": "ef4356f6a6245f33195b88728ed42eb541f378640570e3eb1def8eb9e45abfb0", + "local032_h.csv": "10f3f8a7c4f1c6e0aed6b7f1a263ea51982572bf6d325b5173666f027387b00b", + "local032_i.csv": "7b8ff88f98980484f9cac707765238478cd3ec989907d413e66c877f3426124e", + "local032_k.csv": "1e56f65fda398bdd603ab7f0966e8c1487b455f1b501f3d1b4f57294fbc96224", + "local032_j.csv": "992f644d9d30324ec54f5f5cef120405891922ceeabd12e68bb9c7d171392a5c", + "local068_a.csv": "1299f2e8ee0af71305e879036489e9f898f093d55fd7634f0a19d67a98773f16", + "local068_c.csv": "c4535adaf3fe73d83e3c54f469ae5851cdeab601f0abbd49a33c3d7f62770735", + "local068_b.csv": "ab3e5b470012a477e90877a36682721dfff3b9b2a9d436f516b64bfdef579d0e", + "local264_b.csv": "35426254849f620276bbaa67df521a55a81fd1e10ebfbedff1c2ffa218edfe5d", + "local264_c.csv": "86288a60be71d946e2403cd44c608ada7bb163ce11f102cc4402c67ba0ae8ef9", + "local264_a.csv": "8de3723af25cb543685497a4631c081bd8cf7e9ead498e6a1eee52273cf0498c", + "local034_a.csv": "1090ffc6a0c35bf35d9295d47914234c997e7309397238747977b6dad213855d", + "local034_b.csv": "5e5b95c5964a0760c48d12c6e64a42e89a6671042665fa0fa2afdd98df142f07", + "local197_a.csv": "f8908a3f904dfcc900a7967db60b3fc1eb3c16d573374f4cb8e6f68ebacf464e", + "local197_b.csv": "dfa9d044fdf582d19e0cd7ee6229c3583044a763608e2ca8573ed300d89b2f35", + "local197_c.csv": "bd4f275d821d4f09ca0d6042e4c7780991213abdb8e302bd0d412f8654226827", + "local024_b.csv": "1022178fcdafb1c112bd8770b884ca39f554f50586ac0002e420bf6430d3d24d", + "local024_a.csv": "8699022579239fad51d09ef039352855312af9f0a6a8d3737c39b60158d0e053", + "local228_a.csv": "6d2ee53c1196edb090a3618695c3f922b0a2a526e37bbb0855b8646d9a5b09fc", + "local228_b.csv": "570907525713d4124189f7b82aba2108f1bdc64e931b33f13d817342f8c17480", + "local060_a.csv": "e02a8024be874c7b95464b19712840659e4209165ed7e472b57351c0cc1ba0e1", + "local060_b.csv": "cbb428dd80f1532502baa09ad60aa65381ed21ea6056e26082bdcd6cb962af93", + "local358_b.csv": "eff96b54297c2251143325360d15086046e9c154e50752a4203f9f1ff18d5f10", + "local358_a.csv": "6a7e8c424c6a52662c0abf5d6873d827f5688f9355e46889075f51d9c70bd439", + "local283_a.csv": "6e3d87df7b2a5a1147f62fe65de3b1292f5af15f1de5584593de863534442f68", + "local035_b.csv": "6ae7a8e32f25813841a79ca35376928d094f10ce1a532e2a1f23e4d9ef1b7fd9", + "local035_c.csv": "2381226b424af0f88ab4c493dd201ee5f059d86ea5c9605ecd0f2035c97976d9", + "local035_a.csv": "710eb0aea469add745f72f1f4b5b568cb0c84c4507a61a3930b70d54d7e7f47a", + "local071_a.csv": "ebeaefb552dd18841ab1d63602ffbba67a1b679722fb7bf86f4aad05d115ea29", + "local071_b.csv": "e73ef52d22cfc7eb7dc76c959cf4d6f11079a1d186fb1f3346bbdb2ec61efaa8", + "local039_a.csv": "ab6af5a1dc6c24ddae09852a5538b7552f5c153eab566e861fe8276c6dcef087", + "local039_b.csv": "cd3cbdb9528d7a50197836db8f6abb45ab59241d6bf8035915fba312c52fc892", + "local167_a.csv": "f87897a23204ee6f79b2821fdf50611d055ab847a2670fcb8c548b098c187aaa", + "local167_b.csv": "7e385bbdfcf240dc6b6264aadd220a2404603a1944ef850f5a4a221cef501dc3", + "local133_a.csv": "000b2e5e4f3ce526d4a442dc28d1f792576eed5943ec7416dd5fd43265769b11", + "local133_b.csv": "24371a161c1a35386116dde49c31ceec123ed2d3abc8aaa411d6ad98d31b53c1", + "local297_b.csv": "5ec5763867426b0b6cf21c0d707e69bbd2f11ef80e14eb0f4cce29d4479669c8", + "local297_a.csv": "4a37f869a34af47d766efaac9b2909c7d736bd35f6c18e41ed207ce5b3f0c260", + "local309_b.csv": "e4ee052a9a5b625b3f9f3d0f9fde804b6f2b204324b794ff3960be8c55074f93", + "local309_c.csv": "a1fa582e425c2bdfc3fdac62123c22a77a0b8e9f292d30bfc1c3f6cbf36d0584", + "local309_a.csv": "99e9032b151143ad152f2b086c21e3d5ad2b641adbcee2c349fbe7f2eaca5c93", + "local098_d.csv": "9386a5c0c81fb3753bcecec2cf7c86d67977094c09b0a0666e2a3ffd95bb0d23", + "local098_e.csv": "7668d333202c9f22c657d65b80346c092798f889c8ffa7c8859ad20a0eb441cd", + "local098_a.csv": "2b9adab647439652f27faf4c53ccfdb4aab9e280636e904c2bdece4d72c9b8f4", + "local098_b.csv": "f7f59e32e9843b3af1b7c1304203b2d50c1d5092226c3f713c69b87a23bc3086", + "local098_c.csv": "7992ce39a5d37324ffcca04c64828b8b3fbe4fd13ba56d09ad2e1f6d6686cdc5", + "local329_a.csv": "d51cb49e4f858fc1f62361fbf199c1f0145b2d5a192812f919f9f74598ad2c27", + "local040_d.csv": "4f8346cdaa161013159d36bb29ab6bcfa9c1496066ce99adf101da50b7e55eaa", + "local040_c.csv": "6c25ec05e7e36d47887dd9ec91a24987d99ea677b6fa1ed6659152c193d255c8", + "local040_b.csv": "894fd4c4aa2af4d479540508bd503e9c34ac574755c6a09b0b1b92edf11b5a59", + "local040_a.csv": "86040f986565e2f0827ade68d894ae227b0e20b4a0a5f879da8857fcff9d100c", + "local056_a.csv": "fb8f6dad94f2ccad8ff035a504758ae7f67a514071005e9d330940d09cd242e3", + "local056_b.csv": "669482fb368f7458dae1f1b084e10e145f513fdfb0ab5c648d006204a4b7b844", + "local218_a.csv": "59aaf31f0bdc6f4d891251e969ae5dcb0733b2f027bea6a6e02b8922b57e7a57", + "local074_d.csv": "575905edd9d23b7a0dfa7d4d4d6c71c1e53b8df47ca5d997e34b30821ea5d476", + "local074_a.csv": "1d249b4de50434c538dbbc566ec00c0b3d33f6f50b76f9d2d947fcd2447b8e5b", + "local074_c.csv": "4c048efea3992cccd47cb21a735fa82f4c55db5c8da38d40862c303dbb100dc0", + "local074_b.csv": "c0d530dead3d8128affa3642184e4402e11136c7e31cbca044cb58b4f3b5ddad", + "local072_a.csv": "ecc11366f1a4997612ef7479d4e9caafb76e7be0dfcfcab22031ad044da9306d", + "local072_c.csv": "89eaf8f0fd5d63f525f91be9e73172b413e38adf162414c10f23236601fca705", + "local072_b.csv": "c81babd9f76614a1be3de6c6f3ed4c8fef6372d5bb2dd1b7051d2a321ba2aa11", + "local072_d.csv": "5460e077fca890a7547af80ef5728caee0b1396a3c68aa35c1319707a7e7f260", + "local156_d.csv": "4907987cdbe5dc4deb8727acc62596d7becee9c4633db2e75620db08b8869a0a", + "local156_b.csv": "b544baaa749fbe2eac0ade87a28a07174f5c13a8d2b354500d82e63403723e9f", + "local156_c.csv": "c273fac8e8bf03dbce9fff237e60810a175baae2a9342050cfd3b1afc745b288", + "local156_a.csv": "359af22e361eb8386bb7c16d03f7d3a148db3addbbda677f3ccc6a93099040fe", + "local258_a.csv": "b943740b741d12a81ac9a1235478186c827f5068d8ba9042f2072ad479f2100f", + "local258_b.csv": "3b9f1f8a944934e57ec29c46c7e1b0de2c4d8fc6961c6275f1c76a4aa818ba50", + "local258_c.csv": "d6399f1bd4dbb5e4edd4ed0935825c3092f5cea42b0ba93bf140c5cfc97700bc", + "local258_d.csv": "28f311ccbdd218b3c521f66c49f51d6c53e2a31a6a448eaf24ecc58b36d3e991", + "local258_e.csv": "28a62aa7e0edf3af50776d3bbb88194078189716ea370567d883a79d34996322", + "local199_a.csv": "d5d43158a754df4985bc9101e86b2b48adfad69dbfe3a266fd7f8b804fbc26e9", + "local199_b.csv": "96914152da9b1d4229b1cb32cfc6ec24ee49187fe3036783a7a34512b44bb40c", + "local194_a.csv": "737c5c8fb48a3a09fd2c20589001498bb12e623c24789749a711f8f884d1b1bc", + "local194_c.csv": "d4ad490bd6915a0d099d1077e122048a32ee33378eb5bfd876e4e683fc0c612b", + "local194_b.csv": "a5f4718844ca84d9125365e1e6aee952d4c2e8eaf1ea99bb9c086cc29d5d3184", + "local273_a.csv": "35d1a1d986b6a2acbe0e6f29a6d9e2979cb21018e5ddf13c4367e881e4058d34", + "local078_a.csv": "22e33a0e482aa13b1e3d59b4363c04dc1d39eeb3d0b18fdb7fd7ea1077dd1b95", + "local330_a.csv": "156777b4eeec05777e4760c0a8cf5a90e7e9f5db5df87b6db215f36f6ca722b5", + "local330_c.csv": "9ebe76a500091818cf5ba1540ea8c7f7b01b95f01d6edc4dcfb7739130677571", + "local330_b.csv": "02dcc9b52e11b4a342941f97c775481b080e740222d797547408decb5ee9ae1f", + "local007_a.csv": "609e283f72faa732d8c9bb3041aa570361e8fc1e2949dad6d2624eee4fe1f582", + "local007_b.csv": "187376265d7f3ec19f2361f9aa4a29ebdfef55b93ce382d22da635cb84b2a5ac", + "local007_c.csv": "d30d2306cd25071c6435fc31baf736057c1339f2aa2927ba43eaf85894553a3e", + "local029_b.csv": "0645e08079eeed5278713e295ec54f92db2c4a5c080c2ca19fc0d300c85b8bdd", + "local029_a.csv": "13592cb212196327ddbf1e24612d8f5c9be767476537cac76098c8e6382a3d5a", + "local229_b.csv": "b63f34609d6f0d135301ac413518af035f8ef8d8b4af603ce956b573ecc8a8ca", + "local229_a.csv": "13b57a2a9cf1c3b16954439cff955c0483c902fd05e2cf8a8f6d707618b74edb", + "local085_a.csv": "53a8a772d4f1a25a2e35e0865d80126c51742dbef3183827cc27a9d6215b0401", + "local049_a.csv": "37a03e5c7d30c522122d3a7f27337a8dfc434dcff120081752b4c9d93b67589e", + "local049_b.csv": "cfa61613d11a7d440f235ed1d6eb889a2d1400f35814705c8c6cab12ee690fb8", + "local275_a.csv": "e0ee8bb50685e05fa0f47ed04203ae953fdfd055f5bd2892ea186504254f8c3a", + "local262_a.csv": "0b6ba8593e65101190910b92c997f428d2b21983812c653bd93523f744275518", + "local284_a.csv": "8061781ca5afac30250858521ec1bf3535936424d2ca8ac9214e2b1b003d3d8b", + "local284_b.csv": "d74c6fe8cba88dc43de32cab40d95d197cae6592df11284ebcb593caffe37aae", + "local010.csv": "109bc4ccdeaaccb405d52e5db6fbe1831b5cede629b5aafce07b1f5a4be8c623", + "local335_a.csv": "f5e97947e8060cf4719a2cd9d31f3b40b83d2e96608965de754360b6b415331d", + "local055_a.csv": "ba0ff1a7ced89ad53f8b9da3460f52d36dbb9bdad78c20fc495da0205dc3bfa8", + "local055_b.csv": "2f55f6f8f51a38d3b618ac0db7aa1a603bf42a524626ca48cc64a328aaf18555", + "local344_b.csv": "83604ca169c01568d0db1169d8ee1a54b495a9ed732929c857c7f87f738fc5ad", + "local344_a.csv": "ef99aaf28f3521bc0eb3feb7d5d57175fa83e43a3387391b0242e03154375ad9", + "local311_a.csv": "d7e3e901649bf918fddc98d854d91966fa309ee4b6cbd6b4b6db51a8643e422d", + "local311_b.csv": "8fbc16c5a9509bac26070ecd35b5fb0dfb0b40b153bbbb96d8381d5762c5f4b8", + "local114_a.csv": "c4eba509d8d4e214612b9aae8609c827bb9793033fd59476bb3bf9dd544292e6", + "local114_b.csv": "cdf83c7802e33dc16972004c48b85278cf9ce0982a6d8598128e7a26c3620f26", + "local114_c.csv": "ccca70934b3f6835751ed0fc72152b256b4a001fae72b7123ca9ec133dce5933", + "local114_d.csv": "fe4c1be98c7516d2acb92725459fea2db06b1ce92df4ecbef82e86aaaa2dadab", + "local114_e.csv": "4f2c92129c6e8a85e9887d70f62135ebda47aa7cf25314cfeb5a3b08973243ea", + "local025_a.csv": "6cf18f2a7388ff0181a5c6135af733c613df8bb6faa5fd7ab7d8d7a91e908ddd", + "local025_c.csv": "fc3c1b56cb3fca413c96075be8f2bc4b33e70b00db2da5b55ba1a3a512af930e", + "local025_b.csv": "42c381ef3631f35fd3c14c9d06007dfd793104348b0f0147fd24239f41ccb1d5", + "local025_e.csv": "b5af2f507944864ce133364b125d558ca728fb102edd9a3171fab324baef49af", + "local025_d.csv": "210c10f155318bb8420c16a3e4ff140514c6008de7100f228a239fc6de8c525b" + }, + "gold_config_sha256": "5113ddaea6107492c08a898241a9f69ec99b03bc60d014e9f0b12ec59fa28970", + "cases": [ + { + "instance_id": "local020", + "db": "IPL", + "question": "Which bowler has the lowest bowling average per wicket taken?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local064", + "db": "bank_sales_trading", + "question": "For each customer and each month of 2020, first calculate the month-end balance by adding all deposit amounts and subtracting all withdrawal amounts that occurred during that specific month. Then determine which month in 2020 has the highest count of customers with a positive month-end balance and which month has the lowest count. For each of these two months, compute the average month-end balance across all customers and provide the difference between these two averages", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local169", + "db": "city_legislation", + "question": "What is the annual retention rate of legislators who began their first term between January 1, 1917 and December 31, 1999, measured as the proportion of this cohort still in office on December 31st for each of the first 20 years following their initial term start? The results should show all 20 periods in sequence regardless of whether any legislators were retained in a particular year.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local073", + "db": "modern_data", + "question": "For each pizza order, provide a single result row with the row ID, order ID, customer ID, pizza name, and final set of ingredients. The final ingredients are determined by starting with the standard toppings from the pizza’s recipe, removing any excluded toppings, and adding any extra toppings. Present the ingredients in a string starting with the pizza name followed by ': ', with ingredients listed in alphabetical order. Ingredients appearing multiple times (e.g., from standard and extra toppings) should be prefixed with '2x' and listed first, followed by single-occurrence ingredients, both in alphabetical order. Group by row ID, order ID, pizza name, and order time to ensure each order appears once. Sort results by row ID in ascending order. Assign pizza_id 1 to 'Meatlovers' pizzas and pizza_id 2 to all others.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local302", + "db": "bank_sales_trading", + "question": "Analyze the average percentage change in sales between the 12 weeks before and after June 15, 2020, for each attribute type: region, platform, age band, demographic, and customer type. For each attribute type, calculate the average percentage change in sales across all its attribute values. Identify the attribute type with the highest negative impact on sales and provide its average percentage change in sales.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local212", + "db": "delivery_center", + "question": "Can you find 5 delivery drivers with the highest average number of daily deliveries?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local075", + "db": "bank_sales_trading", + "question": "Can you provide a breakdown of how many times each product was viewed, how many times they were added to the shopping cart, and how many times they were left in the cart without being purchased? Also, give me the count of actual purchases for each product. Ensure that products with a page id in (1, 2, 12, 13) are filtered out.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local038", + "db": "Pagila", + "question": "Could you help me determine which actor starred most frequently in English-language children's category films that were rated either G or PG, had a running time of 120 minutes or less, and were released between 2000 and 2010? Please provide the actor's full name.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local003", + "db": "E_commerce", + "question": "According to the RFM definition document, calculate the average sales per order for each customer within distinct RFM segments, considering only 'delivered' orders. Use the customer unique identifier. Clearly define how to calculate Recency based on the latest purchase timestamp and specify the criteria for classifying RFM segments. The average sales should be computed as the total spend divided by the total number of orders. Please analyze and report the differences in average sales across the RFM segments", + "external_knowledge": "RFM.md", + "document_sha256": "ca6cb781023248ec3d065bd17142c864175741e9dc598c38af613ca2e9ad3556" + }, + { + "instance_id": "local286", + "db": "electronic_sales", + "question": "Prepare a comprehensive performance report on our sellers, focusing on total sales, average item price, average review scores, and packing times. Ensure that the report includes only those sellers who have sold a quantity of more than 100 products and highlight the product category names in English with the highest sales volume.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local004", + "db": "E_commerce", + "question": "Could you tell me the number of orders, average payment per order and customer lifespan in weeks of the 3 custumers with the highest average payment per order, where the lifespan is calculated by subtracting the earliest purchase date from the latest purchase date in days, dividing by seven, and if the result is less than seven days, setting it to 1.0?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local277", + "db": "oracle_sql", + "question": "What is the average forecasted annual sales for products 4160 and 7790 during 2018, using monthly sales data starting from January 2016 for the first 36 months, applying seasonality adjustments from time steps 7 through 30, and employing a weighted regression method to estimate sales?", + "external_knowledge": "calculation_method.md", + "document_sha256": "dfe12121ce38a8a38c62c3480dc0fadeafcbe134d5bf6f3f6eda216e1b1677de" + }, + { + "instance_id": "local009", + "db": "Airlines", + "question": "What is the distance of the longest route where Abakan is either the departure or destination city (in kilometers)?", + "external_knowledge": "haversine_formula.md", + "document_sha256": "5205954f1ca74ed724d121772e2bf4bc86c2cfc163f6e3fdd6afeec79c33ffec" + }, + { + "instance_id": "local168", + "db": "city_legislation", + "question": "Among job postings that specifically have the Data Analyst, require a non-null annual average salary, and are remote, what is the overall average salary when considering only the top three most frequently demanded skills for these positions?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local058", + "db": "education_business", + "question": "Can you provide a list of hardware product segments along with their unique product counts for 2020 in the output, ordered by the highest percentage increase in unique fact sales products from 2020 to 2021?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local017", + "db": "California_Traffic_Collision", + "question": "In which year were the two most common causes of traffic accidents different from those in other years?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local008", + "db": "Baseball", + "question": "I would like to know the given names of baseball players who have achieved the highest value of games played, runs, hits, and home runs, with their corresponding score values.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local244", + "db": "music", + "question": "Calculate the duration of each track, classify them as short, medium, or long, output the minimum and maximum time for each kind (in minutes) and the total revenue for each category, group by the category.", + "external_knowledge": "music_length_type.md", + "document_sha256": "d630b183c311d6ac0e80de29263009c546f74e6027286348409c6d0a64ac357b" + }, + { + "instance_id": "local063", + "db": "complex_oracle", + "question": "Among all products sold in the United States with promo_id=999, considering only those cities whose sales increased by at least 20% from Q4 2019 (calendar_quarter_id=1772) to Q4 2020 (calendar_quarter_id=1776), which product that ranks in the top 20% of total sales has the smallest percentage-point change in its share of total sales between these two quarters?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local259", + "db": "IPL", + "question": "For each player, list their ID, name, their most frequent role across all matches, batting hand, bowling skill, total runs scored, total matches played, total times they were dismissed, batting average (total runs divided by total dismissals), highest score in a single match, the number of matches in which they scored at least 30 runs, at least 50 runs, and at least 100 runs, total balls faced in their career, strike rate (total runs divided by total balls faced, multiplied by 100), total wickets taken, economy rate (average runs conceded per over), and their best bowling performance in a single match (most wickets taken in a match, formatted as \"wickets taken-runs given\", where the best performance is the one with the most wickets, and if tied, the fewest runs conceded). Ignore the extra runs data.", + "external_knowledge": "baseball_game_special_words_definition.md", + "document_sha256": "9c82e2acfee3bb4b9683957cdd46ef61ce11ee07a7f3cf1f6409a9960f908643" + }, + { + "instance_id": "local019", + "db": "WWE", + "question": "For the NXT title that had the shortest match (excluding titles with \"title change\"), what were the names of the two wrestlers involved?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local021", + "db": "IPL", + "question": "Could you calculate the average of the total runs scored by all strikers who have scored more than 50 runs in any single match?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local002", + "db": "E_commerce", + "question": "Can you calculate the 5-day symmetric moving average of predicted toy sales for December 5 to 8, 2018, using daily sales data from January 1, 2017, to August 29, 2018, with a simple linear regression model? Finally provide the sum of those four 5-day moving averages?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local220", + "db": "EU_soccer", + "question": "Which player has participated in the highest number of winning matches and which player has participated in the highest number of losing matches, considering only matches where they actually played (excluding null entries) and where their team won or lost (excluding draws)?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local336", + "db": "f1", + "question": "In the first five laps of the race, how many overtakes occurred in each category—retirements, pit stops, start-related overtakes, and standard on-track passes?", + "external_knowledge": "f1_overtake.md", + "document_sha256": "b83e7b52e1672e0b6d34bcfad8122034abac926b75d34c880c210ab1bfc8a046" + }, + { + "instance_id": "local077", + "db": "bank_sales_trading", + "question": "Please analyze our interest data from September 2018 to August 2019. For each month, calculate the average composition for each interest by dividing the composition by the index value. Identify the interest with the highest average composition value each month and report its average composition as the max index composition for that month. Compute the three-month rolling average of these monthly max index compositions. Ensure the output includes the date, the interest name, the max index composition for that month, the rolling average, and the names and max index compositions of the top interests from one month ago and two months ago.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local100", + "db": "Db-IMDB", + "question": "Find out how many actors have a 'Shahrukh number' of 2? This means they acted in a film with someone who acted with Shahrukh Khan, but not directly with him.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local210", + "db": "delivery_center", + "question": "Can you identify the hubs that saw more than a 20% increase in finished orders from February to March?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local163", + "db": "education_business", + "question": "Which university faculty members' salaries are closest to the average salary for their respective ranks? Please provide the ranks, first names, last names, and salaries.university", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local269", + "db": "oracle_sql", + "question": "What is the average total quantity across all final packaging combinations, considering only the leaf-level items within each combination after fully expanding any nested packaging relationships?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local285", + "db": "bank_sales_trading", + "question": "For veg whsle data, can you analyze our financial performance over the years 2020 to 2023? I need insights into the average wholesale price, maximum wholesale price, minimum wholesale price, wholesale price difference, total wholesale price, total selling price, average loss rate, total loss, and profit for each category within each year. Round all calculated values to two decimal places.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local219", + "db": "EU_soccer", + "question": "In each league, considering all seasons, which single team has the fewest total match wins based on comparing home and away goals, including teams with zero wins, ensuring that if multiple teams tie for the fewest wins, only one team is returned for each league?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local360", + "db": "log", + "question": "For each user session in the activity log table, identify the number of events that occurred before the first '/detail' click or '/complete' conversion, counting only events that have a non-empty search type. Find the sessions with the minimum count of such pre-click/pre-conversion events. If multiple sessions share this minimum count, include all of them in the results. Return each qualifying session along with the corresponding path and search type.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local331", + "db": "log", + "question": "Which three distinct third-page visits are most frequently observed immediately after two consecutive visits to the '/detail' page, and how many times does each third-page visit occur?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local193", + "db": "sqlite-sakila", + "question": "Could you find out the average percentage of the total lifetime sales (LTV) that occur in the first 7 and 30 days after a customer's initial purchase? Also, include the average total lifetime sales (LTV). Please exclude customers with zero lifetime sales. The 7- and 30-day periods should be based on the exact number of hours-minutes-seconds, not calendar days.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local132", + "db": "EntertainmentAgency", + "question": "Show all pairs of entertainers and customers who each have up to three style strengths or preferences, where the first and second style preferences of the customers match the first and second style strengths of the entertainers (or in reverse order). Only return the entertainer’s stage name and the customer’s last name", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local310", + "db": "f1", + "question": "Using only the data from the ‘results’ table, find the three years in which the sum of the highest total points earned by any driver and the highest total points earned by any constructor in that year (both calculated by summing up points from the ‘results’ table) is smallest, and list those three years in order of ascending total.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local041", + "db": "modern_data", + "question": "What percentage of trees in the Bronx have a health status of Good?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local099", + "db": "Db-IMDB", + "question": "I need you to look into the actor collaborations and tell me how many actors have made more films with Yash Chopra than with any other director. This will help us understand his influence on the industry better.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local130", + "db": "school_scheduling", + "question": "Could you provide a list of last names for all students who have completed English courses (where completion is defined as having a ClassStatus of 2), along with their quintile ranks based on their individual grades in those courses? The quintile should be determined by calculating how many students have grades greater than or equal to each student's grade, then dividing this ranking by the total number of students who completed English courses. The quintiles should be labeled as \"First\" (top 20%), \"Second\" (top 21-40%), \"Third\" (top 41-60%), \"Fourth\" (top 61-80%), and \"Fifth\" (bottom 20%). Please sort the results from highest performing quintile to lowest (First to Fifth).", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local066", + "db": "modern_data", + "question": "Based on our customer pizza order information, summarize the total quantity of each ingredient used in the pizzas we delivered. Output the name and quantity for each ingredient.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local030", + "db": "Brazilian_E_Commerce", + "question": "Among all cities with delivered orders, find the five cities whose summed payments are the lowest, then calculate the average of their total payments and the average of their total delivered order counts.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local209", + "db": "delivery_center", + "question": "In the dataset of orders joined with store information, which store has the highest total number of orders, and among that store’s orders, what is the ratio of orders that appear in the deliveries table with a 'DELIVERED' status to the total orders for that store?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local067", + "db": "complex_oracle", + "question": "Can you provide the highest and lowest profits for Italian customers segmented into ten evenly divided tiers based on their December 2021 sales profits?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local050", + "db": "complex_oracle", + "question": "What is the median of the average monthly projected sales in USD for France in 2021, calculated by using the monthly sales data from 2019 and 2020 (filtered by promo_total_id=1 and channel_total_id=1), applying the growth rate from 2019 to 2020 to project 2021, converting to USD based on the currency table, and then determining the monthly averages before finding their median?", + "external_knowledge": "projection_calculation.md", + "document_sha256": "5d4291081fdf5cafeb30c6d8bbad32c85ebdc807c717e95cb30b6b240622b5aa" + }, + { + "instance_id": "local022", + "db": "IPL", + "question": "Retrieve the names of players who scored no less than 100 runs in a match while playing for the team that lost that match.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local171", + "db": "city_legislation", + "question": "For male legislators from Louisiana, how many distinct legislators were actively serving on December 31 of each year from more than 30 years since their first term up to less than 50 years, grouping the results by the exact number of years elapsed since their first term?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local131", + "db": "EntertainmentAgency", + "question": "Could you list each musical style with the number of times it appears as a 1st, 2nd, or 3rd preference in a single row per style?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local152", + "db": "imdb_movies", + "question": "Can you provide the top 9 directors by movie count, including their ID, name, number of movies, average inter-movie duration (rounded to the nearest integer), average rating (rounded to 2 decimals), total votes, minimum and maximum ratings, and total movie duration? Sort the output first by movie count in descending order and then by total movie duration in descending order.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local356", + "db": "f1", + "question": "Provide the full names of drivers who have been overtaken on track more times than they have overtaken others on track during race laps, excluding position changes due to pit stops (both at pit entry and exit), retirements, or position changes that occurred during the first lap of a race (considered as start movements).", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local097", + "db": "Db-IMDB", + "question": "Could you analyze our data and identify which ten-year period starting from any movie release year present in the data had the largest number of films, considering consecutive ten-year periods beginning at each unique year? Only output the start year and the total count for that specific period.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local062", + "db": "complex_oracle", + "question": "Please group all Italian customers into ten buckets for December 2021 by summing their profits from all products purchased (where profit is calculated as quantity_sold multiplied by the difference between unit_price and unit_cost), then divide the overall range of total monthly profits into ten equal intervals. For each bucket, provide the number of customers, and identify the minimum and maximum total profits within that bucket.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local031", + "db": "Brazilian_E_Commerce", + "question": "What is the highest monthly delivered orders volume in the year with the lowest annual delivered orders volume among 2016, 2017, and 2018?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local128", + "db": "BowlingLeague", + "question": "List the bowlers (including their ID, first name, and last name), match number, game number, handicap score, tournament date, and location for only those bowlers who have won games with a handicap score of 190 or less at all three venues: Thunderbird Lanes, Totem Lanes, and Bolero Lanes. Only include the specific game records where they won with a handicap score of 190 or less at these three locations.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local081", + "db": "northwind", + "question": "Considering only the customers who placed orders in 1998, calculate the total amount each customer spent by summing the unit price multiplied by the quantity of all products in their orders, excluding any discounts. Assign each customer to a spending group based on the customer group thresholds, and determine how many customers are in each spending group and what percentage of the total number of customers who placed orders in 1998 each group represents.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local061", + "db": "complex_oracle", + "question": "What is the average projected monthly sales in USD for France in 2021, considering only product sales with promotions where promo_total_id = 1 and channels where channel_total_id = 1, by taking each product’s monthly sales from 2019 and 2020, calculating the growth rate from 2019 to 2020 for that same product and month, applying this growth rate to project 2021 monthly sales, converting all projected 2021 amounts to USD with the 2021 exchange rates, and finally averaging and listing them by month?", + "external_knowledge": "projection_calculation.md", + "document_sha256": "5d4291081fdf5cafeb30c6d8bbad32c85ebdc807c717e95cb30b6b240622b5aa" + }, + { + "instance_id": "local037", + "db": "Brazilian_E_Commerce", + "question": "Identify the top three product categories whose most commonly used payment type has the highest number of payments across all categories, and specify the number of payments made in each category using that payment type.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local157", + "db": "bank_sales_trading", + "question": "Using the \"bitcoin_prices\" table, please calculate the daily percentage change in trading volume for each ticker from August 1 to August 10, 2021, ensuring that any volume ending in \"K\" or \"M\" is accurately converted to thousands or millions, any \"-\" volume is treated as zero, only non-zero volumes are used to determine the previous day's volume, and the results are ordered by ticker and date.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local253", + "db": "education_business", + "question": "Using a Salary Dataset where the salary values need to be cleaned by removing non-numeric characters and converting them to a numeric type, write a detailed SQL query that identifies the top 5 companies by average salary in each of Mumbai, Pune, New Delhi, and Hyderabad, then compares each company’s average salary in those cities to the overall national average salary. The final result should display four columns: Location, Company Name, Average Salary in State, and Average Salary in Country, listing only the top 5 companies in each of the specified locations.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local054", + "db": "chinook", + "question": "Could you tell me the first names of customers who spent less than $1 on albums by the best-selling artist, along with the amounts they spent?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local274", + "db": "oracle_sql", + "question": "Which products were picked for order 421, and what is the average number of units picked for each product, using FIFO (First-In, First-Out) method?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local263", + "db": "stacking", + "question": "Identify the L1_model associated with each model (specified by name and version) that occurs most frequently for each status ('strong' or 'soft'), along with the number of times it occurs. A model has a 'strong' status if, for any of its steps, the maximum test score among non-'Stack' models is less than the 'Stack' model's test score. It has a 'soft' status if the maximum test score among non-'Stack' models equals the 'Stack' model's test score. Count how many times each L1_model is associated with a 'strong' or 'soft' status across all models, and determine which L1_model has the highest occurrence for each status.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local202", + "db": "city_legislation", + "question": "For alien data, how many of the top 10 states by alien population have a higher percentage of friendly aliens than hostile aliens, with an average alien age exceeding 200?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local015", + "db": "California_Traffic_Collision", + "question": "Please calculate the fatality rate for motorcycle collisions, separated by helmet usage. Specifically, calculate two percentages: 1) the percentage of motorcyclist fatalities in collisions where parties (drivers or passengers) were wearing helmets, and 2) the percentage of motorcyclist fatalities in collisions where parties were not wearing helmets. For each group, compute this by dividing the total number of motorcyclist fatalities by the total number of collisions involving that group. Use the parties table to determine helmet usage (from party_safety_equipment fields).", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local195", + "db": "sqlite-sakila", + "question": "Please find out how widespread the appeal of our top five actors is. What percentage of our customers have rented films featuring these actors?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local201", + "db": "modern_data", + "question": "Identify the first 10 words, sorted alphabetically, that are 4 to 5 characters long, start with 'r', and have at least one anagram of the same length, considering case-sensitive letters. Provide the count of such anagrams for each word.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local270", + "db": "oracle_sql", + "question": "Which top-level packaging containers, meaning those not contained within any other packaging, have any item for which the total quantity accumulated across all nested levels in the hierarchy exceeds 500, and what are the names of both these containers and the corresponding items?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local354", + "db": "f1", + "question": "Among Formula 1 drivers who raced during the 1950s, which drivers completed a season in that decade with the same constructor in both the first and the last race they participated in, while also taking part in at least two distinct race rounds during that season?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local355", + "db": "f1", + "question": "Calculate the overall average first round and average last round of races missed by Formula 1 drivers across all years. Include only drivers who missed fewer than three races in a given year and who switched teams between their appearances immediately before and after their hiatus (i.e., the constructor ID for the race right before their first missed race must be different from the constructor ID for the race right after their last missed race in that year). Do not group results by year; return just the overall averages across the entire dataset.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local272", + "db": "oracle_sql", + "question": "For order 423, identify the product IDs, aisles, and positions from which to pick the exact quantities needed for each order line, ensuring that the total picked quantity for each product matches the cumulative quantities ordered without exceeding the available inventory in warehouse 1. Calculate the quantities to be picked from each location by prioritizing inventory with earlier purchased dates and smaller quantities, and ensure that picking respects the sequence and cumulative quantities of the order lines for products with multiple entries.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local170", + "db": "city_legislation", + "question": "Identify the state abbreviations where, for both male and female legislators, the retention rate remains greater than zero at specific intervals of 0, 2, 4, 6, 8, and 10 years after their first term start date. A legislator is considered retained if they are serving on December 31 of the respective year. Only include states where both gender cohorts maintain non-zero retention rates at all six of these time points during the first decade of service.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local059", + "db": "education_business", + "question": "For the calendar year 2021, what is the overall average quantity sold of the top three best-selling hardware products (by total quantity sold) in each division?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local096", + "db": "Db-IMDB", + "question": "For each year, calculate the percentage of films that had exclusively female actors (meaning no male actors and no actors with unknown/unspecified gender). Consider actors with gender marked as 'Male' or 'None' as non-female. For the results, display the year, the total number of movies in that year, and the percentage of movies with exclusively female actors. Extract the year from the Movie.year field by taking the last 4 characters and converting to a number.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local026", + "db": "IPL", + "question": "Please help me identify the top 3 bowlers who, in the overs where the maximum runs were conceded in each match, gave up the highest number of runs in a single over across all matches. For each of these bowlers, provide the match in which they conceded these maximum runs. Only consider overs that had the most runs conceded within their respective matches, and among these, determine which bowlers conceded the most runs in a single over overall.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local065", + "db": "modern_data", + "question": "Calculate the total income from Meat Lovers pizzas priced at $12 and Vegetarian pizzas at $10. Include any extra toppings charged at $1 each. Ensure that canceled orders are filtered out. How much money has Pizza Runner earned in total?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local279", + "db": "oracle_sql", + "question": "Using a recursive monthly inventory adjustment model starting from December 2018 inventory levels, where we restock a product if its ending inventory drops below the minimum required level, determine for each product the month in 2019 where the absolute difference between its ending inventory and the minimum required level is the smallest, and return the product_id, that month, and the absolute difference.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local141", + "db": "AdventureWorks", + "question": "How did each salesperson's annual total sales compare to their annual sales quota? Provide the difference between their total sales and the quota for each year, organized by salesperson and year.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local070", + "db": "city_legislation", + "question": "Please examine our database records for Chinese cities (country_code_2 = 'cn') during July 2021 and identify both the shortest and longest streaks of consecutive date entries. For each date in these streaks, return exactly one record per date along with the corresponding city name. In your output, please ensure the first letter of each city name is capitalized and the rest are lowercase. Display the dates and city names for both the shortest and longest consecutive date streaks, ordered by date.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local023", + "db": "IPL", + "question": "Please help me find the names of top 5 players with the highest average runs per match in season 5, along with their batting averages.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local221", + "db": "EU_soccer", + "question": "Tell me top10 teams with the most wins across the league", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local301", + "db": "bank_sales_trading", + "question": "For weekly-sales data, I need an analysis of our sales performance around mid-June for the years 2018, 2019, and 2020. Specifically, calculate the percentage change in sales between the four weeks leading up to June 15 and the four weeks following June 15 for each year.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local018", + "db": "California_Traffic_Collision", + "question": "For the primary collision factor violation category that was the most common cause of traffic accidents in 2021, how many percentage points did its share of annual road incidents in 2021 decrease compared to its share in 2011?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local298", + "db": "bank_sales_trading", + "question": "For each month, calculate the total balance from all users for the previous month (measured as of the 1st of each month), replacing any negative balances with zero. Ensure that data from the first month is used only as a baseline for calculating previous total balance, and exclude it from the final output. Sort the results in ascending order by month. ", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local028", + "db": "Brazilian_E_Commerce", + "question": "Could you generate a report that shows the number of delivered orders for each month in the years 2016, 2017, and 2018? Each column represents a year, and each row represents a month", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local196", + "db": "sqlite-sakila", + "question": "For each rating category of the first movie rented by customers—where the first movie is identified based on the earliest payment date per customer—please provide the average total amount spent per customer and the average number of subsequent rentals (calculated as the total number of rentals minus one) for customers whose first rented movie falls into that rating category.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local230", + "db": "imdb_movies", + "question": "Determine the top three genres with the most movies rated above 8, and then identify the top four directors who have directed the most films rated above 8 within those genres. List these directors and their respective movie counts.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local300", + "db": "bank_sales_trading", + "question": "For each customer, calculate their daily balances for every day between their earliest and latest transaction dates, including days without transactions by carrying forward the previous day's balance. Treat any negative daily balances as zero. Then, for each month, determine the highest daily balance each customer had during that month. Finally, for each month, sum these maximum daily balances across all customers to obtain a monthly total.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local198", + "db": "chinook", + "question": "Using the sales data, what is the median value of total sales made in countries where the number of customers is greater than 4?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local299", + "db": "bank_sales_trading", + "question": "For a bank database with customer transactions, calculate each customer's daily running balance (where deposits add to the balance and other transaction types subtract). For each customer and each day, compute the 30-day rolling average balance (only after having 30 days of data, and treating negative averages as zero). Then group these daily averages by month and find each customer's maximum 30-day average balance within each month. Sum these maximum values across all customers for each month. Consider the first month of each customer's transaction history as the baseline period and exclude it from the final results, presenting monthly totals of these summed maximum 30-day average balances.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local032", + "db": "Brazilian_E_Commerce", + "question": "Could you help me find the sellers who excel in the following categories, considering only delivered orders: the seller with the highest number of distinct customer unique IDs, the seller with the highest profit (calculated as price minus freight value), the seller with the highest number of distinct orders, and the seller with the most 5-star ratings? For each category, please provide the seller ID and the corresponding value, labeling each row with a description of the achievement.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local068", + "db": "city_legislation", + "question": "Calculate the number of new cities inserted in April, May, and June for each year from 2021 to 2023. For each month, compute the cumulative running total of cities added for that specific month across the years up to and including the given year (i.e., sum the counts of that month over the years). Additionally, calculate the year-over-year growth percentages for both the monthly total and the running total for each month, comparing each year to the previous year. Present the results only for 2022 and 2023, listing the year, the month, the total number of cities added in that month, the cumulative running total for that month, and the year-over-year growth percentages for both the monthly total and the running total. Use the data from 2021 solely as a baseline for calculating growth rates, and exclude it from the final output.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local264", + "db": "stacking", + "question": "Which model category (L1_model) appears the most frequently across all steps and versions when comparing traditional models to the Stack model, and what is the total count of its occurrences?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local034", + "db": "Brazilian_E_Commerce", + "question": "Could you help me calculate the average of the total number of payments made using the most preferred payment method for each product category, where the most preferred payment method in a category is the one with the highest number of payments?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local197", + "db": "sqlite-sakila", + "question": "Among our top 10 paying customers, can you identify the largest change in payment amounts from one month to the immediately following month? Specifically, please determine for which customer and during which month this maximum month-over-month difference occurred, and provide the difference rounded to two decimal places.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local024", + "db": "IPL", + "question": "Can you help me find the top 5 countries whose players have the highest average of their individual average runs per match across all seasons? Specifically, for each player, calculate their average runs per match over all matches they played, then compute the average of these player averages for each country, and include these country batting averages in the result.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local228", + "db": "IPL", + "question": "For each IPL season, identify the top three batsmen with the highest total runs scored and the top three bowlers with the most wickets taken, excluding ‘run out’, ‘hit wicket’, and ‘retired hurt’ dismissals. In the event of ties in runs or wickets, break the tie using the smaller player ID. Then output these six players in matched positions—batsman 1 with bowler 1, batsman 2 with bowler 2, and batsman 3 with bowler 3—in ascending order of the season ID, along with each player’s total runs or wickets.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local060", + "db": "complex_oracle", + "question": "In the United States, for Q4 2019 and Q4 2020, first select only those cities where total sales (with no promotions) rose by at least 20% from Q4 2019 to Q4 2020. Among these cities, rank products by their overall sales (still excluding promotions) in those quarters and take the top 20%. Then compute each top product’s share of total sales in Q4 2019 and Q4 2020 and calculate the difference in share from Q4 2019 to Q4 2020, returning the results in descending order of that share change.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local358", + "db": "log", + "question": "How many users are there in each age category (20s, 30s, 40s, 50s, and others)?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local283", + "db": "EU_soccer", + "question": "Analyze the soccer match dataset to determine the champion team for each season across all countries and leagues, awarding 3 points for every win, 1 point for every tie, and 0 points for every loss. For each season, return the champion’s team name, the league, the country, and the total points accumulated.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local035", + "db": "Brazilian_E_Commerce", + "question": "In the “olist_geolocation” table, please identify which two consecutive cities, when sorted by geolocation_state, geolocation_city, geolocation_zip_code_prefix, geolocation_lat, and geolocation_lng, have the greatest distance between them based on the difference in distance computed between each city and its immediate predecessor in that ordering.", + "external_knowledge": "spherical_law.md", + "document_sha256": "214e4074f9f55fd1794903cfa256b9b7d7bdba1dba2e4eb6eb6acca4f08a630e" + }, + { + "instance_id": "local071", + "db": "city_legislation", + "question": "Could you review our records in June 2022 and identify which countries have the longest streak of consecutive inserted city dates? Please list the 2-letter length country codes of these countries.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local039", + "db": "Pagila", + "question": "Please help me find the film category with the highest total rental hours in cities where the city's name either starts with \"A\" or contains a hyphen. ", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local167", + "db": "city_legislation", + "question": "Based on the state each female legislator first represented, which state has the highest number of female legislators whose terms included December 31st at any point, and what is that count? Please provide the state's abbreviation.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local133", + "db": "EntertainmentAgency", + "question": "Given a database of musical styles and user preferences, where Musical_Preferences contains user rankings of musical styles (PreferenceSeq=1 for first choice, PreferenceSeq=2 for second choice, PreferenceSeq=3 for third choice): Calculate a weighted score for each musical style by assigning 3 points for each time it was ranked as first choice, 2 points for each second choice, and 1 point for each third choice ranking. Calculate the total weighted score for each musical style that has been ranked by at least one user. Then, compute the absolute difference between each style's total weighted score and the average total weighted score across all such styles.\t", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local297", + "db": "bank_sales_trading", + "question": "For each customer, group all deposits and withdrawals by the first day of each month to obtain a monthly net amount, then calculate each month’s closing balance by cumulatively summing these monthly nets. Next, determine the most recent month’s growth rate by comparing its closing balance to the prior month’s balance, treating deposits as positive and withdrawals as negative, and if the previous month’s balance is zero, the growth rate should be the current month’s balance multiplied by 100. Finally, compute the percentage of customers whose most recent month shows a growth rate of more than 5%.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local309", + "db": "f1", + "question": "For each year, which driver and which constructor scored the most points? I want the full name of each driver.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local098", + "db": "Db-IMDB", + "question": "From the first year each actor appeared in a film to the last, how many actors in the database never had a gap longer than three consecutive years without at least one new movie appearance, meaning there is no four-year span anywhere in their active career without at least a single film credit?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local329", + "db": "log", + "question": "How many unique sessions visited the /regist/input page and then the /regist/confirm page, in that order?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local040", + "db": "modern_data", + "question": "In the combined dataset that unifies the trees data with the income data by ZIP code, filling missing ZIP values where necessary, which three boroughs, restricted to records with median and mean income both greater than zero and a valid borough name, contain the highest number of trees, and what is the average mean income for each of these three boroughs?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local056", + "db": "sqlite-sakila", + "question": "Which customer has the highest average monthly change in payment amounts? Provide the customer's full name.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local218", + "db": "EU_soccer", + "question": "Can you calculate the median from the highest season goals of each team?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local074", + "db": "bank_sales_trading", + "question": "Please generate a summary of the closing balances at the end of each month for each customer transactions, show the monthly changes and monthly cumulative bank account balances. Ensure that even if a customer has no account activity in a given month, the balance for that month is still included in the output.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local072", + "db": "city_legislation", + "question": "Identify the country with data inserted on nine different days in January 2022. Then, find the longest consecutive period with data insertions for this country during January 2022, and calculate the proportion of entries that are from its capital city within this longest consecutive insertion period.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local156", + "db": "bank_sales_trading", + "question": "Analyze the annual average purchase price per Bitcoin by region, computed as the total dollar amount spent divided by the total quantity purchased each year, excluding the first year's data for each region. Then, for each year, rank the regions based on these average purchase prices, and calculate the annual percentage change in cost for each region compared to the previous year.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local258", + "db": "IPL", + "question": "Calculate the total number of wickets taken by each bowler (excluding run-outs and other dismissals not attributed to the bowler), their economy rate (total runs conceded divided by total overs bowled, considering only runs scored off the bat and ignoring any extra runs like wides and no-balls), their strike rate (average number of balls bowled per wicket taken), and their best bowling performance in a single match (the match with the most wickets taken by the bowler, formatted as \"wickets-runs\" where runs are the runs conceded excluding extras).", + "external_knowledge": "baseball_game_special_words_definition.md", + "document_sha256": "9c82e2acfee3bb4b9683957cdd46ef61ce11ee07a7f3cf1f6409a9960f908643" + }, + { + "instance_id": "local199", + "db": "sqlite-sakila", + "question": "Can you identify the year and month with the highest rental orders created by the store's staff for each store? Please list the store ID, the year, the month, and the total rentals for those dates.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local194", + "db": "sqlite-sakila", + "question": "Please provide a list of the top three revenue-generating films for each actor, along with the average revenue per actor in those films, calculated by dividing the total film revenue equally among the actors for each film.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local273", + "db": "oracle_sql", + "question": "Calculate the average pick percentage for each product name, using a first-in-first-out approach that selects from inventory locations based on the earliest purchase date and smallest available quantity, ensuring that the picked quantity reflects only the overlapping range between each order’s required quantity and the inventory’s available quantity, and then grouping and ordering the results by product name?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local078", + "db": "bank_sales_trading", + "question": "Identify the top 10 and bottom 10 interest categories based on their highest composition values across all months. For each category, display the time(MM-YYYY), interest name, and the composition value", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local330", + "db": "log", + "question": "Using the activity log table, compute the total number of unique user sessions where each web page appears as either a landing page (the first page visited in a session based on timestamp) or an exit page (the last page visited in a session based on timestamp), or both. Count each session only once per page even if the page serves as both landing and exit for that session. ", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local007", + "db": "Baseball", + "question": "Could you help me calculate the average single career span value in years for all baseball players? Please precise the result as a float number. First, calculate the difference in years, months, and days between the debut and final game dates. For each player, the career span is computed as the sum of the absolute number of years, plus the absolute number of months divided by 12, plus the absolute number of days divided by 365. Round each part to two decimal places before summing. Finally, average the career spans and round the result to a float number.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local029", + "db": "Brazilian_E_Commerce", + "question": "Please identify the top three customers, based on their customer_unique_id, who have the highest number of delivered orders, and provide the average payment value, city, and state for each of these customers.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local229", + "db": "IPL", + "question": "Find the IDs of players who scored the highest number of partnership runs for each match. The output should include the IDs of two players, each with their individual scores and the total partnership score. For each pair, the player with the higher individual score should be listed as player 1, and the player with the lower score as player 2. In cases where both players have the same score, the player with the higher ID should be player 1, and the player with the lower ID should be player 2. There can be multiple rows for a single match.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local085", + "db": "northwind", + "question": "Among employees who have more than 50 total orders, which three have the highest percentage of late orders, where an order is considered late if the shipped date is on or after its required date? Please list each employee's ID, the number of late orders, and the corresponding late-order percentage.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local049", + "db": "modern_data", + "question": "Can you help me calculate the average number of new unicorn companies per year in the top industry from 2019 to 2021?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local275", + "db": "oracle_sql", + "question": "Based on monthly sales data starting in January 2016 and using a centered moving average to adjust for seasonality, which products had a seasonality-adjusted sales ratio that stayed consistently above 2 for every month in the year 2017?", + "external_knowledge": "calculation_method.md", + "document_sha256": "dfe12121ce38a8a38c62c3480dc0fadeafcbe134d5bf6f3f6eda216e1b1677de" + }, + { + "instance_id": "local262", + "db": "stacking", + "question": "Which problems exceed the total number of times they appear in the solution table when counting all occurrences, across steps 1, 2, and 3, where any non-\"Stack\" model's maximum test score is lower than the \"Stack\" model's test score for the same step and version?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local284", + "db": "bank_sales_trading", + "question": "For veg whsle data, can you generate a summary of our items' loss rates? Include the average loss rate, and also break down the count of items that are below, above, and within one standard deviation from this average.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local010", + "db": "Airlines", + "question": "Distribute all the unique city pairs into the distance ranges 0, 1000, 2000, 3000, 4000, 5000, and 6000+, based on their average distance of all routes between them. Then how many pairs are there in the distance range with the fewest unique city paires?", + "external_knowledge": "haversine_formula.md", + "document_sha256": "5205954f1ca74ed724d121772e2bf4bc86c2cfc163f6e3fdd6afeec79c33ffec" + }, + { + "instance_id": "local335", + "db": "f1", + "question": "In Formula 1 seasons since 2001, considering only drivers who scored points in a season, which five constructors have had the most seasons where their drivers scored the fewest total points among all point-scoring drivers in that season?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local055", + "db": "chinook", + "question": "Identify the artist with the highest overall sales of albums (tie broken by alphabetical order) and the artist with the lowest overall sales of albums (tie broken by alphabetical order), then calculate the amount each customer spent specifically on those two artists’ albums. Next, compute the average spending for the customers who purchased from the top-selling artist and the average spending for the customers who purchased from the lowest-selling artist, and finally return the absolute difference between these two averages.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local344", + "db": "f1", + "question": "Considering all races where pit stop data is available, and focusing on instances when a driver was not behind another car on the previous lap but is behind on the current lap (accounting for retirements, pit-stop entries, pit-stop exits, and race starts), how many times has each type of overtake occurred in Formula 1?", + "external_knowledge": "f1_overtake.md", + "document_sha256": "b83e7b52e1672e0b6d34bcfad8122034abac926b75d34c880c210ab1bfc8a046" + }, + { + "instance_id": "local311", + "db": "f1", + "question": "Which constructors had the top 3 combined points from their best driver and team, and in which years did they achieve them?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local114", + "db": "education_business", + "question": "Provide a detailed web sales report for each region, including the number of orders, total sales amount, and the name and sales amount of all sales representatives who achieved the highest total sales amount in that region (include all representatives in case of a tie).", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local025", + "db": "IPL", + "question": "For each match, considering every innings, please combine runs from both batsman scored and extra runs for each over, then identify the single over with the highest total runs, retrieve the bowler for that over from the ball by ball table, and calculate the average of these highest over totals across all matches, ensuring that all runs and bowler details are accurately reflected.", + "external_knowledge": null, + "document_sha256": null + } + ], + "suite": "spider2", + "development_ids": [ + "local163", + "local081", + "local310", + "local194", + "local024", + "local096", + "local073", + "local064", + "local029", + "local335", + "local279", + "local264", + "local072", + "local202", + "local004", + "local062", + "local003", + "local021", + "local041", + "local218" + ], + "holdout_ids": [ + "local356", + "local210", + "local197", + "local283", + "local063", + "local128", + "local040", + "local272", + "local023", + "local157", + "local274", + "local035", + "local056", + "local228", + "local253", + "local358", + "local360", + "local132", + "local061", + "local114", + "local244", + "local259", + "local299", + "local031", + "local171", + "local302", + "local028", + "local301", + "local010", + "local100", + "local131", + "local133", + "local355", + "local059", + "local198", + "local065", + "local270", + "local015", + "local311", + "local330", + "local229", + "local219", + "local329", + "local058", + "local269", + "local019", + "local037", + "local009", + "local300", + "local298", + "local002", + "local230", + "local354", + "local020", + "local085", + "local336", + "local275", + "local297", + "local196", + "local099", + "local209", + "local195", + "local039", + "local201", + "local026", + "local034", + "local066", + "local098", + "local032", + "local007", + "local060", + "local078", + "local008", + "local055", + "local070", + "local141", + "local054", + "local286", + "local193", + "local068", + "local331", + "local263", + "local258", + "local220", + "local049", + "local221", + "local168", + "local018", + "local273", + "local130", + "local038", + "local284", + "local071", + "local212", + "local074", + "local075", + "local277", + "local167", + "local344", + "local152", + "local025", + "local262", + "local156", + "local050", + "local067", + "local077", + "local022", + "local170", + "local097", + "local199", + "local169", + "local030", + "local017", + "local285", + "local309" + ], + "split_seed": 20261126 +} diff --git a/bench/spider2/evaluate.py b/bench/spider2/evaluate.py new file mode 100644 index 00000000..5deb9596 --- /dev/null +++ b/bench/spider2/evaluate.py @@ -0,0 +1,309 @@ +"""Read-only case execution and official Spider scoring reused by accuracy CLI.""" + +from __future__ import annotations + +import asyncio +import csv +import hashlib +import importlib.util +import json +import logging +import os +import re +import sqlite3 +import sys +import time +from collections import Counter +from dataclasses import asdict +from pathlib import Path + +from lang2sql.adapters.db.sqlalchemy_explorer import SqlAlchemyExplorer +from lang2sql.core.identity import Identity +from lang2sql.harness.loop import agent_loop +from lang2sql.tenancy.concierge import ContextConcierge + +from .providers import MeasuredLLM + +logger = logging.getLogger(__name__) +INSTRUCTION = "\nReturn your final answer as exactly one fenced ```sql block containing the single read-only SQLite SELECT/WITH query that answers the question. Do not include exploratory SQL in the final answer. Use the supplied documentation; no user simulator is available." + + +def digest(path: Path) -> str: + h = hashlib.sha256() + with path.open("rb") as f: + for chunk in iter(lambda: f.read(1024 * 1024), b""): + h.update(chunk) + return h.hexdigest() + + +def write_json(path: Path, value): + path.parent.mkdir(parents=True, exist_ok=True) + tmp = path.with_suffix(path.suffix + ".tmp") + tmp.write_text(json.dumps(value, ensure_ascii=False, indent=2) + "\n") + tmp.replace(path) + + +def final_sql(answer: str) -> str: + blocks = re.findall(r"```sql\s*\n?(.*?)```", answer, re.IGNORECASE | re.DOTALL) + if len(blocks) != 1: + raise ValueError( + "Final answer must contain exactly one SQL block; no last-tool fallback" + ) + sql = blocks[0].strip() + if not re.match(r"^(SELECT|WITH)\b", sql, re.IGNORECASE): + raise ValueError("Final SQL is not SELECT/WITH") + return sql + + +def read_connection(db: Path, deadline: float): + conn = sqlite3.connect( + db.resolve().as_uri() + "?mode=ro", uri=True, check_same_thread=False + ) + conn.execute("PRAGMA query_only=ON") + + def authorize(action, *args): + if action in (sqlite3.SQLITE_ATTACH, sqlite3.SQLITE_DETACH): + return sqlite3.SQLITE_DENY + return sqlite3.SQLITE_OK + + conn.set_authorizer(authorize) + conn.set_progress_handler(lambda: int(time.monotonic() > deadline), 1000) + return conn + + +def export_result(db: Path, sql: str, output: Path, timeout: float, max_rows: int): + conn = read_connection(db, time.monotonic() + timeout) + try: + cursor = conn.execute(sql) + if cursor.description is None: + raise ValueError("Query returned no columns") + with output.open("w", newline="") as f: + writer = csv.writer(f) + writer.writerow([c[0] for c in cursor.description]) + count = 0 + for row in cursor: + count += 1 + if count > max_rows: + raise ValueError( + "Result exceeds configured row budget; not silently truncated" + ) + writer.writerow(row) + return count + except Exception: + output.unlink(missing_ok=True) + raise + finally: + conn.close() + + +async def run_case(case, root, db_dir, directory, profile, key, args): + from sqlalchemy import event + + started = time.monotonic() + llm = MeasuredLLM(profile, key, args.call_timeout, args.max_calls) + db = db_dir / (case["db"] + ".sqlite") + explorer = SqlAlchemyExplorer("sqlite://") + # Existing adapter/harness, but benchmark DB connections are physically read-only. + from sqlalchemy import create_engine + from sqlalchemy.pool import NullPool + + explorer._engine = create_engine( + "sqlite://", + poolclass=NullPool, + creator=lambda: read_connection(db, time.monotonic() + args.sql_timeout), + ) + + @event.listens_for(explorer._engine, "before_cursor_execute") + def deadline(connection, cursor, statement, parameters, context, executemany): + until = time.monotonic() + args.sql_timeout + cursor.connection.set_progress_handler( + lambda: int(time.monotonic() > until), 1000 + ) + + concierge = ContextConcierge(llm=llm, explorer=explorer, max_turns=args.max_calls) + ctx = await concierge.build_context( + Identity( + user_id="benchmark", guild_id=case["instance_id"], channel_id="baseline" + ) + ) + prompt = case["question"] + if case.get("external_knowledge"): + prompt += ( + "\n\nProvided benchmark documentation:\n" + + ( + root / "spider2-lite/resource/documents" / case["external_knowledge"] + ).read_text() + ) + if case.get("evidence"): + prompt += "\n\nProvided benchmark evidence:\n" + case["evidence"] + prompt += INSTRUCTION + record = { + "instance_id": case["instance_id"], + "profile": profile["name"], + "model": profile["model"], + "status": "started", + } + try: + answer = await asyncio.wait_for(agent_loop(ctx, prompt), args.case_timeout) + record["answer"] = answer + sql = final_sql(answer) + (directory / "sql" / f"{case['instance_id']}.sql").write_text(sql + "\n") + record["rows"] = await asyncio.to_thread( + export_result, + db, + sql, + directory / "csv" / f"{case['instance_id']}.csv", + args.sql_timeout, + args.max_rows, + ) + record.update(status="predicted", sql=sql) + except Exception as exc: # noqa: BLE001 — record all model/SQL failures + # Error text from providers may contain request secrets. Persist type only. + record.update(status="failed", error_type=type(exc).__name__) + logger.error( + "case failed model=%s id=%s error=%s", + profile["name"], + case["instance_id"], + type(exc).__name__, + ) + finally: + record.update( + seconds=time.monotonic() - started, + calls=llm.calls, + transcript=[asdict(m) for m in ctx.session.history()], + ) + write_json(directory / "records" / f"{case['instance_id']}.json", record) + concierge.store.close() + await asyncio.to_thread(explorer._engine.dispose) + logger.info( + "case finished model=%s id=%s status=%s", + profile["name"], + case["instance_id"], + record["status"], + ) + + +def validate_manifest(manifest, root, db_dir): + lite = root / "spider2-lite" + if digest(lite / "spider2-lite.jsonl") != manifest["question_file_sha256"]: + raise ValueError("Question file changed") + if digest(lite / "evaluation_suite/evaluate.py") != manifest["evaluator_sha256"]: + raise ValueError("Official evaluator changed") + for db, sha in manifest["db_sha256"].items(): + if digest(db_dir / (db + ".sqlite")) != sha: + raise ValueError("Database hash changed: " + db) + questions = { + c["instance_id"]: c + for c in map(json.loads, (lite / "spider2-lite.jsonl").read_text().splitlines()) + } + ids = [c["instance_id"] for c in manifest["cases"]] + if not ids or len(set(ids)) != len(ids): + raise ValueError("Manifest cases must be nonempty and unique") + for c in manifest["cases"]: + original = questions.get(c["instance_id"], {}) + if not c["instance_id"].startswith("local") or any( + c.get(k) != original.get(k) + for k in ("question", "db", "external_knowledge") + ): + raise ValueError("Manifest case differs from upstream") + if ( + c.get("external_knowledge") + and digest(lite / "resource/documents" / c["external_knowledge"]) + != c["document_sha256"] + ): + raise ValueError("Document hash changed") + + +def score(root: Path, output: Path): + manifest = json.loads((output / "manifest.json").read_text()) + settings = json.loads((output / "settings.json").read_text()) + script = root / "spider2-lite/evaluation_suite/evaluate.py" + if digest(script) != manifest["evaluator_sha256"]: + raise ValueError("Official evaluator hash mismatch") + spec = importlib.util.spec_from_file_location("spider2_official", script) + official = importlib.util.module_from_spec(spec) + oldout, olderr = sys.stdout, sys.stderr + oldcwd = Path.cwd() + try: + os.chdir(output) + spec.loader.exec_module(official) + tee = sys.stdout + finally: + sys.stdout, sys.stderr = oldout, olderr + os.chdir(oldcwd) + tee.close() + gold = script.parent / "gold" + for name, expected in manifest.get("gold_sha256", {}).items(): + if digest(gold / "exec_result" / name) != expected: + raise ValueError("Gold result changed: " + name) + if ( + manifest.get("gold_config_sha256") + and digest(gold / "spider2lite_eval.jsonl") != manifest["gold_config_sha256"] + ): + raise ValueError("Gold evaluation settings changed") + standards = official.load_jsonl_to_dict(str(gold / "spider2lite_eval.jsonl")) + summaries = [] + for profile in settings["profiles"]: + directory = output / profile["name"] + status_path = directory / "status.json" + status = ( + json.loads(status_path.read_text()) + if status_path.exists() + else {"status": "incomplete"} + ) + if status["status"] != "completed": + summaries.append( + { + "profile": profile["name"], + "status": status["status"], + "accuracy": None, + } + ) + continue + results = [] + failure_types = Counter() + calls = [] + seconds = 0 + for c in manifest["cases"]: + ident = c["instance_id"] + if ( + ident not in standards + or not official.resolve_gold_paths(ident, str(gold / "exec_result"))[0] + ): + raise ValueError("Missing official gold: " + ident) + record = json.loads((directory / "records" / f"{ident}.json").read_text()) + calls.extend(record["calls"]) + seconds += record["seconds"] + if record["status"] != "predicted": + failure_types[record.get("error_type", "missing_prediction")] += 1 + result = { + "instance_id": ident, + "score": 0, + "error_info": record.get("error_type", "missing_prediction"), + } + else: + result = official.evaluate_single_exec_result_instance( + ident, standards, str(directory / "csv"), str(gold / "exec_result") + ) + results.append(result) + write_json(directory / "scores.json", results) + known = [c["usage"] for c in calls if c.get("usage")] + summary = { + "profile": profile["name"], + "status": "completed", + "correct": sum(r["score"] for r in results), + "total": len(results), + "accuracy": sum(r["score"] for r in results) / len(results), + "failed_predictions": sum(failure_types.values()), + "failure_types": dict(failure_types), + "api_calls": len(calls), + "seconds": seconds, + "wall_seconds": status.get("wall_seconds"), + "prompt_tokens": sum(u.get("prompt_tokens", 0) for u in known), + "completion_tokens": sum(u.get("completion_tokens", 0) for u in known), + "usage_missing_calls": len(calls) - len(known), + "cost_usd": None, + } + summaries.append(summary) + write_json(output / "summary.json", summaries) + print(json.dumps(summaries, ensure_ascii=False, indent=2)) diff --git a/bench/spider2/manifest-sqlite135.json b/bench/spider2/manifest-sqlite135.json new file mode 100644 index 00000000..933a2080 --- /dev/null +++ b/bench/spider2/manifest-sqlite135.json @@ -0,0 +1,1319 @@ +{ + "benchmark": "Spider 2.0-Lite SQLite subset", + "upstream_commit": "cafb867313aab4e674652054198f383cf4018943", + "baseline_commit": "e0a7fb1", + "seed": 20261114, + "selection": "seeded shuffle of local IDs before inference", + "question_file_sha256": "4ba48916576fbd60311a2478c6d4550b5d8cf3fcbc512457ea493b5941ca009d", + "evaluator_sha256": "e93624e4ffa00e51c67bdee1d9e42b534630087cb453270c0dedc0c73e618480", + "db_sha256": { + "IPL": "bf5ddbf887bbf992a091ef31ee681b9339ba716c327263fce0f3b4da924f22c1", + "bank_sales_trading": "10c8b8136486902a19c3f974f210e9fb7c8f98918ae0313114c720219b02e18c", + "city_legislation": "6a9714f9fe11676691c38bb6e2cd048ab877415d28c358a2647ff1b8b8bfe763", + "modern_data": "d4910db155d7be8070d14cab6e44862d0fa74d71e6588d114c4bacb4225942e4", + "delivery_center": "d882e3e6552634e27739beab4c65fe8ec2086b84155489762f9052a663913f9e", + "Pagila": "dbca3837b9965d75fbc2b4af1b2daec57d841f95942e656cea44db997e05da88", + "E_commerce": "49446afd935721ee12fc95316fbee9666a3e1bd4872dfa194fe4625d6762a81a", + "electronic_sales": "8e759e113c316c7f996c2e721b596f73979fe679abeacb21e6ea5dbe6fc62eaa", + "oracle_sql": "ace68ede8f7fddc523d522e938ccfeee1f54c11888fd2c956ebc27892fc595fe", + "Airlines": "83dd643367785c6b38b5379eecaf2c37128babac96805a48362783ff0cafc0a1", + "education_business": "d3498b07f44a4ac1757798d70f4cac7c44d16082c0608c58a74d5aa0d6d058f9", + "California_Traffic_Collision": "14ace2b5213306081611b24647fe70778426bbcb0d5b30e85beb0386ffcf1020", + "Baseball": "4784826541ea40d76dd9c2da2812e189ec351ca79e2738916da5587b465341cd", + "music": "f82efedb6c5c40734609e168bc5be5616a2eca6b90ed0048451a8674625e03a3", + "complex_oracle": "2244dbd99d5205941353024332eb62b1754d3383bcd7c8c20361344d736be00c", + "WWE": "5e21654b3ea344583c921864c499ea984e66fb46579f7d4e74f531d0f415a52a", + "EU_soccer": "b4ebd079625bb9cd20437eaae1ccd0fc82f0f390567cfe3ee1df78fa08ad5f9a", + "f1": "35ad3b824678e8435bde02f14bcd554630792874749fdd59fe9ca1385234ce23", + "Db-IMDB": "34b043fffa7e10a152c8d1536bb54e5365df102ac9d8c09d4549ef0d9ef6aadf", + "log": "800191cd5ba91dcaebb427bb9313dc5bef1571b848b597508f15372e77c2dbd8", + "sqlite-sakila": "dbca3837b9965d75fbc2b4af1b2daec57d841f95942e656cea44db997e05da88", + "EntertainmentAgency": "24237bd0232f4b542b3e5c0417c9890c1d02ae8e2434253af58528e517a0fd07", + "school_scheduling": "bf37030ee170906bfa6bf5958766cf2a63dc0ad8168b3892ad96940be838fe63", + "Brazilian_E_Commerce": "96d1becb02714d76ef1a728d8ca0de33e52acead1668abd5f7d8a73a45f6d0f3", + "imdb_movies": "175c1da2deb00fe28d70608f7839aea5abc214dca15bb3e8622c9b7258c25b9e", + "BowlingLeague": "f8ceb5692677a5a4e04d0a08dd495ae8dbebffbacdb2a66dec551613775bc12c", + "northwind": "80a1d9591da7aeaaa439ba0002023d5ab69d3f15a3d8b2ac9389dfd30543c1e7", + "chinook": "d6c11e2ccda2a36883af57f031f76fbd55e247f3be1710c4c8aaa72ec06a18cb", + "stacking": "eb683890921eb597f176692fe6ac9fb544dde3fd78084d019bf82cd0e6efe780", + "AdventureWorks": "f8bb86bfde5fca5636030fa9490ad37d4397b0b21591ee62c7aca363a64f2653" + }, + "gold_sha256": { + "local020_a.csv": "c1b371bd6f78e69c1fbf6c18aeb322eb8eb6ee941d2ab38891867bbeebf6ae19", + "local020_b.csv": "7c70ccf7dcf12696171f65f84ac3a12ec0c186c9d652e17eb4bca16ecdc713f0", + "local064_b.csv": "dec7e4121cca37fbc2382cc8cc6ee1aeaef25db34fb2b48402cb535a5a6529c0", + "local064_c.csv": "06a27d4d7c5abc98f940988e1a3e42b63013f67a64cfbc380026678d9cfd8c7c", + "local064_a.csv": "500a9aa255bca20726cd09bb246f629cbd646a8add8fb1909392ecd09f93b297", + "local169_d.csv": "5220ca53e1d1d4f299f003c98c0d3d0f6beaa89a19648cb5be05f8c4979b24ee", + "local169_a.csv": "b3dec45955dc3e802667d623e072f56cf164bd5aa3ef7488e4126dff07887437", + "local169_c.csv": "1a36de9147b3b3ca4d39f111e15401ab332d343784744e4400e0c44768dea798", + "local169_b.csv": "a7f5b51992d6a1f5ac5aafc37a89b9d77b5a04d459cb7ca450e0f5777dc6c2ee", + "local073_b.csv": "203926fa65c2315ce652c2c648edf76f84d2a324f61218bcb3ebbd140335ae60", + "local073_a.csv": "7bd11f899aab7c37790cdf55b7f04b09a060d36d44ca57343018a22ae64f88e0", + "local302_b.csv": "1cdb9b8168d2bab6b7897b79122d767026313001c9df4846146c70d012ba9ab5", + "local302_a.csv": "6865f086e47dc7842c167d5907830506a7c591a0f387c3a1f4106eb56555269b", + "local212_b.csv": "bb74516e6d3253874a418c2af2a5240011b36fd104e340881b41377279731c07", + "local212_c.csv": "3e9ffdfbb80e8c424d7c927495c04b575113dc129237d674384490b6f19f7a95", + "local212_a.csv": "a7ec3f8b50d95a2c946b9904841ad97c48ee2ae066f18e95840ca041f2653228", + "local075_b.csv": "ecb3ddc0d38d6561d4633006dd578b1150d1eb79ab1b753d9bb3d529f496c361", + "local075_a.csv": "ecd72e006e9322343c1d008e606b1f87dd9cea8c522821603adefe2e15e74f61", + "local038_b.csv": "7a92c8c4d7b6aedd050aabb1bcfe26348038cfc3429e99ff2e1168e0f5d75d09", + "local038_a.csv": "ee3a29f76657fdbc0ac015d17a647bcead7f7edbf2bc9ecfdd33238c4dc16a52", + "local003_c.csv": "96fba57f2fe200d7b18b2d862bc956f98befa8ead69a6d3ff0593197fbecded1", + "local003_b.csv": "35d1fb54543e7b6de87d5d5e7fee1d4dbbd67b7d5d98e72e8fd959ac8a0d38eb", + "local003_a.csv": "dfe02288dc4d860119b85b2629e240b283c19c4828ff92d115de38d2553f2208", + "local003_d.csv": "88569b7c814a488dcf872675bc5cb21b314d81c736574569dd10dcc8cac5765d", + "local286_i.csv": "67282b3f4efdfaee5d82d004381caa8ef9c2d70ded77e5f018bc12121ba648b9", + "local286_h.csv": "b9745253b4426a4754d5f22b7a158c682b69d215467cd20ff39d59b464b8e52f", + "local286_e.csv": "3e2c801aa106e114ac238d3f0593e4b51cb1ab8d333f9ba88ebab1138aa651de", + "local286_d.csv": "e6592fcf5accaed189bcec1a1a6a7d6906932542da0acdd34427d7c05ee4910a", + "local286_f.csv": "3f59abfefe275b81255fe3d591057a807a9110f1baddd41661fe6326dbe80eaa", + "local286_g.csv": "e8900c3cc4a15f719e54346df7e857bf5fa677b25e62a6d211aa57e705a6c53e", + "local286_c.csv": "0f58057a69e464d146ad40b470c2a6e593dbc44209d6b8ca6312bce47142c832", + "local286_b.csv": "ee6565e66e7580bd4bd9766171b6b78a5563099b7b3e2ac7b8c5feb1b8159e0b", + "local286_a.csv": "a10378fc736e6bbdf16a23aeb65840dce586d06db9f7543df5649c0a876c558f", + "local004_a.csv": "7f1b06203ef6e8400537f3ee59295b0794edaf2c4d20cbf428b742205dc79745", + "local004_b.csv": "b727d6aaccf9806451d3aa60f21c4830c51268a8c4ba1c2373bb20b02e4b8ad2", + "local277_a.csv": "ec9a93c0d9df1bf97e71c07f51281bc51c94c8bdc3b3468321f18386beb03d28", + "local277_b.csv": "bb0393ebfe836fec7f6382b8c60f173081aee06706de5f808738e58ef74d14ed", + "local277_c.csv": "474344a708d34dfb21b540c0b9c37b566d7dc3e716efae55e40dad2a42f8a141", + "local009_a.csv": "55d99171b807ec637db5e5537862c0a95e7c80e6ff9141ff0954903114bee214", + "local168_e.csv": "973f35863944634ce8e1a0f71ccdf3e3b2e9b4e4af7a7af7cb8d2880369cae35", + "local168_d.csv": "7c350f87225d15834980a48d7eb151d49d7ccb54b0a34063c6353d35d1360a04", + "local168_c.csv": "a099fd0094964acec9e9b7dc780e2d74e3b352d0a406fbd26492b16254a3e9ac", + "local168_b.csv": "0ba23c452b58b79505385e9d640647eb222ff03a8ecc42c3ea735e0dc5a3c47c", + "local168_a.csv": "2e0139876cf21db59202e70f35265ef7153f860a1552b2dbb45b74239d2f41af", + "local058_a.csv": "c74e9663427d34d34cb641480e4807b0459db608f792c2f35b2d072a94b489fd", + "local017_b.csv": "93766776794bd5ae3f393b387b3e96ec4607d1a1b51cbc8efde4ceed137cf1a5", + "local017_a.csv": "51256921f42d6e90afd3d2c173c6c41f78edae73dd08c3db89f4b058d6ccac6b", + "local008_b.csv": "ec056a18be1876a4d931f0a3470e972c83ecda7b2b398b1075f7568e4ccf5815", + "local008_c.csv": "fd4647652ddd17aafd4e2ee4e2beffd47405db36edf56ca756f8e12839f3b65b", + "local008_a.csv": "89ca9045bc066b6f9e407b19bcf51f3972bf6d60c34cb423333ec675489ff9cc", + "local244_a.csv": "5965bfa1f61aa4f176dafa1f6404853176c6c1bb7a2a23611fbf19d947afcbb6", + "local244_b.csv": "a0e9f988fcb19cf1de3e04c2336c9d69ca45f452213e50144d52c12bdd9355e4", + "local063_a.csv": "1793aa1c7acc50826abd3658b0f4e33559fbd6d731d8ec93fafbade87c9d5234", + "local063_b.csv": "a1441c9bb8dc7e44fb5a07fd7859819557c9736cd288d134cedc863840eec30b", + "local063_c.csv": "b755b88cd040cfeec296a84e3047d28c83cc4610578a5dbefd79b237f248dea5", + "local063_d.csv": "d8368237d3fc65210a2fdf27842d5b547ef00140ebee87e1b5e7ee5acf0e7d23", + "local063_e.csv": "4ac60e76e037ba5e62532d02bd6c9009b16bf6ecfeed2d3927892f8164f0772a", + "local259_b.csv": "f2d95d3a692176ef5a7a08318c2257af1e1971db71bff98e7fae55343253e842", + "local259_c.csv": "df6c3de0deee12fbddc77b2b5a0de57c80b0826fa3fa182b4d9615d69c4f2a70", + "local259_a.csv": "2c2419415a341c10edec2e05be6aebbba30f7428456455edf0f46de2ec5b3f2e", + "local019_b.csv": "5a3e07334d13b00ed6b6f0b6ead9542dac5da69a4320e71d942235514a3fb231", + "local019_a.csv": "6094d8e25f80e75f1c7b91b27d5943e71eb63acd8407c0e7165644787b77cbbd", + "local021_a.csv": "0936bacb011189be56c7b695bf624d8ec171e453a34fa6e0ab8817b8fe508caa", + "local002_a.csv": "97eb32859e39d7ee65b2a7501b157e1cd67fe932d58d2c5b931c3442d6a0afbc", + "local002_c.csv": "9deb74fe0ac8eb52df9ebe72260aa5b12c3f574e1858c843b91234f8d92c0cf9", + "local002_b.csv": "d1382f9c7802b5d2e55c3c3431322df282f4059d352ef588bdb70ec076d61879", + "local220_h.csv": "29bc54cf4eefd315349bde9119d4355bf9e8fa315b32ecb9cdaafec1d84b34af", + "local220_i.csv": "72eb0dcadb3803e4db881e56f3e983cf1f70d30f4aea1f3d5ae6d9f12ccdb004", + "local220_a.csv": "3fd793f820da7caf070fa30e734fc50fd512de91bb8726157791e6505b19f2ca", + "local220_b.csv": "307f4b3b18444ac7d3e2e0621f3e446bb0b3542c663d48bf0a3c88c0db8611be", + "local220_c.csv": "cec03dbe63fba9147b27e0d97ee1a750943e8326029df162ca7a54f2950b7e83", + "local220_g.csv": "c9d54b9e5320fd510c11afa8d7ca9a4b0f9b86e13da1a8d6fae8065472e01340", + "local220_f.csv": "6e6ab60d41c302b668986d652e63081989a7c9fa4d8eadce5097a1669be4ed8e", + "local220_d.csv": "38bdcb5070e77309a6968db11620e91994432b85feea07eeea4a998d496ed37f", + "local220_e.csv": "588ce337a1878cb035e7116a0910bf3a1a932446c02dc1da315de913fb19deaa", + "local336_a.csv": "28d892a0a923deac963020adf6123c94465bf5ff0f575e881442968f225db7c6", + "local336_c.csv": "89fea80e22a96f737ea5fc60113d26e4b81b2c6649721f51117fd9ec80215de2", + "local336_b.csv": "43131e08623badb368d1b3b253546e089d9e58ff1013a0c22b89c4ba5c733fbe", + "local336_d.csv": "493f99d0374d955882bca3f0257a2c714eee78111f465a1dc003ee2dcc47f34a", + "local077_d.csv": "55982709bcc150ee95ebd23d9d9389fee472f2f569979462c170cc1f17a42990", + "local077_a.csv": "f6e756eb78b1229ea23bf75d44de15ab0fc5cf79c63815595696186ee3a8ca09", + "local077_b.csv": "77fe93d9db1ab584637158c4a4c0ed60a528a2ecbefb0211eac390647a16b694", + "local077_c.csv": "d05b442624aebc3e586434af3b2837dbc4f2c0810465a97b85c50724bb3a09e9", + "local100_a.csv": "1c65e8f88161a7f86810c6f4669588ca1d3ef321674341c8a11979c489cf692d", + "local210_a.csv": "6560065fb4722f6ad2f6b1690c82d92ed50cdbea71936b2c48f50ed1898db22d", + "local210_b.csv": "47762ab50ef3d12a0a4a5ef5f10c41a7b8047b254e30b8a68ce302f8335f0245", + "local163_a.csv": "96ea14d9b3d8f61947989d5dc62c696eb15425dd86efc3290239b703bf99d506", + "local269_a.csv": "7267c436f72664d40ed245834186360188fa127f28c4a13c5e21d16c9840e28a", + "local285_d.csv": "712513f473959279273b3d6eb70f443ce7fc1f8296e5eab2e666bae2200de666", + "local285_b.csv": "a87ab59dece88c9811bcd52981d716d119609de051975383f4c741d37c98e878", + "local285_c.csv": "f1d1471ad889b1ec40b6ef4bbb691168523b8b01ede4327a5e41461a1f1d65cb", + "local285_a.csv": "3a88e7542df7ebdf18d21e3765fa1f0fcfd7c2af088b36ce169a81c9790431c8", + "local219_e.csv": "12ec2399787f1ca5a882346e9bb24021d9df7cf73787fab77952a7b8db84757c", + "local219_d.csv": "f5d2bdabf22b17758a44df650e6be6fe4a2c0f94a9ed5d0f6b30435dc285a419", + "local219_f.csv": "b8acd8c449ec4e0f38160ef5bd325671b773c2879cad84531da1780044471b08", + "local219_c.csv": "7803b6fc3cb1c317d0d02bb7eb529555659fe416a9fc281fded398f26280c294", + "local219_b.csv": "3d73969fd39cf5a1cbae9d32f3147b19339396083c877b52612b6cf78def4d81", + "local219_a.csv": "9dcf380a8086a2f4ef87a8d6d2db72455c83032f3f7a6e9d6e03281dd602a0d4", + "local360_c.csv": "1b8a564021b0ccd7f0aba665f54bea7f01c17aa48a8d4a2cd920ac12e0e8bf8f", + "local360_b.csv": "e2764c72c8aabc4430bb46ffc6c873f09408a758dbc757d87c6a1aea2d26a371", + "local360_a.csv": "de935d70c61b69e9bb632db32d60e07543447126a30f738eb52b4433dbbeff8d", + "local331_c.csv": "5575b855b619782c80380d2e932b9f8013b5a4e400d17bd6723aff8965f36622", + "local331_b.csv": "398b4c221861dd10271520f700c0ccd5169d9713e3f30c4d8d04f74726f6096c", + "local331_a.csv": "be4bc308953866f6e4b173319a1b0934a3404829753c7662f317ce26bb5be91b", + "local193_a.csv": "15bf368dd71c4ca644d590268b57fe2fe1d080e26ededbf3de3fd3985ea355c2", + "local132_a.csv": "ce397426bf6cb0280cfcc1abc74a4b64e4048568ee9a2d878ef296a4e41576e6", + "local310_a.csv": "35d7876cd66bff44654add1596d74a6a916d15994c5f4a015a48633ec8e4e8c9", + "local041_a.csv": "4b61532d00887c35ce49c293e9a8cdbedf93da39ae84139a3744a07b1a551144", + "local041_b.csv": "2dd088064fc0b86e4deaf8356aa902d290321b5de6fbecb737e0c6da9660f30d", + "local099_b.csv": "fbdca4cd81c62b3d93bc93eb215520d892ba4c290751919f20dd71418ce6a7e4", + "local099_a.csv": "bec10511e51815d3a874d90ce4a83af43396138460f02d4e36d0b0880fa03724", + "local130_a.csv": "6694afd62cbcfd4fba3f359e3e76af114f615c01606190c9787933728ee54daf", + "local066_a.csv": "c1899edc643a416e7b90e8d7d78b8bf46661e9eeb3a87e7d8bad6b9d547cda2b", + "local066_c.csv": "6551bf0440d4bc3e41c471f6dc247f300f93b0fd2b5fd4a8308bdf96e18dbee7", + "local066_b.csv": "cab923a50ec2151f75792452874ef2e7fae3ee533a07e8f8725fd6355762f585", + "local030_a.csv": "161284a3c6f2c5ec916f4886536315005752236edb3f1906d2e894202614144a", + "local209_a.csv": "deddc04c50a244e75de82f47ba6c3f54fbb6f97b988985f6993db03183b8778e", + "local209_b.csv": "e7f4324fd0a268ef8db517670215e03a14ca4d738abd5adce0bb1d48857b84c1", + "local067_b.csv": "c6b945e3fc178475ac8c6440ff33ab4a33578dcf1187f79ba7c2a577f17ce7e8", + "local067_a.csv": "34477c4b74140e991f932a86b10e3ae6cace0a425a4efe9480d2d52ded344180", + "local050_a.csv": "58dfb380fd1b78d1ffdcdd41136ee6d29f5fe878497fd8c447a5643a945bbf42", + "local050_b.csv": "2be2c502211501cac9fe28882a163b8e8e0ada559e88df12d84279f960c98508", + "local050_c.csv": "c02d70fd6770f3b8b7c7400017f9de5fe4a3d98d5bcff5d23bb855bd34e8193c", + "local022_a.csv": "5b0274a5bdf4cb2da91e1cb86da639d2788ff6c9ce12be709c89ebe431a405cc", + "local171_b.csv": "438b893ebb918cc5270c7c83ce5b9c66a2e5c1bee69b01ce916bf44ba01322da", + "local171_a.csv": "43c4b12ce24776c1cb3a4b3d6ccbfbabd2697449aeae73f43f4a8b217f348a94", + "local131_a.csv": "99088095afe2b7e918cd1362c7bfc329d0769b29cbdca8d3a0db17c12cefa257", + "local152_a.csv": "ccc36f93451600109f70423f3f2b22c59efc2aeec4481a34c40c6cd03762ec35", + "local356_b.csv": "5fb856cd42618d59fd31df1d5cd709c44c9ab461f06332c7cb42c4fb0525d875", + "local356_c.csv": "2d55de8bf7ca99d16767c4dd1afc8aac75f555903707439e862e9ae93f9df93a", + "local356_a.csv": "89856e985d2871649e2886240252cdc23f93da31724184c8d5a4a84124c8beb0", + "local356_d.csv": "c2cbf79260717e789c4a46bf0730c3476bbbc825cd8de28dddb12871e901fccb", + "local097_a.csv": "ab059c081ce0df9c377b85691022bb1f9f3667ce570bd81b3939d3051a53ece3", + "local062_a.csv": "2b9d26110be67fe46bcb3660fcf6999b4a003bf2a67cd089e6167870ceba77a1", + "local031_a.csv": "75b4daf5e59d7b7a5ef8810934833306d92260dc859ffa703a04d975c9f337ff", + "local128_a.csv": "2749b51ed71b2551d35f0d59c6ca189bdabfbdbc03ad154d0054c029eede7e0e", + "local081_a.csv": "9da7d88a04332b1b3fe6e84984e5d438fc2259026c92f0a617cd5b288c8b5981", + "local061_b.csv": "657640cf09e4f966f3b27816d2eac9868bc9afd2482a522e2cfca11c1308435f", + "local061_a.csv": "daba05cde352f1495ee5d5fe44e2e97d385dba25daaf9c9eead07d769e296593", + "local037_a.csv": "366902a6892471d22a9c5daf4a0a3a2b00eea621eb2aa7c2488fcd15f3a4b164", + "local037_b.csv": "e1b83ddd4a92ff112d597dd1b7f58242d2311417ae489aa2de8f07d88a08b4c0", + "local157_a.csv": "03259b07da7e44b85bf7f9e29e5acfac68bac669521afd3fb7a58ad56b7eb549", + "local157_b.csv": "624762a24072777e61e04392667b9102a2a75c1d75a120e30a990e7504de3ab6", + "local157_c.csv": "8e17cc7aa611d37ab4cafc7e70b1dfb6b7acb6bbd350fb15df7f2cd33e2fb4f1", + "local253_a.csv": "12bf95bf4418538435351a274cd99e3c5de8f7f51191b8d1f9acbe6167334c82", + "local253_c.csv": "f039653401cf392269288eea252ec11b9521fe764cc1304824a68a85f9c440c0", + "local253_b.csv": "47481be8a36053414a51168cf5f07a50cab22a5ef21d78cf6bcafdbf81b24e49", + "local054_a.csv": "6b684a3248c29aa8a29dc465edb8521463c3f0bd5e069df6e1f8a9e1df602333", + "local274_a.csv": "83d9b383b5f3db1b6d1880a91dde84a7c198d27bb34f5ad70078aa34a426c310", + "local274_b.csv": "bac6a3a31918621fb89e8c4c09b58001e81ad8257195ecab138f4eb20e4ba254", + "local263_a.csv": "af3936a3f06d0148c560a6781446bd98c758195d8c61cc2976b74435928f594e", + "local202_a.csv": "85e9369fc30751cdc1412cb5c7e78c2abeec2985dd4a5a41c5cdd71ddcc18519", + "local015_d.csv": "56f7cfa3c4a037c1c333de502d69d6c916da6014cff549996b09ecc3a89503bd", + "local015_e.csv": "a39ca5bb24cf3c1856102f53125f56c8fe686bc137b7402caaaac932e4a0d78f", + "local015_a.csv": "1d0afabe2283a59d441749067202ebcd70738034bd51d5e594675912f1a65106", + "local015_b.csv": "6d2f13248ceed54c99e70aae4c036a3886505ef8317f01cd84581180755d209e", + "local015_c.csv": "97b0b536c43f4dd48a36cced476efd98a469d2c5dd0950dbaab29924e7a7b31c", + "local195_c.csv": "3f35e382a09418f07f0c5afc5079b8b8fb7caa85215659fdec8f75fd52ca222e", + "local195_b.csv": "c948a0a429525ba0ff477d20448dc822c854ba9a5130dc2a2e1ba45036a1cacf", + "local195_a.csv": "6d010cf196c1cf9df4dbc8c5a5ef43c512870ac233c91264a28eaea8d4c46e2d", + "local201_a.csv": "080af4ed42042e04fe32a13854213d666382484739a9b353c0ae16295fc9fa87", + "local201_b.csv": "839abb14e25553a9f02394bc3ba35c53e528435fdef74dd9ba09acf20e5f7c91", + "local270_b.csv": "c6930b4e54ede426f04d641b7dec97d3794f3b44a2c7edd3c32bc3eef0b7c908", + "local270_a.csv": "44cbe0fc3c486a69790f015ad4b0944b7214d04ac9e1be0f3b3ac098aaf9605f", + "local354_a.csv": "a7a64d27016f986a8e8147b7c9d3a223b8f4082ea600ced8e5556e9080bdc2f3", + "local354_c.csv": "b846ff6920213823d198c67e147fbc7e3dd9924b951b47a3fdc1c9178dab4db0", + "local354_b.csv": "47de60a37350b531c54141ab5c1f46c294f2548fd6ef066ba2dbaf6f3f0802d0", + "local354_f.csv": "f3f2f1c0d9f0cf62a1b62770172eae26df2c961e190a5ed400dc83a48c53aae6", + "local354_g.csv": "8f9205af30974a993814edd1cccf5bdcd966a0641a0fc779246ed08beb457846", + "local354_e.csv": "d64bc9fa961ed98903c44ab63a73335502f3708fed027e618d35171c088210f3", + "local354_d.csv": "3672e9edce01bc9365f9fdef6ff15b4e94229c86f666a6a2686f241c7f25e931", + "local354_h.csv": "a4650a35efeaa4abf6142031a5cadf3dbee302a2abc232e8bb111d40fb6c89a8", + "local355_c.csv": "3b325c85166cd828601d40d98fbcb5a8b9ad301a8205c4f249cadd007c81f471", + "local355_b.csv": "45a67bcdebf25080c908c0449493e2ba503b7dd3168a17736629950d93a0fc83", + "local355_a.csv": "b6791e332962e204bca0fb65dc5cc521772bd22ed4bd2c9e0dd1436c5cf91bb6", + "local355_e.csv": "5edac8923a319e1630ddb13b8b0a50660363739a9c8f874adfc1be98242ec83f", + "local355_d.csv": "8c0297b41ffdac464accf4ca3dfafdba1caf68861fcf75545c6f1780649a1d44", + "local272_a.csv": "674a1e63a234810e0cedd5cb866b94177232be38c05e636bb08ef0a4756c8f01", + "local170_a.csv": "2b42a04d9f2a941f4f9e8ec8d8d6cab30636aeb97a68a9986f5281d7e8614a52", + "local170_b.csv": "75ba2f192c088b310f6f430e44f6be6c2975f7c2304602c04518731c444b146b", + "local059_a.csv": "d9b908bce1098fec3340ca821a2d0cc8f1081c3c0b3d9dc443d70887371bbfc7", + "local096_a.csv": "2a72e80ea25a693763018bbb412b540bc37449ffd1a113b332a68c762821f146", + "local026_a.csv": "8b0566d063be61514dd41fd6c20b7f872677ef6e9b74a1959a930c344e73e6ab", + "local065_a.csv": "a88fe08e758fc1ec3e5445c72e82f94e21b134c50fd020b849034d9c3d7e7512", + "local065_b.csv": "5222f53ddf2a5f19fdf8a4c126a89821f02dfb113f8b5149fbefc3f84ab2780f", + "local279_a.csv": "4f7378f0e26249ba807745040c85b6755ecc47ff70fcc44b6aa22caad2d2a437", + "local141_b.csv": "f1274a92ef605fa942f1777b10ee9549869b2c69e6c71db8f0e21060b16fca17", + "local141_a.csv": "f0f881eff759810e1a157ebec160506f64fcecf175c015d384403830765e9513", + "local070_b.csv": "fc5d8fa9225349c33a07ca52643a7f11434e9e8fd5711769b0fca0af3addac15", + "local070_a.csv": "fd0136749fd3215a1d9fcc910a6050866a928f3be65713f5518b5ce3a79acf9a", + "local023_a.csv": "abe0ba55aec5aa107a322556bc4dc73d8d76426eee7f7679a9b4329df0458e3a", + "local221_a.csv": "12397cf2182c3d6fabc5fa3c5d1e1b72abfee48e5852eaaa7f6cc94dc113acdf", + "local301_b.csv": "fe96a3ffda30fcd83a40abde6f463160287f678b600c89ec6d8845f89d2ae5c1", + "local301_c.csv": "2fad0ac554543c8b4adde67d898593b4c102b70777c9c992eaec45067bf8eee3", + "local301_a.csv": "cfd0aa58b5f02bfcd83872d5dac729d9962725bfb558cb70d431fbd1d360dd77", + "local018_a.csv": "be83eb216699f3aaf4769f1dbaa2b483718548855da59eb7fb6466ff15f2d902", + "local298_a.csv": "f295cf8ade91d7120c18bc811a1b3839135437b36a9c71efb59e8979896a8bb9", + "local028_a.csv": "4b08cd97c949a352f8450696db24d140ea0cb5b7c94636dc46d495db8dcc8c01", + "local028_b.csv": "742d31b1c4ca1c891bd22bec5701b18eda75cea427aeaa8ed3f66a5c32743180", + "local196_a.csv": "b3114812d1bd2ee0f83f593cc1ba00228c52add975720b1b9a7a4a596d5e9d5a", + "local230_a.csv": "fa93c03d618f3be4b3046f38c93489b6c5511ced7796b4cc23ae9531d2538234", + "local300_a.csv": "8881876917149ed5fa7a655ddec6de301e4b9eb88691c8d3717159cec1f10a66", + "local300_b.csv": "b6e12cd56de4bbd1fad3bc8003dab7f8378600c310ed0ff8dfeb9e3c5520d4f2", + "local300_c.csv": "dbf8c9c285c1e3ec012a20e21256117a7662aa34882bd84536ef9dcfcc3e3901", + "local300_d.csv": "1c4f4fe5c79c2207a15f215759f31915dad213988b02e13bb405170ad6122bf8", + "local198_a.csv": "1e552fd1326323711ba031bae7fd1a9c2bc4b6b45404916a7066532bc29fd86a", + "local299_b.csv": "1c3b8a170deb6ea5016ee61ce649c3ce32ad08ae2724485fbf4999c55501a45f", + "local299_a.csv": "27a88bb2600981bbbe3052d03218f2b385a267c36a5497f3169afae7d99b78f0", + "local032_g.csv": "c0abe3fc89883986bf833673e7c1c120c4ee3fa3270716be84a69aa6e14b8ec5", + "local032_f.csv": "4b490e2e387a9157ab92ec22b68499867016f8e8d4d4a68a938434c60699996f", + "local032_d.csv": "01443bc088adfa7cc0918a81db1138b49902aa8b4871777043e3c39af64e4f05", + "local032_e.csv": "7f44365729a449f5640d90abb9eb3822d84a667bf556ed69607f0153fb4627a3", + "local032_a.csv": "8930472f79242c09ace8a7093a53e1d86638294a4e448bc29e903046c9b3ecd9", + "local032_b.csv": "4880656d98d611ad49603d442a7c69669b4dc97fcfa56781ba2a00685a4e2ca0", + "local032_c.csv": "375d25de984ea7d9738126f8c58594850213ae32f41ccb211885361086fa8b5c", + "local032_l.csv": "ef4356f6a6245f33195b88728ed42eb541f378640570e3eb1def8eb9e45abfb0", + "local032_h.csv": "10f3f8a7c4f1c6e0aed6b7f1a263ea51982572bf6d325b5173666f027387b00b", + "local032_i.csv": "7b8ff88f98980484f9cac707765238478cd3ec989907d413e66c877f3426124e", + "local032_k.csv": "1e56f65fda398bdd603ab7f0966e8c1487b455f1b501f3d1b4f57294fbc96224", + "local032_j.csv": "992f644d9d30324ec54f5f5cef120405891922ceeabd12e68bb9c7d171392a5c", + "local068_a.csv": "1299f2e8ee0af71305e879036489e9f898f093d55fd7634f0a19d67a98773f16", + "local068_c.csv": "c4535adaf3fe73d83e3c54f469ae5851cdeab601f0abbd49a33c3d7f62770735", + "local068_b.csv": "ab3e5b470012a477e90877a36682721dfff3b9b2a9d436f516b64bfdef579d0e", + "local264_b.csv": "35426254849f620276bbaa67df521a55a81fd1e10ebfbedff1c2ffa218edfe5d", + "local264_c.csv": "86288a60be71d946e2403cd44c608ada7bb163ce11f102cc4402c67ba0ae8ef9", + "local264_a.csv": "8de3723af25cb543685497a4631c081bd8cf7e9ead498e6a1eee52273cf0498c", + "local034_a.csv": "1090ffc6a0c35bf35d9295d47914234c997e7309397238747977b6dad213855d", + "local034_b.csv": "5e5b95c5964a0760c48d12c6e64a42e89a6671042665fa0fa2afdd98df142f07", + "local197_a.csv": "f8908a3f904dfcc900a7967db60b3fc1eb3c16d573374f4cb8e6f68ebacf464e", + "local197_b.csv": "dfa9d044fdf582d19e0cd7ee6229c3583044a763608e2ca8573ed300d89b2f35", + "local197_c.csv": "bd4f275d821d4f09ca0d6042e4c7780991213abdb8e302bd0d412f8654226827", + "local024_b.csv": "1022178fcdafb1c112bd8770b884ca39f554f50586ac0002e420bf6430d3d24d", + "local024_a.csv": "8699022579239fad51d09ef039352855312af9f0a6a8d3737c39b60158d0e053", + "local228_a.csv": "6d2ee53c1196edb090a3618695c3f922b0a2a526e37bbb0855b8646d9a5b09fc", + "local228_b.csv": "570907525713d4124189f7b82aba2108f1bdc64e931b33f13d817342f8c17480", + "local060_a.csv": "e02a8024be874c7b95464b19712840659e4209165ed7e472b57351c0cc1ba0e1", + "local060_b.csv": "cbb428dd80f1532502baa09ad60aa65381ed21ea6056e26082bdcd6cb962af93", + "local358_b.csv": "eff96b54297c2251143325360d15086046e9c154e50752a4203f9f1ff18d5f10", + "local358_a.csv": "6a7e8c424c6a52662c0abf5d6873d827f5688f9355e46889075f51d9c70bd439", + "local283_a.csv": "6e3d87df7b2a5a1147f62fe65de3b1292f5af15f1de5584593de863534442f68", + "local035_b.csv": "6ae7a8e32f25813841a79ca35376928d094f10ce1a532e2a1f23e4d9ef1b7fd9", + "local035_c.csv": "2381226b424af0f88ab4c493dd201ee5f059d86ea5c9605ecd0f2035c97976d9", + "local035_a.csv": "710eb0aea469add745f72f1f4b5b568cb0c84c4507a61a3930b70d54d7e7f47a", + "local071_a.csv": "ebeaefb552dd18841ab1d63602ffbba67a1b679722fb7bf86f4aad05d115ea29", + "local071_b.csv": "e73ef52d22cfc7eb7dc76c959cf4d6f11079a1d186fb1f3346bbdb2ec61efaa8", + "local039_a.csv": "ab6af5a1dc6c24ddae09852a5538b7552f5c153eab566e861fe8276c6dcef087", + "local039_b.csv": "cd3cbdb9528d7a50197836db8f6abb45ab59241d6bf8035915fba312c52fc892", + "local167_a.csv": "f87897a23204ee6f79b2821fdf50611d055ab847a2670fcb8c548b098c187aaa", + "local167_b.csv": "7e385bbdfcf240dc6b6264aadd220a2404603a1944ef850f5a4a221cef501dc3", + "local133_a.csv": "000b2e5e4f3ce526d4a442dc28d1f792576eed5943ec7416dd5fd43265769b11", + "local133_b.csv": "24371a161c1a35386116dde49c31ceec123ed2d3abc8aaa411d6ad98d31b53c1", + "local297_b.csv": "5ec5763867426b0b6cf21c0d707e69bbd2f11ef80e14eb0f4cce29d4479669c8", + "local297_a.csv": "4a37f869a34af47d766efaac9b2909c7d736bd35f6c18e41ed207ce5b3f0c260", + "local309_b.csv": "e4ee052a9a5b625b3f9f3d0f9fde804b6f2b204324b794ff3960be8c55074f93", + "local309_c.csv": "a1fa582e425c2bdfc3fdac62123c22a77a0b8e9f292d30bfc1c3f6cbf36d0584", + "local309_a.csv": "99e9032b151143ad152f2b086c21e3d5ad2b641adbcee2c349fbe7f2eaca5c93", + "local098_d.csv": "9386a5c0c81fb3753bcecec2cf7c86d67977094c09b0a0666e2a3ffd95bb0d23", + "local098_e.csv": "7668d333202c9f22c657d65b80346c092798f889c8ffa7c8859ad20a0eb441cd", + "local098_a.csv": "2b9adab647439652f27faf4c53ccfdb4aab9e280636e904c2bdece4d72c9b8f4", + "local098_b.csv": "f7f59e32e9843b3af1b7c1304203b2d50c1d5092226c3f713c69b87a23bc3086", + "local098_c.csv": "7992ce39a5d37324ffcca04c64828b8b3fbe4fd13ba56d09ad2e1f6d6686cdc5", + "local329_a.csv": "d51cb49e4f858fc1f62361fbf199c1f0145b2d5a192812f919f9f74598ad2c27", + "local040_d.csv": "4f8346cdaa161013159d36bb29ab6bcfa9c1496066ce99adf101da50b7e55eaa", + "local040_c.csv": "6c25ec05e7e36d47887dd9ec91a24987d99ea677b6fa1ed6659152c193d255c8", + "local040_b.csv": "894fd4c4aa2af4d479540508bd503e9c34ac574755c6a09b0b1b92edf11b5a59", + "local040_a.csv": "86040f986565e2f0827ade68d894ae227b0e20b4a0a5f879da8857fcff9d100c", + "local056_a.csv": "fb8f6dad94f2ccad8ff035a504758ae7f67a514071005e9d330940d09cd242e3", + "local056_b.csv": "669482fb368f7458dae1f1b084e10e145f513fdfb0ab5c648d006204a4b7b844", + "local218_a.csv": "59aaf31f0bdc6f4d891251e969ae5dcb0733b2f027bea6a6e02b8922b57e7a57", + "local074_d.csv": "575905edd9d23b7a0dfa7d4d4d6c71c1e53b8df47ca5d997e34b30821ea5d476", + "local074_a.csv": "1d249b4de50434c538dbbc566ec00c0b3d33f6f50b76f9d2d947fcd2447b8e5b", + "local074_c.csv": "4c048efea3992cccd47cb21a735fa82f4c55db5c8da38d40862c303dbb100dc0", + "local074_b.csv": "c0d530dead3d8128affa3642184e4402e11136c7e31cbca044cb58b4f3b5ddad", + "local072_a.csv": "ecc11366f1a4997612ef7479d4e9caafb76e7be0dfcfcab22031ad044da9306d", + "local072_c.csv": "89eaf8f0fd5d63f525f91be9e73172b413e38adf162414c10f23236601fca705", + "local072_b.csv": "c81babd9f76614a1be3de6c6f3ed4c8fef6372d5bb2dd1b7051d2a321ba2aa11", + "local072_d.csv": "5460e077fca890a7547af80ef5728caee0b1396a3c68aa35c1319707a7e7f260", + "local156_d.csv": "4907987cdbe5dc4deb8727acc62596d7becee9c4633db2e75620db08b8869a0a", + "local156_b.csv": "b544baaa749fbe2eac0ade87a28a07174f5c13a8d2b354500d82e63403723e9f", + "local156_c.csv": "c273fac8e8bf03dbce9fff237e60810a175baae2a9342050cfd3b1afc745b288", + "local156_a.csv": "359af22e361eb8386bb7c16d03f7d3a148db3addbbda677f3ccc6a93099040fe", + "local258_a.csv": "b943740b741d12a81ac9a1235478186c827f5068d8ba9042f2072ad479f2100f", + "local258_b.csv": "3b9f1f8a944934e57ec29c46c7e1b0de2c4d8fc6961c6275f1c76a4aa818ba50", + "local258_c.csv": "d6399f1bd4dbb5e4edd4ed0935825c3092f5cea42b0ba93bf140c5cfc97700bc", + "local258_d.csv": "28f311ccbdd218b3c521f66c49f51d6c53e2a31a6a448eaf24ecc58b36d3e991", + "local258_e.csv": "28a62aa7e0edf3af50776d3bbb88194078189716ea370567d883a79d34996322", + "local199_a.csv": "d5d43158a754df4985bc9101e86b2b48adfad69dbfe3a266fd7f8b804fbc26e9", + "local199_b.csv": "96914152da9b1d4229b1cb32cfc6ec24ee49187fe3036783a7a34512b44bb40c", + "local194_a.csv": "737c5c8fb48a3a09fd2c20589001498bb12e623c24789749a711f8f884d1b1bc", + "local194_c.csv": "d4ad490bd6915a0d099d1077e122048a32ee33378eb5bfd876e4e683fc0c612b", + "local194_b.csv": "a5f4718844ca84d9125365e1e6aee952d4c2e8eaf1ea99bb9c086cc29d5d3184", + "local273_a.csv": "35d1a1d986b6a2acbe0e6f29a6d9e2979cb21018e5ddf13c4367e881e4058d34", + "local078_a.csv": "22e33a0e482aa13b1e3d59b4363c04dc1d39eeb3d0b18fdb7fd7ea1077dd1b95", + "local330_a.csv": "156777b4eeec05777e4760c0a8cf5a90e7e9f5db5df87b6db215f36f6ca722b5", + "local330_c.csv": "9ebe76a500091818cf5ba1540ea8c7f7b01b95f01d6edc4dcfb7739130677571", + "local330_b.csv": "02dcc9b52e11b4a342941f97c775481b080e740222d797547408decb5ee9ae1f", + "local007_a.csv": "609e283f72faa732d8c9bb3041aa570361e8fc1e2949dad6d2624eee4fe1f582", + "local007_b.csv": "187376265d7f3ec19f2361f9aa4a29ebdfef55b93ce382d22da635cb84b2a5ac", + "local007_c.csv": "d30d2306cd25071c6435fc31baf736057c1339f2aa2927ba43eaf85894553a3e", + "local029_b.csv": "0645e08079eeed5278713e295ec54f92db2c4a5c080c2ca19fc0d300c85b8bdd", + "local029_a.csv": "13592cb212196327ddbf1e24612d8f5c9be767476537cac76098c8e6382a3d5a", + "local229_b.csv": "b63f34609d6f0d135301ac413518af035f8ef8d8b4af603ce956b573ecc8a8ca", + "local229_a.csv": "13b57a2a9cf1c3b16954439cff955c0483c902fd05e2cf8a8f6d707618b74edb", + "local085_a.csv": "53a8a772d4f1a25a2e35e0865d80126c51742dbef3183827cc27a9d6215b0401", + "local049_a.csv": "37a03e5c7d30c522122d3a7f27337a8dfc434dcff120081752b4c9d93b67589e", + "local049_b.csv": "cfa61613d11a7d440f235ed1d6eb889a2d1400f35814705c8c6cab12ee690fb8", + "local275_a.csv": "e0ee8bb50685e05fa0f47ed04203ae953fdfd055f5bd2892ea186504254f8c3a", + "local262_a.csv": "0b6ba8593e65101190910b92c997f428d2b21983812c653bd93523f744275518", + "local284_a.csv": "8061781ca5afac30250858521ec1bf3535936424d2ca8ac9214e2b1b003d3d8b", + "local284_b.csv": "d74c6fe8cba88dc43de32cab40d95d197cae6592df11284ebcb593caffe37aae", + "local010.csv": "109bc4ccdeaaccb405d52e5db6fbe1831b5cede629b5aafce07b1f5a4be8c623", + "local335_a.csv": "f5e97947e8060cf4719a2cd9d31f3b40b83d2e96608965de754360b6b415331d", + "local055_a.csv": "ba0ff1a7ced89ad53f8b9da3460f52d36dbb9bdad78c20fc495da0205dc3bfa8", + "local055_b.csv": "2f55f6f8f51a38d3b618ac0db7aa1a603bf42a524626ca48cc64a328aaf18555", + "local344_b.csv": "83604ca169c01568d0db1169d8ee1a54b495a9ed732929c857c7f87f738fc5ad", + "local344_a.csv": "ef99aaf28f3521bc0eb3feb7d5d57175fa83e43a3387391b0242e03154375ad9", + "local311_a.csv": "d7e3e901649bf918fddc98d854d91966fa309ee4b6cbd6b4b6db51a8643e422d", + "local311_b.csv": "8fbc16c5a9509bac26070ecd35b5fb0dfb0b40b153bbbb96d8381d5762c5f4b8", + "local114_a.csv": "c4eba509d8d4e214612b9aae8609c827bb9793033fd59476bb3bf9dd544292e6", + "local114_b.csv": "cdf83c7802e33dc16972004c48b85278cf9ce0982a6d8598128e7a26c3620f26", + "local114_c.csv": "ccca70934b3f6835751ed0fc72152b256b4a001fae72b7123ca9ec133dce5933", + "local114_d.csv": "fe4c1be98c7516d2acb92725459fea2db06b1ce92df4ecbef82e86aaaa2dadab", + "local114_e.csv": "4f2c92129c6e8a85e9887d70f62135ebda47aa7cf25314cfeb5a3b08973243ea", + "local025_a.csv": "6cf18f2a7388ff0181a5c6135af733c613df8bb6faa5fd7ab7d8d7a91e908ddd", + "local025_c.csv": "fc3c1b56cb3fca413c96075be8f2bc4b33e70b00db2da5b55ba1a3a512af930e", + "local025_b.csv": "42c381ef3631f35fd3c14c9d06007dfd793104348b0f0147fd24239f41ccb1d5", + "local025_e.csv": "b5af2f507944864ce133364b125d558ca728fb102edd9a3171fab324baef49af", + "local025_d.csv": "210c10f155318bb8420c16a3e4ff140514c6008de7100f228a239fc6de8c525b" + }, + "gold_config_sha256": "5113ddaea6107492c08a898241a9f69ec99b03bc60d014e9f0b12ec59fa28970", + "cases": [ + { + "instance_id": "local020", + "db": "IPL", + "question": "Which bowler has the lowest bowling average per wicket taken?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local064", + "db": "bank_sales_trading", + "question": "For each customer and each month of 2020, first calculate the month-end balance by adding all deposit amounts and subtracting all withdrawal amounts that occurred during that specific month. Then determine which month in 2020 has the highest count of customers with a positive month-end balance and which month has the lowest count. For each of these two months, compute the average month-end balance across all customers and provide the difference between these two averages", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local169", + "db": "city_legislation", + "question": "What is the annual retention rate of legislators who began their first term between January 1, 1917 and December 31, 1999, measured as the proportion of this cohort still in office on December 31st for each of the first 20 years following their initial term start? The results should show all 20 periods in sequence regardless of whether any legislators were retained in a particular year.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local073", + "db": "modern_data", + "question": "For each pizza order, provide a single result row with the row ID, order ID, customer ID, pizza name, and final set of ingredients. The final ingredients are determined by starting with the standard toppings from the pizza’s recipe, removing any excluded toppings, and adding any extra toppings. Present the ingredients in a string starting with the pizza name followed by ': ', with ingredients listed in alphabetical order. Ingredients appearing multiple times (e.g., from standard and extra toppings) should be prefixed with '2x' and listed first, followed by single-occurrence ingredients, both in alphabetical order. Group by row ID, order ID, pizza name, and order time to ensure each order appears once. Sort results by row ID in ascending order. Assign pizza_id 1 to 'Meatlovers' pizzas and pizza_id 2 to all others.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local302", + "db": "bank_sales_trading", + "question": "Analyze the average percentage change in sales between the 12 weeks before and after June 15, 2020, for each attribute type: region, platform, age band, demographic, and customer type. For each attribute type, calculate the average percentage change in sales across all its attribute values. Identify the attribute type with the highest negative impact on sales and provide its average percentage change in sales.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local212", + "db": "delivery_center", + "question": "Can you find 5 delivery drivers with the highest average number of daily deliveries?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local075", + "db": "bank_sales_trading", + "question": "Can you provide a breakdown of how many times each product was viewed, how many times they were added to the shopping cart, and how many times they were left in the cart without being purchased? Also, give me the count of actual purchases for each product. Ensure that products with a page id in (1, 2, 12, 13) are filtered out.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local038", + "db": "Pagila", + "question": "Could you help me determine which actor starred most frequently in English-language children's category films that were rated either G or PG, had a running time of 120 minutes or less, and were released between 2000 and 2010? Please provide the actor's full name.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local003", + "db": "E_commerce", + "question": "According to the RFM definition document, calculate the average sales per order for each customer within distinct RFM segments, considering only 'delivered' orders. Use the customer unique identifier. Clearly define how to calculate Recency based on the latest purchase timestamp and specify the criteria for classifying RFM segments. The average sales should be computed as the total spend divided by the total number of orders. Please analyze and report the differences in average sales across the RFM segments", + "external_knowledge": "RFM.md", + "document_sha256": "ca6cb781023248ec3d065bd17142c864175741e9dc598c38af613ca2e9ad3556" + }, + { + "instance_id": "local286", + "db": "electronic_sales", + "question": "Prepare a comprehensive performance report on our sellers, focusing on total sales, average item price, average review scores, and packing times. Ensure that the report includes only those sellers who have sold a quantity of more than 100 products and highlight the product category names in English with the highest sales volume.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local004", + "db": "E_commerce", + "question": "Could you tell me the number of orders, average payment per order and customer lifespan in weeks of the 3 custumers with the highest average payment per order, where the lifespan is calculated by subtracting the earliest purchase date from the latest purchase date in days, dividing by seven, and if the result is less than seven days, setting it to 1.0?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local277", + "db": "oracle_sql", + "question": "What is the average forecasted annual sales for products 4160 and 7790 during 2018, using monthly sales data starting from January 2016 for the first 36 months, applying seasonality adjustments from time steps 7 through 30, and employing a weighted regression method to estimate sales?", + "external_knowledge": "calculation_method.md", + "document_sha256": "dfe12121ce38a8a38c62c3480dc0fadeafcbe134d5bf6f3f6eda216e1b1677de" + }, + { + "instance_id": "local009", + "db": "Airlines", + "question": "What is the distance of the longest route where Abakan is either the departure or destination city (in kilometers)?", + "external_knowledge": "haversine_formula.md", + "document_sha256": "5205954f1ca74ed724d121772e2bf4bc86c2cfc163f6e3fdd6afeec79c33ffec" + }, + { + "instance_id": "local168", + "db": "city_legislation", + "question": "Among job postings that specifically have the Data Analyst, require a non-null annual average salary, and are remote, what is the overall average salary when considering only the top three most frequently demanded skills for these positions?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local058", + "db": "education_business", + "question": "Can you provide a list of hardware product segments along with their unique product counts for 2020 in the output, ordered by the highest percentage increase in unique fact sales products from 2020 to 2021?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local017", + "db": "California_Traffic_Collision", + "question": "In which year were the two most common causes of traffic accidents different from those in other years?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local008", + "db": "Baseball", + "question": "I would like to know the given names of baseball players who have achieved the highest value of games played, runs, hits, and home runs, with their corresponding score values.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local244", + "db": "music", + "question": "Calculate the duration of each track, classify them as short, medium, or long, output the minimum and maximum time for each kind (in minutes) and the total revenue for each category, group by the category.", + "external_knowledge": "music_length_type.md", + "document_sha256": "d630b183c311d6ac0e80de29263009c546f74e6027286348409c6d0a64ac357b" + }, + { + "instance_id": "local063", + "db": "complex_oracle", + "question": "Among all products sold in the United States with promo_id=999, considering only those cities whose sales increased by at least 20% from Q4 2019 (calendar_quarter_id=1772) to Q4 2020 (calendar_quarter_id=1776), which product that ranks in the top 20% of total sales has the smallest percentage-point change in its share of total sales between these two quarters?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local259", + "db": "IPL", + "question": "For each player, list their ID, name, their most frequent role across all matches, batting hand, bowling skill, total runs scored, total matches played, total times they were dismissed, batting average (total runs divided by total dismissals), highest score in a single match, the number of matches in which they scored at least 30 runs, at least 50 runs, and at least 100 runs, total balls faced in their career, strike rate (total runs divided by total balls faced, multiplied by 100), total wickets taken, economy rate (average runs conceded per over), and their best bowling performance in a single match (most wickets taken in a match, formatted as \"wickets taken-runs given\", where the best performance is the one with the most wickets, and if tied, the fewest runs conceded). Ignore the extra runs data.", + "external_knowledge": "baseball_game_special_words_definition.md", + "document_sha256": "9c82e2acfee3bb4b9683957cdd46ef61ce11ee07a7f3cf1f6409a9960f908643" + }, + { + "instance_id": "local019", + "db": "WWE", + "question": "For the NXT title that had the shortest match (excluding titles with \"title change\"), what were the names of the two wrestlers involved?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local021", + "db": "IPL", + "question": "Could you calculate the average of the total runs scored by all strikers who have scored more than 50 runs in any single match?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local002", + "db": "E_commerce", + "question": "Can you calculate the 5-day symmetric moving average of predicted toy sales for December 5 to 8, 2018, using daily sales data from January 1, 2017, to August 29, 2018, with a simple linear regression model? Finally provide the sum of those four 5-day moving averages?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local220", + "db": "EU_soccer", + "question": "Which player has participated in the highest number of winning matches and which player has participated in the highest number of losing matches, considering only matches where they actually played (excluding null entries) and where their team won or lost (excluding draws)?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local336", + "db": "f1", + "question": "In the first five laps of the race, how many overtakes occurred in each category—retirements, pit stops, start-related overtakes, and standard on-track passes?", + "external_knowledge": "f1_overtake.md", + "document_sha256": "b83e7b52e1672e0b6d34bcfad8122034abac926b75d34c880c210ab1bfc8a046" + }, + { + "instance_id": "local077", + "db": "bank_sales_trading", + "question": "Please analyze our interest data from September 2018 to August 2019. For each month, calculate the average composition for each interest by dividing the composition by the index value. Identify the interest with the highest average composition value each month and report its average composition as the max index composition for that month. Compute the three-month rolling average of these monthly max index compositions. Ensure the output includes the date, the interest name, the max index composition for that month, the rolling average, and the names and max index compositions of the top interests from one month ago and two months ago.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local100", + "db": "Db-IMDB", + "question": "Find out how many actors have a 'Shahrukh number' of 2? This means they acted in a film with someone who acted with Shahrukh Khan, but not directly with him.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local210", + "db": "delivery_center", + "question": "Can you identify the hubs that saw more than a 20% increase in finished orders from February to March?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local163", + "db": "education_business", + "question": "Which university faculty members' salaries are closest to the average salary for their respective ranks? Please provide the ranks, first names, last names, and salaries.university", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local269", + "db": "oracle_sql", + "question": "What is the average total quantity across all final packaging combinations, considering only the leaf-level items within each combination after fully expanding any nested packaging relationships?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local285", + "db": "bank_sales_trading", + "question": "For veg whsle data, can you analyze our financial performance over the years 2020 to 2023? I need insights into the average wholesale price, maximum wholesale price, minimum wholesale price, wholesale price difference, total wholesale price, total selling price, average loss rate, total loss, and profit for each category within each year. Round all calculated values to two decimal places.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local219", + "db": "EU_soccer", + "question": "In each league, considering all seasons, which single team has the fewest total match wins based on comparing home and away goals, including teams with zero wins, ensuring that if multiple teams tie for the fewest wins, only one team is returned for each league?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local360", + "db": "log", + "question": "For each user session in the activity log table, identify the number of events that occurred before the first '/detail' click or '/complete' conversion, counting only events that have a non-empty search type. Find the sessions with the minimum count of such pre-click/pre-conversion events. If multiple sessions share this minimum count, include all of them in the results. Return each qualifying session along with the corresponding path and search type.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local331", + "db": "log", + "question": "Which three distinct third-page visits are most frequently observed immediately after two consecutive visits to the '/detail' page, and how many times does each third-page visit occur?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local193", + "db": "sqlite-sakila", + "question": "Could you find out the average percentage of the total lifetime sales (LTV) that occur in the first 7 and 30 days after a customer's initial purchase? Also, include the average total lifetime sales (LTV). Please exclude customers with zero lifetime sales. The 7- and 30-day periods should be based on the exact number of hours-minutes-seconds, not calendar days.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local132", + "db": "EntertainmentAgency", + "question": "Show all pairs of entertainers and customers who each have up to three style strengths or preferences, where the first and second style preferences of the customers match the first and second style strengths of the entertainers (or in reverse order). Only return the entertainer’s stage name and the customer’s last name", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local310", + "db": "f1", + "question": "Using only the data from the ‘results’ table, find the three years in which the sum of the highest total points earned by any driver and the highest total points earned by any constructor in that year (both calculated by summing up points from the ‘results’ table) is smallest, and list those three years in order of ascending total.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local041", + "db": "modern_data", + "question": "What percentage of trees in the Bronx have a health status of Good?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local099", + "db": "Db-IMDB", + "question": "I need you to look into the actor collaborations and tell me how many actors have made more films with Yash Chopra than with any other director. This will help us understand his influence on the industry better.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local130", + "db": "school_scheduling", + "question": "Could you provide a list of last names for all students who have completed English courses (where completion is defined as having a ClassStatus of 2), along with their quintile ranks based on their individual grades in those courses? The quintile should be determined by calculating how many students have grades greater than or equal to each student's grade, then dividing this ranking by the total number of students who completed English courses. The quintiles should be labeled as \"First\" (top 20%), \"Second\" (top 21-40%), \"Third\" (top 41-60%), \"Fourth\" (top 61-80%), and \"Fifth\" (bottom 20%). Please sort the results from highest performing quintile to lowest (First to Fifth).", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local066", + "db": "modern_data", + "question": "Based on our customer pizza order information, summarize the total quantity of each ingredient used in the pizzas we delivered. Output the name and quantity for each ingredient.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local030", + "db": "Brazilian_E_Commerce", + "question": "Among all cities with delivered orders, find the five cities whose summed payments are the lowest, then calculate the average of their total payments and the average of their total delivered order counts.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local209", + "db": "delivery_center", + "question": "In the dataset of orders joined with store information, which store has the highest total number of orders, and among that store’s orders, what is the ratio of orders that appear in the deliveries table with a 'DELIVERED' status to the total orders for that store?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local067", + "db": "complex_oracle", + "question": "Can you provide the highest and lowest profits for Italian customers segmented into ten evenly divided tiers based on their December 2021 sales profits?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local050", + "db": "complex_oracle", + "question": "What is the median of the average monthly projected sales in USD for France in 2021, calculated by using the monthly sales data from 2019 and 2020 (filtered by promo_total_id=1 and channel_total_id=1), applying the growth rate from 2019 to 2020 to project 2021, converting to USD based on the currency table, and then determining the monthly averages before finding their median?", + "external_knowledge": "projection_calculation.md", + "document_sha256": "5d4291081fdf5cafeb30c6d8bbad32c85ebdc807c717e95cb30b6b240622b5aa" + }, + { + "instance_id": "local022", + "db": "IPL", + "question": "Retrieve the names of players who scored no less than 100 runs in a match while playing for the team that lost that match.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local171", + "db": "city_legislation", + "question": "For male legislators from Louisiana, how many distinct legislators were actively serving on December 31 of each year from more than 30 years since their first term up to less than 50 years, grouping the results by the exact number of years elapsed since their first term?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local131", + "db": "EntertainmentAgency", + "question": "Could you list each musical style with the number of times it appears as a 1st, 2nd, or 3rd preference in a single row per style?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local152", + "db": "imdb_movies", + "question": "Can you provide the top 9 directors by movie count, including their ID, name, number of movies, average inter-movie duration (rounded to the nearest integer), average rating (rounded to 2 decimals), total votes, minimum and maximum ratings, and total movie duration? Sort the output first by movie count in descending order and then by total movie duration in descending order.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local356", + "db": "f1", + "question": "Provide the full names of drivers who have been overtaken on track more times than they have overtaken others on track during race laps, excluding position changes due to pit stops (both at pit entry and exit), retirements, or position changes that occurred during the first lap of a race (considered as start movements).", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local097", + "db": "Db-IMDB", + "question": "Could you analyze our data and identify which ten-year period starting from any movie release year present in the data had the largest number of films, considering consecutive ten-year periods beginning at each unique year? Only output the start year and the total count for that specific period.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local062", + "db": "complex_oracle", + "question": "Please group all Italian customers into ten buckets for December 2021 by summing their profits from all products purchased (where profit is calculated as quantity_sold multiplied by the difference between unit_price and unit_cost), then divide the overall range of total monthly profits into ten equal intervals. For each bucket, provide the number of customers, and identify the minimum and maximum total profits within that bucket.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local031", + "db": "Brazilian_E_Commerce", + "question": "What is the highest monthly delivered orders volume in the year with the lowest annual delivered orders volume among 2016, 2017, and 2018?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local128", + "db": "BowlingLeague", + "question": "List the bowlers (including their ID, first name, and last name), match number, game number, handicap score, tournament date, and location for only those bowlers who have won games with a handicap score of 190 or less at all three venues: Thunderbird Lanes, Totem Lanes, and Bolero Lanes. Only include the specific game records where they won with a handicap score of 190 or less at these three locations.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local081", + "db": "northwind", + "question": "Considering only the customers who placed orders in 1998, calculate the total amount each customer spent by summing the unit price multiplied by the quantity of all products in their orders, excluding any discounts. Assign each customer to a spending group based on the customer group thresholds, and determine how many customers are in each spending group and what percentage of the total number of customers who placed orders in 1998 each group represents.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local061", + "db": "complex_oracle", + "question": "What is the average projected monthly sales in USD for France in 2021, considering only product sales with promotions where promo_total_id = 1 and channels where channel_total_id = 1, by taking each product’s monthly sales from 2019 and 2020, calculating the growth rate from 2019 to 2020 for that same product and month, applying this growth rate to project 2021 monthly sales, converting all projected 2021 amounts to USD with the 2021 exchange rates, and finally averaging and listing them by month?", + "external_knowledge": "projection_calculation.md", + "document_sha256": "5d4291081fdf5cafeb30c6d8bbad32c85ebdc807c717e95cb30b6b240622b5aa" + }, + { + "instance_id": "local037", + "db": "Brazilian_E_Commerce", + "question": "Identify the top three product categories whose most commonly used payment type has the highest number of payments across all categories, and specify the number of payments made in each category using that payment type.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local157", + "db": "bank_sales_trading", + "question": "Using the \"bitcoin_prices\" table, please calculate the daily percentage change in trading volume for each ticker from August 1 to August 10, 2021, ensuring that any volume ending in \"K\" or \"M\" is accurately converted to thousands or millions, any \"-\" volume is treated as zero, only non-zero volumes are used to determine the previous day's volume, and the results are ordered by ticker and date.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local253", + "db": "education_business", + "question": "Using a Salary Dataset where the salary values need to be cleaned by removing non-numeric characters and converting them to a numeric type, write a detailed SQL query that identifies the top 5 companies by average salary in each of Mumbai, Pune, New Delhi, and Hyderabad, then compares each company’s average salary in those cities to the overall national average salary. The final result should display four columns: Location, Company Name, Average Salary in State, and Average Salary in Country, listing only the top 5 companies in each of the specified locations.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local054", + "db": "chinook", + "question": "Could you tell me the first names of customers who spent less than $1 on albums by the best-selling artist, along with the amounts they spent?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local274", + "db": "oracle_sql", + "question": "Which products were picked for order 421, and what is the average number of units picked for each product, using FIFO (First-In, First-Out) method?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local263", + "db": "stacking", + "question": "Identify the L1_model associated with each model (specified by name and version) that occurs most frequently for each status ('strong' or 'soft'), along with the number of times it occurs. A model has a 'strong' status if, for any of its steps, the maximum test score among non-'Stack' models is less than the 'Stack' model's test score. It has a 'soft' status if the maximum test score among non-'Stack' models equals the 'Stack' model's test score. Count how many times each L1_model is associated with a 'strong' or 'soft' status across all models, and determine which L1_model has the highest occurrence for each status.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local202", + "db": "city_legislation", + "question": "For alien data, how many of the top 10 states by alien population have a higher percentage of friendly aliens than hostile aliens, with an average alien age exceeding 200?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local015", + "db": "California_Traffic_Collision", + "question": "Please calculate the fatality rate for motorcycle collisions, separated by helmet usage. Specifically, calculate two percentages: 1) the percentage of motorcyclist fatalities in collisions where parties (drivers or passengers) were wearing helmets, and 2) the percentage of motorcyclist fatalities in collisions where parties were not wearing helmets. For each group, compute this by dividing the total number of motorcyclist fatalities by the total number of collisions involving that group. Use the parties table to determine helmet usage (from party_safety_equipment fields).", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local195", + "db": "sqlite-sakila", + "question": "Please find out how widespread the appeal of our top five actors is. What percentage of our customers have rented films featuring these actors?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local201", + "db": "modern_data", + "question": "Identify the first 10 words, sorted alphabetically, that are 4 to 5 characters long, start with 'r', and have at least one anagram of the same length, considering case-sensitive letters. Provide the count of such anagrams for each word.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local270", + "db": "oracle_sql", + "question": "Which top-level packaging containers, meaning those not contained within any other packaging, have any item for which the total quantity accumulated across all nested levels in the hierarchy exceeds 500, and what are the names of both these containers and the corresponding items?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local354", + "db": "f1", + "question": "Among Formula 1 drivers who raced during the 1950s, which drivers completed a season in that decade with the same constructor in both the first and the last race they participated in, while also taking part in at least two distinct race rounds during that season?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local355", + "db": "f1", + "question": "Calculate the overall average first round and average last round of races missed by Formula 1 drivers across all years. Include only drivers who missed fewer than three races in a given year and who switched teams between their appearances immediately before and after their hiatus (i.e., the constructor ID for the race right before their first missed race must be different from the constructor ID for the race right after their last missed race in that year). Do not group results by year; return just the overall averages across the entire dataset.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local272", + "db": "oracle_sql", + "question": "For order 423, identify the product IDs, aisles, and positions from which to pick the exact quantities needed for each order line, ensuring that the total picked quantity for each product matches the cumulative quantities ordered without exceeding the available inventory in warehouse 1. Calculate the quantities to be picked from each location by prioritizing inventory with earlier purchased dates and smaller quantities, and ensure that picking respects the sequence and cumulative quantities of the order lines for products with multiple entries.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local170", + "db": "city_legislation", + "question": "Identify the state abbreviations where, for both male and female legislators, the retention rate remains greater than zero at specific intervals of 0, 2, 4, 6, 8, and 10 years after their first term start date. A legislator is considered retained if they are serving on December 31 of the respective year. Only include states where both gender cohorts maintain non-zero retention rates at all six of these time points during the first decade of service.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local059", + "db": "education_business", + "question": "For the calendar year 2021, what is the overall average quantity sold of the top three best-selling hardware products (by total quantity sold) in each division?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local096", + "db": "Db-IMDB", + "question": "For each year, calculate the percentage of films that had exclusively female actors (meaning no male actors and no actors with unknown/unspecified gender). Consider actors with gender marked as 'Male' or 'None' as non-female. For the results, display the year, the total number of movies in that year, and the percentage of movies with exclusively female actors. Extract the year from the Movie.year field by taking the last 4 characters and converting to a number.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local026", + "db": "IPL", + "question": "Please help me identify the top 3 bowlers who, in the overs where the maximum runs were conceded in each match, gave up the highest number of runs in a single over across all matches. For each of these bowlers, provide the match in which they conceded these maximum runs. Only consider overs that had the most runs conceded within their respective matches, and among these, determine which bowlers conceded the most runs in a single over overall.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local065", + "db": "modern_data", + "question": "Calculate the total income from Meat Lovers pizzas priced at $12 and Vegetarian pizzas at $10. Include any extra toppings charged at $1 each. Ensure that canceled orders are filtered out. How much money has Pizza Runner earned in total?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local279", + "db": "oracle_sql", + "question": "Using a recursive monthly inventory adjustment model starting from December 2018 inventory levels, where we restock a product if its ending inventory drops below the minimum required level, determine for each product the month in 2019 where the absolute difference between its ending inventory and the minimum required level is the smallest, and return the product_id, that month, and the absolute difference.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local141", + "db": "AdventureWorks", + "question": "How did each salesperson's annual total sales compare to their annual sales quota? Provide the difference between their total sales and the quota for each year, organized by salesperson and year.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local070", + "db": "city_legislation", + "question": "Please examine our database records for Chinese cities (country_code_2 = 'cn') during July 2021 and identify both the shortest and longest streaks of consecutive date entries. For each date in these streaks, return exactly one record per date along with the corresponding city name. In your output, please ensure the first letter of each city name is capitalized and the rest are lowercase. Display the dates and city names for both the shortest and longest consecutive date streaks, ordered by date.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local023", + "db": "IPL", + "question": "Please help me find the names of top 5 players with the highest average runs per match in season 5, along with their batting averages.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local221", + "db": "EU_soccer", + "question": "Tell me top10 teams with the most wins across the league", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local301", + "db": "bank_sales_trading", + "question": "For weekly-sales data, I need an analysis of our sales performance around mid-June for the years 2018, 2019, and 2020. Specifically, calculate the percentage change in sales between the four weeks leading up to June 15 and the four weeks following June 15 for each year.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local018", + "db": "California_Traffic_Collision", + "question": "For the primary collision factor violation category that was the most common cause of traffic accidents in 2021, how many percentage points did its share of annual road incidents in 2021 decrease compared to its share in 2011?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local298", + "db": "bank_sales_trading", + "question": "For each month, calculate the total balance from all users for the previous month (measured as of the 1st of each month), replacing any negative balances with zero. Ensure that data from the first month is used only as a baseline for calculating previous total balance, and exclude it from the final output. Sort the results in ascending order by month. ", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local028", + "db": "Brazilian_E_Commerce", + "question": "Could you generate a report that shows the number of delivered orders for each month in the years 2016, 2017, and 2018? Each column represents a year, and each row represents a month", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local196", + "db": "sqlite-sakila", + "question": "For each rating category of the first movie rented by customers—where the first movie is identified based on the earliest payment date per customer—please provide the average total amount spent per customer and the average number of subsequent rentals (calculated as the total number of rentals minus one) for customers whose first rented movie falls into that rating category.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local230", + "db": "imdb_movies", + "question": "Determine the top three genres with the most movies rated above 8, and then identify the top four directors who have directed the most films rated above 8 within those genres. List these directors and their respective movie counts.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local300", + "db": "bank_sales_trading", + "question": "For each customer, calculate their daily balances for every day between their earliest and latest transaction dates, including days without transactions by carrying forward the previous day's balance. Treat any negative daily balances as zero. Then, for each month, determine the highest daily balance each customer had during that month. Finally, for each month, sum these maximum daily balances across all customers to obtain a monthly total.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local198", + "db": "chinook", + "question": "Using the sales data, what is the median value of total sales made in countries where the number of customers is greater than 4?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local299", + "db": "bank_sales_trading", + "question": "For a bank database with customer transactions, calculate each customer's daily running balance (where deposits add to the balance and other transaction types subtract). For each customer and each day, compute the 30-day rolling average balance (only after having 30 days of data, and treating negative averages as zero). Then group these daily averages by month and find each customer's maximum 30-day average balance within each month. Sum these maximum values across all customers for each month. Consider the first month of each customer's transaction history as the baseline period and exclude it from the final results, presenting monthly totals of these summed maximum 30-day average balances.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local032", + "db": "Brazilian_E_Commerce", + "question": "Could you help me find the sellers who excel in the following categories, considering only delivered orders: the seller with the highest number of distinct customer unique IDs, the seller with the highest profit (calculated as price minus freight value), the seller with the highest number of distinct orders, and the seller with the most 5-star ratings? For each category, please provide the seller ID and the corresponding value, labeling each row with a description of the achievement.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local068", + "db": "city_legislation", + "question": "Calculate the number of new cities inserted in April, May, and June for each year from 2021 to 2023. For each month, compute the cumulative running total of cities added for that specific month across the years up to and including the given year (i.e., sum the counts of that month over the years). Additionally, calculate the year-over-year growth percentages for both the monthly total and the running total for each month, comparing each year to the previous year. Present the results only for 2022 and 2023, listing the year, the month, the total number of cities added in that month, the cumulative running total for that month, and the year-over-year growth percentages for both the monthly total and the running total. Use the data from 2021 solely as a baseline for calculating growth rates, and exclude it from the final output.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local264", + "db": "stacking", + "question": "Which model category (L1_model) appears the most frequently across all steps and versions when comparing traditional models to the Stack model, and what is the total count of its occurrences?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local034", + "db": "Brazilian_E_Commerce", + "question": "Could you help me calculate the average of the total number of payments made using the most preferred payment method for each product category, where the most preferred payment method in a category is the one with the highest number of payments?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local197", + "db": "sqlite-sakila", + "question": "Among our top 10 paying customers, can you identify the largest change in payment amounts from one month to the immediately following month? Specifically, please determine for which customer and during which month this maximum month-over-month difference occurred, and provide the difference rounded to two decimal places.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local024", + "db": "IPL", + "question": "Can you help me find the top 5 countries whose players have the highest average of their individual average runs per match across all seasons? Specifically, for each player, calculate their average runs per match over all matches they played, then compute the average of these player averages for each country, and include these country batting averages in the result.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local228", + "db": "IPL", + "question": "For each IPL season, identify the top three batsmen with the highest total runs scored and the top three bowlers with the most wickets taken, excluding ‘run out’, ‘hit wicket’, and ‘retired hurt’ dismissals. In the event of ties in runs or wickets, break the tie using the smaller player ID. Then output these six players in matched positions—batsman 1 with bowler 1, batsman 2 with bowler 2, and batsman 3 with bowler 3—in ascending order of the season ID, along with each player’s total runs or wickets.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local060", + "db": "complex_oracle", + "question": "In the United States, for Q4 2019 and Q4 2020, first select only those cities where total sales (with no promotions) rose by at least 20% from Q4 2019 to Q4 2020. Among these cities, rank products by their overall sales (still excluding promotions) in those quarters and take the top 20%. Then compute each top product’s share of total sales in Q4 2019 and Q4 2020 and calculate the difference in share from Q4 2019 to Q4 2020, returning the results in descending order of that share change.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local358", + "db": "log", + "question": "How many users are there in each age category (20s, 30s, 40s, 50s, and others)?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local283", + "db": "EU_soccer", + "question": "Analyze the soccer match dataset to determine the champion team for each season across all countries and leagues, awarding 3 points for every win, 1 point for every tie, and 0 points for every loss. For each season, return the champion’s team name, the league, the country, and the total points accumulated.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local035", + "db": "Brazilian_E_Commerce", + "question": "In the “olist_geolocation” table, please identify which two consecutive cities, when sorted by geolocation_state, geolocation_city, geolocation_zip_code_prefix, geolocation_lat, and geolocation_lng, have the greatest distance between them based on the difference in distance computed between each city and its immediate predecessor in that ordering.", + "external_knowledge": "spherical_law.md", + "document_sha256": "214e4074f9f55fd1794903cfa256b9b7d7bdba1dba2e4eb6eb6acca4f08a630e" + }, + { + "instance_id": "local071", + "db": "city_legislation", + "question": "Could you review our records in June 2022 and identify which countries have the longest streak of consecutive inserted city dates? Please list the 2-letter length country codes of these countries.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local039", + "db": "Pagila", + "question": "Please help me find the film category with the highest total rental hours in cities where the city's name either starts with \"A\" or contains a hyphen. ", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local167", + "db": "city_legislation", + "question": "Based on the state each female legislator first represented, which state has the highest number of female legislators whose terms included December 31st at any point, and what is that count? Please provide the state's abbreviation.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local133", + "db": "EntertainmentAgency", + "question": "Given a database of musical styles and user preferences, where Musical_Preferences contains user rankings of musical styles (PreferenceSeq=1 for first choice, PreferenceSeq=2 for second choice, PreferenceSeq=3 for third choice): Calculate a weighted score for each musical style by assigning 3 points for each time it was ranked as first choice, 2 points for each second choice, and 1 point for each third choice ranking. Calculate the total weighted score for each musical style that has been ranked by at least one user. Then, compute the absolute difference between each style's total weighted score and the average total weighted score across all such styles.\t", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local297", + "db": "bank_sales_trading", + "question": "For each customer, group all deposits and withdrawals by the first day of each month to obtain a monthly net amount, then calculate each month’s closing balance by cumulatively summing these monthly nets. Next, determine the most recent month’s growth rate by comparing its closing balance to the prior month’s balance, treating deposits as positive and withdrawals as negative, and if the previous month’s balance is zero, the growth rate should be the current month’s balance multiplied by 100. Finally, compute the percentage of customers whose most recent month shows a growth rate of more than 5%.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local309", + "db": "f1", + "question": "For each year, which driver and which constructor scored the most points? I want the full name of each driver.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local098", + "db": "Db-IMDB", + "question": "From the first year each actor appeared in a film to the last, how many actors in the database never had a gap longer than three consecutive years without at least one new movie appearance, meaning there is no four-year span anywhere in their active career without at least a single film credit?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local329", + "db": "log", + "question": "How many unique sessions visited the /regist/input page and then the /regist/confirm page, in that order?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local040", + "db": "modern_data", + "question": "In the combined dataset that unifies the trees data with the income data by ZIP code, filling missing ZIP values where necessary, which three boroughs, restricted to records with median and mean income both greater than zero and a valid borough name, contain the highest number of trees, and what is the average mean income for each of these three boroughs?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local056", + "db": "sqlite-sakila", + "question": "Which customer has the highest average monthly change in payment amounts? Provide the customer's full name.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local218", + "db": "EU_soccer", + "question": "Can you calculate the median from the highest season goals of each team?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local074", + "db": "bank_sales_trading", + "question": "Please generate a summary of the closing balances at the end of each month for each customer transactions, show the monthly changes and monthly cumulative bank account balances. Ensure that even if a customer has no account activity in a given month, the balance for that month is still included in the output.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local072", + "db": "city_legislation", + "question": "Identify the country with data inserted on nine different days in January 2022. Then, find the longest consecutive period with data insertions for this country during January 2022, and calculate the proportion of entries that are from its capital city within this longest consecutive insertion period.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local156", + "db": "bank_sales_trading", + "question": "Analyze the annual average purchase price per Bitcoin by region, computed as the total dollar amount spent divided by the total quantity purchased each year, excluding the first year's data for each region. Then, for each year, rank the regions based on these average purchase prices, and calculate the annual percentage change in cost for each region compared to the previous year.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local258", + "db": "IPL", + "question": "Calculate the total number of wickets taken by each bowler (excluding run-outs and other dismissals not attributed to the bowler), their economy rate (total runs conceded divided by total overs bowled, considering only runs scored off the bat and ignoring any extra runs like wides and no-balls), their strike rate (average number of balls bowled per wicket taken), and their best bowling performance in a single match (the match with the most wickets taken by the bowler, formatted as \"wickets-runs\" where runs are the runs conceded excluding extras).", + "external_knowledge": "baseball_game_special_words_definition.md", + "document_sha256": "9c82e2acfee3bb4b9683957cdd46ef61ce11ee07a7f3cf1f6409a9960f908643" + }, + { + "instance_id": "local199", + "db": "sqlite-sakila", + "question": "Can you identify the year and month with the highest rental orders created by the store's staff for each store? Please list the store ID, the year, the month, and the total rentals for those dates.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local194", + "db": "sqlite-sakila", + "question": "Please provide a list of the top three revenue-generating films for each actor, along with the average revenue per actor in those films, calculated by dividing the total film revenue equally among the actors for each film.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local273", + "db": "oracle_sql", + "question": "Calculate the average pick percentage for each product name, using a first-in-first-out approach that selects from inventory locations based on the earliest purchase date and smallest available quantity, ensuring that the picked quantity reflects only the overlapping range between each order’s required quantity and the inventory’s available quantity, and then grouping and ordering the results by product name?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local078", + "db": "bank_sales_trading", + "question": "Identify the top 10 and bottom 10 interest categories based on their highest composition values across all months. For each category, display the time(MM-YYYY), interest name, and the composition value", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local330", + "db": "log", + "question": "Using the activity log table, compute the total number of unique user sessions where each web page appears as either a landing page (the first page visited in a session based on timestamp) or an exit page (the last page visited in a session based on timestamp), or both. Count each session only once per page even if the page serves as both landing and exit for that session. ", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local007", + "db": "Baseball", + "question": "Could you help me calculate the average single career span value in years for all baseball players? Please precise the result as a float number. First, calculate the difference in years, months, and days between the debut and final game dates. For each player, the career span is computed as the sum of the absolute number of years, plus the absolute number of months divided by 12, plus the absolute number of days divided by 365. Round each part to two decimal places before summing. Finally, average the career spans and round the result to a float number.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local029", + "db": "Brazilian_E_Commerce", + "question": "Please identify the top three customers, based on their customer_unique_id, who have the highest number of delivered orders, and provide the average payment value, city, and state for each of these customers.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local229", + "db": "IPL", + "question": "Find the IDs of players who scored the highest number of partnership runs for each match. The output should include the IDs of two players, each with their individual scores and the total partnership score. For each pair, the player with the higher individual score should be listed as player 1, and the player with the lower score as player 2. In cases where both players have the same score, the player with the higher ID should be player 1, and the player with the lower ID should be player 2. There can be multiple rows for a single match.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local085", + "db": "northwind", + "question": "Among employees who have more than 50 total orders, which three have the highest percentage of late orders, where an order is considered late if the shipped date is on or after its required date? Please list each employee's ID, the number of late orders, and the corresponding late-order percentage.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local049", + "db": "modern_data", + "question": "Can you help me calculate the average number of new unicorn companies per year in the top industry from 2019 to 2021?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local275", + "db": "oracle_sql", + "question": "Based on monthly sales data starting in January 2016 and using a centered moving average to adjust for seasonality, which products had a seasonality-adjusted sales ratio that stayed consistently above 2 for every month in the year 2017?", + "external_knowledge": "calculation_method.md", + "document_sha256": "dfe12121ce38a8a38c62c3480dc0fadeafcbe134d5bf6f3f6eda216e1b1677de" + }, + { + "instance_id": "local262", + "db": "stacking", + "question": "Which problems exceed the total number of times they appear in the solution table when counting all occurrences, across steps 1, 2, and 3, where any non-\"Stack\" model's maximum test score is lower than the \"Stack\" model's test score for the same step and version?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local284", + "db": "bank_sales_trading", + "question": "For veg whsle data, can you generate a summary of our items' loss rates? Include the average loss rate, and also break down the count of items that are below, above, and within one standard deviation from this average.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local010", + "db": "Airlines", + "question": "Distribute all the unique city pairs into the distance ranges 0, 1000, 2000, 3000, 4000, 5000, and 6000+, based on their average distance of all routes between them. Then how many pairs are there in the distance range with the fewest unique city paires?", + "external_knowledge": "haversine_formula.md", + "document_sha256": "5205954f1ca74ed724d121772e2bf4bc86c2cfc163f6e3fdd6afeec79c33ffec" + }, + { + "instance_id": "local335", + "db": "f1", + "question": "In Formula 1 seasons since 2001, considering only drivers who scored points in a season, which five constructors have had the most seasons where their drivers scored the fewest total points among all point-scoring drivers in that season?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local055", + "db": "chinook", + "question": "Identify the artist with the highest overall sales of albums (tie broken by alphabetical order) and the artist with the lowest overall sales of albums (tie broken by alphabetical order), then calculate the amount each customer spent specifically on those two artists’ albums. Next, compute the average spending for the customers who purchased from the top-selling artist and the average spending for the customers who purchased from the lowest-selling artist, and finally return the absolute difference between these two averages.", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local344", + "db": "f1", + "question": "Considering all races where pit stop data is available, and focusing on instances when a driver was not behind another car on the previous lap but is behind on the current lap (accounting for retirements, pit-stop entries, pit-stop exits, and race starts), how many times has each type of overtake occurred in Formula 1?", + "external_knowledge": "f1_overtake.md", + "document_sha256": "b83e7b52e1672e0b6d34bcfad8122034abac926b75d34c880c210ab1bfc8a046" + }, + { + "instance_id": "local311", + "db": "f1", + "question": "Which constructors had the top 3 combined points from their best driver and team, and in which years did they achieve them?", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local114", + "db": "education_business", + "question": "Provide a detailed web sales report for each region, including the number of orders, total sales amount, and the name and sales amount of all sales representatives who achieved the highest total sales amount in that region (include all representatives in case of a tie).", + "external_knowledge": null, + "document_sha256": null + }, + { + "instance_id": "local025", + "db": "IPL", + "question": "For each match, considering every innings, please combine runs from both batsman scored and extra runs for each over, then identify the single over with the highest total runs, retrieve the bowler for that over from the ball by ball table, and calculate the average of these highest over totals across all matches, ensuring that all runs and bowler details are accurately reflected.", + "external_knowledge": null, + "document_sha256": null + } + ] +} diff --git a/bench/spider2/providers.py b/bench/spider2/providers.py new file mode 100644 index 00000000..2e40a4b8 --- /dev/null +++ b/bench/spider2/providers.py @@ -0,0 +1,109 @@ +"""Benchmark-only multi-provider port; reuse Lang2SQL's message/response mapping.""" + +from __future__ import annotations + +import asyncio +import logging +import time +from collections.abc import Sequence + +from lang2sql.adapters.llm.openai_ import ( + _decode_completion, + _encode_message, + _encode_tool, +) +from lang2sql.core.types import Message, ToolSpec + +logger = logging.getLogger(__name__) + + +class MeasuredLLM: + def __init__(self, profile: dict, key: str, timeout: float, max_calls: int): + self.profile, self.key = profile, key + self.timeout, self.max_calls = timeout, max_calls + self.calls: list[dict] = [] + self.provider_messages: dict[str, dict] = {} + + async def complete( + self, messages: Sequence[Message], tools: Sequence[ToolSpec] = () + ): + from litellm import APIConnectionError, RateLimitError, Timeout, acompletion + + if len(self.calls) >= self.max_calls: + raise RuntimeError( + "Total model-call budget exhausted (including auxiliary tools)" + ) + wire = [] + for m in messages: + # Preserve provider-specific tool-call metadata (e.g. Gemini thought signatures) + # without changing core domain types or exposing it to other components. + saved = ( + self.provider_messages.get(m.tool_calls[0].id) if m.tool_calls else None + ) + wire.append(saved if saved is not None else _encode_message(m)) + kwargs = { + "model": self.profile["model"], + "api_key": self.key, + "messages": wire, + "timeout": self.timeout, + "num_retries": 0, + "max_completion_tokens": self.profile.get("max_output_tokens", 8192), + } + if self.profile.get("reasoning_effort"): + kwargs["reasoning_effort"] = self.profile["reasoning_effort"] + if self.profile.get("api_base"): + kwargs["api_base"] = self.profile["api_base"] + if tools: + kwargs["tools"] = [_encode_tool(t) for t in tools] + retries = self.profile.get("transport_retries", 0) + for attempt in range(retries + 1): + if len(self.calls) >= self.max_calls: + raise RuntimeError( + "Total model-call budget exhausted, including transport retries" + ) + entry = { + "seconds": 0.0, + "usage": None, + "status": "started", + "attempt": attempt + 1, + } + self.calls.append(entry) + start = time.monotonic() + try: + response = await acompletion(**kwargs) + raw = response.model_dump() + entry.update( + status="ok", usage=raw.get("usage"), response_model=raw.get("model") + ) + msg = raw["choices"][0]["message"] + for call in msg.get("tool_calls") or []: + self.provider_messages[call["id"]] = { + k: v for k, v in msg.items() if v is not None + } + return _decode_completion(raw) + except Exception as exc: + entry.update(status="error", error_type=type(exc).__name__) + retry = ( + isinstance(exc, (Timeout, APIConnectionError, RateLimitError)) + and attempt < retries + ) + # Provider exception text may contain credentials; record type, never raw text. + if retry: + logger.warning( + "API transport retry profile=%s attempt=%d error=%s", + self.profile["name"], + attempt + 1, + type(exc).__name__, + ) + entry["retry_scheduled"] = True + await asyncio.sleep(self.profile.get("retry_delay_seconds", 1.0)) + else: + logger.error( + "API failed profile=%s error=%s", + self.profile["name"], + type(exc).__name__, + ) + raise + finally: + entry["seconds"] = time.monotonic() - start + raise AssertionError("Unreachable retry loop") diff --git a/pyproject.toml b/pyproject.toml index ea8925dc..48e0616b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,6 +19,7 @@ dependencies = [ ] [project.optional-dependencies] +benchmark = ["litellm>=1.63,<2", "pandas>=2.2,<3", "google-cloud-bigquery>=3,<4", "tqdm>=4.66", "python-dotenv>=1"] tools = ["jsonschema>=4.20,<5"] mcp = ["mcp>=1.26,<2"] # DB driver extras. The SQLAlchemyExplorer is dialect-agnostic; install only the diff --git a/src/lang2sql/harness/system_prompt.py b/src/lang2sql/harness/system_prompt.py index 1e914396..e0e45fe0 100644 --- a/src/lang2sql/harness/system_prompt.py +++ b/src/lang2sql/harness/system_prompt.py @@ -22,6 +22,12 @@ - Prefer definitions from the semantic layer below over your own assumptions. - Answer concisely. Show only the final successful SQL you ran, not intermediate attempts. +Query correctness: +- Before constructing SQL, identify the requested output columns, row grain, population, time boundaries, and aggregation. Return only requested columns, not diagnostic identifiers or intermediate statistics. +- Inspect all relevant tables and join keys. Check relationship direction and join multiplicity; do not replace a declared business identifier with a database's implicit row identifier. +- Do not add unstated filters, exclude zero-valued records, or fill missing values unless the question or supplied definitions require it. Check whether ties and empty groups must be retained. +- Preserve result types: round numeric results numerically; format numbers as text only when explicitly requested. Before returning, check that the executed result matches the requested output contract. + Clarification rule: - If the user's query contains business terms (e.g. '활성고객', '월매출', '신규유저') that are NOT defined in the semantic layer and whose meaning is ambiguous, ask ONE concise clarifying question BEFORE running any SQL. Do not guess. - After answering with SQL results, if you had to infer a term's meaning yourself, suggest the user save it: "이 정의를 저장하려면 `/term_custom`으로 등록해두세요. 다음 질문부터 자동 적용됩니다." diff --git a/tests/test_accuracy_benchmark.py b/tests/test_accuracy_benchmark.py new file mode 100644 index 00000000..7cff565a --- /dev/null +++ b/tests/test_accuracy_benchmark.py @@ -0,0 +1,157 @@ +"""Evaluation integrity: no gold input, no missing-prediction denominator tricks.""" + +import json +import sqlite3 +from argparse import Namespace + +import pytest + +from bench.accuracy.evaluate import ( + digest, + load_bird_comparator, + query_rows, + score, + split_manifest, + validate_inputs, + write_json, +) + + +def test_split_is_fixed_and_disjoint(): + cases = [{"instance_id": f"bird{i:03d}"} for i in range(500)] + a = split_manifest({"cases": cases}, 20) + b = split_manifest({"cases": list(reversed(cases))}, 20) + assert a["development_ids"] == b["development_ids"] + assert not set(a["development_ids"]) & set(a["holdout_ids"]) + assert len(a["holdout_ids"]) == 480 + + +def test_gold_field_rejected_before_inference(tmp_path): + with pytest.raises(ValueError, match="gold"): + validate_inputs( + {"cases": [{"instance_id": "bird001", "SQL": "SELECT 1"}]}, tmp_path + ) + + +def test_queries_read_only_and_bounded(tmp_path): + db = tmp_path / "test.sqlite" + with sqlite3.connect(db) as c: + c.executescript("CREATE TABLE t(x); INSERT INTO t VALUES(1),(2);") + assert query_rows(db, "SELECT x FROM t", 1, 2) == [(1,), (2,)] + with pytest.raises(sqlite3.DatabaseError): + query_rows(db, "DELETE FROM t", 1, 10) + with pytest.raises(ValueError, match="budget"): + query_rows(db, "SELECT x FROM t", 1, 1) + + +def test_official_function_only_and_hash_guard(tmp_path): + source = tmp_path / "official.py" + source.write_text( + "raise RuntimeError('do not run module')\ndef calculate_ex(a,b):\n return int(set(a)==set(b))\n" + ) + comparator = load_bird_comparator(source, digest(source)) + assert comparator([(1,), (1,), (2,)], [(2,), (1,)]) == 1 + assert comparator([(1,)], [(2,)]) == 0 + with pytest.raises(ValueError, match="changed"): + load_bird_comparator(source, "wrong") + + +def test_failed_predictions_stay_in_denominator(tmp_path): + db = tmp_path / "db.sqlite" + with sqlite3.connect(db) as c: + c.execute("CREATE TABLE t(x)") + questions = tmp_path / "gold.jsonl" + questions.write_text( + "\n".join(json.dumps({"question_id": i, "SQL": "SELECT 1"}) for i in range(2)) + ) + evaluator = tmp_path / "official.py" + evaluator.write_text("def calculate_ex(a,b):\n return int(set(a)==set(b))\n") + out = tmp_path / "run" + cases = [ + {"instance_id": f"bird{i:03d}", "db": "db", "question": "one"} for i in range(2) + ] + write_json( + out / "manifest.json", + { + "suite": "bird", + "cases": cases, + "db_sha256": {"db": digest(db)}, + "question_file_sha256": digest(questions), + "evaluator_sha256": digest(evaluator), + }, + ) + write_json(out / "settings.json", {"profiles": [{"name": "model"}]}) + write_json(out / "model/status.json", {"status": "completed"}) + write_json( + out / "model/records/bird000.json", {"status": "predicted", "sql": "SELECT 1"} + ) + write_json(out / "model/records/bird001.json", {"status": "failed"}) + score( + Namespace( + output=out, + db_dir=tmp_path, + questions=questions, + evaluator=evaluator, + sql_timeout=1, + max_rows=10, + ) + ) + result = json.loads((out / "summary.json").read_text())[0] + assert (result["correct"], result["total"], result["accuracy"]) == (1, 2, 0.5) + (out / "model/records/bird001.json").unlink() + with pytest.raises(FileNotFoundError): + score( + Namespace( + output=out, + db_dir=tmp_path, + questions=questions, + evaluator=evaluator, + sql_timeout=1, + max_rows=10, + ) + ) + + +@pytest.mark.asyncio +async def test_transport_retry_is_logged_bounded_and_does_not_retry_answers( + monkeypatch, +): + litellm = pytest.importorskip("litellm") + + from bench.spider2.providers import MeasuredLLM + from lang2sql.core.types import Message, Role + + attempts = [] + + async def api(**kwargs): + attempts.append(kwargs) + if len(attempts) == 1: + raise litellm.Timeout( + message="redacted", model="test", llm_provider="openai" + ) + + class Response: + def model_dump(self): + return { + "model": "test", + "choices": [{"message": {"content": "answer"}}], + "usage": {}, + } + + return Response() + + monkeypatch.setattr(litellm, "acompletion", api) + profile = { + "name": "test", + "model": "openai/test", + "transport_retries": 1, + "retry_delay_seconds": 0, + } + llm = MeasuredLLM(profile, "not-a-key", 1, 2) + answer = await llm.complete([Message(role=Role.USER, content="question")]) + assert answer.content == "answer" + assert [c["status"] for c in llm.calls] == ["error", "ok"] + assert attempts[0]["messages"] == attempts[1]["messages"] + with pytest.raises(RuntimeError, match="budget"): + await llm.complete([]) + assert len(attempts) == 2 diff --git a/uv.lock b/uv.lock index 6bba5c94..93016291 100644 --- a/uv.lock +++ b/uv.lock @@ -5,7 +5,8 @@ resolution-markers = [ "python_full_version >= '3.15'", "python_full_version == '3.14.*'", "python_full_version == '3.13.*'", - "python_full_version >= '3.11' and python_full_version < '3.13'", + "python_full_version == '3.12.*'", + "python_full_version == '3.11.*'", "python_full_version < '3.11'", ] @@ -20,7 +21,7 @@ wheels = [ [[package]] name = "aiohttp" -version = "3.12.15" +version = "3.14.5" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "aiohappyeyeballs" }, @@ -30,78 +31,172 @@ dependencies = [ { name = "frozenlist" }, { name = "multidict" }, { name = "propcache" }, + { name = "typing-extensions", version = "4.15.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, + { name = "typing-extensions", version = "4.16.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11' and python_full_version < '3.13'" }, { name = "yarl" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/9b/e7/d92a237d8802ca88483906c388f7c201bbe96cd80a165ffd0ac2f6a8d59f/aiohttp-3.12.15.tar.gz", hash = "sha256:4fc61385e9c98d72fcdf47e6dd81833f47b2f77c114c29cd64a361be57a763a2", size = 7823716, upload-time = "2025-07-29T05:52:32.215Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/47/dc/ef9394bde9080128ad401ac7ede185267ed637df03b51f05d14d1c99ad67/aiohttp-3.12.15-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:b6fc902bff74d9b1879ad55f5404153e2b33a82e72a95c89cec5eb6cc9e92fbc", size = 703921, upload-time = "2025-07-29T05:49:43.584Z" }, - { url = "https://files.pythonhosted.org/packages/8f/42/63fccfc3a7ed97eb6e1a71722396f409c46b60a0552d8a56d7aad74e0df5/aiohttp-3.12.15-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:098e92835b8119b54c693f2f88a1dec690e20798ca5f5fe5f0520245253ee0af", size = 480288, upload-time = "2025-07-29T05:49:47.851Z" }, - { url = "https://files.pythonhosted.org/packages/9c/a2/7b8a020549f66ea2a68129db6960a762d2393248f1994499f8ba9728bbed/aiohttp-3.12.15-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:40b3fee496a47c3b4a39a731954c06f0bd9bd3e8258c059a4beb76ac23f8e421", size = 468063, upload-time = "2025-07-29T05:49:49.789Z" }, - { url = "https://files.pythonhosted.org/packages/8f/f5/d11e088da9176e2ad8220338ae0000ed5429a15f3c9dfd983f39105399cd/aiohttp-3.12.15-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2ce13fcfb0bb2f259fb42106cdc63fa5515fb85b7e87177267d89a771a660b79", size = 1650122, upload-time = "2025-07-29T05:49:51.874Z" }, - { url = "https://files.pythonhosted.org/packages/b0/6b/b60ce2757e2faed3d70ed45dafee48cee7bfb878785a9423f7e883f0639c/aiohttp-3.12.15-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:3beb14f053222b391bf9cf92ae82e0171067cc9c8f52453a0f1ec7c37df12a77", size = 1624176, upload-time = "2025-07-29T05:49:53.805Z" }, - { url = "https://files.pythonhosted.org/packages/dd/de/8c9fde2072a1b72c4fadecf4f7d4be7a85b1d9a4ab333d8245694057b4c6/aiohttp-3.12.15-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4c39e87afe48aa3e814cac5f535bc6199180a53e38d3f51c5e2530f5aa4ec58c", size = 1696583, upload-time = "2025-07-29T05:49:55.338Z" }, - { url = "https://files.pythonhosted.org/packages/0c/ad/07f863ca3d895a1ad958a54006c6dafb4f9310f8c2fdb5f961b8529029d3/aiohttp-3.12.15-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d5f1b4ce5bc528a6ee38dbf5f39bbf11dd127048726323b72b8e85769319ffc4", size = 1738896, upload-time = "2025-07-29T05:49:57.045Z" }, - { url = "https://files.pythonhosted.org/packages/20/43/2bd482ebe2b126533e8755a49b128ec4e58f1a3af56879a3abdb7b42c54f/aiohttp-3.12.15-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1004e67962efabbaf3f03b11b4c43b834081c9e3f9b32b16a7d97d4708a9abe6", size = 1643561, upload-time = "2025-07-29T05:49:58.762Z" }, - { url = "https://files.pythonhosted.org/packages/23/40/2fa9f514c4cf4cbae8d7911927f81a1901838baf5e09a8b2c299de1acfe5/aiohttp-3.12.15-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8faa08fcc2e411f7ab91d1541d9d597d3a90e9004180edb2072238c085eac8c2", size = 1583685, upload-time = "2025-07-29T05:50:00.375Z" }, - { url = "https://files.pythonhosted.org/packages/b8/c3/94dc7357bc421f4fb978ca72a201a6c604ee90148f1181790c129396ceeb/aiohttp-3.12.15-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:fe086edf38b2222328cdf89af0dde2439ee173b8ad7cb659b4e4c6f385b2be3d", size = 1627533, upload-time = "2025-07-29T05:50:02.306Z" }, - { url = "https://files.pythonhosted.org/packages/bf/3f/1f8911fe1844a07001e26593b5c255a685318943864b27b4e0267e840f95/aiohttp-3.12.15-cp310-cp310-musllinux_1_2_armv7l.whl", hash = "sha256:79b26fe467219add81d5e47b4a4ba0f2394e8b7c7c3198ed36609f9ba161aecb", size = 1638319, upload-time = "2025-07-29T05:50:04.282Z" }, - { url = "https://files.pythonhosted.org/packages/4e/46/27bf57a99168c4e145ffee6b63d0458b9c66e58bb70687c23ad3d2f0bd17/aiohttp-3.12.15-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:b761bac1192ef24e16706d761aefcb581438b34b13a2f069a6d343ec8fb693a5", size = 1613776, upload-time = "2025-07-29T05:50:05.863Z" }, - { url = "https://files.pythonhosted.org/packages/0f/7e/1d2d9061a574584bb4ad3dbdba0da90a27fdc795bc227def3a46186a8bc1/aiohttp-3.12.15-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:e153e8adacfe2af562861b72f8bc47f8a5c08e010ac94eebbe33dc21d677cd5b", size = 1693359, upload-time = "2025-07-29T05:50:07.563Z" }, - { url = "https://files.pythonhosted.org/packages/08/98/bee429b52233c4a391980a5b3b196b060872a13eadd41c3a34be9b1469ed/aiohttp-3.12.15-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:fc49c4de44977aa8601a00edbf157e9a421f227aa7eb477d9e3df48343311065", size = 1716598, upload-time = "2025-07-29T05:50:09.33Z" }, - { url = "https://files.pythonhosted.org/packages/57/39/b0314c1ea774df3392751b686104a3938c63ece2b7ce0ba1ed7c0b4a934f/aiohttp-3.12.15-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:2776c7ec89c54a47029940177e75c8c07c29c66f73464784971d6a81904ce9d1", size = 1644940, upload-time = "2025-07-29T05:50:11.334Z" }, - { url = "https://files.pythonhosted.org/packages/1b/83/3dacb8d3f8f512c8ca43e3fa8a68b20583bd25636ffa4e56ee841ffd79ae/aiohttp-3.12.15-cp310-cp310-win32.whl", hash = "sha256:2c7d81a277fa78b2203ab626ced1487420e8c11a8e373707ab72d189fcdad20a", size = 429239, upload-time = "2025-07-29T05:50:12.803Z" }, - { url = "https://files.pythonhosted.org/packages/eb/f9/470b5daba04d558c9673ca2034f28d067f3202a40e17804425f0c331c89f/aiohttp-3.12.15-cp310-cp310-win_amd64.whl", hash = "sha256:83603f881e11f0f710f8e2327817c82e79431ec976448839f3cd05d7afe8f830", size = 452297, upload-time = "2025-07-29T05:50:14.266Z" }, - { url = "https://files.pythonhosted.org/packages/20/19/9e86722ec8e835959bd97ce8c1efa78cf361fa4531fca372551abcc9cdd6/aiohttp-3.12.15-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:d3ce17ce0220383a0f9ea07175eeaa6aa13ae5a41f30bc61d84df17f0e9b1117", size = 711246, upload-time = "2025-07-29T05:50:15.937Z" }, - { url = "https://files.pythonhosted.org/packages/71/f9/0a31fcb1a7d4629ac9d8f01f1cb9242e2f9943f47f5d03215af91c3c1a26/aiohttp-3.12.15-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:010cc9bbd06db80fe234d9003f67e97a10fe003bfbedb40da7d71c1008eda0fe", size = 483515, upload-time = "2025-07-29T05:50:17.442Z" }, - { url = "https://files.pythonhosted.org/packages/62/6c/94846f576f1d11df0c2e41d3001000527c0fdf63fce7e69b3927a731325d/aiohttp-3.12.15-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:3f9d7c55b41ed687b9d7165b17672340187f87a773c98236c987f08c858145a9", size = 471776, upload-time = "2025-07-29T05:50:19.568Z" }, - { url = "https://files.pythonhosted.org/packages/f8/6c/f766d0aaafcee0447fad0328da780d344489c042e25cd58fde566bf40aed/aiohttp-3.12.15-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bc4fbc61bb3548d3b482f9ac7ddd0f18c67e4225aaa4e8552b9f1ac7e6bda9e5", size = 1741977, upload-time = "2025-07-29T05:50:21.665Z" }, - { url = "https://files.pythonhosted.org/packages/17/e5/fb779a05ba6ff44d7bc1e9d24c644e876bfff5abe5454f7b854cace1b9cc/aiohttp-3.12.15-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:7fbc8a7c410bb3ad5d595bb7118147dfbb6449d862cc1125cf8867cb337e8728", size = 1690645, upload-time = "2025-07-29T05:50:23.333Z" }, - { url = "https://files.pythonhosted.org/packages/37/4e/a22e799c2035f5d6a4ad2cf8e7c1d1bd0923192871dd6e367dafb158b14c/aiohttp-3.12.15-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:74dad41b3458dbb0511e760fb355bb0b6689e0630de8a22b1b62a98777136e16", size = 1789437, upload-time = "2025-07-29T05:50:25.007Z" }, - { url = "https://files.pythonhosted.org/packages/28/e5/55a33b991f6433569babb56018b2fb8fb9146424f8b3a0c8ecca80556762/aiohttp-3.12.15-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3b6f0af863cf17e6222b1735a756d664159e58855da99cfe965134a3ff63b0b0", size = 1828482, upload-time = "2025-07-29T05:50:26.693Z" }, - { url = "https://files.pythonhosted.org/packages/c6/82/1ddf0ea4f2f3afe79dffed5e8a246737cff6cbe781887a6a170299e33204/aiohttp-3.12.15-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b5b7fe4972d48a4da367043b8e023fb70a04d1490aa7d68800e465d1b97e493b", size = 1730944, upload-time = "2025-07-29T05:50:28.382Z" }, - { url = "https://files.pythonhosted.org/packages/1b/96/784c785674117b4cb3877522a177ba1b5e4db9ce0fd519430b5de76eec90/aiohttp-3.12.15-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6443cca89553b7a5485331bc9bedb2342b08d073fa10b8c7d1c60579c4a7b9bd", size = 1668020, upload-time = "2025-07-29T05:50:30.032Z" }, - { url = "https://files.pythonhosted.org/packages/12/8a/8b75f203ea7e5c21c0920d84dd24a5c0e971fe1e9b9ebbf29ae7e8e39790/aiohttp-3.12.15-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:6c5f40ec615e5264f44b4282ee27628cea221fcad52f27405b80abb346d9f3f8", size = 1716292, upload-time = "2025-07-29T05:50:31.983Z" }, - { url = "https://files.pythonhosted.org/packages/47/0b/a1451543475bb6b86a5cfc27861e52b14085ae232896a2654ff1231c0992/aiohttp-3.12.15-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:2abbb216a1d3a2fe86dbd2edce20cdc5e9ad0be6378455b05ec7f77361b3ab50", size = 1711451, upload-time = "2025-07-29T05:50:33.989Z" }, - { url = "https://files.pythonhosted.org/packages/55/fd/793a23a197cc2f0d29188805cfc93aa613407f07e5f9da5cd1366afd9d7c/aiohttp-3.12.15-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:db71ce547012a5420a39c1b744d485cfb823564d01d5d20805977f5ea1345676", size = 1691634, upload-time = "2025-07-29T05:50:35.846Z" }, - { url = "https://files.pythonhosted.org/packages/ca/bf/23a335a6670b5f5dfc6d268328e55a22651b440fca341a64fccf1eada0c6/aiohttp-3.12.15-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:ced339d7c9b5030abad5854aa5413a77565e5b6e6248ff927d3e174baf3badf7", size = 1785238, upload-time = "2025-07-29T05:50:37.597Z" }, - { url = "https://files.pythonhosted.org/packages/57/4f/ed60a591839a9d85d40694aba5cef86dde9ee51ce6cca0bb30d6eb1581e7/aiohttp-3.12.15-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:7c7dd29c7b5bda137464dc9bfc738d7ceea46ff70309859ffde8c022e9b08ba7", size = 1805701, upload-time = "2025-07-29T05:50:39.591Z" }, - { url = "https://files.pythonhosted.org/packages/85/e0/444747a9455c5de188c0f4a0173ee701e2e325d4b2550e9af84abb20cdba/aiohttp-3.12.15-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:421da6fd326460517873274875c6c5a18ff225b40da2616083c5a34a7570b685", size = 1718758, upload-time = "2025-07-29T05:50:41.292Z" }, - { url = "https://files.pythonhosted.org/packages/36/ab/1006278d1ffd13a698e5dd4bfa01e5878f6bddefc296c8b62649753ff249/aiohttp-3.12.15-cp311-cp311-win32.whl", hash = "sha256:4420cf9d179ec8dfe4be10e7d0fe47d6d606485512ea2265b0d8c5113372771b", size = 428868, upload-time = "2025-07-29T05:50:43.063Z" }, - { url = "https://files.pythonhosted.org/packages/10/97/ad2b18700708452400278039272032170246a1bf8ec5d832772372c71f1a/aiohttp-3.12.15-cp311-cp311-win_amd64.whl", hash = "sha256:edd533a07da85baa4b423ee8839e3e91681c7bfa19b04260a469ee94b778bf6d", size = 453273, upload-time = "2025-07-29T05:50:44.613Z" }, - { url = "https://files.pythonhosted.org/packages/63/97/77cb2450d9b35f517d6cf506256bf4f5bda3f93a66b4ad64ba7fc917899c/aiohttp-3.12.15-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:802d3868f5776e28f7bf69d349c26fc0efadb81676d0afa88ed00d98a26340b7", size = 702333, upload-time = "2025-07-29T05:50:46.507Z" }, - { url = "https://files.pythonhosted.org/packages/83/6d/0544e6b08b748682c30b9f65640d006e51f90763b41d7c546693bc22900d/aiohttp-3.12.15-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:f2800614cd560287be05e33a679638e586a2d7401f4ddf99e304d98878c29444", size = 476948, upload-time = "2025-07-29T05:50:48.067Z" }, - { url = "https://files.pythonhosted.org/packages/3a/1d/c8c40e611e5094330284b1aea8a4b02ca0858f8458614fa35754cab42b9c/aiohttp-3.12.15-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:8466151554b593909d30a0a125d638b4e5f3836e5aecde85b66b80ded1cb5b0d", size = 469787, upload-time = "2025-07-29T05:50:49.669Z" }, - { url = "https://files.pythonhosted.org/packages/38/7d/b76438e70319796bfff717f325d97ce2e9310f752a267bfdf5192ac6082b/aiohttp-3.12.15-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2e5a495cb1be69dae4b08f35a6c4579c539e9b5706f606632102c0f855bcba7c", size = 1716590, upload-time = "2025-07-29T05:50:51.368Z" }, - { url = "https://files.pythonhosted.org/packages/79/b1/60370d70cdf8b269ee1444b390cbd72ce514f0d1cd1a715821c784d272c9/aiohttp-3.12.15-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:6404dfc8cdde35c69aaa489bb3542fb86ef215fc70277c892be8af540e5e21c0", size = 1699241, upload-time = "2025-07-29T05:50:53.628Z" }, - { url = "https://files.pythonhosted.org/packages/a3/2b/4968a7b8792437ebc12186db31523f541943e99bda8f30335c482bea6879/aiohttp-3.12.15-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3ead1c00f8521a5c9070fcb88f02967b1d8a0544e6d85c253f6968b785e1a2ab", size = 1754335, upload-time = "2025-07-29T05:50:55.394Z" }, - { url = "https://files.pythonhosted.org/packages/fb/c1/49524ed553f9a0bec1a11fac09e790f49ff669bcd14164f9fab608831c4d/aiohttp-3.12.15-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:6990ef617f14450bc6b34941dba4f12d5613cbf4e33805932f853fbd1cf18bfb", size = 1800491, upload-time = "2025-07-29T05:50:57.202Z" }, - { url = "https://files.pythonhosted.org/packages/de/5e/3bf5acea47a96a28c121b167f5ef659cf71208b19e52a88cdfa5c37f1fcc/aiohttp-3.12.15-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fd736ed420f4db2b8148b52b46b88ed038d0354255f9a73196b7bbce3ea97545", size = 1719929, upload-time = "2025-07-29T05:50:59.192Z" }, - { url = "https://files.pythonhosted.org/packages/39/94/8ae30b806835bcd1cba799ba35347dee6961a11bd507db634516210e91d8/aiohttp-3.12.15-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3c5092ce14361a73086b90c6efb3948ffa5be2f5b6fbcf52e8d8c8b8848bb97c", size = 1635733, upload-time = "2025-07-29T05:51:01.394Z" }, - { url = "https://files.pythonhosted.org/packages/7a/46/06cdef71dd03acd9da7f51ab3a9107318aee12ad38d273f654e4f981583a/aiohttp-3.12.15-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:aaa2234bb60c4dbf82893e934d8ee8dea30446f0647e024074237a56a08c01bd", size = 1696790, upload-time = "2025-07-29T05:51:03.657Z" }, - { url = "https://files.pythonhosted.org/packages/02/90/6b4cfaaf92ed98d0ec4d173e78b99b4b1a7551250be8937d9d67ecb356b4/aiohttp-3.12.15-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:6d86a2fbdd14192e2f234a92d3b494dd4457e683ba07e5905a0b3ee25389ac9f", size = 1718245, upload-time = "2025-07-29T05:51:05.911Z" }, - { url = "https://files.pythonhosted.org/packages/2e/e6/2593751670fa06f080a846f37f112cbe6f873ba510d070136a6ed46117c6/aiohttp-3.12.15-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:a041e7e2612041a6ddf1c6a33b883be6a421247c7afd47e885969ee4cc58bd8d", size = 1658899, upload-time = "2025-07-29T05:51:07.753Z" }, - { url = "https://files.pythonhosted.org/packages/8f/28/c15bacbdb8b8eb5bf39b10680d129ea7410b859e379b03190f02fa104ffd/aiohttp-3.12.15-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:5015082477abeafad7203757ae44299a610e89ee82a1503e3d4184e6bafdd519", size = 1738459, upload-time = "2025-07-29T05:51:09.56Z" }, - { url = "https://files.pythonhosted.org/packages/00/de/c269cbc4faa01fb10f143b1670633a8ddd5b2e1ffd0548f7aa49cb5c70e2/aiohttp-3.12.15-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:56822ff5ddfd1b745534e658faba944012346184fbfe732e0d6134b744516eea", size = 1766434, upload-time = "2025-07-29T05:51:11.423Z" }, - { url = "https://files.pythonhosted.org/packages/52/b0/4ff3abd81aa7d929b27d2e1403722a65fc87b763e3a97b3a2a494bfc63bc/aiohttp-3.12.15-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:b2acbbfff69019d9014508c4ba0401822e8bae5a5fdc3b6814285b71231b60f3", size = 1726045, upload-time = "2025-07-29T05:51:13.689Z" }, - { url = "https://files.pythonhosted.org/packages/71/16/949225a6a2dd6efcbd855fbd90cf476052e648fb011aa538e3b15b89a57a/aiohttp-3.12.15-cp312-cp312-win32.whl", hash = "sha256:d849b0901b50f2185874b9a232f38e26b9b3d4810095a7572eacea939132d4e1", size = 423591, upload-time = "2025-07-29T05:51:15.452Z" }, - { url = "https://files.pythonhosted.org/packages/2b/d8/fa65d2a349fe938b76d309db1a56a75c4fb8cc7b17a398b698488a939903/aiohttp-3.12.15-cp312-cp312-win_amd64.whl", hash = "sha256:b390ef5f62bb508a9d67cb3bba9b8356e23b3996da7062f1a57ce1a79d2b3d34", size = 450266, upload-time = "2025-07-29T05:51:17.239Z" }, - { url = "https://files.pythonhosted.org/packages/f2/33/918091abcf102e39d15aba2476ad9e7bd35ddb190dcdd43a854000d3da0d/aiohttp-3.12.15-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:9f922ffd05034d439dde1c77a20461cf4a1b0831e6caa26151fe7aa8aaebc315", size = 696741, upload-time = "2025-07-29T05:51:19.021Z" }, - { url = "https://files.pythonhosted.org/packages/b5/2a/7495a81e39a998e400f3ecdd44a62107254803d1681d9189be5c2e4530cd/aiohttp-3.12.15-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:2ee8a8ac39ce45f3e55663891d4b1d15598c157b4d494a4613e704c8b43112cd", size = 474407, upload-time = "2025-07-29T05:51:21.165Z" }, - { url = "https://files.pythonhosted.org/packages/49/fc/a9576ab4be2dcbd0f73ee8675d16c707cfc12d5ee80ccf4015ba543480c9/aiohttp-3.12.15-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:3eae49032c29d356b94eee45a3f39fdf4b0814b397638c2f718e96cfadf4c4e4", size = 466703, upload-time = "2025-07-29T05:51:22.948Z" }, - { url = "https://files.pythonhosted.org/packages/09/2f/d4bcc8448cf536b2b54eed48f19682031ad182faa3a3fee54ebe5b156387/aiohttp-3.12.15-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b97752ff12cc12f46a9b20327104448042fce5c33a624f88c18f66f9368091c7", size = 1705532, upload-time = "2025-07-29T05:51:25.211Z" }, - { url = "https://files.pythonhosted.org/packages/f1/f3/59406396083f8b489261e3c011aa8aee9df360a96ac8fa5c2e7e1b8f0466/aiohttp-3.12.15-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:894261472691d6fe76ebb7fcf2e5870a2ac284c7406ddc95823c8598a1390f0d", size = 1686794, upload-time = "2025-07-29T05:51:27.145Z" }, - { url = "https://files.pythonhosted.org/packages/dc/71/164d194993a8d114ee5656c3b7ae9c12ceee7040d076bf7b32fb98a8c5c6/aiohttp-3.12.15-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5fa5d9eb82ce98959fc1031c28198b431b4d9396894f385cb63f1e2f3f20ca6b", size = 1738865, upload-time = "2025-07-29T05:51:29.366Z" }, - { url = "https://files.pythonhosted.org/packages/1c/00/d198461b699188a93ead39cb458554d9f0f69879b95078dce416d3209b54/aiohttp-3.12.15-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f0fa751efb11a541f57db59c1dd821bec09031e01452b2b6217319b3a1f34f3d", size = 1788238, upload-time = "2025-07-29T05:51:31.285Z" }, - { url = "https://files.pythonhosted.org/packages/85/b8/9e7175e1fa0ac8e56baa83bf3c214823ce250d0028955dfb23f43d5e61fd/aiohttp-3.12.15-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5346b93e62ab51ee2a9d68e8f73c7cf96ffb73568a23e683f931e52450e4148d", size = 1710566, upload-time = "2025-07-29T05:51:33.219Z" }, - { url = "https://files.pythonhosted.org/packages/59/e4/16a8eac9df39b48ae102ec030fa9f726d3570732e46ba0c592aeeb507b93/aiohttp-3.12.15-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:049ec0360f939cd164ecbfd2873eaa432613d5e77d6b04535e3d1fbae5a9e645", size = 1624270, upload-time = "2025-07-29T05:51:35.195Z" }, - { url = "https://files.pythonhosted.org/packages/1f/f8/cd84dee7b6ace0740908fd0af170f9fab50c2a41ccbc3806aabcb1050141/aiohttp-3.12.15-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:b52dcf013b57464b6d1e51b627adfd69a8053e84b7103a7cd49c030f9ca44461", size = 1677294, upload-time = "2025-07-29T05:51:37.215Z" }, - { url = "https://files.pythonhosted.org/packages/ce/42/d0f1f85e50d401eccd12bf85c46ba84f947a84839c8a1c2c5f6e8ab1eb50/aiohttp-3.12.15-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:9b2af240143dd2765e0fb661fd0361a1b469cab235039ea57663cda087250ea9", size = 1708958, upload-time = "2025-07-29T05:51:39.328Z" }, - { url = "https://files.pythonhosted.org/packages/d5/6b/f6fa6c5790fb602538483aa5a1b86fcbad66244997e5230d88f9412ef24c/aiohttp-3.12.15-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:ac77f709a2cde2cc71257ab2d8c74dd157c67a0558a0d2799d5d571b4c63d44d", size = 1651553, upload-time = "2025-07-29T05:51:41.356Z" }, - { url = "https://files.pythonhosted.org/packages/04/36/a6d36ad545fa12e61d11d1932eef273928b0495e6a576eb2af04297fdd3c/aiohttp-3.12.15-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:47f6b962246f0a774fbd3b6b7be25d59b06fdb2f164cf2513097998fc6a29693", size = 1727688, upload-time = "2025-07-29T05:51:43.452Z" }, - { url = "https://files.pythonhosted.org/packages/aa/c8/f195e5e06608a97a4e52c5d41c7927301bf757a8e8bb5bbf8cef6c314961/aiohttp-3.12.15-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:760fb7db442f284996e39cf9915a94492e1896baac44f06ae551974907922b64", size = 1761157, upload-time = "2025-07-29T05:51:45.643Z" }, - { url = "https://files.pythonhosted.org/packages/05/6a/ea199e61b67f25ba688d3ce93f63b49b0a4e3b3d380f03971b4646412fc6/aiohttp-3.12.15-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:ad702e57dc385cae679c39d318def49aef754455f237499d5b99bea4ef582e51", size = 1710050, upload-time = "2025-07-29T05:51:48.203Z" }, - { url = "https://files.pythonhosted.org/packages/b4/2e/ffeb7f6256b33635c29dbed29a22a723ff2dd7401fff42ea60cf2060abfb/aiohttp-3.12.15-cp313-cp313-win32.whl", hash = "sha256:f813c3e9032331024de2eb2e32a88d86afb69291fbc37a3a3ae81cc9917fb3d0", size = 422647, upload-time = "2025-07-29T05:51:50.718Z" }, - { url = "https://files.pythonhosted.org/packages/1b/8e/78ee35774201f38d5e1ba079c9958f7629b1fd079459aea9467441dbfbf5/aiohttp-3.12.15-cp313-cp313-win_amd64.whl", hash = "sha256:1a649001580bdb37c6fdb1bebbd7e3bc688e8ec2b5c6f52edbb664662b17dc84", size = 449067, upload-time = "2025-07-29T05:51:52.549Z" }, +sdist = { url = "https://files.pythonhosted.org/packages/6c/4c/bdccd81e9ee225b69c60e7766c9a5b05364f118f4d383713b89a682d772d/aiohttp-3.14.5.tar.gz", hash = "sha256:5558a7f5a05af9ecf744af91e5baefc436f93c9333e656c27ec253f9a6bbe178", size = 8078052, upload-time = "2026-10-11T01:05:12.408Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ca/82/f7f0652e3a845e095d8505a2807a0fe5782abb71f99b2f516c93ff0be492/aiohttp-3.14.5-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:ef692a24087a699c0a4a26af45e746e0c1eae2116f6d8a5ff91d8aae2b867b45", size = 834351, upload-time = "2026-10-11T00:59:07.668Z" }, + { url = "https://files.pythonhosted.org/packages/95/c5/10cb0a5195bc3ec05a74ee494f8431a15e559800f2e869f3526ad4a16f04/aiohttp-3.14.5-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:1220353657ad49493551f089ce02f1a348fd57ffd585bfec77f2f3c4fe3a7346", size = 560663, upload-time = "2026-10-11T00:59:09.853Z" }, + { url = "https://files.pythonhosted.org/packages/32/dc/b7fefdd7dd64d080da2d69d609344191cc94b0e2eba70200c371014c9b36/aiohttp-3.14.5-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:330900acd0dc4cb8b27f9c127fbaad770964845338493e7906ae3822e82dbf8d", size = 553263, upload-time = "2026-10-11T00:59:11.5Z" }, + { url = "https://files.pythonhosted.org/packages/61/5f/3271cad1b34347e8bf27abee20d501ebdc56cec97e8ae59cd3fabb23d917/aiohttp-3.14.5-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0684952aeae1f5dbfe02d46039338513b94009baecd15d8e4098a357c4c4a2a6", size = 1843813, upload-time = "2026-10-11T00:59:13.143Z" }, + { url = "https://files.pythonhosted.org/packages/67/af/2011b30fe61889af112ad380e6fd44a93cca4b51296f612cac666c177882/aiohttp-3.14.5-cp310-cp310-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:d94e44be379e569758fee8a9a58431cfc3c2598c708b92b1cfe96c66b4c94aef", size = 1811243, upload-time = "2026-10-11T00:59:15.091Z" }, + { url = "https://files.pythonhosted.org/packages/e3/ba/72f3ac523ed48d38cdfb169f1b2a2e93ce06d9fcf4f46d0f5692e9539bcc/aiohttp-3.14.5-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:5af42135fdfebdadbc2bcd9c0842a48ccf0d62794c36a260b21dc4b94d1e0119", size = 1898815, upload-time = "2026-10-11T00:59:17.224Z" }, + { url = "https://files.pythonhosted.org/packages/e6/69/bbf24f3b555ea1befa7db1e2510c728c8b0e80e61ce360beb7d94bc562b7/aiohttp-3.14.5-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:4f07fe3ac408d8b3f768be471dc3f56d43843c47d97c66120534467a15ead197", size = 2022390, upload-time = "2026-10-11T00:59:19.244Z" }, + { url = "https://files.pythonhosted.org/packages/5d/38/01f5fc732d5373d6c099db0343279cd4e6607287d336bab6ff6ae9085a0d/aiohttp-3.14.5-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f375db73a39f5cf83696d500e21a67f418dc9a988955756f254be8f03b7b3651", size = 1856329, upload-time = "2026-10-11T00:59:21.19Z" }, + { url = "https://files.pythonhosted.org/packages/15/85/1f86fbd8fe34ad447c63e679404a1d5be435fe256a9d281b791fc1ed0d35/aiohttp-3.14.5-cp310-cp310-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:8df7d481654ac96fe1ba9a02a9f67770fdd367823e0d5ef01b922725c4bd2cfa", size = 1712763, upload-time = "2026-10-11T00:59:22.982Z" }, + { url = "https://files.pythonhosted.org/packages/39/1e/ced51cf47e427e7aa6142c3bf6f33022472703bc9061289329532d3c40c0/aiohttp-3.14.5-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:e95c8def4b81c5d68d5cf1f54c07acd7c0d2577af244e5b6da802120825737c6", size = 1812125, upload-time = "2026-10-11T00:59:25.032Z" }, + { url = "https://files.pythonhosted.org/packages/6a/f1/9610b4e263b554ca4191501ba72b952efe06556b647da74887abc5d41049/aiohttp-3.14.5-cp310-cp310-musllinux_1_2_armv7l.whl", hash = "sha256:f2ebb54b3f932210503072f09974b4fb574d823e497a944adfdcd140a6a00255", size = 1829550, upload-time = "2026-10-11T00:59:27.078Z" }, + { url = "https://files.pythonhosted.org/packages/ac/8a/1d1fb27cf9fa99b13133de33044c4d10d7705be0d4173d6d56abad1b67f9/aiohttp-3.14.5-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:038c2c7e8caa26b6c8423779b5eaf1893904048a512c19b32fe841ffa5592b50", size = 1868179, upload-time = "2026-10-11T00:59:29.315Z" }, + { url = "https://files.pythonhosted.org/packages/24/9f/3cfafa86ff025623dcca0d30335db7b8a6f3fa348148441208147e827e04/aiohttp-3.14.5-cp310-cp310-musllinux_1_2_riscv64.whl", hash = "sha256:b7806e804889231b0e06469fd4a5c06313d1c0a3377322b6d9237fa5e0fe4167", size = 1697721, upload-time = "2026-10-11T00:59:31.161Z" }, + { url = "https://files.pythonhosted.org/packages/62/1d/86439a23bf32296e715d8c75535f0cd701821d36719324baef65bcd6af9e/aiohttp-3.14.5-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:9bab2045550c4fe0f7baf89574db1b455c195750702ba96fef1f16972b146617", size = 1887000, upload-time = "2026-10-11T00:59:33.329Z" }, + { url = "https://files.pythonhosted.org/packages/1d/0f/6044f2d02b3874966d84cd119f9b8eda46aa2991230078aea4dd17750cc9/aiohttp-3.14.5-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:96a2e584f0b9ed8f1fa33211397dcf67bb7069866402cb405d191c2f0defb9a3", size = 1842020, upload-time = "2026-10-11T00:59:35.384Z" }, + { url = "https://files.pythonhosted.org/packages/18/64/b49d2a34428ff937631b07dde74d5879a7a2c8559aab39331d40769e8cb6/aiohttp-3.14.5-cp310-cp310-win32.whl", hash = "sha256:602c1e9b718a3275c580149f947e7fac65044c0a20e599553fb12e9700da9eca", size = 489282, upload-time = "2026-10-11T00:59:37.061Z" }, + { url = "https://files.pythonhosted.org/packages/a6/7c/1114e723f1c4a65597820b605a0ddcd7f3b28fdfde3ac8d520d517ca582c/aiohttp-3.14.5-cp310-cp310-win_amd64.whl", hash = "sha256:bea559ad70218d230663e4210875735076a9bfea5994cef34a55a25faeaf2544", size = 512021, upload-time = "2026-10-11T00:59:38.7Z" }, + { url = "https://files.pythonhosted.org/packages/48/97/e08c646f4bad63d77876b24591d013d7f33f02fda7c931eafe3224f38467/aiohttp-3.14.5-cp310-cp310-win_arm64.whl", hash = "sha256:dca3fa8d8a0a26679862eccb0b1a9151b2b9f1cd2c212e7a6335778faaff5833", size = 493016, upload-time = "2026-10-11T00:59:40.525Z" }, + { url = "https://files.pythonhosted.org/packages/d8/f3/8997f18890a92c79f77fcfbb4f78ca17c2d4ab109e9eb6d31b4e9de194a0/aiohttp-3.14.5-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:d51db97c96384fbfcaf8f4c65922183a68b94f891c3c10c862ef5f6df2adbb1f", size = 832358, upload-time = "2026-10-11T00:59:42.195Z" }, + { url = "https://files.pythonhosted.org/packages/8e/42/084651e9efb5cadb99265f786df60f2a7b353cead7bfd2c87003cb4867ad/aiohttp-3.14.5-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:ae53924aa853a7a2ca20ed4142c7c6b56338e4d4cd999e2980075b9efc2e257a", size = 559636, upload-time = "2026-10-11T00:59:43.677Z" }, + { url = "https://files.pythonhosted.org/packages/3d/fe/92838944e601f0fe195fd3f3ada37e29fbee3d19bfd323fe15937ec79d36/aiohttp-3.14.5-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:a2c473a355f9239efcb72c92d5abfd8fcdb0cc78c8e9af607e72ca12dbb36593", size = 552588, upload-time = "2026-10-11T00:59:45.592Z" }, + { url = "https://files.pythonhosted.org/packages/8f/b8/dd9b95c5c20ceae1b47738e656bd79e9883e3117a9cc8b143901eb604e9a/aiohttp-3.14.5-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:32e8fa6644e541fcd7e02430588c7fc93b602c1778ea0bc345505db76b61cfb4", size = 1928224, upload-time = "2026-10-11T00:59:47.294Z" }, + { url = "https://files.pythonhosted.org/packages/c6/47/70010cd2ba8746968d53d433ff328c33f06a66c99da5f3de759c64a6b2eb/aiohttp-3.14.5-cp311-cp311-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:579f97d5120f2971876d2ddca2968135f6944d00c44c3a6590ad7d86ca9b403f", size = 1877674, upload-time = "2026-10-11T00:59:49.472Z" }, + { url = "https://files.pythonhosted.org/packages/c5/a1/b026f071dbd87f0bdba86b92d47e46f3899e3ad7143b6e0fe7e7887090b4/aiohttp-3.14.5-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:24409db442e2fb6e766bc7f3943851a8381dec3098140e43bb2e843b79e31b12", size = 1985850, upload-time = "2026-10-11T00:59:51.296Z" }, + { url = "https://files.pythonhosted.org/packages/36/d1/f7b6f6f8c3cb5a71b53baeddc2e70c224c28b12a23a55c42994c504019b7/aiohttp-3.14.5-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:5e8f97c0488ffda3082766ac0f2c8150a9a58c4d05788330e479cfd449b37939", size = 2105471, upload-time = "2026-10-11T00:59:53.191Z" }, + { url = "https://files.pythonhosted.org/packages/42/74/2a2b22953de15c6c8a80debf26db3047e4e8a5a5db6dd7c2c6c01eec0605/aiohttp-3.14.5-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:50a195903119008fe9cc68710535eb37f556ffffd6a7759afe70a2c145587045", size = 1929915, upload-time = "2026-10-11T00:59:55.609Z" }, + { url = "https://files.pythonhosted.org/packages/33/ad/f80e8d33933d0eacd0217efa3b7fb32c9f48ed480ed0db53cf9948bf474f/aiohttp-3.14.5-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:0133c3c3b54a0bf1e71fa5c1ad95c93f07fd54e24ef1fe182f5122e1573d2bf1", size = 1773832, upload-time = "2026-10-11T00:59:57.611Z" }, + { url = "https://files.pythonhosted.org/packages/04/a4/0273d239f3e3bb69438f209c64c82e1f98dc60d5db264795e41f7dd05dcb/aiohttp-3.14.5-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:c172db893e516e1358e65a95ee20b7ce7173963eefe318b6ab2a2220688b999e", size = 1901001, upload-time = "2026-10-11T01:00:00.605Z" }, + { url = "https://files.pythonhosted.org/packages/16/ed/7dd439d26c654645bc34ca3c9a822fc11c1c51801fed1cefdfe1cc41c1f6/aiohttp-3.14.5-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:f2a7966bda23dd85051f1661ce0ace38d6890e05ec6c357ecae9d2479cba377e", size = 1907218, upload-time = "2026-10-11T01:00:02.699Z" }, + { url = "https://files.pythonhosted.org/packages/32/dd/86249c3b8248562a17fd3e22ee0c164378d65766f01aceef62cf52783710/aiohttp-3.14.5-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:4887d130a7bbfed3a85493bb5a25e5b5b558d40c1d986dd16970d2bb26d63793", size = 1958650, upload-time = "2026-10-11T01:00:04.851Z" }, + { url = "https://files.pythonhosted.org/packages/bc/0b/ca4d53d68f683ce195807fd0aeb063bf6d1c6b39343fff234c9524e8d5a9/aiohttp-3.14.5-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:225c579c23b68b343cccea27a7e06e3bd8ec23a09c30b427eb3f1e4ca6239b20", size = 1760057, upload-time = "2026-10-11T01:00:06.978Z" }, + { url = "https://files.pythonhosted.org/packages/6b/42/005437ffd7fa56c2ce3347add40404b654a32754ce91f2e2a14b9e5ab2bc/aiohttp-3.14.5-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:ab52d8f1fc1b64821c1fbad64a647ed6203627004059a6d1ed4f0858a1499703", size = 1978081, upload-time = "2026-10-11T01:00:08.868Z" }, + { url = "https://files.pythonhosted.org/packages/03/71/3a5b66fe1b7b23d3c6524350817ed55de5feb7fbb4cccba7cbe044d118dd/aiohttp-3.14.5-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:cb131d775a1573c1aee66656bd78b023577bbdb6cb8349a07773bd4f73e68a6e", size = 1922954, upload-time = "2026-10-11T01:00:11.035Z" }, + { url = "https://files.pythonhosted.org/packages/69/84/d08a554f281d42fd7c6b2b6dd7738f3e3a7a9f657ddd87e11ca2091cdfe3/aiohttp-3.14.5-cp311-cp311-win32.whl", hash = "sha256:e87046c8ff77a8decdb6a41d8ab25824b47531b2da933aeab0c1e21c7acff329", size = 488101, upload-time = "2026-10-11T01:00:12.933Z" }, + { url = "https://files.pythonhosted.org/packages/0f/15/52b5e65f02b33686ae49f1518548ae4f5a7adaf31d9d3c54fa12a143137b/aiohttp-3.14.5-cp311-cp311-win_amd64.whl", hash = "sha256:6f275c11d1aa6d4c458e05a68be084efe3c55a113d99e3f46a318098e52948fc", size = 512575, upload-time = "2026-10-11T01:00:14.743Z" }, + { url = "https://files.pythonhosted.org/packages/b0/b9/bb75012635f3defb0f7cbb7c4ae391e36bb9cb3fbdca3b9944e2ebebf743/aiohttp-3.14.5-cp311-cp311-win_arm64.whl", hash = "sha256:b032a0023eb41d768ce77d83210ab2a3c389bc0b09313273c7e1eca48c10a755", size = 493179, upload-time = "2026-10-11T01:00:16.961Z" }, + { url = "https://files.pythonhosted.org/packages/d5/94/6ba86efddcb616c811b40e6a0dfdd862738f647e4e3860a961075d5e9ed8/aiohttp-3.14.5-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:df37b620684e19b5e25724412518ccafc3b1a49cdac706fdbd2f983fad943450", size = 817499, upload-time = "2026-10-11T01:00:18.901Z" }, + { url = "https://files.pythonhosted.org/packages/5e/e1/7bca6d84dabd228aa8eb4b7f9feac2586aaa9be5505d7d65bf287a615c43/aiohttp-3.14.5-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:ef60869969180ec2464f1349aff07138ae35ca2200f0946cb3552e49e8f301a8", size = 549467, upload-time = "2026-10-11T01:00:20.854Z" }, + { url = "https://files.pythonhosted.org/packages/64/91/11b89f45ca486252dd67dd5f3231fec04bf5518da39a95cb3997619f17fb/aiohttp-3.14.5-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:d079c0a0135c36e7beb6f1c88087c8f108dc5891cdd0b5eafa778421bda70ed2", size = 548067, upload-time = "2026-10-11T01:00:22.659Z" }, + { url = "https://files.pythonhosted.org/packages/22/ff/c6615806c14aab34f82b9424ccde8ce6e417315fd57ce1c5b4d4747888e1/aiohttp-3.14.5-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:abfda5cb094a829f7bc25216a32f7db2e85cc65bd59910f8e7b40b3d9b224764", size = 1896245, upload-time = "2026-10-11T01:00:24.638Z" }, + { url = "https://files.pythonhosted.org/packages/39/b2/25a8c971ae6a92c8394d77e42422d7f38989e05cf41a5ceb92d73d67ab7e/aiohttp-3.14.5-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:9cc882cf8619109583c906b4d4a85d6a111a98afa34b7a450d1e08118d016820", size = 1872180, upload-time = "2026-10-11T01:00:26.838Z" }, + { url = "https://files.pythonhosted.org/packages/2f/d5/99f93ea36cc5205e47c1e5a803e087f2ad21b5430b5db2e942cb6e988a37/aiohttp-3.14.5-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:7457580535e019e1247ea35d6a02bf081ad30c26d0cbc210c93f6c3ab67a0835", size = 1937261, upload-time = "2026-10-11T01:00:28.74Z" }, + { url = "https://files.pythonhosted.org/packages/40/a6/9ac9c9e6695040bd73d2584a1b59a9388f6433c76d5294a7bf591e21ffe5/aiohttp-3.14.5-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:c5ed596aedb9c42afd3fe0aae3117725378ac73d2cc5ddc735056fbdb96c5d02", size = 2064994, upload-time = "2026-10-11T01:00:30.623Z" }, + { url = "https://files.pythonhosted.org/packages/da/e4/aa172eb534b7f02f1f8ff1c3213347eaf3cf218db91a727c6863c22f1035/aiohttp-3.14.5-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:20f085697d7e911f1f73c43ed03fafbed1e7121797e2eb5428efa80398060584", size = 1919630, upload-time = "2026-10-11T01:00:32.548Z" }, + { url = "https://files.pythonhosted.org/packages/06/7d/4eedafc5bababa8932636c141e346806966eade12c0b7e5946d43bf8218b/aiohttp-3.14.5-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:74b0a9c8270f9b0a11410e124ff8d4f18bfc1f1837440ec84da5ae7b50927b5d", size = 1710016, upload-time = "2026-10-11T01:00:34.471Z" }, + { url = "https://files.pythonhosted.org/packages/b2/94/eee018537ba19da0ceb2ac79cab83faed4ac49568e08376e2799043f2538/aiohttp-3.14.5-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:19e2ba471507c34f8252402ab50f5ab512398b9ea8c8f1cb26beb3f75793ba30", size = 1858112, upload-time = "2026-10-11T01:00:36.581Z" }, + { url = "https://files.pythonhosted.org/packages/68/76/354653a306547238f3427283905972d796ba7c292ba9977abec9f2b6f260/aiohttp-3.14.5-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:d418ce2af40c6bb685b3f663e9e8de27cb0a22431d8e88a167348d7f01878073", size = 1896371, upload-time = "2026-10-11T01:00:38.478Z" }, + { url = "https://files.pythonhosted.org/packages/f2/ec/63e8c7136b570e356345ad3174e3820fdc973ea10712cb6c649bf875755a/aiohttp-3.14.5-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:70cb4008ac2ed1e0ca9e824deb4b53d3aa0d939109698ebf1e723a84337bd794", size = 1905836, upload-time = "2026-10-11T01:00:40.527Z" }, + { url = "https://files.pythonhosted.org/packages/57/d8/11365bda144b127928cd42533d0eff78a55613c9e28f81941bd6630ea887/aiohttp-3.14.5-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:a23fe35d776bc03cb495938b9594450d047e3bc08c5255315a82323e9cb7d2dd", size = 1696534, upload-time = "2026-10-11T01:00:42.686Z" }, + { url = "https://files.pythonhosted.org/packages/2f/3d/82df0461b18e00b2998f205c03e0d3010222478c43640aceb8e03dcd7e8f/aiohttp-3.14.5-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:3e0eb43bed3c6801a6cee315195377789e90b2a72c2277a475b578535312488d", size = 1933970, upload-time = "2026-10-11T01:00:44.71Z" }, + { url = "https://files.pythonhosted.org/packages/03/ad/6ddfe0aacd931c17b53533336d97e9d11a98b96d6ae815a9da0b19f82ccf/aiohttp-3.14.5-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:3be7dd397d64ca3e1869626fa9318aaebb54b7bf93bc72d7a205448d83e4f748", size = 1899501, upload-time = "2026-10-11T01:00:46.629Z" }, + { url = "https://files.pythonhosted.org/packages/9e/8e/189bdd9ae4793059bb09f6dc880f211a6c6c7859cebcbf33912dbfab7dd7/aiohttp-3.14.5-cp312-cp312-win32.whl", hash = "sha256:eb324e2009fb54db30a071dad7caf6998ee2879c4704007efb244514dad1fec1", size = 480370, upload-time = "2026-10-11T01:00:48.468Z" }, + { url = "https://files.pythonhosted.org/packages/ae/ce/1f08114679d49655b30a6e0a29858375c94b82c1de1a0bd0a20c2fee8b02/aiohttp-3.14.5-cp312-cp312-win_amd64.whl", hash = "sha256:2cc38a4f2b516bef1714e690df87a0e043faf1a7693c82d860091684453d5111", size = 506141, upload-time = "2026-10-11T01:00:50.272Z" }, + { url = "https://files.pythonhosted.org/packages/79/d4/c7b4f60b16a1b7e43249fa9031ae05e7e8c341ba4b7d1866f914dafeaa0e/aiohttp-3.14.5-cp312-cp312-win_arm64.whl", hash = "sha256:a63afd1f757de949028387e65a7127b61ad0f775432dbb0e62816ae619fe69ac", size = 488108, upload-time = "2026-10-11T01:00:52.321Z" }, + { url = "https://files.pythonhosted.org/packages/d3/e1/2841e020ebb7aefae5513586193e011e06313d9a6bdbd296622afbbce204/aiohttp-3.14.5-cp313-cp313-android_24_arm64_v8a.whl", hash = "sha256:9ad7e6aa38c20da1be697874349c4c273c8a03b7887169665081706398d0439a", size = 538932, upload-time = "2026-10-11T01:00:54.3Z" }, + { url = "https://files.pythonhosted.org/packages/f7/a6/7fb8ea8fe96bcc7b7c7a36d10f021d99d01a8dc8a4b3f0ddacecfad9a80e/aiohttp-3.14.5-cp313-cp313-android_24_x86_64.whl", hash = "sha256:f59c7673465908cbe506117176156c127f29f917677afceada34957179221d91", size = 553329, upload-time = "2026-10-11T01:00:56.442Z" }, + { url = "https://files.pythonhosted.org/packages/de/64/d056e3c27647dc25af1a592cf356245382ea7c808171b9dac7677afedfc8/aiohttp-3.14.5-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:1b5416552740edf07234cc9437d0706f2acb67b93c198670b1a68e1b2b587dec", size = 521367, upload-time = "2026-10-11T01:00:58.345Z" }, + { url = "https://files.pythonhosted.org/packages/3e/e4/95226147e11d4db916fd1d495dcf85af8e3816e38333e42718241196e848/aiohttp-3.14.5-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:43351bdb5e4c3cb7d1772368e988534e869a74db7778079a83782c11c69535c7", size = 528322, upload-time = "2026-10-11T01:01:00.211Z" }, + { url = "https://files.pythonhosted.org/packages/17/cd/1d3c9192cafdb51cad62b2d3ded96cff9cc8af51893210aadd448a325389/aiohttp-3.14.5-cp313-cp313-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:c8c4478bef6d57fcfda15dae461ea3c9f06aa7b257c58df3f2300174ccbb185a", size = 539874, upload-time = "2026-10-11T01:01:02.06Z" }, + { url = "https://files.pythonhosted.org/packages/f6/0c/dfa33aecc7d4d1dc75e05248f5eac5a0edf4d09e7b44d93ab62529b0c1db/aiohttp-3.14.5-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:c2c30484dd1417ef98b51021ffa2cc0d7f3c78918adaaaab7e70817335ab3e02", size = 813836, upload-time = "2026-10-11T01:01:04.01Z" }, + { url = "https://files.pythonhosted.org/packages/33/17/4a63738052d20567d55529d6daa1b9480d906fd52930fbcf6d3fbed618f0/aiohttp-3.14.5-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:dab9ac5a67c8d1f070c00fa8fccb7cbd1b8dcc1a8d6b42f37540df9b3d4cc603", size = 548070, upload-time = "2026-10-11T01:01:06.035Z" }, + { url = "https://files.pythonhosted.org/packages/15/e5/b57e58695a757fd4c02497c033fced96a69c631b13866c43d336530c9670/aiohttp-3.14.5-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:e1cc2bfaee8c214f06080a7c7d5772419b8a1108e8e5349236189811823fb02a", size = 545786, upload-time = "2026-10-11T01:01:07.817Z" }, + { url = "https://files.pythonhosted.org/packages/9a/68/8c2c67a3aedf46e00f3c42f04fbc6983de80d4ed5786151e33681ba45883/aiohttp-3.14.5-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:74efb69332b85675b1eabd760a8cfc2e2cf42c60607c66f88014c1bdfb40942d", size = 1886492, upload-time = "2026-10-11T01:01:09.834Z" }, + { url = "https://files.pythonhosted.org/packages/ab/4b/74aab5e8d28c62e8f795b4fe8f38cf5586fd264a9a27bd2141ef6490333d/aiohttp-3.14.5-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:42b5e616946dbaf505e2bff18c9af2cd4ef9e7ef300ee58a6e951a5b7cf147ae", size = 1870057, upload-time = "2026-10-11T01:01:12.045Z" }, + { url = "https://files.pythonhosted.org/packages/a8/f7/eafc3b1988302b1815d9fd4a21071be5c360d616c0a430d02fd92dc97688/aiohttp-3.14.5-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:f9033b43f511f27547c557dcaba0177649e10a3725336ccd2cce0fdc1dc4850d", size = 1925119, upload-time = "2026-10-11T01:01:14.09Z" }, + { url = "https://files.pythonhosted.org/packages/a1/04/78d8f294f74dd570f3898ff20402349fce524176045df98ba727d6846a68/aiohttp-3.14.5-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:15a310d3c71398e3d7bfc93a1a73fbe664315cd9e9016b8efc1cff85eeab7155", size = 2053137, upload-time = "2026-10-11T01:01:16.344Z" }, + { url = "https://files.pythonhosted.org/packages/32/51/395d225ef36f5a50d8e548dcd3141bfdbcd31fb6eed859022c573d2c4d66/aiohttp-3.14.5-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1ffa3a523a36d8628f98c06492ae16a31a23d14c0b4ec721757b477319f656d6", size = 1911038, upload-time = "2026-10-11T01:01:18.653Z" }, + { url = "https://files.pythonhosted.org/packages/ff/a4/2aec1aa06d82e8a244843b5dae31d78061e5e76744270a86dd0ee051c889/aiohttp-3.14.5-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:5fb6a6e919bfb703227bc1ce6579281b84b1a2ba57deb9794dfdbec7dcd1e40c", size = 1702205, upload-time = "2026-10-11T01:01:20.904Z" }, + { url = "https://files.pythonhosted.org/packages/16/27/6051bfde7b6f418f70edd60d655fa426abb3355fa0981764739d87ecf160/aiohttp-3.14.5-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:43e1b7994a8b038125f722bff07492ef501110722c2727c408995d9fb864c421", size = 1848588, upload-time = "2026-10-11T01:01:22.918Z" }, + { url = "https://files.pythonhosted.org/packages/9e/44/55efc06fc26c4e6e1c095f231b4c222bf2d86d64a8eebbc24b2bb5958ea8/aiohttp-3.14.5-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:5f3e96071686755d9cd3600c3880183eb94b012178e92746d68101800f0ed8a3", size = 1887540, upload-time = "2026-10-11T01:01:25.278Z" }, + { url = "https://files.pythonhosted.org/packages/48/dc/1502bfdc2a65760d386ac6a00090b0addaa8a3c9c60b3f8127fad3a9afb2/aiohttp-3.14.5-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:cd88b01f3d37b7a2a34f91d98f14720206f1ea3d540843fab2d649dd5fb91fec", size = 1895030, upload-time = "2026-10-11T01:01:27.316Z" }, + { url = "https://files.pythonhosted.org/packages/93/7e/44174bb6288264418c9eec07a5e35180969c0d5a796c7af544db3cb8a33a/aiohttp-3.14.5-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:f2ed8b64dc0c651c0f5a9c926777719770021251b8f336d97c4b80b660836ce1", size = 1693244, upload-time = "2026-10-11T01:01:29.39Z" }, + { url = "https://files.pythonhosted.org/packages/47/dd/b507d64e50db23888582fff08eda13998b12f9dea70c072edaac19218380/aiohttp-3.14.5-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:a9918e58faf62ba2c7147927d06057aec78f42475aff5048047ec47e7265a600", size = 1926308, upload-time = "2026-10-11T01:01:31.634Z" }, + { url = "https://files.pythonhosted.org/packages/98/4b/5b51b4f63e3f2793151f4aea49c48fe1e00baeb7cec9c7a206de499f8de0/aiohttp-3.14.5-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:42f320d4a5b00b9af0bddcfec5407dc6f2d9816f006b2f79ebbaa31f16895df3", size = 1888406, upload-time = "2026-10-11T01:01:33.715Z" }, + { url = "https://files.pythonhosted.org/packages/ff/13/d5e818a5eaba9f822016727299f41c0e1075799f82a6433ec508a93ab867/aiohttp-3.14.5-cp313-cp313-win32.whl", hash = "sha256:3ae800a20947e2c2e53088047d021e6bf7d51560cc49f6a0737a1f79d2e3a13c", size = 479970, upload-time = "2026-10-11T01:01:35.677Z" }, + { url = "https://files.pythonhosted.org/packages/8d/d0/8eca2c65aa467320990d78fb2005f38ed3588944280c39ff9deb6423fef1/aiohttp-3.14.5-cp313-cp313-win_amd64.whl", hash = "sha256:d05e94cdfe0d15d0206f970722d2554780ce562787b21b218b275447f8751319", size = 505985, upload-time = "2026-10-11T01:01:37.574Z" }, + { url = "https://files.pythonhosted.org/packages/7a/f8/4cdd65305d2fca14b886bea9ed2abb1fe726287872524e56e3d26692b47d/aiohttp-3.14.5-cp313-cp313-win_arm64.whl", hash = "sha256:f001b571ead90ca1770f1e616db255351a1703317f20374c361ef22f12c06d09", size = 487629, upload-time = "2026-10-11T01:01:39.477Z" }, + { url = "https://files.pythonhosted.org/packages/43/be/3184a1d34a8be665569eadb7e9e764b4629e4f3413e241cb2e4d6fecf3b3/aiohttp-3.14.5-cp314-cp314-android_24_arm64_v8a.whl", hash = "sha256:939042d5cda21d41a6f512e7cc8b8e33a2aebff863352251da495fbd91b673b5", size = 540673, upload-time = "2026-10-11T01:01:41.354Z" }, + { url = "https://files.pythonhosted.org/packages/60/2a/d35f3ba4cf157b072e3b674bf9983047ca5ea5173c995d32d877e1191d36/aiohttp-3.14.5-cp314-cp314-android_24_x86_64.whl", hash = "sha256:6da32b5ff3fd78d244e37300463434c7145162bfd2b6e9e915ab164da37f7343", size = 554087, upload-time = "2026-10-11T01:01:43.719Z" }, + { url = "https://files.pythonhosted.org/packages/fc/d2/61a33880ca4eaca95a9c60ca3f6beed15555af1028652dfaac601627787b/aiohttp-3.14.5-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:1b438b73c38111818d0c9d6a5c2bfed8584c8e503a49ef085d70e874ec846738", size = 522613, upload-time = "2026-10-11T01:01:46.154Z" }, + { url = "https://files.pythonhosted.org/packages/31/1d/de579b299d2225dc2c6fd99d579d91f16c02a913fb5af9a3cf2fe9bd88ba/aiohttp-3.14.5-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:755933b107ea7a6a9ac916f635a70595a5b1a32fac10a8ff0b9f2ab88555550c", size = 529682, upload-time = "2026-10-11T01:01:48.477Z" }, + { url = "https://files.pythonhosted.org/packages/f4/4a/ddb923564e15e053b6e060b0036e1694dcadcb13aa476c5a87dcad20e336/aiohttp-3.14.5-cp314-cp314-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:b3cc509327c7b27f6f4727a8830f4004f6df7766e179f2f4b8e54e65c0bec5d3", size = 540120, upload-time = "2026-10-11T01:01:50.474Z" }, + { url = "https://files.pythonhosted.org/packages/3d/36/a640fbecaa53727a5900b892bdbe17b5f3e8cc88903e22864fe41b654def/aiohttp-3.14.5-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:7bd8ac754ebd6733a3e2a0dd1674c4d8ab086196803fd8dcd776f07b4e2607d9", size = 818795, upload-time = "2026-10-11T01:01:52.665Z" }, + { url = "https://files.pythonhosted.org/packages/ef/b6/d52ca608859e271b5fa7944074802dc45f60e52c318a4ddc34edbf73586e/aiohttp-3.14.5-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:e724a7b6091f0b1ac064f9d1b15ff9ec52e6033a86cdae649e5f086e32a3c0db", size = 549667, upload-time = "2026-10-11T01:01:54.65Z" }, + { url = "https://files.pythonhosted.org/packages/ce/b5/05b8ac39a76ff4bca89f42a4c2471560c71f894ff6e4bc16158c951874e3/aiohttp-3.14.5-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:c32e26310cc10e547f53cd13d39a369034f69dcb7d749d5cb0e5f67bc196b6ba", size = 548922, upload-time = "2026-10-11T01:01:56.547Z" }, + { url = "https://files.pythonhosted.org/packages/19/b0/5aa186d56ce2334dabe29b70bd99dc8ae926ee44184c0de64a53d415a4f3/aiohttp-3.14.5-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1eb8167961ec4dfcc8cb9dd50bd0ee72519f7ef496be95203e49e27b01618382", size = 1882422, upload-time = "2026-10-11T01:01:59.258Z" }, + { url = "https://files.pythonhosted.org/packages/db/f7/7d5c91bb9620db300c8ddb05337a9014301acb626223faff3abcb8ea47d7/aiohttp-3.14.5-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:c1d60eafd9c7e8e74abd03a5b00df44e7febfe6d9b89b559c0a6551eef0699d4", size = 1843621, upload-time = "2026-10-11T01:02:01.417Z" }, + { url = "https://files.pythonhosted.org/packages/30/0a/b208953b96d8f24b75f6da704f508e6c5cf3022f52b60c61933df082e89c/aiohttp-3.14.5-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:137351bf20bbed9a65e839f4a4452ac377389bdb2f2857d2acffef38f5e9f2d1", size = 1927915, upload-time = "2026-10-11T01:02:03.697Z" }, + { url = "https://files.pythonhosted.org/packages/f6/79/90ebcccb55e2d1e11a1fed581d83bb966e38fb35fb4b2577fdc980f8707a/aiohttp-3.14.5-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:fba47bc2c3d7303c3d027c6cf4d07626c37b1314ac81f5820c31032e0ca1f677", size = 2036339, upload-time = "2026-10-11T01:02:06.046Z" }, + { url = "https://files.pythonhosted.org/packages/a6/66/55a8904b3a129fafdf94f9cc0a2e4ca09a3c914650be52355db7ad0bbdb6/aiohttp-3.14.5-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:94684b879ac1d71e4238850c99b62dc1b28d9086b156a2555f082010b85a865c", size = 1888041, upload-time = "2026-10-11T01:02:08.384Z" }, + { url = "https://files.pythonhosted.org/packages/0b/b8/96b25da7329a52e42c812b1e8b076386039ec4fc312afa043d173d8147fc/aiohttp-3.14.5-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:56572c42e3ecd636de8d2c3dd54cf5fc939cb5c32eb56297f176a0d366fac622", size = 1703849, upload-time = "2026-10-11T01:02:10.903Z" }, + { url = "https://files.pythonhosted.org/packages/1b/43/fbf976e3ae4c038d6f5c84945ab2150298c2d71201674d4e53d158063e75/aiohttp-3.14.5-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:a95529a92a446db351675f4aab518feaf5e99842f63f5dd17160c2b74f382db3", size = 1849703, upload-time = "2026-10-11T01:02:13.15Z" }, + { url = "https://files.pythonhosted.org/packages/8b/7d/218e912f4c1d89bde7ac551409be57ad2f6121638e56942d395a7cb1fa58/aiohttp-3.14.5-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:3edbece0379b8b4aaa67619b8aa2399bb66fce372cd5911098a434ea77220aa0", size = 1852695, upload-time = "2026-10-11T01:02:15.295Z" }, + { url = "https://files.pythonhosted.org/packages/5a/42/252a1b9287e3b6e393a1c3bd1776f36af30f5f25f071bbf2b0cb7eba9116/aiohttp-3.14.5-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:56d9828f204331a5ca8850fcfe2bcce95a149f1f223f60cc7216e5524978e480", size = 1893493, upload-time = "2026-10-11T01:02:17.93Z" }, + { url = "https://files.pythonhosted.org/packages/78/97/71cae83d5100556fad1521684f7cd1e3e578432644f850245ed3bd969310/aiohttp-3.14.5-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:20064a177a070d789ee64a50b01a9161d3468e989baacfc6c714aa685c4b332f", size = 1693468, upload-time = "2026-10-11T01:02:20.666Z" }, + { url = "https://files.pythonhosted.org/packages/1f/69/73d88e97a8b5f0ca7a946d0011c0de99fb188b1687c7948ecd0553dc5bf0/aiohttp-3.14.5-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:81c2b3dfd56c62bee6108e4852d5970b4cf9086390b6983f52b666e878c1f115", size = 1915398, upload-time = "2026-10-11T01:02:23.011Z" }, + { url = "https://files.pythonhosted.org/packages/05/f0/881644bcb15d4b258daea9b720a0af9dc4330496cc8d6ade9090cdd0cffc/aiohttp-3.14.5-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:09ec102b4b8c9a920275733bbc11fdbb615efe6f9231a06007c0218d336fb77a", size = 1871470, upload-time = "2026-10-11T01:02:25.278Z" }, + { url = "https://files.pythonhosted.org/packages/7f/de/19d9ebbcce5aedaa3242d8a99ff8816a60bdb7629fb0084bf4a45bfd1f62/aiohttp-3.14.5-cp314-cp314-win32.whl", hash = "sha256:9c428eb2bd8817588d16a0ab898aa4eb5d141f896aa2b394cc79a4cf61d9a8e2", size = 485517, upload-time = "2026-10-11T01:02:27.579Z" }, + { url = "https://files.pythonhosted.org/packages/a9/74/8cdaf0e58c2588371670d5a9a8215bbb971d36940b6e5d051967dd05c07d/aiohttp-3.14.5-cp314-cp314-win_amd64.whl", hash = "sha256:6f967dde489ca6a8c02d093ab245d2cbf50ccb5c36adf0188b17b0ca39d24b67", size = 511755, upload-time = "2026-10-11T01:02:29.685Z" }, + { url = "https://files.pythonhosted.org/packages/1a/6b/e0100e25502430a531c7cf1482a378d0b65bf728ab60c01ee270e56bc469/aiohttp-3.14.5-cp314-cp314-win_arm64.whl", hash = "sha256:1d2d981b53dd09a319e3570ef8cc3bbc3ef86f5a7abef0f6b2bff3867db3a9e7", size = 495151, upload-time = "2026-10-11T01:02:32.163Z" }, + { url = "https://files.pythonhosted.org/packages/9d/c2/ca2ead7b655688c53c03aeeb6e96e6851c9ff08d6be7b13802f53a6ae8fd/aiohttp-3.14.5-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:9ce66feae6ac65327379460380549bf1b8df8e17c4e25df2a2bcf168272e3bed", size = 855396, upload-time = "2026-10-11T01:02:34.443Z" }, + { url = "https://files.pythonhosted.org/packages/a7/70/22206fea409255a240c926ce11de48de354ae2bb90ca44f709c05497585d/aiohttp-3.14.5-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:27c2322e03f66101acb09869ce1cf1efc04994ee95e1735b69827bf8c8b9d781", size = 567734, upload-time = "2026-10-11T01:02:36.644Z" }, + { url = "https://files.pythonhosted.org/packages/ce/e5/79a36c118308b56f8667d67e05d2fb6dc638ab45985704cdb199631bedaa/aiohttp-3.14.5-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:ff75a7537413a86e7cafe98e0e1d6e3dc4b15c6349896e7d5c6b881bfdb6d550", size = 567379, upload-time = "2026-10-11T01:02:38.757Z" }, + { url = "https://files.pythonhosted.org/packages/63/a3/2ebec7dece3b1f02c30d2e484647f6f7b13952b1bb40a4cb285b849e8432/aiohttp-3.14.5-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9c061aa954daaf57d2a4b8374f9fca621ef0e1b603584431c220c22458c59b6d", size = 2050686, upload-time = "2026-10-11T01:02:41.169Z" }, + { url = "https://files.pythonhosted.org/packages/3a/d2/7e4d093db2f4450482652e7ef19a9e19919028f5135aa52bc4078c3beb80/aiohttp-3.14.5-cp314-cp314t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:1612fa5857b37bf32e5c1eaeefb96e3b01e9c70679eec81f0934e8a600080863", size = 1915077, upload-time = "2026-10-11T01:02:43.563Z" }, + { url = "https://files.pythonhosted.org/packages/a6/88/bd40d09958442a0a1df67da81de496361d6e2afc04f9db2950d835da750b/aiohttp-3.14.5-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:adbeee7d6fd4cf5fe0aece2fb3edc4243615d3180430ba8149d01a90670cac99", size = 2027204, upload-time = "2026-10-11T01:02:46.185Z" }, + { url = "https://files.pythonhosted.org/packages/63/eb/3a601c1f8d3103c1a60ea981f20924855da9f575d2007fc38f8898b792fb/aiohttp-3.14.5-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:b2966998927d7bed9db12c0a4647b0c7b179755878fc9c357fe1ffd3e3b0c1a5", size = 2149520, upload-time = "2026-10-11T01:02:48.812Z" }, + { url = "https://files.pythonhosted.org/packages/22/d0/4e41bfe1b1ce1cb6f6d2e59fa7a88ef5cf92c402b2d07e9018778ba9edbc/aiohttp-3.14.5-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8e317e0fb6b16212c881d2205a7d87414c29acd69320b3aa6dce9d9c7b86fe4f", size = 2002039, upload-time = "2026-10-11T01:02:51.293Z" }, + { url = "https://files.pythonhosted.org/packages/6f/5e/72067019545c502b881b031153c437752ecef48d7d213bc0218ccebb4bfb/aiohttp-3.14.5-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:50343c1757b4b6f6708eeaf24534b32f19dfb99fb1b762c00420867a62fc81e0", size = 1786164, upload-time = "2026-10-11T01:02:53.533Z" }, + { url = "https://files.pythonhosted.org/packages/d9/fe/7741efd6119bfb7a00827fe6f7b84b4409de58d888ae21adc5a9a6824992/aiohttp-3.14.5-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:083673c7a94c3ea035caaa5ca04288bdb44887abfe1f5ba23294e6a4b03efd2d", size = 1970689, upload-time = "2026-10-11T01:02:55.888Z" }, + { url = "https://files.pythonhosted.org/packages/43/e7/342a13bf67f34d269bf2f7e870ecd72b99c832cc6f0a271a9210c0ebfb84/aiohttp-3.14.5-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:2528cb4c6b92008c76ac9ac6298624069bb2db91ff4929905512d1d84485f658", size = 1951967, upload-time = "2026-10-11T01:02:58.467Z" }, + { url = "https://files.pythonhosted.org/packages/e7/d4/fdb3b27340617e5e64df18a70fa89097778652ea5c7c7e2f79def76999c3/aiohttp-3.14.5-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:b1b8ece1e71132d2afba4dbc0c3d62c766e25165990b25db1196c04969eb3d84", size = 1968511, upload-time = "2026-10-11T01:03:00.883Z" }, + { url = "https://files.pythonhosted.org/packages/83/b2/e8f88298de78d1a951f36f9f966d38ec6ed1d4721303ba02064a545e8aa6/aiohttp-3.14.5-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:fce9523df31cea6284f3e2c479876750d7687cf671d7b25d32b19effc0e86441", size = 1778497, upload-time = "2026-10-11T01:03:03.206Z" }, + { url = "https://files.pythonhosted.org/packages/22/68/9ccdb93d664345c546be7f34480b921774d8c0d98f47e70d7e03b115d475/aiohttp-3.14.5-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:09e0eb18c7e0c8777e2f9149de63799195b9b3ca1b5c81ba6f32f2c6b8628210", size = 1999676, upload-time = "2026-10-11T01:03:05.829Z" }, + { url = "https://files.pythonhosted.org/packages/57/4a/a33cfa6dcb00e94194ae4fe710432ca4ed111e016356b4ba4d2f4c3a124c/aiohttp-3.14.5-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:6774814fd5c338e72ee0da5cbb9432816df450e69c019f72b5d29bdec2a1792d", size = 1963437, upload-time = "2026-10-11T01:03:08.196Z" }, + { url = "https://files.pythonhosted.org/packages/f4/20/eacbecfea3b5c3dcbfc9b023e3a5460f43e5dda16d06a2877ebe7184c3f3/aiohttp-3.14.5-cp314-cp314t-win32.whl", hash = "sha256:33f706574e32c6e694f352a856e05caf18f7f2c871b3e87b41c55ea452b409ab", size = 503973, upload-time = "2026-10-11T01:03:10.481Z" }, + { url = "https://files.pythonhosted.org/packages/ff/78/18eec294f6c8c5dc845dcf6d730a0147d8d0f17e86138a7bdb85e43a30fa/aiohttp-3.14.5-cp314-cp314t-win_amd64.whl", hash = "sha256:5ba14a839fbe87cf7c12a6b5661c05f324a296eb8363141edb3944ba63d4c9d3", size = 531190, upload-time = "2026-10-11T01:03:12.716Z" }, + { url = "https://files.pythonhosted.org/packages/9d/39/e53f8169acc85271ebd12b5b32ad7f1541b35639ccbe0f49034c64785d10/aiohttp-3.14.5-cp314-cp314t-win_arm64.whl", hash = "sha256:1061b364556e8172e8d46b0b183adeeb73e8c42d30ebc745591e1bd89acad52e", size = 510360, upload-time = "2026-10-11T01:03:15.08Z" }, + { url = "https://files.pythonhosted.org/packages/f3/1c/06d89f58b2db3ee92dd377217659d587e06f973e57bf0a97a0d8a4586c0c/aiohttp-3.14.5-cp315-cp315-android_24_arm64_v8a.whl", hash = "sha256:788ecaa9c10533b786ce5ba70c4f2df78ad41819fd00a6c99d92b66f9a32e1da", size = 540674, upload-time = "2026-10-11T01:03:17.483Z" }, + { url = "https://files.pythonhosted.org/packages/18/39/5e822e038f496f0540ada91e27099d48f9e7f919b6c6deb4cf6db36cc706/aiohttp-3.14.5-cp315-cp315-android_24_x86_64.whl", hash = "sha256:5c76f1802bab718a68ac3cce447160605c734551f95c67ae90fa1132b215cb29", size = 554183, upload-time = "2026-10-11T01:03:19.71Z" }, + { url = "https://files.pythonhosted.org/packages/9b/ff/0cf2619d902b5b160762422a7e5e02091295766a7fe4fcf5b9a655e386c1/aiohttp-3.14.5-cp315-cp315-ios_13_0_arm64_iphoneos.whl", hash = "sha256:a6d02b4c38de03d9c7617813433e6a0fb6b522797974177d69d9dad431900833", size = 523160, upload-time = "2026-10-11T01:03:22.193Z" }, + { url = "https://files.pythonhosted.org/packages/86/99/3553abfc53a40849dbaacc3f54c730ec58410809ffa2d05885ae56108f2d/aiohttp-3.14.5-cp315-cp315-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:20726f9782d5c2744c1c66255842d1d163bb3edcf768b8de25216bf47f7b6ccf", size = 530311, upload-time = "2026-10-11T01:03:24.435Z" }, + { url = "https://files.pythonhosted.org/packages/fe/a4/5d25f73754bc1e8f983ba704e86d641aea290c967f195f2aeebdaed2bd84/aiohttp-3.14.5-cp315-cp315-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:248d779ad720b49d4fb355720e60c9e5f444f95887bc16974fea48fc56c41789", size = 540274, upload-time = "2026-10-11T01:03:26.698Z" }, + { url = "https://files.pythonhosted.org/packages/29/a4/07eda5db2e3ee017d9590f36c12a94ec6f1f50516e8df78672373dfc7185/aiohttp-3.14.5-cp315-cp315-macosx_10_15_universal2.whl", hash = "sha256:0a8ea271867e360ac985ae607f4a23ad9a38414b9aca1d49ec98839ae660e49f", size = 819239, upload-time = "2026-10-11T01:03:29.481Z" }, + { url = "https://files.pythonhosted.org/packages/cb/aa/a8723dd987a696dd48d4cf2f0088e589ce77caebff0b96f2a78c20424380/aiohttp-3.14.5-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:823c910f046f23f4c713b8d99a2242dc65f591cb45ee86418fa11762a3c2963c", size = 549832, upload-time = "2026-10-11T01:03:32.02Z" }, + { url = "https://files.pythonhosted.org/packages/29/5c/969a1b72692055fd2a419590c41847ec9144fefb97b75ff1cde5b6372891/aiohttp-3.14.5-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:9b42db919715e91eb76acf3bc492a9a7ccd8bd9adc6745c1412b689735269f14", size = 549234, upload-time = "2026-10-11T01:03:34.469Z" }, + { url = "https://files.pythonhosted.org/packages/38/05/8e3e07fd8a0d33d06955ff4e54a1cb92f4bce347ff55e441dc3e25a7b5e5/aiohttp-3.14.5-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d3112585250b199296c26ca6e0131640b6a8d01bab8b232d2eb3763ed469de11", size = 1891314, upload-time = "2026-10-11T01:03:36.899Z" }, + { url = "https://files.pythonhosted.org/packages/b6/b3/05a79ce2e25f024e93de30c94f39dc6aa6e2bc1e9c531a5c4b18dc61b7a4/aiohttp-3.14.5-cp315-cp315-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:c147451b4a58e7050f7f7394e6c467867c84161560001f9ad4fb2d1446743946", size = 1884372, upload-time = "2026-10-11T01:03:39.334Z" }, + { url = "https://files.pythonhosted.org/packages/94/52/0fd8af0717db109eea258191b326b5cb5847fb88928bfa6c862fd78b9ad3/aiohttp-3.14.5-cp315-cp315-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:bf163cc701f3d4ac43ba7d97771bf5fd955220ef5500ef3ee847bc0ecfbf4ec1", size = 1930957, upload-time = "2026-10-11T01:03:42.172Z" }, + { url = "https://files.pythonhosted.org/packages/4e/b3/fa78733da88812bf9fb193913fb0ce1548f8b6912047633fdf88a758ff8c/aiohttp-3.14.5-cp315-cp315-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:f8d40ce41991e9d56fab4f5dc4a51fe59bc3b5c77c27f4b148963064d00232e8", size = 2038886, upload-time = "2026-10-11T01:03:44.646Z" }, + { url = "https://files.pythonhosted.org/packages/cf/f5/2fcc5e30053a938286f17d0edf3f0850b8061b984256fa7c26850b9c8809/aiohttp-3.14.5-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:276a4fc00b1d9ae492b802763a789c5b86328b989c5ea169f2faa447d6a11c7c", size = 1894470, upload-time = "2026-10-11T01:03:47.304Z" }, + { url = "https://files.pythonhosted.org/packages/62/2a/f87feb42abe8e6a7c03814dbcb711540849a1e90aa392055f3183c643610/aiohttp-3.14.5-cp315-cp315-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:50983e3be33d8c0942ab88cec3905b10602f64c469b20153c48c5d4e558dd016", size = 1716273, upload-time = "2026-10-11T01:03:50.121Z" }, + { url = "https://files.pythonhosted.org/packages/81/b2/adf1f960dd977722ed1347d33da512a1624807114f57a3b91f5cc828e081/aiohttp-3.14.5-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:16c8abd5bca220a47efe667d26f8460124c81810787e79ee87b242677563d9dd", size = 1857513, upload-time = "2026-10-11T01:03:52.959Z" }, + { url = "https://files.pythonhosted.org/packages/d7/fd/ef8d910e641de4160026a513ace5888b7f92826bbc3fd90ced05d55a828e/aiohttp-3.14.5-cp315-cp315-musllinux_1_2_armv7l.whl", hash = "sha256:0790ec66fa4013e83c53b9025a45d454723da1a2fce28b3208c9b32d08af162f", size = 1887704, upload-time = "2026-10-11T01:03:55.641Z" }, + { url = "https://files.pythonhosted.org/packages/7e/db/6c9142f941cba8d35be8e1fae6ea2bd390e754fc14076b8147aee1a4592f/aiohttp-3.14.5-cp315-cp315-musllinux_1_2_ppc64le.whl", hash = "sha256:cb11a971a3aea10f9b8373be628f1df932964fc6c6b174516d318a48c3ac4412", size = 1895684, upload-time = "2026-10-11T01:03:58.18Z" }, + { url = "https://files.pythonhosted.org/packages/e6/7c/6a6bd9a72e576d376c668333b00c51c6147aba4fb863ed6c94996d497eca/aiohttp-3.14.5-cp315-cp315-musllinux_1_2_riscv64.whl", hash = "sha256:932ce7e694bbc29b2bf6f64f2343c27d148d4997c771d01bdade4639b6749ff4", size = 1706299, upload-time = "2026-10-11T01:04:00.8Z" }, + { url = "https://files.pythonhosted.org/packages/69/ec/d2cc494242f8c4d3d1cd70baf591742818a74386dc3b84af3195c5c4fced/aiohttp-3.14.5-cp315-cp315-musllinux_1_2_s390x.whl", hash = "sha256:a7d470cf7b206e6359fc77b1b860632fde400d5a2ed59cd0181b93a686bc81ee", size = 1916645, upload-time = "2026-10-11T01:04:03.892Z" }, + { url = "https://files.pythonhosted.org/packages/a3/6e/e852c53647e815db09a1b6b5ab634f54bd736412397e11940feef4d2c89a/aiohttp-3.14.5-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:6e1d8637cf73eebc92eba2e11d4cfff98a3b562f2505bd75bba766d908926e8d", size = 1875408, upload-time = "2026-10-11T01:04:06.922Z" }, + { url = "https://files.pythonhosted.org/packages/fe/f6/72ab6ef20c332399be593bac543d2c24a6d241e39d3540ce9f95a63e4bd2/aiohttp-3.14.5-cp315-cp315-win32.whl", hash = "sha256:fbdc5ec49f9ca3cd24955cf3520b10a4d4c901ba2572094c84274e9e7eb30534", size = 485590, upload-time = "2026-10-11T01:04:09.626Z" }, + { url = "https://files.pythonhosted.org/packages/06/eb/e9de75b8c6d2170c42c08ff303abf857ea8a6d9d9b6e99b5aba40f15e962/aiohttp-3.14.5-cp315-cp315-win_amd64.whl", hash = "sha256:a9d3983bd6ab7aa1cfd573544ae98df9b6cb6912a5185a198263e024a636861d", size = 511740, upload-time = "2026-10-11T01:04:12.277Z" }, + { url = "https://files.pythonhosted.org/packages/fc/25/455f3c2785eb0d50748cffd0abd07500815f419a9495b14610b7622d8d2d/aiohttp-3.14.5-cp315-cp315-win_arm64.whl", hash = "sha256:e29347c142cf6e99e0dff5e2995ead1d50fa3b51bf37a7c726a7ccfe5419745a", size = 495171, upload-time = "2026-10-11T01:04:14.667Z" }, + { url = "https://files.pythonhosted.org/packages/e7/6c/497f0a98782eebfcf0f02a7fbdef5428148bd426027140cbad494cf842b5/aiohttp-3.14.5-cp315-cp315t-macosx_10_15_universal2.whl", hash = "sha256:9bf1d5dcc15204d9ec8b8ea4c18fd66e6b80e5de1f4ecbafb3a2f2740f8039d4", size = 855638, upload-time = "2026-10-11T01:04:17.154Z" }, + { url = "https://files.pythonhosted.org/packages/9a/c5/55c0cef2572af9b1ee81608f7c0a1bf74e6c9151a73b04915d933f192335/aiohttp-3.14.5-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:14f04769cfefe4734016a856a83af36133cd17779cef9ae817f812b8ba9d6d51", size = 567455, upload-time = "2026-10-11T01:04:19.702Z" }, + { url = "https://files.pythonhosted.org/packages/4d/47/e1a0e39f4a2b881f6071225afaf94a6547001b5aefc1566734d73c685934/aiohttp-3.14.5-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:6e4251c0ba4624a68a2c11471a1ac54c3306876c21f0ae86de085cc9241c8905", size = 567836, upload-time = "2026-10-11T01:04:22.235Z" }, + { url = "https://files.pythonhosted.org/packages/c3/1d/817d85836f52b687160064a326e62e037dc42f1ad5b6b5188a70e5c134b5/aiohttp-3.14.5-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e4f5cf4dc72a71c4cfa9751b4950be22f733626670230d46e7d606592aa22d59", size = 2051409, upload-time = "2026-10-11T01:04:24.821Z" }, + { url = "https://files.pythonhosted.org/packages/f7/25/e8ea6fc212a9aabce982917346ce8ecab0929c74b60232a056dd11c99da0/aiohttp-3.14.5-cp315-cp315t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:dbf53ae2601b7fd5a93c3944deea3a78d40f495226d582c35ef7a433425ce2b2", size = 1936493, upload-time = "2026-10-11T01:04:27.456Z" }, + { url = "https://files.pythonhosted.org/packages/24/33/de0517f71f1a19feea4aff78a2ec4ec2d98634129ec30ead78fce2f8f81b/aiohttp-3.14.5-cp315-cp315t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:657291433bf4dd3142f3abac495764cd47d0c7c92087751e6666c6447e65fcef", size = 2021405, upload-time = "2026-10-11T01:04:30.276Z" }, + { url = "https://files.pythonhosted.org/packages/c4/11/ddaf2e7930543e9f0cad3a1c54e1af0c1bd2fae3973d568c4263d3b010e9/aiohttp-3.14.5-cp315-cp315t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:3e51a27980c3788e6e6b3325d694fdd4898087fa8a86b2763af77b39353da41e", size = 2142017, upload-time = "2026-10-11T01:04:33.022Z" }, + { url = "https://files.pythonhosted.org/packages/1d/7b/58784353c06de8adc20f426daad3d85dd86fd55331c713a3f4b638c94573/aiohttp-3.14.5-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:82c7583cd3dfdc7dcc927835b4f6c7faae7ecc1ba3ca5879321621ae2e6f8e84", size = 2002482, upload-time = "2026-10-11T01:04:35.94Z" }, + { url = "https://files.pythonhosted.org/packages/b9/f0/417d9535caa9e165ffe6a53e2347a78107e7c87dcb0e10aca315c3af0344/aiohttp-3.14.5-cp315-cp315t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:6fdcd6af7e2e51d1ba1b4bea16e97b074bcb7b5dd0246a9d8201341bb28085a0", size = 1791774, upload-time = "2026-10-11T01:04:38.733Z" }, + { url = "https://files.pythonhosted.org/packages/98/01/25e49c2e8a01b9f0e19ca0a8448ad50aa2bdf96c8cd41e92bd45af044784/aiohttp-3.14.5-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:c8859a013ae0de1074660992139a1a440df3e6b219b86cf0d3f11c2692bb4fe3", size = 1970358, upload-time = "2026-10-11T01:04:41.66Z" }, + { url = "https://files.pythonhosted.org/packages/2d/fc/c132fd3465b6c7e4ce0193154f602c3e6c46b680e4da7eb3bd0d8a40d1c7/aiohttp-3.14.5-cp315-cp315t-musllinux_1_2_armv7l.whl", hash = "sha256:8966ecac808dd5f473c9c4cefd10cd3ffda71c18a4d3493b7c7d2ae1803bf2cc", size = 1969192, upload-time = "2026-10-11T01:04:44.66Z" }, + { url = "https://files.pythonhosted.org/packages/95/4e/d58b45e7dba4eb607eca11fc0a4aa77ae0f39c11afa804635a61ce18cff4/aiohttp-3.14.5-cp315-cp315t-musllinux_1_2_ppc64le.whl", hash = "sha256:3093b72c215bda16ce961a6d073f6e71d46e022962a9d5d457c5d4d421c78b57", size = 1963618, upload-time = "2026-10-11T01:04:47.505Z" }, + { url = "https://files.pythonhosted.org/packages/a2/d9/f6ac50946efb3490428ef52b56e62c1c6b7f9c6ff3ec6083535526c83e60/aiohttp-3.14.5-cp315-cp315t-musllinux_1_2_riscv64.whl", hash = "sha256:149fb56caf7acb67073126f675d0958d9c4b3125fcd3f6d4877df98aa8a97ce9", size = 1784817, upload-time = "2026-10-11T01:04:50.287Z" }, + { url = "https://files.pythonhosted.org/packages/d0/2f/f255eb63da788cd8a452fe350869c03266ccad7d884925f6963c87808f24/aiohttp-3.14.5-cp315-cp315t-musllinux_1_2_s390x.whl", hash = "sha256:293d3ae7c6a0ed176a42e59a1b5fde825ead65c835360f734148e96729f928d2", size = 1995956, upload-time = "2026-10-11T01:04:53.213Z" }, + { url = "https://files.pythonhosted.org/packages/d9/9b/241aa3393eaafda0034470add1625f82a4c252901108723b283a9b0b32ca/aiohttp-3.14.5-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:3f2dcc00191fd563e9075181a14ec31d7dd63223ced7582cc70a15a499de0c79", size = 1967794, upload-time = "2026-10-11T01:04:55.958Z" }, + { url = "https://files.pythonhosted.org/packages/5f/7f/a68e689288c9e4bfcf8d0979f2b12b774bf01861985420df6150eba5448e/aiohttp-3.14.5-cp315-cp315t-win32.whl", hash = "sha256:7779cd97e61ebe583ec2f1c5616cdd038aa08a4453b1848c67842176d054948e", size = 503876, upload-time = "2026-10-11T01:04:58.978Z" }, + { url = "https://files.pythonhosted.org/packages/a4/78/49b0299da6d54de19fc6fdc6889d50233ac47d192a461624f4fc010fde83/aiohttp-3.14.5-cp315-cp315t-win_amd64.whl", hash = "sha256:0e6f16f5e49c4b8267988c05ab07760d7064cea57d077c3d068d04b0fbb992cb", size = 530957, upload-time = "2026-10-11T01:05:02.23Z" }, + { url = "https://files.pythonhosted.org/packages/21/d4/b0afc936aeb6d2f93157e3408b069ec5d7934429ae7d023de5e0953b1887/aiohttp-3.14.5-cp315-cp315t-win_arm64.whl", hash = "sha256:1aead151c3abbac6b32942e452020cb66d7efc099d253cc6c20f748e926c858b", size = 510408, upload-time = "2026-10-11T01:05:05.362Z" }, + { url = "https://files.pythonhosted.org/packages/68/30/173960c42b05a6c59f7558e4b12a4b0d9ba376cf6aa9bde7f9e08a30ca8d/aiohttp-3.14.5-py3-none-any.whl", hash = "sha256:efc21a454892828368b11c2c780de0ff8bc991f73f6b99c6b66e56205470929b", size = 279517, upload-time = "2026-10-11T01:05:08.523Z" }, ] [[package]] @@ -152,7 +247,8 @@ resolution-markers = [ "python_full_version >= '3.15'", "python_full_version == '3.14.*'", "python_full_version == '3.13.*'", - "python_full_version >= '3.11' and python_full_version < '3.13'", + "python_full_version == '3.12.*'", + "python_full_version == '3.11.*'", ] dependencies = [ { name = "idna", marker = "python_full_version >= '3.11'" }, @@ -298,39 +394,39 @@ wheels = [ [[package]] name = "boto3" -version = "1.43.14" +version = "1.44.3" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "botocore" }, { name = "jmespath" }, { name = "s3transfer" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/79/4b/616367e871ce3f1cb3e8545a97736b6331b9fb081497f2d44c5b2aa6959d/boto3-1.43.14.tar.gz", hash = "sha256:5c0a994b3182061ee101812e721100717a4d664f9f4ceaf4a86b6d032ce9fc2d", size = 113142, upload-time = "2026-05-22T19:28:47.861Z" } +sdist = { url = "https://files.pythonhosted.org/packages/58/f3/625dd5a18c17e703f10029e16ccd991802e784b27cc627045f16d60a5d4c/boto3-1.44.3.tar.gz", hash = "sha256:bba566b5cba78db05c5f6c44d219c8f6fb2cd2b923106f767289e4cd0b87b093", size = 112741, upload-time = "2026-11-13T20:16:51.884Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/cb/00/59cb9329c18e2d3aa23062ceaa87d065f2e81e7d2931df24d64e9a7815aa/boto3-1.43.14-py3-none-any.whl", hash = "sha256:574335744656cfed0b362a0a0467aaf2eb2bf15526edcd02d31d3c661f4b09e4", size = 140536, upload-time = "2026-05-22T19:28:46.49Z" }, + { url = "https://files.pythonhosted.org/packages/9a/b5/2807516d854b60f430917590fcfe470bc60c5383cd6b27dc57aa6dc6afea/boto3-1.44.3-py3-none-any.whl", hash = "sha256:8c9c4844c7ce184494b102983696d6cdb09f5307ec7f238ca4ad5849fb14e26b", size = 140155, upload-time = "2026-11-13T20:16:50.577Z" }, ] [[package]] name = "botocore" -version = "1.43.14" +version = "1.44.3" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "jmespath" }, { name = "python-dateutil" }, { name = "urllib3" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/78/3c/798d2f7deb118241930c7c6bcfb0b970d3f0245bf580700663199aeed2c3/botocore-1.43.14.tar.gz", hash = "sha256:b9e500737e43d2f147c9d4e23b54360335e77d4c0ba90a318f51b65e06cb8516", size = 15382604, upload-time = "2026-05-22T19:28:36.363Z" } +sdist = { url = "https://files.pythonhosted.org/packages/03/e8/130935f123174b900f55fef077c33af43825e5b68fe963bcc1fc3e4634eb/botocore-1.44.3.tar.gz", hash = "sha256:44d86fff55ce2d014bd72183ebc164b21b36598253b8234d4f59e8600e09b8b3", size = 16668982, upload-time = "2026-11-13T20:16:47.549Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/27/7e/6e64821077cd2efc4aa51b7d638fb6d48e1c7c450201c529fbaf1de8bfd3/botocore-1.43.14-py3-none-any.whl", hash = "sha256:1f4a2a95ea78c10398e78431e98c1fe47adb54a7b10a32975144c1f541186658", size = 15061424, upload-time = "2026-05-22T19:28:32.682Z" }, + { url = "https://files.pythonhosted.org/packages/20/65/e39cc0e0d16cf9efe0afab0edef48b89491b548e2c7d7ddc23bbb2c6422c/botocore-1.44.3-py3-none-any.whl", hash = "sha256:793eac2a7ca167e9376b136cf000e1675e9ffe8d7ec609160cc1ee00b93ace28", size = 16368633, upload-time = "2026-11-13T20:16:43.695Z" }, ] [[package]] name = "certifi" -version = "2026.5.20" +version = "2026.10.23" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/f3/ce/ee2ecad540810a79593028e88299baeae54d346cc7a0d94b6199988b89b1/certifi-2026.5.20.tar.gz", hash = "sha256:69dea482ab64caa7b9f6aba1c6bf48bb6a5448d1c0f1b17ab42ad8c763a5344d", size = 135422, upload-time = "2026-05-20T11:46:50.073Z" } +sdist = { url = "https://files.pythonhosted.org/packages/fd/11/b524cbd9bbdaca58608e4cf4053fd463417549e1959fa8d3aa18319f9555/certifi-2026.10.23.tar.gz", hash = "sha256:a9895e6e2758b371e0545e321a3a8fd1fcfd9829ada8824a936dfb16aaaf36cd", size = 136225, upload-time = "2026-10-23T11:36:16.478Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/59/8c/57e832b7af6d7c5abe66eb3fbe3a3a32f4d11ea23a1aa7131371035be991/certifi-2026.5.20-py3-none-any.whl", hash = "sha256:3c52e209ba0a4ad7aebe60436a4ab349c39e1e602e8c134221e546902ad25897", size = 134134, upload-time = "2026-05-20T11:46:48.578Z" }, + { url = "https://files.pythonhosted.org/packages/32/d1/a3652fe2c19134d0d15922177821d863cbd7e842d53a21bbe7e8e3a1b5ac/certifi-2026.10.23-py3-none-any.whl", hash = "sha256:e9b54de76e530bb6cf0ccd036787103acb58fd42ba930ea8bf948ddbaa2f61d1", size = 135082, upload-time = "2026-10-23T11:36:14.763Z" }, ] [[package]] @@ -641,6 +737,69 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/36/f4/c6e662dade71f56cd2f3735141b265c3c79293c109549c1e6933b0651ffc/exceptiongroup-1.3.0-py3-none-any.whl", hash = "sha256:4d111e6e0c13d0644cad6ddaa7ed0261a0b36971f6d23e7ec9b4b9097da78a10", size = 16674, upload-time = "2025-05-10T17:42:49.33Z" }, ] +[[package]] +name = "fastuuid" +version = "0.14.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/c3/7d/d9daedf0f2ebcacd20d599928f8913e9d2aea1d56d2d355a93bfa2b611d7/fastuuid-0.14.0.tar.gz", hash = "sha256:178947fc2f995b38497a74172adee64fdeb8b7ec18f2a5934d037641ba265d26", size = 18232, upload-time = "2025-10-19T22:19:22.402Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ad/b2/731a6696e37cd20eed353f69a09f37a984a43c9713764ee3f7ad5f57f7f9/fastuuid-0.14.0-cp310-cp310-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:6e6243d40f6c793c3e2ee14c13769e341b90be5ef0c23c82fa6515a96145181a", size = 516760, upload-time = "2025-10-19T22:25:21.509Z" }, + { url = "https://files.pythonhosted.org/packages/c5/79/c73c47be2a3b8734d16e628982653517f80bbe0570e27185d91af6096507/fastuuid-0.14.0-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:13ec4f2c3b04271f62be2e1ce7e95ad2dd1cf97e94503a3760db739afbd48f00", size = 264748, upload-time = "2025-10-19T22:41:52.873Z" }, + { url = "https://files.pythonhosted.org/packages/24/c5/84c1eea05977c8ba5173555b0133e3558dc628bcf868d6bf1689ff14aedc/fastuuid-0.14.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:b2fdd48b5e4236df145a149d7125badb28e0a383372add3fbaac9a6b7a394470", size = 254537, upload-time = "2025-10-19T22:33:55.603Z" }, + { url = "https://files.pythonhosted.org/packages/0e/23/4e362367b7fa17dbed646922f216b9921efb486e7abe02147e4b917359f8/fastuuid-0.14.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f74631b8322d2780ebcf2d2d75d58045c3e9378625ec51865fe0b5620800c39d", size = 278994, upload-time = "2025-10-19T22:26:17.631Z" }, + { url = "https://files.pythonhosted.org/packages/b2/72/3985be633b5a428e9eaec4287ed4b873b7c4c53a9639a8b416637223c4cd/fastuuid-0.14.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:83cffc144dc93eb604b87b179837f2ce2af44871a7b323f2bfed40e8acb40ba8", size = 280003, upload-time = "2025-10-19T22:23:45.415Z" }, + { url = "https://files.pythonhosted.org/packages/b3/6d/6ef192a6df34e2266d5c9deb39cd3eea986df650cbcfeaf171aa52a059c3/fastuuid-0.14.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:1a771f135ab4523eb786e95493803942a5d1fc1610915f131b363f55af53b219", size = 303583, upload-time = "2025-10-19T22:26:00.756Z" }, + { url = "https://files.pythonhosted.org/packages/9d/11/8a2ea753c68d4fece29d5d7c6f3f903948cc6e82d1823bc9f7f7c0355db3/fastuuid-0.14.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:4edc56b877d960b4eda2c4232f953a61490c3134da94f3c28af129fb9c62a4f6", size = 460955, upload-time = "2025-10-19T22:36:25.196Z" }, + { url = "https://files.pythonhosted.org/packages/23/42/7a32c93b6ce12642d9a152ee4753a078f372c9ebb893bc489d838dd4afd5/fastuuid-0.14.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:bcc96ee819c282e7c09b2eed2b9bd13084e3b749fdb2faf58c318d498df2efbe", size = 480763, upload-time = "2025-10-19T22:24:28.451Z" }, + { url = "https://files.pythonhosted.org/packages/b9/e9/a5f6f686b46e3ed4ed3b93770111c233baac87dd6586a411b4988018ef1d/fastuuid-0.14.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:7a3c0bca61eacc1843ea97b288d6789fbad7400d16db24e36a66c28c268cfe3d", size = 452613, upload-time = "2025-10-19T22:25:06.827Z" }, + { url = "https://files.pythonhosted.org/packages/b4/c9/18abc73c9c5b7fc0e476c1733b678783b2e8a35b0be9babd423571d44e98/fastuuid-0.14.0-cp310-cp310-win32.whl", hash = "sha256:7f2f3efade4937fae4e77efae1af571902263de7b78a0aee1a1653795a093b2a", size = 155045, upload-time = "2025-10-19T22:28:32.732Z" }, + { url = "https://files.pythonhosted.org/packages/5e/8a/d9e33f4eb4d4f6d9f2c5c7d7e96b5cdbb535c93f3b1ad6acce97ee9d4bf8/fastuuid-0.14.0-cp310-cp310-win_amd64.whl", hash = "sha256:ae64ba730d179f439b0736208b4c279b8bc9c089b102aec23f86512ea458c8a4", size = 156122, upload-time = "2025-10-19T22:23:15.59Z" }, + { url = "https://files.pythonhosted.org/packages/98/f3/12481bda4e5b6d3e698fbf525df4443cc7dce746f246b86b6fcb2fba1844/fastuuid-0.14.0-cp311-cp311-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:73946cb950c8caf65127d4e9a325e2b6be0442a224fd51ba3b6ac44e1912ce34", size = 516386, upload-time = "2025-10-19T22:42:40.176Z" }, + { url = "https://files.pythonhosted.org/packages/59/19/2fc58a1446e4d72b655648eb0879b04e88ed6fa70d474efcf550f640f6ec/fastuuid-0.14.0-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:12ac85024637586a5b69645e7ed986f7535106ed3013640a393a03e461740cb7", size = 264569, upload-time = "2025-10-19T22:25:50.977Z" }, + { url = "https://files.pythonhosted.org/packages/78/29/3c74756e5b02c40cfcc8b1d8b5bac4edbd532b55917a6bcc9113550e99d1/fastuuid-0.14.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:05a8dde1f395e0c9b4be515b7a521403d1e8349443e7641761af07c7ad1624b1", size = 254366, upload-time = "2025-10-19T22:29:49.166Z" }, + { url = "https://files.pythonhosted.org/packages/52/96/d761da3fccfa84f0f353ce6e3eb8b7f76b3aa21fd25e1b00a19f9c80a063/fastuuid-0.14.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:09378a05020e3e4883dfdab438926f31fea15fd17604908f3d39cbeb22a0b4dc", size = 278978, upload-time = "2025-10-19T22:35:41.306Z" }, + { url = "https://files.pythonhosted.org/packages/fc/c2/f84c90167cc7765cb82b3ff7808057608b21c14a38531845d933a4637307/fastuuid-0.14.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bbb0c4b15d66b435d2538f3827f05e44e2baafcc003dd7d8472dc67807ab8fd8", size = 279692, upload-time = "2025-10-19T22:25:36.997Z" }, + { url = "https://files.pythonhosted.org/packages/af/7b/4bacd03897b88c12348e7bd77943bac32ccf80ff98100598fcff74f75f2e/fastuuid-0.14.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:cd5a7f648d4365b41dbf0e38fe8da4884e57bed4e77c83598e076ac0c93995e7", size = 303384, upload-time = "2025-10-19T22:29:46.578Z" }, + { url = "https://files.pythonhosted.org/packages/c0/a2/584f2c29641df8bd810d00c1f21d408c12e9ad0c0dafdb8b7b29e5ddf787/fastuuid-0.14.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:c0a94245afae4d7af8c43b3159d5e3934c53f47140be0be624b96acd672ceb73", size = 460921, upload-time = "2025-10-19T22:36:42.006Z" }, + { url = "https://files.pythonhosted.org/packages/24/68/c6b77443bb7764c760e211002c8638c0c7cce11cb584927e723215ba1398/fastuuid-0.14.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:2b29e23c97e77c3a9514d70ce343571e469098ac7f5a269320a0f0b3e193ab36", size = 480575, upload-time = "2025-10-19T22:28:18.975Z" }, + { url = "https://files.pythonhosted.org/packages/5a/87/93f553111b33f9bb83145be12868c3c475bf8ea87c107063d01377cc0e8e/fastuuid-0.14.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:1e690d48f923c253f28151b3a6b4e335f2b06bf669c68a02665bc150b7839e94", size = 452317, upload-time = "2025-10-19T22:25:32.75Z" }, + { url = "https://files.pythonhosted.org/packages/9e/8c/a04d486ca55b5abb7eaa65b39df8d891b7b1635b22db2163734dc273579a/fastuuid-0.14.0-cp311-cp311-win32.whl", hash = "sha256:a6f46790d59ab38c6aa0e35c681c0484b50dc0acf9e2679c005d61e019313c24", size = 154804, upload-time = "2025-10-19T22:24:15.615Z" }, + { url = "https://files.pythonhosted.org/packages/9c/b2/2d40bf00820de94b9280366a122cbaa60090c8cf59e89ac3938cf5d75895/fastuuid-0.14.0-cp311-cp311-win_amd64.whl", hash = "sha256:e150eab56c95dc9e3fefc234a0eedb342fac433dacc273cd4d150a5b0871e1fa", size = 156099, upload-time = "2025-10-19T22:24:31.646Z" }, + { url = "https://files.pythonhosted.org/packages/02/a2/e78fcc5df65467f0d207661b7ef86c5b7ac62eea337c0c0fcedbeee6fb13/fastuuid-0.14.0-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:77e94728324b63660ebf8adb27055e92d2e4611645bf12ed9d88d30486471d0a", size = 510164, upload-time = "2025-10-19T22:31:45.635Z" }, + { url = "https://files.pythonhosted.org/packages/2b/b3/c846f933f22f581f558ee63f81f29fa924acd971ce903dab1a9b6701816e/fastuuid-0.14.0-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:caa1f14d2102cb8d353096bc6ef6c13b2c81f347e6ab9d6fbd48b9dea41c153d", size = 261837, upload-time = "2025-10-19T22:38:38.53Z" }, + { url = "https://files.pythonhosted.org/packages/54/ea/682551030f8c4fa9a769d9825570ad28c0c71e30cf34020b85c1f7ee7382/fastuuid-0.14.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:d23ef06f9e67163be38cece704170486715b177f6baae338110983f99a72c070", size = 251370, upload-time = "2025-10-19T22:40:26.07Z" }, + { url = "https://files.pythonhosted.org/packages/14/dd/5927f0a523d8e6a76b70968e6004966ee7df30322f5fc9b6cdfb0276646a/fastuuid-0.14.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0c9ec605ace243b6dbe3bd27ebdd5d33b00d8d1d3f580b39fdd15cd96fd71796", size = 277766, upload-time = "2025-10-19T22:37:23.779Z" }, + { url = "https://files.pythonhosted.org/packages/16/6e/c0fb547eef61293153348f12e0f75a06abb322664b34a1573a7760501336/fastuuid-0.14.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:808527f2407f58a76c916d6aa15d58692a4a019fdf8d4c32ac7ff303b7d7af09", size = 278105, upload-time = "2025-10-19T22:26:56.821Z" }, + { url = "https://files.pythonhosted.org/packages/2d/b1/b9c75e03b768f61cf2e84ee193dc18601aeaf89a4684b20f2f0e9f52b62c/fastuuid-0.14.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:2fb3c0d7fef6674bbeacdd6dbd386924a7b60b26de849266d1ff6602937675c8", size = 301564, upload-time = "2025-10-19T22:30:31.604Z" }, + { url = "https://files.pythonhosted.org/packages/fc/fa/f7395fdac07c7a54f18f801744573707321ca0cee082e638e36452355a9d/fastuuid-0.14.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:ab3f5d36e4393e628a4df337c2c039069344db5f4b9d2a3c9cea48284f1dd741", size = 459659, upload-time = "2025-10-19T22:31:32.341Z" }, + { url = "https://files.pythonhosted.org/packages/66/49/c9fd06a4a0b1f0f048aacb6599e7d96e5d6bc6fa680ed0d46bf111929d1b/fastuuid-0.14.0-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:b9a0ca4f03b7e0b01425281ffd44e99d360e15c895f1907ca105854ed85e2057", size = 478430, upload-time = "2025-10-19T22:26:22.962Z" }, + { url = "https://files.pythonhosted.org/packages/be/9c/909e8c95b494e8e140e8be6165d5fc3f61fdc46198c1554df7b3e1764471/fastuuid-0.14.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:3acdf655684cc09e60fb7e4cf524e8f42ea760031945aa8086c7eae2eeeabeb8", size = 450894, upload-time = "2025-10-19T22:27:01.647Z" }, + { url = "https://files.pythonhosted.org/packages/90/eb/d29d17521976e673c55ef7f210d4cdd72091a9ec6755d0fd4710d9b3c871/fastuuid-0.14.0-cp312-cp312-win32.whl", hash = "sha256:9579618be6280700ae36ac42c3efd157049fe4dd40ca49b021280481c78c3176", size = 154374, upload-time = "2025-10-19T22:29:19.879Z" }, + { url = "https://files.pythonhosted.org/packages/cc/fc/f5c799a6ea6d877faec0472d0b27c079b47c86b1cdc577720a5386483b36/fastuuid-0.14.0-cp312-cp312-win_amd64.whl", hash = "sha256:d9e4332dc4ba054434a9594cbfaf7823b57993d7d8e7267831c3e059857cf397", size = 156550, upload-time = "2025-10-19T22:27:49.658Z" }, + { url = "https://files.pythonhosted.org/packages/a5/83/ae12dd39b9a39b55d7f90abb8971f1a5f3c321fd72d5aa83f90dc67fe9ed/fastuuid-0.14.0-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:77a09cb7427e7af74c594e409f7731a0cf887221de2f698e1ca0ebf0f3139021", size = 510720, upload-time = "2025-10-19T22:42:34.633Z" }, + { url = "https://files.pythonhosted.org/packages/53/b0/a4b03ff5d00f563cc7546b933c28cb3f2a07344b2aec5834e874f7d44143/fastuuid-0.14.0-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:9bd57289daf7b153bfa3e8013446aa144ce5e8c825e9e366d455155ede5ea2dc", size = 262024, upload-time = "2025-10-19T22:30:25.482Z" }, + { url = "https://files.pythonhosted.org/packages/9c/6d/64aee0a0f6a58eeabadd582e55d0d7d70258ffdd01d093b30c53d668303b/fastuuid-0.14.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:ac60fc860cdf3c3f327374db87ab8e064c86566ca8c49d2e30df15eda1b0c2d5", size = 251679, upload-time = "2025-10-19T22:36:14.096Z" }, + { url = "https://files.pythonhosted.org/packages/60/f5/a7e9cda8369e4f7919d36552db9b2ae21db7915083bc6336f1b0082c8b2e/fastuuid-0.14.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ab32f74bd56565b186f036e33129da77db8be09178cd2f5206a5d4035fb2a23f", size = 277862, upload-time = "2025-10-19T22:36:23.302Z" }, + { url = "https://files.pythonhosted.org/packages/f0/d3/8ce11827c783affffd5bd4d6378b28eb6cc6d2ddf41474006b8d62e7448e/fastuuid-0.14.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:33e678459cf4addaedd9936bbb038e35b3f6b2061330fd8f2f6a1d80414c0f87", size = 278278, upload-time = "2025-10-19T22:29:43.809Z" }, + { url = "https://files.pythonhosted.org/packages/a2/51/680fb6352d0bbade04036da46264a8001f74b7484e2fd1f4da9e3db1c666/fastuuid-0.14.0-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:1e3cc56742f76cd25ecb98e4b82a25f978ccffba02e4bdce8aba857b6d85d87b", size = 301788, upload-time = "2025-10-19T22:36:06.825Z" }, + { url = "https://files.pythonhosted.org/packages/fa/7c/2014b5785bd8ebdab04ec857635ebd84d5ee4950186a577db9eff0fb8ff6/fastuuid-0.14.0-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:cb9a030f609194b679e1660f7e32733b7a0f332d519c5d5a6a0a580991290022", size = 459819, upload-time = "2025-10-19T22:35:31.623Z" }, + { url = "https://files.pythonhosted.org/packages/01/d2/524d4ceeba9160e7a9bc2ea3e8f4ccf1ad78f3bde34090ca0c51f09a5e91/fastuuid-0.14.0-cp313-cp313-musllinux_1_1_i686.whl", hash = "sha256:09098762aad4f8da3a888eb9ae01c84430c907a297b97166b8abc07b640f2995", size = 478546, upload-time = "2025-10-19T22:26:03.023Z" }, + { url = "https://files.pythonhosted.org/packages/bc/17/354d04951ce114bf4afc78e27a18cfbd6ee319ab1829c2d5fb5e94063ac6/fastuuid-0.14.0-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:1383fff584fa249b16329a059c68ad45d030d5a4b70fb7c73a08d98fd53bcdab", size = 450921, upload-time = "2025-10-19T22:31:02.151Z" }, + { url = "https://files.pythonhosted.org/packages/fb/be/d7be8670151d16d88f15bb121c5b66cdb5ea6a0c2a362d0dcf30276ade53/fastuuid-0.14.0-cp313-cp313-win32.whl", hash = "sha256:a0809f8cc5731c066c909047f9a314d5f536c871a7a22e815cc4967c110ac9ad", size = 154559, upload-time = "2025-10-19T22:36:36.011Z" }, + { url = "https://files.pythonhosted.org/packages/22/1d/5573ef3624ceb7abf4a46073d3554e37191c868abc3aecd5289a72f9810a/fastuuid-0.14.0-cp313-cp313-win_amd64.whl", hash = "sha256:0df14e92e7ad3276327631c9e7cec09e32572ce82089c55cb1bb8df71cf394ed", size = 156539, upload-time = "2025-10-19T22:33:35.898Z" }, + { url = "https://files.pythonhosted.org/packages/16/c9/8c7660d1fe3862e3f8acabd9be7fc9ad71eb270f1c65cce9a2b7a31329ab/fastuuid-0.14.0-cp314-cp314-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:b852a870a61cfc26c884af205d502881a2e59cc07076b60ab4a951cc0c94d1ad", size = 510600, upload-time = "2025-10-19T22:43:44.17Z" }, + { url = "https://files.pythonhosted.org/packages/4c/f4/a989c82f9a90d0ad995aa957b3e572ebef163c5299823b4027986f133dfb/fastuuid-0.14.0-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:c7502d6f54cd08024c3ea9b3514e2d6f190feb2f46e6dbcd3747882264bb5f7b", size = 262069, upload-time = "2025-10-19T22:43:38.38Z" }, + { url = "https://files.pythonhosted.org/packages/da/6c/a1a24f73574ac995482b1326cf7ab41301af0fabaa3e37eeb6b3df00e6e2/fastuuid-0.14.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:1ca61b592120cf314cfd66e662a5b54a578c5a15b26305e1b8b618a6f22df714", size = 251543, upload-time = "2025-10-19T22:32:22.537Z" }, + { url = "https://files.pythonhosted.org/packages/1a/20/2a9b59185ba7a6c7b37808431477c2d739fcbdabbf63e00243e37bd6bf49/fastuuid-0.14.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:aa75b6657ec129d0abded3bec745e6f7ab642e6dba3a5272a68247e85f5f316f", size = 277798, upload-time = "2025-10-19T22:33:53.821Z" }, + { url = "https://files.pythonhosted.org/packages/ef/33/4105ca574f6ded0af6a797d39add041bcfb468a1255fbbe82fcb6f592da2/fastuuid-0.14.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a8a0dfea3972200f72d4c7df02c8ac70bad1bb4c58d7e0ec1e6f341679073a7f", size = 278283, upload-time = "2025-10-19T22:29:02.812Z" }, + { url = "https://files.pythonhosted.org/packages/fe/8c/fca59f8e21c4deb013f574eae05723737ddb1d2937ce87cb2a5d20992dc3/fastuuid-0.14.0-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:1bf539a7a95f35b419f9ad105d5a8a35036df35fdafae48fb2fd2e5f318f0d75", size = 301627, upload-time = "2025-10-19T22:35:54.985Z" }, + { url = "https://files.pythonhosted.org/packages/cb/e2/f78c271b909c034d429218f2798ca4e89eeda7983f4257d7865976ddbb6c/fastuuid-0.14.0-cp314-cp314-musllinux_1_1_aarch64.whl", hash = "sha256:9a133bf9cc78fdbd1179cb58a59ad0100aa32d8675508150f3658814aeefeaa4", size = 459778, upload-time = "2025-10-19T22:28:00.999Z" }, + { url = "https://files.pythonhosted.org/packages/1e/f0/5ff209d865897667a2ff3e7a572267a9ced8f7313919f6d6043aed8b1caa/fastuuid-0.14.0-cp314-cp314-musllinux_1_1_i686.whl", hash = "sha256:f54d5b36c56a2d5e1a31e73b950b28a0d83eb0c37b91d10408875a5a29494bad", size = 478605, upload-time = "2025-10-19T22:36:21.764Z" }, + { url = "https://files.pythonhosted.org/packages/e0/c8/2ce1c78f983a2c4987ea865d9516dbdfb141a120fd3abb977ae6f02ba7ca/fastuuid-0.14.0-cp314-cp314-musllinux_1_1_x86_64.whl", hash = "sha256:ec27778c6ca3393ef662e2762dba8af13f4ec1aaa32d08d77f71f2a70ae9feb8", size = 450837, upload-time = "2025-10-19T22:34:37.178Z" }, + { url = "https://files.pythonhosted.org/packages/df/60/dad662ec9a33b4a5fe44f60699258da64172c39bd041da2994422cdc40fe/fastuuid-0.14.0-cp314-cp314-win32.whl", hash = "sha256:e23fc6a83f112de4be0cc1990e5b127c27663ae43f866353166f87df58e73d06", size = 154532, upload-time = "2025-10-19T22:35:18.217Z" }, + { url = "https://files.pythonhosted.org/packages/1f/f6/da4db31001e854025ffd26bc9ba0740a9cbba2c3259695f7c5834908b336/fastuuid-0.14.0-cp314-cp314-win_amd64.whl", hash = "sha256:df61342889d0f5e7a32f7284e55ef95103f2110fee433c2ae7c2c0956d76ac8a", size = 156457, upload-time = "2025-10-19T22:33:44.579Z" }, +] + [[package]] name = "filelock" version = "3.29.0" @@ -744,6 +903,15 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/ee/45/b82e3c16be2182bff01179db177fe144d58b5dc787a7d4492c6ed8b9317f/frozenlist-1.7.0-py3-none-any.whl", hash = "sha256:9a5af342e34f7e97caf8c995864c7a396418ae2859cc6fdf1b1073020d516a7e", size = 13106, upload-time = "2025-06-09T23:02:34.204Z" }, ] +[[package]] +name = "fsspec" +version = "2026.9.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/77/cd/9be253869fc42e764de7f3dedd6969af7d44ff9c3375214a3442a6f3fc08/fsspec-2026.9.0.tar.gz", hash = "sha256:0f08147951c8cb31d844c3547d631053b127863b60be04cf06e121333ee0e2fe", size = 333545, upload-time = "2026-09-18T17:50:42.825Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/6c/c0/a98505f18594f1bce828bb159cec0fcf9860562f1a2c85913409fc8f3d9e/fsspec-2026.9.0-py3-none-any.whl", hash = "sha256:8dd6e646e99ea382bd85f97a45e6b526a442d79423a7dc673f1e2756d05fcb5f", size = 221738, upload-time = "2026-09-18T17:50:41.341Z" }, +] + [[package]] name = "google-api-core" version = "2.30.3" @@ -1024,6 +1192,52 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/04/4b/29cac41a4d98d144bf5f6d33995617b185d14b22401f75ca86f384e87ff1/h11-0.16.0-py3-none-any.whl", hash = "sha256:63cf8bbe7522de3bf65932fda1d9c2772064ffb3dae62d55932da54b31cb6c86", size = 37515, upload-time = "2025-04-24T03:35:24.344Z" }, ] +[[package]] +name = "h2" +version = "4.4.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "hpack" }, + { name = "hyperframe" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/e7/85/7c366e69d84c17bb778fe41419e1fbcce3033d5b7ce29bbffff0a98b859f/h2-4.4.1.tar.gz", hash = "sha256:4e866ffb1a869ae14dd9b5e6beb5c24a13da0495ad72b65925ded182521c1516", size = 2157281, upload-time = "2026-08-03T11:45:09.509Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/7e/22/e85faf23bd72a92d1921e37d674ca56eb298a3c8be31fdecef0ff2b3aaac/h2-4.4.1-py3-none-any.whl", hash = "sha256:0e25f1462b23c9cb82d9eb02e28bc706dac2a68cb457c6a0d74d63c8a2a5d0e6", size = 62636, upload-time = "2026-08-03T11:44:59.164Z" }, +] + +[[package]] +name = "hf-xet" +version = "1.8.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/2f/18/d91c20f815df6cc496a5d0ad8db6d274dad5c0cfcd59babfa2440a9aba44/hf_xet-1.8.0.tar.gz", hash = "sha256:10ed23b51dacf7917d64f335c25048deb470efa755e9989b218fc0531386138e", size = 1013014, upload-time = "2026-10-30T10:04:33.741Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/2c/18/db7ebc58820d82fd5506aa405a75611e7a4398f573dc436f7387603bf63d/hf_xet-1.8.0-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:c74e3751cbcdae9222c5170e8d788e83201a03dc5e5f4308a20f17a5b6023b56", size = 3883873, upload-time = "2026-10-30T10:04:03.24Z" }, + { url = "https://files.pythonhosted.org/packages/37/bd/6c9ed89aafbeb4a7ee0d76d6b7b9365221e3e7ee47958aeecdc2c60a0511/hf_xet-1.8.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:56735c2d4f416d7473fc986586b26a8756e067832ca4b7fdaad32a0d6f2ce740", size = 3594510, upload-time = "2026-10-30T10:04:05.364Z" }, + { url = "https://files.pythonhosted.org/packages/0e/1f/c26154b3a053b637c0984db0db9fdacbbfc257bdc2e95e9bc0782b745b0c/hf_xet-1.8.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:3ecfe2934448cca55a4c42732b60f985266aecb241905945219b3d388aceb7ba", size = 4281780, upload-time = "2026-10-30T10:04:07.35Z" }, + { url = "https://files.pythonhosted.org/packages/e3/9e/d84c31f8e3acc286c9c6a4fd85f7f332e3db40636595f0de5ad776b69beb/hf_xet-1.8.0-cp314-cp314t-manylinux_2_28_aarch64.whl", hash = "sha256:7edeb21c5d381903ee5f4857fc746fa7b52a4b374035e8811ecfb67ee27add0c", size = 4060223, upload-time = "2026-10-30T10:04:09.029Z" }, + { url = "https://files.pythonhosted.org/packages/a4/70/c142e4ad8a679ff6ffe40964a9d017fa0211aabca9ca4d3d547c3a2fc165/hf_xet-1.8.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:07a06d7481702616726c2d8578cfb00052a5b3f21beed6a674592bc837a10330", size = 4263619, upload-time = "2026-10-30T10:04:11.085Z" }, + { url = "https://files.pythonhosted.org/packages/9d/08/92e03e3ac4eaeab046359093c447c03c8c30b577c2b1e1687dc747654f1c/hf_xet-1.8.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:f42940869572dc2b05dfe06f4cc398c6291503e086ddc4eddfb7a6ab9409ad01", size = 4493381, upload-time = "2026-10-30T10:04:13.022Z" }, + { url = "https://files.pythonhosted.org/packages/61/63/a512b2906d0f92b5d325f58169d1fd8c3202a9ee61bd8405ec78c67e5315/hf_xet-1.8.0-cp314-cp314t-win_amd64.whl", hash = "sha256:23c262e9f5e137b18dadbce60becfeea84156b0d43119c320bffe260d32cd2fa", size = 3901344, upload-time = "2026-10-30T10:04:15.051Z" }, + { url = "https://files.pythonhosted.org/packages/2d/5e/b453f82690cb36f176c4b01e64d6d32757fabbf34dbb9bcbdf747e429a79/hf_xet-1.8.0-cp314-cp314t-win_arm64.whl", hash = "sha256:62b056aedb89ac809f78940baf465fe553b70c8b25ee56890fbab3039fffec1b", size = 3731681, upload-time = "2026-10-30T10:04:16.855Z" }, + { url = "https://files.pythonhosted.org/packages/97/74/d89d5235524bc14d8519e12ca8bc5204f45009ae83d63a410f52c29eb4a8/hf_xet-1.8.0-cp38-abi3-macosx_10_12_x86_64.whl", hash = "sha256:e00d8f60170cd3dd55d98306e41dbaf28b27ff1bcfefbfa84279d197221be83e", size = 3875002, upload-time = "2026-10-30T10:04:18.958Z" }, + { url = "https://files.pythonhosted.org/packages/d4/f2/ef25e2085e92dcaeaa675331e443923aed2006f6fe2d984e15d8b8d40766/hf_xet-1.8.0-cp38-abi3-macosx_11_0_arm64.whl", hash = "sha256:3e8934784425781f0f779b91044df441f3a7af4dab47375d7e3aeaecbb8eecb4", size = 3600947, upload-time = "2026-10-30T10:04:20.906Z" }, + { url = "https://files.pythonhosted.org/packages/f8/1e/1e8ecc05ef034e9a95c18ed32d2ec07905a7cd2ca611a9d88e25ee1f4850/hf_xet-1.8.0-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:29dab7c904cd1914a0439c6e1306c12c7497c8bd32290fbe563ebf51ca4b6d6d", size = 4292483, upload-time = "2026-10-30T10:04:22.875Z" }, + { url = "https://files.pythonhosted.org/packages/35/c4/127a1548df019ea4c80f06e685f263e146075143335a02e78a3c41dbc4eb/hf_xet-1.8.0-cp38-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:8800e3444770f2c630b361bc6d5c6ebb770b7830646cf632fbb79d0e5bbc9e7f", size = 4069340, upload-time = "2026-10-30T10:04:24.664Z" }, + { url = "https://files.pythonhosted.org/packages/a5/d5/281cd82736c3e181e597588589d2204d3a5c388a464d4a2a8c546995bae9/hf_xet-1.8.0-cp38-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:a584a7b3268da62f23c3187cc7201ca01f7b610985a36b1b6119c66bccb0383c", size = 4272344, upload-time = "2026-10-30T10:04:26.519Z" }, + { url = "https://files.pythonhosted.org/packages/48/77/886f09e91a5eadb054ce03b8855323cd2a72f20db76ab4119e0ecda65eef/hf_xet-1.8.0-cp38-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:1ebaf248c9bef8bb0c9d1d8d71db1fdf0cac14f922cc7a936a81adbf12eb5f01", size = 4500689, upload-time = "2026-10-30T10:04:28.394Z" }, + { url = "https://files.pythonhosted.org/packages/97/4d/2c76a992b370ff77d0b5219275779f8c9a7dabb8ee649deb265dfed84d0f/hf_xet-1.8.0-cp38-abi3-win_amd64.whl", hash = "sha256:92188598dedc1e1f5609bd718d4db8687a6c89915553912571e2f587892eecec", size = 3911559, upload-time = "2026-10-30T10:04:30.165Z" }, + { url = "https://files.pythonhosted.org/packages/87/91/fdb1454a43eff8011047d176ada2f0fb4926cf3d74b87357ff35793f6d98/hf_xet-1.8.0-cp38-abi3-win_arm64.whl", hash = "sha256:42b66fdc688eaa4ff3eb77dc9275e5a0f1258ecc9fdd083ddaf43bb49bec925b", size = 3738458, upload-time = "2026-10-30T10:04:31.882Z" }, +] + +[[package]] +name = "hpack" +version = "4.2.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/26/5b/fcabf6028144a8723726318b07a32c2f3314acdff6265743cf08a344b18e/hpack-4.2.0.tar.gz", hash = "sha256:0895cfa3b5531fc65fe439c05eb65144f123bf7a394fcaa56aa423548d8e45c0", size = 51300, upload-time = "2026-06-23T18:34:46.667Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/71/b4/4a9fcfb2aef6ba44d9073ecd301443aa00b3dac95de5619f2a7de7ec8a91/hpack-4.2.0-py3-none-any.whl", hash = "sha256:858ac0b02280fa582b5080d68db0899c62a80375e0e5413a74970c5e518b6986", size = 34246, upload-time = "2026-06-23T18:34:45.472Z" }, +] + [[package]] name = "httpcore" version = "1.0.9" @@ -1037,6 +1251,42 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/7e/f5/f66802a942d491edb555dd61e3a9961140fd64c90bce1eafd741609d334d/httpcore-1.0.9-py3-none-any.whl", hash = "sha256:2d400746a40668fc9dec9810239072b40b4484b640a8c38fd654a024c7a1bf55", size = 78784, upload-time = "2025-04-24T22:06:20.566Z" }, ] +[[package]] +name = "httpcore2" +version = "2.14.0" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version < '3.11'", +] +dependencies = [ + { name = "h11", marker = "python_full_version < '3.11'" }, + { name = "truststore", marker = "python_full_version < '3.11'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/30/ff/b53af1b49bb2cb5fa97c92215614b173ca5c1a99ded80e2d52f15a94fa6d/httpcore2-2.14.0.tar.gz", hash = "sha256:4f57a1a8249fe6af589d935cfd456f1d13bbdcb0f0fc72af9142368fc94811d7", size = 69096, upload-time = "2026-10-18T16:29:21.898Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/02/06/a8d6a8f90d11b76d9086242b6bb0ee4b503473bfc8be34c2d5b067275c22/httpcore2-2.14.0-py3-none-any.whl", hash = "sha256:4c4f64f4b544afeb778c42c0ffb5941b29e671157e90ed3f6dc787c4bca90cd1", size = 84291, upload-time = "2026-10-18T16:29:19.743Z" }, +] + +[[package]] +name = "httpcore2" +version = "2.16.0" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version >= '3.15'", + "python_full_version == '3.14.*'", + "python_full_version == '3.13.*'", + "python_full_version == '3.12.*'", + "python_full_version == '3.11.*'", +] +dependencies = [ + { name = "h11", marker = "python_full_version >= '3.11'" }, + { name = "truststore", marker = "python_full_version >= '3.11'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/c0/61/afa9d6b7452f9eca73f73d45324eb0bb52f098fd5e6049bf6b8263be9b4e/httpcore2-2.16.0.tar.gz", hash = "sha256:c72cd0413563b17e1cd8354677dff887466f8ec2551679759e93126534428643", size = 69886, upload-time = "2026-10-21T07:09:45.31Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/af/c2/ce417c397afa5181f0e3c6ff01a4d01639414e1adef08730d97571297151/httpcore2-2.16.0-py3-none-any.whl", hash = "sha256:5c4358319f2602d984ad93182c9fee5160f22e9da7babdda870a5e7c4e2dc34f", size = 85070, upload-time = "2026-10-21T07:09:42.802Z" }, +] + [[package]] name = "httpx" version = "0.28.1" @@ -1053,6 +1303,11 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/2a/39/e50c7c3a983047577ee07d2a9e53faf5a69493943ec3f6a384bdc792deb2/httpx-0.28.1-py3-none-any.whl", hash = "sha256:d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad", size = 73517, upload-time = "2024-12-06T15:37:21.509Z" }, ] +[package.optional-dependencies] +http2 = [ + { name = "h2" }, +] + [[package]] name = "httpx-sse" version = "0.4.3" @@ -1062,13 +1317,108 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/d2/fd/6668e5aec43ab844de6fc74927e155a3b37bf40d7c3790e49fc0406b6578/httpx_sse-0.4.3-py3-none-any.whl", hash = "sha256:0ac1c9fe3c0afad2e0ebb25a934a59f4c7823b60792691f779fad2c5568830fc", size = 8960, upload-time = "2025-10-10T21:48:21.158Z" }, ] +[[package]] +name = "httpx2" +version = "2.14.0" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version < '3.11'", +] +dependencies = [ + { name = "anyio", version = "4.14.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11' and sys_platform != 'emscripten'" }, + { name = "httpcore2", version = "2.14.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11' and sys_platform != 'emscripten'" }, + { name = "idna", marker = "python_full_version < '3.11'" }, + { name = "truststore", marker = "python_full_version < '3.11' and sys_platform != 'emscripten'" }, + { name = "typing-extensions", version = "4.15.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/e8/67/58353f1848b4ba568e1ec22ea1e0d8e039f0bca5fde7e2d1f07739fd83e7/httpx2-2.14.0.tar.gz", hash = "sha256:47ad61a3c40282cd8d0dc96311531f00f5bfc71a066c6fe3b36d8f63fb9e4f6e", size = 102036, upload-time = "2026-10-18T16:29:22.627Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/69/5a/469616aa8c2cbb0bb9dd67a3c18d07c01ab604cc0b236ee1c47d260c7f6e/httpx2-2.14.0-py3-none-any.whl", hash = "sha256:9d20c13a10bae1773a0be3b0f1e5beeb4bdd549bc3a2ba18efa32897c65403e4", size = 96901, upload-time = "2026-10-18T16:29:20.819Z" }, +] + +[[package]] +name = "httpx2" +version = "2.16.0" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version >= '3.15'", + "python_full_version == '3.14.*'", + "python_full_version == '3.13.*'", + "python_full_version == '3.12.*'", + "python_full_version == '3.11.*'", +] +dependencies = [ + { name = "anyio", version = "4.16.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11' and sys_platform != 'emscripten'" }, + { name = "httpcore2", version = "2.16.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11' and sys_platform != 'emscripten'" }, + { name = "httpx2-jsfetch", marker = "python_full_version >= '3.12' and sys_platform == 'emscripten'" }, + { name = "idna", marker = "python_full_version >= '3.11'" }, + { name = "truststore", marker = "python_full_version >= '3.11' and sys_platform != 'emscripten'" }, + { name = "typing-extensions", version = "4.16.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11' and python_full_version < '3.13'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/43/73/5ca2cedf5e4e50423d1c258877865a6b62793633b561c58499f8aeb33b7e/httpx2-2.16.0.tar.gz", hash = "sha256:0d54c98128e8f2ff7fbbde0fca8c359e5f032edeaaaac443cdb7f31f685bcd7f", size = 103116, upload-time = "2026-10-21T07:09:46.348Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/7b/3d/2e4bc4fd1ef9770871669adb348d612a6e4786b303a23f9935b81c48dd60/httpx2-2.16.0-py3-none-any.whl", hash = "sha256:fd2c5d7909e8d86fe92d53020c310ca0e4e431b838c207c5754b9bbf0308d49a", size = 97880, upload-time = "2026-10-21T07:09:44.01Z" }, +] + +[[package]] +name = "httpx2-jsfetch" +version = "1.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/cd/c4/0e5636363151a2a1795e0a77617168b9ca438e1748ec05fc9b5687f93d64/httpx2_jsfetch-1.0.tar.gz", hash = "sha256:70a0e3eabfef7cce5ad9c629f7d01ca05e418f586646f4ddf14782e4c1454c60", size = 6872, upload-time = "2026-08-07T00:13:07.492Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/9b/43/832f631d32e4f1211caa2ba368317739fe71f0b8530e4c9d15dc454bac2a/httpx2_jsfetch-1.0-py3-none-any.whl", hash = "sha256:cb916b707601e69a07721aabc8f3f6659be3a6893bc1ff5c6f9e02241df2da32", size = 6382, upload-time = "2026-08-07T00:13:06.567Z" }, +] + +[[package]] +name = "huggingface-hub" +version = "1.33.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "click" }, + { name = "filelock" }, + { name = "fsspec" }, + { name = "hf-xet", marker = "platform_machine == 'AMD64' or platform_machine == 'aarch64' or platform_machine == 'amd64' or platform_machine == 'arm64' or platform_machine == 'x86_64'" }, + { name = "httpx" }, + { name = "packaging" }, + { name = "pyyaml" }, + { name = "tomli", marker = "python_full_version < '3.11'" }, + { name = "tqdm" }, + { name = "typing-extensions", version = "4.15.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, + { name = "typing-extensions", version = "4.16.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/25/2a/484d112c0d8fc5f665d7b65137ac9cdb2953c982391598c3597968a12ee7/huggingface_hub-1.33.0.tar.gz", hash = "sha256:367be21a201db9523eddf8aeac7048f2602c1b308691c97640d5e72ed188007e", size = 1043548, upload-time = "2026-09-24T09:49:29.971Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/fc/16/963096d224b80909432dc16561a615fd33d2d13beef3ce4c63fa25e40867/huggingface_hub-1.33.0-py3-none-any.whl", hash = "sha256:04e434b06e100eddbce9a6e817d72693a7884b10a79bd67ab48080d5c07eb899", size = 846435, upload-time = "2026-09-24T09:49:28.059Z" }, +] + +[[package]] +name = "hyperframe" +version = "6.1.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/02/e7/94f8232d4a74cc99514c13a9f995811485a6903d48e5d952771ef6322e30/hyperframe-6.1.0.tar.gz", hash = "sha256:f630908a00854a7adeabd6382b43923a4c4cd4b821fcb527e6ab9e15382a3b08", size = 26566, upload-time = "2025-01-22T21:41:49.302Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/48/30/47d0bf6072f7252e6521f3447ccfa40b421b6824517f82854703d0f5a98b/hyperframe-6.1.0-py3-none-any.whl", hash = "sha256:b03380493a519fce58ea5af42e4a42317bf9bd425596f7a0835ffce80f1a42e5", size = 13007, upload-time = "2025-01-22T21:41:47.295Z" }, +] + [[package]] name = "idna" -version = "3.10" +version = "3.20" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/f1/70/7703c29685631f5a7590aa73f1f1d3fa9a380e654b86af429e0934a32f7d/idna-3.10.tar.gz", hash = "sha256:12f65c9b470abda6dc35cf8e63cc574b1c52b11df2c86030af0ac09b01b13ea9", size = 190490, upload-time = "2024-09-15T18:07:39.745Z" } +sdist = { url = "https://files.pythonhosted.org/packages/f5/08/8eea9d4b8302028f3abb2c0813953f7aec26d33b7a8960ed760e65ff29fa/idna-3.20.tar.gz", hash = "sha256:a7db850025b95ded1eae8a46181a1a6c56c92c96f0e2b005d9ff8dc0210cab44", size = 216463, upload-time = "2026-09-17T14:11:04.752Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/76/c6/c88e154df9c4e1a2a66ccf0005a88dfb2650c1dffb6f5ce603dfbd452ce3/idna-3.10-py3-none-any.whl", hash = "sha256:946d195a0d259cbba61165e88e65941f16e9b36ea6ddb97f00452bae8b1287d3", size = 70442, upload-time = "2024-09-15T18:07:37.964Z" }, + { url = "https://files.pythonhosted.org/packages/58/a2/bb081bab032533a855d44de1d56f8e8426114ff1ba5d1f07a438a0a654f8/idna-3.20-py3-none-any.whl", hash = "sha256:ab7ae7122974553370f0bdb919e1a960b2cd1bc1ef0276416d896db81c14582c", size = 69583, upload-time = "2026-09-17T14:11:03.168Z" }, +] + +[[package]] +name = "importlib-metadata" +version = "8.9.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "zipp" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/e7/72/c600ae4f68c28fc19f9c31b9403053e5dbb8cace2e6842c7b7c3e4d42fe9/importlib_metadata-8.9.0.tar.gz", hash = "sha256:58850626cef4bd2df100378b0f2aea9724a7b92f10770d547725b047078f99ee", size = 56140, upload-time = "2026-03-20T16:56:26.362Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/7d/f9/97f2ca8bb3ec6e4b1d64f983ebe98b9a192faddff67fac3d6303a537e670/importlib_metadata-8.9.0-py3-none-any.whl", hash = "sha256:e0f761b6ea91ced3b0844c14c9d955224d538105921f8e6754c00f6ca79fba7f", size = 27220, upload-time = "2026-03-20T16:56:25.07Z" }, ] [[package]] @@ -1080,6 +1430,266 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/2c/e1/e6716421ea10d38022b952c159d5161ca1193197fb744506875fbb87ea7b/iniconfig-2.1.0-py3-none-any.whl", hash = "sha256:9deba5723312380e77435581c6bf4935c94cbfab9b1ed33ef8d238ea168eb760", size = 6050, upload-time = "2025-03-19T20:10:01.071Z" }, ] +[[package]] +name = "jinja2" +version = "3.1.6" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "markupsafe" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/df/bf/f7da0350254c0ed7c72f3e33cef02e048281fec7ecec5f032d4aac52226b/jinja2-3.1.6.tar.gz", hash = "sha256:0137fb05990d35f1275a587e9aee6d56da821fc83491a0fb838183be43f66d6d", size = 245115, upload-time = "2025-03-05T20:05:02.478Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/62/a1/3d680cbfd5f4b8f15abc1d571870c5fc3e594bb582bc3b64ea099db13e56/jinja2-3.1.6-py3-none-any.whl", hash = "sha256:85ece4451f492d0c13c5dd7c13a64681a86afae63a5f347908daf103ce6d2f67", size = 134899, upload-time = "2025-03-05T20:05:00.369Z" }, +] + +[[package]] +name = "jiter" +version = "0.18.0" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version < '3.11'", +] +sdist = { url = "https://files.pythonhosted.org/packages/63/5b/f68319f4fe624311a744a33d10fdbcac4c971991e348223cba60d31780b2/jiter-0.18.0.tar.gz", hash = "sha256:a0ca63fd9450a212e4e658d4cfe0ab4977c4f9b0003c68828b843c65e27662ff", size = 234470, upload-time = "2026-10-23T13:51:13.103Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/75/cd/659a700d5a8524960711a8b4fa5143b32c1deeb76b4503e648f48c9d8a99/jiter-0.18.0-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:74b8d31a39b9d22293c75bfdf0e6ab54d9dc16d32b540b2cb8f7c162961769ee", size = 289675, upload-time = "2026-10-23T13:48:38.07Z" }, + { url = "https://files.pythonhosted.org/packages/03/1a/1a0c57e6eacb7497abe18d83434360373793c824a97973212c7a99390b19/jiter-0.18.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:77d61c53ab1732e84ad20f77c44bfc761183ef323eef84a59ffdd9201bd51386", size = 318743, upload-time = "2026-10-23T13:48:39.53Z" }, + { url = "https://files.pythonhosted.org/packages/7a/72/b965c0df9bf6f9cb834ebd181f1f7ec7f376cb3e589c6169c596b6e5d6e6/jiter-0.18.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6ea6d553fe513447a7a8ef6175aeacecd9a6dbb7f68f9215c751389c58e1288c", size = 339163, upload-time = "2026-10-23T13:48:40.84Z" }, + { url = "https://files.pythonhosted.org/packages/88/33/bfdf32c15b55fba17d6af25f8878c9a23b15e000877af802808a0fb2b00c/jiter-0.18.0-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:7779088592f8994e021cd79b9b334f41363cfa10a654af9bd5dd82b99c80497f", size = 323880, upload-time = "2026-10-23T13:48:42.141Z" }, + { url = "https://files.pythonhosted.org/packages/b7/72/882cba4fd704137f71fa99686e9492eda6a462523b417ce05c601c3378cd/jiter-0.18.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:879cf95bb0266643c1e8214be0862f2dd7186c9bb2e279f63d7b5fe099cb9a4b", size = 336028, upload-time = "2026-10-23T13:48:43.452Z" }, + { url = "https://files.pythonhosted.org/packages/85/f8/119ed3573d65d8a84b38864a2dcb10b9c5ce05316e06576e66fa55ec9e75/jiter-0.18.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1b291352b1f7dcf095b2a9d540777d59588c81685cc23f7c53f4356e07385e62", size = 349753, upload-time = "2026-10-23T13:48:44.672Z" }, + { url = "https://files.pythonhosted.org/packages/21/d4/88f08cf7189c3070a029a7ab3f22334f138c8664d731f574f6034928bed6/jiter-0.18.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a4ff2d7905b0f3f5c54b29626c7747cd4af3fcddfdedf0cce75fbd06b66e4d40", size = 337248, upload-time = "2026-10-23T13:48:45.968Z" }, + { url = "https://files.pythonhosted.org/packages/2a/f3/22782c5d97bb8947e3a27957e53d90bf4c031c4f9274dc85099c8beba6ef/jiter-0.18.0-cp310-cp310-manylinux_2_31_riscv64.whl", hash = "sha256:4d5ce30facd564d97aceb49013a02661daef1cf9c34ce322c1afbb841f1e5984", size = 316496, upload-time = "2026-10-23T13:48:47.615Z" }, + { url = "https://files.pythonhosted.org/packages/7e/a2/cf0e87e7fe7345aa78e6a85b94f0e4d91e57d2ae233f11b6a15931ca1edb/jiter-0.18.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:131446a60b54ff9d4db62633a74189056387f6b2ad4e5171d3e7ed7977e31eb4", size = 334004, upload-time = "2026-10-23T13:48:49.058Z" }, + { url = "https://files.pythonhosted.org/packages/76/64/461748f1d0e7554f814f1467b57ce45bd92ef1922f1457fd6aa19413d717/jiter-0.18.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:389f5379f7cc5b09f6586db99bf91c5d828fac88f1a52fdeb4fc3b040c1dacc9", size = 481838, upload-time = "2026-10-23T13:48:50.288Z" }, + { url = "https://files.pythonhosted.org/packages/0f/b1/65940d140ff84426c0bd495e2b07c81ec61873264fcf302af7d12d6ec1de/jiter-0.18.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:db7804a8d3a433a3c5e08cd658ea69a6ee9a2ee43b756dd20048dae5a3d7ac67", size = 516434, upload-time = "2026-10-23T13:48:52.064Z" }, + { url = "https://files.pythonhosted.org/packages/fc/3e/1e4a62c1f8261f074069323f957b2a8b7fb62cd1c2962164bcf6f3de0b47/jiter-0.18.0-cp310-cp310-win32.whl", hash = "sha256:5c2a5dac57aec416140812f6d3824cdaf1da8a4f8f009ece64e50f507b6a709a", size = 187926, upload-time = "2026-10-23T13:48:53.314Z" }, + { url = "https://files.pythonhosted.org/packages/08/bb/ba0f2ff7a98030228eebc897928c6a5cb63be2f46bb64df805c8371fc408/jiter-0.18.0-cp310-cp310-win_amd64.whl", hash = "sha256:a447ed784b8013b518e0b1effe05424d5dfaa6974fed69aebdd4c1349d82fc54", size = 225049, upload-time = "2026-10-23T13:48:54.496Z" }, + { url = "https://files.pythonhosted.org/packages/5d/d1/014e38e099c9600dfd026962b454833538b82d9364ff9ed7414b5e5aa6e5/jiter-0.18.0-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:97cdff6fffc79d915e3d2691110e014f3f43c7529a73c0bfe8de63530b6efbd9", size = 289390, upload-time = "2026-10-23T13:48:55.902Z" }, + { url = "https://files.pythonhosted.org/packages/ca/3f/f5b9d63db432b4938c972f04a6e541232af85169140c061b227f6690f9fd/jiter-0.18.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:c938de3832ca88ca879bbf0c24673cbe0176b502eec8d2364f35c9edb9bdf890", size = 319955, upload-time = "2026-10-23T13:48:57.407Z" }, + { url = "https://files.pythonhosted.org/packages/d0/e1/ebf515f2cbbdabc8393783b7048c1aac9d9d171bf7d9dab26ca10a9fe9f8/jiter-0.18.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0a41d8ef9f757fd5c11ce2fa56c9c4d008d857e97b6d0edfccbaacbd50830a75", size = 337385, upload-time = "2026-10-23T13:48:58.629Z" }, + { url = "https://files.pythonhosted.org/packages/18/c6/c55d469b5a346070dbfb842316cea8e73a8ba1a96dd65c60b16ec36cda38/jiter-0.18.0-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:b2cad787346aa8f458ed6d5ecbbe3b6dd13d6d40fdbaa44980c9e29a8b536048", size = 323553, upload-time = "2026-10-23T13:49:00.002Z" }, + { url = "https://files.pythonhosted.org/packages/9a/80/5f31105f07b9de70dade7aa074cccdf18f3e5df3632377ad05ecfd58cfa6/jiter-0.18.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3027e8ec2c86106bfd4b125af27aa6dd5eed2ab63427c35138e039931a98ba7c", size = 335724, upload-time = "2026-10-23T13:49:01.281Z" }, + { url = "https://files.pythonhosted.org/packages/39/99/ef5380973360aa6d7e4a33e60b1ab5e9c88fd7fc25671c683383522532be/jiter-0.18.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2485807c282b6df64d9135551c2d8e9ac2b098b4c85157979fc7ca8bd884a3b4", size = 349366, upload-time = "2026-10-23T13:49:02.476Z" }, + { url = "https://files.pythonhosted.org/packages/85/93/f133c7b38cc1bc7516929e9d82a28caa6a4403b4d4c5c9c1d39170128dee/jiter-0.18.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:55f808bce951fae459fc916359cc54097d386bef3e72265ddf02b39ba3275118", size = 337085, upload-time = "2026-10-23T13:49:03.72Z" }, + { url = "https://files.pythonhosted.org/packages/a0/1c/19a54abb30b83bccef20b24be95c637d634033208ba7252e2989f38e8657/jiter-0.18.0-cp311-cp311-manylinux_2_31_riscv64.whl", hash = "sha256:4656c4b24fd711d6caa61cb2fe895dcc55d0d6944828df23f2fb05504435204b", size = 316184, upload-time = "2026-10-23T13:49:05.102Z" }, + { url = "https://files.pythonhosted.org/packages/76/b4/011a8a05b5548a02166621183fdd64473d6f6d0cd394758e26eba4831327/jiter-0.18.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:5893dc87a2a5297e271dfc5f8f710c3e61ebeb64c137a0b4b786d5bcd11c8fb7", size = 333660, upload-time = "2026-10-23T13:49:06.345Z" }, + { url = "https://files.pythonhosted.org/packages/30/6b/9fedf0a78535bca9d8136756dae50e58229c16b4d9cf8c78e101b5b606fe/jiter-0.18.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:867a217d4a1857fba97c4cc5dc82a38ea257beee8c2a753b3d9b9310c01d12c0", size = 481791, upload-time = "2026-10-23T13:49:07.709Z" }, + { url = "https://files.pythonhosted.org/packages/91/64/e096051c182695ebb55011977016ec9c6af0e4135468653b1193a2d3f4eb/jiter-0.18.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:1df7b0ce46d869c49c77670ba31db737d96fd1bd4ae44d790d33bb731962c994", size = 516155, upload-time = "2026-10-23T13:49:09.086Z" }, + { url = "https://files.pythonhosted.org/packages/f7/9b/c36f7de00722441c7de54760200209e65445e7ea659d68c8f1c8be40df6a/jiter-0.18.0-cp311-cp311-win32.whl", hash = "sha256:b8b97658b0914e90a352a9a1d515e597bcc89c88514fe4bcb4e37fa2a2fbaa29", size = 187739, upload-time = "2026-10-23T13:49:10.365Z" }, + { url = "https://files.pythonhosted.org/packages/4d/3e/f17099d841ccb1603d1223941b845bf38503f540aa6be8e9d50c8488f98f/jiter-0.18.0-cp311-cp311-win_amd64.whl", hash = "sha256:8ad1a36e3d5ebbff515b85468d8e279b336eaa326953b1b36fa21d5e2b8e8f9d", size = 219536, upload-time = "2026-10-23T13:49:11.611Z" }, + { url = "https://files.pythonhosted.org/packages/58/35/c807b0274be3179bf971d56152a9fc9ac216b3afd169b6100a7fb9351892/jiter-0.18.0-cp311-cp311-win_arm64.whl", hash = "sha256:908f310576554379becf2e8c7730a8962693ebfba9395a54ef3c05c57b1cd9d8", size = 185718, upload-time = "2026-10-23T13:49:12.834Z" }, + { url = "https://files.pythonhosted.org/packages/45/0e/075bfa4fa46820da9ac8cf8a67c435b0586012279fba15deccde0e73b9ce/jiter-0.18.0-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:77a01cdf4381a1becbe5b827f682006f47b712581667451c5b1eb259b9ae7041", size = 290095, upload-time = "2026-10-23T13:49:14.118Z" }, + { url = "https://files.pythonhosted.org/packages/2e/e2/f4000a4d9c519ca019bf0e2922cc0c6b6db347be6303161382eda7635be7/jiter-0.18.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:7b41cd64ee6b54db94bea6274e6e37002ed526aa06c114a8be6f36ffe21c184e", size = 316319, upload-time = "2026-10-23T13:49:15.263Z" }, + { url = "https://files.pythonhosted.org/packages/51/93/9aaef4d18d19446fd044b9cff0323b1b45b5526f077f1a80418567a6eef8/jiter-0.18.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d7424194e68ef44e94290961f59319850d7ce11a329a3957f91709c15ded6618", size = 335631, upload-time = "2026-10-23T13:49:16.551Z" }, + { url = "https://files.pythonhosted.org/packages/fd/9e/d2dc5e8179e248df7ef1c7c8822554f4c7f694a33be30790bb523f1e657a/jiter-0.18.0-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:04a484fce032a8b2c21dec0410a805d7b16573eb34297156a3b4d242c507d2b4", size = 322596, upload-time = "2026-10-23T13:49:17.875Z" }, + { url = "https://files.pythonhosted.org/packages/22/ca/28bfd20743be0b2b37c1ddfe069a637d5180e535f1c8faad555cf7ac0b98/jiter-0.18.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:860ac97858116bda0ac02ef5f50c541fc1a84ad7b9368cac68d4de5697a9012d", size = 333858, upload-time = "2026-10-23T13:49:19.343Z" }, + { url = "https://files.pythonhosted.org/packages/69/89/e42f7dba54dcf7787aa4be3e22cdcb1f14d9635b6527949652ab490d6f8e/jiter-0.18.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:39ef656cf371971486ec545ca0ae2da8d037d5479bc906121e3e46de86ee73c4", size = 348656, upload-time = "2026-10-23T13:49:20.796Z" }, + { url = "https://files.pythonhosted.org/packages/74/6a/b13407f609ddaf9a1f0cdf1336326dc5c8c7fc56943e8450a04a542f5edf/jiter-0.18.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b3c741e6b778c951a6861964ee475118812a33208426c54fb92bf4e318bda834", size = 336286, upload-time = "2026-10-23T13:49:22.152Z" }, + { url = "https://files.pythonhosted.org/packages/b2/7e/b560f97495a485a569e7fa338a13587328854f6a40cd2e93602c327ca4a6/jiter-0.18.0-cp312-cp312-manylinux_2_31_riscv64.whl", hash = "sha256:1277ac083a58d2f49a24ff9a28fd9876a6443a1992d4467a1db80fb45e354b18", size = 314415, upload-time = "2026-10-23T13:49:23.645Z" }, + { url = "https://files.pythonhosted.org/packages/8b/97/457b6ec16f1f3f25ec760f23728f43a2b20ddf934fcd8f02c81a2183597e/jiter-0.18.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:ccf224d2e706be81d464b59c2bc3f98ba65d12c092c1789e625127e64488944e", size = 332078, upload-time = "2026-10-23T13:49:24.917Z" }, + { url = "https://files.pythonhosted.org/packages/0e/d9/6f616071650f7bb8fcbce674d4dde7e59cfbd8a4d30f5c71c03630425d6e/jiter-0.18.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:5c7fc8e5357d1ad082bb177be71e398fcd3d458726439255ca5cb0d706060269", size = 480354, upload-time = "2026-10-23T13:49:26.221Z" }, + { url = "https://files.pythonhosted.org/packages/42/72/52a3630c8213cdc8093cc86dc6ad50f2bc89ccfa97ef272205d38a24e16d/jiter-0.18.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:a6bba0404b46157a651d1fe512cf2c59c8e42836a9284c35cdff35310758ba4f", size = 515322, upload-time = "2026-10-23T13:49:27.652Z" }, + { url = "https://files.pythonhosted.org/packages/31/54/987cfee52bdf8a286e9c1c58192a9bb64f8773a6be36e4ec46959f67fb7e/jiter-0.18.0-cp312-cp312-win32.whl", hash = "sha256:07ae058bc052ead609b49bbae78c01bf4dee8f5f9d21705cbae9bfe59b33efc9", size = 185341, upload-time = "2026-10-23T13:49:29.147Z" }, + { url = "https://files.pythonhosted.org/packages/c5/c9/b1279eecf68e5f62c918af3f7f856a071ae7db0c90b8fd2235b1b6020c8c/jiter-0.18.0-cp312-cp312-win_amd64.whl", hash = "sha256:79d1fe529bd7065c6f3f50279a08c2ab82eaa0631a6f5dfafa9c65105eeaaafa", size = 225889, upload-time = "2026-10-23T13:49:30.306Z" }, + { url = "https://files.pythonhosted.org/packages/e0/14/715f84be58a7fc97779aa40c37164acfa25ccb2cee89bfb69358e7071ff3/jiter-0.18.0-cp312-cp312-win_arm64.whl", hash = "sha256:1f8b3b3d8761dee3cddcb5d3e99eaccc0155bbefc345affcdedcc758a4933a1f", size = 181852, upload-time = "2026-10-23T13:49:31.811Z" }, + { url = "https://files.pythonhosted.org/packages/50/94/aa275cdb099fd84e402977f8fc8628e2cee2f7c8eafe1d1d5c5e722f5ee5/jiter-0.18.0-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:1517648b5f6268513dea206241a99d9991d6ffcbdbc406848e77a7f02ed3ccf1", size = 289648, upload-time = "2026-10-23T13:49:33.059Z" }, + { url = "https://files.pythonhosted.org/packages/8d/30/3eaf67279c6183393d3608b6713c93668ae82ea59f0589ea59d8176d8741/jiter-0.18.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:7161217e2190b9b2c8c79b81699be29d67010f6f77e09a53a3b62261792d5489", size = 315919, upload-time = "2026-10-23T13:49:34.457Z" }, + { url = "https://files.pythonhosted.org/packages/f8/2b/d18adcfec3516b97b24c0d5cd1b0ced22cada8ea9806f21bece75af49ffe/jiter-0.18.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9623fc90f1a4754452a525383ce70476476c16556098944709b8cdbd9ad905f0", size = 335231, upload-time = "2026-10-23T13:49:35.776Z" }, + { url = "https://files.pythonhosted.org/packages/41/e8/42cff1077883ea5311621dc9384a1ede4799bc3c01411798ac75f7a71f15/jiter-0.18.0-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:f9083a7c2a4ee6358bc0401c46b4d5090f208f6fadfb6275c7b5fe3217e13506", size = 321590, upload-time = "2026-10-23T13:49:36.997Z" }, + { url = "https://files.pythonhosted.org/packages/1d/4d/2fbedfce563223d4783a872cead5f5bb74d2d1e418f963410ca28e4b7394/jiter-0.18.0-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4632f5172800da4cd42fd53f4553c772acd08f1c33dd7ac135e29d735080fa0d", size = 332960, upload-time = "2026-10-23T13:49:38.615Z" }, + { url = "https://files.pythonhosted.org/packages/04/a0/b082b2d8bd3bef9a888cc0a0f060a24644f24b5195f2e8227a40507e6b71/jiter-0.18.0-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c00b1f8fc1dd06c610305be36778b38148ed1e9a532bdd81189c3c0d9905c888", size = 348149, upload-time = "2026-10-23T13:49:39.826Z" }, + { url = "https://files.pythonhosted.org/packages/64/11/babc8d3c004bb2f11b7e3adfe27a5bc7c1e13cdfc6360d424c57355c55ff/jiter-0.18.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6e3350b7431f7b8315b925d9ca0f29a44e8fb6ed45c1fe552392cb6297966bb9", size = 335978, upload-time = "2026-10-23T13:49:41.165Z" }, + { url = "https://files.pythonhosted.org/packages/3b/21/c50bf83c39d60f0df896ebcb025b316b670a703397d08bea2c69b9615101/jiter-0.18.0-cp313-cp313-manylinux_2_31_riscv64.whl", hash = "sha256:3b49071fb7917cdbc6d80c81a491c6ad146c1a8fd6cb3076cd3c1bfeb6e266f6", size = 313767, upload-time = "2026-10-23T13:49:42.538Z" }, + { url = "https://files.pythonhosted.org/packages/af/19/3f66480d5bfd3f49571a073eefac4d890dd590a8eb3c78b15e0293909cc6/jiter-0.18.0-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:04e210f5ddcccdbde484821040216a112381e6484abc549c20c38e9698ab07ca", size = 331070, upload-time = "2026-10-23T13:49:43.782Z" }, + { url = "https://files.pythonhosted.org/packages/5a/3d/b5662c84b14475c8b018ed1ca2ea44069194b7d97a03bac81ae6b46f6b9f/jiter-0.18.0-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:5b339f6ae14fe7be92f391cc65cc5c80ff76e8da76d63b18fc14664f09b7cece", size = 479939, upload-time = "2026-10-23T13:49:45.033Z" }, + { url = "https://files.pythonhosted.org/packages/80/b8/081c0414379ee2564aa7808f78e963538a2c4aed2f8d31775e2423e1cdbf/jiter-0.18.0-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:5cb43336244e063f9cc11e44730e4b92dea70c6eb9b649d268c5ebebc4bc7685", size = 514734, upload-time = "2026-10-23T13:49:46.236Z" }, + { url = "https://files.pythonhosted.org/packages/0f/1c/6f7bf98786851ae424a1d88562586302536cc137848fd12d2add3960fab3/jiter-0.18.0-cp313-cp313-win32.whl", hash = "sha256:9656d0e9001f69c4af6523874ff445ab4e5db7b835f59733cc5ff51e73a9aa57", size = 184699, upload-time = "2026-10-23T13:49:47.398Z" }, + { url = "https://files.pythonhosted.org/packages/38/53/5803216c024a241a0bf41ed2668713d7228f92c5593e40d5e873e3b20e0b/jiter-0.18.0-cp313-cp313-win_amd64.whl", hash = "sha256:8f26198220165eb9627847401fff4d0ca8bebf3ef840a88c6312918d2291c33a", size = 222493, upload-time = "2026-10-23T13:49:48.533Z" }, + { url = "https://files.pythonhosted.org/packages/fe/8e/484919ccb041c9a1e84059be02bd37ff086b8b084e21630e0958d3ae41a3/jiter-0.18.0-cp313-cp313-win_arm64.whl", hash = "sha256:bef1fe687dc6af17bef9f644a95d465f15f0efa20b743c858e0b6a14e2c0c73e", size = 181250, upload-time = "2026-10-23T13:49:49.777Z" }, + { url = "https://files.pythonhosted.org/packages/74/0e/45a502771d73d4a939132d8bf85d7b049c7ca06a07f84b414b525c3dc084/jiter-0.18.0-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:248e939f67a9f8030e2624260a9f417decfe275af37aa96728d256468a9c4086", size = 291757, upload-time = "2026-10-23T13:49:50.95Z" }, + { url = "https://files.pythonhosted.org/packages/21/f6/d9cfa2bf2a969fb8e002fb8d8a6cd98d49a6248cb7e4ffe2247766af13fb/jiter-0.18.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:0390fa550fcafbf69fb97ccb287bd71192f90410a1c7dd600ca4000aa9aabcf2", size = 318585, upload-time = "2026-10-23T13:49:52.407Z" }, + { url = "https://files.pythonhosted.org/packages/46/38/ea1dae56f123e3a864188cbbc577314293c0dcc019a880fa9c0a8097934a/jiter-0.18.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d8013186f2b9a8c27ededa601050392527aa9d27ffd35d49aae424fbd2062f38", size = 338099, upload-time = "2026-10-23T13:49:53.658Z" }, + { url = "https://files.pythonhosted.org/packages/1f/d9/fcc5c53a32f98d52f4fd46fda62b69f5c7c2c975a582c0e18501250a4f78/jiter-0.18.0-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:bd4316df8e2074fcf5173f6001f1fc9596e7c1e8c4bf499b02f9ebe92babdfb1", size = 324016, upload-time = "2026-10-23T13:49:54.999Z" }, + { url = "https://files.pythonhosted.org/packages/d4/63/c24cd08907f08e6a3ba3173616ad268a3d32dd81c63ba34b991d08577d28/jiter-0.18.0-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a9e474da7a9f65d3b460cca93cc8a0f4ec0220d1fa41f1f7a3709195ead60056", size = 335904, upload-time = "2026-10-23T13:49:56.214Z" }, + { url = "https://files.pythonhosted.org/packages/0b/78/19ca1c8fe87bd3c8540b91504ff2dd52c9c538233044c4cf787fc1fab39b/jiter-0.18.0-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d55acd326db8ecfc94f21951abd20902c7939d35925444e48d94527e287bead7", size = 350523, upload-time = "2026-10-23T13:49:57.552Z" }, + { url = "https://files.pythonhosted.org/packages/c3/27/84be9cc1c2b781d2da7c694fd7608311af3aaab91f20eb00d4999285b351/jiter-0.18.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a01642d403b8925f2b1e1bb51b4ba49ece8a2bdc9b9560fc8ed0b1f2b35b567a", size = 338324, upload-time = "2026-10-23T13:49:58.842Z" }, + { url = "https://files.pythonhosted.org/packages/9a/ac/7b3bfb49b19e42ebc2ae56ec307c372602dd1e17892f7e051c9bf97cd7e6/jiter-0.18.0-cp314-cp314-manylinux_2_31_riscv64.whl", hash = "sha256:89ba6b674d4bd7290f9943bbeba0e1bf35955bbb1e07e41ba94691648cf133d5", size = 316484, upload-time = "2026-10-23T13:50:00.257Z" }, + { url = "https://files.pythonhosted.org/packages/f9/6a/e37f50885aa4daa1dfe413784692ead6b48a1d9e857cd394a61bf345189c/jiter-0.18.0-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:feadebdfee32c61e91066433f4aa74c891752e26e43032c1feef08dda6d9b6ed", size = 334225, upload-time = "2026-10-23T13:50:01.542Z" }, + { url = "https://files.pythonhosted.org/packages/8b/f8/1026bc92f0fd443a1137993d1448a7d7c4b7a34bec2722a1533302ebc4b4/jiter-0.18.0-cp314-cp314-musllinux_1_1_aarch64.whl", hash = "sha256:dd7e57efd54a3580620f635c48a3226f910e23649b7eb83ffbc6f0f3386293b8", size = 482157, upload-time = "2026-10-23T13:50:02.849Z" }, + { url = "https://files.pythonhosted.org/packages/1b/2d/61f3c35736873c34eeee3d0008067febd88ded8e8cf6f9a0ab090348a787/jiter-0.18.0-cp314-cp314-musllinux_1_1_x86_64.whl", hash = "sha256:ea69e23481497c2143775a98d273ccc43de5c92a6387df18c903d2d37bc2b181", size = 516956, upload-time = "2026-10-23T13:50:04.19Z" }, + { url = "https://files.pythonhosted.org/packages/6b/bf/9d14be58e76324f4927c7f8e5dbe2f9fd04faaec884a6465173f8142eac1/jiter-0.18.0-cp314-cp314-pyemscripten_2026_0_wasm32.whl", hash = "sha256:d9b61af76a3cd90ad9656a331737d97dab8c05facb2d04cb41fb16c9adadc966", size = 112087, upload-time = "2026-10-23T13:50:05.423Z" }, + { url = "https://files.pythonhosted.org/packages/c6/7d/cff751c560d514da283bae595fe154714f285ec5ac15e2b16e9e0c0c8948/jiter-0.18.0-cp314-cp314-win32.whl", hash = "sha256:fe42726d7fe171cd8fc1966d4457a6aae03bd408d519d2cc5e7726805460b51e", size = 186562, upload-time = "2026-10-23T13:50:06.81Z" }, + { url = "https://files.pythonhosted.org/packages/04/70/4e7f51e517be4146400fd1ce642d535380a38c7db5ab475d38bbcd16a82d/jiter-0.18.0-cp314-cp314-win_amd64.whl", hash = "sha256:f1e738b851019d6bb6ff4a42c6319bdede967dec958ef3ec6feb7ab9d12408f7", size = 225448, upload-time = "2026-10-23T13:50:08.302Z" }, + { url = "https://files.pythonhosted.org/packages/78/43/02bfb85f63e04c87c406731197e41f2e6b415035e41497428e0422fb326e/jiter-0.18.0-cp314-cp314-win_arm64.whl", hash = "sha256:80a961b1c5c7786bc03b332deb7f7ebe818b7baa6e26685e2bf480548ca128b4", size = 182907, upload-time = "2026-10-23T13:50:09.795Z" }, + { url = "https://files.pythonhosted.org/packages/9c/66/5cbde35cbb14c8339af39c9bc61cbda08b212116f96603d23b7c9cc84a4d/jiter-0.18.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:b066f37dd9ec19fc7931d79dee38f56b6f849217bbe824a7dad4518ef96ee515", size = 318962, upload-time = "2026-10-23T13:50:10.91Z" }, + { url = "https://files.pythonhosted.org/packages/eb/d1/dccc47ed6070d3b25622823048a80a49fe87ccd737e5d66b802ca20e4fde/jiter-0.18.0-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ccdc09887b04f50f1761eedcfd19da882d9d834096bc1215049af637023f7db7", size = 336718, upload-time = "2026-10-23T13:50:12.149Z" }, + { url = "https://files.pythonhosted.org/packages/de/a5/8d4ec06d7a0f2bccbde8508ed847ccd323a9dd1fbab5900cda3fc5bd71f8/jiter-0.18.0-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:6133abcd0f332964fbb8145adb1ce775cd0312c9eaf6e4bf26b7a5c9b6f7cca7", size = 322945, upload-time = "2026-10-23T13:50:13.591Z" }, + { url = "https://files.pythonhosted.org/packages/7f/50/49d06214b30c685d64ffdd40fdb50a98b6ccff4b012fc9ed491d44de9ef1/jiter-0.18.0-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ca381b4a466023d1fdd04c889c759b46f7d9654f622b28bb01e65abf31d07bba", size = 335325, upload-time = "2026-10-23T13:50:14.807Z" }, + { url = "https://files.pythonhosted.org/packages/f4/9a/4ecb866a7a01a4e76d9ffbde3fac2cd66ad978c8c797953d44f91fbf2040/jiter-0.18.0-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9b961fedf589ffa182fe302fc4371acf4606d3ed4a6a48a151fbfd724d811f5a", size = 350578, upload-time = "2026-10-23T13:50:16.125Z" }, + { url = "https://files.pythonhosted.org/packages/16/7e/c8b5ecb6af4c9454376263f167f3f8bb5dec41b10fac4f48ea4557b9f115/jiter-0.18.0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3b77eabfbae1ac47872be0076899e66340bbef39b862971c3d6c9a4b7c91fd10", size = 338791, upload-time = "2026-10-23T13:50:17.703Z" }, + { url = "https://files.pythonhosted.org/packages/8a/04/45ba31ce79022706323fd2291f87d956fd51fdfcba2ba8924b3de62f0ce2/jiter-0.18.0-cp314-cp314t-manylinux_2_31_riscv64.whl", hash = "sha256:92a16933d0fa852133500837d33cd6a4f75e4414d77389c58269e12bafc2ee02", size = 316169, upload-time = "2026-10-23T13:50:18.915Z" }, + { url = "https://files.pythonhosted.org/packages/62/c1/fd36126144f4c32d1b76939278e9d3b7b798075c0478b641d6066621bafd/jiter-0.18.0-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:2f7ba518893a4ccef5afb38e41bc3e126bf652354417ec4e75e5a5b000fb1ef6", size = 334754, upload-time = "2026-10-23T13:50:20.169Z" }, + { url = "https://files.pythonhosted.org/packages/cc/e2/30a5ac1a3ee9e01bda75a4fcb55bbeddcf8875f8ce7e680b787c177f14b5/jiter-0.18.0-cp314-cp314t-musllinux_1_1_aarch64.whl", hash = "sha256:04d67a44b040a6662a35edc9869030f7aa566bf5baaf3549c99d847aa44213e2", size = 481094, upload-time = "2026-10-23T13:50:21.481Z" }, + { url = "https://files.pythonhosted.org/packages/33/de/5e736a36eff6933da012dc440540f79e3ccfc06e27f557638280657df023/jiter-0.18.0-cp314-cp314t-musllinux_1_1_x86_64.whl", hash = "sha256:e4d4819398d5330636bc0b91ccc0048dba782076fb99257038257ba6f121c840", size = 515524, upload-time = "2026-10-23T13:50:22.872Z" }, + { url = "https://files.pythonhosted.org/packages/0a/ea/1e8bc5b0c920a13e5b698106dbb2d2da5c5e3474668746246f649abb6d5f/jiter-0.18.0-cp314-cp314t-win32.whl", hash = "sha256:c435e795a7ea4b372166a058a5b49a25caeb9c94e469a1414868b14c83ee5c41", size = 185058, upload-time = "2026-10-23T13:50:24.098Z" }, + { url = "https://files.pythonhosted.org/packages/1e/0f/a742b397699c3af52dd95443332164884fe6204e5faa5321b7c073beab0f/jiter-0.18.0-cp314-cp314t-win_amd64.whl", hash = "sha256:5a3d5397da7ae46c7a9601ef02d2c9ec47a6c3abe15e1ea940eaf93e675ee20e", size = 225598, upload-time = "2026-10-23T13:50:25.44Z" }, + { url = "https://files.pythonhosted.org/packages/b3/b7/08ae26347dca48d5cadca33be2f2f5b6b1ae790b322109083d6f95959feb/jiter-0.18.0-cp314-cp314t-win_arm64.whl", hash = "sha256:4b81b474e4a8ec745ab20a6762275a360e1147cb70cf08872ec14e1aa5debc37", size = 183052, upload-time = "2026-10-23T13:50:26.675Z" }, + { url = "https://files.pythonhosted.org/packages/c2/d6/0d2a8a9747ad918141827fabdc05abc3bf73986f7f36647fb8c19708e21e/jiter-0.18.0-cp315-cp315-macosx_10_12_x86_64.whl", hash = "sha256:30f8ae18425e0247ffff4e4a5753ec1952e1b81ed4e7949b84e5ecfaf8315833", size = 291908, upload-time = "2026-10-23T13:50:27.94Z" }, + { url = "https://files.pythonhosted.org/packages/54/b4/19c582727e22681c6069db037c3b3e354c6fbdce7fbc5290a7bc7bc5884f/jiter-0.18.0-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:93150a3bb0317d8f5a94d4c3ea68db1cb434b94ac819e08c443cea97b7645f2f", size = 316544, upload-time = "2026-10-23T13:50:29.167Z" }, + { url = "https://files.pythonhosted.org/packages/c3/62/5d34e93dc5d1e707788a378335efc876cdc731ceb2111b0a9d7c6f9fdada/jiter-0.18.0-cp315-cp315-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c9c8a61d6227cdcb0a67c678f30a020837c9f3dd7e0b3f916781defa157e4eb9", size = 338101, upload-time = "2026-10-23T13:50:30.457Z" }, + { url = "https://files.pythonhosted.org/packages/75/e2/0b16a6ca5479cd9efa3c59497cd42f1979a539b6c664a5b9c87e3632f176/jiter-0.18.0-cp315-cp315-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:285cc15ff9ffcd4ce7f0b9ce02fcbc65e22fcf7dfbda1a3d71ccac8d7b73f8a1", size = 324213, upload-time = "2026-10-23T13:50:31.695Z" }, + { url = "https://files.pythonhosted.org/packages/85/9d/620a97457a0210092bf9faa1eb30f5da094fab2de07a9478af7c254e22fd/jiter-0.18.0-cp315-cp315-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c8f69ef2e28f8c1759bc1522385ab3e4ade0b1056053cecf67449a947c4525a8", size = 335777, upload-time = "2026-10-23T13:50:32.984Z" }, + { url = "https://files.pythonhosted.org/packages/76/08/a3514df093824f10a61dc1d0bbc22285ed779ba42f15d727499a8c877e16/jiter-0.18.0-cp315-cp315-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:eec2da60423287bd60377b0fad1723560dcc51cfb2b99615be8431ad425c4438", size = 350490, upload-time = "2026-10-23T13:50:34.421Z" }, + { url = "https://files.pythonhosted.org/packages/cd/60/8f8b51bae62259b429e83d0adff69d93e39e4fadbc4bd1856dc2a0950639/jiter-0.18.0-cp315-cp315-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5db2cdae6a2f01e8f52ab2154886dcf5bb1844b4f31245440bf623ec91b65b08", size = 338591, upload-time = "2026-10-23T13:50:35.759Z" }, + { url = "https://files.pythonhosted.org/packages/2e/ed/5307f0eb051d987510fdd1020c904927c0b364a4937d372817bdefaced31/jiter-0.18.0-cp315-cp315-manylinux_2_31_riscv64.whl", hash = "sha256:029da1f29852beac2f9001f20209b73b29b4d7bdc748c7f8028895769e2cc0d8", size = 316623, upload-time = "2026-10-23T13:50:37.316Z" }, + { url = "https://files.pythonhosted.org/packages/f9/0e/4bdc945ffbf77c60f07c726fbeb45508018322df9d9942d262256397062e/jiter-0.18.0-cp315-cp315-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:67c6662b1b7e5728a507db06ad1b8a7ff8ade04c2a74f092d467209ef744d3a4", size = 334720, upload-time = "2026-10-23T13:50:38.507Z" }, + { url = "https://files.pythonhosted.org/packages/4b/33/fb3e8f9354e7edab05f3752383eac58ce6e785f2f1626b697dd5dd0a86e4/jiter-0.18.0-cp315-cp315-musllinux_1_1_aarch64.whl", hash = "sha256:4db12daef4a231df528a16f70d5ff7f5e3be21f70e8ad904e4c61442366e8a10", size = 482130, upload-time = "2026-10-23T13:50:40.023Z" }, + { url = "https://files.pythonhosted.org/packages/2e/3d/3aef2be95155bbacadd8691208b6f0f7371cc0cefe80241a1245e38e308d/jiter-0.18.0-cp315-cp315-musllinux_1_1_x86_64.whl", hash = "sha256:4654ea93f525ea96adf289afcf1ead32d773b8325ec326862b4f81f5f4570835", size = 516986, upload-time = "2026-10-23T13:50:41.279Z" }, + { url = "https://files.pythonhosted.org/packages/3c/f6/2aa54fd5da3d0a93de2655e2525426263168454259ba3f2fb70d1b36fbc9/jiter-0.18.0-cp315-cp315-win32.whl", hash = "sha256:f035d01b450ac4e141502f1ce142462cee638198ff5a0237c80e6683798b3b87", size = 186645, upload-time = "2026-10-23T13:50:42.526Z" }, + { url = "https://files.pythonhosted.org/packages/b5/77/5b54ca8c292b83991cafbac6b022f515e46f1ae77dd5f4a97cc33644b235/jiter-0.18.0-cp315-cp315-win_amd64.whl", hash = "sha256:4a18ef4fe95685b000d95eca797cc683e0c178a4b364f2e39f6c79ab107a26e6", size = 225087, upload-time = "2026-10-23T13:50:43.779Z" }, + { url = "https://files.pythonhosted.org/packages/9f/f3/53b7f39b83c757380ab57d9bc3f934431d6b6751f007e8122f7f63c10c2c/jiter-0.18.0-cp315-cp315-win_arm64.whl", hash = "sha256:c73922e4ff4b1ad2929cd795c98223c6688a43c5fd42e9deb8955e4d43b00abb", size = 183120, upload-time = "2026-10-23T13:50:44.985Z" }, + { url = "https://files.pythonhosted.org/packages/77/f8/3a3ef55c528722f3b4be0e7b9686a37ddbe86ed96510bc1c2a63dab7f14b/jiter-0.18.0-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:0ccf55f6fcdcee82fe40ae617e9d64b8e5f433fa6cb5bf7d2969e584e6df0e5d", size = 317996, upload-time = "2026-10-23T13:50:46.266Z" }, + { url = "https://files.pythonhosted.org/packages/e1/15/b06c1c17bed30b5c5dabb40f80a56a3b71b89c16ae86552307f7ccedc93a/jiter-0.18.0-cp315-cp315t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:163a55e77f8e92d739b1f4ef212f1d445ddc58ecdf0da1feca44ef424b5331f8", size = 336638, upload-time = "2026-10-23T13:50:47.444Z" }, + { url = "https://files.pythonhosted.org/packages/87/79/b7bcd3e8c850326a323d18a5607334ea40659e22a4fc321e315d1d230007/jiter-0.18.0-cp315-cp315t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:9de6c9133be12a51ea2d8c270f39a04ed45ee369802bb6270649b952e6cec256", size = 323116, upload-time = "2026-10-23T13:50:48.715Z" }, + { url = "https://files.pythonhosted.org/packages/5e/99/4c53c9d46462cd0691c3c188f89612e63a424d19f5befd1b0631f8f90638/jiter-0.18.0-cp315-cp315t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:2ea4f2ed18eba7454182d4ff727444788ae51ad11bf5a25ad892f5f0ad3e754b", size = 335162, upload-time = "2026-10-23T13:50:49.987Z" }, + { url = "https://files.pythonhosted.org/packages/6f/ab/ef873065a3a1c442a4e62558b77bfa338066317dbafdfdc991121201f5ad/jiter-0.18.0-cp315-cp315t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:626d5c9fb8b57babc6ce9d03224846ecb094e1d22ff5bff6080398e7f8aee162", size = 350560, upload-time = "2026-10-23T13:50:51.478Z" }, + { url = "https://files.pythonhosted.org/packages/19/7e/48e78558d7cb3d289211da0397b7ed31cfe3efc98dd85f2324abd574c07c/jiter-0.18.0-cp315-cp315t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b3c3318cc6ef857b6554b43479c30e8249fc143189d500d4137cde9c58412e6d", size = 337848, upload-time = "2026-10-23T13:50:52.961Z" }, + { url = "https://files.pythonhosted.org/packages/2c/35/b0a093e72def7caec970dd8536c3d42af3add3aedfb3c06ac0588effde26/jiter-0.18.0-cp315-cp315t-manylinux_2_31_riscv64.whl", hash = "sha256:9a70f25f6de76a01e309e109c9bcf2143c5c126b3488dd17a25c7aa404b28f16", size = 315870, upload-time = "2026-10-23T13:50:54.152Z" }, + { url = "https://files.pythonhosted.org/packages/48/a4/fd7ca4d1ce8b876be7a260f5e31615854aed5b041553a63e85c4a265cb63/jiter-0.18.0-cp315-cp315t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:22d8dd757e603224e46786d63cb7d7bfbddc8f579a02e7b082840468d18c06f3", size = 335253, upload-time = "2026-10-23T13:50:55.427Z" }, + { url = "https://files.pythonhosted.org/packages/f5/71/ccd7154afecd4687b22a8195d5dc6460f89f6e17537ec78edb58a2faac34/jiter-0.18.0-cp315-cp315t-musllinux_1_1_aarch64.whl", hash = "sha256:552a8714f26ddcb43115c82da6d045b3b9f2fa5997d8b21b2f8ec3721503bebb", size = 480775, upload-time = "2026-10-23T13:50:56.91Z" }, + { url = "https://files.pythonhosted.org/packages/c8/b9/bad5391d7fb734cd6ebc383c8603bc324518bf4ce865f5d813908ae42596/jiter-0.18.0-cp315-cp315t-musllinux_1_1_x86_64.whl", hash = "sha256:8060a206e290410d3bfc3bd91715f3ec90a499246f8335d48927e0b3b6a6ccc5", size = 515619, upload-time = "2026-10-23T13:50:58.231Z" }, + { url = "https://files.pythonhosted.org/packages/c8/5c/9596452ad56340e6ed395c5fe27ab102bb2aa0c4b59de2e6a8b3dc3b03a7/jiter-0.18.0-cp315-cp315t-win32.whl", hash = "sha256:91d463858f11ee76ce8e39f391bbcbf1d4c3cc4703a1496fed3a5666dcd5e01d", size = 185204, upload-time = "2026-10-23T13:50:59.456Z" }, + { url = "https://files.pythonhosted.org/packages/08/c8/62c798e2a1a6f827eac1d45232c93b1b0e387a22d559c8483dc7302d5fd5/jiter-0.18.0-cp315-cp315t-win_amd64.whl", hash = "sha256:6ee49daab0b826279c152ad8d61171ea17f4197f91a5e14251d0d5d4adf51059", size = 224948, upload-time = "2026-10-23T13:51:00.624Z" }, + { url = "https://files.pythonhosted.org/packages/64/42/cdfa494914b6d512431e795d8d6226b84b77b733bb8b5eccafd5a1a86dad/jiter-0.18.0-cp315-cp315t-win_arm64.whl", hash = "sha256:bec676a0dc24d4dabd4bdfb3d1f1bf80d4d3dd892fc5c5b3f8f953e2459dbfce", size = 183182, upload-time = "2026-10-23T13:51:01.797Z" }, + { url = "https://files.pythonhosted.org/packages/a9/3d/00a3ba5345740032df65ef415e5c367a89b0e40e9f6e509e5ade36e2f569/jiter-0.18.0-graalpy311-graalpy242_311_native-macosx_10_12_x86_64.whl", hash = "sha256:04aa358fd3217dedd673e9331febe8cccfa4a00382e5372b39efcafe7447ff63", size = 287708, upload-time = "2026-10-23T13:51:03.106Z" }, + { url = "https://files.pythonhosted.org/packages/b4/f5/7337804b47b10e74a1edce33d54437a44adaddb98a4f12a9a87482c28748/jiter-0.18.0-graalpy311-graalpy242_311_native-macosx_11_0_arm64.whl", hash = "sha256:f5e5d58f589412c7774b3a2c4878b8ee54f9804840075822ad2bd2356a5080fd", size = 281345, upload-time = "2026-10-23T13:51:04.331Z" }, + { url = "https://files.pythonhosted.org/packages/1f/b1/1edcf5c674ddc61c0838315d6b7cf279d06c32550ecc40fc2d2f85a8a02d/jiter-0.18.0-graalpy311-graalpy242_311_native-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:df6d792b41ad90783cf9c3c8f66b02f06025250533b92997913ec600bcb0d075", size = 301499, upload-time = "2026-10-23T13:51:05.587Z" }, + { url = "https://files.pythonhosted.org/packages/e5/a7/949b75f8716f27d69a13eebf2ef5cdf5563ea401648cb330a086f232100b/jiter-0.18.0-graalpy311-graalpy242_311_native-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8f39e7316ee0f16a1e74f23010a058e2bd59481992c7adec0470db4ea57a38e5", size = 302596, upload-time = "2026-10-23T13:51:06.852Z" }, + { url = "https://files.pythonhosted.org/packages/a0/c2/49ee8f4743c27e61c52b4746ba636b43bedda97131a14043dc6f5ce5bb9d/jiter-0.18.0-graalpy312-graalpy250_312_native-macosx_10_12_x86_64.whl", hash = "sha256:118c1fd995f349f1cad0557f31d6860f336b4aeef7f002dedbc068027f68e2c3", size = 287302, upload-time = "2026-10-23T13:51:08.073Z" }, + { url = "https://files.pythonhosted.org/packages/60/72/394036294ac3226216f73bfa4b14df920eb5baf7fb80fa7e0a0d7ef442a6/jiter-0.18.0-graalpy312-graalpy250_312_native-macosx_11_0_arm64.whl", hash = "sha256:44d0d719cd7845e66b01a0cf346ec9882073e710a05e89a5b6d87be47a9dc69c", size = 277797, upload-time = "2026-10-23T13:51:09.324Z" }, + { url = "https://files.pythonhosted.org/packages/ce/80/f0dadedaa9a109f31e8978c7db355593916968d5956f382188a3f8c0888c/jiter-0.18.0-graalpy312-graalpy250_312_native-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4d1d2dc4d930ebc225f488b6b3790acebb2e51b3a165a4a42cc1d05bb927f83e", size = 300192, upload-time = "2026-10-23T13:51:10.551Z" }, + { url = "https://files.pythonhosted.org/packages/93/51/e57dbc6c264ec6557a677189755fe4525d83439237418e3ae59771ac1cde/jiter-0.18.0-graalpy312-graalpy250_312_native-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ebb0c346b6c5d9c033fe9e9b6ed6a1ff6dac0288fe681c3434dde6eb9c264fa1", size = 301141, upload-time = "2026-10-23T13:51:11.882Z" }, +] + +[[package]] +name = "jiter" +version = "0.19.0" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version >= '3.15'", + "python_full_version == '3.14.*'", + "python_full_version == '3.13.*'", + "python_full_version == '3.12.*'", + "python_full_version == '3.11.*'", +] +sdist = { url = "https://files.pythonhosted.org/packages/67/de/8dfd06a2153d8ab6a83a8ca8f8ae3ff860ce2fe324ee6a5d05294b621c2a/jiter-0.19.0.tar.gz", hash = "sha256:ba3064f8be276d7cfb83c2fb85c858be533da2c2f80f9b048c3781b45a57a195", size = 665248, upload-time = "2026-11-06T15:03:33.462Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/25/c5/3f98ccee535b6481fc401c594d23e07ca400d940ea8f9100a06262e07d66/jiter-0.19.0-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:9e1773b9a58b76c6c5398557f9beeddc64fdbb31ba66ef940280a6d603e0b989", size = 289386, upload-time = "2026-11-06T15:01:03.741Z" }, + { url = "https://files.pythonhosted.org/packages/91/60/2e8cd6da62ef71153a7b430c3b98259802af75546ea35e5f34653c672d68/jiter-0.19.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:af3ee9471733f88d1f13061fc58e4731a6b0141bf47e08c39a95a9bb391c3955", size = 318196, upload-time = "2026-11-06T15:01:05.532Z" }, + { url = "https://files.pythonhosted.org/packages/1d/27/4605012ffeafdc3d7733694d2d5083796381770973fe41b7371dc6544e16/jiter-0.19.0-cp311-cp311-manylinux1_i686.manylinux_2_5_i686.whl", hash = "sha256:fac2b90ad1709af1a4a5419e2031ff7d950810a584343c747a8087f842a4278e", size = 333702, upload-time = "2026-11-06T15:01:06.957Z" }, + { url = "https://files.pythonhosted.org/packages/80/2b/ca43d02e3ca5a3d8659d2d00f4c1a58408a05bf9db07a817f551ce7c365c/jiter-0.19.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:da606acf39d7d2f2a56bfbb48a0b36f25da1d22d801cd0c9aecfce2f791e3239", size = 337353, upload-time = "2026-11-06T15:01:08.311Z" }, + { url = "https://files.pythonhosted.org/packages/b2/9c/b9725a39cec632737a82521a6320aea46b8dde418ecc1fc2c86ea0a415d8/jiter-0.19.0-cp311-cp311-manylinux2014_armv7l.manylinux_2_17_armv7l.whl", hash = "sha256:d60d0621f0d6f330a1fd92067340a8eb4262651a07b2dfd92a87e6527d05c933", size = 323554, upload-time = "2026-11-06T15:01:09.893Z" }, + { url = "https://files.pythonhosted.org/packages/1b/33/f72b9252b63c3a56920cbf44360722ef4a40f3e74830ede6ec9c02a26254/jiter-0.19.0-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:fdc0a6ddcc9228a0955b350509041c9321af91e928c918402d0212d5fd315355", size = 335673, upload-time = "2026-11-06T15:01:11.135Z" }, + { url = "https://files.pythonhosted.org/packages/ef/f9/a422ccb7f89adc6238a860bea22816fae1d903a48289dccff44a1399b49b/jiter-0.19.0-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:e0238393882c0737846239bf4a553140e27d6b6781e87f570e7c3d671c916bab", size = 349297, upload-time = "2026-11-06T15:01:12.461Z" }, + { url = "https://files.pythonhosted.org/packages/43/06/37a1051b8fe6189c9cc87d4483fc3b30841b9678cba95caddcadc77d6ead/jiter-0.19.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:cc4a2b70ecd4f102583344c1f8cc5dc11618665b1889286bb3b4279c19b337dd", size = 337119, upload-time = "2026-11-06T15:01:13.961Z" }, + { url = "https://files.pythonhosted.org/packages/20/a9/6de8dab28150e381b7733a27adaae42bc22af52b79a198c09ad9f046c85c/jiter-0.19.0-cp311-cp311-manylinux_2_31_riscv64.whl", hash = "sha256:23a9cd6d7779b0022b9446d7f8b19ba81bf9631d494ca371d810d3925e10fc45", size = 316181, upload-time = "2026-11-06T15:01:15.339Z" }, + { url = "https://files.pythonhosted.org/packages/ee/df/78e3721c6c452a7209764d2d9760746bdbe69de7c8b93797a149c5cd80f8/jiter-0.19.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:2777713f5c0b49fe909ee0a68320bce095cdcdb9b7611d347d49394f24afabc0", size = 481784, upload-time = "2026-11-06T15:01:17.188Z" }, + { url = "https://files.pythonhosted.org/packages/52/af/6101a311e708c24587c44ab0b142f8d077c5b4c93285c48b63c7a99a5ed2/jiter-0.19.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:fe16c8e0caf7513c6b4e1c6466761b153aa16c4e18a84ddcf6dcf731b2bace1a", size = 516223, upload-time = "2026-11-06T15:01:19.004Z" }, + { url = "https://files.pythonhosted.org/packages/3c/72/d7cc3fe03ded6f0c0c49329e542969ec180f3ecdb8c947f162914bd0c097/jiter-0.19.0-cp311-cp311-win32.whl", hash = "sha256:7f1ce80a4f1eee5570f824300bca01b5b1d4174a84ecca6d7019c1159176519b", size = 187725, upload-time = "2026-11-06T15:01:20.655Z" }, + { url = "https://files.pythonhosted.org/packages/6b/97/0550927e719aca463c4ef4858ade937c434efbb4a68a66a6943cb23167fd/jiter-0.19.0-cp311-cp311-win_amd64.whl", hash = "sha256:7b9107bb4ec6889f943c948d69cee0f0ef64f5c5a7f6a8a6a6c5f23e8ff5f557", size = 226786, upload-time = "2026-11-06T15:01:22.018Z" }, + { url = "https://files.pythonhosted.org/packages/f0/1a/b437e2536ff37ee461f0bfd8fd7c99f541753b3737ae3c4be22a03ed9707/jiter-0.19.0-cp311-cp311-win_arm64.whl", hash = "sha256:9cd6b141ccfac1fa05c49b579717505304caa0cfb41ab569baffcc109077e492", size = 185632, upload-time = "2026-11-06T15:01:23.47Z" }, + { url = "https://files.pythonhosted.org/packages/8c/cd/88cf9efec4d4b6cb816233a6fbfcd842e9675012b2827c6abee4f87e53f1/jiter-0.19.0-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:0282eae10bbccfabcb6001ced6a20abc5e05e26c6316e7729c8fc1510bd3b8e1", size = 290088, upload-time = "2026-11-06T15:01:25.103Z" }, + { url = "https://files.pythonhosted.org/packages/86/56/371651ed5fdbab064b9ca39f5ceddd1bad2175bc1d4c81915eb63ac1fa3d/jiter-0.19.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:730b0387fbea21b71b86b6975e20da7a364b04c4428eba0d15e6f0a7b20aa59b", size = 314238, upload-time = "2026-11-06T15:01:26.672Z" }, + { url = "https://files.pythonhosted.org/packages/71/56/357172c32d0763f5cf8eb1afb8f5ded5ba314856eccbdb600fc82efe8b18/jiter-0.19.0-cp312-cp312-manylinux1_i686.manylinux_2_5_i686.whl", hash = "sha256:cfbf731056b76d2d600f11ee895ca5d4d39d22d881562d65ada3ecbaf6053d25", size = 332123, upload-time = "2026-11-06T15:01:28.273Z" }, + { url = "https://files.pythonhosted.org/packages/b1/a8/9c0e83f11fd067d1973e8f801e78d0c2ea1186aef7cd6bf9e7c847c16836/jiter-0.19.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:fcce75459e06cf811395581f6d256e2535d165ec4d223b809115a59b4ea6f398", size = 335561, upload-time = "2026-11-06T15:01:29.834Z" }, + { url = "https://files.pythonhosted.org/packages/0a/e9/d49c126dad2bc47d8e02392eb7ffae797134f021f4dcfc15bccc3b704c7a/jiter-0.19.0-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.whl", hash = "sha256:10e863d52095bc1106d22a4b9285bbe722a56d7f3e65f9a5d09ec9814a31be43", size = 322601, upload-time = "2026-11-06T15:01:31.313Z" }, + { url = "https://files.pythonhosted.org/packages/ad/d3/9085b225b080218f7ae7f3f33b746686cabefa99cbc34895fd35221df4d6/jiter-0.19.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:bafc856de75f6d4400e2d839189a6aefa1c985a151893743262811495917c20c", size = 333667, upload-time = "2026-11-06T15:01:33.032Z" }, + { url = "https://files.pythonhosted.org/packages/fb/2d/d71dbb7bb2f5954e2f33151de25721abf03771fb5368acda88f781b419d0/jiter-0.19.0-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:562d329189727922d9ee2e58f37382de1d0ec0d7a69b8d9670a23ef7ea216a49", size = 348693, upload-time = "2026-11-06T15:01:34.541Z" }, + { url = "https://files.pythonhosted.org/packages/8c/41/22f74631763c50a6ec76fec1e6a9557ffba181fe5048135520284a5746f3/jiter-0.19.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:0956b5f58b804221dfb929c120e6d4032138fed20c1cc0ef683a2d1326255e46", size = 338071, upload-time = "2026-11-06T15:01:35.871Z" }, + { url = "https://files.pythonhosted.org/packages/9b/4a/66e5d347e63b452eb160b549d1bb9bc88b2e7ad4d55c900afd278b8ec85b/jiter-0.19.0-cp312-cp312-manylinux_2_31_riscv64.whl", hash = "sha256:aa8e941d7569417134d14ed982bd5cef2c9baa55748bd70601f29e59b65497a9", size = 314409, upload-time = "2026-11-06T15:01:38.148Z" }, + { url = "https://files.pythonhosted.org/packages/cf/19/919970ab010e41cc8daae6e3b225cf457b09f9ce1a8458a0b949272d312d/jiter-0.19.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:39032d61473b11a6201300a710d6f912935bb3c783f3b564f94caa4d8ea34f40", size = 480350, upload-time = "2026-11-06T15:01:39.515Z" }, + { url = "https://files.pythonhosted.org/packages/6c/53/fef6d7566fdc019201be101bb63056a01ac3746c4f072901318593c65a2b/jiter-0.19.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:1427fd34cf36db7c13d9643465a9fe00bfcc9ba969d8a633e43a4e2525afb565", size = 515375, upload-time = "2026-11-06T15:01:40.9Z" }, + { url = "https://files.pythonhosted.org/packages/50/94/0eb1a877a9e34fe757aa6fbcb9e19a996540283fafa4826c4fff816087bc/jiter-0.19.0-cp312-cp312-win32.whl", hash = "sha256:178bdffd86ccaf25fda33dee522b046720b1f617f5b72864a720a4e88d574fc6", size = 185353, upload-time = "2026-11-06T15:01:42.628Z" }, + { url = "https://files.pythonhosted.org/packages/10/7f/9d1dd194cc52698a9c7116b0b464826cc1a2feda2afd12fa562182ff27d6/jiter-0.19.0-cp312-cp312-win_amd64.whl", hash = "sha256:f64154096d9aa5462ef3c4f48d624492602d0073d54d30c20c08793387f67e42", size = 225500, upload-time = "2026-11-06T15:01:43.975Z" }, + { url = "https://files.pythonhosted.org/packages/98/d9/5065590d951e03216b7b0beba984d397d1e724201dc57184503f79d696eb/jiter-0.19.0-cp312-cp312-win_arm64.whl", hash = "sha256:d9cf0a878f99f97335023f51bf07e1f81c19ce13636b06347c8b548e3a26bc70", size = 181832, upload-time = "2026-11-06T15:01:45.279Z" }, + { url = "https://files.pythonhosted.org/packages/c4/b0/9af5c95d02e75ec5ee2c45ab37a7ead761cfbf1807b6b568944baa371699/jiter-0.19.0-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:ee63ba51f837d5a4bc2d79f6255ef0e754922519b172099fe4b9e8b1a6c85513", size = 289637, upload-time = "2026-11-06T15:01:46.615Z" }, + { url = "https://files.pythonhosted.org/packages/72/31/826662abf9197a96ac347f4f7456bca96e751de71ad8983de1ae06f210ef/jiter-0.19.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:9ea284d5a9391fa7b6bec676569a91463325298532887d3b324b27d541f6ffc1", size = 315796, upload-time = "2026-11-06T15:01:48.327Z" }, + { url = "https://files.pythonhosted.org/packages/76/c2/a4e62a7af0cd7f17423593437b721f4035b025b1d4ac0f2b996ed6d059c4/jiter-0.19.0-cp313-cp313-manylinux1_i686.manylinux_2_5_i686.whl", hash = "sha256:345f9f5dc1496a17b83cbbe7c351f94ddcd77b853518b0382b82702652353c9e", size = 331137, upload-time = "2026-11-06T15:01:49.675Z" }, + { url = "https://files.pythonhosted.org/packages/aa/60/edd90b139888ec1f40ff1d37b5d446447164806dc607706b933172277ab3/jiter-0.19.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:d056e8cf0ad1c4676ae559311d4a90b2613ca415452f5072bee62ee7424a094a", size = 335268, upload-time = "2026-11-06T15:01:51.172Z" }, + { url = "https://files.pythonhosted.org/packages/cf/d1/5a5a8684097942c24854f4308b36cf630ed573a94b06305dc146c74e0bb7/jiter-0.19.0-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.whl", hash = "sha256:62fda39be2cd67deca433e8ff9b125b285a592c5b5a439a5e80ba18337a73d2a", size = 321592, upload-time = "2026-11-06T15:01:52.58Z" }, + { url = "https://files.pythonhosted.org/packages/fc/94/f4466e2ada992e82f4967021953121039998b8e4ad83ebfb2b6e2c2a401c/jiter-0.19.0-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:a09edc861155f4df705a382e0d241e0ba4bf504a1438a6cd3a94e8d3fe2cf37d", size = 332880, upload-time = "2026-11-06T15:01:53.849Z" }, + { url = "https://files.pythonhosted.org/packages/1f/b3/11a1d37dcdca6edc003ac6f2512c1dd37b0f0c2dbf7c988e5213e1b29d19/jiter-0.19.0-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:fc13db05062df81357bdb926fc6b1014ce8ebef511a0fe7520b818f43b74fe5b", size = 348166, upload-time = "2026-11-06T15:01:55.216Z" }, + { url = "https://files.pythonhosted.org/packages/30/f1/75de49da39833a8be13b47468b99876c1f4a96b301c6a3fa3ad6a7d87e7d/jiter-0.19.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:3b27d6bec319dc17cdced13e495f90ce066676ca296fc56f2dd2128f6a7599ed", size = 335970, upload-time = "2026-11-06T15:01:56.493Z" }, + { url = "https://files.pythonhosted.org/packages/6a/95/6ceb994aae2511e94da56a3def4795e0b797357af252c824bdfdaae70323/jiter-0.19.0-cp313-cp313-manylinux_2_31_riscv64.whl", hash = "sha256:541669df0273fafdc506e89d7750afd528b6094586f87c01291c62f3273575ed", size = 313765, upload-time = "2026-11-06T15:01:57.768Z" }, + { url = "https://files.pythonhosted.org/packages/02/a9/ee7f3f2ceacb6e4593cfe9d9b7eff3b2b404efe2e05e152070a50abe42a9/jiter-0.19.0-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:bcf434316c96f58b4623500c01498506cc1d3fb689e948158a5955dc245202a4", size = 479932, upload-time = "2026-11-06T15:01:59.149Z" }, + { url = "https://files.pythonhosted.org/packages/f5/50/127a653d5292c6d9e6ec993c3948e3b9f3d0fbc6af91094dbab175ee8d3e/jiter-0.19.0-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:8b9d75a51df8f3b6fa7e25a0c0d7c4735e9d2196d6441e5a7c5b4ef1b76cd8bd", size = 514729, upload-time = "2026-11-06T15:02:00.695Z" }, + { url = "https://files.pythonhosted.org/packages/54/23/17c033c7336a5ec7d4c6b10edb851c96ffc9c0652d9f5b14ea5bae6028de/jiter-0.19.0-cp313-cp313-win32.whl", hash = "sha256:a39f45078cc2b75ac91b48833093c033e374f8224ad38576ebba06398a1de96b", size = 184740, upload-time = "2026-11-06T15:02:02.231Z" }, + { url = "https://files.pythonhosted.org/packages/2d/ce/c11a38ccc9d4fdb0c092cf583919ecff62724d39ad3556b5324173dad1ee/jiter-0.19.0-cp313-cp313-win_amd64.whl", hash = "sha256:050dd505e407c028aa76b9b4a379a06f79f484c3b256d99a7fea118d863c9a79", size = 223145, upload-time = "2026-11-06T15:02:03.485Z" }, + { url = "https://files.pythonhosted.org/packages/4e/54/d63c0ed96e4d2b6f4a64ada70a8eaedbd8849416045821d70c27d26c2dcb/jiter-0.19.0-cp313-cp313-win_arm64.whl", hash = "sha256:96b8d6795c8e8121d0a99b2c8f60ca4db02ff8063205bf2c9712e2714a52ea9f", size = 181228, upload-time = "2026-11-06T15:02:04.664Z" }, + { url = "https://files.pythonhosted.org/packages/21/7c/4e294eece8901d8b56cb7c7d8504ad4da16a402867d89af1505034a0df93/jiter-0.19.0-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:cfcf2473b941e8695b496ce9dc155f772ad97d98be5071ebf1e4e4bbfe00f632", size = 291741, upload-time = "2026-11-06T15:02:05.931Z" }, + { url = "https://files.pythonhosted.org/packages/70/d2/c81dfd6c0c60891341ac7ae7e8d0a4c7eea5d9693a3ad205e053f6c50d4a/jiter-0.19.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:e8dc4fb0fe3a5e36a373933340f4353da816c6de684a57908633504df3c2c90b", size = 316068, upload-time = "2026-11-06T15:02:07.193Z" }, + { url = "https://files.pythonhosted.org/packages/8f/51/5960eb532971f27ac0962f8a05c438224d1f9cd548772df14c4064a0c7fa/jiter-0.19.0-cp314-cp314-manylinux1_i686.manylinux_2_5_i686.whl", hash = "sha256:d2358442c7c45e1761b546b458a3c5bcd7d571838e2340a397464475f688494d", size = 334264, upload-time = "2026-11-06T15:02:08.514Z" }, + { url = "https://files.pythonhosted.org/packages/e5/7f/3b131a083dd46d495120ee92318f2dd07870eae853df3ab8c0a8f977f1a3/jiter-0.19.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:95b75f42a112e39ddd0b8683b4ccf6319a182460afdc4bb6828423eeeef97a6f", size = 338039, upload-time = "2026-11-06T15:02:09.819Z" }, + { url = "https://files.pythonhosted.org/packages/d9/2c/62c8ae6b16f3e369ed2d95690ba747b8319d0a96693d1d57ec2d306bf256/jiter-0.19.0-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.whl", hash = "sha256:d5cdf03154ba3867707f48454e3f9235df7a0f772cf4c9f57e4004f7c67d9821", size = 324016, upload-time = "2026-11-06T15:02:11.195Z" }, + { url = "https://files.pythonhosted.org/packages/f7/e3/516e16d89f93b657bc62fbc010cf96cff967c58b23874da8ea494d420b08/jiter-0.19.0-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:dac2525467cca169c3f8049e04e69334eecbd38caa1b0b10a11d9cf07c7d5871", size = 335866, upload-time = "2026-11-06T15:02:12.701Z" }, + { url = "https://files.pythonhosted.org/packages/dd/3d/0899ef2a0cc7a31935a450a0cadd9708754cd1e3498268d3bce44760f9a3/jiter-0.19.0-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:71361b3484086f538674ad37af5b4d5e86c04c39ca79b026cbd41cb63476dc72", size = 350517, upload-time = "2026-11-06T15:02:14.103Z" }, + { url = "https://files.pythonhosted.org/packages/d0/6a/8ec186d2307054a54a7656cb0fe1a186970f7b8740c08701874e3dffcf82/jiter-0.19.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:def1f12b5cef4f53c30ec89d1644c6c5500b343f1ec5e9ac8010dad8c0a41d7b", size = 338365, upload-time = "2026-11-06T15:02:15.515Z" }, + { url = "https://files.pythonhosted.org/packages/4c/4d/1f0c4a9d0e529025e5292416f52b0a0efff7f9b9efac56f345aea91ed0e7/jiter-0.19.0-cp314-cp314-manylinux_2_31_riscv64.whl", hash = "sha256:62d0ab327933a8cc5cba2ff2a1ff83400eb10bee1694eb1cc0c4c83296855d56", size = 316480, upload-time = "2026-11-06T15:02:16.918Z" }, + { url = "https://files.pythonhosted.org/packages/95/c8/72f6f2a6ce44d5aca96440498d5144abd2a509c58e0f53e4a039bdebbf7a/jiter-0.19.0-cp314-cp314-musllinux_1_1_aarch64.whl", hash = "sha256:9b9e55e0182f9ff9da2e34ee92492f30ab99bd276cad496fa56feb7a64148dd8", size = 482150, upload-time = "2026-11-06T15:02:18.285Z" }, + { url = "https://files.pythonhosted.org/packages/2a/53/f78cf27995858d32f212ff825addb32eabd70c896a530e624f36d20ac1f0/jiter-0.19.0-cp314-cp314-musllinux_1_1_x86_64.whl", hash = "sha256:1433a914536ac5da69f91cc7743ac2f64d3705db2de52f0715ecd00fed2c95fa", size = 516946, upload-time = "2026-11-06T15:02:19.661Z" }, + { url = "https://files.pythonhosted.org/packages/ce/aa/14e436a6a0fa643a66867f32e68e9683e5ccfaa8ff6df13781611dc62783/jiter-0.19.0-cp314-cp314-pyemscripten_2026_0_wasm32.whl", hash = "sha256:707b8194222a343c4a5e1574df95f5ade03e3f1cbdba77d8c89c6af0f40d92cd", size = 111991, upload-time = "2026-11-06T15:02:21.062Z" }, + { url = "https://files.pythonhosted.org/packages/c7/e3/d80e254dd1a85d585943046b9ba652cf01b3338beabb2035a7f5df82a906/jiter-0.19.0-cp314-cp314-win32.whl", hash = "sha256:512b07721e67a3036db5966173885bebbffd1b0b1583b56f08bd52723865b382", size = 186542, upload-time = "2026-11-06T15:02:22.323Z" }, + { url = "https://files.pythonhosted.org/packages/62/02/0a387aedb729da03acb860ba38330a2abb94893809b47d3ce5088f3edc43/jiter-0.19.0-cp314-cp314-win_amd64.whl", hash = "sha256:76cb5b95b07f853911a39835de285da6954f44634890c26dd6ecdfc465fc977c", size = 225421, upload-time = "2026-11-06T15:02:23.586Z" }, + { url = "https://files.pythonhosted.org/packages/8e/cf/ce7abfc44da37c7807d244a400309c69d211a4704b2b37b2a3d022ea0897/jiter-0.19.0-cp314-cp314-win_arm64.whl", hash = "sha256:12d90242083e7ce352d12dc8b04daee4b6c29314385bc84ecd2b809d0607fbc3", size = 182873, upload-time = "2026-11-06T15:02:24.874Z" }, + { url = "https://files.pythonhosted.org/packages/16/b0/5f5bfb4fa82b85f6027eb9e46e4001a0d2ba3f92370c3cff565d87706419/jiter-0.19.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:d0b16e19a7ea17ab0fc6089ded12040d46afbd9681c7978012044dc7ff0073aa", size = 317990, upload-time = "2026-11-06T15:02:26.154Z" }, + { url = "https://files.pythonhosted.org/packages/79/fc/99ec7c673c2b5eff83e52bc1fd23265c4fac8a5236b19d21ddde05cbffc9/jiter-0.19.0-cp314-cp314t-manylinux1_i686.manylinux_2_5_i686.whl", hash = "sha256:6f476b368da302a9cf6dece5af4979dac8b71a8986d69e47ce5a71f2cdea08ec", size = 334774, upload-time = "2026-11-06T15:02:27.53Z" }, + { url = "https://files.pythonhosted.org/packages/cd/6e/95ccd4c6770eeb9946733bea3eb19882cf170c02a5cabe23c3dc675ddb29/jiter-0.19.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:c094e472d6e54bfed6c78ef8595c27cf46b76d287f5cebb5264569f9b02b3737", size = 336708, upload-time = "2026-11-06T15:02:28.897Z" }, + { url = "https://files.pythonhosted.org/packages/38/d8/8abec81697c8d6d6c0c55712ef6a57233e30913e849a4248fdfa859d1fdd/jiter-0.19.0-cp314-cp314t-manylinux2014_armv7l.manylinux_2_17_armv7l.whl", hash = "sha256:825a0b9c30ff5b12698cec9d034b568a1f26b2bc888acd1bd009d0efa1de081d", size = 322945, upload-time = "2026-11-06T15:02:30.174Z" }, + { url = "https://files.pythonhosted.org/packages/42/0a/159a0276519b1b30335e3f10b9518c696dd7a982208eb78d22ec7b595866/jiter-0.19.0-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:e8f7d3072bd68b6ccc264bfe6600b0f730997bb414c7a274c317804f8f90c871", size = 335349, upload-time = "2026-11-06T15:02:32.366Z" }, + { url = "https://files.pythonhosted.org/packages/6c/f4/1dbc8a61d109985a65262972a9ce5bb59249585542d3ffd2d0cf7d6f1152/jiter-0.19.0-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:ab7a041b4c4a0afb160470839bbcafa3f5fea5572e0d1d46bd5239beeb30b19a", size = 350611, upload-time = "2026-11-06T15:02:34.094Z" }, + { url = "https://files.pythonhosted.org/packages/d6/59/0a6944592a79a78104cec927cb5ce68400c152299a9129fea63e1dc296ae/jiter-0.19.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:f7cf95dcab93e61fb58f395eedd4924557c8b08cc044933a4b7918c3d20751d7", size = 338402, upload-time = "2026-11-06T15:02:35.352Z" }, + { url = "https://files.pythonhosted.org/packages/3c/eb/1ff411f106d18026527a12af8e4f2b0a4c589d64bec71d4f6eae3344fdd5/jiter-0.19.0-cp314-cp314t-manylinux_2_31_riscv64.whl", hash = "sha256:a01d50640fb033259858f9203292aaf4dc9eb903d5646c529ba5be655a982a9b", size = 316165, upload-time = "2026-11-06T15:02:37.14Z" }, + { url = "https://files.pythonhosted.org/packages/e4/73/17b8c34e48dc33c30a5db75550769cf930cc62de37d46b8c540f613081a2/jiter-0.19.0-cp314-cp314t-musllinux_1_1_aarch64.whl", hash = "sha256:4ddc2617d3725c37501737f9725694fac10f2fb3f274adbfabc521bea7200d9a", size = 481091, upload-time = "2026-11-06T15:02:39.009Z" }, + { url = "https://files.pythonhosted.org/packages/1d/1a/2ecaab02af01e885a216a0dc0930e060325b81f5580c80cd69cfdf1d9827/jiter-0.19.0-cp314-cp314t-musllinux_1_1_x86_64.whl", hash = "sha256:c528273371289b506762bfda85094b55e298082b7cc2259f0d01ee30d61b771c", size = 515502, upload-time = "2026-11-06T15:02:40.505Z" }, + { url = "https://files.pythonhosted.org/packages/ed/87/9c3917a60c381132af4d06eab58210a171b74a18060a27590f338dbf21b3/jiter-0.19.0-cp314-cp314t-win32.whl", hash = "sha256:521438d81c8c42293e09297441de331731f576ba647e7dd6c05698d873c17c34", size = 185092, upload-time = "2026-11-06T15:02:41.81Z" }, + { url = "https://files.pythonhosted.org/packages/4e/f5/0aea271de1d0194634c235d5d864006658282fad462beee2e5268ea57dd5/jiter-0.19.0-cp314-cp314t-win_amd64.whl", hash = "sha256:f2531f55026fca2c448148c7d9371117f801e0df7a084af62133b3d775564ebd", size = 227614, upload-time = "2026-11-06T15:02:43.234Z" }, + { url = "https://files.pythonhosted.org/packages/91/da/69a37a4c11a9d5a2f70e9704081474489a05a379e5baece7454fad5a7481/jiter-0.19.0-cp314-cp314t-win_arm64.whl", hash = "sha256:8167c2cd6fd39b2b9428061cbb03889ba17a45df2285307750eb720b9befee03", size = 183029, upload-time = "2026-11-06T15:02:44.597Z" }, + { url = "https://files.pythonhosted.org/packages/74/b7/ec514207195a7dbe7437239f9b55f36de1cd577716eddcc3cc69b5e8064c/jiter-0.19.0-cp315-cp315-macosx_10_12_x86_64.whl", hash = "sha256:1ed2bfe0518f584fb0dc22b36412d7c6d19529b5682de79e67b44666034938bd", size = 291909, upload-time = "2026-11-06T15:02:46.018Z" }, + { url = "https://files.pythonhosted.org/packages/68/66/09e6ba7930810191b798549c4cccbab65e5825bd27aa44b63caf8e303e67/jiter-0.19.0-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:baab631aa2a8bd139db09e56bd2f6358aebb5d7dddcac0713d07ac7fb0861ebb", size = 318969, upload-time = "2026-11-06T15:02:47.354Z" }, + { url = "https://files.pythonhosted.org/packages/ee/5c/7b4171cd22912b9c2bbc561e0d065439b4d65724d2c565aaeb0798c12db7/jiter-0.19.0-cp315-cp315-manylinux1_i686.manylinux_2_5_i686.whl", hash = "sha256:13c916eed31210fcf3b5d070709adaa6c2a39fdb0ad003962663460dd5cebcaa", size = 334730, upload-time = "2026-11-06T15:02:49.221Z" }, + { url = "https://files.pythonhosted.org/packages/e0/af/4119de31e174a529f20b9b51cf73f90cdbc89d3c6e9dc138fa3c0dbf8efe/jiter-0.19.0-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:63e17a237323b240cbb9be6c4157fcdb2b4edaf8aa267cefc52157ff6b27514e", size = 338040, upload-time = "2026-11-06T15:02:50.471Z" }, + { url = "https://files.pythonhosted.org/packages/3c/6e/d5b972d66811a6be98bc85087416a4cc7f38276903647fed708390862460/jiter-0.19.0-cp315-cp315-manylinux2014_armv7l.manylinux_2_17_armv7l.whl", hash = "sha256:86946bc97afcc82c79b12ca8acc87223acc2fee9b25ed3455e6abb0f3c40f722", size = 324217, upload-time = "2026-11-06T15:02:51.723Z" }, + { url = "https://files.pythonhosted.org/packages/15/04/2ad357983c345a45474d029dee9f4b6f9f88a603e79692a4f5348b05568a/jiter-0.19.0-cp315-cp315-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:f614930e5bfcaed1b18fc46c197b2df5f4172180ca07d7a2690b542cb21103a2", size = 335734, upload-time = "2026-11-06T15:02:53.221Z" }, + { url = "https://files.pythonhosted.org/packages/d0/b1/87f22901550c631b39de77f9376fc218d6e6c2055fe673904061f93cf812/jiter-0.19.0-cp315-cp315-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:5315406c0c95b18e07359113fcd96d219fafac94227be2b4e77d0e30ef6225ce", size = 350498, upload-time = "2026-11-06T15:02:54.576Z" }, + { url = "https://files.pythonhosted.org/packages/67/51/68340023ea8bbaf3abe4d37568d53c6a7f07bf498e2e9b0573d67614a493/jiter-0.19.0-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:daa5bd8317d7b9a56d95af3b0b054f0d06c94a8cb68e332943d4532ef8611eef", size = 338750, upload-time = "2026-11-06T15:02:55.916Z" }, + { url = "https://files.pythonhosted.org/packages/34/54/2e2e218e9b931cb7392e43902a05517d9ddbef687b3a081aa1669a65f0ae/jiter-0.19.0-cp315-cp315-manylinux_2_31_riscv64.whl", hash = "sha256:977b59124adddc535a794ee75eb27f223c4dd677822a3fd74e0d17be6a52c39b", size = 316619, upload-time = "2026-11-06T15:02:57.249Z" }, + { url = "https://files.pythonhosted.org/packages/d1/3c/fdf1690bde9ca32e53424f92a0728576399bee18490b221603e5590fbb5c/jiter-0.19.0-cp315-cp315-musllinux_1_1_aarch64.whl", hash = "sha256:be19151fceb1a7fcdbe7b187cadf914dc54e6f0fcfe88df7a0616ee0baa71a2d", size = 482123, upload-time = "2026-11-06T15:02:58.559Z" }, + { url = "https://files.pythonhosted.org/packages/e9/f0/3e9c6d18b9618a4d8cfdd5ffe320004cd78459eb70c20bfd4de0b0827580/jiter-0.19.0-cp315-cp315-musllinux_1_1_x86_64.whl", hash = "sha256:fa03bfa89a25915283cb748153db3da0fbd8fb298ed55abfba32bf3bf23d2b68", size = 516970, upload-time = "2026-11-06T15:03:00.011Z" }, + { url = "https://files.pythonhosted.org/packages/f2/d6/93533d76fc10e7e06e97abf2bb6aa5bd83b9ec513e911a42cda4c7c6839a/jiter-0.19.0-cp315-cp315-win32.whl", hash = "sha256:11f14da1ec8f4bc673a4fa475e84c5c7261b0239e18e0db03af55294919b5be8", size = 186648, upload-time = "2026-11-06T15:03:01.346Z" }, + { url = "https://files.pythonhosted.org/packages/bf/6d/9b480cd3bb00423c8251e322e147c9659fe8120fc345dbc0e0e8b128872a/jiter-0.19.0-cp315-cp315-win_amd64.whl", hash = "sha256:7981d17671689181d8b6806fac508ba6a794381f9486e62c598ead75ac857704", size = 227504, upload-time = "2026-11-06T15:03:02.762Z" }, + { url = "https://files.pythonhosted.org/packages/3e/ee/6e552e437dca26dc447fd1d44141b2d37d1b00530bfb3c0b92fa61ca7c53/jiter-0.19.0-cp315-cp315-win_arm64.whl", hash = "sha256:50522b7e6f3d86f038b6d3be748fcd352c1611235d54442e70458b26de324df2", size = 183098, upload-time = "2026-11-06T15:03:03.971Z" }, + { url = "https://files.pythonhosted.org/packages/69/a4/2b95137709553f7820e3011389d6b5cac6a66fceec2484283d0b8e0be445/jiter-0.19.0-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:c3c3099dff0565e08ad503f2f9cf1ab8ec4a5b474042264c72517afc652e3285", size = 316134, upload-time = "2026-11-06T15:03:05.247Z" }, + { url = "https://files.pythonhosted.org/packages/ea/a9/05205b79e08d710bcc62de5472e7b208365cc047361d917a829421486da2/jiter-0.19.0-cp315-cp315t-manylinux1_i686.manylinux_2_5_i686.whl", hash = "sha256:2b26727103c0121ed2ec2e78ea23d669db71dad09128d274f1ba0aa4c07f96c5", size = 335277, upload-time = "2026-11-06T15:03:07.09Z" }, + { url = "https://files.pythonhosted.org/packages/06/fe/2be55dea9b0d14d44245200ed306302c8bc0e5a73977749ae5925ffb7c47/jiter-0.19.0-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:80d85202190ba13c3958bb01134bde8d81300a6530e2d5cfe73b63ae9a55f408", size = 336622, upload-time = "2026-11-06T15:03:08.366Z" }, + { url = "https://files.pythonhosted.org/packages/32/eb/9383e49faaf67b19f8ddb1b08963668a1c1cbd236ea25f22de19e3aa4908/jiter-0.19.0-cp315-cp315t-manylinux2014_armv7l.manylinux_2_17_armv7l.whl", hash = "sha256:cb7458f07137ed895d01344d321205f050fb15fa8597a29e5d9bdaac140d4678", size = 323119, upload-time = "2026-11-06T15:03:09.847Z" }, + { url = "https://files.pythonhosted.org/packages/cd/9f/75816f1f9cc27e5212991a27c99d14f9995d92e6cda2562ab527a3400f7f/jiter-0.19.0-cp315-cp315t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:7a01b76a206200d8a55111ac3d8fdc131dfdbefeaee0efca72597854aa71d6ea", size = 335134, upload-time = "2026-11-06T15:03:11.786Z" }, + { url = "https://files.pythonhosted.org/packages/d8/3b/9fcb38a871223a8759d46514594b2d146d4fd50890110e3b0e47d9b7775a/jiter-0.19.0-cp315-cp315t-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:a628bd3603bb4a9f73d6bf659fbf8565e30902b4d7ba915e125d00aa2c3cacf7", size = 350588, upload-time = "2026-11-06T15:03:13.177Z" }, + { url = "https://files.pythonhosted.org/packages/7e/e0/297733d77491186cad6b239ed87231bfd670d4224f6348217656e547ca47/jiter-0.19.0-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:ca0bb11753d4e24d07f579ec4b62413bb43f88d8736216b57996f4011906b20c", size = 338023, upload-time = "2026-11-06T15:03:14.546Z" }, + { url = "https://files.pythonhosted.org/packages/c7/33/bfe34cf6f72ee13090169390e829b8339d769264fe3e92f2b8f211915782/jiter-0.19.0-cp315-cp315t-manylinux_2_31_riscv64.whl", hash = "sha256:f19ebbeeae0eade71b798efc2afacdfb07402e0fcc7c0943529759f31476985e", size = 315871, upload-time = "2026-11-06T15:03:15.857Z" }, + { url = "https://files.pythonhosted.org/packages/3d/12/2c095a7929daa0421e0ce631b12ce7374b41ac19a9a9141e79411d483868/jiter-0.19.0-cp315-cp315t-musllinux_1_1_aarch64.whl", hash = "sha256:49610246ac2dd94392659d94a53c8d71f2b2c92dc22f2b15a4d1b0d774f74c52", size = 480771, upload-time = "2026-11-06T15:03:17.113Z" }, + { url = "https://files.pythonhosted.org/packages/2d/d7/0df9bcc5a35180d05f3b1af2813434af1eeaa9ee4dd2f54cd79cddb7ef0f/jiter-0.19.0-cp315-cp315t-musllinux_1_1_x86_64.whl", hash = "sha256:1c77841a8e98c7c765fcc804f9c1c4f66905340cab7a81c3ebdca5c4d68bfe4a", size = 515629, upload-time = "2026-11-06T15:03:18.408Z" }, + { url = "https://files.pythonhosted.org/packages/cf/98/8c2a5ab47b4a8b4a9d9b6c12354a3a1497c20b779c44d38732a02e14e1c7/jiter-0.19.0-cp315-cp315t-win32.whl", hash = "sha256:3694d60669e7d8277f6366170a6944f8b9779d85417b3ee6dda3897300528141", size = 185198, upload-time = "2026-11-06T15:03:19.882Z" }, + { url = "https://files.pythonhosted.org/packages/ea/6f/736254f4a132622ee3481d90cf7a521b3b3d0f8c6e3794a87bb10b88388b/jiter-0.19.0-cp315-cp315t-win_amd64.whl", hash = "sha256:093add0b9c12cfa04920cb9fcdc9845ff580fb374ca6a645f6d74f471a5d25f7", size = 224870, upload-time = "2026-11-06T15:03:21.225Z" }, + { url = "https://files.pythonhosted.org/packages/49/cc/9bf0f4ea335a7b9468f7e72c2cc5d19a77f7d9ddf77f7fd9af69f82f489e/jiter-0.19.0-cp315-cp315t-win_arm64.whl", hash = "sha256:9f5ac1f8d1b0eda36d98ab5266c98deddf4d8dc5ff7e031c51f9e9f632abee2f", size = 183185, upload-time = "2026-11-06T15:03:22.475Z" }, + { url = "https://files.pythonhosted.org/packages/4c/67/66164d4be8991d7f3b7163be80c7c5e94040cc7d9ba62b4e4e4113da5f79/jiter-0.19.0-graalpy312-graalpy250_312_native-macosx_10_12_x86_64.whl", hash = "sha256:e7682cfd9561bcdc47dbd10d2546b5b37640b4bef407f76fb434c30e4cb0ae81", size = 287293, upload-time = "2026-11-06T15:03:23.746Z" }, + { url = "https://files.pythonhosted.org/packages/ba/8f/94f8b4d9be8cbf8e0be61c21b368ba367d8cb57d8f5d0ef71bcc8f61ef3d/jiter-0.19.0-graalpy312-graalpy250_312_native-macosx_11_0_arm64.whl", hash = "sha256:bee08505baeb38c891d884e977b20924ec13bbedfc3ff1d32cfd66a867f8e9b1", size = 277813, upload-time = "2026-11-06T15:03:25.476Z" }, + { url = "https://files.pythonhosted.org/packages/b3/5e/1ba251fae0c9d689cc40b4dbedc9a6674db0d5ef5dae2af0a7a4ccaa8886/jiter-0.19.0-graalpy312-graalpy250_312_native-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:dd34bb5493184ca9816fc4ffb19ea7377940d5171512cfc107356a3a145a4ba2", size = 300193, upload-time = "2026-11-06T15:03:26.882Z" }, + { url = "https://files.pythonhosted.org/packages/7b/00/03f9750ce7fc6882c00e030f5843afaec7ab06813ebe2f0d363acaadb973/jiter-0.19.0-graalpy312-graalpy250_312_native-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:885673d25907536b3bce8d61accd67a534eb3ad5fa2dc7ebfa67c4842b3b0060", size = 301132, upload-time = "2026-11-06T15:03:28.217Z" }, + { url = "https://files.pythonhosted.org/packages/c1/43/f7adc61beb4d2f9990ad802856324cfa5968f6b54c9dff91e16acc866b0b/jiter-0.19.0-graalpy313-graalpy253_313_native-macosx_11_0_arm64.whl", hash = "sha256:50f9e5bde6bef0eef6a12315088e635b19d50cbceec745615eb8614f6bf4b52c", size = 277105, upload-time = "2026-11-06T15:03:29.514Z" }, + { url = "https://files.pythonhosted.org/packages/5d/56/9d34c6a580f010259c136a1354d0e51cbe1293aef4def5f6c42347c73727/jiter-0.19.0-graalpy313-graalpy253_313_native-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:42efe1a711c0745b6098b8bff931b0a2e7fff36098cbc2dc16b76497f1cbe834", size = 300134, upload-time = "2026-11-06T15:03:30.774Z" }, + { url = "https://files.pythonhosted.org/packages/e7/b7/dd4360ad780ea1455ff2607b43cd9fcd0fd785ae366c8a632785010e92ff/jiter-0.19.0-graalpy313-graalpy253_313_native-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:2c82005ee84b348cee72a8df6672b5d6c9fe9db4b81c98b84a28155d447d2348", size = 300943, upload-time = "2026-11-06T15:03:32.042Z" }, +] + [[package]] name = "jmespath" version = "1.1.0" @@ -1137,6 +1747,13 @@ all-db = [ { name = "snowflake-sqlalchemy" }, { name = "sqlalchemy-bigquery" }, ] +benchmark = [ + { name = "google-cloud-bigquery" }, + { name = "litellm" }, + { name = "pandas" }, + { name = "python-dotenv" }, + { name = "tqdm" }, +] bigquery = [ { name = "sqlalchemy-bigquery" }, ] @@ -1175,22 +1792,27 @@ requires-dist = [ { name = "discord-py", specifier = ">=2.3,<3.0" }, { name = "duckdb-engine", marker = "extra == 'all-db'", specifier = ">=0.13" }, { name = "duckdb-engine", marker = "extra == 'duckdb'", specifier = ">=0.13" }, + { name = "google-cloud-bigquery", marker = "extra == 'benchmark'", specifier = ">=3,<4" }, { name = "jsonschema", marker = "extra == 'tools'", specifier = ">=4.20,<5" }, + { name = "litellm", marker = "extra == 'benchmark'", specifier = ">=1.63,<2" }, { name = "mcp", marker = "extra == 'mcp'", specifier = ">=1.26,<2" }, { name = "oracledb", marker = "extra == 'all-db'", specifier = ">=2.0,<4.0" }, { name = "oracledb", marker = "extra == 'oracle'", specifier = ">=2.0,<4.0" }, + { name = "pandas", marker = "extra == 'benchmark'", specifier = ">=2.2,<3" }, { name = "psycopg", extras = ["binary"], marker = "extra == 'all-db'", specifier = ">=3.2,<4.0" }, { name = "psycopg", extras = ["binary"], marker = "extra == 'postgres'", specifier = ">=3.2,<4.0" }, { name = "pymysql", marker = "extra == 'all-db'", specifier = ">=1.1" }, { name = "pymysql", marker = "extra == 'mysql'", specifier = ">=1.1" }, + { name = "python-dotenv", marker = "extra == 'benchmark'", specifier = ">=1" }, { name = "pyyaml", specifier = ">=6.0" }, { name = "snowflake-sqlalchemy", marker = "extra == 'all-db'", specifier = ">=1.6" }, { name = "snowflake-sqlalchemy", marker = "extra == 'snowflake'", specifier = ">=1.6" }, { name = "sqlalchemy", specifier = ">=2.0" }, { name = "sqlalchemy-bigquery", marker = "extra == 'all-db'", specifier = ">=1.11" }, { name = "sqlalchemy-bigquery", marker = "extra == 'bigquery'", specifier = ">=1.11" }, + { name = "tqdm", marker = "extra == 'benchmark'", specifier = ">=4.66" }, ] -provides-extras = ["tools", "mcp", "oracle", "postgres", "bigquery", "snowflake", "mysql", "duckdb", "all-db"] +provides-extras = ["benchmark", "tools", "mcp", "oracle", "postgres", "bigquery", "snowflake", "mysql", "duckdb", "all-db"] [package.metadata.requires-dev] dev = [ @@ -1286,6 +1908,192 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/5f/5d/3dcec2884ba1b0806d1408612555c38dd5d68e90156b59f75f6e36435c3a/librt-0.13.0-cp314-cp314t-win_arm64.whl", hash = "sha256:2f281549a4c52ac7bb97997f14353f8bd0e53a34ca0dad1c905cfd0b4a58ae99", size = 110771, upload-time = "2026-07-08T12:26:12.303Z" }, ] +[[package]] +name = "litellm" +version = "1.109.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "aiohttp" }, + { name = "anyio", version = "4.14.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, + { name = "anyio", version = "4.16.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, + { name = "async-timeout", marker = "python_full_version < '3.11'" }, + { name = "boto3" }, + { name = "certifi" }, + { name = "click" }, + { name = "fastuuid", marker = "python_full_version < '3.15'" }, + { name = "filelock" }, + { name = "httpx", extra = ["http2"] }, + { name = "huggingface-hub" }, + { name = "importlib-metadata" }, + { name = "jinja2" }, + { name = "jsonschema" }, + { name = "openai" }, + { name = "packaging" }, + { name = "pydantic", version = "2.13.5", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, + { name = "pydantic", version = "2.14.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, + { name = "pydantic-settings", version = "2.15.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, + { name = "pydantic-settings", version = "2.16.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, + { name = "python-dotenv" }, + { name = "pyyaml" }, + { name = "tiktoken" }, + { name = "tokenizers" }, + { name = "typing-extensions", version = "4.15.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, + { name = "typing-extensions", version = "4.16.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/64/cc/6295db7faccd95aae86392e06531817e8ef2661b04805e95cfde56165a32/litellm-1.109.1.tar.gz", hash = "sha256:5b98ecccd93374b8ea1746ee98de16b505c0b5e6c0dfb7e8afec3d817d08d7c2", size = 25570168, upload-time = "2026-11-12T02:00:18.465Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/0c/1e/f83650f0840f47b4d48e7d3fcc49ee23f2b9ab27fb90937f0e1d9e0dbd5c/litellm-1.109.1-cp310-abi3-macosx_10_12_x86_64.whl", hash = "sha256:1fdf789757fc71c9a9ac183cd326b978782dfa9ebd44087c6603b5b963956841", size = 40565744, upload-time = "2026-11-12T01:59:54.804Z" }, + { url = "https://files.pythonhosted.org/packages/16/10/9c973a582a29ace1b4437b0851b278f8b65a22c351ab3c3180d6bcebb0ec/litellm-1.109.1-cp310-abi3-macosx_11_0_arm64.whl", hash = "sha256:1b2866219249186babe194d7e3f4af29095c0905a4c5712b62be662aa6a38fb7", size = 39911789, upload-time = "2026-11-12T01:59:58.373Z" }, + { url = "https://files.pythonhosted.org/packages/af/20/d305f1243712131a79c7f069cdaad8be9f5a3746f09440576933ec55b6a9/litellm-1.109.1-cp310-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:1dcf31166d385e6eaaef7f5840ba88c4eac319d1aa2d3ec2787de981e07fcf11", size = 40353049, upload-time = "2026-11-12T02:00:01.288Z" }, + { url = "https://files.pythonhosted.org/packages/30/5b/05ec8f224dd31cc294a5e0483fd6385d8991ffe4c0312978f5924ac053a5/litellm-1.109.1-cp310-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:1c8b4dd671fa0cd0850aa751678704ff77e595fb1e6085b2dc3be39ee19bdaaf", size = 41091727, upload-time = "2026-11-12T02:00:05.2Z" }, + { url = "https://files.pythonhosted.org/packages/9d/93/80f9b16aea7a10ccc1bac561fd65130271a928b5a8f23a6a1e8b32ec349b/litellm-1.109.1-cp310-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:c84737897b6b459acd660fd7adb33e2d552c5d0b93c4a47b8cd4f5e299c93bac", size = 40482185, upload-time = "2026-11-12T02:00:08.516Z" }, + { url = "https://files.pythonhosted.org/packages/2f/49/120f60c831983fccfddfaa8683e0bb75c2ba70ed62263acae44ddd360534/litellm-1.109.1-cp310-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:b94080b0436c471e686735d10fd1069c151cf8b9816d823a1450419573f30e46", size = 41180765, upload-time = "2026-11-12T02:00:11.814Z" }, + { url = "https://files.pythonhosted.org/packages/44/82/dfd6aa8ac212f5c2c7576079c92b97fcb666f3da521f47c813d1ee02e195/litellm-1.109.1-cp310-abi3-win_amd64.whl", hash = "sha256:738fd2465e24460f03a8c5ff33dc57c3fdfad88ff489811d718ee6ba3c5ad900", size = 41985493, upload-time = "2026-11-12T02:00:15.416Z" }, +] + +[[package]] +name = "markupsafe" +version = "3.0.4" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/38/9b/e422a865e1d5d57d0e509b4e0bf1c1a70a7f6382c29a5aa428df994c8bc8/markupsafe-3.0.4.tar.gz", hash = "sha256:2e9ad7dd851bf45fab9f75cbff4cb493fee9979e8d8c7c9c3ee119022518edd6", size = 153777, upload-time = "2026-10-02T23:07:22.29Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/41/aa/9a65962e364bf19745f6bec7bde398fb1f5ca53ad2e734258e6198cc32ba/markupsafe-3.0.4-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:dd8ea6ebee7aedbf7c749fa80521d9ccf1ba473e0d1e14805caafbaad281c889", size = 11521, upload-time = "2026-10-02T23:04:20.141Z" }, + { url = "https://files.pythonhosted.org/packages/14/36/927999a34b7d1def6957de89153d327fedc4030061940b5a468584e6c5a8/markupsafe-3.0.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:dff05cb7016dff1e9fd68f4122c127b65dfc59de5306cfb7ad92f956f230bee2", size = 12066, upload-time = "2026-10-02T23:04:21.275Z" }, + { url = "https://files.pythonhosted.org/packages/17/54/69e7b0db9bd687bfd83451eed5666384d67cfed3be062bfc59a06a15474e/markupsafe-3.0.4-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:cf63c214fe879a65e69a386f915e36104fc84254ab141240f8854602d8e0be2a", size = 22081, upload-time = "2026-10-02T23:04:22.221Z" }, + { url = "https://files.pythonhosted.org/packages/bd/14/f6f5c97903f7d2db76bbfaced31509a47d360a103b3aaf4849f6536591ec/markupsafe-3.0.4-cp310-cp310-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:2a6ef68ae94aed8721934072b27a3b654ea2100b97e4ab864cf1489c90926fbc", size = 26079, upload-time = "2026-10-02T23:04:23.346Z" }, + { url = "https://files.pythonhosted.org/packages/d0/04/c3cc9b75f94f8b54d7e503c44cebd4b4a115ec1d6f1b996b999807daba99/markupsafe-3.0.4-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:fd9f8797427910198f95bced71ddfed61130d7e349213bfb8466c9c99e2c46a8", size = 22611, upload-time = "2026-10-02T23:04:24.401Z" }, + { url = "https://files.pythonhosted.org/packages/00/26/c4708ed3b0f08e8e6d7cbce3314ac130cb5352d1f62951b6fef7878f2b1e/markupsafe-3.0.4-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d1aca03ede943eb80ab3d63bb082c84b7aab85ea83bd0fd0c200260945fb49d9", size = 20712, upload-time = "2026-10-02T23:04:25.386Z" }, + { url = "https://files.pythonhosted.org/packages/d9/b9/f3894d6aae3d7a52c9363317f4baf2fcadc052163d6dbc871266e32639ed/markupsafe-3.0.4-cp310-cp310-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:0764a13d34cae40db7bbf3a09b7e9b491bf4603e20b263a7a9d6b8e324975d0a", size = 20742, upload-time = "2026-10-02T23:04:26.403Z" }, + { url = "https://files.pythonhosted.org/packages/59/7c/8e248ddbfe286ab6bddb462bdac0851cbb1510d2cbbb815a415fcb0511af/markupsafe-3.0.4-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:9388003072b95f2f1e3fd908604194d653ba21330d811961a78b7da1a77e9e36", size = 21560, upload-time = "2026-10-02T23:04:27.522Z" }, + { url = "https://files.pythonhosted.org/packages/df/26/2353fef7d4bcf2b18e16bad81979fcecff2915156ca6882447917205b8e2/markupsafe-3.0.4-cp310-cp310-musllinux_1_2_armv7l.whl", hash = "sha256:8698d70a8081ee8c090dbb394768b5789a1da8b131b5499f89d071dd3cfaf6be", size = 20973, upload-time = "2026-10-02T23:04:28.573Z" }, + { url = "https://files.pythonhosted.org/packages/67/6f/a9561d98d9a6ee3494b0b970a1c766e58bab128cc84841d56ec009456dbd/markupsafe-3.0.4-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:bf053da3c97a4bc5ecfbb218cdd2983febd91c617be8367d139882aa11e490aa", size = 22036, upload-time = "2026-10-02T23:04:29.568Z" }, + { url = "https://files.pythonhosted.org/packages/55/83/6217df9192eca95af3ff0cad955c9854a93fa43b288cf7411ae24713eb52/markupsafe-3.0.4-cp310-cp310-musllinux_1_2_riscv64.whl", hash = "sha256:9438a2648b2195980cb2dd8e53ed7b8df91319e2d0b70ae61a9e1d1bc8d3bec9", size = 20314, upload-time = "2026-10-02T23:04:30.881Z" }, + { url = "https://files.pythonhosted.org/packages/35/7c/9cd8081dae70e17fdab3558121fa618d459c7950c8abd8fc10fc024486d7/markupsafe-3.0.4-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:88d59b473bfb03259722600839af9bbd7fa13a2eb514beefeedb95997882f69a", size = 20780, upload-time = "2026-10-02T23:04:31.975Z" }, + { url = "https://files.pythonhosted.org/packages/44/37/c5f2f45f4d8f0c24e4af7b9dc711640c888044cbf5f7e2ba2c0bb74cbb55/markupsafe-3.0.4-cp310-cp310-win32.whl", hash = "sha256:4a540e2d3192792fc84eced57bef37851ccb2b41f73291bb17408eea77bcd278", size = 14096, upload-time = "2026-10-02T23:04:33.129Z" }, + { url = "https://files.pythonhosted.org/packages/50/50/394a1c61c9b9972cb4f76875c332af7109bd39bdad09d3a0ec5327a339dc/markupsafe-3.0.4-cp310-cp310-win_amd64.whl", hash = "sha256:5c22873ad1f0532ba40fa1727f3c0fc1bbbaab6d373d4cbe3f0dc74b2e2521c7", size = 14329, upload-time = "2026-10-02T23:04:34.168Z" }, + { url = "https://files.pythonhosted.org/packages/d1/9a/86d03d2f32ba41a57baa124a7bcb76d0a6d39b1622e9bd4d550074e8b61a/markupsafe-3.0.4-cp310-cp310-win_arm64.whl", hash = "sha256:3d23795802fc8bd72534836d64489bbf0f67c088959091bdb22e10735a5107bf", size = 14196, upload-time = "2026-10-02T23:04:35.201Z" }, + { url = "https://files.pythonhosted.org/packages/32/55/18dbb4778b30ada5ce071608503cc3edc9e14e13d868c17a6d178fc30f7a/markupsafe-3.0.4-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:9e25feb9e330b63edb0278a0acdf85e50d0cb0fbf49c3084abbe4e24ae195346", size = 11520, upload-time = "2026-10-02T23:04:36.299Z" }, + { url = "https://files.pythonhosted.org/packages/6c/14/0b05f79b4733e264a18d08fe08fa1df7347630ff32a6cb82180d9dccec55/markupsafe-3.0.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:7d3391b2188d18737cb2fa147028b1096236eaa7e156446c650a489fa2cadc91", size = 12063, upload-time = "2026-10-02T23:04:37.291Z" }, + { url = "https://files.pythonhosted.org/packages/ca/3a/63ba10b6c1463216b3e4df669a9f0e5a3b0c3071557d2e8229e3968c79fb/markupsafe-3.0.4-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:849dd2bb0e5e4ab2b71c7191726a4a8d5aa8a610daa584728cbee0b710ddc4ef", size = 24321, upload-time = "2026-10-02T23:04:38.262Z" }, + { url = "https://files.pythonhosted.org/packages/1a/2e/5f015261b76ad633d187ef6f388b413aedd64a8773c4df59e530a0be5525/markupsafe-3.0.4-cp311-cp311-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:befb4158af32106b9a93db8d6d1d1cbbd418c0d5aca0cabb7b1780abf0c89169", size = 28845, upload-time = "2026-10-02T23:04:39.295Z" }, + { url = "https://files.pythonhosted.org/packages/33/cf/26e594b26be40c2f1fec63ccf8a8b99d0335a5b2cbe84835c7d82a994375/markupsafe-3.0.4-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:71f88e749ea29f67f21f3b36433c1dc54c7729ed2a6d9e2da2e0d9e0d7b224eb", size = 24701, upload-time = "2026-10-02T23:04:40.348Z" }, + { url = "https://files.pythonhosted.org/packages/81/a5/a513b76c139a3915b43404324e55c0b7979ae4f0d39eb6f075b0282e90a8/markupsafe-3.0.4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6da83a088f8ef93b2d483a8232a4dbf4d69d3d8496b568a03c56becac43e1808", size = 22961, upload-time = "2026-10-02T23:04:41.372Z" }, + { url = "https://files.pythonhosted.org/packages/46/cf/4c66192c100b4542bcbe392ae06696b670f66927be3ac38a213234778ff9/markupsafe-3.0.4-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:8f0fac8b13d14bb06c68195f849371924ae53dd7b1c00fed24650f704383b692", size = 21920, upload-time = "2026-10-02T23:04:42.429Z" }, + { url = "https://files.pythonhosted.org/packages/cb/17/ac3662678bfbad649893117ada2ba44dc30bf56884e84f13154a792b10f1/markupsafe-3.0.4-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:4a7cdc2a420ca01058182da4253329764d4bfa055564d1eced90e6ba1e8b1d3d", size = 23726, upload-time = "2026-10-02T23:04:43.531Z" }, + { url = "https://files.pythonhosted.org/packages/f7/af/fe47cee339180a69ebca3c57fb3483d0f5cbd1e8337d1871fb1d9c1aebee/markupsafe-3.0.4-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:83b3944fea42a8400edf92fd1770fb8d0d4f7de651353bd2d8525a92dba69a21", size = 22539, upload-time = "2026-10-02T23:04:44.618Z" }, + { url = "https://files.pythonhosted.org/packages/12/32/d55440ba140442800e02d799c9cb5ab597bf6ebdb1177b5ea39a11f797bd/markupsafe-3.0.4-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:8138eb83940ec7299024d92d4dee45f601b9e6c5ffde9d25f4e35e326203c707", size = 23963, upload-time = "2026-10-02T23:04:45.656Z" }, + { url = "https://files.pythonhosted.org/packages/50/9d/9c86042cb364c2ad4c971e6d1247929effd25f714cd7ee11b05e6316445b/markupsafe-3.0.4-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:811d02d5122171c1941357efd8f9bf4ffe907b7f0a1a4e729a880e4be3f46e3e", size = 21506, upload-time = "2026-10-02T23:04:46.671Z" }, + { url = "https://files.pythonhosted.org/packages/75/ef/5b824f03ba40c3b3652b6272d083d2fc4fcdd440de519a3a39ba2c3e7262/markupsafe-3.0.4-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:50b5bedc9ed8a94fc8857a42ef4f84a81ea88f8d4f05dc8705fb23ee6d8dcca7", size = 22955, upload-time = "2026-10-02T23:04:47.698Z" }, + { url = "https://files.pythonhosted.org/packages/1e/e8/44cfcb5ea40e5e43cec7793ef90704ed0c475280839076c4345757eb8e59/markupsafe-3.0.4-cp311-cp311-win32.whl", hash = "sha256:2e5a7cd7fdd14fcb1ae5d7d8bf23d24fbd1daefd1fbca2580132e1ea75f098b5", size = 14094, upload-time = "2026-10-02T23:04:48.788Z" }, + { url = "https://files.pythonhosted.org/packages/91/89/f2b509f7bf79352e40117824c1070dbeafd4df67031d3fa98165a3134228/markupsafe-3.0.4-cp311-cp311-win_amd64.whl", hash = "sha256:fdb4ca07ab75ffadab4a8b135ad59cdbb3156b99310f3d565370da74a15d6bd3", size = 14328, upload-time = "2026-10-02T23:04:49.801Z" }, + { url = "https://files.pythonhosted.org/packages/2b/5a/ccf22672a0f64dc682306e288f0dabcb06c7a201f3bb6e6cbf86d9e8ad03/markupsafe-3.0.4-cp311-cp311-win_arm64.whl", hash = "sha256:569d65055d367e3dcdf30c3f41119467b73d9ee9faf332bdf40402644f5ac08e", size = 14188, upload-time = "2026-10-02T23:04:50.847Z" }, + { url = "https://files.pythonhosted.org/packages/81/09/4c59d56b8461ae8eb0d8ba34bb25b7e618547044679d58a82ef9b2479fc1/markupsafe-3.0.4-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:61631e08084be9e21a8967ec3139c7616ed7c5e9368e05c86d1b39562c8a57b6", size = 11658, upload-time = "2026-10-02T23:04:51.876Z" }, + { url = "https://files.pythonhosted.org/packages/a2/f0/d6613774d86fbf6d145751d43c59875e47a6f9f17daee0aef173bd36d90e/markupsafe-3.0.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:0930db9bdc62d22944e10b066448bb65dc9abe9112880c7cab8da54db4284d5f", size = 12050, upload-time = "2026-10-02T23:04:52.931Z" }, + { url = "https://files.pythonhosted.org/packages/0d/f2/8f18e0b806eb13c1f8d07d917a720831ead54253a6dec011fbc78098a6f8/markupsafe-3.0.4-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6a45c3d514f2436064db00d7fc8778d888f0236ebfed649b53d13a59e69ad51b", size = 24363, upload-time = "2026-10-02T23:04:53.895Z" }, + { url = "https://files.pythonhosted.org/packages/60/ce/fa07dbe8a5675558fa36dea033e19995bc783de2dec5f540ccb9030b06aa/markupsafe-3.0.4-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:1e1451fab512d1bcc3dc26988ec1edb0b82c2db909132872cd9356070a6b63df", size = 28525, upload-time = "2026-10-02T23:04:54.905Z" }, + { url = "https://files.pythonhosted.org/packages/85/40/be87c01f3868ec217f8a2015089d71c22c8c5a75324822e5ed1cdd87210d/markupsafe-3.0.4-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:bd3ce56ae2cbae3ba82b683bc425cd7e48d2ed8b10f3e818186b6f5646d9271c", size = 24733, upload-time = "2026-10-02T23:04:56.229Z" }, + { url = "https://files.pythonhosted.org/packages/4f/a7/aeedb5140afa41fc74c225e9184ab96723a6e873b6ee1c9fede7283456d8/markupsafe-3.0.4-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8e124f974786f831d6043728e38296969d3579db8896fe004682f5758e613581", size = 22985, upload-time = "2026-10-02T23:04:57.521Z" }, + { url = "https://files.pythonhosted.org/packages/c3/fc/e91352bb08c6a59da3ef0909d457bf95a5f5908fbf151b30a06d9dbcfbb4/markupsafe-3.0.4-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c02e8f18bdedba082cef725942ac823b9b60656db07f7e265cb31618dfd00d77", size = 22001, upload-time = "2026-10-02T23:04:58.597Z" }, + { url = "https://files.pythonhosted.org/packages/5d/f8/bffee5e7d2a3deb59748a797650a48af7e672025cf641a79344a771ad106/markupsafe-3.0.4-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:9f098115c247e11d138ab83a28fa0323c77015007ea2df73ba5fd714dfefd67c", size = 23793, upload-time = "2026-10-02T23:04:59.686Z" }, + { url = "https://files.pythonhosted.org/packages/ed/59/b853d6628ecb4d658e1d637224846d5e9bb4adf4f8df97f3be9f29dce2ec/markupsafe-3.0.4-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:d5f93ebbeb8032d47e349328ec8662d973d9b05a70b3c35df1f91fe419b84749", size = 22640, upload-time = "2026-10-02T23:05:00.768Z" }, + { url = "https://files.pythonhosted.org/packages/09/b2/1506df394f0f075797c418d0301498f49e43be194e3ffcb49e6fe6ccf022/markupsafe-3.0.4-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:64511c54db4e4987aef4c41923235927428729e8174c5dba488429be70a998ed", size = 24074, upload-time = "2026-10-02T23:05:01.813Z" }, + { url = "https://files.pythonhosted.org/packages/c7/81/5ed69cda630ac69ef60d06c09ba5a7f84ff66a2e28cf986fd5614ab3c6e6/markupsafe-3.0.4-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:e1a622f13970d81f95d0c72f9dc090dce9085fccfa4c9f2174377ee32bd15786", size = 21563, upload-time = "2026-10-02T23:05:03.239Z" }, + { url = "https://files.pythonhosted.org/packages/0c/fe/fb1e79be0fea60aa32602ebefc9c35a82bb42b4df157285ab7dfec12341a/markupsafe-3.0.4-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:c9a7f43c0b202b334cc9184af09bb8f21d3a209e038efaf106936fb69e6b026e", size = 23048, upload-time = "2026-10-02T23:05:04.479Z" }, + { url = "https://files.pythonhosted.org/packages/c8/52/7632a53360671a9b750cdbabaf9cdd89f18b42248b8e4cb42c0b0296e459/markupsafe-3.0.4-cp312-cp312-win32.whl", hash = "sha256:f0ec3b750b59375eab5b0fb2b9254810c00a3375be6d789899f1055a1d556237", size = 14108, upload-time = "2026-10-02T23:05:05.513Z" }, + { url = "https://files.pythonhosted.org/packages/3f/bf/62495e180b7000aaf30000fff849e933f74264638057176cf46852500adc/markupsafe-3.0.4-cp312-cp312-win_amd64.whl", hash = "sha256:11935df9bf455ed0c04eb87bcd720f02b1fe5e02128a9430f23aed6f93336fc7", size = 14303, upload-time = "2026-10-02T23:05:06.538Z" }, + { url = "https://files.pythonhosted.org/packages/c5/8e/4c24208776a65878d656996945aacfbfe010d3720d1a98fc0eb8491fc03b/markupsafe-3.0.4-cp312-cp312-win_arm64.whl", hash = "sha256:a4bbd2d87dd233b9fc5812160c3d0ffbe42edc22a26ce0469f58479ede633fe9", size = 14174, upload-time = "2026-10-02T23:05:07.617Z" }, + { url = "https://files.pythonhosted.org/packages/6d/18/4bc5ba32499e87bb2b0ef5b3a9bb9c00a131fa961ddf0be548cb550f548b/markupsafe-3.0.4-cp313-cp313-android_24_arm64_v8a.whl", hash = "sha256:de8b364c423ef0a4bad9069657d617f9a5d2b2062457a89b1fa16ee199c399c1", size = 12786, upload-time = "2026-10-02T23:05:08.709Z" }, + { url = "https://files.pythonhosted.org/packages/4e/6f/17f0c099bf25f3e31e63cc19244d9f6af861a9a4ab778c203997903cfdd0/markupsafe-3.0.4-cp313-cp313-android_24_x86_64.whl", hash = "sha256:34bdde374c5932765d7dc685c4a1d191a3207852d67e8e0a9eb6ea85156181f1", size = 12510, upload-time = "2026-10-02T23:05:09.93Z" }, + { url = "https://files.pythonhosted.org/packages/11/af/1a141081b905036ee904ec4bd945e1f70b4e1b32d33c4e59e8cf1d58b247/markupsafe-3.0.4-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:6bd9e1788e15bfcf6a9082de42e30387e7b85d211ab21e57a939bb8cfaaf8d96", size = 11583, upload-time = "2026-10-02T23:05:10.884Z" }, + { url = "https://files.pythonhosted.org/packages/e7/0a/a89385ae590232622a03e091805cff12f24fabe6c11e0e8bae096cece81c/markupsafe-3.0.4-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:5066b244f576f91afc8ee3ba029a89f99d39c79b1853fe9d39bea9f0afbec148", size = 11801, upload-time = "2026-10-02T23:05:11.913Z" }, + { url = "https://files.pythonhosted.org/packages/ed/85/ea548dc013962eb73653124bc595635fbf9e0fa41d1f181a967ccb784dfb/markupsafe-3.0.4-cp313-cp313-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:7a83aa6e4805df46fed18e989d3d16f86ef60cb50bbc8d9ce3a6be89165fbf6e", size = 11443, upload-time = "2026-10-02T23:05:12.887Z" }, + { url = "https://files.pythonhosted.org/packages/cc/72/15f2e5ec9cf2eb00d5cdfe968d94e4156a7bd7303832c3f3b2c403a36839/markupsafe-3.0.4-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:2d1b7d9308288661f56672b1b157d75fc536714d3638487bbea17b6318a78248", size = 11665, upload-time = "2026-10-02T23:05:13.829Z" }, + { url = "https://files.pythonhosted.org/packages/ca/e0/4030bea613677e333c8a2c901fd405055f657f9d06acba5b7357984b6ef7/markupsafe-3.0.4-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:73e77980c7207854f00fc4e71fb1626868d5740ab4012623d55c7a99ad122a72", size = 12061, upload-time = "2026-10-02T23:05:14.807Z" }, + { url = "https://files.pythonhosted.org/packages/f3/a5/28b76a7449eb702966b88bef599e2360b411fbb3afeee8fe560939be06ec/markupsafe-3.0.4-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7018d4af1cd272e847aa5917983ab5e83e4f6579f9dbfecd4a79c0ca80b144c2", size = 24395, upload-time = "2026-10-02T23:05:15.909Z" }, + { url = "https://files.pythonhosted.org/packages/07/6c/21232811afc3a063b5e934b1ae2efda52f46154ec382f585149c020e61fe/markupsafe-3.0.4-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:c90d5b3d4e944e065a301d741b3c1d784f6bd1f503aa68b4967e32b2ba313d85", size = 27183, upload-time = "2026-10-02T23:05:16.976Z" }, + { url = "https://files.pythonhosted.org/packages/14/38/6ccdfa5b59049cb36fb80cbc80aee9cf1fc9bb77d1335ad435f2070b08cf/markupsafe-3.0.4-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:18a801868a884f216e784d7d14db2a4077143ce7610440aee2ce8f734e7cfcde", size = 24772, upload-time = "2026-10-02T23:05:18.209Z" }, + { url = "https://files.pythonhosted.org/packages/63/e0/cec6865dfe88cb48fedd4b20aed6af5158e41092adcbf3e028bcc6ec2108/markupsafe-3.0.4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:434139499bb20b502ed3baa1f169e618f924a97e7a777fea1a49446d80106cf6", size = 23017, upload-time = "2026-10-02T23:05:19.286Z" }, + { url = "https://files.pythonhosted.org/packages/ee/76/6ed4940bb7648a9aac457c14f870cfdd5105f139a0fb1f29cd61fafa47d1/markupsafe-3.0.4-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:9e227f3dbe6bde7491cf0a9965d00b88c6b1a4a95d11480ddf88bb96d397c19f", size = 22036, upload-time = "2026-10-02T23:05:20.352Z" }, + { url = "https://files.pythonhosted.org/packages/a1/4f/ed476226d4fe46a09090a36025bf319296810028df55eb12f1253b540f3a/markupsafe-3.0.4-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:b8cd1f918b26fd7b1832ece557cc18f2d8747309ff8b3f0ef9d4250c5ad67a39", size = 23786, upload-time = "2026-10-02T23:05:21.576Z" }, + { url = "https://files.pythonhosted.org/packages/9a/35/66ff30450e35ef5fba9ebc930c9411747e537fd9447b65e44f5007e2b84d/markupsafe-3.0.4-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:a5fcffb37e602b0b3c1638a97746b9b96125caa9bcf6fa41d337a9261de231ee", size = 22672, upload-time = "2026-10-02T23:05:22.922Z" }, + { url = "https://files.pythonhosted.org/packages/32/0b/72f45ce4b4efcbca4b80cf1b06703eff0be8d37e82abb78f66c85a7ead1e/markupsafe-3.0.4-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:5989cb26b2e1efc6a42216a9f6b5ee495ce5ace2e5b352a9af489976b32d1ee2", size = 24107, upload-time = "2026-10-02T23:05:24.175Z" }, + { url = "https://files.pythonhosted.org/packages/d2/03/71776e5fdcba04614b384cc102e8a4198208579d896fd1394cb7cb9aa900/markupsafe-3.0.4-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:add96447a86d205ab616665d53b2950ee81083757f56e6ea833c8b2917646b46", size = 21615, upload-time = "2026-10-02T23:05:25.215Z" }, + { url = "https://files.pythonhosted.org/packages/ab/5f/801ce02a02e7aee0f784b1ec7843026178f6adeb9c93ac67eb1992a9a84d/markupsafe-3.0.4-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:2628d3a8cb648ecebb3c5d6b0a1052d400e4d8b7ac0fb786be8d285b50040d17", size = 23076, upload-time = "2026-10-02T23:05:26.423Z" }, + { url = "https://files.pythonhosted.org/packages/4a/85/c43776625428f3bb4a61e8633940400e3efe6409e3c6f5bff26de5e45618/markupsafe-3.0.4-cp313-cp313-win32.whl", hash = "sha256:672d207103e6b16ca098611b0f9efad6bc00afd47c03d6ef62186495ca677dc0", size = 14118, upload-time = "2026-10-02T23:05:27.716Z" }, + { url = "https://files.pythonhosted.org/packages/6f/36/163da64de88a13db79214ef75fa041be7fa13bdb42261cf5b7484de14bfb/markupsafe-3.0.4-cp313-cp313-win_amd64.whl", hash = "sha256:1f1f9477e174582b0a1b583d60b66e1f2cf5d3fe12cee985e4aedf44766600e5", size = 14313, upload-time = "2026-10-02T23:05:28.749Z" }, + { url = "https://files.pythonhosted.org/packages/9f/a8/9b662783ffaa1149221432a923cee562f78b9cbbb8baa3df9b3753e63e1e/markupsafe-3.0.4-cp313-cp313-win_arm64.whl", hash = "sha256:06de8ef6331f6e822c28d577dc8bf43fe398800477c49498f38fc38b67ff33fc", size = 14189, upload-time = "2026-10-02T23:05:29.917Z" }, + { url = "https://files.pythonhosted.org/packages/5c/c3/a944f3b0df22bd129e96915b9f4e98d2eeca6516687d7618304a966c3c74/markupsafe-3.0.4-cp314-cp314-android_24_arm64_v8a.whl", hash = "sha256:4ed644d75aa94a2baf7ec3a96eaa160ea58c742eb9d27c6506053c5c40fc84ed", size = 12787, upload-time = "2026-10-02T23:05:30.971Z" }, + { url = "https://files.pythonhosted.org/packages/d4/d6/a44863f69d88b6c7e27889108f70d47aed259edf89d5df3c5fca1eac87d6/markupsafe-3.0.4-cp314-cp314-android_24_x86_64.whl", hash = "sha256:6d2a9efe686f9de00d0d1ea32a4a5a86d558a2277501bd78d964214eab625e59", size = 12525, upload-time = "2026-10-02T23:05:32.263Z" }, + { url = "https://files.pythonhosted.org/packages/17/8f/168ba80e532dd6a93f96f8f706f1ad41d7990b6e1aeedc1cc0d211a33497/markupsafe-3.0.4-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:8781a792a070cf2bd1b86d3aa943894115faaba6e88122a7bf32d62072742453", size = 11589, upload-time = "2026-10-02T23:05:33.251Z" }, + { url = "https://files.pythonhosted.org/packages/32/b3/aa2c95a574d3af39403a469b295886eb9b6d448da568cbebb5a2cbfdc2e5/markupsafe-3.0.4-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:971a3bbb75d97ae4e2e8f7d4834236f86f85f0c85e04ab2e191db1123b04f80b", size = 11801, upload-time = "2026-10-02T23:05:34.315Z" }, + { url = "https://files.pythonhosted.org/packages/60/d0/34b810107d83840e768bf485de795893ebbae35b26ab061b487adfa0a692/markupsafe-3.0.4-cp314-cp314-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:8909c2f1c6dd65e054ac4b573a91c8384d1492281e55d82d159d653f7a13adf6", size = 11447, upload-time = "2026-10-02T23:05:35.302Z" }, + { url = "https://files.pythonhosted.org/packages/6c/ab/2f8488f0f817a39fca068d2b17daf446bf5cdb3eae28c3720af534d873b4/markupsafe-3.0.4-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:4cf3468d5ec187ffffcaca8e61929a37448f215dafc1386a12c750a72fe53634", size = 11722, upload-time = "2026-10-02T23:05:36.363Z" }, + { url = "https://files.pythonhosted.org/packages/ad/40/e2d117b048d47282ade906fbfd92814cbee5647afc13fda88a3406039372/markupsafe-3.0.4-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:52704c5d36eb6dda8866493decd61111fff86244c9b1ad225ca01b9e91e5970f", size = 12061, upload-time = "2026-10-02T23:05:37.397Z" }, + { url = "https://files.pythonhosted.org/packages/9a/a8/73a81135e85ba66217f5af7facb03bbb386807e1a729ab64532e4c802652/markupsafe-3.0.4-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1caa2fa5a6184fb233153b35f654e6687bd555476f6170f29d8ee9be1a8b0af9", size = 24434, upload-time = "2026-10-02T23:05:38.407Z" }, + { url = "https://files.pythonhosted.org/packages/ac/ca/fa9216dd01efee2dfdacafe7df32b4d0170fbac694b0c258a193d6e53999/markupsafe-3.0.4-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:387d8cd30e69b3f0a72877b9ae717033396404e19095b17fe89753a981fda44f", size = 27183, upload-time = "2026-10-02T23:05:39.581Z" }, + { url = "https://files.pythonhosted.org/packages/fa/4e/a469509e538d37af51103b17b073126973f2b1cbf197ff32c7ddf025cfe5/markupsafe-3.0.4-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:051417f74bcaaefa316276e0ff723f541616ca51043d070da00249d9bddd3e3c", size = 24813, upload-time = "2026-10-02T23:05:40.671Z" }, + { url = "https://files.pythonhosted.org/packages/8f/db/d7282caf7ab03af44d5d6fdbaa019b35c7d7f1c90588b839c07cba640d6a/markupsafe-3.0.4-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a8e9f292fcda89b324f2f5c91d13f1424a153e40fc2756f38ee23b15835ff300", size = 23049, upload-time = "2026-10-02T23:05:41.864Z" }, + { url = "https://files.pythonhosted.org/packages/30/f3/b6a425206e6964efda6acee544d0eb01d1501784d0b8e2dcc74986f33b17/markupsafe-3.0.4-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:df1ae86ff54725a01fa1a0510b914ca53a161b7050be74f6204e24aded5971d0", size = 22088, upload-time = "2026-10-02T23:05:43.014Z" }, + { url = "https://files.pythonhosted.org/packages/ea/8a/84d3582fc1f0d5bd466cdf2eebf175e172158a6e70701aacec1de1b35430/markupsafe-3.0.4-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:8965520ac587c94a4ac48b729be3d8b8de00af39699b17585dfb599babe77977", size = 23846, upload-time = "2026-10-02T23:05:44.098Z" }, + { url = "https://files.pythonhosted.org/packages/1c/65/db101cce51b7ba4864ac491a9859d297dd1adf0e55b103fee9db9c47c527/markupsafe-3.0.4-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:340cbb1957ba99929cbf19a75626d36ba1ae21d1730b287d1cf7f824a20c4fc7", size = 22674, upload-time = "2026-10-02T23:05:45.23Z" }, + { url = "https://files.pythonhosted.org/packages/e0/49/ddee9813d71db0c7a5c9d97c832125e6758a0c844777f1cf076569bb0e22/markupsafe-3.0.4-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:3a93d9616ddecfb393727a0041a562cf0b15a244e20f2bd25efc7949be4c4f17", size = 24104, upload-time = "2026-10-02T23:05:46.398Z" }, + { url = "https://files.pythonhosted.org/packages/aa/0e/7d8518d726726870a2399d69fd30d0fa36c5e57a2132c336b58d7c491073/markupsafe-3.0.4-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:d2e56fd3b00222722abfb3f5f0759ddbae4b90811b5ad4343c64030ad1bde70c", size = 21637, upload-time = "2026-10-02T23:05:47.48Z" }, + { url = "https://files.pythonhosted.org/packages/b4/b0/b505e8a361ba557dbf3b3aa7331ea39b00d2022a26e925ff8463b9714bb3/markupsafe-3.0.4-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:0d9c47709875fdb321452056622e930c52afbc07a7d780762fbb8b4d91ce6fa4", size = 23081, upload-time = "2026-10-02T23:05:48.611Z" }, + { url = "https://files.pythonhosted.org/packages/1c/ea/9cc3cea873f980c75cbdb6f4277ce30ee955de38be0b3d02f14c108e0698/markupsafe-3.0.4-cp314-cp314-win32.whl", hash = "sha256:38fc55594dab834470b6733dead2ee9e3f657fb0608c769dcafa0ba5ab52f45c", size = 14272, upload-time = "2026-10-02T23:05:49.707Z" }, + { url = "https://files.pythonhosted.org/packages/80/f0/5792ff768a410f93ee3f84fc19345295ffc352d2c936b424cb37e514714c/markupsafe-3.0.4-cp314-cp314-win_amd64.whl", hash = "sha256:c1bc67752d5f21013cfe430df4062441714eab79f65a6a05e01505957e9c35fe", size = 14501, upload-time = "2026-10-02T23:05:50.788Z" }, + { url = "https://files.pythonhosted.org/packages/5f/cf/3d074a8edffcc6899355232ff2543ae8d929733239596423b7db79698bc9/markupsafe-3.0.4-cp314-cp314-win_arm64.whl", hash = "sha256:7e1636da3d8dfc220b6dd10264db5f2b165e4888c4518594898fbe381049af8a", size = 14364, upload-time = "2026-10-02T23:05:51.857Z" }, + { url = "https://files.pythonhosted.org/packages/d9/31/87ce42159aae2163cf3bbbd0c44bc87780510eecab1ea3859099aed95dcb/markupsafe-3.0.4-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:805c8b84534fa10891890f0e4be39f3a99e94615d93e8836bf9fa1fdca2feeb2", size = 11759, upload-time = "2026-10-02T23:05:52.951Z" }, + { url = "https://files.pythonhosted.org/packages/5f/53/b047207eeb7752e960aca3eb1df5fb7eefa7dd4c62ac49bb156456c8a702/markupsafe-3.0.4-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:fa95848c929b6a75f6848d3c9793e59db365ee436776e57db835cdbfa79ba977", size = 12096, upload-time = "2026-10-02T23:05:54.066Z" }, + { url = "https://files.pythonhosted.org/packages/ee/51/4326c88a13c7b755657d44b4bb986f8c3d9843ecba7e22d98661d87f9a57/markupsafe-3.0.4-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e916035e3e9930cbdfdd10abf48861340221857f45509565898e012263f7b289", size = 25699, upload-time = "2026-10-02T23:05:55.15Z" }, + { url = "https://files.pythonhosted.org/packages/f2/bb/990581b7474bfcf2cf34bed6ba5ea23bd87adb9d671213d68e88620e7a6b/markupsafe-3.0.4-cp314-cp314t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:b4d12837e0203bbace818ff4a7461afdcd78bcd782351cea148139180d7bcffe", size = 27804, upload-time = "2026-10-02T23:05:56.29Z" }, + { url = "https://files.pythonhosted.org/packages/6b/89/89491878c28e8291f5aa2fffe2c2d57230d10ae366d55dd810b840513d78/markupsafe-3.0.4-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:5086f9975abb1ab531ee6afca1761e4b59a19b446f3f6522ed776963228cfe5a", size = 25912, upload-time = "2026-10-02T23:05:57.416Z" }, + { url = "https://files.pythonhosted.org/packages/30/77/680998b54efdea06fc114565cd739b6d059f826a0279219b218dfa750d29/markupsafe-3.0.4-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b4a635a0487774f841cb1fb62e907e7195cc95bc761e053184b8acc3ceb20733", size = 23623, upload-time = "2026-10-02T23:05:58.557Z" }, + { url = "https://files.pythonhosted.org/packages/ae/75/2709f5ac5de9467b40b10e2bb8f89cc63dfb74582e09aa734b1124a217de/markupsafe-3.0.4-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:cb96e6e088d6cf71c1ea977510948320234824cf226e32f6f6e044f7a9c82b34", size = 23301, upload-time = "2026-10-02T23:05:59.94Z" }, + { url = "https://files.pythonhosted.org/packages/a0/c8/39eadc6c5b14c9c7679bfb98f4d4c6a97863b5beb91839aca4d2d6e16e55/markupsafe-3.0.4-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:8b5d563170ff8ba3181caa967c99a3c804d1dedb702c7cb93a6a7c32247da978", size = 24950, upload-time = "2026-10-02T23:06:01.289Z" }, + { url = "https://files.pythonhosted.org/packages/1a/5e/01037f8a43e8ccb0bffb4fbdc5212db05bf080fdd7286cd392332d58128a/markupsafe-3.0.4-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:396ec4e65cc889f69786b3b89478b471cee5a3bcf468b9d9bb03e1a30fb291fc", size = 23330, upload-time = "2026-10-02T23:06:02.441Z" }, + { url = "https://files.pythonhosted.org/packages/d4/f4/23e83ce0596bb0cbe670502d31df8f757bbd01a392aa486fa3b40d1ed399/markupsafe-3.0.4-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:15ba9e28640feef770374b116a6f019c21f52404aeabe516aa7f800587b98cfc", size = 25239, upload-time = "2026-10-02T23:06:03.579Z" }, + { url = "https://files.pythonhosted.org/packages/88/5b/3708897368073cc683d524750474f41a77d2986152c380dcc55b20fdf340/markupsafe-3.0.4-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:d920abdfa61279ba1a2ef9484aab07bf03331f8c08a10120fa332353d06e6932", size = 22767, upload-time = "2026-10-02T23:06:04.699Z" }, + { url = "https://files.pythonhosted.org/packages/c6/61/ebda1307864b409e6b3115757a3d4a09cca46cfb6cc65191b5de226b424b/markupsafe-3.0.4-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:a9f54054101545a9a9cccefddf54316aa6e4491611fcbef9e91b3b6bebec04f6", size = 23668, upload-time = "2026-10-02T23:06:05.9Z" }, + { url = "https://files.pythonhosted.org/packages/09/15/98075cceac3b5ba0dbb8e4762a847be967d2befc349a2cf2d0ac77f62c9d/markupsafe-3.0.4-cp314-cp314t-win32.whl", hash = "sha256:12a606a492de952afcb43b59a14aaaaad120e708d3663dd0fdf2d738d427a691", size = 14301, upload-time = "2026-10-02T23:06:07.109Z" }, + { url = "https://files.pythonhosted.org/packages/0b/a3/768b560fcc4156685cb563d922b217810cfa7bc135773367f62f1f9d2078/markupsafe-3.0.4-cp314-cp314t-win_amd64.whl", hash = "sha256:a18f38cafc329bac5e3c2b96c765b4c96d3d103421ed22ab7988c1e3fce27464", size = 14526, upload-time = "2026-10-02T23:06:08.276Z" }, + { url = "https://files.pythonhosted.org/packages/93/63/da554b4c97a6b0ea3229ca7fe8cbfb620be81613d517f482e85958550537/markupsafe-3.0.4-cp314-cp314t-win_arm64.whl", hash = "sha256:eba154571c16e032112afac0dc2dfe9e63c2ceb7aedd07bb7eecf2ce26d4dd4c", size = 14421, upload-time = "2026-10-02T23:06:09.402Z" }, + { url = "https://files.pythonhosted.org/packages/a9/30/54d11c8ca027114898cab97421fb39e4ffd9ddf47cdbc44df2ec76722da9/markupsafe-3.0.4-cp315-cp315-android_24_arm64_v8a.whl", hash = "sha256:737c9c3981998eba27f11786f84fddcbabc74068b72a4a1f454ea02094b57b65", size = 12791, upload-time = "2026-10-02T23:06:10.485Z" }, + { url = "https://files.pythonhosted.org/packages/10/6d/97c913e253a14bd3cd0e15a5c56d13203b823fa7ee32498342896a072dc4/markupsafe-3.0.4-cp315-cp315-android_24_x86_64.whl", hash = "sha256:489505b03f692c3f376394e49194fa7a7f9e8558d6e293a7056a0032b0c38163", size = 12527, upload-time = "2026-10-02T23:06:11.834Z" }, + { url = "https://files.pythonhosted.org/packages/26/f9/b86d032042a4d597d9e1997f0e5f63a3eedaf11258e0a05760b0a0a826ea/markupsafe-3.0.4-cp315-cp315-ios_13_0_arm64_iphoneos.whl", hash = "sha256:077293e425f28ec737dbcad442a71752e28f8ae27cde3d68acd1fb212091cd92", size = 11602, upload-time = "2026-10-02T23:06:13.122Z" }, + { url = "https://files.pythonhosted.org/packages/f2/dc/73c14c1eedf0ac5fa3292ba43435e6c49d2c2050f33cebde541f8f4807f1/markupsafe-3.0.4-cp315-cp315-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:9348cbb300d224fe3b89793262cb093504d4ae927004468463f745188a193e4a", size = 11817, upload-time = "2026-10-02T23:06:14.227Z" }, + { url = "https://files.pythonhosted.org/packages/8f/69/2c2fcaa5fcee22d72c7819c0d536fd181c74a688e6143845419579cd2863/markupsafe-3.0.4-cp315-cp315-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:b807e598953730f82e4eae3bd30f6a122cf6b31c398c6b504c0e04c13c170429", size = 11446, upload-time = "2026-10-02T23:06:15.574Z" }, + { url = "https://files.pythonhosted.org/packages/88/54/9e5ec76c62e6e2834d5a93623018c943e8b3bb41d663e3fd4c03303b9b85/markupsafe-3.0.4-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:799c39bdf5e2f1292fedd3009f7b3c9e760f10b2420cb9638d56920840ff6db8", size = 11719, upload-time = "2026-10-02T23:06:16.701Z" }, + { url = "https://files.pythonhosted.org/packages/96/24/3ec292b44064c16229e064d770b2625bd8ea941aa61f44905a9fa44942c0/markupsafe-3.0.4-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:ae9dcb8fbe244cb82f8a6458b455b927a03685e383d9bacf1ea5ce180b96dc97", size = 12075, upload-time = "2026-10-02T23:06:17.855Z" }, + { url = "https://files.pythonhosted.org/packages/aa/85/b64fdb1f304848518742136983c24e96d967bfb59a0ea160e92736901ab0/markupsafe-3.0.4-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4bced6e2a6dba6a28f7dd3c6ce14df1b2dd495923f16ea484cad03decd463b2b", size = 24656, upload-time = "2026-10-02T23:06:18.963Z" }, + { url = "https://files.pythonhosted.org/packages/9c/18/23997d4c65b355da6390d61cd56e0ab3befd6ba8dda25cb40c602bd0fa6b/markupsafe-3.0.4-cp315-cp315-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:3882fb412298575bae3b9c46868251f15cc69307359f87bb1b382e53d6e5a2c9", size = 27737, upload-time = "2026-10-02T23:06:20.117Z" }, + { url = "https://files.pythonhosted.org/packages/d4/36/35998dead3c6af88c38265a56e58100211f036234ab88eb2283fd4cbce44/markupsafe-3.0.4-cp315-cp315-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:04e7902ba80ee4bac1d50a549606527a1dcf0476cd81403db41099d3b60ec653", size = 25003, upload-time = "2026-10-02T23:06:21.284Z" }, + { url = "https://files.pythonhosted.org/packages/82/96/ef49135ce260db4ca4a12b119ed468449cd248db6b1468e2112b546d7a2e/markupsafe-3.0.4-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:925f929d6b59a8b3f8b8c6ac363cd0af7eecc81efb3071770b3c6717c450a369", size = 23111, upload-time = "2026-10-02T23:06:22.524Z" }, + { url = "https://files.pythonhosted.org/packages/50/7d/83126e338bd88c17a220668235368ad719fd4638e426739858cbb8508f77/markupsafe-3.0.4-cp315-cp315-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:f68edfc67aabac33708941f26f22a7b8e9f81429bc0cf249fcf7d66b23af8d19", size = 22403, upload-time = "2026-10-02T23:06:23.785Z" }, + { url = "https://files.pythonhosted.org/packages/83/dd/daf7e420de23c8206c365204e7b85e1251d8e19d34196a56336f316e5ed2/markupsafe-3.0.4-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:e5c802729725bd07e2bc3ab7b76dc7e0bbfc53129d8f1eb1c002c24cf774717e", size = 24083, upload-time = "2026-10-02T23:06:25.037Z" }, + { url = "https://files.pythonhosted.org/packages/19/3c/11eecdc06bc44ad5570350085b572ebf049e8f9a38d1ece6d76640b739cd/markupsafe-3.0.4-cp315-cp315-musllinux_1_2_armv7l.whl", hash = "sha256:55ffd6ce583d97dc71dc92e930324c8c0d25aea7e3ade6ae54ef77cedb096811", size = 22931, upload-time = "2026-10-02T23:06:26.328Z" }, + { url = "https://files.pythonhosted.org/packages/0d/9e/ac0fd77f2a726e56ecc3ca0235d095feace1358d1b822406c2a2ef26a4dc/markupsafe-3.0.4-cp315-cp315-musllinux_1_2_ppc64le.whl", hash = "sha256:2cb3dd71fc6be918ad4264346a8ed69485f9b7ed7bf35495d8e22807cd6b8bea", size = 24299, upload-time = "2026-10-02T23:06:27.742Z" }, + { url = "https://files.pythonhosted.org/packages/d7/09/c6bd842ad58ff5b3bc76eeed7e9a42a6f11adc5d090ec697b72c9672731e/markupsafe-3.0.4-cp315-cp315-musllinux_1_2_riscv64.whl", hash = "sha256:94f5407f7bc64fa6463906b896f9904beeeb7dd8dc116ee8e9056c8714ff9916", size = 21948, upload-time = "2026-10-02T23:06:29.274Z" }, + { url = "https://files.pythonhosted.org/packages/a3/46/82f586711fed61e86faa1ee1bc317d68cd45a10c8bdbe3f7d1fdf9026ad8/markupsafe-3.0.4-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:2dad610540cb2e6272855c178f08ae9a1c7ac258a7fb71660553a5f104b42741", size = 23150, upload-time = "2026-10-02T23:06:30.583Z" }, + { url = "https://files.pythonhosted.org/packages/19/2d/2dfdce99318abbfa26925195fbc17db188c46a1ec6457be121b6f9cfeb42/markupsafe-3.0.4-cp315-cp315-win32.whl", hash = "sha256:03470d1a8268e692ecf79ecd565593e59d44219377a7ead61f1f1b94c1f7ff6b", size = 14269, upload-time = "2026-10-02T23:06:31.949Z" }, + { url = "https://files.pythonhosted.org/packages/5b/ec/6000fd82e8791e58fcd0456ec20f098957e2b03d5ed02eb73241a577c0ba/markupsafe-3.0.4-cp315-cp315-win_amd64.whl", hash = "sha256:d882a373d8093c2941e01291b7ced96e9cbe4781da9a7751ca7e6c70385e5214", size = 14496, upload-time = "2026-10-02T23:06:33.258Z" }, + { url = "https://files.pythonhosted.org/packages/bc/66/e73bd5016421d5d6e2fb6de7dd609f9de020942ac8c626526bd8c6eeaf82/markupsafe-3.0.4-cp315-cp315-win_arm64.whl", hash = "sha256:353bd63081912ab8cfa6a0c7d185934cdf8426f04c618bba6bc4b394f2069b67", size = 14361, upload-time = "2026-10-02T23:06:34.539Z" }, + { url = "https://files.pythonhosted.org/packages/90/df/cb8c3dc98d313a951df2f8968f44e4cb5643df6d3cab749a530ce2f7d972/markupsafe-3.0.4-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:c61750fadcd119d0825bcb7d7d675dd264dcc89cc05292aab5be68ebdbb374ad", size = 11760, upload-time = "2026-10-02T23:06:35.807Z" }, + { url = "https://files.pythonhosted.org/packages/d6/bb/4af9b3ca0753d654ac75f9531d5bd741bb77ca6e696f36807c475ffc099a/markupsafe-3.0.4-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:1c0df495a977d10460a94941799c72d5b5ab03d3858d949b55b5a66c8f371c99", size = 12108, upload-time = "2026-10-02T23:06:37.089Z" }, + { url = "https://files.pythonhosted.org/packages/3f/d4/b56429313aee5fd59b079c3df5615299959e25e7113eb6d8caadbdd7d38a/markupsafe-3.0.4-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:02fa4acbc6a3fc5c693c34d4dd8c1130b7fe99cc915181b0ddd6f72aeb296002", size = 25762, upload-time = "2026-10-02T23:06:38.419Z" }, + { url = "https://files.pythonhosted.org/packages/65/f5/34c181e891aa4f7d59c918584672e0c5eb7fffe76c1387d1246008bf4081/markupsafe-3.0.4-cp315-cp315t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:05295589e619b9bed252a86b532b8e27350abc372d18ba89b59375325e91ec1e", size = 28400, upload-time = "2026-10-02T23:06:39.819Z" }, + { url = "https://files.pythonhosted.org/packages/ce/b5/ad14694fd0ac9a5ce30bc6498f2999378f418583dd1679cca5a1b512957e/markupsafe-3.0.4-cp315-cp315t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:be6cb0c799abb0e2ba3e618e6d28ddddf7e485f6c2ce938dfa237daf3905072c", size = 25946, upload-time = "2026-10-02T23:06:41.381Z" }, + { url = "https://files.pythonhosted.org/packages/d6/a8/26b606445387d0ceb1eb1f21840094b84e4e3c3c3983d80d10b89823b490/markupsafe-3.0.4-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:26e9867520db70d37f7fb421a7f0d8adb40171011fb84ce869afa1a83370dfa8", size = 23634, upload-time = "2026-10-02T23:06:42.748Z" }, + { url = "https://files.pythonhosted.org/packages/39/a2/b8814de672f1f0094d498bf646f2fec9d6356b503d28ef500b71c5095377/markupsafe-3.0.4-cp315-cp315t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:f03460ff076f70ab595bb45a0205ccea1971443575b6920c52e755dec2b3fbfe", size = 23488, upload-time = "2026-10-02T23:06:44.176Z" }, + { url = "https://files.pythonhosted.org/packages/db/c7/287223376fb73335a3cc5d6eb22c6ab01358cf33945a9c39c06b9dac3f4b/markupsafe-3.0.4-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:436e3ffc6310d3c41878c601db29098102fe5d8a467c49da4a4125254e0980f2", size = 25037, upload-time = "2026-10-02T23:06:45.646Z" }, + { url = "https://files.pythonhosted.org/packages/f9/29/4df8355e313426d19e62ba33e0253c009ca12a0894ee77d67fa67255361c/markupsafe-3.0.4-cp315-cp315t-musllinux_1_2_armv7l.whl", hash = "sha256:4e2c4809c14559aa7ef426f27fb35afbb38104c349a903bf8f3600456764bb38", size = 23543, upload-time = "2026-10-02T23:06:47.264Z" }, + { url = "https://files.pythonhosted.org/packages/71/e5/8377731e8495668dcc768f645e717df18318c841edaf023a99395f6da9b4/markupsafe-3.0.4-cp315-cp315t-musllinux_1_2_ppc64le.whl", hash = "sha256:da2af0d7aebfc2074080d72efa6ab8317c62481ef1f896f65d9999c1c01f4494", size = 25282, upload-time = "2026-10-02T23:06:48.795Z" }, + { url = "https://files.pythonhosted.org/packages/ed/5f/373456e37ceb1478d657d6fe769cbe0a39f0a8dfc1548eeb19c471eefdd9/markupsafe-3.0.4-cp315-cp315t-musllinux_1_2_riscv64.whl", hash = "sha256:aa2c838cc024642cc04c6854232f32b43e5e22833dd11119c1766c7873b8370d", size = 22993, upload-time = "2026-10-02T23:06:50.31Z" }, + { url = "https://files.pythonhosted.org/packages/d7/93/2cbd5628435afb6f541bbaced4bce0c2edac4b09a142e6e928b8b0da9858/markupsafe-3.0.4-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:b91cc9d336957239ff200f30097e6fea2dc6d6fb3c81e853eaa09eac904fd894", size = 23712, upload-time = "2026-10-02T23:06:51.759Z" }, + { url = "https://files.pythonhosted.org/packages/81/99/157e10966b033b363aeda5263e82596ee232a0b1d082fdbf90aa417ff083/markupsafe-3.0.4-cp315-cp315t-win32.whl", hash = "sha256:e49fb0d1ce92cfa0cb198cc5b1b11cdf9d0638658e2a2db2687e39db7c87fc78", size = 14300, upload-time = "2026-10-02T23:06:53.241Z" }, + { url = "https://files.pythonhosted.org/packages/33/05/55884815414c9706a23deca150b72c25a62109e65b0b6ce232077802c719/markupsafe-3.0.4-cp315-cp315t-win_amd64.whl", hash = "sha256:4f6e0852a0283b1b1fd776eeb7b766a5f440b3e2bd31ab51af3b400585f3965c", size = 14522, upload-time = "2026-10-02T23:06:54.729Z" }, + { url = "https://files.pythonhosted.org/packages/92/f9/ecbde7149e95b8a0f18e16d5d747f7dc06049d5da2e4f77f6f5e4a1f46a8/markupsafe-3.0.4-cp315-cp315t-win_arm64.whl", hash = "sha256:39dbacefc411633db5b4378b066a9aca70a3d7e2922c9e578d825f844026eeba", size = 14417, upload-time = "2026-10-02T23:06:56.246Z" }, +] + [[package]] name = "mcp" version = "1.30.0" @@ -1490,6 +2298,254 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/79/7b/2c79738432f5c924bef5071f933bcc9efd0473bac3b4aa584a6f7c1c8df8/mypy_extensions-1.1.0-py3-none-any.whl", hash = "sha256:1be4cccdb0f2482337c4743e60421de3a356cd97508abadd57d47403e94f5505", size = 4963, upload-time = "2025-04-22T14:54:22.983Z" }, ] +[[package]] +name = "numpy" +version = "2.2.6" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version < '3.11'", +] +sdist = { url = "https://files.pythonhosted.org/packages/76/21/7d2a95e4bba9dc13d043ee156a356c0a8f0c6309dff6b21b4d71a073b8a8/numpy-2.2.6.tar.gz", hash = "sha256:e29554e2bef54a90aa5cc07da6ce955accb83f21ab5de01a62c8478897b264fd", size = 20276440, upload-time = "2025-05-17T22:38:04.611Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/9a/3e/ed6db5be21ce87955c0cbd3009f2803f59fa08df21b5df06862e2d8e2bdd/numpy-2.2.6-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:b412caa66f72040e6d268491a59f2c43bf03eb6c96dd8f0307829feb7fa2b6fb", size = 21165245, upload-time = "2025-05-17T21:27:58.555Z" }, + { url = "https://files.pythonhosted.org/packages/22/c2/4b9221495b2a132cc9d2eb862e21d42a009f5a60e45fc44b00118c174bff/numpy-2.2.6-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:8e41fd67c52b86603a91c1a505ebaef50b3314de0213461c7a6e99c9a3beff90", size = 14360048, upload-time = "2025-05-17T21:28:21.406Z" }, + { url = "https://files.pythonhosted.org/packages/fd/77/dc2fcfc66943c6410e2bf598062f5959372735ffda175b39906d54f02349/numpy-2.2.6-cp310-cp310-macosx_14_0_arm64.whl", hash = "sha256:37e990a01ae6ec7fe7fa1c26c55ecb672dd98b19c3d0e1d1f326fa13cb38d163", size = 5340542, upload-time = "2025-05-17T21:28:30.931Z" }, + { url = "https://files.pythonhosted.org/packages/7a/4f/1cb5fdc353a5f5cc7feb692db9b8ec2c3d6405453f982435efc52561df58/numpy-2.2.6-cp310-cp310-macosx_14_0_x86_64.whl", hash = "sha256:5a6429d4be8ca66d889b7cf70f536a397dc45ba6faeb5f8c5427935d9592e9cf", size = 6878301, upload-time = "2025-05-17T21:28:41.613Z" }, + { url = "https://files.pythonhosted.org/packages/eb/17/96a3acd228cec142fcb8723bd3cc39c2a474f7dcf0a5d16731980bcafa95/numpy-2.2.6-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:efd28d4e9cd7d7a8d39074a4d44c63eda73401580c5c76acda2ce969e0a38e83", size = 14297320, upload-time = "2025-05-17T21:29:02.78Z" }, + { url = "https://files.pythonhosted.org/packages/b4/63/3de6a34ad7ad6646ac7d2f55ebc6ad439dbbf9c4370017c50cf403fb19b5/numpy-2.2.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fc7b73d02efb0e18c000e9ad8b83480dfcd5dfd11065997ed4c6747470ae8915", size = 16801050, upload-time = "2025-05-17T21:29:27.675Z" }, + { url = "https://files.pythonhosted.org/packages/07/b6/89d837eddef52b3d0cec5c6ba0456c1bf1b9ef6a6672fc2b7873c3ec4e2e/numpy-2.2.6-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:74d4531beb257d2c3f4b261bfb0fc09e0f9ebb8842d82a7b4209415896adc680", size = 15807034, upload-time = "2025-05-17T21:29:51.102Z" }, + { url = "https://files.pythonhosted.org/packages/01/c8/dc6ae86e3c61cfec1f178e5c9f7858584049b6093f843bca541f94120920/numpy-2.2.6-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:8fc377d995680230e83241d8a96def29f204b5782f371c532579b4f20607a289", size = 18614185, upload-time = "2025-05-17T21:30:18.703Z" }, + { url = "https://files.pythonhosted.org/packages/5b/c5/0064b1b7e7c89137b471ccec1fd2282fceaae0ab3a9550f2568782d80357/numpy-2.2.6-cp310-cp310-win32.whl", hash = "sha256:b093dd74e50a8cba3e873868d9e93a85b78e0daf2e98c6797566ad8044e8363d", size = 6527149, upload-time = "2025-05-17T21:30:29.788Z" }, + { url = "https://files.pythonhosted.org/packages/a3/dd/4b822569d6b96c39d1215dbae0582fd99954dcbcf0c1a13c61783feaca3f/numpy-2.2.6-cp310-cp310-win_amd64.whl", hash = "sha256:f0fd6321b839904e15c46e0d257fdd101dd7f530fe03fd6359c1ea63738703f3", size = 12904620, upload-time = "2025-05-17T21:30:48.994Z" }, + { url = "https://files.pythonhosted.org/packages/da/a8/4f83e2aa666a9fbf56d6118faaaf5f1974d456b1823fda0a176eff722839/numpy-2.2.6-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:f9f1adb22318e121c5c69a09142811a201ef17ab257a1e66ca3025065b7f53ae", size = 21176963, upload-time = "2025-05-17T21:31:19.36Z" }, + { url = "https://files.pythonhosted.org/packages/b3/2b/64e1affc7972decb74c9e29e5649fac940514910960ba25cd9af4488b66c/numpy-2.2.6-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:c820a93b0255bc360f53eca31a0e676fd1101f673dda8da93454a12e23fc5f7a", size = 14406743, upload-time = "2025-05-17T21:31:41.087Z" }, + { url = "https://files.pythonhosted.org/packages/4a/9f/0121e375000b5e50ffdd8b25bf78d8e1a5aa4cca3f185d41265198c7b834/numpy-2.2.6-cp311-cp311-macosx_14_0_arm64.whl", hash = "sha256:3d70692235e759f260c3d837193090014aebdf026dfd167834bcba43e30c2a42", size = 5352616, upload-time = "2025-05-17T21:31:50.072Z" }, + { url = "https://files.pythonhosted.org/packages/31/0d/b48c405c91693635fbe2dcd7bc84a33a602add5f63286e024d3b6741411c/numpy-2.2.6-cp311-cp311-macosx_14_0_x86_64.whl", hash = "sha256:481b49095335f8eed42e39e8041327c05b0f6f4780488f61286ed3c01368d491", size = 6889579, upload-time = "2025-05-17T21:32:01.712Z" }, + { url = "https://files.pythonhosted.org/packages/52/b8/7f0554d49b565d0171eab6e99001846882000883998e7b7d9f0d98b1f934/numpy-2.2.6-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b64d8d4d17135e00c8e346e0a738deb17e754230d7e0810ac5012750bbd85a5a", size = 14312005, upload-time = "2025-05-17T21:32:23.332Z" }, + { url = "https://files.pythonhosted.org/packages/b3/dd/2238b898e51bd6d389b7389ffb20d7f4c10066d80351187ec8e303a5a475/numpy-2.2.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ba10f8411898fc418a521833e014a77d3ca01c15b0c6cdcce6a0d2897e6dbbdf", size = 16821570, upload-time = "2025-05-17T21:32:47.991Z" }, + { url = "https://files.pythonhosted.org/packages/83/6c/44d0325722cf644f191042bf47eedad61c1e6df2432ed65cbe28509d404e/numpy-2.2.6-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:bd48227a919f1bafbdda0583705e547892342c26fb127219d60a5c36882609d1", size = 15818548, upload-time = "2025-05-17T21:33:11.728Z" }, + { url = "https://files.pythonhosted.org/packages/ae/9d/81e8216030ce66be25279098789b665d49ff19eef08bfa8cb96d4957f422/numpy-2.2.6-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:9551a499bf125c1d4f9e250377c1ee2eddd02e01eac6644c080162c0c51778ab", size = 18620521, upload-time = "2025-05-17T21:33:39.139Z" }, + { url = "https://files.pythonhosted.org/packages/6a/fd/e19617b9530b031db51b0926eed5345ce8ddc669bb3bc0044b23e275ebe8/numpy-2.2.6-cp311-cp311-win32.whl", hash = "sha256:0678000bb9ac1475cd454c6b8c799206af8107e310843532b04d49649c717a47", size = 6525866, upload-time = "2025-05-17T21:33:50.273Z" }, + { url = "https://files.pythonhosted.org/packages/31/0a/f354fb7176b81747d870f7991dc763e157a934c717b67b58456bc63da3df/numpy-2.2.6-cp311-cp311-win_amd64.whl", hash = "sha256:e8213002e427c69c45a52bbd94163084025f533a55a59d6f9c5b820774ef3303", size = 12907455, upload-time = "2025-05-17T21:34:09.135Z" }, + { url = "https://files.pythonhosted.org/packages/82/5d/c00588b6cf18e1da539b45d3598d3557084990dcc4331960c15ee776ee41/numpy-2.2.6-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:41c5a21f4a04fa86436124d388f6ed60a9343a6f767fced1a8a71c3fbca038ff", size = 20875348, upload-time = "2025-05-17T21:34:39.648Z" }, + { url = "https://files.pythonhosted.org/packages/66/ee/560deadcdde6c2f90200450d5938f63a34b37e27ebff162810f716f6a230/numpy-2.2.6-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:de749064336d37e340f640b05f24e9e3dd678c57318c7289d222a8a2f543e90c", size = 14119362, upload-time = "2025-05-17T21:35:01.241Z" }, + { url = "https://files.pythonhosted.org/packages/3c/65/4baa99f1c53b30adf0acd9a5519078871ddde8d2339dc5a7fde80d9d87da/numpy-2.2.6-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:894b3a42502226a1cac872f840030665f33326fc3dac8e57c607905773cdcde3", size = 5084103, upload-time = "2025-05-17T21:35:10.622Z" }, + { url = "https://files.pythonhosted.org/packages/cc/89/e5a34c071a0570cc40c9a54eb472d113eea6d002e9ae12bb3a8407fb912e/numpy-2.2.6-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:71594f7c51a18e728451bb50cc60a3ce4e6538822731b2933209a1f3614e9282", size = 6625382, upload-time = "2025-05-17T21:35:21.414Z" }, + { url = "https://files.pythonhosted.org/packages/f8/35/8c80729f1ff76b3921d5c9487c7ac3de9b2a103b1cd05e905b3090513510/numpy-2.2.6-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f2618db89be1b4e05f7a1a847a9c1c0abd63e63a1607d892dd54668dd92faf87", size = 14018462, upload-time = "2025-05-17T21:35:42.174Z" }, + { url = "https://files.pythonhosted.org/packages/8c/3d/1e1db36cfd41f895d266b103df00ca5b3cbe965184df824dec5c08c6b803/numpy-2.2.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fd83c01228a688733f1ded5201c678f0c53ecc1006ffbc404db9f7a899ac6249", size = 16527618, upload-time = "2025-05-17T21:36:06.711Z" }, + { url = "https://files.pythonhosted.org/packages/61/c6/03ed30992602c85aa3cd95b9070a514f8b3c33e31124694438d88809ae36/numpy-2.2.6-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:37c0ca431f82cd5fa716eca9506aefcabc247fb27ba69c5062a6d3ade8cf8f49", size = 15505511, upload-time = "2025-05-17T21:36:29.965Z" }, + { url = "https://files.pythonhosted.org/packages/b7/25/5761d832a81df431e260719ec45de696414266613c9ee268394dd5ad8236/numpy-2.2.6-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:fe27749d33bb772c80dcd84ae7e8df2adc920ae8297400dabec45f0dedb3f6de", size = 18313783, upload-time = "2025-05-17T21:36:56.883Z" }, + { url = "https://files.pythonhosted.org/packages/57/0a/72d5a3527c5ebffcd47bde9162c39fae1f90138c961e5296491ce778e682/numpy-2.2.6-cp312-cp312-win32.whl", hash = "sha256:4eeaae00d789f66c7a25ac5f34b71a7035bb474e679f410e5e1a94deb24cf2d4", size = 6246506, upload-time = "2025-05-17T21:37:07.368Z" }, + { url = "https://files.pythonhosted.org/packages/36/fa/8c9210162ca1b88529ab76b41ba02d433fd54fecaf6feb70ef9f124683f1/numpy-2.2.6-cp312-cp312-win_amd64.whl", hash = "sha256:c1f9540be57940698ed329904db803cf7a402f3fc200bfe599334c9bd84a40b2", size = 12614190, upload-time = "2025-05-17T21:37:26.213Z" }, + { url = "https://files.pythonhosted.org/packages/f9/5c/6657823f4f594f72b5471f1db1ab12e26e890bb2e41897522d134d2a3e81/numpy-2.2.6-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:0811bb762109d9708cca4d0b13c4f67146e3c3b7cf8d34018c722adb2d957c84", size = 20867828, upload-time = "2025-05-17T21:37:56.699Z" }, + { url = "https://files.pythonhosted.org/packages/dc/9e/14520dc3dadf3c803473bd07e9b2bd1b69bc583cb2497b47000fed2fa92f/numpy-2.2.6-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:287cc3162b6f01463ccd86be154f284d0893d2b3ed7292439ea97eafa8170e0b", size = 14143006, upload-time = "2025-05-17T21:38:18.291Z" }, + { url = "https://files.pythonhosted.org/packages/4f/06/7e96c57d90bebdce9918412087fc22ca9851cceaf5567a45c1f404480e9e/numpy-2.2.6-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:f1372f041402e37e5e633e586f62aa53de2eac8d98cbfb822806ce4bbefcb74d", size = 5076765, upload-time = "2025-05-17T21:38:27.319Z" }, + { url = "https://files.pythonhosted.org/packages/73/ed/63d920c23b4289fdac96ddbdd6132e9427790977d5457cd132f18e76eae0/numpy-2.2.6-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:55a4d33fa519660d69614a9fad433be87e5252f4b03850642f88993f7b2ca566", size = 6617736, upload-time = "2025-05-17T21:38:38.141Z" }, + { url = "https://files.pythonhosted.org/packages/85/c5/e19c8f99d83fd377ec8c7e0cf627a8049746da54afc24ef0a0cb73d5dfb5/numpy-2.2.6-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f92729c95468a2f4f15e9bb94c432a9229d0d50de67304399627a943201baa2f", size = 14010719, upload-time = "2025-05-17T21:38:58.433Z" }, + { url = "https://files.pythonhosted.org/packages/19/49/4df9123aafa7b539317bf6d342cb6d227e49f7a35b99c287a6109b13dd93/numpy-2.2.6-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1bc23a79bfabc5d056d106f9befb8d50c31ced2fbc70eedb8155aec74a45798f", size = 16526072, upload-time = "2025-05-17T21:39:22.638Z" }, + { url = "https://files.pythonhosted.org/packages/b2/6c/04b5f47f4f32f7c2b0e7260442a8cbcf8168b0e1a41ff1495da42f42a14f/numpy-2.2.6-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:e3143e4451880bed956e706a3220b4e5cf6172ef05fcc397f6f36a550b1dd868", size = 15503213, upload-time = "2025-05-17T21:39:45.865Z" }, + { url = "https://files.pythonhosted.org/packages/17/0a/5cd92e352c1307640d5b6fec1b2ffb06cd0dabe7d7b8227f97933d378422/numpy-2.2.6-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:b4f13750ce79751586ae2eb824ba7e1e8dba64784086c98cdbbcc6a42112ce0d", size = 18316632, upload-time = "2025-05-17T21:40:13.331Z" }, + { url = "https://files.pythonhosted.org/packages/f0/3b/5cba2b1d88760ef86596ad0f3d484b1cbff7c115ae2429678465057c5155/numpy-2.2.6-cp313-cp313-win32.whl", hash = "sha256:5beb72339d9d4fa36522fc63802f469b13cdbe4fdab4a288f0c441b74272ebfd", size = 6244532, upload-time = "2025-05-17T21:43:46.099Z" }, + { url = "https://files.pythonhosted.org/packages/cb/3b/d58c12eafcb298d4e6d0d40216866ab15f59e55d148a5658bb3132311fcf/numpy-2.2.6-cp313-cp313-win_amd64.whl", hash = "sha256:b0544343a702fa80c95ad5d3d608ea3599dd54d4632df855e4c8d24eb6ecfa1c", size = 12610885, upload-time = "2025-05-17T21:44:05.145Z" }, + { url = "https://files.pythonhosted.org/packages/6b/9e/4bf918b818e516322db999ac25d00c75788ddfd2d2ade4fa66f1f38097e1/numpy-2.2.6-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:0bca768cd85ae743b2affdc762d617eddf3bcf8724435498a1e80132d04879e6", size = 20963467, upload-time = "2025-05-17T21:40:44Z" }, + { url = "https://files.pythonhosted.org/packages/61/66/d2de6b291507517ff2e438e13ff7b1e2cdbdb7cb40b3ed475377aece69f9/numpy-2.2.6-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:fc0c5673685c508a142ca65209b4e79ed6740a4ed6b2267dbba90f34b0b3cfda", size = 14225144, upload-time = "2025-05-17T21:41:05.695Z" }, + { url = "https://files.pythonhosted.org/packages/e4/25/480387655407ead912e28ba3a820bc69af9adf13bcbe40b299d454ec011f/numpy-2.2.6-cp313-cp313t-macosx_14_0_arm64.whl", hash = "sha256:5bd4fc3ac8926b3819797a7c0e2631eb889b4118a9898c84f585a54d475b7e40", size = 5200217, upload-time = "2025-05-17T21:41:15.903Z" }, + { url = "https://files.pythonhosted.org/packages/aa/4a/6e313b5108f53dcbf3aca0c0f3e9c92f4c10ce57a0a721851f9785872895/numpy-2.2.6-cp313-cp313t-macosx_14_0_x86_64.whl", hash = "sha256:fee4236c876c4e8369388054d02d0e9bb84821feb1a64dd59e137e6511a551f8", size = 6712014, upload-time = "2025-05-17T21:41:27.321Z" }, + { url = "https://files.pythonhosted.org/packages/b7/30/172c2d5c4be71fdf476e9de553443cf8e25feddbe185e0bd88b096915bcc/numpy-2.2.6-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e1dda9c7e08dc141e0247a5b8f49cf05984955246a327d4c48bda16821947b2f", size = 14077935, upload-time = "2025-05-17T21:41:49.738Z" }, + { url = "https://files.pythonhosted.org/packages/12/fb/9e743f8d4e4d3c710902cf87af3512082ae3d43b945d5d16563f26ec251d/numpy-2.2.6-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f447e6acb680fd307f40d3da4852208af94afdfab89cf850986c3ca00562f4fa", size = 16600122, upload-time = "2025-05-17T21:42:14.046Z" }, + { url = "https://files.pythonhosted.org/packages/12/75/ee20da0e58d3a66f204f38916757e01e33a9737d0b22373b3eb5a27358f9/numpy-2.2.6-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:389d771b1623ec92636b0786bc4ae56abafad4a4c513d36a55dce14bd9ce8571", size = 15586143, upload-time = "2025-05-17T21:42:37.464Z" }, + { url = "https://files.pythonhosted.org/packages/76/95/bef5b37f29fc5e739947e9ce5179ad402875633308504a52d188302319c8/numpy-2.2.6-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:8e9ace4a37db23421249ed236fdcdd457d671e25146786dfc96835cd951aa7c1", size = 18385260, upload-time = "2025-05-17T21:43:05.189Z" }, + { url = "https://files.pythonhosted.org/packages/09/04/f2f83279d287407cf36a7a8053a5abe7be3622a4363337338f2585e4afda/numpy-2.2.6-cp313-cp313t-win32.whl", hash = "sha256:038613e9fb8c72b0a41f025a7e4c3f0b7a1b5d768ece4796b674c8f3fe13efff", size = 6377225, upload-time = "2025-05-17T21:43:16.254Z" }, + { url = "https://files.pythonhosted.org/packages/67/0e/35082d13c09c02c011cf21570543d202ad929d961c02a147493cb0c2bdf5/numpy-2.2.6-cp313-cp313t-win_amd64.whl", hash = "sha256:6031dd6dfecc0cf9f668681a37648373bddd6421fff6c66ec1624eed0180ee06", size = 12771374, upload-time = "2025-05-17T21:43:35.479Z" }, + { url = "https://files.pythonhosted.org/packages/9e/3b/d94a75f4dbf1ef5d321523ecac21ef23a3cd2ac8b78ae2aac40873590229/numpy-2.2.6-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:0b605b275d7bd0c640cad4e5d30fa701a8d59302e127e5f79138ad62762c3e3d", size = 21040391, upload-time = "2025-05-17T21:44:35.948Z" }, + { url = "https://files.pythonhosted.org/packages/17/f4/09b2fa1b58f0fb4f7c7963a1649c64c4d315752240377ed74d9cd878f7b5/numpy-2.2.6-pp310-pypy310_pp73-macosx_14_0_x86_64.whl", hash = "sha256:7befc596a7dc9da8a337f79802ee8adb30a552a94f792b9c9d18c840055907db", size = 6786754, upload-time = "2025-05-17T21:44:47.446Z" }, + { url = "https://files.pythonhosted.org/packages/af/30/feba75f143bdc868a1cc3f44ccfa6c4b9ec522b36458e738cd00f67b573f/numpy-2.2.6-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ce47521a4754c8f4593837384bd3424880629f718d87c5d44f8ed763edd63543", size = 16643476, upload-time = "2025-05-17T21:45:11.871Z" }, + { url = "https://files.pythonhosted.org/packages/37/48/ac2a9584402fb6c0cd5b5d1a91dcf176b15760130dd386bbafdbfe3640bf/numpy-2.2.6-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:d042d24c90c41b54fd506da306759e06e568864df8ec17ccc17e9e884634fd00", size = 12812666, upload-time = "2025-05-17T21:45:31.426Z" }, +] + +[[package]] +name = "numpy" +version = "2.4.6" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version == '3.11.*'", +] +sdist = { url = "https://files.pythonhosted.org/packages/d0/ad/fed0499ce6a338d2a03ebae59cd15093910c8875328855781952abf6c2fe/numpy-2.4.6.tar.gz", hash = "sha256:f3a3570c4a2a16746ac2c31a7c7c7b0c186b95ce902e33db6f28094ed7387dda", size = 20735807, upload-time = "2026-05-18T23:37:14.07Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b3/49/ec46835a70be8fa6446c495126ac84fdb28cb2558e1620ffb87a10c8b64c/numpy-2.4.6-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:0280e0356c0829a18d9de1cb7eee50ec22ca639878d7240307ca0943d73cd2c4", size = 16969194, upload-time = "2026-05-18T23:33:13.503Z" }, + { url = "https://files.pythonhosted.org/packages/0e/0d/f5957185c0ee2f3e12f78715aa9e3b353fd83633316c8532b38faa37e3f6/numpy-2.4.6-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:110f8b71aacb688ec69062bb7f6938a0f8acb01b7c1c4beb453c65b6d234584d", size = 14964111, upload-time = "2026-05-18T23:33:17.795Z" }, + { url = "https://files.pythonhosted.org/packages/ad/40/40a40ee0ddf7ceb782c49af278894b686e586d65d8c1889c8b5da01a3d7d/numpy-2.4.6-cp311-cp311-macosx_14_0_arm64.whl", hash = "sha256:4cfe66903cc32a9921a6733d96b19bb6abf310397581bbad89c228f5abaf0ee8", size = 5469159, upload-time = "2026-05-18T23:33:20.654Z" }, + { url = "https://files.pythonhosted.org/packages/63/13/f9a8046535cb21deae82f8d03de9617e08882d274fad2539630761888228/numpy-2.4.6-cp311-cp311-macosx_14_0_x86_64.whl", hash = "sha256:8155154c7c691289fe18f510b5d4657c68c67989f293f0535a91360392ff6538", size = 6798936, upload-time = "2026-05-18T23:33:22.987Z" }, + { url = "https://files.pythonhosted.org/packages/33/a8/6fa8c1a345a8c85dbb21932c447bee07c30a2c2a3f31e369c0a84b300147/numpy-2.4.6-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0ab0a9c4ffb1a6d95ef519fe4247dba8eb6b18ad93999f76b7f657039acabd47", size = 15966692, upload-time = "2026-05-18T23:33:26.62Z" }, + { url = "https://files.pythonhosted.org/packages/02/03/74fe2a4cb3817d94d86402f2506554130a2f01414e299b5a843e5a8a957f/numpy-2.4.6-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:89cd468399cfd2504718f0ba50e410dca55a170b61a02ad92bb18c8a65186e93", size = 16918164, upload-time = "2026-05-18T23:33:29.955Z" }, + { url = "https://files.pythonhosted.org/packages/c5/80/3615be3313f7e7696609bc194b9f0101da809df79e859bdb84e0cd043f46/numpy-2.4.6-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:c2d37ab77531417474168eb79d6d80b14f821a966818505d03013d0833edb7a8", size = 17322877, upload-time = "2026-05-18T23:33:34.724Z" }, + { url = "https://files.pythonhosted.org/packages/ca/ac/a691e0fe2675e370d0e08ff905adc49a1c8830e8cae03efe4477e92cd55d/numpy-2.4.6-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:f407cb6b8e9d6d8c626bc73c945db1706035af8fd632295547bf1c9e46d092d6", size = 18651487, upload-time = "2026-05-18T23:33:38.217Z" }, + { url = "https://files.pythonhosted.org/packages/15/a7/9bc1cd626d7bf6869bfedf27b91b6ab5dd607758bf8e959d6fa80c6a59cb/numpy-2.4.6-cp311-cp311-win32.whl", hash = "sha256:ddea102b48f9e339f3948bf22040944184627a30fdf7f858667673b9c5f033c8", size = 6233945, upload-time = "2026-05-18T23:33:41.331Z" }, + { url = "https://files.pythonhosted.org/packages/c5/31/7fc6239c12bce7e931463251cca4426c465e1876ba3cc785402ef4dd8f4e/numpy-2.4.6-cp311-cp311-win_amd64.whl", hash = "sha256:1e254a00cdf42b1e4d5b3d68d33af63268d41340d8885df2ab6470f2e1500147", size = 12608406, upload-time = "2026-05-18T23:33:44.131Z" }, + { url = "https://files.pythonhosted.org/packages/27/83/140f85a466595a16382996a1bf06b2b54bcd597488921b0c9daaeeda72af/numpy-2.4.6-cp311-cp311-win_arm64.whl", hash = "sha256:ed9749eef4cbd126da3dc1d6bcb3a57f5eb7ac6a6484146bdbf743f552dfc577", size = 10479528, upload-time = "2026-05-18T23:33:50.725Z" }, + { url = "https://files.pythonhosted.org/packages/95/2a/3d7b5ac8aac24feaf9ad7ed58f45b0bbc06d37e4338ae84c9f2298b570f9/numpy-2.4.6-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:001fbb8e08d942dd57599e781f2472269ee7f2755fae407b4f67b2f0b17da3f1", size = 16689119, upload-time = "2026-05-18T23:33:54.065Z" }, + { url = "https://files.pythonhosted.org/packages/ea/12/92c4c131527599e8288d6918e888d88726f84d805d784b771f32408aeaef/numpy-2.4.6-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ebfb099f8dcf083deef3ac1ca4c1503f387cf76296fcb3816b66f5ecb5f54fdb", size = 14699246, upload-time = "2026-05-18T23:33:57.621Z" }, + { url = "https://files.pythonhosted.org/packages/ad/fe/c0a6b7b2ca128a8fb228575147073b660656734b8ebe4d76c8fd748dcc79/numpy-2.4.6-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:3213d622a0283a39a93d188f3cf72b26862df52fbb4ca3697f51705016523d41", size = 5204410, upload-time = "2026-05-18T23:34:00.302Z" }, + { url = "https://files.pythonhosted.org/packages/f3/d4/9770d14ba719432bb90a421bfd443872ed0f70f7264b64bec12ea363d5fd/numpy-2.4.6-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:357cc07a6d7b0b182ff02249616a03742827ebb1277546b5c7cd7f7620a45698", size = 6551240, upload-time = "2026-05-18T23:34:02.852Z" }, + { url = "https://files.pythonhosted.org/packages/c9/c6/50a46a6205feba2343f1d6d17438107c5dc491ed1c736e6ea68689fd906b/numpy-2.4.6-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5f9fb9157b4ce2971008323afe46053787b526ef624fea915b261468a8421a0f", size = 15671012, upload-time = "2026-05-18T23:34:05.485Z" }, + { url = "https://files.pythonhosted.org/packages/99/60/14115e6364fa676c5397c2ad3004e527e9aa487abf5d0706ec81bbd08529/numpy-2.4.6-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:90f9849678c75fe7afa2d348ac842c168b0a4d3d61919687216dfc547976d853", size = 16645538, upload-time = "2026-05-18T23:34:09.265Z" }, + { url = "https://files.pythonhosted.org/packages/ae/c5/693cbe59e57db94d2231fa519ca3978dc9e19da5a8f088588f5c6e947ff2/numpy-2.4.6-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:c1a2af6c6ef86344a6b0db6b97834208bf598db514f2b155042439b62605601a", size = 17020706, upload-time = "2026-05-18T23:34:13.053Z" }, + { url = "https://files.pythonhosted.org/packages/ef/fc/85b7c4eff9b4966ade25c2273cf7e7012e92366c032058653934b37de044/numpy-2.4.6-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:e5805d5a22fd19c8ccff10a9561f9df94436b0545619ea579db2d3c35294bce2", size = 18368541, upload-time = "2026-05-18T23:34:17.024Z" }, + { url = "https://files.pythonhosted.org/packages/f6/81/e1b27545deedce7f4a0b348618c6b62d74e36a4dc9ccd42f3eb2f85eee32/numpy-2.4.6-cp312-cp312-win32.whl", hash = "sha256:e3eeb0aabd6bd5ce64faae67e9935203a6991b4bc2a485a767fbafb2c5125f45", size = 5962825, upload-time = "2026-05-18T23:34:20.3Z" }, + { url = "https://files.pythonhosted.org/packages/ab/ca/feab00bd44aa5fe1ad2c18f08b4d3bb92e26484b0b1d1443897809ed528c/numpy-2.4.6-cp312-cp312-win_amd64.whl", hash = "sha256:d8e8286dd7cea7895157318d1b91cdacac64c479f3cbc8dce548331728484751", size = 12321687, upload-time = "2026-05-18T23:34:23.095Z" }, + { url = "https://files.pythonhosted.org/packages/63/cf/5a6d34850a39d1093558564f77ee8e8e0bee5061151b8f05a55711001ec7/numpy-2.4.6-cp312-cp312-win_arm64.whl", hash = "sha256:4081eb135ac24158bd51cdfbef16f1c64df7063b1143f24731387137c092bec8", size = 10221482, upload-time = "2026-05-18T23:34:25.876Z" }, + { url = "https://files.pythonhosted.org/packages/fb/82/bdab26d7438c6791ca31b7c024ca37c1eab8b726ba236129005cd4a06e45/numpy-2.4.6-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:511dbaf848decaaaf4b4ca48032619fb3138710c4bf7da7617765edad1ef96b0", size = 16684648, upload-time = "2026-05-18T23:34:29.41Z" }, + { url = "https://files.pythonhosted.org/packages/1b/30/a80189bcc7f5e4258b3fbc3968d909d1756f54d023299ecc39ad6fdb9ef8/numpy-2.4.6-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:bf162abab1c1a736333192707cef898e735a5ca00f38f27eeedf44b39d9e85eb", size = 14693902, upload-time = "2026-05-18T23:34:33.013Z" }, + { url = "https://files.pythonhosted.org/packages/97/12/70b5d0d7c15e1ebb8a6a84a8caa1d19e181d84fb58bb6d70aca29099dec1/numpy-2.4.6-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:043191bfa8eab18c776647b62723ac9dddece59743b13f49b2016094129c2b3f", size = 5198992, upload-time = "2026-05-18T23:34:36.132Z" }, + { url = "https://files.pythonhosted.org/packages/ba/8c/ebd2a8f8a83541f8d38cc5667e8c2b69cecfd30da6e45693e8158857d44b/numpy-2.4.6-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:6180d8b35af935aed8ece3a85e0a43f87393ae0ac87c8d2c8bd2c993f7270ef3", size = 6546944, upload-time = "2026-05-18T23:34:38.484Z" }, + { url = "https://files.pythonhosted.org/packages/bb/c5/7b863a97a91671a0338f4253bd3b5a3d3852f0692dae91711c9f4a10e787/numpy-2.4.6-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:72fbe16c6fac95aedf5937fa873445cec2110be35d8a4e9433d7501fd98dae6b", size = 15669392, upload-time = "2026-05-18T23:34:41.257Z" }, + { url = "https://files.pythonhosted.org/packages/a5/9d/3584b9984ca4c047aea75214ce1a4c4c73d849bd71b604264b7f5653f8a8/numpy-2.4.6-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a7830bab239b79cda9c08c2da014761cafb48da6150e1da17ac06283f43b6089", size = 16633220, upload-time = "2026-05-18T23:34:45.075Z" }, + { url = "https://files.pythonhosted.org/packages/05/ae/7c67fba23bd98caec7c99261f3a16072ade14813486b0282cb29846de832/numpy-2.4.6-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:ef4aea96ce4d3b074422cb4f2f64e216bf9e213004bb58ecfdf50ea02ea8eb9a", size = 17020800, upload-time = "2026-05-18T23:34:49.065Z" }, + { url = "https://files.pythonhosted.org/packages/d9/5d/3b6725cb31d983c5e66916f5d36f6d7e5521129e4c4404d64f918292a5b6/numpy-2.4.6-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:dfa20cc6ca228e6b155b11da03825975ce66aea520985dbbddf0f2a5a495c605", size = 18357600, upload-time = "2026-05-18T23:34:52.709Z" }, + { url = "https://files.pythonhosted.org/packages/f7/da/2ccc6c2fe8898dee01d90c75c5f5f914a23daf99e3e0f59516a08760c8b5/numpy-2.4.6-cp313-cp313-win32.whl", hash = "sha256:56b39e5e0622a09a25bf5baf62f4bcf0cb8a41ae6e2819cf49bbc5a74c083f91", size = 5961134, upload-time = "2026-05-18T23:34:55.618Z" }, + { url = "https://files.pythonhosted.org/packages/b5/cd/9cc4dc876fb065d5c220aae4d5e14826b2715331bb7618ce1fb07a679d99/numpy-2.4.6-cp313-cp313-win_amd64.whl", hash = "sha256:c4fc99836233ea196540b17ab0983aff60ed07941751930f5f4d05bc3b3b7359", size = 12318598, upload-time = "2026-05-18T23:34:58.928Z" }, + { url = "https://files.pythonhosted.org/packages/39/1e/c0bcba1f8694116485fe28fd1be698c278fcda4141c5b0e53a2aed8b12a8/numpy-2.4.6-cp313-cp313-win_arm64.whl", hash = "sha256:a7c711e21628b52034bb5ab8d1bce291f752fcc5e92accc615778acee1ff4778", size = 10222272, upload-time = "2026-05-18T23:35:02.167Z" }, + { url = "https://files.pythonhosted.org/packages/63/6d/cc5619247c8f4204e507f5883528372e4ac4bb189e579fb859a12e480b1f/numpy-2.4.6-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:112b06a867b235ef466ed3508ddf0238050df9c727cafb5301ac385b899189a1", size = 14821197, upload-time = "2026-05-18T23:35:05.468Z" }, + { url = "https://files.pythonhosted.org/packages/00/58/f1c39161c87d9e9bed660f1ed4bafc0e403d5ec9650b6dd77aead07d489b/numpy-2.4.6-cp313-cp313t-macosx_14_0_arm64.whl", hash = "sha256:eaf7fa2de5c0be8ae6ff8e9bea2ccd725e980541244521d8d4b5f3354a27babe", size = 5326287, upload-time = "2026-05-18T23:35:08.693Z" }, + { url = "https://files.pythonhosted.org/packages/af/57/3917ab0fd97f271a8694513581b8a36c655f111c446852c302f04ccdb6fc/numpy-2.4.6-cp313-cp313t-macosx_14_0_x86_64.whl", hash = "sha256:7265a2f3d436e54ef9f2b52b5c937e6be778781bd97a590319d7348f1c1ca997", size = 6646763, upload-time = "2026-05-18T23:35:11.459Z" }, + { url = "https://files.pythonhosted.org/packages/eb/0f/037e64c494b67581ae18193d770adef354c41f3f2c8ebf865602d949bf8f/numpy-2.4.6-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f74a575920ab21fe304421a3fc28793d82e299cae9eccb37084e9fc7f3617c20", size = 15728070, upload-time = "2026-05-18T23:35:14.79Z" }, + { url = "https://files.pythonhosted.org/packages/21/a6/5d2bae9c9542eb4df16dc9c46dc79c186e9bad53805dfa5399a6023c6db0/numpy-2.4.6-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ede83e07a75dd06bc501566c1eca2afc0d61677c1472ac9ad93fdee6e638a48d", size = 16681752, upload-time = "2026-05-18T23:35:18.836Z" }, + { url = "https://files.pythonhosted.org/packages/92/14/23d1dfb410ae362cd59ce53e936b1513d545eb40db3949ced632e19a459e/numpy-2.4.6-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:68bb27509ac1b9a3443094260f6326150663b06abe40b73a2f81160623da5b67", size = 17086024, upload-time = "2026-05-18T23:35:22.52Z" }, + { url = "https://files.pythonhosted.org/packages/4b/6e/23595a2c642cdf3bc567877064bdd7f91c8b0038a4453cf2daf7248eafe9/numpy-2.4.6-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:a0df0043bdb289bde1f62da130d20df23d58b45429f752bc7a8fc5325a225ecd", size = 18403398, upload-time = "2026-05-18T23:35:26.398Z" }, + { url = "https://files.pythonhosted.org/packages/8a/90/0ac3bc947217e66dec77e7cbc6a1979d1af70b6461b82f620d3bccd5e4c8/numpy-2.4.6-cp313-cp313t-win32.whl", hash = "sha256:29a287e0cf63ff528da061de6b9f64a4618da591ca1046aafc54062e40ca7eab", size = 6084971, upload-time = "2026-05-18T23:35:29.387Z" }, + { url = "https://files.pythonhosted.org/packages/77/71/5673e351671a1d2bd6063b91b44f70c0affea7d1516fa7a6572941ba4aa1/numpy-2.4.6-cp313-cp313t-win_amd64.whl", hash = "sha256:25c692919ac5a01f170a3bfcd62d745b24fd095c353d50812637d6fcab442e75", size = 12458532, upload-time = "2026-05-18T23:35:32.175Z" }, + { url = "https://files.pythonhosted.org/packages/3f/88/19d3503c5046e688f049274b27a3ef3d771152fa80d3ba3d01a3dff61abe/numpy-2.4.6-cp313-cp313t-win_arm64.whl", hash = "sha256:1e978ec1e8bd0e0e4de6bb75de9d30cbb74db6b6a2bb727618613703ca0167dd", size = 10291881, upload-time = "2026-05-18T23:35:35.465Z" }, + { url = "https://files.pythonhosted.org/packages/f8/91/3ab2044d05fd16d343c5ac2e69b127f1b2854040dd20b193257c78028bd3/numpy-2.4.6-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:06ca2f61ec4385a07a6977c55ba998a4466c123642b4a32694d3128fce18c079", size = 16683458, upload-time = "2026-05-18T23:35:38.353Z" }, + { url = "https://files.pythonhosted.org/packages/8e/62/764ce66fa4147ae6d73071a3abf804ffe606f174618697c571acdf26a7c9/numpy-2.4.6-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:38efbc8de75c7a0fc1ac190162d892787f3f47b57cc291231aafee36b80982b7", size = 14704559, upload-time = "2026-05-18T23:35:42.14Z" }, + { url = "https://files.pythonhosted.org/packages/60/61/23f27c172f022e04025b7dc2367f4d63c1a398120607ec896228649a6f48/numpy-2.4.6-cp314-cp314-macosx_14_0_arm64.whl", hash = "sha256:d581b735e177fdcdce6fed8e7e8880a3fb6ee4e3653a3ac6af01c6f4c03effc5", size = 5209716, upload-time = "2026-05-18T23:35:45.377Z" }, + { url = "https://files.pythonhosted.org/packages/03/71/21cf70dc6ea3e3acb95fc53a265b2fc248b981f0194ceb5b475271b8809d/numpy-2.4.6-cp314-cp314-macosx_14_0_x86_64.whl", hash = "sha256:0a041d3d761dc3c35cc56ce0351506a02bcbc25f7b169f652435141a17db9096", size = 6543947, upload-time = "2026-05-18T23:35:47.926Z" }, + { url = "https://files.pythonhosted.org/packages/d5/91/64288395ee1799bd2e0b04a305dce9666da90c961e1f3fe982a05ee1c036/numpy-2.4.6-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:40fdc1ae7125e518ea98e53e69a4ebc27e1fd50510c47b7ea130cf21e5e1d42b", size = 15685197, upload-time = "2026-05-18T23:35:50.863Z" }, + { url = "https://files.pythonhosted.org/packages/f3/eb/ebffaa97dc55502df69584a8f0dcf07f69a3e0b3e2323670a2722db9aa39/numpy-2.4.6-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a2c306dea656c12c68f51f4cea133cbe78ca7435eb28c735eac1d3ebe73be6e8", size = 16638245, upload-time = "2026-05-18T23:35:54.752Z" }, + { url = "https://files.pythonhosted.org/packages/b8/0b/54f9da33128d7e350fab89c7455902eeae70349ee52bddb448dc4a576f45/numpy-2.4.6-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:33111801a01c12a8a1e3721f0a9232f8cfc8ae2c6b7098167e6f623c6073f402", size = 17036587, upload-time = "2026-05-18T23:35:58.355Z" }, + { url = "https://files.pythonhosted.org/packages/b6/f0/fdebc1052db1cc37c64beb22072d67cd6d1c71adca1299f53dec2b5e20d3/numpy-2.4.6-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:ae506e6902902557576a26ff33eda8695e7ecb3cb36c3b573a0765dee114ebdb", size = 18363226, upload-time = "2026-05-18T23:36:02.845Z" }, + { url = "https://files.pythonhosted.org/packages/aa/b4/298628d98c72b57e57f7165ae6a481a1deaf6f3c28262a6e4c739c275930/numpy-2.4.6-cp314-cp314-win32.whl", hash = "sha256:aaf159caa35993cb1f56fb9b8e4610d35758e7ca005412eb1daa856a78c9c4b1", size = 6010196, upload-time = "2026-05-18T23:36:05.92Z" }, + { url = "https://files.pythonhosted.org/packages/df/ac/46de6dda46478f7942f839e094970be2d4a861e005c4b3bf07c92e291a09/numpy-2.4.6-cp314-cp314-win_amd64.whl", hash = "sha256:b507f5c4c1d508876d1819b6bf9a49d365b96320b5d4993426b33a23ca4b8261", size = 12450334, upload-time = "2026-05-18T23:36:09.107Z" }, + { url = "https://files.pythonhosted.org/packages/78/92/b8b798ac784102c0da830d2257d59358e3d3d90d1e2b3f2575dad976c5cf/numpy-2.4.6-cp314-cp314-win_arm64.whl", hash = "sha256:6f41ae150c4e32db4f3310cdaf64b1593a03dbabe29eec77fc9b50fe64061df6", size = 10495678, upload-time = "2026-05-18T23:36:12.766Z" }, + { url = "https://files.pythonhosted.org/packages/30/34/ec28d1aa8115971537c01469ab2011ee96827930f0a124de1000cc2a7ed7/numpy-2.4.6-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:ece3d2cfe132e7d51f44a832b303895e6f2d499c5e74dfbdb06ee246147a304a", size = 14823672, upload-time = "2026-05-18T23:36:16.473Z" }, + { url = "https://files.pythonhosted.org/packages/16/bd/f6d1fede4e54e8042a7ff97bb495510f3c220f94bcd9e8b228e87c92cc0d/numpy-2.4.6-cp314-cp314t-macosx_14_0_arm64.whl", hash = "sha256:e3e5193ef5a3dc73bceee50f7fdc2c90dbb76c42df8d8fae3d1067a583df579e", size = 5328731, upload-time = "2026-05-18T23:36:19.767Z" }, + { url = "https://files.pythonhosted.org/packages/f4/f0/e105b9e2fd728a9910103884decd6951d9dd73896b914a98d9a231de02ee/numpy-2.4.6-cp314-cp314t-macosx_14_0_x86_64.whl", hash = "sha256:17f9ade344e7d9b464a084d69bcf18fc691cb1db67c62ed80820bf4926d78f0e", size = 6649805, upload-time = "2026-05-18T23:36:22.266Z" }, + { url = "https://files.pythonhosted.org/packages/82/dd/1206a7ca6ab15e3f02069707ca96222e202af681bb73756da7527f3cb837/numpy-2.4.6-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9cd5ffd25db4e7ba6a375693b3fc0fc1791ec636c17db3720da19bde7180ec43", size = 15730496, upload-time = "2026-05-18T23:36:25.713Z" }, + { url = "https://files.pythonhosted.org/packages/51/e7/38d3ea825dcab85a591734decb2f6c67caa7c8367d374df1a1c3842f9b07/numpy-2.4.6-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7d92c3819208a60205a12a245c91ad70cb0a85336659b19b834205573ac8456e", size = 16679616, upload-time = "2026-05-18T23:36:29.652Z" }, + { url = "https://files.pythonhosted.org/packages/93/b7/caabfdf53edf663e0b4eb74d7d405d83baef09eb5e83bcd32d601d72b93e/numpy-2.4.6-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:e85b752a1e912b70eaad4fafbd4d1238007ab221de2009b9a2f5ae7461239895", size = 17085145, upload-time = "2026-05-18T23:36:33.449Z" }, + { url = "https://files.pythonhosted.org/packages/f9/45/68d7c33a6bcf3e5aa3bdbd57a367e6f615286dfd6482f97e8ffeb734306e/numpy-2.4.6-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:29cb7f67d10b479ff07c17d33e39f78c07f71c40ef30d63c153d340e96cd3fb4", size = 18403813, upload-time = "2026-05-18T23:36:37.369Z" }, + { url = "https://files.pythonhosted.org/packages/9c/50/0753655aa844c99cd9e018aacf76f130f1bd81d881bb74bc0aef5d73a8ba/numpy-2.4.6-cp314-cp314t-win32.whl", hash = "sha256:260a5d70215b61ab4fadf5c7baacd64821842975eea312125ed3c39a6391b063", size = 6156982, upload-time = "2026-05-18T23:36:40.817Z" }, + { url = "https://files.pythonhosted.org/packages/b2/d4/7c67becf668f973cb490cec3e98dfd799d866f9c989a54d355672cfa0db6/numpy-2.4.6-cp314-cp314t-win_amd64.whl", hash = "sha256:81a1cca95ed5bb92aa8b10dd2cdc9a0d3853a50fad926c28b5d7e8ea54389627", size = 12638908, upload-time = "2026-05-18T23:36:43.996Z" }, + { url = "https://files.pythonhosted.org/packages/43/bb/e1c71a4295b1b1d1393d50dbb4f2a36283c6859d9d3892e84f00ec5a91d5/numpy-2.4.6-cp314-cp314t-win_arm64.whl", hash = "sha256:0c9136e14ed34a9e343a31c533d78a9813a69a3148332bce5e9821cb2f996e66", size = 10565867, upload-time = "2026-05-18T23:36:47.114Z" }, + { url = "https://files.pythonhosted.org/packages/de/12/b422cc84439adc0d00de605bf4a308890ae5c26f2c71fbd73e5d08fbb0dd/numpy-2.4.6-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:55cced7c52e981362f708ad635198e97a752dfba412cc03c23bbf3bd8d5cd662", size = 16847511, upload-time = "2026-05-18T23:36:50.673Z" }, + { url = "https://files.pythonhosted.org/packages/44/53/f481bef68011740f8849418d82db07230e825013f31f4eef5ba5b805316a/numpy-2.4.6-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:d6da64deb6b8ed903e7560180a92f2d804ee1ba5eeb849ac2748b8c1aba1f6d7", size = 14889064, upload-time = "2026-05-18T23:36:53.879Z" }, + { url = "https://files.pythonhosted.org/packages/7f/57/42ed575c10ced8af951d426bc4e1f8aff16fd851db33f067036215a7f860/numpy-2.4.6-pp311-pypy311_pp73-macosx_14_0_arm64.whl", hash = "sha256:68a5124b13fa6cc2086764a20005d30bc0548146f7f5322f02fce212ca14317f", size = 5394157, upload-time = "2026-05-18T23:36:57.194Z" }, + { url = "https://files.pythonhosted.org/packages/6a/ef/f66cc724fcc36c1e364c67f51ae9146090b8b584f27d58b97fdae3edd737/numpy-2.4.6-pp311-pypy311_pp73-macosx_14_0_x86_64.whl", hash = "sha256:948424b06129ce883307e8cff868c31396d8dc7630a59c61d70d98dbe70f222c", size = 6708728, upload-time = "2026-05-18T23:36:59.575Z" }, + { url = "https://files.pythonhosted.org/packages/1a/9c/c531f2293b91265d8b48e9b329f54fdd7ffae73cb4134ea10cca4237e9cc/numpy-2.4.6-pp311-pypy311_pp73-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5dbbdb29840ca3d91ee0fece42fc29278886d908280bfec0a5846c6f901a3eb0", size = 15798374, upload-time = "2026-05-18T23:37:02.674Z" }, + { url = "https://files.pythonhosted.org/packages/1a/b0/413077f6b1153ed3cba361401c6783bbad6114804a000cc22eb71c13e190/numpy-2.4.6-pp311-pypy311_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8ad03c0965fb3c692200e74d458ca28c1dbb4ce96f9a479a8aa041ad5fabca02", size = 16747286, upload-time = "2026-05-18T23:37:06.327Z" }, + { url = "https://files.pythonhosted.org/packages/15/ce/e5ec180bc41812edcd8daeb8639d205622c0e8c02259d8ab25a0201b3c2a/numpy-2.4.6-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:2803abfebfc990042cd494d8ce2d5f82e9d847af6d35ec486923aa19dbad5e73", size = 12504263, upload-time = "2026-05-18T23:37:09.715Z" }, +] + +[[package]] +name = "numpy" +version = "2.5.4" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version >= '3.15'", + "python_full_version == '3.14.*'", + "python_full_version == '3.13.*'", + "python_full_version == '3.12.*'", +] +sdist = { url = "https://files.pythonhosted.org/packages/95/b0/c7453d0b6e2073c3264468b106ee1563750cecc910965e67357e3698c83e/numpy-2.5.4.tar.gz", hash = "sha256:9a94cf751c9ad8ebaa835bcd3d40dacf8534ad086b88c38029b65123c7999d2a", size = 20866315, upload-time = "2026-10-10T20:05:31.422Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d0/97/ba2074e92b7befea137e77ea8471e768bbd87c339b7e8c9f5a931949f977/numpy-2.5.4-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:c6342f54c67093cae5c0227eb0eb772fdb79f2a2c37a6eb278b9909ee06aa356", size = 17001609, upload-time = "2026-10-10T20:02:40.843Z" }, + { url = "https://files.pythonhosted.org/packages/ff/a9/bac826765e971d8e16e2064e9ac7525fd69b40ac17c905033a7f5442023f/numpy-2.5.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:b11e8fda06a7d69f15ebf542660b74466c2e51094800c1fb794f47ad4faeef17", size = 12015718, upload-time = "2026-10-10T20:02:43.45Z" }, + { url = "https://files.pythonhosted.org/packages/31/2f/5ea3570fcb8ccd0882bea99436a513b2c85dad8f774a2057849130a8fb99/numpy-2.5.4-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:9cb18a327b49c5c337f972b03682f6a49855525faaf3c0d3e9c96cd0fd8880a8", size = 5451717, upload-time = "2026-10-10T20:02:46.169Z" }, + { url = "https://files.pythonhosted.org/packages/34/f2/b4fc1bafca03868220b5eaf729d2f21ebd7d7b151c0f9e144fe212bbca35/numpy-2.5.4-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:aec3fc4b32ff82421274f5d205c559c51c840c8df66a78efd7f3612dd005a26a", size = 6789926, upload-time = "2026-10-10T20:02:48.139Z" }, + { url = "https://files.pythonhosted.org/packages/dc/96/8319e2457ae4333c62c815c7006b869a4f60985c1e01024c2f8c6c040fe5/numpy-2.5.4-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:fe4d21ab149f15e4e6043dfb0de87e6e5f34ac176cde83060e9802981fca2ac2", size = 15695312, upload-time = "2026-10-10T20:02:50.115Z" }, + { url = "https://files.pythonhosted.org/packages/43/a3/c799c62e19c337e6d3770b08e475887fb30ce8477d3c09efca6b2f0228a6/numpy-2.5.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:fbde6962867ee75b48b0ee29b2b9372ec5d617799dbaf38e82dc0596f2f7738a", size = 16727283, upload-time = "2026-10-10T20:02:53.186Z" }, + { url = "https://files.pythonhosted.org/packages/39/6b/3604e53fb00314d0dc1b94ec9125a1484f649c0a17480b1f0f0c7a9d6250/numpy-2.5.4-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:381a7a3d2e65e64c0ec302795ab9dc12bb1e73f150904699c153716177eebdaf", size = 17047890, upload-time = "2026-10-10T20:02:56.038Z" }, + { url = "https://files.pythonhosted.org/packages/4a/7a/e8b58a5289a0d464c52885de47c35a935cdd70c03a4c3ab94a5126416dd0/numpy-2.5.4-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:b89d0aaae2fe498c648f4c4795c084db535af5bd98ef942b2a3681fb74ce8645", size = 18485839, upload-time = "2026-10-10T20:02:59.018Z" }, + { url = "https://files.pythonhosted.org/packages/6f/c9/47094f597015009f310b8c900def59065ef1ff5a6fe7b51fc65ec58ec2c6/numpy-2.5.4-cp312-cp312-win32.whl", hash = "sha256:9968ab7e49b93ac6e1c3b2239732183152c9150f16308d30b66a372cffe3483c", size = 6138936, upload-time = "2026-10-10T20:03:01.626Z" }, + { url = "https://files.pythonhosted.org/packages/12/33/fefe62073dc8acfd0f2b9ed7c003af2f50aa61555e113e6db02b8f79f145/numpy-2.5.4-cp312-cp312-win_amd64.whl", hash = "sha256:a7b1b6353e36a7e50de2973a38d705c88ee93adcf120673cee7f45a4a3fa223a", size = 12573091, upload-time = "2026-10-10T20:03:04.349Z" }, + { url = "https://files.pythonhosted.org/packages/1a/07/161270b0c2eec56e4c905f6d6d22e1b836887b2cb189d3f5820aa588e9dd/numpy-2.5.4-cp312-cp312-win_arm64.whl", hash = "sha256:aa1cce2ff3f8d953de38b76bf44602caeb69f101430208f64a10067f7cb4b1d3", size = 10521630, upload-time = "2026-10-10T20:03:06.767Z" }, + { url = "https://files.pythonhosted.org/packages/67/14/1c3ee0118a8fce08565a5d8482631608426a33af10a01077fada5dc7c119/numpy-2.5.4-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:2377da2dd3ba2c1200956acbab2a358c83b8e1f8531191672d1cd6ad83250d53", size = 16997729, upload-time = "2026-10-10T20:03:09.291Z" }, + { url = "https://files.pythonhosted.org/packages/83/8c/b0ea9477fb1f0d4484bbc5cba21678cc9969704d8d7f3f158d1db35f8e14/numpy-2.5.4-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:7415db95818b39ec475a5eea54d9e3b6bc83e3912158e46da3438cdce399804d", size = 12009826, upload-time = "2026-10-10T20:03:11.946Z" }, + { url = "https://files.pythonhosted.org/packages/e2/84/6a3d75b3ba3dfe84ac0053450753d1e6d250a8bf80f66474cc46d1fb643f/numpy-2.5.4-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:6d6a71b9d9a97c03633aa12565ef2825ffa036cc1d99cfd50dacf0f128af4fe2", size = 5445803, upload-time = "2026-10-10T20:03:14.329Z" }, + { url = "https://files.pythonhosted.org/packages/61/18/bb993f267ca20b376e07092a16793a5b31ed3138751e9ba480011a14d742/numpy-2.5.4-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:d8200f16437b289a5bb927c6e184eccc3e8389bc0070fea4cd5b9e13c1757959", size = 6786220, upload-time = "2026-10-10T20:03:16.602Z" }, + { url = "https://files.pythonhosted.org/packages/db/b6/135bb0953b61dc21c6cafa14b424ae666944e4899cf140e00c2b322a1a45/numpy-2.5.4-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1c2e71b04c6cad90026e544501bbe0ab9290fa8a4d845e7e8c0d124fb429c988", size = 15689178, upload-time = "2026-10-10T20:03:18.721Z" }, + { url = "https://files.pythonhosted.org/packages/da/24/3bd070f3269dc609d8f26b2643f62ef91bb415841c0b294805aaf7fe06da/numpy-2.5.4-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6ffa07666f8da0eef81d149934a626d0d95fbd6838432a33e66245423a9062c0", size = 16718044, upload-time = "2026-10-10T20:03:21.386Z" }, + { url = "https://files.pythonhosted.org/packages/c7/8e/9d15bd356b0a019c965312b1a3c6a727cac4cae5bc40045fbc12ce4cff9c/numpy-2.5.4-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:2fa3328f784fc8277fc48026f6cad516f5c561c5d8e2e39b3c9e0c8f23223b34", size = 17048364, upload-time = "2026-10-10T20:03:24.468Z" }, + { url = "https://files.pythonhosted.org/packages/dc/fe/9d5b560db964f15871885f2250795d15945f8699e17ef90c0c2ff4c875b2/numpy-2.5.4-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:b86966fbe4ad7de710422175572bcdc75fdedadfb54bc6fab7deabccddd7780b", size = 18474904, upload-time = "2026-10-10T20:03:27.895Z" }, + { url = "https://files.pythonhosted.org/packages/e9/98/d27552990f1bd611ef3e7466adadc78312ea2df63b83aad47fdc3d3ca8df/numpy-2.5.4-cp313-cp313-win32.whl", hash = "sha256:5258bc06526964be5face2fc6f756857a3f24f21ec3e72ca131337a75b165d6c", size = 6134537, upload-time = "2026-10-10T20:03:30.511Z" }, + { url = "https://files.pythonhosted.org/packages/90/8c/140a40398a66b4471211be1affdb6ed24c486d581bd28d07b7f2fcb69540/numpy-2.5.4-cp313-cp313-win_amd64.whl", hash = "sha256:8b4d2fd2d34e5f8c9235ee787de5631a37a28402b15cb80814df973d2be54129", size = 12566113, upload-time = "2026-10-10T20:03:32.612Z" }, + { url = "https://files.pythonhosted.org/packages/34/52/01d205e5e8ccb27b2b0b141e801f22b830198c979111b0fa44771438d9a9/numpy-2.5.4-cp313-cp313-win_arm64.whl", hash = "sha256:bc39ac66a7a9a3fbd6134fda43136b60ffde99c8f4501e64e0d2b24da137babf", size = 10519523, upload-time = "2026-10-10T20:03:35.163Z" }, + { url = "https://files.pythonhosted.org/packages/99/ba/005cb5edd580d2f84d7ca3206b92dc17d4388e56e6f87ffe8f2762f83139/numpy-2.5.4-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:c668b2f0d651605b58892644b0e302c7157f7159544227758c896982ef384b18", size = 17005499, upload-time = "2026-10-10T20:03:37.961Z" }, + { url = "https://files.pythonhosted.org/packages/f3/49/fee7587c33ee35f7977f9051d7f2023d4e7246d62710c80f20c2361ea232/numpy-2.5.4-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:ffa6ce09a1c6a08e9667dd9c97aa0b14184e8d18f2a14b78b2a2328c9147f076", size = 12019666, upload-time = "2026-10-10T20:03:40.606Z" }, + { url = "https://files.pythonhosted.org/packages/d5/b2/c6ce165acffceb15a82c07b9cc77d391f86b3f379ba62911908ae5d34b91/numpy-2.5.4-cp314-cp314-macosx_14_0_arm64.whl", hash = "sha256:956555e0603a4d38019ae6925711cb9dc43195c076a928accf7ea5d50bddfe53", size = 5455617, upload-time = "2026-10-10T20:03:43.138Z" }, + { url = "https://files.pythonhosted.org/packages/77/7f/dd85ce260a669a89be06842cf355d7353a33e6cfbc590fb8ebb947d88dc9/numpy-2.5.4-cp314-cp314-macosx_14_0_x86_64.whl", hash = "sha256:2c2c4afffdeb7920e445028dd71eb932cac3e704792e964bc2a232426d4f1255", size = 6791932, upload-time = "2026-10-10T20:03:44.874Z" }, + { url = "https://files.pythonhosted.org/packages/63/d6/34b0a2b0741386a63025a65a2c09caaaaaad6d0ca95b66cd65c30dd7fcb5/numpy-2.5.4-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4054173604cd8658796053f1f3bc0befb68ec1c0762c57fdad61e199256a8617", size = 15710899, upload-time = "2026-10-10T20:03:46.839Z" }, + { url = "https://files.pythonhosted.org/packages/16/d5/928078d2b28f26829b138b4a6c3980045022fb409f570657a224ae60ef4e/numpy-2.5.4-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d549420b8858885cea8838a727842249218b9c1da24dd517e25c9c7a948310a3", size = 16721710, upload-time = "2026-10-10T20:03:49.489Z" }, + { url = "https://files.pythonhosted.org/packages/f9/cf/673fd1b8f4cd78eb6320e87ec4c90ac19c095644259e3749853a405c70f4/numpy-2.5.4-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:823874a507a84af050493b622affde94b6f7c3a0dc22cb2801381bc03b871c00", size = 17066182, upload-time = "2026-10-10T20:03:52.25Z" }, + { url = "https://files.pythonhosted.org/packages/f3/92/a77b5061b1b3e2643928c37976d79ee173e1b171ed158b7a3c61056b41bc/numpy-2.5.4-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:4e263278bfb5ee6409db8aedbc4cc32973b1b82bc1e8d3c668551d04d83a7e37", size = 18480315, upload-time = "2026-10-10T20:03:55.39Z" }, + { url = "https://files.pythonhosted.org/packages/bb/1d/1486ef3d3fb2279fd93c4c43c1bbbf1ca389a19816696684409f71babaab/numpy-2.5.4-cp314-cp314-win32.whl", hash = "sha256:cfd73180400042a7c532d30c5e287bdd03c59ff9ee1b4c0316af0539e29dfe23", size = 6185739, upload-time = "2026-10-10T20:03:58.186Z" }, + { url = "https://files.pythonhosted.org/packages/52/9a/e1e512ebc948d5b9dd33b08736760f0ebbed2848fd4eda1f553088a6dcee/numpy-2.5.4-cp314-cp314-win_amd64.whl", hash = "sha256:2ca144f15135b6212a5c47b1e2aeca6e412f102f95a2d5d88d8aec77eb255de3", size = 12703552, upload-time = "2026-10-10T20:04:00.28Z" }, + { url = "https://files.pythonhosted.org/packages/2c/05/de709a982d7bbcd688a3fad71f002e9ff80c2db39e03ee726609b610f1d1/numpy-2.5.4-cp314-cp314-win_arm64.whl", hash = "sha256:468397ba3c64427474706e5c9123fe266395496714dc684294eac75cd4930d1e", size = 10803901, upload-time = "2026-10-10T20:04:02.659Z" }, + { url = "https://files.pythonhosted.org/packages/13/34/083570ada3bb2a30fbe5d77c8c6fef9141144a15d33e6f793a67e9749ab8/numpy-2.5.4-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:1ef3aa6d7e29bb13677323114280b05acc57607fa2300e66432d665d5418a162", size = 12138695, upload-time = "2026-10-10T20:04:05.012Z" }, + { url = "https://files.pythonhosted.org/packages/94/06/1f9c24db48eef0c2d1207e3b11fffb0478e39dfd8c1e1be7476936885eed/numpy-2.5.4-cp314-cp314t-macosx_14_0_arm64.whl", hash = "sha256:98b053943e5a0474ec0da309d2cb9d3f18ea57f8a2067c2ab7b5f763d1068380", size = 5574615, upload-time = "2026-10-10T20:04:07.316Z" }, + { url = "https://files.pythonhosted.org/packages/da/0f/593fba2e1560e949123bc7d2fc48b5893d56e58cd4bd5a273d2fbf60b220/numpy-2.5.4-cp314-cp314t-macosx_14_0_x86_64.whl", hash = "sha256:b64a85f40e154983960a4167d4c1d57a50c7f109b3d3264a3a984154e90a8454", size = 6889383, upload-time = "2026-10-10T20:04:09.918Z" }, + { url = "https://files.pythonhosted.org/packages/eb/9f/b799dfdce4e05e80ed4bc815c71ff343a11533b2c0ffc221cae8538cda63/numpy-2.5.4-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a813ed7719bf45463c51779e6a98d0385fe905e48447526938a4b8337333d551", size = 15753763, upload-time = "2026-10-10T20:04:12.278Z" }, + { url = "https://files.pythonhosted.org/packages/34/88/16c5f12f86f5ad2817c4d103205131fc6c8acb3d1878af05a1a4f23ec859/numpy-2.5.4-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c9b80cdf5cedba0e90d93fa5f9a333c4d65bd545cd669b71bb97ce2b703c9d73", size = 16757212, upload-time = "2026-10-10T20:04:14.799Z" }, + { url = "https://files.pythonhosted.org/packages/ff/4f/a1fe40e18a898e6a5089f4f0d891f0a493eb0574d5b34458f0fbe5aa3e5c/numpy-2.5.4-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:2199ed071f460487c8db2c0e5c0b564494190edb4772fe80f9aad88b2604def5", size = 17116471, upload-time = "2026-10-10T20:04:17.58Z" }, + { url = "https://files.pythonhosted.org/packages/aa/46/e923a11c78e65c1722e7aaad817c06bd591324174b9d28ce5d31eee4d432/numpy-2.5.4-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:64f9c9878c1938476365e11ccfb6b770f3b9e5f045ccddc514235041e6959365", size = 18524063, upload-time = "2026-10-10T20:04:20.365Z" }, + { url = "https://files.pythonhosted.org/packages/5a/fa/84ab064514440c1f64a1b21088f2c82756defdd05e07c75ab233899565b2/numpy-2.5.4-cp314-cp314t-win32.whl", hash = "sha256:64d1c8ac28a4077cf987e0a71a7a0ef7e2df70722f07f0baa42dbb7eb6938647", size = 6340926, upload-time = "2026-10-10T20:04:22.865Z" }, + { url = "https://files.pythonhosted.org/packages/7e/7e/6cd886876f435b10685db9b9f7eeb70356f99e052116f4e5f11c5792c714/numpy-2.5.4-cp314-cp314t-win_amd64.whl", hash = "sha256:067374eb538c34c745436365cf7b0112595c1d326f21ce4ff340f61230239fbb", size = 12901584, upload-time = "2026-10-10T20:04:24.99Z" }, + { url = "https://files.pythonhosted.org/packages/38/1b/3c1684f6a06f7307f2335fca6e486cb162847fb97e91d65f8eb5cabad213/numpy-2.5.4-cp314-cp314t-win_arm64.whl", hash = "sha256:e94aef2c639da4a960ad0db8e06471208d8589974953d78b61d345b4eb99e394", size = 10891152, upload-time = "2026-10-10T20:04:27.52Z" }, + { url = "https://files.pythonhosted.org/packages/08/f4/3224deff3af2bef6bc0b175369698d8cb348f3d91d9bb0286cd5c9eae9e0/numpy-2.5.4-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:8dddfbee2e68d26d0d7d7d9cb247b1fd4409241cce32d815a11d97ec2cfde179", size = 17003231, upload-time = "2026-10-10T20:04:30.021Z" }, + { url = "https://files.pythonhosted.org/packages/be/75/fee0b8c6d94b44b2fdfae74f6a4ad5a138739589a8aebaec28ce4e713ed5/numpy-2.5.4-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:81e3420b27048b65eb14c3acf0c174a8cb0e023277716110347d2dcb26026dad", size = 12018300, upload-time = "2026-10-10T20:04:32.519Z" }, + { url = "https://files.pythonhosted.org/packages/47/c0/d0b335a499a04b65f532c3f034346ef390f81299060f928492dabc1e0272/numpy-2.5.4-cp315-cp315-macosx_14_0_arm64.whl", hash = "sha256:0b4724a19de67bea8cfc4970798efa78bcbbe2ac2613cfac16721a42d44de2a5", size = 5454250, upload-time = "2026-10-10T20:04:34.943Z" }, + { url = "https://files.pythonhosted.org/packages/5a/0e/461b3783c03d668052e6a21b01b673db6ffcb7831fd32d9aa5368c1cd426/numpy-2.5.4-cp315-cp315-macosx_14_0_x86_64.whl", hash = "sha256:2132418bf8dd124a427ca9e6a1daf9ee1a87185344c95119ceae868b99466da1", size = 6789644, upload-time = "2026-10-10T20:04:37.258Z" }, + { url = "https://files.pythonhosted.org/packages/b3/02/5dad269b02166965a7b4ca14adaddd75dbee0de42435bfecf561b84ba5a6/numpy-2.5.4-cp315-cp315-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:325518d4245b9e331387702aa58c2ce1dc4cdcbb41dfb4ccd5dcbc7e08db1266", size = 15704353, upload-time = "2026-10-10T20:04:39.616Z" }, + { url = "https://files.pythonhosted.org/packages/93/3a/01360c8036822ed9f7aa32189a77d1476567ec1e8e1383522389e4faac45/numpy-2.5.4-cp315-cp315-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:56733449d2544178beaa4545cee357370440cf056c197f9c7bfb19dbfdd0e86d", size = 16718648, upload-time = "2026-10-10T20:04:42.383Z" }, + { url = "https://files.pythonhosted.org/packages/7d/5c/b863a2c093c4d6f21a597fcaf24ead0835c09ab16a8312d5a5a8868af683/numpy-2.5.4-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:5ec3753760c1a6d8bb91200666e545c3a9728e6269dfb5d6ce02340996698aa3", size = 17059053, upload-time = "2026-10-10T20:04:44.976Z" }, + { url = "https://files.pythonhosted.org/packages/0a/60/ced4f57f9a1258a0af74f17cb0b0c2700b5c67cd6678823c803b263e4df3/numpy-2.5.4-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:b1185012870173de7ae33d370bd45b1cf5baee747ea4b97036b65f4e93016877", size = 18477406, upload-time = "2026-10-10T20:04:47.863Z" }, + { url = "https://files.pythonhosted.org/packages/f9/bd/0ef22dafaafcc7d4bb3ca26b8d2afbd55dedad8eaba99a8c864e1997456f/numpy-2.5.4-cp315-cp315-win32.whl", hash = "sha256:298eca75243f2cbbfdb460560b9fb2a1792a33cf2ab4286efd43d92e8d3df508", size = 6185133, upload-time = "2026-10-10T20:04:50.467Z" }, + { url = "https://files.pythonhosted.org/packages/50/bc/d2651b155ecc608a77e6f4d15495c11f14f19bb98f8bf0c5b0d38f86dda1/numpy-2.5.4-cp315-cp315-win_amd64.whl", hash = "sha256:332f3378fe077dd850e677ec01bdcc4f22368fb5d50ef10b2c79230b1bf5a592", size = 12703085, upload-time = "2026-10-10T20:04:52.63Z" }, + { url = "https://files.pythonhosted.org/packages/dc/d2/45e404f8abb26fb9eda12b94012936873e827b1be76f2ee7890be128312e/numpy-2.5.4-cp315-cp315-win_arm64.whl", hash = "sha256:d4cccbbc78717966f764cd3af4fb70276fa01fc7a2688af11c78901fa5c04f05", size = 10801451, upload-time = "2026-10-10T20:04:55.677Z" }, + { url = "https://files.pythonhosted.org/packages/c6/c3/2ae14e09cfdb67dc187a342e15308a21c15bf4d2071f8079e6aee5fe56dc/numpy-2.5.4-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:950ea81d57ef070665581b6e1b5f6a029306423cd1739c5b95fe78aa30db6b9d", size = 17097121, upload-time = "2026-10-10T20:04:58.403Z" }, + { url = "https://files.pythonhosted.org/packages/f5/cf/305ae624ef8a039414317224abe9ec9c2fe7ea3c2e1cf204d43ff6b2ffb9/numpy-2.5.4-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:c05ede731b03fb1b7591faca9389ade3267d2bddf1ad8882bb3f2cc5e101694f", size = 12135439, upload-time = "2026-10-10T20:05:01.65Z" }, + { url = "https://files.pythonhosted.org/packages/a9/a8/f75c63813aef95827bb2c0d13b12803016853056e8792c280058cdbfe783/numpy-2.5.4-cp315-cp315t-macosx_14_0_arm64.whl", hash = "sha256:5fbf7141bbfd63aea22f435c9062a032b9ea0082fe9845dad7f021d3f1234e71", size = 5571451, upload-time = "2026-10-10T20:05:04.135Z" }, + { url = "https://files.pythonhosted.org/packages/6f/0f/f17763f983868b5c49b4101ebd7e00760bd1769478a6bb6a8de6e085bbac/numpy-2.5.4-cp315-cp315t-macosx_14_0_x86_64.whl", hash = "sha256:3573cd22564692a5b899ec344e5d5b9cc4576f2985b96f22af3564ed54f2710f", size = 6883356, upload-time = "2026-10-10T20:05:06.249Z" }, + { url = "https://files.pythonhosted.org/packages/67/a7/8af04c5a79e047996cfa38854dcfbececdd0343a7c933a46fdd03ef6f5da/numpy-2.5.4-cp315-cp315t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6c109eac9cd439193678f69d70733c1108487546ca8eafc107b510ae10c1aecd", size = 15750991, upload-time = "2026-10-10T20:05:08.376Z" }, + { url = "https://files.pythonhosted.org/packages/57/7a/648254290d0c504faa8f2d07aa206660c728802c781a6f3fc68ab7cb5d71/numpy-2.5.4-cp315-cp315t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:80d6ef6e8620eb2c2b4c4caad50b5935d6db3cde2d51581b55dcc79e14016d1d", size = 16757675, upload-time = "2026-10-10T20:05:11.393Z" }, + { url = "https://files.pythonhosted.org/packages/b8/fe/4a8c3cdb0c70400cfe4c5bec42d3099a5673802a95064614b33e07b82aa1/numpy-2.5.4-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:77045a4b175bbf5316ec08003880804336c78f92281a1b72222b274ea85ec5ac", size = 17113846, upload-time = "2026-10-10T20:05:14.49Z" }, + { url = "https://files.pythonhosted.org/packages/1b/7e/619692bb67778702c0e9eb2d468568a7573f4e269386ea61aed01ee4e557/numpy-2.5.4-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:0f02a46e49cfb6c73bdb7aea1c0d3461dbae9aba613542b65f657cd3d17b9fab", size = 18522915, upload-time = "2026-10-10T20:05:17.33Z" }, + { url = "https://files.pythonhosted.org/packages/b7/b5/4da41c328788f575838f97a098fe8ca691ebc6f6fd73ad4a262ee40b184d/numpy-2.5.4-cp315-cp315t-win32.whl", hash = "sha256:ad62a416ddcf863bf44bba76fbf6b53366ab0692e294f51cae4b5fbe0d246788", size = 6335804, upload-time = "2026-10-10T20:05:19.921Z" }, + { url = "https://files.pythonhosted.org/packages/98/94/6482ddfa3d312490cb9358f375bf2ad56427dbea8769187158e94d653753/numpy-2.5.4-cp315-cp315t-win_amd64.whl", hash = "sha256:38f47be9f74ab870d2633b5456ae519c43758a8d1fd05342f0ce4ecc034396ee", size = 12890095, upload-time = "2026-10-10T20:05:21.875Z" }, + { url = "https://files.pythonhosted.org/packages/48/7f/c2d1b436b6e7cfebac140c2579a298344b85f2991a2ce5c3615cefb29400/numpy-2.5.4-cp315-cp315t-win_arm64.whl", hash = "sha256:7a14a461d9340f1b46b8648578aed9cdb8b3b018a8fac6c1dde2c9192a01a87f", size = 10883718, upload-time = "2026-10-10T20:05:28.547Z" }, +] + +[[package]] +name = "openai" +version = "3.51.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "anyio", version = "4.14.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, + { name = "anyio", version = "4.16.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, + { name = "httpx2", version = "2.14.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, + { name = "httpx2", version = "2.16.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, + { name = "jiter", version = "0.18.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, + { name = "jiter", version = "0.19.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, + { name = "pydantic", version = "2.13.5", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, + { name = "pydantic", version = "2.14.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, + { name = "sniffio" }, + { name = "typing-extensions", version = "4.15.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, + { name = "typing-extensions", version = "4.16.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/db/fa/30f098b042a354f685def1d0fe4c817fc4a534233f497fcf5fc29467c58d/openai-3.51.0.tar.gz", hash = "sha256:1cc9b80eb0f1dc15fa45fbc122ba2c99b7e5302548060c01db5719fa6181a6a9", size = 2415149, upload-time = "2026-11-13T21:13:39.771Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/52/f9/d3d9ef409ee4e90de64c9b12f15879f56fc845c2eb9cfe6f314b402de7f1/openai-3.51.0-py3-none-any.whl", hash = "sha256:802b7e8c6ff8cf4d59a2a163126c10ce472adf0409ac41fdaadd47c9b4ed091a", size = 2446085, upload-time = "2026-11-13T21:13:37.969Z" }, +] + [[package]] name = "oracledb" version = "3.4.2" @@ -1537,6 +2593,69 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/88/ef/eb23f262cca3c0c4eb7ab1933c3b1f03d021f2c48f54763065b6f0e321be/packaging-24.2-py3-none-any.whl", hash = "sha256:09abb1bccd265c01f4a3aa3f7a7db064b36514d2cba19a2f694fe6150451a759", size = 65451, upload-time = "2024-11-08T09:47:44.722Z" }, ] +[[package]] +name = "pandas" +version = "2.3.3" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, + { name = "numpy", version = "2.4.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.11.*'" }, + { name = "numpy", version = "2.5.4", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.12'" }, + { name = "python-dateutil" }, + { name = "pytz" }, + { name = "tzdata" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/33/01/d40b85317f86cf08d853a4f495195c73815fdf205eef3993821720274518/pandas-2.3.3.tar.gz", hash = "sha256:e05e1af93b977f7eafa636d043f9f94c7ee3ac81af99c13508215942e64c993b", size = 4495223, upload-time = "2025-09-29T23:34:51.853Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/3d/f7/f425a00df4fcc22b292c6895c6831c0c8ae1d9fac1e024d16f98a9ce8749/pandas-2.3.3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:376c6446ae31770764215a6c937f72d917f214b43560603cd60da6408f183b6c", size = 11555763, upload-time = "2025-09-29T23:16:53.287Z" }, + { url = "https://files.pythonhosted.org/packages/13/4f/66d99628ff8ce7857aca52fed8f0066ce209f96be2fede6cef9f84e8d04f/pandas-2.3.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:e19d192383eab2f4ceb30b412b22ea30690c9e618f78870357ae1d682912015a", size = 10801217, upload-time = "2025-09-29T23:17:04.522Z" }, + { url = "https://files.pythonhosted.org/packages/1d/03/3fc4a529a7710f890a239cc496fc6d50ad4a0995657dccc1d64695adb9f4/pandas-2.3.3-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5caf26f64126b6c7aec964f74266f435afef1c1b13da3b0636c7518a1fa3e2b1", size = 12148791, upload-time = "2025-09-29T23:17:18.444Z" }, + { url = "https://files.pythonhosted.org/packages/40/a8/4dac1f8f8235e5d25b9955d02ff6f29396191d4e665d71122c3722ca83c5/pandas-2.3.3-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:dd7478f1463441ae4ca7308a70e90b33470fa593429f9d4c578dd00d1fa78838", size = 12769373, upload-time = "2025-09-29T23:17:35.846Z" }, + { url = "https://files.pythonhosted.org/packages/df/91/82cc5169b6b25440a7fc0ef3a694582418d875c8e3ebf796a6d6470aa578/pandas-2.3.3-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:4793891684806ae50d1288c9bae9330293ab4e083ccd1c5e383c34549c6e4250", size = 13200444, upload-time = "2025-09-29T23:17:49.341Z" }, + { url = "https://files.pythonhosted.org/packages/10/ae/89b3283800ab58f7af2952704078555fa60c807fff764395bb57ea0b0dbd/pandas-2.3.3-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:28083c648d9a99a5dd035ec125d42439c6c1c525098c58af0fc38dd1a7a1b3d4", size = 13858459, upload-time = "2025-09-29T23:18:03.722Z" }, + { url = "https://files.pythonhosted.org/packages/85/72/530900610650f54a35a19476eca5104f38555afccda1aa11a92ee14cb21d/pandas-2.3.3-cp310-cp310-win_amd64.whl", hash = "sha256:503cf027cf9940d2ceaa1a93cfb5f8c8c7e6e90720a2850378f0b3f3b1e06826", size = 11346086, upload-time = "2025-09-29T23:18:18.505Z" }, + { url = "https://files.pythonhosted.org/packages/c1/fa/7ac648108144a095b4fb6aa3de1954689f7af60a14cf25583f4960ecb878/pandas-2.3.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:602b8615ebcc4a0c1751e71840428ddebeb142ec02c786e8ad6b1ce3c8dec523", size = 11578790, upload-time = "2025-09-29T23:18:30.065Z" }, + { url = "https://files.pythonhosted.org/packages/9b/35/74442388c6cf008882d4d4bdfc4109be87e9b8b7ccd097ad1e7f006e2e95/pandas-2.3.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:8fe25fc7b623b0ef6b5009149627e34d2a4657e880948ec3c840e9402e5c1b45", size = 10833831, upload-time = "2025-09-29T23:38:56.071Z" }, + { url = "https://files.pythonhosted.org/packages/fe/e4/de154cbfeee13383ad58d23017da99390b91d73f8c11856f2095e813201b/pandas-2.3.3-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b468d3dad6ff947df92dcb32ede5b7bd41a9b3cceef0a30ed925f6d01fb8fa66", size = 12199267, upload-time = "2025-09-29T23:18:41.627Z" }, + { url = "https://files.pythonhosted.org/packages/bf/c9/63f8d545568d9ab91476b1818b4741f521646cbdd151c6efebf40d6de6f7/pandas-2.3.3-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b98560e98cb334799c0b07ca7967ac361a47326e9b4e5a7dfb5ab2b1c9d35a1b", size = 12789281, upload-time = "2025-09-29T23:18:56.834Z" }, + { url = "https://files.pythonhosted.org/packages/f2/00/a5ac8c7a0e67fd1a6059e40aa08fa1c52cc00709077d2300e210c3ce0322/pandas-2.3.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:1d37b5848ba49824e5c30bedb9c830ab9b7751fd049bc7914533e01c65f79791", size = 13240453, upload-time = "2025-09-29T23:19:09.247Z" }, + { url = "https://files.pythonhosted.org/packages/27/4d/5c23a5bc7bd209231618dd9e606ce076272c9bc4f12023a70e03a86b4067/pandas-2.3.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:db4301b2d1f926ae677a751eb2bd0e8c5f5319c9cb3f88b0becbbb0b07b34151", size = 13890361, upload-time = "2025-09-29T23:19:25.342Z" }, + { url = "https://files.pythonhosted.org/packages/8e/59/712db1d7040520de7a4965df15b774348980e6df45c129b8c64d0dbe74ef/pandas-2.3.3-cp311-cp311-win_amd64.whl", hash = "sha256:f086f6fe114e19d92014a1966f43a3e62285109afe874f067f5abbdcbb10e59c", size = 11348702, upload-time = "2025-09-29T23:19:38.296Z" }, + { url = "https://files.pythonhosted.org/packages/9c/fb/231d89e8637c808b997d172b18e9d4a4bc7bf31296196c260526055d1ea0/pandas-2.3.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:6d21f6d74eb1725c2efaa71a2bfc661a0689579b58e9c0ca58a739ff0b002b53", size = 11597846, upload-time = "2025-09-29T23:19:48.856Z" }, + { url = "https://files.pythonhosted.org/packages/5c/bd/bf8064d9cfa214294356c2d6702b716d3cf3bb24be59287a6a21e24cae6b/pandas-2.3.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:3fd2f887589c7aa868e02632612ba39acb0b8948faf5cc58f0850e165bd46f35", size = 10729618, upload-time = "2025-09-29T23:39:08.659Z" }, + { url = "https://files.pythonhosted.org/packages/57/56/cf2dbe1a3f5271370669475ead12ce77c61726ffd19a35546e31aa8edf4e/pandas-2.3.3-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ecaf1e12bdc03c86ad4a7ea848d66c685cb6851d807a26aa245ca3d2017a1908", size = 11737212, upload-time = "2025-09-29T23:19:59.765Z" }, + { url = "https://files.pythonhosted.org/packages/e5/63/cd7d615331b328e287d8233ba9fdf191a9c2d11b6af0c7a59cfcec23de68/pandas-2.3.3-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b3d11d2fda7eb164ef27ffc14b4fcab16a80e1ce67e9f57e19ec0afaf715ba89", size = 12362693, upload-time = "2025-09-29T23:20:14.098Z" }, + { url = "https://files.pythonhosted.org/packages/a6/de/8b1895b107277d52f2b42d3a6806e69cfef0d5cf1d0ba343470b9d8e0a04/pandas-2.3.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:a68e15f780eddf2b07d242e17a04aa187a7ee12b40b930bfdd78070556550e98", size = 12771002, upload-time = "2025-09-29T23:20:26.76Z" }, + { url = "https://files.pythonhosted.org/packages/87/21/84072af3187a677c5893b170ba2c8fbe450a6ff911234916da889b698220/pandas-2.3.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:371a4ab48e950033bcf52b6527eccb564f52dc826c02afd9a1bc0ab731bba084", size = 13450971, upload-time = "2025-09-29T23:20:41.344Z" }, + { url = "https://files.pythonhosted.org/packages/86/41/585a168330ff063014880a80d744219dbf1dd7a1c706e75ab3425a987384/pandas-2.3.3-cp312-cp312-win_amd64.whl", hash = "sha256:a16dcec078a01eeef8ee61bf64074b4e524a2a3f4b3be9326420cabe59c4778b", size = 10992722, upload-time = "2025-09-29T23:20:54.139Z" }, + { url = "https://files.pythonhosted.org/packages/cd/4b/18b035ee18f97c1040d94debd8f2e737000ad70ccc8f5513f4eefad75f4b/pandas-2.3.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:56851a737e3470de7fa88e6131f41281ed440d29a9268dcbf0002da5ac366713", size = 11544671, upload-time = "2025-09-29T23:21:05.024Z" }, + { url = "https://files.pythonhosted.org/packages/31/94/72fac03573102779920099bcac1c3b05975c2cb5f01eac609faf34bed1ca/pandas-2.3.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:bdcd9d1167f4885211e401b3036c0c8d9e274eee67ea8d0758a256d60704cfe8", size = 10680807, upload-time = "2025-09-29T23:21:15.979Z" }, + { url = "https://files.pythonhosted.org/packages/16/87/9472cf4a487d848476865321de18cc8c920b8cab98453ab79dbbc98db63a/pandas-2.3.3-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e32e7cc9af0f1cc15548288a51a3b681cc2a219faa838e995f7dc53dbab1062d", size = 11709872, upload-time = "2025-09-29T23:21:27.165Z" }, + { url = "https://files.pythonhosted.org/packages/15/07/284f757f63f8a8d69ed4472bfd85122bd086e637bf4ed09de572d575a693/pandas-2.3.3-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:318d77e0e42a628c04dc56bcef4b40de67918f7041c2b061af1da41dcff670ac", size = 12306371, upload-time = "2025-09-29T23:21:40.532Z" }, + { url = "https://files.pythonhosted.org/packages/33/81/a3afc88fca4aa925804a27d2676d22dcd2031c2ebe08aabd0ae55b9ff282/pandas-2.3.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:4e0a175408804d566144e170d0476b15d78458795bb18f1304fb94160cabf40c", size = 12765333, upload-time = "2025-09-29T23:21:55.77Z" }, + { url = "https://files.pythonhosted.org/packages/8d/0f/b4d4ae743a83742f1153464cf1a8ecfafc3ac59722a0b5c8602310cb7158/pandas-2.3.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:93c2d9ab0fc11822b5eece72ec9587e172f63cff87c00b062f6e37448ced4493", size = 13418120, upload-time = "2025-09-29T23:22:10.109Z" }, + { url = "https://files.pythonhosted.org/packages/4f/c7/e54682c96a895d0c808453269e0b5928a07a127a15704fedb643e9b0a4c8/pandas-2.3.3-cp313-cp313-win_amd64.whl", hash = "sha256:f8bfc0e12dc78f777f323f55c58649591b2cd0c43534e8355c51d3fede5f4dee", size = 10993991, upload-time = "2025-09-29T23:25:04.889Z" }, + { url = "https://files.pythonhosted.org/packages/f9/ca/3f8d4f49740799189e1395812f3bf23b5e8fc7c190827d55a610da72ce55/pandas-2.3.3-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:75ea25f9529fdec2d2e93a42c523962261e567d250b0013b16210e1d40d7c2e5", size = 12048227, upload-time = "2025-09-29T23:22:24.343Z" }, + { url = "https://files.pythonhosted.org/packages/0e/5a/f43efec3e8c0cc92c4663ccad372dbdff72b60bdb56b2749f04aa1d07d7e/pandas-2.3.3-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:74ecdf1d301e812db96a465a525952f4dde225fdb6d8e5a521d47e1f42041e21", size = 11411056, upload-time = "2025-09-29T23:22:37.762Z" }, + { url = "https://files.pythonhosted.org/packages/46/b1/85331edfc591208c9d1a63a06baa67b21d332e63b7a591a5ba42a10bb507/pandas-2.3.3-cp313-cp313t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6435cb949cb34ec11cc9860246ccb2fdc9ecd742c12d3304989017d53f039a78", size = 11645189, upload-time = "2025-09-29T23:22:51.688Z" }, + { url = "https://files.pythonhosted.org/packages/44/23/78d645adc35d94d1ac4f2a3c4112ab6f5b8999f4898b8cdf01252f8df4a9/pandas-2.3.3-cp313-cp313t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:900f47d8f20860de523a1ac881c4c36d65efcb2eb850e6948140fa781736e110", size = 12121912, upload-time = "2025-09-29T23:23:05.042Z" }, + { url = "https://files.pythonhosted.org/packages/53/da/d10013df5e6aaef6b425aa0c32e1fc1f3e431e4bcabd420517dceadce354/pandas-2.3.3-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:a45c765238e2ed7d7c608fc5bc4a6f88b642f2f01e70c0c23d2224dd21829d86", size = 12712160, upload-time = "2025-09-29T23:23:28.57Z" }, + { url = "https://files.pythonhosted.org/packages/bd/17/e756653095a083d8a37cbd816cb87148debcfcd920129b25f99dd8d04271/pandas-2.3.3-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:c4fc4c21971a1a9f4bdb4c73978c7f7256caa3e62b323f70d6cb80db583350bc", size = 13199233, upload-time = "2025-09-29T23:24:24.876Z" }, + { url = "https://files.pythonhosted.org/packages/04/fd/74903979833db8390b73b3a8a7d30d146d710bd32703724dd9083950386f/pandas-2.3.3-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:ee15f284898e7b246df8087fc82b87b01686f98ee67d85a17b7ab44143a3a9a0", size = 11540635, upload-time = "2025-09-29T23:25:52.486Z" }, + { url = "https://files.pythonhosted.org/packages/21/00/266d6b357ad5e6d3ad55093a7e8efc7dd245f5a842b584db9f30b0f0a287/pandas-2.3.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:1611aedd912e1ff81ff41c745822980c49ce4a7907537be8692c8dbc31924593", size = 10759079, upload-time = "2025-09-29T23:26:33.204Z" }, + { url = "https://files.pythonhosted.org/packages/ca/05/d01ef80a7a3a12b2f8bbf16daba1e17c98a2f039cbc8e2f77a2c5a63d382/pandas-2.3.3-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6d2cefc361461662ac48810cb14365a365ce864afe85ef1f447ff5a1e99ea81c", size = 11814049, upload-time = "2025-09-29T23:27:15.384Z" }, + { url = "https://files.pythonhosted.org/packages/15/b2/0e62f78c0c5ba7e3d2c5945a82456f4fac76c480940f805e0b97fcbc2f65/pandas-2.3.3-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ee67acbbf05014ea6c763beb097e03cd629961c8a632075eeb34247120abcb4b", size = 12332638, upload-time = "2025-09-29T23:27:51.625Z" }, + { url = "https://files.pythonhosted.org/packages/c5/33/dd70400631b62b9b29c3c93d2feee1d0964dc2bae2e5ad7a6c73a7f25325/pandas-2.3.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:c46467899aaa4da076d5abc11084634e2d197e9460643dd455ac3db5856b24d6", size = 12886834, upload-time = "2025-09-29T23:28:21.289Z" }, + { url = "https://files.pythonhosted.org/packages/d3/18/b5d48f55821228d0d2692b34fd5034bb185e854bdb592e9c640f6290e012/pandas-2.3.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:6253c72c6a1d990a410bc7de641d34053364ef8bcd3126f7e7450125887dffe3", size = 13409925, upload-time = "2025-09-29T23:28:58.261Z" }, + { url = "https://files.pythonhosted.org/packages/a6/3d/124ac75fcd0ecc09b8fdccb0246ef65e35b012030defb0e0eba2cbbbe948/pandas-2.3.3-cp314-cp314-win_amd64.whl", hash = "sha256:1b07204a219b3b7350abaae088f451860223a52cfb8a6c53358e7948735158e5", size = 11109071, upload-time = "2025-09-29T23:32:27.484Z" }, + { url = "https://files.pythonhosted.org/packages/89/9c/0e21c895c38a157e0faa1fb64587a9226d6dd46452cac4532d80c3c4a244/pandas-2.3.3-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:2462b1a365b6109d275250baaae7b760fd25c726aaca0054649286bcfbb3e8ec", size = 12048504, upload-time = "2025-09-29T23:29:31.47Z" }, + { url = "https://files.pythonhosted.org/packages/d7/82/b69a1c95df796858777b68fbe6a81d37443a33319761d7c652ce77797475/pandas-2.3.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:0242fe9a49aa8b4d78a4fa03acb397a58833ef6199e9aa40a95f027bb3a1b6e7", size = 11410702, upload-time = "2025-09-29T23:29:54.591Z" }, + { url = "https://files.pythonhosted.org/packages/f9/88/702bde3ba0a94b8c73a0181e05144b10f13f29ebfc2150c3a79062a8195d/pandas-2.3.3-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a21d830e78df0a515db2b3d2f5570610f5e6bd2e27749770e8bb7b524b89b450", size = 11634535, upload-time = "2025-09-29T23:30:21.003Z" }, + { url = "https://files.pythonhosted.org/packages/a4/1e/1bac1a839d12e6a82ec6cb40cda2edde64a2013a66963293696bbf31fbbb/pandas-2.3.3-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2e3ebdb170b5ef78f19bfb71b0dc5dc58775032361fa188e814959b74d726dd5", size = 12121582, upload-time = "2025-09-29T23:30:43.391Z" }, + { url = "https://files.pythonhosted.org/packages/44/91/483de934193e12a3b1d6ae7c8645d083ff88dec75f46e827562f1e4b4da6/pandas-2.3.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:d051c0e065b94b7a3cea50eb1ec32e912cd96dba41647eb24104b6c6c14c5788", size = 12699963, upload-time = "2025-09-29T23:31:10.009Z" }, + { url = "https://files.pythonhosted.org/packages/70/44/5191d2e4026f86a2a109053e194d3ba7a31a2d10a9c2348368c63ed4e85a/pandas-2.3.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:3869faf4bd07b3b66a9f462417d0ca3a9df29a9f6abd5d0d0dbab15dac7abe87", size = 13202175, upload-time = "2025-09-29T23:31:59.173Z" }, +] + [[package]] name = "pathspec" version = "1.1.1" @@ -1806,7 +2925,8 @@ resolution-markers = [ "python_full_version >= '3.15'", "python_full_version == '3.14.*'", "python_full_version == '3.13.*'", - "python_full_version >= '3.11' and python_full_version < '3.13'", + "python_full_version == '3.12.*'", + "python_full_version == '3.11.*'", ] dependencies = [ { name = "annotated-types", marker = "python_full_version >= '3.11'" }, @@ -1946,7 +3066,8 @@ resolution-markers = [ "python_full_version >= '3.15'", "python_full_version == '3.14.*'", "python_full_version == '3.13.*'", - "python_full_version >= '3.11' and python_full_version < '3.13'", + "python_full_version == '3.12.*'", + "python_full_version == '3.11.*'", ] dependencies = [ { name = "typing-extensions", version = "4.16.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, @@ -2119,7 +3240,8 @@ resolution-markers = [ "python_full_version >= '3.15'", "python_full_version == '3.14.*'", "python_full_version == '3.13.*'", - "python_full_version >= '3.11' and python_full_version < '3.13'", + "python_full_version == '3.12.*'", + "python_full_version == '3.11.*'", ] dependencies = [ { name = "pydantic", version = "2.14.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, @@ -2255,7 +3377,8 @@ resolution-markers = [ "python_full_version >= '3.15'", "python_full_version == '3.14.*'", "python_full_version == '3.13.*'", - "python_full_version >= '3.11' and python_full_version < '3.13'", + "python_full_version == '3.12.*'", + "python_full_version == '3.11.*'", ] sdist = { url = "https://files.pythonhosted.org/packages/9f/b7/15b905f6142a9a8a68f66900788da1a32e4d4254452783b37ad1eccb0506/python_multipart-0.0.33.tar.gz", hash = "sha256:b8112424a6abd162ec08d390565dd113ad699f2fe6fef3c987b8bbcbfe9e390d", size = 50499, upload-time = "2026-10-31T14:23:47.461Z" } wheels = [ @@ -2376,6 +3499,274 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/2c/58/ca301544e1fa93ed4f80d724bf5b194f6e4b945841c5bfd555878eea9fcb/referencing-0.37.0-py3-none-any.whl", hash = "sha256:381329a9f99628c9069361716891d34ad94af76e461dcb0335825aecc7692231", size = 26766, upload-time = "2025-10-13T15:30:47.625Z" }, ] +[[package]] +name = "regex" +version = "2026.9.29" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version < '3.11'", +] +sdist = { url = "https://files.pythonhosted.org/packages/fc/f2/af1da9d3ceed77bfcdce40427d49ba0be94e4fe84245e3bfef68c10e75b6/regex-2026.9.29.tar.gz", hash = "sha256:8b5fcc4771732191b2b7d1dd68d8f0353f47f8d90b6150f6dce58bf1112442cb", size = 419199, upload-time = "2026-09-29T00:49:58.298Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f6/37/404442e7296554792e2de4c0c8f8b95ee491a3c227d6ff90d4cebf2dbde3/regex-2026.9.29-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:9916fda742cd4eede63b286f58c06718324265d727ce0856eb1aac86d0d150d6", size = 495402, upload-time = "2026-09-29T00:45:50.322Z" }, + { url = "https://files.pythonhosted.org/packages/72/6d/116db2946888bd60db8e2033739471be6d80aa47c833afd952c9ed40654c/regex-2026.9.29-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:8873c4a11c50b9989168881aeb3f08859f469d809941866aa1feefd8be5431f6", size = 295139, upload-time = "2026-09-29T00:45:51.826Z" }, + { url = "https://files.pythonhosted.org/packages/9d/1d/aefd12fb5cd62b748aa6ed28725b375c71102853fcbf15fb6481f806a2ba/regex-2026.9.29-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:1d9fe8091b2e89d470df68a9331111ed008ae8aae6bf1e8e1fba4086a495c84e", size = 292130, upload-time = "2026-09-29T00:45:53.017Z" }, + { url = "https://files.pythonhosted.org/packages/7c/98/41fe60ae6ccf3e166fe7bc73495aa15e9a1a7fe3a1f9f0f95a3d64a2df0f/regex-2026.9.29-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:fb00027a09a8f9f08028b40dce4c933cf73e4833240ed356583fdc9cfa721566", size = 793080, upload-time = "2026-09-29T00:45:54.331Z" }, + { url = "https://files.pythonhosted.org/packages/45/0d/944b13e8286ecba61a3baeca28b375550821a279800bdb18fac41ade6637/regex-2026.9.29-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:14e953ff3607c92d7675bf79c4d4509ef6782aa8c08509f179f9b3d6d0679e86", size = 865241, upload-time = "2026-09-29T00:45:56.065Z" }, + { url = "https://files.pythonhosted.org/packages/2a/b4/e1c32fdee0462f1373c52a73325cafbde653fac0b0cc1e9badac74154f4a/regex-2026.9.29-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:0476e5bcbe6e1ba3d1c4cc7bbb1c3ba78e3b979b5c8a88d0a6a8cdd4992b8c84", size = 905496, upload-time = "2026-09-29T00:45:57.491Z" }, + { url = "https://files.pythonhosted.org/packages/ec/99/eae371ca63f7ea1f1eac025021527adb57ce3a4b67ff608b896fd31ea447/regex-2026.9.29-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4fb41211d2333eb930a51e0546a65999761cf1f572a4da56ef9b8a62966c06f2", size = 797643, upload-time = "2026-09-29T00:45:58.746Z" }, + { url = "https://files.pythonhosted.org/packages/dc/26/9e4f158459e37e41633c96f49766a465f801c5daba9507260609ed76d783/regex-2026.9.29-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:edf06545875f3efa31560d94121e95c7fd70d98b1dfedc0157097d79b13b52ea", size = 797591, upload-time = "2026-09-29T00:46:00.2Z" }, + { url = "https://files.pythonhosted.org/packages/86/60/5e1c5c6e85132e757ae77bd7693f1809046edb2c8853658c9200f4c8593c/regex-2026.9.29-cp310-cp310-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:6398d5145689503412cc1748895242598d8846b8967b851133b20dc2ed1e21e8", size = 774874, upload-time = "2026-09-29T00:46:01.491Z" }, + { url = "https://files.pythonhosted.org/packages/e5/13/301b394f32a8db86ae3280533c9186229595fed766376f18e87959f92f96/regex-2026.9.29-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:45010bcfe66df41522d56c9b6114e87ecc597a08970ff6a2ced24415c141ae5f", size = 780168, upload-time = "2026-09-29T00:46:02.817Z" }, + { url = "https://files.pythonhosted.org/packages/f6/27/0c647127db32760b2dfc4c38da9ca509a3c4a8d3d93a586121a10fef2701/regex-2026.9.29-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:a5758353650079898dc1b2b0e95aa51fa23a30d020e06f62c430dd08ee56cdd8", size = 856604, upload-time = "2026-09-29T00:46:04.152Z" }, + { url = "https://files.pythonhosted.org/packages/4f/18/cac15fb2829c33218ececf76333b66869a96e4f973480ec32494921750f0/regex-2026.9.29-cp310-cp310-musllinux_1_2_riscv64.whl", hash = "sha256:6f7121a8914ed13fcfe2099f895341bfb789f004d4c5a0bdece8fa667da10849", size = 760602, upload-time = "2026-09-29T00:46:05.794Z" }, + { url = "https://files.pythonhosted.org/packages/b8/55/967676e4089a25d5f54b9d62522f9fe09b87677d1db58f207888d4ccfbe3/regex-2026.9.29-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:b9d74e4eee9ddb64c2e92d5d61472c59c21684c059eb7b68767be9628e977859", size = 846830, upload-time = "2026-09-29T00:46:07.258Z" }, + { url = "https://files.pythonhosted.org/packages/f1/8d/bb4165d61860ed443da5fb0fafe629c1ee9202526394eead7925bdee2be4/regex-2026.9.29-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:143533cc4b6fbc5b95aca0a5b8d541088d374831593def000ec89322c220221d", size = 785445, upload-time = "2026-09-29T00:46:08.89Z" }, + { url = "https://files.pythonhosted.org/packages/86/a6/a5cfc2560e063f8e6871373d3b719f573d7e7fcaa09db43e7c8aaeb51bd5/regex-2026.9.29-cp310-cp310-win32.whl", hash = "sha256:b84f186a7f0536fe4ff9a9fa12d06d007b9b71d4b5352ddcc41f59ad6522a312", size = 268950, upload-time = "2026-09-29T00:46:10.331Z" }, + { url = "https://files.pythonhosted.org/packages/0c/f6/b127312ebc8092357f435c9e4594fd8cf50abb85f8b4b16ab8d262abab2a/regex-2026.9.29-cp310-cp310-win_amd64.whl", hash = "sha256:23ae6fdad9e63e54038f5ef78aba2933faca61e24d432786589e737bc5522ebb", size = 280629, upload-time = "2026-09-29T00:46:11.638Z" }, + { url = "https://files.pythonhosted.org/packages/c6/e4/ab36f3c26f2374d16d525dd5a7fb4997f3c6e6bb7c6722821b84f9ea35b1/regex-2026.9.29-cp310-cp310-win_arm64.whl", hash = "sha256:c0094897d7d01f184b2d7fe8c56c66d64efe01b31f4b7d34205b391387df1111", size = 279407, upload-time = "2026-09-29T00:46:13.248Z" }, + { url = "https://files.pythonhosted.org/packages/e8/6b/6dea87689c3a06a6e79d254bf824e6f3e3d724b5ba027c6112559aa6cd2c/regex-2026.9.29-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:6abb75ab16bc3281714a5b99548a2225db70dba1f995f6d7f7419b76eb5a8fbe", size = 495413, upload-time = "2026-09-29T00:46:14.51Z" }, + { url = "https://files.pythonhosted.org/packages/3a/a5/0c791a0e83ad1013d262c13247c4c77e0f4a8d05bdc167df96aba6681c0d/regex-2026.9.29-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:b7b893976e7fe42053da64f2aa27239c24252fd2ec6df471e1be197c0addc3b1", size = 295145, upload-time = "2026-09-29T00:46:16.292Z" }, + { url = "https://files.pythonhosted.org/packages/b1/07/9bf3607d8d13a12e436ab9d63f9791e10706827d535695b23964ad79fd79/regex-2026.9.29-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:066d0e3dbfdd739bce2bf8c2a41dd16f73e3d8adc2eb06dd803a36a307f56075", size = 292123, upload-time = "2026-09-29T00:46:17.646Z" }, + { url = "https://files.pythonhosted.org/packages/64/6b/32c2e6fc617e1d3f247e250fea31a9a35b1265bd32f585968aa13b9999b9/regex-2026.9.29-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7020ed44df30b3aa492c00ee3b52d0548c1f30c2c6c5bb13ae897680900d3413", size = 799537, upload-time = "2026-09-29T00:46:18.976Z" }, + { url = "https://files.pythonhosted.org/packages/bf/72/f041177f3c7a4606f7c81a95fe7eea03e2a0c4e8bff9e439a01432cbc9f2/regex-2026.9.29-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:ae4613d7d9dda60fcba95f846cc6f808017f1843f392cf9daad14a6534493d71", size = 873255, upload-time = "2026-09-29T00:46:20.684Z" }, + { url = "https://files.pythonhosted.org/packages/d0/4e/a78948e11dd715e0e46716c2e0f3404b3fe6a44e2a2e9abdc7d965cab2b3/regex-2026.9.29-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:bec37990e3d6121f29ecfb594bd8f1bf009e9f7926daba2e50e3b27d3892a783", size = 914570, upload-time = "2026-09-29T00:46:22.599Z" }, + { url = "https://files.pythonhosted.org/packages/8a/70/aa08d1d2b294894b365e5f8ba5380fe3f8546acdb81f10639dfd74209c37/regex-2026.9.29-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:612b709381c0355b70d89cdb51b7f670591ed5cbbc0e3b5337488019dc667b65", size = 804978, upload-time = "2026-09-29T00:46:23.981Z" }, + { url = "https://files.pythonhosted.org/packages/21/32/1b03534c4715aca3b564416d28d518083ed4dab3bc913267600d2256140d/regex-2026.9.29-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:a760da040b47767b4b873adfb7c3b691e9ba2fc60f113f9d0b88f1a62f323e85", size = 779297, upload-time = "2026-09-29T00:46:25.318Z" }, + { url = "https://files.pythonhosted.org/packages/76/a7/378f6f558d9e4444af315a307c5953565a511d1e3666f1bb7bdc82012b6b/regex-2026.9.29-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:49ee178ca31c94621294bf9b8b676a92a2e6bba8af0529591753719e57edb621", size = 786961, upload-time = "2026-09-29T00:46:26.963Z" }, + { url = "https://files.pythonhosted.org/packages/59/13/79f0b1846f5f342f92ddbd4b27b18bcb86da96d902c1a0be26520bde98d7/regex-2026.9.29-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:5eeb8edc6110d9194a4d0d54610f64c37a31c605b5dbb7e407fc6ec7fa34a4a1", size = 863234, upload-time = "2026-09-29T00:46:28.58Z" }, + { url = "https://files.pythonhosted.org/packages/97/19/05af70dec9f2eed6ba34e08d2dcc6a48e7ae5e307659d5fe4201a5d7bbee/regex-2026.9.29-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:ccb64d887a9db1cd76dbc0f92051a1a478a2a67e7f56c62d915cb881d7734704", size = 766487, upload-time = "2026-09-29T00:46:29.941Z" }, + { url = "https://files.pythonhosted.org/packages/01/e1/9c7486d4afe8fdd1fe0ad60139f8aa91427381f409af6a29b609d8fdcb3a/regex-2026.9.29-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:9e4482589065c8ecd761cff522dcd85f2d39e62f551e37e025d1c7d54772def3", size = 854792, upload-time = "2026-09-29T00:46:31.358Z" }, + { url = "https://files.pythonhosted.org/packages/26/c7/49d008ff5f741d9a9799d7315556f3a12b983ff0fcd2cdfb62904bedafbf/regex-2026.9.29-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:d60030baaa7bfbb02d650c126cdcddcb6e33dbff14d819434c8fa2fdcaeeeba5", size = 793050, upload-time = "2026-09-29T00:46:32.775Z" }, + { url = "https://files.pythonhosted.org/packages/cb/a1/46ba549e65562ca04608b24179b8a7bb6f146ae0e7c6d7f5e70f3339c8ba/regex-2026.9.29-cp311-cp311-win32.whl", hash = "sha256:18ae8eed4526e35bdb754d61562b90bf5c00a67fdcf3cc1380dd59597486631b", size = 268940, upload-time = "2026-09-29T00:46:34.179Z" }, + { url = "https://files.pythonhosted.org/packages/4d/4a/aab232183c70fdcf77bcf0c51819da02ec522e393e6a0bf00bcf2142e21f/regex-2026.9.29-cp311-cp311-win_amd64.whl", hash = "sha256:1043aedf5917caa861bcb25a9c11460049656bdf0017a90a309fa8f255467725", size = 280641, upload-time = "2026-09-29T00:46:35.484Z" }, + { url = "https://files.pythonhosted.org/packages/33/b1/7c05954af0f51de376df2ba97f7f78a8b79334c7e5b3d2d9f2aead1f4d3d/regex-2026.9.29-cp311-cp311-win_arm64.whl", hash = "sha256:352cf115a810b357caa35193ab656ecf5ef41056855e82f292c99e8514f8d954", size = 279411, upload-time = "2026-09-29T00:46:37.193Z" }, + { url = "https://files.pythonhosted.org/packages/84/48/3fdcde9a0baa84d7d25571223265d6e434e114763b438601d54a8028bf3e/regex-2026.9.29-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:dc79d36d0618752265f0d575915bdc5c5130ecb9c9f6b3bcefeae32e4bdfafcf", size = 497903, upload-time = "2026-09-29T00:46:38.938Z" }, + { url = "https://files.pythonhosted.org/packages/2e/1c/4ee3e97c76f53940488dfe7a7e18705e78daac8cd7fb161d246b9e328449/regex-2026.9.29-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:3a21a9509d0ee88e7a70e1ad228cd2f0e0fd1e187458db132e8a8d18c97daf9d", size = 296416, upload-time = "2026-09-29T00:46:40.406Z" }, + { url = "https://files.pythonhosted.org/packages/37/14/f3f0ba083d2094392d5eabf56db5ea6ba469fd6e927afd187042054ea68a/regex-2026.9.29-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f57dc6b8fef170f105d2cf5cdce254f47b137d7755086cf7050f47e16582abba", size = 293633, upload-time = "2026-09-29T00:46:41.959Z" }, + { url = "https://files.pythonhosted.org/packages/c9/72/67e7a8ce17f1aea49df215564048efb49cc8c2b31a0e0fc30f36838f8516/regex-2026.9.29-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f93bc1c3486ef3747e07c9d7c1d0a147b8fbaab975f80e348aed6f71309dfaca", size = 805885, upload-time = "2026-09-29T00:46:43.373Z" }, + { url = "https://files.pythonhosted.org/packages/f6/78/25436bcfd4d2260b4b4090094d55d7ab53ec8a1ab4865a0b8bcb33c7d5c0/regex-2026.9.29-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:9e1d3a4cb7993b708f0ada8d0c84590efd853f169e7147d2202c9da503180242", size = 878344, upload-time = "2026-09-29T00:46:45.328Z" }, + { url = "https://files.pythonhosted.org/packages/97/e6/a09ec3a23ae41d6179880e67f0aace9284b2d95f2d7b326eff203f8eec5e/regex-2026.9.29-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:dabee8f4935e731fb46b2a3091bdda0d3d94b3bbfb907d2b4f12eefce4009619", size = 919181, upload-time = "2026-09-29T00:46:47.041Z" }, + { url = "https://files.pythonhosted.org/packages/26/83/d2fbd2e4e3afb1167daa825187d196f313cbaa1a4768f311fb041bb0e3d2/regex-2026.9.29-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:39ab5894d971f9ac68baa6eca5c50387db579cfcacf36ae8df3feceb1815e6d0", size = 807783, upload-time = "2026-09-29T00:46:48.894Z" }, + { url = "https://files.pythonhosted.org/packages/46/0b/eb429a7016610d44fc89a597163f8c9127505f0d7dc724dc9effbb6a3ac0/regex-2026.9.29-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c1a9a6651197fbed6f0212591418b9def774fc3f8324f78d1bf0e6a63e5f8aa1", size = 783465, upload-time = "2026-09-29T00:46:50.64Z" }, + { url = "https://files.pythonhosted.org/packages/1b/07/58a3c0153c7476898430f6a7cf3d9062a1d17fbea4f43399ecaf411c7b4c/regex-2026.9.29-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:87fb80cbe3557e27e7b28b995c2b2eedf689b8886f941ab93e0e288f0976518a", size = 793519, upload-time = "2026-09-29T00:46:52.396Z" }, + { url = "https://files.pythonhosted.org/packages/2a/e8/161b94d39164520e21a7befe0245569bf7fda4c7cf1fc4e2df2b5def49da/regex-2026.9.29-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:3c5c2ef13797466aa64170cbb66ad98a32351dd4127694cea7199f80f213750d", size = 869293, upload-time = "2026-09-29T00:46:54.128Z" }, + { url = "https://files.pythonhosted.org/packages/8f/07/3b02ed829aa2decdc1955d222bd1e2f99d1c8bb4873bbb9a66b2f0a36bff/regex-2026.9.29-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:59b49507f47479e299a9e1bc41b5cb83a7afda0540625f1dbae886615978acbf", size = 770239, upload-time = "2026-09-29T00:46:56.106Z" }, + { url = "https://files.pythonhosted.org/packages/42/5b/ba61f6fe062eb8562e742367d177bb75370434138ef6c9d2a27114f8d613/regex-2026.9.29-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:0dd8af32e9f7b56b7f95cc1fd79b23054c3bdc172392ae560acc24d57b7ffe71", size = 861973, upload-time = "2026-09-29T00:46:57.665Z" }, + { url = "https://files.pythonhosted.org/packages/cc/27/767259b20e8a842948990f5e99138d6c077248fd42f8b5468b1d9ca4b814/regex-2026.9.29-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:db5e82ba15c142425b8406690032df89e39cca4a2e8afbbb9a3d84edc2373ac3", size = 796470, upload-time = "2026-09-29T00:46:59.236Z" }, + { url = "https://files.pythonhosted.org/packages/a0/05/2566c4ba849b68a8ab81a6bf428fa79d20aae7ddee83979103c0381df254/regex-2026.9.29-cp312-cp312-win32.whl", hash = "sha256:d0c3082bf79bcd6a614d55916590ad4b8f93200e10b97f463ea5d9d07c9b5f23", size = 269327, upload-time = "2026-09-29T00:47:01.135Z" }, + { url = "https://files.pythonhosted.org/packages/93/19/489bc8db91196381c935752df01ba3f607140daece33b78d88573f028e64/regex-2026.9.29-cp312-cp312-win_amd64.whl", hash = "sha256:fdd88ed5e20b1bcdd234421e454962c971aa44b653bdb7f1ea9ef683e90fb649", size = 280334, upload-time = "2026-09-29T00:47:04.436Z" }, + { url = "https://files.pythonhosted.org/packages/0b/47/fb88ba779d0e5e7d4b0ec1aceeb13845948a2cb876bd572a2d1dfdba090b/regex-2026.9.29-cp312-cp312-win_arm64.whl", hash = "sha256:4fe97894d1b306c919b4e50def1e6f6c522f4d03a7283811f4d108f1ce5d3ac2", size = 279614, upload-time = "2026-09-29T00:47:06.541Z" }, + { url = "https://files.pythonhosted.org/packages/79/d5/6080f7d1a6e7e36aa720f806ac93c035ba39c209ae6cc510e8ef4c0279c6/regex-2026.9.29-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:f1a0d5117230dd46b399a30a38afa44f79c99f3168988fdc4f425c3f928b39df", size = 497622, upload-time = "2026-09-29T00:47:08.251Z" }, + { url = "https://files.pythonhosted.org/packages/00/71/c87fc7a2e21a42f9d57489db32951c37eef56d153840459a80d464f0321d/regex-2026.9.29-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:f0fe9834e5aeccaf19a0d8feb296d66a24be1a7c9922002f842a682cd5abb787", size = 296281, upload-time = "2026-09-29T00:47:09.764Z" }, + { url = "https://files.pythonhosted.org/packages/11/9e/aa0f4cde3bc4688c1d58b0cd8415edd708339bc0bc401a195b0b1e8c8f0c/regex-2026.9.29-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:c90fcf7804ea0a54b896ce0f2b9565350220b8d4890fd0db461a476a4c687963", size = 293472, upload-time = "2026-09-29T00:47:11.723Z" }, + { url = "https://files.pythonhosted.org/packages/90/d4/e835c487850ed922a8d6074f953b888c8ea99775c76b9ed5f8a4d72eab92/regex-2026.9.29-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e11edba5bc344a32b029a7af9d4b3173982dd79eeafa0b9dbd787364414b0509", size = 805966, upload-time = "2026-09-29T00:47:13.235Z" }, + { url = "https://files.pythonhosted.org/packages/2c/57/ba8809847fbae8d2cbc71367c6ded510a7ec88bf52493c65efc1acf4effb/regex-2026.9.29-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:bb90e7177944b6684738c1fc36aabd2dd00d1de3be7dbe09f91e196f1bc0dc81", size = 878346, upload-time = "2026-09-29T00:47:14.877Z" }, + { url = "https://files.pythonhosted.org/packages/1a/52/e3da19fc3cc15ef67ab67e121e87887c3bccfdb683a7a9ec557c460ca5b7/regex-2026.9.29-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:d06fcdecc10fc7954d7c8f27a03c96055fe525274dc84a7b0dbdc3d6b9e03dab", size = 919250, upload-time = "2026-09-29T00:47:16.622Z" }, + { url = "https://files.pythonhosted.org/packages/9a/8e/c1ed81f55f992f6aa0b699a592a50c1ce9e6d44ff1aee2c14c0537dcef9c/regex-2026.9.29-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d49c18f1ea294cf4adde2e5ac256e98c82ea9d708462ce4bf799dffa7cfe8a2c", size = 807902, upload-time = "2026-09-29T00:47:18.268Z" }, + { url = "https://files.pythonhosted.org/packages/ad/bc/5a6886eb470e41040e21e05b75024a18b6ebfe7ea400b72094a60f949101/regex-2026.9.29-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:3e778bfccd63075167709136afbc251c1f683758d5bf49c803c60ac3f894ce6b", size = 783514, upload-time = "2026-09-29T00:47:19.921Z" }, + { url = "https://files.pythonhosted.org/packages/cb/52/6d951d453b023c6edb880f1ba474291b53b8ce1cc438b96a9db6d791d991/regex-2026.9.29-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:686ac5350fceae63830bb98805fcb8039325bf4c06d9f6f048ff65229d5bffa5", size = 793466, upload-time = "2026-09-29T00:47:21.552Z" }, + { url = "https://files.pythonhosted.org/packages/99/b9/d5a41adc08360f5eee0dc4846c578f002366947211fc8af5a69a64ee7b9f/regex-2026.9.29-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:26ec4ccce55aa533fbd603d08911b01101a8fcfec987845ac3ae2c7087b2bde3", size = 869464, upload-time = "2026-09-29T00:47:23.276Z" }, + { url = "https://files.pythonhosted.org/packages/4b/32/d76c9d91f5d798e2e9e67f6f85ec4ae35445ac425f7454797311cecb80ca/regex-2026.9.29-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:a655d34b2a6943af32401f3d94f72e9d731f6ad16285815550bf2b4ee69d420a", size = 770278, upload-time = "2026-09-29T00:47:25.193Z" }, + { url = "https://files.pythonhosted.org/packages/24/00/aeebdb540c620a0f7317f6d6fad80a47729ecf0599a24b5c34ec155351f5/regex-2026.9.29-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:0c992c19cd45058a4b92f68f139c93db168b48fb1f322c9a7cd620806afb6b51", size = 861949, upload-time = "2026-09-29T00:47:27.005Z" }, + { url = "https://files.pythonhosted.org/packages/12/62/d0314bcedfd3586197e4596931fa220260eb2385bf53184e5b9ae67db24b/regex-2026.9.29-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:ebb8912f565b8cdbbf27debfe00df04202c20e2f651b9e32767930c5eace3621", size = 796602, upload-time = "2026-09-29T00:47:29.233Z" }, + { url = "https://files.pythonhosted.org/packages/ae/c7/d5a8c13a613facb03e0fb55c1ebaaf7bb35d8e2c1abe8bef8dca809fc1d9/regex-2026.9.29-cp313-cp313-win32.whl", hash = "sha256:4d7d93613b01b0199961330e49cfc52d479b3d5776c56c691db31130c0a07d91", size = 269306, upload-time = "2026-09-29T00:47:31.14Z" }, + { url = "https://files.pythonhosted.org/packages/80/a7/bf93a3a6afa5f7bc16b7afb94ae581b01cae620b8ad56bd8f9572a985959/regex-2026.9.29-cp313-cp313-win_amd64.whl", hash = "sha256:61956f074ecd123f55adca68ee3eab46e6a07ad3f8e64e6db95dfacb444f55c4", size = 280307, upload-time = "2026-09-29T00:47:32.709Z" }, + { url = "https://files.pythonhosted.org/packages/b2/7d/388274e53605a86297f433a08102a7bbdcf9379d47683d307ccaefd88e2c/regex-2026.9.29-cp313-cp313-win_arm64.whl", hash = "sha256:bfc71e6d970419c1309b3640305298643e2a734cad3f7cfb6d2ddee4175ab53d", size = 279599, upload-time = "2026-09-29T00:47:34.674Z" }, + { url = "https://files.pythonhosted.org/packages/93/1f/d9dc6f02f569625faf67a4daec926cd5023472dcd69bb44286dccd5a5ab3/regex-2026.9.29-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:957bb708e8057ab1649ba566456429d691ec9b90d1c9ad1af1ba7ffbbeaf05f2", size = 497598, upload-time = "2026-09-29T00:47:36.541Z" }, + { url = "https://files.pythonhosted.org/packages/9c/83/9b693a3fd1451381e812031a8961ec5b3b8f0c8cc6871f14c5223642804d/regex-2026.9.29-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:c9b602fae1e00b7c035d661ce85575365719192a7b46784bd71cf64c68053aa0", size = 296250, upload-time = "2026-09-29T00:47:38.233Z" }, + { url = "https://files.pythonhosted.org/packages/dd/5f/52bc2abc3fef040cd9de76ab29c918d6a717a454ae2b9dd7938b0c95656d/regex-2026.9.29-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:0166844493626c5015c6088ee15c9ca2fd060ca15b7641d1657da6a58432ae33", size = 293518, upload-time = "2026-09-29T00:47:39.957Z" }, + { url = "https://files.pythonhosted.org/packages/dc/fc/cf50671215ee0057046980b4571ef8646a005819bb67f0957e779ed107a5/regex-2026.9.29-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b97a38fb4c732b6832db6bf108963adbcd82ef1268ba2025dce390f45af75efa", size = 806037, upload-time = "2026-09-29T00:47:41.676Z" }, + { url = "https://files.pythonhosted.org/packages/14/4b/dddef8fc15c63e4347cc9efb138d0cd306f30e6c98acbcc81a8f780083b9/regex-2026.9.29-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a540abfab208e1b7ef2df231c40ef3b6cbb30a0aad6204e9b6a81c10a6794628", size = 878881, upload-time = "2026-09-29T00:47:43.755Z" }, + { url = "https://files.pythonhosted.org/packages/9f/cb/38daabed32d28f7e58a06e9344ce00dc67952e9996bc578ed6a29fe1240e/regex-2026.9.29-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:ddfa987262763c3c22a8367d2a49c244b018a74c3a8e3ab1a864119ad45c5633", size = 918684, upload-time = "2026-09-29T00:47:45.594Z" }, + { url = "https://files.pythonhosted.org/packages/a9/4d/041d9458a645fee4fce4d642a89d27271a3cfcd91095104f6dde44da70bf/regex-2026.9.29-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2f7f7aa47b229f2b39a2ae2596d2ad5625d77b5eb9856fac2dab3eb506cdd0a0", size = 807176, upload-time = "2026-09-29T00:47:47.372Z" }, + { url = "https://files.pythonhosted.org/packages/bf/c4/4383eed7aa5aef67616cb1b3f3ad06b7c624c4e6cced48630cd5ce133d85/regex-2026.9.29-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:d9b77b25b4f395f92de6099ab08e8ae2bc7e51dfe157f22900902243a5cc90c7", size = 784315, upload-time = "2026-09-29T00:47:49.518Z" }, + { url = "https://files.pythonhosted.org/packages/5c/a6/0086ad31cebb183c637d3198547075aa493afde308e1ff61fccccb29ba6e/regex-2026.9.29-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:34b6925af9853bf461950e6508910f179fd6e9b1a7ec8548e069606b7e51a26b", size = 793748, upload-time = "2026-09-29T00:47:51.279Z" }, + { url = "https://files.pythonhosted.org/packages/d5/a0/f9005cba3f629a859573fc5d1224ea4e1f97919ec8581d018e03a351a604/regex-2026.9.29-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:addd736a0547d553283adaf4e05d7104e7f2c7b0b092e9b4d28756825f14531f", size = 870302, upload-time = "2026-09-29T00:47:53.368Z" }, + { url = "https://files.pythonhosted.org/packages/01/4f/e1a3e46bb5315a4e18b01a990e7a28e2a16595609d50c442baf2815a3c65/regex-2026.9.29-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:fe3fa1dd453ed5c7f5ea23a26218329790ed7197a99b90e94330e313959a7f52", size = 770299, upload-time = "2026-09-29T00:47:55.606Z" }, + { url = "https://files.pythonhosted.org/packages/2c/fe/f303b4acfda44e1ff1379368748c1ef2dad04a6a8e9c0ecbc970b19d97ca/regex-2026.9.29-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:0cc63b5e47c12a48d90c7e9d7de6a035dd14f62868aaedbb4e0ff8ba2b8bfe7b", size = 861570, upload-time = "2026-09-29T00:47:57.617Z" }, + { url = "https://files.pythonhosted.org/packages/60/b6/b4f7e99249f596017c60ccad5faf9310fc8e3e59bb2244940a90a1b0bdff/regex-2026.9.29-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:724184b4aafed865e4f13ca313fdcb43024300c028ec67319cfa16847d84685e", size = 795967, upload-time = "2026-09-29T00:47:59.922Z" }, + { url = "https://files.pythonhosted.org/packages/fb/d3/fc865a4638d9f6762192b6bab5b7aa1f33a90e9e99578c2e111e2a63c8c3/regex-2026.9.29-cp314-cp314-win32.whl", hash = "sha256:c6c8fabf1dafc1f1ddcbb67896d3f93efb092e8c4b6322d7389b944e76a484e5", size = 274758, upload-time = "2026-09-29T00:48:01.8Z" }, + { url = "https://files.pythonhosted.org/packages/31/e2/c2b466924ccbeb874862968ca638051b15a8fd29d994a0e99004a5cbf78e/regex-2026.9.29-cp314-cp314-win_amd64.whl", hash = "sha256:1c2a0026062abcc321a53db4a185ceba0b59a66b5d37b0808917a88b55a5257f", size = 283817, upload-time = "2026-09-29T00:48:03.614Z" }, + { url = "https://files.pythonhosted.org/packages/c6/42/ea0f8dbaa924fa75c6338935eaee2f44dab369b27f02db1e03d74344b049/regex-2026.9.29-cp314-cp314-win_arm64.whl", hash = "sha256:121a76a0985db80ceae9e171c337f8c927868e37d01b54e3ce87bc87f9c6a208", size = 283663, upload-time = "2026-09-29T00:48:05.624Z" }, + { url = "https://files.pythonhosted.org/packages/44/48/d58e5081119f5c223bbb37d2340acde3d069e1df8e8cd166c37502eee4da/regex-2026.9.29-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:e31f72490b7c12f7790e1e25c3afffd20503ee1bfb43461d7838b871ff244b19", size = 501393, upload-time = "2026-09-29T00:48:07.833Z" }, + { url = "https://files.pythonhosted.org/packages/72/3c/c49945287d4f9efee7d41f98072f8ad880efb8f430595a612fbdea996a4e/regex-2026.9.29-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:80ea96f5c1a30bf09007d48466521d9c294bebe197c708c3359096e3e3691632", size = 298237, upload-time = "2026-09-29T00:48:09.684Z" }, + { url = "https://files.pythonhosted.org/packages/f9/1f/688cb61c3d4cf7bcc1ed444b5cc49399eba3e51c469ae285cf87fea3022e/regex-2026.9.29-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:554bffadcbcb6d5f4e5fb10a61cc52084b9a63d1dab5f10bcd2c4343972e8e2c", size = 295936, upload-time = "2026-09-29T00:48:11.454Z" }, + { url = "https://files.pythonhosted.org/packages/26/a3/de43ac6b877b7d09c19a3a426b1bd5acdd209eaaf68f406466f80439ccf6/regex-2026.9.29-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:864e9b87ac33c3fb9fb4ad48166d4fdb579c351d5c77deb0d34bccb36a775cd9", size = 816905, upload-time = "2026-09-29T00:48:13.321Z" }, + { url = "https://files.pythonhosted.org/packages/62/14/9940763201c51d537786304984c67d0fc3d2ed18837ffb6f09a869f6b6c9/regex-2026.9.29-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:044265d77d94f5e3cb2fd72c76723807c429cb8c533e9d4672d0334a6f14f588", size = 881527, upload-time = "2026-09-29T00:48:15.313Z" }, + { url = "https://files.pythonhosted.org/packages/d3/e1/c842d8df0b23245ebf202f8ab9c39fd48e2db39959454ec39a41c8c72082/regex-2026.9.29-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:2089fe39c406784d90101c726755ffa1497bb74638fd434300d2b88006186de8", size = 923115, upload-time = "2026-09-29T00:48:17.328Z" }, + { url = "https://files.pythonhosted.org/packages/d8/c1/98622479e3c354a446a75232e522d747d2b3df23092dcd8a5309380a2020/regex-2026.9.29-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0def9fb6abac55492d6d51cddb7225d07d6f279e774e0adc08569a54a5fc8d46", size = 820674, upload-time = "2026-09-29T00:48:19.32Z" }, + { url = "https://files.pythonhosted.org/packages/6c/d0/5808c95f9c79ed27b5eedaafc3df6239ec56a49f2e23ea8f831b18427c82/regex-2026.9.29-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:888d60953908dcf761aa320c3e390ab8556efbdb551ace63921de90f6ae0848d", size = 793306, upload-time = "2026-09-29T00:48:21.615Z" }, + { url = "https://files.pythonhosted.org/packages/bf/d3/021ca2638671ad20603bcd9b4d5bfa35d2610cd216a043ea7f0b44ea39f6/regex-2026.9.29-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:ed511a0708e2297e1d6431e7fb217e3402791e491e02da800658ace4973df1bb", size = 803103, upload-time = "2026-09-29T00:48:23.871Z" }, + { url = "https://files.pythonhosted.org/packages/6b/2d/755c6d13ef9c657378013676c391c7a402166b3f419a464a3e058dcbe533/regex-2026.9.29-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:e1172147d28d8fbcf8cb8d26c41506169f5ad8fe9ec969cb116835a19d4d8eca", size = 872175, upload-time = "2026-09-29T00:48:26.255Z" }, + { url = "https://files.pythonhosted.org/packages/6c/fc/e1cab183b9dafe8597f58c1c766da9bf96204d3b2f232bcf3eeb75ff7b6c/regex-2026.9.29-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:92f05c9c42bde5785dc48770bc2194d9f7442544156f951e19cd31b096cec562", size = 777362, upload-time = "2026-09-29T00:48:28.389Z" }, + { url = "https://files.pythonhosted.org/packages/06/7c/e10ea17fba31fb4a1f9d13ed53a2d2a9066a2aea58d7557e263f6d99e7b0/regex-2026.9.29-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:f37964e4a5e993d2fd45147741e9dff7f34a2d8c00ab94c4ea0514a4677f959e", size = 865606, upload-time = "2026-09-29T00:48:30.4Z" }, + { url = "https://files.pythonhosted.org/packages/8e/6e/69824d9aee1fd41c54ea7264654a47c8d9d84d8a228e11c2bcf4c201ed81/regex-2026.9.29-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:951733b1bbdb71e377cec567b409f1a7881b47cfcad84121aa74cb575fa425ea", size = 807945, upload-time = "2026-09-29T00:48:32.375Z" }, + { url = "https://files.pythonhosted.org/packages/89/22/857050a86e21ce60193e02a8ef662521f2e263a645c8b1b905fc136b61a7/regex-2026.9.29-cp314-cp314t-win32.whl", hash = "sha256:65b408d8fcb273e3499e7ef2ce796810da1becd208c7fb4373692a242d79d461", size = 276758, upload-time = "2026-09-29T00:48:34.72Z" }, + { url = "https://files.pythonhosted.org/packages/4d/96/56808fe029553d7d4c703414f2a527faad2ea2bfa9ca094a2e7f8762b530/regex-2026.9.29-cp314-cp314t-win_amd64.whl", hash = "sha256:bf48516e35cf848390ea68850aba53e7c333720d2945b4d2c25b69fc5171723f", size = 286527, upload-time = "2026-09-29T00:48:36.864Z" }, + { url = "https://files.pythonhosted.org/packages/01/aa/074e2cfb3d8101a6a764aba5f7c5d1e21de087483e35bdc0c4ce2eb60364/regex-2026.9.29-cp314-cp314t-win_arm64.whl", hash = "sha256:9173db3be74a35cb6731701094b98120f7ee4876a287882a59cdea1fa7da342f", size = 285954, upload-time = "2026-09-29T00:48:38.901Z" }, + { url = "https://files.pythonhosted.org/packages/a7/dc/d84990386c9dfdf8c377f00f371b241fdc9a2c8aea0e3d66941b2e51be0b/regex-2026.9.29-cp315-cp315-macosx_10_15_universal2.whl", hash = "sha256:c3589f40749acce747510bf5d589d54e376cb0930ea58b35effac97e5312b0c1", size = 497836, upload-time = "2026-09-29T00:48:40.858Z" }, + { url = "https://files.pythonhosted.org/packages/c2/ab/a569ebde875fa12ff8c6c9a30e07503620f195e4be4d54c3d3ee8eecc283/regex-2026.9.29-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:32ab11df9677ca80bcbb5fe4eb1da9109a5019239a054836efc6fa1c64e683cf", size = 296244, upload-time = "2026-09-29T00:48:42.952Z" }, + { url = "https://files.pythonhosted.org/packages/f3/3e/7d548e82a108e7c8b2d5246650e397a2f8db599f9b2e975466939c5b4e70/regex-2026.9.29-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:7c03031610e3e6ed1768a2b7a8fc84637c1257b50c5eacaf094c6e17a84fc563", size = 293748, upload-time = "2026-09-29T00:48:44.985Z" }, + { url = "https://files.pythonhosted.org/packages/40/34/a8e19a52f452bbb07b32a2bef70dcdf90c2737049749f74cc12d7486fb4f/regex-2026.9.29-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:42e82e578c904445d4c8a35b8f28052cf567593215fa5db06266fbc6f77aaa2e", size = 807840, upload-time = "2026-09-29T00:48:46.948Z" }, + { url = "https://files.pythonhosted.org/packages/88/7b/11fbd4640b3bb82b72822a63c20ade4013d562d291703a9debeedc24e682/regex-2026.9.29-cp315-cp315-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:0b65c72739f981377c9c22e0c5c3cd7f42da7bd8a3c9209330fac772c7d893ed", size = 879330, upload-time = "2026-09-29T00:48:49.168Z" }, + { url = "https://files.pythonhosted.org/packages/f3/55/de58c74f1f4e31586d83eb39c56872d686c4e0d0966d151884c833b94ced/regex-2026.9.29-cp315-cp315-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:4408b2b27a95ca8cc48b7411945753773353b5c93b307754781086c99d3a576f", size = 919251, upload-time = "2026-09-29T00:48:51.322Z" }, + { url = "https://files.pythonhosted.org/packages/81/42/a8c480f6dd5ac59fa28ddae79afd9d7ac7e596fdb61813adc65bb6e674b8/regex-2026.9.29-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a714befaacbd10092ffe4cea0d3c5f008fb9efe9bc322c715bcdfdee414b9a3d", size = 808808, upload-time = "2026-09-29T00:48:53.529Z" }, + { url = "https://files.pythonhosted.org/packages/68/60/0bc0d1ec8b37ad64be6fa30e035251f11de9667a0fac9e82ee74517d81be/regex-2026.9.29-cp315-cp315-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:33026515aebc0e70d1c89978e53e8d695d35d9e472f8d5b34465ba3c74028650", size = 789907, upload-time = "2026-09-29T00:48:56.036Z" }, + { url = "https://files.pythonhosted.org/packages/da/84/116a3ef19b3acfe81077f0bf2cbc7714a5e94bc8935b7243ab61cb0f1c3c/regex-2026.9.29-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:31b003f9a070335e2a8233ee9b14a3ca8e6d792012ae011f741bf0aaf11744c5", size = 795770, upload-time = "2026-09-29T00:48:58.284Z" }, + { url = "https://files.pythonhosted.org/packages/96/ba/e38c3f203e7e7e18c957d48e6cb6dbf96c11e95a44efa4a480522afc5d6d/regex-2026.9.29-cp315-cp315-musllinux_1_2_ppc64le.whl", hash = "sha256:c03c6eb6ece86dfdcbb34799efaa339b093132e1aceed491ba5e08fe06cdf699", size = 870671, upload-time = "2026-09-29T00:49:00.506Z" }, + { url = "https://files.pythonhosted.org/packages/2f/0f/9ee0b0cb76c55f63684bd7fff554978e8773b4fc86e2bcb2d50772dc1086/regex-2026.9.29-cp315-cp315-musllinux_1_2_riscv64.whl", hash = "sha256:a5300757f8a68f5b6cc33f57338d72a0e3589c5cc9ad5f8504ea06f028be582a", size = 778631, upload-time = "2026-09-29T00:49:02.984Z" }, + { url = "https://files.pythonhosted.org/packages/b6/19/e6e3eeb226af5872c4958002f6edef4e4f40ea4cc5f5665023f2019eb045/regex-2026.9.29-cp315-cp315-musllinux_1_2_s390x.whl", hash = "sha256:80c7cadd3fd2bfde5df8aa0787e315812cad0c313a753095d02f4c2b6c01677b", size = 862187, upload-time = "2026-09-29T00:49:05.264Z" }, + { url = "https://files.pythonhosted.org/packages/5b/62/823c102e106bb2711d6b7dfe5981552fe4467b2969c46a20c5c383cf498c/regex-2026.9.29-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:3f1e6cb402a89457582cd696f982559217d13484a193202c394015297968c86d", size = 798423, upload-time = "2026-09-29T00:49:07.644Z" }, + { url = "https://files.pythonhosted.org/packages/37/e0/e927776258fa70b2f6feffc3be584ffc85ba4c1e20a320f0aee9a632fc7d/regex-2026.9.29-cp315-cp315-win32.whl", hash = "sha256:a64b85a4760337cfefdb27d42da6ed8b58e8cde3f2d57b6ef43e76ef6ea9ef47", size = 274757, upload-time = "2026-09-29T00:49:10.513Z" }, + { url = "https://files.pythonhosted.org/packages/77/04/358de85d1860238e1b4fa98fc2c80c990124a25d2e14739e28cc02c25562/regex-2026.9.29-cp315-cp315-win_amd64.whl", hash = "sha256:b3e445b66c80b4eb4234e855ce94d9adc183eedbd632816228d89930b91b2c5b", size = 283824, upload-time = "2026-09-29T00:49:12.849Z" }, + { url = "https://files.pythonhosted.org/packages/92/d3/d5c5b264784a5ab2b0f8cf620c1eeb4dbf3440d306761905e7d99345bef5/regex-2026.9.29-cp315-cp315-win_arm64.whl", hash = "sha256:8f39588af4731c8923c26810eb3b33f76f17633985e40f59c3cd45a33805a895", size = 283664, upload-time = "2026-09-29T00:49:15.331Z" }, + { url = "https://files.pythonhosted.org/packages/02/dc/f63ec2c201445ce1150fe780f5c56f16a10124d9a9da3a93161dbb0d8892/regex-2026.9.29-cp315-cp315t-macosx_10_15_universal2.whl", hash = "sha256:fb99cc9d45f48895d9d67f6a0b8a57f08d39c174d9f25ad97a313e0470267b1c", size = 501549, upload-time = "2026-09-29T00:49:17.705Z" }, + { url = "https://files.pythonhosted.org/packages/9a/5c/d2a698dc6bfc11fbce03f1cb0249c13284e93b79ed11f893edf6fac431c9/regex-2026.9.29-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:720537c7ea6f80dc61913184edb0ce2497a306b39ef19f28505b322553d52bdb", size = 298187, upload-time = "2026-09-29T00:49:20.171Z" }, + { url = "https://files.pythonhosted.org/packages/85/b7/88dcdb38cd3935d4ee9e9ce9b8e56cb3b3518d1f020acfa7dd62ad289bf8/regex-2026.9.29-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:0fd2c901cc307a745ad4bc87f20060d7a0825a3371d1e93488af22e7a387f78f", size = 296157, upload-time = "2026-09-29T00:49:22.342Z" }, + { url = "https://files.pythonhosted.org/packages/d3/8e/ba6c01dde33a69fc294b38b43f6677baaa5735a6248f39708031a738158a/regex-2026.9.29-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b11b589e00095ec69cf79841a76360f9b079e95b0368a25b5ebb951ab0c157ff", size = 818468, upload-time = "2026-09-29T00:49:24.612Z" }, + { url = "https://files.pythonhosted.org/packages/2a/f1/2586693e3a2d6b1247852593d37a6c17b42a92ee44f7cdcb9a0c1494e64a/regex-2026.9.29-cp315-cp315t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:d7cab119d0df0b9413f106b4d7fc34f2872d3574ed3806fb48959c830b1537da", size = 882825, upload-time = "2026-09-29T00:49:26.996Z" }, + { url = "https://files.pythonhosted.org/packages/30/51/084f3e7bdcd0e9c33665c938cf5d134dc3548cbb4a75f0197ec7bfd754b1/regex-2026.9.29-cp315-cp315t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:b89efc38431793d28b7cd91227e2f952ad7c48df19132b17f43a5fec3c14143b", size = 923314, upload-time = "2026-09-29T00:49:29.822Z" }, + { url = "https://files.pythonhosted.org/packages/5a/f1/066c6fc23b7dc229789c21c880b5ba5ad689fb95fed12e078266f55a1f9b/regex-2026.9.29-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:80a5ea3b4fd9d6a5b9a44f7976a9acaaab35aa3c1f6b29e5bd857dfabaded223", size = 822222, upload-time = "2026-09-29T00:49:32.404Z" }, + { url = "https://files.pythonhosted.org/packages/0a/56/592cd46fdb8f2f8682a1d7fd1310e4d0bcb93fbd0e6bbe4141ac28240227/regex-2026.9.29-cp315-cp315t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:19959129885356df0e97556856f77eb2888380dac18bed075a7c05c5128c618d", size = 794882, upload-time = "2026-09-29T00:49:35.076Z" }, + { url = "https://files.pythonhosted.org/packages/ee/4d/d65384bb071c864b01aa8314e3a6a687845ebd57588390976edc960c218b/regex-2026.9.29-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:6a1a824fbed817e0a891103886b68f063b1e83cc51bc97192a90a60195a9291f", size = 805887, upload-time = "2026-09-29T00:49:37.395Z" }, + { url = "https://files.pythonhosted.org/packages/65/b6/358de0d8f40d5178e4f7e7e121cfd5b961c812b77a055d11f5079e3f8fd7/regex-2026.9.29-cp315-cp315t-musllinux_1_2_ppc64le.whl", hash = "sha256:1ba8c6a416569ce0d37e83e28a254a61dc99a419084dfb6476cea02d997f74fa", size = 872901, upload-time = "2026-09-29T00:49:39.927Z" }, + { url = "https://files.pythonhosted.org/packages/00/06/6bfded72d043240c6b52bbb5e16f639d81affbf7484b4fe2ec45f3d4afc9/regex-2026.9.29-cp315-cp315t-musllinux_1_2_riscv64.whl", hash = "sha256:446654b29bfaa30500d80947eda42cef1449dc8a87f4e3cf061cc8485d3a1f0b", size = 782970, upload-time = "2026-09-29T00:49:42.581Z" }, + { url = "https://files.pythonhosted.org/packages/5a/20/9f418a50baa78b3ed8308fcb0cc49e472dd000b7ef935a7295af202ea744/regex-2026.9.29-cp315-cp315t-musllinux_1_2_s390x.whl", hash = "sha256:bf3c49863c23a1ad6da9c30351aed6cff8d5ddbeb63c5c8420ae54e98c7d0138", size = 865441, upload-time = "2026-09-29T00:49:45.238Z" }, + { url = "https://files.pythonhosted.org/packages/2c/29/817c7eacdeaf8463123e949bd394c39ad024eea1ec38ddf5ad141da2f3bd/regex-2026.9.29-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:01000ddf0e3ffef97f2413ceb514f6313040106b6d18a03ee00a4fe35c1eb1db", size = 809431, upload-time = "2026-09-29T00:49:47.878Z" }, + { url = "https://files.pythonhosted.org/packages/63/0b/83aab3b5b739947f744135a7a3a446e25433ebc92b05e01aae197ccbfdda/regex-2026.9.29-cp315-cp315t-win32.whl", hash = "sha256:c4e38dd8f39c43a91d2410ad2b85610701b0979342c3df1d69eaf8e838c757d8", size = 276964, upload-time = "2026-09-29T00:49:50.524Z" }, + { url = "https://files.pythonhosted.org/packages/72/f2/6314b5fc68789b5dcc38885bc6e3d6986b34fb3372b7231088ee5cecaa05/regex-2026.9.29-cp315-cp315t-win_amd64.whl", hash = "sha256:e2c89e9b762c57f59d5e99ee8b20202adb892e35f8d3485741340999ca55058e", size = 286487, upload-time = "2026-09-29T00:49:53.224Z" }, + { url = "https://files.pythonhosted.org/packages/56/bc/97b2245c8c7b2dd01f2db74f2bea003cd33c15009b4996a2447f46b5325c/regex-2026.9.29-cp315-cp315t-win_arm64.whl", hash = "sha256:e8c65ef3862a8ad6e86492b6ed9327805dd66904c012bd3649dc67d822ed6c34", size = 285955, upload-time = "2026-09-29T00:49:55.655Z" }, +] + +[[package]] +name = "regex" +version = "2026.11.9" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version >= '3.15'", + "python_full_version == '3.14.*'", + "python_full_version == '3.13.*'", + "python_full_version == '3.12.*'", + "python_full_version == '3.11.*'", +] +sdist = { url = "https://files.pythonhosted.org/packages/61/27/a5afeb952577b84ee5fe48b8b9ce47ae662dbb69cc5b76c28eff98f83b1e/regex-2026.11.9.tar.gz", hash = "sha256:316a70fbd70e999c9664681cb0eb5b4982b2cc0f623c7c86a8a112e1bd4c6277", size = 419513, upload-time = "2026-11-09T00:42:09.786Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/43/cd/83393cd04d1cdafb07dc6d3e4f6f40455c7d54edcfb7513a51c632a2fa32/regex-2026.11.9-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:bc0414bae708e91fa635af848ea1fdc13e442f30497077da562014f88ac67436", size = 496166, upload-time = "2026-11-09T00:39:39.152Z" }, + { url = "https://files.pythonhosted.org/packages/13/90/65cd23cc77094ea6953a7f4f9808539611b71881b7d91729243fcaa43109/regex-2026.11.9-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:26f5137412492f043d13903b8ee3bbc464a73c67ec9432e187f5a5eef25c398f", size = 295747, upload-time = "2026-11-09T00:39:40.41Z" }, + { url = "https://files.pythonhosted.org/packages/3d/61/6523251b377f38be938342fd52da4aead1a1d1b79ce137d4412e5b1eb79e/regex-2026.11.9-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:cf8ba77a8d23fac7912cd9890a49d8f006106147bb80312c9954558b24ec7f95", size = 292719, upload-time = "2026-11-09T00:39:41.711Z" }, + { url = "https://files.pythonhosted.org/packages/97/5c/59cceda8ed285cb277f90f22b220c89576a38ebd1f2d7f0af198af98a5c7/regex-2026.11.9-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c876a5e3992b5f14709c7260188929174247485ed3f940bd94d4beb70abbfed3", size = 799904, upload-time = "2026-11-09T00:39:43.023Z" }, + { url = "https://files.pythonhosted.org/packages/9b/d0/498c4f67179885a4baf3b4500ea371d671180c20e136844065c239fe95d4/regex-2026.11.9-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:49eecd9b855cc9e683fed1b258d4e22dcb8e7b3c82f09c5778ce154359607f09", size = 874027, upload-time = "2026-11-09T00:39:44.36Z" }, + { url = "https://files.pythonhosted.org/packages/33/b9/61d474ad8aa93022edb00f13fcaac44678a5ef858801c804ad7d201d048b/regex-2026.11.9-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:2405a0e564a5a1226427b21ee02a70c64f33a10015a18e480039c8ddb46b4f00", size = 915647, upload-time = "2026-11-09T00:39:45.587Z" }, + { url = "https://files.pythonhosted.org/packages/82/14/ec0c0f9e600f308280b901b46dd6e0095b56017fc2216b2abe6182009655/regex-2026.11.9-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0447593c5f4e2b88446da7466c83fc913ddf191600bbb7aebc6c8856595ccfb1", size = 805976, upload-time = "2026-11-09T00:39:47.654Z" }, + { url = "https://files.pythonhosted.org/packages/5e/de/bf7d2789051771e637d36aab03adea41b1e5729fe0c2a3d1df5e85a422bb/regex-2026.11.9-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:727989b08b98af7592eb86af12ca4227c017579094d5893a76fdd20b319cd8cd", size = 807143, upload-time = "2026-11-09T00:39:48.999Z" }, + { url = "https://files.pythonhosted.org/packages/0d/14/1a62ebd94dc36f74e2bb7f37bb7d7faf3bfc013cc90c1b1463d157e20136/regex-2026.11.9-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:b886e1b7be6c392ea99d1c04de9b7adb4774038a1041514dfc6d0c5fb1bee6c5", size = 780582, upload-time = "2026-11-09T00:39:50.189Z" }, + { url = "https://files.pythonhosted.org/packages/3e/9b/42ce68062387ad6cbc4e2c5dc36d7f25d7a4d7621b5a67b8cd1a913ff2b4/regex-2026.11.9-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:f1ec6903dc8054129ccc9404a5aaf19e4fab9af98b03604c69db903da3c045a4", size = 788733, upload-time = "2026-11-09T00:39:51.267Z" }, + { url = "https://files.pythonhosted.org/packages/ff/17/8e5268e78894c2a979a1599f9261eb0ede9952028d0a2689fbd80f2998b5/regex-2026.11.9-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:5c31a4e92c02f5c9e85c37a3851b9f83a36d2afdaaa88368f0d29ac56d8c81b8", size = 863625, upload-time = "2026-11-09T00:39:52.437Z" }, + { url = "https://files.pythonhosted.org/packages/97/0a/82e544ef361afc84e85a47907210bd9d1ef5c887b11ae3e091317c699327/regex-2026.11.9-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:3dbccc60fa24fa1bab1cffe580c9bcd6467a885b6260d5e419f6d13db8c3596f", size = 766599, upload-time = "2026-11-09T00:39:54.03Z" }, + { url = "https://files.pythonhosted.org/packages/bf/4b/6484189c5f81e668059464780802b4bd6023415655c9410e8668a0a52a29/regex-2026.11.9-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:b5ce8fd914c9eaedfefa444ed329fc5a80c723136bda90e9e69159c536854c52", size = 855980, upload-time = "2026-11-09T00:39:55.184Z" }, + { url = "https://files.pythonhosted.org/packages/59/f8/954254f0c28b8113b304f0a9fec86274ad043b997161bb019ece9a00e5b8/regex-2026.11.9-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:ff675c20d54564cb2b6c480c2e4b362dcc3ce74887ee2d2e63037658a0f01ab5", size = 793610, upload-time = "2026-11-09T00:39:56.351Z" }, + { url = "https://files.pythonhosted.org/packages/d9/2e/c30c186c8e0d55f4fa6cc882fb3f7eb3731ad70ffc5f99d40e99f261fadc/regex-2026.11.9-cp311-cp311-win32.whl", hash = "sha256:dd679c8172c94291ccee40e17b03b6e34c553ad855a57dc52e811c3bb83403f1", size = 269436, upload-time = "2026-11-09T00:39:57.808Z" }, + { url = "https://files.pythonhosted.org/packages/b5/6a/c23207465db6bb7a98211e82e5f79dc5473abea56464960f1c705bda888a/regex-2026.11.9-cp311-cp311-win_amd64.whl", hash = "sha256:b75ea29155c988eb375325a9fd9270a550ea3427acf275d350538c5f83571abc", size = 281159, upload-time = "2026-11-09T00:39:58.824Z" }, + { url = "https://files.pythonhosted.org/packages/df/7e/fe3c59e5adec098cddf9d65ed5f6543c070a344527a20d20e6731d4e57da/regex-2026.11.9-cp311-cp311-win_arm64.whl", hash = "sha256:b9c9746f25607eabe931c42f25535c9461589e25a80879a361f9c02f7abb6dce", size = 279986, upload-time = "2026-11-09T00:39:59.892Z" }, + { url = "https://files.pythonhosted.org/packages/1b/81/f9c9857e531301761b612129ca24fc2d6a9f83c5d804510f0a86d97a0ce6/regex-2026.11.9-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:9538d0bc19f87d273c2a5397a08fcd2646d02ace31ba7974483d997e36654dcf", size = 498602, upload-time = "2026-11-09T00:40:00.967Z" }, + { url = "https://files.pythonhosted.org/packages/e5/3b/58288749f3fb7303b1ee293a598813c4d08a440cc14c0c55a8fe4f7723ae/regex-2026.11.9-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:a919f782789b9b3460bc51a1c69125551bb6164a0e401865a037397b219705b1", size = 296962, upload-time = "2026-11-09T00:40:02.404Z" }, + { url = "https://files.pythonhosted.org/packages/13/c6/32671781f2e61f40c76cf81df160ef5471264ba8a5f28cbd342cd4887a8c/regex-2026.11.9-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:2255e173ffb8da59f26ec3529bf7e8531320e71575b27c3fb062747eb3a12e1f", size = 294199, upload-time = "2026-11-09T00:40:03.499Z" }, + { url = "https://files.pythonhosted.org/packages/cc/ba/80e68a4d9a3cbbfd7734744a25e26e42976f50baaec786ba7c420b4855b1/regex-2026.11.9-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1e2513028297550486dffc6e0799f24f194957418b75cd0ac2c7ad484e0d12a2", size = 804924, upload-time = "2026-11-09T00:40:04.54Z" }, + { url = "https://files.pythonhosted.org/packages/9f/57/029cdaaed8616a6088e39e0fb5c4f688e1821470f2004a90ef4738fd91d2/regex-2026.11.9-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:16165b67939c4fbaff46bb0380828d4fdda6936d92861baa47257399459145a4", size = 878334, upload-time = "2026-11-09T00:40:05.807Z" }, + { url = "https://files.pythonhosted.org/packages/62/48/cbbe309d95982fb72a09eb8e31a32ec719de04d061dbacba94ca892a6ae1/regex-2026.11.9-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:b7073a7a0134621c5cfcf2c63b55cfd569cd88a6417c08cf829babba200b989d", size = 919365, upload-time = "2026-11-09T00:40:07.474Z" }, + { url = "https://files.pythonhosted.org/packages/46/c2/59c5b6cf4b762d80de04cf60f2d0deba1da2f4172a91c41eaee8933080a8/regex-2026.11.9-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ab4a0c5cd3df4b93841ba4a419a5438b2a4c78a4e418682fc674e3f50d56b857", size = 808826, upload-time = "2026-11-09T00:40:08.864Z" }, + { url = "https://files.pythonhosted.org/packages/e1/7d/18e82a2dc59bbebbea7426d3d5034cb9790230c2826d55ce090e6c8fc38b/regex-2026.11.9-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:e3fe4474aeaa34535077bd3cdee6294756e99f4ed498b09712b5f3dc0b2947a5", size = 783421, upload-time = "2026-11-09T00:40:10.376Z" }, + { url = "https://files.pythonhosted.org/packages/40/a3/4c561718974dad242b481c2d9399a2a2b5d29b357cb6bed52427d6c0c2d9/regex-2026.11.9-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:b47bd645e6305d22a31dc063635de40796e93e72cfeb9a86108dfa806ce866fa", size = 791492, upload-time = "2026-11-09T00:40:11.582Z" }, + { url = "https://files.pythonhosted.org/packages/fc/70/80a9f43944dd81012c2e10f4ae295d91f8db6929e79b10f1232e00b10d78/regex-2026.11.9-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:ad0795929a24ad49f096c464f0ff7fb4d66488c6f20c2b1da724e2067e3d5c2d", size = 866863, upload-time = "2026-11-09T00:40:13.188Z" }, + { url = "https://files.pythonhosted.org/packages/26/d0/93464b1455c35000058c368fa989f21d09e9fceeb2289d1be4df93ded78f/regex-2026.11.9-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:f1ed6b50f54b8467bb3085fb6d701f3eb77c9ad81071da498cdc7725b4867f92", size = 770521, upload-time = "2026-11-09T00:40:14.703Z" }, + { url = "https://files.pythonhosted.org/packages/1f/5d/34c5aec48033f7929beaad8623e19ad7957b0de7ebffeae96b9689f1fedd/regex-2026.11.9-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:e6f945b6fcbf1a51760ab41b61159dba8bbcf3614ed921bd175d62529be5ec26", size = 861457, upload-time = "2026-11-09T00:40:16.091Z" }, + { url = "https://files.pythonhosted.org/packages/94/59/80c4299ca9422b44738f8559d850e96d09a201334be41499863877980cb9/regex-2026.11.9-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:a5ac0114fa49c175803fce562ed243bfaf7f6943edf4b2a01ef82f0f61e7e397", size = 795558, upload-time = "2026-11-09T00:40:17.222Z" }, + { url = "https://files.pythonhosted.org/packages/4c/cc/f14bf9e6e0ed44f29402bd8319ca231f2dce52c76084fc8561abaeda2e45/regex-2026.11.9-cp312-cp312-win32.whl", hash = "sha256:2f1c997fcb7a74006e3c4f09199d9e835bb46eb12c1c909f8b8259627f7b5ec7", size = 269777, upload-time = "2026-11-09T00:40:18.606Z" }, + { url = "https://files.pythonhosted.org/packages/c1/ef/e03271355a802f38f7510e31e006667fc8b95b771058d75a36e2afda61b2/regex-2026.11.9-cp312-cp312-win_amd64.whl", hash = "sha256:ae42ad9825cde4cd374abfce6bc82233b91099170c138b349554813e97da5100", size = 280891, upload-time = "2026-11-09T00:40:19.698Z" }, + { url = "https://files.pythonhosted.org/packages/a3/08/551312e6599ac812b4052b5c9d3b3097b716f853c01e8ae6a150f805345b/regex-2026.11.9-cp312-cp312-win_arm64.whl", hash = "sha256:3c3886844cf8d2ce2b2cddb849eff6c404bfa951c77bd63fb4bd7ed270f135dc", size = 280256, upload-time = "2026-11-09T00:40:20.726Z" }, + { url = "https://files.pythonhosted.org/packages/90/55/7b6278e0babda54fe4b619c13019aef42247de912180777d49afae8eefac/regex-2026.11.9-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:224b73a26a1e64cf87fc8da9ee7a9994f152b92a728a7786b5c002fcebb205b8", size = 498358, upload-time = "2026-11-09T00:40:22.495Z" }, + { url = "https://files.pythonhosted.org/packages/4c/96/e37e54801fcd80fe7d2929708cd0c459aef588bc887da2de58a7c3c963d8/regex-2026.11.9-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:6852035568af30020a538f945863d2dca3d5baadfe9d9387f9d54de2f1b30a45", size = 296847, upload-time = "2026-11-09T00:40:23.623Z" }, + { url = "https://files.pythonhosted.org/packages/f6/69/8bb15a5dcc3f8c9a57b069847fd65552bb7d1de22861e283e0139e5d5c71/regex-2026.11.9-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:24c9479dc1215a1ebc96fedc9a0cd026240209e9b69aa223df411c443bdf1d93", size = 294046, upload-time = "2026-11-09T00:40:25.026Z" }, + { url = "https://files.pythonhosted.org/packages/19/74/b13616c437d4141e9b73ef8f44d2be36058dc83cc1316048a081b73eead7/regex-2026.11.9-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c5e3b575067d381f59cd6896a0126aef5dfb80a16b03594e8fc86bdc9dcf1cec", size = 804872, upload-time = "2026-11-09T00:40:26.115Z" }, + { url = "https://files.pythonhosted.org/packages/45/e4/8a0597242b57ef983f50ce84a2f35ba681e72333ff34aadee2805de2deea/regex-2026.11.9-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:38225e2f77e094c5a118e64af55655192eb16966b1e61ed8f4674ea94bedbb04", size = 878457, upload-time = "2026-11-09T00:40:27.223Z" }, + { url = "https://files.pythonhosted.org/packages/2e/a7/3ed73ae7e9b7ae09f80d09a59ee21fefc4a3e33a08e2b039934e57b86a76/regex-2026.11.9-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:b4957fa9142e4850f454e7e76366245677cb917c608d7f8088b0105c9948db2f", size = 919209, upload-time = "2026-11-09T00:40:28.425Z" }, + { url = "https://files.pythonhosted.org/packages/35/3c/d6f2b69b141b3d0aa82d69fbbfe2b38dc49138e3f6843cc763774202d024/regex-2026.11.9-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:32183c31b090e1ee2bbb60898d236addc0029bf04a6def37175c2bb5419dcfb5", size = 808929, upload-time = "2026-11-09T00:40:29.882Z" }, + { url = "https://files.pythonhosted.org/packages/68/68/2fbbb66b68d0babc7260c1538f5d422f9edbbbdf4d6e5c916f8fe7c0fcbc/regex-2026.11.9-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:86b0004630d82a7fa993a40c599d77180622ba356d68dc48eef8f47e8c836853", size = 783522, upload-time = "2026-11-09T00:40:31.095Z" }, + { url = "https://files.pythonhosted.org/packages/8f/fa/50f1b4e85430cb4aba15320eb0a8204e48d175317168771b8c05a00373c5/regex-2026.11.9-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:d6bf83cfc92e7f6402cc10b8542fc562d4183929bdf126a0ccea1c15b55a109f", size = 791604, upload-time = "2026-11-09T00:40:33.218Z" }, + { url = "https://files.pythonhosted.org/packages/96/6e/fbf5139423566e051cedd6f71c97bc16fb34653e921b6654e24a0c16df8a/regex-2026.11.9-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:c88a1749323036f3b3f67c32c1df4c6f2889f1ad5508eb3b66032019e0acb14b", size = 866818, upload-time = "2026-11-09T00:40:34.861Z" }, + { url = "https://files.pythonhosted.org/packages/f0/d7/d873103dffac3b4558437dd622edff275f88a0cd32d0bed5175ac0c389b5/regex-2026.11.9-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:0dbed59cc01d38778091845ac229dc24b909bc326b82d3043972b0acd1349bb6", size = 770466, upload-time = "2026-11-09T00:40:36.345Z" }, + { url = "https://files.pythonhosted.org/packages/6c/71/d681e7949e91de573808a0d609a84d99411fad3680d346e436f68528c4fd/regex-2026.11.9-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:d0517aff825aaa7a242ce85938ff4a51fa73633ec14a0b6639f658b29a78e6f2", size = 861497, upload-time = "2026-11-09T00:40:37.572Z" }, + { url = "https://files.pythonhosted.org/packages/5c/17/052721465a9e96a340b73d6bc7bffacd7bd9d57b4ddc38ac95e6671b7882/regex-2026.11.9-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:a1919cb74f076c93b3d7344ba8ec930e9aa6d70272801779ba0e9bb48eb12d4f", size = 795612, upload-time = "2026-11-09T00:40:38.81Z" }, + { url = "https://files.pythonhosted.org/packages/7e/ad/f5eeae00983238972bbcd3b31122437f729299d4a7ecd661b07a61448a6f/regex-2026.11.9-cp313-cp313-win32.whl", hash = "sha256:bd66446f042de0b2fdc4870f590eed990285d7c5d677545dc5aa8fd0dcf5f0e9", size = 269754, upload-time = "2026-11-09T00:40:40.004Z" }, + { url = "https://files.pythonhosted.org/packages/f3/e5/27d16943df68676aba97db64e58b10702627eac1b983d96342b80b71f6c1/regex-2026.11.9-cp313-cp313-win_amd64.whl", hash = "sha256:19d36876d5783f157f280e67e51038a63a30630bd069528070d83a711f170e99", size = 280845, upload-time = "2026-11-09T00:40:41.348Z" }, + { url = "https://files.pythonhosted.org/packages/6d/34/74fbef82831900af4da247486576f867e6ffdb531841adc771af5797b213/regex-2026.11.9-cp313-cp313-win_arm64.whl", hash = "sha256:2062558aead9322ce54479b0ac356453d1455a30ec40d16b263b4cb0dcd5fd0d", size = 280234, upload-time = "2026-11-09T00:40:43.225Z" }, + { url = "https://files.pythonhosted.org/packages/ad/76/0931cbbc2faec7eb35e1dc95bb6e3256ddd20d1995dc1474886954436d33/regex-2026.11.9-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:8d8225ae4aec6154a9c895fc5ea7a4cd9347c955432ee3cf277871518b4a78cc", size = 498414, upload-time = "2026-11-09T00:40:44.336Z" }, + { url = "https://files.pythonhosted.org/packages/18/57/e06c598bd5935bce31faae0c20dbb27f7b3551f77c871da1fcc9d5e8806d/regex-2026.11.9-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:2d8f8f23200309b13a48a43379890bcdd34db49dda203445d2c9e1ebc1919419", size = 296843, upload-time = "2026-11-09T00:40:45.828Z" }, + { url = "https://files.pythonhosted.org/packages/e4/bc/8d2e21baca091b2f2bba7b6127cb60395018579736d41958d7398f381e5f/regex-2026.11.9-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:fb91fc79a06d276f7811b840840440c6a35178396bfab288a4814b9a05d08245", size = 294104, upload-time = "2026-11-09T00:40:47.187Z" }, + { url = "https://files.pythonhosted.org/packages/4d/14/561ec95a248d68b55598e80a8a7190fce98f8a1ab8c0aeb2fe46b153bb28/regex-2026.11.9-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7f570129536763bce7bd06a24f555bfad989aca594459a09cd7d51e47b92e0b4", size = 805122, upload-time = "2026-11-09T00:40:48.658Z" }, + { url = "https://files.pythonhosted.org/packages/a5/f0/6398931f37cf3c3e9a1f8af33097ada8c17c7a991791e0b2e1df60f34666/regex-2026.11.9-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:992f562c10b100501d17abad5307cbe5049cecc9afe6f5bb58cc0c49be964a95", size = 878892, upload-time = "2026-11-09T00:40:49.846Z" }, + { url = "https://files.pythonhosted.org/packages/ed/49/eb615960e51bf824a24ef5ad3ea100f72ac5010aab835bd72fc0fbc5b9d2/regex-2026.11.9-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:5f571e667b3a0af4a37e231c535bec1237f531433fbeea4efe7196aae04eb734", size = 918562, upload-time = "2026-11-09T00:40:51.008Z" }, + { url = "https://files.pythonhosted.org/packages/88/4e/97c82477691afa0329b51ee801e5002cbf91ceff4864200cf2895833586a/regex-2026.11.9-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b8d6cc5be22e9c839547d6ffc88b515845cbf47604c74d293955eea96281adbc", size = 808261, upload-time = "2026-11-09T00:40:52.586Z" }, + { url = "https://files.pythonhosted.org/packages/ab/87/c6b8dba287886b6b535b05cbb860110b84d11b864725cd39a35c7066da2b/regex-2026.11.9-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:f026e602009c42175f5d7ab5ae0dc34884b09e5c1bb9c540e37f5f60c330173d", size = 783703, upload-time = "2026-11-09T00:40:53.631Z" }, + { url = "https://files.pythonhosted.org/packages/2f/d5/f9707218634b435d03839d0dd4c43b7b74426c7a010ea786846b36215887/regex-2026.11.9-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:8088dcf06e237da99bdf1e802716ad29e9b4103b2b04f8dee87de3d6102a6c03", size = 791919, upload-time = "2026-11-09T00:40:55.058Z" }, + { url = "https://files.pythonhosted.org/packages/68/05/352600c95571b49ed1c7a9a73e9afc76459854439c8b5c1e811b3b81b6d8/regex-2026.11.9-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:063cfc54e91284d0d9808befba1b9624bf230c3d22c6dd32a539f7af81b391a5", size = 867716, upload-time = "2026-11-09T00:40:56.286Z" }, + { url = "https://files.pythonhosted.org/packages/43/c4/ff96ccc1515ed2fae491fd490dab2ea22c5536ae8de59f176eea07c6f886/regex-2026.11.9-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:80c7f5a8236a751b9f0cfd160c68199db71860daa8609ec30ba79862926c6884", size = 770658, upload-time = "2026-11-09T00:40:57.546Z" }, + { url = "https://files.pythonhosted.org/packages/9c/b2/bbbee563872d031cbe160bddac0846195aa4cc9eb2d7d6b61510598c9c3e/regex-2026.11.9-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:590831103234f8b044dde16352234b24a7966ed685a8f5735da48f4044f5cb55", size = 860933, upload-time = "2026-11-09T00:40:59.2Z" }, + { url = "https://files.pythonhosted.org/packages/2c/4c/8d6060820dea2a10b3b026b462fd47986f54c0590deb13f16f1dadd7df27/regex-2026.11.9-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:961fe37a9e52575360599a4099ebb6d983b71a88e4cb44aef24e230adcb592dd", size = 795245, upload-time = "2026-11-09T00:41:00.592Z" }, + { url = "https://files.pythonhosted.org/packages/1b/32/5093383543e5c86b40e4117c0c6ee082715810b65283494aca48dc517d3f/regex-2026.11.9-cp314-cp314-win32.whl", hash = "sha256:4b9f3e8a40e00a8c46a23e780c06444fc19f048c44e0c533186bdd730a57eb92", size = 275220, upload-time = "2026-11-09T00:41:01.735Z" }, + { url = "https://files.pythonhosted.org/packages/4e/d0/5a472f1404c2217c92ebbd98d65a273cc48adc0a1f2948743ed59a873c18/regex-2026.11.9-cp314-cp314-win_amd64.whl", hash = "sha256:4d2bb485c68c8688201e5d56f6a7cd563ad9ee40ad2a700e77a13fceaac3a517", size = 284464, upload-time = "2026-11-09T00:41:02.734Z" }, + { url = "https://files.pythonhosted.org/packages/28/48/4addd74faf7531f713a9e765cadd1ddcb010363924fee94038e289452e5a/regex-2026.11.9-cp314-cp314-win_arm64.whl", hash = "sha256:dd0777e5cfa8508b0c1a903bfeb3b5859c1842c0b01f3ff39064c6bce3297e6b", size = 284279, upload-time = "2026-11-09T00:41:04.021Z" }, + { url = "https://files.pythonhosted.org/packages/ed/81/c88102ab3fa7eee7badc3f1554224d9012a5cd0fc2d40e3af4a4bb10e713/regex-2026.11.9-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:eb7c95df50b4132f938599f39758da9ee7c73ee66a8f40974160f07567e7301c", size = 502240, upload-time = "2026-11-09T00:41:05.561Z" }, + { url = "https://files.pythonhosted.org/packages/3e/da/ba9d89af353c54727086f705fff7b60bc0994191b76f2a560d69d44c612d/regex-2026.11.9-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:18c2e3de5790cd5d1e1437f4805fda7f16b14931f86312d9542d6014434aa107", size = 298869, upload-time = "2026-11-09T00:41:06.884Z" }, + { url = "https://files.pythonhosted.org/packages/8e/13/d9079948364cbd94f693801c9673ed3f97052848380cd1b4271e6061ef4f/regex-2026.11.9-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:8d5b856217efc33802ae7bbd1b5d98c3117dae9dd6a36b75027291e2b79f72cf", size = 296656, upload-time = "2026-11-09T00:41:07.998Z" }, + { url = "https://files.pythonhosted.org/packages/e4/f9/dbadb579d336487bb226ab02686faa0142cc065426826d1d121cc01a59ac/regex-2026.11.9-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:401055fcdbef098c6054e80e52813f7c937f4209c8c727ec4135df6a6f585222", size = 819805, upload-time = "2026-11-09T00:41:09.202Z" }, + { url = "https://files.pythonhosted.org/packages/64/d7/7e433fcdd1075dfce9423accf478a636b4e9a2078311b86a25ee4973df1a/regex-2026.11.9-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:e68a02b7ff911d611c43457b029c76d6bbccf3c1a4f7e336e086a3b6afa1d19c", size = 881836, upload-time = "2026-11-09T00:41:10.783Z" }, + { url = "https://files.pythonhosted.org/packages/15/40/89d31d421367742d2854eba4f6a3d9ae1b15630fae9c7c791415c9a9373c/regex-2026.11.9-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:7f854a607c31bc87b64d9ca13a9d25c6fb57f59f802d2fe871c48b205d06f566", size = 924530, upload-time = "2026-11-09T00:41:12.035Z" }, + { url = "https://files.pythonhosted.org/packages/bf/d5/5e16185a5ba2ebbf83ae24935c32e3a3fc25191347f529c06908b267b6f4/regex-2026.11.9-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2d6a2d52cd32a7cdfef4b3e22417eb7bde912a5624128851bb96aef5dc657067", size = 824544, upload-time = "2026-11-09T00:41:13.233Z" }, + { url = "https://files.pythonhosted.org/packages/7b/14/0e753b59a7ffed4d67c50e2674e870293fdf6f7f95ce65352407427687df/regex-2026.11.9-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:f4c1141775f79b742d9ad2d33e058cf06e7219030aadff8d4a132450cc7539dd", size = 793572, upload-time = "2026-11-09T00:41:14.551Z" }, + { url = "https://files.pythonhosted.org/packages/4d/6d/39a0e1ad06a26e04eb1fe2e00322c5d334d74c97a94a9dca01fb7e574eda/regex-2026.11.9-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:e886209417f98c2b8b817d531e72731c3fb78f990a402759f4a4c7714f9c5415", size = 805935, upload-time = "2026-11-09T00:41:16.034Z" }, + { url = "https://files.pythonhosted.org/packages/8a/99/1667c4ce3af04e661a0eff2008126ceeca874bc52d7f2895e75b86e7d11f/regex-2026.11.9-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:85f327c6645bc0d924ef407d36aca97ed86bc41da28cabd77b347b1771b5eae1", size = 871258, upload-time = "2026-11-09T00:41:17.79Z" }, + { url = "https://files.pythonhosted.org/packages/ea/2d/124b69673327013b19e6cfaf7f59bcd1e801c1ebf893a056e0a0f6e0f84a/regex-2026.11.9-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:9cb9d77c5c9101f1b6aa3d22f679f7a41a5af6ab536bc7290457e9bfc40eeeac", size = 776374, upload-time = "2026-11-09T00:41:18.85Z" }, + { url = "https://files.pythonhosted.org/packages/83/4b/e4d277fe50a30bec2b98bb7c7e055efb33060c984cc41a75cc2d6b4c9e3a/regex-2026.11.9-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:0ac46eb63c366482a268121d873a08014304ea774d349b9bd2340a622b88a3d4", size = 864755, upload-time = "2026-11-09T00:41:20.316Z" }, + { url = "https://files.pythonhosted.org/packages/25/a7/b1626d1a273b29f6104265488a7b82ef22a81f8a1066fd8d91e098887213/regex-2026.11.9-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:9622c0306e0864fa2cce4e5de97b3f0b7cbb86054c781550fceeb9f9c9bec290", size = 811588, upload-time = "2026-11-09T00:41:21.51Z" }, + { url = "https://files.pythonhosted.org/packages/d8/b8/2581a22a535eeaa301f8b3a71614d7bb8c30b821ba9373b991113b8b4c1a/regex-2026.11.9-cp314-cp314t-win32.whl", hash = "sha256:8cd7bda4894077adf35ec41df18d705e0f8028d40445066c870e517c754d78c2", size = 277284, upload-time = "2026-11-09T00:41:22.634Z" }, + { url = "https://files.pythonhosted.org/packages/10/21/a39d46035c96eaf530eabb6b57751c744c317c0af145240d3f1997d9ecc9/regex-2026.11.9-cp314-cp314t-win_amd64.whl", hash = "sha256:19c5affdda6dfe1bb2e5b0775cf5f4e71e664bcde2daafeec635d34d6f9704c8", size = 287062, upload-time = "2026-11-09T00:41:23.634Z" }, + { url = "https://files.pythonhosted.org/packages/20/64/1a9f6a13e365b1b23bd7ac264ceb8ecadbe962d3354a4cb4a303c88a749b/regex-2026.11.9-cp314-cp314t-win_arm64.whl", hash = "sha256:422c3dd2f8ff069c1050d4f4048bc8fa26fa92df09fcedbe13f77c922f5f7dc8", size = 286617, upload-time = "2026-11-09T00:41:25.402Z" }, + { url = "https://files.pythonhosted.org/packages/91/3e/a94fae619c5c72644732b393f241a4dc65e32a47c76a681b819390214d6f/regex-2026.11.9-cp315-cp315-macosx_10_15_universal2.whl", hash = "sha256:022c80076ecb4a1e967c6ff9feeecfdfc364183281667056d1953cd345b0b9a8", size = 498649, upload-time = "2026-11-09T00:41:26.995Z" }, + { url = "https://files.pythonhosted.org/packages/41/e3/d468930952cc613f7d63ad375ebe9c1e1b850b3a4c87ed411e8db8cfdd62/regex-2026.11.9-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:639d43b0898a2fd99e10eb5736f022c0fe8ee25bf60250061f8720c47a54483d", size = 296832, upload-time = "2026-11-09T00:41:28.351Z" }, + { url = "https://files.pythonhosted.org/packages/ae/ad/b53184107d89fc00a596d4306483a034d68353cb410cf7b19c7ee511cfa0/regex-2026.11.9-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:569ec6f0f774caeef4e0bbc8161aff2b7f07b1051ebcfc9c2c9eccebe7320b06", size = 294370, upload-time = "2026-11-09T00:41:29.497Z" }, + { url = "https://files.pythonhosted.org/packages/b6/79/0fc94e5a21468d15e649c57ac327ea307712a5a1216557f6a7508d16abfb/regex-2026.11.9-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5f209033452abebfa65f0d388b1f6d4f2b4b2791b3a403bc744c03e80e996be9", size = 807071, upload-time = "2026-11-09T00:41:30.753Z" }, + { url = "https://files.pythonhosted.org/packages/83/6e/3006d97b837a876223484206e4d7700798421958de49c081ce280a38d5e4/regex-2026.11.9-cp315-cp315-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:1dd7fa70f8b4956acb3e34eb9bea1c7ae3d31509abf979393181eaaa0f00e63d", size = 879313, upload-time = "2026-11-09T00:41:32.194Z" }, + { url = "https://files.pythonhosted.org/packages/cb/a9/f033d7aa75457dd3f6fa8f5701c5b4a5c685428bc7582b9c872a3e9e9c55/regex-2026.11.9-cp315-cp315-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:b10639d37913075b553ba9638be170a87f70c32bd9da0655c3093e7ebc4a8065", size = 918900, upload-time = "2026-11-09T00:41:33.717Z" }, + { url = "https://files.pythonhosted.org/packages/55/7e/378e356b11dbd903d61844215bd16e63e0bdf253c4c8e66cd60ed504737e/regex-2026.11.9-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e8e8fd96057e04660a655f2f7fbc9a9eff6ffe2970ff01c0145a0d425f2d1bf6", size = 809955, upload-time = "2026-11-09T00:41:34.98Z" }, + { url = "https://files.pythonhosted.org/packages/28/2f/5d689c2b7b0083a54e47786699a08a2548cf317316b86385ac0646a56a61/regex-2026.11.9-cp315-cp315-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:adce69b7696dec985977bc65d025c43dd7f2fa780f4f6e1d467d939884d7f918", size = 789193, upload-time = "2026-11-09T00:41:36.85Z" }, + { url = "https://files.pythonhosted.org/packages/d0/f4/231515fefa3051505ff3dd51d1eee987bcf637958d52dd7ae70d2daebe19/regex-2026.11.9-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:346ac3b9664ca04dd9ff7f422a33d87015657b0674a2830d804d78e987cc1f4a", size = 794166, upload-time = "2026-11-09T00:41:38.268Z" }, + { url = "https://files.pythonhosted.org/packages/9e/10/f935d85b0155d0c621113fcef32aa148ef8d078c16907fbda6950c5d3abb/regex-2026.11.9-cp315-cp315-musllinux_1_2_ppc64le.whl", hash = "sha256:0c816b00198ddca1040fa2657619b1c6b4c861d158cbad9de77d01fdc44550cd", size = 868221, upload-time = "2026-11-09T00:41:39.706Z" }, + { url = "https://files.pythonhosted.org/packages/a0/5b/9e243ee822c1680cd1468520280a8bc96fe7a8b8ca5a7ed7f213fe9da92c/regex-2026.11.9-cp315-cp315-musllinux_1_2_riscv64.whl", hash = "sha256:aa62357d0dd25abd66100369828d6e28b50a5c44001a0fd20f95117c4038c648", size = 779357, upload-time = "2026-11-09T00:41:40.966Z" }, + { url = "https://files.pythonhosted.org/packages/12/67/2273b16db6d6a27bbc2a4f61ec9221d06adf3d1dacfbd6d8120f78e4c8ef/regex-2026.11.9-cp315-cp315-musllinux_1_2_s390x.whl", hash = "sha256:d1627410afc3f5a4b0c4d81dd1bdd1ed3de6407eda6d93524e643cf3891126d2", size = 861471, upload-time = "2026-11-09T00:41:42.048Z" }, + { url = "https://files.pythonhosted.org/packages/68/d8/58f8688bcdb9e482be40e25c13e7bb0701c2ce8c4514ce7af7c635877d81/regex-2026.11.9-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:970201018e997ed4a2626ad894b657035397fa91c1c86eff1b0c8cb9eb03d478", size = 797579, upload-time = "2026-11-09T00:41:43.758Z" }, + { url = "https://files.pythonhosted.org/packages/c1/fd/382230164a17f509c155918771817378516a9ee8bd1b54a5ec4d3dacd7c3/regex-2026.11.9-cp315-cp315-win32.whl", hash = "sha256:1f4c9e7edad6ed655c83741413b350db98b1234a4fa8739bc1ed7167e19ce98e", size = 275213, upload-time = "2026-11-09T00:41:45.63Z" }, + { url = "https://files.pythonhosted.org/packages/9d/1f/3b08cdef84fae97450baf8c60c0f86a85c613ddfa7b106df9186069248c0/regex-2026.11.9-cp315-cp315-win_amd64.whl", hash = "sha256:72770400851673eee68e9d6cfc45c18a20736894e3002506a987a244780df36c", size = 284471, upload-time = "2026-11-09T00:41:46.87Z" }, + { url = "https://files.pythonhosted.org/packages/24/ee/ddf3c916425e7de6774df90e9b36ea7be709233f6e617863f9eeaf855211/regex-2026.11.9-cp315-cp315-win_arm64.whl", hash = "sha256:1e8fe618fe5eeceb827db2b49750fad345be0e6145c5c41ed701ee27e081ff9d", size = 284289, upload-time = "2026-11-09T00:41:48.301Z" }, + { url = "https://files.pythonhosted.org/packages/a6/d6/0e0566737f61954b66df56cee68a7412df3fd8f5a9325f08837cc641b9f5/regex-2026.11.9-cp315-cp315t-macosx_10_15_universal2.whl", hash = "sha256:6dc0dd2d31bc0e2301345c3b20f64a6d864218196c7c9ea2b96788e76b964578", size = 502328, upload-time = "2026-11-09T00:41:49.337Z" }, + { url = "https://files.pythonhosted.org/packages/9a/1e/7f95189e75cd26a634c9832b469f620bf45d02a6e2be184a1169ee7af61a/regex-2026.11.9-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:6a1ee54c1e237fee890ef7045951613147fcf77a2c898229de44f165e5650aff", size = 298773, upload-time = "2026-11-09T00:41:50.737Z" }, + { url = "https://files.pythonhosted.org/packages/f5/cc/7e5406a25fe6cf378e770858133b044e451349ef2c1f2977b68dd061a2db/regex-2026.11.9-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:2bebc58114814ed6d78cc3d27b70d4f2dceb8a2e5d23dcc7d831809e86d3bc3c", size = 296831, upload-time = "2026-11-09T00:41:52.067Z" }, + { url = "https://files.pythonhosted.org/packages/f8/5c/6ad943248f553ce669fd2a6ad75ec27476f90a40e0f5173337db7089c13d/regex-2026.11.9-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9bc2cb2aa025b89ebe26c8dc3c1edb1c6b22be9dadea030a89f3a477faf646e8", size = 818469, upload-time = "2026-11-09T00:41:53.192Z" }, + { url = "https://files.pythonhosted.org/packages/a2/b6/be6a30c8bb5bc32fca59e9e6a7ace27fc5f8626b5b11a6ecca9f2d7834c6/regex-2026.11.9-cp315-cp315t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:499313286c8ae346f19e6af6f78f45c356de293b37540fdea5f4309a5aa59b21", size = 882408, upload-time = "2026-11-09T00:41:54.347Z" }, + { url = "https://files.pythonhosted.org/packages/37/3d/a6fc734740e030e1479ff081c5af669c3543f6f04008c792c5566b30f07a/regex-2026.11.9-cp315-cp315t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:d77014fe27bfc3565a0ef706ced0f7d5471937bce9b7ce38c46deeaa9f4b3963", size = 923235, upload-time = "2026-11-09T00:41:55.551Z" }, + { url = "https://files.pythonhosted.org/packages/ba/7f/c1860577baf5c3acea63fa812b7bb510825b28c44b474db00900e7cb3ab0/regex-2026.11.9-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e4498f31d71819a16b32e1a965bb587c7aaf153848c451d1e384ede77dc6a134", size = 822410, upload-time = "2026-11-09T00:41:56.803Z" }, + { url = "https://files.pythonhosted.org/packages/28/af/692419879b97a63e8342ccbd138329f900af38408f0b080d72a5a5fc9160/regex-2026.11.9-cp315-cp315t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:04e1c78cba5e3edd5400e9d7319a3036f652faa599bfabbf888fec584a9a4772", size = 795527, upload-time = "2026-11-09T00:41:58.169Z" }, + { url = "https://files.pythonhosted.org/packages/24/53/1ba04321ce8d15d219710e95f03feab54ca6a19ecad329a42efe7c46c873/regex-2026.11.9-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:5774579fca3431bd77518529d1ba54480d075396bdb0533daa0daa4db86e6594", size = 806153, upload-time = "2026-11-09T00:41:59.309Z" }, + { url = "https://files.pythonhosted.org/packages/e5/dc/3933476fab57134867d20d214d57393fbdb82a5a285083633bdf956372d5/regex-2026.11.9-cp315-cp315t-musllinux_1_2_ppc64le.whl", hash = "sha256:34087251368439c8238cbf2bde88a8e89fd865a2a61266a5c64b360414c7fe04", size = 872784, upload-time = "2026-11-09T00:42:00.636Z" }, + { url = "https://files.pythonhosted.org/packages/e9/53/e44fc4efa4de6dd29fc0f2e237f944a392478611d54d1af43e45c7726626/regex-2026.11.9-cp315-cp315t-musllinux_1_2_riscv64.whl", hash = "sha256:4cb820ff2fdcf610278c74dcfd45857b5177429e30bd0b7d1164855a011cd58d", size = 784277, upload-time = "2026-11-09T00:42:01.72Z" }, + { url = "https://files.pythonhosted.org/packages/fa/a5/a5e6f6b5904712646ed10023b75746d9492616f75f8ad9d8045fd28f04c5/regex-2026.11.9-cp315-cp315t-musllinux_1_2_s390x.whl", hash = "sha256:cb152514d21e3a0440e4c30ff2323f3bbc48de3c1d1aaffe0494470cf5566a42", size = 865578, upload-time = "2026-11-09T00:42:03.197Z" }, + { url = "https://files.pythonhosted.org/packages/09/60/73045aa8b48f37e12f18eb6ee5dee9573a31f381f987f1a2d0ea27310537/regex-2026.11.9-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:38cd15cf8407a4220bf387657cbd38d961161d152c08c731fc2e05fb45a00ab9", size = 809333, upload-time = "2026-11-09T00:42:04.407Z" }, + { url = "https://files.pythonhosted.org/packages/71/de/9f668597839d8abb969846be416ed6982a4ba10b83445f241f27752456cb/regex-2026.11.9-cp315-cp315t-win32.whl", hash = "sha256:c68ed3497146b830d27642193612bb6ac51cb70dd73b5f35f07b37cec915b795", size = 277479, upload-time = "2026-11-09T00:42:05.728Z" }, + { url = "https://files.pythonhosted.org/packages/cd/af/af2858db09db8ff0b9f50e67610da2d71517defc62f6eada14a1405c8930/regex-2026.11.9-cp315-cp315t-win_amd64.whl", hash = "sha256:83ee345b9feb7973c408187778fdf2f2498b54a51bc0b92d08b9b7468ddfb5dd", size = 287021, upload-time = "2026-11-09T00:42:07.23Z" }, + { url = "https://files.pythonhosted.org/packages/05/29/f38c146b8e4b9e9d844cd5387ff82b18a35efe34795366a2a98429695584/regex-2026.11.9-cp315-cp315t-win_arm64.whl", hash = "sha256:2fd69109525129c1823765f34d650247bcd20065eb842832b99d3e512dec0ed7", size = 286551, upload-time = "2026-11-09T00:42:08.629Z" }, +] + [[package]] name = "requests" version = "2.34.2" @@ -2524,7 +3915,8 @@ resolution-markers = [ "python_full_version >= '3.15'", "python_full_version == '3.14.*'", "python_full_version == '3.13.*'", - "python_full_version >= '3.11' and python_full_version < '3.13'", + "python_full_version == '3.12.*'", + "python_full_version == '3.11.*'", ] sdist = { url = "https://files.pythonhosted.org/packages/42/68/3bd46b8a5e01d3c2ebdf9c5e9497912e3fe0cde02bac21a7130ca866e403/rpds_py-2026.9.1.tar.gz", hash = "sha256:4793ef7f78268b124b73fa933440f01d258bbae01de9fa53e9080c9ab0425a12", size = 63948, upload-time = "2026-10-04T16:32:36.469Z" } wheels = [ @@ -2659,14 +4051,14 @@ wheels = [ [[package]] name = "s3transfer" -version = "0.17.0" +version = "0.19.3" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "botocore" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/9b/ec/7c692cde9125b77e84b307354d4fb705f98b8ccad59a036d5957ca75bfc3/s3transfer-0.17.0.tar.gz", hash = "sha256:9edeb6d1c3c2f89d6050348548834ad8289610d886e5bf7b7207728bd43ce33a", size = 155337, upload-time = "2026-04-29T22:07:36.33Z" } +sdist = { url = "https://files.pythonhosted.org/packages/49/c5/0a5ce655109cb96b8dfad36908a4e108d15f5dc2eff8fbc3146c4312e704/s3transfer-0.19.3.tar.gz", hash = "sha256:8326acc3d056d7f7b8a37110c7d2aea41f67e83f6ae79cd3b5fbcca34c726406", size = 166087, upload-time = "2026-10-19T19:19:49.751Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/87/72/c6c32d2b657fa3dad1de340254e14390b1e334ce38268b7ad51abda3c8c2/s3transfer-0.17.0-py3-none-any.whl", hash = "sha256:ce3801712acf4ad3e89fb9990df97b4972e93f4b3b0004d214be5bce12814c20", size = 86811, upload-time = "2026-04-29T22:07:34.966Z" }, + { url = "https://files.pythonhosted.org/packages/e2/a4/88f9e10498759121060b8050a1554753dfc04df39bbbcc7aad9ecc8d9440/s3transfer-0.19.3-py3-none-any.whl", hash = "sha256:24eb7535804306355e31c952a90022bf5b2f9d760f9a11062c7493a217c08553", size = 90252, upload-time = "2026-10-19T19:19:48.309Z" }, ] [[package]] @@ -2678,6 +4070,15 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/b7/ce/149a00dd41f10bc29e5921b496af8b574d8413afcd5e30dfa0ed46c2cc5e/six-1.17.0-py2.py3-none-any.whl", hash = "sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274", size = 11050, upload-time = "2024-12-04T17:35:26.475Z" }, ] +[[package]] +name = "sniffio" +version = "1.3.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/a2/87/a6771e1546d97e7e041b6ae58d80074f81b7d5121207425c964ddf5cfdbd/sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc", size = 20372, upload-time = "2024-02-25T23:20:04.057Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e9/44/75a9c9421471a6c4805dbf2356f7c181a29c1879239abab1ea2cc8f38b40/sniffio-1.3.1-py3-none-any.whl", hash = "sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2", size = 10235, upload-time = "2024-02-25T23:20:01.196Z" }, +] + [[package]] name = "snowflake-connector-python" version = "4.3.0" @@ -2844,7 +4245,8 @@ resolution-markers = [ "python_full_version >= '3.15'", "python_full_version == '3.14.*'", "python_full_version == '3.13.*'", - "python_full_version >= '3.11' and python_full_version < '3.13'", + "python_full_version == '3.12.*'", + "python_full_version == '3.11.*'", ] dependencies = [ { name = "anyio", version = "4.16.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, @@ -2879,7 +4281,8 @@ resolution-markers = [ "python_full_version >= '3.15'", "python_full_version == '3.14.*'", "python_full_version == '3.13.*'", - "python_full_version >= '3.11' and python_full_version < '3.13'", + "python_full_version == '3.12.*'", + "python_full_version == '3.11.*'", ] dependencies = [ { name = "anyio", version = "4.16.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, @@ -2890,6 +4293,109 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/88/2e/947cfe02def9371c07cd5bf5b6b61c829e9aecb9904db02a66cfafbc1eec/starlette-1.10.0-py3-none-any.whl", hash = "sha256:478c0ab3b4ced6e82719849c118fa406f0278a3499c1a898cd15cd31bdc38ce4", size = 80571, upload-time = "2026-10-24T15:04:10.371Z" }, ] +[[package]] +name = "tiktoken" +version = "0.14.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "regex", version = "2026.9.29", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, + { name = "regex", version = "2026.11.9", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, + { name = "requests" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/66/62/167a842aa0429d45f5e797354fd4343a96f6043d67d0513c675c7b8d36e6/tiktoken-0.14.0.tar.gz", hash = "sha256:231dec90efcdccf1b565a1416107736f1e09b1a08fe736ef9d6363e626d03874", size = 38898, upload-time = "2026-08-17T19:49:49.514Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/5e/82/d60a7a5d7bff7b4641d556ea68ea5914ea6edc3774a12eb1c0d444701382/tiktoken-0.14.0-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:3b12e54f8bec91433e41aff65d8d1f209a4f678081163747079806e5361f6c91", size = 1095817, upload-time = "2026-08-17T19:48:31.788Z" }, + { url = "https://files.pythonhosted.org/packages/18/e2/d39ae33d3dc30a0c229ff0cb683df961ebb5e7b8691feb2d08b3ee6ac327/tiktoken-0.14.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:94f77b60a8ab23580db19ae822744c9716c1720020d2179ca5605112d12326f1", size = 1043064, upload-time = "2026-08-17T19:48:33.138Z" }, + { url = "https://files.pythonhosted.org/packages/3d/e9/8e18cbee0c3ae8321c7e9696bef6090a24eed99a4a75a4c4a7f5115e5a2f/tiktoken-0.14.0-cp310-cp310-manylinux_2_28_aarch64.whl", hash = "sha256:f3d6cf93fbe2e7117eb7bedca684216fbe328a41f0843ce34245451d8eb2df1c", size = 1190381, upload-time = "2026-08-17T19:48:34.386Z" }, + { url = "https://files.pythonhosted.org/packages/af/c8/051e7b72a816ff50eb34a1c7c5b185cd2429ffdf59a497baea35b2b6b2dd/tiktoken-0.14.0-cp310-cp310-manylinux_2_28_x86_64.whl", hash = "sha256:18a1b651c4b032004bf7b4f1713391a54b2a341a52c6e8a2b59acae9d16e13c7", size = 1206869, upload-time = "2026-08-17T19:48:35.581Z" }, + { url = "https://files.pythonhosted.org/packages/c3/b3/7795db206adb6a57d6137fe48ef2cca6b9707e90b86ee8244671592ddc33/tiktoken-0.14.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:4d8d91d68353bd167fdf26467e5ff9e56aaa5f87d6410c0238608629e4dc0d33", size = 1255197, upload-time = "2026-08-17T19:48:36.832Z" }, + { url = "https://files.pythonhosted.org/packages/c8/39/5234783af6b81af645ccdf9438f2f02af472f14e91d876ca2079af641841/tiktoken-0.14.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:10f31e63e40313f2e518d87f7086cfa44e45f64cc14d8ae14103b41220c30a14", size = 1319329, upload-time = "2026-08-17T19:48:37.944Z" }, + { url = "https://files.pythonhosted.org/packages/88/cf/f2d955c8c5c6c67cc86ba6fb132c47c710465ebe6a6dcec1c3b6e250660e/tiktoken-0.14.0-cp310-cp310-win_amd64.whl", hash = "sha256:c6cb9896a82b9ee44e15ba0b5c8044072f2e4d48acaa704c8d3feeef5ad9487c", size = 944146, upload-time = "2026-08-17T19:48:39.011Z" }, + { url = "https://files.pythonhosted.org/packages/8f/c5/9d848b7f408241171e1f843deb8bfa626086452bc9c78beee500829583e3/tiktoken-0.14.0-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:c2edf09b381fafbc014ae8e018ed25087abb9a3dafa8465a0ea63c6558c47a79", size = 1094971, upload-time = "2026-08-17T19:48:40.347Z" }, + { url = "https://files.pythonhosted.org/packages/2d/a9/d94302340304328961d6f0c35ca4e60617fbb57a5cf667e2ed1692cb9e57/tiktoken-0.14.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:cd8ca1305c1c902fe42c486165f2e4808d9997625c98ffb05b9e0366d99d3948", size = 1042916, upload-time = "2026-08-17T19:48:41.541Z" }, + { url = "https://files.pythonhosted.org/packages/c8/b6/31da98ee871383509cae2ba96a9ddef1965e3c4f8cb6dc7bcda3379398db/tiktoken-0.14.0-cp311-cp311-manylinux_2_28_aarch64.whl", hash = "sha256:1f83081065ee5833d35b49e9180f3d8d15622a603dd1c435da0da6cc12b3662f", size = 1188650, upload-time = "2026-08-17T19:48:42.729Z" }, + { url = "https://files.pythonhosted.org/packages/24/65/8c5dddd7cb67f6571d154a58d7c6e2f07da54bf84c49b6a1839965b7c35e/tiktoken-0.14.0-cp311-cp311-manylinux_2_28_x86_64.whl", hash = "sha256:f5e7665f6624e052e5e7f6a36919ab69279decdc976d7b16b4fa15e1897d0513", size = 1206378, upload-time = "2026-08-17T19:48:44.013Z" }, + { url = "https://files.pythonhosted.org/packages/d1/04/522ec59d30dd9a2f3ab837011cd4fc5d1178dc4a2fa07c9fa4b90af6ba9d/tiktoken-0.14.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:144a3fc369f92b7d548995217c5d6e84038d3572157a0f6f34080d65291d0f78", size = 1253694, upload-time = "2026-08-17T19:48:45.597Z" }, + { url = "https://files.pythonhosted.org/packages/69/84/9019e272bad188a1c61ecf44f25a9ba2368744644e3ac1f3d6516f3c9e80/tiktoken-0.14.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:151d37a150c8f3dfc5f4345597b10e101876bd1bd13494e0185af6b508758d2e", size = 1317873, upload-time = "2026-08-17T19:48:46.792Z" }, + { url = "https://files.pythonhosted.org/packages/24/7f/fff1217240343c0c11b5938b98aeae0e3a266cacfac25f86f91cdcd748f0/tiktoken-0.14.0-cp311-cp311-win_amd64.whl", hash = "sha256:c77d4a3e1deb2707819df92046b89aad1ac81d27e07616b797cbff3f62c037da", size = 944395, upload-time = "2026-08-17T19:48:48.028Z" }, + { url = "https://files.pythonhosted.org/packages/8c/da/e273746b9d24a63c776bc60fba914351573ad9c575b52601eb5e60632564/tiktoken-0.14.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:8e947aefe98ef74cce94923f90e48c98fe34eb1ec0a6bfdfadfc5a96359bfc36", size = 1094408, upload-time = "2026-08-17T19:48:49.269Z" }, + { url = "https://files.pythonhosted.org/packages/69/9f/fe6b1aca23331aa5271df5a4bd07bf68a7059254d47faee1b8272592a777/tiktoken-0.14.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:d6cebe67765569df3dafac8474e4eccf5c19d24140492567a5e58a11445732a4", size = 1038499, upload-time = "2026-08-17T19:48:50.666Z" }, + { url = "https://files.pythonhosted.org/packages/0b/35/e9f47647c9e163bd1de30fe1a491669b7248cfc67b7404c35c009a701e1a/tiktoken-0.14.0-cp312-cp312-manylinux_2_28_aarch64.whl", hash = "sha256:7db45b98e94adf4173a5cd7422b150999a7ee11ff847783a14f6e1b80cc38cb6", size = 1186355, upload-time = "2026-08-17T19:48:51.93Z" }, + { url = "https://files.pythonhosted.org/packages/51/11/9976ad86980a00cdef05e730a0127a2578a1bc6d11644d8d47246de2eb26/tiktoken-0.14.0-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:7896eea257fe497a2b7134474d909156c6744ce8da35bce88011a960e008aa0d", size = 1204197, upload-time = "2026-08-17T19:48:53.18Z" }, + { url = "https://files.pythonhosted.org/packages/d4/9c/7035b0bcfaa68d1ee4803fc5be5214ad865669b05bd20e7105ae8a18afc6/tiktoken-0.14.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:b950248272f1b303dc32986396e2dccfa10cf6d1e83ec8f0bba1776660305482", size = 1250635, upload-time = "2026-08-17T19:48:54.392Z" }, + { url = "https://files.pythonhosted.org/packages/bc/1d/69cabf18bed7f4366da076735816abce0d4db3fae491ae338a6612128777/tiktoken-0.14.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:3de75343041a1c57333b1e707ac8a9769738241d7d6a55d39e12cf84548337c6", size = 1316085, upload-time = "2026-08-17T19:48:55.525Z" }, + { url = "https://files.pythonhosted.org/packages/bd/bd/a2e884fb1402cba5be08836590320012b2d8ada0e2eef9911a64df4bcd2d/tiktoken-0.14.0-cp312-cp312-win_amd64.whl", hash = "sha256:087538c080e5ff421abd3a0785ed63c5111d06af98e6cd0d374dbe5969147ca3", size = 941208, upload-time = "2026-08-17T19:48:56.938Z" }, + { url = "https://files.pythonhosted.org/packages/50/53/ee1453623bf65f019328721ccb6587846d2c5b7b82f34e73ca09101f072e/tiktoken-0.14.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:e9c5fe393aab56469f04e432ff851216d3def3436cf5f07e442a240164bf500f", size = 1094198, upload-time = "2026-08-17T19:48:57.955Z" }, + { url = "https://files.pythonhosted.org/packages/ad/5f/6448cfe278c3664ba9ec5b5ac08344341f7dc3d42888476e215a14eda2be/tiktoken-0.14.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:cbe2cc3bba939bcdaf103e03df9d5039d33887080b315624be28ec69059e5f94", size = 1038820, upload-time = "2026-08-17T19:48:59.015Z" }, + { url = "https://files.pythonhosted.org/packages/69/3b/d67eac1bcce9dee3abe23aff5e3ded3116bbebaf67b80a0811c06d3806fc/tiktoken-0.14.0-cp313-cp313-manylinux_2_28_aarch64.whl", hash = "sha256:2157f52e4b4d7ac5ecc7457b3716834706e7ef9a46f5144029bfeb7cf71f4e06", size = 1186175, upload-time = "2026-08-17T19:49:00.068Z" }, + { url = "https://files.pythonhosted.org/packages/37/62/cae690d9783146b0f81f564ada0f8f611de68178c0c9c7e1e969f0516b48/tiktoken-0.14.0-cp313-cp313-manylinux_2_28_x86_64.whl", hash = "sha256:26e60f6a956ee171ab728b37b8439905d7ea1db435c30f9822f291e9861c861d", size = 1203884, upload-time = "2026-08-17T19:49:01.163Z" }, + { url = "https://files.pythonhosted.org/packages/b9/1e/633e30237b94e383cf814145499079f3bb9cdd4aeafc1bc42e01b0f810a6/tiktoken-0.14.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:380873f330b741c4435574f37edb20813d04603ace2d53e0a63560e1fec83010", size = 1250980, upload-time = "2026-08-17T19:49:02.274Z" }, + { url = "https://files.pythonhosted.org/packages/cb/56/4c12f07b812f84206f38d723eb1ebfdd34bad9309b5dbc0bee6bbcff4cbf/tiktoken-0.14.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:3fd7c14b1cb45b486c39fc9b3443bb341f3e2fc7e6f31247f3435a5836651632", size = 1315434, upload-time = "2026-08-17T19:49:03.434Z" }, + { url = "https://files.pythonhosted.org/packages/c9/e0/c65603f0c44811def666d3fbf611bf2af3b5e1ef613e06c19411419830b3/tiktoken-0.14.0-cp313-cp313-win_amd64.whl", hash = "sha256:90a762670c7f968184723769a06ed51f5cf5ce5dcd1e30164f25c72d85c2d1f1", size = 940883, upload-time = "2026-08-17T19:49:04.583Z" }, + { url = "https://files.pythonhosted.org/packages/59/b0/1cf129f4af8fc513931f931023def596b7c4bfc77026513cd9d851da9e88/tiktoken-0.14.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:e067f4cbcc5d036e8aff7fe7a6b530a8f4de2e4616ad9005a24a1879e24e6450", size = 1096273, upload-time = "2026-08-17T19:49:05.807Z" }, + { url = "https://files.pythonhosted.org/packages/62/85/2ae74575e321148484147e10b53c3b1717c59ebaa9edb4fe18b1f5c055f8/tiktoken-0.14.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:f2af4a336ea56d6c14f27741a0e1d8294a35dd0b038bcf990d232ebb54eb994b", size = 1040269, upload-time = "2026-08-17T19:49:06.943Z" }, + { url = "https://files.pythonhosted.org/packages/89/29/92a1120a12e4bcf2d5464350d1a91b68a433d63ce656bb7f806c27aec09c/tiktoken-0.14.0-cp314-cp314-manylinux_2_28_aarch64.whl", hash = "sha256:f702e0aeeb6506e57687e881c59e844ebe8f0a6a097ddafe20e3ab25f387be4e", size = 1186101, upload-time = "2026-08-17T19:49:08.102Z" }, + { url = "https://files.pythonhosted.org/packages/5b/7d/144af98dc5ad68108451a82e2f5a17f80e2663f5115058b8dfd215c1ad02/tiktoken-0.14.0-cp314-cp314-manylinux_2_28_x86_64.whl", hash = "sha256:e3442bbb2f0c588cec876061e37ae67b455b9df9978b003c8fe30e45f2ef5b42", size = 1204457, upload-time = "2026-08-17T19:49:09.28Z" }, + { url = "https://files.pythonhosted.org/packages/e6/1f/be7cb06ab2108f612f3e92e7b76cf391e192db0db37a984616f0cc32aafc/tiktoken-0.14.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:979c1524f753b662b0f3cd261b135afe6659cce33caaa7a5ea00dd1756b3055c", size = 1251716, upload-time = "2026-08-17T19:49:10.509Z" }, + { url = "https://files.pythonhosted.org/packages/ab/6b/81f158d0f90adb826cd704069c2129a046cb784a2a09861009519fc41cf4/tiktoken-0.14.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:2cc19ac87b41c9493c9778ff5847f0c8bbcf5bd0ec6b87ce06c1c802adc8a771", size = 1315432, upload-time = "2026-08-17T19:49:11.844Z" }, + { url = "https://files.pythonhosted.org/packages/fc/ec/f5fa35ec13f07279fdcaf3cc9c04bbb154ea591d23978651f2b672593e8a/tiktoken-0.14.0-cp314-cp314-win_amd64.whl", hash = "sha256:eceeff0c62419bc78d4b6e70a4762a4d25df3ae8f2d5946e3853ce93e7a57098", size = 988046, upload-time = "2026-08-17T19:49:13.282Z" }, + { url = "https://files.pythonhosted.org/packages/68/c9/7756717408d3d0dfea3f046c9466144b28afde39ff69d5808f2475dcd7f5/tiktoken-0.14.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:6eb94895c45f26bb8f5546e5fd8a069efcf6e3f108ea9d5cbe3bf6f7f3983438", size = 1096261, upload-time = "2026-08-17T19:49:14.351Z" }, + { url = "https://files.pythonhosted.org/packages/79/29/46ad8061f57bd9f8b2ea0aa82bf574e0f2aa040b0857a1582adba9957899/tiktoken-0.14.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:86951a971c53979ec857bd8c4a32dc227ab0fd33f6c12a3bd62d3fbf5f0bfcaa", size = 1040183, upload-time = "2026-08-17T19:49:15.707Z" }, + { url = "https://files.pythonhosted.org/packages/5a/7c/3184d17b868456f17b60b1a75f5ec0405618a43aa753336df341d8f11781/tiktoken-0.14.0-cp314-cp314t-manylinux_2_28_aarch64.whl", hash = "sha256:e2eca764c53490f8930dbce329e0769f11108d87d908282a80c5c130e26e7037", size = 1186719, upload-time = "2026-08-17T19:49:16.84Z" }, + { url = "https://files.pythonhosted.org/packages/0b/e8/46de4400d5bf859f640feee85bd7e32235f68ddf25db53c63be78e581e3a/tiktoken-0.14.0-cp314-cp314t-manylinux_2_28_x86_64.whl", hash = "sha256:26cc4b4840fa0e9f4b72ed489883e12f57e00d1021ca794720e3c29a12f0edef", size = 1204660, upload-time = "2026-08-17T19:49:17.987Z" }, + { url = "https://files.pythonhosted.org/packages/29/ce/af8964c38bc8226dd8950305b7a255fa33345d5572f78af7275a313d28e0/tiktoken-0.14.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:2fc834fbe3f6a0736905c36ab709537e6840dbd63b982dc9e0216ae7d305ba1a", size = 1250932, upload-time = "2026-08-17T19:49:19.28Z" }, + { url = "https://files.pythonhosted.org/packages/1d/4b/323631116fc986d9cc5bbeb2b8223c7c85e61a8bb94ea5ab4951023b149b/tiktoken-0.14.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:ca4db6ff5c5bf600f9b7761a0070ed44dfe5797a76bd432fb978bc480ef40c58", size = 1315190, upload-time = "2026-08-17T19:49:20.467Z" }, + { url = "https://files.pythonhosted.org/packages/18/8b/ba48a73729c9270989b36f37ab2ed5525e52690d715097c9fa791aaa5d05/tiktoken-0.14.0-cp314-cp314t-win_amd64.whl", hash = "sha256:7aab286a020660a039097912a088236b985d18a3090d73f136c4413d29d37ca0", size = 987717, upload-time = "2026-08-17T19:49:21.704Z" }, + { url = "https://files.pythonhosted.org/packages/1d/10/b73b7e319179e0f60b32475f783b044f9cece872c53b6662664e9084b0d0/tiktoken-0.14.0-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:14b47e3674f2624803a8acc8fb367b7e24fc53055f9df3296482fe9a3a34a232", size = 1096280, upload-time = "2026-08-17T19:49:22.779Z" }, + { url = "https://files.pythonhosted.org/packages/c2/6b/09999a9bf1d559670d1680e8f8e419ac0e2c5f6aac82e9bfdf70f260b30a/tiktoken-0.14.0-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:19d643d701fdaa70e5b9c7f8f96abcaffe77ca5e482a3a1a7dde46feb4284695", size = 1040433, upload-time = "2026-08-17T19:49:23.998Z" }, + { url = "https://files.pythonhosted.org/packages/cd/7b/8537be0836f3df99b2a636b44399bfa43cd757f2b8b4097dacb794cf24a7/tiktoken-0.14.0-cp315-cp315-manylinux_2_28_aarch64.whl", hash = "sha256:e4ddf863b59347deaa92302dcd90e5eb003cdc9be06ec2b692c38d1bdd9efd49", size = 1186989, upload-time = "2026-08-17T19:49:25.021Z" }, + { url = "https://files.pythonhosted.org/packages/7c/9d/f9c56d7a943a4468abf9ef37661bb9b8e0cd3aa8aa87368c7146cc3f3222/tiktoken-0.14.0-cp315-cp315-manylinux_2_28_x86_64.whl", hash = "sha256:60c47ca69ddda0dea8256fffd12e1b86f4b59734a20e4a70c61f63cc5f021df4", size = 1204615, upload-time = "2026-08-17T19:49:26.37Z" }, + { url = "https://files.pythonhosted.org/packages/4b/d2/98a38579db25c4a8a84e31dd95d9072ec5f21f7e70de591da0412e29b25b/tiktoken-0.14.0-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:728303a072163130c5b477b1f20d6211895569c1d5302c24ffc93a3009160871", size = 1251828, upload-time = "2026-08-17T19:49:27.423Z" }, + { url = "https://files.pythonhosted.org/packages/0c/83/467be424746c039c5493c0f4102feab16b9b48eb6f5c089b2a2438e3cde2/tiktoken-0.14.0-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:3c5349c9f916283bba32bec8af69b763e4faa304dc004d0eaaea66a3cf004c1f", size = 1316260, upload-time = "2026-08-17T19:49:29.101Z" }, + { url = "https://files.pythonhosted.org/packages/02/ee/ddf46ca78e371f5890e96b6e7d089a85b3536432be219851eb0481786ca8/tiktoken-0.14.0-cp315-cp315-win_amd64.whl", hash = "sha256:1b6e4adcfd285c44502aed51df98aaaca4f0fea028165dbf8a9e857b9f98d8ea", size = 988230, upload-time = "2026-08-17T19:49:30.246Z" }, + { url = "https://files.pythonhosted.org/packages/2a/00/5162e90c851a28da18ed382d34898b79a8022548e5619a64e14c03ce7c3d/tiktoken-0.14.0-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:11d8211b290855d2721334ff17dd9b3a17bfb26872be01f25d73612ef7ece890", size = 1096186, upload-time = "2026-08-17T19:49:31.656Z" }, + { url = "https://files.pythonhosted.org/packages/65/97/a5a7bfccf25b1bb65e82bae8edff11ac3c9c041c374b7b4a823d60c38133/tiktoken-0.14.0-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:d0781223705199b289faa59601bb9c2441712d4c600dd13c43d8fd6a33d22cd5", size = 1039947, upload-time = "2026-08-17T19:49:32.848Z" }, + { url = "https://files.pythonhosted.org/packages/fb/ba/ef427fc638f1439181c5e12dd26b70e881861f89c007aa7e5b36300f8342/tiktoken-0.14.0-cp315-cp315t-manylinux_2_28_aarch64.whl", hash = "sha256:2ea70afba6b9eddbf22c165142e5f0a2ad7aa36a452873c48b57bb2aeb8492ae", size = 1186997, upload-time = "2026-08-17T19:49:34.121Z" }, + { url = "https://files.pythonhosted.org/packages/3e/88/2f3f85a968cdc514152129af0a060ebcccb067005a2f29b0d5ef3c838514/tiktoken-0.14.0-cp315-cp315t-manylinux_2_28_x86_64.whl", hash = "sha256:78571efc311c30b73f31eb949a921d6dac39a5d9dc42d1cfa8f8db157b3447b1", size = 1205211, upload-time = "2026-08-17T19:49:35.284Z" }, + { url = "https://files.pythonhosted.org/packages/4e/f6/80760e98a08e6649d2d68afb6035af713121dfb615acce8c4f73810ec438/tiktoken-0.14.0-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:86f66c85e796f5d05d5c4a60ec1d40cbfebc47a32464053528c797163fa9ab89", size = 1251479, upload-time = "2026-08-17T19:49:36.419Z" }, + { url = "https://files.pythonhosted.org/packages/c5/84/50966fb6918a0fb9b32721277e5342bf729a2d74350074d662fbedf9772e/tiktoken-0.14.0-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:149d97453c4c98c04b081d64a85e635921269b532710d6faf81e9e82b790e7d3", size = 1316673, upload-time = "2026-08-17T19:49:37.756Z" }, + { url = "https://files.pythonhosted.org/packages/35/5e/9b01afd037bfa22a0033963fa091e0f75b6fb15cd85bffb42ff86e697323/tiktoken-0.14.0-cp315-cp315t-win_amd64.whl", hash = "sha256:561e7580f84a79859af1ef6f676968e9030fcc3fe195700b15235bca64f009c9", size = 987929, upload-time = "2026-08-17T19:49:38.947Z" }, +] + +[[package]] +name = "tokenizers" +version = "0.23.3" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "huggingface-hub" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/e0/7c/2cabb2174e772636683008f2c5621949b645da7d303c596589e84516a184/tokenizers-0.23.3.tar.gz", hash = "sha256:cded33237c77caeef62944d32aa9a7ef42bdce2b3497e18d137e072a8c4be438", size = 385286, upload-time = "2026-10-09T10:16:55.759Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/aa/2e/4ce5b9716f26e526eff6b0502ebed4ea8d7161f03b3c77617c9f25528e97/tokenizers-0.23.3-cp310-abi3-macosx_10_12_x86_64.whl", hash = "sha256:9d2b5c97daf61688c2ad1803ca851800feaba50fb68d5821779e9ea5880d968c", size = 3148800, upload-time = "2026-10-09T10:00:51.457Z" }, + { url = "https://files.pythonhosted.org/packages/b2/72/01e49f032bb346e5aaf06c10c74fe8aeec847173adbadd66eb7c53054bf2/tokenizers-0.23.3-cp310-abi3-macosx_11_0_arm64.whl", hash = "sha256:68649e97d5b43c44c031d8d848874a6eecae8f8fe40ea989aa777a5a83aca716", size = 3101381, upload-time = "2026-10-09T10:00:54.063Z" }, + { url = "https://files.pythonhosted.org/packages/15/fc/ae987741829b1cd547668c4c94be732ae3eefd1d74344e64c3d2ca714acd/tokenizers-0.23.3-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ec82e80e65a862275b97c3d90b7a523df8d9519ee48aeb4e9625b2cc909274e0", size = 3519944, upload-time = "2026-10-09T10:00:55.885Z" }, + { url = "https://files.pythonhosted.org/packages/1c/da/cc8f6c030afaf05fbddc608158fbb761dca46913cbeba6b112e59fc82e2a/tokenizers-0.23.3-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:c64a0713180ff16829d4e7f39a658b77ea11443af4e1aa46523692943c9b1414", size = 3397695, upload-time = "2026-10-09T10:00:57.444Z" }, + { url = "https://files.pythonhosted.org/packages/ec/f1/256f78d1365fa2cd3ea6db716883d74667c8cbb6a21f15fa5b89a773cdc2/tokenizers-0.23.3-cp310-abi3-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ddedfd4b3b4be6be24ff6ca645c4a37fddfd305f6f3e354c54cf10b715c48215", size = 3753125, upload-time = "2026-10-09T10:01:00.165Z" }, + { url = "https://files.pythonhosted.org/packages/60/93/eee007ac2fcbf4ecfce7fbc354826cf3611f56bdb886f3e91b1f7dd06b8f/tokenizers-0.23.3-cp310-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:2a89614730d7b80940a5d2ed9320e1ec8add5a745c6151d8d05071b7215505b6", size = 4018598, upload-time = "2026-10-09T10:01:02.05Z" }, + { url = "https://files.pythonhosted.org/packages/bf/f9/0c96c4739461fce9d8d865b416728081bf6230022d7163bd6244f35f4b31/tokenizers-0.23.3-cp310-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e88646b8580c5ad7f4361477f1298e9cc01771a1ee9aecfe32c47b8ff614cc38", size = 3602442, upload-time = "2026-10-09T10:01:03.77Z" }, + { url = "https://files.pythonhosted.org/packages/3a/40/6706b82693715581457c6d5423eaa7faae576bb0526c5738a57085eb4449/tokenizers-0.23.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:376851d22bcf9d650a5c3090bb83e6cf9e895fbf0595369fa4cd43c1f69b5f87", size = 3396193, upload-time = "2026-10-09T10:01:05.48Z" }, + { url = "https://files.pythonhosted.org/packages/fe/0c/85946de40e25b7364b8f1bcf56def129069acd5bb364b7c86a32919e1a23/tokenizers-0.23.3-cp310-abi3-manylinux_2_31_riscv64.whl", hash = "sha256:bf501c40b72d2d5c8623620210430e9cac1ce47a46e45b34107b70a1557d46b0", size = 3553483, upload-time = "2026-10-09T10:01:07.387Z" }, + { url = "https://files.pythonhosted.org/packages/f1/6b/8d615d92cad1d511ca5ab188d1c7c167f0b3d295cc0d96207f9f82d486d8/tokenizers-0.23.3-cp310-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:114e2b55ed177179d59f4ab98200a4471e11e78f9e4b5a922d146740f96fcf52", size = 9972248, upload-time = "2026-10-09T10:01:09.437Z" }, + { url = "https://files.pythonhosted.org/packages/c9/7d/a922e37ddd58d1b463bbc2ad08120c8f59c60b814cd353519a116b24f8ba/tokenizers-0.23.3-cp310-abi3-musllinux_1_2_armv7l.whl", hash = "sha256:d3407fb7b9c4d75dd68850ffd7180bc0a5d2dbaf0762d888e612f31fec3f9c6b", size = 9802957, upload-time = "2026-10-09T10:01:11.869Z" }, + { url = "https://files.pythonhosted.org/packages/4b/06/5d3f506a86ae0699a0e4ea05c05978f9aee169ef2c1d844e68c971cf8194/tokenizers-0.23.3-cp310-abi3-musllinux_1_2_i686.whl", hash = "sha256:84513ef0aeb8bf8f4ea11a2e8a7ac163ec5288aa115e649a59b470ac5c3107df", size = 10145487, upload-time = "2026-10-09T10:01:14.268Z" }, + { url = "https://files.pythonhosted.org/packages/26/e5/065625317690ea3548d834dad81f48ea1fd32e4964610e658e195d7fe28e/tokenizers-0.23.3-cp310-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:e05ab7baf7f47b406a95fea6f3b0a484b2ddcd9e1d14b68844c457eb755085a3", size = 10266026, upload-time = "2026-10-09T10:16:33.054Z" }, + { url = "https://files.pythonhosted.org/packages/77/4e/babede85d0d19f5e3deeef0063e01848141329934d3d77c31b5cab5ac2b4/tokenizers-0.23.3-cp310-abi3-win32.whl", hash = "sha256:1ebf28794e7e4954e20a7f70fbea410b2d1f0418f7dbbca97ca384fcfef38c25", size = 2588086, upload-time = "2026-10-09T10:16:35.686Z" }, + { url = "https://files.pythonhosted.org/packages/d1/6c/24f074c9a0efb98e61b20aafe6b2641922d5db24e447d5d6daffd9e17555/tokenizers-0.23.3-cp310-abi3-win_amd64.whl", hash = "sha256:1f0823bb00c5fdc98e487354d54dd55a03848d61a1a0bf29a68c77f24f3b26c3", size = 2872101, upload-time = "2026-10-09T10:16:37.533Z" }, + { url = "https://files.pythonhosted.org/packages/53/77/a476b6f73a661c11d113a342d2326b91506cf2285f0995d1212a6bb2022d/tokenizers-0.23.3-cp310-abi3-win_arm64.whl", hash = "sha256:7e48734d2de9260d86f03ab056d2cfeeff3869f61dbd49aaa15a2793b5f3458b", size = 2742580, upload-time = "2026-10-09T10:16:39.244Z" }, + { url = "https://files.pythonhosted.org/packages/65/46/f66baaedd42414a3f583c47379dc350e3e1f858a690d2574fd85ae70681b/tokenizers-0.23.3-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:efa3d7318406b4d115dce61ad5061953f1f44b128e79c020ce4615d763e23b6e", size = 3154274, upload-time = "2026-10-09T10:16:40.876Z" }, + { url = "https://files.pythonhosted.org/packages/c6/41/8de8c63b2d935eee5a0f42011fb7b786ffafeab0b8eb6d17acb8af2293b7/tokenizers-0.23.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:a4fbb3662f9f59d199d61338e54b4bcc11d07ebbb1aeb3540dacb2be9c521cb7", size = 3077805, upload-time = "2026-10-09T10:16:42.856Z" }, + { url = "https://files.pythonhosted.org/packages/e3/08/b1cbae8dc8fc7c91f992ac2d87a086e9b3f25a28814047ca16a82fe8c87b/tokenizers-0.23.3-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:de536665495cb4b409d25bade41963f801aff4225c19a6b804b048f7d14e34c7", size = 3491678, upload-time = "2026-10-09T10:16:45.093Z" }, + { url = "https://files.pythonhosted.org/packages/3e/0d/aac0cb2f3a1fdbef514145b4c5f2df4d05deeb1ee8f73ae641a1b4a62a85/tokenizers-0.23.3-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5cc24bb457dd4a8af89c8fcb40074d570129ec473df2a866c276ee55db4749d7", size = 3367420, upload-time = "2026-10-09T10:16:47.112Z" }, + { url = "https://files.pythonhosted.org/packages/1e/1d/41a697d0c193a320b243fbd68b2057b6eb2f01ecf80899e1a16e646ff699/tokenizers-0.23.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:acd5c57b4bd3e56e246e2731a3a3a6825a7a7d89b7e3b761ba80bc521710f04b", size = 9945973, upload-time = "2026-10-09T10:16:49.326Z" }, + { url = "https://files.pythonhosted.org/packages/37/e9/b56e619fcd583000a2b1254bb46af8dc6a174d3ba3329f454ad5a95a2be2/tokenizers-0.23.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:82eb480f6f1c21cea3349dec32cf1a6384c6c1e775f00f83b0d51197bc013687", size = 10237491, upload-time = "2026-10-09T10:16:51.943Z" }, + { url = "https://files.pythonhosted.org/packages/6f/68/f58b3beb95f3b62816e91e5e768e684cd63e58f9cbece22036dae3b1c971/tokenizers-0.23.3-cp314-cp314t-win_amd64.whl", hash = "sha256:1554a6eed34d9d6a78d23360f4e06df8dffab1ae08c7e8488e0b3e3b36cc266f", size = 2847654, upload-time = "2026-10-09T10:16:54.166Z" }, +] + [[package]] name = "tomli" version = "2.2.1" @@ -2938,6 +4444,27 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/6a/43/8bd850ee71a191bf072e31302c73a66be413fecdd98fdcd111ecbcce13ca/tomlkit-0.15.0-py3-none-any.whl", hash = "sha256:4dbc8f0fc024412b57ced8757ac7461305126a648ff8c2c807fcb8e133a78738", size = 41328, upload-time = "2026-05-10T07:38:23.517Z" }, ] +[[package]] +name = "tqdm" +version = "4.70.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "colorama", marker = "sys_platform == 'win32'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/0d/ea/b2a5bd54b28a324dae8211928b2d730b6547500342c7e6c6dea08bd0a485/tqdm-4.70.1.tar.gz", hash = "sha256:cefd0eca11b2a37a3aee776544d4f4ae913f02688135b5556b8788dfa474afc4", size = 171846, upload-time = "2026-09-11T07:25:16.601Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a7/03/921a3d3c75785aca9ebfbfcabfbc3a1be12e2ab5265deb026d55a5a3f83e/tqdm-4.70.1-py3-none-any.whl", hash = "sha256:c293e525e6fef9c20e8728fd4612df02a0aa31bb5fe91ecd93e123b1b7bffa73", size = 80199, upload-time = "2026-09-11T07:25:14.599Z" }, +] + +[[package]] +name = "truststore" +version = "0.10.5" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/ee/9f/c5201d42a484c061e528825fc8e2d565f5abd50a4ced6fb7d29c4ec99b2b/truststore-0.10.5.tar.gz", hash = "sha256:30d36967ccaded5cbb38d602c433f53600036c79d502f4533a49b60a03bbefcd", size = 28091, upload-time = "2026-10-12T22:27:31.808Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/51/e9/3a7820be2bb0fe53b6bc9c3be26d3d1158004e4c3ab953aa6840b955b1e9/truststore-0.10.5-py3-none-any.whl", hash = "sha256:9aaaedaefaf06d8b206278cf8b5012bc897f485a874503501e12d776df78951c", size = 19017, upload-time = "2026-10-12T22:27:30.377Z" }, +] + [[package]] name = "typing-extensions" version = "4.15.0" @@ -2958,7 +4485,8 @@ resolution-markers = [ "python_full_version >= '3.15'", "python_full_version == '3.14.*'", "python_full_version == '3.13.*'", - "python_full_version >= '3.11' and python_full_version < '3.13'", + "python_full_version == '3.12.*'", + "python_full_version == '3.11.*'", ] sdist = { url = "https://files.pythonhosted.org/packages/f6/cc/6253133b5bb138fc3306cebfbda2c520f545d36b5be2c7255cc528bb45d6/typing_extensions-4.16.0.tar.gz", hash = "sha256:dc983d19a509c94dba722ee6abd33940f7c05a89e243c47e907eb4db6f1a43e5", size = 113555, upload-time = "2026-07-02T08:40:05.92Z" } wheels = [ @@ -3012,99 +4540,159 @@ wheels = [ [[package]] name = "yarl" -version = "1.20.1" +version = "1.25.1" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "idna" }, { name = "multidict" }, { name = "propcache" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/3c/fb/efaa23fa4e45537b827620f04cf8f3cd658b76642205162e072703a5b963/yarl-1.20.1.tar.gz", hash = "sha256:d017a4997ee50c91fd5466cef416231bb82177b93b029906cefc542ce14c35ac", size = 186428, upload-time = "2025-06-10T00:46:09.923Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/cb/65/7fed0d774abf47487c64be14e9223749468922817b5e8792b8a64792a1bb/yarl-1.20.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:6032e6da6abd41e4acda34d75a816012717000fa6839f37124a47fcefc49bec4", size = 132910, upload-time = "2025-06-10T00:42:31.108Z" }, - { url = "https://files.pythonhosted.org/packages/8a/7b/988f55a52da99df9e56dc733b8e4e5a6ae2090081dc2754fc8fd34e60aa0/yarl-1.20.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:2c7b34d804b8cf9b214f05015c4fee2ebe7ed05cf581e7192c06555c71f4446a", size = 90644, upload-time = "2025-06-10T00:42:33.851Z" }, - { url = "https://files.pythonhosted.org/packages/f7/de/30d98f03e95d30c7e3cc093759982d038c8833ec2451001d45ef4854edc1/yarl-1.20.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:0c869f2651cc77465f6cd01d938d91a11d9ea5d798738c1dc077f3de0b5e5fed", size = 89322, upload-time = "2025-06-10T00:42:35.688Z" }, - { url = "https://files.pythonhosted.org/packages/e0/7a/f2f314f5ebfe9200724b0b748de2186b927acb334cf964fd312eb86fc286/yarl-1.20.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:62915e6688eb4d180d93840cda4110995ad50c459bf931b8b3775b37c264af1e", size = 323786, upload-time = "2025-06-10T00:42:37.817Z" }, - { url = "https://files.pythonhosted.org/packages/15/3f/718d26f189db96d993d14b984ce91de52e76309d0fd1d4296f34039856aa/yarl-1.20.1-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:41ebd28167bc6af8abb97fec1a399f412eec5fd61a3ccbe2305a18b84fb4ca73", size = 319627, upload-time = "2025-06-10T00:42:39.937Z" }, - { url = "https://files.pythonhosted.org/packages/a5/76/8fcfbf5fa2369157b9898962a4a7d96764b287b085b5b3d9ffae69cdefd1/yarl-1.20.1-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:21242b4288a6d56f04ea193adde174b7e347ac46ce6bc84989ff7c1b1ecea84e", size = 339149, upload-time = "2025-06-10T00:42:42.627Z" }, - { url = "https://files.pythonhosted.org/packages/3c/95/d7fc301cc4661785967acc04f54a4a42d5124905e27db27bb578aac49b5c/yarl-1.20.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:bea21cdae6c7eb02ba02a475f37463abfe0a01f5d7200121b03e605d6a0439f8", size = 333327, upload-time = "2025-06-10T00:42:44.842Z" }, - { url = "https://files.pythonhosted.org/packages/65/94/e21269718349582eee81efc5c1c08ee71c816bfc1585b77d0ec3f58089eb/yarl-1.20.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1f8a891e4a22a89f5dde7862994485e19db246b70bb288d3ce73a34422e55b23", size = 326054, upload-time = "2025-06-10T00:42:47.149Z" }, - { url = "https://files.pythonhosted.org/packages/32/ae/8616d1f07853704523519f6131d21f092e567c5af93de7e3e94b38d7f065/yarl-1.20.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:dd803820d44c8853a109a34e3660e5a61beae12970da479cf44aa2954019bf70", size = 315035, upload-time = "2025-06-10T00:42:48.852Z" }, - { url = "https://files.pythonhosted.org/packages/48/aa/0ace06280861ef055855333707db5e49c6e3a08840a7ce62682259d0a6c0/yarl-1.20.1-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:b982fa7f74c80d5c0c7b5b38f908971e513380a10fecea528091405f519b9ebb", size = 338962, upload-time = "2025-06-10T00:42:51.024Z" }, - { url = "https://files.pythonhosted.org/packages/20/52/1e9d0e6916f45a8fb50e6844f01cb34692455f1acd548606cbda8134cd1e/yarl-1.20.1-cp310-cp310-musllinux_1_2_armv7l.whl", hash = "sha256:33f29ecfe0330c570d997bcf1afd304377f2e48f61447f37e846a6058a4d33b2", size = 335399, upload-time = "2025-06-10T00:42:53.007Z" }, - { url = "https://files.pythonhosted.org/packages/f2/65/60452df742952c630e82f394cd409de10610481d9043aa14c61bf846b7b1/yarl-1.20.1-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:835ab2cfc74d5eb4a6a528c57f05688099da41cf4957cf08cad38647e4a83b30", size = 338649, upload-time = "2025-06-10T00:42:54.964Z" }, - { url = "https://files.pythonhosted.org/packages/7b/f5/6cd4ff38dcde57a70f23719a838665ee17079640c77087404c3d34da6727/yarl-1.20.1-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:46b5e0ccf1943a9a6e766b2c2b8c732c55b34e28be57d8daa2b3c1d1d4009309", size = 358563, upload-time = "2025-06-10T00:42:57.28Z" }, - { url = "https://files.pythonhosted.org/packages/d1/90/c42eefd79d0d8222cb3227bdd51b640c0c1d0aa33fe4cc86c36eccba77d3/yarl-1.20.1-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:df47c55f7d74127d1b11251fe6397d84afdde0d53b90bedb46a23c0e534f9d24", size = 357609, upload-time = "2025-06-10T00:42:59.055Z" }, - { url = "https://files.pythonhosted.org/packages/03/c8/cea6b232cb4617514232e0f8a718153a95b5d82b5290711b201545825532/yarl-1.20.1-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:76d12524d05841276b0e22573f28d5fbcb67589836772ae9244d90dd7d66aa13", size = 350224, upload-time = "2025-06-10T00:43:01.248Z" }, - { url = "https://files.pythonhosted.org/packages/ce/a3/eaa0ab9712f1f3d01faf43cf6f1f7210ce4ea4a7e9b28b489a2261ca8db9/yarl-1.20.1-cp310-cp310-win32.whl", hash = "sha256:6c4fbf6b02d70e512d7ade4b1f998f237137f1417ab07ec06358ea04f69134f8", size = 81753, upload-time = "2025-06-10T00:43:03.486Z" }, - { url = "https://files.pythonhosted.org/packages/8f/34/e4abde70a9256465fe31c88ed02c3f8502b7b5dead693a4f350a06413f28/yarl-1.20.1-cp310-cp310-win_amd64.whl", hash = "sha256:aef6c4d69554d44b7f9d923245f8ad9a707d971e6209d51279196d8e8fe1ae16", size = 86817, upload-time = "2025-06-10T00:43:05.231Z" }, - { url = "https://files.pythonhosted.org/packages/b1/18/893b50efc2350e47a874c5c2d67e55a0ea5df91186b2a6f5ac52eff887cd/yarl-1.20.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:47ee6188fea634bdfaeb2cc420f5b3b17332e6225ce88149a17c413c77ff269e", size = 133833, upload-time = "2025-06-10T00:43:07.393Z" }, - { url = "https://files.pythonhosted.org/packages/89/ed/b8773448030e6fc47fa797f099ab9eab151a43a25717f9ac043844ad5ea3/yarl-1.20.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:d0f6500f69e8402d513e5eedb77a4e1818691e8f45e6b687147963514d84b44b", size = 91070, upload-time = "2025-06-10T00:43:09.538Z" }, - { url = "https://files.pythonhosted.org/packages/e3/e3/409bd17b1e42619bf69f60e4f031ce1ccb29bd7380117a55529e76933464/yarl-1.20.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:7a8900a42fcdaad568de58887c7b2f602962356908eedb7628eaf6021a6e435b", size = 89818, upload-time = "2025-06-10T00:43:11.575Z" }, - { url = "https://files.pythonhosted.org/packages/f8/77/64d8431a4d77c856eb2d82aa3de2ad6741365245a29b3a9543cd598ed8c5/yarl-1.20.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bad6d131fda8ef508b36be3ece16d0902e80b88ea7200f030a0f6c11d9e508d4", size = 347003, upload-time = "2025-06-10T00:43:14.088Z" }, - { url = "https://files.pythonhosted.org/packages/8d/d2/0c7e4def093dcef0bd9fa22d4d24b023788b0a33b8d0088b51aa51e21e99/yarl-1.20.1-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:df018d92fe22aaebb679a7f89fe0c0f368ec497e3dda6cb81a567610f04501f1", size = 336537, upload-time = "2025-06-10T00:43:16.431Z" }, - { url = "https://files.pythonhosted.org/packages/f0/f3/fc514f4b2cf02cb59d10cbfe228691d25929ce8f72a38db07d3febc3f706/yarl-1.20.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8f969afbb0a9b63c18d0feecf0db09d164b7a44a053e78a7d05f5df163e43833", size = 362358, upload-time = "2025-06-10T00:43:18.704Z" }, - { url = "https://files.pythonhosted.org/packages/ea/6d/a313ac8d8391381ff9006ac05f1d4331cee3b1efaa833a53d12253733255/yarl-1.20.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:812303eb4aa98e302886ccda58d6b099e3576b1b9276161469c25803a8db277d", size = 357362, upload-time = "2025-06-10T00:43:20.888Z" }, - { url = "https://files.pythonhosted.org/packages/00/70/8f78a95d6935a70263d46caa3dd18e1f223cf2f2ff2037baa01a22bc5b22/yarl-1.20.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:98c4a7d166635147924aa0bf9bfe8d8abad6fffa6102de9c99ea04a1376f91e8", size = 348979, upload-time = "2025-06-10T00:43:23.169Z" }, - { url = "https://files.pythonhosted.org/packages/cb/05/42773027968968f4f15143553970ee36ead27038d627f457cc44bbbeecf3/yarl-1.20.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:12e768f966538e81e6e7550f9086a6236b16e26cd964cf4df35349970f3551cf", size = 337274, upload-time = "2025-06-10T00:43:27.111Z" }, - { url = "https://files.pythonhosted.org/packages/05/be/665634aa196954156741ea591d2f946f1b78ceee8bb8f28488bf28c0dd62/yarl-1.20.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:fe41919b9d899661c5c28a8b4b0acf704510b88f27f0934ac7a7bebdd8938d5e", size = 363294, upload-time = "2025-06-10T00:43:28.96Z" }, - { url = "https://files.pythonhosted.org/packages/eb/90/73448401d36fa4e210ece5579895731f190d5119c4b66b43b52182e88cd5/yarl-1.20.1-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:8601bc010d1d7780592f3fc1bdc6c72e2b6466ea34569778422943e1a1f3c389", size = 358169, upload-time = "2025-06-10T00:43:30.701Z" }, - { url = "https://files.pythonhosted.org/packages/c3/b0/fce922d46dc1eb43c811f1889f7daa6001b27a4005587e94878570300881/yarl-1.20.1-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:daadbdc1f2a9033a2399c42646fbd46da7992e868a5fe9513860122d7fe7a73f", size = 362776, upload-time = "2025-06-10T00:43:32.51Z" }, - { url = "https://files.pythonhosted.org/packages/f1/0d/b172628fce039dae8977fd22caeff3eeebffd52e86060413f5673767c427/yarl-1.20.1-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:03aa1e041727cb438ca762628109ef1333498b122e4c76dd858d186a37cec845", size = 381341, upload-time = "2025-06-10T00:43:34.543Z" }, - { url = "https://files.pythonhosted.org/packages/6b/9b/5b886d7671f4580209e855974fe1cecec409aa4a89ea58b8f0560dc529b1/yarl-1.20.1-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:642980ef5e0fa1de5fa96d905c7e00cb2c47cb468bfcac5a18c58e27dbf8d8d1", size = 379988, upload-time = "2025-06-10T00:43:36.489Z" }, - { url = "https://files.pythonhosted.org/packages/73/be/75ef5fd0fcd8f083a5d13f78fd3f009528132a1f2a1d7c925c39fa20aa79/yarl-1.20.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:86971e2795584fe8c002356d3b97ef6c61862720eeff03db2a7c86b678d85b3e", size = 371113, upload-time = "2025-06-10T00:43:38.592Z" }, - { url = "https://files.pythonhosted.org/packages/50/4f/62faab3b479dfdcb741fe9e3f0323e2a7d5cd1ab2edc73221d57ad4834b2/yarl-1.20.1-cp311-cp311-win32.whl", hash = "sha256:597f40615b8d25812f14562699e287f0dcc035d25eb74da72cae043bb884d773", size = 81485, upload-time = "2025-06-10T00:43:41.038Z" }, - { url = "https://files.pythonhosted.org/packages/f0/09/d9c7942f8f05c32ec72cd5c8e041c8b29b5807328b68b4801ff2511d4d5e/yarl-1.20.1-cp311-cp311-win_amd64.whl", hash = "sha256:26ef53a9e726e61e9cd1cda6b478f17e350fb5800b4bd1cd9fe81c4d91cfeb2e", size = 86686, upload-time = "2025-06-10T00:43:42.692Z" }, - { url = "https://files.pythonhosted.org/packages/5f/9a/cb7fad7d73c69f296eda6815e4a2c7ed53fc70c2f136479a91c8e5fbdb6d/yarl-1.20.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:bdcc4cd244e58593a4379fe60fdee5ac0331f8eb70320a24d591a3be197b94a9", size = 133667, upload-time = "2025-06-10T00:43:44.369Z" }, - { url = "https://files.pythonhosted.org/packages/67/38/688577a1cb1e656e3971fb66a3492501c5a5df56d99722e57c98249e5b8a/yarl-1.20.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:b29a2c385a5f5b9c7d9347e5812b6f7ab267193c62d282a540b4fc528c8a9d2a", size = 91025, upload-time = "2025-06-10T00:43:46.295Z" }, - { url = "https://files.pythonhosted.org/packages/50/ec/72991ae51febeb11a42813fc259f0d4c8e0507f2b74b5514618d8b640365/yarl-1.20.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:1112ae8154186dfe2de4732197f59c05a83dc814849a5ced892b708033f40dc2", size = 89709, upload-time = "2025-06-10T00:43:48.22Z" }, - { url = "https://files.pythonhosted.org/packages/99/da/4d798025490e89426e9f976702e5f9482005c548c579bdae792a4c37769e/yarl-1.20.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:90bbd29c4fe234233f7fa2b9b121fb63c321830e5d05b45153a2ca68f7d310ee", size = 352287, upload-time = "2025-06-10T00:43:49.924Z" }, - { url = "https://files.pythonhosted.org/packages/1a/26/54a15c6a567aac1c61b18aa0f4b8aa2e285a52d547d1be8bf48abe2b3991/yarl-1.20.1-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:680e19c7ce3710ac4cd964e90dad99bf9b5029372ba0c7cbfcd55e54d90ea819", size = 345429, upload-time = "2025-06-10T00:43:51.7Z" }, - { url = "https://files.pythonhosted.org/packages/d6/95/9dcf2386cb875b234353b93ec43e40219e14900e046bf6ac118f94b1e353/yarl-1.20.1-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4a979218c1fdb4246a05efc2cc23859d47c89af463a90b99b7c56094daf25a16", size = 365429, upload-time = "2025-06-10T00:43:53.494Z" }, - { url = "https://files.pythonhosted.org/packages/91/b2/33a8750f6a4bc224242a635f5f2cff6d6ad5ba651f6edcccf721992c21a0/yarl-1.20.1-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:255b468adf57b4a7b65d8aad5b5138dce6a0752c139965711bdcb81bc370e1b6", size = 363862, upload-time = "2025-06-10T00:43:55.766Z" }, - { url = "https://files.pythonhosted.org/packages/98/28/3ab7acc5b51f4434b181b0cee8f1f4b77a65919700a355fb3617f9488874/yarl-1.20.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a97d67108e79cfe22e2b430d80d7571ae57d19f17cda8bb967057ca8a7bf5bfd", size = 355616, upload-time = "2025-06-10T00:43:58.056Z" }, - { url = "https://files.pythonhosted.org/packages/36/a3/f666894aa947a371724ec7cd2e5daa78ee8a777b21509b4252dd7bd15e29/yarl-1.20.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8570d998db4ddbfb9a590b185a0a33dbf8aafb831d07a5257b4ec9948df9cb0a", size = 339954, upload-time = "2025-06-10T00:43:59.773Z" }, - { url = "https://files.pythonhosted.org/packages/f1/81/5f466427e09773c04219d3450d7a1256138a010b6c9f0af2d48565e9ad13/yarl-1.20.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:97c75596019baae7c71ccf1d8cc4738bc08134060d0adfcbe5642f778d1dca38", size = 365575, upload-time = "2025-06-10T00:44:02.051Z" }, - { url = "https://files.pythonhosted.org/packages/2e/e3/e4b0ad8403e97e6c9972dd587388940a032f030ebec196ab81a3b8e94d31/yarl-1.20.1-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:1c48912653e63aef91ff988c5432832692ac5a1d8f0fb8a33091520b5bbe19ef", size = 365061, upload-time = "2025-06-10T00:44:04.196Z" }, - { url = "https://files.pythonhosted.org/packages/ac/99/b8a142e79eb86c926f9f06452eb13ecb1bb5713bd01dc0038faf5452e544/yarl-1.20.1-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:4c3ae28f3ae1563c50f3d37f064ddb1511ecc1d5584e88c6b7c63cf7702a6d5f", size = 364142, upload-time = "2025-06-10T00:44:06.527Z" }, - { url = "https://files.pythonhosted.org/packages/34/f2/08ed34a4a506d82a1a3e5bab99ccd930a040f9b6449e9fd050320e45845c/yarl-1.20.1-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:c5e9642f27036283550f5f57dc6156c51084b458570b9d0d96100c8bebb186a8", size = 381894, upload-time = "2025-06-10T00:44:08.379Z" }, - { url = "https://files.pythonhosted.org/packages/92/f8/9a3fbf0968eac704f681726eff595dce9b49c8a25cd92bf83df209668285/yarl-1.20.1-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:2c26b0c49220d5799f7b22c6838409ee9bc58ee5c95361a4d7831f03cc225b5a", size = 383378, upload-time = "2025-06-10T00:44:10.51Z" }, - { url = "https://files.pythonhosted.org/packages/af/85/9363f77bdfa1e4d690957cd39d192c4cacd1c58965df0470a4905253b54f/yarl-1.20.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:564ab3d517e3d01c408c67f2e5247aad4019dcf1969982aba3974b4093279004", size = 374069, upload-time = "2025-06-10T00:44:12.834Z" }, - { url = "https://files.pythonhosted.org/packages/35/99/9918c8739ba271dcd935400cff8b32e3cd319eaf02fcd023d5dcd487a7c8/yarl-1.20.1-cp312-cp312-win32.whl", hash = "sha256:daea0d313868da1cf2fac6b2d3a25c6e3a9e879483244be38c8e6a41f1d876a5", size = 81249, upload-time = "2025-06-10T00:44:14.731Z" }, - { url = "https://files.pythonhosted.org/packages/eb/83/5d9092950565481b413b31a23e75dd3418ff0a277d6e0abf3729d4d1ce25/yarl-1.20.1-cp312-cp312-win_amd64.whl", hash = "sha256:48ea7d7f9be0487339828a4de0360d7ce0efc06524a48e1810f945c45b813698", size = 86710, upload-time = "2025-06-10T00:44:16.716Z" }, - { url = "https://files.pythonhosted.org/packages/8a/e1/2411b6d7f769a07687acee88a062af5833cf1966b7266f3d8dfb3d3dc7d3/yarl-1.20.1-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:0b5ff0fbb7c9f1b1b5ab53330acbfc5247893069e7716840c8e7d5bb7355038a", size = 131811, upload-time = "2025-06-10T00:44:18.933Z" }, - { url = "https://files.pythonhosted.org/packages/b2/27/584394e1cb76fb771371770eccad35de400e7b434ce3142c2dd27392c968/yarl-1.20.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:14f326acd845c2b2e2eb38fb1346c94f7f3b01a4f5c788f8144f9b630bfff9a3", size = 90078, upload-time = "2025-06-10T00:44:20.635Z" }, - { url = "https://files.pythonhosted.org/packages/bf/9a/3246ae92d4049099f52d9b0fe3486e3b500e29b7ea872d0f152966fc209d/yarl-1.20.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:f60e4ad5db23f0b96e49c018596707c3ae89f5d0bd97f0ad3684bcbad899f1e7", size = 88748, upload-time = "2025-06-10T00:44:22.34Z" }, - { url = "https://files.pythonhosted.org/packages/a3/25/35afe384e31115a1a801fbcf84012d7a066d89035befae7c5d4284df1e03/yarl-1.20.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:49bdd1b8e00ce57e68ba51916e4bb04461746e794e7c4d4bbc42ba2f18297691", size = 349595, upload-time = "2025-06-10T00:44:24.314Z" }, - { url = "https://files.pythonhosted.org/packages/28/2d/8aca6cb2cabc8f12efcb82749b9cefecbccfc7b0384e56cd71058ccee433/yarl-1.20.1-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:66252d780b45189975abfed839616e8fd2dbacbdc262105ad7742c6ae58f3e31", size = 342616, upload-time = "2025-06-10T00:44:26.167Z" }, - { url = "https://files.pythonhosted.org/packages/0b/e9/1312633d16b31acf0098d30440ca855e3492d66623dafb8e25b03d00c3da/yarl-1.20.1-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:59174e7332f5d153d8f7452a102b103e2e74035ad085f404df2e40e663a22b28", size = 361324, upload-time = "2025-06-10T00:44:27.915Z" }, - { url = "https://files.pythonhosted.org/packages/bc/a0/688cc99463f12f7669eec7c8acc71ef56a1521b99eab7cd3abb75af887b0/yarl-1.20.1-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e3968ec7d92a0c0f9ac34d5ecfd03869ec0cab0697c91a45db3fbbd95fe1b653", size = 359676, upload-time = "2025-06-10T00:44:30.041Z" }, - { url = "https://files.pythonhosted.org/packages/af/44/46407d7f7a56e9a85a4c207724c9f2c545c060380718eea9088f222ba697/yarl-1.20.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d1a4fbb50e14396ba3d375f68bfe02215d8e7bc3ec49da8341fe3157f59d2ff5", size = 352614, upload-time = "2025-06-10T00:44:32.171Z" }, - { url = "https://files.pythonhosted.org/packages/b1/91/31163295e82b8d5485d31d9cf7754d973d41915cadce070491778d9c9825/yarl-1.20.1-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:11a62c839c3a8eac2410e951301309426f368388ff2f33799052787035793b02", size = 336766, upload-time = "2025-06-10T00:44:34.494Z" }, - { url = "https://files.pythonhosted.org/packages/b4/8e/c41a5bc482121f51c083c4c2bcd16b9e01e1cf8729e380273a952513a21f/yarl-1.20.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:041eaa14f73ff5a8986b4388ac6bb43a77f2ea09bf1913df7a35d4646db69e53", size = 364615, upload-time = "2025-06-10T00:44:36.856Z" }, - { url = "https://files.pythonhosted.org/packages/e3/5b/61a3b054238d33d70ea06ebba7e58597891b71c699e247df35cc984ab393/yarl-1.20.1-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:377fae2fef158e8fd9d60b4c8751387b8d1fb121d3d0b8e9b0be07d1b41e83dc", size = 360982, upload-time = "2025-06-10T00:44:39.141Z" }, - { url = "https://files.pythonhosted.org/packages/df/a3/6a72fb83f8d478cb201d14927bc8040af901811a88e0ff2da7842dd0ed19/yarl-1.20.1-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:1c92f4390e407513f619d49319023664643d3339bd5e5a56a3bebe01bc67ec04", size = 369792, upload-time = "2025-06-10T00:44:40.934Z" }, - { url = "https://files.pythonhosted.org/packages/7c/af/4cc3c36dfc7c077f8dedb561eb21f69e1e9f2456b91b593882b0b18c19dc/yarl-1.20.1-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:d25ddcf954df1754ab0f86bb696af765c5bfaba39b74095f27eececa049ef9a4", size = 382049, upload-time = "2025-06-10T00:44:42.854Z" }, - { url = "https://files.pythonhosted.org/packages/19/3a/e54e2c4752160115183a66dc9ee75a153f81f3ab2ba4bf79c3c53b33de34/yarl-1.20.1-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:909313577e9619dcff8c31a0ea2aa0a2a828341d92673015456b3ae492e7317b", size = 384774, upload-time = "2025-06-10T00:44:45.275Z" }, - { url = "https://files.pythonhosted.org/packages/9c/20/200ae86dabfca89060ec6447649f219b4cbd94531e425e50d57e5f5ac330/yarl-1.20.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:793fd0580cb9664548c6b83c63b43c477212c0260891ddf86809e1c06c8b08f1", size = 374252, upload-time = "2025-06-10T00:44:47.31Z" }, - { url = "https://files.pythonhosted.org/packages/83/75/11ee332f2f516b3d094e89448da73d557687f7d137d5a0f48c40ff211487/yarl-1.20.1-cp313-cp313-win32.whl", hash = "sha256:468f6e40285de5a5b3c44981ca3a319a4b208ccc07d526b20b12aeedcfa654b7", size = 81198, upload-time = "2025-06-10T00:44:49.164Z" }, - { url = "https://files.pythonhosted.org/packages/ba/ba/39b1ecbf51620b40ab402b0fc817f0ff750f6d92712b44689c2c215be89d/yarl-1.20.1-cp313-cp313-win_amd64.whl", hash = "sha256:495b4ef2fea40596bfc0affe3837411d6aa3371abcf31aac0ccc4bdd64d4ef5c", size = 86346, upload-time = "2025-06-10T00:44:51.182Z" }, - { url = "https://files.pythonhosted.org/packages/43/c7/669c52519dca4c95153c8ad96dd123c79f354a376346b198f438e56ffeb4/yarl-1.20.1-cp313-cp313t-macosx_10_13_universal2.whl", hash = "sha256:f60233b98423aab21d249a30eb27c389c14929f47be8430efa7dbd91493a729d", size = 138826, upload-time = "2025-06-10T00:44:52.883Z" }, - { url = "https://files.pythonhosted.org/packages/6a/42/fc0053719b44f6ad04a75d7f05e0e9674d45ef62f2d9ad2c1163e5c05827/yarl-1.20.1-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:6f3eff4cc3f03d650d8755c6eefc844edde99d641d0dcf4da3ab27141a5f8ddf", size = 93217, upload-time = "2025-06-10T00:44:54.658Z" }, - { url = "https://files.pythonhosted.org/packages/4f/7f/fa59c4c27e2a076bba0d959386e26eba77eb52ea4a0aac48e3515c186b4c/yarl-1.20.1-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:69ff8439d8ba832d6bed88af2c2b3445977eba9a4588b787b32945871c2444e3", size = 92700, upload-time = "2025-06-10T00:44:56.784Z" }, - { url = "https://files.pythonhosted.org/packages/2f/d4/062b2f48e7c93481e88eff97a6312dca15ea200e959f23e96d8ab898c5b8/yarl-1.20.1-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3cf34efa60eb81dd2645a2e13e00bb98b76c35ab5061a3989c7a70f78c85006d", size = 347644, upload-time = "2025-06-10T00:44:59.071Z" }, - { url = "https://files.pythonhosted.org/packages/89/47/78b7f40d13c8f62b499cc702fdf69e090455518ae544c00a3bf4afc9fc77/yarl-1.20.1-cp313-cp313t-manylinux_2_17_armv7l.manylinux2014_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:8e0fe9364ad0fddab2688ce72cb7a8e61ea42eff3c7caeeb83874a5d479c896c", size = 323452, upload-time = "2025-06-10T00:45:01.605Z" }, - { url = "https://files.pythonhosted.org/packages/eb/2b/490d3b2dc66f52987d4ee0d3090a147ea67732ce6b4d61e362c1846d0d32/yarl-1.20.1-cp313-cp313t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8f64fbf81878ba914562c672024089e3401974a39767747691c65080a67b18c1", size = 346378, upload-time = "2025-06-10T00:45:03.946Z" }, - { url = "https://files.pythonhosted.org/packages/66/ad/775da9c8a94ce925d1537f939a4f17d782efef1f973039d821cbe4bcc211/yarl-1.20.1-cp313-cp313t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f6342d643bf9a1de97e512e45e4b9560a043347e779a173250824f8b254bd5ce", size = 353261, upload-time = "2025-06-10T00:45:05.992Z" }, - { url = "https://files.pythonhosted.org/packages/4b/23/0ed0922b47a4f5c6eb9065d5ff1e459747226ddce5c6a4c111e728c9f701/yarl-1.20.1-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:56dac5f452ed25eef0f6e3c6a066c6ab68971d96a9fb441791cad0efba6140d3", size = 335987, upload-time = "2025-06-10T00:45:08.227Z" }, - { url = "https://files.pythonhosted.org/packages/3e/49/bc728a7fe7d0e9336e2b78f0958a2d6b288ba89f25a1762407a222bf53c3/yarl-1.20.1-cp313-cp313t-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c7d7f497126d65e2cad8dc5f97d34c27b19199b6414a40cb36b52f41b79014be", size = 329361, upload-time = "2025-06-10T00:45:10.11Z" }, - { url = "https://files.pythonhosted.org/packages/93/8f/b811b9d1f617c83c907e7082a76e2b92b655400e61730cd61a1f67178393/yarl-1.20.1-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:67e708dfb8e78d8a19169818eeb5c7a80717562de9051bf2413aca8e3696bf16", size = 346460, upload-time = "2025-06-10T00:45:12.055Z" }, - { url = "https://files.pythonhosted.org/packages/70/fd/af94f04f275f95da2c3b8b5e1d49e3e79f1ed8b6ceb0f1664cbd902773ff/yarl-1.20.1-cp313-cp313t-musllinux_1_2_armv7l.whl", hash = "sha256:595c07bc79af2494365cc96ddeb772f76272364ef7c80fb892ef9d0649586513", size = 334486, upload-time = "2025-06-10T00:45:13.995Z" }, - { url = "https://files.pythonhosted.org/packages/84/65/04c62e82704e7dd0a9b3f61dbaa8447f8507655fd16c51da0637b39b2910/yarl-1.20.1-cp313-cp313t-musllinux_1_2_i686.whl", hash = "sha256:7bdd2f80f4a7df852ab9ab49484a4dee8030023aa536df41f2d922fd57bf023f", size = 342219, upload-time = "2025-06-10T00:45:16.479Z" }, - { url = "https://files.pythonhosted.org/packages/91/95/459ca62eb958381b342d94ab9a4b6aec1ddec1f7057c487e926f03c06d30/yarl-1.20.1-cp313-cp313t-musllinux_1_2_ppc64le.whl", hash = "sha256:c03bfebc4ae8d862f853a9757199677ab74ec25424d0ebd68a0027e9c639a390", size = 350693, upload-time = "2025-06-10T00:45:18.399Z" }, - { url = "https://files.pythonhosted.org/packages/a6/00/d393e82dd955ad20617abc546a8f1aee40534d599ff555ea053d0ec9bf03/yarl-1.20.1-cp313-cp313t-musllinux_1_2_s390x.whl", hash = "sha256:344d1103e9c1523f32a5ed704d576172d2cabed3122ea90b1d4e11fe17c66458", size = 355803, upload-time = "2025-06-10T00:45:20.677Z" }, - { url = "https://files.pythonhosted.org/packages/9e/ed/c5fb04869b99b717985e244fd93029c7a8e8febdfcffa06093e32d7d44e7/yarl-1.20.1-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:88cab98aa4e13e1ade8c141daeedd300a4603b7132819c484841bb7af3edce9e", size = 341709, upload-time = "2025-06-10T00:45:23.221Z" }, - { url = "https://files.pythonhosted.org/packages/24/fd/725b8e73ac2a50e78a4534ac43c6addf5c1c2d65380dd48a9169cc6739a9/yarl-1.20.1-cp313-cp313t-win32.whl", hash = "sha256:b121ff6a7cbd4abc28985b6028235491941b9fe8fe226e6fdc539c977ea1739d", size = 86591, upload-time = "2025-06-10T00:45:25.793Z" }, - { url = "https://files.pythonhosted.org/packages/94/c3/b2e9f38bc3e11191981d57ea08cab2166e74ea770024a646617c9cddd9f6/yarl-1.20.1-cp313-cp313t-win_amd64.whl", hash = "sha256:541d050a355bbbc27e55d906bc91cb6fe42f96c01413dd0f4ed5a5240513874f", size = 93003, upload-time = "2025-06-10T00:45:27.752Z" }, - { url = "https://files.pythonhosted.org/packages/b4/2d/2345fce04cfd4bee161bf1e7d9cdc702e3e16109021035dbb24db654a622/yarl-1.20.1-py3-none-any.whl", hash = "sha256:83b8eb083fe4683c6115795d9fc1cfaf2cbbefb19b3a1cb68f6527460f483a77", size = 46542, upload-time = "2025-06-10T00:46:07.521Z" }, +sdist = { url = "https://files.pythonhosted.org/packages/75/16/e8be8e2fb175bbf41a0680381a319f1199fae256588241a2ac8677eafb49/yarl-1.25.1.tar.gz", hash = "sha256:03dd38de09bc213e9a8b29761eec33ee1d5318dac0e49d8af36e4d27830e23a7", size = 246245, upload-time = "2026-09-15T19:35:02.264Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/85/92/55fa9ee84cb8ec9930a910b5753936a926f918d8cc8965bdac571479c095/yarl-1.25.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:142c06c4d6a35ee3ec5da08499805e879cb3ca7c1fbfbecb0140fe72403818d6", size = 144695, upload-time = "2026-09-15T19:29:53.114Z" }, + { url = "https://files.pythonhosted.org/packages/16/b4/9edc8e605b16b2eb5bd0c2ccc73e2b15aab583862460767fb43f91f11839/yarl-1.25.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:24ce942011a61953e7d313438038f4d32ff21387b775f58a957f7a07dd55ef95", size = 104332, upload-time = "2026-09-15T19:29:55.443Z" }, + { url = "https://files.pythonhosted.org/packages/ae/de/4204e6646e278b1cd4a9cf73ebe8b7cfcf16693f1249b324eb273d67602a/yarl-1.25.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:9e23c82b63cd7652fc24d33ed6cc17099d607aa3b4fc4ddc75e95062f3d82df4", size = 104449, upload-time = "2026-09-15T19:29:57.239Z" }, + { url = "https://files.pythonhosted.org/packages/1d/fc/21d74789198ad68a23a209ab0d73fe5a52d39ebbd9945041e72827acdd77/yarl-1.25.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8ee202350cf57abf0e9502a41601841019c25d3db7ff52d980aaf31446254059", size = 116828, upload-time = "2026-09-15T19:29:59.031Z" }, + { url = "https://files.pythonhosted.org/packages/8f/31/90891ddb61848c067ebd1fb505ab5902a6e7d4707c2f3823f67ff37883d3/yarl-1.25.1-cp310-cp310-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:5df89f769cc8ff94c3d7e7603386fba309d25ce5240132d26c15baa8d0e96c4c", size = 107150, upload-time = "2026-09-15T19:30:00.868Z" }, + { url = "https://files.pythonhosted.org/packages/a1/15/f3d18743d3688b5f01aa83034b6c00665692ab20e1d0c89a29000d4979ea/yarl-1.25.1-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:83e9f4a25085bd4b7214701a0794ff1f50fc633ffb8bdfebf07abdd81c2db126", size = 124704, upload-time = "2026-09-15T19:30:03.128Z" }, + { url = "https://files.pythonhosted.org/packages/99/37/718789d8004775d6a2db86b2afc72b1d156e0590b88a1b8634ddd4bdb8ee/yarl-1.25.1-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:e636b64d24fd9c38053c5e389a1174c66361fa49dcfd220f4dd35b4abde7cb89", size = 129246, upload-time = "2026-09-15T19:30:05.014Z" }, + { url = "https://files.pythonhosted.org/packages/28/b9/7818ac6dec7fbcd16be2d19495807c01e2c38834e57d41c63356a75e786b/yarl-1.25.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e5637ca8d0bd7fb72648a6c7934af4baaccb697657f7438c9d264fc2abb8b0b1", size = 118071, upload-time = "2026-09-15T19:30:06.977Z" }, + { url = "https://files.pythonhosted.org/packages/b2/e3/8d098cafb30a64df7283b5a5dd0d32d22a71b18a1b9ec071d0776ffe5c2a/yarl-1.25.1-cp310-cp310-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:683e362b8ba453080f7489c66f4ea794e751c35b72e7eab3575ef784c2fbc7fb", size = 116180, upload-time = "2026-09-15T19:30:08.836Z" }, + { url = "https://files.pythonhosted.org/packages/20/9c/fbe9432478d87e00eef80242e15179639df162cb3d5d8d978fc56dcb6c51/yarl-1.25.1-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:df23df54b5114a17c2d0ef192433e2e5a9f0c5178c32375e90b7cfc965f349d0", size = 116578, upload-time = "2026-09-15T19:30:10.782Z" }, + { url = "https://files.pythonhosted.org/packages/b1/8e/b3dfd03732236b86b0bcf06a72a37de412ff6f82e719a947c3c651d4dece/yarl-1.25.1-cp310-cp310-musllinux_1_2_armv7l.whl", hash = "sha256:f53dcd26694f148f738edc052b5a69234833e739f10f4c3287bdfd8ec0f7b326", size = 108886, upload-time = "2026-09-15T19:30:12.951Z" }, + { url = "https://files.pythonhosted.org/packages/83/e1/94dacb650d4963d5f844bc3df7ba70288cb7b68ed5a4d070da71acb19b14/yarl-1.25.1-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:b8075fe90bc08e40b8b8a1874fab42ee4c7b56af05c5886e9cc841397f916908", size = 124098, upload-time = "2026-09-15T19:30:14.963Z" }, + { url = "https://files.pythonhosted.org/packages/d6/3f/c93f76a218258c7bfc60dd27fd56e9102bdbc625517f4a6ee673295fe4e4/yarl-1.25.1-cp310-cp310-musllinux_1_2_riscv64.whl", hash = "sha256:a8c2b841478068440d8b733005d13a5ef535b9928cbc05f17182d410f32ba449", size = 115768, upload-time = "2026-09-15T19:30:16.736Z" }, + { url = "https://files.pythonhosted.org/packages/a8/79/4d93f13c3b05cda3c962805dec28cbc255c50239b3457808abc5633a00c2/yarl-1.25.1-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:ca32926d7d77bcc8838425c4c95e040a3ace1cb7dfdae599013458dcda2607ca", size = 122461, upload-time = "2026-09-15T19:30:18.901Z" }, + { url = "https://files.pythonhosted.org/packages/c5/8e/e2ba83b3a9bfc1d3b882ad35fa8abc04a7af4d9356f2e329a23d0c8d889d/yarl-1.25.1-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:192a866877a49993949ef1975864ad8728bea28ee810f6abe1a0729c2b500426", size = 118295, upload-time = "2026-09-15T19:30:21.07Z" }, + { url = "https://files.pythonhosted.org/packages/42/67/cb5ea1baa0c0ac60bda44ce59f601133154af2a2e67722d3517f8793855d/yarl-1.25.1-cp310-cp310-win_amd64.whl", hash = "sha256:3f4d48a6112712973e676bd792121fee470e432d749177162d9949d5c9460a1b", size = 102929, upload-time = "2026-09-15T19:30:23.122Z" }, + { url = "https://files.pythonhosted.org/packages/2f/85/9a1e98de10fc0e738d517efd2a9984c3e7db6cf35fa72b2b373988a9e9b7/yarl-1.25.1-cp310-cp310-win_arm64.whl", hash = "sha256:48796ea00a303961507dc6c8437c4b325a6fc3f95f7c36c71b91ea9a8150963c", size = 98854, upload-time = "2026-09-15T19:30:25.102Z" }, + { url = "https://files.pythonhosted.org/packages/83/b3/2cea721d495ca57f8f414aa4867ee263f486b274e07463158cf52f02ba7f/yarl-1.25.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:9d693bf4bf534e9ba3ae2780cfd577f5135629f7b5ac653490859d0b77864865", size = 143794, upload-time = "2026-09-15T19:30:26.946Z" }, + { url = "https://files.pythonhosted.org/packages/55/e6/cd145cff8e5cf60b8b3c41fbecfa2a45028a8dec3fbc52bec03595ff3d3b/yarl-1.25.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:ab2054c5531af2a9ba7b69b8ec91e4f884420e83a8c5e579b013084cb57e5e5d", size = 103993, upload-time = "2026-09-15T19:30:28.661Z" }, + { url = "https://files.pythonhosted.org/packages/ce/7c/fbb40fe2d53747c40aa36a9e2bd2178a202f942bda0b670f3306d4aefbce/yarl-1.25.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:564fdc7085d2245ab84f88882fdb1d6ac0723124bff6ded35bfb1c00f812630d", size = 104010, upload-time = "2026-09-15T19:30:31.069Z" }, + { url = "https://files.pythonhosted.org/packages/f0/0b/5a516f70641092283f57cf3670bdb75e7327bcc0dcb5038697e4dfbfd569/yarl-1.25.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:acae6b45d1ace09b6ba3876da43b88366ef368f73b988c7f57e14231753d4420", size = 116444, upload-time = "2026-09-15T19:30:32.894Z" }, + { url = "https://files.pythonhosted.org/packages/b6/8a/d1a627f827b0a404ae0f5647cab0534959081cde13b0756a783469fb3b5e/yarl-1.25.1-cp311-cp311-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:1fb2a01ba8cd9c5d2c5dc1ec35e0fc951d04b4f037541d4ac090c993ce58b3d7", size = 107565, upload-time = "2026-09-15T19:30:35.188Z" }, + { url = "https://files.pythonhosted.org/packages/aa/cf/c8e0aaec886840a6c4480fe44eaec7cd4319f79a563b79321473be79c56f/yarl-1.25.1-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:e92b6bcc741b86d67606c40d3cb9c7cc8e6c737f81e31f4a94efc204456c92e3", size = 125006, upload-time = "2026-09-15T19:30:37.1Z" }, + { url = "https://files.pythonhosted.org/packages/50/26/0cce366d54a93cdc8342965dc7663385e4db161625cc1e8b18e786753d24/yarl-1.25.1-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:72c34ac7ad4314c19362d5ce27626dcc8429bd30bbf8c179f4234078851f9492", size = 128717, upload-time = "2026-09-15T19:30:38.904Z" }, + { url = "https://files.pythonhosted.org/packages/95/0c/a71501bbc1a674ff72c4d6c2b75f4d9a5af819f5244c3a7558080a8802c5/yarl-1.25.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d5add7b4ca7afeea91d52e4d4e4db3b1fe9885b71f07054560d8c4296b7441a2", size = 117728, upload-time = "2026-09-15T19:30:40.809Z" }, + { url = "https://files.pythonhosted.org/packages/e7/6f/c3267ca01defeed9ed9c4ff9b17bd54915432c405945233265b707475d1c/yarl-1.25.1-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:def538065f9e4d4cf1ae164bd59aba00dfa84f03923e0de4c3788f252d6bcd17", size = 116224, upload-time = "2026-09-15T19:30:42.818Z" }, + { url = "https://files.pythonhosted.org/packages/8f/69/fad57ee52d648431718ee0f1f68966a99c1352c3924688ffbdcc9d3fe51a/yarl-1.25.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:0a191bfdb30a79b98e5d175d75285f9fcb78bf0e46ba5efda042e1c72071a0de", size = 116299, upload-time = "2026-09-15T19:30:44.966Z" }, + { url = "https://files.pythonhosted.org/packages/2a/d4/6a8c1e29f33338687ca278cba0a8fbf6525a322c2c02a9a500ccbe041152/yarl-1.25.1-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:71f42c5b9a948c113bbdebfa544598321431d064ff959d32e99b1feb61d68345", size = 108625, upload-time = "2026-09-15T19:30:46.874Z" }, + { url = "https://files.pythonhosted.org/packages/e8/d2/3a35ae791c9cb6522c106923ff25c3230d999091e5e65511bca23bbd9914/yarl-1.25.1-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:72849d892954be4d09e569b8b831ac39ce58417fedc767d4308a0fe542018a40", size = 124515, upload-time = "2026-09-15T19:30:49.082Z" }, + { url = "https://files.pythonhosted.org/packages/be/fd/2b022109a6b4af0f7dc371cf7500af380b0d4f034010243e1b0ce218dc93/yarl-1.25.1-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:efb01a106f971cb3752856bca2318bbdf7f01bd8823779c461586cbe5ffd5258", size = 115711, upload-time = "2026-09-15T19:30:51.208Z" }, + { url = "https://files.pythonhosted.org/packages/18/59/f7586271136c3ddb0126bbfe661844699369b76b555fe38c4efe86870b2e/yarl-1.25.1-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:a1daf47cd95a7c3a63456336bc5aaa8c86dd3a47d07ed3d0e76132ae4666a5a1", size = 122751, upload-time = "2026-09-15T19:30:53.535Z" }, + { url = "https://files.pythonhosted.org/packages/a0/0b/07f7a2d881f7e16c385b47fc1753382600847cad305dcc7fa0c25828acf8/yarl-1.25.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:9489e6abf47ba37f332075a91444c7cfedb03e6ce99fbb2f116bfe1ce810da3b", size = 117983, upload-time = "2026-09-15T19:30:55.277Z" }, + { url = "https://files.pythonhosted.org/packages/aa/9d/8cdceec66a9b940700cb45931741403f045b162afd79bcb93c41cadd0972/yarl-1.25.1-cp311-cp311-win_amd64.whl", hash = "sha256:d7306dee25b8a0e737363f347362b875094b4dc4e367311470656ae420fdbf8e", size = 102894, upload-time = "2026-09-15T19:30:57.606Z" }, + { url = "https://files.pythonhosted.org/packages/17/f1/7ec357db1d3ad2863542d71e8fe64a126bbec17b134cd7d30951196809a5/yarl-1.25.1-cp311-cp311-win_arm64.whl", hash = "sha256:abb1384477f5901d436b5d2e5465954de46ea6098f59163d243660b5c4461d35", size = 98609, upload-time = "2026-09-15T19:30:59.705Z" }, + { url = "https://files.pythonhosted.org/packages/75/b3/cd32ac66ae622b854c2df0ac52106dda220d361b65a64fde7d5b3684aa3f/yarl-1.25.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:94d7aa6debf92a1dd14cb5280b083a764169a13cfb23a452111160274ed989f4", size = 144798, upload-time = "2026-09-15T19:31:01.821Z" }, + { url = "https://files.pythonhosted.org/packages/61/fb/a2c52a8007c2051ba74662afb112ecf3d00346af4c25e33df9d80fd14fb8/yarl-1.25.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:83d4a37e4b95da4d8bda930d6d35b75b4cdadbacbb4980cae290ea3100b5d51d", size = 104583, upload-time = "2026-09-15T19:31:04.05Z" }, + { url = "https://files.pythonhosted.org/packages/be/dd/ee38aec8e09fdf957e50d4085453fbe202f56c6c3b4cf07b81cdb4f09ee9/yarl-1.25.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:e029648f9c951db30e98a7d7ec90835db88ec4b32820efe2a9bdc2287e032eb6", size = 104325, upload-time = "2026-09-15T19:31:06.338Z" }, + { url = "https://files.pythonhosted.org/packages/1e/b3/058dbfb1857b484c9cf9cc135659f50b85ce66e03c99e44dc2f7b6161f55/yarl-1.25.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4d781294bb815ecb5ea57ff6bbf8038e0a31a95fdf3e1788f66e0dc100d64b58", size = 115358, upload-time = "2026-09-15T19:31:08.593Z" }, + { url = "https://files.pythonhosted.org/packages/db/39/29693446cf0cf6b15a0e2f75a5d40f93c56819b05b0622196f45e95b5cc0/yarl-1.25.1-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:e12c538e00e7c1b286a07061046b90e8124e6a9793efae2c70db6a4aad07faad", size = 107658, upload-time = "2026-09-15T19:31:10.802Z" }, + { url = "https://files.pythonhosted.org/packages/86/b3/3c4dd7e1af43b931fba95e0a722737f2ea94a6d199c802585282831d7abd/yarl-1.25.1-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:7e4de3ac4adbad3d0bc7c6f4360a7dbff5de2f15e3b723be3198074e17fd9c40", size = 122660, upload-time = "2026-09-15T19:31:12.84Z" }, + { url = "https://files.pythonhosted.org/packages/bd/b5/1b60dbc3cfc9c5712b15148c206748f2bc93953ffdbe25ea75b63dfc89c9/yarl-1.25.1-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:419f392a1da624877975709e3864dfe833af6cc7671b39318086d456e288380c", size = 126506, upload-time = "2026-09-15T19:31:15.088Z" }, + { url = "https://files.pythonhosted.org/packages/bc/7b/ca212cbe170ac8b96e45317ecbcf9c3c3ecf0cdec98d5b088a9c4088929b/yarl-1.25.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c6f117789d22dce188e5754e8bc65b7e6ebf8cb73963b9fa761f672a5883769d", size = 117050, upload-time = "2026-09-15T19:31:17.241Z" }, + { url = "https://files.pythonhosted.org/packages/cb/c3/72b4938cdbe619ad71ac156182faef4908846b84dc3ca4dbb4c4e6f84014/yarl-1.25.1-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:80e47012e730da131c9f059c80936783f9659aae22dc31c03c0595590d11ed54", size = 114174, upload-time = "2026-09-15T19:31:19.294Z" }, + { url = "https://files.pythonhosted.org/packages/e8/43/268717870f9ba0cc9701a95181587f6dc8c5f387aab4aeecc83158f38a79/yarl-1.25.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:e80f557716fd765439577131e526b8942ffc2c07bdbc5e39fa62f660ba1e963f", size = 114944, upload-time = "2026-09-15T19:31:21.414Z" }, + { url = "https://files.pythonhosted.org/packages/da/84/baa5bf504d51fe062c4bcaf62936da97fffb43285978d0b39984824231fd/yarl-1.25.1-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:f61964f235a43738bfac50da46fc4254943a7eea3051aeb0b6fc7c992c29fadc", size = 108263, upload-time = "2026-09-15T19:31:23.388Z" }, + { url = "https://files.pythonhosted.org/packages/a4/28/779a2ed9e0152a601a27039bed9aead3f0b79797a67e2c44bfa444622dd8/yarl-1.25.1-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:e546fe1d4a93ebc2910f0d768baff19faa09843ab3f2036a67ed6e69fae4419d", size = 122184, upload-time = "2026-09-15T19:31:25.343Z" }, + { url = "https://files.pythonhosted.org/packages/f8/1f/118e9e5b8f07694d63fd3222e801d7782270003f1a222aa798df3f8d5933/yarl-1.25.1-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:cce0727fd5ac04d372fa9bbfde9febc2bcf209aadfcf0468e45dec72719895d1", size = 114001, upload-time = "2026-09-15T19:31:27.465Z" }, + { url = "https://files.pythonhosted.org/packages/0f/ae/a4cf1cf372313734b17996d4007f9f73596e7a178b9485802e5494ecf484/yarl-1.25.1-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:af4ea5b37403ef4e30f3927eaed540db942bde01d8d3ff083527c0704d1c9c68", size = 120565, upload-time = "2026-09-15T19:31:29.47Z" }, + { url = "https://files.pythonhosted.org/packages/05/79/ad94f93ca731bc9e44d321833ab96b82a4f9f5f63cf773f81a4aeea5ecc1/yarl-1.25.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:68782fdb4027b8d1eee25ec35e9a6db05e863b899eb0310b3a33b6c3fef55707", size = 117060, upload-time = "2026-09-15T19:31:31.367Z" }, + { url = "https://files.pythonhosted.org/packages/bb/cc/51a7b4abf4ac593b8e7eb3794b28e5a35ae26eed8bc04787628d215af82f/yarl-1.25.1-cp312-cp312-win_amd64.whl", hash = "sha256:7d575b54cb3863ef9bc290ea4b009999d55dc237326131e4853cf33e888fee03", size = 102593, upload-time = "2026-09-15T19:31:33.329Z" }, + { url = "https://files.pythonhosted.org/packages/9d/21/0941a6b93a58b59a1ec75e5333bf06929b671309c43c0cd201c172d9c39f/yarl-1.25.1-cp312-cp312-win_arm64.whl", hash = "sha256:bc3ac7bf569f6b64dad04dd7808c7872dae8a97df657856eac05e9b7e3614a85", size = 97697, upload-time = "2026-09-15T19:31:35.855Z" }, + { url = "https://files.pythonhosted.org/packages/7b/ed/2f3129bbcc9a5c8ba12cc2b29d8060a3bab9c8043c456cfd4b5ca3188890/yarl-1.25.1-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:25868beca8b6765f8f7d0e11fe6dd7c66dd4b0793b9500286d20cc92352126a5", size = 143623, upload-time = "2026-09-15T19:31:37.966Z" }, + { url = "https://files.pythonhosted.org/packages/17/e1/f1bc3390fdca352826676b531d0712736f156919090206700421d46b2c37/yarl-1.25.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:10b2fd95332f0d716d5eee3c9fb2ce8eada19082de7fee83d32e37992fd75c26", size = 104011, upload-time = "2026-09-15T19:31:40.25Z" }, + { url = "https://files.pythonhosted.org/packages/a8/aa/50acc5c3e5da04172ae3c281c75405af4d2ca911e16120ab0563f4dffb66/yarl-1.25.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:0f12afda4eea8c8994a76d4df1875c765194f5fbe8a9d197929ea303caee29ec", size = 103677, upload-time = "2026-09-15T19:31:42.46Z" }, + { url = "https://files.pythonhosted.org/packages/30/d2/7d1e0ab9f8390e1fbcede5a6dbf70d23c96ad09b8c5567f3a514d1ddb0e2/yarl-1.25.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:14b79a30a93a3ce2e8832603fd0ab780ada281b0ba5110b519a634f2d7d7d1fc", size = 115392, upload-time = "2026-09-15T19:31:44.371Z" }, + { url = "https://files.pythonhosted.org/packages/71/e1/5ba1e3a2a22139213655e760919038e8ed7e2d4a99826d0bbddb3beb96e5/yarl-1.25.1-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:4bd6340d20ae2c7ca719b87b426e808e90743b676d05d4c26c4fb5ca71f41184", size = 107493, upload-time = "2026-09-15T19:31:46.273Z" }, + { url = "https://files.pythonhosted.org/packages/f5/53/780653d5e0f73831f467cf13548912e5eec97f21dc49fc8daf21da027df4/yarl-1.25.1-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:126a2533570c554719ca40a1288fdee1700b6bc82e7131aa69fa85252d92e651", size = 122537, upload-time = "2026-09-15T19:31:48.654Z" }, + { url = "https://files.pythonhosted.org/packages/03/92/d54fa70236c6036271c9c9c09fd978df5cbe3ef49ef6c46e9b833476d215/yarl-1.25.1-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a3faadac7d812ddac258feb57b9846b60c1b437c4f4b9ad42595c6f6fe4390df", size = 126170, upload-time = "2026-09-15T19:31:50.872Z" }, + { url = "https://files.pythonhosted.org/packages/0e/b7/a82a49bf88340b837ef6972b508a1604ae377b9e6904b46b10cf5f1cf925/yarl-1.25.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:be80550d9bfe83d9b62398a37081a90434e6df2d978ec345c3d2820de6beddab", size = 117012, upload-time = "2026-09-15T19:31:53.189Z" }, + { url = "https://files.pythonhosted.org/packages/ef/78/5d684b411e3f3602464ee9b538db48205038f8605872985f61efb809ced0/yarl-1.25.1-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:e07595c7d6f4db270ceede356a1bd1c07a34f1c26f958d1ed0cd7b48e0d2bba3", size = 114950, upload-time = "2026-09-15T19:31:55.694Z" }, + { url = "https://files.pythonhosted.org/packages/2f/11/51d82b852c64f7fad0fc7a7ff3031517204887e874c722bbca839c0b23ac/yarl-1.25.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:eb96ed1ae6c7d072d60840c0434aef07a2df611812810807fbc54263a6053e9a", size = 115428, upload-time = "2026-09-15T19:31:57.966Z" }, + { url = "https://files.pythonhosted.org/packages/e4/49/9d1978049bf646b9ea918313926453c6901b71c92f097467777d47d36a88/yarl-1.25.1-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:3feb99222553a8cbedfa52c2f59dd84c3f50d5b582c728d522caf8d72769a54b", size = 108428, upload-time = "2026-09-15T19:32:00.048Z" }, + { url = "https://files.pythonhosted.org/packages/43/35/7b8f1ebb45d7ec3dda7d1909bf44f458de41ef91e2937f107733582a5166/yarl-1.25.1-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:a2ed0ba415ccdf08f14bf544cb78346d0f76086707ffee24921a2c84dbf1305a", size = 121961, upload-time = "2026-09-15T19:32:02.436Z" }, + { url = "https://files.pythonhosted.org/packages/63/d6/d8b689ab7ca26edeb85f6ff28812aac7a25376eefc1780e303a7bfbaceff/yarl-1.25.1-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:2b49375d22299b0a834c2bca72f39aaecc270d96fb24c30424899676f487b22a", size = 114961, upload-time = "2026-09-15T19:32:04.456Z" }, + { url = "https://files.pythonhosted.org/packages/cf/d5/1a1798ea4dc6b7ee3260010a27907ebc697c95dae99817d817ed446d24aa/yarl-1.25.1-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:ef74070ac553c59eb4f04258722066d6c6135b7baa03b2e9f2da65c096e96d98", size = 120036, upload-time = "2026-09-15T19:32:06.5Z" }, + { url = "https://files.pythonhosted.org/packages/91/8d/b1b35ed7903da6669b1d367cb2c09436acd4ff508029b4f39a0c0c2058fc/yarl-1.25.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:0a66db89ea473abeac4b70523cafd94db3772380e565f9d28af7a179b7af71fa", size = 117276, upload-time = "2026-09-15T19:32:09.401Z" }, + { url = "https://files.pythonhosted.org/packages/3a/8f/4db01cef62caff0d7a4593ed694fb8a41a27a11158cab80d290221f13e57/yarl-1.25.1-cp313-cp313-win_amd64.whl", hash = "sha256:1f51020b2eb8a003c84925638ec63c21a750a4bddd3a22ec8eac6a742dadf1b9", size = 101945, upload-time = "2026-09-15T19:32:11.545Z" }, + { url = "https://files.pythonhosted.org/packages/c0/5e/3ce00497c5c0babb74d4130c10c3828ccd215b4819d12020c42429f991ac/yarl-1.25.1-cp313-cp313-win_arm64.whl", hash = "sha256:b10dd0557ba422715b5206b3743192135a6022acca8baec51aa127d0a75db8fe", size = 97270, upload-time = "2026-09-15T19:32:14.127Z" }, + { url = "https://files.pythonhosted.org/packages/80/cf/54023edfab7aa773b860503db0c56e962ccab0922803ee97988c176ea090/yarl-1.25.1-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:a9ca696eb02e5c02a8afd872ada510eba9b7fe6e68b9572c2e9a9b1941e31e2e", size = 143975, upload-time = "2026-09-15T19:32:16.416Z" }, + { url = "https://files.pythonhosted.org/packages/d7/a8/e6c1be0e6761d0f2d10bbf33a3e1e02b99dc83874d92945d7b461a72481e/yarl-1.25.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:a5877f2255aab518ebe528289037699201d5dc5f045f2396cb30aa02db22f57f", size = 104018, upload-time = "2026-09-15T19:32:18.364Z" }, + { url = "https://files.pythonhosted.org/packages/6e/bb/dda344765ffd3430afe1a1c66c866a57fae67786537d4f14607df6505ac1/yarl-1.25.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:7a5c3115595995779ee21f2567035793911c3802a43c74f3fbb0314929ec67ac", size = 104156, upload-time = "2026-09-15T19:32:20.459Z" }, + { url = "https://files.pythonhosted.org/packages/e5/5f/ed1538bcd06009fe990d6d283dd7667f639e62a81e35c6d8c6ef6c08fb3c/yarl-1.25.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:77e5099b99b37f3cf79c246998ca9f7313a78054cd1809ec46bc1afad47e1c4c", size = 116025, upload-time = "2026-09-15T19:32:22.766Z" }, + { url = "https://files.pythonhosted.org/packages/a2/af/2185daf56b99830d3356ecfada46faaa49945de6626e842b7728088d4980/yarl-1.25.1-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:6efaf45df6a849cef613a03a94c845647456662f85438c886bb67a9c027c8c2c", size = 106985, upload-time = "2026-09-15T19:32:24.749Z" }, + { url = "https://files.pythonhosted.org/packages/c1/65/bc1ae564fb4b04a30b6a8f250e787772581c57e4c3d5cf07ac3359de3103/yarl-1.25.1-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:d5f90e44653c4e0f78501ed9bb7d3fce835a8d62b7c6ed0cb16557534087e743", size = 123030, upload-time = "2026-09-15T19:32:27.084Z" }, + { url = "https://files.pythonhosted.org/packages/6a/3e/e2afcde10d74e53b3fa889960991efb3019beda2b1682a01de720a302056/yarl-1.25.1-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:632da579b2d879f6bad20f2cfa35ded1efe2f4f77f8abb26a6234a5b236acd2f", size = 126765, upload-time = "2026-09-15T19:32:29.332Z" }, + { url = "https://files.pythonhosted.org/packages/a2/be/415b00c0fe5a0615b062a456b26623d7ec91c2bee20faea1a14045aa0469/yarl-1.25.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:30eec96e8a91bd588ce897c9543f6d5d8d34b28fbcba28a4dedf20ebeae9fe57", size = 117199, upload-time = "2026-09-15T19:32:31.49Z" }, + { url = "https://files.pythonhosted.org/packages/97/27/3d8c63ddd3e8bcfd033748ab93876678ce59bacd66e4cb1ed851c9c5b37e/yarl-1.25.1-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:12b6bc4906e11f5e1a1cdcb12296e7afbd366c783cc8073403cd2fb74334e453", size = 115187, upload-time = "2026-09-15T19:32:34.137Z" }, + { url = "https://files.pythonhosted.org/packages/39/b7/7a81d0be1a502a26a0d4326c6f2ecb736c824f570ea1c6529f2b0b227b50/yarl-1.25.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:9d6ed3d17bccce4c05343e1ca8da13bc5c02c812a4e7282ddd05e8769322d3fc", size = 116085, upload-time = "2026-09-15T19:32:36.438Z" }, + { url = "https://files.pythonhosted.org/packages/f0/69/39fff459916aa0fab42215dc47b759586fd80f94aa56dfc4a7c15ba6e0dc/yarl-1.25.1-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:f38a70074041d3b7e138e452799f5174198bae5bd5ab2000917badf403908c5f", size = 107996, upload-time = "2026-09-15T19:32:38.959Z" }, + { url = "https://files.pythonhosted.org/packages/c0/39/80b9a55a3335590451d9ecf3eb593a8c635351f4c905ef056d7e8a8fd9e7/yarl-1.25.1-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:4ca89e4e21854ed27ec753297dde84b16c9f8e53b14a4866fb44457d643c19f8", size = 122549, upload-time = "2026-09-15T19:32:41.151Z" }, + { url = "https://files.pythonhosted.org/packages/42/7d/a179c6757818bb59372a4adafd09f7f26a3b4a0f04c3ae404b544c0b0c82/yarl-1.25.1-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:1ab7618921a93767387a4b83776f751588f5b5ae9bb5bc96620e2e2e00bca868", size = 115107, upload-time = "2026-09-15T19:32:43.072Z" }, + { url = "https://files.pythonhosted.org/packages/32/2b/a773ac867e4ab53a98ed98e5cefe3bae31e6f550252ca9d1de266f1a40c5/yarl-1.25.1-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:0ae12ff2b805fa02c4dab838005caef735e39986322698c48588d3beacb65c62", size = 120666, upload-time = "2026-09-15T19:32:45.061Z" }, + { url = "https://files.pythonhosted.org/packages/bc/41/52be6505e85b0f76b4f85b01b5de7e06a0512201abc2c95e14e099549174/yarl-1.25.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:90c30ed53546da833c700115c0064c22120d1b1560f474699fd31f22dd668233", size = 117505, upload-time = "2026-09-15T19:32:47.177Z" }, + { url = "https://files.pythonhosted.org/packages/f5/01/349c0386caedbbe488d519f252df54efac8a1459282d466c474bdd84a620/yarl-1.25.1-cp314-cp314-win_amd64.whl", hash = "sha256:acfa7e22aa6c6e7a5996a41d275bfa01efa7ea56ab890590280e9063e2cf5c1b", size = 103446, upload-time = "2026-09-15T19:32:49.615Z" }, + { url = "https://files.pythonhosted.org/packages/5c/f0/8ec63180f77912f0dc4e5a42760cb8c08d20da1d5ace3578a01b84d1f3d8/yarl-1.25.1-cp314-cp314-win_arm64.whl", hash = "sha256:8e7d98cdbb6d71e726f7d525952867096053d1f290dd4e3c50d7d313a136f414", size = 99159, upload-time = "2026-09-15T19:32:51.686Z" }, + { url = "https://files.pythonhosted.org/packages/47/7d/92d2220d6886b70ab1ed8579533ac2af2dfac716d5d929001daff7986df9/yarl-1.25.1-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:d21f0fa80a02d05299207eeaafef345d812ace96d5306e4ef265e1d419a615fa", size = 150071, upload-time = "2026-09-15T19:32:53.911Z" }, + { url = "https://files.pythonhosted.org/packages/64/fc/b245e448124bcda9340df38e3553fa222b50260fca027a84095e9bd8642d/yarl-1.25.1-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:17c9877a89fb6e2bca6f9087eb24cd7fb434653946ef5075e470d23d49b52287", size = 106780, upload-time = "2026-09-15T19:32:56.443Z" }, + { url = "https://files.pythonhosted.org/packages/51/e2/9a6ce2e334ebf218a30335ae76fb1696459430d42f733b8cb0d7d65b84d3/yarl-1.25.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:29273edf1530e397bd07cb784db1fbe0d2590b77569f2e24679a9c0a2d763b94", size = 107361, upload-time = "2026-09-15T19:32:58.827Z" }, + { url = "https://files.pythonhosted.org/packages/ed/70/66e8c76b569b450d16e190f15071c916c3df70b0e33927e415ac497cf0c2/yarl-1.25.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b7abffdf37af1cec6a2ad69b827aa84320db5894791bc8ed932dc93fb274b7e9", size = 114396, upload-time = "2026-09-15T19:33:02.24Z" }, + { url = "https://files.pythonhosted.org/packages/73/23/0d82838a05c57fdc05bc8b66e8c92dcc0df15e27463a5f163142d521c682/yarl-1.25.1-cp314-cp314t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:2239a02249d9326655419e0168a28ca9008938eaab31dc29fc875c217927a6c0", size = 104882, upload-time = "2026-09-15T19:33:04.494Z" }, + { url = "https://files.pythonhosted.org/packages/86/d4/ea08615c4edaa6049a13a2f1128944d068d1893abda7d708d4d7ea01599a/yarl-1.25.1-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:664ec6a520b74a1df2810666eb67695fcb77fa663e6ea0a25aaf2e529cb24dfa", size = 119485, upload-time = "2026-09-15T19:33:06.583Z" }, + { url = "https://files.pythonhosted.org/packages/1a/82/0898bdce9b1ae403b308b9c733d0d24af4a3464270c2c081f457b16c3e0d/yarl-1.25.1-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:4f1c91f5a5980a937ff8e238e98e6897e1ad74a4b1e2c0d68c73b5ffbb3f5c0b", size = 122490, upload-time = "2026-09-15T19:33:08.653Z" }, + { url = "https://files.pythonhosted.org/packages/d1/38/97d79b81c342b78246cfedb74809e68841f3198d21653e10d3232bd9c622/yarl-1.25.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7c88edaec8c349ad4c5ad4c486a3defcc4b80ceb2f074436ffa0a87caf5e76a6", size = 115336, upload-time = "2026-09-15T19:33:11.056Z" }, + { url = "https://files.pythonhosted.org/packages/8e/9d/2577896554cd310dc470adb6da0b7dd0b435cb63e2565204a7ac240e504c/yarl-1.25.1-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:35dcbea443fafb3eece757ad4e514560ddeb6c34cfae1582c620d7b293d7feee", size = 111825, upload-time = "2026-09-15T19:33:13.204Z" }, + { url = "https://files.pythonhosted.org/packages/29/6b/7ac49d8ba84a5c4bd73415a4c949d22c749cb3762579b3d50e48019a78aa/yarl-1.25.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:882569ff613758cac762a457a5d72d6e211b28d4bcfea89d1d71ea942b02eac0", size = 114655, upload-time = "2026-09-15T19:33:15.553Z" }, + { url = "https://files.pythonhosted.org/packages/e5/18/e5942a16723f5b72f9b1297fd5a85a54f6300cd15c0dcb5005b90cd89156/yarl-1.25.1-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:d0f1489233a254bb3643d2f05de7d59019254d81daeca6b9162fe9edef57e0c7", size = 106395, upload-time = "2026-09-15T19:33:17.599Z" }, + { url = "https://files.pythonhosted.org/packages/7b/2d/549fa46240781513ebc47ae7eb418df428a163a2a3d644cc9cbb3ecb7846/yarl-1.25.1-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:f41753a76f4f63927d03a0d8ba8f5ce0f2083bec29a8cfaccc55371b1564b96b", size = 119277, upload-time = "2026-09-15T19:33:19.973Z" }, + { url = "https://files.pythonhosted.org/packages/76/16/4763f78dcdc0b3b9fb3842b04afe72b9320857c6a69300c62a0eab03d119/yarl-1.25.1-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:8fb0eb4955adf0579001581f2f71a126e8781ba61bcd120f127b0401163c6c2d", size = 112504, upload-time = "2026-09-15T19:33:22.464Z" }, + { url = "https://files.pythonhosted.org/packages/ae/b4/974e3edfe0d188393ce1cb9de400111c63fe61f4eb3b772a500d84c970d1/yarl-1.25.1-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:a1e32763e641a1566507d90a8d3b19bfc3cc04a9d4e5ae3e32189874ed4b58a3", size = 116243, upload-time = "2026-09-15T19:33:24.788Z" }, + { url = "https://files.pythonhosted.org/packages/b0/aa/157b940428da80c104ca09666a740e51c94963df65d5b112e06b52e4d7a8/yarl-1.25.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:65b5b2066651b7432d389e9799d979c703bcc6ef44266bb8153ef54e91e4aab3", size = 115822, upload-time = "2026-09-15T19:33:26.886Z" }, + { url = "https://files.pythonhosted.org/packages/7e/af/19fbdce41412e1b96825544cc52cd7029d3724655d0988237972f078bd29/yarl-1.25.1-cp314-cp314t-win_amd64.whl", hash = "sha256:734f6e5400352ac4254456003d462866c684703570929cff7a7bde015d0cb371", size = 107386, upload-time = "2026-09-15T19:33:29.009Z" }, + { url = "https://files.pythonhosted.org/packages/2a/99/f6431c8968e89be608d74b28ae2d024521b2953f27dd44e0dece5e04f67a/yarl-1.25.1-cp314-cp314t-win_arm64.whl", hash = "sha256:287e99ff5aa4dc1c7630bfc683ded6f106d756c99dec432a2d7f197a784f51c6", size = 102094, upload-time = "2026-09-15T19:33:31.151Z" }, + { url = "https://files.pythonhosted.org/packages/c7/3b/4f51eab40c2eabea6c3d5b121dff4b8988dc35087732ffede12d2be8b8dd/yarl-1.25.1-cp315-cp315-macosx_10_15_universal2.whl", hash = "sha256:9b1bdaae98bc016825dd3c9d8ee1832f829b3341f9cc6ebd1a1b0a7fef7367cc", size = 143875, upload-time = "2026-09-15T19:33:33.52Z" }, + { url = "https://files.pythonhosted.org/packages/41/05/bbd58fc063f5f299a883f810760b265ca26c8167c91cb9a494d0fe2387e1/yarl-1.25.1-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:e7011b8fb8c4054bf0c12e5edc6cd83778b0028e99ce59b18586ed036f92cfdc", size = 104028, upload-time = "2026-09-15T19:33:36.22Z" }, + { url = "https://files.pythonhosted.org/packages/12/ee/2fba0aecb52e7020e189f684148783aa0b9cfa3b3bfb0b400646eef70ad4/yarl-1.25.1-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:f074e8d4aa0a5798920ddb6de3d08b228c614ff3724c3e8bd7577f4bafea867b", size = 104041, upload-time = "2026-09-15T19:33:38.86Z" }, + { url = "https://files.pythonhosted.org/packages/38/35/884beab53ed88c7247d1671972b5ef116f7351fe0c7e6de8c3558372cb16/yarl-1.25.1-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7d42e7e3ca399555578b4d617e3a6ecf13371b3743a115995fa010c7bf341459", size = 116018, upload-time = "2026-09-15T19:33:44.265Z" }, + { url = "https://files.pythonhosted.org/packages/e2/cc/1a91b685afb55cc18608443ace95280e96e263a97565811732b6788d3269/yarl-1.25.1-cp315-cp315-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:aa4ed3dd308548f9e707d9caaf005d2d7f8c1e7868f858dfeb47fe76e16b391d", size = 107033, upload-time = "2026-09-15T19:33:46.45Z" }, + { url = "https://files.pythonhosted.org/packages/c5/c1/58b379fcb1d68d907b7fcf75200c44321896509b2a6a74abbb4b19d864d2/yarl-1.25.1-cp315-cp315-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:42a66563d8cc056ee32e6191e05097a7b2b3bc302e0bc3133daf8710eb18bd26", size = 123257, upload-time = "2026-09-15T19:33:48.631Z" }, + { url = "https://files.pythonhosted.org/packages/d7/2d/1fe96cf5c2aeab10095e48f38585cf5a8451fb7253234822398e52aa5336/yarl-1.25.1-cp315-cp315-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:98d370568f393215d605304cdb77b3d5539bd192c75b623c7304c42c8d6d8273", size = 126745, upload-time = "2026-09-15T19:33:50.999Z" }, + { url = "https://files.pythonhosted.org/packages/ad/60/8674394ce43f4dadae573a1d6f451716438e9eab7d7fe8d643c673a32d85/yarl-1.25.1-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:23bf5b403c879a54964e0feac7285688e04bb220074878d737d331522da0a5bf", size = 117255, upload-time = "2026-09-15T19:33:53.456Z" }, + { url = "https://files.pythonhosted.org/packages/2f/72/0faa30e02605d56127d42bb987dcc97da3863b7bf70b9bfbf5f739c05e30/yarl-1.25.1-cp315-cp315-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:d45673badd08456d0340e9364eddafe1c53a9d2896424294de4d7dd71ad3ee57", size = 115166, upload-time = "2026-09-15T19:33:55.669Z" }, + { url = "https://files.pythonhosted.org/packages/8c/90/9a46eac564c437e128285c5c1d7bb385d268394e9209d84f6bf4a14471ef/yarl-1.25.1-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:0136d640dfa9b0523853e411430a99f8a91eca85774c6420285a33b755bc6de3", size = 116082, upload-time = "2026-09-15T19:33:57.78Z" }, + { url = "https://files.pythonhosted.org/packages/ad/38/4b1a686a3758878f93d2f1ea943f5a165f3555769cd16e761cfd0efdca17/yarl-1.25.1-cp315-cp315-musllinux_1_2_armv7l.whl", hash = "sha256:59ba3a6e1aa8cfe5adf4bd270fd965db21955401b7ca6f1696010c55ed4daec2", size = 108048, upload-time = "2026-09-15T19:34:00.25Z" }, + { url = "https://files.pythonhosted.org/packages/da/14/f348eb967f31a58348612a2b93bd8a2ab664548e2b5e879cac7f592f7201/yarl-1.25.1-cp315-cp315-musllinux_1_2_ppc64le.whl", hash = "sha256:87796fedc3ba97ec14fab55acb48584276e6c1e4c1e89c422bda62c838e754a9", size = 122775, upload-time = "2026-09-15T19:34:02.455Z" }, + { url = "https://files.pythonhosted.org/packages/ab/e9/4f7b79700f88cb9e8bb66f8b54f9bce1844c013a2c39fdc47112e9334c95/yarl-1.25.1-cp315-cp315-musllinux_1_2_riscv64.whl", hash = "sha256:bd0912757081f89b107d6c00b2ff8a194401b0b87eadcf4481de2b865a8fd44f", size = 115096, upload-time = "2026-09-15T19:34:05.283Z" }, + { url = "https://files.pythonhosted.org/packages/cf/37/f9cb020331997d3eb887bd28d5410ecfd3d80bf163c23d7cec490d78dade/yarl-1.25.1-cp315-cp315-musllinux_1_2_s390x.whl", hash = "sha256:b51c159a9794633f5e0db7ecec7b2b6e3734eca1f5d17dc989ff3552a43ff78b", size = 120655, upload-time = "2026-09-15T19:34:07.382Z" }, + { url = "https://files.pythonhosted.org/packages/12/83/52fceb22891a41f168db7ec22fd1d81e06b6a0b8d9f70921bd3e785defd0/yarl-1.25.1-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:319e070a01db9920fb63761843f96a104c8e2b9427266731810dc1e22595b17c", size = 117488, upload-time = "2026-09-15T19:34:09.988Z" }, + { url = "https://files.pythonhosted.org/packages/f5/5c/ce6c4ff1247fcbe4b33d462c23a097106d909b173fde7042bc52290466e2/yarl-1.25.1-cp315-cp315-win_amd64.whl", hash = "sha256:a2059a2d891bd156bc5184e7ab7a56e78a84dfcfdeac8c501b552533ad1c36ee", size = 103434, upload-time = "2026-09-15T19:34:12.56Z" }, + { url = "https://files.pythonhosted.org/packages/3c/a1/766a906b0704fb26d52b19dc22bed48a8ba0544203b70dcf44da350e8194/yarl-1.25.1-cp315-cp315-win_arm64.whl", hash = "sha256:a78b50b4f7918a3de71105d5c0b93bbc57bb8339a4d03a9dfd449f9068e76f3d", size = 99155, upload-time = "2026-09-15T19:34:15.132Z" }, + { url = "https://files.pythonhosted.org/packages/bd/d3/a1d09b32cb6ab14f66b44939f5b4255b8b9e747aef3974af1d5d80ccc2fd/yarl-1.25.1-cp315-cp315t-macosx_10_15_universal2.whl", hash = "sha256:b5402a340723fa7da00b5cff987ddab61276be6d11251ea71ae02bcac54890d8", size = 149284, upload-time = "2026-09-15T19:34:17.452Z" }, + { url = "https://files.pythonhosted.org/packages/7f/3b/fe554d879692650bca70bfbc0df124e82e4d2bb7456f698c7756f1279a96/yarl-1.25.1-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:eda19ea5ee88742f47a2340816e6f2d40b53bed3ab5b69794769f36af9f35bb4", size = 106399, upload-time = "2026-09-15T19:34:21.474Z" }, + { url = "https://files.pythonhosted.org/packages/e1/4b/e7af56177ac8d40094c82d7728224c0b8472157d50d362e5fb3b014b2bc8/yarl-1.25.1-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:75baa6cf9b6d1c52f3e111a130e202fd8cf0a5b3a066c3f73d615e885092e4ec", size = 106968, upload-time = "2026-09-15T19:34:23.619Z" }, + { url = "https://files.pythonhosted.org/packages/da/4f/2df41fd738d46f23ef829ae8b4468d94bb6070038fc6dfab6165ed44fea8/yarl-1.25.1-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:dbcef5a9119ef653653132cccaf999b30a0af6f33bb0a4ba80bec30056868487", size = 114717, upload-time = "2026-09-15T19:34:25.879Z" }, + { url = "https://files.pythonhosted.org/packages/69/ea/002b66df53bbd1aed1c23358ff99c9bdc744fe3f4d2740e1b2fdd7192885/yarl-1.25.1-cp315-cp315t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:7efc9f082dfed77c316edffa9deb52888e1bc6789171887cc1f68e06d65465c8", size = 105198, upload-time = "2026-09-15T19:34:28.204Z" }, + { url = "https://files.pythonhosted.org/packages/b1/7c/95c8bc0c8f97d71e59c94525ad60d76f5c57d3f2820f08137ca8b9f0542a/yarl-1.25.1-cp315-cp315t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:fe01645169a2112aa1d4ebc3e4c5f029c5c8f97adfc32e5d37c993b39a994d75", size = 120271, upload-time = "2026-09-15T19:34:30.5Z" }, + { url = "https://files.pythonhosted.org/packages/5d/7a/6fe9da56ec77927baa669fd86c39c567ce6205bab53d581082c6744c8ae7/yarl-1.25.1-cp315-cp315t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:d1c557dfd5e3db046053a0bdc72261ade790ebe8e2c7a41b36b0ca1f14cb95f3", size = 123572, upload-time = "2026-09-15T19:34:32.73Z" }, + { url = "https://files.pythonhosted.org/packages/8b/83/35f222d17fa70a14c7c74fdf112ccf5515e0c2a87082b1f9b99f7693bf57/yarl-1.25.1-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8ce4d6ccafb33d39bd78444612d14938ead674c25702ded2ee9c54a47735d225", size = 115228, upload-time = "2026-09-15T19:34:35.344Z" }, + { url = "https://files.pythonhosted.org/packages/da/6f/fbaaf619423578a7d898d0f226ae47bc1906c293865c416d83c17b828b0e/yarl-1.25.1-cp315-cp315t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:80a063f8297fc796296f00f100be520f209b23dc98f93ce8eba6ee7122598209", size = 111618, upload-time = "2026-09-15T19:34:37.656Z" }, + { url = "https://files.pythonhosted.org/packages/ba/78/7383278f1b3cf8e0496bd95b3281a7b09b89217b6b428db24c6b99b3deca/yarl-1.25.1-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:7cb414a73e21a7ab58254926073f2930cb22f5b4314ea4260a687e2b3fd4dce3", size = 114839, upload-time = "2026-09-15T19:34:40.099Z" }, + { url = "https://files.pythonhosted.org/packages/62/49/5506e5b6d29aab91bd845cc9016d88c3d3f81b81bc242b8100bdd5737825/yarl-1.25.1-cp315-cp315t-musllinux_1_2_armv7l.whl", hash = "sha256:85a18376073f8a39aa07be34f9fc77e2869aa72c55c441efdd2cf79a0407504d", size = 106212, upload-time = "2026-09-15T19:34:42.768Z" }, + { url = "https://files.pythonhosted.org/packages/46/8a/19877c193b7c5929f4b07118c18bbe390f3fadd0f59dd98c0cd12b31fa5c/yarl-1.25.1-cp315-cp315t-musllinux_1_2_ppc64le.whl", hash = "sha256:77716e245c90f058466a05e6a465bb8600f767a8f4b18b4d40f3aff958e5f73c", size = 119985, upload-time = "2026-09-15T19:34:44.976Z" }, + { url = "https://files.pythonhosted.org/packages/4e/6c/0a46fbbf9ecbcbd0cc20d2193394254b9e19817f22c814aab60f99847400/yarl-1.25.1-cp315-cp315t-musllinux_1_2_riscv64.whl", hash = "sha256:1e80dcf1446e1b080b1932b0d103c464a04112f5bc31f0f983ad418172063cde", size = 112081, upload-time = "2026-09-15T19:34:47.45Z" }, + { url = "https://files.pythonhosted.org/packages/ef/30/93f5d471230c74ccd06255d0842739f86551f937f9e63a5e947853c6244a/yarl-1.25.1-cp315-cp315t-musllinux_1_2_s390x.whl", hash = "sha256:bdc8d8b8c22e9e43ac68316b5e6cf083dec537f4ec213cb4aa967b583bc3fa64", size = 116995, upload-time = "2026-09-15T19:34:49.972Z" }, + { url = "https://files.pythonhosted.org/packages/2b/80/c386593035ee3f9c6c6af0847b5578f2830c674794a9d7701b744a3ebd42/yarl-1.25.1-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:dfbf531053a0935f2e871bcd4753f90313688772ff8c017f5ea402e315a78c1f", size = 115570, upload-time = "2026-09-15T19:34:52.628Z" }, + { url = "https://files.pythonhosted.org/packages/38/02/eef443559563ef8f2e10469387b8b1e97cb5efee95b288a56da60801f7ee/yarl-1.25.1-cp315-cp315t-win_amd64.whl", hash = "sha256:b13b88747769537f3d32e89e3a735da10c0a9e35d7322928c701b5f93d3afffd", size = 106811, upload-time = "2026-09-15T19:34:54.935Z" }, + { url = "https://files.pythonhosted.org/packages/88/91/41e284ca2cf5211e05dae031d126a3668aea88fa759df56e7e35c6ad25ba/yarl-1.25.1-cp315-cp315t-win_arm64.whl", hash = "sha256:783dd1467083f4d3f7722ad6a313f24c173e7571372738fcb7a6e6d1ba48df25", size = 101804, upload-time = "2026-09-15T19:34:57.231Z" }, + { url = "https://files.pythonhosted.org/packages/54/22/318c7980066769c6bcd9221ed2248294f5698811da099013098c670565ed/yarl-1.25.1-py3-none-any.whl", hash = "sha256:681c758b0490f9e96b78e5fa8e8dc6e648e9185bb6eaebe73183c33ea0c445f3", size = 63617, upload-time = "2026-09-15T19:34:59.616Z" }, +] + +[[package]] +name = "zipp" +version = "4.1.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/18/05/ba1458dee0ac485b2a01071c1b88f5199fe878a485df482e10e1ef2205cc/zipp-4.1.2.tar.gz", hash = "sha256:cf474b90b07ea932637e17c6b9479de2b2882900b0d311bdaf4f5c000a15a97f", size = 27864, upload-time = "2026-10-21T18:57:04.743Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b8/44/7bd2007260da11cccca29ba2d4c345f1287aa663db38ee7cefeabf6386a5/zipp-4.1.2-py3-none-any.whl", hash = "sha256:b30cb6cd253122169c47de245ca24a86bac2a5d3802ba15bf7ba6414eb9e144d", size = 10581, upload-time = "2026-10-21T18:57:03.79Z" }, ]